Skip to content

Modern Docker Management, Designed for Everyone

fix: serve Scalar API reference from the frontend instead of CDN (#4613)

Kyle Mendella4812b9d5448
diff --git a/backend/api/api.go b/backend/api/api.go
index ddd54ddae..a480e1086 100644
--- a/backend/api/api.go
+++ b/backend/api/api.go
@@ -64,6 +64,7 @@ import (
"github.com/getarcaneapp/arcane/backend/v2/internal/webhook"
"github.com/getarcaneapp/arcane/backend/v2/pkg/utils/handlerutil"
"github.com/getarcaneapp/arcane/backend/v2/pkg/utils/userctx"
+ "github.com/getarcaneapp/arcane/backend/v2/resources"
)
const (
@@ -88,7 +89,7 @@ const (
"hiddenClients": ["unirest"],
"defaultHttpClient": { "targetKey": "shell", "clientKey": "curl" }
}'></script>
- <script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
+ <script src="/api/docs/scalar.js"></script>
</body>
</html>`
)
@@ -322,6 +323,9 @@ func SetupAPI(e *echo.Echo, apiGroup *echo.Group, appCtx handlerutil.ActivityApp
apiGroup.GET("/docs", func(c *echo.Context) error {
return c.HTML(http.StatusOK, scalarDocsHTML)
})
+ apiGroup.GET("/docs/scalar.js", func(c *echo.Context) error {
+ return c.FileFS("scalar/standalone.js", resources.FS)
+ })
return api
}
diff --git a/backend/resources/embed.go b/backend/resources/embed.go
index b5ecf6599..c41a97c7a 100644
--- a/backend/resources/embed.go
+++ b/backend/resources/embed.go
@@ -4,5 +4,5 @@ import "embed"
// Embedded file systems for the project
-//go:embed migrations images aaguids.json
+//go:embed migrations images scalar aaguids.json
var FS embed.FS
diff --git a/backend/resources/scalar/standalone.js b/backend/resources/scalar/standalone.js
new file mode 100644
index 000000000..4acf0b00f
--- /dev/null
+++ b/backend/resources/scalar/standalone.js
@@ -0,0 +1,3159 @@
+(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.nonce=document.head.querySelector(`meta[property=csp-nonce]`)?.content,e.setAttribute(`id`,`scalar-style`),e.appendChild(document.createTextNode(`/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-mask-linear:linear-gradient(#fff, #fff);--tw-mask-radial:linear-gradient(#fff, #fff);--tw-mask-conic:linear-gradient(#fff, #fff);--tw-mask-left:linear-gradient(#fff, #fff);--tw-mask-right:linear-gradient(#fff, #fff);--tw-mask-bottom:linear-gradient(#fff, #fff);--tw-mask-top:linear-gradient(#fff, #fff);--tw-mask-top-from-position:0%;--tw-mask-top-to-position:100%;--tw-mask-top-from-color:black;--tw-mask-top-to-color:transparent;--tw-mask-bottom-from-position:0%;--tw-mask-bottom-to-position:100%;--tw-mask-bottom-from-color:black;--tw-mask-bottom-to-color:transparent;--tw-leading:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}[data-v-539e47de],[data-v-539e47de]:before,[data-v-539e47de]:after,[data-v-539e47de]::backdrop{--tw-outline-style:solid}}}@layer scalar-base{body.scalar-app{line-height:inherit;margin:0}:root,:host{--scalar-border-width:.5px;--scalar-radius:3px;--scalar-radius-max:20px;--scalar-radius-md:min(var(--scalar-radius), var(--scalar-radius-max));--scalar-radius-lg:min(calc(var(--scalar-radius) * 2), var(--scalar-radius-max));--scalar-radius-xl:min(calc(var(--scalar-radius) * 8 / 3), var(--scalar-radius-max));--scalar-radius-2xl:min(calc(var(--scalar-radius) * 4), var(--scalar-radius-max));--scalar-radius-3xl:min(calc(var(--scalar-radius) * 16 / 3), var(--scalar-radius-max));--scalar-radius-full:calc(var(--scalar-radius) * 9999);--scalar-font:"Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--scalar-font-code:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--scalar-heading-1:24px;--scalar-page-description:16px;--scalar-heading-2:20px;--scalar-heading-3:16px;--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:21px;--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-normal:400;--scalar-font-medium:500;--scalar-font-bold:700;--scalar-text-decoration:none;--scalar-text-decoration-hover:underline;--scalar-link-font-weight:inherit;--scalar-sidebar-indent:20px;--scalar-sidebar-padding:12px}.dark-mode{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--scalar-scrollbar-color:#ffffff2e;--scalar-scrollbar-color-active:#ffffff5c;--scalar-button-1:#fff;--scalar-button-1-hover:#ffffffe6;--scalar-button-1-color:black;--scalar-shadow-1:0 1px 3px 0 #0000001a;--scalar-shadow-2:0 0 0 .5px var(--scalar-border-color), #0f0f0f33 0px 3px 6px, #0f0f0f66 0px 9px 24px;--scalar-lifted-brightness:1.45;--scalar-backdrop-brightness:.5;--scalar-text-decoration-color:currentColor;--scalar-text-decoration-color-hover:currentColor}.light-mode{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--scalar-scrollbar-color-active:#0000005c;--scalar-scrollbar-color:#0000002e;--scalar-button-1:#000;--scalar-button-1-hover:#000c;--scalar-button-1-color:#fff;--scalar-shadow-1:0 1px 3px 0 #0000001c;--scalar-shadow-2:#00000014 0px 13px 20px 0px, #00000014 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness:1;--scalar-backdrop-brightness:1;--scalar-text-decoration-color:currentColor;--scalar-text-decoration-color-hover:currentColor}.light-mode .dark-mode{--lightningcss-light: !important;--lightningcss-dark:initial!important;color-scheme:dark!important}@media (width<=460px){:root,:host{--scalar-font-size-1:22px;--scalar-font-size-2:14px;--scalar-font-size-3:12px}}@media (width<=720px){:root,:host{--scalar-heading-1:24px;--scalar-page-description:20px}}@media (resolution<=1.5x){@supports ((-moz-appearance:none)){:root,:host{--scalar-border-width:1px}}}:root,:host{--scalar-text-decoration:underline;--scalar-text-decoration-hover:underline}.light-mode{--scalar-background-1:#fff;--scalar-background-2:#f6f6f6;--scalar-background-3:#e7e7e7;--scalar-background-accent:#8ab4f81f;--scalar-color-1:#1b1b1b;--scalar-color-2:#707070;--scalar-color-3:#8e8e8e;--scalar-color-accent:#09f;--scalar-border-color:#dfdfdf}.dark-mode{--scalar-background-1:#0f0f0f;--scalar-background-2:#1a1a1a;--scalar-background-3:#272727;--scalar-color-1:#e7e7e7;--scalar-color-2:#a4a4a4;--scalar-color-3:#797979;--scalar-color-accent:#00aeff;--scalar-background-accent:#3ea6ff1f;--scalar-border-color:#2d2d2d}.light-mode,.dark-mode{--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:var(--scalar-sidebar-color-2);--scalar-sidebar-item-active-background:var(--scalar-background-2);--scalar-sidebar-color-active:var(--scalar-sidebar-color-1);--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);--scalar-sidebar-search-background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.light-mode,.dark-mode{--scalar-sidebar-search-background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.light-mode,.dark-mode{--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:#0072bd;--scalar-color-orange:#ff5800;--scalar-color-purple:#5203d1;--scalar-color-query:#007b80;--scalar-link-color:var(--scalar-color-1);--scalar-link-color-hover:var(--scalar-link-color);--scalar-button-1:#000;--scalar-button-1-hover:#000c;--scalar-button-1-color:#fff;--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), transparent 10%)}}.light-mode{--scalar-tooltip-color:var(--scalar-color-1);--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%)}}.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%)}}.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%)}}.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.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-color-query:#65d4cf;--scalar-link-color:var(--scalar-color-1);--scalar-link-color-hover:var(--scalar-link-color);--scalar-button-1:#fff;--scalar-button-1-hover:#ffffffe6;--scalar-button-1-color:black;--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%)}}.dark-mode{--scalar-tooltip-color:#fffffff2;--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%)}}.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%)}}.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}@supports (color:color(display-p3 1 1 1)){.light-mode{--scalar-color-accent:color(display-p3 0 .6 1);--scalar-color-green:color(display-p3 .023529 .564706 .380392);--scalar-color-red:color(display-p3 .937255 0 .023529);--scalar-color-yellow:color(display-p3 .929412 .745098 .12549);--scalar-color-blue:color(display-p3 0 .447059 .741176);--scalar-color-orange:color(display-p3 1 .4 .02);--scalar-color-purple:color(display-p3 .321569 .011765 .819608)}.dark-mode{--scalar-color-accent:color(display-p3 .07 .67 1);--scalar-color-green:color(display-p3 0 .713725 .282353);--scalar-color-red:color(display-p3 .862745 .105882 .098039);--scalar-color-yellow:color(display-p3 1 .788235 .05098);--scalar-color-blue:color(display-p3 .305882 .701961 .92549);--scalar-color-orange:color(display-p3 1 .552941 .301961);--scalar-color-purple:color(display-p3 .694118 .568627 .976471)}}:root,:host{--tracking-tight:-.025em;--tracking-widest:.1em;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}body{line-height:inherit;background-color:var(--scalar-background-1);margin:0}}@layer scalar-theme;:where(.scalar-app){font-family:var(--scalar-font);color:var(--scalar-color-1);--scalar-focus-color:var(--scalar-color-accent);line-height:1.15}@supports (color:color-mix(in lab, red, red)){:where(.scalar-app){--scalar-focus-color:color-mix(in srgb, var(--scalar-color-accent), var(--scalar-color-1) 20%)}}:where(.scalar-app){-webkit-text-size-adjust:100%;tab-size:4}:where(.scalar-app) *,:where(.scalar-app) :before,:where(.scalar-app) :after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--scalar-border-color);outline-width:1px;outline-style:none;outline-color:var(--scalar-color-accent);font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;text-align: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) :before,:where(.scalar-app) :after{--tw-content:""}:where(.scalar-app) button,:where(.scalar-app) input,:where(.scalar-app) optgroup,:where(.scalar-app) select,:where(.scalar-app) textarea{background:0 0}:where(.scalar-app) ::file-selector-button{background:0 0}:where(.scalar-app) ol,:where(.scalar-app) ul,:where(.scalar-app) menu{list-style:none}: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-md);border-width:1px}:where(.scalar-app) input,:where(.scalar-app) select,:where(.scalar-app) textarea{text-align:start}:where(.scalar-app) input::placeholder,:where(.scalar-app) text-area::placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) ::-webkit-input-placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) input[type=search]::-webkit-search-cancel-button{appearance:none}:where(.scalar-app) input[type=search]::-webkit-search-decoration{appearance:none}:where(.scalar-app) summary::-webkit-details-marker{display:none}:where(.scalar-app) input:-webkit-autofill{-webkit-text-fill-color:var(--scalar-color-1);-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{outline-style:solid}:where(.scalar-app) button:focus-visible,:where(.scalar-app) [role=button]:focus-visible{outline-offset:-1px}:where(.scalar-app) a:focus-visible,:where(.scalar-app) button:focus-visible,:where(.scalar-app) [role=button]:focus-visible{outline-color:var(--scalar-focus-color)}:where(.scalar-app) button,:where(.scalar-app) [role=button]{cursor:pointer}:where(.scalar-app) :disabled{cursor:default}:where(.scalar-app) img,:where(.scalar-app) svg,:where(.scalar-app) video,:where(.scalar-app) canvas,:where(.scalar-app) audio,:where(.scalar-app) iframe,:where(.scalar-app) embed,:where(.scalar-app) object{vertical-align:middle;display:block}:where(.scalar-app) [hidden]:not([hidden=until-found]){display:none}.scalar-app .cm-scroller,.scalar-app .custom-scroll{scrollbar-color:transparent transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch;overflow-y:auto}.scalar-app .custom-scroll-self-contain-overflow{overscroll-behavior:contain}.scalar-app .cm-scroller:hover,.scalar-app .custom-scroll:hover,.scalar-app.scalar-scrollbars-obtrusive .cm-scroller,.scalar-app.scalar-scrollbars-obtrusive .custom-scroll{scrollbar-color:var(--scalar-scrollbar-color,transparent) transparent}.scalar-app .cm-scroller:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid #0000}.scalar-app .custom-scroll:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid #0000}.scalar-app .cm-scroller::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid #0000}.scalar-app .custom-scroll::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid #0000}.scalar-app .cm-scroller::-webkit-scrollbar-corner{background:0 0}.scalar-app .custom-scroll::-webkit-scrollbar-corner{background:0 0}.scalar-app .cm-scroller::-webkit-scrollbar{width:12px;height:12px}.scalar-app .custom-scroll::-webkit-scrollbar{width:12px;height:12px}.scalar-app .cm-scroller::-webkit-scrollbar-track{background:0 0}.scalar-app .custom-scroll::-webkit-scrollbar-track{background:0 0}.scalar-app .cm-scroller::-webkit-scrollbar-thumb{background:padding-box content-box;border:3px solid #0000;border-radius:20px}.scalar-app .custom-scroll::-webkit-scrollbar-thumb{background:padding-box content-box;border:3px solid #0000;border-radius:20px}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}:where(.scalar-app) [class*=rotate-],:where(.scalar-app) [class*=translate-],:where(.scalar-app) [class*=scale-]{transform:none}.loader-wrapper[data-v-27df5cd8]{--loader-size:50%;justify-content:center;align-items:center;display:flex;position:relative}.svg-loader[data-v-27df5cd8]{width:var(--loader-size);height:var(--loader-size);fill:none;stroke:currentColor;background-color:#0000;top:1rem;right:.9rem;overflow:visible}.svg-path[data-v-27df5cd8]{stroke-width:12px;fill:none;transition:all .3s}.svg-x-mark[data-v-27df5cd8]{stroke-dasharray:57;stroke-dashoffset:57px;transition-delay:0s}.svg-check-mark[data-v-27df5cd8]{stroke-dasharray:149;stroke-dashoffset:149px;transition-delay:0s}.icon-is-invalid .svg-x-mark[data-v-27df5cd8],.icon-is-valid .svg-check-mark[data-v-27df5cd8]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader[data-v-27df5cd8]{transform-origin:50%;background:0 0;animation:.7s linear infinite rotate-27df5cd8,.4s fade-in-27df5cd8;transform:scale(3.5)}.loader-path[data-v-27df5cd8]{stroke-dasharray:50 200;stroke-dashoffset:-100px;stroke-linecap:round}.loader-path-off[data-v-27df5cd8]{stroke-dasharray:50 200;stroke-dashoffset:-100px;opacity:0;transition:opacity .3s}@keyframes fade-in-27df5cd8{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-27df5cd8{0%{transform:scale(3.5)rotate(0)}to{transform:scale(3.5)rotate(360deg)}}.scalar-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in,.scalar-app .hljs-subst,.scalar-app .hljs-name,.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.scalar-code-block pre{font-variant-ligatures:none}.scalar-code-block.bg-b-1 .scalar-code-copy-backdrop{background-color:var(--scalar-background-1)}.scalar-code-block.bg-b-2 .scalar-code-copy-backdrop{background-color:var(--scalar-background-2)}.scalar-code-block.bg-b-2 .scalar-code-copy{background-color:var(--scalar-background-3)}.toggle-icon-ellipse[data-v-8f507267]{background:var(--scalar-background-1);border-radius:50%;width:7px;height:7px;transition:width .3s ease-in-out,height .3s ease-in-out;display:inline-block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px}.toggle-icon-moon-mask[data-v-8f507267]{background:var(--scalar-background-1);border:1px solid;border-radius:50%;width:100%;height:100%;transition:transform .3s ease-in-out;display:block;position:absolute;bottom:2.5px;left:2.5px;transform:translate(4px,-4px)}.toggle-icon-sun-ray[data-v-8f507267]{background:currentColor;border-radius:8px;width:12px;height:1px;transition:transform .3s ease-in-out;position:absolute}.toggle-icon-sun-ray[data-v-8f507267]:nth-of-type(2){transform:rotate(90deg)}.toggle-icon-sun-ray[data-v-8f507267]:nth-of-type(3){transform:rotate(45deg)}.toggle-icon-sun-ray[data-v-8f507267]:nth-of-type(4){transform:rotate(-45deg)}.toggle-icon-dark .toggle-icon-ellipse[data-v-8f507267]{width:10px;height:10px;-webkit-mask-image:radial-gradient(circle at 0 100%,pink 10px,#0000 12px);mask-image:radial-gradient(circle at 0 100%,pink 10px,#0000 12px)}.toggle-icon-dark .toggle-icon-sun-ray[data-v-8f507267]{transform:scale(0)}.toggle-icon-dark .toggle-icon-moon-mask[data-v-8f507267]{transform:translate(0)}.dark-mode .scalar-dropdown-item[data-v-128eed00]:hover,.dark-mode .scalar-dropdown-item[data-highlighted][data-v-128eed00],.dark-mode .scalar-dropdown-item[data-v-3402682d]:hover{filter:brightness(1.1)}.scalar-icon[data-v-b651bb23],.scalar-icon[data-v-b651bb23] *{stroke-width:var(--c07589c2)}.scalar-app :where(code.hljs) *{font-size:inherit;font-family:var(--scalar-font-code);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4}.scalar-app code.hljs{all:unset;font-size:inherit;color:var(--scalar-color-2);line-height:1.4;font-family:var(--scalar-font-code);counter-reset:linenumber}.scalar-app .hljs{color:var(--scalar-color-2);background:0 0}.scalar-app .hljs .line:before{color:var(--scalar-color-3);counter-increment:linenumber;content:counter(linenumber);min-width:calc(var(--line-digits) * 1ch);text-align:right;margin-right:.875rem;display:inline-block}.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 .credential .credential-value{color:#0000;font-size:0}.scalar-app .credential:after{content:"·····";color:var(--scalar-color-3);-webkit-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-string{color:var(--scalar-color-blue)}.hljs.language-curl .hljs-literal{color:var(--scalar-color-1)}.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{color:var(--scalar-color-orange)}.scalar-app .markdown{--scalar-refs-heading-spacing:24px;--markdown-border:var(--scalar-border-width) solid var(--scalar-border-color);--markdown-spacing-sm:12px;--markdown-spacing-md:16px;--markdown-line-height:1.625;--markdown-heading-line-height:1.15;font-family:var(--scalar-font);word-break:break-word;line-height:var(--markdown-line-height)}.scalar-app .markdown>*{margin-bottom:var(--markdown-spacing-md)}.scalar-app .markdown>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):last-child{margin-bottom:0}.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-weight:var(--scalar-bold);margin-top:var(--scalar-refs-heading-spacing);margin-bottom:var(--markdown-spacing-sm);line-height:var(--markdown-heading-line-height,1.15);scroll-margin-top:1rem;display:block}.scalar-app .markdown h1{font-size:1.5rem}.scalar-app .markdown h2,.scalar-app .markdown h3{font-size:1.25rem}.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:1rem}.scalar-app .markdown b,.scalar-app .markdown strong{font-weight:var(--scalar-bold)}.scalar-app .markdown p{color:inherit;line-height:var(--markdown-line-height);display:block}.scalar-app .markdown img{border-radius:var(--scalar-radius-md);max-width:100%;display:inline-block;overflow:hidden}.scalar-app .markdown ul,.scalar-app .markdown ol{line-height:var(--markdown-line-height);flex-direction:column;gap:2px;padding-left:1.6em;display:flex}.scalar-app .markdown li{margin-top:2px;padding-left:7px}.scalar-app ol>li::marker{font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);white-space:nowrap}.scalar-app ol>*>li::marker{font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);white-space:nowrap}.scalar-app .markdown ol{list-style-type:decimal}.scalar-app .markdown ol ol{list-style-type:lower-alpha}.scalar-app .markdown ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol{list-style-type:decimal}.scalar-app .markdown ol ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol ol{list-style-type:lower-alpha}.scalar-app .markdown ol ol ol,.scalar-app .markdown ol ol ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol ol ol{list-style-type:lower-roman}.scalar-app .markdown ul>li,.scalar-app .markdown ul>*>li{list-style-type:disc}.scalar-app .markdown table{table-layout:fixed;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-md);border-spacing:0;width:max-content;max-width:100%;margin:1em 0;display:table;position:relative;overflow-x:auto}.scalar-app .markdown tbody,.scalar-app .markdown thead{vertical-align:middle}.scalar-app .markdown tbody{display:table-row-group}.scalar-app .markdown thead{display:table-header-group}.scalar-app .markdown tr{border-color:inherit;vertical-align:inherit;display:table-row}.scalar-app .markdown td,.scalar-app .markdown th{vertical-align:top;min-width:1em;line-height:var(--markdown-line-height);word-break:break-word;font-size:var(--scalar-small);color:var(--scalar-color-1);border-right:var(--markdown-border);border-bottom:var(--markdown-border);padding:8.5px 16px;display:table-cell;position:relative}.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-bold);text-align:left;background:var(--scalar-background-2);border-left-color:#0000}.scalar-app .markdown th:first-of-type{border-top-left-radius:var(--scalar-radius-md)}.scalar-app .markdown th:last-of-type{border-top-right-radius:var(--scalar-radius-md)}.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-app .markdown details{border:var(--markdown-border);border-radius:var(--scalar-radius-xl);color:var(--scalar-color-1)}.scalar-app .markdown details>:not(summary){margin:var(--markdown-spacing-md);margin-bottom:0}.scalar-app .markdown details>p:has(>strong):not(:has(:not(strong))){margin-bottom:8px}.scalar-app .markdown details>p:has(>strong):not(:has(:not(strong)))+*{margin-top:0}.scalar-app .markdown details>table{width:calc(100% - calc(var(--markdown-spacing-md) * 2))}.scalar-app .markdown summary{border-radius:var(--scalar-radius);min-height:40px;font-weight:var(--scalar-semibold);line-height:var(--markdown-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:flex-start;gap:8px;padding:7px 14px;display:flex;position:relative}.scalar-app .markdown summary:hover{background-color:var(--scalar-background-2)}.scalar-app .markdown details[open]{padding-bottom:var(--markdown-spacing-md)}.scalar-app .markdown details[open]>summary{border-bottom:var(--markdown-border);border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-app .markdown summary:before{content:"";width:var(--markdown-spacing-md);height:var(--markdown-spacing-md);background-color:var(--scalar-color-3);flex-shrink:0;margin-top:5px;display:block;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" width=\\"1em\\" height=\\"1em\\"><path d=\\"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" width=\\"1em\\" height=\\"1em\\"><path d=\\"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z\\"></path></svg>")}.scalar-app .markdown summary:hover:before{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open]>summary:before{transition:transform .1s ease-in-out;transform:rotate(90deg)}.scalar-app .markdown details:has(+details){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0;margin-bottom:0}.scalar-app .markdown details:has(+details)+details{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .markdown details:has(+details)+details>summary{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .markdown a{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown a{-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent)}}.scalar-app .markdown a:hover{-webkit-text-decoration-color:var(--scalar-color-1,currentColor);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);text-decoration-color:var(--scalar-color-1,currentColor);color:var(--scalar-link-color-hover,var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.scalar-app .markdown a:visited{color:var(--font-visited)}.scalar-app .markdown em{font-style:italic}.scalar-app .markdown sup,.scalar-app .markdown sub{font-size:var(--scalar-micro);font-weight:450}.scalar-app .markdown sup{vertical-align:super}.scalar-app .markdown sub{vertical-align:sub}.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 var(--scalar-border-width) var(--scalar-border-color);font-size:var(--scalar-micro);border-radius:var(--scalar-radius-md);padding:0 3px}.scalar-app .markdown .hljs{font-size:var(--scalar-small)}.scalar-app .markdown pre code{white-space:pre;padding:var(--markdown-spacing-sm);margin:var(--markdown-spacing-sm) 0;-webkit-overflow-scrolling:touch;min-width:100px;max-width:100%;line-height:1.5;display:block;overflow-x:auto}.scalar-app .markdown hr{border:none;border-bottom:var(--markdown-border)}.scalar-app .markdown blockquote{border-left:2px solid var(--scalar-border-color);padding-left:var(--markdown-spacing-sm)}.scalar-app .markdown blockquote>*{margin-bottom:var(--markdown-spacing-sm)}.scalar-app .markdown li.task-list-item{list-style:none;position:relative}.scalar-app .markdown li.task-list-item>input{appearance:none;width:var(--markdown-spacing-md);height:var(--markdown-spacing-md);border:1px solid var(--scalar-color-3);border-radius:var(--scalar-radius);display:inline;position:absolute;top:.225em;left:-1.4em}.scalar-app .markdown li.task-list-item>input[type=checkbox]:checked{background-color:var(--scalar-color-1);border-color:var(--scalar-color-1)}.scalar-app .markdown li.task-list-item>input[type=checkbox]:before{content:"";border:solid var(--scalar-background-1);opacity:0;border-width:0 1.5px 1.5px 0;width:5px;height:10px;position:absolute;top:1px;left:5px;transform:rotate(45deg)}.scalar-app .markdown li.task-list-item>input[type=checkbox]:checked:before{opacity:1}.scalar-app .markdown .markdown-alert{border-radius:var(--scalar-radius-md);background-color:var(--scalar-background-2);align-items:stretch}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert{background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}}.scalar-app .markdown .markdown-alert{border:var(--markdown-border);gap:var(--markdown-spacing-sm);padding:10px 14px;display:flex;position:relative}.scalar-app .markdown .markdown-alert .markdown-alert-icon:before{content:"";background-color:currentColor;flex-shrink:0;width:18px;height:18px;margin-top:3px;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:color-mix(in srgb, var(--scalar-color-blue), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width) solid var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-blue), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:var(--scalar-color-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:color-mix(in srgb, var(--scalar-color-2), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width) solid var(--scalar-color-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-2), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-note .markdown-alert-icon:before,.scalar-app .markdown .markdown-alert.markdown-alert-tip .markdown-alert-icon:before{color:var(--scalar-color-blue);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:color-mix(in srgb, var(--scalar-color-orange), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width) solid var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-orange), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-important .markdown-alert-icon:before,.scalar-app .markdown .markdown-alert.markdown-alert-warning .markdown-alert-icon:before{-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb, var(--scalar-color-red), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width) solid var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-red), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-caution .markdown-alert-icon:before{color:var(--scalar-color-red);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb, var(--scalar-color-green), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width) solid var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-green), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-success .markdown-alert-icon:before{color:var(--scalar-color-green);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-note .markdown-alert-icon:before{color:var(--scalar-color-blue)}.scalar-app .markdown .markdown-alert.markdown-alert-tip .markdown-alert-icon:before{color:var(--scalar-color-2)}.scalar-app .markdown .markdown-alert.markdown-alert-important .markdown-alert-icon:before{color:var(--scalar-color-purple)}.scalar-app .markdown .markdown-alert.markdown-alert-warning .markdown-alert-icon:before{color:var(--scalar-color-orange)}.scalar-app .markdown .markdown-alert .markdown-alert-content{line-height:var(--markdown-line-height);margin:0}.scalar-app .markdown.markdown-summary.markdown-summary :before,.scalar-app .markdown.markdown-summary.markdown-summary :after{content:none}.scalar-app .markdown.markdown-summary.markdown-summary :not(strong,em,a,code){font-size:inherit;font-weight:inherit;line-height:var(--markdown-line-height);display:contents}.scalar-app .markdown.markdown-summary.markdown-summary [data-markdown-block],.scalar-app .markdown.markdown-summary.markdown-summary img,.scalar-app .markdown.markdown-summary.markdown-summary svg,.scalar-app .markdown.markdown-summary.markdown-summary hr,.scalar-app .markdown.markdown-summary.markdown-summary pre{display:none}.scalar-modal-layout[data-v-b002945c]{animation:.3s ease-in-out forwards fadein-layout-b002945c}.scalar-modal[data-v-b002945c]{box-shadow:var(--scalar-shadow-2);animation:.3s ease-in-out .1s forwards fadein-modal-b002945c;transform:translateY(10px)}.scalar-modal-layout-full[data-v-b002945c]{opacity:1!important;background:0 0!important}.modal-content-search .modal-body[data-v-b002945c]{flex-direction:column;max-height:440px;padding:0;display:flex;overflow:hidden}@media (width<=720px) and (height<=480px){.scalar-modal-layout .scalar-modal[data-v-b002945c]{max-height:90svh;margin-top:5svh}}@keyframes fadein-layout-b002945c{0%{opacity:0}to{opacity:1}}@keyframes fadein-modal-b002945c{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translate(0)}}.full-size-styles[data-v-b002945c]{margin:initial;border-right:var(--scalar-border-width) solid var(--scalar-border-color);animation:.3s ease-in-out forwards fadein-layout-b002945c;left:0;transform:translate(0);background-color:var(--scalar-background-1)!important;max-height:100%!important;box-shadow:none!important;border-radius:0!important;position:absolute!important;top:0!important}@media (width>=800px){.full-size-styles[data-v-b002945c]{width:50dvw!important}}.full-size-styles[data-v-b002945c]:after{content:"";width:50dvw;height:100dvh;position:absolute;top:0;right:-50dvw}.group\\/item>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-b2388a0c]{inset-block:-1px}.group\\/item:first-child>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-b2388a0c]{top:0}.group\\/item:last-child>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-b2388a0c]{bottom:0}.group\\/item:last-of-type>.group\\/button>.group\\/button-label>.group\\/button-loading{width:66.6667%}.group\\/items.-translate-x-full .group\\/button{transition-behavior:allow-discrete;max-height:0;transition-property:display,max-height;transition-duration:0s;transition-delay:.3s;display:none}.group\\/item.group\\/nested-items-open>*>.group\\/items.translate-x-0 .group\\/button{max-height:2147483647px;display:flex}.animate-sidebar-border-bottom{animation:forwards border-bottom;animation-timeline:scroll();animation-range-end:1px}@keyframes border-bottom{0%{border-bottom-width:0}to{border-bottom-width:var(--scalar-border-width)}}.group\\/sidebar-section:first-of-type>.group\\/spacer-before,.group\\/sidebar-section:last-of-type>.group\\/spacer-after{height:0}.group\\/sidebar-section:has(+.group\\/sidebar-section)>.group\\/spacer-after{height:0;margin-bottom:-1px}:where(body,dialog)>.scalar-tooltip{--scalar-tooltip-padding-x:8px;--scalar-tooltip-padding-y:6px;padding:var(--scalar-tooltip-padding-y) var(--scalar-tooltip-padding-x);z-index:99999;max-width:320px;font-size:var(--scalar-font-size-5);--tw-font-weight:var(--scalar-regular);line-height:16px;font-weight:var(--scalar-regular);overflow-wrap:break-word;color:var(--scalar-tooltip-color)}:where(body,dialog)>.scalar-tooltip[data-side=top]{padding-bottom:calc(var(--scalar-tooltip-padding-y) + var(--scalar-tooltip-offset))}:where(body,dialog)>.scalar-tooltip[data-side=bottom]{padding-top:calc(var(--scalar-tooltip-padding-y) + var(--scalar-tooltip-offset))}:where(body,dialog)>.scalar-tooltip[data-side=left]{padding-right:calc(var(--scalar-tooltip-padding-x) + var(--scalar-tooltip-offset))}:where(body,dialog)>.scalar-tooltip[data-side=right]{padding-left:calc(var(--scalar-tooltip-padding-x) + var(--scalar-tooltip-offset))}:where(body,dialog)>.scalar-tooltip:before{content:"";border:var(--scalar-border-width) solid var(--scalar-border-color);z-index:calc(1 * -1);border-radius:var(--scalar-radius-lg);background-color:var(--scalar-tooltip-background);--tw-shadow:var(--scalar-shadow-1);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--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, );position:absolute;inset:0}:where(body,dialog)>.scalar-tooltip[data-side=top]:before{bottom:var(--scalar-tooltip-offset)}:where(body,dialog)>.scalar-tooltip[data-side=bottom]:before{top:var(--scalar-tooltip-offset)}:where(body,dialog)>.scalar-tooltip[data-side=left]:before{right:var(--scalar-tooltip-offset)}:where(body,dialog)>.scalar-tooltip[data-side=right]:before{left:var(--scalar-tooltip-offset)}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}.scalar-virtual-text-search-input[data-v-b843dc7d]::-webkit-search-cancel-button{display:none}.scalar-virtual-text[data-v-50a0b01e]:focus{outline:none}.scalar-virtual-text-highlight[data-v-50a0b01e]{background:var(--scalar-background-accent);color:inherit;border-radius:var(--scalar-radius);padding:1px 0}.scalar-virtual-text-highlight-active[data-v-50a0b01e]{background:var(--scalar-color-accent);color:var(--scalar-background-1);border-radius:var(--scalar-radius)}.sidebar-heading-type[data-v-5edae08d]{color:var(--method-color,var(--scalar-color-1));font-size:10px;line-height:14px;font-weight:var(--scalar-bold);font-family:var(--scalar-font-code);white-space:nowrap;flex-shrink:0;align-items:center;gap:4px;display:inline-flex;overflow:hidden}.http-bg-gradient[data-v-e7883636]{background:linear-gradient(#ffffffbf,#00000009)}.http-bg-gradient[data-v-e7883636]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .http-bg-gradient[data-v-e7883636]{background:linear-gradient(#ffffff09,#00000026)}.dark-mode .http-bg-gradient[data-v-e7883636]:hover{background:linear-gradient(#00000026,#ffffff09)}.ascii-art-animate .ascii-art-line[data-v-4f827089]{border-right:1ch solid #0000;animation:4s step-end 1s both typewriter-4f827089,.5s step-end infinite blinkTextCursor-4f827089}@keyframes typewriter-4f827089{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-4f827089{0%{border-right-color:currentColor}50%{border-right-color:#0000}}.open-api-client-button[data-v-746e7aef]{cursor:pointer;text-align:center;white-space:nowrap;width:100%;height:31px;font-size:var(--scalar-small);border-radius:var(--scalar-radius);box-shadow:0 0 0 .5px var(--scalar-border-color);color:var(--scalar-sidebar-color-1);justify-content:center;align-items:center;gap:6px;padding:9px 12px;line-height:1.385;text-decoration:none;display:flex}.open-api-client-button[data-v-746e7aef]:hover{background:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}.fade-request-section-content[data-v-50fd0a3c]{background:linear-gradient(to left, var(--scalar-background-1) 64%, transparent)}.fade-request-section-content[data-v-50fd0a3c]:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){background:linear-gradient(to right, var(--scalar-background-1) 64%, transparent)}.filter-hover[data-v-50fd0a3c]{height:100%;padding-inline:24px 39px;transition:width 0s ease-in-out .2s;position:absolute;inset-inline-end:0;overflow:hidden}.filter-hover[data-v-50fd0a3c]:hover{z-index:10;width:100%}.filter-hover[data-v-50fd0a3c]:has(:focus-visible){z-index:10;width:100%}.filter-hover[data-v-50fd0a3c]:before{content:"";background-color:var(--scalar-background-1);opacity:0;pointer-events:none;top:0;width:100%;height:fit-content;transition:all .3s ease-in-out;position:absolute;inset-inline-start:0}.filter-hover-item[data-v-50fd0a3c]{opacity:0}.filter-hover-item[data-v-50fd0a3c]:not(:last-of-type){transform:translateY(3px)}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]{transition:opacity .2s ease-in-out,transform .2s ease-in-out}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]:last-of-type{transition-delay:50ms}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]:nth-last-of-type(2){transition-delay:.1s}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]:nth-last-of-type(3){transition-delay:.15s}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]:nth-last-of-type(4){transition-delay:.2s}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]:nth-last-of-type(5){transition-delay:.25s}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]:nth-last-of-type(6){transition-delay:.3s}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]:nth-last-of-type(7){transition-delay:.35s}.filter-hover:hover .filter-hover-item[data-v-50fd0a3c]{opacity:1;transform:translate(0)}.filter-hover:has(:focus-visible) .filter-hover-item[data-v-50fd0a3c]{opacity:1;transform:translate(0)}.filter-hover[data-v-50fd0a3c]:hover:before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-hover[data-v-50fd0a3c]:has(:focus-visible):before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-button[data-v-50fd0a3c]{top:50%;transform:translateY(-50%)}.context-bar-group:hover .context-bar-group-hover\\:text-c-1[data-v-50fd0a3c]{--tw-text-opacity:1;color:rgb(var(--scalar-color-1) / var(--tw-text-opacity))}.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:text-c-1[data-v-50fd0a3c]{--tw-text-opacity:1;color:rgb(var(--scalar-color-1) / var(--tw-text-opacity))}.context-bar-group:hover .context-bar-group-hover\\:hidden[data-v-50fd0a3c]{display:none}.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:hidden[data-v-50fd0a3c]{display:none}[data-v-fce866d6] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-fce866d6] .cm-placeholder{color:var(--scalar-color-3)}[data-v-fce866d6] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);padding:8px 0}[data-v-fce866d6] .cm-tooltip{border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);background:var(--scalar-background-1)!important;border:none!important;outline:none!important;overflow:hidden!important}[data-v-fce866d6] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-fce866d6] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-fce866d6] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-fce866d6] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-fce866d6] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-fce866d6] .cm-activeLine,[data-v-fce866d6] .cm-activeLineGutter{background-color:#0000}[data-v-fce866d6] .cm-selectionMatch,[data-v-fce866d6] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-fce866d6] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-fce866d6] .cm-gutters{color:var(--scalar-color-3);font-size:var(--scalar-small);background-color:#0000;border-right:none;border-radius:0 0 0 3px;line-height:22px}[data-v-fce866d6] .cm-gutters:before{content:"";border-radius:var(--scalar-radius) 0 0 var(--scalar-radius);background-color:var(--scalar-background-1);width:calc(100% - 2px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}[data-v-fce866d6] .cm-gutterElement{justify-content:flex-end;align-items:center;display:flex;position:relative;font-family:var(--scalar-font-code)!important;padding-left:0!important;padding-right:6px!important}[data-v-fce866d6] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-fce866d6] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-fce866d6] .cm-scroller{overflow:auto}[data-v-fce866d6] .cm-lineWrapping .cm-line{word-break:break-all}[data-v-fce866d6] .cm-content.cm-lineWrapping{white-space:pre-wrap}.line-wrapping[data-v-fce866d6]:focus-within .cm-content{white-space:break-spaces;word-break:break-all;min-height:fit-content;padding:3px 6px;display:inline-table}.cm-pill{border-radius:var(--scalar-radius-full);font-size:var(--scalar-small);padding:0 9px;display:inline-block;color:var(--scalar-color-1)!important}.light-mode .cm-pill{background:var(--scalar-background-3)!important}.dark-mode .cm-pill{background:var(--tw-bg-base)!important}@supports (color:color-mix(in lab, red, red)){.dark-mode .cm-pill{background:color-mix(in srgb, var(--tw-bg-base), transparent 90%)!important}}.cm-pill--context-fn{border:1px dashed var(--scalar-color-3)}@supports (color:color-mix(in lab, red, red)){.cm-pill--context-fn{border:1px dashed color-mix(in srgb, var(--scalar-color-3), transparent 35%)}}.cm-pill--context-fn{padding:0 8px}.light-mode .cm-pill--context-fn{background:var(--scalar-background-3)!important}@supports (color:color-mix(in lab, red, red)){.light-mode .cm-pill--context-fn{background:color-mix(in srgb, var(--scalar-background-3), transparent 40%)!important}}.dark-mode .cm-pill--context-fn{background:var(--scalar-background-3)!important}@supports (color:color-mix(in lab, red, red)){.dark-mode .cm-pill--context-fn{background:color-mix(in srgb, var(--scalar-background-3), transparent 55%)!important}}.cm-pill:first-of-type{margin-left:0}.cm-editor .cm-widgetBuffer{display:none}.cm-foldPlaceholder:hover{color:var(--scalar-color-1)}.cm-foldGutter .cm-gutterElement{font-size:var(--scalar-heading-4);padding:2px!important}.cm-foldGutter .cm-gutterElement:first-of-type{display:none}.cm-foldGutter .cm-gutterElement .cm-foldMarker{padding:2px;padding-top:2px}.cm-foldGutter .cm-gutterElement:hover .cm-foldMarker{background:var(--scalar-background-2);border-radius:var(--scalar-radius);color:var(--scalar-color-1)}.code-input-lite[data-v-5e6007a2]{align-items:center;display:flex}.code-input-lite__editor[data-v-5e6007a2]{font:inherit;letter-spacing:inherit;min-width:0;color:var(--scalar-color-1);caret-color:var(--scalar-color-1);white-space:pre;scrollbar-width:none;box-sizing:border-box;background:0 0;outline:none;flex:1;padding:0 .5em;line-height:1.44;position:relative;overflow:auto hidden}.code-input-lite__editor[data-v-5e6007a2]::-webkit-scrollbar{display:none}.code-input-lite--empty .code-input-lite__editor[data-v-5e6007a2]:not(:focus):before{content:attr(data-placeholder);color:var(--scalar-color-3);pointer-events:none;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:.5em}.code-input-lite--error .code-input-lite__editor[data-v-5e6007a2]{outline:1px solid var(--scalar-color-red)}.scalar-pill{color:var(--scalar-color-2);border-radius:var(--scalar-radius-full);font-family:var(--scalar-font-code);vertical-align:baseline;background:var(--scalar-background-3);cursor:text;-webkit-user-select:all;user-select:all;margin-right:.35em;padding:.125em .6em;font-size:.9em;line-height:1.4;display:inline-block}.dark-mode .scalar-pill{background:var(--tw-bg-base,var(--scalar-color-1))}@supports (color:color-mix(in lab, red, red)){.dark-mode .scalar-pill{background:color-mix(in srgb, var(--tw-bg-base,var(--scalar-color-1)), transparent 90%)}}.light-mode .scalar-pill{background:var(--scalar-background-3)}.scalar-pill--context-fn{box-shadow:0 0 0 1px var(--scalar-color-3) inset}@supports (color:color-mix(in lab, red, red)){.scalar-pill--context-fn{box-shadow:0 0 0 1px color-mix(in srgb, var(--scalar-color-3), transparent 35%) inset}}.dark-mode .scalar-pill--context-fn{background:var(--scalar-background-3)}@supports (color:color-mix(in lab, red, red)){.dark-mode .scalar-pill--context-fn{background:color-mix(in srgb, var(--scalar-background-3), transparent 55%)}}.light-mode .scalar-pill--context-fn{background:var(--scalar-background-3)}@supports (color:color-mix(in lab, red, red)){.light-mode .scalar-pill--context-fn{background:color-mix(in srgb, var(--scalar-background-3), transparent 40%)}}[data-v-09f26d90] .code-input-lite__editor{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;padding:5px 8px}[data-v-09f26d90] .scalar-pill:not(:last-of-type){margin-right:.15em}[data-v-09f26d90] .scalar-pill:not(:first-of-type){margin-left:.5px}[data-v-ec7e5b86] .cm-content{font-size:var(--scalar-small)}[data-v-029a43f5] .code-input-lite__editor{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;padding:5px 8px}[data-v-029a43f5] .scalar-pill:not(:last-of-type){margin-right:.15em}[data-v-029a43f5] .scalar-pill:not(:first-of-type){margin-left:.5px}input[data-v-029a43f5]::placeholder{color:var(--scalar-color-3)}.scalar-password-input[data-v-029a43f5]{text-security:disc;-webkit-text-security:disc;-moz-text-security:disc}.oauth-scope-row-action-rail{--oauth-scope-row-rail-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.oauth-scope-row-action-rail{--oauth-scope-row-rail-bg:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.oauth-scope-row-action-rail{background:linear-gradient(90deg, var(--oauth-scope-row-rail-bg) 0%, var(--oauth-scope-row-rail-bg) 30%, var(--oauth-scope-row-rail-bg) 100%)}@supports (color:color-mix(in lab, red, red)){.oauth-scope-row-action-rail{background:linear-gradient(90deg, color-mix(in srgb, var(--oauth-scope-row-rail-bg), transparent 100%) 0%, color-mix(in srgb, var(--oauth-scope-row-rail-bg), transparent 20%) 30%, var(--oauth-scope-row-rail-bg) 100%)}}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.request-section-content[data-v-87ab23d9]{--scalar-border-width:.5px}.request-section-content-filter[data-v-87ab23d9]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-87ab23d9]{opacity:1}.group-hover-input[data-v-87ab23d9]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-87ab23d9]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.group:hover .group-hover-input[data-v-87ab23d9]{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-87ab23d9]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-87ab23d9]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}[data-v-973d48ca] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-973d48ca] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius) 0 0 var(--scalar-radius)}[data-v-973d48ca] .cm-scroller{min-width:100%;overflow:auto}[data-v-973d48ca] .cm-lineWrapping .cm-line{word-break:break-all}.light-mode .bg-preview[data-v-a9193a63]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' fill-opacity='10%25'%3E%3Crect width='8' height='8' /%3E%3Crect x='8' y='8' width='8' height='8' /%3E%3C/svg%3E")}.dark-mode .bg-preview[data-v-a9193a63]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFF' fill-opacity='10%25'%3E%3Crect width='8' height='8' /%3E%3Crect x='8' y='8' width='8' height='8' /%3E%3C/svg%3E")}.scalar-code-block[data-v-f09bb250] .hljs *{font-size:var(--scalar-small)}.response-body-virtual[data-headlessui-state=open],.response-body-virtual[data-headlessui-state=open] .diclosure-panel{flex-direction:column;flex-grow:1;display:flex}.scalar-version-number[data-v-8ed574de]{width:76px;height:76px;font-size:8px;font-family:var(--scalar-font-code);box-shadow:inset 2px 0px 0 2px var(--scalar-background-2);text-align:center;text-transform:initial;-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);text-decoration-color:var(--scalar-color-3);border-radius:9px 9px 16px 12px;flex-direction:column;justify-content:center;align-items:center;margin-top:-113px;margin-left:-36px;line-height:11px;display:flex;position:absolute;transform:skewY(13deg)}.scalar-version-number a[data-v-8ed574de]{background:var(--scalar-background-2);border:.5px solid var(--scalar-border-color);border-radius:3px;padding:2px 4px;font-weight:700;text-decoration:none}.gitbook-show[data-v-8ed574de]{display:none}.v-enter-active[data-v-28d73262]{transition:opacity .5s}.v-enter-from[data-v-28d73262]{opacity:0}.animate-response-heading .response-heading[data-v-7f122fc4]{opacity:1;animation:.2s ease-in-out forwards push-response-7f122fc4}@keyframes push-response-7f122fc4{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-7f122fc4]{opacity:0;animation:.2s ease-in-out 50ms forwards response-spans-7f122fc4}@keyframes response-spans-7f122fc4{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.description[data-v-9775eaaf] .markdown{font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:0;display:block}.description[data-v-9775eaaf] .markdown>:first-child{margin-top:0}.address-bar-history-button[data-v-04d27531]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-04d27531]:focus-within{background:var(--scalar-background-2)}[data-v-6edfa5a3] .cm-editor{outline:none;width:100%;height:100%}[data-v-6edfa5a3] .cm-line{padding:0}[data-v-6edfa5a3] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-6edfa5a3]{-ms-overflow-style:none;-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 6px calc(100% - 24px),#0000 100%);mask-image:linear-gradient(90deg,#0000 0,#000 6px calc(100% - 24px),#0000 100%)}.scroll-timeline-x-hidden[data-v-6edfa5a3]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-6edfa5a3] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-6edfa5a3]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-6edfa5a3] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-6edfa5a3]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-6edfa5a3]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.address-bar-bg-states[data-v-6edfa5a3]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.address-bar-bg-states[data-v-6edfa5a3]{--scalar-address-bar-bg:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.address-bar-bg-states[data-v-6edfa5a3]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-6edfa5a3]:has(.cm-focused){--scalar-address-bar-bg:var(--scalar-background-1);border-color:var(--scalar-border-color);outline-width:1px;outline-style:solid}:is(.address-bar-bg-states:has(.cm-focused) .fade-left[data-v-6edfa5a3],.address-bar-bg-states:has(.cm-focused) .fade-right[data-v-6edfa5a3]){--scalar-address-bar-bg:var(--scalar-background-1)}.app-exit-button[data-v-3a29d7a0]{color:#fff;background:#0000001a}.app-exit-button[data-v-3a29d7a0]:hover{background:#ffffff1a}[data-radix-popper-content-wrapper]:has(.scalar-api-client-context-menu){z-index:1000!important}.resizer[data-v-e2c54c18]{cursor:col-resize;z-index:100;border-right:2px solid #0000;width:5px;transition:border-right-color .3s;position:absolute;top:0;bottom:0;right:0}.scalar-dragging{cursor:col-resize}.resizer:hover,.scalar-dragging .resizer{border-right-color:var(--scalar-background-3)}.scalar-dragging:after{content:"";display:block;position:absolute;inset:0}.scalar-sidebar-toggle--overlay[data-v-4a35414a]{color:var(--scalar-color-3);border-radius:var(--scalar-radius-md);padding:8px}.scalar-sidebar-toggle--overlay[data-v-4a35414a]:hover{background:var(--scalar-background-2)}.scalar-sidebar-toggle--overlay[data-v-4a35414a]:active{color:var(--scalar-color-1)}@media not all and (width>=1000px){.scalar-sidebar-toggle--overlay[data-v-4a35414a]{color:#fff;border-radius:var(--scalar-radius-full);background:#0000001a;padding:10px}.scalar-sidebar-toggle--overlay[data-v-4a35414a]:hover{background:#ffffff1a}}[data-v-4b7f675d] .code-input-lite__editor{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;padding:5px 8px}[data-v-4b7f675d] .scalar-pill:not(:last-of-type){margin-right:.15em}[data-v-4b7f675d] .scalar-pill:not(:first-of-type){margin-left:.5px}.scalar .scalar-app-layout[data-v-44c68ca5]{background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:8px;width:100%;max-width:1390px;height:calc(100% - 120px);margin:auto;position:relative;overflow:hidden}@media (width<=720px) and (height<=480px){.scalar .scalar-app-layout[data-v-44c68ca5]{height:100%;max-height:90svh}}.scalar .scalar-app-exit[data-v-44c68ca5]{cursor:pointer;z-index:-1;background:#00000038;width:100vw;height:100vh;position:fixed;top:0;left:0}.dark-mode .scalar .scalar-app-exit[data-v-44c68ca5]{background:#00000073}.scalar .scalar-app-exit[data-v-44c68ca5]:before{text-align:center;color:#fff;opacity:.6;font-family:sans-serif;font-size:30px;font-weight:100;line-height:50px;position:absolute;top:0;right:12px}.scalar .scalar-app-exit[data-v-44c68ca5]:hover:before{opacity:1}.scalar-container[data-v-44c68ca5]{visibility:hidden;opacity:0;pointer-events:none;will-change:opacity;justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .35s,visibility 0s linear .35s;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.scalar-container.scalar-client--open[data-v-44c68ca5]{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .35s}.scalar .url-form-input[data-v-44c68ca5]{min-height:auto!important}.scalar .scalar-container[data-v-44c68ca5]{line-height:normal}.ref-search-meta[data-v-6ea0d1fb]{background:var(--scalar-background-1);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);border-top:var(--scalar-border-width) solid var(--scalar-border-color);gap:12px;padding:6px 12px;display:flex}.request-card[data-v-41f67ce2],.request-card[data-v-5374efff]{color:var(--scalar-color-1);font-size:var(--scalar-font-size-3)}.request-method[data-v-5374efff]{font-family:var(--scalar-font-code);margin-right:6px}.request-card-footer[data-v-5374efff]{flex-shrink:0;justify-content:flex-end;padding:6px;display:flex;position:relative}.request-card-footer--wraps[data-v-5374efff]{flex-wrap:wrap;row-gap:4px}.request-card-footer-start[data-v-5374efff]{flex:1 0 auto;align-items:center;display:flex}.request-card-footer-addon[data-v-5374efff]{flex:1;align-items:center;min-width:0;display:flex}.request-editor-section[data-v-5374efff]{flex:1;display:flex}.request-card-simple[data-v-5374efff]{font-size:var(--scalar-small);justify-content:space-between;align-items:center;padding:8px 8px 8px 12px;display:flex}.code-snippet[data-v-5374efff]{flex-direction:column;width:100%;display:flex}.property-example[data-v-1380dfca]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-example[data-v-1380dfca]:hover:before{pointer-events:none;content:"";border-radius:var(--scalar-radius);width:100%;height:20px;position:absolute;top:0;left:0}.property-example-value[data-v-1380dfca]{font-family:var(--scalar-font-code);align-items:center;gap:8px;width:100%;padding:6px;display:flex}.property-example-value span[data-v-1380dfca]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.property-example-value[data-v-1380dfca] svg{color:var(--scalar-color-3)}.property-example-value[data-v-1380dfca]:hover svg{color:var(--scalar-color-1)}.property-example-value[data-v-1380dfca]{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.property-example-value-list[data-v-1380dfca]{background-color:var(--scalar-background-1);box-shadow:var(--scalar-shadow-1);border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width) solid var(--scalar-border-color);z-index:1000;flex-direction:column;gap:3px;min-width:200px;max-width:300px;padding:9px;display:none;position:absolute;top:18px;left:50%;overflow:auto;transform:translate(-50%)}.property-example-value-list-start[data-v-1380dfca]{left:0;transform:none}.property-example:hover .property-example-value-list[data-v-1380dfca]{display:flex}.error[data-v-86862f28]{background-color:var(--scalar-color-red)}.schema-card[data-v-86862f28]{font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-86862f28]{height:var(--schema-title-height);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);border-bottom:var(--scalar-border-width) solid transparent;align-items:center;gap:4px;padding:6px 8px;display:flex}button.schema-card-title[data-v-86862f28]{cursor:pointer}button.schema-card-title[data-v-86862f28]:hover{color:var(--scalar-color-1)}.schema-properties-open>.schema-card-title[data-v-86862f28]{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-right-radius:0;border-bottom-left-radius:0}.schema-properties-open>.schema-properties[data-v-86862f28]{width:fit-content}.schema-card-description[data-v-86862f28]{color:var(--scalar-color-2)}.schema-card-description+.schema-properties[data-v-86862f28]{width:fit-content;margin-top:8px}.schema-card--level-0:first-of-type>.schema-card-description[data-v-86862f28]:has(+.schema-properties){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);margin-bottom:-8px;padding-bottom:8px}.schema-card--level-0~.schema-card--level-0>.schema-card-description[data-v-86862f28]:has(+.schema-properties){padding-top:8px}.schema-properties-open.schema-properties[data-v-86862f28],.schema-properties-open>.schema-card--open[data-v-86862f28]{width:100%}.schema-properties[data-v-86862f28]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);flex-direction:column;width:fit-content;display:flex}.schema-properties-name[data-v-86862f28]{width:100%}.schema-properties .schema-properties[data-v-86862f28]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-86862f28]{border-radius:var(--scalar-radius-lg)}.schema-properties-open[data-v-86862f28]{width:100%}.schema-card--compact[data-v-86862f28]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-86862f28]{align-self:initial}.schema-card-title--compact[data-v-86862f28]{color:var(--scalar-color-2);border-bottom:none;height:auto;padding:6px 10px 6px 8px}.schema-properties-open>.schema-card-title--compact[data-v-86862f28]{position:static}.property--level-0>.schema-properties>.schema-card--level-0>.schema-properties[data-v-86862f28]{border:none}.property--level-0 .schema-card--level-0:not(.schema-card--compact) .property--level-1[data-v-86862f28]{padding:0 0 8px}:not(.composition-panel)>.schema-card--compact.schema-card--level-0>.schema-properties[data-v-86862f28]{border:none}[data-v-86862f28] .schema-card-description p{font-size:var(--scalar-small,var(--scalar-paragraph));color:var(--scalar-color-2);margin-bottom:6px;display:block}.children .schema-card-description[data-v-86862f28]:first-of-type{padding-top:0}.property-rule[data-v-e22666da] .composition-panel>.schema-card>.schema-properties>ul>li.property.property--tree-container{padding-top:0!important}.property-heading:empty+.property-description[data-v-1b21ab2e]:last-of-type,.property-description[data-v-1b21ab2e]:first-of-type:last-of-type{margin-top:0}.property-list[data-v-1b21ab2e]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-1b21ab2e]:last-of-type{padding-bottom:10px}.enum-toggle-button[data-v-1b21ab2e]:hover{color:var(--scalar-color-1)}.badge-colored[data-v-2a7101e8]{background-color:var(--badge-color);color:var(--badge-color)}@supports (color:color-mix(in lab, red, red)){.badge-colored[data-v-2a7101e8]{color:color-mix(in srgb, var(--badge-color), black 40%)}}@supports (color:lch(from red calc((50 - l) * infinity) 0 0)){.badge-colored[data-v-2a7101e8]{color:lch(from var(--badge-color) calc((50 - l) * infinity) 0 0 / 1)}}.badge.text-orange[data-v-2a7101e8]{background:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.badge.text-orange[data-v-2a7101e8]{background:color-mix(in srgb, var(--scalar-color-orange), transparent 90%)}}.badge.text-orange[data-v-2a7101e8]{border:#0000}.badge.text-yellow[data-v-2a7101e8]{background:var(--scalar-color-yellow)}@supports (color:color-mix(in lab, red, red)){.badge.text-yellow[data-v-2a7101e8]{background:color-mix(in srgb, var(--scalar-color-yellow), transparent 90%)}}.badge.text-yellow[data-v-2a7101e8]{border:#0000}.badge.text-red[data-v-2a7101e8]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.badge.text-red[data-v-2a7101e8]{background:color-mix(in srgb, var(--scalar-color-red), transparent 90%)}}.badge.text-red[data-v-2a7101e8]{border:#0000}.badge.text-purple[data-v-2a7101e8]{background:var(--scalar-color-purple)}@supports (color:color-mix(in lab, red, red)){.badge.text-purple[data-v-2a7101e8]{background:color-mix(in srgb, var(--scalar-color-purple), transparent 90%)}}.badge.text-purple[data-v-2a7101e8]{border:#0000}.badge.text-green[data-v-2a7101e8]{background:var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.badge.text-green[data-v-2a7101e8]{background:color-mix(in srgb, var(--scalar-color-green), transparent 90%)}}.badge.text-green[data-v-2a7101e8]{border:#0000}.property-default[data-v-46973243]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-default[data-v-46973243]:hover:before{content:"";border-radius:var(--scalar-radius);width:100%;height:20px;position:absolute;top:0;left:0}.property-default:hover .property-default-label span[data-v-46973243]{color:var(--scalar-color-1)}.property-default-label span[data-v-46973243]{color:var(--scalar-color-2);border-bottom:var(--scalar-border-width) dotted currentColor;position:relative}.property-default-value[data-v-46973243]{font-family:var(--scalar-font-code);align-items:center;gap:8px;width:100%;padding:6px;display:flex}.property-default-value span[data-v-46973243]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.property-default-value[data-v-46973243] svg{color:var(--scalar-color-3)}.property-default-value[data-v-46973243]:hover svg{color:var(--scalar-color-1)}.property-default-value[data-v-46973243]{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.property-default-value-list[data-v-46973243]{background-color:var(--scalar-background-1);box-shadow:var(--scalar-shadow-1);border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width) solid var(--scalar-border-color);z-index:2;flex-direction:column;gap:3px;min-width:200px;max-width:300px;padding:9px;display:none;position:absolute;top:18px;left:50%;overflow:auto;transform:translate(-50%)}.property-default:hover .property-default-value-list[data-v-46973243]{display:flex}.property-detail[data-v-8b57daa7]{display:inline-flex}.property-detail+.property-detail[data-v-8b57daa7]:before{content:"·";margin:0 .5ch;display:block}.property-detail-truncate[data-v-8b57daa7]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-8b57daa7]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.property-detail-prefix[data-v-8b57daa7]{color:var(--scalar-color-2)}code.property-detail-value[data-v-8b57daa7]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){code.property-detail-value[data-v-8b57daa7]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}code.property-detail-value[data-v-8b57daa7]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);padding:0 4px}.property-pattern[data-v-e8f7b07b]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-pattern[data-v-e8f7b07b]:hover:before{content:"";border-radius:var(--scalar-radius);width:100%;height:20px;position:absolute;top:0;left:0}.property-pattern-popup[data-v-e8f7b07b]{background-color:var(--scalar-background-1);box-shadow:var(--scalar-shadow-1);border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width) solid var(--scalar-border-color);z-index:1000;min-width:200px;max-width:min(500px,100vw - 32px);max-height:min(400px,100vh - 32px);padding:9px;display:none;position:absolute;top:18px;left:50%;overflow-y:auto;transform:translate(-50%)}.property-pattern:hover .property-pattern-popup[data-v-e8f7b07b],.property-pattern:focus-within .property-pattern-popup[data-v-e8f7b07b],.property-pattern.is-open .property-pattern-popup[data-v-e8f7b07b]{display:flex}.property-pattern-value[data-v-e8f7b07b]{font-family:var(--scalar-font-code);background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);align-items:flex-start;gap:8px;width:100%;padding:6px;display:flex}.property-pattern-value code[data-v-e8f7b07b]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;text-align:left;flex:1}.property-heading[data-v-d9e2f10e]{white-space:nowrap;flex-wrap:wrap;align-items:baseline;row-gap:9px;display:flex}:is(.property-heading[data-v-d9e2f10e]:has(+.children),.property-heading[data-v-d9e2f10e]:has(+.property-rule)){margin-bottom:9px}.property-heading[data-v-d9e2f10e]>*{margin-right:9px}.property-heading[data-v-d9e2f10e]:last-child{margin-right:0}.property-name[data-v-d9e2f10e]{max-width:100%;font-family:var(--scalar-font-code);font-weight:var(--scalar-bold);font-size:var(--scalar-font-size-4);white-space:normal;overflow-wrap:break-word}.property-additional[data-v-d9e2f10e]{font-family:var(--scalar-font-code)}.property-required[data-v-d9e2f10e],.property-optional[data-v-d9e2f10e]{color:var(--scalar-color-2)}.property-required[data-v-d9e2f10e]{font-size:var(--scalar-mini);color:var(--scalar-color-orange)}.light-mode .property-required[data-v-d9e2f10e]{color:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.light-mode .property-required[data-v-d9e2f10e]{color:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 32%)}}.property-read-only[data-v-d9e2f10e]{font-size:var(--scalar-mini);color:var(--scalar-color-blue)}.property-write-only[data-v-d9e2f10e]{font-size:var(--scalar-mini);color:var(--scalar-color-green)}.property-discriminator[data-v-d9e2f10e]{font-size:var(--scalar-mini);color:var(--scalar-color-purple)}.property-detail[data-v-d9e2f10e]{font-size:var(--scalar-mini);color:var(--scalar-color-2);align-items:center;min-width:0;display:flex}.property-const[data-v-d9e2f10e]{color:var(--scalar-color-1)}.deprecated[data-v-d9e2f10e]{text-decoration:line-through}.property[data-v-00f22f7c]{color:var(--scalar-color-1);font-size:var(--scalar-small);flex-direction:column;padding:10px;display:flex;position:relative}.property[data-v-00f22f7c]:has(>.property-rule:first-of-type):not(.property--compact){padding-top:8px;padding-bottom:8px}.property--deprecated[data-v-00f22f7c]{background:repeating-linear-gradient(-45deg, var(--scalar-background-2) 0, var(--scalar-background-2) 2px, transparent 2px, transparent 5px);background-size:100%}.property-description[data-v-00f22f7c]{line-height:1.4;font-size:var(--scalar-small);margin-top:6px}.property-description[data-v-00f22f7c]:has(+.property-rule){margin-bottom:9px}[data-v-00f22f7c] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-00f22f7c]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.property-description+.children[data-v-00f22f7c],.children+.property-rule[data-v-00f22f7c]{margin-top:9px}.children[data-v-00f22f7c]{flex-direction:column;display:flex}.children .property--compact.property--level-1[data-v-00f22f7c]{padding:12px}.property-example-value[data-v-00f22f7c]{all:unset;font-family:var(--scalar-font-code);border-top:var(--scalar-border-width) solid var(--scalar-border-color);padding:6px}.property-rule[data-v-00f22f7c]{border-radius:var(--scalar-radius-lg);flex-direction:column;display:flex}.property-example[data-v-00f22f7c]{background:0 0;border:none;flex-direction:row;gap:8px;display:flex}.property-example-label[data-v-00f22f7c],.property-example-value[data-v-00f22f7c]{padding:3px 0 0}.property-example-value[data-v-00f22f7c]{background:var(--scalar-background-2);border-radius:var(--scalar-radius);border-top:0;padding:3px 4px}.property-name[data-v-00f22f7c]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.property-name-additional-properties[data-v-00f22f7c]:before,.property-name-pattern-properties[data-v-00f22f7c]:before{text-transform:uppercase;font-size:var(--scalar-micro);border-radius:var(--scalar-radius);color:var(--scalar-color-1);border:var(--scalar-border-width) solid var(--scalar-border-color);background-color:var(--scalar-background-2);margin-right:4px;padding:2px 4px;display:inline-block}.property-name-pattern-properties[data-v-00f22f7c]:before{content:"regex"}.property-name-additional-properties[data-v-00f22f7c],.property-name-pattern-properties[data-v-00f22f7c]{border:1px dashed var(--scalar-border-color);color:var(--scalar-color-accent);border-radius:var(--scalar-radius);padding:2px;display:inline-block}.schema-type-icon[data-v-39d4fd7f]{color:var(--scalar-color-1);display:none}.schema-type[data-v-39d4fd7f]{font-family:var(--scalar-font-code);color:var(--scalar-color-1)}.authenticationProvided[data-v-e3416cd5]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.authenticationRequired[data-v-d15ef40b]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.askForAuthentication[data-v-508e8718]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);width:100%;box-shadow:0 var(--scalar-border-width) 0 var(--scalar-background-1), 0 calc(-1 * var(--scalar-border-width)) 0 var(--scalar-background-1);flex-direction:column;margin-bottom:12px;padding:0;display:flex;position:relative}.authContent[data-v-508e8718]{grid-template-rows:0fr;width:100%;max-width:520px;min-height:0;margin:auto;transition:grid-template-rows .2s ease-out;display:grid;overflow:hidden}.authContentInner[data-v-508e8718]>div{margin:36px 0 48px}.authContent[data-v-508e8718] .markdown{margin-bottom:0!important}.askForAuthentication.open .authContent[data-v-508e8718]{grid-template-rows:1fr}.continueButton[data-v-508e8718]{align-self:flex-end}.toggleButton[data-v-508e8718]{cursor:pointer;text-align:left;color:var(--scalar-color-3);border-radius:var(--scalar-radius-lg);background:0 0;border:none;justify-content:space-between;align-items:center;display:flex;position:relative}.authContentInner[data-v-508e8718]{min-height:0;overflow:hidden}.authorizeButton[data-v-508e8718]{z-index:1;gap:5px;display:flex;background:var(--scalar-color-blue)!important;color:#fff!important;margin:0!important}.autosendPaused[data-v-d08225db]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.playIcon[data-v-5a1d2b16]{z-index:1;background:var(--scalar-background-1);border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-5a1d2b16]:before{content:"";box-sizing:border-box;border:1.75px solid;border-bottom-color:#0000;border-image:initial;border-radius:var(--scalar-radius-full);background:var(--scalar-background-1);width:16px;height:16px;animation:.42s linear infinite rotation-5a1d2b16;display:inline-block;position:absolute}.buildingRequest[data-v-5a1d2b16]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.buildingRequest svg[data-v-5a1d2b16]{z-index:1;border-radius:var(--scalar-radius-full);width:100%;height:100%}@keyframes rotation-5a1d2b16{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requestApproved[data-v-bb311586]{color:var(--scalar-color-green);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestFailed[data-v-29140773]{color:var(--scalar-color-red);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestFailedIcon[data-v-29140773]{border-radius:var(--scalar-radius-full);width:16px;height:16px;padding:4px;box-shadow:inset 0 0 0 1.5px}.requestRejected[data-v-9803a54c]{color:var(--scalar-color-red);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestSuccess[data-v-acc2c0d8]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.light-mode .bg-preview[data-v-92f84612]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' fill-opacity='10%25'%3E%3Crect width='8' height='8' /%3E%3Crect x='8' y='8' width='8' height='8' /%3E%3C/svg%3E")}.dark-mode .bg-preview[data-v-92f84612]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFF' fill-opacity='10%25'%3E%3Crect width='8' height='8' /%3E%3Crect x='8' y='8' width='8' height='8' /%3E%3C/svg%3E")}.playIcon[data-v-a375f414]{z-index:1;background:var(--scalar-background-1);border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-a375f414]:before{content:"";box-sizing:border-box;border:1.75px solid;border-bottom-color:#0000;border-image:initial;border-radius:var(--scalar-radius-full);background:var(--scalar-background-1);width:16px;height:16px;animation:.42s linear infinite rotation-a375f414;display:inline-block;position:absolute}.sendingRequest[data-v-a375f414]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.sendingRequest svg[data-v-a375f414]{z-index:1;border-radius:var(--scalar-radius-full);width:100%;height:100%}@keyframes rotation-a375f414{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requestHeaderContainer[data-v-e049f4c9]{justify-content:space-between;align-items:center;padding:0 5px;display:flex}.requestPreview[data-v-e049f4c9]{border-radius:var(--scalar-radius-2xl);flex-direction:column;width:100%;display:flex;position:relative}.requestContent[data-v-e049f4c9]{grid-template-rows:0fr;min-height:0;transition:grid-template-rows .2s ease-out;display:grid;overflow:hidden}.requestPreview.open .requestContent[data-v-e049f4c9]{grid-template-rows:1fr}.requestPreview.succeeded[data-v-e049f4c9]{padding:0}.requestContentInner[data-v-e049f4c9]{min-height:0;overflow:hidden}.code[data-v-e049f4c9]{font-size:var(--scalar-font-size-4);border-radius:var(--scalar-radius-2xl);background:var(--scalar-background-2);flex-direction:column;display:flex}@supports (color:color-mix(in lab, red, red)){.code[data-v-e049f4c9]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.code[data-v-e049f4c9]{margin-bottom:12px;overflow:hidden}.dark-mode .code[data-v-e049f4c9]{background:var(--scalar-background-2)}.code h1[data-v-e049f4c9]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-3);padding:8px}.code[data-v-e049f4c9] .codeBlock{max-height:calc(50vh - 100px);padding-top:0}.autosendContainer[data-v-e049f4c9]{justify-content:space-between;display:flex}.sendButton[data-v-e049f4c9]{background:var(--scalar-color-blue);color:#fff;font-weight:var(--scalar-semibold);padding:5px 10px}.sendButton[data-v-e049f4c9]:hover,.sendButton[data-v-e049f4c9]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.sendButton[data-v-e049f4c9]:hover,.sendButton[data-v-e049f4c9]:active{background:color-mix(in srgb, var(--scalar-color-blue), black 10%)}}.sendButton[data-v-e049f4c9]:hover,.sendButton[data-v-e049f4c9]:active{color:#fff!important}.toggleButton[data-v-e049f4c9]{cursor:pointer;text-align:left;color:var(--scalar-color-3);border-radius:var(--scalar-radius-lg);background:0 0;border:none;justify-content:space-between;align-items:center;display:flex;position:relative}.toggleButton[data-v-e049f4c9]:hover{text-decoration:underline}.executeRequestTool[data-v-0c85bad4]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);box-shadow:0 var(--scalar-border-width) 0 var(--scalar-background-1), 0 calc(-1 * var(--scalar-border-width)) 0 var(--scalar-background-1);flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.playIcon[data-v-0248d9dc]{z-index:1;background:var(--scalar-background-1);border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-0248d9dc]:before{content:"";box-sizing:border-box;border:1.5px solid;border-bottom-color:#0000;border-image:initial;border-radius:var(--scalar-radius-full);background:var(--scalar-background-1);width:16px;height:16px;animation:.42s linear infinite rotation-0248d9dc;display:inline-block;position:absolute}.loadingApiSpecs[data-v-0248d9dc]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);align-items:center;gap:6px;margin-bottom:10px;display:flex}.loadingApiSpecs svg[data-v-0248d9dc]{z-index:1;border-radius:var(--scalar-radius-full);width:100%;height:100%}@keyframes rotation-0248d9dc{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.contextItem[data-v-0509fef2]{white-space:nowrap;color:var(--scalar-color-2);cursor:pointer;vertical-align:middle;border-radius:var(--scalar-radius-2xl);background:var(--scalar-background-2);align-items:center;padding:5px 10px;font-size:10px;display:flex}@supports (color:color-mix(in lab, red, red)){.contextItem[data-v-0509fef2]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.contextItem[data-v-0509fef2]{max-width:200px}.contextItemText[data-v-0509fef2]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shimmer[data-v-0509fef2]{background:var(--scalar-background-2);background-image:linear-gradient(90deg, #202020 0%, var(--scalar-background-2) 40%, var(--scalar-background-3) 80%);background-size:200% 100%;animation:1.4s ease-in-out infinite shimmer-0509fef2}.light-mode .shimmer[data-v-0509fef2]{background:var(--scalar-background-2);background-image:linear-gradient(90deg, #fafafa 0%, var(--scalar-background-2) 40%, var(--scalar-background-3) 80%);background-size:200% 100%;animation:1.4s ease-in-out infinite shimmer-0509fef2}@keyframes shimmer-0509fef2{0%{background-position:200% 0}to{background-position:-200% 0}}.playIcon[data-v-43864661]{z-index:1;background:var(--scalar-background-1);border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-43864661]:before{content:"";box-sizing:border-box;border:1.5px solid;border-bottom-color:#0000;border-image:initial;border-radius:var(--scalar-radius-full);background:var(--scalar-background-1);width:16px;height:16px;animation:.42s linear infinite rotation-43864661;display:inline-block;position:absolute}.sendingRequest[data-v-43864661]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);align-items:center;gap:6px;margin-bottom:10px;display:flex}.sendingRequest svg[data-v-43864661]{z-index:1;border-radius:var(--scalar-radius-full);width:100%;height:100%}@keyframes rotation-43864661{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.operations[data-v-fa6f5acc]{flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:12px;display:flex}.operations[data-v-fa6f5acc]:empty{margin-bottom:-12px}.overflowPopover[data-v-fa6f5acc]{flex-direction:column;gap:5px;padding:8px;display:flex}.catalogModal .scalar-modal-body{flex-direction:column;display:flex}.searchInput[data-v-18b2aea2]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-bottom:10px}.catalog[data-v-18b2aea2]{font-size:var(--scalar-font-size-3);grid-template-columns:1fr 1fr;gap:10px;display:grid;overflow-y:scroll}.item[data-v-18b2aea2]{background-color:var(--scalar-background-2);border-radius:var(--scalar-radius-lg);align-items:center;gap:10px;padding:15px;transition:background-color .16s;display:flex}.item[data-v-18b2aea2]:hover{background-color:var(--scalar-background-3)!important}@supports (color:color-mix(in lab, red, red)){.item[data-v-18b2aea2]:hover{background-color:color-mix(in srgb, var(--scalar-background-3), transparent 40%)!important}}.left[data-v-18b2aea2]{align-items:center}.right[data-v-18b2aea2]{flex-direction:column;display:flex}.logo[data-v-18b2aea2]{width:25px}.item-top[data-v-18b2aea2]{gap:10px;display:flex}.version[data-v-18b2aea2]{background:var(--scalar-background-3);border-radius:var(--scalar-radius);font-size:var(--scalar-font-size-5);color:var(--scalar-color-3);padding:2px 5px}.description[data-v-18b2aea2]{color:var(--scalar-color-2)}.dropdown-item[data-v-e2c3bd19]{align-items:center;gap:10px;display:flex}.approvalSection[data-v-f493d089]{background:var(--scalar-color-blue);width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px}@supports (color:color-mix(in lab, red, red)){.approvalSection[data-v-f493d089]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.approvalSection[data-v-f493d089]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.approvalText[data-v-f493d089]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.approveContainer[data-v-f493d089]{gap:5px;display:flex}.actionButton[data-v-f493d089]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-full);font-size:var(--scalar-font-size-3);align-items:center;padding:6px 12px;display:flex}.rejectButton[data-v-f493d089]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-f493d089]:hover,.rejectButton[data-v-f493d089]:active{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.rejectButton[data-v-f493d089]:hover,.rejectButton[data-v-f493d089]:active{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 10%)}}.rejectButton[data-v-f493d089]:hover,.rejectButton[data-v-f493d089]:active{color:#fff!important}.approveButton[data-v-f493d089]{color:#fff;background:var(--scalar-color-blue)}.approveButton[data-v-f493d089]:hover,.approveButton[data-v-f493d089]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approveButton[data-v-f493d089]:hover,.approveButton[data-v-f493d089]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.approveButton[data-v-f493d089]:hover,.approveButton[data-v-f493d089]:active{color:#fff!important}.error[data-v-130cb1d5]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;background:var(--scalar-color-red);align-items:center;margin-bottom:-16px;padding:8px 8px 24px 12px;display:flex}@supports (color:color-mix(in lab, red, red)){.error[data-v-130cb1d5]{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.error[data-v-130cb1d5]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);position:absolute;top:0;transform:translateY(calc(16px - 100%))}.freeMessagesInfoSection[data-v-1921dede]{background:var(--scalar-color-blue);width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative}@supports (color:color-mix(in lab, red, red)){.freeMessagesInfoSection[data-v-1921dede]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.freeMessagesInfoSection[data-v-1921dede]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;justify-content:space-between;align-items:center;display:flex}.infoText[data-v-1921dede]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.actionsContainer[data-v-1921dede]{align-items:center;gap:8px;display:flex}.actionButton[data-v-1921dede]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-full);align-items:center;padding:6px 12px;display:flex}.upgradeButton[data-v-1921dede]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.upgradeButton[data-v-1921dede]:hover,.upgradeButton[data-v-1921dede]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.upgradeButton[data-v-1921dede]:hover,.upgradeButton[data-v-1921dede]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.upgradeButton[data-v-1921dede]:hover,.upgradeButton[data-v-1921dede]:active{color:#fff!important}.closeButton[data-v-1921dede]{border-radius:var(--scalar-radius-full);width:28px;height:28px;color:var(--scalar-color-2);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:flex}.closeButton[data-v-1921dede]:hover{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.closeButton[data-v-1921dede]:hover{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 80%)}}.closeButton[data-v-1921dede]:hover{color:var(--scalar-color-1)}.paymentSection[data-v-9d163ea1]{background:var(--scalar-color-blue);width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative}@supports (color:color-mix(in lab, red, red)){.paymentSection[data-v-9d163ea1]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.paymentSection[data-v-9d163ea1]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.approvalText[data-v-9d163ea1]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.paymentContainer[data-v-9d163ea1]{gap:5px;display:flex}.actionButton[data-v-9d163ea1]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-full);align-items:center;padding:6px 12px;display:flex}.rejectButton[data-v-9d163ea1]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-9d163ea1]:hover,.rejectButton[data-v-9d163ea1]:active{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.rejectButton[data-v-9d163ea1]:hover,.rejectButton[data-v-9d163ea1]:active{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 10%)}}.rejectButton[data-v-9d163ea1]:hover,.rejectButton[data-v-9d163ea1]:active{color:#fff!important}.approveButton[data-v-9d163ea1]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.approveButton[data-v-9d163ea1]:hover,.approveButton[data-v-9d163ea1]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approveButton[data-v-9d163ea1]:hover,.approveButton[data-v-9d163ea1]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.approveButton[data-v-9d163ea1]:hover,.approveButton[data-v-9d163ea1]:active{color:#fff!important}.paymentInfo[data-v-9d163ea1]{width:300px;box-shadow:var(--scalar-shadow-2);background:var(--scalar-background-1);border-radius:var(--scalar-radius-3xl);pointer-events:none;opacity:0;padding:12px;transition:all .2s ease-in-out;position:absolute;bottom:70px;right:0;transform:translateY(-5px)}.paymentInfo h3[data-v-9d163ea1]{font-size:var(--scalar-font-size-1);font-weight:var(--scalar-bold);margin-bottom:18px}.paymentInfo h3 span[data-v-9d163ea1]{font-size:var(--scalar-font-size-2)}.dark-mode .paymentInfo[data-v-9d163ea1]{background:var(--scalar-background-2)}.paymentContainer:hover .paymentInfo[data-v-9d163ea1]{opacity:1;transform:translate(0)}.paymentInfoItem[data-v-9d163ea1]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);justify-content:space-between;margin-top:8px;display:flex}.paymentInfoSection[data-v-9d163ea1]:not(:last-child){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);padding-bottom:8px}.searchItem[data-v-3e0405c7]{font-size:var(--scalar-font-size-3);align-items:center;gap:9px;padding:8px 10px;display:flex}.searchInput[data-v-3e0405c7]{margin-bottom:5px}.searchItem[data-v-3e0405c7]:hover{background:var(--scalar-background-2)}.searchItemLogo[data-v-3e0405c7]{width:15px}.searchIcon[data-v-3e0405c7]{margin-right:7px}.searchResultsEmpty[data-v-3e0405c7]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);margin:10px}.uploadSection[data-v-b82d2f3a]{background:var(--scalar-color-blue);width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative}@supports (color:color-mix(in lab, red, red)){.uploadSection[data-v-b82d2f3a]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.uploadSection[data-v-b82d2f3a]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.uploadSection.error[data-v-b82d2f3a]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.uploadSection.error[data-v-b82d2f3a]{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.uploadSection.done[data-v-b82d2f3a]{background:var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.uploadSection.done[data-v-b82d2f3a]{background:color-mix(in srgb, var(--scalar-color-green), var(--scalar-background-1) 95%)}}.uploadText[data-v-b82d2f3a]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.icon[data-v-b82d2f3a]{width:20px;height:20px}.actionContainer[data-v-6aae4d61]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.actionContainer[data-v-6aae4d61]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.actionContainer[data-v-6aae4d61]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl);width:100%;box-shadow:0 24px 0 2px var(--scalar-background-1);position:relative}.promptForm[data-v-6aae4d61]{background:var(--scalar-background-1);width:100%;box-shadow:var(--scalar-shadow-1), 0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:var(--scalar-radius-3xl);flex-direction:column;display:flex;position:relative}.inputActionsContainer[data-v-6aae4d61]{justify-content:space-between;padding:0 8px 8px;display:flex}.inputActionsLeft[data-v-6aae4d61]{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.inputActionsRight[data-v-6aae4d61]{gap:5px;display:flex;position:relative}.apiPill[data-v-6aae4d61]{font-size:var(--scalar-font-size-3);border:var(--scalar-border-width) solid var(--scalar-border-color);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-3xl);pointer-events:all;z-index:1;-webkit-user-select:none;user-select:none;align-items:center;gap:4px;height:28px;padding:0 8px;display:flex}.apiPillLogo[data-v-6aae4d61]{width:15px}.apiPillRemove[data-v-6aae4d61]{border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:24px;height:24px;margin-right:-6px;display:flex}.apiPill:hover .apiPillRemove[data-v-6aae4d61]{background:var(--scalar-background-2)}.dark-mode .apiPill:hover .apiPillRemove[data-v-6aae4d61]{background:var(--scalar-background-3)}.apiPillRemove[data-v-6aae4d61]:hover{color:var(--scalar-color-1)}.prompt[data-v-6aae4d61]{resize:none;field-sizing:content;z-index:1;scrollbar-width:thin;word-wrap:break-word;width:100%;max-width:100%;min-height:64px;max-height:250px;font-family:var(--scalar-font);border:none;outline:none;padding:12px 12px 14px;font-size:16px;overflow-y:auto}.dark-mode .promptForm[data-v-6aae4d61]{background:var(--scalar-background-2)}.prompt[data-v-6aae4d61]:disabled{color:var(--scalar-color-3)}.addAPIButton[data-v-6aae4d61]{color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);width:28px;height:28px;font-weight:var(--scalar-bold);border-radius:var(--scalar-radius-full);pointer-events:all;z-index:1;box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);justify-content:center;align-items:center;gap:4px;display:flex}.addAPIButton[data-v-6aae4d61]:hover{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.addAPIButton[data-v-6aae4d61]:hover{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.addAPIButton[data-v-6aae4d61]:hover{box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.dark-mode .addAPIButton[data-v-6aae4d61]:hover{background:var(--scalar-background-3)}.settingsButton[data-v-6aae4d61]{z-index:1;color:var(--scalar-color-3)!important;border-radius:var(--scalar-radius-full)!important;margin:0!important}.settingsButton[aria-disabled=true][data-v-6aae4d61]{background:var(--scalar-background-2)}.dark-mode .settingsButton[data-v-6aae4d61]:hover{background:var(--scalar-background-3)}.sendButton[data-v-6aae4d61]{z-index:1;border:var(--scalar-border-width) solid var(--scalar-color-blue);background:var(--scalar-color-blue)!important;border-radius:var(--scalar-radius-full)!important;margin:0!important}.sendButton[data-v-6aae4d61]:not([aria-disabled=true]){color:#fff!important}.sendButton[data-v-6aae4d61]:not([aria-disabled=true]):hover{background:var(--scalar-color-blue)!important}@supports (color:color-mix(in lab, red, red)){.sendButton[data-v-6aae4d61]:not([aria-disabled=true]):hover{background:color-mix(in srgb, var(--scalar-color-blue), transparent 10%)!important}}.sendButton[aria-disabled=true][data-v-6aae4d61]{border:var(--scalar-border-width) solid var(--scalar-border-color);background:var(--scalar-background-2)!important;color:var(--scalar-color-3)!important}.dark-mode .sendButton[aria-disabled=true][data-v-6aae4d61]{background:var(--scalar-background-3)!important}.contextContainer[data-v-6aae4d61]{width:100%;color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);-webkit-user-select:none;user-select:none;justify-content:space-between;padding:10px 12px 12px;display:flex}.settingsButton[data-v-6aae4d61]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-lg);margin:-4px -6px;padding:4px 6px}.settingsButton[data-v-6aae4d61]:hover{background:var(--scalar-background-2);box-shadow:0 0 var(--scalar-border-width) 0 var(--scalar-border-color);cursor:pointer}.agentLabel[data-v-6aae4d61]{cursor:text;width:100%;height:100%;font-size:0;position:absolute}.sendCheckboxContinue[data-v-6aae4d61]:has(input){border-radius:var(--scalar-radius-3xl);background:var(--scalar-background-2);box-shadow:0 0 0 1.5px var(--scalar-background-2);color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-semibold);-webkit-user-select:none;user-select:none;align-items:center;height:28px;display:flex}.dark-mode .sendCheckboxContinue[data-v-6aae4d61]:has(input){background:var(--scalar-background-3);box-shadow:0 0 0 1.5px var(--scalar-background-3)}.addMoreContext[data-v-6aae4d61]{height:40px;font-size:var(--scalar-font-size-3);color:var(--scalar-color-3);align-items:center;padding:0 8px 0 12px;display:flex;position:relative}.addMoreContext[data-v-6aae4d61]:before{content:"";background:var(--scalar-background-1);width:8px;height:8px}@supports (color:color-mix(in lab, red, red)){.addMoreContext[data-v-6aae4d61]:before{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.addMoreContext[data-v-6aae4d61]:before{box-shadow:-.5px -.5px 0 var(--scalar-border-color), inset .5px .5px 1px var(--scalar-border-color);position:absolute;top:-3px;left:18px;transform:rotate(45deg)}.dark-mode .addMoreContext[data-v-6aae4d61]:before{box-shadow:-.5px -.5px 0 var(--scalar-border-color)}.addAPIContext[data-v-6aae4d61]{border-radius:var(--scalar-radius-full);border:var(--scalar-border-width) solid var(--scalar-border-color);justify-content:center;align-items:center;width:28px;height:28px;display:flex}.termsAgree[data-v-6aae4d61]{cursor:pointer;height:inherit;border-radius:var(--scalar-radius-3xl);align-items:center;gap:5px;margin:0 5px;display:flex}.termsAgree[data-v-6aae4d61]:hover{color:var(--scalar-color-1)}.termsAgree:hover .termsAgreeIcon[data-v-6aae4d61]{background:var(--scalar-color-1);color:var(--scalar-background-1)}.termsAgreeIcon[data-v-6aae4d61]{width:inherit;height:inherit;border-radius:var(--scalar-radius-full);background:var(--scalar-background-2);padding:2px}.chat[data-v-6573ec87]{flex-direction:column;flex:1;width:100%;max-width:744px;padding:24px 0;display:flex}.userMessage[data-v-6573ec87]{border-radius:var(--scalar-radius-3xl);background:var(--scalar-background-2);width:fit-content;max-width:80%;color:var(--scalar-color-1);padding-top:6px;padding-bottom:6px;margin-bottom:12px;margin-left:auto;padding-inline:16px;font-size:16px;line-height:24px}div+.userMessage[data-v-6573ec87]{margin-top:64px}.chat[data-v-6573ec87]>div:has(.executeRequestTool)+div:has(.executeRequestTool){margin-top:-12px}.spacer[data-v-6573ec87]{width:100%;min-height:280px}.formContainer[data-v-6573ec87]{z-index:1;width:100%;max-width:744px;position:fixed;bottom:20px}.chat[data-v-6573ec87] .markdown{margin-bottom:12px}.agentLogo[data-v-b27bdc01]{margin-bottom:15px}.startContainer[data-v-b27bdc01]{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:720px;height:100%;display:flex;position:relative}.promptText[data-v-b27bdc01]{font-size:1.5rem;font-weight:var(--scalar-font-bold);margin-bottom:50px}.disclaimerText[data-v-b27bdc01]{text-align:center;color:var(--scalar-color-3);font-size:var(--scalar-font-size-3);text-wrap:balance;margin-top:40px;line-height:1.44}.disclaimerLink[data-v-b27bdc01]{text-decoration:underline}.wrapper[data-v-f1eee0af]{flex-direction:column;align-items:center;width:100%;height:100%;display:flex}.docSettings[data-v-5134b4f8]{font-size:var(--scalar-font-size-3);flex-direction:column;gap:12px;max-height:600px;margin-bottom:12px;display:flex}.documentName[data-v-5134b4f8]{font-weight:var(--scalar-semibold)}.settingsModal .scalar-modal-layout{z-index:10!important}.settingsModal .scalar-modal-body{overflow:hidden auto}.documentList[data-v-1a8828eb]{font-size:var(--scalar-font-size-3);flex-direction:column;margin-bottom:12px;display:flex}.document[data-v-1a8828eb]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-direction:column;width:calc(100% + 24px);padding:0 12px;display:flex;position:relative;left:-12px}.document[data-v-1a8828eb]:first-of-type:not(:last-of-type){border-bottom:none}.documentName[data-v-1a8828eb]{font-weight:var(--scalar-semibold);color:var(--scalar-color-2);align-items:center;gap:4px;padding:12px 0;display:flex}.documentNameActive[data-v-1a8828eb]{color:var(--scalar-color-1)}.settingsHeading[data-v-1a8828eb]{font-size:19px;font-weight:var(--scalar-semibold);align-items:center;gap:5px;margin-bottom:12px;display:flex}.proxyUrlContainer[data-v-1a8828eb]{font-size:var(--scalar-font-size-3);flex-direction:column;gap:5px;display:flex}.proxyUrlContainer label[data-v-1a8828eb]{font-weight:var(--scalar-semibold)}.noDocuments[data-v-1a8828eb]{color:var(--scalar-color-2);margin-bottom:10px}.scalar-app{--schema-gutter:16px;--schema-row-pad:6px;--schema-depth:0;--schema-rail-base:var(--scalar-border-color);--schema-glyph-size:18px;--schema-glyph-half:9px;--schema-glyph-icon:16px;--schema-toggle-size:24px;--schema-toggle-half:12px}@media (prefers-reduced-motion:reduce){.scalar-app *,.scalar-app :before,.scalar-app :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@container references-container (width<=900px){.references-container>*{--schema-gutter:10px;--schema-glyph-size:16px;--schema-glyph-half:8px;--schema-glyph-icon:14px}}@media print{.scalar-app{--full-height:100%!important;--refs-header-height:0px!important;--refs-viewport-offset:0px!important;--refs-sidebar-width:0px!important}.references-layout{min-height:0!important;display:block!important}.t-doc__sidebar,.t-doc__header,.references-footer,.section-flare,.agent-scalar,.agent-scalar-overlay{display:none!important}.scalar-app .sticky,.scalar-app .examples,.scalar-app .operation-example-card,.scalar-app .endpoints-card,.scalar-app .channels-card,.scalar-app .sticky-cards{z-index:auto!important;position:static!important;top:auto!important}.scalar-app .examples>*,.scalar-app .operation-example-card{max-height:none!important}.scalar-app .endpoints,.scalar-app .channels,.scalar-app .scalar-card-content{overflow:visible!important}.scalar-app .property,.scalar-app .parameter-item,.scalar-app .scalar-card{break-inside:avoid}.scalar-app h1,.scalar-app h2,.scalar-app h3{break-after:avoid}}.scalar-app .\\@container{container-type:inline-size}.scalar-app .pointer-events-auto{pointer-events:auto}.scalar-app .pointer-events-none{pointer-events:none}.scalar-app .collapse{visibility:collapse}.scalar-app .invisible{visibility:hidden}.scalar-app .visible{visibility:visible}.scalar-app .rail-hit{cursor:pointer;inline-size:11px;position:absolute;inset-block:0;inset-inline-start:calc(-1 * var(--scalar-border-width) - 5px)}.scalar-app .floating-bg:before{background-color:var(--scalar-background-2);border-radius:var(--scalar-radius);content:"";opacity:0;z-index:1;width:calc(100% + 8px);height:calc(100% - 4px);transition:opacity .2s ease-in-out;position:absolute;top:2.5px;left:-4px}.scalar-app .floating-bg:hover:before{opacity:1}.scalar-app .centered{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y);position:absolute;top:50%;left:50%}.scalar-app .centered-y{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y);position:absolute;top:50%}.scalar-app .sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.scalar-app .screenreader-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.scalar-app .absolute{position:absolute}.scalar-app .fixed{position:fixed}.scalar-app .relative{position:relative}.scalar-app .static{position:static}.scalar-app .sticky{position:sticky}.scalar-app .inset-0{inset:0}.scalar-app .inset-x-0{inset-inline:0}.scalar-app .inset-x-1{inset-inline:4px}.scalar-app .-inset-y-0\\.5{inset-block:-2px}.scalar-app .-inset-y-0\\.75{inset-block:-3px}.scalar-app .inset-y-0{inset-block:0}.scalar-app .inset-y-0\\.5{inset-block:2px}.scalar-app .start-3{inset-inline-start:12px}.scalar-app .start-\\[calc\\(0px_-_var\\(--schema-glyph-half\\,9px\\)_-_var\\(--schema-gutter\\,16px\\)\\)\\]{inset-inline-start:calc(0px - var(--schema-glyph-half,9px) - var(--schema-gutter,16px))}.scalar-app .start-\\[calc\\(0px_-_var\\(--schema-gutter\\,16px\\)_-_var\\(--schema-toggle-half\\,12px\\)\\)\\]{inset-inline-start:calc(0px - var(--schema-gutter,16px) - var(--schema-toggle-half,12px))}.scalar-app .start-\\[calc\\(0px_-_var\\(--schema-toggle-half\\,12px\\)_-_var\\(--schema-gutter\\,16px\\)\\)\\]{inset-inline-start:calc(0px - var(--schema-toggle-half,12px) - var(--schema-gutter,16px))}.scalar-app .-end-\\[30px\\]{inset-inline-end:-30px}.scalar-app .end-1{inset-inline-end:4px}.scalar-app .end-3{inset-inline-end:12px}.scalar-app .-top-1{top:-4px}.scalar-app .top-\\(--nested-items-offset\\)\\!{top:var(--nested-items-offset)!important}.scalar-app .top-\\(--refs-header-height\\){top:var(--refs-header-height)}.scalar-app .top-\\(--scalar-custom-header-height\\,0\\){top:var(--scalar-custom-header-height,0)}.scalar-app .top-\\(--scalar-sidebar-sticky-offset\\,0\\){top:var(--scalar-sidebar-sticky-offset,0)}.scalar-app .top-0{top:0}.scalar-app .top-0\\.5{top:2px}.scalar-app .top-1{top:4px}.scalar-app .top-1\\.5{top:6px}.scalar-app .top-1\\/2{top:50%}.scalar-app .top-2{top:8px}.scalar-app .top-2\\.5{top:10px}.scalar-app .top-3{top:12px}.scalar-app .top-12{top:48px}.scalar-app .top-\\[0\\.5lh\\]{top:.5lh}.scalar-app .top-\\[1lh\\]{top:1lh}.scalar-app .top-\\[calc\\(6px_\\+_0\\.5lh\\)\\]{top:calc(6px + .5lh)}.scalar-app .top-\\[calc\\(10px\\+0\\.5lh\\)\\]{top:calc(10px + .5lh)}.scalar-app .top-\\[calc\\(100\\%\\+4px\\)\\]{top:calc(100% + 4px)}.scalar-app .top-\\[calc\\(var\\(--refs-viewport-offset\\)\\+24px\\)\\]{top:calc(var(--refs-viewport-offset) + 24px)}.scalar-app .top-px{top:1px}.scalar-app .-right-1{right:-4px}.scalar-app .-right-1\\.5{right:-6px}.scalar-app .right-0{right:0}.scalar-app .right-0\\.75{right:3px}.scalar-app .right-1{right:4px}.scalar-app .right-1\\.5{right:6px}.scalar-app .right-1\\.75{right:7px}.scalar-app .right-2{right:8px}.scalar-app .right-2\\.5{right:10px}.scalar-app .right-4{right:16px}.scalar-app .right-7{right:28px}.scalar-app .right-12{right:48px}.scalar-app .right-18{right:72px}.scalar-app .bottom-0{bottom:0}.scalar-app .bottom-1{bottom:4px}.scalar-app .bottom-4{bottom:16px}.scalar-app .bottom-5{bottom:20px}.scalar-app .bottom-\\[var\\(--scalar-border-width\\)\\]{bottom:var(--scalar-border-width)}.scalar-app .-left-6{left:-24px}.scalar-app .left-0{left:0}.scalar-app .left-1\\.75{left:7px}.scalar-app .left-1\\/2{left:50%}.scalar-app .left-2{left:8px}.scalar-app .left-3{left:12px}.scalar-app .left-4{left:16px}.scalar-app .left-\\[calc\\(50\\%-66px\\)\\]{left:calc(50% - 66px)}.scalar-app .left-border{left:var(--scalar-border-width)}.scalar-app .left-px{left:1px}.scalar-app .left-refs-w-sidebar{left:var(--refs-sidebar-width)}.scalar-app .-z-1{z-index:calc(1 * -1)}.scalar-app .-z-2{z-index:calc(2 * -1)}.scalar-app .z-0{z-index:0}.scalar-app .z-1{z-index:1}.scalar-app .z-10{z-index:10}.scalar-app .z-20{z-index:20}.scalar-app .z-50{z-index:50}.scalar-app .z-\\[1\\]{z-index:1}.scalar-app .z-\\[10001\\]{z-index:10001}.scalar-app .z-context{z-index:1000}.scalar-app .z-context-plus{z-index:1001}.scalar-app .z-overlay{z-index:10000}.scalar-app .z-tooltip{z-index:99999}.scalar-app .order-789{order:789}.scalar-app .order-last{order:9999}.scalar-app .col-span-full{grid-column:1/-1}.scalar-app .col-start-1{grid-column-start:1}.scalar-app .row-start-1{grid-row-start:1}.scalar-app .container{width:100%}@media (width>=400px){.scalar-app .container{max-width:400px}}@media (width>=600px){.scalar-app .container{max-width:600px}}@media (width>=800px){.scalar-app .container{max-width:800px}}@media (width>=1000px){.scalar-app .container{max-width:1000px}}@media (width>=1200px){.scalar-app .container{max-width:1200px}}@media (width>=96rem){.scalar-app .container{max-width:96rem}}.scalar-app .\\!m-0{margin:0!important}.scalar-app .-m-0\\.5{margin:-2px}.scalar-app .-m-1{margin:-4px}.scalar-app .-m-2{margin:-8px}.scalar-app .-m-px{margin:-1px}.scalar-app .m-0{margin:0}.scalar-app .m-1{margin:4px}.scalar-app .m-auto{margin:auto}.scalar-app .-mx-\\(--scalar-sidebar-padding\\){margin-inline:calc(var(--scalar-sidebar-padding) * -1)}.scalar-app .-mx-0\\.75{margin-inline:-3px}.scalar-app .-mx-2{margin-inline:-8px}.scalar-app .-mx-3{margin-inline:-12px}.scalar-app .-mx-px{margin-inline:-1px}.scalar-app .mx-0\\.5{margin-inline:2px}.scalar-app .mx-1{margin-inline:4px}.scalar-app .mx-1\\.5{margin-inline:6px}.scalar-app .mx-2{margin-inline:8px}.scalar-app .mx-8{margin-inline:32px}.scalar-app .mx-auto{margin-inline:auto}.scalar-app .mx-px{margin-inline:1px}.scalar-app .-my-0\\.5{margin-block:-2px}.scalar-app .-my-1{margin-block:-4px}.scalar-app .-my-1\\.5{margin-block:-6px}.scalar-app .-my-1\\.25{margin-block:-5px}.scalar-app .-my-2{margin-block:-8px}.scalar-app .-my-2\\.5{margin-block:-10px}.scalar-app .-my-px{margin-block:-1px}.scalar-app .my-0\\.75{margin-block:3px}.scalar-app .my-1\\.5{margin-block:6px}.scalar-app .my-2{margin-block:8px}.scalar-app .my-12{margin-block:48px}.scalar-app .ms-1\\.25\\!{margin-inline-start:5px!important}.scalar-app .ms-auto{margin-inline-start:auto}.scalar-app .-me-1\\.25\\!{margin-inline-end:-5px!important}.scalar-app .me-1\\.5{margin-inline-end:6px}.scalar-app .-mt-\\(--scalar-sidebar-padding\\){margin-top:calc(var(--scalar-sidebar-padding) * -1)}.scalar-app .-mt-1{margin-top:-4px}.scalar-app .-mt-1\\.5{margin-top:-6px}.scalar-app .-mt-\\[\\.5px\\]{margin-top:-.5px}.scalar-app .mt-0{margin-top:0}.scalar-app .mt-0\\!{margin-top:0!important}.scalar-app .mt-0\\.5{margin-top:2px}.scalar-app .mt-0\\.25{margin-top:1px}.scalar-app .mt-1{margin-top:4px}.scalar-app .mt-1\\!{margin-top:4px!important}.scalar-app .mt-1\\.5{margin-top:6px}.scalar-app .mt-2{margin-top:8px}.scalar-app .mt-3{margin-top:12px}.scalar-app .mt-4{margin-top:16px}.scalar-app .mt-5{margin-top:20px}.scalar-app .mt-6{margin-top:24px}.scalar-app .mt-8{margin-top:32px}.scalar-app .mt-12{margin-top:48px}.scalar-app .mt-\\[15svh\\]{margin-top:15svh}.scalar-app .mt-\\[20svh\\]{margin-top:20svh}.scalar-app .mt-auto{margin-top:auto}.scalar-app .mt-px{margin-top:1px}.scalar-app .-mr-0\\.5{margin-right:-2px}.scalar-app .-mr-1{margin-right:-4px}.scalar-app .-mr-1\\.5{margin-right:-6px}.scalar-app .-mr-px{margin-right:-1px}.scalar-app .mr-0{margin-right:0}.scalar-app .mr-0\\!{margin-right:0!important}.scalar-app .mr-0\\.5{margin-right:2px}.scalar-app .mr-0\\.75{margin-right:3px}.scalar-app .mr-1{margin-right:4px}.scalar-app .mr-1\\.5{margin-right:6px}.scalar-app .mr-1\\.25{margin-right:5px}.scalar-app .mr-2{margin-right:8px}.scalar-app .mr-3{margin-right:12px}.scalar-app .mr-\\[calc\\(20px-var\\(--scalar-sidebar-indent\\)\\)\\]{margin-right:calc(20px - var(--scalar-sidebar-indent))}.scalar-app .mr-auto{margin-right:auto}.scalar-app .-mb-1{margin-bottom:-4px}.scalar-app .-mb-\\[var\\(--scalar-border-width\\)\\]{margin-bottom:calc(var(--scalar-border-width) * -1)}.scalar-app .-mb-px{margin-bottom:-1px}.scalar-app .mb-0{margin-bottom:0}.scalar-app .mb-0\\.5{margin-bottom:2px}.scalar-app .mb-0\\.75{margin-bottom:3px}.scalar-app .mb-1{margin-bottom:4px}.scalar-app .mb-1\\.5{margin-bottom:6px}.scalar-app .mb-2{margin-bottom:8px}.scalar-app .mb-3{margin-bottom:12px}.scalar-app .mb-4{margin-bottom:16px}.scalar-app .-ml-0\\.5{margin-left:-2px}.scalar-app .-ml-0\\.25{margin-left:-1px}.scalar-app .-ml-0\\.75{margin-left:-3px}.scalar-app .-ml-1\\.5{margin-left:-6px}.scalar-app .ml-1{margin-left:4px}.scalar-app .ml-2{margin-left:8px}.scalar-app .ml-auto{margin-left:auto}.scalar-app .box-border{box-sizing:border-box}.scalar-app .box-content{box-sizing:content-box}.scalar-app .schema-glyph{inline-size:var(--schema-glyph-size,18px);block-size:var(--schema-glyph-size,18px);border:var(--scalar-border-width) solid transparent;background:var(--schema-glyph-background,var(--scalar-background-1));color:var(--schema-glyph-color,var(--scalar-color-2));border-radius:9999px;place-items:center;display:grid}.scalar-app .flex-center{justify-content:center;align-items:center;display:flex}.scalar-app .line-clamp-\\(--markdown-clamp\\){-webkit-line-clamp:var(--markdown-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .\\!block{display:block!important}.scalar-app .\\!hidden{display:none!important}.scalar-app .\\!inline{display:inline!important}.scalar-app .block{display:block}.scalar-app .block\\!{display:block!important}.scalar-app .contents{display:contents}.scalar-app .flex{display:flex}.scalar-app .flex\\!{display:flex!important}.scalar-app .grid{display:grid}.scalar-app .grid\\!{display:grid!important}.scalar-app .hidden{display:none}.scalar-app .inline{display:inline}.scalar-app .inline-block{display:inline-block}.scalar-app .inline-flex{display:inline-flex}.scalar-app .table{display:table}.scalar-app .field-sizing-content{field-sizing:content}.scalar-app .aspect-\\[4\\/3\\]{aspect-ratio:4/3}.scalar-app .aspect-square{aspect-ratio:1}.scalar-app .size-1\\.5{width:6px;height:6px}.scalar-app .size-2\\.5{width:10px;height:10px}.scalar-app .size-2\\.75{width:11px;height:11px}.scalar-app .size-3{width:12px;height:12px}.scalar-app .size-3\\.5{width:14px;height:14px}.scalar-app .size-3\\/4{width:75%;height:75%}.scalar-app .size-4{width:16px;height:16px}.scalar-app .size-4\\.5{width:18px;height:18px}.scalar-app .size-5{width:20px;height:20px}.scalar-app .size-6{width:24px;height:24px}.scalar-app .size-8{width:32px;height:32px}.scalar-app .size-10{width:40px;height:40px}.scalar-app .size-\\[23px\\]{width:23px;height:23px}.scalar-app .size-\\[var\\(--schema-toggle-size\\,24px\\)\\]{width:var(--schema-toggle-size,24px);height:var(--schema-toggle-size,24px)}.scalar-app .size-full{width:100%;height:100%}.scalar-app .h-\\(--refs-sidebar-height\\){height:var(--refs-sidebar-height)}.scalar-app .h-\\(--scalar-address-bar-height\\){height:var(--scalar-address-bar-height)}.scalar-app .h-\\(--scalar-header-height\\){height:var(--scalar-header-height)}.scalar-app .h-0{height:0}.scalar-app .h-1{height:4px}.scalar-app .h-1\\.5{height:6px}.scalar-app .h-2{height:8px}.scalar-app .h-2\\.5{height:10px}.scalar-app .h-2\\.25{height:9px}.scalar-app .h-3{height:12px}.scalar-app .h-3\\.5{height:14px}.scalar-app .h-4{height:16px}.scalar-app .h-4\\.5{height:18px}.scalar-app .h-5{height:20px}.scalar-app .h-6{height:24px}.scalar-app .h-7{height:28px}.scalar-app .h-8{height:32px}.scalar-app .h-9{height:36px}.scalar-app .h-10{height:40px}.scalar-app .h-20{height:80px}.scalar-app .h-28{height:112px}.scalar-app .h-\\[31px\\]{height:31px}.scalar-app .h-\\[200px\\]{height:200px}.scalar-app .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-app .h-auto{height:auto}.scalar-app .h-auto\\!{height:auto!important}.scalar-app .h-border{height:var(--scalar-border-width)}.scalar-app .h-dvh{height:100dvh}.scalar-app .h-fit{height:fit-content}.scalar-app .h-full{height:100%}.scalar-app .h-lh{height:1lh}.scalar-app .h-min{height:min-content}.scalar-app .h-px{height:1px}.scalar-app .\\!max-h-\\[initial\\]{max-height:initial!important}.scalar-app .max-h-8{max-height:32px}.scalar-app .max-h-40{max-height:160px}.scalar-app .max-h-80{max-height:320px}.scalar-app .max-h-\\[60svh\\]{max-height:60svh}.scalar-app .max-h-\\[60vh\\]{max-height:60vh}.scalar-app .max-h-\\[80svh\\]{max-height:80svh}.scalar-app .max-h-\\[90svh\\]{max-height:90svh}.scalar-app .max-h-\\[auto\\]{max-height:auto}.scalar-app .max-h-\\[calc\\(100\\%-32px\\)\\]{max-height:calc(100% - 32px)}.scalar-app .max-h-\\[inherit\\]{max-height:inherit}.scalar-app .max-h-\\[min\\(32rem\\,80dvh\\)\\]{max-height:min(32rem,80dvh)}.scalar-app .max-h-dvh{max-height:100dvh}.scalar-app .max-h-fit{max-height:fit-content}.scalar-app .max-h-radix-popper{max-height:calc(var(--radix-popper-available-height) - 8px)}.scalar-app .max-h-screen{max-height:100vh}.scalar-app .min-h-0{min-height:0}.scalar-app .min-h-3{min-height:12px}.scalar-app .min-h-5{min-height:20px}.scalar-app .min-h-7{min-height:28px}.scalar-app .min-h-8{min-height:32px}.scalar-app .min-h-10{min-height:40px}.scalar-app .min-h-11{min-height:44px}.scalar-app .min-h-16{min-height:64px}.scalar-app .min-h-20{min-height:80px}.scalar-app .min-h-\\[64px\\]{min-height:64px}.scalar-app .min-h-\\[640px\\]{min-height:640px}.scalar-app .min-h-\\[calc\\(4rem\\+0\\.5px\\)\\]{min-height:calc(4rem + .5px)}.scalar-app .min-h-fit{min-height:fit-content}.scalar-app .min-h-header{min-height:48px}.scalar-app .\\!w-fit{width:fit-content!important}.scalar-app .w-\\(--refs-sidebar-width\\){width:var(--refs-sidebar-width)}.scalar-app .w-0\\.5{width:2px}.scalar-app .w-1\\.5{width:6px}.scalar-app .w-1\\/2{width:50%}.scalar-app .w-2\\.5{width:10px}.scalar-app .w-2\\.25{width:9px}.scalar-app .w-2\\/3{width:66.6667%}.scalar-app .w-3{width:12px}.scalar-app .w-3\\/4{width:75%}.scalar-app .w-3\\/5{width:60%}.scalar-app .w-4{width:16px}.scalar-app .w-4\\/5{width:80%}.scalar-app .w-5{width:20px}.scalar-app .w-6{width:24px}.scalar-app .w-7{width:28px}.scalar-app .w-8{width:32px}.scalar-app .w-11\\/12{width:91.6667%}.scalar-app .w-12{width:48px}.scalar-app .w-14{width:56px}.scalar-app .w-16{width:64px}.scalar-app .w-24{width:96px}.scalar-app .w-28{width:112px}.scalar-app .w-36{width:144px}.scalar-app .w-40{width:160px}.scalar-app .w-56{width:224px}.scalar-app .w-64{width:256px}.scalar-app .w-72{width:288px}.scalar-app .w-80{width:320px}.scalar-app .w-120{width:480px}.scalar-app .w-\\[38px\\]{width:38px}.scalar-app .w-\\[50px\\]{width:50px}.scalar-app .w-\\[52px\\]{width:52px}.scalar-app .w-\\[56px\\]{width:56px}.scalar-app .w-\\[92px\\]{width:92px}.scalar-app .w-\\[104px\\]{width:104px}.scalar-app .w-\\[120px\\]{width:120px}.scalar-app .w-\\[132px\\]{width:132px}.scalar-app .w-\\[calc\\(100vw-12px\\)\\]{width:calc(100vw - 12px)}.scalar-app .w-\\[var\\(--scalar-sidebar-indent\\)\\]{width:var(--scalar-sidebar-indent)}.scalar-app .w-auto{width:auto}.scalar-app .w-border{width:var(--scalar-border-width)}.scalar-app .w-content{width:720px}.scalar-app .w-dvw{width:100dvw}.scalar-app .w-fit{width:fit-content}.scalar-app .w-full{width:100%}.scalar-app .w-full\\!{width:100%!important}.scalar-app .w-max{width:max-content}.scalar-app .w-px{width:1px}.scalar-app .max-w-\\(--refs-content-max-width\\){max-width:var(--refs-content-max-width)}.scalar-app .max-w-3xl{max-width:768px}.scalar-app .max-w-64{max-width:256px}.scalar-app .max-w-\\[9rem\\]{max-width:9rem}.scalar-app .max-w-\\[100\\%\\]{max-width:100%}.scalar-app .max-w-\\[160px\\]{max-width:160px}.scalar-app .max-w-\\[220px\\]{max-width:220px}.scalar-app .max-w-\\[360px\\]{max-width:360px}.scalar-app .max-w-\\[480px\\]{max-width:480px}.scalar-app .max-w-\\[540px\\]{max-width:540px}.scalar-app .max-w-\\[640px\\]{max-width:640px}.scalar-app .max-w-\\[800px\\]{max-width:800px}.scalar-app .max-w-\\[1000px\\]{max-width:1000px}.scalar-app .max-w-\\[calc\\(100vw-2rem\\)\\]{max-width:calc(100vw - 2rem)}.scalar-app .max-w-\\[inherit\\]{max-width:inherit}.scalar-app .max-w-\\[var\\(--refs-content-max-width\\)\\]{max-width:var(--refs-content-max-width)}.scalar-app .max-w-full{max-width:100%}.scalar-app .max-w-max{max-width:max-content}.scalar-app .max-w-screen-padded-4{max-width:calc(100vw - 32px)}.scalar-app .max-w-xs{max-width:320px}.scalar-app .min-w-0{min-width:0}.scalar-app .min-w-2\\.25{min-width:9px}.scalar-app .min-w-3{min-width:12px}.scalar-app .min-w-4{min-width:16px}.scalar-app .min-w-4\\.5{min-width:18px}.scalar-app .min-w-6{min-width:24px}.scalar-app .min-w-7{min-width:28px}.scalar-app .min-w-8{min-width:32px}.scalar-app .min-w-32{min-width:128px}.scalar-app .min-w-40{min-width:160px}.scalar-app .min-w-\\[4\\.5rem\\]{min-width:4.5rem}.scalar-app .min-w-fit{min-width:fit-content}.scalar-app .min-w-full{min-width:100%}.scalar-app .flex-1{flex:1}.scalar-app .flex-auto{flex:auto}.scalar-app .flex-shrink,.scalar-app .shrink{flex-shrink:1}.scalar-app .shrink-0{flex-shrink:0}.scalar-app .flex-grow,.scalar-app .grow{flex-grow:1}.scalar-app .grow-3{flex-grow:3}.scalar-app .basis-0{flex-basis:0}.scalar-app .origin-bottom{transform-origin:bottom}.scalar-app .-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-1\\.25{--tw-translate-x:calc(4px * 1.25);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-2\\.5{--tw-translate-x:calc(4px * 2.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-\\[14px\\]{--tw-translate-x:14px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .-translate-y-1\\.5{--tw-translate-y:calc(4px * -1.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-0\\.5{--tw-translate-y:calc(4px * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-1{--tw-translate-y:4px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-1\\.5{--tw-translate-y:calc(4px * 1.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-\\[200\\%\\]{--tw-translate-y:200%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scalar-app .scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scalar-app .rotate-90{rotate:90deg}.scalar-app .rotate-180{rotate:180deg}.scalar-app .transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.scalar-app .animate-pulse{animation:var(--animate-pulse)}.scalar-app .cursor-auto{cursor:auto}.scalar-app .cursor-default{cursor:default}.scalar-app .cursor-help{cursor:help}.scalar-app .cursor-not-allowed{cursor:not-allowed}.scalar-app .cursor-pointer{cursor:pointer}.scalar-app .cursor-text{cursor:text}.scalar-app .resize{resize:both}.scalar-app .resize-none{resize:none}.scalar-app .scroll-mt-16{scroll-margin-top:64px}.scalar-app .scroll-mt-24{scroll-margin-top:96px}.scalar-app .list-none{list-style-type:none}.scalar-app .appearance-none{appearance:none}.scalar-app .grid-flow-col{grid-auto-flow:column}.scalar-app .auto-rows-auto{grid-auto-rows:auto}.scalar-app .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.scalar-app .grid-cols-\\[44px_1fr_repeat\\(3\\,auto\\)\\]{grid-template-columns:44px 1fr repeat(3,auto)}.scalar-app .grid-cols-\\[minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,1fr)}.scalar-app .flex-col{flex-direction:column}.scalar-app .flex-row{flex-direction:row}.scalar-app .flex-nowrap{flex-wrap:nowrap}.scalar-app .flex-wrap{flex-wrap:wrap}.scalar-app .content-center{align-content:center}.scalar-app .content-end{align-content:flex-end}.scalar-app .content-start{align-content:flex-start}.scalar-app .items-baseline{align-items:baseline}.scalar-app .items-center{align-items:center}.scalar-app .items-end{align-items:flex-end}.scalar-app .items-start{align-items:flex-start}.scalar-app .items-stretch{align-items:stretch}.scalar-app .justify-between{justify-content:space-between}.scalar-app .justify-center{justify-content:center}.scalar-app .justify-end{justify-content:flex-end}.scalar-app .justify-start{justify-content:flex-start}.scalar-app .justify-stretch{justify-content:stretch}.scalar-app .gap-0\\!{gap:0!important}.scalar-app .gap-0\\.5{gap:2px}.scalar-app .gap-0\\.75{gap:3px}.scalar-app .gap-1{gap:4px}.scalar-app .gap-1\\.5{gap:6px}.scalar-app .gap-1\\.75{gap:7px}.scalar-app .gap-2{gap:8px}.scalar-app .gap-2\\.5{gap:10px}.scalar-app .gap-2\\.25{gap:9px}.scalar-app .gap-3{gap:12px}.scalar-app .gap-4{gap:16px}.scalar-app .gap-5{gap:20px}.scalar-app .gap-6{gap:24px}.scalar-app .gap-7{gap:28px}.scalar-app .gap-10{gap:40px}.scalar-app .gap-12{gap:48px}.scalar-app .gap-\\[1\\.5px\\]{gap:1.5px}.scalar-app .gap-\\[9px\\]{gap:9px}.scalar-app .gap-px{gap:1px}:where(.scalar-app .space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(4px * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(4px * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.scalar-app .space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(4px * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(4px * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.scalar-app .space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(4px * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(4px * 4) * calc(1 - var(--tw-space-y-reverse)))}.scalar-app .gap-x-2{column-gap:8px}.scalar-app .gap-x-2\\.5{column-gap:10px}.scalar-app .gap-x-\\[9px\\]{column-gap:9px}:where(.scalar-app .space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(4px * var(--tw-space-x-reverse));margin-inline-end:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.scalar-app .gap-y-1{row-gap:4px}:where(.scalar-app .divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse));border-bottom-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)))}.scalar-app .self-center{align-self:center}.scalar-app .self-end{align-self:flex-end}.scalar-app .self-start{align-self:flex-start}.scalar-app .truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scalar-app .overflow-auto{overflow:auto}.scalar-app .overflow-hidden{overflow:hidden}.scalar-app .overflow-visible{overflow:visible}.scalar-app .overflow-x-auto{overflow-x:auto}.scalar-app .overflow-x-hidden{overflow-x:hidden}.scalar-app .overflow-y-auto{overflow-y:auto}.scalar-app .overflow-y-hidden{overflow-y:hidden}.scalar-app .overflow-y-scroll{overflow-y:scroll}.scalar-app .overscroll-contain{overscroll-behavior:contain}.scalar-app .\\!rounded-none{border-radius:0!important}.scalar-app .rounded{border-radius:var(--scalar-radius-md)}.scalar-app .rounded-\\(--scalar-radius-lg\\){border-radius:var(--scalar-radius-lg)}.scalar-app .rounded-2xl{border-radius:var(--scalar-radius-2xl)}.scalar-app .rounded-3xl{border-radius:var(--scalar-radius-3xl)}.scalar-app .rounded-\\[999px\\]{border-radius:999px}.scalar-app .rounded-\\[inherit\\]{border-radius:inherit}.scalar-app .rounded-full{border-radius:var(--scalar-radius-full)}.scalar-app .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .rounded-md{border-radius:var(--scalar-radius-md)}.scalar-app .rounded-none{border-radius:0}.scalar-app .rounded-none\\!{border-radius:0!important}.scalar-app .rounded-px{border-radius:1px}.scalar-app .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-app .rounded-t{border-top-left-radius:var(--scalar-radius-md);border-top-right-radius:var(--scalar-radius-md)}.scalar-app .rounded-t-lg{border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg)}.scalar-app .rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .rounded-t-xl{border-top-left-radius:var(--scalar-radius-xl);border-top-right-radius:var(--scalar-radius-xl)}.scalar-app .\\!rounded-b-xl{border-bottom-right-radius:var(--scalar-radius-xl)!important;border-bottom-left-radius:var(--scalar-radius-xl)!important}.scalar-app .rounded-b{border-bottom-right-radius:var(--scalar-radius-md);border-bottom-left-radius:var(--scalar-radius-md)}.scalar-app .rounded-b-lg{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-app .rounded-b-xl{border-bottom-right-radius:var(--scalar-radius-xl);border-bottom-left-radius:var(--scalar-radius-xl)}.scalar-app .border{border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}.scalar-app .border-0{border-style:var(--tw-border-style);border-width:0}.scalar-app .border-0\\!{border-style:var(--tw-border-style)!important;border-width:0!important}.scalar-app .border-1,.scalar-app .border-\\[1px\\]{border-style:var(--tw-border-style);border-width:1px}.scalar-app .border-x{border-inline-style:var(--tw-border-style);border-inline-width:var(--scalar-border-width)}.scalar-app .border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.scalar-app .border-y{border-block-style:var(--tw-border-style);border-block-width:var(--scalar-border-width)}.scalar-app .border-t{border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}.scalar-app .border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.scalar-app .border-t-0\\!{border-top-style:var(--tw-border-style)!important;border-top-width:0!important}.scalar-app .\\!border-r{border-right-style:var(--tw-border-style)!important;border-right-width:var(--scalar-border-width)!important}.scalar-app .border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.scalar-app .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--scalar-border-width)}.scalar-app .border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .border-b-0\\!{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:0!important}.scalar-app .border-l{border-left-style:var(--tw-border-style);border-left-width:var(--scalar-border-width)}.scalar-app .border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.scalar-app .border-dashed{--tw-border-style:dashed;border-style:dashed}.scalar-app .border-none{--tw-border-style:none;border-style:none}.scalar-app .\\!border-current{border-color:currentColor!important}.scalar-app .border-\\(--scalar-background-3\\){border-color:var(--scalar-background-3)}.scalar-app .border-border{border-color:var(--scalar-border-color)}.scalar-app .border-border-header{border-color:var(--scalar-header-border-color,var(--scalar-border-color))}.scalar-app .border-c-accent,.scalar-app .border-c-accent\\/30{border-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .border-c-accent\\/30{border-color:color-mix(in oklab, var(--scalar-color-accent) 30%, transparent)}}.scalar-app .border-c-alert{border-color:var(--scalar-color-alert)}.scalar-app .border-c-danger{border-color:var(--scalar-color-danger)}.scalar-app .border-sidebar-border{border-color:var(--scalar-sidebar-border-color,var(--scalar-border-color))}.scalar-app .border-sidebar-border-search{border-color:var(--scalar-sidebar-search-border-color,var(--scalar-border-color))}.scalar-app .border-transparent{border-color:#0000}.scalar-app .border-r-transparent{border-right-color:#0000}.scalar-app .border-b-sidebar-border{border-bottom-color:var(--scalar-sidebar-border-color,var(--scalar-border-color))}.scalar-app .\\!bg-b-3{background-color:var(--scalar-background-3)!important}.scalar-app .bg-\\(--bg-light\\){background-color:var(--bg-light)}.scalar-app .bg-b-1,.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-b-1\\.5{background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .bg-b-1\\/70{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-b-1\\/70{background-color:color-mix(in oklab, var(--scalar-background-1) 70%, transparent)}}.scalar-app .bg-b-2{background-color:var(--scalar-background-2)}.scalar-app .bg-b-3{background-color:var(--scalar-background-3)}.scalar-app .bg-b-alert{background-color:var(--scalar-background-alert)}.scalar-app .bg-b-btn{background-color:var(--scalar-button-1)}.scalar-app .bg-b-danger{background-color:var(--scalar-background-danger)}.scalar-app .bg-b-header-1{background-color:var(--scalar-header-background-1,var(--scalar-background-1))}.scalar-app .bg-b-header-cta{background-color:var(--scalar-header-call-to-action-color,var(--scalar-button-1))}.scalar-app .bg-b-tooltip{background-color:var(--scalar-tooltip-background)}.scalar-app .bg-backdrop{background-color:#00000038}.scalar-app .bg-border{background-color:var(--scalar-border-color)}.scalar-app .bg-c-accent,.scalar-app .bg-c-accent\\/5{background-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-c-accent\\/5{background-color:color-mix(in oklab, var(--scalar-color-accent) 5%, transparent)}}.scalar-app .bg-c-accent\\/10{background-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-c-accent\\/10{background-color:color-mix(in oklab, var(--scalar-color-accent) 10%, transparent)}}.scalar-app .bg-c-danger{background-color:var(--scalar-color-danger)}.scalar-app .bg-current{background-color:currentColor}.scalar-app .bg-green{background-color:var(--scalar-color-green)}.scalar-app .bg-inherit{background-color:inherit}.scalar-app .bg-query\\/10{background-color:var(--scalar-color-query)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-query\\/10{background-color:color-mix(in oklab, var(--scalar-color-query) 10%, transparent)}}.scalar-app .bg-sidebar-b-1{background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .bg-sidebar-b-active{background-color:var(--scalar-sidebar-item-active-background,var(--scalar-background-2))}.scalar-app .bg-sidebar-b-search{background-color:var(--scalar-sidebar-search-background,var(--scalar-background-2))}.scalar-app .bg-sidebar-c-2\\/15{background-color:var(--scalar-sidebar-color-2,var(--scalar-color-2))}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-sidebar-c-2\\/15{background-color:color-mix(in oklab, var(--scalar-sidebar-color-2,var(--scalar-color-2)) 15%, transparent)}}.scalar-app .bg-sidebar-indent-border{background-color:var(--scalar-sidebar-indent-border,var(--scalar-border-color))}.scalar-app .bg-sidebar-indent-border-active{background-color:var(--scalar-sidebar-indent-border-active,var(--scalar-color-accent))}.scalar-app .bg-transparent{background-color:#0000}.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.scalar-app .bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .bg-linear-to-l{--tw-gradient-position:to left}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .bg-linear-to-l{--tw-gradient-position:to left in oklab}}.scalar-app .bg-linear-to-l{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .from-b-1{--tw-gradient-from:var(--scalar-background-1);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.scalar-app .from-40\\%{--tw-gradient-from-position:40%}.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .to-b-1\\.5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.scalar-app .to-b-2{--tw-gradient-to:var(--scalar-background-2);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.scalar-app .to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.scalar-app .mask-y-from-\\[calc\\(100\\%-8px\\)\\]{-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear:var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);--tw-mask-top:linear-gradient(to top, var(--tw-mask-top-from-color) var(--tw-mask-top-from-position), var(--tw-mask-top-to-color) var(--tw-mask-top-to-position));--tw-mask-top-from-position:calc(100% - 8px);--tw-mask-bottom:linear-gradient(to bottom, var(--tw-mask-bottom-from-color) var(--tw-mask-bottom-from-position), var(--tw-mask-bottom-to-color) var(--tw-mask-bottom-to-position));--tw-mask-bottom-from-position:calc(100% - 8px);-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.scalar-app .mask-y-to-100\\%{-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear:var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);--tw-mask-top:linear-gradient(to top, var(--tw-mask-top-from-color) var(--tw-mask-top-from-position), var(--tw-mask-top-to-color) var(--tw-mask-top-to-position));--tw-mask-top-to-position:100%;--tw-mask-bottom:linear-gradient(to bottom, var(--tw-mask-bottom-from-color) var(--tw-mask-bottom-from-position), var(--tw-mask-bottom-to-color) var(--tw-mask-bottom-to-position));--tw-mask-bottom-to-position:100%;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.scalar-app .box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.scalar-app .mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.scalar-app .fill-current{fill:currentColor}.scalar-app .\\!p-0{padding:0!important}.scalar-app .p-\\(--scalar-sidebar-padding\\){padding:var(--scalar-sidebar-padding)}.scalar-app .p-0{padding:0}.scalar-app .p-0\\!{padding:0!important}.scalar-app .p-0\\.5{padding:2px}.scalar-app .p-0\\.75{padding:3px}.scalar-app .p-1{padding:4px}.scalar-app .p-1\\.5{padding:6px}.scalar-app .p-1\\.25{padding:5px}.scalar-app .p-1\\.75{padding:7px}.scalar-app .p-2{padding:8px}.scalar-app .p-2\\.5{padding:10px}.scalar-app .p-3{padding:12px}.scalar-app .p-4{padding:16px}.scalar-app .p-7{padding:28px}.scalar-app .p-\\[3px\\]{padding:3px}.scalar-app .p-px{padding:1px}.scalar-app .px-\\(--scalar-sidebar-padding\\){padding-inline:var(--scalar-sidebar-padding)}.scalar-app .px-0{padding-inline:0}.scalar-app .px-0\\!{padding-inline:0!important}.scalar-app .px-0\\.5{padding-inline:2px}.scalar-app .px-0\\.75{padding-inline:3px}.scalar-app .px-1{padding-inline:4px}.scalar-app .px-1\\.5{padding-inline:6px}.scalar-app .px-1\\.25{padding-inline:5px}.scalar-app .px-2{padding-inline:8px}.scalar-app .px-2\\.5{padding-inline:10px}.scalar-app .px-3{padding-inline:12px}.scalar-app .px-3\\.5{padding-inline:14px}.scalar-app .px-4{padding-inline:16px}.scalar-app .px-5{padding-inline:20px}.scalar-app .px-6{padding-inline:24px}.scalar-app .px-8{padding-inline:32px}.scalar-app .px-12{padding-inline:48px}.scalar-app .px-15{padding-inline:60px}.scalar-app .py-0{padding-block:0}.scalar-app .py-0\\.5{padding-block:2px}.scalar-app .py-0\\.25{padding-block:1px}.scalar-app .py-0\\.75{padding-block:3px}.scalar-app .py-1{padding-block:4px}.scalar-app .py-1\\.5{padding-block:6px}.scalar-app .py-1\\.25{padding-block:5px}.scalar-app .py-1\\.75{padding-block:7px}.scalar-app .py-2{padding-block:8px}.scalar-app .py-2\\.5{padding-block:10px}.scalar-app .py-2\\.25{padding-block:9px}.scalar-app .py-3{padding-block:12px}.scalar-app .py-4{padding-block:16px}.scalar-app .py-5{padding-block:20px}.scalar-app .py-\\[6\\.75px\\]{padding-block:6.75px}.scalar-app .py-\\[7px\\]{padding-block:7px}.scalar-app .py-\\[var\\(--schema-row-pad\\,6px\\)\\]\\!{padding-block:var(--schema-row-pad,6px)!important}.scalar-app .py-px{padding-block:1px}.scalar-app .ps-8{padding-inline-start:32px}.scalar-app .ps-10{padding-inline-start:40px}.scalar-app .ps-\\[var\\(--schema-gutter\\,16px\\)\\]{padding-inline-start:var(--schema-gutter,16px)}.scalar-app .ps-\\[var\\(--schema-gutter\\,16px\\)\\]\\!{padding-inline-start:var(--schema-gutter,16px)!important}.scalar-app .pe-6{padding-inline-end:24px}.scalar-app .pt-\\(--scalar-sidebar-padding\\){padding-top:var(--scalar-sidebar-padding)}.scalar-app .pt-1{padding-top:4px}.scalar-app .pt-2{padding-top:8px}.scalar-app .pt-3{padding-top:12px}.scalar-app .pt-4{padding-top:16px}.scalar-app .pt-12{padding-top:48px}.scalar-app .pt-px{padding-top:1px}.scalar-app .pr-0{padding-right:0}.scalar-app .pr-0\\.75{padding-right:3px}.scalar-app .pr-1{padding-right:4px}.scalar-app .pr-1\\.5{padding-right:6px}.scalar-app .pr-1\\.75{padding-right:7px}.scalar-app .pr-2{padding-right:8px}.scalar-app .pr-2\\.5{padding-right:10px}.scalar-app .pr-2\\.25{padding-right:9px}.scalar-app .pr-6{padding-right:24px}.scalar-app .pr-7\\.25{padding-right:29px}.scalar-app .pr-8{padding-right:32px}.scalar-app .pr-10{padding-right:40px}.scalar-app .pr-12{padding-right:48px}.scalar-app .pr-20{padding-right:80px}.scalar-app .pr-\\[100\\%\\]{padding-right:100%}.scalar-app .pb-1{padding-bottom:4px}.scalar-app .pb-1\\.5{padding-bottom:6px}.scalar-app .pb-2{padding-bottom:8px}.scalar-app .pb-3{padding-bottom:12px}.scalar-app .pb-4{padding-bottom:16px}.scalar-app .pb-6{padding-bottom:24px}.scalar-app .pb-12{padding-bottom:48px}.scalar-app .\\!pl-3{padding-left:12px!important}.scalar-app .pl-1{padding-left:4px}.scalar-app .pl-1\\.25{padding-left:5px}.scalar-app .pl-2{padding-left:8px}.scalar-app .pl-3{padding-left:12px}.scalar-app .pl-4{padding-left:16px}.scalar-app .pl-7\\.25{padding-left:29px}.scalar-app .pl-8\\.5{padding-left:34px}.scalar-app .pl-\\[100\\%\\]{padding-left:100%}.scalar-app .pl-px{padding-left:1px}.scalar-app .text-center{text-align:center}.scalar-app .text-left{text-align:left}.scalar-app .text-right{text-align:right}.scalar-app .text-start{text-align:start}.scalar-app .align-middle{vertical-align:middle}.scalar-app .font-code{font-family:var(--scalar-font-code)}.scalar-app .font-sans{font-family:var(--scalar-font)}.scalar-app .text-base{font-size:var(--scalar-font-size-3);line-height:var(--tw-leading,calc(1 / .875))}.scalar-app .text-base\\/4{font-size:var(--scalar-font-size-3);line-height:16px}.scalar-app .text-base\\/5{font-size:var(--scalar-font-size-3);line-height:20px}.scalar-app .text-base\\/5\\.25{font-size:var(--scalar-font-size-3);line-height:21px}.scalar-app .text-lg{font-size:var(--scalar-font-size-2);line-height:var(--tw-leading,calc(1.25 / 1))}.scalar-app .text-sm\\/4{font-size:var(--scalar-font-size-4);line-height:16px}.scalar-app .text-sm\\/none{font-size:var(--scalar-font-size-4);line-height:1}.scalar-app .text-xl{font-size:var(--scalar-font-size-1);line-height:var(--tw-leading,calc(1 / .875))}.scalar-app .text-xs\\/4{font-size:var(--scalar-font-size-5);line-height:16px}.scalar-app .text-\\(length\\:--scalar-font-size-4\\){font-size:var(--scalar-font-size-4)}.scalar-app .text-\\(length\\:--scalar-micro\\){font-size:var(--scalar-micro)}.scalar-app .text-\\(length\\:--scalar-mini\\){font-size:var(--scalar-mini)}.scalar-app .text-\\(length\\:--scalar-small\\){font-size:var(--scalar-small)}.scalar-app .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-app .text-\\[6px\\]{font-size:6px}.scalar-app .text-\\[9px\\]{font-size:9px}.scalar-app .text-\\[10px\\]{font-size:10px}.scalar-app .text-\\[11px\\]{font-size:11px}.scalar-app .text-sm{font-size:var(--scalar-font-size-4)}.scalar-app .text-sm\\!{font-size:var(--scalar-font-size-4)!important}.scalar-app .text-xs{font-size:var(--scalar-font-size-5)}.scalar-app .text-xxs{font-size:var(--scalar-font-size-6)}.scalar-app .leading-\\(--scalar-line-height-5\\){--tw-leading:var(--scalar-line-height-5);line-height:var(--scalar-line-height-5)}.scalar-app .leading-5{--tw-leading:calc(4px * 5);line-height:20px}.scalar-app .leading-5\\.5{--tw-leading:calc(4px * 5.5);line-height:22px}.scalar-app .leading-6{--tw-leading:calc(4px * 6);line-height:24px}.scalar-app .leading-\\[1\\.15\\]{--tw-leading:1.15;line-height:1.15}.scalar-app .leading-\\[1\\.44\\]{--tw-leading:1.44;line-height:1.44}.scalar-app .leading-\\[1\\.45\\]{--tw-leading:1.45;line-height:1.45}.scalar-app .leading-\\[1\\.55\\]{--tw-leading:1.55;line-height:1.55}.scalar-app .leading-\\[1\\.625\\]{--tw-leading:1.625;line-height:1.625}.scalar-app .leading-\\[7px\\]{--tw-leading:7px;line-height:7px}.scalar-app .leading-\\[20px\\]{--tw-leading:20px;line-height:20px}.scalar-app .leading-\\[22px\\]{--tw-leading:22px;line-height:22px}.scalar-app .leading-\\[normal\\]{--tw-leading:normal;line-height:normal}.scalar-app .leading-none{--tw-leading:1;line-height:1}.scalar-app .leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.scalar-app .leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.scalar-app .leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.scalar-app .font-bold{--tw-font-weight:var(--scalar-bold);font-weight:var(--scalar-bold)}.scalar-app .font-bold\\!{--tw-font-weight:var(--scalar-bold)!important;font-weight:var(--scalar-bold)!important}.scalar-app .font-medium{--tw-font-weight:var(--scalar-semibold);font-weight:var(--scalar-semibold)}.scalar-app .font-normal{--tw-font-weight:var(--scalar-regular);font-weight:var(--scalar-regular)}.scalar-app .font-normal\\!{--tw-font-weight:var(--scalar-regular)!important;font-weight:var(--scalar-regular)!important}.scalar-app .font-sidebar{--tw-font-weight:var(--scalar-sidebar-font-weight,var(--scalar-regular));font-weight:var(--scalar-sidebar-font-weight,var(--scalar-regular))}.scalar-app .font-sidebar-active{--tw-font-weight:var(--scalar-sidebar-font-weight-active,var(--scalar-semibold));font-weight:var(--scalar-sidebar-font-weight-active,var(--scalar-semibold))}.scalar-app .\\[font-weight\\:var\\(--scalar-bold\\)\\]{font-weight:var(--scalar-bold)}.scalar-app .\\[font-weight\\:var\\(--scalar-semibold\\)\\]{font-weight:var(--scalar-semibold)}.scalar-app .tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.scalar-app .tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.scalar-app .text-balance{text-wrap:balance}.scalar-app .text-nowrap{text-wrap:nowrap}.scalar-app .text-pretty{text-wrap:pretty}.scalar-app .text-wrap{text-wrap:wrap}.scalar-app .\\[overflow-wrap\\:anywhere\\]{overflow-wrap:anywhere}.scalar-app .break-words{overflow-wrap:break-word}.scalar-app .wrap-anywhere{overflow-wrap:anywhere}.scalar-app .wrap-break-word{overflow-wrap:break-word}.scalar-app .break-all{word-break:break-all}.scalar-app .text-ellipsis{text-overflow:ellipsis}.scalar-app .whitespace-nowrap{white-space:nowrap}.scalar-app .whitespace-pre{white-space:pre}.scalar-app .whitespace-pre-wrap{white-space:pre-wrap}.scalar-app .\\!text-c-1{color:var(--scalar-color-1)!important}.scalar-app .text-\\[color\\:var\\(--scalar-color-3\\)\\]{color:var(--scalar-color-3)}.scalar-app .text-\\[color\\:var\\(--schema-glyph-color\\,var\\(--scalar-color-2\\)\\)\\]{color:var(--schema-glyph-color,var(--scalar-color-2))}.scalar-app .text-b-1{color:var(--scalar-background-1)}.scalar-app .text-b-2{color:var(--scalar-background-2)}.scalar-app .text-blue{color:var(--scalar-color-blue)}.scalar-app .text-c-1{color:var(--scalar-color-1)}.scalar-app .text-c-1\\!{color:var(--scalar-color-1)!important}.scalar-app .text-c-2{color:var(--scalar-color-2)}.scalar-app .text-c-3{color:var(--scalar-color-3)}.scalar-app .text-c-accent{color:var(--scalar-color-accent)}.scalar-app .text-c-alert{color:var(--scalar-color-alert)}.scalar-app .text-c-btn{color:var(--scalar-button-1-color)}.scalar-app .text-c-danger{color:var(--scalar-color-danger)}.scalar-app .text-c-header-1{color:var(--scalar-header-color-1,var(--scalar-color-1))}.scalar-app .text-c-header-2{color:var(--scalar-header-color-2,var(--scalar-color-2))}.scalar-app .text-c-header-cta{color:var(--scalar-button-1-color)}.scalar-app .text-c-tooltip{color:var(--scalar-tooltip-color)}.scalar-app .text-current{color:currentColor}.scalar-app .text-green{color:var(--scalar-color-green)}.scalar-app .text-grey{color:var(--scalar-color-3)}.scalar-app .text-inherit{color:inherit}.scalar-app .text-orange{color:var(--scalar-color-orange)}.scalar-app .text-purple{color:var(--scalar-color-purple)}.scalar-app .text-query{color:var(--scalar-color-query)}.scalar-app .text-red{color:var(--scalar-color-red)}.scalar-app .text-sidebar-c-1{color:var(--scalar-sidebar-color-1,var(--scalar-color-1))}.scalar-app .text-sidebar-c-2{color:var(--scalar-sidebar-color-2,var(--scalar-color-2))}.scalar-app .text-sidebar-c-active{color:var(--scalar-sidebar-color-active,var(--scalar-sidebar-color-1))}.scalar-app .text-sidebar-c-search{color:var(--scalar-sidebar-search-color,var(--scalar-color-3))}.scalar-app .text-transparent{color:#0000}.scalar-app .text-white{color:#fff}.scalar-app .text-yellow{color:var(--scalar-color-yellow)}.scalar-app .capitalize{text-transform:capitalize}.scalar-app .uppercase{text-transform:uppercase}.scalar-app .italic{font-style:italic}.scalar-app .ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.scalar-app .tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.scalar-app .line-through{text-decoration-line:line-through}.scalar-app .no-underline{text-decoration-line:none}.scalar-app .underline{text-decoration-line:underline}.scalar-app .decoration-c-3{-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);text-decoration-color:var(--scalar-color-3)}.scalar-app .decoration-dotted{text-decoration-style:dotted}.scalar-app .underline-offset-2{text-underline-offset:2px}.scalar-app .opacity-0{opacity:0}.scalar-app .opacity-40{opacity:.4}.scalar-app .opacity-50{opacity:.5}.scalar-app .opacity-100{opacity:1}.scalar-app .bg-blend-normal{background-blend-mode:normal}.scalar-app .shadow{--tw-shadow:var(--scalar-shadow-1);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-\\[-8px_0_4px_var\\(--scalar-background-1\\)\\]{--tw-shadow:-8px 0 4px var(--tw-shadow-color,var(--scalar-background-1));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-border{--tw-shadow:inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-lg{--tw-shadow:var(--scalar-shadow-2);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-md{--tw-shadow:var(--scalar-shadow-1);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-sm{--tw-shadow:var(--tw-shadow-color,#00000017) 0px 1px 4px;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .ring,.scalar-app .ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .inset-shadow-border{--tw-inset-shadow:inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .inset-shadow-none{--tw-inset-shadow:inset 0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .ring-border{--tw-ring-color:var(--scalar-border-color)}.scalar-app .outline{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .-outline-offset-1{outline-offset:calc(1px * -1)}.scalar-app .-outline-offset-2{outline-offset:calc(2px * -1)}.scalar-app .outline-offset-1{outline-offset:1px}.scalar-app .outline-offset-2{outline-offset:2px}.scalar-app .outline-offset-4{outline-offset:4px}.scalar-app .outline-offset-\\[-1px\\]{outline-offset:-1px}.scalar-app .outline-c-danger{outline-color:var(--scalar-color-danger)}.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,)}.scalar-app .brightness-90{--tw-brightness:brightness(90%);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-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,)}.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,)}.scalar-app .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-app .backdrop-filter{-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-app .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-none{transition-property:none}.scalar-app .duration-100{--tw-duration:.1s;transition-duration:.1s}.scalar-app .duration-150{--tw-duration:.15s;transition-duration:.15s}.scalar-app .duration-200{--tw-duration:.2s;transition-duration:.2s}.scalar-app .duration-300{--tw-duration:.3s;transition-duration:.3s}.scalar-app .duration-400{--tw-duration:.4s;transition-duration:.4s}.scalar-app .duration-500{--tw-duration:.5s;transition-duration:.5s}.scalar-app .ease-\\[cubic-bezier\\(0\\.77\\,0\\,0\\.175\\,1\\)\\]{--tw-ease:cubic-bezier(.77,0,.175,1);transition-timing-function:cubic-bezier(.77,0,.175,1)}.scalar-app .ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.scalar-app .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.scalar-app .ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.scalar-app .ease-spring{--tw-ease:linear(0, .008 1.1%, .034 2.3%, .134 4.9%, .264 7.3%, .683 14.3%, .797 16.5%, .89 18.6%, .967 20.7%, 1.027 22.8%, 1.073 25%, 1.104 27.3%, 1.123 30.6%, 1.119 34.3%, 1.018 49.5%, .988 58.6%, .985 65.2%, 1 84.5%, 1);transition-timing-function:linear(0, .008 1.1%, .034 2.3%, .134 4.9%, .264 7.3%, .683 14.3%, .797 16.5%, .89 18.6%, .967 20.7%, 1.027 22.8%, 1.073 25%, 1.104 27.3%, 1.123 30.6%, 1.119 34.3%, 1.018 49.5%, .988 58.6%, .985 65.2%, 1 84.5%, 1)}.scalar-app .outline-none{--tw-outline-style:none;outline-style:none}.scalar-app .select-all{-webkit-user-select:all;user-select:all}.scalar-app .select-none{-webkit-user-select:none;user-select:none}.scalar-app .\\[--scalar-address-bar-height\\:0px\\]{--scalar-address-bar-height:0px}.scalar-app .\\[--scalar-address-bar-height\\:32px\\]{--scalar-address-bar-height:32px}.scalar-app .\\[--schema-glyph-background\\:var\\(--scalar-background-1\\)\\]{--schema-glyph-background:var(--scalar-background-1)}.scalar-app .\\[--schema-glyph-color\\:var\\(--scalar-color-2\\)\\]{--schema-glyph-color:var(--scalar-color-2)}.scalar-app .\\[font\\:inherit\\]{font:inherit}.scalar-app .\\[grid-area\\:header\\]{grid-area:header}.scalar-app .\\[grid-area\\:navigation\\]{grid-area:navigation}@supports (color:color-mix(in lab, red, red)){.scalar-app .schema-rail{border-inline-start:var(--scalar-border-width) solid color-mix(in srgb, var(--schema-rail-base), var(--scalar-background-1) min(calc(var(--schema-depth) * 8%), 40%));border-inline-start:var(--scalar-border-width) solid color-mix(in srgb, var(--schema-rail-base), var(--scalar-background-1) min(calc(var(--schema-depth) * 8%), 40%))}}.scalar-app .schema-rail{border-inline-start:var(--scalar-border-width) solid var(--schema-rail-base)}@supports (color:color-mix(in lab, red, red)){.scalar-app .schema-rail{border-inline-start:var(--scalar-border-width) solid color-mix(in srgb, var(--schema-rail-base), var(--scalar-background-1) min(calc(var(--schema-depth) * 8%), 40%))}}:is(.scalar-app .\\*\\:flex>*){display:flex}:is(.scalar-app .\\*\\:size-3>*){width:12px;height:12px}:is(.scalar-app .\\*\\:size-4>*){width:16px;height:16px}:is(.scalar-app .\\*\\:h-5>*){height:20px}:is(.scalar-app .\\*\\:h-8>*){height:32px}:is(.scalar-app .\\*\\:min-w-5>*){min-width:20px}:is(.scalar-app .\\*\\:cursor-pointer>*){cursor:pointer}:is(.scalar-app .\\*\\:items-center>*){align-items:center}:is(.scalar-app .\\*\\:justify-center>*){justify-content:center}:is(.scalar-app .\\*\\:rounded>*){border-radius:var(--scalar-radius-md)}:is(.scalar-app .\\*\\:rounded-none>*){border-radius:0}:is(.scalar-app .\\*\\:border>*){border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-t>*){border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-border>*){border-color:var(--scalar-border-color)}:is(.scalar-app .\\*\\:px-1>*){padding-inline:4px}:is(.scalar-app .\\*\\:px-1\\.5>*){padding-inline:6px}:is(.scalar-app .\\*\\:pl-4>*){padding-left:16px}.scalar-app .group-first\\/row\\:border-t-0:is(:where(.group\\/row):first-child *){border-top-style:var(--tw-border-style);border-top-width:0}.scalar-app .group-last\\:mr-0:is(:where(.group):last-child *){margin-right:0}.scalar-app .group-last\\:border-b-transparent:is(:where(.group):last-child *){border-bottom-color:#0000}.scalar-app .group-last\\/label\\:rounded-br-lg:is(:where(.group\\/label):last-child *){border-bottom-right-radius:var(--scalar-radius-lg)}.scalar-app .group-focus-within\\:flex:is(:where(.group):focus-within *){display:flex}.scalar-app .group-focus-within\\/parameter-item\\:opacity-100:is(:where(.group\\/parameter-item):focus-within *),.scalar-app .group-focus-within\\/scope-row\\:opacity-100:is(:where(.group\\/scope-row):focus-within *){opacity:1}@media (hover:hover){.scalar-app .group-hover\\:flex:is(:where(.group):hover *){display:flex}.scalar-app .group-hover\\:pr-10:is(:where(.group):hover *){padding-right:40px}.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\:underline:is(:where(.group):hover *){text-decoration-line:underline}.scalar-app .group-hover\\:opacity-100:is(:where(.group):hover *),.scalar-app .group-hover\\/address\\:opacity-100:is(:where(.group\\/address):hover *){opacity:1}.scalar-app .group-hover\\/button\\:bg-sidebar-indent-border-hover:is(:where(.group\\/button):hover *){background-color:var(--scalar-sidebar-indent-border-hover,var(--scalar-border-color))}.scalar-app .group-hover\\/button\\:text-c-header-1:is(:where(.group\\/button):hover *){color:var(--scalar-header-color-1,var(--scalar-color-1))}.scalar-app .group-hover\\/button\\:opacity-0:is(:where(.group\\/button):hover *){opacity:0}.scalar-app .group-hover\\/code-block\\:opacity-100:is(:where(.group\\/code-block):hover *){opacity:1}.scalar-app .group-hover\\/copy-button\\:bg-b-1\\.5:is(:where(.group\\/copy-button):hover *){background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .group-hover\\/copy-button\\:bg-b-1\\.5:is(:where(.group\\/copy-button):hover *){background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .group-hover\\/heading\\:opacity-100:is(:where(.group\\/heading):hover *),.scalar-app .group-hover\\/input\\:opacity-100:is(:where(.group\\/input):hover *),.scalar-app .group-hover\\/item\\:opacity-100:is(:where(.group\\/item):hover *),.scalar-app .group-hover\\/parameter-item\\:opacity-100:is(:where(.group\\/parameter-item):hover *),.scalar-app .group-hover\\/params\\:opacity-100:is(:where(.group\\/params):hover *){opacity:1}.scalar-app .group-hover\\/row\\:flex:is(:where(.group\\/row):hover *){display:flex}.scalar-app .group-hover\\/scope-row\\:text-c-1:is(:where(.group\\/scope-row):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\/scope-row\\:opacity-100:is(:where(.group\\/scope-row):hover *){opacity:1}.scalar-app .group-hover\\/scopes-accordion\\:text-c-2:is(:where(.group\\/scopes-accordion):hover *){color:var(--scalar-color-2)}}.scalar-app .group-focus-visible\\:underline:is(:where(.group):focus-visible *){text-decoration-line:underline}.scalar-app .group-focus-visible\\:outline:is(:where(.group):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .group-focus-visible\\/button\\:opacity-0:is(:where(.group\\/button):focus-visible *){opacity:0}.scalar-app .group-focus-visible\\/toggle\\:outline:is(:where(.group\\/toggle):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .group-has-focus-visible\\/code-block\\:opacity-100:is(:where(.group\\/code-block):has(:focus-visible) *),.scalar-app .group-has-focus-visible\\/heading\\:opacity-100:is(:where(.group\\/heading):has(:focus-visible) *),.scalar-app .group-has-focus-visible\\/input\\:opacity-100:is(:where(.group\\/input):has(:focus-visible) *){opacity:1}.scalar-app .group-has-\\[\\.cm-focused\\]\\:z-1:is(:where(.group):has(.cm-focused) *),.scalar-app .group-has-\\[\\.code-input-lite__editor\\:focus\\]\\:z-1:is(:where(.group):has(:is(.code-input-lite editor:focus)) *){z-index:1}.scalar-app .group-has-\\[\\.code-input-lite__editor\\:focus\\]\\:flex:is(:where(.group):has(:is(.code-input-lite editor:focus)) *){display:flex}.scalar-app .group-has-\\[\\.code-input-lite__editor\\:focus\\]\\:pr-10:is(:where(.group):has(:is(.code-input-lite editor:focus)) *){padding-right:40px}.scalar-app .group-has-\\[\\:focus-visible\\]\\/cell\\:border-c-accent:is(:where(.group\\/cell):has(:focus-visible) *){border-color:var(--scalar-color-accent)}.scalar-app .group-has-\\[\\:focus-visible\\]\\/cell\\:opacity-100:is(:where(.group\\/cell):has(:focus-visible) *){opacity:1}.scalar-app .group-has-\\[\\:focus-visible\\]\\/input\\:block:is(:where(.group\\/input):has(:focus-visible) *){display:block}.scalar-app .group-has-\\[input\\]\\/label\\:mr-0:is(:where(.group\\/label):has(:is(input)) *){margin-right:0}.scalar-app .group-has-\\[\\~\\*_\\[aria-expanded\\=true\\]\\]\\/button\\:opacity-0:is(:where(.group\\/button):has(~* [aria-expanded=true]) *),.scalar-app .group-has-\\[\\~\\*\\:focus-within\\]\\/button\\:opacity-0:is(:where(.group\\/button):has(~:focus-within) *),.scalar-app .group-has-\\[\\~\\*\\:hover\\]\\/button\\:opacity-0:is(:where(.group\\/button):has(~:hover) *){opacity:0}.scalar-app .group-aria-expanded\\/button\\:rotate-180:is(:where(.group\\/button)[aria-expanded=true] *),.scalar-app .group-aria-expanded\\/combobox-button\\:rotate-180:is(:where(.group\\/combobox-button)[aria-expanded=true] *){rotate:180deg}.scalar-app .group-hocus\\/copy-button\\:sr-only:is(:is(:where(.group\\/copy-button):hover,:where(.group\\/copy-button):focus-visible) *){clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.scalar-app .group-hocus\\/copy-button\\:not-sr-only:is(:is(:where(.group\\/copy-button):hover,:where(.group\\/copy-button):focus-visible) *){clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.scalar-app .group-hocus\\/copy-button\\:block:is(:is(:where(.group\\/copy-button):hover,:where(.group\\/copy-button):focus-visible) *){display:block}.scalar-app .group-hocus-within\\/code-block\\:-left-0\\.5:is(:is(:where(.group\\/code-block):hover,:where(.group\\/code-block):focus-within) *){left:-2px}.scalar-app .group-hocus-within\\/code-block\\:inline:is(:is(:where(.group\\/code-block):hover,:where(.group\\/code-block):focus-within) *){display:inline}.scalar-app .group-hocus-within\\/code-block\\:opacity-100:is(:is(:where(.group\\/code-block):hover,:where(.group\\/code-block):focus-within) *){opacity:1}.scalar-app .group-\\[\\.alert\\]\\:bg-b-alert:is(:where(.group).alert *){background-color:var(--scalar-background-alert)}.scalar-app .group-\\[\\.alert\\]\\:bg-transparent:is(:where(.group).alert *){background-color:#0000}.scalar-app .group-\\[\\.alert\\]\\:shadow-none:is(:where(.group).alert *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .group-\\[\\.alert\\]\\:outline-orange:is(:where(.group).alert *){outline-color:var(--scalar-color-orange)}.scalar-app .group-\\[\\.error\\]\\:bg-b-danger:is(:where(.group).error *){background-color:var(--scalar-background-danger)}.scalar-app .group-\\[\\.error\\]\\:bg-transparent:is(:where(.group).error *){background-color:#0000}.scalar-app .group-\\[\\.error\\]\\:text-red:is(:where(.group).error *){color:var(--scalar-color-red)}.scalar-app .group-\\[\\.error\\]\\:shadow-none:is(:where(.group).error *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .group-\\[\\.error\\]\\:outline-red:is(:where(.group).error *){outline-color:var(--scalar-color-red)}.scalar-app .peer-checked\\:text-c-1:is(:where(.peer):checked~*){color:var(--scalar-color-1)}@media (hover:hover){.scalar-app .peer-hover\\/button\\:opacity-100:is(:where(.peer\\/button):hover~*){opacity:1}}.scalar-app .peer-focus-visible\\/button\\:opacity-100:is(:where(.peer\\/button):focus-visible~*){opacity:1}.scalar-app .peer-has-\\[\\.cm-focused\\]\\:opacity-0:is(:where(.peer):has(.cm-focused)~*),.scalar-app .peer-has-\\[\\.code-input-lite__editor\\:focus\\]\\:opacity-0:is(:where(.peer):has(:is(.code-input-lite editor:focus))~*){opacity:0}.scalar-app .peer-has-\\[\\.color-selector\\]\\:hidden:is(:where(.peer):has(.color-selector)~*){display:none}.scalar-app .placeholder\\:font-\\[inherit\\]::placeholder{font-family:inherit}.scalar-app .before\\:hidden\\!:before{content:var(--tw-content);display:none!important}:is(.scalar-app .\\*\\:not-first\\:before\\:content-\\[\\'_·_\\'\\]>*):not(:first-child):before{--tw-content:" · ";content:var(--tw-content)}.scalar-app .after\\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.scalar-app .after\\:absolute:after{content:var(--tw-content);position:absolute}.scalar-app .after\\:inset-0:after{content:var(--tw-content);inset:0}.scalar-app .after\\:inset-x-0:after{content:var(--tw-content);inset-inline:0}.scalar-app .after\\:-top-0\\.5:after{content:var(--tw-content);top:-2px}.scalar-app .after\\:-bottom-0\\.5:after{content:var(--tw-content);bottom:-2px}.scalar-app .after\\:block:after{content:var(--tw-content);display:block}.scalar-app .after\\:h-0\\.75:after{content:var(--tw-content);height:3px}.scalar-app .after\\:rounded:after{content:var(--tw-content);border-radius:var(--scalar-radius-md)}.scalar-app .after\\:bg-blue:after{content:var(--tw-content);background-color:var(--scalar-color-blue)}.scalar-app .after\\:opacity-15:after{content:var(--tw-content);opacity:.15}.scalar-app .after\\:content-\\[\\'\\:\\'\\]:after{--tw-content:":";content:var(--tw-content)}.scalar-app .first\\:ml-auto:first-child{margin-left:auto}.scalar-app .first\\:rounded-t-\\[inherit\\]:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:is(.scalar-app .\\*\\:first\\:rounded-l>*):first-child{border-top-left-radius:var(--scalar-radius-md);border-bottom-left-radius:var(--scalar-radius-md)}:is(.scalar-app .\\*\\:first\\:border-t-0>*):first-child,:is(.scalar-app .first\\:\\*\\:border-t-0:first-child>*){border-top-style:var(--tw-border-style);border-top-width:0}.scalar-app .last\\:rounded-b-\\[inherit\\]:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.scalar-app .last\\:rounded-b-lg:last-child{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}:is(.scalar-app .\\*\\:last\\:rounded-r>*):last-child{border-top-right-radius:var(--scalar-radius-md);border-bottom-right-radius:var(--scalar-radius-md)}.scalar-app .last-of-type\\:first-of-type\\:border-b-0:last-of-type:first-of-type{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .empty\\:hidden:empty{display:none}.scalar-app .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}.scalar-app .focus-within\\:opacity-100:focus-within{opacity:1}.scalar-app .focus-within\\:outline-none:focus-within{--tw-outline-style:none;outline-style:none}@media (hover:hover){.scalar-app .hover\\:bg-b-1\\.5:hover{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-b-1\\.5:hover{background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-app .hover\\:bg-b-header-2:hover{background-color:var(--scalar-header-background-2,var(--scalar-background-2))}.scalar-app .hover\\:bg-c-accent\\/20:hover{background-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-c-accent\\/20:hover{background-color:color-mix(in oklab, var(--scalar-color-accent) 20%, transparent)}}.scalar-app .hover\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}.scalar-app .hover\\:bg-h-header-cta:hover{background-color:var(--scalar-header-call-to-action-color,var(--scalar-button-1))}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-h-header-cta:hover{background-color:color-mix(in srgb, var(--scalar-header-call-to-action-color,var(--scalar-button-1)), var(--scalar-header-background-1,var(--scalar-background-1)) 15%)}}.scalar-app .hover\\:bg-sidebar-b-1:hover{background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .hover\\:bg-sidebar-b-hover:hover{background-color:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}.scalar-app .hover\\:bg-transparent:hover{background-color:#0000}.scalar-app .hover\\:bg-linear-to-b:hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .hover\\:bg-linear-to-b:hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .hover\\:bg-linear-to-b:hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .hover\\:bg-linear-to-t:hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .hover\\:bg-linear-to-t:hover{--tw-gradient-position:to top in oklab}}.scalar-app .hover\\:bg-linear-to-t:hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-app .hover\\:text-c-2:hover{color:var(--scalar-color-2)}.scalar-app .hover\\:text-c-header-1:hover{color:var(--scalar-header-color-1,var(--scalar-color-1))}.scalar-app .hover\\:text-sidebar-c-1:hover{color:var(--scalar-sidebar-color-1,var(--scalar-color-1))}.scalar-app .hover\\:text-sidebar-c-hover:hover{color:var(--scalar-sidebar-item-hover-color,var(--scalar-sidebar-color-2))}.scalar-app .hover\\:underline:hover{text-decoration-line:underline}.scalar-app .hover\\:opacity-100:hover{opacity:1}.scalar-app .hover\\:brightness-75:hover{--tw-brightness:brightness(75%);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-app .hover\\:brightness-90:hover{--tw-brightness:brightness(90%);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-app .focus\\:border-b-1:focus{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--scalar-background-1)}.scalar-app .focus\\:text-c-1:focus{color:var(--scalar-color-1)}.scalar-app .focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.scalar-app .focus-visible\\:rounded-\\(--scalar-radius\\):focus-visible{border-radius:var(--scalar-radius)}.scalar-app .focus-visible\\:border-c-btn:focus-visible{border-color:var(--scalar-button-1-color)}.scalar-app .focus-visible\\:opacity-100:focus-visible{opacity:1}.scalar-app .focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .focus-visible\\:outline-\\(length\\:--scalar-border-width\\):focus-visible{outline-style:var(--tw-outline-style);outline-width:var(--scalar-border-width)}.scalar-app .focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.scalar-app .focus-visible\\:outline-offset-4:focus-visible{outline-offset:4px}.scalar-app .focus-visible\\:outline-\\(--scalar-focus-color\\):focus-visible{outline-color:var(--scalar-focus-color)}.scalar-app .active\\:bg-b-btn:active{background-color:var(--scalar-button-1)}.scalar-app .active\\:bg-transparent:active{background-color:#0000}.scalar-app .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-app .active\\:brightness-90:active{--tw-brightness:brightness(90%);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-app .disabled\\:pointer-events-none:disabled{pointer-events:none}.scalar-app .disabled\\:cursor-default:disabled{cursor:default}.scalar-app .disabled\\:text-c-2:disabled{color:var(--scalar-color-2)}.scalar-app .disabled\\:opacity-30:disabled{opacity:.3}.scalar-app .has-focus-visible\\:outline:has(:focus-visible){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .has-\\[\\:focus-visible\\]\\:absolute:has(:focus-visible){position:absolute}.scalar-app .has-\\[\\:focus-visible\\]\\:z-1:has(:focus-visible){z-index:1}.scalar-app .has-\\[\\:focus-visible\\]\\:rounded-\\[4px\\]:has(:focus-visible){border-radius:4px}.scalar-app .has-\\[\\:focus-visible\\]\\:bg-b-1:has(:focus-visible){background-color:var(--scalar-background-1)}.scalar-app .has-\\[\\:focus-visible\\]\\:bg-sidebar-b-1:has(:focus-visible){background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .has-\\[\\:focus-visible\\]\\:opacity-100:has(:focus-visible){opacity:1}:is(.scalar-app .has-\\[\\:focus-visible\\]\\:outline:has(:focus-visible),.scalar-app .has-\\[input\\:focus-visible\\]\\:outline:has(:is(input:focus-visible))){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .has-\\[\\&\\[aria-expanded\\=true\\]\\]\\:opacity-100:has([aria-expanded=true]){opacity:1}.scalar-app .has-\\[\\+\\.property-rule\\]\\:mb-1\\.5\\!:has(+.property-rule){margin-bottom:6px!important}@media not all and (width>=1200px){.scalar-app .max-xl\\:max-h-full{max-height:100%}}@media not all and (width>=1000px){.scalar-app .max-lg\\:fixed{position:fixed}.scalar-app .max-lg\\:top-2{top:8px}.scalar-app .max-lg\\:left-2{left:8px}}@media not all and (width>=800px){.scalar-app .max-md\\:absolute\\!{position:absolute!important}.scalar-app .max-md\\:z-5{z-index:5}.scalar-app .max-md\\:w-full\\!{width:100%!important}.scalar-app .max-md\\:pt-2{padding-top:8px}.scalar-app .max-md\\:pt-12{padding-top:48px}.scalar-app .max-md\\:pl-4\\!{padding-left:16px!important}.scalar-app .max-md\\:pl-10{padding-left:40px}.scalar-app .max-md\\:pl-14{padding-left:56px}}@media (width>=800px){.scalar-app .md\\:pointer-events-none{pointer-events:none}.scalar-app .md\\:absolute{position:absolute}.scalar-app .md\\:inset-x-1{inset-inline:4px}.scalar-app .md\\:top-1\\/2{top:50%}.scalar-app .md\\:mt-0{margin-top:0}.scalar-app .md\\:-ml-1\\.25{margin-left:-5px}.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}.scalar-app .md\\:-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .md\\:flex-row{flex-direction:row}.scalar-app .md\\:px-1\\.5{padding-inline:6px}.scalar-app .md\\:opacity-0{opacity:0}:is(.scalar-app .md\\:\\*\\:border-t-0>*){border-top-style:var(--tw-border-style);border-top-width:0}@media (hover:hover){.scalar-app .md\\:group-hover\\/upload\\:pointer-events-auto:is(:where(.group\\/upload):hover *){pointer-events:auto}.scalar-app .md\\:group-hover\\/upload\\:opacity-100:is(:where(.group\\/upload):hover *){opacity:1}}}@media (width>=1000px){.scalar-app .lg\\:-mr-1{margin-right:-4px}.scalar-app .lg\\:flex{display:flex}.scalar-app .lg\\:hidden{display:none}.scalar-app .lg\\:min-h-header{min-height:48px}.scalar-app .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}.scalar-app .lg\\:w-full{width:100%}.scalar-app .lg\\:p-0{padding:0}.scalar-app .lg\\:pe-24{padding-inline-end:96px}}@media (width>=1200px){.scalar-app .xl\\:flex{display:flex}.scalar-app .xl\\:h-full{height:100%}.scalar-app .xl\\:min-w-0{min-width:0}.scalar-app .xl\\:flex-row{flex-direction:row}.scalar-app .xl\\:overflow-hidden{overflow:hidden}.scalar-app .xl\\:rounded-none{border-radius:0}.scalar-app .xl\\:pr-0\\.5{padding-right:2px}.scalar-app .xl\\:pl-2{padding-left:8px}:is(.scalar-app .\\*\\:xl\\:border-t-0>*){border-top-style:var(--tw-border-style);border-top-width:0}:is(.scalar-app .\\*\\:xl\\:border-l>*){border-left-style:var(--tw-border-style);border-left-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:first\\:xl\\:border-l-0>*):first-child{border-left-style:var(--tw-border-style);border-left-width:0}}@container (width>=768px){.scalar-app .\\@3xl\\:order-0{order:0}.scalar-app .\\@3xl\\:mb-0{margin-bottom:0}.scalar-app .\\@3xl\\:ml-0\\.75{margin-left:3px}.scalar-app .\\@3xl\\:flex{display:flex}.scalar-app .\\@3xl\\:hidden{display:none}.scalar-app .\\@3xl\\:flex-nowrap{flex-wrap:nowrap}}.scalar-app .rtl\\:-scale-x-100:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.scalar-app .dark\\:bg-\\(--bg-dark\\):where(.dark-mode,.dark-mode *){background-color:var(--bg-dark)}.scalar-app .dark\\:bg-b-1\\.5:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .dark\\:bg-b-1\\.5:where(.dark-mode,.dark-mode *){background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .dark\\:bg-b-2:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}.scalar-app .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-3)}.scalar-app .dark\\:bg-backdrop-dark:where(.dark-mode,.dark-mode *){background-color:#00000073}.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){background-image:linear-gradient(var(--tw-gradient-stops))}@media (hover:hover){.scalar-app .dark\\:group-hover\\/copy-button\\:bg-b-1\\.5:where(.dark-mode,.dark-mode *):is(:where(.group\\/copy-button):hover *){background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .dark\\:group-hover\\/copy-button\\:bg-b-1\\.5:where(.dark-mode,.dark-mode *):is(:where(.group\\/copy-button):hover *){background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .dark\\:hover\\:bg-b-2:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-2)}.scalar-app .dark\\:hover\\:bg-b-3:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-3)}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}}@media print{.scalar-app .print\\:hidden{display:none}.scalar-app .print\\:bg-transparent{background-color:#0000}}@media (pointer:coarse){.scalar-app .pointer-coarse\\:hidden{display:none}}.scalar-app .ui-open\\:rotate-90[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .ui-open\\:rotate-90){rotate:90deg}.scalar-app .ui-open\\:rotate-180[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .ui-open\\:rotate-180){rotate:180deg}.scalar-app .last\\:ui-open\\:border-b-0:last-child[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .last\\:ui-open\\:border-b-0:last-child){border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .ui-not-open\\:hidden[data-headlessui-state]:not([data-headlessui-state~=open]),:where([data-headlessui-state]:not([data-headlessui-state~=open])) :is(.scalar-app .ui-not-open\\:hidden):not([data-headlessui-state]){display:none}.scalar-app .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]),:where([data-headlessui-state]:not([data-headlessui-state~=open])) :is(.scalar-app .ui-not-open\\:rotate-0):not([data-headlessui-state]){rotate:0deg}:is(.scalar-app .ui-active\\:\\*\\:bg-b-2[data-headlessui-state~=active]>*),:is(:where([data-headlessui-state~=active]) :is(.scalar-app .ui-active\\:\\*\\:bg-b-2)>*){background-color:var(--scalar-background-2)}@media (width<=720px) and (height<=480px){.scalar-app .zoomed\\:static{position:static}.scalar-app .zoomed\\:p-1{padding:4px}.scalar-app .zoomed\\:whitespace-normal\\!{white-space:normal!important}}.scalar-app .highlighted\\:bg-b-2[data-highlighted]{background-color:var(--scalar-background-2)}.scalar-app .tree-control-hover\\:border-\\(--scalar-border-color\\):is(:where(.group\\/tree-control):hover *),:where(.property--tree[data-heading-hovered])>.property-toggle :is(.scalar-app .tree-control-hover\\:border-\\(--scalar-border-color\\)),:where([data-child-rail-hovered])>:where(.property-toggle,.parameter-item-trigger,.callback-item-trigger,.schema-card-title) :is(.scalar-app .tree-control-hover\\:border-\\(--scalar-border-color\\)){border-color:var(--scalar-border-color)}.scalar-app .tree-control-hover\\:bg-b-1:is(:where(.group\\/tree-control):hover *),:where(.property--tree[data-heading-hovered])>.property-toggle :is(.scalar-app .tree-control-hover\\:bg-b-1),:where([data-child-rail-hovered])>:where(.property-toggle,.parameter-item-trigger,.callback-item-trigger,.schema-card-title) :is(.scalar-app .tree-control-hover\\:bg-b-1){background-color:var(--scalar-background-1)}.scalar-app .tree-control-hover\\:text-c-1:is(:where(.group\\/tree-control):hover *),:where(.property--tree[data-heading-hovered])>.property-toggle :is(.scalar-app .tree-control-hover\\:text-c-1),:where([data-child-rail-hovered])>:where(.property-toggle,.parameter-item-trigger,.callback-item-trigger,.schema-card-title) :is(.scalar-app .tree-control-hover\\:text-c-1){color:var(--scalar-color-1)}.scalar-app .rail-hover\\:border-s-c-1[data-rail-hovered]{border-inline-start-color:var(--scalar-color-1)}.app-platform-mac :is(.scalar-app .mac\\:h-12){height:48px}.app-platform-mac :is(.scalar-app .mac\\:app-drag-region){-webkit-app-region:drag}@container references-container (width<=900px){.scalar-app .narrow\\:mb-3{margin-bottom:12px}.scalar-app .narrow\\:basis-full{flex-basis:100%}.scalar-app .narrow\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.scalar-app .narrow\\:flex-col{flex-direction:column}.scalar-app .narrow\\:items-stretch{align-items:stretch}.scalar-app .narrow\\:justify-start{justify-content:flex-start}.scalar-app .narrow\\:gap-0{gap:0}.scalar-app .narrow\\:gap-3{gap:12px}.scalar-app .narrow\\:self-end{align-self:flex-end}.scalar-app .narrow\\:border{border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}.scalar-app .narrow\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.scalar-app .narrow\\:first\\:ml-0:first-child{margin-left:0}}.scalar-app .\\[\\&_\\*\\]\\:m-0 *{margin:0}.scalar-app .\\[\\&_\\.markdown\\]\\:-mb-0\\.5 .markdown{margin-bottom:-2px}.scalar-app .\\[\\&_\\.parameter-list-title--tree\\]\\:mt-0\\! .parameter-list-title--tree{margin-top:0!important}.scalar-app .\\[\\&_\\.parameter-list-title--tree\\]\\:text-base\\! .parameter-list-title--tree{font-size:var(--scalar-font-size-3)!important;line-height:var(--tw-leading,calc(1 / .875))!important}.scalar-app .\\[\\&_\\.parameter-list-title--tree\\]\\:text-\\(length\\:--scalar-font-size-4\\)\\! .parameter-list-title--tree{font-size:var(--scalar-font-size-4)!important}.scalar-app .\\[\\&_\\.parameter-list-title--tree\\]\\:font-\\(--scalar-bold\\)\\! .parameter-list-title--tree{--tw-font-weight:var(--scalar-bold)!important;font-weight:var(--scalar-bold)!important}.scalar-app .\\[\\&_\\.request-body\\]\\:mt-0\\! .request-body,.scalar-app .\\[\\&_\\.request-body-description\\]\\:mt-0\\! .request-body-description{margin-top:0!important}.scalar-app .\\[\\&_\\.request-body-description\\]\\:text-\\(length\\:--scalar-font-size-4\\)\\! .request-body-description{font-size:var(--scalar-font-size-4)!important}.scalar-app .\\[\\&_\\.request-body-header\\]\\:mt-0\\! .request-body-header{margin-top:0!important}.scalar-app .\\[\\&_\\.request-body-title\\]\\:text-\\(length\\:--scalar-font-size-4\\)\\! .request-body-title{font-size:var(--scalar-font-size-4)!important}.scalar-app .\\[\\&_\\.request-body-title\\]\\:font-\\(--scalar-bold\\)\\! .request-body-title{--tw-font-weight:var(--scalar-bold)!important;font-weight:var(--scalar-bold)!important}.scalar-app .\\[\\&_\\.responses-title--tree\\]\\:mt-0\\! .responses-title--tree{margin-top:0!important}.scalar-app .\\[\\&_\\.responses-title--tree\\]\\:text-\\(length\\:--scalar-font-size-4\\)\\! .responses-title--tree{font-size:var(--scalar-font-size-4)!important}.scalar-app .\\[\\&_\\.responses-title--tree\\]\\:font-\\(--scalar-bold\\)\\! .responses-title--tree{--tw-font-weight:var(--scalar-bold)!important;font-weight:var(--scalar-bold)!important}.scalar-app .\\[\\&_\\.scalar-card-header-title\\]\\:flex-1 .scalar-card-header-title{flex:1}.scalar-app .\\[\\&_\\.scalar-card-header-title\\]\\:whitespace-normal .scalar-card-header-title{white-space:normal}.scalar-app .\\[\\&_\\.schema-card\\]\\:mb-0\\! .schema-card{margin-bottom:0!important}.scalar-app .\\[\\&_\\.schema-card\\]\\:pb-0\\! .schema-card{padding-bottom:0!important}.scalar-app .\\[\\&_\\.schema-properties\\]\\:mb-0\\! .schema-properties{margin-bottom:0!important}.scalar-app .\\[\\&_\\.schema-properties\\]\\:pb-0\\! .schema-properties{padding-bottom:0!important}.scalar-app .\\[\\&_a\\]\\:underline a{text-decoration-line:underline}.scalar-app .\\[\\&_a\\:hover\\]\\:text-c-1 a:hover{color:var(--scalar-color-1)}.scalar-app .\\[\\&_code\\]\\:font-code code{font-family:var(--scalar-font-code)}.scalar-app .\\[\\&_em\\]\\:font-medium em{--tw-font-weight:var(--scalar-semibold);font-weight:var(--scalar-semibold)}.scalar-app .\\[\\&_em\\]\\:text-c-1 em{color:var(--scalar-color-1)}.scalar-app .\\[\\&_em\\]\\:text-c-2 em{color:var(--scalar-color-2)}.scalar-app .\\[\\&_em\\]\\:not-italic em{font-style:normal}.scalar-app .\\[\\&_svg\\]\\:size-\\[var\\(--schema-glyph-icon\\,16px\\)\\] svg{width:var(--schema-glyph-icon,16px);height:var(--schema-glyph-icon,16px)}.scalar-app .\\[\\&_ul\\]\\:my-0\\! ul{margin-block:0!important}.scalar-app .\\[\\&_ul\\]\\:py-0\\! ul{padding-block:0!important}.scalar-app .\\[\\&\\>\\*\\]\\:mt-0\\!>*{margin-top:0!important}.scalar-app .\\[\\&\\>\\*\\:has\\(\\+\\.copy-link-trailing\\)\\]\\:me-0\\!>:has(+.copy-link-trailing){margin-inline-end:0!important}.scalar-app .\\[\\&\\>\\.bindings-heading\\]\\:-mx-3>.bindings-heading{margin-inline:-12px}.scalar-app .\\[\\&\\>\\.bindings-heading\\]\\:px-3>.bindings-heading{padding-inline:12px}.scalar-app .\\[\\&\\>\\.collapsible-section\\]\\:border-t-0\\!>.collapsible-section{border-top-style:var(--tw-border-style)!important;border-top-width:0!important}.scalar-app .\\[\\&\\>\\.property-detail\\:has\\(\\+\\.property-detail\\)\\]\\:mr-0>.property-detail:has(+.property-detail){margin-right:0}.scalar-app .\\[\\&\\>div\\:last-child\\]\\:shrink-0>div:last-child{flex-shrink:0}.scalar-app .\\[\\&\\[hidden\\=until-found\\]\\]\\:my-0[hidden=until-found]{margin-block:0}.scalar-app .\\[\\&\\[hidden\\=until-found\\]\\]\\:border-s-0[hidden=until-found]{border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}.scalar-app .\\[\\&\\[hidden\\]\\:not\\(\\[hidden\\=until-found\\]\\)\\]\\:hidden[hidden]:not([hidden=until-found]){display:none}.children+:is(.scalar-app .\\[\\.children\\+\\&\\]\\:mt-1\\.5\\!),.property-description+:is(.scalar-app .\\[\\.property-description\\+\\&\\]\\:mt-1\\.5\\!){margin-top:6px!important}.schema-card--level-0:first-of-type>:is(.scalar-app .\\[\\.schema-card--level-0\\:nth-of-type\\(1\\)\\>\\&\\]\\:has-\\[\\+\\.schema-properties\\]\\:mb-0\\!):has(+.schema-properties){margin-bottom:0!important}.schema-card--level-0:first-of-type>:is(.scalar-app .\\[\\.schema-card--level-0\\:nth-of-type\\(1\\)\\>\\&\\]\\:has-\\[\\+\\.schema-properties\\]\\:border-b-0\\!):has(+.schema-properties){border-bottom-style:var(--tw-border-style)!important;border-bottom-width:0!important}.schema-card--level-0:first-of-type>:is(.scalar-app .\\[\\.schema-card--level-0\\:nth-of-type\\(1\\)\\>\\&\\]\\:has-\\[\\+\\.schema-properties\\]\\:pb-0\\!):has(+.schema-properties){padding-bottom:0!important}.schema-card--level-0:first-of-type>.schema-card-description+:is(.scalar-app .\\[\\.schema-card--level-0\\:nth-of-type\\(1\\)\\>\\.schema-card-description\\+\\&\\]\\:mt-0\\!){margin-top:0!important}.schema-card-description+:is(.scalar-app .\\[\\.schema-card-description\\+\\&\\]\\:mt-1\\.5\\!){margin-top:6px!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-mask-linear{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-radial{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-conic{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-left{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-right{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-bottom{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-top{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-top-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-top-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-top-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-top-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-mask-bottom-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-bottom-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-bottom-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-bottom-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-leading{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}.selected-client[data-v-e05ee491]{color:var(--scalar-color-1);font-size:var(--scalar-small);background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-left-radius:var(--scalar-radius-xl);border-bottom-right-radius:var(--scalar-radius-xl);border-top:none;flex-direction:column;gap:9px;padding:9px 12px;display:flex}.selected-client[data-v-e05ee491] .markdown pre code{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0}.client-libraries-heading[data-v-e05ee491]{font-size:var(--scalar-small);font-weight:var(--scalar-font-medium);color:var(--scalar-color-1);background-color:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top-left-radius:var(--scalar-radius-xl);border-top-right-radius:var(--scalar-radius-xl);align-items:center;max-height:32px;padding:9px 12px;display:flex}.client-libraries-content[data-v-e05ee491]{scrollbar-width:none;background-color:var(--scalar-background-1);border-left:var(--scalar-border-width) solid var(--scalar-border-color);border-right:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);padding:0 12px;position:relative;overflow:auto hidden}.client-libraries-content[data-v-e05ee491]::-webkit-scrollbar{display:none}.client-libraries-row[data-v-e05ee491]{justify-content:flex-start;display:flex}.client-libraries-tabs[data-v-e05ee491]{flex:none;display:flex}.client-libraries-measure-clip[data-v-e05ee491]{width:0;height:0;position:absolute;top:0;left:0;overflow:hidden}.client-libraries-row--measure[data-v-e05ee491]{visibility:hidden;pointer-events:none;width:max-content}.client-libraries[data-v-e05ee491]{cursor:pointer;white-space:nowrap;color:var(--scalar-color-3);-webkit-user-select:none;user-select:none;background:0 0;border-bottom:1px solid #0000;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:8px 12px;display:flex;position:relative}.client-libraries[data-v-e05ee491]:not(.client-libraries__active):hover:before{content:"";background:var(--scalar-background-2);z-index:0;border-radius:var(--scalar-radius);width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}.client-libraries[data-v-e05ee491]:active{color:var(--scalar-color-1)}.client-libraries[data-v-e05ee491]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}.client-libraries__active[data-v-e05ee491]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}.client-libraries-more[data-v-e05ee491]{margin-left:auto}.client-libraries-icon[data-v-e05ee491]{aspect-ratio:1;box-sizing:border-box;color:currentColor;justify-content:center;align-items:center;width:100%;min-width:14px;max-width:14px;max-height:14px;display:flex;position:relative}.client-libraries .client-libraries-text[data-v-e05ee491]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-e05ee491]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.scalar-mcp-layer[data-v-f4109c08]{--mcp-row-height:31px;--mcp-row-count:3;background:0 0;flex-direction:column;justify-content:flex-end;gap:2px;height:32px;transition:all .4s ease-in-out;display:flex;position:relative}.scalar-mcp-layer[data-v-f4109c08]:hover{height:calc(var(--mcp-row-count) * var(--mcp-row-height) + (var(--mcp-row-count) - 1) * 2px)}.scalar-mcp-layer-link[data-v-f4109c08]:hover{cursor:pointer!important}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-f4109c08]{font:inherit;cursor:pointer;width:100%;height:var(--mcp-row-height);text-align:center;white-space:nowrap;font-size:var(--scalar-small);border-radius:var(--scalar-radius);border:var(--scalar-border-width) solid var(--scalar-border-color);color:var(--scalar-sidebar-color-1);background:var(--scalar-background-1);align-items:center;gap:6px;padding:9px 6px;line-height:1.385;text-decoration:none;transition:transform .2s ease-in-out;display:flex;position:absolute;bottom:0}.scalar-mcp-layer-link[data-v-f4109c08]:after{content:"";width:100%;height:2px;position:absolute;bottom:-2px;left:0}.scalar-mcp-layer div.scalar-mcp-layer-link[data-v-f4109c08]{cursor:default}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-f4109c08]:last-child{position:relative;transform:translate(0,0)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-f4109c08]:nth-last-child(2){transform:translateY(-2px)scale(.99)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-f4109c08]:nth-last-child(2){transform:translateY(calc(-100% - 2px))scale(.99)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-f4109c08]:nth-last-child(3){transform:translateY(-4px)scale(.98)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-f4109c08]:nth-last-child(3){transform:translateY(calc(-200% - 4px))scale(1)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-f4109c08]:nth-last-child(4){transform:translateY(-6px)scale(.97)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-f4109c08]:nth-last-child(4){transform:translateY(calc(-300% - 6px))scale(1)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-f4109c08]:nth-last-child(5){transform:translateY(-8px)scale(.96)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-f4109c08]:nth-last-child(5){transform:translateY(calc(-400% - 8px))scale(1)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-f4109c08]{transition:transform .2s ease-in-out .1s}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-f4109c08]:hover{background:var(--scalar-background-2)}.scalar-mcp-layer .mcp-logo[data-v-f4109c08]{width:16px;height:16px;color:var(--scalar-sidebar-color-1)}.mcp-nav[data-v-f4109c08]{color:var(--scalar-sidebar-color-2)}.references-classic-header[data-v-a2078602]{max-width:var(--refs-content-max-width);align-items:center;gap:12px;margin:auto;padding:12px 0;display:flex}.references-classic-header-content[data-v-a2078602]{flex-grow:1;gap:12px;display:flex}.references-classic-header-container[data-v-a2078602]{padding:0 60px;position:relative}@container references-container (width<=900px){.references-classic-header[data-v-a2078602]{padding:12px 24px}.references-classic-header-container[data-v-a2078602]{padding:0}}.references-classic-header-icon[data-v-a2078602]{height:24px;color:var(--scalar-color-1)}.icons-only[data-v-dc833d99] span{display:none}.generate-sdk-button[data-v-16b2fb9a]:not(:where(.generate-sdk-button--card)){appearance:none;white-space:nowrap;cursor:pointer;font-family:var(--scalar-font);font-size:var(--scalar-small);border-radius:var(--scalar-radius);outline-offset:2px;background:0 0;border:none;align-items:center;gap:4px;line-height:1.385;display:flex}.generate-sdk-button--toolbar[data-v-16b2fb9a]{color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);padding:9px 8px;line-height:1}.generate-sdk-button--toolbar[data-v-16b2fb9a]:hover{color:var(--scalar-color-1);background:var(--scalar-background-2)}.generate-sdk-button--footer[data-v-16b2fb9a]{color:var(--scalar-color-2);font-size:inherit;font-weight:var(--scalar-semibold);line-height:inherit;background:0 0;height:24px;margin-inline-end:4px;padding:1px 6px}.generate-sdk-button--footer[data-v-16b2fb9a]:hover{background:var(--scalar-background-2)}.client-libraries-more[data-v-9aa6e406]{flex:1 1 0;min-width:0;display:flex}.client-libraries[data-v-9aa6e406]{cursor:pointer;white-space:nowrap;width:100%;color:var(--scalar-color-3);-webkit-user-select:none;user-select:none;border-bottom:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:8px 2px;display:flex;position:relative}.client-libraries[data-v-9aa6e406]:not(.client-libraries__active):hover:before{content:"";background:var(--scalar-background-2);z-index:0;border-radius:var(--scalar-radius);width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}.client-libraries[data-v-9aa6e406]:active{color:var(--scalar-color-1)}.client-libraries[data-v-9aa6e406]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}.client-libraries-icon[data-v-9aa6e406]{aspect-ratio:1;box-sizing:border-box;color:currentColor;justify-content:center;align-items:center;width:100%;min-width:14px;max-width:14px;max-height:14px;display:flex;position:relative}.client-libraries-icon__more svg[data-v-9aa6e406]{height:initial}.client-libraries__active[data-v-9aa6e406]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}.client-libraries .client-libraries-text[data-v-9aa6e406]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-9aa6e406]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (width<=600px){.references-classic .client-libraries[data-v-9aa6e406]{flex-direction:column}}@container client-libraries-list (width<400px){.client-libraries-more[data-v-9aa6e406]{flex:none}.client-libraries__select[data-v-9aa6e406]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-9aa6e406]{display:none}}.selected-client-row[data-v-4e1f3f02]{background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-left-radius:var(--scalar-radius-xl);border-bottom-right-radius:var(--scalar-radius-xl);align-items:center;min-height:fit-content;display:flex}.selected-client-panels[data-v-4e1f3f02]{flex:auto;min-width:0}.selected-client[data-v-4e1f3f02]{color:var(--scalar-color-1);font-size:var(--scalar-small);font-family:var(--scalar-font-code);white-space:nowrap;text-overflow:ellipsis;border-bottom-left-radius:var(--scalar-radius-xl);border-bottom-right-radius:var(--scalar-radius-xl);padding:9px 12px;overflow:hidden}.selected-client-action[data-v-4e1f3f02]{white-space:nowrap;flex-shrink:0;margin-inline-end:5px}.client-libraries-heading[data-v-4e1f3f02]{font-size:var(--scalar-small);font-weight:var(--scalar-font-medium);color:var(--scalar-color-1);background-color:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top-left-radius:var(--scalar-radius-xl);border-top-right-radius:var(--scalar-radius-xl);align-items:center;max-height:32px;padding:9px 12px;display:flex}.client-libraries-list[data-v-4e1f3f02]{background-color:var(--scalar-background-1);border-left:var(--scalar-border-width) solid var(--scalar-border-color);border-right:var(--scalar-border-width) solid var(--scalar-border-color);justify-content:center;padding:0 12px;display:flex;overflow:hidden;container:client-libraries-list/inline-size}.client-libraries-tabs[data-v-4e1f3f02]{flex:1 1 0;min-width:0;display:flex}.client-libraries[data-v-4e1f3f02]{cursor:pointer;white-space:nowrap;width:100%;color:var(--scalar-color-3);-webkit-user-select:none;user-select:none;border-bottom:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:8px 2px;display:flex;position:relative}.client-libraries[data-v-4e1f3f02]:not(.client-libraries__active):hover:before{content:"";background:var(--scalar-background-2);z-index:0;border-radius:var(--scalar-radius);width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}.client-libraries[data-v-4e1f3f02]:active{color:var(--scalar-color-1)}.client-libraries[data-v-4e1f3f02]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}@media screen and (width<=450px){.client-libraries[data-v-4e1f3f02]:nth-of-type(4),.client-libraries[data-v-4e1f3f02]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-4e1f3f02]{aspect-ratio:1;box-sizing:border-box;color:currentColor;justify-content:center;align-items:center;width:100%;min-width:14px;max-width:14px;max-height:14px;display:flex;position:relative}.client-libraries__active[data-v-4e1f3f02]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}.client-libraries .client-libraries-text[data-v-4e1f3f02]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-4e1f3f02]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (width<=600px){.references-classic .client-libraries[data-v-4e1f3f02]{flex-direction:column}}@container client-libraries-list (width<380px){.client-libraries[data-v-4e1f3f02]{width:100%}.client-libraries span[data-v-4e1f3f02]{display:none}}.download-container[data-v-539e47de]{z-index:1;flex-direction:column;gap:16px;width:fit-content;margin:0 .5px 8px;display:flex;position:relative}.download-container.download-both[data-v-539e47de]:hover:before{content:"";border-radius:var(--scalar-radius-lg);width:calc(100% + 24px);height:90px;box-shadow:var(--scalar-shadow-2);pointer-events:none;background:var(--scalar-background-1);position:absolute;top:-11px;left:-12px}.download-container[data-v-539e47de]:has(:focus-visible):before{content:"";border-radius:var(--scalar-radius-lg);width:calc(100% + 24px);height:90px;box-shadow:var(--scalar-shadow-2);pointer-events:none;background:var(--scalar-background-1);position:absolute;top:-11px;left:-12px}.download-button[data-v-539e47de]{color:var(--scalar-link-color);cursor:pointer;outline:none;justify-content:center;align-items:center;gap:4px;height:fit-content;padding:0;display:flex;position:relative;white-space:nowrap!important}.download-button[data-v-539e47de]:before{border-radius:var(--scalar-radius);content:"";width:calc(100% + 18px);height:calc(100% + 16px);position:absolute;top:-8px;left:-9px}.download-button[data-v-539e47de]:last-of-type:before{width:calc(100% + 15px)}.download-button[data-v-539e47de]:hover:before{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color)}.download-button[data-v-539e47de]:focus-visible:before{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);outline-style:var(--tw-outline-style);outline-width:1px}.download-button span[data-v-539e47de]{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab, red, red)){.download-button span[data-v-539e47de]{-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent)}}.download-button span[data-v-539e47de]{z-index:1;align-items:center;gap:6px;line-height:1.625;display:flex}.download-button:hover span[data-v-539e47de]{-webkit-text-decoration-color:var(--scalar-color-1,currentColor);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);text-decoration-color:var(--scalar-color-1,currentColor);color:var(--scalar-link-color-hover,var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.download-button[data-v-539e47de]:nth-of-type(2){clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.download-container:hover .download-button[data-v-539e47de]:nth-of-type(2){clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:absolute;top:42px;overflow:visible}.download-container:has(:focus-visible) .download-button[data-v-539e47de]:nth-of-type(2){clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:absolute;top:42px;overflow:visible}.badge.extension[data-v-539e47de]{z-index:1;background:var(--scalar-link-color,var(--scalar-color-accent));color:var(--scalar-background-1)}.download-container:hover .extension[data-v-539e47de]{opacity:1}.download-container:has(:focus-visible) .extension[data-v-539e47de]{opacity:1}.download-link[data-v-539e47de]{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab, red, red)){.download-link[data-v-539e47de]{-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent)}}.download-link[data-v-539e47de]:hover{--font-color:var(--scalar-link-color,var(--scalar-color-accent));-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}.introduction-card[data-v-53312fa4]{flex-direction:column;gap:12px;display:flex}.introduction-card-row[data-v-53312fa4]{flex-flow:wrap;gap:24px}.introduction-card-row[data-v-53312fa4]>*{flex:1;min-width:min-content}@container references-container (width<=900px){.introduction-card-row[data-v-53312fa4]{flex-direction:column;align-items:stretch;gap:0}.introduction-card-row[data-v-53312fa4]>*{min-width:auto;max-width:100%}}.introduction-card[data-v-53312fa4] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.introduction-card-row[data-v-53312fa4] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.introduction-card-row[data-v-53312fa4] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}@container references-container (width<=900px){.anchor-copy-button[data-v-c068a524]{padding-right:0}}.section[data-v-8e83ffce]{max-width:var(--refs-content-max-width);scroll-margin-top:var(--refs-viewport-offset);flex-direction:column;margin:auto;padding:90px 0;display:flex;position:relative}.section[tabindex="-1"][data-v-8e83ffce]:focus{outline:none}.section[data-v-8e83ffce]:has(~div.contents){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.references-classic .section[data-v-8e83ffce]{gap:24px;padding:48px 0}@container references-container (width<=900px){.references-classic .section[data-v-8e83ffce],.section[data-v-8e83ffce]{padding:48px 24px}}.section[data-v-8e83ffce]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.collapsible-section[data-v-9d5fc508]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-9d5fc508]{color:var(--scalar-color-1);flex:1;min-width:0}.collapsible-section-toggle[data-v-9d5fc508]:after{content:"";position:absolute;inset:0}.collapsible-section .collapsible-section-trigger[data-v-9d5fc508]{cursor:pointer;font-size:var(--scalar-font-size-3);z-index:1;align-items:center;padding:10px 0;display:flex;position:relative}.collapsible-section-trigger svg[data-v-9d5fc508]{color:var(--scalar-color-3);position:absolute;left:-19px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-9d5fc508]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-9d5fc508] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-9d5fc508]{margin:0 0 10px;padding:0;scroll-margin-top:140px}.section-wrapper[data-v-08b79926]{color:var(--scalar-color-1);margin-top:-12px;padding-top:12px}.section-accordion[data-v-08b79926]{border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2);scroll-margin-top:var(--refs-viewport-offset);flex-direction:column;display:flex}.section-accordion-transparent[data-v-08b79926]{border:var(--scalar-border-width) solid var(--scalar-border-color);background:0 0}.section-accordion-header[data-v-08b79926]{cursor:pointer;align-items:center;gap:6px;padding:6px;display:flex;position:relative}.section-accordion-button-content[data-v-08b79926] :is(a[href],button,input,select,textarea,[role=button],[tabindex]),.section-accordion-button-actions[data-v-08b79926] :is(a[href],button,input,select,textarea,[role=button],[tabindex]){pointer-events:auto}.section-accordion-button-content[data-v-08b79926]{flex:1;min-width:0}.section-accordion-button-actions[data-v-08b79926]{color:var(--scalar-color-3);align-items:center;gap:6px;display:flex}.section-accordion-chevron[data-v-08b79926]{cursor:pointer;opacity:1;color:var(--scalar-color-3);margin-right:4px}.section-accordion-header:hover .section-accordion-chevron[data-v-08b79926]{color:var(--scalar-color-1)}.section-accordion-content[data-v-08b79926]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);flex-direction:column;display:flex}.section-accordion-description[data-v-08b79926]{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-08b79926] .property:last-of-type{padding-bottom:9px}.section-column[data-v-2d36f3b2]{flex:1;min-width:0}@container references-container (width<=900px){.section-column[data-v-2d36f3b2]:nth-of-type(2){padding-top:0}}.section-columns[data-v-43abedfd]{gap:48px;display:flex}@container references-container (width<=900px){.section-columns[data-v-43abedfd]{flex-direction:column;gap:24px}}.section-container[data-v-691a7cec]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);width:100%;padding:0 60px;position:relative}.section-container[data-v-691a7cec]:has(.introduction-section){border-top:none}@container references-container (width<=900px){.section-container[data-v-691a7cec]{padding:0}}.section-accordion-wrapper[data-v-72fc9cfd]{padding:0 60px}.section-accordion[data-v-72fc9cfd]{width:100%;max-width:var(--refs-content-max-width);margin:auto;position:relative}.section-accordion-content[data-v-72fc9cfd]{flex-direction:column;gap:12px;padding-top:12px;display:flex}.section-accordion-button[data-v-72fc9cfd]{cursor:pointer;border-radius:var(--scalar-radius);width:100%;margin:-6px 0;padding:6px 0;display:flex}.section-accordion-chevron[data-v-72fc9cfd]{color:var(--scalar-color-3);position:absolute;top:12px;left:-22px}.section-accordion-button:hover .section-accordion-chevron[data-v-72fc9cfd]{color:var(--scalar-color-1)}.section-accordion-title[data-v-72fc9cfd]{flex-direction:column;flex:1;align-items:flex-start;padding:0 6px;display:flex}.section-accordion-title[data-v-72fc9cfd] .section-header-wrapper{grid-template-columns:1fr}.section-accordion-title[data-v-72fc9cfd] .section-header{margin-bottom:0}@container references-container (width<=900px){.section-accordion-chevron[data-v-72fc9cfd]{width:16px;top:14px;left:-16px}.section-accordion-wrapper[data-v-72fc9cfd]{padding:calc(var(--refs-viewport-offset)) 24px 0 24px}.section-content--with-columns[data-v-ade23b3d]{flex-direction:column;gap:24px}}.section-header[data-v-7607c44e]{font-size:var(--font-size,var(--scalar-heading-1));font-weight:var(--font-weight,var(--scalar-bold));color:var(--scalar-color-1);word-wrap:break-word;margin-top:0;line-height:1.45}.section-header.tight[data-v-7607c44e]{margin-bottom:6px}.section-header-label[data-v-9a218f12]{display:inline}.references-classic .introduction-description[data-v-0370764f] img{max-width:720px}.sticky-cards[data-v-41a61989]{top:calc(var(--refs-viewport-offset) + 24px);flex-direction:column;display:flex;position:sticky}.introduction-skeleton[data-v-41a61989]{background:var(--scalar-background-3);animation:1.5s infinite alternate introduction-skeleton-pulse-41a61989}@keyframes introduction-skeleton-pulse-41a61989{0%{opacity:1}to{opacity:.33}}.sticky-cards[data-v-e3e54d3a]{top:calc(var(--refs-viewport-offset) + 24px);flex-direction:column;display:flex;position:sticky}.introduction-card-item[data-v-dfab866f]{flex-direction:column;justify-content:flex-start;display:flex}.introduction-card-item[data-v-dfab866f]:empty{display:none}.introduction-card-item[data-v-dfab866f]:has(.description) .server-form-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.introduction-card-item[data-v-dfab866f] .request-item{border-bottom:0}.reference-models-anchor[data-v-8677fda0]{color:var(--scalar-color-1);align-items:center;padding-left:6px;font-size:20px;display:flex}.reference-models-label[data-v-8677fda0]{font-size:var(--scalar-mini);display:block}.reference-models-label[data-v-8677fda0] em{font-weight:var(--scalar-bold)}.show-more[data-v-43b0e3dd]{appearance:none;border:none;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-full);color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);justify-content:center;align-items:center;gap:6px;margin:auto;padding:8px 12px 8px 16px;display:flex;position:relative;top:-48px}.show-more[data-v-43b0e3dd]:hover{background:var(--scalar-background-2);cursor:pointer}.show-more[data-v-43b0e3dd]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container references-container (width<=900px){.show-more[data-v-43b0e3dd]{top:-24px}}.tag-section[data-v-c48b7c95]{margin-bottom:48px}.tag-name[data-v-c48b7c95]{text-transform:capitalize}.tag-description[data-v-c48b7c95]{text-align:left;padding-bottom:4px}.tag-section-group .tag-group-name[data-v-c48b7c95]{grid-template-columns:auto 1fr;align-self:stretch;gap:12px}.tag-group-name[data-v-c48b7c95]:after{content:"";background:var(--scalar-border-color);align-self:center;height:1px;display:block}:is(.tag-group-name[data-v-c48b7c95]:has(*>:hover),.tag-group-name[data-v-c48b7c95]:has(:focus-visible)){gap:32px}.tag-section-group .tag-section[data-v-c48b7c95]{margin-bottom:24px;padding-inline:0}.tag-section-group .tag-section[data-v-c48b7c95]:last-of-type{margin-bottom:0}.tag-section.tag-section-nested[data-v-c48b7c95]{padding-inline:0}.endpoint[data-v-7018bf3f]{white-space:nowrap;cursor:pointer;align-items:center;min-height:24px;text-decoration:none;display:flex}.endpoint:hover .endpoint-path[data-v-7018bf3f],.endpoint:focus-visible .endpoint-path[data-v-7018bf3f]{text-decoration:underline}.endpoint .post[data-v-7018bf3f],.endpoint .get[data-v-7018bf3f],.endpoint .delete[data-v-7018bf3f],.endpoint .put[data-v-7018bf3f]{white-space:nowrap}.endpoint-method[data-v-7018bf3f],.endpoint-path[data-v-7018bf3f]{color:var(--scalar-color-1);min-width:62px;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer;display:inline-flex}.endpoint-method[data-v-7018bf3f]{text-align:right}.endpoint-path[data-v-7018bf3f]{text-transform:initial;margin-left:12px}.deprecated[data-v-7018bf3f]{text-decoration:line-through}.endpoints-card[data-v-8352667b]{top:calc(var(--refs-viewport-offset) + 24px);font-size:var(--scalar-font-size-3);position:sticky}.endpoints[data-v-8352667b]{background:var(--scalar-background-2);width:100%;padding:10px 12px;overflow:auto}.section-container[data-v-fb0b5363]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.tag-section-container.tag-section-nested[data-v-fb0b5363]{padding-inline:0}.section-container.tag-section-collapsed[data-v-fb0b5363]{background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}.parameter-item[data-v-7704214c]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);flex-direction:column;display:flex;position:relative}.parameter-item-container[data-v-7704214c]{padding:0}.parameter-item-name[data-v-7704214c]{font-weight:var(--scalar-bold);font-size:var(--scalar-font-size-4);font-family:var(--scalar-font-code);color:var(--scalar-color-1);overflow-wrap:break-word;position:relative}.parameter-item-description[data-v-7704214c],.parameter-item-description-summary[data-v-7704214c]{font-size:var(--scalar-mini);color:var(--scalar-color-2)}.parameter-item-description-summary.parameter-item-description-summary[data-v-7704214c]>*{--markdown-line-height:var(--scalar-line-height-5)}.parameter-item-trigger~.parameter-item-container[data-v-7704214c] .property--level-0>.property-heading .property-detail-value{font-size:var(--scalar-micro)}.parameter-item-description[data-v-7704214c]{font-size:var(--scalar-small);color:var(--scalar-color-2);margin-top:6px;line-height:1.4}.parameter-item-description[data-v-7704214c] p{font-size:var(--scalar-small);color:var(--scalar-color-2);margin-top:4px}.parameter-item-trigger[data-v-7704214c]{line-height:var(--scalar-line-height-5);flex-wrap:wrap;align-items:baseline;gap:6px;padding:10px 0;display:flex}.parameter-item-trigger-open[data-v-7704214c]{padding-bottom:0}.async-api-label--protocol[data-v-8c3d15b8]{text-transform:uppercase;letter-spacing:.05em}.message[data-v-80db3925]{scroll-margin-top:var(--refs-viewport-offset)}.message-title[data-v-80db3925]{font-size:var(--scalar-heading-3);font-weight:var(--scalar-semibold);color:var(--scalar-color-1)}.message-description[data-v-80db3925]{text-align:left;padding-bottom:4px}.message-schema[data-v-80db3925]{margin-top:12px}.message-schema[data-v-80db3925]:first-child{margin-top:0}.message-schema-title[data-v-80db3925]{font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);margin-bottom:8px}.message-layout[data-v-80db3925]{gap:16px;display:grid}@container references-container (width>=900px){.message-layout[data-v-80db3925]:has(>.message-schemas):has(>.message-examples){grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:48px;display:grid}}.operation-path[data-v-58ef65df]{word-wrap:break-word;font-weight:var(--scalar-semibold);overflow:hidden}.deprecated[data-v-58ef65df]{text-decoration:line-through}.operation[data-v-e5ea8cc5]{scroll-margin-top:var(--refs-viewport-offset);border-top:var(--scalar-border-width) solid var(--scalar-border-color);grid-template:"heading heading""overview example""details example"1fr/minmax(0,1fr) minmax(0,1fr);column-gap:48px;margin-top:90px;padding-top:90px;display:grid}.operation--without-overview[data-v-e5ea8cc5]{grid-template-rows:auto 1fr;grid-template-areas:"heading heading""details example"}.operation-overview[data-v-e5ea8cc5]{grid-area:overview;min-width:0}.operation-details[data-v-e5ea8cc5]{grid-area:details;min-width:0;container:references-container/inline-size}.operation-example[data-v-e5ea8cc5]{grid-area:example;align-self:start}@container references-container (width<=900px){.operation[data-v-e5ea8cc5]{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading""overview""example""details";row-gap:16px}.operation--without-overview[data-v-e5ea8cc5]{grid-template-areas:"heading""example""details"}.operation-example[data-v-e5ea8cc5]{max-height:none;position:static}}.operation-header[data-v-e5ea8cc5]{flex-wrap:wrap;grid-area:heading;align-items:center;gap:8px;margin-bottom:24px;display:flex}.operation-title[data-v-e5ea8cc5]{font-size:var(--font-size,var(--scalar-heading-1));font-weight:var(--font-weight,var(--scalar-bold));color:var(--scalar-color-1);line-height:1.45}.operation-action--send[data-v-e5ea8cc5]{color:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-color-1) 28%);background:color-mix(in srgb, var(--scalar-color-blue), transparent 88%);border-color:color-mix(in srgb, var(--scalar-color-blue), transparent 78%)}.operation-action--receive[data-v-e5ea8cc5]{color:color-mix(in srgb, var(--scalar-color-green), var(--scalar-color-1) 28%);background:color-mix(in srgb, var(--scalar-color-green), transparent 88%);border-color:color-mix(in srgb, var(--scalar-color-green), transparent 78%)}.operation-description[data-v-e5ea8cc5]{text-align:left}.references-classic .operation[data-v-e5ea8cc5]{margin-top:48px;padding-top:48px}@container references-container (width<=900px){.operation[data-v-e5ea8cc5]{margin-top:48px;padding-top:48px}}.channel-section[data-v-f0107362]{margin-bottom:48px}.channel-section.channel-section-nested[data-v-f0107362]{padding-inline:0}.channel-description[data-v-f0107362]{text-align:left;padding-bottom:4px}.context-bar[data-v-bb5044fb]{height:48px;box-shadow:inset 0 var(--scalar-border-width) 0 var(--scalar-border-color);padding-inline:60px}.context-bar[data-stuck][data-v-bb5044fb]{box-shadow:inset 0 calc(var(--scalar-border-width) * -1) 0 var(--scalar-border-color)}@container references-container (width<=900px){.context-bar[data-v-bb5044fb]{padding-inline:24px}}.empty-state[data-v-31632782]{text-align:center;font-size:var(--scalar-mini);border-radius:var(--scalar-radius-lg);min-height:56px;color:var(--scalar-color-2);justify-content:center;align-items:center;margin:10px 0 10px 12px;display:flex}.rule-title[data-v-31632782]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);border-radius:var(--scalar-radius);margin:12px 0 6px;display:inline-block}.rule[data-v-31632782]{border-radius:var(--scalar-radius-lg);margin:0 12px}.rule-items[data-v-31632782]{counter-reset:list-number;border-left:1px solid var(--scalar-border-color);flex-direction:column;gap:12px;padding:12px 0;display:flex}.rule-item[data-v-31632782]{counter-increment:list-number;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-left:24px;overflow:hidden}.rule-item[data-v-31632782]:before{border:1px solid var(--scalar-border-color);content:" ";border-radius:0 0 0 var(--scalar-radius-lg);width:24px;height:6px;color:var(--scalar-color-1);border-top:0;border-right:0;margin-top:6px;display:block;position:absolute;transform:translate(-25px)}.tab[data-v-acfe5550]{font-size:var(--scalar-small);font-family:var(--scalar-font);font-weight:var(--scalar-font-normal);color:var(--scalar-color-2);line-height:calc(var(--scalar-small) + 2px);white-space:nowrap;cursor:pointer;text-transform:uppercase;background:0 0;border:none;margin-right:3px;padding:0;line-height:22px;position:relative}.tab[data-v-acfe5550]:before{content:"";z-index:0;border-radius:var(--scalar-radius);background:var(--scalar-background-3);opacity:0;width:calc(100% + 12px);height:calc(100% + 4px);position:absolute;top:-2px;left:-6px}.tab[data-v-acfe5550]:hover:before,.tab[data-v-acfe5550]:focus-visible:before{opacity:1}.tab[data-v-acfe5550]:focus-visible:before{outline:1px solid var(--scalar-focus-color)}.tab span[data-v-acfe5550]{z-index:1;position:relative}.tab-selected[data-v-acfe5550]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.tab-selected[data-v-acfe5550]:after{content:"";width:100%;height:1px;left:0;bottom:calc(var(--tab-list-padding-y) * -1);background:currentColor;position:absolute}.tab-list[data-v-49a8c0af]{--tab-list-padding-y:7px;--tab-list-padding-x:12px;padding:var(--tab-list-padding-y) var(--tab-list-padding-x);flex:1;gap:6px;display:flex;position:relative;overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-49a8c0af]{padding:0}.response-card[data-v-50b330bf]{font-size:var(--scalar-font-size-3)}.response-card-footer[data-v-50b330bf]{flex-flow:row-reverse wrap;flex-shrink:0;justify-content:start;column-gap:8px;padding:7px 12px;display:flex}.response-example-selector[data-v-50b330bf]{flex-shrink:0;margin:-4px}.response-description[data-v-50b330bf]{font-weight:var(--scalar-semibold);font-size:var(--scalar-small);color:var(--scalar-color--1);box-sizing:border-box;flex-grow:1}.response-description-markdown[data-v-50b330bf]{max-height:3lh}.response-description-markdown[data-v-50b330bf] *{margin:0}.schema-type[data-v-50b330bf]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);background:var(--scalar-background-3);border-radius:4px;margin-right:4px;padding:2px 4px}.schema-example[data-v-50b330bf]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-50b330bf]{margin:6px;display:block}.scalar-card-checkbox[data-v-50b330bf]{cursor:pointer;-webkit-user-select:none;user-select:none;min-height:17px;font-size:var(--scalar-small);font-weight:var(--scalar-font-normal);color:var(--scalar-color-2);white-space:nowrap;justify-content:center;align-items:center;gap:6px;width:fit-content;padding:7px 6px;display:flex;position:relative}.scalar-card-checkbox:has(.scalar-card-checkbox-input:focus-visible) .scalar-card-checkbox-checkmark[data-v-50b330bf]{outline:1px solid var(--scalar-focus-color)}.scalar-card-checkbox[data-v-50b330bf]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-50b330bf]{opacity:0;cursor:pointer;width:0;height:0;position:absolute}.scalar-card-checkbox-checkmark[data-v-50b330bf]{border-radius:var(--scalar-radius);background-color:#0000;background-color:var(--scalar-background-3);width:16px;height:16px;box-shadow:inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.scalar-card-checkbox[data-v-50b330bf]:has(.scalar-card-checkbox-input:checked){color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-50b330bf]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-50b330bf]:after{content:"";display:none;position:absolute}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-50b330bf]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-50b330bf]:after{border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;width:5px;height:9px;top:12.5px;right:11.5px;transform:rotate(45deg)}.request-body[data-v-544dfbf7]{margin-top:24px}.request-body-header[data-v-544dfbf7]{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-flow:wrap;justify-content:space-between;align-items:center;padding-bottom:12px;display:flex}.request-body-title[data-v-544dfbf7]{font-size:var(--scalar-font-size-2);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);align-items:center;gap:8px;display:flex}.request-body-required[data-v-544dfbf7]{font-size:var(--scalar-micro);color:var(--scalar-color-orange);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px;height:20px;padding:2px 8px;font-weight:400}.light-mode .request-body-required[data-v-544dfbf7]{color:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 32%)}.request-body-description[data-v-544dfbf7]{font-size:var(--scalar-small);width:100%;margin-top:6px}:is(.request-body-header+.request-body-schema[data-v-544dfbf7]:has(>.schema-card>.schema-card-description),.request-body-header+.request-body-schema[data-v-544dfbf7]:has(>.schema-card>.schema-properties>*>.property--level-0)){padding-top:8px}.request-body-description[data-v-544dfbf7] .markdown *{color:var(--scalar-color-2)!important}.show-api-client-button[data-v-f9ff7949]{appearance:none;white-space:nowrap;border-radius:var(--scalar-radius);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);color:var(--scalar-background-2);line-height:22px;font-family:var(--scalar-font);background:var(--scalar-button-1);cursor:pointer;box-sizing:border-box;outline-offset:2px;border:none;justify-content:center;align-items:center;padding:1px 6px;display:flex;position:relative;box-shadow:inset 0 0 0 1px #0000001a}.show-api-client-button span[data-v-f9ff7949],.show-api-client-button svg[data-v-f9ff7949]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-f9ff7949]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-f9ff7949]{margin-right:4px}.operation-title[data-v-ee2073f7]{justify-content:space-between;display:flex}.operation-details[data-v-ee2073f7]{flex-shrink:1;align-items:center;gap:9px;min-width:0;margin-top:0;display:flex}.operation-details[data-v-ee2073f7] .endpoint-anchor .scalar-button svg{width:16px;height:16px}.endpoint-type[data-v-ee2073f7]{z-index:0;width:60px;font-size:var(--scalar-small);text-transform:uppercase;font-weight:var(--scalar-bold);font-family:var(--scalar-font);flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:6px;display:flex;position:relative}.endpoint-type[data-v-ee2073f7]:after{content:"";z-index:-1;opacity:.15;border-radius:var(--scalar-radius);background:currentColor;position:absolute;inset:0}.endpoint-anchor[data-v-ee2073f7]{flex-shrink:1;align-items:center;min-width:0;display:flex}.endpoint-anchor.label[data-v-ee2073f7]{display:flex}.endpoint-label[data-v-ee2073f7]{min-width:0;color:var(--scalar-color-1);flex-shrink:1;align-items:baseline;gap:9px;display:flex}.endpoint-label-path[data-v-ee2073f7]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-ee2073f7] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-ee2073f7]{color:var(--scalar-color-2);font-size:var(--scalar-small);text-overflow:ellipsis;white-space:nowrap;flex-shrink:1000000000;overflow:hidden}.endpoint-try-hint[data-v-ee2073f7]{flex-shrink:0;padding:2px}.endpoint-copy[data-v-ee2073f7]{color:currentColor}.endpoint-copy[data-v-ee2073f7] svg{stroke-width:2px}.endpoint-content[data-v-ee2073f7]{grid-auto-columns:1fr;grid-auto-flow:row;gap:9px;padding:9px;display:grid}@media (width>=1000px){.endpoint-content[data-v-ee2073f7]{grid-auto-flow:column}}@container (width<=900px){.endpoint-content[data-v-ee2073f7]{grid-template-columns:1fr}}.endpoint-content[data-v-ee2073f7]>*{min-width:0}.endpoint-content[data-v-ee2073f7]:has(.property--tree,.parameter-item--tree,.callback-list-item--tree){padding-inline-start:calc(var(--schema-gutter,16px) + var(--schema-glyph-half,9px) + 6px)}:is(.operation-details-card-item[data-v-ee2073f7] .request-body-schema:has(.property--tree),.operation-details-card-item[data-v-ee2073f7] .callbacks-list:has(.callback-list-item--tree)){padding-inline-start:calc(var(--schema-gutter,16px) + var(--schema-glyph-half,9px) + 6px);padding-inline-end:9px}.endpoint-content[data-v-ee2073f7] .copy-link-trailing{display:none}.operation-details-card[data-v-ee2073f7]{flex-direction:column;gap:12px;min-width:0;display:flex}:is(.operation-details-card-item[data-v-ee2073f7] .parameter-list,.operation-details-card-item[data-v-ee2073f7] .callbacks-list){border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-top:0}.operation-details-card-item[data-v-ee2073f7]{flex-direction:column;gap:12px;display:flex}.operation-details-card-item[data-v-ee2073f7] .parameter-list-items{margin-bottom:0}.operation-details-card[data-v-ee2073f7] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.operation-details-card[data-v-ee2073f7] .parameter-list .parameter-list{margin-bottom:12px}.operation-details-card[data-v-ee2073f7] .parameter-item{margin:0;padding:0}.operation-details-card[data-v-ee2073f7] .property{margin:0;padding:9px}:is(.operation-details-card[data-v-ee2073f7] .parameter-list-title,.operation-details-card[data-v-ee2073f7] .request-body-title,.operation-details-card[data-v-ee2073f7] .callbacks-title){text-transform:uppercase;font-weight:var(--scalar-bold);font-size:var(--scalar-mini);color:var(--scalar-color-2);margin:0;padding:9px;line-height:1.33}.operation-details-card[data-v-ee2073f7] .request-body-description{border-top:var(--scalar-border-width) solid var(--scalar-border-color);margin-top:0;padding:9px 9px 0}.operation-details-card[data-v-ee2073f7] .request-body{border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width) solid var(--scalar-border-color);margin-top:0}.operation-details-card[data-v-ee2073f7] .request-body .schema-card--level-0>.schema-card-description{padding-inline:9px}.operation-details-card[data-v-ee2073f7] .request-body-header{border-bottom:0;padding-bottom:0}.operation-details-card[data-v-ee2073f7] .contents button{margin-right:9px}.operation-details-card[data-v-ee2073f7] .schema-card--open+.schema-card:not(.schema-card--open){margin-inline:9px;margin-bottom:9px}.operation-details-card[data-v-ee2073f7] .request-body-schema .property--level-0{padding:0}.operation-details-card[data-v-ee2073f7] .selected-content-type{margin-right:9px}.operation-example-card[data-v-ee2073f7]{top:calc(var(--refs-viewport-offset) + 24px);max-height:calc(var(--refs-viewport-height) - 48px);position:sticky}@media (width<=600px){.operation-example-card[data-v-ee2073f7]{max-height:unset;position:static}}.agent-button-container[data-v-10a4fb90]{color:var(--scalar-color-1);background:color-mix(in srgb, var(--scalar-background-3), white 15%);cursor:pointer;border-radius:var(--scalar-radius);z-index:2;align-items:center;height:100%;margin-right:4px;padding:1px 6px;display:flex;position:relative}.agent-button-container[data-v-10a4fb90]:hover:not(:focus-within){background:color-mix(in srgb, var(--scalar-background-3), white 20%)}.agent-button-container[data-v-10a4fb90]:focus-within{border-radius:var(--scalar-radius-lg);height:auto;margin-right:0;position:absolute;inset:2px}.agent-button-container[data-v-10a4fb90]:has(.ask-agent-scalar-input-not-empty){border-radius:var(--scalar-radius-lg);height:auto;margin-right:0;position:absolute;inset:2px}.agent-button-container[data-v-10a4fb90]:has(.ask-agent-scalar-input:focus-visible){outline-style:solid}.ask-agent-scalar-input[data-v-10a4fb90]{opacity:0;border:none;width:0;font-size:0}.agent-button-container:focus-within .ask-agent-scalar-input[data-v-10a4fb90]{width:100%;font-size:inherit;opacity:1;outline:none;padding-inline:4px;line-height:20px}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-input[data-v-10a4fb90]{width:100%;font-size:inherit;opacity:1;outline:none;padding-inline:4px;line-height:20px}.ask-agent-scalar-input[data-v-10a4fb90]::placeholder{color:var(--scalar-color-2);font-family:inherit}.ask-agent-scalar-input-label[data-v-10a4fb90]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold);margin-left:4px}.agent-button-container:focus-within .ask-agent-scalar-input-label[data-v-10a4fb90]{display:none}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-input-label[data-v-10a4fb90]{display:none}.ask-agent-scalar-send[data-v-10a4fb90]{background:var(--scalar-color-blue);color:#fff;border-radius:var(--scalar-radius);outline-offset:1px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:none}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-send[data-v-10a4fb90]{display:flex}.ask-agent-scalar-send[data-v-10a4fb90]:hover{background:color-mix(in srgb, var(--scalar-color-blue), transparent 10%)}.operation-layout[data-v-dd1d0853]{grid-template:"heading badge""description examples""details examples"1fr/1fr 1fr;gap:0 48px;display:grid}.operation-title[data-v-dd1d0853]{font-size:var(--font-size,var(--scalar-heading-1));font-weight:var(--font-weight,var(--scalar-bold));color:var(--scalar-color-1);grid-area:heading;margin-bottom:12px;line-height:1.45}.operation-auth[data-v-dd1d0853]{grid-area:badge;place-self:start end}.operation-description[data-v-dd1d0853]{grid-area:description;min-width:0}.operation-details[data-v-dd1d0853]{grid-area:details;min-width:0}.examples[data-v-dd1d0853]{min-width:0;top:calc(var(--refs-viewport-offset) + 24px);grid-area:examples;align-self:start;position:sticky}.examples[data-v-dd1d0853]>*{max-height:calc((var(--refs-viewport-height) - 60px) / 2);position:relative}.examples[data-v-dd1d0853]>:first-of-type:last-of-type{max-height:calc((var(--refs-viewport-height) - 60px))}@media (width<=600px){.examples[data-v-dd1d0853]>*{max-height:unset}}.deprecated[data-v-dd1d0853] *{text-decoration:line-through}@container references-container (width<=900px){.operation-layout[data-v-dd1d0853]{grid-template-columns:1fr;grid-template-areas:"badge""heading""description""examples""details";column-gap:0}.operation-auth[data-v-dd1d0853]{justify-self:start;margin-bottom:4px}.operation-description[data-v-dd1d0853]{margin-bottom:24px}.examples[data-v-dd1d0853]{position:static}}.section-flare[data-v-5cebff7a]{pointer-events:none;position:fixed;top:0;right:0}.references-container{container:references-container/inline-size}.ref-search-meta[data-v-b65d62db]{background:var(--scalar-background-1);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);border-top:var(--scalar-border-width) solid var(--scalar-border-color);gap:12px;padding:6px 12px;display:flex}text[data-v-efa38169]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.explore-sticker-blue[data-v-6b3b991b]{fill:#0082d0}@media (color-gamut:p3){.explore-sticker-blue[data-v-6b3b991b]{fill:#0084cb;fill:color(display-p3 0 .509804 .815686)}}text[data-v-6b3b991b]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.explore-sticker-purple[data-v-75b01ebd]{fill:#5a00da}@media (color-gamut:p3){.explore-sticker-purple[data-v-75b01ebd]{fill:#5a00d8;fill:color(display-p3 .321569 .011765 .819608)}}text[data-v-75b01ebd]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.explore-scalar-stickers[data-v-a27122a1] .explore-scalar-sticker{rotate:var(--sticker-rotate,0deg)}.explore-scalar-modal .scalar-modal{border-radius:28px;overflow:hidden}.explore-scalar-modal--vt .scalar-modal-layout,.explore-scalar-modal--vt .scalar-modal{opacity:1!important;animation:none!important;transform:none!important}.explore-scalar-wash{background-image:linear-gradient(90deg, var(--scalar-color-blue), var(--scalar-color-green) 16.6%, var(--scalar-color-accent) 24.9%, var(--scalar-color-orange) 41.5%, var(--scalar-color-yellow) 58.1%, var(--scalar-color-orange) 74.7%, var(--scalar-color-purple) 91.3%, var(--scalar-color-red));height:48px;-webkit-mask-image:radial-gradient(60% 60% at 50% 0,#000,#0000 80%);mask-image:radial-gradient(60% 60% at 50% 0,#000,#0000 80%)}.explore-scalar-modal .explore-scalar-hero .explore-scalar-sticker{transition:translate .36s cubic-bezier(.4,0,.2,1),rotate .36s cubic-bezier(.4,0,.2,1)}.explore-scalar-modal .explore-scalar-hero[data-marc] .explore-scalar-sticker{transition:translate .56s cubic-bezier(.32,.72,0,1),rotate .56s cubic-bezier(.32,.72,0,1)}.explore-scalar-modal .explore-scalar-hero[data-marc] [data-sticker=portals]{translate:46px 6px;rotate:-16deg}.explore-scalar-modal .explore-scalar-hero[data-marc] [data-sticker=sdks]{translate:-24px -18px;rotate:-12deg}.explore-scalar-modal .explore-scalar-hero[data-marc] [data-sticker=agent]{translate:-44px 6px;rotate:16deg}.explore-scalar-modal .explore-scalar-marc{opacity:0;transition:opacity .16s ease-in,scale .3s cubic-bezier(.4,0,.2,1),rotate .3s cubic-bezier(.4,0,.2,1),translate .3s cubic-bezier(.4,0,.2,1);translate:0 28px;rotate:-12deg;scale:.55}.explore-scalar-modal .explore-scalar-hero[data-marc] .explore-scalar-marc{opacity:1;transition:opacity .2s ease-out,scale .62s cubic-bezier(.34,1.35,.64,1),rotate .62s cubic-bezier(.34,1.35,.64,1),translate .62s cubic-bezier(.34,1.35,.64,1);translate:0;rotate:-4deg;scale:1}@media (prefers-reduced-motion:reduce){.explore-scalar-modal .explore-scalar-hero .explore-scalar-sticker,.explore-scalar-modal .explore-scalar-marc{transition:none}}:root[data-scalar-explore-vt] .explore-scalar-modal .scalar-modal{view-transition-name:scalar-explore-card}:root[data-scalar-explore-vt] .explore-scalar-modal--stickers [data-sticker=portals]{view-transition-name:scalar-explore-sticker-portals}:root[data-scalar-explore-vt] .explore-scalar-modal--stickers [data-sticker=sdks]{view-transition-name:scalar-explore-sticker-sdks}:root[data-scalar-explore-vt] .explore-scalar-modal--stickers [data-sticker=agent]{view-transition-name:scalar-explore-sticker-agent}:root[data-scalar-explore-vt]::view-transition-old(root){animation-duration:.3s}:root[data-scalar-explore-vt]::view-transition-new(root){animation-duration:.3s}:root[data-scalar-explore-vt]::view-transition-group(scalar-explore-card){animation-duration:.44s;animation-timing-function:cubic-bezier(.32,.72,0,1)}:root[data-scalar-explore-vt]::view-transition-group(scalar-explore-sticker-portals){animation-duration:.44s;animation-timing-function:cubic-bezier(.32,.72,0,1)}:root[data-scalar-explore-vt]::view-transition-group(scalar-explore-sticker-sdks){animation-duration:.44s;animation-timing-function:cubic-bezier(.32,.72,0,1)}:root[data-scalar-explore-vt]::view-transition-group(scalar-explore-sticker-agent){animation-duration:.44s;animation-timing-function:cubic-bezier(.32,.72,0,1)}:root[data-scalar-explore-vt]::view-transition-group(scalar-explore-card){z-index:1}:root[data-scalar-explore-vt]::view-transition-group(scalar-explore-sticker-portals){z-index:2;animation-timing-function:cubic-bezier(.34,1.2,.64,1)}:root[data-scalar-explore-vt]::view-transition-group(scalar-explore-sticker-sdks){z-index:2;animation-timing-function:cubic-bezier(.34,1.2,.64,1)}:root[data-scalar-explore-vt]::view-transition-group(scalar-explore-sticker-agent){z-index:2;animation-timing-function:cubic-bezier(.34,1.2,.64,1)}:root[data-scalar-explore-vt=open]::view-transition-group(scalar-explore-sticker-sdks){animation-delay:40ms}:root[data-scalar-explore-vt=open]::view-transition-group(scalar-explore-sticker-agent){animation-delay:80ms}:root[data-scalar-explore-vt]::view-transition-image-pair(scalar-explore-card){isolation:isolate;animation:.44s cubic-bezier(.32,.72,0,1) both scalar-explore-radius;overflow:clip}:root[data-scalar-explore-vt]::view-transition-old(scalar-explore-card){object-fit:cover;object-position:top center;mix-blend-mode:plus-lighter;width:100%;height:100%}:root[data-scalar-explore-vt]::view-transition-new(scalar-explore-card){object-fit:cover;object-position:top center;mix-blend-mode:plus-lighter;width:100%;height:100%}:root[data-scalar-explore-vt]::view-transition-old(scalar-explore-card){animation:.26s both scalar-explore-fade-out}:root[data-scalar-explore-vt]::view-transition-new(scalar-explore-card){animation:.26s both scalar-explore-fade-in}:root[data-scalar-explore-vt=close]::view-transition-image-pair(scalar-explore-card){animation-direction:reverse}@keyframes scalar-explore-radius{0%{border-radius:var(--scalar-radius)}to{border-radius:28px}}@keyframes scalar-explore-fade-out{to{opacity:0}}@keyframes scalar-explore-fade-in{0%{opacity:0}}:root[data-scalar-explore-vt]::view-transition-old(scalar-explore-sticker-portals){opacity:0;animation:none}:root[data-scalar-explore-vt]::view-transition-old(scalar-explore-sticker-sdks){opacity:0;animation:none}:root[data-scalar-explore-vt]::view-transition-old(scalar-explore-sticker-agent){opacity:0;animation:none}:root[data-scalar-explore-vt]::view-transition-new(scalar-explore-sticker-portals){object-fit:contain;mix-blend-mode:normal;width:100%;height:100%;animation:none}:root[data-scalar-explore-vt]::view-transition-new(scalar-explore-sticker-sdks){object-fit:contain;mix-blend-mode:normal;width:100%;height:100%;animation:none}:root[data-scalar-explore-vt]::view-transition-new(scalar-explore-sticker-agent){object-fit:contain;mix-blend-mode:normal;width:100%;height:100%;animation:none}:root[data-scalar-explore-vt=close]::view-transition-group(scalar-explore-card){animation-duration:.32s;animation-timing-function:cubic-bezier(.4,0,.2,1);animation-delay:0s}:root[data-scalar-explore-vt=close]::view-transition-group(scalar-explore-sticker-portals){animation-duration:.32s;animation-timing-function:cubic-bezier(.4,0,.2,1);animation-delay:0s}:root[data-scalar-explore-vt=close]::view-transition-group(scalar-explore-sticker-sdks){animation-duration:.32s;animation-timing-function:cubic-bezier(.4,0,.2,1);animation-delay:0s}:root[data-scalar-explore-vt=close]::view-transition-group(scalar-explore-sticker-agent){animation-duration:.32s;animation-timing-function:cubic-bezier(.4,0,.2,1);animation-delay:0s}@media (prefers-reduced-motion:reduce){:root[data-scalar-explore-vt]::view-transition-group(*){animation:none!important}:root[data-scalar-explore-vt]::view-transition-old(*){animation:none!important}:root[data-scalar-explore-vt]::view-transition-new(*){animation:none!important}}.explore-scalar-modal:not(.explore-scalar-modal--vt) .explore-scalar-hero .explore-scalar-sticker{animation:.36s cubic-bezier(.34,1.3,.4,1) both scalar-explore-sticker-pop}.explore-scalar-modal:not(.explore-scalar-modal--vt) .explore-scalar-hero [data-sticker=sdks]{animation-delay:60ms}.explore-scalar-modal:not(.explore-scalar-modal--vt) .explore-scalar-hero [data-sticker=agent]{animation-delay:.12s}@keyframes scalar-explore-sticker-pop{0%{opacity:0;transform:translateY(10px)scale(.92)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.explore-scalar-modal .explore-scalar-sticker{animation:none!important}}@media (width<=1000px){.agent-scalar.agent-scalar[data-v-7081e73d]{border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg);inset-inline:0;top:48px}.agent-scalar.agent-scalar[data-v-7081e73d],.agent-scalar-overlay.agent-scalar-overlay[data-v-7081e73d]{z-index:15}}.explore-scalar-card[data-v-acfffa01]{--explore-ease-out:cubic-bezier(.32, .72, 0, 1);--explore-ease-in:cubic-bezier(.4, 0, .2, 1);--explore-highlight:#ffffffb3;border:var(--scalar-border-width) solid var(--scalar-border-color)}.dark-mode .explore-scalar-card[data-v-acfffa01]{--explore-highlight:#ffffff0f}.explore-scalar-reveal[data-v-acfffa01]{transition:grid-template-rows .24s var(--explore-ease-in);grid-template-rows:0fr}.explore-scalar-pill[data-v-acfffa01]{transition:padding .24s var(--explore-ease-in);padding:0}.explore-scalar-cta[data-v-acfffa01]:focus-visible{outline-offset:-2px;outline-width:2px}.explore-scalar-cta[data-v-acfffa01]{border-radius:var(--scalar-radius);box-shadow:inset 0 1px 0 0 var(--explore-highlight);transition:flex-grow .24s var(--explore-ease-in), border-radius .24s var(--explore-ease-in);flex:auto}.explore-scalar-cta[data-v-acfffa01]:after{content:"";border-radius:inherit;box-shadow:inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color);opacity:0;pointer-events:none;transition:opacity .2s var(--explore-ease-in);position:absolute;inset:0}.explore-scalar-card[data-v-acfffa01] .explore-scalar-sticker,.explore-scalar-headline[data-v-acfffa01]{opacity:0;transition:opacity .16s var(--explore-ease-in), translate .16s var(--explore-ease-in), scale .16s var(--explore-ease-in);translate:0 8px}.explore-scalar-card[data-v-acfffa01] .explore-scalar-sticker{scale:.92}.explore-scalar-card[data-lifted][data-v-acfffa01]{visibility:hidden}.explore-scalar-card[data-expanded] .explore-scalar-reveal[data-v-acfffa01]{transition:grid-template-rows .36s var(--explore-ease-out);grid-template-rows:1fr}.explore-scalar-card[data-expanded] .explore-scalar-pill[data-v-acfffa01]{transition:padding .36s var(--explore-ease-out);padding:12px 0}.explore-scalar-card[data-expanded] .explore-scalar-cta[data-v-acfffa01]{border-radius:var(--scalar-radius-full);transition:flex-grow .36s var(--explore-ease-out), border-radius .36s var(--explore-ease-out);flex-grow:0}.explore-scalar-card[data-expanded] .explore-scalar-cta[data-v-acfffa01]:after{opacity:1;transition:opacity .2s var(--explore-ease-out)}.explore-scalar-card[data-expanded][data-v-acfffa01] .explore-scalar-sticker,.explore-scalar-card[data-expanded] .explore-scalar-headline[data-v-acfffa01]{opacity:1;transition:opacity .22s var(--explore-ease-out), translate .32s var(--explore-ease-out), scale .32s var(--explore-ease-out);translate:0;scale:1}.explore-scalar-card[data-expanded][data-v-acfffa01] [data-sticker=portals]{transition-delay:.12s}.explore-scalar-card[data-expanded][data-v-acfffa01] [data-sticker=sdks]{transition-delay:.16s}.explore-scalar-card[data-expanded][data-v-acfffa01] [data-sticker=agent]{transition-delay:.2s}.explore-scalar-card[data-expanded] .explore-scalar-headline[data-v-acfffa01]{transition-delay:.22s}.explore-scalar-card[data-instant][data-v-acfffa01],.explore-scalar-card[data-instant][data-v-acfffa01] *,.explore-scalar-card[data-instant] .explore-scalar-cta[data-v-acfffa01]:after{transition-duration:0s!important;transition-delay:0s!important}@media (prefers-reduced-motion:reduce){.explore-scalar-card[data-v-acfffa01],.explore-scalar-card[data-v-acfffa01] *,.explore-scalar-card .explore-scalar-cta[data-v-acfffa01]:after{transition-duration:.01ms!important;transition-delay:0s!important}.explore-scalar-card[data-v-acfffa01] .explore-scalar-sticker,.explore-scalar-headline[data-v-acfffa01]{translate:0;scale:1}}:root{--scalar-loaded-api-reference:true}.asyncapi-sidebar-document-section>.group\\/spacer-after{height:0}@layer scalar-config{.scalar-api-reference[data-v-f08574be]{--refs-header-height:calc(var(--scalar-custom-header-height,0px) + var(--scalar-header-height,0px));--refs-viewport-offset:calc(var(--refs-header-height,0px) + var(--refs-content-offset,0px));--refs-viewport-height:calc(var(--full-height,100dvh) - var(--refs-viewport-offset,0px));--refs-sidebar-width:var(--scalar-sidebar-width,0px);--refs-sidebar-height:calc(var(--full-height,100dvh) - var(--refs-header-height,0px));--refs-content-max-width:var(--scalar-content-max-width,1540px)}.scalar-api-reference.references-classic[data-v-f08574be]{--refs-content-max-width:var(--scalar-content-max-width,1420px);--refs-sidebar-width:0;min-height:100dvh}.references-sidebar[data-v-f08574be]{--refs-sidebar-width:var(--scalar-sidebar-width,288px)}}.t-doc__sidebar[data-v-f08574be]{z-index:10}.references-layout[data-v-f08574be]{--full-height:100dvh;grid-template-rows:var(--scalar-header-height,0px) repeat(2, auto);background:var(--scalar-background-1);flex:1;grid-template-columns:auto 1fr;grid-template-areas:"header header""navigation rendered""footer footer";min-width:100%;max-width:100%;min-height:100dvh;display:grid}.references-editor[data-v-f08574be]{background:var(--scalar-background-1);grid-area:editor;min-width:0;display:flex}.references-rendered[data-v-f08574be]{background:var(--scalar-background-1);grid-area:rendered;min-width:0;position:relative}.scalar-api-reference.references-classic[data-v-f08574be],.references-classic .references-rendered[data-v-f08574be]{height:initial!important;max-height:initial!important}.references-classic .references-rendered[data-v-f08574be]{padding-bottom:80px}.references-footer[data-v-f08574be]{grid-area:footer}@media (width<1000px){.references-developer-tools[data-v-f08574be]{display:none}.references-layout[data-v-f08574be]{--refs-sidebar-height:calc(var(--full-height,100dvh) - var(--scalar-custom-header-height,0px));grid-template-columns:100%;grid-template-rows:var(--scalar-header-height,0px) 0px auto auto;grid-template-areas:"header""navigation""rendered""footer"}.references-editable[data-v-f08574be]{grid-template-areas:"header""navigation""editor"}.references-rendered[data-v-f08574be]{position:static}.scalar-api-references-standalone-mobile[data-v-f08574be]:not(.references-classic){--scalar-header-height:50px}}.darklight-reference[data-v-f08574be]{width:100%;margin-top:auto}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
+/*!
+* _____ _________ __ ___ ____
+* / ___// ____/ | / / / | / __ \
+* \__ \/ / / /| | / / / /| | / /_/ /
+* ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
+* /____/\____/_/ |_/_____/_/ |_/_/ |_|
+*
+* @scalar/api-reference 1.76.0
+*
+* Website: https://scalar.com
+* GitHub: https://github.com/scalar/scalar
+* License: https://github.com/scalar/scalar/blob/main/LICENSE
+**/
+(function(e,t){typeof exports==`object`&&typeof module<`u`?t(require("radix-vue/namespaced")):typeof define==`function`&&define.amd?define([`radix-vue/namespaced`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e[`{}`]))})(this,function(e){var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},c=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),l=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},u=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},d=(e,r,i)=>(i=e==null?{}:t(a(e)),u(r||!e||!e.__esModule||!o.call(e,`default`)?n(i,`default`,{value:e,enumerable:!0}):i,e)),f,p,m=s((()=>{f=`Models`,p=e=>!!(!Array.isArray(e)&&e&&`sources`in e&&Array.isArray(e.sources))})),h=s((()=>{m()})),g,_=s((()=>{g=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}})),v,y,b=s((()=>{_(),v=(e,t,n)=>{if(!e)return!1;let r=g(t)||Array.isArray(t);if(r&&n.get(t)?.has(e))return!0;if(r){let r=n.get(t)??new Set;r.add(e),n.set(t,r)}try{return e.type===`any`||e.type===`unknown`?!0:e.type===`function`?typeof t==`function`:e.type===`number`?typeof t==`number`&&!Number.isNaN(t)&&Number.isFinite(t):e.type===`string`?typeof t==`string`:e.type===`boolean`?typeof t==`boolean`:e.type===`nullable`?t===null:e.type===`notDefined`?t===void 0:e.type===`array`?Array.isArray(t)&&t.every(t=>v(e.items,t,n)):e.type===`record`?g(t)?Object.keys(t).every(r=>v(e.key,r,n)&&v(e.value,t[r],n)):!1:e.type===`object`?g(t)?Object.keys(e.properties).every(r=>v(e.properties[r],t[r],n)):!1:e.type===`optional`?t===void 0||v(e.schema,t,n):e.type===`union`?e.schemas.some(e=>v(e,t,n)):e.type===`intersection`?e.schemas.length===0?!0:g(t)?e.schemas.every(e=>v(e,t,n)):!1:e.type===`literal`?t===e.value:e.type===`lazy`?v(e.schema(),t,n):e.type===`evaluate`?v(e.schema,e.expression(t),n):(console.warn(`Unknown schema type:`,e),!1)}finally{r&&n.get(t)?.delete(e)}},y=(e,t,n=new WeakMap)=>v(e,t,n)})),x,ee,te,ne,re,ie,ae,oe,se,ce=s((()=>{_(),b(),x=3,ee=64,te=1e3,ne=(e,t)=>{let n=t.get(e);if(n)return n;let r=e.schema();return t.set(e,r),r},re=e=>e.type===`optional`?re(e.schema):e.type===`literal`||e.type===`union`&&e.schemas.length>0&&e.schemas.every(re),ie=(e,t,n,r=new WeakMap,i=0,a=0)=>{if(e.type===`literal`)return+(t===e.value);if(e.type===`array`)return+!!Array.isArray(t);if(e.type===`record`)return+!!g(t);if(e.type===`optional`&&t===void 0)return 1;let o=g(t);if(o&&r.get(t)?.has(e))return 1;if(o){let n=r.get(t)??new Set;n.add(e),r.set(t,n)}try{if(e.type===`object`){if(!o)return 0;let s=Object.keys(e.properties);return s.length===0?1:s.reduce((o,s)=>{if(!(s in t))return o;let c=e.properties[s],l=t[s],u=re(c),d=i>=x,f=d?i:i+1,p=d&&!u?1:ie(c,l,n,r,f,a);return u?o+(p>0?p*10:0):o+(p>0?p:1)},0)}return e.type===`optional`?ie(e.schema,t,n,r,i,a):e.type===`union`?Math.max(...e.schemas.map(e=>ie(e,t,n,r,i,a))):e.type===`intersection`?e.schemas.length===0?1:e.schemas.reduce((e,o)=>e+ie(o,t,n,r,i,a),0):e.type===`lazy`?a>=ee?1:ie(ne(e,n),t,n,r,i,a+1):e.type===`evaluate`?ie(e.schema,e.expression(t),n,r,i,a):+!!y(e,t)}finally{o&&r.get(t)?.delete(e)}},ae=(e,t,n,r)=>{if(g(e)||Array.isArray(e)){let i=r.get(e)||new Map;i.set(t,n),r.set(e,i)}},oe=(e,t,n,r,i,a)=>{if(i>=te)return a.emitted||(a.emitted=!0,console.warn(`[@scalar/validation] coerce stopped at nesting depth ${te}; deeper values are left as-is.`)),t;if((g(t)||Array.isArray(t))&&n.get(t)?.has(e))return n.get(t)?.get(e);if(!e||e.type===`any`||e.type===`unknown`)return t;if(e.type===`function`)return typeof t==`function`?t:()=>void 0;if(e.type===`number`)return y(e,t)?t:e.default??0;if(e.type===`string`)return y(e,t)?t:e.default??``;if(e.type===`boolean`)return y(e,t)?t:e.default??!1;if(e.type===`nullable`)return null;if(e.type!==`notDefined`){if(e.type===`optional`)return t===void 0?void 0:oe(e.schema,t,n,r,i+1,a);if(e.type===`array`){if(!Array.isArray(t))return[];let o=Array(t.length);ae(t,e,o,n);for(let s=0;s<t.length;s++)o[s]=oe(e.items,t[s],n,r,i+1,a);return o}if(e.type===`record`){if(!g(t))return{};let o={};ae(t,e,o,n);for(let s of Object.keys(t))o[s]=oe(e.value,t[s],n,r,i+1,a);return o}if(e.type===`object`){let o=Object.keys(e.properties),s=g(t)?t:null,c={};ae(t,e,c,n);for(let t of o){let o=e.properties[t],l=s?.[t];(o.type!==`optional`||l!==void 0)&&(c[t]=oe(o,l,n,r,i+1,a))}return c}if(e.type===`union`){let o=e.schemas.reduce((e,n)=>{let i=ie(n,t,r);return i>e.score?{schema:n,score:i}:e},{schema:e.schemas[0],score:0});return oe(o.schema,t,n,r,i+1,a)}return e.type===`intersection`?e.schemas.reduce((e,o)=>Object.assign(e,oe(o,t,n,r,i+1,a)),{}):e.type===`literal`?e.value:e.type===`lazy`?oe(ne(e,r),t,n,r,i+1,a):e.type===`evaluate`?oe(e.schema,e.expression(t),n,r,i+1,a):(console.warn(`Unknown schema type:`,e),t)}},se=(e,t,n=new WeakMap,r=new WeakMap)=>oe(e,t,n,r,0,{emitted:!1})})),le,S,ue,de,fe,pe,me,he,ge,C,_e,ve,w,ye,be,xe,Se=s((()=>{le=e=>({type:`number`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),S=e=>({type:`string`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),ue=e=>({type:`boolean`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),de=e=>({type:`nullable`,typeName:e?.typeName,typeComment:e?.typeComment}),fe=e=>({type:`any`,typeName:e?.typeName,typeComment:e?.typeComment}),pe=e=>({type:`unknown`,typeName:e?.typeName,typeComment:e?.typeComment}),me=e=>({type:`function`,typeName:e?.typeName,typeComment:e?.typeComment}),he=(e,t)=>({type:`array`,items:e,typeName:t?.typeName,typeComment:t?.typeComment}),ge=(e,t,n)=>({type:`record`,key:e,value:t,typeName:n?.typeName,typeComment:n?.typeComment}),C=(e,t)=>({type:`object`,properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),_e=(e,t)=>({type:`union`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),ve=(e,t)=>({type:`intersection`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),w=(e,t)=>({type:`optional`,schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),ye=e=>({type:`literal`,value:e}),be=e=>({type:`lazy`,schema:e}),xe=(e,t)=>({type:`evaluate`,expression:e,schema:t})})),Ce=s((()=>{ce(),Se(),b()})),we,Te,Ee=s((()=>{Ce(),C({name:S({typeComment:"Name of specification extension property. Has to start with `x-`."}),component:pe({typeComment:`Vue component to render the specification extension`}),renderer:w(pe({typeComment:`Custom renderer to render the specification extension`}))}),we=C({component:pe({typeComment:`Vue component to render in the view`}),renderer:w(pe({typeComment:`Custom renderer to render the view component (e.g., ReactRenderer)`})),props:w(ge(S(),fe()),{typeComment:`Additional props to pass to the component`}),sidebar:w(C({show:ue(),label:S()}),{typeComment:`Sidebar configuration. Set show: true to display in sidebar.`})}),C({"content.start":w(he(we),{typeComment:`Components to render before the Introduction/Info section`}),"content.end":w(he(we),{typeComment:`Components to render at specific views in the API Reference`})}),C({onInit:w(me()),onConfigChange:w(me()),onDestroy:w(me())}),Te=me()})),De,Oe,ke=s((()=>{Ce(),De=C({dashboardUrl:S({default:`https://dashboard.scalar.com`}),registryUrl:S({default:`https://registry.scalar.com`}),proxyUrl:S({default:`https://proxy.scalar.com`}),apiBaseUrl:S({default:`https://api.scalar.com`})},{typeComment:`External service URLs used by Scalar packages`}),Oe=C({title:w(S(),{typeComment:`The title of the OpenAPI document.`}),slug:w(S(),{typeComment:`The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. If no title is used, it will just use the index.`}),authentication:w(fe(),{typeComment:`Prefill authentication`}),baseServerURL:w(S(),{typeComment:`Base URL for the API server`}),hideClientButton:ue({default:!1,typeComment:`Whether to hide the client button`}),proxyUrl:w(S(),{typeComment:`URL to a request proxy for the API client`}),oauth2RedirectUri:w(S(),{typeComment:`Default OAuth 2.0 redirect URI used to prefill auth flows in the API client.`}),searchHotKey:w(_e([ye(`a`),ye(`b`),ye(`c`),ye(`d`),ye(`e`),ye(`f`),ye(`g`),ye(`h`),ye(`i`),ye(`j`),ye(`k`),ye(`l`),ye(`m`),ye(`n`),ye(`o`),ye(`p`),ye(`q`),ye(`r`),ye(`s`),ye(`t`),ye(`u`),ye(`v`),ye(`w`),ye(`x`),ye(`y`),ye(`z`)]),{typeComment:`Key used with CTRL/CMD to open the search modal (defaults to 'k' e.g. CMD+k)`}),servers:w(he(fe()),{typeComment:`List of OpenAPI server objects`}),showSidebar:ue({default:!0,typeComment:`Whether to show the sidebar`}),showDeveloperTools:_e([ye(`localhost`),ye(`always`),ye(`never`)],{typeComment:`Whether and when to show the developer tools.`}),showToolbar:_e([ye(`localhost`),ye(`always`),ye(`never`)],{typeComment:`@deprecated Use showDeveloperTools instead`}),operationTitleSource:_e([ye(`summary`),ye(`path`)],{typeComment:`Whether to use the operation summary or the operation path for the sidebar and search`}),theme:_e([ye(`default`),ye(`alternate`),ye(`moon`),ye(`purple`),ye(`solarized`),ye(`bluePlanet`),ye(`deepSpace`),ye(`saturn`),ye(`kepler`),ye(`elysiajs`),ye(`fastify`),ye(`mars`),ye(`laserwave`),ye(`none`)],{typeComment:`A string to use one of the color presets`}),_integration:w(_e([ye(`adonisjs`),ye(`astro`),ye(`docusaurus`),ye(`dotnet`),ye(`elysiajs`),ye(`express`),ye(`fastapi`),ye(`fastify`),ye(`go`),ye(`hono`),ye(`html`),ye(`laravel`),ye(`litestar`),ye(`nestjs`),ye(`nextjs`),ye(`nitro`),ye(`nuxt`),ye(`platformatic`),ye(`react`),ye(`rust`),ye(`svelte`),ye(`vue`),de()]),{typeComment:`Integration type identifier`}),onRequestSent:w(me(),{typeComment:`onRequestSent is fired when a request is sent`}),persistAuth:ue({default:!1,typeComment:`Whether to persist auth to local storage`}),telemetry:ue({default:!0,typeComment:`Enables / disables telemetry`}),externalUrls:De})})),Ae,je,Me=s((()=>{Ce(),Ae=_e([S(),de(),ge(S(),fe()),me()]),je=C({default:ue({default:!1}),url:w(S(),{typeComment:`URL to an OpenAPI/Swagger document`}),content:w(Ae,{typeComment:`Directly embed the OpenAPI document. Can be a string, object, function returning an object, or null. It is recommended to pass a URL instead of content.`}),title:w(S(),{typeComment:"The title of the OpenAPI document. Used for the page title and the document name in the dropdown. With multiple `sources`, set this per source."}),slug:w(S(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. With multiple `sources`, set this per source."}),spec:w(C({url:w(S()),content:w(Ae)}),{typeComment:"@deprecated Use `url` and `content` on the top level instead."}),agent:w(C({key:w(S()),disabled:w(ue()),hideAddApi:w(ue(),{typeComment:`When true, hide the control to add more APIs in the agent chat. Only preloaded/registry documents are shown; the public API list is not offered.`})}),{typeComment:`Agent Scalar configuration`})})})),Ne,Pe,Fe,Ie,Le=s((()=>{h(),Ce(),Ee(),ke(),Me(),Ne=ve([Oe,je,C({layout:_e([ye(`modern`),ye(`classic`)],{typeComment:`The layout to use for the references`}),proxy:w(S(),{typeComment:`@deprecated Use proxyUrl instead`}),fetch:w(me(),{typeComment:"@deprecated Use `customFetch` instead."}),customFetch:w(me(),{typeComment:"Custom fetch function used both when loading the OpenAPI document and when sending requests from the API client. Can be used to add custom headers, attach credentials (for example `credentials: 'include'`), handle auth, etc."}),plugins:w(he(Te),{typeComment:`Plugins for the API reference`}),pluginUrls:w(he(S()),{typeComment:"URLs of ESM modules that provide additional plugins for the API reference. Each module is loaded with a dynamic `import()` before the API reference mounts, and its default export is registered as a plugin. Unlike `plugins`, this option is JSON-serializable, so integrations that pass their configuration as JSON can load plugins without replacing the whole bundle. Only supported by the standalone browser build (`Scalar.createApiReference`)."}),isEditable:ue({default:!1,typeComment:`Allows the user to inject an editor for the spec`}),hideModels:ue({default:!1,typeComment:`Whether to show models in the sidebar, search, and content.`}),hideModelNames:ue({default:!1,typeComment:`Show structural types instead of model names in schema type labels and operation headings. Model section headings and composition selector labels keep their names.`}),modelsSectionLabel:w(_e([ye(`Models`),ye(`Schemas`),S()]),{typeComment:"Label for the components.schemas section in the sidebar, content, and search. Use `Schemas` for OpenAPI terminology."}),localization:w(C({locale:w(S()),direction:w(_e([ye(`auto`),ye(`ltr`),ye(`rtl`)])),translations:w(ge(S(),fe()))}),{typeComment:`API Reference UI localization. Select a built-in locale, override labels, and control LTR/RTL rendering.`}),documentDownloadType:_e([ye(`both`),ye(`yaml`),ye(`json`),ye(`direct`),ye(`none`)],{typeComment:"Sets the file type of the document to download, set to `none` to hide the download button"}),hideDownloadButton:w(ue(),{typeComment:"@deprecated Use `documentDownloadType: 'none'` instead"}),hideTestRequestButton:ue({default:!1,typeComment:`Whether to show the "Test Request" button`}),hideSearch:ue({default:!1,typeComment:`Whether to show the sidebar search bar`}),showExtensions:w(he(S()),{typeComment:`Extension keys to display on operations, parameters, response headers, and schema fields. Keys must start with x-. Custom plugin components take precedence.`}),showOperationId:ue({default:!1,typeComment:`Whether to show the operationId`}),darkMode:w(ue(),{typeComment:`Whether dark mode is on or off initially (light mode)`}),forceDarkModeState:w(_e([ye(`dark`),ye(`light`)]),{typeComment:`forceDarkModeState makes it always this state no matter what`}),hideDarkModeToggle:ue({default:!1,typeComment:`Whether to show the dark mode toggle`}),metaData:w(fe(),{typeComment:`If used, passed data will be added to the HTML header. @see https://unhead.unjs.io/usage/composables/use-seo-meta`}),favicon:w(S(),{typeComment:`Path to a favicon image`}),hiddenClients:w(_e([ge(S(),_e([ue(),he(S())])),he(S()),ye(!0)]),{typeComment:"List of httpsnippet clients to hide from the clients menu. By default hides Unirest, pass `[]` to show all clients"}),featuredClients:w(he(S()),{typeComment:`Clients shown as tabs in the "Client Libraries" block, in order. The rest stay available in the "More" menu`}),defaultHttpClient:w(C({targetKey:S(),clientKey:S()}),{typeComment:`Determine the HTTP client that is selected by default`}),defaultRequestBodyView:w(_e([ye(`form`),ye(`raw`)]),{typeComment:`Initial view for the request body editor with structured (JSON/YAML) bodies`}),customCss:w(S(),{typeComment:`Custom CSS to be added to the page`}),onServerChange:w(me(),{typeComment:`onServerChange is fired on selected server change`}),onDocumentSelect:w(me(),{typeComment:`onDocumentSelect is fired when the config is selected`}),onLoaded:w(me(),{typeComment:`Callback fired when the reference is fully loaded`}),onBeforeRequest:w(me(),{typeComment:`Fired before the outbound request is built; callback receives a mutable request builder. Experimental API.`}),onRequestBuilt:w(me(),{typeComment:`Fired right before the outbound request is sent; callback receives the exact fetch Request that goes over the wire. Experimental API.`}),onResponseReceived:w(me(),{typeComment:`Fired before response processing. Return a Response to replace it, or nothing to keep it.`}),onShowMore:w(me(),{typeComment:`onShowMore is fired when the user clicks the "Show more" button on the references`}),onSidebarClick:w(me(),{typeComment:`onSidebarClick is fired when the user clicks on a sidebar item`}),urlRouting:w(ue(),{typeComment:`Sync navigation with the browser URL. Set to false for embedded references that must leave the host URL and history alone. Defaults to true.`}),pathRouting:w(C({basePath:S()}),{typeComment:`Route using paths instead of hashes, your server MUST support this. @experimental`}),mcp:w(C({name:w(S(),{typeComment:`Display name for the MCP server`}),url:w(S(),{typeComment:`URL of the MCP server`}),disabled:w(ue(),{typeComment:`When true, disables the MCP integration`})}),{typeComment:`MCP (Model Context Protocol) configuration. When provided, enables MCP integration with the given name and url.`}),generateHeadingSlug:w(me(),{typeComment:`Customize the heading portion of the hash`}),generateModelSlug:w(me(),{typeComment:`Customize the model portion of the hash`}),generateTagSlug:w(me(),{typeComment:`Customize the tag portion of the hash`}),generateOperationSlug:w(me(),{typeComment:`Customize the operation portion of the hash`}),generateWebhookSlug:w(me(),{typeComment:`Customize the webhook portion of the hash`}),setPageTitle:w(me(),{typeComment:`Customize the browser tab title for the section currently in view`}),redirect:w(me(),{typeComment:`To handle redirects, pass a function that receives the current path/hash and passes that to history.replaceState`}),withDefaultFonts:ue({default:!0,typeComment:`Whether to include default fonts`}),defaultOpenFirstTag:ue({default:!0,typeComment:`Whether to expand the first tag in the sidebar when no specific URL target is present`}),defaultOpenAllTags:ue({default:!1,typeComment:`Whether to expand all tags by default. Warning: this can cause performance issues on big documents`}),expandAllModelSections:ue({default:!1,typeComment:`Whether to expand all models by default. Warning: this can cause performance issues on big documents`}),expandAllParameters:ue({default:!0,typeComment:`Whether to show parameter details by default. Set to false to collapse each parameter.`}),expandAllResponses:ue({default:!1,typeComment:`Whether to expand all responses by default. Warning: this can cause performance issues on big documents`}),expandAllSchemaProperties:ue({default:!1,typeComment:`Whether to expand all nested schema properties by default. Each row keeps its own disclosure control, so nested sections can still be collapsed manually. Warning: this can cause performance issues on big documents`}),maxVisibleRequestBodyProperties:xe(e=>typeof e==`number`&&Number.isSafeInteger(e)&&e>=0?e:12,le({default:12,typeComment:`Maximum initially visible top-level request body properties. Defaults to 12; 0 shows all without expanding nested properties.`})),tagsSorter:w(_e([ye(`alpha`),me()]),{typeComment:`Function to sort tags`}),operationsSorter:w(_e([ye(`alpha`),ye(`method`),me()]),{typeComment:`Function to sort operations`}),orderSchemaPropertiesBy:_e([ye(`alpha`),ye(`preserve`)],{typeComment:`Order the schema properties by`}),schemaKeyboardNav:ue({default:!1,typeComment:`Arrow-key navigation over the schema disclosure toggles (APG tree bindings). Off until screen-reader interaction questions are settled`}),orderRequiredPropertiesFirst:ue({default:!0,typeComment:`Sort the schema properties by required ones first`})})]),Pe=`https://api.scalar.com/request-proxy`,Fe=`https://proxy.scalar.com`,Ie=e=>{let t=se(Ne,e);return t.hideDownloadButton&&(console.warn(`[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead.`),t.documentDownloadType=`none`),t.spec?.url&&(console.warn(`[DEPRECATED] You're using the deprecated 'spec.url' attribute. Remove the spec prefix and move the 'url' attribute to the top level.`),t.url=t.spec.url,delete t.spec),t.spec?.content&&(console.warn(`[DEPRECATED] You're using the deprecated 'spec.content' attribute. Remove the spec prefix and move the 'content' attribute to the top level.`),t.content=t.spec.content,delete t.spec),t.proxy&&(console.warn(`[DEPRECATED] You're using the deprecated 'proxy' attribute. Use 'proxyUrl' instead.`),t.proxyUrl||=t.proxy,delete t.proxy),t.fetch&&(console.warn(`[DEPRECATED] You're using the deprecated 'fetch' attribute. Use 'customFetch' instead.`),t.customFetch||=t.fetch,delete t.fetch),t.proxyUrl===Pe&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${Pe}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${Fe}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${Fe}). Read more: https://github.com/scalar/scalar`),t.proxyUrl=Fe),t.showToolbar&&t.showToolbar!==`localhost`&&(console.warn(`[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead.`),t.showDeveloperTools=t.showToolbar,delete t.showToolbar),t.modelsSectionLabel??=f,t}})),Re=s((()=>{Le(),Ce()}));function ze(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function Be(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>ze(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var Ve=new Set([`link`,`style`,`script`,`noscript`]),He=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Ue=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),We=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),Ge=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Ke=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),qe=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Je=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),Ye={critical:-8,high:-1,low:2},Xe=e=>typeof e==`number`?Number.isFinite(e):e;function Ze(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function Qe(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>Qe(e,t,i+1,r))}catch(e){return Promise.reject(e)}}var $e=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return Qe(n.slice(),t,0)}};function et(e){let t=new $e;for(let n in e||{})t.hook(n,e[n]);return t}function tt(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}function nt(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>ze(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var rt=/^(?:viewport|description|keywords|robots)$/,eee=[`name`,`property`,`http-equiv`];function tee(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return Je.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function it(e){let{props:t,tag:n,key:r}=e;if(Ge.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of eee){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!rt.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:He.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function at(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return String(t);let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function ot(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=ot(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=Ze(n),a=i?void 0:ot(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var nee=/[\s"'<>/=\x00-\x1F\x7F]/;function ree(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function iee(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=Ue.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(Ze(r))continue;let i=r.startsWith(`data-`),a=n&&!Ke.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||nee.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=ree(r,s);else if(Ke.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function aee(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),ot(e,n)}function oee(e,t){let n=iee({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&Ve.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function see(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function cee(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=aee(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)see(n,oee(t,e));else see(n,oee(t,r))}}return n}var lee=/</g,uee=/<\/script/g,dee=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,fee=()=>100;function pee(e){for(let t in e)return!1;return!0}var mee=/^tags:|:render/;function hee(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function gee(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function _ee(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(dee)}function vee(e){let t=!1;for(let n of e.tags.sort(dee)){let r=n._d||at(n);if(!r)continue;let i=e.tagMap.get(r);if(!i)e.tagMap.set(r,n);else if((n.tagDuplicateStrategy||(qe.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&tee(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function yee(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function bee(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(We.has(i)&&(!pee(a)||Xe(r)||Xe(n.textContent))&&(i!==`meta`||Xe(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(lee,`\\u003C`):typeof e==`string`?e.replace(uee,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=it(n)}e[t++]=n}}return e.length=t,e}function xee(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??fee,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};hee(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&tt(e,`entries:resolve`,{entries:a,...r})),hee(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||pee(t.options)))a=t._precomputedTags;else{if(a=cee(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!pee(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};tt(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=it(r),r._d||(r._h=at(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&mee.test(e)){gee(r.tags);break}let o=vee(r);return yee(r,e),_ee(r,o),tt(e,`tags:beforeResolve`,r),tt(e,`tags:resolve`,r),tt(e,`tags:afterResolve`,r),bee(r.tags)}var See=/\s+/;function Cee(e={}){return t=>Eee(t,e)}function wee(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function Tee(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(See))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function Eee(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!wee(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(tt(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=Tee(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=xee(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};e.tag===`meta`&&e._d&&tee(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`?(n.title=e.textContent,o(`title:`,()=>n.title=d._t)):(i.$el=d._e.get(r),i.$el?c(i):Ue.has(e.tag)&&p.push(i))}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!Ue.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=iee({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=it(i)||at(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,tt(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||wee(e))&&Eee(e,t),a}var Dee=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Ye[e.tagPriority]||0);function Oee(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||Cee({document:e.document}),n=nt(Be(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:Dee,init:[]}),et(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}
+/**
+* @vue/shared v3.5.44
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/
+function st(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}function ct(e){if(St(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=Dt(r)?kee(r):ct(r);if(i)for(let e in i)t[e]=i[e]}return t}if(Dt(e)||kt(e))return e}function kee(e){let t={};return e.replace(Wee,e=>e.startsWith(`/*`)?``:e).split(Hee).forEach(e=>{if(e){let n=e.split(Uee);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function lt(e){let t=``;if(Dt(e))t=e;else if(St(e))for(let n=0;n<e.length;n++){let r=lt(e[n]);r&&(t+=r+` `)}else if(kt(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function ut(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Dt(t)&&(e.class=lt(t)),n&&(e.style=ct(n)),e}function Aee(e){return!!e||e===``}function jee(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=dt(e[i],t[i],n);return r}function Mee(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&dt(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function Nee(e,t,n){let r=Ct(e),i=Ct(t);if(r||i||(r=wt(e),i=wt(t),r||i))return r&&i?Mee(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!dt(e[r],t[r],n))return!1}return String(e)===String(t)}function Pee(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function dt(e,t,n){if(e===t)return!0;let r=Tt(e),i=Tt(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=Ot(e),i=Ot(t),r||i?e===t:(r=St(e),i=St(t),r||i?r&&i?Pee(e,t,n,jee):!1:(r=kt(e),i=kt(t),r||i?!r||!i?!1:Pee(e,t,n,Nee):String(e)===String(t))))}function ft(e,t){return e.findIndex(e=>dt(e,t))}function Fee(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var pt,mt,ht,gt,_t,vt,yt,bt,Iee,xt,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Lee,Nt,Pt,Ft,It,Ree,Lt,zee,Rt,zt,Bt,Vt,Ht,Ut,Wt,Bee,Vee,Gt,Hee,Uee,Wee,Gee,Kee,Kt,T,qt,Jt,Yt=s((()=>{pt={},mt=[],ht=()=>{},gt=()=>!1,_t=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vt=e=>e.startsWith(`onUpdate:`),yt=Object.assign,bt=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},Iee=Object.prototype.hasOwnProperty,xt=(e,t)=>Iee.call(e,t),St=Array.isArray,Ct=e=>Mt(e)===`[object Map]`,wt=e=>Mt(e)===`[object Set]`,Tt=e=>Mt(e)===`[object Date]`,Et=e=>typeof e==`function`,Dt=e=>typeof e==`string`,Ot=e=>typeof e==`symbol`,kt=e=>typeof e==`object`&&!!e,At=e=>(kt(e)||Et(e))&&Et(e.then)&&Et(e.catch),jt=Object.prototype.toString,Mt=e=>jt.call(e),Lee=e=>Mt(e).slice(8,-1),Nt=e=>Mt(e)===`[object Object]`,Pt=e=>Dt(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,Ft=st(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),It=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ree=/-\w/g,Lt=It(e=>e.replace(Ree,e=>e.slice(1).toUpperCase())),zee=/\B([A-Z])/g,Rt=It(e=>e.replace(zee,`-$1`).toLowerCase()),zt=It(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bt=It(e=>e?`on${zt(e)}`:``),Vt=(e,t)=>!Object.is(e,t),Ht=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ut=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Wt=e=>{let t=parseFloat(e);return isNaN(t)?e:t},Bee=e=>{let t=Dt(e)?Number(e):NaN;return isNaN(t)?e:t},Gt=()=>Vee||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},Hee=/;(?![^(]*\))/g,Uee=/:([^]+)/,Wee=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g,Gee=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`,Kee=st(Gee),Kt=e=>!!(e&&e.__v_isRef===!0),T=e=>Dt(e)?e:e==null?``:St(e)||kt(e)&&(e.toString===jt||!Et(e.toString))?Kt(e)?T(e.value):JSON.stringify(e,qt,2):String(e),qt=(e,t)=>Kt(t)?qt(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Jt(t,r)+` =>`]=n,e),{})}:wt(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Jt(e))}:Ot(t)?Jt(t):kt(t)&&!St(t)&&!Nt(t)?String(t):t,Jt=(e,t=``)=>Ot(e)?`Symbol(${e.description??t})`:e}));
+/**
+* @vue/reactivity v3.5.44
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/
+function qee(e){return new On(e)}function Xt(){return Dn}function Zt(e,t=!1){Dn&&Dn.cleanups.push(e)}function Jee(e,t=!1){e.flags|=8,t?(e.next=Pn,Pn=e):(e.next=Nn,Nn=e)}function Yee(){Mn++}function Xee(){if(--Mn>0)return;if(Pn){let e=Pn;for(Pn=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Nn;){let t=Nn;for(Nn=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Zee(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Qee(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),tte(r),nte(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function $ee(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ete(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ete(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ln)||(e.globalVersion=Ln,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!$ee(e))))return;e.flags|=2;let t=e.dep,n=kn,r=Fn;kn=e,Fn=!0;try{Zee(e);let n=e.fn(e._value);(t.version===0||Vt(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{kn=n,Fn=r,Qee(e),e.flags&=-3}}function tte(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)tte(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function nte(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Qt(){In.push(Fn),Fn=!1}function $t(){let e=In.pop();Fn=e===void 0||e}function rte(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=kn;kn=void 0;try{t()}finally{kn=e}}}function ite(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)ite(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}function en(e,t,n){if(Fn&&kn){let t=zn.get(e);t||zn.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Rn),r.map=t,r.key=n),r.track()}}function tn(e,t,n,r,i,a){let o=zn.get(e);if(!o){Ln++;return}let s=e=>{e&&e.trigger()};if(Yee(),t===`clear`)o.forEach(s);else{let i=St(e),a=i&&Pt(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===Hn||!Ot(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(Hn)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Bn)),Ct(e)&&s(o.get(Vn)));break;case`delete`:i||(s(o.get(Bn)),Ct(e)&&s(o.get(Vn)));break;case`set`:Ct(e)&&s(o.get(Bn))}}Xee()}function ate(e,t){let n=zn.get(e);return n&&n.get(t)}function nn(e){let t=xn(e);return t===e||(en(t,`iterate`,Hn),yn(e))?t:vn(e)?_n(e)?t.map(e=>Yn(Jn(e))):t.map(Yn):t.map(Jn)}function rn(e){return en(e=xn(e),`iterate`,Hn),e}function an(e,t){return vn(e)?Yn(_n(e)?Jn(t):t):Jn(t)}function on(e,t,n){let r=rn(e),i=r[t],a=i.call(r);if(r!==e&&!yn(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>ote(a.next(),n),i!==Un[t]&&Object.defineProperties(e,{return:{get(){let e=a.return;return typeof e==`function`?e.bind(a):e}},throw:{get(){let e=a.throw;return typeof e==`function`?e.bind(a):e}}}),e}a._next=a.next,a.next=()=>ote(a._next(),n)}return a}function ote(e,t){return e.done||(e.value=t(e.value)),e}function sn(e,t,n,r,i,a){let o=rn(e),s=o!==e&&!yn(e),c=o[t];if(c!==Un[t]){let t=c.apply(e,a);return s?Jn(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,an(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function ste(e,t,n,r){let i=rn(e),a=i!==e&&!yn(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=an(e,t)),n.call(this,t,an(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?an(e,c):c}function cn(e,t,n){let r=xn(e);en(r,`iterate`,Hn);let i=r[t](...n);return(i===-1||i===!1)&&bn(n[0])?(n[0]=xn(n[0]),r[t](...n)):i}function ln(e,t,n=[]){Qt(),Yee();let r=xn(e)[t].apply(e,n);return Xee(),$t(),r}function cte(e){Ot(e)||(e=String(e));let t=xn(this);return en(t,`has`,e),t.hasOwnProperty(e)}function lte(e,t,n){return function(...r){let i=this.__v_raw,a=xn(i),o=Ct(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?Kn:t?Yn:Jn;return!t&&en(a,`iterate`,c?Vn:Bn),yt(Object.create(l),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}function un(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function ute(e,t){let n={get(n){let r=this.__v_raw,i=xn(r),a=xn(n);e||(Vt(n,a)&&en(i,`get`,n),en(i,`get`,a));let{has:o}=qn(i),s=t?Kn:e?Yn:Jn;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&en(xn(t),`iterate`,Bn),t.size},has(t){let n=this.__v_raw,r=xn(n),i=xn(t);return e||(Vt(t,i)&&en(r,`has`,t),en(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=xn(a),s=t?Kn:e?Yn:Jn;return!e&&en(o,`iterate`,Bn),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return yt(n,e?{add:un(`add`),set:un(`set`),delete:un(`delete`),clear:un(`clear`)}:{add(e){let n=xn(this),r=qn(n),i=xn(e),a=!t&&!yn(e)&&!vn(e)?i:e;return r.has.call(n,a)||Vt(e,a)&&r.has.call(n,e)||Vt(i,a)&&r.has.call(n,i)||(n.add(a),tn(n,`add`,a,a)),this},set(e,n){!t&&!yn(n)&&!vn(n)&&(n=xn(n));let r=xn(this),{has:i,get:a}=qn(r),o=i.call(r,e);o||=(e=xn(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?Vt(n,s)&&tn(r,`set`,e,n,s):tn(r,`add`,e,n),this},delete(e){let t=xn(this),{has:n,get:r}=qn(t),i=n.call(t,e);i||=(e=xn(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&tn(t,`delete`,e,void 0,a),o},clear(){let e=xn(this),t=e.size!==0,n=e.clear();return t&&tn(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=lte(r,e,t)}),n}function dn(e,t){let n=ute(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(xt(n,i)&&i in r?n:r,i,a)}function dte(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function fn(e){return vn(e)?e:gn(e,!1,Ete,Ate,Pte)}function pn(e){return gn(e,!1,Ote,jte,Fte)}function mn(e){return gn(e,!0,Dte,Mte,Ite)}function hn(e){return gn(e,!0,kte,Nte,Lte)}function gn(e,t,n,r,i){if(!kt(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=dte(Lee(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function _n(e){return vn(e)?_n(e.__v_raw):!!(e&&e.__v_isReactive)}function vn(e){return!!(e&&e.__v_isReadonly)}function yn(e){return!!(e&&e.__v_isShallow)}function bn(e){return e?!!e.__v_raw:!1}function xn(e){let t=e&&e.__v_raw;return t?xn(t):e}function fte(e){return!xt(e,`__v_skip`)&&Object.isExtensible(e)&&Ut(e,`__v_skip`,!0),e}function Sn(e){return e?e.__v_isRef===!0:!1}function E(e){return pte(e,!1)}function Cn(e){return pte(e,!0)}function pte(e,t){return Sn(e)?e:new Rte(e,t)}function D(e){return Sn(e)?e.value:e}function wn(e){return Et(e)?e():D(e)}function mte(e){return _n(e)?e:new Proxy(e,zte)}function hte(e){return new Bte(e)}function gte(e){let t=St(e)?Array(e.length):{};for(let n in e)t[n]=_te(e,n);return t}function Tn(e,t,n){return Sn(e)?e:Et(e)?new Hte(e):kt(e)&&arguments.length>1?_te(e,t,n):E(e)}function _te(e,t,n){return new Vte(e,t,n)}function vte(e,t,n=!1){let r,i;return Et(e)?r=e:(r=e.get,i=e.set),new Ute(r,i,n)}function yte(e,t=!1,n=Qn){if(n){let t=Zn.get(n);t||Zn.set(n,t=[]),t.push(e)}}function bte(e,t,n=pt){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:c}=n,l=e=>i?e:yn(e)||i===!1||i===0?En(e,1):En(e),u,d,f,p,m=!1,h=!1;if(Sn(e)?(d=()=>e.value,m=yn(e)):_n(e)?(d=()=>l(e),m=!0):St(e)?(h=!0,m=e.some(e=>_n(e)||yn(e)),d=()=>e.map(e=>{if(Sn(e))return e.value;if(_n(e))return l(e);if(Et(e))return c?c(e,2):e()})):d=Et(e)?t?c?()=>c(e,2):e:()=>{if(f){Qt();try{f()}finally{$t()}}let t=Qn;Qn=u;try{return c?c(e,3,[p]):e(p)}finally{Qn=t}}:ht,t&&i){let e=d,t=i===!0?1/0:i;d=()=>En(e(),t)}let g=Xt(),_=()=>{u.stop(),g&&g.active&&bt(g.effects,u)};if(a&&t){let e=t;t=(...t)=>{try{return e(...t)}finally{_()}}}let v=h?Array(e.length).fill(Xn):Xn,y=e=>{if(u.flags&1&&(u.dirty||e)){if(t){let n=u.run();if(e||i||m||(h?n.some((e,t)=>Vt(e,v[t])):Vt(n,v))){let e=Qn;Qt();try{f&&f(),Qn=u;let e=[n,v===Xn?void 0:h&&v[0]===Xn?[]:v,p];v=n,c?c(t,3,e):t(...e)}finally{Qn=e,$t()}}}else u.run()}};return s&&s(y),u=new jn(d),u.scheduler=o?()=>o(y,!1):y,p=e=>yte(e,!1,u),f=u.onStop=()=>{let e=Zn.get(u);if(e){if(c)c(e,4);else for(let t of e)t();Zn.delete(u)}},t?r?y(!0):v=u.run():o?o(y.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function En(e,t=1/0,n){if(t<=0||!kt(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Sn(e))En(e.value,t,n);else if(St(e))for(let r=0;r<e.length;r++)En(e[r],t,n);else if(wt(e)||Ct(e))e.forEach(e=>{En(e,t,n)});else if(Nt(e)){for(let r in e)En(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&En(e[r],t,n)}return e}var Dn,On,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,xte,Rn,zn,Bn,Vn,Hn,Ste,Un,Cte,Wn,Gn,wte,Tte,Ete,Dte,Ote,kte,Kn,qn,Ate,jte,Mte,Nte,Pte,Fte,Ite,Lte,Jn,Yn,Rte,zte,Bte,Vte,Hte,Ute,Xn,Zn,Qn,Wte=s((()=>{Yt(),On=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&Dn&&(Dn.active?(this.parent=Dn,this.index=(Dn.scopes||(Dn.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=Dn;try{return Dn=this,e()}finally{Dn=t}}}on(){++this._on===1&&(this.prevScope=Dn,Dn=this)}off(){if(this._on>0&&--this._on===0){if(Dn===this)Dn=this.prevScope;else{let e=Dn;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}},An=new WeakSet,jn=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Dn&&(Dn.active?Dn.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,An.has(this)&&(An.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Jee(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,rte(this),Zee(this);let e=kn,t=Fn;kn=this,Fn=!0;try{return this.fn()}finally{Qee(this),kn=e,Fn=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)tte(e);this.deps=this.depsTail=void 0,rte(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?An.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){$ee(this)&&this.run()}get dirty(){return $ee(this)}},Mn=0,Fn=!0,In=[],Ln=0,xte=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Rn=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!kn||!Fn||kn===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==kn)t=this.activeLink=new xte(kn,this),kn.deps?(t.prevDep=kn.depsTail,kn.depsTail.nextDep=t,kn.depsTail=t):kn.deps=kn.depsTail=t,ite(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=kn.depsTail,t.nextDep=void 0,kn.depsTail.nextDep=t,kn.depsTail=t,kn.deps===t&&(kn.deps=e)}return t}trigger(e){this.version++,Ln++,this.notify(e)}notify(e){Yee();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Xee()}}},zn=new WeakMap,Bn=Symbol(``),Vn=Symbol(``),Hn=Symbol(``),Ste={__proto__:null,[Symbol.iterator](){return on(this,Symbol.iterator,e=>an(this,e))},concat(...e){return nn(this).concat(...e.map(e=>St(e)?nn(e):e))},entries(){return on(this,`entries`,e=>(e[1]=an(this,e[1]),e))},every(e,t){return sn(this,`every`,e,t,void 0,arguments)},filter(e,t){return sn(this,`filter`,e,t,e=>e.map(e=>an(this,e)),arguments)},find(e,t){return sn(this,`find`,e,t,e=>an(this,e),arguments)},findIndex(e,t){return sn(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return sn(this,`findLast`,e,t,e=>an(this,e),arguments)},findLastIndex(e,t){return sn(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return sn(this,`forEach`,e,t,void 0,arguments)},includes(...e){return cn(this,`includes`,e)},indexOf(...e){return cn(this,`indexOf`,e)},join(e){return nn(this).join(e)},lastIndexOf(...e){return cn(this,`lastIndexOf`,e)},map(e,t){return sn(this,`map`,e,t,void 0,arguments)},pop(){return ln(this,`pop`)},push(...e){return ln(this,`push`,e)},reduce(e,...t){return ste(this,`reduce`,e,t)},reduceRight(e,...t){return ste(this,`reduceRight`,e,t)},shift(){return ln(this,`shift`)},some(e,t){return sn(this,`some`,e,t,void 0,arguments)},splice(...e){return ln(this,`splice`,e)},toReversed(){return nn(this).toReversed()},toSorted(e){return nn(this).toSorted(e)},toSpliced(...e){return nn(this).toSpliced(...e)},unshift(...e){return ln(this,`unshift`,e)},values(){return on(this,`values`,e=>an(this,e))}},Un=Array.prototype,Cte=st(`__proto__,__v_isRef,__isVue`),Wn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(Ot)),Gn=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Lte:Ite:i?Fte:Pte).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=St(e);if(!r){let e;if(a&&(e=Ste[t]))return e;if(t===`hasOwnProperty`)return cte}let o=Reflect.get(e,t,Sn(e)?e:n);if((Ot(t)?Wn.has(t):Cte(t))||(r||en(e,`get`,t),i))return o;if(Sn(o)){let e=a&&Pt(t)?o:o.value;return r&&kt(e)?mn(e):e}return kt(o)?r?mn(o):fn(o):o}},wte=class extends Gn{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=St(e)&&Pt(t);if(!this._isShallow){let e=vn(i);if(!yn(n)&&!vn(n)&&(i=xn(i),n=xn(n)),!a&&Sn(i)&&!Sn(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:xt(e,t),s=Reflect.set(e,t,n,Sn(e)?e:r);return e===xn(r)&&s&&(o?Vt(n,i)&&tn(e,`set`,t,n,i):tn(e,`add`,t,n)),s}deleteProperty(e,t){let n=xt(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&tn(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!Ot(t)||!Wn.has(t))&&en(e,`has`,t),n}ownKeys(e){return en(e,`iterate`,St(e)?`length`:Bn),Reflect.ownKeys(e)}},Tte=class extends Gn{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Ete=new wte,Dte=new Tte,Ote=new wte(!0),kte=new Tte(!0),Kn=e=>e,qn=e=>Reflect.getPrototypeOf(e),Ate={get:dn(!1,!1)},jte={get:dn(!1,!0)},Mte={get:dn(!0,!1)},Nte={get:dn(!0,!0)},Pte=new WeakMap,Fte=new WeakMap,Ite=new WeakMap,Lte=new WeakMap,Jn=e=>kt(e)?fn(e):e,Yn=e=>kt(e)?mn(e):e,Rte=class{constructor(e,t){this.dep=new Rn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:xn(e),this._value=t?e:Jn(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||yn(e)||vn(e);e=n?e:xn(e),Vt(e,t)&&(this._rawValue=e,this._value=n?e:Jn(e),this.dep.trigger())}},zte={get:(e,t,n)=>t===`__v_raw`?e:D(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return Sn(i)&&!Sn(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}},Bte=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Rn,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}},Vte=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Ot(t)?t:String(t),this._raw=xn(e);let r=!0,i=e;if(!St(e)||Ot(this._key)||!Pt(this._key))do r=!bn(i)||yn(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=D(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&Sn(this._raw[this._key])){let t=this._object[this._key];if(Sn(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return ate(this._raw,this._key)}},Hte=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}},Ute=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Rn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ln-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&kn!==this)return Jee(this,!0),!0}get value(){let e=this.dep.track();return ete(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}},Xn={},Zn=new WeakMap,Qn=void 0}));
+/**
+* @vue/runtime-core v3.5.44
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/
+function $n(e,t,n,r){try{return r?e(...r):e()}catch(e){tr(e,t,n)}}function er(e,t,n,r){if(Et(e)){let i=$n(e,t,n,r);return i&&At(i)&&i.catch(e=>{tr(e,t,n)}),i}if(St(e)){let i=[];for(let a=0;a<e.length;a++)i.push(er(e[a],t,n,r));return i}}function tr(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||pt;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){Qt(),$n(a,null,10,[e,i,o]),$t();return}}Gte(e,n,i,r,o)}function Gte(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}function nr(e){let t=gi||hi;return e?t.then(this?e.bind(this):e):t}function Kte(e){let t=di+1,n=ui.length;for(;t<n;){let r=t+n>>>1,i=ui[r],a=vi(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function rr(e){if(!(e.flags&1)){let t=vi(e),n=ui[ui.length-1];!n||!(e.flags&2)&&t>=vi(n)?ui.push(e):ui.splice(Kte(t),0,e),e.flags|=1,qte()}}function qte(){gi||=hi.then(Zte)}function Jte(e){if(!St(e))pi&&e.id===-1?pi.splice(mi+1,0,e):e.flags&1||(fi.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)fi.push(e[t]);qte()}function Yte(e,t,n,r=di+1){for(;r<ui.length;r++){let n=ui[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;ui.splice(r,1),r=e?r-1:di,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ir(e,t,n=0){if(fi.length){let e=fi,r=0;if(t){e=[];for(let i=0;i<fi.length;i++){let a=fi[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?fi[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>vi(e)-vi(t));if(fi.length=r,pi){for(let e=0;e<i.length;e++)pi.push(i[e]);return}for(pi=i,mi=0;mi<pi.length;mi++){let e=pi[mi];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}pi=null,mi=0}}function Xte(e,t){if(_i){e();return}let n=t===void 0?void 0:new Set(fi);e(),_i=!0;try{Yte(void 0,t),ir(void 0,n,t)}finally{_i=!1}}function Zte(e){try{for(di=0;di<ui.length;di++){let e=ui[di];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),$n(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;di<ui.length;di++){let e=ui[di];e&&(e.flags&=-2)}di=-1,ui.length=0,ir(e),gi=null,(ui.length||fi.length)&&Zte(e)}}function ar(e){let t=yi;return yi=e,hre=e&&e.type.__scopeId||null,t}function O(e,t=yi,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Zr(-1);let i=ar(t),a=ca.length,o;try{o=e(...n)}finally{for(let e=ca.length;e>a;e--)Xr();ar(i),r._d&&Zr(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function or(e,t){if(yi===null)return e;let n=ci(yi),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=pt]=t[e];i&&(Et(i)&&(i={mounted:i,updated:i}),i.deep&&En(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function sr(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Qt(),er(c,n,8,[e.el,s,e,t]),$t())}}function cr(e,t){if(ma){let n=ma.provides,r=ma.parent&&ma.parent.provides;r===n&&(n=ma.provides=Object.create(r)),n[e]=t}}function lr(e,t,n=!1){let r=ha();if(r||qi){let i=qi?qi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Et(t)?t.call(r&&r.proxy):t}}function Qte(){return!!(ha()||qi)}function ur(e,t){return fr(e,null,t)}function $te(e,t){return fr(e,null,{flush:`sync`})}function dr(e,t,n){return fr(e,t,n)}function fr(e,t,n=pt){let{immediate:r,deep:i,flush:a,once:o}=n,s=yt({},n),c=t&&r||!t&&a!==`post`,l;if(ba){if(a===`sync`){let e=_re();l=e.__watcherHandles||=[]}else if(!c){let e=()=>{};return e.stop=ht,e.resume=ht,e.pause=ht,e}}let u=ma;s.call=(e,t,n)=>er(e,u,t,n);let d=!1;a===`post`?s.scheduler=e=>{e.i=u,ra(e,u&&u.suspense)}:a!==`sync`&&(d=!0,s.scheduler=(e,t)=>{t?e():rr(e)}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};let f=bte(e,t,s);return ba&&(l?l.push(f):c&&f()),f}function ene(e,t,n){let r=this.proxy,i=Dt(e)?e.includes(`.`)?tne(r,e):()=>r[e]:e.bind(r,r),a;Et(t)?a=t:(a=t.handler,n=t);let o=va(this),s=fr(i,a.bind(r),n);return o(),s}function tne(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function pr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&(e.targetStart&&r(e.targetStart,t,n),r(e.targetAnchor,t,n),n=e.targetAnchor);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!bi.has(e)&&(!d||Si(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function nne(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=Ci(t.props,c),h=Si(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||hr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||hr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),mr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}function mr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function hr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[vre]=o,e&&(r(a,e,i),r(o,e,i)),o}function rne(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ii(()=>{e.isMounted=!0}),Ri(()=>{e.isUnmounting=!0}),e}function ine(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==oa){t=n;break}}return t}function ane(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function gr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),x=ane(n,e),ee=(e,t)=>{e&&er(e,r,9,t)},te=(e,t)=>{let n=t[1];ee(e,t),St(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},ne={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=g||c;else return}t[wi]&&t[wi](!0);let i=x[b];if(i&&$r(e,i)){let e=i.el[wi];if(!e){let t=br(i);e=t&&t.el[wi]}e&&e()}ee(r,[t])},enter(t){if(x[b]===e)return;let r=l,i=u,o=d;if(!n.isMounted){if(a)r=_||l,i=v||u,o=y||d;else return}let s=!1;t[Ti]=e=>{s||(s=!0,ee(e?o:i,[t]),ne.delayedLeave&&ne.delayedLeave(),t[Ti]=void 0)};let c=t[Ti].bind(null,!1);r?te(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[Ti]&&t[Ti](!0),n.isUnmounting)return r();ee(f,[t]);let a=!1;t[wi]=n=>{a||(a=!0,r(),ee(n?h:m,[t]),t[wi]=void 0,x[i]===e&&delete x[i])};let o=t[wi].bind(null,!1);x[i]=e,p?te(p,[t,o]):o()},clone(e){let a=gr(e,t,n,r,i);return i&&i(a),a}};return ne}function _r(e){if(Ni(e))return e=ti(e),e.children=null,e}function vr(e){if(!Ni(e))return xi(e.type)&&e.children?ine(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Et(n.default))return n.default()}}function yr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;yr(xi(n.type)&&vr(n)||n,t)}else if(e.shapeFlag&128)e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback);else if(e.transition=t,e.type===L&&St(e.children)){let n=zne(e.children,!1);n&&yr(n,t)}}function one(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===L?(o.patchFlag&128&&i++,r=r.concat(one(o.children,t,s))):(t||o.type!==oa)&&r.push(s==null?o:ti(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function br(e){if(e.component)return br(e.component.subTree);if(e.type===L){let t=St(e.children)&&zne(e.children,!1);return t?br(t):void 0}if(e.type!==oa)return e}function k(e,t){return Et(e)?yt({name:e.name},t,{setup:e}):e}function xr(){let e=ha();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function Sr(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Cr(e){let t=ha(),n=Cn(null);if(t){let r=t.refs===pt?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function sne(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}function wr(e,t,n,r,i=!1){if(St(e)){e.forEach((e,a)=>wr(e,t&&(St(t)?t[a]:t),n,r,i));return}if(Mi(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&wr(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?ci(r.component):r.el,o=i?null:a,{i:s,r:c}=e,l=t&&t.r,u=s.refs===pt?s.refs={}:s.refs,d=s.setupState,f=xn(d),p=d===pt?gt:e=>!sne(u,e)&&xt(f,e),m=(e,t)=>!(t&&sne(u,t));if(l!=null&&l!==c){if(cne(t),Dt(l))u[l]=null,p(l)&&(d[l]=null);else if(Sn(l)){let e=t;m(l,e.k)&&(l.value=null),e.k&&(u[e.k]=null)}}if(Et(c))$n(c,s,12,[o,u]);else{let t=Dt(c),r=Sn(c);if(t||r){let s=()=>{if(e.f){let n=t?p(c)?d[c]:u[c]:m(c)||!e.k?c.value:u[e.k];if(i)St(n)&&bt(n,a);else if(St(n))n.includes(a)||n.push(a);else if(t)u[c]=[a],p(c)&&(d[c]=u[c]);else{let t=[a];m(c,e.k)&&(c.value=t),e.k&&(u[e.k]=t)}}else t?(u[c]=o,p(c)&&(d[c]=o)):r&&(m(c,e.k)&&(c.value=o),e.k&&(u[e.k]=o))};if(o){let t=()=>{s(),Di.delete(e)};t.id=-1,Di.set(e,t),ra(t,n)}else cne(e),s()}}}function cne(e){let t=Di.get(e);t&&(t.flags|=8,Di.delete(e))}function lne(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:s,insert:c,createComment:l}}=e,u=(e,t)=>{t.hasChildNodes()?(d(t.firstChild,e,null,null,null),ir(),t._vnode=e):(n(null,e,t),ir(),t._vnode=e)},d=(n,r,s,l,u,y=!1)=>{y||=!!r.dynamicChildren;let b=Ai(n)&&n.data===`[`,x=()=>h(n,r,s,l,u,b),{type:ee,ref:te,shapeFlag:ne,patchFlag:re}=r,ie=n.nodeType;r.el=n,re===-2&&(y=!1,r.dynamicChildren=null);let ae=null;switch(ee){case aa:ie===3?(n.data!==r.children&&(Oi(),n.data=r.children),ae=a(n)):r.children===``?(c(r.el=i(``),o(n),n),ae=n):ae=x();break;case oa:v(n)?(ae=a(n),_(r.el=n.content.firstChild,n,s)):ae=ie!==8||b?x():a(n);break;case sa:if(b&&(n=a(n),ie=n.nodeType),ie===1||ie===3){ae=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=ae.nodeType===1?ae.outerHTML:ae.data),t===r.staticCount-1&&(r.anchor=ae),ae=a(ae);return b?a(ae):ae}x();break;case L:ae=b?m(n,r,s,l,u,y):x();break;default:if(ne&1)ae=(ie!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!v(n)?x():f(n,r,s,l,u,y);else if(ne&6){r.slotScopeIds=u;let e=o(n);if(ae=b?g(n):Ai(n)&&n.data===`teleport start`?g(n,n.data,`teleport end`):a(n),t(r,e,null,s,l,ki(e),y),(Mi(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=R(sa),t.anchor=ae?ae.previousSibling:e.lastChild):t=n.nodeType===3?F(``):R(n.nodeType===8?oa:`div`),t.el=n,r.component.subTree=t}}else ne&64?ae=ie===8?r.type.hydrate(n,r,s,l,u,y,e,p):x():ne&128&&(ae=r.type.hydrate(n,r,s,l,ki(o(n)),u,y,e,d))}return te!=null&&wr(te,null,l,r),ae},f=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:c,dynamicProps:l,props:u,patchFlag:d,shapeFlag:f,dirs:m,transition:h}=t,g=c===`input`||c===`option`,y=!!l;if(g||y||d!==-1){m&&sr(t,null,n,`created`);let c=!1;if(v(e)){c=Qne(null,h)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(c){let e=r.getAttribute(`class`);e&&(r.$cls=e),h.beforeEnter(r)}_(r,e,n),t.el=e=r}if(f&16&&!(u&&(u.innerHTML||u.textContent))){let r=p(e.firstChild,t,e,n,i,a,o);for(r&&!Tr(e,1)&&Oi();r;){let e=r;r=r.nextSibling,s(e)}}else if(f&8){let n=t.children;n[0]===`
+`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
+`)&&(Tr(e,0)||Oi(),e.textContent=t.children)}if(u){if(g||y||!o||d&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in u)if(g&&(a.endsWith(`value`)||a===`indeterminate`)||_t(a)&&!Ft(a)||a[0]===`.`||t&&!Ft(a)||l&&l.includes(a)){if(une(e,a,u[a]))continue;r(e,a,null,u[a],i,n)}}else if(u.onClick)r(e,`onClick`,null,u.onClick,void 0,n);else if(d&4&&_n(u.style))for(let e in u.style)u.style[e]}let b;(b=u&&u.onVnodeBeforeMount)&&si(b,n,t),m&&sr(t,null,n,`beforeMount`),((b=u&&u.onVnodeMounted)||m||c)&&nre(()=>{b&&si(b,n,t),c&&h.enter(e),m&&sr(t,null,n,`mounted`)},i)}return e.nextSibling},p=(e,t,r,o,s,l,u)=>{u||=!!t.dynamicChildren;let f=t.children,p=f.length,m=!1;for(let t=0;t<p;t++){let h=u?f[t]:f[t]=ri(f[t]),g=h.type===aa;e?(g&&!u&&t+1<p&&ri(f[t+1]).type===aa&&(c(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=d(e,h,o,s,l,u)):g&&!h.children?c(h.el=i(``),r):(m||(m=!0,Tr(r,1)||Oi()),n(null,h,r,null,o,s,ki(r),l))}return e},m=(e,t,n,r,i,s)=>{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let d=o(e),f=p(a(e),t,d,n,r,i,s);return f&&Ai(f)&&f.data===`]`?a(t.anchor=f):(Oi(),c(t.anchor=l(`]`),d,f),f)},h=(e,t,r,i,c,l)=>{if(dne(e,t)||Oi(),t.el=null,l){let t=g(e);for(;;){let n=a(e);if(n&&n!==t)s(n);else break}}let u=a(e),d=o(e);return s(e),n(null,t,d,u,r,i,ki(d),c),r&&(r.vnode.el=t.el,Une(r,t.el)),u},g=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&Ai(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},_=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},v=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[u,d]}function une(e,t,n){return Are.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}function Tr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ji);)e=e.parentElement;return Er(e&&e.getAttribute(ji),t)}function Er(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(jre[t])}}function dne(e,t){return Tr(e.parentElement,1)||fne(e)||pne(t)}function fne(e){return e.nodeType===1&&Er(e.getAttribute(ji),1)}function pne({props:e}){let t=e&&e[ji];return typeof t==`string`&&Er(t,1)}function mne(e,t){if(Ai(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Ai(r)){if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++}r=r.nextSibling}}else t(e)}function hne(e){Et(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return k({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>mne(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=ma;if(Sr(e),u)return()=>Dr(u,e);let t=t=>{l=null,tr(t,e,13,!r)};if(s&&e.suspense||ba)return p().then(t=>()=>Dr(t,e)).catch(e=>(t(e),()=>r?R(r,{error:e}):null));let a=E(!1),c=E(),d=E(!!i),f,m;return zi(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&Ni(e.parent.vnode)&&e.parent.update())}).catch(n=>{e.isUnmounted?l=null:(t(n),c.value=n)}),()=>{if(a.value&&u)return Dr(u,e);if(c.value&&r)return R(r,{error:c.value});if(n&&!d.value)return Dr(n,e)}}})}function Dr(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=R(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}function gne(e,t){vne(e,`a`,t)}function _ne(e,t){vne(e,`da`,t)}function vne(e,t,n=ma){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Or(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Ni(e.parent.vnode)&&yne(r,t,n,e),e=e.parent}}function yne(e,t,n,r){let i=Or(t,e,r,!0);zi(()=>{bt(r[t],i)},n)}function Or(e,t,n=ma,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Qt();let i=va(n),a=er(t,n,e,r);return i(),$t(),a};return r?i.unshift(a):i.push(a),a}}function bne(e,t=ma){Or(`ec`,e,t)}function kr(e,t){return xne(Vi,e,!0,t)||e}function Ar(e){return Dt(e)?xne(Vi,e,!1)||e:e||Hi}function xne(e,t,n=!0,r=!1){let i=yi||ma;if(i){let n=i.type;if(e===Vi){let e=pre(n,!1);if(e&&(e===t||e===Lt(t)||e===zt(Lt(t))))return n}let a=Sne(i[e]||n[e],t)||Sne(i.appContext[e],t);return!a&&r?n:a}}function Sne(e,t){return e&&(e[t]||e[Lt(t)]||e[zt(Lt(t))])}function jr(e,t,n,r){let i,a=n&&n[r],o=St(e);if(o||Dt(e)){let n=o&&_n(e),r=!1,s=!1;n&&(r=!yn(e),s=vn(e),e=rn(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Yn(Jn(e[n])):Jn(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){if(!Number.isInteger(e)||e<0)i=[];else{i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}}else if(kt(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function Mr(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(St(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function A(e,t,n,r,i,a){if(n??={},yi.ce||yi.parent&&Mi(yi.parent)&&yi.parent.ce){let e=a!=null&&n.key==null?yt({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),j(),N(L,null,[R(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=ca.length;j();let c;try{let i=o&&Cne(o(n)),s=n.key||a||i&&i.key;c=N(L,{key:(s&&!Ot(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=ca.length;e>s;e--)Xr();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function Cne(e){return e.some(e=>!Qr(e)||!(e.type===oa||e.type===L&&!Cne(e.children)))?e:null}function Nr(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Bt(r)]=e[r];return n}function Pr(){return wne(`useSlots`).slots}function Fr(){return wne(`useAttrs`).attrs}function wne(e){let t=ha();return t.setupContext||=fre(t)}function Ir(e){return St(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Lr(e,t){return!e||!t?e||t:St(e)&&St(t)?e.concat(t):yt({},Ir(e),Ir(t))}function Tne(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Ene(e){let t=Ane(e),n=e.proxy,r=e.ctx;Ki=!1,t.beforeCreate&&One(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:h,deactivated:g,beforeDestroy:_,beforeUnmount:v,destroyed:y,unmounted:b,render:x,renderTracked:ee,renderTriggered:te,errorCaptured:ne,serverPrefetch:re,expose:ie,inheritAttrs:ae,components:oe,directives:se,filters:ce}=t;if(l&&Dne(l,r,null),o)for(let e in o){let t=o[e];Et(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);kt(t)&&(e.data=fn(t))}if(Ki=!0,a)for(let e in a){let t=a[e],i=Et(t)?t.bind(n,n):Et(t.get)?t.get.bind(n,n):ht,o=!Et(t)&&Et(t.set)?t.set.bind(n):ht,s=z({get:i,set:o});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(s)for(let e in s)kne(s[e],r,n,e);if(c){let e=Et(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{cr(t,e[t])})}u&&One(u,e,`c`);function le(e,t){St(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(le(Fi,d),le(Ii,f),le(Li,p),le(Mre,m),le(gne,h),le(_ne,g),le(bne,ne),le(Pre,ee),le(Nre,te),le(Ri,v),le(zi,b),le(Bi,re),St(ie)){if(ie.length){let t=e.exposed||={};ie.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}x&&e.render===ht&&(e.render=x),ae!=null&&(e.inheritAttrs=ae),oe&&(e.components=oe),se&&(e.directives=se),re&&Sr(e)}function Dne(e,t,n=ht){St(e)&&(e=zr(e));for(let n in e){let r=e[n],i;i=kt(r)?`default`in r?lr(r.from||n,r.default,!0):lr(r.from||n):lr(r),Sn(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function One(e,t,n){er(St(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function kne(e,t,n,r){let i=r.includes(`.`)?tne(n,r):()=>n[r];if(Dt(e)){let n=t[e];Et(n)&&dr(i,n)}else if(Et(e))dr(i,e.bind(n));else if(kt(e)){if(St(e))e.forEach(e=>kne(e,t,n,r));else{let r=Et(e.handler)?e.handler.bind(n):t[e.handler];Et(r)&&dr(i,r,e)}}}function Ane(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Rr(c,e,o,!0)),Rr(c,t,o)),kt(t)&&a.set(t,c),c}function Rr(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Rr(e,a,n,!0),i&&i.forEach(t=>Rr(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Ire[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}function jne(e,t){return t?e?function(){return yt(Et(e)?e.call(this,this):e,Et(t)?t.call(this,this):t)}:t:e}function Mne(e,t){return Vr(zr(e),zr(t))}function zr(e){if(St(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Br(e,t){return e?[...new Set([].concat(e,t))]:t}function Vr(e,t){return e?yt(Object.create(null),e,t):t}function Nne(e,t){return e?St(e)&&St(t)?[...new Set([...e,...t])]:yt(Object.create(null),Ir(e),Ir(t??{})):t}function Pne(e,t){if(!e)return t;if(!t)return e;let n=yt(Object.create(null),e);for(let r in t)n[r]=Br(e[r],t[r]);return n}function Fne(){return{app:null,config:{isNativeTag:gt,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}function Ine(e,t){return function(n,r=null){Et(n)||(n=yt({},n)),r!=null&&!kt(r)&&(r=null);let i=Fne(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:Lre++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Yre,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&Et(e.install)?(a.add(e),e.install(c,...t)):Et(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||R(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,ci(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(er(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=qi;qi=c;try{return e()}finally{qi=t}}};return c}}function Hr(e,t,n=pt){let r=ha(),i=Lt(t),a=Rt(t),o=Ji(e,i),s=hte((o,s)=>{let c,l=pt,u;return $te(()=>{let t=e[i];Vt(c,t)&&(c=t,s())}),{get(){return o(),n.get?n.get(c):c},set(e){let o=n.set?n.set(e):e;if(!Vt(o,c)&&!(l!==pt&&Vt(e,l)))return;let d=r.vnode.props,f=!!(d&&(t in d||i in d||a in d)&&(`onUpdate:${t}`in d||`onUpdate:${i}`in d||`onUpdate:${a}`in d));f||(c=e,s()),r.emit(`update:${t}`,o),Vt(e,l)&&(Vt(e,o)&&!Vt(o,u)||f&&l!==pt&&!Vt(o,c))&&s(),l=e,u=o}}});return s[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?o||pt:s,done:!1}:{done:!0}}}},s}function Lne(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||pt,i=n,a=t.startsWith(`update:`),o=a&&Ji(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>Dt(e)?e.trim():e)),o.number&&(i=i.map(Wt)));let s,c=r[s=Bt(t)]||r[s=Bt(Lt(t))];!c&&a&&(c=r[s=Bt(Rt(t))]),c&&er(c,e,6,i);let l=r[s+`Once`];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,er(l,e,6,i)}}function Rne(e,t,n=!1){let r=n?Rre:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!Et(e)){let r=e=>{let n=Rne(e,t,!0);n&&(s=!0,yt(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(kt(e)&&r.set(e,null),null):(St(a)?a.forEach(e=>o[e]=null):yt(o,a),kt(e)&&r.set(e,o),o)}function Ur(e,t){return!e||!_t(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),xt(e,t[0].toLowerCase()+t.slice(1))||xt(e,Rt(t))||xt(e,t))}function Wr(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:p,ctx:m,inheritAttrs:h}=e,g=ar(e),_,v;try{if(n.shapeFlag&4){let e=i||r,t=e;_=ri(l.call(t,e,u,d,p,f,m)),v=s}else{let e=t;_=ri(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),v=t.props?s:zre(s)}}catch(t){ca.length=0,tr(t,e,1),_=R(oa)}let y=_;if(v&&h!==!1){let e=Object.keys(v),{shapeFlag:t}=y;e.length&&t&7&&(a&&e.some(vt)&&(v=Bre(v,a)),y=ti(y,v,!1,!0))}return n.dirs&&(y=ti(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&yr(xi(y.type)&&vr(y)||y,n.transition),_=y,ar(g),_}function zne(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(Qr(r)){if(r.type!==oa||r.children===`v-if`){if(n)return;n=r}}else return}return n}function Bne(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Vne(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Hne(o,r,n)&&!Ur(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||Vne(r,o,l):!!o;return!1}function Vne(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(!xt(e,a)||Hne(t,e,a)&&!Ur(n,a))return!0}return!1}function Hne(e,t,n){let r=e[n],i=t[n];return n===`style`&&kt(r)&&kt(i)?!dt(r,i):r!==i}function Une({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}function Wne(e,t,n,r=!1){let i={},a=Xi();e.propsDefaults=Object.create(null),Kne(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:pn(i):e.type.props?i:a,e.attrs=a}function Gne(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=xn(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Ur(e.emitsOptions,o))continue;let u=t[o];if(c){if(xt(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=Lt(o);i[t]=Gr(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Kne(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!xt(t,a)&&((r=Rt(a))===a||!xt(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Gr(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!xt(t,e))&&(delete a[e],l=!0)}l&&tn(e.attrs,`set`,``)}function Kne(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(Ft(c))continue;let l=t[c],u;i&&xt(i,u=Lt(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:Ur(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=xn(n),r=s||pt;for(let o=0;o<a.length;o++){let s=a[o];n[s]=Gr(i,t,s,r[s],e,!xt(r,s))}}return o}function Gr(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=xt(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&Et(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=va(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===Rt(n))&&(r=!0))}return r}function qne(e,t,n=!1){let r=n?Vre:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],c=!1;if(!Et(e)){let r=e=>{c=!0;let[n,r]=qne(e,t,!0);yt(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!c)return kt(e)&&r.set(e,mt),mt;if(St(a))for(let e=0;e<a.length;e++){let t=Lt(a[e]);Jne(t)&&(o[t]=pt)}else if(a)for(let e in a){let t=Lt(e);if(Jne(t)){let n=a[e],r=o[t]=St(n)||Et(n)?{type:n}:yt({},n),i=r.type,c=!1,l=!0;if(St(i))for(let e=0;e<i.length;++e){let t=i[e],n=Et(t)&&t.name;if(n===`Boolean`){c=!0;break}n===`String`&&(l=!1)}else c=Et(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||xt(r,`default`))&&s.push(t)}}let l=[o,s];return kt(e)&&r.set(e,l),l}function Jne(e){return e[0]!==`$`&&!Ft(e)}function Yne(e){return Zne(e)}function Xne(e){return Zne(e,lne)}function Zne(e,t){let n=Gt();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:c,setText:l,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=ht,insertStaticContent:m}=e,h=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!$r(e,t)&&(r=w(e),he(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===mt&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case aa:g(e,t,n,r);break;case oa:_(e,t,n,r);break;case sa:e??v(t,n,r,o);break;case L:oe(e,t,n,r,i,a,o,s,c);break;default:d&1?x(e,t,n,r,i,a,o,s,c):d&6?se(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,be)}u!=null&&i?wr(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&wr(e.ref,null,a,e,!0)},g=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},_=(e,t,n,i)=>{e==null?r(t.el=c(t.children||``),n,i):t.el=e.el},v=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},y=({el:e,anchor:t},n,i)=>{let a;for(;e&&e!==t;)a=f(e),r(e,n,i),e=a;r(t,n,i)},b=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),i(e),e=n;i(t)},x=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),re(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,i,s,c,l,d)=>{let f,p,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(f=e.el=o(e.type,c,m&&m.is,m),h&8?u(f,e.children):h&16&&ne(e.children,f,null,i,s,Kr(e,c),l,d),_&&sr(e,null,i,`created`),te(f,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!Ft(e)&&a(f,e,null,m[e],c,i);`value`in m&&a(f,`value`,null,m.value,c),(p=m.onVnodeBeforeMount)&&si(p,i,e)}_&&sr(e,null,i,`beforeMount`);let v=Qne(s,g);v&&g.beforeEnter(f),r(f,t,n),((p=m&&m.onVnodeMounted)||v||_)&&ra(()=>{try{p&&si(p,i,e),v&&g.enter(f),_&&sr(e,null,i,`mounted`)}finally{}},s)},te=(e,t,n,r,i)=>{if(n&&p(e,n),r)for(let t=0;t<r.length;t++)p(e,r[t]);if(i){let n=i.subTree;if(t===n||ia(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;te(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},ne=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?ii(e[l]):ri(e[l]);h(null,c,t,n,r,i,a,o,s)}},re=(e,t,n,r,i,o,s)=>{let c=t.el=e.el,{patchFlag:l,dynamicChildren:d,dirs:f}=t;l|=e.patchFlag&16;let p=e.props||pt,m=t.props||pt,h;if(n&&qr(n,!1),(h=m.onVnodeBeforeUpdate)&&si(h,n,t,e),f&&sr(t,e,n,`beforeUpdate`),n&&qr(n,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(l=0,s=!1,d=null),(p.innerHTML&&m.innerHTML==null||p.textContent&&m.textContent==null)&&u(c,``),d?ie(e.dynamicChildren,d,c,n,r,Kr(t,i),o):s||de(e,t,c,null,n,r,Kr(t,i),o,!1),l>0){if(l&16)ae(c,p,m,n,i);else if(l&2&&p.class!==m.class&&a(c,`class`,null,m.class,i),l&4&&a(c,`style`,p.style,m.style,i),l&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=p[r],s=m[r];(s!==o||r===`value`)&&a(c,r,o,s,i,n)}}l&1&&e.children!==t.children&&u(c,t.children)}else!s&&d==null&&ae(c,p,m,n,i);((h=m.onVnodeUpdated)||f)&&ra(()=>{h&&si(h,n,t,e),f&&sr(t,e,n,`updated`)},r)},ie=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el||Yr(c),f=u&&(c.type===L||!$r(c,l)||c.shapeFlag&198)?d(u):n;h(c,l,f,null,r,i,a,o,!0)}},ae=(e,t,n,r,i)=>{if(t!==n){if(t!==pt)for(let o in t)!Ft(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(Ft(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},oe=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),ne(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(ie(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&Jr(e,t,!0)):de(e,t,n,f,a,o,c,l,u)},se=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ce(t,n,r,i,a,o,c):le(e,t,c)},ce=(e,t,n,r,i,a,o)=>{let s=e.component=ore(e,r,i);if(Ni(e)&&(s.ctx.renderer=be),cre(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,S,o,a),!e.el){let r=s.subTree=R(oa);_(null,r,t,n),e.placeholder=r.el}}else S(s,e,t,n,i,a,o)},le=(e,t,n)=>{let r=t.component=e.component;if(Bne(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,ue(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},S=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=ere(e);if(n){t&&(t.el=c.el,ue(e,t,o)),n.asyncDep.then(()=>{ra(()=>{e.isUnmounted||l()},i)});return}}let u=t,f;qr(e,!1),t?(t.el=c.el,ue(e,t,o)):t=c,n&&Ht(n),(f=t.props&&t.props.onVnodeBeforeUpdate)&&si(f,s,t,c),qr(e,!0);let p=Wr(e),m=e.subTree;e.subTree=p,h(m,p,d(m.el),w(m),e,i,a),t.el=p.el,u===null&&Une(e,p.el),r&&ra(r,i),(f=t.props&&t.props.onVnodeUpdated)&&ra(()=>si(f,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Mi(t);if(qr(e,!1),l&&Ht(l),!m&&(o=c&&c.onVnodeBeforeMount)&&si(o,d,t),qr(e,!0),s&&Se){let t=()=>{e.subTree=Wr(e),Se(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Wr(e);h(null,o,n,r,e,i,a),t.el=o.el}if(u&&ra(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;ra(()=>si(o,d,e),i)}(t.shapeFlag&256||d&&Mi(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&ra(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new jn(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>rr(u),qr(e,!0),l()},ue=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Gne(e,t.props,r,n),Wre(e,t.children,n),Qt(),Yte(e),$t()},de=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:m}=t;if(p>0){if(p&128){pe(l,f,n,r,i,a,o,s,c);return}if(p&256){fe(l,f,n,r,i,a,o,s,c);return}}m&8?(d&16&&ve(l,i,a),f!==l&&u(n,f)):d&16?m&16?pe(l,f,n,r,i,a,o,s,c):ve(l,i,a,!0):(d&8&&u(n,``),m&16&&ne(f,n,r,i,a,o,s,c))},fe=(e,t,n,r,i,a,o,s,c)=>{e||=mt,t||=mt;let l=e.length,u=t.length,d=Math.min(l,u),f=0;for(;f<d;f++){let r=t[f]=c?ii(t[f]):ri(t[f]);h(e[f],r,n,null,i,a,o,s,c)}l>u?ve(e,i,a,!0,!1,d):ne(t,n,r,i,a,o,s,c,d)},pe=(e,t,n,r,i,a,o,s,c)=>{let l=0,u=t.length,d=e.length-1,f=u-1;for(;l<=d&&l<=f;){let r=e[l],u=t[l]=c?ii(t[l]):ri(t[l]);if($r(r,u))h(r,u,n,null,i,a,o,s,c);else break;l++}for(;l<=d&&l<=f;){let r=e[d],l=t[f]=c?ii(t[f]):ri(t[f]);if($r(r,l))h(r,l,n,null,i,a,o,s,c);else break;d--,f--}if(l>d){if(l<=f){let e=f+1,d=e<u?t[e].el:r;for(;l<=f;)h(null,t[l]=c?ii(t[l]):ri(t[l]),n,d,i,a,o,s,c),l++}}else if(l>f)for(;l<=d;)he(e[l],i,a,!0),l++;else{let p=l,m=l,g=new Map;for(l=m;l<=f;l++){let e=t[l]=c?ii(t[l]):ri(t[l]);e.key!=null&&g.set(e.key,l)}let _,v=0,y=f-m+1,b=!1,x=0,ee=Array(y);for(l=0;l<y;l++)ee[l]=0;for(l=p;l<=d;l++){let r=e[l];if(v>=y){he(r,i,a,!0);continue}let u;if(r.key!=null)u=g.get(r.key);else for(_=m;_<=f;_++)if(ee[_-m]===0&&$r(r,t[_])){u=_;break}u===void 0?he(r,i,a,!0):(ee[u-m]=l+1,u>=x?x=u:b=!0,h(r,t[u],n,null,i,a,o,s,c),v++)}let te=b?$ne(ee):mt;for(_=te.length-1,l=y-1;l>=0;l--){let e=m+l,d=t[e],f=t[e+1],p=e+1<u?f.el||Yr(f):r;ee[l]===0?h(null,d,n,p,i,a,o,s,c):b&&(_<0||l!==te[_]?me(d,n,p,2):_--)}}},me=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)me(e.component.subTree,t,n,a);else if(d&128)e.suspense.move(t,n,a);else if(d&64)c.move(e,t,n,be);else if(c===L){r(s,t,n);for(let e=0;e<u.length;e++)me(u[e],t,n,a);r(e.anchor,t,n)}else if(c===sa)y(e,t,n);else if(a!==2&&d&1&&l){if(a===0)l.persisted&&!s[wi]?r(s,t,n):(l.beforeEnter(s),r(s,t,n),ra(()=>l.enter(s),o));else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{let e=s._isLeaving||!!s[wi];s._isLeaving&&s[wi](!0),l.persisted&&!e?u():a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}}else r(s,t,n)},he=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(Qt(),wr(s,null,n,e,!0),$t()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Mi(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&si(_,t,e),u&6)_e(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&sr(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==L||d>0&&d&64)?ve(l,t,n,!1,!0):(a===L&&d&384||!i&&u&16)&&ve(c,t,n),r&&ge(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&ra(()=>{_&&si(_,t,e),h&&sr(e,null,t,`unmounted`),v&&(e.el=null)},n)},ge=e=>{let{type:t,el:n,anchor:r,transition:a}=e,o=t===L;if(o&&!a){C(n,r);return}if(t===sa){b(e),a&&!a.persisted&&a.afterLeave&&a.afterLeave();return}let s=o?br(e):e,c=()=>{o?d(n)&&C(n,r):i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(s&&s.shapeFlag&1&&a&&!a.persisted){let{leave:e,delayLeave:t}=a,n=s.el,r=()=>e(n,c);t?t(n,c,r):r()}else c()},C=(e,t)=>{let n;for(;e!==t;)n=f(e),i(e),e=n;i(t)},_e=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;tre(c),tre(l),r&&Ht(r),i.stop(),a?(a.flags|=8,he(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,he(o,e,t,n)),s&&ra(s,t),ra(()=>{e.isUnmounted=!0},t)},ve=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)he(e[o],t,n,r,i)},w=e=>{if(e.shapeFlag&6)return w(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=f(e.anchor||e.el),n=t&&t[vre];return n?f(n):t},ye=(e,t,n)=>{Xte(()=>{e==null?t._vnode&&he(t._vnode,null,null,!0):h(t._vnode||null,e,t,null,null,null,n),t._vnode=e},e&&t._vnode?void 0:e&&e.component?e.component.uid:are())},be={p:h,um:he,m:me,r:ge,mt:ce,mc:ne,pc:de,pbc:ie,n:w,o:e},xe,Se;return t&&([xe,Se]=t(be)),{render:ye,hydrate:xe,createApp:Ine(ye,xe)}}function Kr({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function qr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Qne(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Jr(e,t,n=!1){let r=e.children,i=t.children;if(St(r)&&St(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=ii(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Jr(t,a)),a.type===aa&&(a.patchFlag===-1&&(a=i[e]=ii(a)),a.el=t.el),a.type===oa&&!a.el&&(a.el=t.el)}}function $ne(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function ere(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ere(t)}function tre(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Yr(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Yr(t.subTree):null}function nre(e,t){t&&t.pendingBranch?St(e)?t.effects.push(...e):t.effects.push(e):Jte(e)}function j(e=!1){ca.push(la=e?null:[])}function Xr(){ca.pop(),la=ca[ca.length-1]||null}function Zr(e,t=!1){ua+=e,e<0&&la&&t&&(la.hasOnce=!0)}function rre(e){return e.dynamicChildren=ua>0?la||mt:null,Xr(),ua>0&&la&&la.push(e),e}function M(e,t,n,r,i,a){return rre(P(e,t,n,r,i,a,!0))}function N(e,t,n,r,i){return rre(R(e,t,n,r,i,!0))}function Qr(e){return e?e.__v_isVNode===!0:!1}function $r(e,t){return e.type===t.type&&e.key===t.key}function P(e,t=null,n=null,r=0,i=null,a=e===L?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&da(t),ref:t&&fa(t),scopeId:hre,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:yi};return s?(ai(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=Dt(n)?8:16),ua>0&&!o&&la&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&la.push(c),c}function ire(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Hi)&&(e=oa),Qr(e)){let r=ti(e,t,!0);return n&&ai(r,n),ua>0&&!a&&la&&(r.shapeFlag&6?la[la.indexOf(e)]=r:la.push(r)),r.patchFlag=-2,r}if(mre(e)&&(e=e.__vccOpts),t){t=ei(t);let{class:e,style:n}=t;e&&!Dt(e)&&(t.class=lt(e)),kt(n)&&(bn(n)&&!St(n)&&(n=yt({},n)),t.style=ct(n))}let o=Dt(e)?1:ia(e)?128:xi(e)?64:kt(e)?4:Et(e)?2:0;return P(e,t,n,r,i,o,a,!0)}function ei(e){return e?bn(e)||Zi(e)?yt({},e):e:null}function ti(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?oi(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&da(l),ref:t&&t.ref?n&&a?St(a)?a.concat(fa(t)):[a,fa(t)]:fa(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==L?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ti(e.ssContent),ssFallback:e.ssFallback&&ti(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&yr(u,c.clone(u)),u}function F(e=` `,t=0){return R(aa,null,e,t)}function ni(e,t){let n=R(sa,null,e);return n.staticCount=t,n}function I(e=``,t=!1){return t?(j(),N(oa,null,e)):R(oa,null,e)}function ri(e){return e==null||typeof e==`boolean`?R(oa):St(e)?R(L,null,e.slice()):Qr(e)?ii(e):R(aa,null,String(e))}function ii(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ti(e)}function ai(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(St(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),ai(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!Zi(t)?t._ctx=yi:r===3&&yi&&(yi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(Et(t)){if(r&65){ai(e,{default:t});return}t={default:t,_ctx:yi},n=32}else t=String(t),r&64?(n=16,t=[F(t)]):n=8;e.children=t,e.shapeFlag|=n}function oi(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=lt([t.class,r.class]));else if(e===`style`)t.style=ct([t.style,r.style]);else if(_t(e)){let n=t[e],i=r[e];i&&n!==i&&!(St(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!vt(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function si(e,t,n,r=null){er(e,t,7,[n,r])}function are(){return pa}function ore(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||Gre,a={uid:pa++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new On(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qne(r,i),emitsOptions:Rne(r,i),emit:null,emitted:null,propsDefaults:pt,inheritAttrs:r.inheritAttrs,ctx:pt,data:pt,props:pt,attrs:pt,slots:pt,refs:pt,setupState:pt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Lne.bind(null,a),e.ce&&e.ce(a),a}function sre(e){return e.vnode.shapeFlag&4}function cre(e,t=!1,n=!1){t&&_a(t);let{props:r,children:i}=e.vnode,a=sre(e);Wne(e,r,a,t),Ure(e,i,n||t);let o=a?lre(e,t):void 0;return t&&_a(!1),o}function lre(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Fre);let{setup:r}=n;if(r){Qt();let n=e.setupContext=r.length>1?fre(e):null,i=va(e),a=$n(r,e,0,[e.props,n]),o=At(a);if($t(),i(),(o||e.sp)&&!Mi(e)&&Sr(e),o){if(a.then(ya,ya),t)return a.then(n=>{_a(!0);try{ure(e,n,t)}finally{_a(!1)}}).catch(t=>{tr(t,e,0)});e.asyncDep=a}else ure(e,a,t)}else dre(e,t)}function ure(e,t,n){Et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:kt(t)&&(e.setupState=mte(t)),dre(e,n)}function dre(e,t,n){let r=e.type;if(!e.render){if(!t&&Kre&&!r.render){let t=r.template||Ane(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=Kre(t,yt(yt({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||ht,qre&&qre(e)}{let t=va(e);Qt();try{Ene(e)}finally{$t(),t()}}}function fre(e){return{attrs:new Proxy(e.attrs,Jre),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function ci(e){return e.exposed?e.exposeProxy||=new Proxy(mte(fte(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wi)return Wi[n](e)},has(e,t){return t in e||t in Wi}}):e.proxy}function pre(e,t=!0){return Et(e)?e.displayName||e.name:e.name||t&&e.__name}function mre(e){return Et(e)&&`__vccOpts`in e}function li(e,t,n){try{Zr(-1);let r=arguments.length;return r===2?kt(t)&&!St(t)?Qr(t)?R(e,null,[t]):R(e,t):R(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Qr(n)&&(n=[n]),R(e,t,n))}finally{Zr(1)}}var ui,di,fi,pi,mi,hi,gi,_i,vi,yi,hre,gre,_re,bi,vre,xi,Si,yre,bre,xre,Ci,Sre,Cre,wi,Ti,Ei,wre,Tre,Ere,Di,Dre,Oi,Ore,kre,ki,Ai,Are,ji,jre,Mi,Ni,Pi,Fi,Ii,Li,Mre,Ri,zi,Bi,Nre,Pre,Vi,Hi,Ui,Wi,Gi,Fre,Ki,Ire,Lre,qi,Ji,Rre,zre,Bre,Yi,Xi,Zi,Vre,Qi,$i,Hre,ea,ta,na,Ure,Wre,ra,ia,L,aa,oa,sa,ca,la,ua,da,fa,R,Gre,pa,ma,ha,ga,_a,va,ya,ba,Kre,qre,Jre,z,Yre,Xre=s((()=>{Wte(),Yt(),ui=[],di=-1,fi=[],pi=null,mi=0,hi=Promise.resolve(),gi=null,_i=!1,vi=e=>e.id==null?e.flags&2?-1:1/0:e.id,yi=null,hre=null,gre=Symbol.for(`v-scx`),_re=()=>lr(gre),bi=new WeakMap,vre=Symbol(`_vte`),xi=e=>e.__isTeleport,Si=e=>e&&(e.disabled||e.disabled===``),yre=e=>e&&(e.defer||e.defer===``),bre=e=>typeof SVGElement<`u`&&e instanceof SVGElement,xre=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,Ci=(e,t)=>{let n=e&&e.to;return Dt(n)?t?t(n):null:n},Sre={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=Si(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=Si(e.props),r=e.target=Ci(e.props,m),a=hr(r,e,h,p);r&&(o!==`svg`&&bre(r)?o=`svg`:o!==`mathml`&&xre(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),mr(e,!1)))},ee=e=>{let t=()=>{if(bi.get(e)===t){if(bi.delete(e),Si(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),mr(e,!0)}x(e)}};bi.set(e,t),ra(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),yre(t.props)||a&&a.pendingBranch){ee(t);return}v&&(b(t,n,i),mr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=bi.get(e);if(u){u.flags|=8,bi.delete(e),ee(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Si(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||bre(p)?o=`svg`:(o===`mathml`||xre(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),Jr(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):pr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=Ci(t.props,m);e&&(t.target=e,pr(t,e,null,l,0))}else g&&pr(t,p,h,l,1);mr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=Si(f),m=a||!p,h=bi.get(e);if(h&&(h.flags|=8,bi.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:pr,hydrate:nne},Cre=Sre,wi=Symbol(`_leaveCb`),Ti=Symbol(`_enterCb`),Ei=[Function,Array],wre={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ei,onEnter:Ei,onAfterEnter:Ei,onEnterCancelled:Ei,onBeforeLeave:Ei,onLeave:Ei,onAfterLeave:Ei,onLeaveCancelled:Ei,onBeforeAppear:Ei,onAppear:Ei,onAfterAppear:Ei,onAppearCancelled:Ei},Tre={name:`BaseTransition`,props:wre,setup(e,{slots:t}){let n=ha(),r=rne();return()=>{let i=t.default&&one(t.default(),!0),a=i&&i.length?ine(i):n.subTree?I():void 0;if(!a)return;let o=xn(e),{mode:s}=o;if(r.isLeaving)return _r(a);let c=vr(a);if(!c)return _r(a);let l=gr(c,o,r,n,e=>l=e);c.type!==oa&&yr(c,l);let u=n.subTree&&vr(n.subTree);if(u&&u.type!==oa&&!$r(u,c)&&br(n.subTree)){let e=gr(u,o,r,n);if(yr(u,e),s===`out-in`&&c.type!==oa)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},_r(a);s===`in-out`&&c.type!==oa?e.delayLeave=(e,t,n)=>{let i=ane(r,u);i[String(u.key)]=u,e[wi]=()=>{t(),e[wi]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}},Ere=Tre,Di=new WeakMap,Dre=!1,Oi=()=>{Dre||=(console.error(`Hydration completed but contains mismatches.`),!0)},Ore=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,kre=e=>e.namespaceURI.includes(`MathML`),ki=e=>{if(e.nodeType===1){if(Ore(e))return`svg`;if(kre(e))return`mathml`}},Ai=e=>e.nodeType===8,Are=new Set([`src`,`srcset`,`href`,`poster`]),ji=`data-allow-mismatch`,jre={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`},Gt().requestIdleCallback,Gt().cancelIdleCallback,Mi=e=>!!e.type.__asyncLoader,Ni=e=>e.type.__isKeepAlive,Pi=e=>(t,n=ma)=>{(!ba||e===`sp`)&&Or(e,(...e)=>t(...e),n)},Fi=Pi(`bm`),Ii=Pi(`m`),Li=Pi(`bu`),Mre=Pi(`u`),Ri=Pi(`bum`),zi=Pi(`um`),Bi=Pi(`sp`),Nre=Pi(`rtg`),Pre=Pi(`rtc`),Vi=`components`,Hi=Symbol.for(`v-ndc`),Ui=e=>e?sre(e)?ci(e):Ui(e.parent):null,Wi=yt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ui(e.parent),$root:e=>Ui(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ane(e),$forceUpdate:e=>e.f||=()=>{rr(e.update)},$nextTick:e=>e.n||=nr.bind(e.proxy),$watch:e=>ene.bind(e)}),Gi=(e,t)=>e!==pt&&!e.__isScriptSetup&&xt(e,t),Fre={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:c}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(Gi(r,t))return o[t]=1,r[t];else if(i!==pt&&xt(i,t))return o[t]=2,i[t];else if(xt(a,t))return o[t]=3,a[t];else if(n!==pt&&xt(n,t))return o[t]=4,n[t];else Ki&&(o[t]=0)}let l=Wi[t],u,d;if(l)return t===`$attrs`&&en(e.attrs,`get`,``),l(e);if((u=s.__cssModules)&&(u=u[t]))return u;if(n!==pt&&xt(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,xt(d,t))return d[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return Gi(i,t)?(i[t]=n,!0):r!==pt&&xt(r,t)?(r[t]=n,!0):xt(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||e!==pt&&s[0]!==`$`&&xt(e,s)||Gi(t,s)||xt(a,s)||xt(r,s)||xt(Wi,s)||xt(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?xt(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}},Ki=!0,Ire={data:jne,props:Nne,emits:Nne,methods:Vr,computed:Vr,beforeCreate:Br,created:Br,beforeMount:Br,mounted:Br,beforeUpdate:Br,updated:Br,beforeDestroy:Br,beforeUnmount:Br,destroyed:Br,unmounted:Br,activated:Br,deactivated:Br,errorCaptured:Br,serverPrefetch:Br,components:Vr,directives:Vr,watch:Pne,provide:jne,inject:Mne},Lre=0,qi=null,Ji=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${Lt(t)}Modifiers`]||e[`${Rt(t)}Modifiers`],Rre=new WeakMap,zre=e=>{let t;for(let n in e)(n===`class`||n===`style`||_t(n))&&((t||={})[n]=e[n]);return t},Bre=(e,t)=>{let n={};for(let r in e)(!vt(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n},Yi={},Xi=()=>Object.create(Yi),Zi=e=>Object.getPrototypeOf(e)===Yi,Vre=new WeakMap,Qi=e=>e===`_`||e===`_ctx`||e===`$stable`,$i=e=>St(e)?e.map(ri):[ri(e)],Hre=(e,t,n)=>{if(t._n)return t;let r=O((...e)=>$i(t(...e)),n);return r._c=!1,r},ea=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Qi(n))continue;let i=e[n];if(Et(i))t[n]=Hre(n,i,r);else if(i!=null){let e=$i(i);t[n]=()=>e}}},ta=(e,t)=>{let n=$i(t);e.slots.default=()=>n},na=(e,t,n)=>{for(let r in t)(n||!Qi(r))&&(e[r]=t[r])},Ure=(e,t,n)=>{let r=e.slots=Xi();if(e.vnode.shapeFlag&32){let e=t._;e?(na(r,t,n),n&&Ut(r,`_`,e,!0)):ea(t,r)}else t&&ta(e,t)},Wre=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=pt;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:na(i,t,n):(a=!t.$stable,ea(t,i)),o=t}else t&&(ta(e,t),o={default:1});if(a)for(let e in i)!Qi(e)&&o[e]==null&&delete i[e]},ra=nre,ia=e=>e.__isSuspense,L=Symbol.for(`v-fgt`),aa=Symbol.for(`v-txt`),oa=Symbol.for(`v-cmt`),sa=Symbol.for(`v-stc`),ca=[],la=null,ua=1,da=({key:e})=>e??null,fa=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:Dt(e)||Sn(e)||Et(e)?{i:yi,r:e,k:t,f:!!n}:e),R=ire,Gre=Fne(),pa=0,ma=null,ha=()=>ma||yi;{let e=Gt(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};ga=t(`__VUE_INSTANCE_SETTERS__`,e=>ma=e),_a=t(`__VUE_SSR_SETTERS__`,e=>ba=e)}va=e=>{let t=ma;return ga(e),e.scope.on(),()=>{e.scope.off(),ga(t)}},ya=()=>{ma&&ma.scope.off(),ga(null)},ba=!1,Jre={get(e,t){return en(e,`get`,``),e[t]}},z=(e,t)=>vte(e,t,ba),Yre=`3.5.44`}));
+/**
+* @vue/runtime-dom v3.5.44
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/
+function Zre(e){let t={};for(let n in e)n in Iie||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=Qre(i),h=m&&m[0],g=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:x,onBeforeAppear:ee=_,onAppear:te=v,onAppearCancelled:ne=y}=t,re=(e,t,n,r)=>{e._enterCancelled=r,Ca(e,t?u:s),Ca(e,t?l:o),n&&n()},ie=(e,t)=>{e._isLeaving=!1,Ca(e,d),Ca(e,p),Ca(e,f),t&&t()},ae=e=>(t,n)=>{let i=e?te:v,o=()=>re(t,e,n);La(i,[t,o]),$re(()=>{Ca(t,e?c:a),Sa(t,e?u:s),zie(i)||eie(t,r,h,o)})};return yt(t,{onBeforeEnter(e){La(_,[e]),Sa(e,a),Sa(e,o)},onBeforeAppear(e){La(ee,[e]),Sa(e,c),Sa(e,l)},onEnter:ae(!1),onAppear:ae(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>ie(e,t);Sa(e,d),e._enterCancelled?(Sa(e,f),iie(e)):(iie(e),Sa(e,f)),$re(()=>{e._isLeaving&&(Ca(e,d),Sa(e,p),zie(b)||eie(e,r,g,n))}),La(b,[e,n])},onEnterCancelled(e){re(e,!1,void 0,!0),La(y,[e])},onAppearCancelled(e){re(e,!0,void 0,!0),La(ne,[e])},onLeaveCancelled(e){ie(e),La(x,[e])}})}function Qre(e){if(e==null)return null;if(kt(e))return[xa(e.enter),xa(e.leave)];{let t=xa(e);return[t,t]}}function xa(e){return Bee(e)}function Sa(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Fa]||(e[Fa]=new Set)).add(t)}function Ca(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[Fa];n&&(n.delete(t),n.size||(e[Fa]=void 0))}function $re(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function eie(e,t,n,r){let i=e._endId=++Bie,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=tie(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function tie(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${Na}Delay`),a=r(`${Na}Duration`),o=nie(i,a),s=r(`${Pa}Delay`),c=r(`${Pa}Duration`),l=nie(s,c),u=null,d=0,f=0;t===Na?o>0&&(u=Na,d=o,f=a.length):t===Pa?l>0&&(u=Pa,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?Na:Pa:null,f=u?u===Na?a.length:c.length:0);let p=u===Na&&/\b(?:transform|all)(?:,|$)/.test(r(`${Na}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function nie(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>rie(t)+rie(e[n])))}function rie(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function iie(e){return(e?e.ownerDocument:document).body.offsetHeight}function aie(e,t,n){let r=e[Fa];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}function wa(e,t){e.style.display=t?e[Ra]:`none`,e[Vie]=!t}function oie(e){let t=ha();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Ea(e,n))},r=()=>{let r=e(t.proxy);t.ce?Ea(t.ce,r):Ta(t.subTree,r),n(r)};Li(()=>{Jte(r)}),Ii(()=>{dr(r,ht,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),zi(()=>e.disconnect())})}function Ta(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ta(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ea(e.el,t);else if(e.type===L)e.children.forEach(e=>Ta(e,t));else if(e.type===sa){let{el:n,anchor:r}=e;for(;n&&(Ea(n,t),n!==r);)n=n.nextSibling}}function Ea(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=Fee(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Hie]=r}}function sie(e,t,n){let r=e.style,i=Dt(n),a=!1;if(n&&!i){if(t){if(Dt(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Da(r,t,``)}else for(let e in t)n[e]??Da(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Da(r,i,``):lie(e,i,!Dt(t)&&t?t[i]:void 0,o)||Da(r,i,o)}}else if(i){if(t!==n){let e=r[Hie];e&&(n+=`;`+e),r.cssText=n,a=Uie.test(n)}}else t&&e.removeAttribute(`style`);Ra in e&&((!i||t!==n)&&(e[Ra]=a?r.display:``),e[Vie]&&(r.display=`none`))}function Da(e,t,n){if(St(n))n.forEach(n=>Da(e,t,n));else if(n??=``,t.startsWith(`--`))Ba.test(n)?e.setProperty(t,n.replace(Ba,``),`important`):e.setProperty(t,n);else{let r=cie(e,t);Ba.test(n)?e.setProperty(Rt(r),n.replace(Ba,``),`important`):e[r]=n}}function cie(e,t){let n=Va[t];if(n)return n;let r=Lt(t);if(r!==`filter`&&r in e)return Va[t]=r;r=zt(r);for(let n=0;n<Wie.length;n++){let i=Wie[n]+r;if(i in e)return Va[t]=i}return t}function lie(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&Dt(r)&&n===r}function uie(e,t,n,r,i,a=Kee(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Gie,t.slice(6,t.length)):e.setAttributeNS(Gie,t,n):n==null||a&&!Aee(n)?e.removeAttribute(t):e.setAttribute(t,a?``:Ot(n)?String(n):n)}function die(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?jie(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Aee(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Oa(e,t,n,r){e.addEventListener(t,n,r)}function fie(e,t,n,r){e.removeEventListener(t,n,r)}function pie(e,t,n,r,i=null){let a=e[Kie]||(e[Kie]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=mie(t);r?Oa(e,n,a[t]=hie(r,i),s):o&&(fie(e,n,o,s),a[t]=void 0)}}function mie(e){let t,n;for(;(n=e.match(qie))&&!Jie.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):Rt(e.slice(2)),t]}function hie(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(St(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&er(e,t,5,a)}}else er(r,t,5,[e])};return n.value=e,n.attached=Zie(),n}function gie(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&Qie(t)&&Et(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return Qie(t)&&Dt(n)?!1:t in e}function _ie(e,t){let n=e._def.props;if(!n)return!1;let r=Lt(t);return Array.isArray(n)?n.some(e=>Lt(e)===r):Object.keys(n).some(e=>Lt(e)===r)}function vie(e){e.target.composing=!0}function yie(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}function bie(e,t,n){return t&&(e=e.trim()),n&&(e=Wt(e)),e}function xie(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(St(t))i=ft(t,r.props.value)>-1;else if(wt(t))i=t.has(r.props.value);else{if(t===n)return;i=dt(t,wie(e,!0))}e.checked!==i&&(e.checked=i)}function Sie(e,t,n){if(!n||St(e))return dt(e,t);if(wt(e)){if(e.size!==t.length)return!1;for(let n of t)if(!e.has(n))return!1;return!0}return!1}function Cie(e,t){let n=e.multiple,r=St(t);if(!n||r||wt(t)){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=ka(a);if(n){if(r){let e=typeof o;a.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(o)):ft(t,o)>-1}else a.selected=t.has(o)}else if(dt(ka(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ka(e){return`_value`in e?e._value:e.value}function wie(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}function Tie(e,t){switch(e){case`SELECT`:return nae;case`TEXTAREA`:return Ga;default:switch(t){case`checkbox`:return eae;case`radio`:return tae;default:return Ga}}}function Aa(e,t,n,r,i){let a=Tie(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function Eie(){return Ja||=Yne(sae)}function Die(){return Ja=Ya?Ja:Xne(sae),Ya=!0,Ja}function Oie(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function kie(e){return Dt(e)?document.querySelector(e):e}var ja,Aie,jie,Mie,Nie,Ma,Pie,Fie,Na,Pa,Fa,Iie,Lie,Rie,Ia,La,zie,Bie,Ra,Vie,za,Hie,Uie,Ba,Wie,Va,Gie,Kie,qie,Jie,Yie,Xie,Zie,Qie,$ie,Ha,Ua,Wa,Ga,eae,tae,nae,rae,iae,aae,Ka,oae,qa,sae,Ja,Ya,cae,Xa,lae,uae=s((()=>{if(Xre(),Xre(),Yt(),ja=void 0,Aie=typeof window<`u`&&window.trustedTypes,Aie)try{ja=Aie.createPolicy(`vue`,{createHTML:e=>e})}catch{}jie=ja?e=>ja.createHTML(e):e=>e,Mie=`http://www.w3.org/2000/svg`,Nie=`http://www.w3.org/1998/Math/MathML`,Ma=typeof document<`u`?document:null,Pie=Ma&&Ma.createElement(`template`),Fie={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?Ma.createElementNS(Mie,e):t===`mathml`?Ma.createElementNS(Nie,e):n?Ma.createElement(e,{is:n}):Ma.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>Ma.createTextNode(e),createComment:e=>Ma.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ma.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{Pie.innerHTML=jie(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Pie.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Na=`transition`,Pa=`animation`,Fa=Symbol(`_vtc`),Iie={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Lie=yt({},wre,Iie),Rie=e=>(e.displayName=`Transition`,e.props=Lie,e),Ia=Rie((e,{slots:t})=>li(Ere,Zre(e),t)),La=(e,t=[])=>{St(e)?e.forEach(e=>e(...t)):e&&e(...t)},zie=e=>e?St(e)?e.some(e=>e.length>1):e.length>1:!1,Bie=0,Ra=Symbol(`_vod`),Vie=Symbol(`_vsh`),za={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Ra]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):wa(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),wa(e,!0),r.enter(e)):r.leave(e,()=>{wa(e,!1)}):wa(e,t))},beforeUnmount(e,{value:t}){wa(e,t)}},Hie=Symbol(``),Uie=/(?:^|;)\s*display\s*:/,Ba=/\s*!important$/,Wie=[`Webkit`,`Moz`,`ms`],Va={},Gie=`http://www.w3.org/1999/xlink`,Kie=Symbol(`_vei`),qie=/(Once|Passive|Capture)$/,Jie=/^on:?(?:Once|Passive|Capture)$/,Yie=0,Xie=Promise.resolve(),Zie=()=>Yie||=(Xie.then(()=>Yie=0),Date.now()),Qie=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,$ie=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?aie(e,r,o):t===`style`?sie(e,n,r):_t(t)?vt(t)||pie(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):gie(e,t,r,o))?(die(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&uie(e,t,r,o,a,t!==`value`)):e._isVueCE&&(_ie(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Dt(r)))?die(e,Lt(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),uie(e,t,r,o))},Ha=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return St(t)?e=>Ht(t,e):t},Ua=Symbol(`_assign`),Wa=Symbol(`_initialValue`),Ga={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[Wa]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[Wa]=e.defaultValue.replace(/\r\n?/g,`
+`))),e[Ua]=Ha(i);let a=r||i.props&&i.props.type===`number`;Oa(e,t?`change`:`input`,t=>{t.target.composing||e[Ua](bie(e.value,n,a))}),(n||a)&&Oa(e,`change`,()=>{e.value=bie(e.value,n,a)}),t||(Oa(e,`compositionstart`,vie),Oa(e,`compositionend`,yie),Oa(e,`change`,yie))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[Wa];delete e[Wa],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[Ua](bie(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Ua]=Ha(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?Wt(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},eae={deep:!0,created(e,t,n){e[Ua]=Ha(n),Oa(e,`change`,()=>{let t=e._modelValue,n=ka(e),r=e.checked,i=e[Ua];if(St(t)){let e=ft(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(wt(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(wie(e,r))})},mounted:xie,beforeUpdate(e,t,n){e[Ua]=Ha(n),xie(e,t,n)}},tae={created(e,{value:t},n){e.checked=dt(t,n.props.value),e[Ua]=Ha(n),Oa(e,`change`,()=>{e[Ua](ka(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ua]=Ha(r),t!==n&&(e.checked=dt(t,r.props.value))}},nae={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,Oa(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?Wt(ka(e)):ka(e)),r=e.multiple,i=r?wt(e._modelValue)?new Set(t):t:t[0],a=e._pendingValue=[r,r?St(i)?t.slice():t:i];try{e[Ua](i)}finally{nr(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[Ua]=Ha(r)},mounted(e,{value:t}){Cie(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Ua]=Ha(n)},updated(e,{value:t}){let n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!Sie(t,n[1],n[0]))&&Cie(e,t)}},rae={created(e,t,n){Aa(e,t,n,null,`created`)},mounted(e,t,n){Aa(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){Aa(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){Aa(e,t,n,r,`updated`)}},iae=[`ctrl`,`shift`,`alt`,`meta`],aae={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&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>iae.some(n=>e[`${n}Key`]&&!t.includes(n))},Ka=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=aae[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},oae={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},qa=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=Rt(n.key);if(t.some(e=>e===r||oae[e]===r))return e(n)}))},sae=yt({patchProp:$ie},Fie),Ya=!1,cae=((...e)=>{Eie().render(...e)}),Xa=((...e)=>{let t=Eie().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=kie(e);if(!r)return;let i=t._component;!Et(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Oie(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),lae=((...e)=>{let t=Die().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=kie(e);if(t)return n(t,!0,Oie(t))},t})})),B=s((()=>{uae()}))
+/**
+* vue v3.5.44
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/
+;Re(),B();var dae=`usehead`;function fae(){if(Qte()){let e=lr(dae);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function pae(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(dae,e)}}.install}function mae(e,t){return t&&typeof e==`function`&&(e.key=t),e}var hae=[`twitter`,`fediverse`],gae=[`og`,`book`,`article`,`profile`,`fb`,`payment`],_ae=[`ogImage`,`ogVideo`,`ogAudio`,`twitterImage`],vae=[`contentType`,`defaultStyle`,`xUaCompatible`],yae={articleExpirationTime:`article:expiration_time`,articleModifiedTime:`article:modified_time`,articlePublishedTime:`article:published_time`,bookReleaseDate:`book:release_date`,fbAppId:`fb:app_id`,ogAudioSecureUrl:`og:audio:secure_url`,ogAudioUrl:`og:audio`,ogImageSecureUrl:`og:image:secure_url`,ogImageUrl:`og:image`,ogSiteName:`og:site_name`,ogVideoSecureUrl:`og:video:secure_url`,ogVideoUrl:`og:video`,paymentExpiresAt:`payment:expires_at`,paymentSuccessUrl:`payment:success_url`,profileFirstName:`profile:first_name`,profileLastName:`profile:last_name`,profileUsername:`profile:username`,msapplicationConfig:`msapplication-Config`,msapplicationTileColor:`msapplication-TileColor`,msapplicationTileImage:`msapplication-TileImage`},bae=/([A-Z])/g,xae=/^(?:og|twitter)/,Sae={appleItunesApp:{unpack:{entrySeparator:`, `,resolve:({key:e,value:t})=>`${Za(e)}=${t}`}},refresh:{metaKey:`http-equiv`,unpack:{entrySeparator:`;`,resolve:({key:e,value:t})=>e===`seconds`?`${t}`:void 0}},robots:{unpack:{entrySeparator:`, `,resolve:({key:e,value:t})=>typeof t==`boolean`?Za(e):`${Za(e)}:${t}`}},contentSecurityPolicy:{metaKey:`http-equiv`,unpack:{entrySeparator:`; `,resolve:({key:e,value:t})=>`${Za(e)} ${t}`}},charset:{}};function Za(e){let t=e.replace(bae,`-$1`).toLowerCase(),n=t.indexOf(`-`);return n===-1?t:hae.includes(t.slice(0,n))||gae.includes(t.slice(0,n))?e.replace(bae,`:$1`).toLowerCase():t}function Cae(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>String(t)!==`false`&&e))}function wae(e){if(e.index!==!1&&e.follow!==!1)return e;let t={...e};return t.index===!1&&(delete t.index,t.noindex===void 0&&(t.noindex=!0)),t.follow===!1&&(delete t.follow,t.nofollow===void 0&&(t.nofollow=!0)),t}function Qa(e){return Array.isArray(e)?e.map(Qa):!e||typeof e!=`object`?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[Za(e),Qa(t)]))}function Tae(e,t={}){let{entrySeparator:n=``,keyValueSeparator:r=``,wrapValue:i,resolve:a}=t;return Object.entries(e).map(([e,n])=>{if(a){let t=a({key:e,value:n});if(t!==void 0)return t}let o=typeof n==`object`?Tae(n,t):typeof n==`number`?n.toString():typeof n==`string`&&i?`${i}${n.replace(new RegExp(i,`g`),`\\${i}`)}${i}`:n;return`${e}${r}${o}`}).join(n)}function Eae(e,t){let n=Cae(t),r=Za(e),i=Dae(r);return Je.has(r)?$a(Object.fromEntries(Object.entries(n).map(([t,n])=>[`${e}${t===`url`?``:`${t[0].toUpperCase()}${t.slice(1)}`}`,n]))||{}).sort((e,t)=>(e[i]?.length||0)-(t[i]?.length||0)):[{[i]:r,...n}]}function Dae(e){if(Sae[e]?.metaKey===`http-equiv`||vae.includes(e))return`http-equiv`;let t=Za(e),n=t.indexOf(`:`);return n===-1?`name`:gae.includes(t.slice(0,n))?`property`:`name`}function Oae(e){return yae[e]||Za(e)}function kae(e,t){return t===`refresh`?`${e.seconds};url=${e.url}`:Tae(Qa(e),{keyValueSeparator:`=`,entrySeparator:`, `,resolve:({value:e,key:t})=>e===null?``:typeof e==`boolean`?t:void 0,...Sae[t]?.unpack})}function $a(e){let t=[],n={};for(let[r,i]of Object.entries(e))if(Array.isArray(i)){if(r===`themeColor`){i.forEach(e=>{typeof e==`object`&&e&&t.push({name:`theme-color`,...e})});continue}for(let e of i)if(typeof e==`object`&&e){let n=[],i=[];for(let[t,a]of Object.entries(e)){let e=$a({[`${r}${t===`url`?``:`:${t}`}`]:a});(t===`url`?n:i).push(...e)}t.push(...n,...i)}else t.push(...typeof e==`string`?$a({[r]:e}):Eae(r,e))}else if(typeof i==`object`&&i){if(_ae.includes(r)){let e=r.startsWith(`twitter`)?`twitter`:`og`,n=r.replace(xae,``).toLowerCase(),a=e===`twitter`?`name`:`property`;i.url&&t.push({[a]:`${e}:${n}`,content:i.url}),i.secureUrl&&t.push({[a]:`${e}:${n}:secure_url`,content:i.secureUrl});for(let[r,o]of Object.entries(i))r!==`url`&&r!==`secureUrl`&&t.push({[a]:`${e}:${n}:${r}`,content:o})}else Je.has(Za(r))?t.push(...Eae(r,i)):n[r]=Cae(r===`robots`?wae(i):i)}else n[r]=i;let r=Object.entries(n).map(([e,t])=>{if(e===`charset`)return{charset:t===null?`_null`:t};let n=Dae(e),r=Oae(e),i=t===null?`_null`:typeof t==`object`?kae(t,e):typeof t==`number`?t.toString():t;return n===`http-equiv`?{"http-equiv":r,content:i}:{[n]:r,content:i}});return[...t,...r].map(e=>`content`in e&&e.content===`_null`?{...e,content:null}:e)}var Aae=mae({key:`flatMeta`,hooks:{"entries:normalize":e=>{let t=!1,n=[],r=[];for(let i of e.tags)if(i.tag!==`_flatMeta`)n.push(i);else{t=!0;for(let e of $a(i.props))r.push({...i,tag:`meta`,props:e})}if(t){for(let e of r)n.push(e);e.tags=n}}}}),jae=Object.prototype.hasOwnProperty;function Mae(e,t){return jae.call(e,t)}B();var Nae=Object.assign((e,t)=>Sn(t)?wn(t):t,{_static:!0});B();function Pae(e,t={}){let n=t.head||fae();return n.ssr?n.push(e||{},t):Fae(n,e,t)}function Fae(e,t,n={}){let r=Xt();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let i=E(!1);if(n.onRendered&&r){let e=n.onRendered;n={...n,onRendered:t=>r.run(()=>e(t))}}let a;return ur(()=>{let r=i.value?{}:ot(t,Nae);a?a.patch(r):a=e.push(r,n)}),ha()?(Ri(()=>{a.dispose()}),_ne(()=>{i.value=!0}),gne(()=>{i.value=!1})):r&&Zt(()=>a.dispose()),a}function Iae(e){if(e._flatMeta)return e;let t={};for(let n in e)Mae(e,n)&&n!==`title`&&n!==`titleTemplate`&&(t[n]=e[n]);return{title:e.title,titleTemplate:e.titleTemplate,_flatMeta:t}}function Lae(e={},t={}){(t.head||fae()).use(Aae);let n=Pae(Iae(e),t),r=n.patch;return n.__patched||=(n.patch=e=>r(Iae(e)),!0),n}function Rae(e={}){let t=Cee(),n,r=0;return n=Oee({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=pae(n),n}function zae(e,t,n){let r=E(n?.value),i=z(()=>e.value!==void 0);return[z(()=>i.value?e.value:r.value),function(e){return i.value||(r.value=e),t?.(e)}]}var Bae=s((()=>{B()}));function eo(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}var to=s((()=>{}));function no(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let n=setTimeout(...e);t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return eo(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=no();return e(t),this.add(()=>t.dispose())},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}var Vae=s((()=>{to()}));function Hae(e){cr(ro,e)}var ro,Uae,io,ao=s((()=>{B(),ro=Symbol(`headlessui.useid`),Uae=0,io=xr??function(){return lr(ro,()=>`${++Uae}`)()}}));function oo(e){if(e==null||e.value==null)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}var so=s((()=>{}));function co(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):r}let r=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(r,co),r}var lo=s((()=>{})),Wae,Gae,uo,Kae,fo,po=s((()=>{Wae=Object.defineProperty,Gae=(e,t,n)=>t in e?Wae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uo=(e,t,n)=>(Gae(e,typeof t==`symbol`?t:t+``,n),n),Kae=class{constructor(){uo(this,`current`,this.detect()),uo(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 this.current===`server`}get isClient(){return this.current===`client`}detect(){return typeof window>`u`||typeof document>`u`?`server`:`client`}},fo=new Kae}));function mo(e){if(fo.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty(`value`)){let t=oo(e);if(t)return t.ownerDocument}return document}var ho=s((()=>{so(),po()}));function go(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(xo)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}function _o(e,t=0){return e!==mo(e)?.body&&co(t,{0(){return e.matches(xo)},1(){let t=e;for(;t!==null;){if(t.matches(xo))return!0;t=t.parentElement}return!1}})}function qae(e){let t=mo(e);nr(()=>{t&&!_o(t.activeElement,0)&&vo(e)})}function vo(e){e?.focus({preventScroll:!0})}function Jae(e){return(e?.matches)?.call(e,Qae)??!1}function yo(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Yae(e,t){return bo(go(),t,{relativeTo:e})}function bo(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=(Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)??document,o=Array.isArray(e)?n?yo(e):e:go(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r??=a.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),l=t&32?{preventScroll:!0}:{},u=0,d=o.length,f;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(t&16)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}f=o[e],f?.focus(l),u+=s}while(f!==a.activeElement);return t&6&&Jae(f)&&f.select(),2}var xo,So,Co,Xae,wo,Zae,Qae,To=s((()=>{B(),lo(),ho(),xo=[`[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(`,`),So=(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))(So||{}),Co=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(Co||{}),Xae=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(Xae||{}),wo=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(wo||{}),Zae=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(Zae||{}),typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`keydown`,e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible=``)},!0),document.addEventListener(`click`,e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible=``)},!0)),Qae=[`textarea`,`input`].join(`,`)}));function $ae(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function eoe(){return/Android/gi.test(window.navigator.userAgent)}function toe(){return $ae()||eoe()}var noe=s((()=>{}));function Eo(e,t,n){fo.isServer||ur(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}var roe=s((()=>{B(),po()}));function ioe(e,t,n){fo.isServer||ur(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}var aoe=s((()=>{B(),po()}));function Do(e,t,n=z(()=>!0)){function r(r,i){if(!n.value||r.defaultPrevented)return;let a=i(r);if(a===null||!a.getRootNode().contains(a))return;let o=function e(t){return typeof t==`function`?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of o){if(e===null)continue;let t=e instanceof HTMLElement?e:oo(e);if(t!=null&&t.contains(a)||r.composed&&r.composedPath().includes(t))return}return!_o(a,wo.Loose)&&a.tabIndex!==-1&&r.preventDefault(),t(r,a)}let i=E(null);Eo(`pointerdown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Eo(`mousedown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Eo(`click`,e=>{toe()||(i.value&&=(r(e,()=>i.value),null))},!0),Eo(`touchend`,e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),ioe(`blur`,e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Oo=s((()=>{B(),so(),To(),noe(),roe(),aoe()}));function ooe(e,t){if(e)return e;let n=t??`button`;if(typeof n==`string`&&n.toLowerCase()===`button`)return`button`}function ko(e,t){let n=E(ooe(e.value.type,e.value.as));return Ii(()=>{n.value=ooe(e.value.type,e.value.as)}),ur(()=>{var e;n.value||oo(t)&&oo(t)instanceof HTMLButtonElement&&!((e=oo(t))!=null&&e.hasAttribute(`type`))&&(n.value=`button`)}),n}var Ao=s((()=>{B(),so()}));function soe(e){return[e.screenX,e.screenY]}function coe(){let e=E([-1,-1]);return{wasMoved(t){let n=soe(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=soe(t)}}}var loe=s((()=>{B()}));function uoe({container:e,accept:t,walk:n,enabled:r}){ur(()=>{let i=e.value;if(!i||r!==void 0&&!r.value)return;let a=mo(e);if(!a)return;let o=Object.assign(e=>t(e),{acceptNode:t}),s=a.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,o,!1);for(;s.nextNode();)n(s.currentNode)})}var doe=s((()=>{B(),ho()}));function jo({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var a;let o=poe(r,n),s=Object.assign(i,{props:o});return e||t&2&&o.static?Mo(s):t&1?co((a=o.unmount)==null||a?0:1,{0(){return null},1(){return Mo({...i,props:{...o,hidden:!0,style:{display:`none`}}})}}):Mo(s)}function Mo({props:e,attrs:t,slots:n,slot:r,name:i}){let{as:a,...o}=No(e,[`unmount`,`static`]),s=n.default?.call(n,r),c={};if(r){let e=!1,t=[];for(let[n,i]of Object.entries(r))typeof i==`boolean`&&(e=!0),i===!0&&t.push(n);e&&(c[`data-headlessui-state`]=t.join(` `))}if(a===`template`){if(s=foe(s??[]),Object.keys(o).length>0||Object.keys(t).length>0){let[e,...n]=s??[];if(!hoe(e)||n.length>0)throw Error([`Passing props on "template"!`,``,`The current component <${i} /> is rendering a "template".`,`However we need to passthrough the following props:`,Object.keys(o).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,n)=>n.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>` - ${e}`).join(`
+`),``,`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(`
+`)].join(`
+`));let r=poe(e.props??{},o,c),a=ti(e,r,!0);for(let e in r)e.startsWith(`on`)&&(a.props||={},a.props[e]=r[e]);return a}return Array.isArray(s)&&s.length===1?s[0]:s}return li(a,Object.assign({},o,c),{default:()=>s})}function foe(e){return e.flatMap(e=>e.type===L?foe(e.children):[e])}function poe(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if(t instanceof Event&&t.defaultPrevented)return;e(t,...r)}}});return t}function moe(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function No(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function hoe(e){return e==null?!1:typeof e.type==`string`||typeof e.type==`object`||typeof e.type==`function`}var Po,goe,Fo=s((()=>{B(),lo(),Po=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(Po||{}),goe=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(goe||{})})),Io,Lo,Ro=s((()=>{B(),Fo(),Io=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(Io||{}),Lo=k({name:`Hidden`,props:{as:{type:[Object,String],default:`div`},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...i}=e;return jo({ourProps:{"aria-hidden":(r&2)==2?!0:i[`aria-hidden`]??void 0,hidden:(r&4)==4||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`,...(r&4)==4&&(r&2)!=2&&{display:`none`}}},theirProps:i,slot:{},attrs:n,slots:t,name:`Hidden`})}}})}));function zo(){return lr(Vo,null)}function Bo(e){cr(Vo,e)}var Vo,Ho,Uo=s((()=>{B(),Vo=Symbol(`Context`),Ho=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(Ho||{})})),Wo,Go=s((()=>{Wo=(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))(Wo||{})}));function _oe(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var voe=s((()=>{})),Ko,yoe=s((()=>{voe(),Ko=[],_oe(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&Ko[0]!==e.target&&(Ko.unshift(e.target),Ko=Ko.filter(e=>e!=null&&e.isConnected),Ko.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})})}));function boe(e){throw Error(`Unexpected object: `+e)}function xoe(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:i===-1&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:boe(e)}}var qo,Soe=s((()=>{qo=(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))(qo||{})}));function Coe(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))Toe(n,woe(t,r),i);return n}function woe(e,t){return e?e+`[`+t+`]`:t}function Toe(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())Toe(e,woe(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n==`boolean`?e.push([t,n?`1`:`0`]):typeof n==`string`?e.push([t,n]):typeof n==`number`?e.push([t,`${n}`]):n==null?e.push([t,``]):Coe(n,t,e)}var Eoe=s((()=>{})),Doe=s((()=>{}));function Jo(e,t,n,r){fo.isServer||ur(i=>{e??=window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var Yo=s((()=>{B(),po()}));function Xo(){let e=E(0);return ioe(`keydown`,t=>{t.key===`Tab`&&(e.value=+!!t.shiftKey)}),e}var Zo,Ooe=s((()=>{B(),aoe(),Zo=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(Zo||{})}));function koe(e){if(!e)return new Set;if(typeof e==`function`)return new Set(e());let t=new Set;for(let n of e.value){let e=oo(n);e instanceof HTMLElement&&t.add(e)}return t}function Aoe(e){let t=E(Ko.slice());return dr([e],([e],[n])=>{n===!0&&e===!1?eo(()=>{t.value.splice(0)}):n===!1&&e===!0&&(t.value=Ko.slice())},{flush:`post`}),()=>t.value.find(e=>e!=null&&e.isConnected)??null}function joe({ownerDocument:e},t){let n=Aoe(t);Ii(()=>{ur(()=>{t.value||e.value?.activeElement===e.value?.body&&vo(n())},{flush:`post`})}),zi(()=>{t.value&&vo(n())})}function Moe({ownerDocument:e,container:t,initialFocus:n},r){let i=E(null),a=E(!1);return Ii(()=>a.value=!0),zi(()=>a.value=!1),Ii(()=>{dr([t,n,r],(o,s)=>{if(o.every((e,t)=>s?.[t]===e)||!r.value)return;let c=oo(t);c&&eo(()=>{if(!a.value)return;let t=oo(n),r=e.value?.activeElement;if(t){if(t===r){i.value=r;return}}else if(c.contains(r)){i.value=r;return}t?vo(t):bo(c,So.First|So.NoScroll)===Co.Error&&console.warn(`There are no focusable elements inside the <FocusTrap />`),i.value=e.value?.activeElement})},{immediate:!0,flush:`post`})}),i}function Noe({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){Jo(e.value?.defaultView,`focus`,e=>{if(!i.value)return;let a=koe(n);oo(t)instanceof HTMLElement&&a.add(oo(t));let o=r.value;if(!o)return;let s=e.target;s&&s instanceof HTMLElement?Poe(a,s)?(r.value=s,vo(s)):(e.preventDefault(),e.stopPropagation(),vo(o)):vo(r.value)},!0)}function Poe(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var Qo,$o,Foe=s((()=>{B(),Yo(),Ooe(),Ro(),yoe(),so(),To(),lo(),to(),ho(),Fo(),Qo=(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))(Qo||{}),$o=Object.assign(k({name:`FocusTrap`,props:{as:{type:[Object,String],default:`div`},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:E(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=E(null);r({el:i,$el:i});let a=z(()=>mo(i)),o=E(!1);Ii(()=>o.value=!0),zi(()=>o.value=!1),joe({ownerDocument:a},z(()=>o.value&&!!(e.features&16)));let s=Moe({ownerDocument:a,container:i,initialFocus:z(()=>e.initialFocus)},z(()=>o.value&&!!(e.features&2)));Noe({ownerDocument:a,container:i,containers:e.containers,previousActiveElement:s},z(()=>o.value&&!!(e.features&8)));let c=Xo();function l(e){let t=oo(i);t&&(e=>e())(()=>{co(c.value,{[Zo.Forwards]:()=>{bo(t,So.First,{skipElements:[e.relatedTarget]})},[Zo.Backwards]:()=>{bo(t,So.Last,{skipElements:[e.relatedTarget]})}})})}let u=E(!1);function d(e){e.key===`Tab`&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function f(t){if(!o.value)return;let n=koe(e.containers);oo(i)instanceof HTMLElement&&n.add(oo(i));let r=t.relatedTarget;r instanceof HTMLElement&&r.dataset.headlessuiFocusGuard!==`true`&&(Poe(n,r)||(u.value?bo(oo(i),co(c.value,{[Zo.Forwards]:()=>So.Next,[Zo.Backwards]:()=>So.Previous})|So.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&vo(t.target)))}return()=>{let r={},a={ref:i,onKeydown:d,onFocusout:f},{features:o,initialFocus:s,containers:c,...u}=e;return li(L,[!!(o&4)&&li(Lo,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:l,features:Io.Focusable}),jo({ourProps:a,theirProps:{...t,...u},slot:r,attrs:t,slots:n,name:`FocusTrap`}),!!(o&4)&&li(Lo,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:l,features:Io.Focusable})])}}}),{features:Qo})}));function Ioe(e){let t=Cn(e.getSnapshot());return zi(e.subscribe(()=>{t.value=e.getSnapshot()})),t}var Loe=s((()=>{B()}));function Roe(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(e){return r.add(e),()=>r.delete(e)},dispatch(e,...i){let a=t[e].call(n,...i);a&&(n=a,r.forEach(e=>e()))}}}var zoe=s((()=>{}));function Boe(){let e;return{before({doc:t}){let n=t.documentElement;e=(t.defaultView??window).innerWidth-n.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,`paddingRight`,`${a}px`)}}}var Voe=s((()=>{}));function Hoe(){return $ae()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{if(window.getComputedStyle(e.documentElement).scrollBehavior!==`auto`){let n=no();n.style(e.documentElement,`scrollBehavior`,`auto`),t.add(()=>t.microTask(()=>n.dispose()))}let n=window.scrollY??window.pageYOffset,i=null;t.addEventListener(e,`click`,t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest(`a`);if(!n)return;let{hash:a}=new URL(n.href),o=e.querySelector(a);o&&!r(o)&&(i=o)}catch{}},!0),t.addEventListener(e,`touchstart`,e=>{if(e.target instanceof HTMLElement){if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,`overscrollBehavior`,`contain`)}else t.style(e.target,`touchAction`,`none`)}}),t.addEventListener(e,`touchmove`,e=>{if(e.target instanceof HTMLElement){if(e.target.tagName===`INPUT`)return;if(r(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(()=>{let e=window.scrollY??window.pageYOffset;n!==e&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:`nearest`}),i=null)})})}}:{}}var Uoe=s((()=>{Vae(),noe()}));function Woe(){return{before({doc:e,d:t}){t.style(e.documentElement,`overflow`,`hidden`)}}}var Goe=s((()=>{}));function Koe(e){let t={};for(let n of e)Object.assign(t,n(t));return t}var es,qoe=s((()=>{Vae(),zoe(),Voe(),Uoe(),Goe(),es=Roe(()=>new Map,{PUSH(e,t){let n=this.get(e)??{doc:e,count:0,d:no(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:Koe(n)},i=[Hoe(),Boe(),Woe()];i.forEach(({before:e})=>e?.(r)),i.forEach(({after:e})=>e?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}}),es.subscribe(()=>{let e=es.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e=t.get(n.doc)===`hidden`,r=n.count!==0;(r&&!e||!r&&e)&&es.dispatch(n.count>0?`SCROLL_PREVENT`:`SCROLL_ALLOW`,n),n.count===0&&es.dispatch(`TEARDOWN`,n)}})}));function Joe(e,t,n){let r=Ioe(es),i=z(()=>{let t=e.value?r.value.get(e.value):void 0;return t?t.count>0:!1});return dr([e,t],([e,t],[r],i)=>{if(!e||!t)return;es.dispatch(`PUSH`,e,n);let a=!1;i(()=>{a||=(es.dispatch(`POP`,r??e,n),!0)})},{immediate:!0}),i}var Yoe=s((()=>{B(),Loe(),qoe()}));function Xoe(e,t=E(!0)){ur(n=>{if(!t.value)return;let r=oo(e);if(!r)return;n(function(){if(!r)return;let e=ns.get(r)??1;if(e===1?ns.delete(r):ns.set(r,e-1),e!==1)return;let t=ts.get(r);t&&(t[`aria-hidden`]===null?r.removeAttribute(`aria-hidden`):r.setAttribute(`aria-hidden`,t[`aria-hidden`]),r.inert=t.inert,ts.delete(r))});let i=ns.get(r)??0;ns.set(r,i+1),i===0&&(ts.set(r,{"aria-hidden":r.getAttribute(`aria-hidden`),inert:r.inert}),r.setAttribute(`aria-hidden`,`true`),r.inert=!0)})}var ts,ns,Zoe=s((()=>{B(),so(),ts=new Map,ns=new Map}));function Qoe({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=E(null),i=mo(r);function a(){let n=[];for(let t of e)t!==null&&(t instanceof HTMLElement?n.push(t):`value`in t&&t.value instanceof HTMLElement&&n.push(t.value));if(t!=null&&t.value)for(let e of t.value)n.push(e);for(let e of i?.querySelectorAll(`html > *, body > *`)??[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&e.id!==`headlessui-portal-root`&&(e.contains(oo(r))||e.contains(oo(r)?.getRootNode()?.host)||n.some(t=>e.contains(t))||n.push(e));return n}return{resolveContainers:a,contains(e){return a().some(t=>t.contains(e))},mainTreeNodeRef:r,MainTreeNode(){return n==null?li(Lo,{features:Io.Hidden,ref:r}):null}}}var $oe=s((()=>{B(),Ro(),so(),ho()}));function ese(){return lr(rs,!1)}var rs,is,tse=s((()=>{B(),Fo(),rs=Symbol(`ForcePortalRootContext`),is=k({name:`ForcePortalRoot`,props:{as:{type:[Object,String],default:`template`},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return cr(rs,e.force),()=>{let{force:r,...i}=e;return jo({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:`ForcePortalRoot`})}}})}));function nse(){return lr(as,()=>{})}function rse({type:e,enabled:t,element:n,onUpdate:r}){let i=nse();function a(...e){r?.(...e),i(...e)}Ii(()=>{dr(t,(t,r)=>{t?a(0,e,n):r===!0&&a(1,e,n)},{immediate:!0,flush:`sync`})}),zi(()=>{t.value&&a(1,e,n)}),cr(as,a)}var as,os,ise=s((()=>{B(),as=Symbol(`StackContext`),os=(e=>(e[e.Add=0]=`Add`,e[e.Remove=1]=`Remove`,e))(os||{})}));function ase({slot:e=E({}),name:t=`Description`,props:n={}}={}){let r=E([]);function i(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)}}return cr(ose,{register:i,slot:e,name:t,props:n}),z(()=>r.value.length>0?r.value.join(` `):void 0)}var ose,sse=s((()=>{B(),ao(),Fo(),ose=Symbol(`DescriptionContext`)}));function cse(e){let t=mo(e);if(!t){if(e===null)return null;throw Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById(`headlessui-portal-root`);if(n)return n;let r=t.createElement(`div`);return r.setAttribute(`id`,`headlessui-portal-root`),t.body.appendChild(r)}function lse(e){return ss.get(e)??0}function use(e,t){let n=t(lse(e));return n<=0?ss.delete(e):ss.set(e,n),n}function dse(){let e=lr(cs,null),t=E([]);function n(n){return t.value.push(n),e&&e.register(n),()=>r(n)}function r(n){let r=t.value.indexOf(n);r!==-1&&t.value.splice(r,1),e&&e.unregister(n)}let i={register:n,unregister:r,portals:t};return[t,k({name:`PortalWrapper`,setup(e,{slots:t}){return cr(cs,i),()=>t.default?.call(t)}})]}var ss,fse,cs,ls,pse,mse=s((()=>{B(),tse(),so(),ho(),Fo(),ss=new WeakMap,fse=k({name:`Portal`,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n}){let r=E(null),i=z(()=>mo(r)),a=ese(),o=lr(ls,null),s=E(a===!0||o==null?cse(r.value):o.resolveTarget());s.value&&use(s.value,e=>e+1);let c=E(!1);Ii(()=>{c.value=!0}),ur(()=>{a||o!=null&&(s.value=o.resolveTarget())});let l=lr(cs,null),u=!1,d=ha();return dr(r,()=>{if(u||!l)return;let e=oo(r);e&&(zi(l.register(e),d),u=!0)}),zi(()=>{var e;let t=i.value?.getElementById(`headlessui-portal-root`);!t||s.value!==t||use(s.value,e=>e-1)||s.value.children.length>0||(e=s.value.parentElement)==null||e.removeChild(s.value)}),()=>{if(!c.value||s.value===null)return null;let i={ref:r,"data-headlessui-portal":``};return li(Cre,{to:s.value},jo({ourProps:i,theirProps:e,slot:{},attrs:n,slots:t,name:`Portal`}))}}}),cs=Symbol(`PortalParentContext`),ls=Symbol(`PortalGroupContext`),pse=k({name:`PortalGroup`,props:{as:{type:[Object,String],default:`template`},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){return cr(ls,fn({resolveTarget(){return e.target}})),()=>{let{target:r,...i}=e;return jo({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:`PortalGroup`})}}})}));function us(e){let t=lr(ds,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,us),t}return t}var hse,ds,fs,gse,_se,ps,vse=s((()=>{B(),Foe(),Yoe(),Yo(),ao(),Zoe(),Oo(),$oe(),Uo(),tse(),ise(),Go(),so(),lo(),ho(),Fo(),sse(),mse(),hse=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(hse||{}),ds=Symbol(`DialogContext`),fs=`DC8F892D-2EBD-447C-A4C8-A03058436FF4`,gse=k({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:fs},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:`dialog`}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=e.id??`headlessui-dialog-${io()}`,o=E(!1);Ii(()=>{o.value=!0});let s=!1,c=z(()=>e.role===`dialog`||e.role===`alertdialog`?e.role:(s||(s=!0,console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),`dialog`)),l=E(0),u=zo(),d=z(()=>e.open===fs&&u!==null?(u.value&Ho.Open)===Ho.Open:e.open),f=E(null),p=z(()=>mo(f));if(i({el:f,$el:f}),e.open===fs&&u===null)throw Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof d.value!=`boolean`)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${d.value===fs?void 0:e.open}`);let m=z(()=>o.value&&d.value?0:1),h=z(()=>m.value===0),g=z(()=>l.value>1),_=lr(ds,null)!==null,[v,y]=dse(),{resolveContainers:b,mainTreeNodeRef:x,MainTreeNode:ee}=Qoe({portals:v,defaultContainers:[z(()=>se.panelRef.value??f.value)]}),te=z(()=>g.value?`parent`:`leaf`),ne=z(()=>u!==null&&(u.value&Ho.Closing)===Ho.Closing),re=z(()=>_||ne.value?!1:h.value);Xoe(z(()=>Array.from(p.value?.querySelectorAll(`body > *`)??[]).find(e=>e.id!==`headlessui-portal-root`&&e.contains(oo(x))&&e instanceof HTMLElement)??null),re);let ie=z(()=>g.value?!0:h.value);Xoe(z(()=>Array.from(p.value?.querySelectorAll(`[data-headlessui-portal]`)??[]).find(e=>e.contains(oo(x))&&e instanceof HTMLElement)??null),ie),rse({type:`Dialog`,enabled:z(()=>m.value===0),element:f,onUpdate:(e,t)=>{if(t===`Dialog`)return co(e,{[os.Add]:()=>l.value+=1,[os.Remove]:()=>--l.value})}});let ae=ase({name:`DialogDescription`,slot:z(()=>({open:d.value}))}),oe=E(null),se={titleId:oe,panelRef:E(null),dialogState:m,setTitleId(e){oe.value!==e&&(oe.value=e)},close(){t(`close`,!1)}};cr(ds,se),Do(b,(e,t)=>{e.preventDefault(),se.close(),nr(()=>t?.focus())},z(()=>!(!h.value||g.value)));let ce=z(()=>!(g.value||m.value!==0));return Jo(p.value?.defaultView,`keydown`,e=>{ce.value&&(e.defaultPrevented||e.key===Wo.Escape&&(e.preventDefault(),e.stopPropagation(),se.close()))}),Joe(p,z(()=>!(ne.value||m.value!==0||_)),e=>({containers:[...e.containers??[],b]})),ur(e=>{if(m.value!==0)return;let t=oo(f);if(!t)return;let n=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();e.x===0&&e.y===0&&e.width===0&&e.height===0&&se.close()}});n.observe(t),e(()=>n.disconnect())}),()=>{let{open:t,initialFocus:i,...o}=e,s={...n,ref:f,id:a,role:c.value,"aria-modal":m.value===0||void 0,"aria-labelledby":oe.value,"aria-describedby":ae.value},l={open:m.value===0};return li(is,{force:!0},()=>[li(fse,()=>li(pse,{target:f.value},()=>li(is,{force:!1},()=>li($o,{initialFocus:i,containers:b,features:h.value?co(te.value,{parent:$o.features.RestoreFocus,leaf:$o.features.All&~$o.features.FocusLock}):$o.features.None},()=>li(y,{},()=>jo({ourProps:s,theirProps:{...o,...n},slot:l,attrs:n,slots:r,visible:m.value===0,features:Po.RenderStrategy|Po.Static,name:`Dialog`})))))),li(ee)])}}}),_se=k({name:`DialogPanel`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-panel-${io()}`,a=us(`DialogPanel`);r({el:a.panelRef,$el:a.panelRef});function o(e){e.stopPropagation()}return()=>{let{...r}=e;return jo({ourProps:{id:i,ref:a.panelRef,onClick:o},theirProps:r,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogPanel`})}}}),ps=k({name:`DialogTitle`,props:{as:{type:[Object,String],default:`h2`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-title-${io()}`,i=us(`DialogTitle`);return Ii(()=>{i.setTitleId(r),zi(()=>i.setTitleId(null))}),()=>{let{...a}=e;return jo({ourProps:{id:r},theirProps:a,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogTitle`})}}})}));function ms(e){let t=lr(hs,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ms),t}return t}function yse(){return lr(gs,null)}var bse,hs,gs,_s,vs,ys,xse=s((()=>{B(),ao(),Ao(),Uo(),Go(),so(),lo(),Fo(),bse=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(bse||{}),hs=Symbol(`DisclosureContext`),gs=Symbol(`DisclosurePanelContext`),_s=k({name:`Disclosure`,props:{as:{type:[Object,String],default:`template`},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=E(+!e.defaultOpen),i=E(null),a=E(null),o={buttonId:E(`headlessui-disclosure-button-${io()}`),panelId:E(`headlessui-disclosure-panel-${io()}`),disclosureState:r,panel:i,button:a,toggleDisclosure(){r.value=co(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(e){o.closeDisclosure(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?oo(e):oo(o.button):oo(o.button))?.focus()}};return cr(hs,o),Bo(z(()=>co(r.value,{0:Ho.Open,1:Ho.Closed}))),()=>{let{defaultOpen:i,...a}=e;return jo({theirProps:a,ourProps:{},slot:{open:r.value===0,close:o.close},slots:t,attrs:n,name:`Disclosure`})}}}),vs=k({name:`DisclosureButton`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=ms(`DisclosureButton`),a=yse(),o=z(()=>a!==null&&a.value===i.panelId.value);Ii(()=>{o.value||e.id!==null&&(i.buttonId.value=e.id)}),zi(()=>{o.value||(i.buttonId.value=null)});let s=E(null);r({el:s,$el:s}),o.value||ur(()=>{i.button.value=s.value});let c=ko(z(()=>({as:e.as,type:t.type})),s);function l(){var t;e.disabled||(o.value?(i.toggleDisclosure(),(t=oo(i.button))==null||t.focus()):i.toggleDisclosure())}function u(t){var n;if(!e.disabled){if(o.value)switch(t.key){case Wo.Space:case Wo.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure(),(n=oo(i.button))==null||n.focus()}else switch(t.key){case Wo.Space:case Wo.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure()}}}function d(e){switch(e.key){case Wo.Space:e.preventDefault()}}return()=>{let r={open:i.disclosureState.value===0},{id:a,...f}=e;return jo({ourProps:o.value?{ref:s,type:c.value,onClick:l,onKeydown:u}:{id:i.buttonId.value??a,ref:s,type:c.value,"aria-expanded":i.disclosureState.value===0,"aria-controls":i.disclosureState.value===0||oo(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:l,onKeydown:u,onKeyup:d},theirProps:f,slot:r,attrs:t,slots:n,name:`DisclosureButton`})}}}),ys=k({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:n,expose:r}){let i=ms(`DisclosurePanel`);Ii(()=>{e.id!==null&&(i.panelId.value=e.id)}),zi(()=>{i.panelId.value=null}),r({el:i.panel,$el:i.panel}),cr(gs,i.panelId);let a=zo(),o=z(()=>a===null?i.disclosureState.value===0:(a.value&Ho.Open)===Ho.Open);return()=>{let r={open:i.disclosureState.value===0,close:i.close},{id:a,...s}=e;return jo({ourProps:{id:i.panelId.value??a,ref:i.panel},theirProps:s,slot:r,attrs:t,slots:n,features:Po.RenderStrategy|Po.Static,visible:o.value,name:`DisclosurePanel`})}}})}));function Sse(e){let t=e.innerText??``,n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return t;let r=!1;for(let e of n.querySelectorAll(`[hidden],[aria-hidden],[role="img"]`))e.remove(),r=!0;let i=r?n.innerText??``:t;return wse.test(i)&&(i=i.replace(wse,``)),i}function Cse(e){let t=e.getAttribute(`aria-label`);if(typeof t==`string`)return t.trim();let n=e.getAttribute(`aria-labelledby`);if(n){let e=n.split(` `).map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute(`aria-label`);return typeof e==`string`?e.trim():Sse(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return Sse(e).trim()}var wse,Tse=s((()=>{wse=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g}));function Ese(e){let t=E(``),n=E(``);return()=>{let r=oo(e);if(!r)return``;let i=r.innerText;if(t.value===i)return n.value;let a=Cse(r).trim().toLowerCase();return t.value=i,n.value=a,a}}var Dse=s((()=>{B(),so(),Tse()}));function Ose(e,t){return e===t}function kse(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function bs(e){let t=lr(Nse,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,bs),t}return t}var Ase,jse,Mse,Nse,Pse,Fse,Ise,Lse,Rse,zse=s((()=>{B(),Bae(),ao(),Oo(),Ao(),Dse(),loe(),Ro(),Uo(),Go(),Soe(),so(),To(),Eoe(),lo(),Fo(),Ase=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Ase||{}),jse=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(jse||{}),Mse=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(Mse||{}),Nse=Symbol(`ListboxContext`),Pse=k({name:`Listbox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Ose},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:n,emit:r}){let i=E(1),a=E(null),o=E(null),s=E(null),c=E([]),l=E(``),u=E(null),d=E(1);function f(e=e=>e){let t=u.value===null?null:c.value[u.value],n=yo(e(c.value.slice()),e=>oo(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{options:n,activeOptionIndex:r}}let p=z(()=>+!!e.multiple),[m,h]=zae(z(()=>e.modelValue),e=>r(`update:modelValue`,e),z(()=>e.defaultValue)),g=z(()=>m.value===void 0?co(p.value,{1:[],0:void 0}):m.value),_={listboxState:i,value:g,mode:p,compare(t,n){if(typeof e.by==`string`){let r=e.by;return t?.[r]===n?.[r]}return e.by(t,n)},orientation:z(()=>e.horizontal?`horizontal`:`vertical`),labelRef:a,buttonRef:o,optionsRef:s,disabled:z(()=>e.disabled),options:c,searchQuery:l,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||i.value!==1&&(i.value=1,u.value=null)},openListbox(){e.disabled||i.value!==0&&(i.value=0)},goToOption(t,n,r){if(e.disabled||i.value===1)return;let a=f(),o=xoe(t===qo.Specific?{focus:qo.Specific,id:n}:{focus:t},{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});l.value=``,u.value=o,d.value=r??1,c.value=a.options},search(t){if(e.disabled||i.value===1)return;let n=+(l.value===``);l.value+=t.toLowerCase();let r=(u.value===null?c.value:c.value.slice(u.value+n).concat(c.value.slice(0,u.value+n))).find(e=>e.dataRef.textValue.startsWith(l.value)&&!e.dataRef.disabled),a=r?c.value.indexOf(r):-1;a===-1||a===u.value||(u.value=a,d.value=1)},clearSearch(){e.disabled||i.value!==1&&l.value!==``&&(l.value=``)},registerOption(e,t){let n=f(n=>[...n,{id:e,dataRef:t}]);c.value=n.options,u.value=n.activeOptionIndex},unregisterOption(e){let t=f(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});c.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||h(t)},select(t){e.disabled||h(co(p.value,{0:()=>t,1:()=>{let e=xn(_.value.value).slice(),n=xn(t),r=e.findIndex(e=>_.compare(n,xn(e)));return r===-1?e.push(n):e.splice(r,1),e}}))}};Do([o,s],(e,t)=>{var n;_.closeListbox(),_o(t,wo.Loose)||(e.preventDefault(),(n=oo(o))==null||n.focus())},z(()=>i.value===0)),cr(Nse,_),Bo(z(()=>co(i.value,{0:Ho.Open,1:Ho.Closed})));let v=z(()=>oo(o)?.closest(`form`));return Ii(()=>{dr([v],()=>{if(!v.value||e.defaultValue===void 0)return;function t(){_.theirOnChange(e.defaultValue)}return v.value.addEventListener(`reset`,t),()=>{var e;(e=v.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{name:r,modelValue:a,disabled:o,form:s,...c}=e,l={open:i.value===0,disabled:o,value:g.value};return li(L,[...r!=null&&g.value!=null?Coe({[r]:g.value}).map(([e,t])=>li(Lo,moe({features:Io.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:o,name:e,value:t}))):[],jo({ourProps:{},theirProps:{...n,...No(c,[`defaultValue`,`onUpdate:modelValue`,`horizontal`,`multiple`,`by`])},slot:l,slots:t,attrs:n,name:`Listbox`})])}}}),Fse=k({name:`ListboxLabel`,props:{as:{type:[Object,String],default:`label`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-listbox-label-${io()}`,i=bs(`ListboxLabel`);function a(){var e;(e=oo(i.buttonRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.listboxState.value===0,disabled:i.disabled.value},{...s}=e;return jo({ourProps:{id:r,ref:i.labelRef,onClick:a},theirProps:s,slot:o,attrs:t,slots:n,name:`ListboxLabel`})}}}),Ise=k({name:`ListboxButton`,props:{as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-button-${io()}`,a=bs(`ListboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case Wo.Space:case Wo.Enter:case Wo.ArrowDown:e.preventDefault(),a.openListbox(),nr(()=>{var e;(e=oo(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(qo.First)});break;case Wo.ArrowUp:e.preventDefault(),a.openListbox(),nr(()=>{var e;(e=oo(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(qo.Last)})}}function s(e){switch(e.key){case Wo.Space:e.preventDefault()}}function c(e){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),nr(()=>oo(a.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),a.openListbox(),kse(()=>oo(a.optionsRef)?.focus({preventScroll:!0}))))}let l=ko(z(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...u}=e;return jo({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`listbox`,"aria-controls":oo(a.optionsRef)?.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[oo(a.labelRef)?.id,i].join(` `):void 0,disabled:a.disabled.value===!0||void 0,onKeydown:o,onKeyup:s,onClick:c},theirProps:u,slot:r,attrs:t,slots:n,name:`ListboxButton`})}}}),Lse=k({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:n,expose:r}){let i=e.id??`headlessui-listbox-options-${io()}`,a=bs(`ListboxOptions`),o=E(null);r({el:a.optionsRef,$el:a.optionsRef});function s(e){switch(o.value&&clearTimeout(o.value),e.key){case Wo.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case Wo.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeOptionIndex.value!==null){let e=a.options.value[a.activeOptionIndex.value];a.select(e.dataRef.value)}a.mode.value===0&&(a.closeListbox(),nr(()=>oo(a.buttonRef)?.focus({preventScroll:!0})));break;case co(a.orientation.value,{vertical:Wo.ArrowDown,horizontal:Wo.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a.goToOption(qo.Next);case co(a.orientation.value,{vertical:Wo.ArrowUp,horizontal:Wo.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a.goToOption(qo.Previous);case Wo.Home:case Wo.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToOption(qo.First);case Wo.End:case Wo.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToOption(qo.Last);case Wo.Escape:e.preventDefault(),e.stopPropagation(),a.closeListbox(),nr(()=>oo(a.buttonRef)?.focus({preventScroll:!0}));break;case Wo.Tab:e.preventDefault(),e.stopPropagation();break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350))}}let c=zo(),l=z(()=>c===null?a.listboxState.value===0:(c.value&Ho.Open)===Ho.Open);return()=>{var r;let o={open:a.listboxState.value===0},{...c}=e;return jo({ourProps:{"aria-activedescendant":a.activeOptionIndex.value===null||(r=a.options.value[a.activeOptionIndex.value])==null?void 0:r.id,"aria-multiselectable":a.mode.value===1||void 0,"aria-labelledby":oo(a.buttonRef)?.id,"aria-orientation":a.orientation.value,id:i,onKeydown:s,role:`listbox`,tabIndex:0,ref:a.optionsRef},theirProps:c,slot:o,attrs:t,slots:n,features:Po.RenderStrategy|Po.Static,visible:l.value,name:`ListboxOptions`})}}}),Rse=k({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:n,expose:r}){let i=e.id??`headlessui-listbox-option-${io()}`,a=bs(`ListboxOption`),o=E(null);r({el:o,$el:o});let s=z(()=>a.activeOptionIndex.value!==null&&a.options.value[a.activeOptionIndex.value].id===i),c=z(()=>co(a.mode.value,{0:()=>a.compare(xn(a.value.value),xn(e.value)),1:()=>xn(a.value.value).some(t=>a.compare(xn(t),xn(e.value)))})),l=z(()=>co(a.mode.value,{1:()=>{let e=xn(a.value.value);return a.options.value.find(t=>e.some(e=>a.compare(xn(e),xn(t.dataRef.value))))?.id===i},0:()=>c.value})),u=Ese(o),d=z(()=>({disabled:e.disabled,value:e.value,get textValue(){return u()},domRef:o}));Ii(()=>a.registerOption(i,d)),zi(()=>a.unregisterOption(i)),Ii(()=>{dr([a.listboxState,c],()=>{a.listboxState.value===0&&c.value&&co(a.mode.value,{1:()=>{l.value&&a.goToOption(qo.Specific,i)},0:()=>{a.goToOption(qo.Specific,i)}})},{immediate:!0})}),ur(()=>{a.listboxState.value===0&&s.value&&a.activationTrigger.value!==0&&nr(()=>{var e;return((e=oo(o))?.scrollIntoView)?.call(e,{block:`nearest`})})});function f(t){if(e.disabled)return t.preventDefault();a.select(e.value),a.mode.value===0&&(a.closeListbox(),nr(()=>oo(a.buttonRef)?.focus({preventScroll:!0})))}function p(){if(e.disabled)return a.goToOption(qo.Nothing);a.goToOption(qo.Specific,i)}let m=coe();function h(e){m.update(e)}function g(t){m.wasMoved(t)&&(e.disabled||s.value||a.goToOption(qo.Specific,i,0))}function _(t){m.wasMoved(t)&&(e.disabled||s.value&&a.goToOption(qo.Nothing))}return()=>{let{disabled:r}=e,a={active:s.value,selected:c.value,disabled:r},{value:l,disabled:u,...d}=e;return jo({ourProps:{id:i,ref:o,role:`option`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0||void 0,"aria-selected":c.value,disabled:void 0,onClick:f,onFocus:p,onPointerenter:h,onMouseenter:h,onPointermove:g,onMousemove:g,onPointerleave:_,onMouseleave:_},theirProps:d,slot:a,attrs:n,slots:t,name:`ListboxOption`})}}})}));function Bse(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function xs(e){let t=lr(Use,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,xs),t}return t}var Vse,Hse,Use,Wse,Gse,Kse,qse,Jse=s((()=>{B(),ao(),Oo(),Ao(),Dse(),loe(),doe(),Uo(),Go(),Soe(),so(),To(),lo(),Fo(),Vse=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Vse||{}),Hse=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(Hse||{}),Use=Symbol(`MenuContext`),Wse=k({name:`Menu`,props:{as:{type:[Object,String],default:`template`}},setup(e,{slots:t,attrs:n}){let r=E(1),i=E(null),a=E(null),o=E([]),s=E(``),c=E(null),l=E(1);function u(e=e=>e){let t=c.value===null?null:o.value[c.value],n=yo(e(o.value.slice()),e=>oo(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{items:n,activeItemIndex:r}}let d={menuState:r,buttonRef:i,itemsRef:a,items:o,searchQuery:s,activeItemIndex:c,activationTrigger:l,closeMenu:()=>{r.value=1,c.value=null},openMenu:()=>r.value=0,goToItem(e,t,n){let r=u(),i=xoe(e===qo.Specific?{focus:qo.Specific,id:t}:{focus:e},{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});s.value=``,c.value=i,l.value=n??1,o.value=r.items},search(e){let t=+(s.value===``);s.value+=e.toLowerCase();let n=(c.value===null?o.value:o.value.slice(c.value+t).concat(o.value.slice(0,c.value+t))).find(e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled),r=n?o.value.indexOf(n):-1;r===-1||r===c.value||(c.value=r,l.value=1)},clearSearch(){s.value=``},registerItem(e,t){let n=u(n=>[...n,{id:e,dataRef:t}]);o.value=n.items,c.value=n.activeItemIndex,l.value=1},unregisterItem(e){let t=u(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});o.value=t.items,c.value=t.activeItemIndex,l.value=1}};return Do([i,a],(e,t)=>{var n;d.closeMenu(),_o(t,wo.Loose)||(e.preventDefault(),(n=oo(i))==null||n.focus())},z(()=>r.value===0)),cr(Use,d),Bo(z(()=>co(r.value,{0:Ho.Open,1:Ho.Closed}))),()=>jo({ourProps:{},theirProps:e,slot:{open:r.value===0,close:d.closeMenu},slots:t,attrs:n,name:`Menu`})}}),Gse=k({name:`MenuButton`,props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-menu-button-${io()}`,a=xs(`MenuButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case Wo.Space:case Wo.Enter:case Wo.ArrowDown:e.preventDefault(),e.stopPropagation(),a.openMenu(),nr(()=>{var e;(e=oo(a.itemsRef))==null||e.focus({preventScroll:!0}),a.goToItem(qo.First)});break;case Wo.ArrowUp:e.preventDefault(),e.stopPropagation(),a.openMenu(),nr(()=>{var e;(e=oo(a.itemsRef))==null||e.focus({preventScroll:!0}),a.goToItem(qo.Last)})}}function s(e){switch(e.key){case Wo.Space:e.preventDefault()}}function c(t){e.disabled||(a.menuState.value===0?(a.closeMenu(),nr(()=>oo(a.buttonRef)?.focus({preventScroll:!0}))):(t.preventDefault(),a.openMenu(),Bse(()=>oo(a.itemsRef)?.focus({preventScroll:!0}))))}let l=ko(z(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.menuState.value===0},{...u}=e;return jo({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`menu`,"aria-controls":oo(a.itemsRef)?.id,"aria-expanded":a.menuState.value===0,onKeydown:o,onKeyup:s,onClick:c},theirProps:u,slot:r,attrs:t,slots:n,name:`MenuButton`})}}}),Kse=k({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:n,expose:r}){let i=e.id??`headlessui-menu-items-${io()}`,a=xs(`MenuItems`),o=E(null);r({el:a.itemsRef,$el:a.itemsRef}),uoe({container:z(()=>oo(a.itemsRef)),enabled:z(()=>a.menuState.value===0),accept(e){return e.getAttribute(`role`)===`menuitem`?NodeFilter.FILTER_REJECT:e.hasAttribute(`role`)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(e){e.setAttribute(`role`,`none`)}});function s(e){var t;switch(o.value&&clearTimeout(o.value),e.key){case Wo.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case Wo.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeItemIndex.value!==null){let e=a.items.value[a.activeItemIndex.value];(t=oo(e.dataRef.domRef))==null||t.click()}a.closeMenu(),qae(oo(a.buttonRef));break;case Wo.ArrowDown:return e.preventDefault(),e.stopPropagation(),a.goToItem(qo.Next);case Wo.ArrowUp:return e.preventDefault(),e.stopPropagation(),a.goToItem(qo.Previous);case Wo.Home:case Wo.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToItem(qo.First);case Wo.End:case Wo.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToItem(qo.Last);case Wo.Escape:e.preventDefault(),e.stopPropagation(),a.closeMenu(),nr(()=>oo(a.buttonRef)?.focus({preventScroll:!0}));break;case Wo.Tab:e.preventDefault(),e.stopPropagation(),a.closeMenu(),nr(()=>Yae(oo(a.buttonRef),e.shiftKey?So.Previous:So.Next));break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350))}}function c(e){switch(e.key){case Wo.Space:e.preventDefault()}}let l=zo(),u=z(()=>l===null?a.menuState.value===0:(l.value&Ho.Open)===Ho.Open);return()=>{var r;let o={open:a.menuState.value===0},{...l}=e;return jo({ourProps:{"aria-activedescendant":a.activeItemIndex.value===null||(r=a.items.value[a.activeItemIndex.value])==null?void 0:r.id,"aria-labelledby":oo(a.buttonRef)?.id,id:i,onKeydown:s,onKeyup:c,role:`menu`,tabIndex:0,ref:a.itemsRef},theirProps:l,slot:o,attrs:t,slots:n,features:Po.RenderStrategy|Po.Static,visible:u.value,name:`MenuItems`})}}}),qse=k({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:n,expose:r}){let i=e.id??`headlessui-menu-item-${io()}`,a=xs(`MenuItem`),o=E(null);r({el:o,$el:o});let s=z(()=>a.activeItemIndex.value!==null&&a.items.value[a.activeItemIndex.value].id===i),c=Ese(o),l=z(()=>({disabled:e.disabled,get textValue(){return c()},domRef:o}));Ii(()=>a.registerItem(i,l)),zi(()=>a.unregisterItem(i)),ur(()=>{a.menuState.value===0&&s.value&&a.activationTrigger.value!==0&&nr(()=>{var e;return((e=oo(o))?.scrollIntoView)?.call(e,{block:`nearest`})})});function u(t){if(e.disabled)return t.preventDefault();a.closeMenu(),qae(oo(a.buttonRef))}function d(){if(e.disabled)return a.goToItem(qo.Nothing);a.goToItem(qo.Specific,i)}let f=coe();function p(e){f.update(e)}function m(t){f.wasMoved(t)&&(e.disabled||s.value||a.goToItem(qo.Specific,i,0))}function h(t){f.wasMoved(t)&&(e.disabled||s.value&&a.goToItem(qo.Nothing))}return()=>{let{disabled:r,...c}=e,l={active:s.value,disabled:r,close:a.closeMenu};return jo({ourProps:{id:i,ref:o,role:`menuitem`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0||void 0,onClick:u,onFocus:d,onPointerenter:p,onMouseenter:p,onPointermove:m,onMousemove:m,onPointerleave:h,onMouseleave:h},theirProps:{...n,...c},slot:l,attrs:n,slots:t,name:`MenuItem`})}}})}));function Yse(e){let t=lr($se,null);if(t===null){let t=Error(`<${e} /> is missing a parent <${Ss.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Yse),t}return t}function Xse(){return lr(ece,null)}function Zse(){return lr(tce,null)}var Qse,$se,ece,tce,Ss,nce,rce,ice=s((()=>{B(),mse(),Yo(),ao(),Oo(),Ao(),$oe(),Ooe(),Ro(),Uo(),Go(),so(),To(),lo(),ho(),Fo(),Qse=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Qse||{}),$se=Symbol(`PopoverContext`),ece=Symbol(`PopoverGroupContext`),tce=Symbol(`PopoverPanelContext`),Ss=k({name:`Popover`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n,expose:r}){let i=E(null);r({el:i,$el:i});let a=E(1),o=E(null),s=E(null),c=E(null),l=E(null),u=z(()=>mo(i)),d=z(()=>{var e,t;if(!oo(o)||!oo(l))return!1;for(let e of document.querySelectorAll(`body > *`))if(Number(e?.contains(oo(o)))^Number(e?.contains(oo(l))))return!0;let n=go(),r=n.indexOf(oo(o)),i=(r+n.length-1)%n.length,a=(r+1)%n.length,s=n[i],c=n[a];return!((e=oo(l))!=null&&e.contains(s))&&!((t=oo(l))!=null&&t.contains(c))}),f={popoverState:a,buttonId:E(null),panelId:E(null),panel:l,button:o,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:c,togglePopover(){a.value=co(a.value,{0:1,1:0})},closePopover(){a.value!==1&&(a.value=1)},close(e){f.closePopover(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?oo(e):oo(f.button):oo(f.button))?.focus()}};cr($se,f),Bo(z(()=>co(a.value,{0:Ho.Open,1:Ho.Closed})));let p={buttonId:f.buttonId,panelId:f.panelId,close(){f.closePopover()}},m=Xse(),h=m?.registerPopover,[g,_]=dse(),v=Qoe({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[o,l]});function y(){return m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(oo(o)?.contains(u.value.activeElement)||oo(l)?.contains(u.value.activeElement)))}return ur(()=>h?.(p)),Jo(u.value?.defaultView,`focus`,e=>{var t,n;e.target!==window&&e.target instanceof HTMLElement&&a.value===0&&(y()||o&&l&&(v.contains(e.target)||(t=oo(f.beforePanelSentinel))!=null&&t.contains(e.target)||(n=oo(f.afterPanelSentinel))!=null&&n.contains(e.target)||f.closePopover()))},!0),Do(v.resolveContainers,(e,t)=>{var n;f.closePopover(),_o(t,wo.Loose)||(e.preventDefault(),(n=oo(o))==null||n.focus())},z(()=>a.value===0)),()=>{let r={open:a.value===0,close:f.close};return li(L,[li(_,{},()=>jo({theirProps:{...e,...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:`Popover`})),li(v.MainTreeNode)])}}}),nce=k({name:`PopoverButton`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-popover-button-${io()}`,a=Yse(`PopoverButton`),o=z(()=>mo(a.button));r({el:a.button,$el:a.button}),Ii(()=>{a.buttonId.value=i}),zi(()=>{a.buttonId.value=null});let s=Xse()?.closeOthers,c=Zse(),l=z(()=>c!==null&&c.value===a.panelId.value),u=E(null),d=`headlessui-focus-sentinel-${io()}`;l.value||ur(()=>{a.button.value=oo(u)});let f=ko(z(()=>({as:e.as,type:t.type})),u);function p(e){var t,n,r,i,c;if(l.value){if(a.popoverState.value===1)return;switch(e.key){case Wo.Space:case Wo.Enter:e.preventDefault(),(n=(t=e.target).click)==null||n.call(t),a.closePopover(),(r=oo(a.button))==null||r.focus()}}else switch(e.key){case Wo.Space:case Wo.Enter:e.preventDefault(),e.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover();break;case Wo.Escape:if(a.popoverState.value!==0)return s?.(a.buttonId.value);if(!oo(a.button)||(i=o.value)!=null&&i.activeElement&&!((c=oo(a.button))!=null&&c.contains(o.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),a.closePopover()}}function m(e){l.value||e.key===Wo.Space&&e.preventDefault()}function h(t){var n,r;e.disabled||(l.value?(a.closePopover(),(n=oo(a.button))==null||n.focus()):(t.preventDefault(),t.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover(),(r=oo(a.button))==null||r.focus()))}function g(e){e.preventDefault(),e.stopPropagation()}let _=Xo();function v(){let e=oo(a.panel);if(!e)return;function t(){co(_.value,{[Zo.Forwards]:()=>bo(e,So.First),[Zo.Backwards]:()=>bo(e,So.Last)})===Co.Error&&bo(go().filter(e=>e.dataset.headlessuiFocusGuard!==`true`),co(_.value,{[Zo.Forwards]:So.Next,[Zo.Backwards]:So.Previous}),{relativeTo:oo(a.button)})}t()}return()=>{let r=a.popoverState.value===0,o={open:r},{...s}=e,c=l.value?{ref:u,type:f.value,onKeydown:p,onClick:h}:{ref:u,id:i,type:f.value,"aria-expanded":a.popoverState.value===0,"aria-controls":oo(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:p,onKeyup:m,onClick:h,onMousedown:g};return li(L,[jo({ourProps:c,theirProps:{...t,...s},slot:o,attrs:t,slots:n,name:`PopoverButton`}),r&&!l.value&&a.isPortalled.value&&li(Lo,{id:d,features:Io.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:v})])}}}),rce=k({name:`PopoverPanel`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-popover-panel-${io()}`,{focus:a}=e,o=Yse(`PopoverPanel`),s=z(()=>mo(o.panel)),c=`headlessui-focus-sentinel-before-${io()}`,l=`headlessui-focus-sentinel-after-${io()}`;r({el:o.panel,$el:o.panel}),Ii(()=>{o.panelId.value=i}),zi(()=>{o.panelId.value=null}),cr(tce,o.panelId),ur(()=>{var e;if(!a||o.popoverState.value!==0||!o.panel)return;let t=s.value?.activeElement;(e=oo(o.panel))!=null&&e.contains(t)||bo(oo(o.panel),So.First)});let u=zo(),d=z(()=>u===null?o.popoverState.value===0:(u.value&Ho.Open)===Ho.Open);function f(e){var t,n;switch(e.key){case Wo.Escape:if(o.popoverState.value!==0||!oo(o.panel)||s.value&&!((t=oo(o.panel))!=null&&t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover(),(n=oo(o.button))==null||n.focus()}}function p(e){var t,n,r,i,a;let s=e.relatedTarget;s&&oo(o.panel)&&((t=oo(o.panel))!=null&&t.contains(s)||(o.closePopover(),((r=(n=oo(o.beforePanelSentinel))?.contains)!=null&&r.call(n,s)||(a=(i=oo(o.afterPanelSentinel))?.contains)!=null&&a.call(i,s))&&s.focus({preventScroll:!0})))}let m=Xo();function h(){let e=oo(o.panel);if(!e)return;function t(){co(m.value,{[Zo.Forwards]:()=>{var t;bo(e,So.First)===Co.Error&&((t=oo(o.afterPanelSentinel))==null||t.focus())},[Zo.Backwards]:()=>{var e;(e=oo(o.button))==null||e.focus({preventScroll:!0})}})}t()}function g(){let e=oo(o.panel);if(!e)return;function t(){co(m.value,{[Zo.Forwards]:()=>{let e=oo(o.button),t=oo(o.panel);if(!e)return;let n=go(),r=n.indexOf(e),i=n.slice(0,r+1),a=[...n.slice(r+1),...i];for(let e of a.slice())if(e.dataset.headlessuiFocusGuard===`true`||t!=null&&t.contains(e)){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}bo(a,So.First,{sorted:!1})},[Zo.Backwards]:()=>{var t;bo(e,So.Previous)===Co.Error&&((t=oo(o.button))==null||t.focus())}})}t()}return()=>{let r={open:o.popoverState.value===0,close:o.close},{focus:s,...u}=e;return jo({ourProps:{ref:o.panel,id:i,onKeydown:f,onFocusout:a&&o.popoverState.value===0?p:void 0,tabIndex:-1},theirProps:{...t,...u},attrs:t,slot:r,slots:{...n,default:(...e)=>[li(L,[d.value&&o.isPortalled.value&&li(Lo,{id:c,ref:o.beforePanelSentinel,features:Io.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:h}),n.default?.call(n,...e),d.value&&o.isPortalled.value&&li(Lo,{id:l,ref:o.afterPanelSentinel,features:Io.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:g})])]},features:Po.RenderStrategy|Po.Static,visible:d.value,name:`PopoverPanel`})}}})})),ace=s((()=>{})),oce=s((()=>{})),sce,cce=s((()=>{B(),Ro(),sce=k({props:{onFocus:{type:Function,required:!0}},setup(e){let t=E(!0);return()=>t.value?li(Lo,{as:`button`,type:`button`,features:Io.Focusable,onFocus(n){n.preventDefault();let r,i=50;function a(){var n;i--<=0?r&&cancelAnimationFrame(r):(n=e.onFocus)!=null&&n.call(e)?(t.value=!1,cancelAnimationFrame(r)):r=requestAnimationFrame(a)}r=requestAnimationFrame(a)}}):null}})}));function Cs(e){let t=lr(dce,null);if(t===null){let t=Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Cs),t}return t}var lce,uce,dce,ws,fce,pce,mce,hce,gce,_ce=s((()=>{B(),ao(),Ao(),cce(),Ro(),Go(),so(),To(),lo(),to(),ho(),Fo(),lce=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(lce||{}),uce=(e=>(e[e.Less=-1]=`Less`,e[e.Equal=0]=`Equal`,e[e.Greater=1]=`Greater`,e))(uce||{}),dce=Symbol(`TabsContext`),ws=Symbol(`TabsSSRContext`),fce=k({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:n,emit:r}){let i=E(e.selectedIndex??e.defaultIndex),a=E([]),o=E([]),s=z(()=>e.selectedIndex!==null),c=z(()=>s.value?e.selectedIndex:i.value);function l(e){let t=yo(u.tabs.value,oo),n=yo(u.panels.value,oo),r=t.filter(e=>{var t;return!((t=oo(e))!=null&&t.hasAttribute(`disabled`))});if(e<0||e>t.length-1){let a=co(co(i.value===null?0:Math.sign(e-i.value),{[-1]:()=>1,0:()=>co(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),{0:()=>t.indexOf(r[0]),1:()=>t.indexOf(r[r.length-1])});a!==-1&&(i.value=a),u.tabs.value=t,u.panels.value=n}else{let a=t.slice(0,e),o=[...t.slice(e),...a].find(e=>r.includes(e));if(!o)return;let s=t.indexOf(o)??u.selectedIndex.value;s===-1&&(s=u.selectedIndex.value),i.value=s,u.tabs.value=t,u.panels.value=n}}let u={selectedIndex:z(()=>i.value??e.defaultIndex??null),orientation:z(()=>e.vertical?`vertical`:`horizontal`),activation:z(()=>e.manual?`manual`:`auto`),tabs:a,panels:o,setSelectedIndex(e){c.value!==e&&r(`change`,e),s.value||l(e)},registerTab(e){if(a.value.includes(e))return;let t=a.value[i.value];if(a.value.push(e),a.value=yo(a.value,oo),!s.value){let e=a.value.indexOf(t)??i.value;e!==-1&&(i.value=e)}},unregisterTab(e){let t=a.value.indexOf(e);t!==-1&&a.value.splice(t,1)},registerPanel(e){o.value.includes(e)||(o.value.push(e),o.value=yo(o.value,oo))},unregisterPanel(e){let t=o.value.indexOf(e);t!==-1&&o.value.splice(t,1)}};cr(dce,u);let d=E({tabs:[],panels:[]}),f=E(!1);Ii(()=>{f.value=!0}),cr(ws,z(()=>f.value?null:d.value));let p=z(()=>e.selectedIndex);return Ii(()=>{dr([p],()=>l(e.selectedIndex??e.defaultIndex),{immediate:!0})}),ur(()=>{if(!s.value||c.value==null||u.tabs.value.length<=0)return;let e=yo(u.tabs.value,oo);e.some((e,t)=>oo(u.tabs.value[t])!==oo(e))&&u.setSelectedIndex(e.findIndex(e=>oo(e)===oo(u.tabs.value[c.value])))}),()=>{let r={selectedIndex:i.value};return li(L,[a.value.length<=0&&li(sce,{onFocus:()=>{for(let e of a.value){let t=oo(e);if(t?.tabIndex===0)return t.focus(),!0}return!1}}),jo({theirProps:{...n,...No(e,[`selectedIndex`,`defaultIndex`,`manual`,`vertical`,`onChange`])},ourProps:{},slot:r,slots:t,attrs:n,name:`TabGroup`})])}}}),pce=k({name:`TabList`,props:{as:{type:[Object,String],default:`div`}},setup(e,{attrs:t,slots:n}){let r=Cs(`TabList`);return()=>{let i={selectedIndex:r.selectedIndex.value};return jo({ourProps:{role:`tablist`,"aria-orientation":r.orientation.value},theirProps:e,slot:i,attrs:t,slots:n,name:`TabList`})}}}),mce=k({name:`Tab`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-tabs-tab-${io()}`,a=Cs(`Tab`),o=E(null);r({el:o,$el:o}),Ii(()=>a.registerTab(o)),zi(()=>a.unregisterTab(o));let s=lr(ws),c=z(()=>{if(s.value){let e=s.value.tabs.indexOf(i);return e===-1?s.value.tabs.push(i)-1:e}return-1}),l=z(()=>{let e=a.tabs.value.indexOf(o);return e===-1?c.value:e}),u=z(()=>l.value===a.selectedIndex.value);function d(e){let t=e();if(t===Co.Success&&a.activation.value===`auto`){let e=mo(o)?.activeElement,t=a.tabs.value.findIndex(t=>oo(t)===e);t!==-1&&a.setSelectedIndex(t)}return t}function f(e){let t=a.tabs.value.map(e=>oo(e)).filter(Boolean);if(e.key===Wo.Space||e.key===Wo.Enter)e.preventDefault(),e.stopPropagation(),a.setSelectedIndex(l.value);else{switch(e.key){case Wo.Home:case Wo.PageUp:return e.preventDefault(),e.stopPropagation(),d(()=>bo(t,So.First));case Wo.End:case Wo.PageDown:return e.preventDefault(),e.stopPropagation(),d(()=>bo(t,So.Last))}if(d(()=>co(a.orientation.value,{vertical(){return e.key===Wo.ArrowUp?bo(t,So.Previous|So.WrapAround):e.key===Wo.ArrowDown?bo(t,So.Next|So.WrapAround):Co.Error},horizontal(){return e.key===Wo.ArrowLeft?bo(t,So.Previous|So.WrapAround):e.key===Wo.ArrowRight?bo(t,So.Next|So.WrapAround):Co.Error}}))===Co.Success)return e.preventDefault()}}let p=E(!1);function m(){var t;p.value||(p.value=!0,!e.disabled&&((t=oo(o))==null||t.focus({preventScroll:!0}),a.setSelectedIndex(l.value),eo(()=>{p.value=!1})))}function h(e){e.preventDefault()}let g=ko(z(()=>({as:e.as,type:t.type})),o);return()=>{let r={selected:u.value,disabled:e.disabled??!1},{...s}=e;return jo({ourProps:{ref:o,onKeydown:f,onMousedown:h,onClick:m,id:i,role:`tab`,type:g.value,"aria-controls":oo(a.panels.value[l.value])?.id,"aria-selected":u.value,tabIndex:u.value?0:-1,disabled:e.disabled?!0:void 0},theirProps:s,slot:r,attrs:t,slots:n,name:`Tab`})}}}),hce=k({name:`TabPanels`,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n}){let r=Cs(`TabPanels`);return()=>jo({theirProps:e,ourProps:{},slot:{selectedIndex:r.selectedIndex.value},attrs:n,slots:t,name:`TabPanels`})}}),gce=k({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:n,expose:r}){let i=e.id??`headlessui-tabs-panel-${io()}`,a=Cs(`TabPanel`),o=E(null);r({el:o,$el:o}),Ii(()=>a.registerPanel(o)),zi(()=>a.unregisterPanel(o));let s=lr(ws),c=z(()=>{if(s.value){let e=s.value.panels.indexOf(i);return e===-1?s.value.panels.push(i)-1:e}return-1}),l=z(()=>{let e=a.panels.value.indexOf(o);return e===-1?c.value:e}),u=z(()=>l.value===a.selectedIndex.value);return()=>{let r={selected:u.value},{tabIndex:s,...c}=e,d={ref:o,id:i,role:`tabpanel`,"aria-labelledby":oo(a.tabs.value[l.value])?.id,tabIndex:u.value?s:-1};return!u.value&&e.unmount&&!e.static?li(Lo,{as:`span`,"aria-hidden":!0,...d}):jo({ourProps:d,theirProps:c,slot:r,attrs:t,slots:n,features:Po.Static|Po.RenderStrategy,visible:u.value,name:`TabPanel`})}}})})),vce=s((()=>{})),Ts=s((()=>{Doe(),vse(),xse(),Foe(),zse(),Jse(),ice(),ace(),oce(),_ce(),vce(),ao()})),Es,Ds=s((()=>{Es=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}})),yce,bce=s((()=>{yce={serverVariablesSelect:{selected:`المحدد:`},serverVariablesTextbox:{value:`قيمة`},sidebarListElementForm:{cancel:`إلغاء`},requestBlock:{authentication:`المصادقة`,variables:`المتغيرات`,cookies:`ملفات تعريف الارتباط`,headers:`الترويسات`,queryParameters:`معاملات الاستعلام`,queryString:`سلسلة الاستعلام`,queryStringDescription:`يوفر هذا المعامل سلسلة الاستعلام بأكملها، لذلك لا يمكن إضافة معاملات مسماة أخرى. تُرسل المعاملات المسماة الحالية بعده؛ وتُحفظ المفاتيح المكررة.`,requestBody:`جسم الطلب`,requestName:`اسم الطلب`,label:`الطلب: {name}`},responseBlock:{requestFailed:`فشل الطلب`,networkErrorHelp:`تشمل الأسباب المحتملة قيود CORS أو مشكلة في الاتصال بالشبكة. راجع وحدة تحكم المتصفح للحصول على التفاصيل. إذا كانت CORS تمنع الطلب، فاضبط خادم API للسماح بهذا المصدر أو استخدم وكيلاً موثوقاً.`,response:`الاستجابة`,requestHeaders:`ترويسات الطلب`,responseHeaders:`ترويسات الاستجابة`,body:`الجسم`},codeInput:{required:`مطلوب`,exitHint:`اضغط على {escape} ثم {tab} للخروج`},codeInputLite:{required:`مطلوب`},dataTableInput:{clearValue:`مسح القيمة`,resetValue:`إعادة التعيين إلى القيمة الافتراضية`,showPassword:`إظهار كلمة المرور`,hidePassword:`إخفاء كلمة المرور`},dataTableInputSelect:{value:`القيمة`,addValue:`إضافة قيمة`},confirmationForm:{cancel:`إلغاء`,save:`حفظ`},collapsibleSection:{collapsed:`(مطوي)`,item:`عنصر`,items:`عناصر`},modalClientContainer:{label:`عميل API`},serverDropdown:{server:`الخادم:`,addServer:`إضافة خادم`,updateServers:`تحديث الخوادم`,unknownServer:`خادم غير معروف`},sidebar:{search:`بحث`},sidebarMenu:{settings:`الإعدادات`},sidebarToggle:{hide:`إخفاء الشريط الجانبي`,show:`إظهار الشريط الجانبي`},environmentsList:{addEnvironment:`إضافة بيئة`},modal:{noDocumentSelected:`لم يتم تحديد مستند`},operation:{selectAnOperationToViewDetails:`حدد عملية لعرض التفاصيل`},header:{operationSettings:`إعدادات العملية`,closeClient:`إغلاق العميل`},openApiClientButton:{openAPIClient:`فتح عميل API`},requestBody:{noBody:`بدون جسم`,delete:`حذف`,selectFile:`اختيار ملف`,multipartForm:`نموذج متعدد الأجزاء`,formUrlEncoded:`نموذج بترميز URL`,binaryFile:`ملف ثنائي`,other:`آخر`,none:`لا شيء`},requestBodyStructured:{body:`الجسم`},requestBodyViewToggle:{schema:`المخطط`,form:`نموذج`,raw:`خام`,fixBody:`صحح الجسم للتبديل إلى عرض النموذج`},requestCodeSnippet:{unavailable:`لا يوجد نموذج تعليمات برمجية متاح لهذا المثال.`,codeSnippet:`مقتطف برمجي`},requestTable:{enabled:`مفعّل`,key:`المفتاح`,value:`القيمة`},requestTableRow:{key:`المفتاح`,value:`القيمة`,delete:`حذف`,selectFile:`اختيار ملف`,globalCookieHint:`تتم مشاركة ملفات تعريف الارتباط العامة عبر مساحة العمل بأكملها. انقر للانتقال إليها.`,readOnlyHint:`هذه الخاصية للقراءة فقط. لتغييرها، يجب تجاوز قيمتها أو تعطيلها باستخدام مربع الاختيار.`,include:`تضمين {name} في الطلب`,keyLabel:`مفتاح {name}`,valueLabel:`قيمة {name}`,deleteRow:`حذف {name}`,row:`صف`},requestTableTooltip:{min:`الحد الأدنى:`,max:`الحد الأقصى:`,default:`الافتراضي:`,invalid:`الإدخال غير صالح`,moreInformation:`مزيد من المعلومات`},headers:{headerKey:`مفتاح الترويسة`,headerValue:`قيمة الترويسة`,noHeaders:`لا توجد ترويسات`},responseBody:{binaryFile:`ملف ثنائي`},responseBodyPreview:{previewUnavailable:`المعاينة غير متاحة`},responseBodyStreaming:{body:`الجسم`,listening:`جارٍ الاستماع…`,cancel:`إلغاء`},responseBodyToggle:{preview:`معاينة`,raw:`خام`},responseBodyVirtual:{body:`الجسم`,largeBodyHint:`جسم هذه الاستجابة كبير جدًا ولا يمكن تمييز بنيته البرمجية.`},responseCookies:{cookies:`ملفات تعريف الارتباط`,cookieName:`اسم ملف تعريف الارتباط`,cookieValue:`قيمة ملف تعريف الارتباط`,noCookies:`لا توجد ملفات تعريف ارتباط`},responseEmpty:{roadmap:`خارطة الطريق`,poweredByScalarcom:`بدعم من Scalar.com`,getStarted:`البدء`,newRequest:`طلب جديد`,sendRequest:`إرسال الطلب`,version:`تطبيق Scalar V{version} التجريبي`},responseLoadingOverlay:{cancel:`إلغاء`},addressBar:{path:`المسار`,copyUrl:`نسخ الرابط`,send:`إرسال`,sendRequest:`إرسال طلب {method} إلى {url}`,duplicateRequest:`يوجد بالفعل طلب {method} إلى {path} في هذا المستند`,urlPlaceholder:`أدخل رابطًا`,webhookUrlPlaceholder:`أدخل رابط Webhook الكامل، مثل https://example.com/hook`},addressBarHistory:{requestHistory:`سجل الطلبات`},environmentSelector:{noEnvironment:`بدون بيئة`,notAvailableInThisContext:`غير متاح في هذا السياق`,environmentHint:`تتيح لك البيئات إدارة متغيرات مثل مفاتيح API والروابط الأساسية عبر سياقات مختلفة.`,add:`إضافة بيئة`,select:`اختيار بيئة`,unavailable:`{name} (غير متاح)`,current:`البيئة الحالية: {name}`},deleteRequestAuthModal:{deleteSecurityScheme:`حذف مخطط الأمان`,cancel:`إلغاء`,delete:`حذف`,confirmation:`لا يمكن التراجع عن هذا الإجراء. أنت على وشك حذف مخطط الأمان {name} من المجموعة.`},oauth2:{deviceAuthorizationUrl:`رابط تفويض الجهاز`,deviceVerificationPrompt:`افتح صفحة التحقق وأدخل هذا الرمز:`,waitingForAuthorization:`في انتظار التفويض…`,cancelDeviceAuthorization:`إلغاء`,accessToken:`رمز الوصول`,refreshUrl:`رابط التجديد`,refresh:`تحديث`,authUrl:`رابط المصادقة`,tokenUrl:`رابط الرمز`,redirectUrl:`رابط إعادة التوجيه`,username:`اسم المستخدم`,password:`كلمة المرور`,clientID:`معرّف العميل`,clientSecret:`سر العميل`,usePKCE:`استخدام PKCE`,credentialsLocation:`موضع بيانات الاعتماد`,authorize:`تخويل`,clear:`مسح`,failedToauthorize:`فشل التخويل`,failedToRefreshToken:`فشل تجديد الرمز`,optionalRedirectUrl:`رابط إعادة توجيه اختياري`,clearTokens:`مسح الرموز`,resetDiscovery:`إعادة تعيين الاكتشاف`},oauthScopesAddModal:{name:`الاسم:`,description:`الوصف:`,readUserData:`قراءة بيانات المستخدم`,edit:`تعديل النطاق`,add:`إضافة نطاق`,save:`حفظ`,required:`اسم النطاق مطلوب.`,duplicate:`يوجد بالفعل نطاق باسم «{name}».`},oauthScopesInput:{noScopesDefined:`لم يتم تحديد نطاقات`,addScope:`إضافة نطاق`,deselectAll:`إلغاء تحديد الكل`,selectAll:`تحديد الكل`,selectedScopes:`النطاقات المحددة: {count} / {total}`,editScope:`تعديل {name}`,deleteScope:`حذف {name}`,selectScope:`تحديد النطاق {name}`},openIdConnect:{discoveryUrl:`رابط الاكتشاف`,fetchConfiguration:`جلب الإعدادات`,failedToFetchConfiguration:`فشل جلب إعدادات OpenID Connect`},requestAuthDataTable:{noauthenticationSelected:`لم يتم اختيار طريقة مصادقة`},requestAuthTab:{token:`الرمز`,bearerToken:`رمز Bearer`,getAToken:`الحصول على رمز`,refresh:`تحديث`,username:`اسم المستخدم`,password:`كلمة المرور`,name:`الاسم`,value:`القيمة`,cancel:`إلغاء`,authorize:`تخويل`,unsupportedCredentials:`لا يرسل عميل المتصفح بيانات الاعتماد لمخطط أمان AsyncAPI هذا.`,authorizeVia:`التخويل عبر {name}`,unsupportedType:`نوع مخطط الأمان {type} غير مدعوم بعد.`,missingType:`لم يتم تحديد نوع مخطط الأمان. تحقق من مستند {type} أو إعدادات المصادقة.`,failedToauthorize:`فشل التخويل`,failedToRefresh:`فشل التحديث`,configure:`إعداد {name}`,mutualTlsHint:`تستخدم مصادقة TLS المتبادلة شهادة عميل تُقدَّم أثناء مصافحة TLS، لذلك لا يلزم إدخال أي شيء هنا.`},commandActionForm:{continue:`متابعة`},environment:{thisIsTheActiveEnvironment:`هذه هي البيئة النشطة`,active:`نشط`,editEnvironment:`تعديل البيئة`,deleteEnvironment:`حذف البيئة`},environmentCreateModal:{environmentName:`اسم البيئة`,thisEnvironmentNameIsAlreadyInUse:`اسم البيئة هذا مستخدم بالفعل.`,update:`تحديث البيئة`,add:`إضافة بيئة`},environmentDeleteModal:{cancel:`إلغاء`,deleteEnvironment:`حذف البيئة`,deleteConfirmation:`هل أنت متأكد من حذف هذه البيئة؟ لا يمكن التراجع عن هذا الإجراء.`,title:`حذف {name}`},environmentVariablesDropdown:{variableSuggestions:`اقتراحات المتغيرات`,addVariable:`إضافة متغير`},environmentVariablesTable:{name:`الاسم`,value:`القيمة`,actions:`الإجراءات`,environmentVariableName:`اسم متغير البيئة`,environmentVariableValue:`قيمة متغير البيئة`},documentSearchModal:{documentSearch:`البحث في المستند`,documentSearchResults:`نتائج البحث في المستند`,navigate:`↑↓ تنقّل`,select:`⏎ تحديد`,keyboardInstructions:`اضغط على السهم لأعلى أو لأسفل للتنقل، وعلى Enter للتحديد، واكتب لتصفية النتائج`},searchResult:{httpMethod:`طريقة HTTP:`,path:`المسار:`,description:`الوصف:`,heading:`عنوان`,operation:`عملية`,tag:`وسم`},sectionFilter:{all:`الكل`,auth:`المصادقة`,variables:`المتغيرات`,cookies:`ملفات تعريف الارتباط`,headers:`الترويسات`,query:`الاستعلام`,body:`الجسم`},requestParams:{addParameter:`إضافة معلمة`,searchParameters:`البحث عن المعلمات`,noParametersFound:`لا توجد معلمات مطابقة`,clearAll:`مسح الكل: {title}`,clear:`مسح`,clearOptionalParameters:`مسح المعاملات الاختيارية`},responseBodyDownload:{download:`تنزيل جسم الاستجابة`,label:`تنزيل`,body:`جسم الاستجابة`},responseMetaInformation:{duration:`معلومات الاستجابة، المدة:`,size:`، الحجم:`,status:`، الحالة:`},authSelector:{selectedType:`نوع المصادقة المحدد: {type}`,multipleTypes:`تم تحديد عدة أنواع مصادقة`,selectType:`اختيار نوع المصادقة`,optional:`اختياري`,required:`مطلوب`,deleteScheme:`حذف {name}`,requiredGroup:`المصادقة المطلوبة`,availableGroup:`المصادقة المتاحة`,addGroup:`إضافة مصادقة جديدة`},operationBlock:{webhookUrlRequired:`رابط Webhook مطلوب. أدخل وجهة أولًا.`,pathParametersRequired:`يجب أن تكون لمعاملات المسار قيم.`,forbiddenMethod:`لا يمكن لواجهة Fetch API إرسال طلبات {method}.`},dataTableCheckbox:{toggle:`تبديل`},pillTooltipHost:{computedAtExecution:`تُحسب عند تنفيذ الطلب`,noValue:`لا توجد قيمة`},authOptions:{oauth2DeviceAuthorization:`تفويض الجهاز عبر OAuth2`,apiKeyCookie:`مفتاح API في ملفات تعريف الارتباط`,apiKeyHeader:`مفتاح API في الترويسات`,apiKeyQuery:`مفتاح API في معاملات الاستعلام`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`التدفق الضمني لـ OAuth2`,oauth2Password:`تدفق كلمة المرور لـ OAuth2`,oauth2ClientCredentials:`بيانات اعتماد العميل لـ OAuth2`,oauth2AuthorizationFlow:`رمز تخويل OAuth2`},deleteSidebarListElement:{delete:`حذف {name}`},deleteModal:{delete:`حذف {name}`}}})),xce,Sce=s((()=>{xce={serverVariablesSelect:{selected:`Ausgewählt:`},serverVariablesTextbox:{value:`Wert`},sidebarListElementForm:{cancel:`Abbrechen`},requestBlock:{authentication:`Authentifizierung`,variables:`Variablen`,cookies:`Cookies`,headers:`Header`,queryParameters:`Abfrageparameter`,queryString:`Abfragezeichenfolge`,queryStringDescription:`Dieser Parameter enthält die gesamte Abfragezeichenfolge. Daher können keine weiteren benannten Parameter hinzugefügt werden. Vorhandene benannte Parameter werden danach gesendet; doppelte Schlüssel bleiben erhalten.`,requestBody:`Anfrageinhalt`,requestName:`Anfragename`,label:`Anfrage: {name}`},responseBlock:{requestFailed:`Anfrage fehlgeschlagen`,networkErrorHelp:`Mögliche Ursachen sind CORS-Einschränkungen oder ein Netzwerkproblem. Weitere Informationen finden Sie in der Browserkonsole. Wenn CORS die Anfrage blockiert, konfigurieren Sie den API-Server so, dass er diesen Ursprung erlaubt, oder verwenden Sie einen vertrauenswürdigen Proxy.`,response:`Antwort`,requestHeaders:`Anfrage-Header`,responseHeaders:`Antwort-Header`,body:`Inhalt`},codeInput:{required:`Erforderlich`,exitHint:`Drücken Sie {escape} und dann {tab}, um das Feld zu verlassen`},codeInputLite:{required:`Erforderlich`},dataTableInput:{clearValue:`Wert löschen`,resetValue:`Auf Standard zurücksetzen`,showPassword:`Passwort anzeigen`,hidePassword:`Passwort ausblenden`},dataTableInputSelect:{value:`Wert`,addValue:`Wert hinzufügen`},confirmationForm:{cancel:`Abbrechen`,save:`Speichern`},collapsibleSection:{collapsed:`(Eingeklappt)`,item:`Element`,items:`Elemente`},modalClientContainer:{label:`API-Client`},serverDropdown:{server:`Server:`,addServer:`Server hinzufügen`,updateServers:`Server aktualisieren`,unknownServer:`Unbekannter Server`},sidebar:{search:`Suchen`},sidebarMenu:{settings:`Einstellungen`},sidebarToggle:{hide:`Seitenleiste ausblenden`,show:`Seitenleiste anzeigen`},environmentsList:{addEnvironment:`Umgebung hinzufügen`},modal:{noDocumentSelected:`Kein Dokument ausgewählt`},operation:{selectAnOperationToViewDetails:`Wählen Sie eine Operation aus, um Details anzuzeigen`},header:{operationSettings:`Operationseinstellungen`,closeClient:`Client schließen`},openApiClientButton:{openAPIClient:`API-Client öffnen`},requestBody:{noBody:`Kein Inhalt`,delete:`Löschen`,selectFile:`Datei auswählen`,multipartForm:`Mehrteiliges Formular`,formUrlEncoded:`URL-kodiertes Formular`,binaryFile:`Binärdatei`,other:`Andere`,none:`Keine`},requestBodyStructured:{body:`Inhalt`},requestBodyViewToggle:{schema:`Schema`,form:`Formular`,raw:`Rohdaten`,fixBody:`Korrigieren Sie den Inhalt, um zur Formularansicht zu wechseln`},requestCodeSnippet:{unavailable:`Für dieses Beispiel ist kein Codebeispiel verfügbar.`,codeSnippet:`Codebeispiel`},requestTable:{enabled:`Aktiviert`,key:`Schlüssel`,value:`Wert`},requestTableRow:{key:`Schlüssel`,value:`Wert`,delete:`Löschen`,selectFile:`Datei auswählen`,globalCookieHint:`Globale Cookies werden im gesamten Arbeitsbereich gemeinsam genutzt. Klicken Sie, um dorthin zu navigieren.`,readOnlyHint:`Diese Eigenschaft ist schreibgeschützt. Um sie zu ändern, müssen Sie sie überschreiben oder über das Kontrollkästchen deaktivieren.`,include:`{name} in die Anfrage aufnehmen`,keyLabel:`Schlüssel für {name}`,valueLabel:`Wert für {name}`,deleteRow:`{name} löschen`,row:`Zeile`},requestTableTooltip:{min:`Min.:`,max:`Max.:`,default:`Standard:`,invalid:`Ungültige Eingabe`,moreInformation:`Weitere Informationen`},headers:{headerKey:`Header-Schlüssel`,headerValue:`Header-Wert`,noHeaders:`Keine Header`},responseBody:{binaryFile:`Binärdatei`},responseBodyPreview:{previewUnavailable:`Vorschau nicht verfügbar`},responseBodyStreaming:{body:`Inhalt`,listening:`Warten auf Daten…`,cancel:`Abbrechen`},responseBodyToggle:{preview:`Vorschau`,raw:`Rohdaten`},responseBodyVirtual:{body:`Inhalt`,largeBodyHint:`Dieser Antwortinhalt ist zu groß für die Syntaxhervorhebung.`},responseCookies:{cookies:`Cookies`,cookieName:`Cookie-Name`,cookieValue:`Cookie-Wert`,noCookies:`Keine Cookies`},responseEmpty:{roadmap:`Roadmap`,poweredByScalarcom:`Unterstützt von Scalar.com`,getStarted:`Erste Schritte`,newRequest:`Neue Anfrage`,sendRequest:`Anfrage senden`,version:`Scalar App V{version} Beta`},responseLoadingOverlay:{cancel:`Abbrechen`},addressBar:{path:`Pfad`,copyUrl:`URL kopieren`,send:`Senden`,sendRequest:`{method}-Anfrage an {url} senden`,duplicateRequest:`Eine {method}-Anfrage an {path} existiert bereits in diesem Dokument`,urlPlaceholder:`URL eingeben`,webhookUrlPlaceholder:`Vollständige Webhook-URL eingeben, z. B. https://example.com/hook`},addressBarHistory:{requestHistory:`Anfrageverlauf`},environmentSelector:{noEnvironment:`Keine Umgebung`,notAvailableInThisContext:`In diesem Kontext nicht verfügbar`,environmentHint:`Mit Umgebungen können Sie Variablen wie API-Schlüssel und Basis-URLs für verschiedene Kontexte verwalten.`,add:`Umgebung hinzufügen`,select:`Umgebung auswählen`,unavailable:`{name} (Nicht verfügbar)`,current:`Aktuelle Umgebung: {name}`},deleteRequestAuthModal:{deleteSecurityScheme:`Sicherheitsschema löschen`,cancel:`Abbrechen`,delete:`Löschen`,confirmation:`Dies kann nicht rückgängig gemacht werden. Sie löschen das Sicherheitsschema {name} aus der Sammlung.`},oauth2:{deviceAuthorizationUrl:`URL für die Geräteautorisierung`,deviceVerificationPrompt:`Öffnen Sie die Bestätigungsseite und geben Sie diesen Code ein:`,waitingForAuthorization:`Warten auf Autorisierung…`,cancelDeviceAuthorization:`Abbrechen`,accessToken:`Zugriffstoken`,refreshUrl:`Aktualisierungs-URL`,refresh:`Aktualisieren`,authUrl:`Authentifizierungs-URL`,tokenUrl:`Token-URL`,redirectUrl:`Weiterleitungs-URL`,username:`Benutzername`,password:`Passwort`,clientID:`Client-ID`,clientSecret:`Client-Geheimnis`,usePKCE:`PKCE verwenden`,credentialsLocation:`Position der Zugangsdaten`,authorize:`Autorisieren`,clear:`Leeren`,failedToauthorize:`Autorisierung fehlgeschlagen`,failedToRefreshToken:`Token-Aktualisierung fehlgeschlagen`,optionalRedirectUrl:`Optionale Weiterleitungs-URL`,clearTokens:`Tokens löschen`,resetDiscovery:`Erkennung zurücksetzen`},oauthScopesAddModal:{name:`Name:`,description:`Beschreibung:`,readUserData:`Benutzerdaten lesen`,edit:`Berechtigungsbereich bearbeiten`,add:`Berechtigungsbereich hinzufügen`,save:`Speichern`,required:`Der Name des Berechtigungsbereichs ist erforderlich.`,duplicate:`Ein Berechtigungsbereich mit dem Namen „{name}“ existiert bereits.`},oauthScopesInput:{noScopesDefined:`Keine Berechtigungsbereiche definiert`,addScope:`Berechtigungsbereich hinzufügen`,deselectAll:`Auswahl aufheben`,selectAll:`Alle auswählen`,selectedScopes:`Ausgewählte Berechtigungsbereiche: {count} / {total}`,editScope:`{name} bearbeiten`,deleteScope:`{name} löschen`,selectScope:`Berechtigungsbereich {name} auswählen`},openIdConnect:{discoveryUrl:`Discovery-URL`,fetchConfiguration:`Konfiguration abrufen`,failedToFetchConfiguration:`OpenID-Connect-Konfiguration konnte nicht abgerufen werden`},requestAuthDataTable:{noauthenticationSelected:`Keine Authentifizierung ausgewählt`},requestAuthTab:{token:`Token`,bearerToken:`Bearer-Token`,getAToken:`Token abrufen`,refresh:`Aktualisieren`,username:`Benutzername`,password:`Passwort`,name:`Name`,value:`Wert`,cancel:`Abbrechen`,authorize:`Autorisieren`,unsupportedCredentials:`Zugangsdaten für dieses AsyncAPI-Sicherheitsschema werden vom Browser-Client nicht gesendet.`,authorizeVia:`Über {name} autorisieren`,unsupportedType:`Der Sicherheitsschematyp {type} wird noch nicht unterstützt.`,missingType:`Dem Sicherheitsschema fehlt ein Typ. Prüfen Sie Ihr {type}-Dokument oder die Authentifizierungskonfiguration.`,failedToauthorize:`Autorisierung fehlgeschlagen`,failedToRefresh:`Aktualisierung fehlgeschlagen`,configure:`{name} konfigurieren`,mutualTlsHint:`Gegenseitiges TLS authentifiziert mit einem Client-Zertifikat, das beim TLS-Handshake übermittelt wird. Hier ist keine Eingabe erforderlich.`},commandActionForm:{continue:`Weiter`},environment:{thisIsTheActiveEnvironment:`Dies ist die aktive Umgebung`,active:`Aktiv`,editEnvironment:`Umgebung bearbeiten`,deleteEnvironment:`Umgebung löschen`},environmentCreateModal:{environmentName:`Umgebungsname`,thisEnvironmentNameIsAlreadyInUse:`Dieser Umgebungsname wird bereits verwendet.`,update:`Umgebung aktualisieren`,add:`Umgebung hinzufügen`},environmentDeleteModal:{cancel:`Abbrechen`,deleteEnvironment:`Umgebung löschen`,deleteConfirmation:`Möchten Sie diese Umgebung wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.`,title:`{name} löschen`},environmentVariablesDropdown:{variableSuggestions:`Variablenvorschläge`,addVariable:`Variable hinzufügen`},environmentVariablesTable:{name:`Name`,value:`Wert`,actions:`Aktionen`,environmentVariableName:`Name der Umgebungsvariable`,environmentVariableValue:`Wert der Umgebungsvariable`},documentSearchModal:{documentSearch:`Dokumentsuche`,documentSearchResults:`Ergebnisse der Dokumentsuche`,navigate:`↑↓ Navigieren`,select:`⏎ Auswählen`,keyboardInstructions:`Drücken Sie Pfeil nach oben oder unten zum Navigieren, Enter zum Auswählen und tippen Sie zum Filtern der Ergebnisse`},searchResult:{httpMethod:`HTTP-Methode:`,path:`Pfad:`,description:`Beschreibung:`,heading:`Überschrift`,operation:`Operation`,tag:`Tag`},sectionFilter:{all:`Alle`,auth:`Authentifizierung`,variables:`Variablen`,cookies:`Cookies`,headers:`Header`,query:`Abfrage`,body:`Inhalt`},requestParams:{addParameter:`Parameter hinzufügen`,searchParameters:`Parameter suchen`,noParametersFound:`Keine passenden Parameter`,clearAll:`Alle {title} leeren`,clear:`Leeren`,clearOptionalParameters:`Optionale Parameter leeren`},responseBodyDownload:{download:`Antwortinhalt herunterladen`,label:`Herunterladen`,body:`Antwortinhalt`},responseMetaInformation:{duration:`Antwortinformationen, Dauer:`,size:`, Größe:`,status:`, Status:`},authSelector:{selectedType:`Ausgewählter Authentifizierungstyp: {type}`,multipleTypes:`Mehrere Authentifizierungstypen ausgewählt`,selectType:`Authentifizierungstyp auswählen`,optional:`Optional`,required:`Erforderlich`,deleteScheme:`{name} löschen`,requiredGroup:`Erforderliche Authentifizierung`,availableGroup:`Verfügbare Authentifizierung`,addGroup:`Neue Authentifizierung hinzufügen`},operationBlock:{webhookUrlRequired:`Webhook-URL erforderlich. Geben Sie zuerst ein Ziel ein.`,pathParametersRequired:`Pfadparameter müssen Werte haben.`,forbiddenMethod:`Die Fetch-API kann keine {method}-Anfragen senden.`},dataTableCheckbox:{toggle:`Umschalten`},pillTooltipHost:{computedAtExecution:`Wird bei der Anfrageausführung berechnet`,noValue:`Kein Wert`},authOptions:{oauth2DeviceAuthorization:`OAuth2-Geräteautorisierung`,apiKeyCookie:`API-Schlüssel in Cookies`,apiKeyHeader:`API-Schlüssel in Headern`,apiKeyQuery:`API-Schlüssel in Abfrageparametern`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`Impliziter OAuth2-Ablauf`,oauth2Password:`OAuth2-Passwortablauf`,oauth2ClientCredentials:`OAuth2-Client-Zugangsdaten`,oauth2AuthorizationFlow:`OAuth2-Autorisierungscode`},deleteSidebarListElement:{delete:`{name} löschen`},deleteModal:{delete:`{name} löschen`}}})),Cce,wce=s((()=>{Cce={serverVariablesSelect:{selected:`Seleccionado:`},serverVariablesTextbox:{value:`valor`},sidebarListElementForm:{cancel:`Cancelar`},requestBlock:{authentication:`Autenticación`,variables:`Variables`,cookies:`Cookies`,headers:`Encabezados`,queryParameters:`Parámetros de consulta`,queryString:`Cadena de consulta`,queryStringDescription:`Este parámetro proporciona toda la cadena de consulta, por lo que no se pueden añadir más parámetros con nombre. Los parámetros con nombre existentes se envían después; se conservan las claves duplicadas.`,requestBody:`Cuerpo de la solicitud`,requestName:`Nombre de la solicitud`,label:`Solicitud: {name}`},responseBlock:{requestFailed:`La solicitud ha fallado`,networkErrorHelp:`Las posibles causas incluyen restricciones de CORS o un problema de conexión de red. Consulte la consola del navegador para obtener más detalles. Si CORS bloquea la solicitud, configure el servidor de la API para permitir este origen o utilice un proxy de confianza.`,response:`Respuesta`,requestHeaders:`Encabezados de la solicitud`,responseHeaders:`Encabezados de la respuesta`,body:`Cuerpo`},codeInput:{required:`Obligatorio`,exitHint:`Pulse {escape} y luego {tab} para salir`},codeInputLite:{required:`Obligatorio`},dataTableInput:{clearValue:`Borrar valor`,resetValue:`Restablecer valor predeterminado`,showPassword:`Mostrar contraseña`,hidePassword:`Ocultar contraseña`},dataTableInputSelect:{value:`Valor`,addValue:`Añadir valor`},confirmationForm:{cancel:`Cancelar`,save:`Guardar`},collapsibleSection:{collapsed:`(Contraído)`,item:`Elemento`,items:`Elementos`},modalClientContainer:{label:`Cliente API`},serverDropdown:{server:`Servidor:`,addServer:`Añadir servidor`,updateServers:`Actualizar servidores`,unknownServer:`Servidor desconocido`},sidebar:{search:`Buscar`},sidebarMenu:{settings:`Configuración`},sidebarToggle:{hide:`Ocultar barra lateral`,show:`Mostrar barra lateral`},environmentsList:{addEnvironment:`Añadir entorno`},modal:{noDocumentSelected:`Ningún documento seleccionado`},operation:{selectAnOperationToViewDetails:`Seleccione una operación para ver los detalles`},header:{operationSettings:`Configuración de la operación`,closeClient:`Cerrar cliente`},openApiClientButton:{openAPIClient:`Abrir cliente API`},requestBody:{noBody:`Sin cuerpo`,delete:`Eliminar`,selectFile:`Seleccionar archivo`,multipartForm:`Formulario multiparte`,formUrlEncoded:`Formulario codificado en URL`,binaryFile:`Archivo binario`,other:`Otro`,none:`Ninguno`},requestBodyStructured:{body:`Cuerpo`},requestBodyViewToggle:{schema:`Esquema`,form:`Formulario`,raw:`Sin procesar`,fixBody:`Corrija el cuerpo para cambiar a la vista de formulario`},requestCodeSnippet:{unavailable:`No hay ninguna muestra de código disponible para este ejemplo.`,codeSnippet:`Fragmento de código`},requestTable:{enabled:`Habilitado`,key:`Clave`,value:`Valor`},requestTableRow:{key:`Clave`,value:`Valor`,delete:`Eliminar`,selectFile:`Seleccionar archivo`,globalCookieHint:`Las cookies globales se comparten en todo el espacio de trabajo. Haga clic para acceder a ellas.`,readOnlyHint:`Esta propiedad es de solo lectura. Para cambiarla, debe sobrescribirla o desactivarla mediante la casilla de verificación.`,include:`Incluir {name} en la solicitud`,keyLabel:`Clave de {name}`,valueLabel:`Valor de {name}`,deleteRow:`Eliminar {name}`,row:`fila`},requestTableTooltip:{min:`mín.:`,max:`máx.:`,default:`predeterminado:`,invalid:`La entrada no es válida`,moreInformation:`Más información`},headers:{headerKey:`Clave del encabezado`,headerValue:`Valor del encabezado`,noHeaders:`Sin encabezados`},responseBody:{binaryFile:`Archivo binario`},responseBodyPreview:{previewUnavailable:`Vista previa no disponible`},responseBodyStreaming:{body:`Cuerpo`,listening:`Escuchando…`,cancel:`Cancelar`},responseBodyToggle:{preview:`Vista previa`,raw:`Sin procesar`},responseBodyVirtual:{body:`Cuerpo`,largeBodyHint:`El cuerpo de esta respuesta es demasiado grande para el resaltado de sintaxis.`},responseCookies:{cookies:`Cookies`,cookieName:`Nombre de la cookie`,cookieValue:`Valor de la cookie`,noCookies:`Sin cookies`},responseEmpty:{roadmap:`Hoja de ruta`,poweredByScalarcom:`Desarrollado con Scalar.com`,getStarted:`Comenzar`,newRequest:`Nueva solicitud`,sendRequest:`Enviar solicitud`,version:`Scalar App V{version} Beta`},responseLoadingOverlay:{cancel:`Cancelar`},addressBar:{path:`Ruta`,copyUrl:`Copiar URL`,send:`Enviar`,sendRequest:`Enviar solicitud {method} a {url}`,duplicateRequest:`Ya existe una solicitud {method} a {path} en este documento`,urlPlaceholder:`Introduzca una URL`,webhookUrlPlaceholder:`Introduzca la URL completa del webhook, p. ej., https://example.com/hook`},addressBarHistory:{requestHistory:`Historial de solicitudes`},environmentSelector:{noEnvironment:`Sin entorno`,notAvailableInThisContext:`No disponible en este contexto`,environmentHint:`Los entornos permiten gestionar variables como claves API y URL base en diferentes contextos.`,add:`Añadir entorno`,select:`Seleccionar entorno`,unavailable:`{name} (No disponible)`,current:`Entorno actual: {name}`},deleteRequestAuthModal:{deleteSecurityScheme:`Eliminar esquema de seguridad`,cancel:`Cancelar`,delete:`Eliminar`,confirmation:`Esta acción no se puede deshacer. Va a eliminar el esquema de seguridad {name} de la colección.`},oauth2:{deviceAuthorizationUrl:`URL de autorización del dispositivo`,deviceVerificationPrompt:`Abre la página de verificación e introduce este código:`,waitingForAuthorization:`Esperando autorización…`,cancelDeviceAuthorization:`Cancelar`,accessToken:`Token de acceso`,refreshUrl:`URL de actualización`,refresh:`Actualizar`,authUrl:`URL de autenticación`,tokenUrl:`URL del token`,redirectUrl:`URL de redirección`,username:`Nombre de usuario`,password:`Contraseña`,clientID:`ID de cliente`,clientSecret:`Secreto de cliente`,usePKCE:`Usar PKCE`,credentialsLocation:`Ubicación de las credenciales`,authorize:`Autorizar`,clear:`Borrar`,failedToauthorize:`Error de autorización`,failedToRefreshToken:`No se pudo actualizar el token`,optionalRedirectUrl:`URL de redirección opcional`,clearTokens:`Borrar tokens`,resetDiscovery:`Restablecer descubrimiento`},oauthScopesAddModal:{name:`Nombre:`,description:`Descripción:`,readUserData:`Leer datos del usuario`,edit:`Editar ámbito`,add:`Añadir ámbito`,save:`Guardar`,required:`El nombre del ámbito es obligatorio.`,duplicate:`Ya existe un ámbito llamado «{name}».`},oauthScopesInput:{noScopesDefined:`No hay ámbitos definidos`,addScope:`Añadir ámbito`,deselectAll:`Deseleccionar todo`,selectAll:`Seleccionar todo`,selectedScopes:`Ámbitos seleccionados: {count} / {total}`,editScope:`Editar {name}`,deleteScope:`Eliminar {name}`,selectScope:`Seleccionar el ámbito {name}`},openIdConnect:{discoveryUrl:`URL de descubrimiento`,fetchConfiguration:`Obtener configuración`,failedToFetchConfiguration:`No se pudo obtener la configuración de OpenID Connect`},requestAuthDataTable:{noauthenticationSelected:`No se ha seleccionado ninguna autenticación`},requestAuthTab:{token:`Token`,bearerToken:`Token Bearer`,getAToken:`Obtener un token`,refresh:`Actualizar`,username:`Nombre de usuario`,password:`Contraseña`,name:`Nombre`,value:`Valor`,cancel:`Cancelar`,authorize:`Autorizar`,unsupportedCredentials:`El cliente del navegador no envía las credenciales de este esquema de seguridad AsyncAPI.`,authorizeVia:`Autorizar mediante {name}`,unsupportedType:`El tipo de esquema de seguridad {type} aún no es compatible.`,missingType:`Falta el tipo del esquema de seguridad. Revise el documento {type} o la configuración de autenticación.`,failedToauthorize:`Error de autorización`,failedToRefresh:`No se pudo actualizar`,configure:`Configurar {name}`,mutualTlsHint:`TLS mutuo autentica mediante un certificado de cliente presentado durante la negociación TLS, por lo que no es necesario introducir nada aquí.`},commandActionForm:{continue:`Continuar`},environment:{thisIsTheActiveEnvironment:`Este es el entorno activo`,active:`Activo`,editEnvironment:`Editar entorno`,deleteEnvironment:`Eliminar entorno`},environmentCreateModal:{environmentName:`Nombre del entorno`,thisEnvironmentNameIsAlreadyInUse:`Este nombre de entorno ya está en uso.`,update:`Actualizar entorno`,add:`Añadir entorno`},environmentDeleteModal:{cancel:`Cancelar`,deleteEnvironment:`Eliminar entorno`,deleteConfirmation:`¿Seguro que desea eliminar este entorno? Esta acción no se puede deshacer.`,title:`Eliminar {name}`},environmentVariablesDropdown:{variableSuggestions:`Sugerencias de variables`,addVariable:`Añadir variable`},environmentVariablesTable:{name:`Nombre`,value:`Valor`,actions:`Acciones`,environmentVariableName:`Nombre de la variable de entorno`,environmentVariableValue:`Valor de la variable de entorno`},documentSearchModal:{documentSearch:`Búsqueda de documentos`,documentSearchResults:`Resultados de la búsqueda de documentos`,navigate:`↑↓ Navegar`,select:`⏎ Seleccionar`,keyboardInstructions:`Pulse las flechas arriba o abajo para navegar, Intro para seleccionar y escriba para filtrar los resultados`},searchResult:{httpMethod:`Método HTTP:`,path:`Ruta:`,description:`Descripción:`,heading:`Encabezado`,operation:`Operación`,tag:`Etiqueta`},sectionFilter:{all:`Todo`,auth:`Autenticación`,variables:`Variables`,cookies:`Cookies`,headers:`Encabezados`,query:`Consulta`,body:`Cuerpo`},requestParams:{addParameter:`Añadir parámetro`,searchParameters:`Buscar parámetros`,noParametersFound:`No hay parámetros coincidentes`,clearAll:`Borrar todo: {title}`,clear:`Borrar`,clearOptionalParameters:`Borrar parámetros opcionales`},responseBodyDownload:{download:`Descargar cuerpo de la respuesta`,label:`Descargar`,body:`Cuerpo de la respuesta`},responseMetaInformation:{duration:`Información de la respuesta, duración:`,size:`, tamaño:`,status:`, estado:`},authSelector:{selectedType:`Tipo de autenticación seleccionado: {type}`,multipleTypes:`Varios tipos de autenticación seleccionados`,selectType:`Seleccionar tipo de autenticación`,optional:`Opcional`,required:`Obligatorio`,deleteScheme:`Eliminar {name}`,requiredGroup:`Autenticación obligatoria`,availableGroup:`Autenticación disponible`,addGroup:`Añadir nueva autenticación`},operationBlock:{webhookUrlRequired:`Se requiere la URL del webhook. Introduzca primero un destino.`,pathParametersRequired:`Los parámetros de ruta deben tener valores.`,forbiddenMethod:`La API Fetch no puede enviar solicitudes {method}.`},dataTableCheckbox:{toggle:`Alternar`},pillTooltipHost:{computedAtExecution:`Se calcula al ejecutar la solicitud`,noValue:`Sin valor`},authOptions:{oauth2DeviceAuthorization:`Autorización de dispositivo OAuth2`,apiKeyCookie:`Clave API en cookies`,apiKeyHeader:`Clave API en encabezados`,apiKeyQuery:`Clave API en parámetros de consulta`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`Flujo implícito de OAuth2`,oauth2Password:`Flujo de contraseña de OAuth2`,oauth2ClientCredentials:`Credenciales de cliente de OAuth2`,oauth2AuthorizationFlow:`Código de autorización de OAuth2`},deleteSidebarListElement:{delete:`Eliminar {name}`},deleteModal:{delete:`Eliminar {name}`}}})),Tce,Ece=s((()=>{Tce={serverVariablesSelect:{selected:`Sélectionné :`},serverVariablesTextbox:{value:`valeur`},sidebarListElementForm:{cancel:`Annuler`},requestBlock:{authentication:`Authentification`,variables:`Variables`,cookies:`Cookies`,headers:`En-têtes`,queryParameters:`Paramètres de requête`,queryString:`Chaîne de requête`,queryStringDescription:`Ce paramètre fournit la chaîne de requête entière. Aucun paramètre nommé supplémentaire ne peut donc être ajouté. Les paramètres nommés existants sont envoyés à sa suite ; les clés en double sont conservées.`,requestBody:`Corps de la requête`,requestName:`Nom de la requête`,label:`Requête : {name}`},responseBlock:{requestFailed:`Échec de la requête`,networkErrorHelp:`Les causes possibles incluent des restrictions CORS ou un problème de connexion réseau. Consultez la console du navigateur pour en savoir plus. Si CORS bloque la requête, configurez le serveur API pour autoriser cette origine ou utilisez un proxy de confiance.`,response:`Réponse`,requestHeaders:`En-têtes de la requête`,responseHeaders:`En-têtes de la réponse`,body:`Corps`},codeInput:{required:`Obligatoire`,exitHint:`Appuyez sur {escape} puis sur {tab} pour quitter`},codeInputLite:{required:`Obligatoire`},dataTableInput:{clearValue:`Effacer la valeur`,resetValue:`Rétablir la valeur par défaut`,showPassword:`Afficher le mot de passe`,hidePassword:`Masquer le mot de passe`},dataTableInputSelect:{value:`Valeur`,addValue:`Ajouter une valeur`},confirmationForm:{cancel:`Annuler`,save:`Enregistrer`},collapsibleSection:{collapsed:`(Réduit)`,item:`Élément`,items:`Éléments`},modalClientContainer:{label:`Client API`},serverDropdown:{server:`Serveur :`,addServer:`Ajouter un serveur`,updateServers:`Mettre à jour les serveurs`,unknownServer:`Serveur inconnu`},sidebar:{search:`Rechercher`},sidebarMenu:{settings:`Paramètres`},sidebarToggle:{hide:`Masquer la barre latérale`,show:`Afficher la barre latérale`},environmentsList:{addEnvironment:`Ajouter un environnement`},modal:{noDocumentSelected:`Aucun document sélectionné`},operation:{selectAnOperationToViewDetails:`Sélectionnez une opération pour afficher ses détails`},header:{operationSettings:`Paramètres de l’opération`,closeClient:`Fermer le client`},openApiClientButton:{openAPIClient:`Ouvrir le client API`},requestBody:{noBody:`Aucun corps`,delete:`Supprimer`,selectFile:`Sélectionner un fichier`,multipartForm:`Formulaire multipartie`,formUrlEncoded:`Formulaire encodé en URL`,binaryFile:`Fichier binaire`,other:`Autre`,none:`Aucun`},requestBodyStructured:{body:`Corps`},requestBodyViewToggle:{schema:`Schéma`,form:`Formulaire`,raw:`Brut`,fixBody:`Corrigez le corps pour passer à la vue formulaire`},requestCodeSnippet:{unavailable:`Aucun extrait de code disponible pour cet exemple.`,codeSnippet:`Extrait de code`},requestTable:{enabled:`Activé`,key:`Clé`,value:`Valeur`},requestTableRow:{key:`Clé`,value:`Valeur`,delete:`Supprimer`,selectFile:`Sélectionner un fichier`,globalCookieHint:`Les cookies globaux sont partagés dans tout l’espace de travail. Cliquez pour y accéder.`,readOnlyHint:`Cette propriété est en lecture seule. Pour la modifier, vous devez la remplacer ou la désactiver à l’aide de la case à cocher.`,include:`Inclure {name} dans la requête`,keyLabel:`Clé de {name}`,valueLabel:`Valeur de {name}`,deleteRow:`Supprimer {name}`,row:`ligne`},requestTableTooltip:{min:`min. :`,max:`max. :`,default:`par défaut :`,invalid:`La saisie est invalide`,moreInformation:`Plus d’informations`},headers:{headerKey:`Clé de l’en-tête`,headerValue:`Valeur de l’en-tête`,noHeaders:`Aucun en-tête`},responseBody:{binaryFile:`Fichier binaire`},responseBodyPreview:{previewUnavailable:`Aperçu indisponible`},responseBodyStreaming:{body:`Corps`,listening:`En écoute…`,cancel:`Annuler`},responseBodyToggle:{preview:`Aperçu`,raw:`Brut`},responseBodyVirtual:{body:`Corps`,largeBodyHint:`Le corps de cette réponse est trop volumineux pour la coloration syntaxique.`},responseCookies:{cookies:`Cookies`,cookieName:`Nom du cookie`,cookieValue:`Valeur du cookie`,noCookies:`Aucun cookie`},responseEmpty:{roadmap:`Feuille de route`,poweredByScalarcom:`Propulsé par Scalar.com`,getStarted:`Commencer`,newRequest:`Nouvelle requête`,sendRequest:`Envoyer la requête`,version:`Scalar App V{version} Beta`},responseLoadingOverlay:{cancel:`Annuler`},addressBar:{path:`Chemin`,copyUrl:`Copier l’URL`,send:`Envoyer`,sendRequest:`Envoyer une requête {method} à {url}`,duplicateRequest:`Une requête {method} vers {path} existe déjà dans ce document`,urlPlaceholder:`Saisissez une URL`,webhookUrlPlaceholder:`Saisissez l’URL complète du webhook, par exemple https://example.com/hook`},addressBarHistory:{requestHistory:`Historique des requêtes`},environmentSelector:{noEnvironment:`Aucun environnement`,notAvailableInThisContext:`Indisponible dans ce contexte`,environmentHint:`Les environnements permettent de gérer des variables comme les clés API et les URL de base dans différents contextes.`,add:`Ajouter un environnement`,select:`Sélectionner un environnement`,unavailable:`{name} (Indisponible)`,current:`Environnement actuel : {name}`},deleteRequestAuthModal:{deleteSecurityScheme:`Supprimer le schéma de sécurité`,cancel:`Annuler`,delete:`Supprimer`,confirmation:`Cette action est irréversible. Vous allez supprimer le schéma de sécurité {name} de la collection.`},oauth2:{deviceAuthorizationUrl:`URL d’autorisation du périphérique`,deviceVerificationPrompt:`Ouvrez la page de vérification et saisissez ce code :`,waitingForAuthorization:`En attente d’autorisation…`,cancelDeviceAuthorization:`Annuler`,accessToken:`Jeton d’accès`,refreshUrl:`URL de renouvellement`,refresh:`Actualiser`,authUrl:`URL d’authentification`,tokenUrl:`URL du jeton`,redirectUrl:`URL de redirection`,username:`Nom d’utilisateur`,password:`Mot de passe`,clientID:`Identifiant du client`,clientSecret:`Secret du client`,usePKCE:`Utiliser PKCE`,credentialsLocation:`Emplacement des identifiants`,authorize:`Autoriser`,clear:`Effacer`,failedToauthorize:`Échec de l’autorisation`,failedToRefreshToken:`Échec du renouvellement du jeton`,optionalRedirectUrl:`URL de redirection facultative`,clearTokens:`Effacer les jetons`,resetDiscovery:`Réinitialiser la découverte`},oauthScopesAddModal:{name:`Nom :`,description:`Description :`,readUserData:`Lire les données de l’utilisateur`,edit:`Modifier la portée`,add:`Ajouter une portée`,save:`Enregistrer`,required:`Le nom de la portée est obligatoire.`,duplicate:`Une portée nommée « {name} » existe déjà.`},oauthScopesInput:{noScopesDefined:`Aucune portée définie`,addScope:`Ajouter une portée`,deselectAll:`Tout désélectionner`,selectAll:`Tout sélectionner`,selectedScopes:`Portées sélectionnées : {count} / {total}`,editScope:`Modifier {name}`,deleteScope:`Supprimer {name}`,selectScope:`Sélectionner la portée {name}`},openIdConnect:{discoveryUrl:`URL de découverte`,fetchConfiguration:`Récupérer la configuration`,failedToFetchConfiguration:`Échec de la récupération de la configuration OpenID Connect`},requestAuthDataTable:{noauthenticationSelected:`Aucune authentification sélectionnée`},requestAuthTab:{token:`Jeton`,bearerToken:`Jeton Bearer`,getAToken:`Obtenir un jeton`,refresh:`Actualiser`,username:`Nom d’utilisateur`,password:`Mot de passe`,name:`Nom`,value:`Valeur`,cancel:`Annuler`,authorize:`Autoriser`,unsupportedCredentials:`Le client du navigateur n’envoie pas les identifiants de ce schéma de sécurité AsyncAPI.`,authorizeVia:`Autoriser via {name}`,unsupportedType:`Le type de schéma de sécurité {type} n’est pas encore pris en charge.`,missingType:`Le schéma de sécurité n’a pas de type. Vérifiez votre document {type} ou la configuration de l’authentification.`,failedToauthorize:`Échec de l’autorisation`,failedToRefresh:`Échec de l’actualisation`,configure:`Configurer {name}`,mutualTlsHint:`L’authentification TLS mutuelle utilise un certificat client présenté lors de la négociation TLS. Il n’y a donc rien à saisir ici.`},commandActionForm:{continue:`Continuer`},environment:{thisIsTheActiveEnvironment:`Ceci est l’environnement actif`,active:`Actif`,editEnvironment:`Modifier l’environnement`,deleteEnvironment:`Supprimer l’environnement`},environmentCreateModal:{environmentName:`Nom de l’environnement`,thisEnvironmentNameIsAlreadyInUse:`Ce nom d’environnement est déjà utilisé.`,update:`Mettre à jour l’environnement`,add:`Ajouter un environnement`},environmentDeleteModal:{cancel:`Annuler`,deleteEnvironment:`Supprimer l’environnement`,deleteConfirmation:`Voulez-vous vraiment supprimer cet environnement ? Cette action est irréversible.`,title:`Supprimer {name}`},environmentVariablesDropdown:{variableSuggestions:`Suggestions de variables`,addVariable:`Ajouter une variable`},environmentVariablesTable:{name:`Nom`,value:`Valeur`,actions:`Actions`,environmentVariableName:`Nom de la variable d’environnement`,environmentVariableValue:`Valeur de la variable d’environnement`},documentSearchModal:{documentSearch:`Recherche dans les documents`,documentSearchResults:`Résultats de la recherche dans les documents`,navigate:`↑↓ Naviguer`,select:`⏎ Sélectionner`,keyboardInstructions:`Utilisez les flèches haut et bas pour naviguer, Entrée pour sélectionner et saisissez du texte pour filtrer les résultats`},searchResult:{httpMethod:`Méthode HTTP :`,path:`Chemin :`,description:`Description :`,heading:`Titre`,operation:`Opération`,tag:`Étiquette`},sectionFilter:{all:`Tout`,auth:`Authentification`,variables:`Variables`,cookies:`Cookies`,headers:`En-têtes`,query:`Requête`,body:`Corps`},requestParams:{addParameter:`Ajouter un paramètre`,searchParameters:`Rechercher des paramètres`,noParametersFound:`Aucun paramètre correspondant`,clearAll:`Tout effacer : {title}`,clear:`Effacer`,clearOptionalParameters:`Effacer les paramètres facultatifs`},responseBodyDownload:{download:`Télécharger le corps de la réponse`,label:`Télécharger`,body:`Corps de la réponse`},responseMetaInformation:{duration:`Informations de la réponse, durée :`,size:`, taille :`,status:`, statut :`},authSelector:{selectedType:`Type d’authentification sélectionné : {type}`,multipleTypes:`Plusieurs types d’authentification sélectionnés`,selectType:`Sélectionner le type d’authentification`,optional:`Facultatif`,required:`Obligatoire`,deleteScheme:`Supprimer {name}`,requiredGroup:`Authentification obligatoire`,availableGroup:`Authentification disponible`,addGroup:`Ajouter une authentification`},operationBlock:{webhookUrlRequired:`L’URL du webhook est obligatoire. Saisissez d’abord une destination.`,pathParametersRequired:`Les paramètres de chemin doivent avoir des valeurs.`,forbiddenMethod:`L’API Fetch ne peut pas envoyer de requêtes {method}.`},dataTableCheckbox:{toggle:`Basculer`},pillTooltipHost:{computedAtExecution:`Calculé lors de l’exécution de la requête`,noValue:`Aucune valeur`},authOptions:{oauth2DeviceAuthorization:`Autorisation de périphérique OAuth2`,apiKeyCookie:`Clé API dans les cookies`,apiKeyHeader:`Clé API dans les en-têtes`,apiKeyQuery:`Clé API dans les paramètres de requête`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`Flux implicite OAuth2`,oauth2Password:`Flux de mot de passe OAuth2`,oauth2ClientCredentials:`Identifiants client OAuth2`,oauth2AuthorizationFlow:`Code d’autorisation OAuth2`},deleteSidebarListElement:{delete:`Supprimer {name}`},deleteModal:{delete:`Supprimer {name}`}}})),Dce,Oce=s((()=>{Dce={serverVariablesSelect:{selected:`Selecionado:`},serverVariablesTextbox:{value:`valor`},sidebarListElementForm:{cancel:`Cancelar`},requestBlock:{authentication:`Autenticação`,variables:`Variáveis`,cookies:`Cookies`,headers:`Cabeçalhos`,queryParameters:`Parâmetros de consulta`,queryString:`String de consulta`,queryStringDescription:`Este parâmetro fornece toda a string de consulta, por isso não é possível adicionar outros parâmetros nomeados. Os parâmetros nomeados existentes são enviados depois; as chaves duplicadas são preservadas.`,requestBody:`Corpo da requisição`,requestName:`Nome da requisição`,label:`Requisição: {name}`},responseBlock:{requestFailed:`Falha na requisição`,networkErrorHelp:`As possíveis causas incluem restrições de CORS ou um problema de conexão de rede. Consulte o console do navegador para obter detalhes. Se o CORS estiver bloqueando a requisição, configure o servidor da API para permitir esta origem ou use um proxy confiável.`,response:`Resposta`,requestHeaders:`Cabeçalhos da requisição`,responseHeaders:`Cabeçalhos da resposta`,body:`Corpo`},codeInput:{required:`Obrigatório`,exitHint:`Pressione {escape} e depois {tab} para sair`},codeInputLite:{required:`Obrigatório`},dataTableInput:{clearValue:`Limpar valor`,resetValue:`Restaurar padrão`,showPassword:`Mostrar senha`,hidePassword:`Ocultar senha`},dataTableInputSelect:{value:`Valor`,addValue:`Adicionar valor`},confirmationForm:{cancel:`Cancelar`,save:`Salvar`},collapsibleSection:{collapsed:`(Recolhido)`,item:`Item`,items:`Itens`},modalClientContainer:{label:`Cliente de API`},serverDropdown:{server:`Servidor:`,addServer:`Adicionar servidor`,updateServers:`Atualizar servidores`,unknownServer:`Servidor desconhecido`},sidebar:{search:`Buscar`},sidebarMenu:{settings:`Configurações`},sidebarToggle:{hide:`Ocultar barra lateral`,show:`Mostrar barra lateral`},environmentsList:{addEnvironment:`Adicionar ambiente`},modal:{noDocumentSelected:`Nenhum documento selecionado`},operation:{selectAnOperationToViewDetails:`Selecione uma operação para ver os detalhes`},header:{operationSettings:`Configurações da operação`,closeClient:`Fechar cliente`},openApiClientButton:{openAPIClient:`Abrir cliente de API`},requestBody:{noBody:`Sem corpo`,delete:`Excluir`,selectFile:`Selecionar arquivo`,multipartForm:`Formulário multiparte`,formUrlEncoded:`Formulário codificado em URL`,binaryFile:`Arquivo binário`,other:`Outro`,none:`Nenhum`},requestBodyStructured:{body:`Corpo`},requestBodyViewToggle:{schema:`Esquema`,form:`Formulário`,raw:`Bruto`,fixBody:`Corrija o corpo para mudar para a visualização de formulário`},requestCodeSnippet:{unavailable:`Nenhuma amostra de código disponível para este exemplo.`,codeSnippet:`Trecho de código`},requestTable:{enabled:`Habilitado`,key:`Chave`,value:`Valor`},requestTableRow:{key:`Chave`,value:`Valor`,delete:`Excluir`,selectFile:`Selecionar arquivo`,globalCookieHint:`Os cookies globais são compartilhados em todo o espaço de trabalho. Clique para acessá-los.`,readOnlyHint:`Esta propriedade é somente leitura. Para alterá-la, você precisa sobrescrevê-la ou desativá-la usando a caixa de seleção.`,include:`Incluir {name} na requisição`,keyLabel:`Chave de {name}`,valueLabel:`Valor de {name}`,deleteRow:`Excluir {name}`,row:`linha`},requestTableTooltip:{min:`mín.:`,max:`máx.:`,default:`padrão:`,invalid:`A entrada é inválida`,moreInformation:`Mais informações`},headers:{headerKey:`Chave do cabeçalho`,headerValue:`Valor do cabeçalho`,noHeaders:`Sem cabeçalhos`},responseBody:{binaryFile:`Arquivo binário`},responseBodyPreview:{previewUnavailable:`Prévia indisponível`},responseBodyStreaming:{body:`Corpo`,listening:`Aguardando dados…`,cancel:`Cancelar`},responseBodyToggle:{preview:`Prévia`,raw:`Bruto`},responseBodyVirtual:{body:`Corpo`,largeBodyHint:`O corpo desta resposta é grande demais para o realce de sintaxe.`},responseCookies:{cookies:`Cookies`,cookieName:`Nome do cookie`,cookieValue:`Valor do cookie`,noCookies:`Sem cookies`},responseEmpty:{roadmap:`Roteiro de desenvolvimento`,poweredByScalarcom:`Desenvolvido com Scalar.com`,getStarted:`Começar`,newRequest:`Nova requisição`,sendRequest:`Enviar requisição`,version:`Scalar App V{version} Beta`},responseLoadingOverlay:{cancel:`Cancelar`},addressBar:{path:`Caminho`,copyUrl:`Copiar URL`,send:`Enviar`,sendRequest:`Enviar requisição {method} para {url}`,duplicateRequest:`Uma requisição {method} para {path} já existe neste documento`,urlPlaceholder:`Digite uma URL`,webhookUrlPlaceholder:`Digite a URL completa do webhook, por exemplo https://example.com/hook`},addressBarHistory:{requestHistory:`Histórico de requisições`},environmentSelector:{noEnvironment:`Sem ambiente`,notAvailableInThisContext:`Indisponível neste contexto`,environmentHint:`Os ambientes permitem gerenciar variáveis como chaves de API e URLs base em diferentes contextos.`,add:`Adicionar ambiente`,select:`Selecionar ambiente`,unavailable:`{name} (Indisponível)`,current:`Ambiente atual: {name}`},deleteRequestAuthModal:{deleteSecurityScheme:`Excluir esquema de segurança`,cancel:`Cancelar`,delete:`Excluir`,confirmation:`Esta ação não pode ser desfeita. Você está prestes a excluir o esquema de segurança {name} da coleção.`},oauth2:{deviceAuthorizationUrl:`URL de autorização do dispositivo`,deviceVerificationPrompt:`Abra a página de verificação e insira este código:`,waitingForAuthorization:`Aguardando autorização…`,cancelDeviceAuthorization:`Cancelar`,accessToken:`Token de acesso`,refreshUrl:`URL de renovação`,refresh:`Atualizar`,authUrl:`URL de autenticação`,tokenUrl:`URL do token`,redirectUrl:`URL de redirecionamento`,username:`Nome de usuário`,password:`Senha`,clientID:`ID do cliente`,clientSecret:`Segredo do cliente`,usePKCE:`Usar PKCE`,credentialsLocation:`Localização das credenciais`,authorize:`Autorizar`,clear:`Limpar`,failedToauthorize:`Falha na autorização`,failedToRefreshToken:`Falha ao renovar o token`,optionalRedirectUrl:`URL de redirecionamento opcional`,clearTokens:`Limpar tokens`,resetDiscovery:`Redefinir descoberta`},oauthScopesAddModal:{name:`Nome:`,description:`Descrição:`,readUserData:`Ler dados do usuário`,edit:`Editar escopo`,add:`Adicionar escopo`,save:`Salvar`,required:`O nome do escopo é obrigatório.`,duplicate:`Já existe um escopo chamado "{name}".`},oauthScopesInput:{noScopesDefined:`Nenhum escopo definido`,addScope:`Adicionar escopo`,deselectAll:`Desmarcar tudo`,selectAll:`Selecionar tudo`,selectedScopes:`Escopos selecionados: {count} / {total}`,editScope:`Editar {name}`,deleteScope:`Excluir {name}`,selectScope:`Selecionar o escopo {name}`},openIdConnect:{discoveryUrl:`URL de descoberta`,fetchConfiguration:`Obter configuração`,failedToFetchConfiguration:`Falha ao obter a configuração do OpenID Connect`},requestAuthDataTable:{noauthenticationSelected:`Nenhuma autenticação selecionada`},requestAuthTab:{token:`Token`,bearerToken:`Token Bearer`,getAToken:`Obter um token`,refresh:`Atualizar`,username:`Nome de usuário`,password:`Senha`,name:`Nome`,value:`Valor`,cancel:`Cancelar`,authorize:`Autorizar`,unsupportedCredentials:`O cliente do navegador não envia as credenciais deste esquema de segurança AsyncAPI.`,authorizeVia:`Autorizar via {name}`,unsupportedType:`O tipo de esquema de segurança {type} ainda não é compatível.`,missingType:`O esquema de segurança não tem um tipo. Verifique seu documento {type} ou a configuração de autenticação.`,failedToauthorize:`Falha na autorização`,failedToRefresh:`Falha ao atualizar`,configure:`Configurar {name}`,mutualTlsHint:`O TLS mútuo autentica com um certificado de cliente apresentado durante a negociação TLS, portanto não há nada para inserir aqui.`},commandActionForm:{continue:`Continuar`},environment:{thisIsTheActiveEnvironment:`Este é o ambiente ativo`,active:`Ativo`,editEnvironment:`Editar ambiente`,deleteEnvironment:`Excluir ambiente`},environmentCreateModal:{environmentName:`Nome do ambiente`,thisEnvironmentNameIsAlreadyInUse:`Este nome de ambiente já está em uso.`,update:`Atualizar ambiente`,add:`Adicionar ambiente`},environmentDeleteModal:{cancel:`Cancelar`,deleteEnvironment:`Excluir ambiente`,deleteConfirmation:`Tem certeza de que deseja excluir este ambiente? Esta ação não pode ser desfeita.`,title:`Excluir {name}`},environmentVariablesDropdown:{variableSuggestions:`Sugestões de variáveis`,addVariable:`Adicionar variável`},environmentVariablesTable:{name:`Nome`,value:`Valor`,actions:`Ações`,environmentVariableName:`Nome da variável de ambiente`,environmentVariableValue:`Valor da variável de ambiente`},documentSearchModal:{documentSearch:`Busca de documentos`,documentSearchResults:`Resultados da busca de documentos`,navigate:`↑↓ Navegar`,select:`⏎ Selecionar`,keyboardInstructions:`Pressione seta para cima ou para baixo para navegar, Enter para selecionar e digite para filtrar os resultados`},searchResult:{httpMethod:`Método HTTP:`,path:`Caminho:`,description:`Descrição:`,heading:`Título`,operation:`Operação`,tag:`Tag`},sectionFilter:{all:`Todos`,auth:`Autenticação`,variables:`Variáveis`,cookies:`Cookies`,headers:`Cabeçalhos`,query:`Consulta`,body:`Corpo`},requestParams:{addParameter:`Adicionar parâmetro`,searchParameters:`Buscar parâmetros`,noParametersFound:`Nenhum parâmetro correspondente`,clearAll:`Limpar tudo: {title}`,clear:`Limpar`,clearOptionalParameters:`Limpar parâmetros opcionais`},responseBodyDownload:{download:`Baixar corpo da resposta`,label:`Baixar`,body:`Corpo da resposta`},responseMetaInformation:{duration:`Informações da resposta, duração:`,size:`, tamanho:`,status:`, status:`},authSelector:{selectedType:`Tipo de autenticação selecionado: {type}`,multipleTypes:`Vários tipos de autenticação selecionados`,selectType:`Selecionar tipo de autenticação`,optional:`Opcional`,required:`Obrigatório`,deleteScheme:`Excluir {name}`,requiredGroup:`Autenticação obrigatória`,availableGroup:`Autenticação disponível`,addGroup:`Adicionar nova autenticação`},operationBlock:{webhookUrlRequired:`A URL do webhook é obrigatória. Digite um destino primeiro.`,pathParametersRequired:`Os parâmetros de caminho devem ter valores.`,forbiddenMethod:`A API Fetch não pode enviar requisições {method}.`},dataTableCheckbox:{toggle:`Alternar`},pillTooltipHost:{computedAtExecution:`Calculado ao executar a requisição`,noValue:`Sem valor`},authOptions:{oauth2DeviceAuthorization:`Autorização de dispositivo OAuth2`,apiKeyCookie:`Chave de API em cookies`,apiKeyHeader:`Chave de API em cabeçalhos`,apiKeyQuery:`Chave de API em parâmetros de consulta`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`Fluxo implícito do OAuth2`,oauth2Password:`Fluxo de senha do OAuth2`,oauth2ClientCredentials:`Credenciais de cliente do OAuth2`,oauth2AuthorizationFlow:`Código de autorização do OAuth2`},deleteSidebarListElement:{delete:`Excluir {name}`},deleteModal:{delete:`Excluir {name}`}}})),kce,Ace=s((()=>{kce={serverVariablesSelect:{selected:`Выбрано:`},serverVariablesTextbox:{value:`значение`},sidebarListElementForm:{cancel:`Отмена`},requestBlock:{authentication:`Аутентификация`,variables:`Переменные`,cookies:`Cookie`,headers:`Заголовки`,queryParameters:`Параметры запроса`,queryString:`Строка запроса`,queryStringDescription:`Этот параметр задаёт всю строку запроса, поэтому добавить другие именованные параметры нельзя. Существующие именованные параметры отправляются после него; повторяющиеся ключи сохраняются.`,requestBody:`Тело запроса`,requestName:`Название запроса`,label:`Запрос: {name}`},responseBlock:{requestFailed:`Ошибка запроса`,networkErrorHelp:`Возможные причины включают ограничения CORS или проблемы с сетевым подключением. Подробности доступны в консоли браузера. Если CORS блокирует запрос, настройте сервер API, чтобы разрешить этот источник, или используйте доверенный прокси-сервер.`,response:`Ответ`,requestHeaders:`Заголовки запроса`,responseHeaders:`Заголовки ответа`,body:`Тело`},codeInput:{required:`Обязательно`,exitHint:`Нажмите {escape}, затем {tab}, чтобы выйти`},codeInputLite:{required:`Обязательно`},dataTableInput:{clearValue:`Очистить значение`,resetValue:`Восстановить значение по умолчанию`,showPassword:`Показать пароль`,hidePassword:`Скрыть пароль`},dataTableInputSelect:{value:`Значение`,addValue:`Добавить значение`},confirmationForm:{cancel:`Отмена`,save:`Сохранить`},collapsibleSection:{collapsed:`(Свёрнуто)`,item:`Элемент`,items:`Элементы`},modalClientContainer:{label:`API-клиент`},serverDropdown:{server:`Сервер:`,addServer:`Добавить сервер`,updateServers:`Обновить серверы`,unknownServer:`Неизвестный сервер`},sidebar:{search:`Поиск`},sidebarMenu:{settings:`Настройки`},sidebarToggle:{hide:`Скрыть боковую панель`,show:`Показать боковую панель`},environmentsList:{addEnvironment:`Добавить окружение`},modal:{noDocumentSelected:`Документ не выбран`},operation:{selectAnOperationToViewDetails:`Выберите операцию для просмотра подробностей`},header:{operationSettings:`Настройки операции`,closeClient:`Закрыть клиент`},openApiClientButton:{openAPIClient:`Открыть API-клиент`},requestBody:{noBody:`Без тела`,delete:`Удалить`,selectFile:`Выбрать файл`,multipartForm:`Составная форма`,formUrlEncoded:`Форма с URL-кодированием`,binaryFile:`Двоичный файл`,other:`Другое`,none:`Нет`},requestBodyStructured:{body:`Тело`},requestBodyViewToggle:{schema:`Схема`,form:`Форма`,raw:`Исходный вид`,fixBody:`Исправьте тело, чтобы переключиться в режим формы`},requestCodeSnippet:{unavailable:`Для этого примера нет доступного образца кода.`,codeSnippet:`Фрагмент кода`},requestTable:{enabled:`Включено`,key:`Ключ`,value:`Значение`},requestTableRow:{key:`Ключ`,value:`Значение`,delete:`Удалить`,selectFile:`Выбрать файл`,globalCookieHint:`Глобальные cookie используются во всём рабочем пространстве. Нажмите, чтобы перейти к ним.`,readOnlyHint:`Это свойство доступно только для чтения. Чтобы изменить его, переопределите его или отключите с помощью флажка.`,include:`Включить {name} в запрос`,keyLabel:`Ключ для {name}`,valueLabel:`Значение для {name}`,deleteRow:`Удалить {name}`,row:`строку`},requestTableTooltip:{min:`мин.:`,max:`макс.:`,default:`по умолчанию:`,invalid:`Недопустимое значение`,moreInformation:`Подробнее`},headers:{headerKey:`Ключ заголовка`,headerValue:`Значение заголовка`,noHeaders:`Нет заголовков`},responseBody:{binaryFile:`Двоичный файл`},responseBodyPreview:{previewUnavailable:`Предпросмотр недоступен`},responseBodyStreaming:{body:`Тело`,listening:`Ожидание данных…`,cancel:`Отмена`},responseBodyToggle:{preview:`Предпросмотр`,raw:`Исходный вид`},responseBodyVirtual:{body:`Тело`,largeBodyHint:`Тело этого ответа слишком велико для подсветки синтаксиса.`},responseCookies:{cookies:`Cookie`,cookieName:`Имя cookie`,cookieValue:`Значение cookie`,noCookies:`Нет cookie`},responseEmpty:{roadmap:`План развития`,poweredByScalarcom:`На базе Scalar.com`,getStarted:`Начать`,newRequest:`Новый запрос`,sendRequest:`Отправить запрос`,version:`Scalar App V{version} Beta`},responseLoadingOverlay:{cancel:`Отмена`},addressBar:{path:`Путь`,copyUrl:`Копировать URL`,send:`Отправить`,sendRequest:`Отправить запрос {method} на {url}`,duplicateRequest:`Запрос {method} к {path} уже существует в этом документе`,urlPlaceholder:`Введите URL`,webhookUrlPlaceholder:`Введите полный URL вебхука, например https://example.com/hook`},addressBarHistory:{requestHistory:`История запросов`},environmentSelector:{noEnvironment:`Без окружения`,notAvailableInThisContext:`Недоступно в этом контексте`,environmentHint:`Окружения позволяют управлять переменными, такими как ключи API и базовые URL, в разных контекстах.`,add:`Добавить окружение`,select:`Выбрать окружение`,unavailable:`{name} (Недоступно)`,current:`Текущее окружение: {name}`},deleteRequestAuthModal:{deleteSecurityScheme:`Удалить схему безопасности`,cancel:`Отмена`,delete:`Удалить`,confirmation:`Это действие нельзя отменить. Вы собираетесь удалить схему безопасности {name} из коллекции.`},oauth2:{deviceAuthorizationUrl:`URL авторизации устройства`,deviceVerificationPrompt:`Откройте страницу подтверждения и введите этот код:`,waitingForAuthorization:`Ожидание авторизации…`,cancelDeviceAuthorization:`Отмена`,accessToken:`Токен доступа`,refreshUrl:`URL обновления`,refresh:`Обновить`,authUrl:`URL аутентификации`,tokenUrl:`URL токена`,redirectUrl:`URL перенаправления`,username:`Имя пользователя`,password:`Пароль`,clientID:`ID клиента`,clientSecret:`Секрет клиента`,usePKCE:`Использовать PKCE`,credentialsLocation:`Расположение учётных данных`,authorize:`Авторизовать`,clear:`Очистить`,failedToauthorize:`Ошибка авторизации`,failedToRefreshToken:`Не удалось обновить токен`,optionalRedirectUrl:`Необязательный URL перенаправления`,clearTokens:`Очистить токены`,resetDiscovery:`Сбросить обнаружение`},oauthScopesAddModal:{name:`Имя:`,description:`Описание:`,readUserData:`Чтение данных пользователя`,edit:`Изменить область доступа`,add:`Добавить область доступа`,save:`Сохранить`,required:`Необходимо указать имя области доступа.`,duplicate:`Область доступа с именем «{name}» уже существует.`},oauthScopesInput:{noScopesDefined:`Области доступа не определены`,addScope:`Добавить область доступа`,deselectAll:`Снять выделение`,selectAll:`Выбрать всё`,selectedScopes:`Выбрано областей доступа: {count} / {total}`,editScope:`Изменить {name}`,deleteScope:`Удалить {name}`,selectScope:`Выбрать область доступа {name}`},openIdConnect:{discoveryUrl:`URL обнаружения`,fetchConfiguration:`Получить конфигурацию`,failedToFetchConfiguration:`Не удалось получить конфигурацию OpenID Connect`},requestAuthDataTable:{noauthenticationSelected:`Аутентификация не выбрана`},requestAuthTab:{token:`Токен`,bearerToken:`Токен Bearer`,getAToken:`Получить токен`,refresh:`Обновить`,username:`Имя пользователя`,password:`Пароль`,name:`Имя`,value:`Значение`,cancel:`Отмена`,authorize:`Авторизовать`,unsupportedCredentials:`Браузерный клиент не отправляет учётные данные для этой схемы безопасности AsyncAPI.`,authorizeVia:`Авторизовать через {name}`,unsupportedType:`Тип схемы безопасности {type} пока не поддерживается.`,missingType:`У схемы безопасности не указан тип. Проверьте документ {type} или конфигурацию аутентификации.`,failedToauthorize:`Ошибка авторизации`,failedToRefresh:`Не удалось обновить`,configure:`Настроить {name}`,mutualTlsHint:`Взаимная аутентификация TLS использует клиентский сертификат, передаваемый при согласовании TLS, поэтому здесь ничего вводить не нужно.`},commandActionForm:{continue:`Продолжить`},environment:{thisIsTheActiveEnvironment:`Это активное окружение`,active:`Активно`,editEnvironment:`Изменить окружение`,deleteEnvironment:`Удалить окружение`},environmentCreateModal:{environmentName:`Название окружения`,thisEnvironmentNameIsAlreadyInUse:`Это название окружения уже используется.`,update:`Обновить окружение`,add:`Добавить окружение`},environmentDeleteModal:{cancel:`Отмена`,deleteEnvironment:`Удалить окружение`,deleteConfirmation:`Вы уверены, что хотите удалить это окружение? Это действие нельзя отменить.`,title:`Удалить {name}`},environmentVariablesDropdown:{variableSuggestions:`Предложения переменных`,addVariable:`Добавить переменную`},environmentVariablesTable:{name:`Имя`,value:`Значение`,actions:`Действия`,environmentVariableName:`Имя переменной окружения`,environmentVariableValue:`Значение переменной окружения`},documentSearchModal:{documentSearch:`Поиск по документу`,documentSearchResults:`Результаты поиска по документу`,navigate:`↑↓ Навигация`,select:`⏎ Выбрать`,keyboardInstructions:`Используйте стрелки вверх и вниз для навигации, Enter для выбора и вводите текст для фильтрации результатов`},searchResult:{httpMethod:`Метод HTTP:`,path:`Путь:`,description:`Описание:`,heading:`Заголовок`,operation:`Операция`,tag:`Тег`},sectionFilter:{all:`Все`,auth:`Аутентификация`,variables:`Переменные`,cookies:`Cookie`,headers:`Заголовки`,query:`Запрос`,body:`Тело`},requestParams:{addParameter:`Добавить параметр`,searchParameters:`Поиск параметров`,noParametersFound:`Нет подходящих параметров`,clearAll:`Очистить всё: {title}`,clear:`Очистить`,clearOptionalParameters:`Очистить необязательные параметры`},responseBodyDownload:{download:`Скачать тело ответа`,label:`Скачать`,body:`Тело ответа`},responseMetaInformation:{duration:`Информация об ответе, длительность:`,size:`, размер:`,status:`, статус:`},authSelector:{selectedType:`Выбранный тип аутентификации: {type}`,multipleTypes:`Выбрано несколько типов аутентификации`,selectType:`Выбрать тип аутентификации`,optional:`Необязательно`,required:`Обязательно`,deleteScheme:`Удалить {name}`,requiredGroup:`Обязательная аутентификация`,availableGroup:`Доступная аутентификация`,addGroup:`Добавить аутентификацию`},operationBlock:{webhookUrlRequired:`Необходим URL вебхука. Сначала укажите адрес назначения.`,pathParametersRequired:`Параметры пути должны иметь значения.`,forbiddenMethod:`Fetch API не может отправлять запросы {method}.`},dataTableCheckbox:{toggle:`Переключить`},pillTooltipHost:{computedAtExecution:`Вычисляется при выполнении запроса`,noValue:`Нет значения`},authOptions:{oauth2DeviceAuthorization:`Авторизация устройства OAuth2`,apiKeyCookie:`Ключ API в cookie`,apiKeyHeader:`Ключ API в заголовках`,apiKeyQuery:`Ключ API в параметрах запроса`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`Неявный поток OAuth2`,oauth2Password:`Поток OAuth2 с паролем`,oauth2ClientCredentials:`Учётные данные клиента OAuth2`,oauth2AuthorizationFlow:`Код авторизации OAuth2`},deleteSidebarListElement:{delete:`Удалить {name}`},deleteModal:{delete:`Удалить {name}`}}})),jce,Mce=s((()=>{jce={serverVariablesSelect:{selected:`已选择:`},serverVariablesTextbox:{value:`值`},sidebarListElementForm:{cancel:`取消`},requestBlock:{authentication:`身份验证`,variables:`变量`,cookies:`Cookie`,headers:`请求头`,queryParameters:`查询参数`,queryString:`查询字符串`,queryStringDescription:`此参数提供完整的查询字符串,因此无法添加其他命名参数。现有命名参数将在其后发送;重复的键会被保留。`,requestBody:`请求体`,requestName:`请求名称`,label:`请求:{name}`},responseBlock:{requestFailed:`请求失败`,networkErrorHelp:`可能的原因包括 CORS 限制或网络连接问题。请查看浏览器控制台了解详情。如果 CORS 阻止了请求,请配置 API 服务器以允许此来源,或使用可信的代理。`,response:`响应`,requestHeaders:`请求头`,responseHeaders:`响应头`,body:`正文`},codeInput:{required:`必填`,exitHint:`按 {escape},然后按 {tab} 退出`},codeInputLite:{required:`必填`},dataTableInput:{clearValue:`清除值`,resetValue:`恢复默认值`,showPassword:`显示密码`,hidePassword:`隐藏密码`},dataTableInputSelect:{value:`值`,addValue:`添加值`},confirmationForm:{cancel:`取消`,save:`保存`},collapsibleSection:{collapsed:`(已折叠)`,item:`项`,items:`项`},modalClientContainer:{label:`API 客户端`},serverDropdown:{server:`服务器:`,addServer:`添加服务器`,updateServers:`更新服务器`,unknownServer:`未知服务器`},sidebar:{search:`搜索`},sidebarMenu:{settings:`设置`},sidebarToggle:{hide:`隐藏侧边栏`,show:`显示侧边栏`},environmentsList:{addEnvironment:`添加环境`},modal:{noDocumentSelected:`未选择文档`},operation:{selectAnOperationToViewDetails:`选择一个操作以查看详情`},header:{operationSettings:`操作设置`,closeClient:`关闭客户端`},openApiClientButton:{openAPIClient:`打开 API 客户端`},requestBody:{noBody:`无请求体`,delete:`删除`,selectFile:`选择文件`,multipartForm:`多部分表单`,formUrlEncoded:`URL 编码表单`,binaryFile:`二进制文件`,other:`其他`,none:`无`},requestBodyStructured:{body:`正文`},requestBodyViewToggle:{schema:`架构`,form:`表单`,raw:`原始内容`,fixBody:`修正请求体以切换到表单视图`},requestCodeSnippet:{unavailable:`此示例暂无可用的代码示例。`,codeSnippet:`代码片段`},requestTable:{enabled:`已启用`,key:`键`,value:`值`},requestTableRow:{key:`键`,value:`值`,delete:`删除`,selectFile:`选择文件`,globalCookieHint:`全局 Cookie 在整个工作区中共享。点击前往查看。`,readOnlyHint:`此属性为只读。若要更改,请覆盖该属性或通过复选框禁用它。`,include:`在请求中包含 {name}`,keyLabel:`{name} 的键`,valueLabel:`{name} 的值`,deleteRow:`删除 {name}`,row:`行`},requestTableTooltip:{min:`最小值:`,max:`最大值:`,default:`默认值:`,invalid:`输入无效`,moreInformation:`更多信息`},headers:{headerKey:`头部键`,headerValue:`头部值`,noHeaders:`无头部`},responseBody:{binaryFile:`二进制文件`},responseBodyPreview:{previewUnavailable:`无法预览`},responseBodyStreaming:{body:`正文`,listening:`正在监听…`,cancel:`取消`},responseBodyToggle:{preview:`预览`,raw:`原始内容`},responseBodyVirtual:{body:`正文`,largeBodyHint:`此响应体过大,无法进行语法高亮。`},responseCookies:{cookies:`Cookie`,cookieName:`Cookie 名称`,cookieValue:`Cookie 值`,noCookies:`无 Cookie`},responseEmpty:{roadmap:`路线图`,poweredByScalarcom:`由 Scalar.com 提供支持`,getStarted:`开始使用`,newRequest:`新建请求`,sendRequest:`发送请求`,version:`Scalar App V{version} 测试版`},responseLoadingOverlay:{cancel:`取消`},addressBar:{path:`路径`,copyUrl:`复制 URL`,send:`发送`,sendRequest:`向 {url} 发送 {method} 请求`,duplicateRequest:`此文档中已存在发往 {path} 的 {method} 请求`,urlPlaceholder:`输入 URL`,webhookUrlPlaceholder:`输入完整的 Webhook URL,例如 https://example.com/hook`},addressBarHistory:{requestHistory:`请求历史`},environmentSelector:{noEnvironment:`无环境`,notAvailableInThisContext:`在此上下文中不可用`,environmentHint:`环境可帮助您管理不同上下文中的变量,例如 API 密钥和基础 URL。`,add:`添加环境`,select:`选择环境`,unavailable:`{name}(不可用)`,current:`当前环境:{name}`},deleteRequestAuthModal:{deleteSecurityScheme:`删除安全方案`,cancel:`取消`,delete:`删除`,confirmation:`此操作无法撤销。您即将从集合中删除安全方案 {name}。`},oauth2:{deviceAuthorizationUrl:`设备授权 URL`,deviceVerificationPrompt:`打开验证页面并输入此代码:`,waitingForAuthorization:`正在等待授权…`,cancelDeviceAuthorization:`取消`,accessToken:`访问令牌`,refreshUrl:`刷新 URL`,refresh:`刷新`,authUrl:`身份验证 URL`,tokenUrl:`令牌 URL`,redirectUrl:`重定向 URL`,username:`用户名`,password:`密码`,clientID:`客户端 ID`,clientSecret:`客户端密钥`,usePKCE:`使用 PKCE`,credentialsLocation:`凭据位置`,authorize:`授权`,clear:`清除`,failedToauthorize:`授权失败`,failedToRefreshToken:`刷新令牌失败`,optionalRedirectUrl:`可选的重定向 URL`,clearTokens:`清除令牌`,resetDiscovery:`重置发现`},oauthScopesAddModal:{name:`名称:`,description:`描述:`,readUserData:`读取用户数据`,edit:`编辑权限范围`,add:`添加权限范围`,save:`保存`,required:`权限范围名称为必填项。`,duplicate:`名为“{name}”的权限范围已存在。`},oauthScopesInput:{noScopesDefined:`未定义权限范围`,addScope:`添加权限范围`,deselectAll:`取消全选`,selectAll:`全选`,selectedScopes:`已选权限范围:{count} / {total}`,editScope:`编辑 {name}`,deleteScope:`删除 {name}`,selectScope:`选择权限范围 {name}`},openIdConnect:{discoveryUrl:`发现 URL`,fetchConfiguration:`获取配置`,failedToFetchConfiguration:`获取 OpenID Connect 配置失败`},requestAuthDataTable:{noauthenticationSelected:`未选择身份验证`},requestAuthTab:{token:`令牌`,bearerToken:`Bearer 令牌`,getAToken:`获取令牌`,refresh:`刷新`,username:`用户名`,password:`密码`,name:`名称`,value:`值`,cancel:`取消`,authorize:`授权`,unsupportedCredentials:`浏览器客户端不会发送此 AsyncAPI 安全方案的凭据。`,authorizeVia:`通过 {name} 授权`,unsupportedType:`暂不支持 {type} 类型的安全方案。`,missingType:`安全方案缺少类型,请检查您的 {type} 文档或身份验证配置。`,failedToauthorize:`授权失败`,failedToRefresh:`刷新失败`,configure:`配置 {name}`,mutualTlsHint:`双向 TLS 通过在 TLS 握手期间提供客户端证书来进行身份验证,因此无需在此输入任何内容。`},commandActionForm:{continue:`继续`},environment:{thisIsTheActiveEnvironment:`这是当前启用的环境`,active:`已启用`,editEnvironment:`编辑环境`,deleteEnvironment:`删除环境`},environmentCreateModal:{environmentName:`环境名称`,thisEnvironmentNameIsAlreadyInUse:`此环境名称已被使用。`,update:`更新环境`,add:`添加环境`},environmentDeleteModal:{cancel:`取消`,deleteEnvironment:`删除环境`,deleteConfirmation:`确定要删除此环境吗?此操作无法撤销。`,title:`删除 {name}`},environmentVariablesDropdown:{variableSuggestions:`变量建议`,addVariable:`添加变量`},environmentVariablesTable:{name:`名称`,value:`值`,actions:`操作`,environmentVariableName:`环境变量名称`,environmentVariableValue:`环境变量值`},documentSearchModal:{documentSearch:`文档搜索`,documentSearchResults:`文档搜索结果`,navigate:`↑↓ 导航`,select:`⏎ 选择`,keyboardInstructions:`按上箭头或下箭头导航,按回车选择,输入文本筛选结果`},searchResult:{httpMethod:`HTTP 方法:`,path:`路径:`,description:`描述:`,heading:`标题`,operation:`操作`,tag:`标签`},sectionFilter:{all:`全部`,auth:`身份验证`,variables:`变量`,cookies:`Cookie`,headers:`头部`,query:`查询`,body:`正文`},requestParams:{addParameter:`添加参数`,searchParameters:`搜索参数`,noParametersFound:`没有匹配的参数`,clearAll:`清除所有{title}`,clear:`清除`,clearOptionalParameters:`清除可选参数`},responseBodyDownload:{download:`下载响应体`,label:`下载`,body:`响应体`},responseMetaInformation:{duration:`响应信息,耗时:`,size:`,大小:`,status:`,状态:`},authSelector:{selectedType:`已选身份验证类型:{type}`,multipleTypes:`已选择多个身份验证类型`,selectType:`选择身份验证类型`,optional:`可选`,required:`必填`,deleteScheme:`删除 {name}`,requiredGroup:`必需的身份验证`,availableGroup:`可用的身份验证`,addGroup:`添加身份验证`},operationBlock:{webhookUrlRequired:`Webhook URL 为必填项。请先输入目标地址。`,pathParametersRequired:`路径参数必须有值。`,forbiddenMethod:`Fetch API 无法发送 {method} 请求。`},dataTableCheckbox:{toggle:`切换`},pillTooltipHost:{computedAtExecution:`在执行请求时计算`,noValue:`无值`},authOptions:{oauth2DeviceAuthorization:`OAuth2 设备授权`,apiKeyCookie:`Cookie 中的 API 密钥`,apiKeyHeader:`请求头中的 API 密钥`,apiKeyQuery:`查询参数中的 API 密钥`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`OAuth2 隐式流程`,oauth2Password:`OAuth2 密码流程`,oauth2ClientCredentials:`OAuth2 客户端凭据`,oauth2AuthorizationFlow:`OAuth2 授权码`},deleteSidebarListElement:{delete:`删除 {name}`},deleteModal:{delete:`删除 {name}`}}})),Nce,Pce=s((()=>{Nce={serverVariablesSelect:{selected:`已選擇:`},serverVariablesTextbox:{value:`值`},sidebarListElementForm:{cancel:`取消`},requestBlock:{authentication:`身分驗證`,variables:`變數`,cookies:`Cookie`,headers:`請求標頭`,queryParameters:`查詢參數`,queryString:`查詢字串`,queryStringDescription:`此參數提供完整的查詢字串,因此無法新增其他命名參數。現有命名參數將在其後傳送;重複的鍵會被保留。`,requestBody:`請求主體`,requestName:`請求名稱`,label:`請求:{name}`},responseBlock:{requestFailed:`請求失敗`,networkErrorHelp:`可能的原因包括 CORS 限制或網路連線問題。請查看瀏覽器主控台以瞭解詳細資訊。如果 CORS 阻止了請求,請設定 API 伺服器以允許此來源,或使用可信任的代理伺服器。`,response:`回應`,requestHeaders:`請求標頭`,responseHeaders:`回應標頭`,body:`主體`},codeInput:{required:`必填`,exitHint:`按 {escape},然後按 {tab} 離開`},codeInputLite:{required:`必填`},dataTableInput:{clearValue:`清除值`,resetValue:`恢復預設值`,showPassword:`顯示密碼`,hidePassword:`隱藏密碼`},dataTableInputSelect:{value:`值`,addValue:`新增值`},confirmationForm:{cancel:`取消`,save:`儲存`},collapsibleSection:{collapsed:`(已摺疊)`,item:`項`,items:`項`},modalClientContainer:{label:`API 用戶端`},serverDropdown:{server:`伺服器:`,addServer:`新增伺服器`,updateServers:`更新伺服器`,unknownServer:`未知伺服器`},sidebar:{search:`搜尋`},sidebarMenu:{settings:`設定`},sidebarToggle:{hide:`隱藏側邊欄`,show:`顯示側邊欄`},environmentsList:{addEnvironment:`新增環境`},modal:{noDocumentSelected:`未選擇文件`},operation:{selectAnOperationToViewDetails:`選擇一個操作以檢視詳細資訊`},header:{operationSettings:`操作設定`,closeClient:`關閉用戶端`},openApiClientButton:{openAPIClient:`開啟 API 用戶端`},requestBody:{noBody:`無請求主體`,delete:`刪除`,selectFile:`選擇檔案`,multipartForm:`多部分表單`,formUrlEncoded:`URL 編碼表單`,binaryFile:`二進位檔案`,other:`其他`,none:`無`},requestBodyStructured:{body:`主體`},requestBodyViewToggle:{schema:`結構描述`,form:`表單`,raw:`原始內容`,fixBody:`修正請求主體以切換到表單檢視`},requestCodeSnippet:{unavailable:`此範例沒有可用的程式碼範例。`,codeSnippet:`程式碼片段`},requestTable:{enabled:`已啟用`,key:`鍵`,value:`值`},requestTableRow:{key:`鍵`,value:`值`,delete:`刪除`,selectFile:`選擇檔案`,globalCookieHint:`全域 Cookie 在整個工作區中共用。點擊前往檢視。`,readOnlyHint:`此屬性為唯讀。若要更改,請覆蓋該屬性或透過核取方塊停用它。`,include:`在請求中包含 {name}`,keyLabel:`{name} 的鍵`,valueLabel:`{name} 的值`,deleteRow:`刪除 {name}`,row:`列`},requestTableTooltip:{min:`最小值:`,max:`最大值:`,default:`預設值:`,invalid:`輸入無效`,moreInformation:`更多資訊`},headers:{headerKey:`標頭鍵`,headerValue:`標頭值`,noHeaders:`無標頭`},responseBody:{binaryFile:`二進位檔案`},responseBodyPreview:{previewUnavailable:`無法預覽`},responseBodyStreaming:{body:`主體`,listening:`正在監聽…`,cancel:`取消`},responseBodyToggle:{preview:`預覽`,raw:`原始內容`},responseBodyVirtual:{body:`主體`,largeBodyHint:`此回應主體過大,無法進行語法醒目提示。`},responseCookies:{cookies:`Cookie`,cookieName:`Cookie 名稱`,cookieValue:`Cookie 值`,noCookies:`無 Cookie`},responseEmpty:{roadmap:`路線圖`,poweredByScalarcom:`由 Scalar.com 提供支援`,getStarted:`開始使用`,newRequest:`新增請求`,sendRequest:`傳送請求`,version:`Scalar App V{version} 測試版`},responseLoadingOverlay:{cancel:`取消`},addressBar:{path:`路徑`,copyUrl:`複製 URL`,send:`傳送`,sendRequest:`向 {url} 傳送 {method} 請求`,duplicateRequest:`此文件中已存在發往 {path} 的 {method} 請求`,urlPlaceholder:`輸入 URL`,webhookUrlPlaceholder:`輸入完整的 Webhook URL,例如 https://example.com/hook`},addressBarHistory:{requestHistory:`請求歷史`},environmentSelector:{noEnvironment:`無環境`,notAvailableInThisContext:`在此情境中不可用`,environmentHint:`環境可幫助您管理不同情境中的變數,例如 API 金鑰和基底 URL。`,add:`新增環境`,select:`選擇環境`,unavailable:`{name}(不可用)`,current:`目前環境:{name}`},deleteRequestAuthModal:{deleteSecurityScheme:`刪除安全方案`,cancel:`取消`,delete:`刪除`,confirmation:`此操作無法復原。您即將從集合中刪除安全方案 {name}。`},oauth2:{deviceAuthorizationUrl:`裝置授權 URL`,deviceVerificationPrompt:`開啟驗證頁面並輸入此驗證碼:`,waitingForAuthorization:`正在等待授權…`,cancelDeviceAuthorization:`取消`,accessToken:`存取權杖`,refreshUrl:`更新 URL`,refresh:`更新`,authUrl:`身分驗證 URL`,tokenUrl:`權杖 URL`,redirectUrl:`重新導向 URL`,username:`使用者名稱`,password:`密碼`,clientID:`用戶端 ID`,clientSecret:`用戶端金鑰`,usePKCE:`使用 PKCE`,credentialsLocation:`認證資訊位置`,authorize:`授權`,clear:`清除`,failedToauthorize:`授權失敗`,failedToRefreshToken:`更新權杖失敗`,optionalRedirectUrl:`選填的重新導向 URL`,clearTokens:`清除權杖`,resetDiscovery:`重設探索`},oauthScopesAddModal:{name:`名稱:`,description:`描述:`,readUserData:`讀取使用者資料`,edit:`編輯權限範圍`,add:`新增權限範圍`,save:`儲存`,required:`權限範圍名稱為必填項。`,duplicate:`名為「{name}」的權限範圍已存在。`},oauthScopesInput:{noScopesDefined:`尚未定義權限範圍`,addScope:`新增權限範圍`,deselectAll:`取消全選`,selectAll:`全選`,selectedScopes:`已選權限範圍:{count} / {total}`,editScope:`編輯 {name}`,deleteScope:`刪除 {name}`,selectScope:`選擇權限範圍 {name}`},openIdConnect:{discoveryUrl:`探索 URL`,fetchConfiguration:`取得設定`,failedToFetchConfiguration:`取得 OpenID Connect 設定失敗`},requestAuthDataTable:{noauthenticationSelected:`未選擇身分驗證`},requestAuthTab:{token:`權杖`,bearerToken:`Bearer 權杖`,getAToken:`取得權杖`,refresh:`更新`,username:`使用者名稱`,password:`密碼`,name:`名稱`,value:`值`,cancel:`取消`,authorize:`授權`,unsupportedCredentials:`瀏覽器用戶端不會傳送此 AsyncAPI 安全方案的認證資訊。`,authorizeVia:`透過 {name} 授權`,unsupportedType:`暫不支援 {type} 類型的安全方案。`,missingType:`安全方案缺少類型,請檢查您的 {type} 文件或身分驗證設定。`,failedToauthorize:`授權失敗`,failedToRefresh:`更新失敗`,configure:`設定 {name}`,mutualTlsHint:`雙向 TLS 透過在 TLS 握手期間提供用戶端憑證來進行身分驗證,因此無需在此輸入任何內容。`},commandActionForm:{continue:`繼續`},environment:{thisIsTheActiveEnvironment:`這是目前啟用的環境`,active:`已啟用`,editEnvironment:`編輯環境`,deleteEnvironment:`刪除環境`},environmentCreateModal:{environmentName:`環境名稱`,thisEnvironmentNameIsAlreadyInUse:`此環境名稱已被使用。`,update:`更新環境`,add:`新增環境`},environmentDeleteModal:{cancel:`取消`,deleteEnvironment:`刪除環境`,deleteConfirmation:`確定要刪除此環境嗎?此操作無法復原。`,title:`刪除 {name}`},environmentVariablesDropdown:{variableSuggestions:`變數建議`,addVariable:`新增變數`},environmentVariablesTable:{name:`名稱`,value:`值`,actions:`操作`,environmentVariableName:`環境變數名稱`,environmentVariableValue:`環境變數值`},documentSearchModal:{documentSearch:`文件搜尋`,documentSearchResults:`文件搜尋結果`,navigate:`↑↓ 導覽`,select:`⏎ 選擇`,keyboardInstructions:`按上箭頭或下箭頭導覽,按 Enter 選擇,輸入文字篩選結果`},searchResult:{httpMethod:`HTTP 方法:`,path:`路徑:`,description:`描述:`,heading:`標題`,operation:`操作`,tag:`標籤`},sectionFilter:{all:`全部`,auth:`身分驗證`,variables:`變數`,cookies:`Cookie`,headers:`標頭`,query:`查詢`,body:`主體`},requestParams:{addParameter:`新增參數`,searchParameters:`搜尋參數`,noParametersFound:`沒有符合的參數`,clearAll:`清除所有{title}`,clear:`清除`,clearOptionalParameters:`清除選填參數`},responseBodyDownload:{download:`下載回應主體`,label:`下載`,body:`回應主體`},responseMetaInformation:{duration:`回應資訊,耗時:`,size:`,大小:`,status:`,狀態:`},authSelector:{selectedType:`已選身分驗證類型:{type}`,multipleTypes:`已選擇多個身分驗證類型`,selectType:`選擇身分驗證類型`,optional:`選用`,required:`必填`,deleteScheme:`刪除 {name}`,requiredGroup:`必要的身分驗證`,availableGroup:`可用的身分驗證`,addGroup:`新增身分驗證`},operationBlock:{webhookUrlRequired:`Webhook URL 為必填項。請先輸入目標位址。`,pathParametersRequired:`路徑參數必須有值。`,forbiddenMethod:`Fetch API 無法傳送 {method} 請求。`},dataTableCheckbox:{toggle:`切換`},pillTooltipHost:{computedAtExecution:`在執行請求時計算`,noValue:`無值`},authOptions:{oauth2DeviceAuthorization:`OAuth2 裝置授權`,apiKeyCookie:`Cookie 中的 API 金鑰`,apiKeyHeader:`請求標頭中的 API 金鑰`,apiKeyQuery:`查詢參數中的 API 金鑰`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`OAuth2 隱式流程`,oauth2Password:`OAuth2 密碼流程`,oauth2ClientCredentials:`OAuth2 用戶端認證資訊`,oauth2AuthorizationFlow:`OAuth2 授權碼`},deleteSidebarListElement:{delete:`刪除 {name}`},deleteModal:{delete:`刪除 {name}`}}})),Fce,Ice=s((()=>{Fce={serverVariablesSelect:{selected:`Selected:`},serverVariablesTextbox:{value:`value`},sidebarListElementForm:{cancel:`Cancel`},requestBlock:{authentication:`Authentication`,variables:`Variables`,cookies:`Cookies`,headers:`Headers`,queryParameters:`Query Parameters`,queryString:`Query String`,queryStringDescription:`This parameter supplies the entire query string, so additional named parameters cannot be added. Existing named parameters are sent after it; duplicate keys are preserved.`,requestBody:`Request Body`,requestName:`Request Name`,label:`Request: {name}`},responseBlock:{requestFailed:`Request failed`,networkErrorHelp:`Possible causes include CORS restrictions or a network connection problem. Check the browser console for details. If CORS is blocking the request, configure the API server to allow this origin or use a trusted proxy.`,response:`Response`,requestHeaders:`Request Headers`,responseHeaders:`Response Headers`,body:`Body`},codeInput:{required:`Required`,exitHint:`Press {escape} then {tab} to exit`},codeInputLite:{required:`Required`},dataTableInput:{clearValue:`Clear Value`,resetValue:`Reset to default`,showPassword:`Show Password`,hidePassword:`Hide Password`},dataTableInputSelect:{value:`Value`,addValue:`Add value`},confirmationForm:{cancel:`Cancel`,save:`Save`},collapsibleSection:{collapsed:`(Collapsed)`,item:`Item`,items:`Items`},modalClientContainer:{label:`API Client`},serverDropdown:{server:`Server:`,addServer:`Add Server`,updateServers:`Update Servers`,unknownServer:`Unknown server`},sidebar:{search:`Search`},sidebarMenu:{settings:`Settings`},sidebarToggle:{hide:`Hide sidebar`,show:`Show sidebar`},environmentsList:{addEnvironment:`Add Environment`},modal:{noDocumentSelected:`No document selected`},operation:{selectAnOperationToViewDetails:`Select an operation to view details`},header:{operationSettings:`Operation settings`,closeClient:`Close Client`},openApiClientButton:{openAPIClient:`Open API Client`},requestBody:{noBody:`No Body`,delete:`Delete`,selectFile:`Select File`,multipartForm:`Multipart Form`,formUrlEncoded:`Form URL Encoded`,binaryFile:`Binary File`,other:`Other`,none:`None`},requestBodyStructured:{body:`Body`},requestBodyViewToggle:{schema:`Schema`,form:`Form`,raw:`Raw`,fixBody:`Fix the body to switch to the form view`},requestCodeSnippet:{unavailable:`No code sample available for this example.`,codeSnippet:`Code Snippet`},requestTable:{enabled:`Enabled`,key:`Key`,value:`Value`},requestTableRow:{key:`Key`,value:`Value`,delete:`Delete`,selectFile:`Select File`,globalCookieHint:`Global cookies are shared across the whole workspace. Click to navigate.`,readOnlyHint:`This is a readonly property and you can not modify it! If you want to change it you have to override it or disable it using the checkbox`,include:`Include {name} in request`,keyLabel:`{name} Key`,valueLabel:`{name} Value`,deleteRow:`Delete {name}`,row:`row`},requestTableTooltip:{min:`min:`,max:`max:`,default:`default:`,invalid:`Input is invalid`,moreInformation:`More Information`},headers:{headerKey:`Header Key`,headerValue:`Header Value`,noHeaders:`No headers`},responseBody:{binaryFile:`Binary file`},responseBodyPreview:{previewUnavailable:`Preview unavailable`},responseBodyStreaming:{body:`Body`,listening:`Listening…`,cancel:`Cancel`},responseBodyToggle:{preview:`Preview`,raw:`Raw`},responseBodyVirtual:{body:`Body`,largeBodyHint:`This response body is massive! Syntax highlighting won't work here.`},responseCookies:{cookies:`Cookies`,cookieName:`Cookie Name`,cookieValue:`Cookie Value`,noCookies:`No cookies`},responseEmpty:{roadmap:`Roadmap`,poweredByScalarcom:`Powered By Scalar.com`,getStarted:`Get Started`,newRequest:`New Request`,sendRequest:`Send Request`,version:`Scalar App V{version} Beta`},responseLoadingOverlay:{cancel:`Cancel`},addressBar:{path:`Path`,copyUrl:`Copy URL`,send:`Send`,sendRequest:`Send {method} request to {url}`,duplicateRequest:`A {method} request to {path} already exists in this document`,urlPlaceholder:`Enter a URL`,webhookUrlPlaceholder:`Enter the full webhook URL, e.g. https://example.com/hook`},addressBarHistory:{requestHistory:`Request History`},environmentSelector:{noEnvironment:`No Environment`,notAvailableInThisContext:`Not available in this context`,environmentHint:`Environments let you manage variables like API keys and base URLs across different contexts.`,add:`Add Environment`,select:`Select Environment`,unavailable:`{name} (Unavailable)`,current:`Current environment: {name}`},deleteRequestAuthModal:{deleteSecurityScheme:`Delete Security Scheme`,cancel:`Cancel`,delete:`Delete`,confirmation:`This cannot be undone. You're about to delete the {name} security scheme from the collection.`},oauth2:{deviceAuthorizationUrl:`Device Authorization URL`,deviceVerificationPrompt:`Open the verification page and enter this code:`,waitingForAuthorization:`Waiting for authorization…`,cancelDeviceAuthorization:`Cancel`,accessToken:`Access Token`,refreshUrl:`Refresh URL`,refresh:`Refresh`,authUrl:`Auth URL`,tokenUrl:`Token URL`,redirectUrl:`Redirect URL`,username:`Username`,password:`Password`,clientID:`Client ID`,clientSecret:`Client Secret`,usePKCE:`Use PKCE`,credentialsLocation:`Credentials Location`,authorize:`Authorize`,clear:`Clear`,failedToauthorize:`Failed to authorize`,failedToRefreshToken:`Failed to refresh token`,optionalRedirectUrl:`Optional redirect URL`,clearTokens:`Clear tokens`,resetDiscovery:`Reset discovery`},oauthScopesAddModal:{name:`Name:`,description:`Description:`,readUserData:`Read user data`,edit:`Edit Scope`,add:`Add Scope`,save:`Save`,required:`Scope name is required.`,duplicate:`A scope named "{name}" already exists.`},oauthScopesInput:{noScopesDefined:`No Scopes Defined`,addScope:`Add Scope`,deselectAll:`Deselect All`,selectAll:`Select All`,selectedScopes:`Scopes Selected {count} / {total}`,editScope:`Edit {name}`,deleteScope:`Delete {name}`,selectScope:`Select {name} scope`},openIdConnect:{discoveryUrl:`Discovery URL`,fetchConfiguration:`Fetch Configuration`,failedToFetchConfiguration:`Failed to fetch OpenID Connect configuration`},requestAuthDataTable:{noauthenticationSelected:`No authentication selected`},requestAuthTab:{token:`Token`,bearerToken:`Bearer Token`,getAToken:`Get a token`,refresh:`Refresh`,username:`Username`,password:`Password`,name:`Name`,value:`Value`,cancel:`Cancel`,authorize:`Authorize`,unsupportedCredentials:`Credentials for this AsyncAPI security scheme are not sent by the browser client.`,authorizeVia:`Authorize via {name}`,unsupportedType:`The {type} security scheme type is not supported yet.`,missingType:`The security scheme is missing a type, please double check your {type} document or Authentication Configuration`,failedToauthorize:`Failed to authorize`,failedToRefresh:`Failed to refresh`,configure:`Configure {name}`,mutualTlsHint:`Mutual TLS authenticates with a client certificate presented during the TLS handshake, so there is nothing to enter here.`},commandActionForm:{continue:`Continue`},environment:{thisIsTheActiveEnvironment:`This is the active environment`,active:`Active`,editEnvironment:`Edit Environment`,deleteEnvironment:`Delete Environment`},environmentCreateModal:{environmentName:`Environment name`,thisEnvironmentNameIsAlreadyInUse:`This environment name is already in use.`,update:`Update Environment`,add:`Add Environment`},environmentDeleteModal:{cancel:`Cancel`,deleteEnvironment:`Delete Environment`,deleteConfirmation:`Are you sure you want to delete this environment? This action cannot be undone.`,title:`Delete {name}`},environmentVariablesDropdown:{variableSuggestions:`Variable suggestions`,addVariable:`Add Variable`},environmentVariablesTable:{name:`Name`,value:`Value`,actions:`Actions`,environmentVariableName:`Environment Variable Name`,environmentVariableValue:`Environment Variable Value`},documentSearchModal:{documentSearch:`Document Search`,documentSearchResults:`Document Search Results`,navigate:`↑↓ Navigate`,select:`⏎ Select`,keyboardInstructions:`Press up arrow / down arrow to navigate, enter to select, type to filter results`},searchResult:{httpMethod:`HTTP Method:`,path:`Path:`,description:`Description:`,heading:`Heading`,operation:`Operation`,tag:`Tag`},sectionFilter:{all:`All`,auth:`Auth`,variables:`Variables`,cookies:`Cookies`,headers:`Headers`,query:`Query`,body:`Body`},requestParams:{addParameter:`Add parameter`,searchParameters:`Search parameters`,noParametersFound:`No matching parameters`,clearAll:`Clear All {title}`,clear:`Clear`,clearOptionalParameters:`Clear optional parameters`},responseBodyDownload:{download:`Download Response Body`,label:`Download`,body:`Response Body`},responseMetaInformation:{duration:`Response Information, Duration:`,size:`, Size:`,status:`, Status:`},authSelector:{selectedType:`Selected Auth Type: {type}`,multipleTypes:`Multiple Auth Types Selected`,selectType:`Select Auth Type`,optional:`Optional`,required:`Required`,deleteScheme:`Delete {name}`,requiredGroup:`Required authentication`,availableGroup:`Available authentication`,addGroup:`Add new authentication`},operationBlock:{webhookUrlRequired:`Webhook URL required. Enter a destination first.`,pathParametersRequired:`Path parameters must have values.`,forbiddenMethod:`The Fetch API cannot send {method} requests.`},dataTableCheckbox:{toggle:`Toggle`},pillTooltipHost:{computedAtExecution:`Computed at request execution`,noValue:`No value`},authOptions:{oauth2DeviceAuthorization:`OAuth2 Device Authorization`,apiKeyCookie:`API Key in Cookies`,apiKeyHeader:`API Key in Headers`,apiKeyQuery:`API Key in Query Params`,httpBasic:`HTTP Basic`,httpBearer:`HTTP Bearer`,oauth2Implicit:`Oauth2 Implicit Flow`,oauth2Password:`Oauth2 Password Flow`,oauth2ClientCredentials:`Oauth2 Client Credentials`,oauth2AuthorizationFlow:`Oauth2 Authorization Code`},deleteSidebarListElement:{delete:`Delete {name}`},deleteModal:{delete:`Delete {name}`}}}));function Os(e,t){return t.reduce((e,t)=>{if(e!=null)return e[t]},e)}var ks=s((()=>{})),V,As,js=s((()=>{V=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},As=e=>typeof e==`object`&&!!e})),Ms,Lce=s((()=>{js(),Ms=(e,t)=>{if(!t||!V(t))return{...e};let n={...e};for(let[e,r]of Object.entries(t)){if(r===void 0)continue;let t=n[e];n[e]=V(t)&&V(r)?Ms(t,r):r}return n}})),Rce,Ns,zce=s((()=>{ks(),Lce(),B(),Rce=Symbol(`scalar-localization`),Ns=e=>{let{localeTranslations:t,defaultLocale:n,rtlLocales:r,logPrefix:i=`[@scalar/localization]`}=e,a=e=>{if(!e)return n;if(e in t)return e;let r=e.replace(`_`,`-`).toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===r);if(i)return i;if(r.startsWith(`zh`)&&`zh-CN`in t)return`zh-CN`;let a=r.split(`-`)[0];return Object.keys(t).find(e=>e.toLowerCase()===a)??n},o=e=>{if(e?.direction&&e.direction!==`auto`)return e.direction;let t=(e?.locale??n).replace(`_`,`-`).split(`-`)[0]?.toLowerCase();return t&&r.has(t)?`rtl`:`ltr`},s=e=>{let r=e?.locale??n,i=a(r),s=t[n]??{},c=Ms(Ms(s,t[i]),e?.translations);return{locale:r,direction:o(e),translations:c}},c=(e,t,n)=>{let r=Os(e,t.split(`.`)),i=typeof r==`string`?r:t;return n?Object.entries(n).reduce((e,[t,n])=>e.replaceAll(`{${t}}`,()=>String(n)),i):i},l=e=>{let t=z(()=>s(wn(e)));return{locale:z(()=>t.value.locale),direction:z(()=>t.value.direction),translations:z(()=>t.value.translations),translate:(e,n)=>c(t.value.translations,e,n)}},u=new WeakSet,d=e=>{let t=l(e);return u.add(t),cr(Rce,t),t},f=l(void 0),p=new WeakMap;return{resolveLocalization:s,provideLocalization:d,useLocalization:()=>{let e=lr(Rce,f);if(e===f||u.has(e))return e;let t=p.get(e);if(t)return t;let n=qee(!0).run(()=>l(()=>({locale:e.locale.value,direction:e.direction.value,translations:e.translations.value})));return p.set(e,n),n}}}})),Bce=s((()=>{zce()})),Vce,Ps,Hce,Fs=s((()=>{bce(),Sce(),wce(),Ece(),Oce(),Ace(),Mce(),Pce(),Ice(),Bce(),{provideLocalization:Vce,useLocalization:Ps,resolveLocalization:Hce}=Ns({localeTranslations:{en:{apiClient:Fce},ru:{apiClient:kce},es:{apiClient:Cce},fr:{apiClient:Tce},de:{apiClient:xce},"zh-CN":{apiClient:jce},"zh-TW":{apiClient:Nce},ar:{apiClient:yce},pt:{apiClient:Dce}},defaultLocale:`en`,rtlLocales:new Set([`ar`,`fa`,`he`,`ur`]),logPrefix:`[@scalar/api-client]`})}));function Is(e={}){let t=z(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:`presentation`});return{bind:z(()=>({width:`1em`,height:`1em`,...t.value})),weight:z(()=>e.weight??Uce)}}var Uce,Ls=s((()=>{B(),Uce=`regular`})),Wce,Gce,Kce,qce,Jce,Yce,Xce,Zce=s((()=>{Ls(),B(),Wce={key:0},Gce={key:1},Kce={key:2},qce={key:3},Jce={key:4},Yce={key:5},Xce=k({name:`ScalarIconArrowCounterClockwise`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Wce,[...r[0]||=[P(`path`,{d:`M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Gce,[...r[1]||=[P(`path`,{d:`M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Kce,[...r[2]||=[P(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,qce,[...r[3]||=[P(`path`,{d:`M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Jce,[...r[4]||=[P(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Yce,[...r[5]||=[P(`path`,{d:`M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z`},null,-1)]])):I(``,!0)],16))}})})),Qce,$ce=s((()=>{Zce(),Qce=Xce})),ele,tle,nle,rle,ile,ale,ole,sle=s((()=>{Ls(),B(),ele={key:0},tle={key:1},nle={key:2},rle={key:3},ile={key:4},ale={key:5},ole=k({name:`ScalarIconArrowDownLeft`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ele,[...r[0]||=[P(`path`,{d:`M200.49,72.48,93,180h75a12,12,0,0,1,0,24H64a12,12,0,0,1-12-12V88a12,12,0,0,1,24,0v75L183.51,55.51a12,12,0,0,1,17,17Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,tle,[...r[1]||=[P(`path`,{d:`M168,192H64V88Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M197.66,58.34a8,8,0,0,0-11.32,0L116,128.69,69.66,82.34A8,8,0,0,0,56,88V192a8,8,0,0,0,8,8H168a8,8,0,0,0,5.66-13.66L127.31,140l70.35-70.34A8,8,0,0,0,197.66,58.34ZM72,184V107.31l38.34,38.34h0L148.69,184Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,nle,[...r[2]||=[P(`path`,{d:`M197.66,69.66,127.31,140l46.35,46.34A8,8,0,0,1,168,200H64a8,8,0,0,1-8-8V88a8,8,0,0,1,13.66-5.66L116,128.69l70.34-70.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,rle,[...r[3]||=[P(`path`,{d:`M196.24,68.24,78.48,186H168a6,6,0,0,1,0,12H64a6,6,0,0,1-6-6V88a6,6,0,0,1,12,0v89.52L187.76,59.76a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,ile,[...r[4]||=[P(`path`,{d:`M197.66,69.66,83.31,184H168a8,8,0,0,1,0,16H64a8,8,0,0,1-8-8V88a8,8,0,0,1,16,0v84.69L186.34,58.34a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,ale,[...r[5]||=[P(`path`,{d:`M194.83,66.83,73.66,188H168a4,4,0,0,1,0,8H64a4,4,0,0,1-4-4V88a4,4,0,0,1,8,0v94.34L189.17,61.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):I(``,!0)],16))}})})),cle,lle=s((()=>{sle(),cle=ole})),ule,dle,fle,ple,mle,hle,gle,_le=s((()=>{Ls(),B(),ule={key:0},dle={key:1},fle={key:2},ple={key:3},mle={key:4},hle={key:5},gle=k({name:`ScalarIconArrowElbowDownLeft`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ule,[...r[0]||=[P(`path`,{d:`M204,32V176a12,12,0,0,1-12,12H77l27.52,27.51a12,12,0,0,1-17,17l-48-48a12,12,0,0,1,0-17l48-48a12,12,0,1,1,17,17L77,164H180V32a12,12,0,0,1,24,0Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,dle,[...r[1]||=[P(`path`,{d:`M96,128v96L48,176Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M192,24a8,8,0,0,0-8,8V168H104V128a8,8,0,0,0-13.66-5.66l-48,48a8,8,0,0,0,0,11.32l48,48A8,8,0,0,0,104,224V184h88a8,8,0,0,0,8-8V32A8,8,0,0,0,192,24ZM88,204.69,59.31,176,88,147.31Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,fle,[...r[2]||=[P(`path`,{d:`M200,32V176a8,8,0,0,1-8,8H104v40a8,8,0,0,1-13.66,5.66l-48-48a8,8,0,0,1,0-11.32l48-48A8,8,0,0,1,104,128v40h80V32a8,8,0,0,1,16,0Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,ple,[...r[3]||=[P(`path`,{d:`M198,32V176a6,6,0,0,1-6,6H62.49l37.75,37.76a6,6,0,1,1-8.48,8.48l-48-48a6,6,0,0,1,0-8.48l48-48a6,6,0,1,1,8.48,8.48L62.49,170H186V32a6,6,0,0,1,12,0Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,mle,[...r[4]||=[P(`path`,{d:`M200,32V176a8,8,0,0,1-8,8H67.31l34.35,34.34a8,8,0,0,1-11.32,11.32l-48-48a8,8,0,0,1,0-11.32l48-48a8,8,0,0,1,11.32,11.32L67.31,168H184V32a8,8,0,0,1,16,0Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,hle,[...r[5]||=[P(`path`,{d:`M196,32V176a4,4,0,0,1-4,4H57.66l41.17,41.17a4,4,0,0,1-5.66,5.66l-48-48a4,4,0,0,1,0-5.66l48-48a4,4,0,1,1,5.66,5.66L57.66,172H188V32a4,4,0,0,1,8,0Z`},null,-1)]])):I(``,!0)],16))}})})),vle,yle=s((()=>{_le(),vle=gle})),ble,xle,Sle,Cle,wle,Tle,Ele,Dle=s((()=>{Ls(),B(),ble={key:0},xle={key:1},Sle={key:2},Cle={key:3},wle={key:4},Tle={key:5},Ele=k({name:`ScalarIconArrowLeft`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ble,[...r[0]||=[P(`path`,{d:`M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,xle,[...r[1]||=[P(`path`,{d:`M112,56V200L40,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Sle,[...r[2]||=[P(`path`,{d:`M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Cle,[...r[3]||=[P(`path`,{d:`M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,wle,[...r[4]||=[P(`path`,{d:`M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Tle,[...r[5]||=[P(`path`,{d:`M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z`},null,-1)]])):I(``,!0)],16))}})})),Ole,kle=s((()=>{Dle(),Ole=Ele})),Ale,jle,Mle,Nle,Ple,Fle,Ile,Lle=s((()=>{Ls(),B(),Ale={key:0},jle={key:1},Mle={key:2},Nle={key:3},Ple={key:4},Fle={key:5},Ile=k({name:`ScalarIconArrowRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Ale,[...r[0]||=[P(`path`,{d:`M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,jle,[...r[1]||=[P(`path`,{d:`M216,128l-72,72V56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Mle,[...r[2]||=[P(`path`,{d:`M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Nle,[...r[3]||=[P(`path`,{d:`M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Ple,[...r[4]||=[P(`path`,{d:`M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Fle,[...r[5]||=[P(`path`,{d:`M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z`},null,-1)]])):I(``,!0)],16))}})})),Rle,zle=s((()=>{Lle(),Rle=Ile})),Ble,Vle,Hle,Ule,Wle,Gle,Kle,qle=s((()=>{Ls(),B(),Ble={key:0},Vle={key:1},Hle={key:2},Ule={key:3},Wle={key:4},Gle={key:5},Kle=k({name:`ScalarIconArrowUp`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Ble,[...r[0]||=[P(`path`,{d:`M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Vle,[...r[1]||=[P(`path`,{d:`M200,112H56l72-72Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Hle,[...r[2]||=[P(`path`,{d:`M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Ule,[...r[3]||=[P(`path`,{d:`M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Wle,[...r[4]||=[P(`path`,{d:`M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Gle,[...r[5]||=[P(`path`,{d:`M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z`},null,-1)]])):I(``,!0)],16))}})})),Jle,Yle=s((()=>{qle(),Jle=Kle})),Xle,Zle,Qle,$le,eue,tue,nue,rue=s((()=>{Ls(),B(),Xle={key:0},Zle={key:1},Qle={key:2},$le={key:3},eue={key:4},tue={key:5},nue=k({name:`ScalarIconArrowUpRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Xle,[...r[0]||=[P(`path`,{d:`M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Zle,[...r[1]||=[P(`path`,{d:`M192,64V168L88,64Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Qle,[...r[2]||=[P(`path`,{d:`M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,$le,[...r[3]||=[P(`path`,{d:`M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,eue,[...r[4]||=[P(`path`,{d:`M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,tue,[...r[5]||=[P(`path`,{d:`M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z`},null,-1)]])):I(``,!0)],16))}})})),Rs,iue=s((()=>{rue(),Rs=nue})),aue,oue,sue,cue,lue,uue,due,fue=s((()=>{Ls(),B(),aue={key:0},oue={key:1},sue={key:2},cue={key:3},lue={key:4},uue={key:5},due=k({name:`ScalarIconBook`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,aue,[...r[0]||=[P(`path`,{d:`M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,oue,[...r[1]||=[P(`path`,{d:`M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,sue,[...r[2]||=[P(`path`,{d:`M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,cue,[...r[3]||=[P(`path`,{d:`M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,lue,[...r[4]||=[P(`path`,{d:`M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,uue,[...r[5]||=[P(`path`,{d:`M208,28H72A28,28,0,0,0,44,56V224a4,4,0,0,0,4,4H192a4,4,0,0,0,0-8H52v-4a20,20,0,0,1,20-20H208a4,4,0,0,0,4-4V32A4,4,0,0,0,208,28Zm-4,160H72a27.94,27.94,0,0,0-20,8.42V56A20,20,0,0,1,72,36H204Z`},null,-1)]])):I(``,!0)],16))}})})),pue,mue=s((()=>{fue(),pue=due})),hue,gue,_ue,vue,yue,bue,xue,Sue=s((()=>{Ls(),B(),hue={key:0},gue={key:1},_ue={key:2},vue={key:3},yue={key:4},bue={key:5},xue=k({name:`ScalarIconBookOpen`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,hue,[...r[0]||=[P(`path`,{d:`M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,gue,[...r[1]||=[P(`path`,{d:`M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,_ue,[...r[2]||=[P(`path`,{d:`M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,vue,[...r[3]||=[P(`path`,{d:`M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,yue,[...r[4]||=[P(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,bue,[...r[5]||=[P(`path`,{d:`M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z`},null,-1)]])):I(``,!0)],16))}})})),Cue,wue=s((()=>{Sue(),Cue=xue})),Tue,Eue,Due,Oue,kue,Aue,jue,Mue=s((()=>{Ls(),B(),Tue={key:0},Eue={key:1},Due={key:2},Oue={key:3},kue={key:4},Aue={key:5},jue=k({name:`ScalarIconBookOpenText`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Tue,[...r[0]||=[P(`path`,{d:`M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Eue,[...r[1]||=[P(`path`,{d:`M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Due,[...r[2]||=[P(`path`,{d:`M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Oue,[...r[3]||=[P(`path`,{d:`M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,kue,[...r[4]||=[P(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Aue,[...r[5]||=[P(`path`,{d:`M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z`},null,-1)]])):I(``,!0)],16))}})})),Nue,Pue=s((()=>{Mue(),Nue=jue})),Fue,Iue,Lue,Rue,zue,Bue,Vue,Hue=s((()=>{Ls(),B(),Fue={key:0},Iue={key:1},Lue={key:2},Rue={key:3},zue={key:4},Bue={key:5},Vue=k({name:`ScalarIconBracketsCurly`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Fue,[...r[0]||=[P(`path`,{d:`M54.8,119.49A35.06,35.06,0,0,1,49.05,128a35.06,35.06,0,0,1,5.75,8.51C60,147.24,60,159.83,60,172c0,25.94,1.84,32,20,32a12,12,0,0,1,0,24c-19.14,0-32.2-6.9-38.8-20.51C36,196.76,36,184.17,36,172c0-25.94-1.84-32-20-32a12,12,0,0,1,0-24c18.16,0,20-6.06,20-32,0-12.17,0-24.76,5.2-35.49C47.8,34.9,60.86,28,80,28a12,12,0,0,1,0,24c-18.16,0-20,6.06-20,32C60,96.17,60,108.76,54.8,119.49ZM240,116c-18.16,0-20-6.06-20-32,0-12.17,0-24.76-5.2-35.49C208.2,34.9,195.14,28,176,28a12,12,0,0,0,0,24c18.16,0,20,6.06,20,32,0,12.17,0,24.76,5.2,35.49A35.06,35.06,0,0,0,207,128a35.06,35.06,0,0,0-5.75,8.51C196,147.24,196,159.83,196,172c0,25.94-1.84,32-20,32a12,12,0,0,0,0,24c19.14,0,32.2-6.9,38.8-20.51C220,196.76,220,184.17,220,172c0-25.94,1.84-32,20-32a12,12,0,0,0,0-24Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Iue,[...r[1]||=[P(`path`,{d:`M240,128c-64,0,0,88-64,88H80c-64,0,0-88-64-88,64,0,0-88,64-88h96C240,40,176,128,240,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Lue,[...r[2]||=[P(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM88,155.84c.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16c-31.27,0-31.72-22.43-32-35.84C71.71,141.9,71.59,136,56,136a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16C72.28,86.43,72.73,64,104,64a8,8,0,0,1,0,16c-15.59,0-15.71,5.9-16,20.16-.17,8.31-.41,20.09-8,27.84C87.59,135.75,87.83,147.53,88,155.84ZM200,136c-15.59,0-15.71,5.9-16,20.16-.28,13.41-.73,35.84-32,35.84a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16.17-8.31.41-20.09,8-27.84-7.6-7.75-7.84-19.53-8-27.84C167.71,85.9,167.59,80,152,80a8,8,0,0,1,0-16c31.27,0,31.72,22.43,32,35.84.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Rue,[...r[3]||=[P(`path`,{d:`M39.91,128a27.68,27.68,0,0,1,9.49,11.13C54,148.62,54,160.51,54,172c0,24.27,1.21,38,26,38a6,6,0,0,1,0,12c-16.88,0-27.81-5.6-33.4-17.13C42,195.38,42,183.49,42,172c0-24.27-1.21-38-26-38a6,6,0,0,1,0-12c24.79,0,26-13.73,26-38,0-11.49,0-23.38,4.6-32.87C52.19,39.6,63.12,34,80,34a6,6,0,0,1,0,12C55.21,46,54,59.73,54,84c0,11.49,0,23.38-4.6,32.87A27.68,27.68,0,0,1,39.91,128ZM240,122c-24.79,0-26-13.73-26-38,0-11.49,0-23.38-4.6-32.87C203.81,39.6,192.88,34,176,34a6,6,0,0,0,0,12c24.79,0,26,13.73,26,38,0,11.49,0,23.38,4.6,32.87A27.68,27.68,0,0,0,216.09,128a27.68,27.68,0,0,0-9.49,11.13C202,148.62,202,160.51,202,172c0,24.27-1.21,38-26,38a6,6,0,0,0,0,12c16.88,0,27.81-5.6,33.4-17.13,4.6-9.49,4.6-21.38,4.6-32.87,0-24.27,1.21-38,26-38a6,6,0,0,0,0-12Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,zue,[...r[4]||=[P(`path`,{d:`M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Bue,[...r[5]||=[P(`path`,{d:`M35.89,128C52,136.23,52,155.64,52,172c0,24.8,1.35,40,28,40a4,4,0,0,1,0,8c-36,0-36-26.61-36-48,0-24.8-1.35-40-28-40a4,4,0,0,1,0-8c26.65,0,28-15.2,28-40,0-21.39,0-48,36-48a4,4,0,0,1,0,8C53.35,44,52,59.2,52,84,52,100.36,52,119.77,35.89,128ZM240,124c-26.65,0-28-15.2-28-40,0-21.39,0-48-36-48a4,4,0,0,0,0,8c26.65,0,28,15.2,28,40,0,16.36,0,35.77,16.11,44C204,136.23,204,155.64,204,172c0,24.8-1.35,40-28,40a4,4,0,0,0,0,8c36,0,36-26.61,36-48,0-24.8,1.35-40,28-40a4,4,0,0,0,0-8Z`},null,-1)]])):I(``,!0)],16))}})})),Uue,Wue=s((()=>{Hue(),Uue=Vue})),Gue,Kue,que,Jue,Yue,Xue,Zue,Que=s((()=>{Ls(),B(),Gue={key:0},Kue={key:1},que={key:2},Jue={key:3},Yue={key:4},Xue={key:5},Zue=k({name:`ScalarIconBroadcast`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Gue,[...r[0]||=[P(`path`,{d:`M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Zm77.39,12.7A83.94,83.94,0,0,1,190.61,184a12,12,0,0,1-17.89-16,59.92,59.92,0,0,0,0-80,12,12,0,0,1,17.89-16,84.07,84.07,0,0,1,14.78,88.7ZM83.28,168a12,12,0,0,1-17.89,16,83.94,83.94,0,0,1,0-112A12,12,0,0,1,83.28,88a59.92,59.92,0,0,0,0,80ZM252,128a123.63,123.63,0,0,1-35.43,86.78A12,12,0,1,1,199.43,198a99.88,99.88,0,0,0,0-140,12,12,0,0,1,17.14-16.8A123.63,123.63,0,0,1,252,128ZM56.57,198a12,12,0,0,1-17.14,16.8,123.89,123.89,0,0,1,0-173.56A12,12,0,0,1,56.57,58a99.88,99.88,0,0,0,0,140Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Kue,[...r[1]||=[P(`path`,{d:`M160,128a32,32,0,1,1-32-32A32,32,0,0,1,160,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Zm73.71,7.14a80,80,0,0,1-14.08,22.2,8,8,0,0,1-11.92-10.67,63.95,63.95,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67,80.08,80.08,0,0,1,14.08,84.47ZM69,103.09a64,64,0,0,0,11.26,67.58,8,8,0,0,1-11.92,10.67,79.93,79.93,0,0,1,0-106.67A8,8,0,1,1,80.29,85.34,63.77,63.77,0,0,0,69,103.09ZM248,128a119.58,119.58,0,0,1-34.29,84,8,8,0,1,1-11.42-11.2,103.9,103.9,0,0,0,0-145.56A8,8,0,1,1,213.71,44,119.58,119.58,0,0,1,248,128ZM53.71,200.78A8,8,0,1,1,42.29,212a119.87,119.87,0,0,1,0-168,8,8,0,1,1,11.42,11.2,103.9,103.9,0,0,0,0,145.56Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,que,[...r[2]||=[P(`path`,{d:`M168,128a40,40,0,1,1-40-40A40,40,0,0,1,168,128Zm40,0a79.74,79.74,0,0,0-20.37-53.33,8,8,0,1,0-11.92,10.67,64,64,0,0,1,0,85.33,8,8,0,0,0,11.92,10.67A79.79,79.79,0,0,0,208,128ZM80.29,85.34A8,8,0,1,0,68.37,74.67a79.94,79.94,0,0,0,0,106.67,8,8,0,0,0,11.92-10.67,63.95,63.95,0,0,1,0-85.33Zm158.28-4A119.48,119.48,0,0,0,213.71,44a8,8,0,1,0-11.42,11.2,103.9,103.9,0,0,1,0,145.56A8,8,0,1,0,213.71,212,120.12,120.12,0,0,0,238.57,81.29ZM32.17,168.48A103.9,103.9,0,0,1,53.71,55.22,8,8,0,1,0,42.29,44a119.87,119.87,0,0,0,0,168,8,8,0,1,0,11.42-11.2A103.61,103.61,0,0,1,32.17,168.48Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Jue,[...r[3]||=[P(`path`,{d:`M128,90a38,38,0,1,0,38,38A38,38,0,0,0,128,90Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,128,154Zm78-26a77.74,77.74,0,0,1-19.86,52,6,6,0,0,1-8.94-8,65.93,65.93,0,0,0,0-88,6,6,0,1,1,8.94-8A77.74,77.74,0,0,1,206,128ZM67.18,102.31A65.93,65.93,0,0,0,78.8,172a6,6,0,0,1-.47,8.47,6,6,0,0,1-8.47-.47,77.93,77.93,0,0,1,0-104,6,6,0,1,1,8.94,8A66.21,66.21,0,0,0,67.18,102.31ZM246,128a117.71,117.71,0,0,1-33.71,82.58,6,6,0,0,1-8.58-8.4,105.88,105.88,0,0,0,0-148.36,6,6,0,0,1,8.58-8.4A117.71,117.71,0,0,1,246,128ZM52.29,202.18a6,6,0,0,1-8.58,8.4,117.92,117.92,0,0,1,0-165.16,6,6,0,1,1,8.58,8.4,105.88,105.88,0,0,0,0,148.36Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Yue,[...r[4]||=[P(`path`,{d:`M128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Zm73.71,7.14a80,80,0,0,1-14.08,22.2,8,8,0,0,1-11.92-10.67,63.95,63.95,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67,80.08,80.08,0,0,1,14.08,84.47ZM69,103.09a64,64,0,0,0,11.26,67.58,8,8,0,0,1-11.92,10.67,79.93,79.93,0,0,1,0-106.67A8,8,0,1,1,80.29,85.34,63.77,63.77,0,0,0,69,103.09ZM248,128a119.58,119.58,0,0,1-34.29,84,8,8,0,1,1-11.42-11.2,103.9,103.9,0,0,0,0-145.56A8,8,0,1,1,213.71,44,119.58,119.58,0,0,1,248,128ZM53.71,200.78A8,8,0,1,1,42.29,212a119.87,119.87,0,0,1,0-168,8,8,0,1,1,11.42,11.2,103.9,103.9,0,0,0,0,145.56Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Xue,[...r[5]||=[P(`path`,{d:`M128,92a36,36,0,1,0,36,36A36,36,0,0,0,128,92Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm76-28a75.74,75.74,0,0,1-19.35,50.67,4,4,0,0,1-6-5.34,67.92,67.92,0,0,0,0-90.66,4,4,0,0,1,6-5.34A75.74,75.74,0,0,1,204,128ZM65.34,101.53a67.92,67.92,0,0,0,12,71.8,4,4,0,0,1-6,5.34,75.93,75.93,0,0,1,0-101.34,4,4,0,1,1,6,5.34A68,68,0,0,0,65.34,101.53ZM244,128a115.68,115.68,0,0,1-33.14,81.18,4,4,0,0,1-5.72-5.6,107.89,107.89,0,0,0,0-151.16,4,4,0,0,1,5.72-5.6A115.68,115.68,0,0,1,244,128ZM50.86,203.58a4,4,0,0,1-5.72,5.6,115.91,115.91,0,0,1,0-162.36,4,4,0,1,1,5.72,5.6,107.89,107.89,0,0,0,0,151.16Z`},null,-1)]])):I(``,!0)],16))}})})),$ue,ede=s((()=>{Que(),$ue=Zue})),tde,nde,rde,ide,ade,ode,sde,cde=s((()=>{Ls(),B(),tde={key:0},nde={key:1},rde={key:2},ide={key:3},ade={key:4},ode={key:5},sde=k({name:`ScalarIconCaretDown`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,tde,[...r[0]||=[P(`path`,{d:`M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,nde,[...r[1]||=[P(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,rde,[...r[2]||=[P(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,ide,[...r[3]||=[P(`path`,{d:`M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,ade,[...r[4]||=[P(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,ode,[...r[5]||=[P(`path`,{d:`M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):I(``,!0)],16))}})})),zs,lde=s((()=>{cde(),zs=sde})),ude,dde,fde,pde,mde,hde,gde,_de=s((()=>{Ls(),B(),ude={key:0},dde={key:1},fde={key:2},pde={key:3},mde={key:4},hde={key:5},gde=k({name:`ScalarIconCaretRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ude,[...r[0]||=[P(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,dde,[...r[1]||=[P(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,fde,[...r[2]||=[P(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,pde,[...r[3]||=[P(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,mde,[...r[4]||=[P(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,hde,[...r[5]||=[P(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`},null,-1)]])):I(``,!0)],16))}})})),Bs,vde=s((()=>{_de(),Bs=gde})),yde,bde,xde,Sde,Cde,wde,Tde,Ede=s((()=>{Ls(),B(),yde={key:0},bde={key:1},xde={key:2},Sde={key:3},Cde={key:4},wde={key:5},Tde=k({name:`ScalarIconCaretUp`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,yde,[...r[0]||=[P(`path`,{d:`M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,bde,[...r[1]||=[P(`path`,{d:`M208,160H48l80-80Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,xde,[...r[2]||=[P(`path`,{d:`M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Sde,[...r[3]||=[P(`path`,{d:`M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Cde,[...r[4]||=[P(`path`,{d:`M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,wde,[...r[5]||=[P(`path`,{d:`M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z`},null,-1)]])):I(``,!0)],16))}})})),Dde,Ode=s((()=>{Ede(),Dde=Tde})),kde,Ade,jde,Mde,Nde,Pde,Fde,Ide=s((()=>{Ls(),B(),kde={key:0},Ade={key:1},jde={key:2},Mde={key:3},Nde={key:4},Pde={key:5},Fde=k({name:`ScalarIconCaretUpDown`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,kde,[...r[0]||=[P(`path`,{d:`M184.49,167.51a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-48-48a12,12,0,0,1,17-17L128,207l39.51-39.52A12,12,0,0,1,184.49,167.51Zm-96-79L128,49l39.51,39.52a12,12,0,0,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,0,0,17,17Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Ade,[...r[1]||=[P(`path`,{d:`M80,176h96l-48,48ZM128,32,80,80h96Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Zm-48,44.69L99.31,184h57.38ZM80,88h96a8,8,0,0,0,5.66-13.66l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,80,88Zm48-44.69L156.69,72H99.31Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,jde,[...r[2]||=[P(`path`,{d:`M72.61,83.06a8,8,0,0,1,1.73-8.72l48-48a8,8,0,0,1,11.32,0l48,48A8,8,0,0,1,176,88H80A8,8,0,0,1,72.61,83.06ZM176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Mde,[...r[3]||=[P(`path`,{d:`M180.24,171.76a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-48-48a6,6,0,0,1,8.48-8.48L128,215.51l43.76-43.75A6,6,0,0,1,180.24,171.76Zm-96-87.52L128,40.49l43.76,43.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Nde,[...r[4]||=[P(`path`,{d:`M181.66,170.34a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-48-48a8,8,0,0,1,11.32-11.32L128,212.69l42.34-42.35A8,8,0,0,1,181.66,170.34Zm-96-84.68L128,43.31l42.34,42.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,85.66Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Pde,[...r[5]||=[P(`path`,{d:`M178.83,173.17a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-48-48a4,4,0,0,1,5.66-5.66L128,218.34l45.17-45.17A4,4,0,0,1,178.83,173.17Zm-96-90.34L128,37.66l45.17,45.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66Z`},null,-1)]])):I(``,!0)],16))}})})),Lde,Rde=s((()=>{Ide(),Lde=Fde})),zde,Bde,Vde,Hde,Ude,Wde,Gde,Kde=s((()=>{Ls(),B(),zde={key:0},Bde={key:1},Vde={key:2},Hde={key:3},Ude={key:4},Wde={key:5},Gde=k({name:`ScalarIconCheck`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,zde,[...r[0]||=[P(`path`,{d:`M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Bde,[...r[1]||=[P(`path`,{d:`M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Vde,[...r[2]||=[P(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Hde,[...r[3]||=[P(`path`,{d:`M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Ude,[...r[4]||=[P(`path`,{d:`M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Wde,[...r[5]||=[P(`path`,{d:`M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):I(``,!0)],16))}})})),Vs,qde=s((()=>{Kde(),Vs=Gde})),Jde,Yde,Xde,Zde,Qde,$de,efe,tfe=s((()=>{Ls(),B(),Jde={key:0},Yde={key:1},Xde={key:2},Zde={key:3},Qde={key:4},$de={key:5},efe=k({name:`ScalarIconCloud`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Jde,[...r[0]||=[P(`path`,{d:`M160,36A92.09,92.09,0,0,0,79,84.36,68,68,0,1,0,72,220h88a92,92,0,0,0,0-184Zm0,160H72a44,44,0,0,1-1.82-88A91.86,91.86,0,0,0,68,128a12,12,0,0,0,24,0,68,68,0,1,1,68,68Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Yde,[...r[1]||=[P(`path`,{d:`M240,128a80,80,0,0,1-80,80H72A56,56,0,1,1,85.92,97.74l0,.1A80,80,0,0,1,240,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Xde,[...r[2]||=[P(`path`,{d:`M160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160a88.09,88.09,0,0,0,87.93-91.48C246.11,77.54,207.07,40,160.06,40Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Zde,[...r[3]||=[P(`path`,{d:`M160,42A86.11,86.11,0,0,0,82.43,90.88,62,62,0,1,0,72,214h88a86,86,0,0,0,0-172Zm0,160H72a50,50,0,0,1,0-100,50.67,50.67,0,0,1,5.91.35A85.61,85.61,0,0,0,74,128a6,6,0,0,0,12,0,74,74,0,1,1,74,74Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Qde,[...r[4]||=[P(`path`,{d:`M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,$de,[...r[5]||=[P(`path`,{d:`M160,44A84.11,84.11,0,0,0,83.59,93.12,60.71,60.71,0,0,0,72,92a60,60,0,0,0,0,120h88a84,84,0,0,0,0-168Zm0,160H72a52,52,0,1,1,8.55-103.3A83.66,83.66,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,76,76Z`},null,-1)]])):I(``,!0)],16))}})})),nfe,rfe=s((()=>{tfe(),nfe=efe})),ife,afe,ofe,sfe,cfe,lfe,ufe,dfe=s((()=>{Ls(),B(),ife={key:0},afe={key:1},ofe={key:2},sfe={key:3},cfe={key:4},lfe={key:5},ufe=k({name:`ScalarIconCopy`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ife,[...r[0]||=[P(`path`,{d:`M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,afe,[...r[1]||=[P(`path`,{d:`M216,40V168H168V88H88V40Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,ofe,[...r[2]||=[P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,sfe,[...r[3]||=[P(`path`,{d:`M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,cfe,[...r[4]||=[P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,lfe,[...r[5]||=[P(`path`,{d:`M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z`},null,-1)]])):I(``,!0)],16))}})})),Hs,ffe=s((()=>{dfe(),Hs=ufe})),pfe,mfe,hfe,gfe,_fe,vfe,yfe,bfe=s((()=>{Ls(),B(),pfe={key:0},mfe={key:1},hfe={key:2},gfe={key:3},_fe={key:4},vfe={key:5},yfe=k({name:`ScalarIconDiscordLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,pfe,[...r[0]||=[P(`path`,{d:`M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm76.07,76.56-67,29.71A20.15,20.15,0,0,1,146,214.9l-8.54-23.13c-3.13.14-6.27.24-9.45.24s-6.32-.1-9.45-.24L110,214.9a20.19,20.19,0,0,1-27.08,11.37l-67-29.71A19.93,19.93,0,0,1,4.62,173.41L34.15,57A20,20,0,0,1,50.37,42.19l36.06-5.93A20.26,20.26,0,0,1,109.22,51.1l4.41,17.41c4.74-.33,9.52-.51,14.37-.51s9.63.18,14.37.51l4.41-17.41a20.25,20.25,0,0,1,22.79-14.84l36.06,5.93A20,20,0,0,1,221.85,57l29.53,116.38A19.93,19.93,0,0,1,240.07,196.56ZM227.28,176,199.23,65.46l-30.07-4.94-2.84,11.17c2.9.58,5.78,1.2,8.61,1.92a12,12,0,1,1-5.86,23.27A168.43,168.43,0,0,0,128,92a168.43,168.43,0,0,0-41.07,4.88,12,12,0,0,1-5.86-23.27c2.83-.72,5.71-1.34,8.61-1.92L86.85,60.52,56.77,65.46,28.72,176l60.22,26.7,5-13.57c-4.37-.76-8.67-1.65-12.88-2.71a12,12,0,0,1,5.86-23.28A168.43,168.43,0,0,0,128,168a168.43,168.43,0,0,0,41.07-4.88,12,12,0,0,1,5.86,23.28c-4.21,1.06-8.51,1.95-12.88,2.71l5,13.57Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,mfe,[...r[1]||=[P(`path`,{d:`M235.21,185.59l-67,29.7a8.15,8.15,0,0,1-11-4.56L147,183.06a190.5,190.5,0,0,1-19,.94,190.5,190.5,0,0,1-19-.94L98.75,210.73a8.15,8.15,0,0,1-11,4.56l-67-29.7a8,8,0,0,1-4.55-9.24L45.77,60A8.08,8.08,0,0,1,52.31,54l36.06-5.92a8.1,8.1,0,0,1,9.21,6l5,19.63a192.32,192.32,0,0,1,50.88,0l5-19.63a8.1,8.1,0,0,1,9.21-6L203.69,54A8.08,8.08,0,0,1,210.23,60l29.53,116.37A8,8,0,0,1,235.21,185.59Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.94,15.94,0,0,1-9.06-18.51L38,58A16.08,16.08,0,0,1,51,46.13l36.06-5.92a16.21,16.21,0,0,1,18.26,11.88l3.26,12.83Q118.11,64,128,64t19.4.92l3.26-12.83a16.22,16.22,0,0,1,18.26-11.88L205,46.13A16.08,16.08,0,0,1,218,58l29.53,116.38A15.94,15.94,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56a.21.21,0,0,0-.12,0h0L53.61,61.92a.24.24,0,0,0-.09,0L24,178.33,91,208a.21.21,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,hfe,[...r[2]||=[P(`path`,{d:`M247.51,174.39,218,58a16.08,16.08,0,0,0-13-11.88l-36.06-5.92a16.22,16.22,0,0,0-18.26,11.88l-.21.85a4,4,0,0,0,3.27,4.93,155.62,155.62,0,0,1,24.41,5.62,8.2,8.2,0,0,1,5.62,9.7,8,8,0,0,1-10.19,5.64,155.4,155.4,0,0,0-90.8-.1,8.22,8.22,0,0,1-10.28-4.81,8,8,0,0,1,5.08-10.33,156.85,156.85,0,0,1,24.72-5.72,4,4,0,0,0,3.27-4.93l-.21-.85A16.21,16.21,0,0,0,87.08,40.21L51,46.13A16.08,16.08,0,0,0,38,58L8.49,174.39a15.94,15.94,0,0,0,9.06,18.51l67,29.71a16.17,16.17,0,0,0,21.71-9.1l3.49-9.45a4,4,0,0,0-3.27-5.35,158.13,158.13,0,0,1-28.63-6.2,8.2,8.2,0,0,1-5.61-9.67,8,8,0,0,1,10.2-5.66,155.59,155.59,0,0,0,91.12,0,8,8,0,0,1,10.19,5.65,8.19,8.19,0,0,1-5.61,9.68,157.84,157.84,0,0,1-28.62,6.2,4,4,0,0,0-3.27,5.35l3.49,9.45a16.18,16.18,0,0,0,21.71,9.1l67-29.71A15.94,15.94,0,0,0,247.51,174.39ZM92,152a12,12,0,1,1,12-12A12,12,0,0,1,92,152Zm72,0a12,12,0,1,1,12-12A12,12,0,0,1,164,152Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,gfe,[...r[3]||=[P(`path`,{d:`M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm73.64,61.08-67,29.71a14.43,14.43,0,0,1-5.77,1.21,14.13,14.13,0,0,1-13.25-9.18L143,189.43c-4.93.37-9.92.58-15,.58s-10.06-.21-15-.58l-8.63,23.39A14.13,14.13,0,0,1,91.13,222a14.43,14.43,0,0,1-5.77-1.21l-67-29.71a14,14,0,0,1-7.93-16.2L40,58.5A14.07,14.07,0,0,1,51.34,48.11L87.4,42.19a14.19,14.19,0,0,1,16,10.39l3.69,14.53a197.5,197.5,0,0,1,41.82,0l3.69-14.53a14.19,14.19,0,0,1,16-10.39l36.06,5.92A14.07,14.07,0,0,1,216,58.5l29.53,116.38A14,14,0,0,1,237.64,191.08Zm-3.7-13.25L204.41,61.45a2.08,2.08,0,0,0-1.7-1.5L166.65,54a2.13,2.13,0,0,0-2.42,1.5l-3.36,13.24a169.28,169.28,0,0,1,16.75,3.76A6,6,0,0,1,176,84.31a5.71,5.71,0,0,1-1.62-.23A174.26,174.26,0,0,0,128,78a174.26,174.26,0,0,0-46.38,6.08,6,6,0,1,1-3.24-11.55,169.28,169.28,0,0,1,16.75-3.76L91.77,55.53A2.12,2.12,0,0,0,89.35,54L53.29,60a2.08,2.08,0,0,0-1.7,1.5L22.06,177.83a2,2,0,0,0,1.16,2.28l67,29.7a2.19,2.19,0,0,0,1.76,0,2.07,2.07,0,0,0,1.14-1.17l7.58-20.55a171.46,171.46,0,0,1-22.33-4.64,6,6,0,1,1,3.24-11.55A174.26,174.26,0,0,0,128,178a174.26,174.26,0,0,0,46.38-6.08,6,6,0,1,1,3.24,11.55,171.46,171.46,0,0,1-22.33,4.64l7.58,20.55a2.07,2.07,0,0,0,1.14,1.17,2.19,2.19,0,0,0,1.76,0l67-29.7A2,2,0,0,0,233.94,177.83Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,_fe,[...r[4]||=[P(`path`,{d:`M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.93,15.93,0,0,1-9.06-18.51L38,58A16.07,16.07,0,0,1,51,46.14l36.06-5.93a16.22,16.22,0,0,1,18.26,11.88l3.26,12.84Q118.11,64,128,64t19.4.93l3.26-12.84a16.21,16.21,0,0,1,18.26-11.88L205,46.14A16.07,16.07,0,0,1,218,58l29.53,116.38A15.93,15.93,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56s0,0-.12,0h0L53.61,61.93a.17.17,0,0,0-.09,0L24,178.33,91,208a.23.23,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,vfe,[...r[5]||=[P(`path`,{d:`M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64-8a8,8,0,1,0,8,8A8,8,0,0,0,164,132Zm72.83,57.25-67,29.71a12.36,12.36,0,0,1-5,1,12.13,12.13,0,0,1-11.38-7.88l-9.15-24.81c-5.36.45-10.81.69-16.34.69s-11-.24-16.34-.69l-9.15,24.81A12.13,12.13,0,0,1,91.13,220a12.36,12.36,0,0,1-5-1l-67-29.71a12,12,0,0,1-6.8-13.88L41.9,59a12.06,12.06,0,0,1,9.77-8.91l36.06-5.92a12.18,12.18,0,0,1,13.73,8.91l4.12,16.22a195.47,195.47,0,0,1,44.84,0l4.12-16.22a12.18,12.18,0,0,1,13.73-8.91l36.06,5.92A12.06,12.06,0,0,1,214.1,59l29.53,116.38A12,12,0,0,1,236.83,189.25Zm-1-11.91L206.35,61A4.07,4.07,0,0,0,203,58L167,52.05a4.15,4.15,0,0,0-4.69,3L158.4,70.38a166.74,166.74,0,0,1,18.68,4.08,4,4,0,1,1-2.16,7.7A176.21,176.21,0,0,0,128,76a176.21,176.21,0,0,0-46.92,6.16,4,4,0,1,1-2.16-7.7A166.74,166.74,0,0,1,97.6,70.38L93.71,55a4.15,4.15,0,0,0-4.69-3L53,58a4.07,4.07,0,0,0-3.31,3L20.12,177.34a4,4,0,0,0,2.29,4.59l67,29.71a4.16,4.16,0,0,0,3.35,0A4,4,0,0,0,95,209.35l8.45-22.88a171.49,171.49,0,0,1-24.53-4.92,4,4,0,0,1,2.16-7.71A176.21,176.21,0,0,0,128,180a176.21,176.21,0,0,0,46.92-6.16,4,4,0,0,1,2.16,7.71,171.49,171.49,0,0,1-24.53,4.92L161,209.35a4,4,0,0,0,2.23,2.32,4.16,4.16,0,0,0,3.35,0l67-29.71A4,4,0,0,0,235.88,177.34Z`},null,-1)]])):I(``,!0)],16))}})})),xfe,Sfe=s((()=>{bfe(),xfe=yfe})),Cfe,wfe,Tfe,Efe,Dfe,Ofe,kfe,Afe=s((()=>{Ls(),B(),Cfe={key:0},wfe={key:1},Tfe={key:2},Efe={key:3},Dfe={key:4},Ofe={key:5},kfe=k({name:`ScalarIconEnvelope`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Cfe,[...r[0]||=[P(`path`,{d:`M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44Zm-96,83.72L62.85,68h130.3ZM92.79,128,44,172.72V83.28Zm17.76,16.28,9.34,8.57a12,12,0,0,0,16.22,0l9.34-8.57L193.15,188H62.85ZM163.21,128,212,83.28v89.44Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,wfe,[...r[1]||=[P(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Tfe,[...r[2]||=[P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Efe,[...r[3]||=[P(`path`,{d:`M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50Zm-96,85.86L47.42,62H208.58ZM101.67,128,38,186.36V69.64Zm8.88,8.14L124,148.42a6,6,0,0,0,8.1,0l13.4-12.28L208.58,194H47.43ZM154.33,128,218,69.64V186.36Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Dfe,[...r[4]||=[P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Ofe,[...r[5]||=[P(`path`,{d:`M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-96,86.57L42.28,60H213.72ZM104.63,128,36,190.91V65.09Zm5.92,5.43L125.3,147a4,4,0,0,0,5.4,0l14.75-13.52L213.72,196H42.28ZM151.37,128,220,65.09V190.91Z`},null,-1)]])):I(``,!0)],16))}})})),jfe,Mfe=s((()=>{Afe(),jfe=kfe})),Nfe,Pfe,Ffe,Ife,Lfe,Rfe,zfe,Bfe=s((()=>{Ls(),B(),Nfe={key:0},Pfe={key:1},Ffe={key:2},Ife={key:3},Lfe={key:4},Rfe={key:5},zfe=k({name:`ScalarIconEnvelopeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Nfe,[...r[0]||=[P(`path`,{d:`M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Pfe,[...r[1]||=[P(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Ffe,[...r[2]||=[P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Ife,[...r[3]||=[P(`path`,{d:`M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Lfe,[...r[4]||=[P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Rfe,[...r[5]||=[P(`path`,{d:`M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z`},null,-1)]])):I(``,!0)],16))}})})),Vfe,Hfe=s((()=>{Bfe(),Vfe=zfe})),Ufe,Wfe,Gfe,Kfe,qfe,Jfe,Yfe,Xfe=s((()=>{Ls(),B(),Ufe={key:0},Wfe={key:1},Gfe={key:2},Kfe={key:3},qfe={key:4},Jfe={key:5},Yfe=k({name:`ScalarIconEye`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Ufe,[...r[0]||=[P(`path`,{d:`M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Wfe,[...r[1]||=[P(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Gfe,[...r[2]||=[P(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Kfe,[...r[3]||=[P(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,qfe,[...r[4]||=[P(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Jfe,[...r[5]||=[P(`path`,{d:`M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z`},null,-1)]])):I(``,!0)],16))}})})),Zfe,Qfe=s((()=>{Xfe(),Zfe=Yfe})),$fe,epe,tpe,npe,rpe,ipe,ape,ope=s((()=>{Ls(),B(),$fe={key:0},epe={key:1},tpe={key:2},npe={key:3},rpe={key:4},ipe={key:5},ape=k({name:`ScalarIconEyeSlash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,$fe,[...r[0]||=[P(`path`,{d:`M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,epe,[...r[1]||=[P(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,tpe,[...r[2]||=[P(`path`,{d:`M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,npe,[...r[3]||=[P(`path`,{d:`M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,rpe,[...r[4]||=[P(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,ipe,[...r[5]||=[P(`path`,{d:`M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z`},null,-1)]])):I(``,!0)],16))}})})),spe,cpe=s((()=>{ope(),spe=ape})),lpe,upe,dpe,fpe,ppe,mpe,hpe,gpe=s((()=>{Ls(),B(),lpe={key:0},upe={key:1},dpe={key:2},fpe={key:3},ppe={key:4},mpe={key:5},hpe=k({name:`ScalarIconFileDashed`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,lpe,[...r[0]||=[P(`path`,{d:`M84,224a12,12,0,0,1-12,12H56a20,20,0,0,1-20-20V184a12,12,0,0,1,24,0v28H72A12,12,0,0,1,84,224ZM220,88v48a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H120a12,12,0,0,1,0-24h32a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57ZM80,20H56A20,20,0,0,0,36,40V64a12,12,0,0,0,24,0V44H80a12,12,0,0,0,0-24ZM208,164a12,12,0,0,0-12,12v36h-4a12,12,0,0,0,0,24h8a20,20,0,0,0,20-20V176A12,12,0,0,0,208,164ZM48,156a12,12,0,0,0,12-12V104a12,12,0,0,0-24,0v40A12,12,0,0,0,48,156Zm104,56H112a12,12,0,0,0,0,24h40a12,12,0,0,0,0-24Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,upe,[...r[1]||=[P(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,dpe,[...r[2]||=[P(`path`,{d:`M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM213.66,82.34l-56-56A8,8,0,0,0,152,24H120a8,8,0,0,0,0,16h24V88a8,8,0,0,0,8,8h48v40a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,fpe,[...r[3]||=[P(`path`,{d:`M78,224a6,6,0,0,1-6,6H56a14,14,0,0,1-14-14V184a6,6,0,0,1,12,0v32a2,2,0,0,0,2,2H72A6,6,0,0,1,78,224ZM214,88v48a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H120a6,6,0,0,1,0-12h32a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.51L158,46.49ZM80,26H56A14,14,0,0,0,42,40V64a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2H80a6,6,0,0,0,0-12ZM208,170a6,6,0,0,0-6,6v40a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V176A6,6,0,0,0,208,170ZM48,150a6,6,0,0,0,6-6V104a6,6,0,0,0-12,0v40A6,6,0,0,0,48,150Zm104,68H112a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,ppe,[...r[4]||=[P(`path`,{d:`M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,mpe,[...r[5]||=[P(`path`,{d:`M76,224a4,4,0,0,1-4,4H56a12,12,0,0,1-12-12V184a4,4,0,0,1,8,0v32a4,4,0,0,0,4,4H72A4,4,0,0,1,76,224ZM212,88v48a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H120a4,4,0,0,1,0-8h32a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.66ZM80,28H56A12,12,0,0,0,44,40V64a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4H80a4,4,0,0,0,0-8ZM208,172a4,4,0,0,0-4,4v40a4,4,0,0,1-4,4h-8a4,4,0,0,0,0,8h8a12,12,0,0,0,12-12V176A4,4,0,0,0,208,172ZM48,148a4,4,0,0,0,4-4V104a4,4,0,0,0-8,0v40A4,4,0,0,0,48,148Zm104,72H112a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8Z`},null,-1)]])):I(``,!0)],16))}})})),_pe,vpe=s((()=>{gpe(),_pe=hpe})),ype,bpe,xpe,Spe,Cpe,wpe,Tpe,Epe=s((()=>{Ls(),B(),ype={key:0},bpe={key:1},xpe={key:2},Spe={key:3},Cpe={key:4},wpe={key:5},Tpe=k({name:`ScalarIconFileMd`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ype,[...r[0]||=[P(`path`,{d:`M100,152v56a12,12,0,0,1-24,0V190.07l-6.17,8.81a12,12,0,0,1-19.66,0L44,190.07V208a12,12,0,0,1-24,0V152a12,12,0,0,1,21.83-6.88L60,171.07l18.17-25.95A12,12,0,0,1,100,152Zm84,28a40,40,0,0,1-40,40H128a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,184,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,160,180Zm60-92V224a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,bpe,[...r[1]||=[P(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,xpe,[...r[2]||=[P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H196a4,4,0,0,1,4,4V224a8,8,0,0,0,9.19,7.91,8.15,8.15,0,0,0,6.81-8.16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-8,56H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,144,144Zm-.49,56H136V160h8a20,20,0,0,1,20,20.77C163.58,191.59,154.34,200,143.51,200ZM104,152v55.73A8.17,8.17,0,0,1,96.53,216,8,8,0,0,1,88,208V177.38l-13.32,19a8.3,8.3,0,0,1-4.2,3.2,8,8,0,0,1-9-3L48,177.38v30.35A8.17,8.17,0,0,1,40.53,216,8,8,0,0,1,32,208V152.31a8.27,8.27,0,0,1,4.56-7.53,8,8,0,0,1,10,2.63L68,178.05l21.27-30.39a8.28,8.28,0,0,1,8.06-3.55A8,8,0,0,1,104,152Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Spe,[...r[3]||=[P(`path`,{d:`M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V224a6,6,0,0,0,12,0V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM144,146H128a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6h16a34,34,0,0,0,0-68Zm0,56H134V158h10a22,22,0,0,1,0,44Zm-42-50v56a6,6,0,0,1-12,0V171L72.92,195.44a6,6,0,0,1-9.84,0L46,171v37a6,6,0,0,1-12,0V152a6,6,0,0,1,10.92-3.44l23.08,33,23.08-33A6,6,0,0,1,102,152Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Cpe,[...r[4]||=[P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,wpe,[...r[5]||=[P(`path`,{d:`M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V224a4,4,0,0,0,8,0V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM144,148H128a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4h16a32,32,0,0,0,0-64Zm0,56H132V156h12a24,24,0,0,1,0,48Zm-44-52v56a4,4,0,0,1-8,0V164.69l-20.72,29.6a4,4,0,0,1-6.56,0L44,164.69V208a4,4,0,0,1-8,0V152a4,4,0,0,1,7.28-2.29L68,185l24.72-35.31A4,4,0,0,1,100,152Z`},null,-1)]])):I(``,!0)],16))}})})),Dpe,Ope=s((()=>{Epe(),Dpe=Tpe})),kpe,Ape,jpe,Mpe,Npe,Ppe,Fpe,Ipe=s((()=>{Ls(),B(),kpe={key:0},Ape={key:1},jpe={key:2},Mpe={key:3},Npe={key:4},Ppe={key:5},Fpe=k({name:`ScalarIconFileText`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,kpe,[...r[0]||=[P(`path`,{d:`M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Ape,[...r[1]||=[P(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,jpe,[...r[2]||=[P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Mpe,[...r[3]||=[P(`path`,{d:`M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Npe,[...r[4]||=[P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Ppe,[...r[5]||=[P(`path`,{d:`M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z`},null,-1)]])):I(``,!0)],16))}})})),Lpe,Rpe=s((()=>{Ipe(),Lpe=Fpe})),zpe,Bpe,Vpe,Hpe,Upe,Wpe,Gpe,Kpe=s((()=>{Ls(),B(),zpe={key:0},Bpe={key:1},Vpe={key:2},Hpe={key:3},Upe={key:4},Wpe={key:5},Gpe=k({name:`ScalarIconGavel`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,zpe,[...r[0]||=[P(`path`,{d:`M246.14,113.86l-16-16a20,20,0,0,0-23.06-3.75l-45.2-45.2a20,20,0,0,0-3.74-23.06l-16-16a20,20,0,0,0-28.28,0l-64,64a20,20,0,0,0,0,28.28l16,16a20,20,0,0,0,23,3.79L29.36,181.38a32,32,0,0,0,45.26,45.26L134,167.21a20,20,0,0,0,3.81,22.94l16,16a20,20,0,0,0,28.29,0l64-64a20,20,0,0,0,0-28.29ZM80,98.34,69.64,88,128,29.65,138.34,40ZM57.64,209.67a8,8,0,0,1-11.31-11.32l59.52-59.52,11.31,11.32Zm92.7-60.29-43.72-43.72,39-39,43.72,43.72Zm17.65,37L157.65,176,216,117.66,226.34,128Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Bpe,[...r[1]||=[P(`path`,{d:`M149.66,45.66l-64,64a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,0-11.32l64-64a8,8,0,0,1,11.32,0l16,16A8,8,0,0,1,149.66,45.66Zm88,76.68-16-16a8,8,0,0,0-11.32,0l-64,64a8,8,0,0,0,0,11.32l16,16a8,8,0,0,0,11.32,0l64-64A8,8,0,0,0,237.66,122.34Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Vpe,[...r[2]||=[P(`path`,{d:`M52.69,99.31a16,16,0,0,1,0-22.63l64-64a16,16,0,0,1,22.63,22.63l-64,64a16,16,0,0,1-22.63,0Zm190.63,17.37a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63h0a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.68Zm-35.11-15.8L155.12,47.79a4,4,0,0,0-5.66,0L87.8,109.45a4,4,0,0,0,0,5.66L103,130.34,28.69,204.69a16,16,0,0,0,22.62,22.62L125.66,153l15.23,15.23a4,4,0,0,0,5.66,0l61.66-61.66A4,4,0,0,0,208.21,100.88Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Hpe,[...r[3]||=[P(`path`,{d:`M241.91,118.1l-16-16a14,14,0,0,0-19.55-.23L154.13,49.64a14,14,0,0,0-.23-19.55l-16-16a14,14,0,0,0-19.8,0l-64,64a14,14,0,0,0,0,19.8l16,16a14,14,0,0,0,19.55.23L99.52,124,32.73,190.79a23,23,0,0,0,32.48,32.49L132,156.49l9.87,9.87a14,14,0,0,0,.23,19.55l16,16a14,14,0,0,0,19.8,0l64-64A14,14,0,0,0,241.91,118.1Zm-91.56,39.76-52.21-52.2,47.52-47.52,52.2,52.2ZM78.59,105.41l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16a2,2,0,0,1,0,2.83l-64,64A2,2,0,0,1,78.59,105.41ZM56.73,214.8a11,11,0,0,1-15.52-15.52L108,132.49,123.52,148Zm176.69-85.38-64,64a2,2,0,0,1-2.83,0l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16A2,2,0,0,1,233.42,129.42Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Upe,[...r[4]||=[P(`path`,{d:`M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Wpe,[...r[5]||=[P(`path`,{d:`M240.49,119.52l-16-16a12,12,0,0,0-17,0l-1.17,1.17-55-55,1.18-1.17a12,12,0,0,0,0-17l-16-16a12,12,0,0,0-17,0l-64,64a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l1.17-1.18L102.34,124l-68.2,68.21A21,21,0,0,0,63.8,221.87L132,153.66l12.69,12.69-1.18,1.17a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l64-64a12,12,0,0,0,0-17ZM77.17,106.83l-16-16a4,4,0,0,1,0-5.66l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.65l-64,64A4,4,0,0,1,77.17,106.83Zm-19,109.38A13,13,0,1,1,39.8,197.87L108,129.66,126.34,148ZM95.31,105.66l50.35-50.35,55,55-50.35,50.35Zm139.52,25.17-64,64a4,4,0,0,1-5.66,0l-16-16a4,4,0,0,1,0-5.65l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.66Z`},null,-1)]])):I(``,!0)],16))}})})),qpe,Jpe=s((()=>{Kpe(),qpe=Gpe})),Ype,Xpe,Zpe,Qpe,$pe,eme,tme,nme=s((()=>{Ls(),B(),Ype={key:0},Xpe={key:1},Zpe={key:2},Qpe={key:3},$pe={key:4},eme={key:5},tme=k({name:`ScalarIconGear`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Ype,[...r[0]||=[P(`path`,{d:`M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Xpe,[...r[1]||=[P(`path`,{d:`M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Zpe,[...r[2]||=[P(`path`,{d:`M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Qpe,[...r[3]||=[P(`path`,{d:`M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,$pe,[...r[4]||=[P(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,eme,[...r[5]||=[P(`path`,{d:`M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z`},null,-1)]])):I(``,!0)],16))}})})),rme,ime=s((()=>{nme(),rme=tme})),ame,ome,sme,cme,lme,ume,dme,fme=s((()=>{Ls(),B(),ame={key:0},ome={key:1},sme={key:2},cme={key:3},lme={key:4},ume={key:5},dme=k({name:`ScalarIconGearSix`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ame,[...r[0]||=[P(`path`,{d:`M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,ome,[...r[1]||=[P(`path`,{d:`M230.1,108.76,198.25,90.62c-.64-1.16-1.31-2.29-2-3.41l-.12-36A104.61,104.61,0,0,0,162,32L130,49.89c-1.34,0-2.69,0-4,0L94,32A104.58,104.58,0,0,0,59.89,51.25l-.16,36c-.7,1.12-1.37,2.26-2,3.41l-31.84,18.1a99.15,99.15,0,0,0,0,38.46l31.85,18.14c.64,1.16,1.31,2.29,2,3.41l.12,36A104.61,104.61,0,0,0,94,224l32-17.87c1.34,0,2.69,0,4,0L162,224a104.58,104.58,0,0,0,34.08-19.25l.16-36c.7-1.12,1.37-2.26,2-3.41l31.84-18.1A99.15,99.15,0,0,0,230.1,108.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.1,8.1,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8,8,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,sme,[...r[2]||=[P(`path`,{d:`M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,cme,[...r[3]||=[P(`path`,{d:`M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Zm108-54.4a6,6,0,0,0-2.92-4L202.64,86.22l-.42-.71L202.1,51.2A6,6,0,0,0,200,46.64a110.12,110.12,0,0,0-36.07-20.31,6,6,0,0,0-4.84.45L128.46,43.86h-1L96.91,26.76a6,6,0,0,0-4.86-.44A109.92,109.92,0,0,0,56,46.68a6,6,0,0,0-2.12,4.55l-.16,34.34c-.14.23-.28.47-.41.71L22.91,103.57A6,6,0,0,0,20,107.62a104.81,104.81,0,0,0,0,40.78,6,6,0,0,0,2.92,4l30.42,17.33.42.71.12,34.31A6,6,0,0,0,56,209.36a110.12,110.12,0,0,0,36.07,20.31,6,6,0,0,0,4.84-.45l30.61-17.08h1l30.56,17.1A6.09,6.09,0,0,0,162,230a5.83,5.83,0,0,0,1.93-.32,109.92,109.92,0,0,0,36-20.36,6,6,0,0,0,2.12-4.55l.16-34.34c.14-.23.28-.47.41-.71l30.42-17.29a6,6,0,0,0,2.92-4.05A104.81,104.81,0,0,0,236,107.6Zm-11.25,35.79L195.32,160.1a6.07,6.07,0,0,0-2.28,2.3c-.59,1-1.21,2.11-1.86,3.14a6,6,0,0,0-.91,3.16l-.16,33.21a98.15,98.15,0,0,1-27.52,15.53L133,200.88a6,6,0,0,0-2.93-.77h-.14c-1.24,0-2.5,0-3.74,0a6,6,0,0,0-3.07.76L93.45,217.43a98,98,0,0,1-27.56-15.49l-.12-33.17a6,6,0,0,0-.91-3.16c-.64-1-1.27-2.08-1.86-3.14a6,6,0,0,0-2.27-2.3L31.3,143.4a93,93,0,0,1,0-30.79L60.68,95.9A6.07,6.07,0,0,0,63,93.6c.59-1,1.21-2.11,1.86-3.14a6,6,0,0,0,.91-3.16l.16-33.21A98.15,98.15,0,0,1,93.41,38.56L123,55.12a5.81,5.81,0,0,0,3.07.76c1.24,0,2.5,0,3.74,0a6,6,0,0,0,3.07-.76l29.65-16.56a98,98,0,0,1,27.56,15.49l.12,33.17a6,6,0,0,0,.91,3.16c.64,1,1.27,2.08,1.86,3.14a6,6,0,0,0,2.27,2.3L224.7,112.6A93,93,0,0,1,224.73,143.39Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,lme,[...r[4]||=[P(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,ume,[...r[5]||=[P(`path`,{d:`M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm106-56a4,4,0,0,0-2-2.7l-30.89-17.6q-.47-.82-1-1.62L200.1,51.2a3.94,3.94,0,0,0-1.42-3,107.8,107.8,0,0,0-35.41-19.94,4,4,0,0,0-3.23.29L129,45.87h-2l-31-17.36a4,4,0,0,0-3.23-.3,108.05,108.05,0,0,0-35.39,20,4,4,0,0,0-1.41,3l-.16,34.9-1,1.62L23.9,105.3A4,4,0,0,0,22,108a102.76,102.76,0,0,0,0,40,4,4,0,0,0,1.95,2.7l30.89,17.6q.47.83,1,1.62l.12,34.87a3.94,3.94,0,0,0,1.42,3,107.8,107.8,0,0,0,35.41,19.94,4,4,0,0,0,3.23-.29L127,210.13h2l31,17.36a4,4,0,0,0,3.23.3,108.05,108.05,0,0,0,35.39-20,4,4,0,0,0,1.41-3l.16-34.9,1-1.62L232.1,150.7a4,4,0,0,0,2-2.71A102.76,102.76,0,0,0,234,108Zm-7.48,36.67L196.3,161.84a4,4,0,0,0-1.51,1.53c-.61,1.09-1.25,2.17-1.91,3.24a3.92,3.92,0,0,0-.61,2.1l-.16,34.15a99.8,99.8,0,0,1-29.7,16.77l-30.4-17a4.06,4.06,0,0,0-2-.51H130c-1.28,0-2.57,0-3.84,0a4.1,4.1,0,0,0-2.05.51l-30.45,17A100.23,100.23,0,0,1,63.89,202.9l-.12-34.12a3.93,3.93,0,0,0-.61-2.11c-.66-1-1.3-2.14-1.91-3.23a4,4,0,0,0-1.51-1.53L29.49,144.68a94.78,94.78,0,0,1,0-33.34L59.7,94.16a4,4,0,0,0,1.51-1.53c.61-1.09,1.25-2.17,1.91-3.23a4,4,0,0,0,.61-2.11l.16-34.15a99.8,99.8,0,0,1,29.7-16.77l30.4,17a4.1,4.1,0,0,0,2.05.51c1.28,0,2.57,0,3.84,0a4,4,0,0,0,2.05-.51l30.45-17A100.23,100.23,0,0,1,192.11,53.1l.12,34.12a3.93,3.93,0,0,0,.61,2.11c.66,1,1.3,2.14,1.91,3.23a4,4,0,0,0,1.51,1.53l30.25,17.23A94.78,94.78,0,0,1,226.54,144.66Z`},null,-1)]])):I(``,!0)],16))}})})),pme,mme=s((()=>{fme(),pme=dme})),hme,gme,_me,vme,yme,bme,xme,Sme=s((()=>{Ls(),B(),hme={key:0},gme={key:1},_me={key:2},vme={key:3},yme={key:4},bme={key:5},xme=k({name:`ScalarIconGitBranch`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,hme,[...r[0]||=[P(`path`,{d:`M236,64a36,36,0,1,0-48,33.94V112a4,4,0,0,1-4,4H96a27.8,27.8,0,0,0-4,.29V97.94a36,36,0,1,0-24,0v60.12a36,36,0,1,0,24,0V144a4,4,0,0,1,4-4h88a28,28,0,0,0,28-28V97.94A36.07,36.07,0,0,0,236,64ZM80,52A12,12,0,1,1,68,64,12,12,0,0,1,80,52Zm0,152a12,12,0,1,1,12-12A12,12,0,0,1,80,204ZM200,76a12,12,0,1,1,12-12A12,12,0,0,1,200,76Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,gme,[...r[1]||=[P(`path`,{d:`M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,_me,[...r[2]||=[P(`path`,{d:`M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,vme,[...r[3]||=[P(`path`,{d:`M230,64a30,30,0,1,0-36,29.4V112a10,10,0,0,1-10,10H96a21.84,21.84,0,0,0-10,2.42v-31a30,30,0,1,0-12,0v69.2a30,30,0,1,0,12,0V144a10,10,0,0,1,10-10h88a22,22,0,0,0,22-22V93.4A30.05,30.05,0,0,0,230,64ZM62,64A18,18,0,1,1,80,82,18,18,0,0,1,62,64ZM98,192a18,18,0,1,1-18-18A18,18,0,0,1,98,192ZM200,82a18,18,0,1,1,18-18A18,18,0,0,1,200,82Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,yme,[...r[4]||=[P(`path`,{d:`M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,bme,[...r[5]||=[P(`path`,{d:`M228,64a28,28,0,1,0-32,27.71V112a12,12,0,0,1-12,12H96a19.91,19.91,0,0,0-12,4V91.71a28,28,0,1,0-8,0v72.58a28,28,0,1,0,8,0V144a12,12,0,0,1,12-12h88a20,20,0,0,0,20-20V91.71A28,28,0,0,0,228,64ZM60,64A20,20,0,1,1,80,84,20,20,0,0,1,60,64Zm40,128a20,20,0,1,1-20-20A20,20,0,0,1,100,192ZM200,84a20,20,0,1,1,20-20A20,20,0,0,1,200,84Z`},null,-1)]])):I(``,!0)],16))}})})),Cme,wme=s((()=>{Sme(),Cme=xme})),Tme,Eme,Dme,Ome,kme,Ame,jme,Mme=s((()=>{Ls(),B(),Tme={key:0},Eme={key:1},Dme={key:2},Ome={key:3},kme={key:4},Ame={key:5},jme=k({name:`ScalarIconGithubLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Tme,[...r[0]||=[P(`path`,{d:`M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Eme,[...r[1]||=[P(`path`,{d:`M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Dme,[...r[2]||=[P(`path`,{d:`M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Ome,[...r[3]||=[P(`path`,{d:`M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,kme,[...r[4]||=[P(`path`,{d:`M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Ame,[...r[5]||=[P(`path`,{d:`M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z`},null,-1)]])):I(``,!0)],16))}})})),Nme,Pme=s((()=>{Mme(),Nme=jme})),Fme,Ime,Lme,Rme,zme,Bme,Vme,Hme=s((()=>{Ls(),B(),Fme={key:0},Ime={key:1},Lme={key:2},Rme={key:3},zme={key:4},Bme={key:5},Vme=k({name:`ScalarIconGlobe`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Fme,[...r[0]||=[P(`path`,{d:`M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Ime,[...r[1]||=[P(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Lme,[...r[2]||=[P(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Rme,[...r[3]||=[P(`path`,{d:`M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,zme,[...r[4]||=[P(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Bme,[...r[5]||=[P(`path`,{d:`M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z`},null,-1)]])):I(``,!0)],16))}})})),Ume,Wme=s((()=>{Hme(),Ume=Vme})),Gme,Kme,qme,Jme,Yme,Xme,Zme,Qme=s((()=>{Ls(),B(),Gme={key:0},Kme={key:1},qme={key:2},Jme={key:3},Yme={key:4},Xme={key:5},Zme=k({name:`ScalarIconGlobeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Gme,[...r[0]||=[P(`path`,{d:`M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm83.13,96H179.56a144.3,144.3,0,0,0-21.35-66.36A84.22,84.22,0,0,1,211.13,116ZM128,207c-9.36-10.81-24.46-33.13-27.45-67h54.94a119.74,119.74,0,0,1-17.11,52.77A108.61,108.61,0,0,1,128,207Zm-27.45-91a119.74,119.74,0,0,1,17.11-52.77A108.61,108.61,0,0,1,128,49c9.36,10.81,24.46,33.13,27.45,67ZM97.79,49.64A144.3,144.3,0,0,0,76.44,116H44.87A84.22,84.22,0,0,1,97.79,49.64ZM44.87,140H76.44a144.3,144.3,0,0,0,21.35,66.36A84.22,84.22,0,0,1,44.87,140Zm113.34,66.36A144.3,144.3,0,0,0,179.56,140h31.57A84.22,84.22,0,0,1,158.21,206.36Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Kme,[...r[1]||=[P(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,qme,[...r[2]||=[P(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm52.18,93.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Jme,[...r[3]||=[P(`path`,{d:`M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm89.8,96H173.89c-1.54-40.77-18.48-68.23-30.43-82.67A90.19,90.19,0,0,1,217.8,122ZM128,215.83a110,110,0,0,1-15.19-19.45A128.37,128.37,0,0,1,94.13,134h67.74a128.37,128.37,0,0,1-18.68,62.38A110,110,0,0,1,128,215.83ZM94.13,122a128.37,128.37,0,0,1,18.68-62.38A110,110,0,0,1,128,40.17a110,110,0,0,1,15.19,19.45A128.37,128.37,0,0,1,161.87,122Zm18.41-82.67c-12,14.44-28.89,41.9-30.43,82.67H38.2A90.19,90.19,0,0,1,112.54,39.33ZM38.2,134H82.11c1.54,40.77,18.48,68.23,30.43,82.67A90.19,90.19,0,0,1,38.2,134Zm105.26,82.67c11.95-14.44,28.89-41.9,30.43-82.67H217.8A90.19,90.19,0,0,1,143.46,216.67Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Yme,[...r[4]||=[P(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Xme,[...r[5]||=[P(`path`,{d:`M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm91.9,96h-48c-1.15-45.55-21.74-74.52-33.48-87.4A92.14,92.14,0,0,1,219.91,124ZM128,218.61c-8.32-8-34.57-37.13-35.93-86.61h71.86C162.57,181.48,136.32,210.61,128,218.61ZM92.07,124C93.43,74.52,119.68,45.39,128,37.39c8.32,8,34.57,37.13,35.93,86.61Zm25.47-87.4C105.8,49.48,85.21,78.45,84.06,124h-48A92.14,92.14,0,0,1,117.54,36.6ZM36.09,132h48c1.15,45.55,21.74,74.52,33.48,87.4A92.14,92.14,0,0,1,36.09,132Zm102.37,87.4c11.74-12.88,32.33-41.85,33.48-87.4h48A92.14,92.14,0,0,1,138.46,219.4Z`},null,-1)]])):I(``,!0)],16))}})})),$me,ehe=s((()=>{Qme(),$me=Zme})),the,nhe,rhe,ihe,ahe,ohe,she,che=s((()=>{Ls(),B(),the={key:0},nhe={key:1},rhe={key:2},ihe={key:3},ahe={key:4},ohe={key:5},she=k({name:`ScalarIconHash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,the,[...r[0]||=[P(`path`,{d:`M224,84H180.2l7.61-41.85a12,12,0,0,0-23.62-4.3L155.8,84H116.2l7.61-41.85a12,12,0,1,0-23.62-4.3L91.8,84H48a12,12,0,0,0,0,24H87.44l-7.27,40H32a12,12,0,0,0,0,24H75.8l-7.61,41.85a12,12,0,0,0,9.66,14A11.43,11.43,0,0,0,80,228a12,12,0,0,0,11.8-9.86L100.2,172h39.6l-7.61,41.85a12,12,0,0,0,9.66,14,11.43,11.43,0,0,0,2.16.2,12,12,0,0,0,11.8-9.86L164.2,172H208a12,12,0,0,0,0-24H168.56l7.27-40H224a12,12,0,0,0,0-24Zm-79.83,64H104.56l7.27-40h39.61Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,nhe,[...r[1]||=[P(`path`,{d:`M165.82,96l-11.64,64h-64l11.64-64Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,rhe,[...r[2]||=[P(`path`,{d:`M116.25,112h31.5l-8,32h-31.5ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Zm-16,56a8,8,0,0,0-8-8H168.25l7.51-30.06a8,8,0,0,0-15.52-3.88L151.75,96h-31.5l7.51-30.06a8,8,0,0,0-15.52-3.88L103.75,96H64a8,8,0,0,0,0,16H99.75l-8,32H56a8,8,0,0,0,0,16H87.75l-7.51,30.06a8,8,0,0,0,5.82,9.7,8.13,8.13,0,0,0,2,.24,8,8,0,0,0,7.75-6.06L104.25,160h31.5l-7.51,30.06a8,8,0,0,0,5.82,9.7A8.13,8.13,0,0,0,136,200a8,8,0,0,0,7.75-6.06L152.25,160H192a8,8,0,0,0,0-16H156.25l8-32H200A8,8,0,0,0,208,104Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,ihe,[...r[3]||=[P(`path`,{d:`M224,90H173l8.89-48.93a6,6,0,1,0-11.8-2.14L160.81,90H109l8.89-48.93a6,6,0,0,0-11.8-2.14L96.81,90H48a6,6,0,0,0,0,12H94.63l-9.46,52H32a6,6,0,0,0,0,12H83L74.1,214.93a6,6,0,0,0,4.83,7A5.64,5.64,0,0,0,80,222a6,6,0,0,0,5.89-4.93L95.19,166H147l-8.89,48.93a6,6,0,0,0,4.83,7,5.64,5.64,0,0,0,1.08.1,6,6,0,0,0,5.89-4.93L159.19,166H208a6,6,0,0,0,0-12H161.37l9.46-52H224a6,6,0,0,0,0-12Zm-74.83,64H97.37l9.46-52h51.8Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,ahe,[...r[4]||=[P(`path`,{d:`M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,ohe,[...r[5]||=[P(`path`,{d:`M224,92H170.61l9.33-51.28a4,4,0,1,0-7.88-1.44L162.48,92H106.61l9.33-51.28a4,4,0,1,0-7.88-1.44L98.48,92H48a4,4,0,0,0,0,8H97L86.84,156H32a4,4,0,0,0,0,8H85.39l-9.33,51.28a4,4,0,0,0,3.22,4.65A3.65,3.65,0,0,0,80,220a4,4,0,0,0,3.94-3.29L93.52,164h55.87l-9.33,51.28a4,4,0,0,0,3.22,4.65,3.65,3.65,0,0,0,.72.07,4,4,0,0,0,3.94-3.29L157.52,164H208a4,4,0,0,0,0-8H159l10.19-56H224a4,4,0,0,0,0-8Zm-73.16,64H95l10.19-56H161Z`},null,-1)]])):I(``,!0)],16))}})})),lhe,uhe=s((()=>{che(),lhe=she})),dhe,fhe,phe,mhe,hhe,ghe,_he,vhe=s((()=>{Ls(),B(),dhe={key:0},fhe={key:1},phe={key:2},mhe={key:3},hhe={key:4},ghe={key:5},_he=k({name:`ScalarIconHouse`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,dhe,[...r[0]||=[P(`path`,{d:`M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,fhe,[...r[1]||=[P(`path`,{d:`M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,phe,[...r[2]||=[P(`path`,{d:`M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,mhe,[...r[3]||=[P(`path`,{d:`M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,hhe,[...r[4]||=[P(`path`,{d:`M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,ghe,[...r[5]||=[P(`path`,{d:`M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z`},null,-1)]])):I(``,!0)],16))}})})),yhe,bhe=s((()=>{vhe(),yhe=_he})),xhe,She,Che,whe,The,Ehe,Dhe,Ohe=s((()=>{Ls(),B(),xhe={key:0},She={key:1},Che={key:2},whe={key:3},The={key:4},Ehe={key:5},Dhe=k({name:`ScalarIconInfo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,xhe,[...r[0]||=[P(`path`,{d:`M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,She,[...r[1]||=[P(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Che,[...r[2]||=[P(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,whe,[...r[3]||=[P(`path`,{d:`M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,The,[...r[4]||=[P(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Ehe,[...r[5]||=[P(`path`,{d:`M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z`},null,-1)]])):I(``,!0)],16))}})})),Us,khe=s((()=>{Ohe(),Us=Dhe})),Ahe,jhe,Mhe,Nhe,Phe,Fhe,Ihe,Lhe=s((()=>{Ls(),B(),Ahe={key:0},jhe={key:1},Mhe={key:2},Nhe={key:3},Phe={key:4},Fhe={key:5},Ihe=k({name:`ScalarIconLink`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Ahe,[...r[0]||=[P(`path`,{d:`M117.18,188.74a12,12,0,0,1,0,17l-5.12,5.12A58.26,58.26,0,0,1,70.6,228h0A58.62,58.62,0,0,1,29.14,127.92L63.89,93.17a58.64,58.64,0,0,1,98.56,28.11,12,12,0,1,1-23.37,5.44,34.65,34.65,0,0,0-58.22-16.58L46.11,144.89A34.62,34.62,0,0,0,70.57,204h0a34.41,34.41,0,0,0,24.49-10.14l5.11-5.12A12,12,0,0,1,117.18,188.74ZM226.83,45.17a58.65,58.65,0,0,0-82.93,0l-5.11,5.11a12,12,0,0,0,17,17l5.12-5.12a34.63,34.63,0,1,1,49,49L175.1,145.86A34.39,34.39,0,0,1,150.61,156h0a34.63,34.63,0,0,1-33.69-26.72,12,12,0,0,0-23.38,5.44A58.64,58.64,0,0,0,150.56,180h.05a58.28,58.28,0,0,0,41.47-17.17l34.75-34.75a58.62,58.62,0,0,0,0-82.91Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,jhe,[...r[1]||=[P(`path`,{d:`M218.34,119.6,183.6,154.34a46.58,46.58,0,0,1-44.31,12.26c-.31.34-.62.67-.95,1L103.6,202.34A46.63,46.63,0,1,1,37.66,136.4L72.4,101.66A46.6,46.6,0,0,1,116.71,89.4c.31-.34.62-.67,1-1L152.4,53.66a46.63,46.63,0,0,1,65.94,65.94Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,7.78,8.22H152a8,8,0,0,0,8-7.78A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Mhe,[...r[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Nhe,[...r[3]||=[P(`path`,{d:`M238,88.18a52.42,52.42,0,0,1-15.4,35.66l-34.75,34.75A52.28,52.28,0,0,1,150.62,174h-.05A52.63,52.63,0,0,1,98,119.9a6,6,0,0,1,6-5.84h.17a6,6,0,0,1,5.83,6.16A40.62,40.62,0,0,0,150.58,162h0a40.4,40.4,0,0,0,28.73-11.9l34.75-34.74A40.63,40.63,0,0,0,156.63,57.9l-11,11a6,6,0,0,1-8.49-8.49l11-11a52.62,52.62,0,0,1,74.43,0A52.83,52.83,0,0,1,238,88.18Zm-127.62,98.9-11,11A40.36,40.36,0,0,1,70.6,210h0a40.63,40.63,0,0,1-28.7-69.36L76.62,105.9A40.63,40.63,0,0,1,146,135.77a6,6,0,0,0,5.83,6.16H152a6,6,0,0,0,6-5.84A52.63,52.63,0,0,0,68.14,97.42L33.38,132.16A52.63,52.63,0,0,0,70.56,222h0a52.26,52.26,0,0,0,37.22-15.42l11-11a6,6,0,1,0-8.49-8.48Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Phe,[...r[4]||=[P(`path`,{d:`M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Fhe,[...r[5]||=[P(`path`,{d:`M236,88.12a50.44,50.44,0,0,1-14.81,34.31l-34.75,34.74A50.33,50.33,0,0,1,150.62,172h-.05A50.63,50.63,0,0,1,100,120a4,4,0,0,1,4-3.89h.11a4,4,0,0,1,3.89,4.11A42.64,42.64,0,0,0,150.58,164h0a42.32,42.32,0,0,0,30.14-12.49l34.75-34.74a42.63,42.63,0,1,0-60.29-60.28l-11,11a4,4,0,0,1-5.66-5.65l11-11A50.64,50.64,0,0,1,236,88.12ZM111.78,188.49l-11,11A42.33,42.33,0,0,1,70.6,212h0a42.63,42.63,0,0,1-30.11-72.77l34.75-34.74A42.63,42.63,0,0,1,148,135.82a4,4,0,0,0,8,.23A50.64,50.64,0,0,0,69.55,98.83L34.8,133.57A50.63,50.63,0,0,0,70.56,220h0a50.33,50.33,0,0,0,35.81-14.83l11-11a4,4,0,1,0-5.65-5.66Z`},null,-1)]])):I(``,!0)],16))}})})),Ws,Rhe=s((()=>{Lhe(),Ws=Ihe})),zhe,Bhe,Vhe,Hhe,Uhe,Whe,Ghe,Khe=s((()=>{Ls(),B(),zhe={key:0},Bhe={key:1},Vhe={key:2},Hhe={key:3},Uhe={key:4},Whe={key:5},Ghe=k({name:`ScalarIconList`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,zhe,[...r[0]||=[P(`path`,{d:`M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Bhe,[...r[1]||=[P(`path`,{d:`M216,64V192H40V64Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Vhe,[...r[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Hhe,[...r[3]||=[P(`path`,{d:`M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Uhe,[...r[4]||=[P(`path`,{d:`M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Whe,[...r[5]||=[P(`path`,{d:`M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z`},null,-1)]])):I(``,!0)],16))}})})),qhe,Jhe=s((()=>{Khe(),qhe=Ghe})),Yhe,Xhe,Zhe,Qhe,$he,ege,tge,nge=s((()=>{Ls(),B(),Yhe={key:0},Xhe={key:1},Zhe={key:2},Qhe={key:3},$he={key:4},ege={key:5},tge=k({name:`ScalarIconLockSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Yhe,[...r[0]||=[P(`path`,{d:`M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Xhe,[...r[1]||=[P(`path`,{d:`M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Zhe,[...r[2]||=[P(`path`,{d:`M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Qhe,[...r[3]||=[P(`path`,{d:`M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,$he,[...r[4]||=[P(`path`,{d:`M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,ege,[...r[5]||=[P(`path`,{d:`M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z`},null,-1)]])):I(``,!0)],16))}})})),Gs,rge=s((()=>{nge(),Gs=tge})),ige,age,oge,sge,cge,lge,uge,dge=s((()=>{Ls(),B(),ige={key:0},age={key:1},oge={key:2},sge={key:3},cge={key:4},lge={key:5},uge=k({name:`ScalarIconLockSimpleOpen`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ige,[...r[0]||=[P(`path`,{d:`M208,76H100V56a28,28,0,0,1,28-28c13.51,0,25.65,9.62,28.24,22.39a12,12,0,1,0,23.52-4.78C174.87,21.5,153.1,4,128,4A52.06,52.06,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76Zm-4,128H52V100H204Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,age,[...r[1]||=[P(`path`,{d:`M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,oge,[...r[2]||=[P(`path`,{d:`M224,96V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V96A16,16,0,0,1,48,80H80V56A48.05,48.05,0,0,1,128,8c23.2,0,43.32,16.15,47.84,38.41a8,8,0,0,1-15.68,3.18C157.2,35,143.37,24,128,24A32,32,0,0,0,96,56V80H208A16,16,0,0,1,224,96Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,sge,[...r[3]||=[P(`path`,{d:`M208,82H94V56a34,34,0,0,1,34-34c16.3,0,31,11.69,34.12,27.19a6,6,0,0,0,11.76-2.38C169.55,25.48,150.26,10,128,10A46.06,46.06,0,0,0,82,56V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82Zm2,126a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,cge,[...r[4]||=[P(`path`,{d:`M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,lge,[...r[5]||=[P(`path`,{d:`M208,84H92V56a36,36,0,0,1,36-36c17.24,0,32.75,12.38,36.08,28.8a4,4,0,1,0,7.84-1.6C167.78,26.81,149.31,12,128,12A44.05,44.05,0,0,0,84,56V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84Zm4,124a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z`},null,-1)]])):I(``,!0)],16))}})})),fge,pge=s((()=>{dge(),fge=uge})),mge,hge,gge,_ge,vge,yge,bge,xge=s((()=>{Ls(),B(),mge={key:0},hge={key:1},gge={key:2},_ge={key:3},vge={key:4},yge={key:5},bge=k({name:`ScalarIconMagicWand`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,mge,[...r[0]||=[P(`path`,{d:`M252,152a12,12,0,0,1-12,12H228v12a12,12,0,0,1-24,0V164H192a12,12,0,0,1,0-24h12V128a12,12,0,0,1,24,0v12h12A12,12,0,0,1,252,152ZM56,76H68V88a12,12,0,0,0,24,0V76h12a12,12,0,1,0,0-24H92V40a12,12,0,0,0-24,0V52H56a12,12,0,0,0,0,24ZM184,188h-4v-4a12,12,0,0,0-24,0v4h-4a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM222.14,82.83,82.82,222.14a20,20,0,0,1-28.28,0L33.85,201.46a20,20,0,0,1,0-28.29L173.17,33.86a20,20,0,0,1,28.28,0l20.69,20.68A20,20,0,0,1,222.14,82.83ZM159,112,144,97,53.65,187.31l15,15Zm43.31-43.31-15-15L161,80l15,15Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,hge,[...r[1]||=[P(`path`,{d:`M176,112,74.34,213.66a8,8,0,0,1-11.31,0L42.34,193a8,8,0,0,1,0-11.31L144,80Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,gge,[...r[2]||=[P(`path`,{d:`M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80ZM208,68.69,187.31,48l-32,32L176,100.69Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,_ge,[...r[3]||=[P(`path`,{d:`M246,152a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V158H192a6,6,0,0,1,0-12h18V128a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,152ZM56,70H74V88a6,6,0,0,0,12,0V70h18a6,6,0,0,0,0-12H86V40a6,6,0,0,0-12,0V58H56a6,6,0,0,0,0,12ZM184,194H174V184a6,6,0,0,0-12,0v10H152a6,6,0,0,0,0,12h10v10a6,6,0,0,0,12,0V206h10a6,6,0,0,0,0-12ZM217.9,78.59,78.58,217.9a14,14,0,0,1-19.8,0L38.09,197.21a14,14,0,0,1,0-19.8L177.41,38.1a14,14,0,0,1,19.8,0L217.9,58.79A14,14,0,0,1,217.9,78.59ZM167.51,112,144,88.49,46.58,185.9a2,2,0,0,0,0,2.83l20.69,20.68a2,2,0,0,0,2.82,0h0Zm41.9-44.73L188.73,46.59a2,2,0,0,0-2.83,0L152.48,80,176,103.52,209.41,70.1A2,2,0,0,0,209.41,67.27Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,vge,[...r[4]||=[P(`path`,{d:`M48,64a8,8,0,0,1,8-8H72V40a8,8,0,0,1,16,0V56h16a8,8,0,0,1,0,16H88V88a8,8,0,0,1-16,0V72H56A8,8,0,0,1,48,64ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16Zm56-48H224V128a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V160h16a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,yge,[...r[5]||=[P(`path`,{d:`M244,152a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V156H192a4,4,0,0,1,0-8h20V128a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,152ZM56,68H76V88a4,4,0,0,0,8,0V68h20a4,4,0,0,0,0-8H84V40a4,4,0,0,0-8,0V60H56a4,4,0,0,0,0,8ZM184,196H172V184a4,4,0,0,0-8,0v12H152a4,4,0,0,0,0,8h12v12a4,4,0,0,0,8,0V204h12a4,4,0,0,0,0-8ZM216.48,77.17,77.17,216.49a12,12,0,0,1-17,0L39.51,195.8a12,12,0,0,1,0-17L178.83,39.51a12,12,0,0,1,17,0L216.48,60.2A12,12,0,0,1,216.48,77.17ZM170.34,112,144,85.66,45.17,184.49a4,4,0,0,0,0,5.65l20.68,20.69a4,4,0,0,0,5.66,0Zm40.49-46.14L190.14,45.17a4,4,0,0,0-5.66,0L149.65,80,176,106.34l34.83-34.83A4,4,0,0,0,210.83,65.86Z`},null,-1)]])):I(``,!0)],16))}})})),Sge,Cge=s((()=>{xge(),Sge=bge})),wge,Tge,Ege,Dge,Oge,kge,Age,jge=s((()=>{Ls(),B(),wge={key:0},Tge={key:1},Ege={key:2},Dge={key:3},Oge={key:4},kge={key:5},Age=k({name:`ScalarIconMagnifyingGlass`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,wge,[...r[0]||=[P(`path`,{d:`M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Tge,[...r[1]||=[P(`path`,{d:`M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Ege,[...r[2]||=[P(`path`,{d:`M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Dge,[...r[3]||=[P(`path`,{d:`M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Oge,[...r[4]||=[P(`path`,{d:`M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,kge,[...r[5]||=[P(`path`,{d:`M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z`},null,-1)]])):I(``,!0)],16))}})})),Ks,Mge=s((()=>{jge(),Ks=Age})),Nge,Pge,Fge,Ige,Lge,Rge,zge,Bge=s((()=>{Ls(),B(),Nge={key:0},Pge={key:1},Fge={key:2},Ige={key:3},Lge={key:4},Rge={key:5},zge=k({name:`ScalarIconMinus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Nge,[...r[0]||=[P(`path`,{d:`M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Pge,[...r[1]||=[P(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Fge,[...r[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Ige,[...r[3]||=[P(`path`,{d:`M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Lge,[...r[4]||=[P(`path`,{d:`M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Rge,[...r[5]||=[P(`path`,{d:`M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z`},null,-1)]])):I(``,!0)],16))}})})),Vge,Hge=s((()=>{Bge(),Vge=zge})),Uge,Wge,Gge,Kge,qge,Jge,Yge,Xge=s((()=>{Ls(),B(),Uge={key:0},Wge={key:1},Gge={key:2},Kge={key:3},qge={key:4},Jge={key:5},Yge=k({name:`ScalarIconNotepad`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Uge,[...r[0]||=[P(`path`,{d:`M172,124a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,124Zm-12,28H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24ZM220,40V200a36,36,0,0,1-36,36H72a36,36,0,0,1-36-36V40A12,12,0,0,1,48,28H72V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h24A12,12,0,0,1,220,40ZM196,52H184v4a12,12,0,0,1-24,0V52H140v4a12,12,0,0,1-24,0V52H96v4a12,12,0,0,1-24,0V52H60V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Wge,[...r[1]||=[P(`path`,{d:`M208,40V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V40Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Gge,[...r[2]||=[P(`path`,{d:`M208,32H184V24a8,8,0,0,0-16,0v8H136V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48a8,8,0,0,0-8,8V200a32,32,0,0,0,32,32H184a32,32,0,0,0,32-32V40A8,8,0,0,0,208,32ZM120,56a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM80,72a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0v8A8,8,0,0,1,80,72Zm80,96H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm24-72a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Kge,[...r[3]||=[P(`path`,{d:`M166,128a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,128Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12ZM214,40V200a30,30,0,0,1-30,30H72a30,30,0,0,1-30-30V40a6,6,0,0,1,6-6H74V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h26A6,6,0,0,1,214,40Zm-12,6H182V56a6,6,0,0,1-12,0V46H134V56a6,6,0,0,1-12,0V46H86V56a6,6,0,0,1-12,0V46H54V200a18,18,0,0,0,18,18H184a18,18,0,0,0,18-18Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,qge,[...r[4]||=[P(`path`,{d:`M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Jge,[...r[5]||=[P(`path`,{d:`M164,128a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,128Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8ZM212,40V200a28,28,0,0,1-28,28H72a28,28,0,0,1-28-28V40a4,4,0,0,1,4-4H76V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h28A4,4,0,0,1,212,40Zm-8,4H180V56a4,4,0,0,1-8,0V44H132V56a4,4,0,0,1-8,0V44H84V56a4,4,0,0,1-8,0V44H52V200a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20Z`},null,-1)]])):I(``,!0)],16))}})})),Zge,Qge=s((()=>{Xge(),Zge=Yge})),$ge,e_e,t_e,n_e,r_e,i_e,a_e,o_e=s((()=>{Ls(),B(),$ge={key:0},e_e={key:1},t_e={key:2},n_e={key:3},r_e={key:4},i_e={key:5},a_e=k({name:`ScalarIconPackage`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,$ge,[...r[0]||=[P(`path`,{d:`M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,178.57,87.73l-72-39.42Zm0,78.83L56,76,81.56,62l72,39.41ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l24-13.13V152a12,12,0,0,0,24,0V109.92l24-13.13v76.65Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,e_e,[...r[1]||=[P(`path`,{d:`M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.18a8,8,0,0,1-4.16-7V80.18a8,8,0,0,1,.7-3.25Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,t_e,[...r[2]||=[P(`path`,{d:`M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.35,44L178.57,92.29l-80.35-44Zm0,88L47.65,76,81.56,57.43l80.35,44Zm88,55.85h0l-80,43.79V133.83l32-17.51V152a8,8,0,0,0,16,0V107.56l32-17.51v85.76Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,n_e,[...r[3]||=[P(`path`,{d:`M222.72,67.91l-88-48.18a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.91ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,178.57,94.57,94.05,48.31ZM122,223,39,177.57a2,2,0,0,1-1-1.75V86.66l84,46ZM43.49,76,81.56,55.15l84.51,46.26L128,122.24ZM218,175.82a2,2,0,0,1-1,1.75h0L134,223V132.64l36-19.71V152a6,6,0,0,0,12,0V106.37l36-19.71Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,r_e,[...r[4]||=[P(`path`,{d:`M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,i_e,[...r[5]||=[P(`path`,{d:`M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,178.5,96.89a4,4,0,0,0-.58-.4l-88-48.18Zm1.92,96L39.33,76,81.56,52.87l88.67,48.54Zm-89.92,54.8a4,4,0,0,1-2.08-3.5V83.29l88,48.16v94.91Zm179.84,0h0l-85.92,47V131.45l40-21.89V152a4,4,0,0,0,8,0V105.18l40-21.89v92.53A4,4,0,0,1,217.92,179.32Z`},null,-1)]])):I(``,!0)],16))}})})),s_e,c_e=s((()=>{o_e(),s_e=a_e})),l_e,u_e,d_e,f_e,p_e,m_e,h_e,g_e=s((()=>{Ls(),B(),l_e={key:0},u_e={key:1},d_e={key:2},f_e={key:3},p_e={key:4},m_e={key:5},h_e=k({name:`ScalarIconPencilSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,l_e,[...r[0]||=[P(`path`,{d:`M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,u_e,[...r[1]||=[P(`path`,{d:`M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,d_e,[...r[2]||=[P(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,f_e,[...r[3]||=[P(`path`,{d:`M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,p_e,[...r[4]||=[P(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,m_e,[...r[5]||=[P(`path`,{d:`M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z`},null,-1)]])):I(``,!0)],16))}})})),__e,v_e=s((()=>{g_e(),__e=h_e})),y_e,b_e,x_e,S_e,C_e,w_e,T_e,E_e=s((()=>{Ls(),B(),y_e={key:0},b_e={key:1},x_e={key:2},S_e={key:3},C_e={key:4},w_e={key:5},T_e=k({name:`ScalarIconPlay`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,y_e,[...r[0]||=[P(`path`,{d:`M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,b_e,[...r[1]||=[P(`path`,{d:`M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,x_e,[...r[2]||=[P(`path`,{d:`M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,S_e,[...r[3]||=[P(`path`,{d:`M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,C_e,[...r[4]||=[P(`path`,{d:`M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,w_e,[...r[5]||=[P(`path`,{d:`M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z`},null,-1)]])):I(``,!0)],16))}})})),D_e,O_e=s((()=>{E_e(),D_e=T_e})),k_e,A_e,j_e,M_e,N_e,P_e,F_e,I_e=s((()=>{Ls(),B(),k_e={key:0},A_e={key:1},j_e={key:2},M_e={key:3},N_e={key:4},P_e={key:5},F_e=k({name:`ScalarIconPlugsConnected`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,k_e,[...r[0]||=[P(`path`,{d:`M240.49,15.51a12,12,0,0,0-17,0L173.94,65.09l-2.54-2.55a36.05,36.05,0,0,0-50.91,0L100,83l-3.51-3.52a12,12,0,0,0-17,17L83,100,62.54,120.49a36,36,0,0,0,0,50.91l2.55,2.54L15.51,223.51a12,12,0,0,0,17,17l49.57-49.58,2.54,2.55a36.06,36.06,0,0,0,50.91,0L156,173l3.51,3.52a12,12,0,0,0,17-17L173,156l20.49-20.49a36,36,0,0,0,0-50.91l-2.55-2.54,49.58-49.57A12,12,0,0,0,240.49,15.51Zm-121.95,161a12,12,0,0,1-17,0L79.51,154.43a12,12,0,0,1,0-17L100,117l39,39Zm58-57.95h0L156,139l-39-39,20.49-20.49a12,12,0,0,1,17,0l22.06,22.06a12,12,0,0,1,0,17ZM85.27,33.37a12,12,0,0,1,21.46-10.74l8,16A12,12,0,1,1,93.27,49.37Zm-68,57.26a12,12,0,0,1,16.1-5.36l16,8a12,12,0,1,1-10.74,21.46l-16-8A12,12,0,0,1,17.27,90.63Zm221.46,74.74a12,12,0,0,1-16.1,5.36l-16-8a12,12,0,0,1,10.74-21.46l16,8A12,12,0,0,1,238.73,165.37Zm-68,57.26a12,12,0,1,1-21.46,10.74l-8-16a12,12,0,0,1,21.46-10.74Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,A_e,[...r[1]||=[P(`path`,{d:`M185,127,127,185a24,24,0,0,1-33.94,0L71,162.91A24,24,0,0,1,71,129L129,71a24,24,0,0,1,33.94,0L185,93.09A24,24,0,0,1,185,127Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32.06,32.06,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94h0L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22a16,16,0,0,1,0,22.63ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,j_e,[...r[2]||=[P(`path`,{d:`M88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM29,103.43l20,8A8,8,0,1,0,55,96.57l-20-8A8,8,0,0,0,29,103.43ZM227,152.57l-20-8A8,8,0,1,0,201,159.43l20,8A8,8,0,0,0,227,152.57ZM159.43,201A8,8,0,0,0,144.57,207l8,20A8,8,0,1,0,167.43,221ZM237.91,18.52a8,8,0,0,0-11.5-.18L174,70.75l-5.38-5.38a32,32,0,0,0-45.28,0L106.14,82.54a4,4,0,0,0,0,5.66l61.7,61.66a4,4,0,0,0,5.66,0l16.74-16.74a32.76,32.76,0,0,0,9.81-22.52,31.82,31.82,0,0,0-9.37-23.17l-5.38-5.37,52.2-52.17A8.22,8.22,0,0,0,237.91,18.52ZM85.64,90.34a8,8,0,0,0-11.49.18,8.22,8.22,0,0,0,.41,11.37L80.67,108,65.34,123.31A31.82,31.82,0,0,0,56,146.47,32.75,32.75,0,0,0,65.77,169l5,4.94L18.49,226.13a8.21,8.21,0,0,0-.61,11.1,8,8,0,0,0,11.72.43L82,185.25l5.37,5.38a32.1,32.1,0,0,0,45.29,0L148,175.31l6.34,6.35a8,8,0,0,0,11.32-11.32Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,M_e,[...r[3]||=[P(`path`,{d:`M236.24,19.76a6,6,0,0,0-8.48,0L173.94,73.57l-6.79-6.78a30,30,0,0,0-42.42,0L100,91.51l-7.76-7.75a6,6,0,0,0-8.48,8.48L91.51,100,66.79,124.73a30,30,0,0,0,0,42.42l6.78,6.79L19.76,227.76a6,6,0,1,0,8.48,8.48l53.82-53.81,6.79,6.78a30,30,0,0,0,42.42,0L156,164.49l7.76,7.75a6,6,0,0,0,8.48-8.48L164.49,156l24.72-24.73a30,30,0,0,0,0-42.42l-6.78-6.79,53.81-53.82A6,6,0,0,0,236.24,19.76Zm-113.45,161a18,18,0,0,1-25.46,0L75.27,158.67a18,18,0,0,1,0-25.46L100,108.49,147.51,156Zm57.94-57.94L156,147.51,108.49,100l24.72-24.73a18,18,0,0,1,25.46,0l22.06,22.06a18,18,0,0,1,0,25.46ZM90.43,34.23a6,6,0,0,1,11.14-4.46l8,20a6,6,0,1,1-11.14,4.46Zm-64,59.54a6,6,0,0,1,7.8-3.34l20,8a6,6,0,1,1-4.46,11.14l-20-8A6,6,0,0,1,26.43,93.77Zm203.14,68.46a6,6,0,0,1-7.8,3.34l-20-8a6,6,0,0,1,4.46-11.14l20,8A6,6,0,0,1,229.57,162.23Zm-64,59.54a6,6,0,1,1-11.14,4.46l-8-20a6,6,0,0,1,11.14-4.46Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,N_e,[...r[4]||=[P(`path`,{d:`M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32,32,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22A16,16,0,0,1,179.31,121.37ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,P_e,[...r[5]||=[P(`path`,{d:`M234.83,21.17a4,4,0,0,0-5.66,0L173.94,76.4l-8.2-8.2a28,28,0,0,0-39.6,0L100,94.34l-9.17-9.17a4,4,0,0,0-5.66,5.66L94.34,100,68.2,126.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L82.06,179.6l8.2,8.2a28,28,0,0,0,39.6,0L156,161.66l9.17,9.17a4,4,0,0,0,5.66-5.66L161.66,156l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,55.23-55.23A4,4,0,0,0,234.83,21.17Zm-110.63,161a20,20,0,0,1-28.28,0L73.86,160.08a20,20,0,0,1,0-28.28L100,105.66,150.34,156Zm57.94-57.94L156,150.34,105.66,100,131.8,73.86a20,20,0,0,1,28.28,0l22.06,22.06A20,20,0,0,1,182.14,124.2ZM92.29,33.49a4,4,0,1,1,7.42-3l8,20a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,104,56a4,4,0,0,1-3.71-2.51Zm-64,61a4,4,0,0,1,5.2-2.22l20,8A4,4,0,0,1,52,108a3.91,3.91,0,0,1-1.49-.29l-20-8A4,4,0,0,1,28.29,94.51Zm199.42,67A4,4,0,0,1,224,164a3.91,3.91,0,0,1-1.49-.29l-20-8a4,4,0,1,1,3-7.42l20,8A4,4,0,0,1,227.71,161.49Zm-64,61a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,160,228a4,4,0,0,1-3.71-2.51l-8-20a4,4,0,0,1,7.42-3Z`},null,-1)]])):I(``,!0)],16))}})})),L_e,R_e=s((()=>{I_e(),L_e=F_e})),z_e,B_e,V_e,H_e,U_e,W_e,G_e,K_e=s((()=>{Ls(),B(),z_e={key:0},B_e={key:1},V_e={key:2},H_e={key:3},U_e={key:4},W_e={key:5},G_e=k({name:`ScalarIconPlus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,z_e,[...r[0]||=[P(`path`,{d:`M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,B_e,[...r[1]||=[P(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,V_e,[...r[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,H_e,[...r[3]||=[P(`path`,{d:`M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,U_e,[...r[4]||=[P(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,W_e,[...r[5]||=[P(`path`,{d:`M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z`},null,-1)]])):I(``,!0)],16))}})})),qs,q_e=s((()=>{K_e(),qs=G_e})),J_e,Y_e,X_e,Z_e,Q_e,$_e,eve,tve=s((()=>{Ls(),B(),J_e={key:0},Y_e={key:1},X_e={key:2},Z_e={key:3},Q_e={key:4},$_e={key:5},eve=k({name:`ScalarIconScroll`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,J_e,[...r[0]||=[P(`path`,{d:`M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Y_e,[...r[1]||=[P(`path`,{d:`M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,X_e,[...r[2]||=[P(`path`,{d:`M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Z_e,[...r[3]||=[P(`path`,{d:`M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Q_e,[...r[4]||=[P(`path`,{d:`M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,$_e,[...r[5]||=[P(`path`,{d:`M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z`},null,-1)]])):I(``,!0)],16))}})})),nve,rve=s((()=>{tve(),nve=eve})),ive,ave,ove,sve,cve,lve,uve,dve=s((()=>{Ls(),B(),ive={key:0},ave={key:1},ove={key:2},sve={key:3},cve={key:4},lve={key:5},uve=k({name:`ScalarIconSparkle`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,ive,[...r[0]||=[P(`path`,{d:`M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,ave,[...r[1]||=[P(`path`,{d:`M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,ove,[...r[2]||=[P(`path`,{d:`M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,sve,[...r[3]||=[P(`path`,{d:`M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,cve,[...r[4]||=[P(`path`,{d:`M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,lve,[...r[5]||=[P(`path`,{d:`M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z`},null,-1)]])):I(``,!0)],16))}})})),Js,fve=s((()=>{dve(),Js=uve})),pve,mve,hve,gve,_ve,vve,yve,bve=s((()=>{Ls(),B(),pve={key:0},mve={key:1},hve={key:2},gve={key:3},_ve={key:4},vve={key:5},yve=k({name:`ScalarIconSwap`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,pve,[...r[0]||=[P(`path`,{d:`M228,48V152a20,20,0,0,1-20,20H112.92a12,12,0,0,1-17.41,16.49l-20-20a12,12,0,0,1,0-17l20-20A12,12,0,0,1,112.92,148H204V52H100a12,12,0,0,1-24,0V48A20,20,0,0,1,96,28H208A20,20,0,0,1,228,48ZM168,192a12,12,0,0,0-12,12H52V108h91.08a12,12,0,0,0,17.41,16.49l20-20a12,12,0,0,0,0-17l-20-20A12,12,0,0,0,143.08,84H48a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20H160a20,20,0,0,0,20-20v-4A12,12,0,0,0,168,192Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,mve,[...r[1]||=[P(`path`,{d:`M216,48V152a8,8,0,0,1-8,8H168v48a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H88V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,hve,[...r[2]||=[P(`path`,{d:`M224,48V152a16,16,0,0,1-16,16H112v16a8,8,0,0,1-13.66,5.66l-24-24a8,8,0,0,1,0-11.32l24-24A8,8,0,0,1,112,136v16h96V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104h96v16a8,8,0,0,0,13.66,5.66l24-24a8,8,0,0,0,0-11.32l-24-24A8,8,0,0,0,144,72V88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,gve,[...r[3]||=[P(`path`,{d:`M222,48V152a14,14,0,0,1-14,14H94.49l13.75,13.76a6,6,0,1,1-8.48,8.48l-24-24a6,6,0,0,1,0-8.48l24-24a6,6,0,0,1,8.48,8.48L94.49,154H208a2,2,0,0,0,2-2V48a2,2,0,0,0-2-2H96a2,2,0,0,0-2,2v8a6,6,0,0,1-12,0V48A14,14,0,0,1,96,34H208A14,14,0,0,1,222,48ZM168,194a6,6,0,0,0-6,6v8a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V104a2,2,0,0,1,2-2H161.51l-13.75,13.76a6,6,0,1,0,8.48,8.48l24-24a6,6,0,0,0,0-8.48l-24-24a6,6,0,0,0-8.48,8.48L161.51,90H48a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14H160a14,14,0,0,0,14-14v-8A6,6,0,0,0,168,194Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,_ve,[...r[4]||=[P(`path`,{d:`M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,vve,[...r[5]||=[P(`path`,{d:`M220,48V152a12,12,0,0,1-12,12H89.66l17.17,17.17a4,4,0,0,1-5.66,5.66l-24-24a4,4,0,0,1,0-5.66l24-24a4,4,0,0,1,5.66,5.66L89.66,156H208a4,4,0,0,0,4-4V48a4,4,0,0,0-4-4H96a4,4,0,0,0-4,4v8a4,4,0,0,1-8,0V48A12,12,0,0,1,96,36H208A12,12,0,0,1,220,48ZM168,196a4,4,0,0,0-4,4v8a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V104a4,4,0,0,1,4-4H166.34l-17.17,17.17a4,4,0,0,0,5.66,5.66l24-24a4,4,0,0,0,0-5.66l-24-24a4,4,0,0,0-5.66,5.66L166.34,92H48a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12H160a12,12,0,0,0,12-12v-8A4,4,0,0,0,168,196Z`},null,-1)]])):I(``,!0)],16))}})})),xve,Sve=s((()=>{bve(),xve=yve})),Cve,wve,Tve,Eve,Dve,Ove,kve,Ave=s((()=>{Ls(),B(),Cve={key:0},wve={key:1},Tve={key:2},Eve={key:3},Dve={key:4},Ove={key:5},kve=k({name:`ScalarIconTag`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Cve,[...r[0]||=[P(`path`,{d:`M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,wve,[...r[1]||=[P(`path`,{d:`M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Tve,[...r[2]||=[P(`path`,{d:`M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Eve,[...r[3]||=[P(`path`,{d:`M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Dve,[...r[4]||=[P(`path`,{d:`M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Ove,[...r[5]||=[P(`path`,{d:`M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z`},null,-1)]])):I(``,!0)],16))}})})),jve,Mve=s((()=>{Ave(),jve=kve})),Nve,Pve,Fve,Ive,Lve,Rve,zve,Bve=s((()=>{Ls(),B(),Nve={key:0},Pve={key:1},Fve={key:2},Ive={key:3},Lve={key:4},Rve={key:5},zve=k({name:`ScalarIconTerminalWindow`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Nve,[...r[0]||=[P(`path`,{d:`M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Pve,[...r[1]||=[P(`path`,{d:`M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Fve,[...r[2]||=[P(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Ive,[...r[3]||=[P(`path`,{d:`M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Lve,[...r[4]||=[P(`path`,{d:`M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Rve,[...r[5]||=[P(`path`,{d:`M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z`},null,-1)]])):I(``,!0)],16))}})})),Vve,Hve=s((()=>{Bve(),Vve=zve})),Uve,Wve,Gve,Kve,qve,Jve,Yve,Xve=s((()=>{Ls(),B(),Uve={key:0},Wve={key:1},Gve={key:2},Kve={key:3},qve={key:4},Jve={key:5},Yve=k({name:`ScalarIconTextAlignLeft`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Uve,[...r[0]||=[P(`path`,{d:`M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,52H168a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm176,16H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm-48,40H40a12,12,0,0,0,0,24H168a12,12,0,0,0,0-24Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Wve,[...r[1]||=[P(`path`,{d:`M216,64V168a16,16,0,0,1-16,16H40V64Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Gve,[...r[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM160,184H64a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm32-32H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16ZM56,112a8,8,0,0,1,8-8h96a8,8,0,0,1,0,16H64A8,8,0,0,1,56,112ZM192,88H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Kve,[...r[3]||=[P(`path`,{d:`M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,46H168a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm176,28H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm-48,40H40a6,6,0,0,0,0,12H168a6,6,0,0,0,0-12Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,qve,[...r[4]||=[P(`path`,{d:`M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Jve,[...r[5]||=[P(`path`,{d:`M36,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H40A4,4,0,0,1,36,64Zm4,44H168a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Zm176,32H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm-48,40H40a4,4,0,0,0,0,8H168a4,4,0,0,0,0-8Z`},null,-1)]])):I(``,!0)],16))}})})),Zve,Qve=s((()=>{Xve(),Zve=Yve})),$ve,eye,tye,nye,rye,iye,aye,oye=s((()=>{Ls(),B(),$ve={key:0},eye={key:1},tye={key:2},nye={key:3},rye={key:4},iye={key:5},aye=k({name:`ScalarIconTrash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,$ve,[...r[0]||=[P(`path`,{d:`M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,eye,[...r[1]||=[P(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,tye,[...r[2]||=[P(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,nye,[...r[3]||=[P(`path`,{d:`M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,rye,[...r[4]||=[P(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,iye,[...r[5]||=[P(`path`,{d:`M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z`},null,-1)]])):I(``,!0)],16))}})})),Ys,sye=s((()=>{oye(),Ys=aye})),cye,lye,uye,dye,fye,pye,mye,hye=s((()=>{Ls(),B(),cye={key:0},lye={key:1},uye={key:2},dye={key:3},fye={key:4},pye={key:5},mye=k({name:`ScalarIconUpload`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,cye,[...r[0]||=[P(`path`,{d:`M188,184a16,16,0,1,1,16-16A16,16,0,0,1,188,184Zm36-68H180a12,12,0,0,0,0,24h40v56H36V140H76a12,12,0,0,0,0-24H32a20,20,0,0,0-20,20v64a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V136A20,20,0,0,0,224,116ZM88.49,80.49,116,53v75a12,12,0,0,0,24,0V53l27.51,27.52a12,12,0,1,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,1,0,17,17Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,lye,[...r[1]||=[P(`path`,{d:`M232,136v64a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V136a8,8,0,0,1,8-8H224A8,8,0,0,1,232,136Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,uye,[...r[2]||=[P(`path`,{d:`M74.34,77.66a8,8,0,0,1,0-11.32l48-48a8,8,0,0,1,11.32,0l48,48a8,8,0,0,1-11.32,11.32L136,43.31V128a8,8,0,0,1-16,0V43.31L85.66,77.66A8,8,0,0,1,74.34,77.66ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16h68a4,4,0,0,1,4,4v3.46c0,13.45,11,24.79,24.46,24.54A24,24,0,0,0,152,128v-4a4,4,0,0,1,4-4h68A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,dye,[...r[3]||=[P(`path`,{d:`M238,136v64a14,14,0,0,1-14,14H32a14,14,0,0,1-14-14V136a14,14,0,0,1,14-14H80a6,6,0,0,1,0,12H32a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H224a2,2,0,0,0,2-2V136a2,2,0,0,0-2-2H176a6,6,0,0,1,0-12h48A14,14,0,0,1,238,136ZM84.24,76.24,122,38.49V128a6,6,0,0,0,12,0V38.49l37.76,37.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48ZM198,168a10,10,0,1,0-10,10A10,10,0,0,0,198,168Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,fye,[...r[4]||=[P(`path`,{d:`M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,pye,[...r[5]||=[P(`path`,{d:`M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H80a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H176a4,4,0,0,1,0-8h48A12,12,0,0,1,236,136ZM82.83,74.83,124,33.66V128a4,4,0,0,0,8,0V33.66l41.17,41.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z`},null,-1)]])):I(``,!0)],16))}})})),gye,_ye=s((()=>{hye(),gye=mye})),vye,yye,bye,xye,Sye,Cye,wye,Tye=s((()=>{Ls(),B(),vye={key:0},yye={key:1},bye={key:2},xye={key:3},Sye={key:4},Cye={key:5},wye=k({name:`ScalarIconWarning`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,vye,[...r[0]||=[P(`path`,{d:`M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,yye,[...r[1]||=[P(`path`,{d:`M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,bye,[...r[2]||=[P(`path`,{d:`M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,xye,[...r[3]||=[P(`path`,{d:`M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Sye,[...r[4]||=[P(`path`,{d:`M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Cye,[...r[5]||=[P(`path`,{d:`M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z`},null,-1)]])):I(``,!0)],16))}})})),Eye,Dye=s((()=>{Tye(),Eye=wye})),Oye,kye,Aye,jye,Mye,Nye,Pye,Fye=s((()=>{Ls(),B(),Oye={key:0},kye={key:1},Aye={key:2},jye={key:3},Mye={key:4},Nye={key:5},Pye=k({name:`ScalarIconWarningCircle`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Oye,[...r[0]||=[P(`path`,{d:`M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,kye,[...r[1]||=[P(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Aye,[...r[2]||=[P(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,jye,[...r[3]||=[P(`path`,{d:`M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Mye,[...r[4]||=[P(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Nye,[...r[5]||=[P(`path`,{d:`M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z`},null,-1)]])):I(``,!0)],16))}})})),Iye,Lye=s((()=>{Fye(),Iye=Pye})),Rye,zye,Bye,Vye,Hye,Uye,Wye,Gye=s((()=>{Ls(),B(),Rye={key:0},zye={key:1},Bye={key:2},Vye={key:3},Hye={key:4},Uye={key:5},Wye=k({name:`ScalarIconWarningOctagon`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Rye,[...r[0]||=[P(`path`,{d:`M116,132V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0ZM236,91.55v72.9a19.86,19.86,0,0,1-5.86,14.14l-51.55,51.55A19.85,19.85,0,0,1,164.45,236H91.55a19.85,19.85,0,0,1-14.14-5.86L25.86,178.59A19.86,19.86,0,0,1,20,164.45V91.55a19.86,19.86,0,0,1,5.86-14.14L77.41,25.86A19.85,19.85,0,0,1,91.55,20h72.9a19.85,19.85,0,0,1,14.14,5.86l51.55,51.55A19.86,19.86,0,0,1,236,91.55Zm-24,1.66L162.79,44H93.21L44,93.21v69.58L93.21,212h69.58L212,162.79ZM128,156a16,16,0,1,0,16,16A16,16,0,0,0,128,156Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,zye,[...r[1]||=[P(`path`,{d:`M224,91.55v72.9a8,8,0,0,1-2.34,5.66l-51.55,51.55a8,8,0,0,1-5.66,2.34H91.55a8,8,0,0,1-5.66-2.34L34.34,170.11A8,8,0,0,1,32,164.45V91.55a8,8,0,0,1,2.34-5.66L85.89,34.34A8,8,0,0,1,91.55,32h72.9a8,8,0,0,1,5.66,2.34l51.55,51.55A8,8,0,0,1,224,91.55Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Bye,[...r[2]||=[P(`path`,{d:`M227.31,80.23,175.77,28.69A16.13,16.13,0,0,0,164.45,24H91.55a16.13,16.13,0,0,0-11.32,4.69L28.69,80.23A16.13,16.13,0,0,0,24,91.55v72.9a16.13,16.13,0,0,0,4.69,11.32l51.54,51.54A16.13,16.13,0,0,0,91.55,232h72.9a16.13,16.13,0,0,0,11.32-4.69l51.54-51.54A16.13,16.13,0,0,0,232,164.45V91.55A16.13,16.13,0,0,0,227.31,80.23ZM120,80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Vye,[...r[3]||=[P(`path`,{d:`M122,136V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0ZM230,91.55v72.9a13.92,13.92,0,0,1-4.1,9.9L174.35,225.9a13.92,13.92,0,0,1-9.9,4.1H91.55a13.92,13.92,0,0,1-9.9-4.1L30.1,174.35a13.92,13.92,0,0,1-4.1-9.9V91.55a13.92,13.92,0,0,1,4.1-9.9L81.65,30.1a13.92,13.92,0,0,1,9.9-4.1h72.9a13.92,13.92,0,0,1,9.9,4.1L225.9,81.65A13.92,13.92,0,0,1,230,91.55Zm-12,0a2,2,0,0,0-.59-1.42L165.87,38.59a2,2,0,0,0-1.42-.59H91.55a2,2,0,0,0-1.41.59L38.58,90.13A2,2,0,0,0,38,91.55v72.9a2,2,0,0,0,.59,1.42l51.54,51.54a2,2,0,0,0,1.42.59h72.9a2,2,0,0,0,1.41-.59l51.56-51.54a2,2,0,0,0,.58-1.42ZM128,162a10,10,0,1,0,10,10A10,10,0,0,0,128,162Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Hye,[...r[4]||=[P(`path`,{d:`M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,Uye,[...r[5]||=[P(`path`,{d:`M124,136V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0ZM228,91.55v72.9a12,12,0,0,1-3.51,8.49l-51.55,51.55a12,12,0,0,1-8.49,3.51H91.55a12,12,0,0,1-8.49-3.51L31.51,172.94A12,12,0,0,1,28,164.45V91.55a12,12,0,0,1,3.51-8.49L83.06,31.51A12,12,0,0,1,91.55,28h72.9a12,12,0,0,1,8.49,3.51l51.55,51.55A12,12,0,0,1,228,91.55Zm-8,0a4,4,0,0,0-1.17-2.83L167.28,37.17A4.06,4.06,0,0,0,164.45,36H91.55a4.06,4.06,0,0,0-2.83,1.17L37.17,88.72A4,4,0,0,0,36,91.55v72.9a4,4,0,0,0,1.17,2.83l51.55,51.55A4.06,4.06,0,0,0,91.55,220h72.9a4.06,4.06,0,0,0,2.83-1.17l51.55-51.55a4,4,0,0,0,1.17-2.83ZM128,164a8,8,0,1,0,8,8A8,8,0,0,0,128,164Z`},null,-1)]])):I(``,!0)],16))}})})),Kye,qye=s((()=>{Gye(),Kye=Wye})),Jye,Yye,Xye,Zye,Qye,$ye,ebe,tbe=s((()=>{Ls(),B(),Jye={key:0},Yye={key:1},Xye={key:2},Zye={key:3},Qye={key:4},$ye={key:5},ebe=k({name:`ScalarIconWebhooksLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,Jye,[...r[0]||=[P(`path`,{d:`M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,Yye,[...r[1]||=[P(`path`,{d:`M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,Xye,[...r[2]||=[P(`path`,{d:`M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,Zye,[...r[3]||=[P(`path`,{d:`M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,Qye,[...r[4]||=[P(`path`,{d:`M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,$ye,[...r[5]||=[P(`path`,{d:`M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z`},null,-1)]])):I(``,!0)],16))}})})),Xs,nbe=s((()=>{tbe(),Xs=ebe})),rbe,ibe,abe,obe,sbe,cbe,lbe,ube=s((()=>{Ls(),B(),rbe={key:0},ibe={key:1},abe={key:2},obe={key:3},sbe={key:4},cbe={key:5},lbe=k({name:`ScalarIconX`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,rbe,[...r[0]||=[P(`path`,{d:`M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,ibe,[...r[1]||=[P(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,abe,[...r[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,obe,[...r[3]||=[P(`path`,{d:`M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,sbe,[...r[4]||=[P(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,cbe,[...r[5]||=[P(`path`,{d:`M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z`},null,-1)]])):I(``,!0)],16))}})})),Zs,dbe=s((()=>{ube(),Zs=lbe})),fbe,pbe,mbe,hbe,gbe,_be,vbe,ybe=s((()=>{Ls(),B(),fbe={key:0},pbe={key:1},mbe={key:2},hbe={key:3},gbe={key:4},_be={key:5},vbe=k({name:`ScalarIconXCircle`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Is(e);return(e,r)=>(j(),M(`svg`,oi({fill:`currentColor`,viewBox:`0 0 256 256`,xmlns:`http://www.w3.org/2000/svg`},D(t)),[A(e.$slots,`default`),D(n)===`bold`?(j(),M(`g`,fbe,[...r[0]||=[P(`path`,{d:`M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z`},null,-1)]])):D(n)===`duotone`?(j(),M(`g`,pbe,[...r[1]||=[P(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z`},null,-1)]])):D(n)===`fill`?(j(),M(`g`,mbe,[...r[2]||=[P(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):D(n)===`light`?(j(),M(`g`,hbe,[...r[3]||=[P(`path`,{d:`M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z`},null,-1)]])):D(n)===`regular`?(j(),M(`g`,gbe,[...r[4]||=[P(`path`,{d:`M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z`},null,-1)]])):D(n)===`thin`?(j(),M(`g`,_be,[...r[5]||=[P(`path`,{d:`M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z`},null,-1)]])):I(``,!0)],16))}})})),bbe,xbe=s((()=>{ybe(),bbe=vbe})),Qs=s((()=>{$ce(),lle(),yle(),kle(),zle(),Yle(),iue(),mue(),wue(),Pue(),Wue(),ede(),lde(),vde(),Ode(),Rde(),qde(),rfe(),ffe(),Sfe(),Mfe(),Hfe(),Qfe(),cpe(),vpe(),Ope(),Rpe(),Jpe(),ime(),mme(),wme(),Pme(),Wme(),ehe(),uhe(),bhe(),khe(),Rhe(),Jhe(),rge(),pge(),Cge(),Mge(),Hge(),Qge(),c_e(),v_e(),O_e(),R_e(),q_e(),rve(),fve(),Sve(),Mve(),Hve(),Qve(),sye(),_ye(),Dye(),Lye(),qye(),nbe(),dbe(),xbe()})),$s,Sbe,ec=s((()=>{$s=[`delete`,`get`,`head`,`options`,`patch`,`post`,`put`,`query`,`trace`],Sbe=Object.freeze(new Set($s))})),Cbe,tc,nc=s((()=>{ec(),Cbe=Sbe,tc=e=>e&&typeof e==`string`?Cbe.has(e.toLowerCase()):!1})),rc,ic=s((()=>{rc={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:/(?<!:)\/{2,}/g,VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/,TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g}}));function wbe(e){return rc.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,``)}`}var Tbe=s((()=>{ic()})),ac,oc=s((()=>{ic(),ac=e=>!(rc.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e))})),sc,cc,lc,uc=s((()=>{ic(),Tbe(),oc(),sc=(...e)=>{let t={};e.forEach(e=>{let n=Array.from(e.keys());new Set(n).forEach(n=>{let r=e.getAll(n),i=r.length>1?r:r[0]??``;t[n]=i})});let n=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>n.append(e,t)):n.append(e,t)}),n},cc=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(rc.MULTIPLE_SLASHES,`/`):t.trim(),lc=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!ac(e)||typeof window<`u`)){let i=e;r||(i=ac(e)?cc(window.location.origin,e):wbe(e));let[a=``,o]=i.split(`?`),s=new URLSearchParams(o||``),[c=``,l]=t.split(`?`),u=new URLSearchParams(l||``),d=e===t?a:cc(a,c),f=sc(s,u,n).toString();return f?`${d}?${f}`:d}return t?cc(e,t):``}})),dc,fc=s((()=>{uc(),dc=(e,{baseUrl:t,basePath:n}={})=>{if(typeof window>`u`&&!t)return e;try{return new URL(e),e}catch{}try{let r=t||window.location.href;if(n){let e=t?new URL(t).origin:window.location.origin;r=cc(e,n+`/`)}return new URL(e,r).toString()}catch{return e}}})),Ebe,Dbe,Obe=s((()=>{Fs(),B(),Qs(),nc(),fc(),Ebe=[`href`],Dbe=k({__name:`OpenApiClientButton`,props:{buttonSource:{},source:{default:`api-reference`},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){let{translate:t}=Ps(),n=z(()=>{let t=e.url??(typeof window<`u`?window.location.href:void 0);if(!t)return;let n=dc(t);if(!n?.length)return;let r=new URL(e.isDevelopment?`http://localhost:5065`:`https://client.scalar.com`);if(r.searchParams.set(`url`,n),e.operationPath?.length&&e.operationMethod?.length&&(r.searchParams.set(`operation_path`,e.operationPath),r.searchParams.set(`operation_method`,e.operationMethod===e.operationMethod.toUpperCase()&&tc(e.operationMethod)?e.operationMethod.toLowerCase():e.operationMethod)),e.integration!==null&&r.searchParams.set(`integration`,e.integration??`vue`),r.searchParams.set(`utm_source`,`api-reference`),r.searchParams.set(`utm_medium`,`button`),r.searchParams.set(`utm_campaign`,e.buttonSource),e.source===`gitbook`){r.searchParams.set(`utm_source`,`gitbook`);let e=document.querySelector(`img.dark\\:block[alt='Logo']`),t=document.querySelector(`img.dark\\:hidden[alt='Logo']`);e&&e instanceof HTMLImageElement&&r.searchParams.set(`dark_logo`,encodeURIComponent(e.src)),t&&t instanceof HTMLImageElement&&r.searchParams.set(`light_logo`,encodeURIComponent(t.src))}return r.toString()});return(e,r)=>n.value?(j(),M(`a`,{key:0,class:`open-api-client-button`,href:n.value,target:`_blank`},[R(D(Rs),{class:`size-3`,weight:`regular`}),F(T(D(t)(`apiClient.openApiClientButton.openAPIClient`)),1)],8,Ebe)):I(``,!0)}})})),pc,kbe=s((()=>{Ds(),Obe(),pc=Es(Dbe,[[`__scopeId`,`data-v-746e7aef`]])})),mc,Abe=s((()=>{mc=e=>`getSetCookie`in e&&typeof e.getSetCookie==`function`?e.getSetCookie():[]})),hc,jbe,Mbe=s((()=>{hc=(e,t)=>{for(let n of t)if(n.responseBody){for(let t of n.responseBody)if(jbe(e,t.mimeTypes))return t}},jbe=(e,t)=>{let n=e.toLowerCase();for(let e of t){let t=e.toLowerCase();if(t===n)return!0;if(t.includes(`*`)){let e=t.replace(/[.+?^${}()|[\]\\]/g,`\\$&`).replace(/\*/g,`.*`);if(RegExp(`^${e}$`).test(n))return!0}}return!1}})),gc,Nbe,Pbe,_c,vc,yc=s((()=>{gc=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,Nbe=e=>`"${e.replaceAll(/(["\\])/g,`\\$1`)}"`,Pbe=e=>{let t=e.indexOf(`=`);if(t===-1)return null;let n=e.slice(0,t).trim().toLowerCase();if(!n||!gc.test(n))return null;let r=e.slice(t+1).trim();return r?r.startsWith(`"`)&&r.endsWith(`"`)&&r.length>=2?[n,r.slice(1,-1).replaceAll(/\\(["\\])/g,`$1`)]:[n,r]:null},_c=e=>{let[t=``,n=``]=e.split(`/`,2),r=t.trim().toLowerCase(),i=n.trim().toLowerCase();if(!r||!i||!gc.test(r)||!gc.test(i))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${i}`,type:r,subtype:i}},vc=(e=`text/plain`)=>{let[t=``,...n]=e.split(`;`),r;try{r=_c(t)}catch{r=_c(`text/plain`)}let{essence:i,type:a,subtype:o}=r,s=new Map;return n.forEach(e=>{let t=Pbe(e);if(!t)return;let[n,r]=t;s.set(n,r)}),{essence:i,type:a,subtype:o,parameters:s,toString:()=>{let e=Array.from(s.entries()).map(([e,t])=>`${e}=${gc.test(t)?t:Nbe(t)}`);return e.length?`${i}; ${e.join(`; `)}`:i}}}})),bc,xc,Fbe=s((()=>{yc(),bc=e=>e??`text/plain;charset=UTF-8`,xc=e=>vc(bc(e))})),Sc,Ibe,Cc,wc,Lbe=s((()=>{yc(),Sc=8388608,Ibe=8,Cc=e=>Uint8Array.from(e,e=>e.charCodeAt(0)),wc=(e,t,n=0,r=``)=>{let i=vc(e).parameters.get(`boundary`);if(!i||!/^[0-9A-Za-z'()+_,\-./:=? ]{1,70}$/.test(i)||i.endsWith(` `))throw Error(`Multipart response requires a valid boundary parameter.`);if(n>=Ibe)throw Error(`Multipart nesting exceeds the display limit.`);let a=new TextEncoder().encode(`--${i}`),o=new Uint8Array(1024),s=0,c=0,l=0,u=!1,d=!1,f=0,p=e=>{if(e.length>Sc)throw Error(`Multipart part exceeds the 8 MiB display limit.`);let i=e.startsWith(`\r
+`)?0:e.indexOf(`\r
+\r
+`);if(i<0)throw Error(`Multipart part is missing its header separator.`);let a=e.slice(0,i),o=e.slice(i+(i===0?2:4)),s=a.replace(/\r\n[ \t]+/g,` `).match(/^content-type:\s*(.+)$/im)?.[1]?.trim()??`text/plain`,c=vc(s);f++;let l=`${r}${f}`;if(t(`Part ${l}\n${a?`${a}\n\n`:`
+`}`),c.type===`multipart`){let e=wc(s,t,n+1,`${l}.`);e.push(Cc(o)),e.finish()}else if(c.type===`text`||/(?:json|xml)$/.test(c.subtype)){let e=new TextDecoder(c.parameters.get(`charset`)??`utf-8`).decode(Cc(o)),n=e;try{n=JSON.stringify(JSON.parse(e),null,2)}catch{}t(`${n}\n`)}else t(`[Binary part: ${o.length} bytes, base64]\n${btoa(o)}\n`)},m=e=>{let t=[];for(let n=0;n<e.length;n+=8192)t.push(String.fromCharCode(...e.subarray(n,n+8192)));return t.join(``)},h=e=>{for(;!d&&c+a.length<=s;){let t=c;if(!((t===0||o[t-2]===13&&o[t-1]===10)&&a.every((e,n)=>o[t+n]===e))){c++;continue}let n=t+a.length;for(l=Math.max(l,n);l+1<s&&(o[l]!==13||o[l+1]!==10);)l++;let r=l+1<s?l:-1;if(r<0&&!e)break;let i=m(o.subarray(n,r<0?s:r)),f=/^--[ \t]*$/.test(i);if(!f&&!/^[ \t]*$/.test(i)){c=n,l=0;continue}u&&p(m(o.subarray(0,Math.max(0,t-2)))),u=!0;let h=r<0?s:r+2;o.copyWithin(0,h,s),s-=h,d=f,c=0,l=0}if(s>Sc+a.length+6)throw Error(`Multipart part exceeds the 8 MiB display limit.`);if(e&&!d)throw Error(`Multipart response ended before its closing boundary.`)};return{push:e=>{for(let t=0;t<e.length&&!d;t+=65536){let n=e.subarray(t,t+65536);if(s+n.length>o.length){let e=new Uint8Array(Math.max(o.length*2,s+n.length));e.set(o.subarray(0,s)),o=e}o.set(n,s),s+=n.length,h(!1)}},finish:()=>h(!0)}}})),Tc,Ec,Dc=s((()=>{yc(),Tc=e=>{let{essence:t,subtype:n,type:r}=vc(e??``);return t===`text/event-stream`?`sse`:t===`application/json-seq`||n.endsWith(`+json-seq`)?`json-seq`:[`application/jsonl`,`application/x-ndjson`,`application/json-lines`].includes(t)?`json-lines`:r===`multipart`&&(n===`mixed`||n===`x-mixed-replace`)?`multipart`:void 0},Ec=e=>Tc(e)!==void 0})),Oc,Rbe=s((()=>{Oc=e=>{let t=0;for(let n of e){let e=n.charCodeAt(0);n.length===2?t+=4:t+=e<=127?1:e<=2047?2:3}return t}})),kc,zbe,Bbe,Vbe=s((()=>{Lbe(),yc(),Dc(),Rbe(),kc=e=>{if(!Ec(e))return;let{essence:t,type:n,subtype:r}=vc(e);return t===`text/event-stream`?`text`:[`application/jsonl`,`application/x-ndjson`,`application/json-lines`].includes(t)?`json-lines`:r===`json-seq`||r.endsWith(`+json-seq`)?`json-seq`:n===`multipart`?`multipart`:void 0},zbe=8388608,Bbe=(e,t)=>{let n=kc(e);if(n===`multipart`)return wc(e,t);let r=new TextDecoder(`utf-8`,{fatal:n!==`text`&&n!==void 0}),i=``,a=0,o=!1,s=0,c=!1,l=!1,u=()=>{let e=i;if(i=``,a=0,s=0,c=!1,l=!1,!e.trim())return;let r;try{let t=JSON.parse(e);if(n===`json-seq`&&typeof t!=`object`&&typeof t!=`string`&&!/\s$/.test(e))throw Error(`Truncated primitive`);if(n===`json-seq`&&t===null&&!/\s$/.test(e))throw Error(`Truncated null`);r=`${JSON.stringify(t,null,2)}\n`}catch{r=`[Invalid JSON record]\n${e.trim()}\n`}t(r)},d=e=>{if(n!==`json-lines`&&n!==`json-seq`)t(e);else for(let t of e)if(n===`json-seq`&&t===``)u(),o=!0;else if(n===`json-seq`&&!o){if(t.trim())throw Error(`JSON sequence record is missing its record separator.`)}else{if(i+=t,a+=Oc(t),a>zbe)throw Error(`Stream record exceeds the 8 MiB display limit.`);n===`json-lines`?t===`
+`&&u():(c?l?l=!1:t===`\\`?l=!0:t===`"`&&(c=!1):t===`"`?c=!0:t===`{`||t===`[`?s++:(t===`}`||t===`]`)&&s--,t===`
+`&&!c&&s===0&&i.trim()&&(u(),o=!1))}};return{push:e=>d(r.decode(e,{stream:!0})),finish:()=>{d(r.decode()),u()}}}}));function Ac(e){let t=jc[e];if(t)return t;if(e.endsWith(`+json`))return{extension:`.json`,raw:!0,language:`json`,preview:`json`};if(e.endsWith(`+xml`))return{extension:`.xml`,raw:!0,language:`xml`}}function Hbe(e){return!!Ac(e)?.raw}var jc,Ube,Mc=s((()=>{jc={"application/epub+zip":{extension:`.epub`},"application/gzip":{extension:`.gz`},"application/java-archive":{extension:`.jar`},"application/javascript":{extension:`.js`,raw:!0},"application/json":{extension:`.json`,raw:!0,language:`json`,preview:`json`},"application/ld+json":{extension:`.jsonld`,raw:!0,language:`json`,preview:`json`},"application/problem+json":{extension:`.json`,raw:!0,language:`json`,preview:`json`},"application/vnd.api+json":{extension:`.json`,raw:!0,language:`json`,preview:`json`},"application/dns-json":{extension:`.json`,raw:!0,language:`json`,preview:`json`},"application/x-ndjson":{extension:`.ndjson`,raw:!0,language:`json`,preview:`ndjson`},"application/ndjson":{extension:`.ndjson`,raw:!0,language:`json`,preview:`ndjson`},"application/msword":{extension:`.doc`},"application/octet-stream":{extension:`.bin`},"application/ogg":{extension:`.ogx`},"application/pdf":{extension:`.pdf`,preview:`object`},"application/rtf":{extension:`.rtf`,raw:!0},"application/vnd.amazon.ebook":{extension:`.azw`},"application/vnd.apple.installer+xml":{extension:`.mpkg`,raw:!0,language:`xml`},"application/vnd.mozilla.xul+xml":{extension:`.xul`,raw:!0,language:`xml`},"application/vnd.ms-excel":{extension:`.xls`},"application/vnd.ms-fontobject":{extension:`.eot`},"application/vnd.ms-powerpoint":{extension:`.ppt`},"application/vnd.oasis.opendocument.presentation":{extension:`.odp`},"application/vnd.oasis.opendocument.spreadsheet":{extension:`.ods`},"application/vnd.oasis.opendocument.text":{extension:`.odt`},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:`.pptx`},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:`.xlsx`},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:`.docx`},"application/vnd.rar":{extension:`.rar`},"application/vnd.visio":{extension:`.vsd`},"application/x-7z-compressed":{extension:`.7z`},"application/x-abiword":{extension:`.abw`},"application/x-bzip":{extension:`.bz`},"application/x-bzip2":{extension:`.bz2`},"application/x-cdf":{extension:`.cda`},"application/x-csh":{extension:`.csh`},"application/x-freearc":{extension:`.arc`},"application/x-httpd-php":{extension:`.php`,raw:!0},"application/x-sh":{extension:`.sh`,raw:!0},"application/x-tar":{extension:`.tar`},"application/xhtml+xml":{extension:`.xhtml`,raw:!0,language:`html`},"application/xml":{extension:`.xml`,raw:!0,language:`xml`},"application/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"application/zip":{extension:`.zip`},"audio/aac":{extension:`.aac`},"audio/midi":{extension:`.midi`},"audio/mpeg":{extension:`.mp3`,preview:`audio`},"audio/ogg":{extension:`.oga`},"audio/wav":{extension:`.wav`},"audio/webm":{extension:`.weba`},"font/otf":{extension:`.otf`},"font/ttf":{extension:`.ttf`},"font/woff":{extension:`.woff`},"font/woff2":{extension:`.woff2`},"image/apng":{extension:`.apng`,preview:`image`,alpha:!0},"image/avif":{extension:`.avif`,preview:`image`},"image/bmp":{extension:`.bmp`,preview:`image`},"image/gif":{extension:`.gif`,preview:`image`,alpha:!0},"image/jpeg":{extension:`.jpg`,preview:`image`},"image/png":{extension:`.png`,preview:`image`,alpha:!0},"image/svg+xml":{extension:`.svg`,raw:!0,language:`xml`,preview:`image`,alpha:!0},"image/tiff":{extension:`.tiff`},"image/vnd.microsoft.icon":{extension:`.ico`,preview:`image`},"image/webp":{extension:`.webp`,preview:`image`,alpha:!0},"text/calendar":{extension:`.ics`,raw:!0},"text/css":{extension:`.css`,raw:!0,language:`css`},"text/csv":{extension:`.csv`,raw:!0},"text/html":{extension:`.html`,raw:!0,language:`html`,preview:`object`},"text/javascript":{extension:`.js`,raw:!0},"text/json":{extension:`.json`,raw:!0,language:`json`,preview:`json`},"text/plain":{extension:`.txt`,raw:!0},"text/xml":{extension:`.xml`,raw:!0,language:`xml`},"text/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"video/3gpp":{extension:`.3gp`},"audio/3gpp":{extension:`.3gp`},"video/3gpp2":{extension:`.3g2`},"audio/3gpp2":{extension:`.3g2`},"video/mp2t":{extension:`.ts`},"video/mp4":{extension:`.mp4`,preview:`video`},"video/mpeg":{extension:`.mpeg`},"video/ogg":{extension:`.ogv`},"video/webm":{extension:`.webm`,preview:`video`},"video/x-msvideo":{extension:`.avi`}},Ube=Object.entries(jc).filter(([,e])=>e?.raw).map(([e])=>e)})),Wbe,Gbe=s((()=>{Mc(),yc(),Wbe=async(e,t,n)=>{let r=vc(t);return n?.decode?await n.decode(e,t):Hbe(r.essence)?new TextDecoder(r.parameters.get(`charset`)).decode(e):new Blob([e],{type:r.essence})}})),Nc,Pc,Kbe,qbe=s((()=>{Nc={BUILDING_REQUEST_FAILED:`An error occurred while building the request`,DEFAULT:`An unknown error has occurred.`,INVALID_URL:`The URL seems to be invalid. Try adding a valid URL.`,INVALID_URL_PROTOCOL:`The URL must start with http:// or https://.`,INVALID_HEADER:`There is an invalid header present, please double check your params.`,MISSING_FILE:`File uploads are not saved in history, you must re-upload the file.`,REQUEST_ABORTED:`The request has been cancelled`,REQUEST_FAILED:`An error occurred while making the request`,URL_EMPTY:`The address bar input seems to be empty. Try adding a URL.`,ON_BEFORE_REQUEST_FAILED:`onBeforeRequest request hook failed`},Pc=e=>e===`Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'.`?Nc.MISSING_FILE:e===`Failed to construct 'URL': Invalid URL`?Nc.INVALID_URL:e.includes(`Invalid URL protocol`)?Nc.INVALID_URL_PROTOCOL:e===`Failed to execute 'fetch' on 'Window': Invalid name`?Nc.INVALID_HEADER:e,Kbe=(e,t=Nc.DEFAULT)=>(console.error(e),e instanceof Error?(e.message=Pc(e.message),e):Error(typeof e==`string`?Pc(e):t))})),Fc,Ic=s((()=>{Fc=()=>typeof window<`u`&&`electron`in window})),Jbe,Ybe=s((()=>{Jbe=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/})),Lc,Xbe=s((()=>{Lc=e=>[`connect`,`trace`,`track`].includes(e.toLowerCase())})),Zbe,Rc,zc,Bc=s((()=>{Ic(),Ybe(),Xbe(),nc(),Zbe=new Set([`post`,`put`,`patch`,`delete`,`query`]),Rc=(e,t=!1)=>{let n=e.toLowerCase();if(Fc()&&!t)return!0;let r=!tc(e)&&Jbe.test(e);return!Lc(e)&&(Zbe.has(n)||r)},zc=(e,t)=>new Request(e,{...t,body:Rc(t.method??`GET`,!0)?t.body:null})})),Vc,Hc=s((()=>{Vc={100:{name:`Continue`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100`,color:`var(--scalar-color-blue)`},101:{name:`Switching Protocols`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101`,color:`var(--scalar-color-blue)`},102:{name:`Processing`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102`,color:`var(--scalar-color-blue)`},103:{name:`Early Hints`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103`,color:`var(--scalar-color-blue)`},200:{name:`OK`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200`,color:`var(--scalar-color-green)`},201:{name:`Created`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201`,color:`var(--scalar-color-green)`},202:{name:`Accepted`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202`,color:`var(--scalar-color-green)`},203:{name:`Non-Authoritative Information`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203`,color:`var(--scalar-color-green)`},204:{name:`No Content`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204`,color:`var(--scalar-color-green)`},205:{name:`Reset Content`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/205`,color:`var(--scalar-color-green)`},206:{name:`Partial Content`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206`,color:`var(--scalar-color-green)`},207:{name:`Multi-Status`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207`,color:`var(--scalar-color-green)`},208:{name:`Already Reported`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/208`,color:`var(--scalar-color-green)`},226:{name:`IM Used`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226`,color:`var(--scalar-color-green)`},300:{name:`Multiple Choices`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300`,color:`var(--scalar-color-yellow)`},301:{name:`Moved Permanently`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301`,color:`var(--scalar-color-yellow)`},302:{name:`Found`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302`,color:`var(--scalar-color-yellow)`},303:{name:`See Other`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303`,color:`var(--scalar-color-yellow)`},304:{name:`Not Modified`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304`,color:`var(--scalar-color-yellow)`},305:{name:`Use Proxy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305`,color:`var(--scalar-color-yellow)`},306:{name:`(Unused)`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306`,color:`var(--scalar-color-yellow)`},307:{name:`Temporary Redirect`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307`,color:`var(--scalar-color-yellow)`},308:{name:`Permanent Redirect`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308`,color:`var(--scalar-color-yellow)`},400:{name:`Bad Request`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400`,color:`var(--scalar-color-red)`},401:{name:`Unauthorized`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401`,color:`var(--scalar-color-red)`},402:{name:`Payment Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402`,color:`var(--scalar-color-red)`},403:{name:`Forbidden`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403`,color:`var(--scalar-color-red)`},404:{name:`Not Found`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404`,color:`var(--scalar-color-red)`},405:{name:`Method Not Allowed`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405`,color:`var(--scalar-color-red)`},406:{name:`Not Acceptable`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406`,color:`var(--scalar-color-red)`},407:{name:`Proxy Authentication Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407`,color:`var(--scalar-color-red)`},408:{name:`Request Timeout`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408`,color:`var(--scalar-color-red)`},409:{name:`Conflict`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409`,color:`var(--scalar-color-red)`},410:{name:`Gone`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410`,color:`var(--scalar-color-red)`},411:{name:`Length Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411`,color:`var(--scalar-color-red)`},412:{name:`Precondition Failed`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412`,color:`var(--scalar-color-red)`},413:{name:`Content Too Large`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413`,color:`var(--scalar-color-red)`},414:{name:`URI Too Long`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414`,color:`var(--scalar-color-red)`},415:{name:`Unsupported Media Type`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415`,color:`var(--scalar-color-red)`},416:{name:`Range Not Satisfiable`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416`,color:`var(--scalar-color-red)`},417:{name:`Expectation Failed`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417`,color:`var(--scalar-color-red)`},418:{name:`I'm a teapot`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418`,color:`var(--scalar-color-red)`},421:{name:`Misdirected Request`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421`,color:`var(--scalar-color-red)`},422:{name:`Unprocessable Content`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422`,color:`var(--scalar-color-red)`},423:{name:`Locked`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/423`,color:`var(--scalar-color-red)`},424:{name:`Failed Dependency`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/424`,color:`var(--scalar-color-red)`},425:{name:`Too Early`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425`,color:`var(--scalar-color-red)`},426:{name:`Upgrade Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426`,color:`var(--scalar-color-red)`},428:{name:`Precondition Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428`,color:`var(--scalar-color-red)`},429:{name:`Too Many Requests`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429`,color:`var(--scalar-color-red)`},431:{name:`Request Header Fields Too Large`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431`,color:`var(--scalar-color-red)`},451:{name:`Unavailable For Legal Reasons`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451`,color:`var(--scalar-color-red)`},500:{name:`Internal Server Error`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500`,color:`var(--scalar-color-red)`},501:{name:`Not Implemented`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501`,color:`var(--scalar-color-red)`},502:{name:`Bad Gateway`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502`,color:`var(--scalar-color-red)`},503:{name:`Service Unavailable`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503`,color:`var(--scalar-color-red)`},504:{name:`Gateway Timeout`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504`,color:`var(--scalar-color-red)`},505:{name:`HTTP Version Not Supported`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505`,color:`var(--scalar-color-red)`},506:{name:`Variant Also Negotiates`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506`,color:`var(--scalar-color-red)`},507:{name:`Insufficient Storage`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507`,color:`var(--scalar-color-red)`},508:{name:`Loop Detected`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508`,color:`var(--scalar-color-red)`},510:{name:`Not Extended`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510`,color:`var(--scalar-color-red)`},511:{name:`Network Authentication Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511`,color:`var(--scalar-color-red)`}}})),Qbe,$be,exe,txe,nxe,rxe,Uc=s((()=>{Qbe=`x-scalar-cookie`,$be=`x-scalar-set-cookie`,exe=`x-scalar-user-agent`,txe=`x-scalar-date`,nxe=`x-scalar-dnt`,rxe=`x-scalar-referer`})),ixe,axe,oxe=s((()=>{Uc(),ixe=(e,t=!1)=>{let n=Object.fromEntries(e);t&&[`Access-Control-Allow-Credentials`,`Access-Control-Allow-Headers`,`Access-Control-Allow-Methods`,`Access-Control-Allow-Origin`,`Access-Control-Expose-Headers`].map(e=>e.toLowerCase()).forEach(e=>delete n[e]),delete n[$be];let r=Object.keys(n).find(e=>e.toLowerCase()===`x-scalar-modified-headers`),i=r?n[r]?.toString().split(`, `)?.map(e=>e.toLowerCase())??[]:[];return Object.keys(n).forEach(e=>{i.includes(e.toLowerCase())&&delete n[e]}),r&&delete n[r],Object.keys(n).forEach(e=>{let t=/^x-scalar-original-/i;if(t.test(e)){let r=e.replace(t,``);n[e]&&(n[r]=n[e],delete n[e])}}),Object.keys(n).forEach(e=>{let t=axe(e);e!==t&&n[e]&&(n[t]=n[e],delete n[e])}),Object.fromEntries(Object.entries(n).sort(([e],[t])=>e.localeCompare(t)))},axe=e=>e.split(`-`).map(e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1)).join(`-`)})),sxe,cxe,lxe,uxe,dxe,fxe=s((()=>{sxe=/^[!-:<>-~]+$/,cxe=/^[!-:<-~]*$/,lxe=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,uxe=/^[ -:=-~]*$/,dxe=(e,t,n={})=>{if(!sxe.test(e))throw TypeError(`argument name is invalid: ${e}`);if(!cxe.test(t))throw TypeError(`argument val is invalid: ${t}`);let r=`${e}=${t}`;if(n.maxAge!==void 0){if(!Number.isInteger(n.maxAge))throw TypeError(`option maxAge is invalid: ${n.maxAge}`);r+=`; Max-Age=${n.maxAge}`}if(n.domain){if(!lxe.test(n.domain))throw TypeError(`option domain is invalid: ${n.domain}`);r+=`; Domain=${n.domain}`}if(n.path){if(!uxe.test(n.path))throw TypeError(`option path is invalid: ${n.path}`);r+=`; Path=${n.path}`}if(n.expires){if(!(n.expires instanceof Date)||!Number.isFinite(n.expires.valueOf()))throw TypeError(`option expires is invalid: ${n.expires}`);r+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(r+=`; HttpOnly`),n.secure&&(r+=`; Secure`),n.partitioned&&(r+=`; Partitioned`),n.priority)switch(typeof n.priority==`string`?n.priority.toLowerCase():void 0){case`low`:r+=`; Priority=Low`;break;case`medium`:r+=`; Priority=Medium`;break;case`high`:r+=`; Priority=High`;break;default:throw TypeError(`option priority is invalid: ${n.priority}`)}if(n.sameSite)switch(typeof n.sameSite==`string`?n.sameSite.toLowerCase():n.sameSite){case!0:case`strict`:r+=`; SameSite=Strict`;break;case`lax`:r+=`; SameSite=Lax`;break;case`none`:r+=`; SameSite=None`;break;default:throw TypeError(`option sameSite is invalid: ${n.sameSite}`)}return r}}));function Wc(e){return typeof e!=`string`||e in{}}function Gc(){return Object.create(null)}function pxe(e){return typeof e==`string`&&!!e.trim()}function Kc(e,t){var n=e.split(`;`).filter(pxe),r=n.shift();if(!r)return null;var i=mxe(r),a=i.name,o=i.value;if(t=t?Object.assign({},Jc,t):Jc,Wc(a))return null;try{o=t.decodeValues?decodeURIComponent(o):o}catch(e){console.error(`set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.`,e)}var s=Gc();return s.name=a,s.value=o,n.forEach(function(e){var t=e.split(`=`),n=t.shift().trim().toLowerCase();if(!Wc(n)){var r=t.join(`=`).trim();if(n===`expires`)s.expires=new Date(r);else if(n===`max-age`){var i=parseInt(r,10);Number.isNaN(i)||(s.maxAge=i)}else n===`secure`?s.secure=!0:n===`httponly`?s.httpOnly=!0:n===`samesite`?s.sameSite=r:n===`partitioned`?s.partitioned=!0:n&&(s[n]=r)}}),s}function mxe(e){var t=``,n=``,r=e.split(`=`);return r.length>1?(t=r.shift(),n=r.join(`=`)):n=e,{name:hxe(t),value:hxe(n)}}function hxe(e){for(var t=0,n=e.length;t<n&&gxe(e.charCodeAt(t));)t+=1;for(;n>t&&gxe(e.charCodeAt(n-1));)--n;return e.substring(t,n)}function gxe(e){return e===32||e===9}function qc(e,t){if(t=t?Object.assign({},Jc,t):Jc,!e)return t.map?Gc():[];if(e.headers){if(typeof e.headers.getSetCookie==`function`)e=e.headers.getSetCookie();else if(e.headers[`set-cookie`])e=e.headers[`set-cookie`];else{var n=e.headers[Object.keys(e.headers).find(function(e){return e.toLowerCase()===`set-cookie`})];!n&&e.headers.cookie&&!t.silent&&console.warn(`Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning.`),e=n}}var r=t.split,i=Array.isArray(e);if(r===`auto`&&(r=!i),i||(e=[e]),e=e.filter(pxe),r&&(e=e.map(_xe).flat()),t.map){var a=Gc();return e.reduce(function(e,n){var r=Kc(n,t);return r&&!Wc(r.name)&&(e[r.name]=r),e},a)}return e.map(function(e){return Kc(e,t)}).filter(Boolean)}function _xe(e){if(Array.isArray(e))return e;if(typeof e!=`string`)return[];var t=[],n=0,r,i,a,o,s;function c(){for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length}function l(){return i=e.charAt(n),i!==`=`&&i!==`;`&&i!==`,`}for(;n<e.length;){for(r=n,s=!1;c();)if(i=e.charAt(n),i===`,`){for(a=n,n+=1,c(),o=n;n<e.length&&l();)n+=1;n<e.length&&e.charAt(n)===`=`?(s=!0,n=o,t.push(e.substring(r,a)),r=n):n=a+1}else n+=1;(!s||n>=e.length)&&t.push(e.substring(r,e.length))}return t}var Jc,vxe=s((()=>{Jc={decodeValues:!0,map:!1,silent:!1,split:`auto`},qc.parseSetCookie=qc,qc.parse=qc,qc.parseString=Kc,qc.splitCookiesString=_xe})),yxe,bxe,Yc,xxe,Sxe,Cxe=s((()=>{Abe(),Mbe(),Fbe(),Vbe(),Gbe(),qbe(),Ic(),Bc(),Hc(),oxe(),Uc(),fxe(),vxe(),yxe=[204,205,304],bxe=async({isUsingProxy:e,requestPayload:t,request:n,plugins:r=[],customFetch:i=fetch,onResponseReceived:a})=>{try{let o=performance.now(),s=Fc()?await i(...t):await i(n??zc(...t)),c=performance.now(),l=Date.now(),u=c-o,d=a?await a(s,u):s,f=d.headers.get(`content-type`),p=ixe(d.headers,e),m=new URL(d.url||s.url||t[0]),h=m.pathname+m.search,g=d.statusText||Vc[d.status]?.name||``,_=t[1].method??`GET`,v=yxe.includes(d.status);return!v&&f&&kc(f)&&d.body?xxe({response:d,requestPayload:t,timestamp:l,duration:u,responseHeaders:p,statusText:g,method:_,fullPath:h}):await Sxe({response:d,requestPayload:t,timestamp:l,duration:u,responseHeaders:p,statusText:g,method:_,fullPath:h,contentType:f,shouldSkipBody:v,plugins:r})}catch(e){return[Kbe(e,Nc.REQUEST_FAILED),null]}},Yc=e=>{let t=qc(e.headers.get(`x-scalar-set-cookie`)??``).map(e=>dxe(e.name,e.value,{...e,sameSite:e.sameSite}));return t.length?t:null},xxe=({response:e,requestPayload:t,timestamp:n,duration:r,responseHeaders:i,statusText:a,method:o,fullPath:s})=>{let c=new Response(null,{status:e.status,statusText:a,headers:e.headers}),l=Yc(c)??mc(c.headers);return[null,{timestamp:n,requestPayload:t,response:{...c,status:e.status,statusText:a,headers:i,cookieHeaderKeys:l,reader:e.body.getReader(),duration:r,method:o,path:s},originalResponse:c.clone()}]},Sxe=async({response:e,requestPayload:t,timestamp:n,duration:r,responseHeaders:i,statusText:a,method:o,fullPath:s,contentType:c,shouldSkipBody:l,plugins:u})=>{let d=await e.clone().arrayBuffer(),f=bc(c),p=xc(c).essence,m=hc(p,u),h=await Wbe(d,f,m),g=new Response(l?null:d,{status:e.status,statusText:a,headers:e.headers}),_=Yc(g)??mc(g.headers);return[null,{timestamp:n,requestPayload:t,response:{...g,status:e.status,statusText:a,headers:i,cookieHeaderKeys:_,data:h,size:d.byteLength,duration:r,method:o,path:s},originalResponse:e.clone()}]}}));function wxe(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=wxe(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function Xc(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=wxe(e))&&(r&&(r+=` `),r+=t);return r}var Txe=s((()=>{})),Zc,Qc,Exe,Dxe,Oxe,kxe=s((()=>{Txe(),Zc=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Qc=e=>{let t=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e?.hooks?.[`cx:done`]===void 0?e?.hooks?.onComplete===void 0?Xc(n):e?.hooks.onComplete(Xc(n)):e?.hooks[`cx:done`](Xc(n))};return{compose:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return e=>{let r=Object.fromEntries(Object.entries(e||{}).filter(e=>{let[t]=e;return![`class`,`className`].includes(t)}));return t(n.map(e=>e(r)),e?.class,e?.className)}},cva:e=>n=>{if(e?.variants==null)return t(e?.base,n?.class,n?.className);let{variants:r,defaultVariants:i}=e,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e],o=Zc(t)||Zc(a);return r[e][o]}),o={...i,...n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0?e:{...e,[n]:r}},{})},s=e?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e,r=o[t];return Array.isArray(n)?n.includes(r):r===n})?[...e,n,r]:e},[]);return t(e?.base,a,s,n?.class,n?.className)},cx:t}},{compose:Exe,cva:Dxe,cx:Oxe}=Qc()})),Axe,jxe,$c,el,tl,Mxe,Nxe,nl,Pxe,Fxe,Ixe,rl,Lxe,Rxe,zxe,Bxe,il,Vxe,Hxe,al,ol,Uxe,sl,Wxe,Gxe,Kxe,qxe,Jxe,Yxe,Xxe,cl,ll,Zxe,ul,dl,fl,Qxe,$xe,eSe,tSe,nSe,rSe,pl,ml,hl,gl,_l,vl,iSe,yl,aSe,oSe,sSe,cSe,lSe,bl,xl,Sl,uSe,dSe,Cl,fSe,wl,Tl,El,pSe,Dl,mSe,hSe,Ol,gSe,kl,Al,jl,Ml,Nl,Pl,_Se,Fl,Il,Ll,Rl,vSe,zl,Bl,Vl,Hl,ySe,bSe=s((()=>{Axe=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},jxe=(e,t)=>({classGroupId:e,validator:t}),$c=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),el=`-`,tl=[],Mxe=`arbitrary..`,Nxe=e=>{let t=Fxe(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Pxe(e);let n=e.split(el),r=+(n[0]===``&&n.length>1);return nl(n,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Axe(i,t):t:i||tl}return n[e]||tl}}},nl=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=nl(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(el):e.slice(t).join(el),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Pxe=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Mxe+r:void 0})(),Fxe=e=>{let{theme:t,classGroups:n}=e;return Ixe(n,t)},Ixe=(e,t)=>{let n=$c();for(let r in e){let i=e[r];rl(i,n,r,t)}return n},rl=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Lxe(i,t,n,r)}},Lxe=(e,t,n,r)=>{typeof e==`string`?Rxe(e,t,n):typeof e==`function`?zxe(e,t,n,r):Bxe(e,t,n,r)},Rxe=(e,t,n)=>{let r=e===``?t:il(t,e);r.classGroupId=n},zxe=(e,t,n,r)=>{Vxe(e)?rl(e(r),t,n,r):(t.validators===null&&(t.validators=[]),t.validators.push(jxe(n,e)))},Bxe=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];rl(o,il(t,a),n,r)}},il=(e,t)=>{let n=e,r=t.split(el),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=$c(),n.nextPart.set(t,i)),n=i}return n},Vxe=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Hxe=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},al=`!`,ol=`:`,Uxe=[],sl=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Wxe=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===ol){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(al)?(c=s.slice(0,-1),l=!0):s.startsWith(al)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return sl(t,l,c,u)};if(t){let e=t+ol,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):sl(Uxe,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Gxe=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Kxe=e=>({cache:Hxe(e.cacheSize),parseClassName:Wxe(e),sortModifiers:Gxe(e),postfixLookupClassGroupIds:qxe(e),...Nxe(e)}),qxe=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Jxe=/\s+/,Yxe=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Jxe),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h||(g=r(p),!g)){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+al:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Xxe=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=cl(n))&&(i&&(i+=` `),i+=r);return i},cl=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=cl(e[r]))&&(n&&(n+=` `),n+=t);return n},ll=(e,...t)=>{let n,r,i,a,o=o=>{let c=t.reduce((e,t)=>t(e),e());return n=Kxe(c),r=n.cache.get,i=n.cache.set,a=s,s(o)},s=e=>{let t=r(e);if(t)return t;let a=Yxe(e,n);return i(e,a),a};return a=o,(...e)=>a(Xxe(...e))},Zxe=[],ul=e=>{let t=t=>t[e]||Zxe;return t.isThemeGetter=!0,t.themeKey=e,t},dl=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fl=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qxe=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,$xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eSe=/\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$/,tSe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,nSe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rSe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pl=e=>Qxe.test(e),ml=e=>!!e&&!Number.isNaN(Number(e)),hl=e=>!!e&&Number.isInteger(Number(e)),gl=e=>e.endsWith(`%`)&&ml(e.slice(0,-1)),_l=e=>$xe.test(e),vl=()=>!0,iSe=e=>eSe.test(e)&&!tSe.test(e),yl=()=>!1,aSe=e=>nSe.test(e),oSe=e=>rSe.test(e),sSe=e=>!bl(e)&&!Tl(e),cSe=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),lSe=e=>kl(e,Nl,yl),bl=e=>dl.test(e),xl=e=>kl(e,Pl,iSe),Sl=e=>kl(e,_Se,ml),uSe=e=>kl(e,Il,vl),dSe=e=>kl(e,Fl,yl),Cl=e=>kl(e,jl,yl),fSe=e=>kl(e,Ml,oSe),wl=e=>kl(e,Ll,aSe),Tl=e=>fl.test(e),El=e=>Al(e,Pl),pSe=e=>Al(e,Fl),Dl=e=>Al(e,jl),mSe=e=>Al(e,Nl),hSe=e=>Al(e,Ml),Ol=e=>Al(e,Ll,!0),gSe=e=>Al(e,Il,!0),kl=(e,t,n)=>{let r=dl.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Al=(e,t,n=!1)=>{let r=fl.exec(e);return r?r[1]?t(r[1]):n:!1},jl=e=>e===`position`||e===`percentage`,Ml=e=>e===`image`||e===`url`,Nl=e=>e===`length`||e===`size`||e===`bg-size`,Pl=e=>e===`length`,_Se=e=>e===`number`,Fl=e=>e===`family-name`,Il=e=>e===`number`||e===`weight`,Ll=e=>e===`shadow`,Rl=()=>{let e=ul(`color`),t=ul(`font`),n=ul(`text`),r=ul(`font-weight`),i=ul(`tracking`),a=ul(`leading`),o=ul(`breakpoint`),s=ul(`container`),c=ul(`spacing`),l=ul(`radius`),u=ul(`shadow`),d=ul(`inset-shadow`),f=ul(`text-shadow`),p=ul(`drop-shadow`),m=ul(`blur`),h=ul(`perspective`),g=ul(`aspect`),_=ul(`ease`),v=ul(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Tl,bl],ee=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],te=()=>[`auto`,`contain`,`none`],ne=()=>[Tl,bl,c],re=()=>[pl,`full`,`auto`,...ne()],ie=()=>[hl,`none`,`subgrid`,Tl,bl],ae=()=>[`auto`,{span:[`full`,hl,Tl,bl]},hl,Tl,bl],oe=()=>[hl,`auto`,Tl,bl],se=()=>[`auto`,`min`,`max`,`fr`,Tl,bl],ce=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],le=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],S=()=>[`auto`,...ne()],ue=()=>[pl,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...ne()],de=()=>[s,pl,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...ne()],fe=()=>[pl,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...ne()],pe=()=>[e,Tl,bl],me=()=>[...b(),Dl,Cl,{position:[Tl,bl]}],he=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ge=()=>[`auto`,`cover`,`contain`,mSe,lSe,{size:[Tl,bl]}],C=()=>[gl,El,xl],_e=()=>[``,`none`,`full`,l,Tl,bl],ve=()=>[``,ml,El,xl],w=()=>[`solid`,`dashed`,`dotted`,`double`],ye=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],be=()=>[ml,gl,Dl,Cl],xe=()=>[``,`none`,m,Tl,bl],Se=()=>[`none`,ml,Tl,bl],Ce=()=>[`none`,ml,Tl,bl],we=()=>[ml,Tl,bl],Te=()=>[pl,`full`,...ne()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[_l],breakpoint:[_l],color:[vl],container:[_l],"drop-shadow":[_l],ease:[`in`,`out`,`in-out`],font:[sSe],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[_l],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[_l],shadow:[_l],spacing:[`px`,ml],text:[_l],"text-shadow":[_l],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,pl,bl,Tl,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Tl,bl]}],"container-named":[cSe],columns:[{columns:[ml,`auto`,bl,Tl,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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`],sr:[`sr-only`,`not-sr-only`],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:x()}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:re()}],"inset-x":[{"inset-x":re()}],"inset-y":[{"inset-y":re()}],start:[{"inset-s":re(),start:re()}],end:[{"inset-e":re(),end:re()}],"inset-bs":[{"inset-bs":re()}],"inset-be":[{"inset-be":re()}],top:[{top:re()}],right:[{right:re()}],bottom:[{bottom:re()}],left:[{left:re()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[hl,`auto`,Tl,bl]}],basis:[{basis:[pl,`full`,`auto`,s,...ne()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[ml,pl,`auto`,`initial`,`none`,bl]}],grow:[{grow:[``,ml,Tl,bl]}],shrink:[{shrink:[``,ml,Tl,bl]}],order:[{order:[hl,`first`,`last`,`none`,Tl,bl]}],"grid-cols":[{"grid-cols":ie()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":ie()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":se()}],"auto-rows":[{"auto-rows":se()}],gap:[{gap:ne()}],"gap-x":[{"gap-x":ne()}],"gap-y":[{"gap-y":ne()}],"justify-content":[{justify:[...ce(),`normal`]}],"justify-items":[{"justify-items":[...le(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...le()]}],"align-content":[{content:[`normal`,...ce()]}],"align-items":[{items:[...le(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...le(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ce()}],"place-items":[{"place-items":[...le(),`baseline`]}],"place-self":[{"place-self":[`auto`,...le()]}],p:[{p:ne()}],px:[{px:ne()}],py:[{py:ne()}],ps:[{ps:ne()}],pe:[{pe:ne()}],pbs:[{pbs:ne()}],pbe:[{pbe:ne()}],pt:[{pt:ne()}],pr:[{pr:ne()}],pb:[{pb:ne()}],pl:[{pl:ne()}],m:[{m:S()}],mx:[{mx:S()}],my:[{my:S()}],ms:[{ms:S()}],me:[{me:S()}],mbs:[{mbs:S()}],mbe:[{mbe:S()}],mt:[{mt:S()}],mr:[{mr:S()}],mb:[{mb:S()}],ml:[{ml:S()}],"space-x":[{"space-x":ne()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":ne()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ue()}],"inline-size":[{inline:[`auto`,...de()]}],"min-inline-size":[{"min-inline":[`auto`,...de()]}],"max-inline-size":[{"max-inline":[`none`,...de()]}],"block-size":[{block:[`auto`,...fe()]}],"min-block-size":[{"min-block":[`auto`,...fe()]}],"max-block-size":[{"max-block":[`none`,...fe()]}],w:[{w:[s,`screen`,...ue()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ue()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ue()]}],h:[{h:[`screen`,`lh`,...ue()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ue()]}],"max-h":[{"max-h":[`screen`,`lh`,`none`,...ue()]}],"font-size":[{text:[`base`,n,El,xl]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,gSe,uSe]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,gl,bl]}],"font-family":[{font:[pSe,dSe,t]}],"font-features":[{"font-features":[bl]}],"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-fractions`],tracking:[{tracking:[i,Tl,bl]}],"line-clamp":[{"line-clamp":[ml,`none`,Tl,Sl]}],leading:[{leading:[`none`,a,...ne()]}],"list-image":[{"list-image":[`none`,Tl,bl]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Tl,bl]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:pe()}],"text-color":[{text:pe()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...w(),`wavy`]}],"text-decoration-thickness":[{decoration:[ml,`from-font`,`auto`,Tl,xl]}],"text-decoration-color":[{decoration:pe()}],"underline-offset":[{"underline-offset":[ml,`auto`,Tl,bl]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:ne()}],"tab-size":[{tab:[hl,Tl,bl]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Tl,bl]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Tl,bl]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:me()}],"bg-repeat":[{bg:he()}],"bg-size":[{bg:ge()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},hl,Tl,bl],radial:[``,Tl,bl],conic:[``,hl,Tl,bl]},hSe,fSe]}],"bg-color":[{bg:pe()}],"gradient-from-pos":[{from:C()}],"gradient-via-pos":[{via:C()}],"gradient-to-pos":[{to:C()}],"gradient-from":[{from:pe()}],"gradient-via":[{via:pe()}],"gradient-to":[{to:pe()}],rounded:[{rounded:_e()}],"rounded-s":[{"rounded-s":_e()}],"rounded-e":[{"rounded-e":_e()}],"rounded-t":[{"rounded-t":_e()}],"rounded-r":[{"rounded-r":_e()}],"rounded-b":[{"rounded-b":_e()}],"rounded-l":[{"rounded-l":_e()}],"rounded-ss":[{"rounded-ss":_e()}],"rounded-se":[{"rounded-se":_e()}],"rounded-ee":[{"rounded-ee":_e()}],"rounded-es":[{"rounded-es":_e()}],"rounded-tl":[{"rounded-tl":_e()}],"rounded-tr":[{"rounded-tr":_e()}],"rounded-br":[{"rounded-br":_e()}],"rounded-bl":[{"rounded-bl":_e()}],"border-w":[{border:ve()}],"border-w-x":[{"border-x":ve()}],"border-w-y":[{"border-y":ve()}],"border-w-s":[{"border-s":ve()}],"border-w-e":[{"border-e":ve()}],"border-w-bs":[{"border-bs":ve()}],"border-w-be":[{"border-be":ve()}],"border-w-t":[{"border-t":ve()}],"border-w-r":[{"border-r":ve()}],"border-w-b":[{"border-b":ve()}],"border-w-l":[{"border-l":ve()}],"divide-x":[{"divide-x":ve()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":ve()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...w(),`hidden`,`none`]}],"divide-style":[{divide:[...w(),`hidden`,`none`]}],"border-color":[{border:pe()}],"border-color-x":[{"border-x":pe()}],"border-color-y":[{"border-y":pe()}],"border-color-s":[{"border-s":pe()}],"border-color-e":[{"border-e":pe()}],"border-color-bs":[{"border-bs":pe()}],"border-color-be":[{"border-be":pe()}],"border-color-t":[{"border-t":pe()}],"border-color-r":[{"border-r":pe()}],"border-color-b":[{"border-b":pe()}],"border-color-l":[{"border-l":pe()}],"divide-color":[{divide:pe()}],"outline-style":[{outline:[...w(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[ml,Tl,bl]}],"outline-w":[{outline:[``,ml,El,xl]}],"outline-color":[{outline:pe()}],shadow:[{shadow:[``,`inner`,`none`,u,Ol,wl]}],"shadow-color":[{shadow:pe()}],"inset-shadow":[{"inset-shadow":[`none`,d,Ol,wl]}],"inset-shadow-color":[{"inset-shadow":pe()}],"ring-w":[{ring:ve()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:pe()}],"ring-offset-w":[{"ring-offset":[ml,xl]}],"ring-offset-color":[{"ring-offset":pe()}],"inset-ring-w":[{"inset-ring":ve()}],"inset-ring-color":[{"inset-ring":pe()}],"text-shadow":[{"text-shadow":[`none`,f,Ol,wl]}],"text-shadow-color":[{"text-shadow":pe()}],opacity:[{opacity:[ml,Tl,bl]}],"mix-blend":[{"mix-blend":[...ye(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ye()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[ml]}],"mask-image-linear-from-pos":[{"mask-linear-from":be()}],"mask-image-linear-to-pos":[{"mask-linear-to":be()}],"mask-image-linear-from-color":[{"mask-linear-from":pe()}],"mask-image-linear-to-color":[{"mask-linear-to":pe()}],"mask-image-t-from-pos":[{"mask-t-from":be()}],"mask-image-t-to-pos":[{"mask-t-to":be()}],"mask-image-t-from-color":[{"mask-t-from":pe()}],"mask-image-t-to-color":[{"mask-t-to":pe()}],"mask-image-r-from-pos":[{"mask-r-from":be()}],"mask-image-r-to-pos":[{"mask-r-to":be()}],"mask-image-r-from-color":[{"mask-r-from":pe()}],"mask-image-r-to-color":[{"mask-r-to":pe()}],"mask-image-b-from-pos":[{"mask-b-from":be()}],"mask-image-b-to-pos":[{"mask-b-to":be()}],"mask-image-b-from-color":[{"mask-b-from":pe()}],"mask-image-b-to-color":[{"mask-b-to":pe()}],"mask-image-l-from-pos":[{"mask-l-from":be()}],"mask-image-l-to-pos":[{"mask-l-to":be()}],"mask-image-l-from-color":[{"mask-l-from":pe()}],"mask-image-l-to-color":[{"mask-l-to":pe()}],"mask-image-x-from-pos":[{"mask-x-from":be()}],"mask-image-x-to-pos":[{"mask-x-to":be()}],"mask-image-x-from-color":[{"mask-x-from":pe()}],"mask-image-x-to-color":[{"mask-x-to":pe()}],"mask-image-y-from-pos":[{"mask-y-from":be()}],"mask-image-y-to-pos":[{"mask-y-to":be()}],"mask-image-y-from-color":[{"mask-y-from":pe()}],"mask-image-y-to-color":[{"mask-y-to":pe()}],"mask-image-radial":[{"mask-radial":[Tl,bl]}],"mask-image-radial-from-pos":[{"mask-radial-from":be()}],"mask-image-radial-to-pos":[{"mask-radial-to":be()}],"mask-image-radial-from-color":[{"mask-radial-from":pe()}],"mask-image-radial-to-color":[{"mask-radial-to":pe()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[ml]}],"mask-image-conic-from-pos":[{"mask-conic-from":be()}],"mask-image-conic-to-pos":[{"mask-conic-to":be()}],"mask-image-conic-from-color":[{"mask-conic-from":pe()}],"mask-image-conic-to-color":[{"mask-conic-to":pe()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:me()}],"mask-repeat":[{mask:he()}],"mask-size":[{mask:ge()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Tl,bl]}],filter:[{filter:[``,`none`,Tl,bl]}],blur:[{blur:xe()}],brightness:[{brightness:[ml,Tl,bl]}],contrast:[{contrast:[ml,Tl,bl]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Ol,wl]}],"drop-shadow-color":[{"drop-shadow":pe()}],grayscale:[{grayscale:[``,ml,Tl,bl]}],"hue-rotate":[{"hue-rotate":[ml,Tl,bl]}],invert:[{invert:[``,ml,Tl,bl]}],saturate:[{saturate:[ml,Tl,bl]}],sepia:[{sepia:[``,ml,Tl,bl]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Tl,bl]}],"backdrop-blur":[{"backdrop-blur":xe()}],"backdrop-brightness":[{"backdrop-brightness":[ml,Tl,bl]}],"backdrop-contrast":[{"backdrop-contrast":[ml,Tl,bl]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,ml,Tl,bl]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ml,Tl,bl]}],"backdrop-invert":[{"backdrop-invert":[``,ml,Tl,bl]}],"backdrop-opacity":[{"backdrop-opacity":[ml,Tl,bl]}],"backdrop-saturate":[{"backdrop-saturate":[ml,Tl,bl]}],"backdrop-sepia":[{"backdrop-sepia":[``,ml,Tl,bl]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":ne()}],"border-spacing-x":[{"border-spacing-x":ne()}],"border-spacing-y":[{"border-spacing-y":ne()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Tl,bl]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[ml,`initial`,Tl,bl]}],ease:[{ease:[`linear`,`initial`,_,Tl,bl]}],delay:[{delay:[ml,Tl,bl]}],animate:[{animate:[`none`,v,Tl,bl]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Tl,bl]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:Ce()}],"scale-x":[{"scale-x":Ce()}],"scale-y":[{"scale-y":Ce()}],"scale-z":[{"scale-z":Ce()}],"scale-3d":[`scale-3d`],skew:[{skew:we()}],"skew-x":[{"skew-x":we()}],"skew-y":[{"skew-y":we()}],transform:[{transform:[Tl,bl,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:Te()}],"translate-x":[{"translate-x":Te()}],"translate-y":[{"translate-y":Te()}],"translate-z":[{"translate-z":Te()}],"translate-none":[`translate-none`],zoom:[{zoom:[hl,Tl,bl]}],accent:[{accent:pe()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:pe()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],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`,Tl,bl]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":pe()}],"scrollbar-track-color":[{"scrollbar-track":pe()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":ne()}],"scroll-mx":[{"scroll-mx":ne()}],"scroll-my":[{"scroll-my":ne()}],"scroll-ms":[{"scroll-ms":ne()}],"scroll-me":[{"scroll-me":ne()}],"scroll-mbs":[{"scroll-mbs":ne()}],"scroll-mbe":[{"scroll-mbe":ne()}],"scroll-mt":[{"scroll-mt":ne()}],"scroll-mr":[{"scroll-mr":ne()}],"scroll-mb":[{"scroll-mb":ne()}],"scroll-ml":[{"scroll-ml":ne()}],"scroll-p":[{"scroll-p":ne()}],"scroll-px":[{"scroll-px":ne()}],"scroll-py":[{"scroll-py":ne()}],"scroll-ps":[{"scroll-ps":ne()}],"scroll-pe":[{"scroll-pe":ne()}],"scroll-pbs":[{"scroll-pbs":ne()}],"scroll-pbe":[{"scroll-pbe":ne()}],"scroll-pt":[{"scroll-pt":ne()}],"scroll-pr":[{"scroll-pr":ne()}],"scroll-pb":[{"scroll-pb":ne()}],"scroll-pl":[{"scroll-pl":ne()}],"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`,Tl,bl]}],fill:[{fill:[`none`,...pe()]}],"stroke-w":[{stroke:[ml,El,xl,Sl]}],stroke:[{stroke:[`none`,...pe()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`start`,`end`,`right`,`left`],"inset-y":[`inset-bs`,`inset-be`,`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`ps`,`pe`,`pr`,`pl`],py:[`pbs`,`pbe`,`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`ms`,`me`,`mr`,`ml`],my:[`mbs`,`mbe`,`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-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-s`,`border-w-e`,`border-w-r`,`border-w-l`],"border-w-y":[`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-s`,`border-color-e`,`border-color-r`,`border-color-l`],"border-color-y":[`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-ms`,`scroll-me`,`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-ps`,`scroll-pe`,`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},vSe=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(zl(e,`cacheSize`,t),zl(e,`prefix`,n),zl(e,`experimentalParseClassName`,r),Bl(e.theme,a.theme),Bl(e.classGroups,a.classGroups),Bl(e.conflictingClassGroups,a.conflictingClassGroups),Bl(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),zl(e,`postfixLookupClassGroups`,a.postfixLookupClassGroups),zl(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),Vl(e.theme,i.theme),Vl(e.classGroups,i.classGroups),Vl(e.conflictingClassGroups,i.conflictingClassGroups),Vl(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Hl(e,i,`postfixLookupClassGroups`),Hl(e,i,`orderSensitiveModifiers`),e),zl=(e,t,n)=>{n!==void 0&&(e[t]=n)},Bl=(e,t)=>{if(t)for(let n in t)zl(e,n,t[n])},Vl=(e,t)=>{if(t)for(let n in t)Hl(e,t,n)},Hl=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},ySe=(e,...t)=>typeof e==`function`?ll(Rl,e,...t):ll(()=>vSe(Rl(),e),...t)})),xSe,Ul,Wl,SSe,CSe=s((()=>{kxe(),bSe(),xSe=ySe({extend:{classGroups:{"font-size":[`text-3xs`,`text-xxs`],"font-weight":[`font-sidebar`,`font-sidebar-active`],"inset-shadow":[{"inset-shadow":[`border`]}],"max-w":[{"max-w":[e=>!!e]}],w:[{w:[e=>!!e]}]}}}),{cva:Ul,cx:Wl,compose:SSe}=Qc({hooks:{onComplete:e=>xSe(e)}})}));function Gl(){let e=Fr(),t=z(()=>{let{class:t,style:n,...r}=e;return{class:t||``,style:n,rest:r}});function n(...e){return{class:Wl(...e,t.value.class),style:t.value.style,...t.value.rest}}function r(...e){return{class:Wl(...e,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:z(()=>t.value.rest)}}var wSe=s((()=>{B(),CSe()})),Kl=s((()=>{CSe(),wSe()})),TSe,ESe=s((()=>{B(),Kl(),TSe=k({__name:`ViewLayout`,setup(e){let{cx:t}=Gl();return(e,n)=>(j(),M(`div`,ut(ei(D(t)(`flex flex-col min-h-0 flex-1 *:border-t first:*:border-t-0 md:*:border-t-0 xl:overflow-hidden md:flex-row leading-5`))),[A(e.$slots,`default`)],16))}})})),DSe,OSe=s((()=>{ESe(),DSe=TSe}));function kSe(e,t){return j(),M(`div`,jSe,[A(e.$slots,`default`)])}var ASe,jSe,MSe,NSe=s((()=>{Ds(),B(),ASe={},jSe={class:`custom-scroll flex flex-col pr-0 *:border-t *:first:border-t-0 xl:flex-row *:xl:border-t-0 *:xl:border-l *:first:xl:border-l-0`},MSe=Es(ASe,[[`render`,kSe]])})),PSe,FSe,ISe=s((()=>{B(),Kl(),PSe={key:0,class:`request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none`},FSe=k({inheritAttrs:!1,__name:`ViewLayoutSection`,setup(e){let{cx:t}=Gl();return(e,n)=>(j(),M(`section`,ut(ei(D(t)(`xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0`))),[e.$slots.title?(j(),M(`div`,PSe,[A(e.$slots,`title`)])):I(``,!0),A(e.$slots,`default`)],16))}})})),ql,Jl=s((()=>{ISe(),ql=FSe})),LSe,RSe,zSe,BSe=s((()=>{LSe=({harRequest:e})=>{let t=RSe(e),n=zSe(e.postData);return[e.url,{method:e.method,headers:t,body:n}]},RSe=e=>{let t=new Headers;if(e.headers.forEach(({name:e,value:n})=>{t.append(e,n)}),e.cookies?.length){let n=e.cookies.map(({name:e,value:t})=>`${e}=${t}`).join(`; `);t.append(`Cookie`,n)}return t},zSe=e=>{if(!e)return null;let{params:t,text:n,mimeType:r}=e;if(t?.length){let e=r?.includes(`multipart/form-data`)?new FormData:new URLSearchParams;return t.forEach(({name:t,value:n})=>{e.append(t,n||``)}),e}return n?new TextEncoder().encode(n):null}})),Yl,VSe,HSe,USe=s((()=>{Abe(),Yl=({harResponse:e,url:t=``,method:n,path:r,duration:i=0})=>{let a=VSe(e),{body:o,data:s,size:c}=HSe(e),l=mc(a);return{...new Response(o,{status:e.status,statusText:e.statusText,headers:a}),headers:Object.fromEntries(a.entries()),cookieHeaderKeys:l,duration:i,status:e.status,statusText:e.statusText,method:n,path:r,data:s,size:c,url:t}},VSe=e=>{let t=new Headers;return e.headers.forEach(({name:e,value:n})=>{t.append(e,n)}),t},HSe=e=>{if(!e.content.text)return{body:null,data:``,size:0};let{text:t,encoding:n}=e.content;if(n)return{body:null,data:t,size:t.length};let r=new TextEncoder().encode(t).buffer;return{body:r,data:t,size:r.byteLength}}})),WSe,GSe,KSe,qSe,JSe,YSe=s((()=>{vxe(),WSe=e=>{try{return new URL(e).searchParams.get(`scalar_url`)||e}catch{return e}},GSe=e=>{if(!e.startsWith(`/`))return`/`;let t=e.lastIndexOf(`/`);return t<=0?`/`:e.slice(0,t)},KSe=e=>{try{let{hostname:t,pathname:n}=new URL(e,`https://example.com`);return{hostname:t,defaultPath:GSe(n)}}catch{return{hostname:``,defaultPath:`/`}}},qSe=(e,t)=>e.name===t.name&&(e.domain??``)===(t.domain??``)&&(e.path??``)===(t.path??``),JSe=({cookieHeaderKeys:e,documentCookies:t,requestUrl:n,now:r=Date.now()})=>{let{hostname:i,defaultPath:a}=KSe(n),o=new Map;for(let t of e){let[e]=qc(t);if(!e?.name)continue;let n=e.domain||i,s=e.path||a,c=e.maxAge===void 0?e.expires instanceof Date&&e.expires.getTime()<=r:e.maxAge<=0;o.set(`${e.name}\n${n}\n${s}`,{cookie:{name:e.name,value:e.value,domain:n,path:s},expired:c})}let s=[],c=[];for(let{cookie:e,expired:n}of o.values()){let r=t.findIndex(t=>qSe(e,t));n?r!==-1&&c.push({type:`delete`,cookieName:e.name,index:r}):s.push({type:`upsert`,cookie:e,...r===-1?{}:{index:r}})}let l=[...s.filter(e=>e.index!==void 0),...c].sort((e,t)=>(t.index??0)-(e.index??0)),u=s.filter(e=>e.index===void 0);return[...l,...u]}})),XSe,ZSe,QSe=s((()=>{XSe=e=>Array.isArray(e)?e:Object.entries(e).map(([e,t])=>({key:e,value:t})),ZSe=({environmentName:e,seededVariables:t,scriptVariables:n,mergedVariables:r,documentVariables:i,environmentExistsOnDocument:a})=>{let o=Math.max(0,r.length-i.length),s=new Map(i.map((e,t)=>[e.name,t])),c=new Map(r.slice(0,o).map((e,t)=>[e.name,t])),l=e=>{let t=s.get(e);if(t!==void 0)return{collectionType:`document`,index:t};let n=c.get(e);if(n!==void 0)return{collectionType:`workspace`,index:n}},u=[],d=[],f=new Set;for(let{key:r,value:i}of XSe(n)){if(f.add(r),t[r]===i)continue;let n=l(r);n?u.push({type:`upsert`,environmentName:e,variable:{name:r,value:i},...n}):u.push({type:`upsert`,environmentName:e,variable:{name:r,value:i},collectionType:a?`document`:`workspace`})}for(let n of Object.keys(t)){if(f.has(n))continue;let t=s.get(n);t!==void 0&&d.push({type:`delete`,environmentName:e,index:t,collectionType:`document`});let r=c.get(n);r!==void 0&&d.push({type:`delete`,environmentName:e,index:r,collectionType:`workspace`})}return d.sort((e,t)=>t.index-e.index),[...u,...d]}})),Xl,Zl=s((()=>{Xl=e=>e!=null}));function Ql(e,t,n,r){return[r,e,t,n].filter(Xl).join(`|`)}function $Se(e){return`reader`in e}var $l,eCe=s((()=>{Zl(),$l=new Map})),eu,tu=s((()=>{yc(),eu=e=>{let{subtype:t}=vc(e);return t===`xml`||t.endsWith(`+xml`)}}));function H(e,t=iCe){return typeof e==`object`&&e&&`$ref`in e?t(e):e}var tCe,nCe,rCe,nu,iCe,ru,iu=s((()=>{js(),tCe=new Set([`$global`,`$status`]),nCe=e=>typeof e==`object`&&!!e&&`$ref`in e,rCe=e=>{for(let t of Object.keys(e))if(t!==`$ref`&&t!==`$ref-value`&&!tCe.has(t))return!1;return!0},nu=(e,t)=>{let n=e;for(;nCe(n)&&rCe(n)&&!t.has(n);){let e=n[`$ref-value`];if(e===void 0)return n;t.add(n),n=e}return n},iCe=e=>{let t=e[`$ref-value`];if(t!==void 0)return nu(t,new Set([e]))},ru=e=>{let{"$ref-value":t,...n}=e,r=t===void 0?void 0:nu(t,new Set([e]));if(!V(r))return n;let i={...r,...n};return Object.hasOwn(r,`$ref-value`)&&!Object.hasOwn(i,`$ref-value`)&&Object.defineProperty(i,"$ref-value",{value:r[`$ref-value`],enumerable:!1,configurable:!0,writable:!0}),i}})),au,ou,su=s((()=>{yc(),iu(),au=e=>{let t=H(e);if(t?.serializedValue!==void 0)return{source:`serialized`,value:t.serializedValue};if(t?.dataValue!==void 0)return{source:`data`,value:t.dataValue};if(t?.value!==void 0)return{source:`value`,value:t.value}},ou=(e,t,n)=>{if(e?.source===`serialized`)return e.value;let{essence:r,subtype:i}=vc(t);if(e?.source===`data`&&(r===`application/json`||i.endsWith(`+json`)))return JSON.stringify(e.value,null,n)}})),cu,lu=s((()=>{Dc(),js(),cu=(e,t,n)=>{if(e===void 0)return;let r=Tc(t),i=!n&&Array.isArray(e)?e:[e];if(r===`json-lines`)return i.map(e=>`${JSON.stringify(e)}\n`).join(``);if(r===`json-seq`)return i.map(e=>`\u001e${JSON.stringify(e)}\n`).join(``);if(r===`sse`){let e=i.map(e=>{if(!V(e))return`data: ${JSON.stringify(e)}\n\n`;let t=[`event`,`id`,`retry`,`data`].flatMap(t=>{let n=e[t];return t===`retry`?typeof n==`number`&&Number.isInteger(n)&&n>=0?[`retry: ${n}`]:[]:t===`data`&&n!==void 0?(typeof n==`string`?n:JSON.stringify(n)).split(/\r\n|\r|\n/).map(e=>`data: ${e}`):typeof n!=`string`||t===`id`&&n.includes(`\0`)?[]:n.split(/\r\n|\r|\n/).length===1?[`${t}: ${n}`]:[]});return t.length?`${t.join(`
+`)}\n\n`:``}),t=e.filter(e=>e===``).length;return t>0&&console.warn(`Skipped ${t} SSE example item(s) with no valid event, id, retry, or data fields.`),e.join(``)}}})),uu,du=s((()=>{uu=e=>e.replaceAll(`~1`,`/`).replaceAll(`~0`,`~`)})),fu,aCe=s((()=>{du(),fu=e=>decodeURI(uu(e))})),pu,mu=s((()=>{aCe(),pu=e=>e.split(`/`).slice(1).map(fu)})),hu,oCe=s((()=>{hu=(e,t,n)=>{let[r,i]=e.split(`#`,2);if(r){if(!n.has(r))return;if(!i)return n.get(r);if(i.startsWith(`/`)){let e=n.get(r);return e?`${e}${i}`:i.slice(1)}return n.get(`${r}#${i}`)}if(i)return i.startsWith(`/`)?i.slice(1):n.get(`${t}#${i}`)}})),gu,_u,vu,yu=s((()=>{gu=e=>{if(e&&typeof e==`object`&&e.$id&&typeof e.$id==`string`)return e.$id},_u=e=>e.join(`/`),vu=(e,t=``,n=[],r=new Map,i=new WeakSet)=>{if(typeof e!=`object`||!e||i.has(e))return r;i.add(e);let a=gu(e);a&&r.set(a,_u(n));let o=a??t;e.$anchor&&typeof e.$anchor==`string`&&r.set(`${o}#${e.$anchor}`,_u(n));for(let t in e)typeof e[t]==`object`&&e[t]!==null&&vu(e[t],o,[...n,t],r,i);return r}}));function bu(e,t){return t.reduce((e,t)=>e.value===void 0||typeof e.value!=`object`||e.value===null||!Object.hasOwn(e.value,t)?{context:``,value:void 0}:{context:gu(e.value)??e.context,value:e.value?.[t]},{context:``,value:e})}var xu=s((()=>{yu()}));function sCe(e,t){return t.reduce((e,t)=>{if(!Object.hasOwn(e,t)||e[t]===void 0){let n=isNaN(Number(t))?{}:[];t===`__proto__`?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}return e[t]},e)}var cCe=s((()=>{}));function Su(e){return typeof e!=`object`||!e?e:e[Cu]?e[lCe]:e}var Cu,lCe,wu,Tu,Eu,uCe,dCe=s((()=>{mu(),js(),oCe(),yu(),xu(),cCe(),Cu=Symbol(`isMagicProxy`),lCe=Symbol(`magicProxyTarget`),wu=`$ref-value`,Tu=`$ref`,Eu=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:vu(e,``,[],new Map(t?.documentUri?[[t.documentUri,``]]:[])),currentContext:``})=>{if(!V(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===Cu)return!0;if(r===lCe)return e;if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return;let a=Reflect.get(e,Tu,i),o=gu(e);if(r===wu&&typeof a==`string`){if(n.cache.has(a))return n.cache.get(a);let e=hu(a,o??n.currentContext,n.schemas);if(e===void 0)return;let r=bu(n.root,pu(`/${e}`));if(uCe(r.value))return r.value;let i=Eu(r.value,t,{...n,currentContext:r.context});return n.cache.set(a,i),i}let s=Reflect.get(e,r,i);return uCe(s)?s:Eu(s,t,{...n,currentContext:o??n.currentContext})},set(e,r,i,a){let o=Reflect.get(e,Tu,a);if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return!0;if(r===wu&&typeof o==`string`){let t=gu(e),r=hu(o,t??n.currentContext,n.schemas);if(r===void 0)return;let a=pu(`/${r}`);if(a.length===0)return!1;let s=()=>bu(n.root,a.slice(0,-1)).value;s()===void 0&&(sCe(n.root,a.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${o}\n\nPlease fix your input file to fix this issue.`));let c=s(),l=a.at(-1);return l===`__proto__`?Object.defineProperty(c,l,{value:i,enumerable:!0,configurable:!0,writable:!0}):c[l]=i,!0}return Reflect.set(e,r,i,a)},deleteProperty(e,t){return Reflect.deleteProperty(e,t)},has(e,n){return typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal?!1:n===wu&&Tu in e||Reflect.has(e,n)},ownKeys(e){let n=Reflect.ownKeys(e).filter(e=>typeof e!=`string`||!(e.startsWith(`__scalar_`)&&!t?.showInternal));return Tu in e&&!n.includes(wu)&&n.push(wu),n},getOwnPropertyDescriptor(e,n){if(typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal)return;let r=Reflect.get(e,Tu);return n===wu&&typeof r==`string`?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,n)}});return n.proxyCache.set(e,r),r},uCe=e=>typeof e==`object`&&!!e&&e[Cu]===!0})),Du=s((()=>{dCe()})),Ou,fCe,pCe,mCe,hCe,gCe,_Ce,ku,vCe=s((()=>{js(),Ou=Symbol(`isDetectChangesProxy`),fCe=Symbol(`detectChangesProxyTarget`),pCe=(e,t)=>{let n=1;for(let t=e;t!==void 0;t=t.parent)n++;let r=Array(n);r[--n]=t;for(let t=e;t!==void 0;t=t.parent)r[--n]=t.key;return r},mCe=e=>{let t;for(let n of e)t={parent:t,key:n};return t},hCe=(e,t,n,r)=>{if(!V(e)&&!Array.isArray(e))return e;let i=n.get(e);if(i!==void 0)return i;let a=new Proxy(e,{get(e,i,a){if(i===Ou)return!0;if(i===fCe)return e;let o=Reflect.get(e,i,a);if(typeof o!=`object`||!o)return o;let s=n.get(o);return s===void 0?_Ce(o)?o:hCe(o,t,n,{parent:r,key:String(i)}):s},set(e,n,i,a){let o=t?.hooks?.onBeforeChange,s=t?.hooks?.onAfterChange,c=o||s?pCe(r,String(n)):void 0;c&&o?.(c,i);let l=Reflect.set(e,n,i,a);return c&&s?.(c,i),l},deleteProperty(e,n){let i=t?.hooks?.onBeforeChange,a=t?.hooks?.onAfterChange,o=i||a?pCe(r,String(n)):void 0;o&&i?.(o);let s=Reflect.deleteProperty(e,n);return o&&a?.(o),s}});return n.set(e,a),a},gCe=(e,t,n={proxyCache:new WeakMap,path:[]})=>hCe(e,t,n.proxyCache,mCe(n.path)),_Ce=e=>typeof e==`object`&&!!e&&e[Ou]===!0,ku=e=>typeof e!=`object`||!e?e:e[Ou]?e[fCe]:e}));function yCe(e){return typeof e==`object`&&e&&e[Au]?e[ju]:e}var Au,ju,Mu,bCe,xCe=s((()=>{js(),Au=Symbol(`isOverridesProxy`),ju=Symbol(`getOverridesTarget`),Mu=(e,t,n={cache:new WeakMap})=>{if(!e||typeof e!=`object`)return e;if(n.cache.has(e))return n.cache.get(e);let{overrides:r}=t??{},i=new Proxy(e,{get(e,t,i){if(t===Au)return!0;if(t===ju)return e;let a=Reflect.get(e,t,i);return bCe(a)?a:V(a)?Mu(a,{overrides:Reflect.get(r??{},t)},n):Reflect.get(r??{},t)??a},set(e,t,n,i){return t===Au||t===ju?!1:r&&Reflect.has(r,t)&&r&&typeof r==`object`?(r[t]=n,!0):Reflect.set(e,t,n,i)}});return n.cache.set(e,i),i},bCe=e=>typeof e==`object`&&!!e&&e[Au]===!0})),Nu,Pu,Fu=s((()=>{Du(),B(),vCe(),xCe(),Nu=e=>typeof e!=`object`||!e?e:ku(xn(Su(yCe(e)))),Pu=(e,{depth:t=0}={})=>{let n=(r,i=0)=>{if(typeof r!=`object`||!r)return r;let a=ku(xn(Su(yCe(r))));return t!==null&&i>=t||(i!==0&&a!==r&&(console.warn(`%c⚠ Warning:%c You tried to assign a proxied object (depth: %d).
+%c💡 Tip:%c Pass a plain object instead — wrapping a proxy inside another proxy may cause weird bugs.
+%c🔍 Debug Info:%c The problematic value is shown below:`,`background: #fdd835; color: #000; font-weight: bold; padding: 2px 4px; border-radius: 3px;`,`color: inherit;`,i,`color: #00bfa5; font-weight: bold;`,`color: inherit;`,`color: #03a9f4; font-weight: bold;`,`color: inherit;`,r,e),console.groupCollapsed(`%c📜 Proxy assignment trace`,`color: #9c27b0; font-weight: bold;`),console.trace({value:r,raw:a}),console.groupEnd()),Object.entries(a).forEach(([e,t])=>{let r=n(t,i+1);Reflect.set(a,e,r)||console.warn(`%c🚫 Readonly Property Error:%c Failed to set property "%s" on object.
+%c💡 Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property — the value was not updated.
+%c🔍 Debug Info:%c Property: %s | Value: %o | Object: %o`,`background: #f44336; color: #fff; font-weight: bold; padding: 2px 4px; border-radius: 3px;`,`color: inherit;`,e,`color: #00bfa5; font-weight: bold;`,`color: inherit;`,`color: #03a9f4; font-weight: bold;`,`color: inherit;`,e,r,a)})),a};return n(e)}})),Iu,Lu=s((()=>{Fu(),Iu=(e,t=new WeakMap)=>{if(typeof e!=`object`||!e)return e;let n=Nu(e),r=t.get(n);if(r)return r;let i=Array.isArray(e)?[]:{};t.set(n,i);for(let r of Object.keys(e))Object.defineProperty(i,r,{value:Iu(Reflect.get(e,r),t),enumerable:r!==`$ref-value`||Object.hasOwn(n,r),configurable:!0,writable:!0});return`$ref`in e&&`$ref-value`in e&&!Object.hasOwn(i,`$ref-value`)&&Object.defineProperty(i,"$ref-value",{value:Iu(Reflect.get(e,`$ref-value`),t),configurable:!0,writable:!0}),i}}));function SCe(e){return Vu(e)&&!Ru(e)&&!Uu(e)&&Symbol.asyncIterator in e}function Ru(e){return Array.isArray(e)}function CCe(e){return typeof e==`bigint`}function zu(e){return typeof e==`boolean`}function wCe(e){return e instanceof globalThis.Date}function TCe(e){return typeof e==`function`}function ECe(e){return Vu(e)&&!Ru(e)&&!Uu(e)&&Symbol.iterator in e}function DCe(e){return e===null}function Bu(e){return typeof e==`number`}function Vu(e){return typeof e==`object`&&!!e}function OCe(e){return e instanceof globalThis.RegExp}function Hu(e){return typeof e==`string`}function kCe(e){return typeof e==`symbol`}function Uu(e){return e instanceof globalThis.Uint8Array}function Wu(e){return e===void 0}var Gu=s((()=>{}));function ACe(e){return e.map(e=>Ku(e))}function jCe(e){return new Date(e.getTime())}function MCe(e){return new Uint8Array(e)}function NCe(e){return new RegExp(e.source,e.flags)}function PCe(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=Ku(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=Ku(e[n]);return t}function Ku(e){return Ru(e)?ACe(e):wCe(e)?jCe(e):Uu(e)?MCe(e):OCe(e)?NCe(e):Vu(e)?PCe(e):e}function qu(e){return Ku(e)}var Ju=s((()=>{Gu()}));function FCe(e,t){return qu(t===void 0?e:{...t,...e})}var ICe=s((()=>{Ju()})),LCe=s((()=>{ICe(),Ju()}));function RCe(e){return Zu(e)&&globalThis.Symbol.asyncIterator in e}function zCe(e){return Zu(e)&&globalThis.Symbol.iterator in e}function BCe(e){return e instanceof globalThis.Promise}function Yu(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function VCe(e){return e instanceof globalThis.Map}function HCe(e){return e instanceof globalThis.Set}function UCe(e){return globalThis.ArrayBuffer.isView(e)}function WCe(e){return e instanceof globalThis.Uint8Array}function Xu(e,t){return t in e}function Zu(e){return typeof e==`object`&&!!e}function Qu(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function $u(e){return e===void 0}function ed(e){return e===null}function td(e){return typeof e==`boolean`}function nd(e){return typeof e==`number`}function GCe(e){return globalThis.Number.isInteger(e)}function rd(e){return typeof e==`bigint`}function id(e){return typeof e==`string`}function KCe(e){return typeof e==`function`}function ad(e){return typeof e==`symbol`}function qCe(e){return rd(e)||td(e)||ed(e)||nd(e)||id(e)||ad(e)||$u(e)}var JCe=s((()=>{})),od=s((()=>{JCe()})),sd,YCe=s((()=>{od(),(function(e){e.InstanceMode=`default`,e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(t,n){return e.ExactOptionalPropertyTypes?n in t:t[n]!==void 0}e.IsExactOptionalProperty=t;function n(t){let n=Zu(t);return e.AllowArrayObject?n:n&&!Qu(t)}e.IsObjectLike=n;function r(e){return n(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=r;function i(t){return e.AllowNaN?nd(t):Number.isFinite(t)}e.IsNumberLike=i;function a(t){let n=$u(t);return e.AllowNullVoid?n||t===null:n}e.IsVoidLike=a})(sd||={})}));function XCe(e){return globalThis.Object.freeze(e).map(e=>cd(e))}function ZCe(e){return e}function QCe(e){return e}function $Ce(e){return e}function ewe(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=cd(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=cd(e[n]);return globalThis.Object.freeze(t)}function cd(e){return Ru(e)?XCe(e):wCe(e)?ZCe(e):Uu(e)?QCe(e):OCe(e)?$Ce(e):Vu(e)?ewe(e):e}var twe=s((()=>{Gu()}));function ld(e,t){let n=t===void 0?e:{...t,...e};switch(sd.InstanceMode){case`freeze`:return cd(n);case`clone`:return qu(n);default:return n}}var ud=s((()=>{YCe(),twe(),Ju()})),dd=s((()=>{ud()})),fd,nwe=s((()=>{fd=class extends Error{constructor(e){super(e)}}})),pd=s((()=>{nwe()})),md,hd,gd,_d,vd,yd=s((()=>{md=Symbol.for(`TypeBox.Transform`),hd=Symbol.for(`TypeBox.Readonly`),gd=Symbol.for(`TypeBox.Optional`),_d=Symbol.for(`TypeBox.Hint`),vd=Symbol.for(`TypeBox.Kind`)})),bd=s((()=>{yd()}));function rwe(e){return Vu(e)&&e[hd]===`Readonly`}function xd(e){return Vu(e)&&e[gd]===`Optional`}function iwe(e){return Md(e,`Any`)}function awe(e){return Md(e,`Argument`)}function Sd(e){return Md(e,`Array`)}function Cd(e){return Md(e,`AsyncIterator`)}function wd(e){return Md(e,`BigInt`)}function Td(e){return Md(e,`Boolean`)}function Ed(e){return Md(e,`Computed`)}function Dd(e){return Md(e,`Constructor`)}function owe(e){return Md(e,`Date`)}function Od(e){return Md(e,`Function`)}function kd(e){return Md(e,`Integer`)}function Ad(e){return Md(e,`Intersect`)}function jd(e){return Md(e,`Iterator`)}function Md(e,t){return Vu(e)&&vd in e&&e[vd]===t}function swe(e){return zu(e)||Bu(e)||Hu(e)}function Nd(e){return Md(e,`Literal`)}function Pd(e){return Md(e,`MappedKey`)}function Fd(e){return Md(e,`MappedResult`)}function Id(e){return Md(e,`Never`)}function cwe(e){return Md(e,`Not`)}function Ld(e){return Md(e,`Null`)}function Rd(e){return Md(e,`Number`)}function zd(e){return Md(e,`Object`)}function Bd(e){return Md(e,`Promise`)}function Vd(e){return Md(e,`Record`)}function Hd(e){return Md(e,`Ref`)}function lwe(e){return Md(e,`RegExp`)}function Ud(e){return Md(e,`String`)}function Wd(e){return Md(e,`Symbol`)}function Gd(e){return Md(e,`TemplateLiteral`)}function uwe(e){return Md(e,`This`)}function Kd(e){return Vu(e)&&md in e}function qd(e){return Md(e,`Tuple`)}function Jd(e){return Md(e,`Undefined`)}function Yd(e){return Md(e,`Union`)}function dwe(e){return Md(e,`Uint8Array`)}function fwe(e){return Md(e,`Unknown`)}function pwe(e){return Md(e,`Unsafe`)}function mwe(e){return Md(e,`Void`)}function hwe(e){return Vu(e)&&vd in e&&Hu(e[vd])}function Xd(e){return iwe(e)||awe(e)||Sd(e)||Td(e)||wd(e)||Cd(e)||Ed(e)||Dd(e)||owe(e)||Od(e)||kd(e)||Ad(e)||jd(e)||Nd(e)||Pd(e)||Fd(e)||Id(e)||cwe(e)||Ld(e)||Rd(e)||zd(e)||Bd(e)||Vd(e)||Hd(e)||lwe(e)||Ud(e)||Wd(e)||Gd(e)||uwe(e)||qd(e)||Jd(e)||Yd(e)||dwe(e)||fwe(e)||pwe(e)||mwe(e)||hwe(e)}var Zd=s((()=>{Gu(),bd()}));function gwe(e){try{return new RegExp(e),!0}catch{return!1}}function Qd(e){if(!Hu(e))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=7&&n<=13||n===27||n===127)return!1}return!0}function _we(e){return tf(e)||Ff(e)}function $d(e){return Wu(e)||CCe(e)}function ef(e){return Wu(e)||Bu(e)}function tf(e){return Wu(e)||zu(e)}function nf(e){return Wu(e)||Hu(e)}function vwe(e){return Wu(e)||Hu(e)&&Qd(e)&&gwe(e)}function ywe(e){return Wu(e)||Hu(e)&&Qd(e)}function bwe(e){return Wu(e)||Ff(e)}function rf(e){return Vu(e)&&e[gd]===`Optional`}function af(e){return gf(e,`Any`)&&nf(e.$id)}function xwe(e){return gf(e,`Argument`)&&Bu(e.index)}function of(e){return gf(e,`Array`)&&e.type===`array`&&nf(e.$id)&&Ff(e.items)&&ef(e.minItems)&&ef(e.maxItems)&&tf(e.uniqueItems)&&bwe(e.contains)&&ef(e.minContains)&&ef(e.maxContains)}function sf(e){return gf(e,`AsyncIterator`)&&e.type===`AsyncIterator`&&nf(e.$id)&&Ff(e.items)}function cf(e){return gf(e,`BigInt`)&&e.type===`bigint`&&nf(e.$id)&&$d(e.exclusiveMaximum)&&$d(e.exclusiveMinimum)&&$d(e.maximum)&&$d(e.minimum)&&$d(e.multipleOf)}function lf(e){return gf(e,`Boolean`)&&e.type===`boolean`&&nf(e.$id)}function Swe(e){return gf(e,`Computed`)&&Hu(e.target)&&Ru(e.parameters)&&e.parameters.every(e=>Ff(e))}function uf(e){return gf(e,`Constructor`)&&e.type===`Constructor`&&nf(e.$id)&&Ru(e.parameters)&&e.parameters.every(e=>Ff(e))&&Ff(e.returns)}function df(e){return gf(e,`Date`)&&e.type===`Date`&&nf(e.$id)&&ef(e.exclusiveMaximumTimestamp)&&ef(e.exclusiveMinimumTimestamp)&&ef(e.maximumTimestamp)&&ef(e.minimumTimestamp)&&ef(e.multipleOfTimestamp)}function ff(e){return gf(e,`Function`)&&e.type===`Function`&&nf(e.$id)&&Ru(e.parameters)&&e.parameters.every(e=>Ff(e))&&Ff(e.returns)}function pf(e){return gf(e,`Integer`)&&e.type===`integer`&&nf(e.$id)&&ef(e.exclusiveMaximum)&&ef(e.exclusiveMinimum)&&ef(e.maximum)&&ef(e.minimum)&&ef(e.multipleOf)}function Cwe(e){return Vu(e)&&Object.entries(e).every(([e,t])=>Qd(e)&&Ff(t))}function mf(e){return gf(e,`Intersect`)&&!(Hu(e.type)&&e.type!==`object`)&&Ru(e.allOf)&&e.allOf.every(e=>Ff(e)&&!Mwe(e))&&nf(e.type)&&(tf(e.unevaluatedProperties)||bwe(e.unevaluatedProperties))&&nf(e.$id)}function hf(e){return gf(e,`Iterator`)&&e.type===`Iterator`&&nf(e.$id)&&Ff(e.items)}function gf(e,t){return Vu(e)&&vd in e&&e[vd]===t}function wwe(e){return _f(e)&&Hu(e.const)}function Twe(e){return _f(e)&&Bu(e.const)}function Ewe(e){return _f(e)&&zu(e.const)}function _f(e){return gf(e,`Literal`)&&nf(e.$id)&&Dwe(e.const)}function Dwe(e){return zu(e)||Bu(e)||Hu(e)}function Owe(e){return gf(e,`MappedKey`)&&Ru(e.keys)&&e.keys.every(e=>Bu(e)||Hu(e))}function kwe(e){return gf(e,`MappedResult`)&&Cwe(e.properties)}function vf(e){return gf(e,`Never`)&&Vu(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function yf(e){return gf(e,`Not`)&&Ff(e.not)}function bf(e){return gf(e,`Null`)&&e.type===`null`&&nf(e.$id)}function xf(e){return gf(e,`Number`)&&e.type===`number`&&nf(e.$id)&&ef(e.exclusiveMaximum)&&ef(e.exclusiveMinimum)&&ef(e.maximum)&&ef(e.minimum)&&ef(e.multipleOf)}function Sf(e){return gf(e,`Object`)&&e.type===`object`&&nf(e.$id)&&Cwe(e.properties)&&_we(e.additionalProperties)&&ef(e.minProperties)&&ef(e.maxProperties)}function Cf(e){return gf(e,`Promise`)&&e.type===`Promise`&&nf(e.$id)&&Ff(e.item)}function wf(e){return gf(e,`Record`)&&e.type===`object`&&nf(e.$id)&&_we(e.additionalProperties)&&Vu(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&gwe(t[0])&&Vu(e.patternProperties)&&Ff(e.patternProperties[t[0]])})(e)}function Awe(e){return gf(e,`Ref`)&&nf(e.$id)&&Hu(e.$ref)}function Tf(e){return gf(e,`RegExp`)&&nf(e.$id)&&Hu(e.source)&&Hu(e.flags)&&ef(e.maxLength)&&ef(e.minLength)}function Ef(e){return gf(e,`String`)&&e.type===`string`&&nf(e.$id)&&ef(e.minLength)&&ef(e.maxLength)&&vwe(e.pattern)&&ywe(e.format)}function Df(e){return gf(e,`Symbol`)&&e.type===`symbol`&&nf(e.$id)}function Of(e){return gf(e,`TemplateLiteral`)&&e.type===`string`&&Hu(e.pattern)&&e.pattern[0]===`^`&&e.pattern[e.pattern.length-1]===`$`}function jwe(e){return gf(e,`This`)&&nf(e.$id)&&Hu(e.$ref)}function Mwe(e){return Vu(e)&&md in e}function kf(e){return gf(e,`Tuple`)&&e.type===`array`&&nf(e.$id)&&Bu(e.minItems)&&Bu(e.maxItems)&&e.minItems===e.maxItems&&(Wu(e.items)&&Wu(e.additionalItems)&&e.minItems===0||Ru(e.items)&&e.items.every(e=>Ff(e)))}function Af(e){return gf(e,`Undefined`)&&e.type===`undefined`&&nf(e.$id)}function jf(e){return gf(e,`Union`)&&nf(e.$id)&&Vu(e)&&Ru(e.anyOf)&&e.anyOf.every(e=>Ff(e))}function Mf(e){return gf(e,`Uint8Array`)&&e.type===`Uint8Array`&&nf(e.$id)&&ef(e.minByteLength)&&ef(e.maxByteLength)}function Nf(e){return gf(e,`Unknown`)&&nf(e.$id)}function Nwe(e){return gf(e,`Unsafe`)}function Pf(e){return gf(e,`Void`)&&e.type===`void`&&nf(e.$id)}function Pwe(e){return Vu(e)&&vd in e&&Hu(e[vd])&&!Fwe.includes(e[vd])}function Ff(e){return Vu(e)&&(af(e)||xwe(e)||of(e)||lf(e)||cf(e)||sf(e)||Swe(e)||uf(e)||df(e)||ff(e)||pf(e)||mf(e)||hf(e)||_f(e)||Owe(e)||kwe(e)||vf(e)||yf(e)||bf(e)||xf(e)||Sf(e)||Cf(e)||wf(e)||Awe(e)||Tf(e)||Ef(e)||Df(e)||Of(e)||jwe(e)||kf(e)||Af(e)||jf(e)||Mf(e)||Nf(e)||Nwe(e)||Pf(e)||Pwe(e))}var Fwe,Iwe=s((()=>{Gu(),bd(),Fwe=`Argument.Any.Array.AsyncIterator.BigInt.Boolean.Computed.Constructor.Date.Enum.Function.Integer.Intersect.Iterator.Literal.MappedKey.MappedResult.Not.Null.Number.Object.Promise.Record.Ref.RegExp.String.Symbol.TemplateLiteral.This.Tuple.Undefined.Union.Uint8Array.Unknown.Void`.split(`.`)})),Lwe=s((()=>{Zd(),Iwe(),Gu()})),Rwe=s((()=>{})),zwe=s((()=>{Rwe()})),Bwe,If,Lf,Vwe,Rf,zf,Hwe,Uwe=s((()=>{Bwe=`(true|false)`,If=`(0|[1-9][0-9]*)`,Lf=`(.*)`,Vwe=`(?!.*)`,Rf=`^${If}$`,zf=`^${Lf}$`,Hwe=`^${Vwe}$`})),Bf=s((()=>{Uwe()}));function Wwe(e){return Vf.has(e)}function Gwe(e){return Vf.get(e)}var Vf,Kwe=s((()=>{Vf=new Map}));function Hf(e){return Uf.has(e)}function qwe(e){return Uf.get(e)}var Uf,Jwe=s((()=>{Uf=new Map})),Wf=s((()=>{Kwe(),Jwe()}));function Ywe(e,t){return e.includes(t)}function Xwe(e){return[...new Set(e)]}function Zwe(e,t){return e.filter(e=>t.includes(e))}function Qwe(e,t){return e.reduce((e,t)=>Zwe(e,t),t)}function $we(e){return e.length===1?e[0]:e.length>1?Qwe(e.slice(1),e[0]):[]}function eTe(e){let t=[];for(let n of e)t.push(...n);return t}var tTe=s((()=>{})),Gf=s((()=>{tTe()}));function Kf(e){return ld({[vd]:`Any`},e)}var nTe=s((()=>{dd(),bd()})),qf=s((()=>{nTe()}));function Jf(e,t){return ld({[vd]:`Array`,type:`array`,items:e},t)}var rTe=s((()=>{ud(),bd()})),Yf=s((()=>{rTe()}));function iTe(e){return ld({[vd]:`Argument`,index:e})}var aTe=s((()=>{ud(),bd()})),Xf=s((()=>{aTe()}));function Zf(e,t){return ld({[vd]:`AsyncIterator`,type:`AsyncIterator`,items:e},t)}var oTe=s((()=>{bd(),ud()})),Qf=s((()=>{oTe()}));function $f(e,t,n){return ld({[vd]:`Computed`,target:e,parameters:t},n)}var sTe=s((()=>{dd(),yd()})),ep=s((()=>{sTe()}));function cTe(e,t){let{[t]:n,...r}=e;return r}function tp(e,t){return t.reduce((e,t)=>cTe(e,t),e)}var np=s((()=>{})),rp=s((()=>{np()}));function ip(e){return ld({[vd]:`Never`,not:{}},e)}var lTe=s((()=>{ud(),bd()})),ap=s((()=>{lTe()})),uTe=s((()=>{}));function op(e){return ld({[vd]:`MappedResult`,properties:e})}var dTe=s((()=>{ud(),bd()}));function sp(e,t,n){return ld({[vd]:`Constructor`,type:`Constructor`,parameters:e,returns:t},n)}var fTe=s((()=>{ud(),bd()})),cp=s((()=>{fTe()}));function lp(e,t,n){return ld({[vd]:`Function`,type:`Function`,parameters:e,returns:t},n)}var pTe=s((()=>{ud(),bd()})),up=s((()=>{pTe()}));function dp(e,t){return ld({[vd]:`Union`,anyOf:e},t)}var mTe=s((()=>{ud(),bd()}));function hTe(e){return e.some(e=>xd(e))}function gTe(e){return e.map(e=>xd(e)?_Te(e):e)}function _Te(e){return tp(e,[gd])}function vTe(e,t){return hTe(e)?$p(dp(gTe(e),t)):dp(gTe(e),t)}function fp(e,t){return e.length===1?ld(e[0],t):e.length===0?ip(t):vTe(e,t)}var yTe=s((()=>{ud(),bd(),rp(),ap(),em(),mTe(),Zd()})),bTe=s((()=>{}));function pp(e,t){return e.length===0?ip(t):e.length===1?ld(e[0],t):dp(e,t)}var xTe=s((()=>{ap(),ud(),mTe()})),mp=s((()=>{yTe(),bTe(),xTe()}));function STe(e){return e.replace(/\\\$/g,`$`).replace(/\\\*/g,`*`).replace(/\\\^/g,`^`).replace(/\\\|/g,`|`).replace(/\\\(/g,`(`).replace(/\\\)/g,`)`)}function hp(e,t,n){return e[t]===n&&e.charCodeAt(t-1)!==92}function gp(e,t){return hp(e,t,`(`)}function _p(e,t){return hp(e,t,`)`)}function CTe(e,t){return hp(e,t,`|`)}function wTe(e){if(!(gp(e,0)&&_p(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(gp(e,n)&&(t+=1),_p(e,n)&&--t,t===0&&n!==e.length-1)return!1;return!0}function TTe(e){return e.slice(1,e.length-1)}function ETe(e){let t=0;for(let n=0;n<e.length;n++)if(gp(e,n)&&(t+=1),_p(e,n)&&--t,CTe(e,n)&&t===0)return!0;return!1}function DTe(e){for(let t=0;t<e.length;t++)if(gp(e,t))return!0;return!1}function OTe(e){let[t,n]=[0,0],r=[];for(let i=0;i<e.length;i++)if(gp(e,i)&&(t+=1),_p(e,i)&&--t,CTe(e,i)&&t===0){let t=e.slice(n,i);t.length>0&&r.push(vp(t)),n=i+1}let i=e.slice(n);return i.length>0&&r.push(vp(i)),r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`or`,expr:r}}function kTe(e){function t(e,t){if(!gp(e,t))throw new bp(`TemplateLiteralParser: Index must point to open parens`);let n=0;for(let r=t;r<e.length;r++)if(gp(e,r)&&(n+=1),_p(e,r)&&--n,n===0)return[t,r];throw new bp(`TemplateLiteralParser: Unclosed group parens in expression`)}function n(e,t){for(let n=t;n<e.length;n++)if(gp(e,n))return[t,n];return[t,e.length]}let r=[];for(let i=0;i<e.length;i++)if(gp(e,i)){let[n,a]=t(e,i),o=e.slice(n,a+1);r.push(vp(o)),i=a}else{let[t,a]=n(e,i),o=e.slice(t,a);o.length>0&&r.push(vp(o)),i=a-1}return r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`and`,expr:r}}function vp(e){return wTe(e)?vp(TTe(e)):ETe(e)?OTe(e):DTe(e)?kTe(e):{type:`const`,const:STe(e)}}function yp(e){return vp(e.slice(1,e.length-1))}var bp,xp=s((()=>{pd(),bp=class extends fd{}}));function ATe(e){return e.type===`or`&&e.expr.length===2&&e.expr[0].type===`const`&&e.expr[0].const===`0`&&e.expr[1].type===`const`&&e.expr[1].const===`[1-9][0-9]*`}function jTe(e){return e.type===`or`&&e.expr.length===2&&e.expr[0].type===`const`&&e.expr[0].const===`true`&&e.expr[1].type===`const`&&e.expr[1].const===`false`}function MTe(e){return e.type===`const`&&e.const===`.*`}function Sp(e){return ATe(e)||MTe(e)?!1:jTe(e)?!0:e.type===`and`||e.type===`or`?e.expr.every(e=>Sp(e)):e.type===`const`||(()=>{throw new PTe(`Unknown expression type`)})()}function NTe(e){return Sp(yp(e.pattern))}var PTe,FTe=s((()=>{xp(),pd(),PTe=class extends fd{}}));function*ITe(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let n of ITe(e.slice(1)))yield`${t}${n}`}function*LTe(e){return yield*ITe(e.expr.map(e=>[...Cp(e)]))}function*RTe(e){for(let t of e.expr)yield*Cp(t)}function*zTe(e){return yield e.const}function*Cp(e){return e.type===`and`?yield*LTe(e):e.type===`or`?yield*RTe(e):e.type===`const`?yield*zTe(e):(()=>{throw new BTe(`Unknown expression`)})()}function wp(e){let t=yp(e.pattern);return Sp(t)?[...Cp(t)]:[]}var BTe,VTe=s((()=>{FTe(),xp(),pd(),BTe=class extends fd{}}));function Tp(e,t){return ld({[vd]:`Literal`,const:e,type:typeof e},t)}var HTe=s((()=>{ud(),bd()})),Ep=s((()=>{HTe()}));function UTe(e){return ld({[vd]:`Boolean`,type:`boolean`},e)}var WTe=s((()=>{bd(),dd()})),Dp=s((()=>{WTe()}));function Op(e){return ld({[vd]:`BigInt`,type:`bigint`},e)}var GTe=s((()=>{bd(),dd()})),kp=s((()=>{GTe()}));function Ap(e){return ld({[vd]:`Number`,type:`number`},e)}var KTe=s((()=>{ud(),bd()})),jp=s((()=>{KTe()}));function Mp(e){return ld({[vd]:`String`,type:`string`},e)}var qTe=s((()=>{ud(),bd()})),Np=s((()=>{qTe()}));function*JTe(e){let t=e.trim().replace(/"|'/g,``);return t===`boolean`?yield UTe():t===`number`?yield Ap():t===`bigint`?yield Op():t===`string`?yield Mp():yield(()=>{let e=t.split(`|`).map(e=>Tp(e.trim()));return e.length===0?ip():e.length===1?e[0]:fp(e)})()}function*YTe(e){if(e[1]!==`{`)return yield*[Tp(`$`),...Pp(e.slice(1))];for(let t=2;t<e.length;t++)if(e[t]===`}`){let n=JTe(e.slice(2,t)),r=Pp(e.slice(t+1));return yield*[...n,...r]}yield Tp(e)}function*Pp(e){for(let t=0;t<e.length;t++)if(e[t]===`$`)return yield*[Tp(e.slice(0,t)),...YTe(e.slice(t))];yield Tp(e)}function XTe(e){return[...Pp(e)]}var ZTe=s((()=>{Ep(),Dp(),kp(),jp(),Np(),mp(),ap()}));function QTe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function $Te(e,t){return Gd(e)?e.pattern.slice(1,e.pattern.length-1):Yd(e)?`(${e.anyOf.map(e=>$Te(e,t)).join(`|`)})`:Rd(e)||kd(e)||wd(e)?`${t}${If}`:Ud(e)?`${t}${Lf}`:Nd(e)?`${t}${QTe(e.const.toString())}`:Td(e)?`${t}${Bwe}`:(()=>{throw new tEe(`Unexpected Kind '${e[vd]}'`)})()}function eEe(e){return`^${e.map(e=>$Te(e,``)).join(``)}$`}var tEe,nEe=s((()=>{Bf(),bd(),pd(),Zd(),tEe=class extends fd{}}));function Fp(e){return fp(wp(e).map(e=>Tp(e)))}var rEe=s((()=>{mp(),Ep(),VTe()}));function iEe(e,t){let n=Hu(e)?eEe(XTe(e)):eEe(e);return ld({[vd]:`TemplateLiteral`,type:`string`,pattern:n},t)}var aEe=s((()=>{ud(),ZTe(),nEe(),Gu(),bd()})),Ip=s((()=>{FTe(),VTe(),ZTe(),xp(),nEe(),rEe(),aEe()}));function oEe(e){return wp(e).map(e=>e.toString())}function sEe(e){let t=[];for(let n of e)t.push(...Lp(n));return t}function cEe(e){return[e.toString()]}function Lp(e){return[...new Set(Gd(e)?oEe(e):Yd(e)?sEe(e.anyOf):Nd(e)?cEe(e.const):Rd(e)||kd(e)?[`[number]`]:[])]}var Rp=s((()=>{Ip(),Zd()}));function lEe(e,t,n){let r={};for(let i of Object.getOwnPropertyNames(t))r[i]=zp(e,Lp(t[i]),n);return r}function uEe(e,t,n){return lEe(e,t.properties,n)}function dEe(e,t,n){return op(uEe(e,t,n))}var fEe=s((()=>{Qp(),Rp(),Bp()}));function pEe(e,t){return e.map(e=>xEe(e,t))}function mEe(e){return e.filter(e=>!Id(e))}function hEe(e,t){return pDe(mEe(pEe(e,t)))}function gEe(e){return e.some(e=>Id(e))?[]:e}function _Ee(e,t){return fp(gEe(pEe(e,t)))}function vEe(e,t){return t in e?e[t]:t===`[number]`?fp(e):ip()}function yEe(e,t){return t===`[number]`?e:ip()}function bEe(e,t){return t in e?e[t]:ip()}function xEe(e,t){return Ad(e)?hEe(e.allOf,t):Yd(e)?_Ee(e.anyOf,t):qd(e)?vEe(e.items??[],t):Sd(e)?yEe(e.items,t):zd(e)?bEe(e.properties,t):ip()}function SEe(e,t){return t.map(t=>xEe(e,t))}function CEe(e,t){return fp(SEe(e,t))}function zp(e,t,n){if(Hd(e)||Hd(t)){if(!Xd(e)||!Xd(t))throw new fd(`Index types using Ref parameters require both Type and Key to be of TSchema`);return $f(`Index`,[e,t])}return Fd(t)?dEe(e,t,n):Pd(t)?OEe(e,t,n):ld(Xd(t)?CEe(e,Lp(t)):CEe(e,t),n)}var wEe=s((()=>{ud(),pd(),ep(),ap(),rm(),mp(),Rp(),kEe(),fEe(),Zd()}));function TEe(e,t,n){return{[t]:zp(e,[t],qu(n))}}function EEe(e,t,n){return t.reduce((t,r)=>({...t,...TEe(e,r,n)}),{})}function DEe(e,t,n){return EEe(e,t.keys,n)}function OEe(e,t,n){return op(DEe(e,t,n))}var kEe=s((()=>{wEe(),Qp(),Ju()})),Bp=s((()=>{kEe(),fEe(),Rp(),wEe()}));function Vp(e,t){return ld({[vd]:`Iterator`,type:`Iterator`,items:e},t)}var AEe=s((()=>{ud(),bd()})),Hp=s((()=>{AEe()}));function jEe(e){let t=[];for(let n in e)xd(e[n])||t.push(n);return t}function MEe(e,t){let n=jEe(e);return ld(n.length>0?{[vd]:`Object`,type:`object`,properties:e,required:n}:{[vd]:`Object`,type:`object`,properties:e},t)}var Up,NEe=s((()=>{ud(),bd(),Zd(),Up=MEe})),Wp=s((()=>{NEe()}));function PEe(e,t){return ld({[vd]:`Promise`,type:`Promise`,item:e},t)}var FEe=s((()=>{ud(),bd()})),Gp=s((()=>{FEe()}));function IEe(e){return ld(tp(e,[hd]))}function LEe(e){return ld({...e,[hd]:`Readonly`})}function REe(e,t){return t===!1?IEe(e):LEe(e)}function Kp(e,t){let n=t??!0;return Fd(e)?HEe(e,n):REe(e,n)}var zEe=s((()=>{ud(),bd(),rp(),UEe(),Zd()}));function BEe(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Kp(e[r],t);return n}function VEe(e,t){return BEe(e.properties,t)}function HEe(e,t){return op(VEe(e,t))}var UEe=s((()=>{Qp(),zEe()})),qp=s((()=>{UEe(),zEe()}));function Jp(e,t){return ld(e.length>0?{[vd]:`Tuple`,type:`array`,items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[vd]:`Tuple`,type:`array`,minItems:e.length,maxItems:e.length},t)}var WEe=s((()=>{ud(),bd()})),Yp=s((()=>{WEe()}));function GEe(e,t){return e in t?Zp(e,t[e]):op(t)}function KEe(e){return{[e]:Tp(e)}}function qEe(e){let t={};for(let n of e)t[n]=Tp(n);return t}function JEe(e,t){return Ywe(t,e)?KEe(e):qEe(t)}function YEe(e,t){return GEe(e,JEe(e,t))}function Xp(e,t){return t.map(t=>Zp(e,t))}function XEe(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(t))n[r]=Zp(e,t[r]);return n}function Zp(e,t){let n={...t};return xd(t)?$p(Zp(e,tp(t,[gd]))):rwe(t)?Kp(Zp(e,tp(t,[hd]))):Fd(t)?GEe(e,t.properties):Pd(t)?YEe(e,t.keys):Dd(t)?sp(Xp(e,t.parameters),Zp(e,t.returns),n):Od(t)?lp(Xp(e,t.parameters),Zp(e,t.returns),n):Cd(t)?Zf(Zp(e,t.items),n):jd(t)?Vp(Zp(e,t.items),n):Ad(t)?nm(Xp(e,t.allOf),n):Yd(t)?pp(Xp(e,t.anyOf),n):qd(t)?Jp(Xp(e,t.items??[]),n):zd(t)?Up(XEe(e,t.properties),n):Sd(t)?Jf(Zp(e,t.items),n):Bd(t)?PEe(Zp(e,t.item),n):t}function ZEe(e,t){let n={};for(let r of e)n[r]=Zp(r,t);return n}function QEe(e,t,n){let r=Xd(e)?Lp(e):e,i=ZEe(r,t({[vd]:`MappedKey`,keys:r}));return Up(i,n)}var $Ee=s((()=>{bd(),rp(),Yf(),Qf(),cp(),up(),Bp(),rm(),Hp(),Ep(),Wp(),em(),Gp(),qp(),Yp(),mp(),Gf(),dTe(),Zd()})),Qp=s((()=>{uTe(),dTe(),$Ee()}));function eDe(e){return ld(tp(e,[gd]))}function tDe(e){return ld({...e,[gd]:`Optional`})}function nDe(e,t){return t===!1?eDe(e):tDe(e)}function $p(e,t){let n=t??!0;return Fd(e)?oDe(e,n):nDe(e,n)}var rDe=s((()=>{ud(),bd(),rp(),sDe(),Zd()}));function iDe(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=$p(e[r],t);return n}function aDe(e,t){return iDe(e.properties,t)}function oDe(e,t){return op(aDe(e,t))}var sDe=s((()=>{Qp(),rDe()})),em=s((()=>{sDe(),rDe()}));function tm(e,t={}){let n=e.every(e=>zd(e)),r=Xd(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return ld(t.unevaluatedProperties===!1||Xd(t.unevaluatedProperties)||n?{...r,[vd]:`Intersect`,type:`object`,allOf:e}:{...r,[vd]:`Intersect`,allOf:e},t)}var cDe=s((()=>{ud(),bd(),Zd()}));function lDe(e){return e.every(e=>xd(e))}function uDe(e){return tp(e,[gd])}function dDe(e){return e.map(e=>xd(e)?uDe(e):e)}function fDe(e,t){return lDe(e)?$p(tm(dDe(e),t)):tm(dDe(e),t)}function pDe(e,t={}){if(e.length===1)return ld(e[0],t);if(e.length===0)return ip(t);if(e.some(e=>Kd(e)))throw Error(`Cannot intersect transform types`);return fDe(e,t)}var mDe=s((()=>{bd(),ud(),rp(),ap(),em(),cDe(),Zd()})),hDe=s((()=>{}));function nm(e,t){if(e.length===1)return ld(e[0],t);if(e.length===0)return ip(t);if(e.some(e=>Kd(e)))throw Error(`Cannot intersect transform types`);return tm(e,t)}var gDe=s((()=>{ud(),ap(),cDe(),Zd()})),rm=s((()=>{mDe(),hDe(),gDe()}));function im(...e){let[t,n]=typeof e[0]==`string`?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!=`string`)throw new fd(`Ref: $ref must be a string`);return ld({[vd]:`Ref`,$ref:t},n)}var _De=s((()=>{pd(),ud(),bd()})),am=s((()=>{_De()}));function vDe(e,t){return $f(`Awaited`,[$f(e,t)])}function yDe(e){return $f(`Awaited`,[im(e)])}function bDe(e){return nm(CDe(e))}function xDe(e){return pp(CDe(e))}function SDe(e){return om(e)}function CDe(e){return e.map(e=>om(e))}function om(e,t){return ld(Ed(e)?vDe(e.target,e.parameters):Ad(e)?bDe(e.allOf):Yd(e)?xDe(e.anyOf):Bd(e)?SDe(e.item):Hd(e)?yDe(e.$ref):e,t)}var wDe=s((()=>{ud(),ep(),rm(),mp(),am(),Zd()})),sm=s((()=>{wDe()}));function TDe(e){let t=[];for(let n of e)t.push(cm(n));return t}function EDe(e){return eTe(TDe(e))}function DDe(e){return $we(TDe(e))}function ODe(e){return e.map((e,t)=>t.toString())}function kDe(e){return[`[number]`]}function ADe(e){return globalThis.Object.getOwnPropertyNames(e)}function jDe(e){return um?globalThis.Object.getOwnPropertyNames(e).map(e=>e[0]===`^`&&e[e.length-1]===`$`?e.slice(1,e.length-1):e):[]}function cm(e){return Ad(e)?EDe(e.allOf):Yd(e)?DDe(e.anyOf):qd(e)?ODe(e.items??[]):Sd(e)?kDe(e.items):zd(e)?ADe(e.properties):Vd(e)?jDe(e.patternProperties):[]}function lm(e){um=!0;let t=cm(e);return um=!1,`^(${t.map(e=>`(${e})`).join(`|`)})$`}var um,MDe=s((()=>{Gf(),Zd(),um=!1}));function NDe(e,t){return $f(`KeyOf`,[$f(e,t)])}function PDe(e){return $f(`KeyOf`,[im(e)])}function FDe(e,t){return ld(fp(IDe(cm(e))),t)}function IDe(e){return e.map(e=>e===`[number]`?Ap():Tp(e))}function dm(e,t){return Ed(e)?NDe(e.target,e.parameters):Hd(e)?PDe(e.$ref):Fd(e)?BDe(e,t):FDe(e,t)}var LDe=s((()=>{ud(),Ep(),jp(),ep(),am(),MDe(),mp(),VDe(),Zd()}));function RDe(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=dm(e[r],qu(t));return n}function zDe(e,t){return RDe(e.properties,t)}function BDe(e,t){return op(zDe(e,t))}var VDe=s((()=>{Qp(),LDe(),Ju()})),HDe=s((()=>{})),fm=s((()=>{VDe(),HDe(),MDe(),LDe()}));function UDe(e){let t=[];for(let n of e)t.push(...cm(n));return Xwe(t)}function WDe(e){return e.filter(e=>!Id(e))}function GDe(e,t){let n=[];for(let r of e)n.push(...SEe(r,[t]));return WDe(n)}function KDe(e,t){let n={};for(let r of t)n[r]=pDe(GDe(e,r));return n}function qDe(e,t){let n=KDe(e,UDe(e));return Up(n,t)}var JDe=s((()=>{rm(),Bp(),fm(),Wp(),Gf(),Zd()})),pm=s((()=>{JDe()}));function YDe(e){return ld({[vd]:`Date`,type:`Date`},e)}var XDe=s((()=>{bd(),ud()})),mm=s((()=>{XDe()}));function ZDe(e){return ld({[vd]:`Null`,type:`null`},e)}var QDe=s((()=>{ud(),bd()})),hm=s((()=>{QDe()}));function $De(e){return ld({[vd]:`Symbol`,type:`symbol`},e)}var eOe=s((()=>{ud(),bd()})),gm=s((()=>{eOe()}));function tOe(e){return ld({[vd]:`Undefined`,type:`undefined`},e)}var nOe=s((()=>{ud(),bd()})),_m=s((()=>{nOe()}));function rOe(e){return ld({[vd]:`Uint8Array`,type:`Uint8Array`},e)}var iOe=s((()=>{ud(),bd()})),vm=s((()=>{iOe()}));function ym(e){return ld({[vd]:`Unknown`},e)}var aOe=s((()=>{ud(),bd()})),bm=s((()=>{aOe()}));function oOe(e){return e.map(e=>Sm(e,!1))}function sOe(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=Kp(Sm(e[n],!1));return t}function xm(e,t){return t===!0?e:Kp(e)}function Sm(e,t){return SCe(e)||ECe(e)?xm(Kf(),t):Ru(e)?Kp(Jp(oOe(e))):Uu(e)?rOe():wCe(e)?YDe():Vu(e)?xm(Up(sOe(e)),t):TCe(e)?xm(lp([],ym()),t):Wu(e)?tOe():DCe(e)?ZDe():kCe(e)?$De():CCe(e)?Op():Bu(e)||zu(e)||Hu(e)?Tp(e):Up({})}function cOe(e,t){return ld(Sm(e,!0),t)}var lOe=s((()=>{qf(),kp(),mm(),up(),Ep(),hm(),Wp(),gm(),Yp(),qp(),_m(),vm(),bm(),dd(),Gu()})),Cm=s((()=>{lOe()}));function uOe(e,t){return Dd(e)?Jp(e.parameters,t):ip(t)}var dOe=s((()=>{Yp(),ap(),Zd()})),wm=s((()=>{dOe()}));function fOe(e,t){if(Wu(e))throw Error(`Enum undefined or empty`);let n=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return pp([...new Set(n)].map(e=>Tp(e)),{...t,[_d]:`Enum`})}var pOe=s((()=>{Ep(),bd(),mp(),Gu()})),Tm=s((()=>{pOe()}));function Em(e){return e===Hm.False?e:Hm.True}function Dm(e){throw new uke(e)}function Om(e){return vf(e)||mf(e)||jf(e)||Nf(e)||af(e)}function km(e,t){return vf(t)?kOe(e,t):mf(t)?jm(e,t):jf(t)?zm(e,t):Nf(t)?oke(e,t):af(t)?Am(e,t):Dm(`StructuralRight`)}function Am(e,t){return Hm.True}function mOe(e,t){return mf(t)?jm(e,t):jf(t)&&t.anyOf.some(e=>af(e)||Nf(e))?Hm.True:jf(t)?Hm.Union:Nf(t)||af(t)?Hm.True:Hm.Union}function hOe(e,t){return Nf(e)?Hm.False:af(e)?Hm.Union:vf(e)?Hm.True:Hm.False}function gOe(e,t){return Sf(t)&&Pm(t)?Hm.True:Om(t)?km(e,t):of(t)?Em(Bm(e.items,t.items)):Hm.False}function _Oe(e,t){return Om(t)?km(e,t):sf(t)?Em(Bm(e.items,t.items)):Hm.False}function vOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):cf(t)?Hm.True:Hm.False}function yOe(e,t){return Ewe(e)||lf(e)?Hm.True:Hm.False}function bOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):lf(t)?Hm.True:Hm.False}function xOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):uf(t)?e.parameters.length>t.parameters.length?Hm.False:e.parameters.every((e,n)=>Em(Bm(t.parameters[n],e))===Hm.True)?Em(Bm(e.returns,t.returns)):Hm.False:Hm.False}function SOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):df(t)?Hm.True:Hm.False}function COe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):ff(t)?e.parameters.length>t.parameters.length?Hm.False:e.parameters.every((e,n)=>Em(Bm(t.parameters[n],e))===Hm.True)?Em(Bm(e.returns,t.returns)):Hm.False:Hm.False}function wOe(e,t){return _f(e)&&Bu(e.const)||xf(e)||pf(e)?Hm.True:Hm.False}function TOe(e,t){return pf(t)||xf(t)?Hm.True:Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):Hm.False}function jm(e,t){return t.allOf.every(t=>Bm(e,t)===Hm.True)?Hm.True:Hm.False}function EOe(e,t){return e.allOf.some(e=>Bm(e,t)===Hm.True)?Hm.True:Hm.False}function DOe(e,t){return Om(t)?km(e,t):hf(t)?Em(Bm(e.items,t.items)):Hm.False}function OOe(e,t){return _f(t)&&t.const===e.const?Hm.True:Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):Ef(t)?XOe(e,t):xf(t)?POe(e,t):pf(t)?wOe(e,t):lf(t)?yOe(e,t):Hm.False}function kOe(e,t){return Hm.False}function AOe(e,t){return Hm.True}function jOe(e){let[t,n]=[e,0];for(;yf(t);)t=t.not,n+=1;return n%2==0?t:ym()}function MOe(e,t){return yf(e)?Bm(jOe(e),t):yf(t)?Bm(e,jOe(t)):Dm(`Invalid fallthrough for Not`)}function NOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):bf(t)?Hm.True:Hm.False}function POe(e,t){return Twe(e)||xf(e)||pf(e)?Hm.True:Hm.False}function FOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):pf(t)||xf(t)?Hm.True:Hm.False}function Mm(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function IOe(e){return Pm(e)}function LOe(e){return Mm(e,0)||Mm(e,1)&&`description`in e.properties&&jf(e.properties.description)&&e.properties.description.anyOf.length===2&&(Ef(e.properties.description.anyOf[0])&&Af(e.properties.description.anyOf[1])||Ef(e.properties.description.anyOf[1])&&Af(e.properties.description.anyOf[0]))}function Nm(e){return Mm(e,0)}function ROe(e){return Mm(e,0)}function zOe(e){return Mm(e,0)}function BOe(e){return Mm(e,0)}function VOe(e){return Pm(e)}function HOe(e){let t=Ap();return Mm(e,0)||Mm(e,1)&&`length`in e.properties&&Em(Bm(e.properties.length,t))===Hm.True}function UOe(e){return Mm(e,0)}function Pm(e){let t=Ap();return Mm(e,0)||Mm(e,1)&&`length`in e.properties&&Em(Bm(e.properties.length,t))===Hm.True}function WOe(e){let t=lp([Kf()],Kf());return Mm(e,0)||Mm(e,1)&&`then`in e.properties&&Em(Bm(e.properties.then,t))===Hm.True}function GOe(e,t){return Bm(e,t)===Hm.False||rf(e)&&!rf(t)?Hm.False:Hm.True}function Fm(e,t){return Nf(e)?Hm.False:af(e)?Hm.Union:vf(e)||wwe(e)&&IOe(t)||Twe(e)&&Nm(t)||Ewe(e)&&ROe(t)||Df(e)&&LOe(t)||cf(e)&&zOe(t)||Ef(e)&&IOe(t)||Df(e)&&LOe(t)||xf(e)&&Nm(t)||pf(e)&&Nm(t)||lf(e)&&ROe(t)||Mf(e)&&VOe(t)||df(e)&&BOe(t)||uf(e)&&UOe(t)||ff(e)&&HOe(t)?Hm.True:wf(e)&&Ef(Im(e))?t[_d]===`Record`?Hm.True:Hm.False:wf(e)&&xf(Im(e))&&Mm(t,0)?Hm.True:Hm.False}function KOe(e,t){return Om(t)?km(e,t):wf(t)?Rm(e,t):Sf(t)?(()=>{for(let n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!rf(t.properties[n]))return Hm.False;if(rf(t.properties[n]))return Hm.True;if(GOe(e.properties[n],t.properties[n])===Hm.False)return Hm.False}return Hm.True})():Hm.False}function qOe(e,t){return Om(t)?km(e,t):Sf(t)&&WOe(t)?Hm.True:Cf(t)?Em(Bm(e.item,t.item)):Hm.False}function Im(e){return`^(0|[1-9][0-9]*)$`in e.patternProperties?Ap():`^(.*)$`in e.patternProperties?Mp():Dm(`Unknown record key pattern`)}function Lm(e){return`^(0|[1-9][0-9]*)$`in e.patternProperties?e.patternProperties[Rf]:`^(.*)$`in e.patternProperties?e.patternProperties[zf]:Dm(`Unable to get record value schema`)}function Rm(e,t){let[n,r]=[Im(t),Lm(t)];return wwe(e)&&xf(n)&&Em(Bm(e,r))===Hm.True?Hm.True:Mf(e)&&xf(n)||Ef(e)&&xf(n)||of(e)&&xf(n)?Bm(e,r):Sf(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(GOe(r,e.properties[t])===Hm.False)return Hm.False;return Hm.True})():Hm.False}function JOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Bm(Lm(e),Lm(t)):Hm.False}function YOe(e,t){return Bm(Tf(e)?Mp():e,Tf(t)?Mp():t)}function XOe(e,t){return _f(e)&&Hu(e.const)||Ef(e)?Hm.True:Hm.False}function ZOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):Ef(t)?Hm.True:Hm.False}function QOe(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):Df(t)?Hm.True:Hm.False}function $Oe(e,t){return Of(e)?Bm(Fp(e),t):Of(t)?Bm(e,Fp(t)):Dm(`Invalid fallthrough for TemplateLiteral`)}function eke(e,t){return of(t)&&e.items!==void 0&&e.items.every(e=>Bm(e,t.items)===Hm.True)}function tke(e,t){return vf(e)?Hm.True:Nf(e)?Hm.False:af(e)?Hm.Union:Hm.False}function nke(e,t){return Om(t)?km(e,t):Sf(t)&&Pm(t)||of(t)&&eke(e,t)?Hm.True:kf(t)?Wu(e.items)&&!Wu(t.items)||!Wu(e.items)&&Wu(t.items)?Hm.False:Wu(e.items)&&!Wu(t.items)||e.items.every((e,n)=>Bm(e,t.items[n])===Hm.True)?Hm.True:Hm.False:Hm.False}function rke(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):Mf(t)?Hm.True:Hm.False}function ike(e,t){return Om(t)?km(e,t):Sf(t)?Fm(e,t):wf(t)?Rm(e,t):Pf(t)?cke(e,t):Af(t)?Hm.True:Hm.False}function zm(e,t){return t.anyOf.some(t=>Bm(e,t)===Hm.True)?Hm.True:Hm.False}function ake(e,t){return e.anyOf.every(e=>Bm(e,t)===Hm.True)?Hm.True:Hm.False}function oke(e,t){return Hm.True}function ske(e,t){return vf(t)?kOe(e,t):mf(t)?jm(e,t):jf(t)?zm(e,t):af(t)?Am(e,t):Ef(t)?XOe(e,t):xf(t)?POe(e,t):pf(t)?wOe(e,t):lf(t)?yOe(e,t):of(t)?hOe(e,t):kf(t)?tke(e,t):Sf(t)?Fm(e,t):Nf(t)?Hm.True:Hm.False}function cke(e,t){return Af(e)||Af(e)?Hm.True:Hm.False}function lke(e,t){return mf(t)?jm(e,t):jf(t)?zm(e,t):Nf(t)?oke(e,t):af(t)?Am(e,t):Sf(t)?Fm(e,t):Pf(t)?Hm.True:Hm.False}function Bm(e,t){return Of(e)||Of(t)?$Oe(e,t):Tf(e)||Tf(t)?YOe(e,t):yf(e)||yf(t)?MOe(e,t):af(e)?mOe(e,t):of(e)?gOe(e,t):cf(e)?vOe(e,t):lf(e)?bOe(e,t):sf(e)?_Oe(e,t):uf(e)?xOe(e,t):df(e)?SOe(e,t):ff(e)?COe(e,t):pf(e)?TOe(e,t):mf(e)?EOe(e,t):hf(e)?DOe(e,t):_f(e)?OOe(e,t):vf(e)?AOe(e,t):bf(e)?NOe(e,t):xf(e)?FOe(e,t):Sf(e)?KOe(e,t):wf(e)?JOe(e,t):Ef(e)?ZOe(e,t):Df(e)?QOe(e,t):kf(e)?nke(e,t):Cf(e)?qOe(e,t):Mf(e)?rke(e,t):Af(e)?ike(e,t):jf(e)?ake(e,t):Nf(e)?ske(e,t):Pf(e)?lke(e,t):Dm(`Unknown left type operand '${e[vd]}'`)}function Vm(e,t){return Bm(e,t)}var uke,Hm,dke=s((()=>{qf(),up(),jp(),Np(),bm(),Ip(),Bf(),bd(),pd(),Lwe(),uke=class extends fd{},(function(e){e[e.Union=0]=`Union`,e[e.True=1]=`True`,e[e.False=2]=`False`})(Hm||={})}));function fke(e,t,n,r,i){let a={};for(let o of globalThis.Object.getOwnPropertyNames(e))a[o]=Um(e[o],t,n,r,qu(i));return a}function pke(e,t,n,r,i){return fke(e.properties,t,n,r,i)}function mke(e,t,n,r,i){return op(pke(e,t,n,r,i))}var hke=s((()=>{Qp(),Wm(),Ju()}));function gke(e,t,n,r){let i=Vm(e,t);return i===Hm.Union?pp([n,r]):i===Hm.True?n:r}function Um(e,t,n,r,i){return Fd(e)?mke(e,t,n,r,i):Pd(e)?ld(bke(e,t,n,r,i)):ld(gke(e,t,n,r),i)}var Wm=s((()=>{ud(),mp(),dke(),xke(),hke(),Zd()}));function _ke(e,t,n,r,i){return{[e]:Um(Tp(e),t,n,r,qu(i))}}function vke(e,t,n,r,i){return e.reduce((e,a)=>({...e,..._ke(a,t,n,r,i)}),{})}function yke(e,t,n,r,i){return vke(e.keys,t,n,r,i)}function bke(e,t,n,r,i){return op(yke(e,t,n,r,i))}var xke=s((()=>{Qp(),Ep(),Wm(),Ju()}));function Ske(e){return e.allOf.every(e=>Gm(e))}function Cke(e){return e.anyOf.some(e=>Gm(e))}function wke(e){return!Gm(e.not)}function Gm(e){return e[vd]===`Intersect`?Ske(e):e[vd]===`Union`?Cke(e):e[vd]===`Not`?wke(e):e[vd]===`Undefined`}var Tke=s((()=>{bd()})),Km=s((()=>{dke(),xke(),hke(),Tke(),Wm()}));function Eke(e,t){return qm(Fp(e),t)}var Dke=s((()=>{Jm(),Ip()}));function Oke(e,t){let n=e.filter(e=>Vm(e,t)===Hm.False);return n.length===1?n[0]:pp(n)}function qm(e,t,n={}){return Gd(e)?ld(Eke(e,t),n):Fd(e)?ld(jke(e,t),n):ld(Yd(e)?Oke(e.anyOf,t):Vm(e,t)===Hm.False?e:ip(),n)}var Jm=s((()=>{ud(),mp(),ap(),Km(),Mke(),Dke(),Zd()}));function kke(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=qm(e[r],t);return n}function Ake(e,t){return kke(e.properties,t)}function jke(e,t){return op(Ake(e,t))}var Mke=s((()=>{Qp(),Jm()})),Ym=s((()=>{Mke(),Dke(),Jm()}));function Nke(e,t){return Xm(Fp(e),t)}var Pke=s((()=>{Zm(),Ip()}));function Fke(e,t){let n=e.filter(e=>Vm(e,t)!==Hm.False);return n.length===1?n[0]:pp(n)}function Xm(e,t,n){return Gd(e)?ld(Nke(e,t),n):Fd(e)?ld(Rke(e,t),n):ld(Yd(e)?Fke(e.anyOf,t):Vm(e,t)===Hm.False?ip():e,n)}var Zm=s((()=>{ud(),mp(),ap(),Km(),zke(),Pke(),Zd()}));function Ike(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Xm(e[r],t);return n}function Lke(e,t){return Ike(e.properties,t)}function Rke(e,t){return op(Lke(e,t))}var zke=s((()=>{Qp(),Zm()})),Qm=s((()=>{zke(),Pke(),Zm()}));function Bke(e,t){return Dd(e)?ld(e.returns,t):ip(t)}var Vke=s((()=>{ud(),ap(),Zd()})),$m=s((()=>{Vke()}));function Hke(e){return Kp($p(e))}var Uke=s((()=>{qp(),em()})),eh=s((()=>{Uke()}));function th(e,t,n){return ld({[vd]:`Record`,type:`object`,patternProperties:{[e]:t}},n)}function nh(e,t,n){let r={};for(let n of e)r[n]=t;return Up(r,{...n,[_d]:`Record`})}function Wke(e,t,n){return NTe(e)?nh(Lp(e),t,n):th(e.pattern,t,n)}function Gke(e,t,n){return nh(Lp(pp(e)),t,n)}function Kke(e,t,n){return nh([e.toString()],t,n)}function qke(e,t,n){return th(e.source,t,n)}function Jke(e,t,n){return th(Wu(e.pattern)?zf:e.pattern,t,n)}function Yke(e,t,n){return th(zf,t,n)}function Xke(e,t,n){return th(Hwe,t,n)}function Zke(e,t,n){return Up({true:t,false:t},n)}function Qke(e,t,n){return th(Rf,t,n)}function $ke(e,t,n){return th(Rf,t,n)}function eAe(e,t,n={}){return Yd(e)?Gke(e.anyOf,t,n):Gd(e)?Wke(e,t,n):Nd(e)?Kke(e.const,t,n):Td(e)?Zke(e,t,n):kd(e)?Qke(e,t,n):Rd(e)?$ke(e,t,n):lwe(e)?qke(e,t,n):Ud(e)?Jke(e,t,n):iwe(e)?Yke(e,t,n):Id(e)?Xke(e,t,n):ip(n)}function rh(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function tAe(e){let t=rh(e);return t===`^(.*)$`?Mp():t===`^(0|[1-9][0-9]*)$`?Ap():Mp({pattern:t})}function nAe(e){return e.patternProperties[rh(e)]}var rAe=s((()=>{ud(),bd(),ap(),jp(),Wp(),Np(),mp(),Ip(),Bf(),Bp(),Gu(),Zd()})),ih=s((()=>{rAe()}));function iAe(e,t){return t.parameters=ah(e,t.parameters),t.returns=oh(e,t.returns),t}function aAe(e,t){return t.parameters=ah(e,t.parameters),t.returns=oh(e,t.returns),t}function oAe(e,t){return t.allOf=ah(e,t.allOf),t}function sAe(e,t){return t.anyOf=ah(e,t.anyOf),t}function cAe(e,t){return Wu(t.items)||(t.items=ah(e,t.items)),t}function lAe(e,t){return t.items=oh(e,t.items),t}function uAe(e,t){return t.items=oh(e,t.items),t}function dAe(e,t){return t.items=oh(e,t.items),t}function fAe(e,t){return t.item=oh(e,t.item),t}function pAe(e,t){let n=_Ae(e,t.properties);return{...t,...Up(n)}}function mAe(e,t){let n=eAe(oh(e,tAe(t)),oh(e,nAe(t)));return{...t,...n}}function hAe(e,t){return t.index in e?e[t.index]:ym()}function gAe(e,t){let n=rwe(t),r=xd(t),i=oh(e,t);return n&&r?Hke(i):n&&!r?Kp(i):!n&&r?$p(i):i}function _Ae(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:gAe(e,t[r])}),{})}function ah(e,t){return t.map(t=>oh(e,t))}function oh(e,t){return Dd(t)?iAe(e,t):Od(t)?aAe(e,t):Ad(t)?oAe(e,t):Yd(t)?sAe(e,t):qd(t)?cAe(e,t):Sd(t)?lAe(e,t):Cd(t)?uAe(e,t):jd(t)?dAe(e,t):Bd(t)?fAe(e,t):zd(t)?pAe(e,t):Vd(t)?mAe(e,t):awe(t)?hAe(e,t):t}function vAe(e,t){return oh(t,FCe(e))}var yAe=s((()=>{ICe(),bm(),eh(),qp(),em(),Wp(),ih(),Gu(),Zd()})),bAe=s((()=>{yAe()}));function xAe(e){return ld({[vd]:`Integer`,type:`integer`},e)}var SAe=s((()=>{ud(),bd()})),CAe=s((()=>{SAe()}));function wAe(e,t,n){return{[e]:sh(Tp(e),t,qu(n))}}function TAe(e,t,n){return e.reduce((e,r)=>({...e,...wAe(r,t,n)}),{})}function EAe(e,t,n){return TAe(e.keys,t,n)}function DAe(e,t,n){return op(EAe(e,t,n))}var OAe=s((()=>{Qp(),ch(),Ep(),Ju()}));function kAe(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join(``)}function AAe(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join(``)}function jAe(e){return e.toUpperCase()}function MAe(e){return e.toLowerCase()}function NAe(e,t,n){let r=yp(e.pattern);return Sp(r)?iEe([pp(FAe([...Cp(r)].map(e=>Tp(e)),t))],n):{...e,pattern:PAe(e.pattern,t)}}function PAe(e,t){return typeof e==`string`?t===`Uncapitalize`?kAe(e):t===`Capitalize`?AAe(e):t===`Uppercase`?jAe(e):t===`Lowercase`?MAe(e):e:e.toString()}function FAe(e,t){return e.map(e=>sh(e,t))}function sh(e,t,n={}){return Pd(e)?DAe(e,t,n):Gd(e)?NAe(e,t,n):Yd(e)?pp(FAe(e.anyOf,t),n):Nd(e)?Tp(PAe(e.const,t),n):ld(e,n)}var ch=s((()=>{ud(),Ip(),OAe(),Ep(),mp(),Zd()}));function IAe(e,t={}){return sh(e,`Capitalize`,t)}var LAe=s((()=>{ch()}));function RAe(e,t={}){return sh(e,`Lowercase`,t)}var zAe=s((()=>{ch()}));function BAe(e,t={}){return sh(e,`Uncapitalize`,t)}var VAe=s((()=>{ch()}));function HAe(e,t={}){return sh(e,`Uppercase`,t)}var UAe=s((()=>{ch()})),WAe=s((()=>{LAe(),OAe(),ch(),zAe(),VAe(),UAe()}));function GAe(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=lh(e[i],t,qu(n));return r}function KAe(e,t,n){return GAe(e.properties,t,n)}function qAe(e,t,n){return op(KAe(e,t,n))}var JAe=s((()=>{Qp(),nje(),Ju()}));function YAe(e,t){return e.map(e=>tje(e,t))}function XAe(e,t){return e.map(e=>tje(e,t))}function ZAe(e,t){let{[t]:n,...r}=e;return r}function QAe(e,t){return t.reduce((e,t)=>ZAe(e,t),e)}function $Ae(e,t){let n=tp(e,[md,`$id`,`required`,`properties`]),r=QAe(e.properties,t);return Up(r,n)}function eje(e){return pp(e.reduce((e,t)=>swe(t)?[...e,Tp(t)]:e,[]))}function tje(e,t){return Ad(e)?nm(YAe(e.allOf,t)):Yd(e)?pp(XAe(e.anyOf,t)):zd(e)?$Ae(e,t):Up({})}function lh(e,t,n){let r=Ru(t)?eje(t):t,i=Xd(t)?Lp(t):t,a=Hd(e),o=Hd(t);return Fd(e)?qAe(e,i,n):Pd(t)?oje(e,t,n):a&&o||!a&&o||a&&!o?$f(`Omit`,[e,r],n):ld({...tje(e,i),...n})}var nje=s((()=>{ud(),np(),yd(),ep(),Ep(),Bp(),rm(),mp(),Wp(),sje(),JAe(),Zd(),Gu()}));function rje(e,t,n){return{[t]:lh(e,[t],qu(n))}}function ije(e,t,n){return t.reduce((t,r)=>({...t,...rje(e,r,n)}),{})}function aje(e,t,n){return ije(e,t.keys,n)}function oje(e,t,n){return op(aje(e,t,n))}var sje=s((()=>{Qp(),nje(),Ju()})),uh=s((()=>{sje(),JAe(),nje()}));function cje(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=dh(e[i],t,qu(n));return r}function lje(e,t,n){return cje(e.properties,t,n)}function uje(e,t,n){return op(lje(e,t,n))}var dje=s((()=>{Qp(),vje(),Ju()}));function fje(e,t){return e.map(e=>_je(e,t))}function pje(e,t){return e.map(e=>_je(e,t))}function mje(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function hje(e,t){let n=tp(e,[md,`$id`,`required`,`properties`]),r=mje(e.properties,t);return Up(r,n)}function gje(e){return pp(e.reduce((e,t)=>swe(t)?[...e,Tp(t)]:e,[]))}function _je(e,t){return Ad(e)?nm(fje(e.allOf,t)):Yd(e)?pp(pje(e.anyOf,t)):zd(e)?hje(e,t):Up({})}function dh(e,t,n){let r=Ru(t)?gje(t):t,i=Xd(t)?Lp(t):t,a=Hd(e),o=Hd(t);return Fd(e)?uje(e,i,n):Pd(t)?Sje(e,t,n):a&&o||!a&&o||a&&!o?$f(`Pick`,[e,r],n):ld({..._je(e,i),...n})}var vje=s((()=>{ud(),np(),ep(),rm(),Ep(),Wp(),mp(),Bp(),yd(),Zd(),Gu(),Cje(),dje()}));function yje(e,t,n){return{[t]:dh(e,[t],qu(n))}}function bje(e,t,n){return t.reduce((t,r)=>({...t,...yje(e,r,n)}),{})}function xje(e,t,n){return bje(e,t.keys,n)}function Sje(e,t,n){return op(xje(e,t,n))}var Cje=s((()=>{Qp(),vje(),Ju()})),fh=s((()=>{Cje(),dje(),vje()}));function wje(e,t){return $f(`Partial`,[$f(e,t)])}function Tje(e){return $f(`Partial`,[im(e)])}function Eje(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=$p(e[n]);return t}function Dje(e){let t=tp(e,[md,`$id`,`required`,`properties`]),n=Eje(e.properties);return Up(n,t)}function Oje(e){return e.map(e=>kje(e))}function kje(e){return Ed(e)?wje(e.target,e.parameters):Hd(e)?Tje(e.$ref):Ad(e)?nm(Oje(e.allOf)):Yd(e)?pp(Oje(e.anyOf)):zd(e)?Dje(e):wd(e)||Td(e)||kd(e)||Nd(e)||Ld(e)||Rd(e)||Ud(e)||Wd(e)||Jd(e)?e:Up({})}function Aje(e,t){return Fd(e)?Pje(e,t):ld({...kje(e),...t})}var jje=s((()=>{ud(),ep(),em(),Wp(),rm(),mp(),am(),rp(),bd(),Fje(),Zd()}));function Mje(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Aje(e[r],qu(t));return n}function Nje(e,t){return Mje(e.properties,t)}function Pje(e,t){return op(Nje(e,t))}var Fje=s((()=>{Qp(),jje(),Ju()})),ph=s((()=>{Fje(),jje()}));function Ije(e,t){return $f(`Required`,[$f(e,t)])}function Lje(e){return $f(`Required`,[im(e)])}function Rje(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=tp(e[n],[gd]);return t}function zje(e){let t=tp(e,[md,`$id`,`required`,`properties`]),n=Rje(e.properties);return Up(n,t)}function Bje(e){return e.map(e=>Vje(e))}function Vje(e){return Ed(e)?Ije(e.target,e.parameters):Hd(e)?Lje(e.$ref):Ad(e)?nm(Bje(e.allOf)):Yd(e)?pp(Bje(e.anyOf)):zd(e)?zje(e):wd(e)||Td(e)||kd(e)||Nd(e)||Ld(e)||Rd(e)||Ud(e)||Wd(e)||Jd(e)?e:Up({})}function Hje(e,t){return Fd(e)?Kje(e,t):ld({...Vje(e),...t})}var Uje=s((()=>{ud(),ep(),Wp(),rm(),mp(),am(),bd(),rp(),qje(),Zd()}));function Wje(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Hje(e[r],t);return n}function Gje(e,t){return Wje(e.properties,t)}function Kje(e,t){return op(Gje(e,t))}var qje=s((()=>{Qp(),Uje()})),mh=s((()=>{qje(),Uje()}));function Jje(e,t){return t.map(t=>Hd(t)?Yje(e,t.$ref):gh(e,t))}function Yje(e,t){return t in e?Hd(e[t])?Yje(e,e[t].$ref):gh(e,e[t]):ip()}function Xje(e){return om(e[0])}function Zje(e){return zp(e[0],e[1])}function Qje(e){return dm(e[0])}function $je(e){return Aje(e[0])}function eMe(e){return lh(e[0],e[1])}function tMe(e){return dh(e[0],e[1])}function nMe(e){return Hje(e[0])}function rMe(e,t,n){let r=Jje(e,n);return t===`Awaited`?Xje(r):t===`Index`?Zje(r):t===`KeyOf`?Qje(r):t===`Partial`?$je(r):t===`Omit`?eMe(r):t===`Pick`?tMe(r):t===`Required`?nMe(r):ip()}function iMe(e,t){return Jf(gh(e,t))}function aMe(e,t){return Zf(gh(e,t))}function oMe(e,t,n){return sp(hh(e,t),gh(e,n))}function sMe(e,t,n){return lp(hh(e,t),gh(e,n))}function cMe(e,t){return nm(hh(e,t))}function lMe(e,t){return Vp(gh(e,t))}function uMe(e,t){return Up(globalThis.Object.keys(t).reduce((n,r)=>({...n,[r]:gh(e,t[r])}),{}))}function dMe(e,t){let[n,r]=[gh(e,nAe(t)),rh(t)],i=FCe(t);return i.patternProperties[r]=n,i}function fMe(e,t){return Hd(t)?{...Yje(e,t.$ref),[md]:t[md]}:t}function pMe(e,t){return Jp(hh(e,t))}function mMe(e,t){return pp(hh(e,t))}function hh(e,t){return t.map(t=>gh(e,t))}function gh(e,t){return xd(t)?ld(gh(e,tp(t,[gd])),t):rwe(t)?ld(gh(e,tp(t,[hd])),t):Kd(t)?ld(fMe(e,t),t):Sd(t)?ld(iMe(e,t.items),t):Cd(t)?ld(aMe(e,t.items),t):Ed(t)?ld(rMe(e,t.target,t.parameters)):Dd(t)?ld(oMe(e,t.parameters,t.returns),t):Od(t)?ld(sMe(e,t.parameters,t.returns),t):Ad(t)?ld(cMe(e,t.allOf),t):jd(t)?ld(lMe(e,t.items),t):zd(t)?ld(uMe(e,t.properties),t):Vd(t)?ld(dMe(e,t)):qd(t)?ld(pMe(e,t.items||[]),t):Yd(t)?ld(mMe(e,t.anyOf),t):t}function hMe(e,t){return t in e?gh(e,e[t]):ip()}function gMe(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:hMe(e,n)}),{})}var _Me=s((()=>{dd(),LCe(),rp(),Yf(),sm(),Qf(),cp(),Bp(),up(),rm(),Hp(),fm(),Wp(),uh(),fh(),ap(),ph(),ih(),mh(),Yp(),mp(),bd(),Zd()}));function vMe(e){return new yMe(e)}var yMe,bMe=s((()=>{dd(),bd(),_Me(),yMe=class{constructor(e){let t=gMe(e),n=this.WithIdentifiers(t);this.$defs=n}Import(e,t){let n={...this.$defs,[e]:ld(this.$defs[e],t)};return ld({[vd]:`Import`,$defs:n,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:{...e[n],$id:n}}),{})}}})),xMe=s((()=>{bMe()}));function SMe(e,t){return ld({[vd]:`Not`,not:e},t)}var CMe=s((()=>{ud(),bd()})),wMe=s((()=>{CMe()}));function TMe(e,t){return Od(e)?Jp(e.parameters,t):ip()}var EMe=s((()=>{Yp(),ap(),Zd()})),DMe=s((()=>{EMe()}));function OMe(e,t={}){Wu(t.$id)&&(t.$id=`T${kMe++}`);let n=FCe(e({[vd]:`This`,$ref:`${t.$id}`}));return n.$id=t.$id,ld({[_d]:`Recursive`,...n},t)}var kMe,AMe=s((()=>{ICe(),ud(),Gu(),bd(),kMe=0})),jMe=s((()=>{AMe()}));function MMe(e,t){let n=Hu(e)?new globalThis.RegExp(e):e;return ld({[vd]:`RegExp`,type:`RegExp`,source:n.source,flags:n.flags},t)}var NMe=s((()=>{ud(),Gu(),bd()})),PMe=s((()=>{NMe()}));function FMe(e){return Ad(e)?e.allOf:Yd(e)?e.anyOf:qd(e)?e.items??[]:[]}function IMe(e){return FMe(e)}var LMe=s((()=>{Zd()})),RMe=s((()=>{LMe()}));function zMe(e,t){return Od(e)?ld(e.returns,t):ip(t)}var BMe=s((()=>{ud(),ap(),Zd()})),VMe=s((()=>{BMe()})),HMe=s((()=>{})),UMe=s((()=>{})),WMe=s((()=>{HMe(),UMe()})),GMe=s((()=>{})),KMe=s((()=>{GMe()}));function qMe(e){return new JMe(e)}var JMe,YMe,XMe=s((()=>{bd(),Zd(),JMe=class{constructor(e){this.schema=e}Decode(e){return new YMe(this.schema,e)}},YMe=class{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let n={Encode:n=>t[md].Encode(e(n)),Decode:e=>this.decode(t[md].Decode(e))};return{...t,[md]:n}}EncodeSchema(e,t){let n={Decode:this.decode,Encode:e};return{...t,[md]:n}}Encode(e){return Kd(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}})),ZMe=s((()=>{XMe()}));function QMe(e={}){return ld({[vd]:e[vd]??`Unsafe`},e)}var $Me=s((()=>{ud(),bd()})),eNe=s((()=>{$Me()}));function tNe(e){return ld({[vd]:`Void`,type:`void`},e)}var nNe=s((()=>{ud(),bd()})),rNe=s((()=>{nNe()})),iNe=l({Any:()=>Kf,Argument:()=>iTe,Array:()=>Jf,AsyncIterator:()=>Zf,Awaited:()=>om,BigInt:()=>Op,Boolean:()=>UTe,Capitalize:()=>IAe,Composite:()=>qDe,Const:()=>cOe,Constructor:()=>sp,ConstructorParameters:()=>uOe,Date:()=>YDe,Enum:()=>fOe,Exclude:()=>qm,Extends:()=>Um,Extract:()=>Xm,Function:()=>lp,Index:()=>zp,InstanceType:()=>Bke,Instantiate:()=>vAe,Integer:()=>xAe,Intersect:()=>nm,Iterator:()=>Vp,KeyOf:()=>dm,Literal:()=>Tp,Lowercase:()=>RAe,Mapped:()=>QEe,Module:()=>vMe,Never:()=>ip,Not:()=>SMe,Null:()=>ZDe,Number:()=>Ap,Object:()=>Up,Omit:()=>lh,Optional:()=>$p,Parameters:()=>TMe,Partial:()=>Aje,Pick:()=>dh,Promise:()=>PEe,Readonly:()=>Kp,ReadonlyOptional:()=>Hke,Record:()=>eAe,Recursive:()=>OMe,Ref:()=>im,RegExp:()=>MMe,Required:()=>Hje,Rest:()=>IMe,ReturnType:()=>zMe,String:()=>Mp,Symbol:()=>$De,TemplateLiteral:()=>iEe,Transform:()=>qMe,Tuple:()=>Jp,Uint8Array:()=>rOe,Uncapitalize:()=>BAe,Undefined:()=>tOe,Union:()=>pp,Unknown:()=>ym,Unsafe:()=>QMe,Uppercase:()=>HAe,Void:()=>tNe}),aNe=s((()=>{qf(),Xf(),Yf(),Qf(),sm(),kp(),Dp(),pm(),Cm(),cp(),wm(),mm(),Tm(),Ym(),Km(),Qm(),up(),Bp(),$m(),bAe(),CAe(),rm(),WAe(),Hp(),fm(),Ep(),Qp(),xMe(),ap(),wMe(),hm(),jp(),Wp(),uh(),em(),DMe(),ph(),fh(),Gp(),qp(),eh(),ih(),jMe(),am(),PMe(),mh(),RMe(),VMe(),Np(),gm(),Ip(),ZMe(),Yp(),vm(),_m(),mp(),bm(),eNe(),rNe()})),U,oNe=s((()=>{qf(),Yf(),Dp(),pm(),Cm(),Tm(),Ym(),Km(),Qm(),Bp(),CAe(),rm(),WAe(),fm(),Ep(),Qp(),ap(),wMe(),hm(),xMe(),jp(),Wp(),uh(),em(),ph(),fh(),qp(),eh(),ih(),jMe(),am(),mh(),RMe(),Np(),Ip(),ZMe(),Yp(),mp(),bm(),eNe(),aNe(),Xf(),Qf(),sm(),kp(),cp(),wm(),mm(),up(),$m(),bAe(),Hp(),DMe(),Gp(),PMe(),VMe(),gm(),vm(),_m(),rNe(),U=iNe})),_h=s((()=>{LCe(),dd(),pd(),Lwe(),zwe(),Bf(),Wf(),Gf(),bd(),qf(),Yf(),Xf(),Qf(),sm(),kp(),Dp(),pm(),Cm(),cp(),wm(),mm(),Tm(),Ym(),Km(),Qm(),up(),Bp(),$m(),bAe(),CAe(),rm(),Hp(),WAe(),fm(),Ep(),xMe(),Qp(),ap(),wMe(),hm(),jp(),Wp(),uh(),em(),DMe(),ph(),fh(),Gp(),qp(),eh(),ih(),jMe(),am(),PMe(),mh(),RMe(),VMe(),WMe(),KMe(),Np(),gm(),Ip(),ZMe(),Yp(),vm(),_m(),mp(),bm(),eNe(),rNe(),oNe()})),vh,sNe=s((()=>{vh=e=>e?{description:`Accepts any value.`}:{not:{},description:`Accepts no value.`}})),yh,bh=s((()=>{_h(),yh=(...e)=>U.Composite(e)})),cNe=s((()=>{})),lNe=s((()=>{YCe(),cNe()}));function uNe(e){switch(e.errorType){case Ih.ArrayContains:return`Expected array to contain at least one matching value`;case Ih.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case Ih.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case Ih.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case Ih.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case Ih.ArrayUniqueItems:return`Expected array elements to be unique`;case Ih.Array:return`Expected array`;case Ih.AsyncIterator:return`Expected AsyncIterator`;case Ih.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case Ih.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case Ih.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case Ih.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case Ih.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case Ih.BigInt:return`Expected bigint`;case Ih.Boolean:return`Expected boolean`;case Ih.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case Ih.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case Ih.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case Ih.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case Ih.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case Ih.Date:return`Expected Date`;case Ih.Function:return`Expected function`;case Ih.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case Ih.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case Ih.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case Ih.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case Ih.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case Ih.Integer:return`Expected integer`;case Ih.IntersectUnevaluatedProperties:return`Unexpected property`;case Ih.Intersect:return`Expected all values to match`;case Ih.Iterator:return`Expected Iterator`;case Ih.Literal:return`Expected ${typeof e.schema.const==`string`?`'${e.schema.const}'`:e.schema.const}`;case Ih.Never:return`Never`;case Ih.Not:return`Value should not match`;case Ih.Null:return`Expected null`;case Ih.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case Ih.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case Ih.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case Ih.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case Ih.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case Ih.Number:return`Expected number`;case Ih.Object:return`Expected object`;case Ih.ObjectAdditionalProperties:return`Unexpected property`;case Ih.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case Ih.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case Ih.ObjectRequiredProperty:return`Expected required property`;case Ih.Promise:return`Expected Promise`;case Ih.RegExp:return`Expected string to match regular expression`;case Ih.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case Ih.StringFormat:return`Expected string to match '${e.schema.format}' format`;case Ih.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case Ih.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case Ih.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case Ih.String:return`Expected string`;case Ih.Symbol:return`Expected symbol`;case Ih.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case Ih.Tuple:return`Expected tuple`;case Ih.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case Ih.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case Ih.Uint8Array:return`Expected Uint8Array`;case Ih.Undefined:return`Expected undefined`;case Ih.Union:return`Expected union value`;case Ih.Void:return`Expected void`;case Ih.Kind:return`Expected kind '${e.schema[vd]}'`;default:return`Unknown error type`}}function dNe(){return fNe}var fNe,pNe=s((()=>{bd(),oFe(),fNe=uNe}));function mNe(e,t){let n=t.find(t=>t.$id===e.$ref);if(n===void 0)throw new gNe(e);return xh(n,t)}function hNe(e,t){return!id(e.$id)||t.some(t=>t.$id===e.$id)||t.push(e),t}function xh(e,t){return e[vd]===`This`||e[vd]===`Ref`?mNe(e,t):e}var gNe,_Ne=s((()=>{pd(),bd(),JCe(),gNe=class extends fd{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}}})),Sh=s((()=>{_Ne()}));function*vNe(e){let t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}function yNe(e){wh(Th.Array);for(let t of e)Ch(t)}function bNe(e){wh(Th.Boolean),wh(+!!e)}function xNe(e){wh(Th.BigInt),INe.setBigInt64(0,e);for(let e of LNe)wh(e)}function SNe(e){wh(Th.Date),Ch(e.getTime())}function CNe(e){wh(Th.Null)}function wNe(e){wh(Th.Number),INe.setFloat64(0,e);for(let e of LNe)wh(e)}function TNe(e){wh(Th.Object);for(let t of globalThis.Object.getOwnPropertyNames(e).sort())Ch(t),Ch(e[t])}function ENe(e){wh(Th.String);for(let t=0;t<e.length;t++)for(let n of vNe(e.charCodeAt(t)))wh(n)}function DNe(e){wh(Th.Symbol),Ch(e.description)}function ONe(e){wh(Th.Uint8Array);for(let t=0;t<e.length;t++)wh(e[t])}function kNe(e){return wh(Th.Undefined)}function Ch(e){if(Qu(e))return yNe(e);if(td(e))return bNe(e);if(rd(e))return xNe(e);if(Yu(e))return SNe(e);if(ed(e))return CNe(e);if(nd(e))return wNe(e);if(Zu(e))return TNe(e);if(id(e))return ENe(e);if(ad(e))return DNe(e);if(WCe(e))return ONe(e);if($u(e))return kNe(e);throw new jNe(e)}function wh(e){Eh^=PNe[e],Eh=Eh*MNe%NNe}function ANe(e){return Eh=BigInt(`14695981039346656037`),Ch(e),Eh}var jNe,Th,Eh,MNe,NNe,PNe,FNe,INe,LNe,RNe=s((()=>{od(),pd(),jNe=class extends fd{constructor(e){super(`Unable to hash value`),this.value=e}},(function(e){e[e.Undefined=0]=`Undefined`,e[e.Null=1]=`Null`,e[e.Boolean=2]=`Boolean`,e[e.Number=3]=`Number`,e[e.String=4]=`String`,e[e.Object=5]=`Object`,e[e.Array=6]=`Array`,e[e.Date=7]=`Date`,e[e.Uint8Array=8]=`Uint8Array`,e[e.Symbol=9]=`Symbol`,e[e.BigInt=10]=`BigInt`})(Th||={}),Eh=BigInt(`14695981039346656037`),[MNe,NNe]=[BigInt(`1099511628211`),BigInt(`18446744073709551616`)],PNe=Array.from({length:256}).map((e,t)=>BigInt(t)),FNe=new Float64Array(1),INe=new DataView(FNe.buffer),LNe=new Uint8Array(FNe.buffer)})),Dh=s((()=>{RNe()}));function zNe(e,t,n){let r=e.get(t);if(r&&r.has(n))return!1;if(r)return r.add(n),!0;e.set(t,new WeakSet([n]))}function BNe(e){return e[vd]===`Any`||e[vd]===`Unknown`}function Oh(e){return e!==void 0}function VNe(e,t,n){return!0}function HNe(e,t,n){return!0}function UNe(e,t,n,r){if(!Qu(n)||Oh(e.minItems)&&!(n.length>=e.minItems)||Oh(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(zNe(r,n,e)===!1)return!0;if(!n.every(n=>kh(e.items,t,n,r))||e.uniqueItems===!0&&!(function(){let e=new Set;for(let t of n){let n=ANe(t);if(e.has(n))return!1;e.add(n)}return!0})())return!1;if(!(Oh(e.contains)||nd(e.minContains)||nd(e.maxContains)))return!0;let i=Oh(e.contains)?e.contains:ip(),a=n.reduce((e,n)=>kh(i,t,n,r)?e+1:e,0);return!(a===0||nd(e.minContains)&&a<e.minContains||nd(e.maxContains)&&a>e.maxContains)}function WNe(e,t,n){return RCe(n)}function GNe(e,t,n){return!(!rd(n)||Oh(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Oh(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Oh(e.maximum)&&!(n<=e.maximum)||Oh(e.minimum)&&!(n>=e.minimum)||Oh(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}function KNe(e,t,n){return td(n)}function qNe(e,t,n,r){return kh(e.returns,t,n.prototype,r)}function JNe(e,t,n){return!(!Yu(n)||Oh(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||Oh(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||Oh(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||Oh(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||Oh(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!==0)}function YNe(e,t,n){return KCe(n)}function XNe(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return kh(a,[...t,...i],n,r)}function ZNe(e,t,n){return!(!GCe(n)||Oh(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Oh(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Oh(e.maximum)&&!(n<=e.maximum)||Oh(e.minimum)&&!(n>=e.minimum)||Oh(e.multipleOf)&&n%e.multipleOf!==0)}function QNe(e,t,n,r){let i=e.allOf.every(e=>kh(e,t,n,r));if(e.unevaluatedProperties===!1){let t=new RegExp(lm(e)),r=Object.getOwnPropertyNames(n).every(e=>t.test(e));return i&&r}if(Xd(e.unevaluatedProperties)){let a=new RegExp(lm(e)),o=Object.getOwnPropertyNames(n).every(i=>a.test(i)||kh(e.unevaluatedProperties,t,n[i],r));return i&&o}return i}function $Ne(e,t,n){return zCe(n)}function ePe(e,t,n){return n===e.const}function tPe(e,t,n){return!1}function nPe(e,t,n,r){return!kh(e.not,t,n,r)}function rPe(e,t,n){return ed(n)}function iPe(e,t,n){return!(!sd.IsNumberLike(n)||Oh(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Oh(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Oh(e.minimum)&&!(n>=e.minimum)||Oh(e.maximum)&&!(n<=e.maximum)||Oh(e.multipleOf)&&n%e.multipleOf!==0)}function aPe(e,t,n,r){if(!sd.IsObjectLike(n)||Oh(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||Oh(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if(zNe(r,n,e)===!1)return!0;let i=Object.getOwnPropertyNames(e.properties);for(let a of i){let i=e.properties[a];if(e.required&&e.required.includes(a)){if(!kh(i,t,n[a],r)||(Gm(i)||BNe(i))&&!(a in n))return!1}else if(sd.IsExactOptionalProperty(n,a)&&!kh(i,t,n[a],r))return!1}if(e.additionalProperties===!1){let t=Object.getOwnPropertyNames(n);return e.required&&e.required.length===i.length&&t.length===i.length?!0:t.every(e=>i.includes(e))}return typeof e.additionalProperties!=`object`||Object.getOwnPropertyNames(n).every(a=>i.includes(a)||kh(e.additionalProperties,t,n[a],r))}function oPe(e,t,n){return BCe(n)}function sPe(e,t,n,r){if(!sd.IsRecordLike(n)||Oh(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||Oh(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;let[i,a]=Object.entries(e.patternProperties)[0],o=new RegExp(i),s=Object.entries(n).every(([e,n])=>!o.test(e)||kh(a,t,n,r)),c=typeof e.additionalProperties!=`object`||Object.entries(n).every(([n,i])=>o.test(n)?!0:kh(e.additionalProperties,t,i,r)),l=e.additionalProperties!==!1||Object.getOwnPropertyNames(n).every(e=>o.test(e));return s&&c&&l}function cPe(e,t,n,r){return kh(xh(e,t),t,n,r)}function lPe(e,t,n){let r=new RegExp(e.source,e.flags);return Oh(e.minLength)&&!(n.length>=e.minLength)||Oh(e.maxLength)&&!(n.length<=e.maxLength)?!1:r.test(n)}function uPe(e,t,n){return!id(n)||Oh(e.minLength)&&!(n.length>=e.minLength)||Oh(e.maxLength)&&!(n.length<=e.maxLength)||Oh(e.pattern)&&!new RegExp(e.pattern).test(n)?!1:Oh(e.format)?Wwe(e.format)?Gwe(e.format)(n):!1:!0}function dPe(e,t,n){return ad(n)}function fPe(e,t,n){return id(n)&&new RegExp(e.pattern).test(n)}function pPe(e,t,n,r){return kh(xh(e,t),t,n,r)}function mPe(e,t,n,r){if(!Qu(n)||e.items===void 0&&n.length!==0||n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let i=0;i<e.items.length;i++)if(!kh(e.items[i],t,n[i],r))return!1;return!0}function hPe(e,t,n){return $u(n)}function gPe(e,t,n,r){return e.anyOf.some(e=>kh(e,t,n,r))}function _Pe(e,t,n){return!(!WCe(n)||Oh(e.maxByteLength)&&!(n.length<=e.maxByteLength)||Oh(e.minByteLength)&&!(n.length>=e.minByteLength))}function vPe(e,t,n){return!0}function yPe(e,t,n){return sd.IsVoidLike(n)}function bPe(e,t,n){return Hf(e[vd])?qwe(e[vd])(e,n):!1}function kh(e,t,n,r){let i=Oh(e.$id)?hNe(e,t):t,a=e;switch(a[vd]){case`Any`:return VNe(a,i,n);case`Argument`:return HNe(a,i,n);case`Array`:return UNe(a,i,n,r);case`AsyncIterator`:return WNe(a,i,n);case`BigInt`:return GNe(a,i,n);case`Boolean`:return KNe(a,i,n);case`Constructor`:return qNe(a,i,n,r);case`Date`:return JNe(a,i,n);case`Function`:return YNe(a,i,n);case`Import`:return XNe(a,i,n,r);case`Integer`:return ZNe(a,i,n);case`Intersect`:return QNe(a,i,n,r);case`Iterator`:return $Ne(a,i,n);case`Literal`:return ePe(a,i,n);case`Never`:return tPe(a,i,n);case`Not`:return nPe(a,i,n,r);case`Null`:return rPe(a,i,n);case`Number`:return iPe(a,i,n);case`Object`:return aPe(a,i,n,r);case`Promise`:return oPe(a,i,n);case`Record`:return sPe(a,i,n,r);case`Ref`:return cPe(a,i,n,r);case`RegExp`:return lPe(a,i,n);case`String`:return uPe(a,i,n);case`Symbol`:return dPe(a,i,n);case`TemplateLiteral`:return fPe(a,i,n);case`This`:return pPe(a,i,n,r);case`Tuple`:return mPe(a,i,n,r);case`Undefined`:return hPe(a,i,n);case`Union`:return gPe(a,i,n,r);case`Uint8Array`:return _Pe(a,i,n);case`Unknown`:return vPe(a,i,n);case`Void`:return yPe(a,i,n);default:if(!Hf(a[vd]))throw new xPe(a);return bPe(a,i,n)}}function Ah(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?kh(e[0],[],e[1],e[2]??new WeakMap):kh(e[0],e[1],e[2],e[3]??new WeakMap)}var xPe,SPe=s((()=>{lNe(),Sh(),Dh(),bd(),fm(),Km(),Wf(),pd(),ap(),od(),Zd(),xPe=class extends fd{constructor(e){super(`Unknown type`),this.schema=e}}})),jh=s((()=>{SPe()}));function Mh(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function Nh(e){return e!==void 0}function Ph(e,t,n,r,i=[]){return{type:e,schema:t,path:n,value:r,message:dNe()({errorType:e,path:n,schema:t,value:r,errors:i}),errors:i}}function*CPe(e,t,n,r){}function*wPe(e,t,n,r){}function*TPe(e,t,n,r){if(!Qu(r))return yield Ph(Ih.Array,e,n,r);Nh(e.minItems)&&!(r.length>=e.minItems)&&(yield Ph(Ih.ArrayMinItems,e,n,r)),Nh(e.maxItems)&&!(r.length<=e.maxItems)&&(yield Ph(Ih.ArrayMaxItems,e,n,r));for(let i=0;i<r.length;i++)yield*Fh(e.items,t,`${n}/${i}`,r[i]);if(e.uniqueItems===!0&&!(function(){let e=new Set;for(let t of r){let n=ANe(t);if(e.has(n))return!1;e.add(n)}return!0})()&&(yield Ph(Ih.ArrayUniqueItems,e,n,r)),!(Nh(e.contains)||Nh(e.minContains)||Nh(e.maxContains)))return;let i=Nh(e.contains)?e.contains:ip(),a=r.reduce((e,r,a)=>Fh(i,t,`${n}${a}`,r).next().done===!0?e+1:e,0);a===0&&(yield Ph(Ih.ArrayContains,e,n,r)),nd(e.minContains)&&a<e.minContains&&(yield Ph(Ih.ArrayMinContains,e,n,r)),nd(e.maxContains)&&a>e.maxContains&&(yield Ph(Ih.ArrayMaxContains,e,n,r))}function*EPe(e,t,n,r){RCe(r)||(yield Ph(Ih.AsyncIterator,e,n,r))}function*DPe(e,t,n,r){if(!rd(r))return yield Ph(Ih.BigInt,e,n,r);Nh(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ph(Ih.BigIntExclusiveMaximum,e,n,r)),Nh(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ph(Ih.BigIntExclusiveMinimum,e,n,r)),Nh(e.maximum)&&!(r<=e.maximum)&&(yield Ph(Ih.BigIntMaximum,e,n,r)),Nh(e.minimum)&&!(r>=e.minimum)&&(yield Ph(Ih.BigIntMinimum,e,n,r)),Nh(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield Ph(Ih.BigIntMultipleOf,e,n,r))}function*OPe(e,t,n,r){td(r)||(yield Ph(Ih.Boolean,e,n,r))}function*kPe(e,t,n,r){yield*Fh(e.returns,t,n,r.prototype)}function*APe(e,t,n,r){if(!Yu(r))return yield Ph(Ih.Date,e,n,r);Nh(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)&&(yield Ph(Ih.DateExclusiveMaximumTimestamp,e,n,r)),Nh(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)&&(yield Ph(Ih.DateExclusiveMinimumTimestamp,e,n,r)),Nh(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)&&(yield Ph(Ih.DateMaximumTimestamp,e,n,r)),Nh(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)&&(yield Ph(Ih.DateMinimumTimestamp,e,n,r)),Nh(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!==0&&(yield Ph(Ih.DateMultipleOfTimestamp,e,n,r))}function*jPe(e,t,n,r){KCe(r)||(yield Ph(Ih.Function,e,n,r))}function*MPe(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];yield*Fh(a,[...t,...i],n,r)}function*NPe(e,t,n,r){if(!GCe(r))return yield Ph(Ih.Integer,e,n,r);Nh(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ph(Ih.IntegerExclusiveMaximum,e,n,r)),Nh(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ph(Ih.IntegerExclusiveMinimum,e,n,r)),Nh(e.maximum)&&!(r<=e.maximum)&&(yield Ph(Ih.IntegerMaximum,e,n,r)),Nh(e.minimum)&&!(r>=e.minimum)&&(yield Ph(Ih.IntegerMinimum,e,n,r)),Nh(e.multipleOf)&&r%e.multipleOf!==0&&(yield Ph(Ih.IntegerMultipleOf,e,n,r))}function*PPe(e,t,n,r){let i=!1;for(let a of e.allOf)for(let e of Fh(a,t,n,r))i=!0,yield e;if(i)return yield Ph(Ih.Intersect,e,n,r);if(e.unevaluatedProperties===!1){let t=new RegExp(lm(e));for(let i of Object.getOwnPropertyNames(r))t.test(i)||(yield Ph(Ih.IntersectUnevaluatedProperties,e,`${n}/${i}`,r))}if(typeof e.unevaluatedProperties==`object`){let i=new RegExp(lm(e));for(let a of Object.getOwnPropertyNames(r))if(!i.test(a)){let i=Fh(e.unevaluatedProperties,t,`${n}/${a}`,r[a]).next();i.done||(yield i.value)}}}function*FPe(e,t,n,r){zCe(r)||(yield Ph(Ih.Iterator,e,n,r))}function*IPe(e,t,n,r){r!==e.const&&(yield Ph(Ih.Literal,e,n,r))}function*LPe(e,t,n,r){yield Ph(Ih.Never,e,n,r)}function*RPe(e,t,n,r){Fh(e.not,t,n,r).next().done===!0&&(yield Ph(Ih.Not,e,n,r))}function*zPe(e,t,n,r){ed(r)||(yield Ph(Ih.Null,e,n,r))}function*BPe(e,t,n,r){if(!sd.IsNumberLike(r))return yield Ph(Ih.Number,e,n,r);Nh(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ph(Ih.NumberExclusiveMaximum,e,n,r)),Nh(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ph(Ih.NumberExclusiveMinimum,e,n,r)),Nh(e.maximum)&&!(r<=e.maximum)&&(yield Ph(Ih.NumberMaximum,e,n,r)),Nh(e.minimum)&&!(r>=e.minimum)&&(yield Ph(Ih.NumberMinimum,e,n,r)),Nh(e.multipleOf)&&r%e.multipleOf!==0&&(yield Ph(Ih.NumberMultipleOf,e,n,r))}function*VPe(e,t,n,r){if(!sd.IsObjectLike(r))return yield Ph(Ih.Object,e,n,r);Nh(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield Ph(Ih.ObjectMinProperties,e,n,r)),Nh(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield Ph(Ih.ObjectMaxProperties,e,n,r));let i=Array.isArray(e.required)?e.required:[],a=Object.getOwnPropertyNames(e.properties),o=Object.getOwnPropertyNames(r);for(let t of i)o.includes(t)||(yield Ph(Ih.ObjectRequiredProperty,e.properties[t],`${n}/${Mh(t)}`,void 0));if(e.additionalProperties===!1)for(let t of o)a.includes(t)||(yield Ph(Ih.ObjectAdditionalProperties,e,`${n}/${Mh(t)}`,r[t]));if(typeof e.additionalProperties==`object`)for(let i of o)a.includes(i)||(yield*Fh(e.additionalProperties,t,`${n}/${Mh(i)}`,r[i]));for(let i of a){let a=e.properties[i];e.required&&e.required.includes(i)?(yield*Fh(a,t,`${n}/${Mh(i)}`,r[i]),Gm(e)&&!(i in r)&&(yield Ph(Ih.ObjectRequiredProperty,a,`${n}/${Mh(i)}`,void 0))):sd.IsExactOptionalProperty(r,i)&&(yield*Fh(a,t,`${n}/${Mh(i)}`,r[i]))}}function*HPe(e,t,n,r){BCe(r)||(yield Ph(Ih.Promise,e,n,r))}function*UPe(e,t,n,r){if(!sd.IsRecordLike(r))return yield Ph(Ih.Object,e,n,r);Nh(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield Ph(Ih.ObjectMinProperties,e,n,r)),Nh(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield Ph(Ih.ObjectMaxProperties,e,n,r));let[i,a]=Object.entries(e.patternProperties)[0],o=new RegExp(i);for(let[e,i]of Object.entries(r))o.test(e)&&(yield*Fh(a,t,`${n}/${Mh(e)}`,i));if(typeof e.additionalProperties==`object`)for(let[i,a]of Object.entries(r))o.test(i)||(yield*Fh(e.additionalProperties,t,`${n}/${Mh(i)}`,a));if(e.additionalProperties===!1){for(let[t,i]of Object.entries(r))if(!o.test(t))return yield Ph(Ih.ObjectAdditionalProperties,e,`${n}/${Mh(t)}`,i)}}function*WPe(e,t,n,r){yield*Fh(xh(e,t),t,n,r)}function*GPe(e,t,n,r){if(!id(r))return yield Ph(Ih.String,e,n,r);if(Nh(e.minLength)&&!(r.length>=e.minLength)&&(yield Ph(Ih.StringMinLength,e,n,r)),Nh(e.maxLength)&&!(r.length<=e.maxLength)&&(yield Ph(Ih.StringMaxLength,e,n,r)),!new RegExp(e.source,e.flags).test(r))return yield Ph(Ih.RegExp,e,n,r)}function*KPe(e,t,n,r){if(!id(r))return yield Ph(Ih.String,e,n,r);Nh(e.minLength)&&!(r.length>=e.minLength)&&(yield Ph(Ih.StringMinLength,e,n,r)),Nh(e.maxLength)&&!(r.length<=e.maxLength)&&(yield Ph(Ih.StringMaxLength,e,n,r)),id(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield Ph(Ih.StringPattern,e,n,r))),id(e.format)&&(Wwe(e.format)?Gwe(e.format)(r)||(yield Ph(Ih.StringFormat,e,n,r)):yield Ph(Ih.StringFormatUnknown,e,n,r))}function*qPe(e,t,n,r){ad(r)||(yield Ph(Ih.Symbol,e,n,r))}function*JPe(e,t,n,r){if(!id(r))return yield Ph(Ih.String,e,n,r);new RegExp(e.pattern).test(r)||(yield Ph(Ih.StringPattern,e,n,r))}function*YPe(e,t,n,r){yield*Fh(xh(e,t),t,n,r)}function*XPe(e,t,n,r){if(!Qu(r))return yield Ph(Ih.Tuple,e,n,r);if(e.items===void 0&&r.length!==0||r.length!==e.maxItems)return yield Ph(Ih.TupleLength,e,n,r);if(e.items)for(let i=0;i<e.items.length;i++)yield*Fh(e.items[i],t,`${n}/${i}`,r[i])}function*ZPe(e,t,n,r){$u(r)||(yield Ph(Ih.Undefined,e,n,r))}function*QPe(e,t,n,r){if(Ah(e,t,r))return;let i=e.anyOf.map(e=>new aFe(Fh(e,t,n,r)));yield Ph(Ih.Union,e,n,r,i)}function*$Pe(e,t,n,r){if(!WCe(r))return yield Ph(Ih.Uint8Array,e,n,r);Nh(e.maxByteLength)&&!(r.length<=e.maxByteLength)&&(yield Ph(Ih.Uint8ArrayMaxByteLength,e,n,r)),Nh(e.minByteLength)&&!(r.length>=e.minByteLength)&&(yield Ph(Ih.Uint8ArrayMinByteLength,e,n,r))}function*eFe(e,t,n,r){}function*tFe(e,t,n,r){sd.IsVoidLike(r)||(yield Ph(Ih.Void,e,n,r))}function*nFe(e,t,n,r){qwe(e[vd])(e,r)||(yield Ph(Ih.Kind,e,n,r))}function*Fh(e,t,n,r){let i=Nh(e.$id)?[...t,e]:t,a=e;switch(a[vd]){case`Any`:return yield*CPe(a,i,n,r);case`Argument`:return yield*wPe(a,i,n,r);case`Array`:return yield*TPe(a,i,n,r);case`AsyncIterator`:return yield*EPe(a,i,n,r);case`BigInt`:return yield*DPe(a,i,n,r);case`Boolean`:return yield*OPe(a,i,n,r);case`Constructor`:return yield*kPe(a,i,n,r);case`Date`:return yield*APe(a,i,n,r);case`Function`:return yield*jPe(a,i,n,r);case`Import`:return yield*MPe(a,i,n,r);case`Integer`:return yield*NPe(a,i,n,r);case`Intersect`:return yield*PPe(a,i,n,r);case`Iterator`:return yield*FPe(a,i,n,r);case`Literal`:return yield*IPe(a,i,n,r);case`Never`:return yield*LPe(a,i,n,r);case`Not`:return yield*RPe(a,i,n,r);case`Null`:return yield*zPe(a,i,n,r);case`Number`:return yield*BPe(a,i,n,r);case`Object`:return yield*VPe(a,i,n,r);case`Promise`:return yield*HPe(a,i,n,r);case`Record`:return yield*UPe(a,i,n,r);case`Ref`:return yield*WPe(a,i,n,r);case`RegExp`:return yield*GPe(a,i,n,r);case`String`:return yield*KPe(a,i,n,r);case`Symbol`:return yield*qPe(a,i,n,r);case`TemplateLiteral`:return yield*JPe(a,i,n,r);case`This`:return yield*YPe(a,i,n,r);case`Tuple`:return yield*XPe(a,i,n,r);case`Undefined`:return yield*ZPe(a,i,n,r);case`Union`:return yield*QPe(a,i,n,r);case`Uint8Array`:return yield*$Pe(a,i,n,r);case`Unknown`:return yield*eFe(a,i,n,r);case`Void`:return yield*tFe(a,i,n,r);default:if(!Hf(a[vd]))throw new iFe(e);return yield*nFe(a,i,n,r)}}function rFe(...e){let t=e.length===3?Fh(e[0],e[1],``,e[2]):Fh(e[0],[],``,e[1]);return new aFe(t)}var Ih,iFe,aFe,oFe=s((()=>{lNe(),fm(),Wf(),Tke(),pNe(),pd(),Sh(),Dh(),jh(),bd(),ap(),od(),(function(e){e[e.ArrayContains=0]=`ArrayContains`,e[e.ArrayMaxContains=1]=`ArrayMaxContains`,e[e.ArrayMaxItems=2]=`ArrayMaxItems`,e[e.ArrayMinContains=3]=`ArrayMinContains`,e[e.ArrayMinItems=4]=`ArrayMinItems`,e[e.ArrayUniqueItems=5]=`ArrayUniqueItems`,e[e.Array=6]=`Array`,e[e.AsyncIterator=7]=`AsyncIterator`,e[e.BigIntExclusiveMaximum=8]=`BigIntExclusiveMaximum`,e[e.BigIntExclusiveMinimum=9]=`BigIntExclusiveMinimum`,e[e.BigIntMaximum=10]=`BigIntMaximum`,e[e.BigIntMinimum=11]=`BigIntMinimum`,e[e.BigIntMultipleOf=12]=`BigIntMultipleOf`,e[e.BigInt=13]=`BigInt`,e[e.Boolean=14]=`Boolean`,e[e.DateExclusiveMaximumTimestamp=15]=`DateExclusiveMaximumTimestamp`,e[e.DateExclusiveMinimumTimestamp=16]=`DateExclusiveMinimumTimestamp`,e[e.DateMaximumTimestamp=17]=`DateMaximumTimestamp`,e[e.DateMinimumTimestamp=18]=`DateMinimumTimestamp`,e[e.DateMultipleOfTimestamp=19]=`DateMultipleOfTimestamp`,e[e.Date=20]=`Date`,e[e.Function=21]=`Function`,e[e.IntegerExclusiveMaximum=22]=`IntegerExclusiveMaximum`,e[e.IntegerExclusiveMinimum=23]=`IntegerExclusiveMinimum`,e[e.IntegerMaximum=24]=`IntegerMaximum`,e[e.IntegerMinimum=25]=`IntegerMinimum`,e[e.IntegerMultipleOf=26]=`IntegerMultipleOf`,e[e.Integer=27]=`Integer`,e[e.IntersectUnevaluatedProperties=28]=`IntersectUnevaluatedProperties`,e[e.Intersect=29]=`Intersect`,e[e.Iterator=30]=`Iterator`,e[e.Kind=31]=`Kind`,e[e.Literal=32]=`Literal`,e[e.Never=33]=`Never`,e[e.Not=34]=`Not`,e[e.Null=35]=`Null`,e[e.NumberExclusiveMaximum=36]=`NumberExclusiveMaximum`,e[e.NumberExclusiveMinimum=37]=`NumberExclusiveMinimum`,e[e.NumberMaximum=38]=`NumberMaximum`,e[e.NumberMinimum=39]=`NumberMinimum`,e[e.NumberMultipleOf=40]=`NumberMultipleOf`,e[e.Number=41]=`Number`,e[e.ObjectAdditionalProperties=42]=`ObjectAdditionalProperties`,e[e.ObjectMaxProperties=43]=`ObjectMaxProperties`,e[e.ObjectMinProperties=44]=`ObjectMinProperties`,e[e.ObjectRequiredProperty=45]=`ObjectRequiredProperty`,e[e.Object=46]=`Object`,e[e.Promise=47]=`Promise`,e[e.RegExp=48]=`RegExp`,e[e.StringFormatUnknown=49]=`StringFormatUnknown`,e[e.StringFormat=50]=`StringFormat`,e[e.StringMaxLength=51]=`StringMaxLength`,e[e.StringMinLength=52]=`StringMinLength`,e[e.StringPattern=53]=`StringPattern`,e[e.String=54]=`String`,e[e.Symbol=55]=`Symbol`,e[e.TupleLength=56]=`TupleLength`,e[e.Tuple=57]=`Tuple`,e[e.Uint8ArrayMaxByteLength=58]=`Uint8ArrayMaxByteLength`,e[e.Uint8ArrayMinByteLength=59]=`Uint8ArrayMinByteLength`,e[e.Uint8Array=60]=`Uint8Array`,e[e.Undefined=61]=`Undefined`,e[e.Union=62]=`Union`,e[e.Void=63]=`Void`})(Ih||={}),iFe=class extends fd{constructor(e){super(`Unknown type`),this.schema=e}},aFe=class{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){let e=this.iterator.next();return e.done?void 0:e.value}}})),sFe=s((()=>{oFe(),pNe()})),cFe=s((()=>{})),lFe=s((()=>{cFe()}));function uFe(e,t){if(t.has(e))return t.get(e);let n={};t.set(e,n);for(let r of Object.getOwnPropertyNames(e))n[r]=Lh(e[r],t);for(let r of Object.getOwnPropertySymbols(e))n[r]=Lh(e[r],t);return n}function dFe(e,t){if(t.has(e))return t.get(e);let n=[];t.set(e,n);for(let r=0;r<e.length;r++)n.push(Lh(e[r],t));return n}function fFe(e){return e.slice()}function pFe(e){return new Map(Lh([...e.entries()]))}function mFe(e){return new Set(Lh([...e.entries()]))}function hFe(e){return new Date(e.toISOString())}function gFe(e){return e}function Lh(e,t=new WeakMap){if(Qu(e))return dFe(e,t);if(Yu(e))return hFe(e);if(UCe(e))return fFe(e);if(VCe(e))return pFe(e);if(HCe(e))return mFe(e);if(Zu(e))return uFe(e,t);if(qCe(e))return gFe(e);throw Error(`ValueClone: Unable to clone value`)}var _Fe=s((()=>{od()})),Rh=s((()=>{_Fe()}));function zh(e){return KCe(e)?e():Lh(e)}function vFe(e,t){return Xu(e,`default`)?zh(e.default):{}}function yFe(e,t){return{}}function bFe(e,t){if(e.uniqueItems===!0&&!Xu(e,`default`))throw new Hh(e,`Array with the uniqueItems constraint requires a default value`);if(`contains`in e&&!Xu(e,`default`))throw new Hh(e,`Array with the contains constraint requires a default value`);return`default`in e?zh(e.default):e.minItems===void 0?[]:Array.from({length:e.minItems}).map(n=>Bh(e.items,t))}function xFe(e,t){return Xu(e,`default`)?zh(e.default):(async function*(){})()}function SFe(e,t){return Xu(e,`default`)?zh(e.default):BigInt(0)}function CFe(e,t){return Xu(e,`default`)?zh(e.default):!1}function wFe(e,t){if(Xu(e,`default`))return zh(e.default);{let n=Bh(e.returns,t);return typeof n==`object`&&!Array.isArray(n)?class{constructor(){for(let[e,t]of Object.entries(n)){let n=this;n[e]=t}}}:class{}}}function TFe(e,t){return Xu(e,`default`)?zh(e.default):e.minimumTimestamp===void 0?new Date:new Date(e.minimumTimestamp)}function EFe(e,t){return Xu(e,`default`)?zh(e.default):()=>Bh(e.returns,t)}function DFe(e,t){let n=globalThis.Object.values(e.$defs),r=e.$defs[e.$ref];return Bh(r,[...t,...n])}function OFe(e,t){return Xu(e,`default`)?zh(e.default):e.minimum===void 0?0:e.minimum}function kFe(e,t){if(Xu(e,`default`))return zh(e.default);{let n=e.allOf.reduce((e,n)=>{let r=Bh(n,t);return typeof r==`object`?{...e,...r}:r},{});if(!Ah(e,t,n))throw new Hh(e,`Intersect produced invalid value. Consider using a default value.`);return n}}function AFe(e,t){return Xu(e,`default`)?zh(e.default):(function*(){})()}function jFe(e,t){return Xu(e,`default`)?zh(e.default):e.const}function MFe(e,t){if(Xu(e,`default`))return zh(e.default);throw new Hh(e,`Never types cannot be created. Consider using a default value.`)}function NFe(e,t){if(Xu(e,`default`))return zh(e.default);throw new Hh(e,`Not types must have a default value`)}function PFe(e,t){return Xu(e,`default`)?zh(e.default):null}function FFe(e,t){return Xu(e,`default`)?zh(e.default):e.minimum===void 0?0:e.minimum}function IFe(e,t){if(Xu(e,`default`))return zh(e.default);{let n=new Set(e.required),r={};for(let[i,a]of Object.entries(e.properties))n.has(i)&&(r[i]=Bh(a,t));return r}}function LFe(e,t){return Xu(e,`default`)?zh(e.default):Promise.resolve(Bh(e.item,t))}function RFe(e,t){return Xu(e,`default`)?zh(e.default):{}}function zFe(e,t){return Xu(e,`default`)?zh(e.default):Bh(xh(e,t),t)}function BFe(e,t){if(Xu(e,`default`))return zh(e.default);throw new Hh(e,`RegExp types cannot be created. Consider using a default value.`)}function VFe(e,t){if(e.pattern!==void 0){if(Xu(e,`default`))return zh(e.default);throw new Hh(e,`String types with patterns must specify a default value`)}if(e.format!==void 0){if(Xu(e,`default`))return zh(e.default);throw new Hh(e,`String types with formats must specify a default value`)}return Xu(e,`default`)?zh(e.default):e.minLength===void 0?``:Array.from({length:e.minLength}).map(()=>` `).join(``)}function HFe(e,t){return Xu(e,`default`)?zh(e.default):`value`in e?Symbol.for(e.value):Symbol()}function UFe(e,t){if(Xu(e,`default`))return zh(e.default);if(!NTe(e))throw new Hh(e,`Can only create template literals that produce a finite variants. Consider using a default value.`);return wp(e)[0]}function WFe(e,t){if($Fe++>QFe)throw new Hh(e,`Cannot create recursive type as it appears possibly infinite. Consider using a default.`);return Xu(e,`default`)?zh(e.default):Bh(xh(e,t),t)}function GFe(e,t){return Xu(e,`default`)?zh(e.default):e.items===void 0?[]:Array.from({length:e.minItems}).map((n,r)=>Bh(e.items[r],t))}function KFe(e,t){if(Xu(e,`default`))return zh(e.default)}function qFe(e,t){if(Xu(e,`default`))return zh(e.default);if(e.anyOf.length===0)throw Error(`ValueCreate.Union: Cannot create Union with zero variants`);return Bh(e.anyOf[0],t)}function JFe(e,t){return Xu(e,`default`)?zh(e.default):e.minByteLength===void 0?new Uint8Array:new Uint8Array(e.minByteLength)}function YFe(e,t){return Xu(e,`default`)?zh(e.default):{}}function XFe(e,t){if(Xu(e,`default`))return zh(e.default)}function ZFe(e,t){if(Xu(e,`default`))return zh(e.default);throw Error(`User defined types must specify a default value`)}function Bh(e,t){let n=hNe(e,t),r=e;switch(r[vd]){case`Any`:return vFe(r,n);case`Argument`:return yFe(r,n);case`Array`:return bFe(r,n);case`AsyncIterator`:return xFe(r,n);case`BigInt`:return SFe(r,n);case`Boolean`:return CFe(r,n);case`Constructor`:return wFe(r,n);case`Date`:return TFe(r,n);case`Function`:return EFe(r,n);case`Import`:return DFe(r,n);case`Integer`:return OFe(r,n);case`Intersect`:return kFe(r,n);case`Iterator`:return AFe(r,n);case`Literal`:return jFe(r,n);case`Never`:return MFe(r,n);case`Not`:return NFe(r,n);case`Null`:return PFe(r,n);case`Number`:return FFe(r,n);case`Object`:return IFe(r,n);case`Promise`:return LFe(r,n);case`Record`:return RFe(r,n);case`Ref`:return zFe(r,n);case`RegExp`:return BFe(r,n);case`String`:return VFe(r,n);case`Symbol`:return HFe(r,n);case`TemplateLiteral`:return UFe(r,n);case`This`:return WFe(r,n);case`Tuple`:return GFe(r,n);case`Undefined`:return KFe(r,n);case`Union`:return qFe(r,n);case`Uint8Array`:return JFe(r,n);case`Unknown`:return YFe(r,n);case`Void`:return XFe(r,n);default:if(!Hf(r[vd]))throw new Hh(r,`Unknown type`);return ZFe(r,n)}}function Vh(...e){return $Fe=0,e.length===2?Bh(e[0],e[1]):Bh(e[0],[])}var Hh,QFe,$Fe,eIe=s((()=>{od(),jh(),Rh(),Sh(),Ip(),Wf(),bd(),pd(),JCe(),Hh=class extends fd{constructor(e,t){super(t),this.schema=e}},QFe=512,$Fe=0})),tIe=s((()=>{eIe()}));function nIe(e,t,n){if(e[vd]===`Object`&&typeof n==`object`&&!ed(n)){let r=e,i=Object.getOwnPropertyNames(n);return Object.entries(r.properties).reduce((e,[r,a])=>{let o=a[vd]===`Literal`&&a.const===n[r]?100:0,s=Ah(a,t,n[r])?10:0,c=+!!i.includes(r);return e+(o+s+c)},0)}if(e[vd]===`Union`){let r=e.anyOf.map(e=>xh(e,t)).map(e=>nIe(e,t,n));return Math.max(...r)}return+!!Ah(e,t,n)}function rIe(e,t,n){let r=e.anyOf.map(e=>xh(e,t)),[i,a]=[r[0],0];for(let e of r){let r=nIe(e,t,n);r>a&&(i=e,a=r)}return i}function iIe(e,t,n,r){return`default`in e?typeof n==`function`?e.default:Lh(e.default):yIe(rIe(e,t,n),t,n,r)}function aIe(e,t,n){return Ah(e,t,n)?Lh(n):Vh(e,t)}function oIe(e,t,n){return Ah(e,t,n)?n:Vh(e,t)}function sIe(e,t,n,r){if(Ah(e,t,n))return Lh(n);let i=Qu(n)?n:Vh(e,t),a=nd(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},()=>null)]:i,o=(nd(e.maxItems)&&a.length>e.maxItems?a.slice(0,e.maxItems):a).map(n=>Uh(e.items,t,n,r));if(e.uniqueItems!==!0)return o;let s=[...new Set(o)];if(!Ah(e,t,s))throw new bIe(e,`Array cast produced invalid data due to uniqueItems constraint`);return s}function cIe(e,t,n,r){if(Ah(e,t,n))return Vh(e,t);let i=new Set(e.returns.required||[]),a=function(){};for(let[o,s]of Object.entries(e.returns.properties))(i.has(o)||n.prototype[o]!==void 0)&&(a.prototype[o]=Uh(s,t,n.prototype[o],r));return a}function lIe(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return Uh(a,[...t,...i],n,r)}function uIe(e,t){return Zu(e)&&!Zu(t)||!Zu(e)&&Zu(t)?e:!Zu(e)||!Zu(t)?t:globalThis.Object.getOwnPropertyNames(e).reduce((n,r)=>{let i=r in t?uIe(e[r],t[r]):e[r];return{...n,[r]:i}},{})}function dIe(e,t,n){if(Ah(e,t,n))return n;let r=Vh(e,t),i=uIe(r,n);return Ah(e,t,i)?i:r}function fIe(e,t,n){throw new bIe(e,`Never types cannot be cast`)}function pIe(e,t,n,r){if(r.has(n))return r.get(n);if(Ah(e,t,n))return n;if(typeof n!=`object`||!n)return Vh(e,t);let i=new Set(e.required||[]),a={};r.set(n,a);for(let[o,s]of Object.entries(e.properties))(i.has(o)||n[o]!==void 0)&&(a[o]=Uh(s,t,n[o],r));if(typeof e.additionalProperties==`object`){let i=Object.getOwnPropertyNames(e.properties);for(let o of Object.getOwnPropertyNames(n))i.includes(o)||(a[o]=Uh(e.additionalProperties,t,n[o],r))}return a}function mIe(e,t,n,r){if(Ah(e,t,n))return Lh(n);if(typeof n!=`object`||!n||Array.isArray(n)||n instanceof Date)return Vh(e,t);let i=Object.getOwnPropertyNames(e.patternProperties)[0],a=e.patternProperties[i],o={};for(let[e,i]of Object.entries(n))o[e]=Uh(a,t,i,r);return o}function hIe(e,t,n,r){return Uh(xh(e,t),t,n,r)}function gIe(e,t,n,r){return Uh(xh(e,t),t,n,r)}function _Ie(e,t,n,r){return Ah(e,t,n)?Lh(n):Qu(n)?e.items===void 0?[]:e.items.map((e,i)=>Uh(e,t,n[i],r)):Vh(e,t)}function vIe(e,t,n,r){return Ah(e,t,n)?Lh(n):iIe(e,t,n,r)}function Uh(e,t,n,r){let i=id(e.$id)?hNe(e,t):t,a=e;switch(e[vd]){case`Array`:return sIe(a,i,n,r);case`Constructor`:return cIe(a,i,n,r);case`Import`:return lIe(a,i,n,r);case`Intersect`:return dIe(a,i,n);case`Never`:return fIe(a,i,n);case`Object`:return pIe(a,i,n,r);case`Record`:return mIe(a,i,n,r);case`Ref`:return hIe(a,i,n,r);case`This`:return gIe(a,i,n,r);case`Tuple`:return _Ie(a,i,n,r);case`Union`:return vIe(a,i,n,r);case`Date`:case`Symbol`:case`Uint8Array`:return aIe(e,t,n);default:return oIe(a,i,n)}}function yIe(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?Uh(e[0],[],e[1],e[2]??new WeakMap):Uh(e[0],e[1],e[2],e[3]??new WeakMap)}var bIe,xIe=s((()=>{od(),pd(),bd(),tIe(),jh(),Rh(),Sh(),bIe=class extends fd{constructor(e,t){super(t),this.schema=e}}})),SIe=s((()=>{xIe()})),CIe=s((()=>{})),wIe=s((()=>{CIe()})),TIe=s((()=>{})),EIe=s((()=>{TIe()})),DIe=s((()=>{})),OIe=s((()=>{})),kIe=s((()=>{})),AIe=s((()=>{DIe(),OIe(),kIe()})),jIe=s((()=>{})),MIe=s((()=>{jIe()})),NIe=s((()=>{})),PIe=s((()=>{NIe()})),FIe=s((()=>{pd()})),IIe=s((()=>{})),LIe=s((()=>{})),RIe=s((()=>{LIe()})),zIe=s((()=>{})),BIe=s((()=>{zIe()})),VIe=s((()=>{IIe()})),HIe=s((()=>{})),UIe=s((()=>{HIe()})),WIe=s((()=>{})),GIe=s((()=>{WIe()})),KIe=s((()=>{sFe(),lFe(),SIe(),jh(),wIe(),Rh(),EIe(),tIe(),MIe(),PIe(),RIe(),BIe(),VIe(),Dh(),UIe(),GIe()})),qIe=s((()=>{KIe()})),JIe=s((()=>{sFe(),od(),lFe(),SIe(),jh(),wIe(),Rh(),EIe(),tIe(),MIe(),PIe(),RIe(),BIe(),VIe(),Dh(),UIe(),GIe(),FIe(),AIe(),qIe()})),Wh,Gh=s((()=>{JIe(),Wh=(e,t)=>yIe(e,t)})),Kh,YIe=s((()=>{Kh={document:{navigation:`x-scalar-navigation`,navigationChunk:`x-scalar-navigation-chunk`},workspace:{colorMode:`x-scalar-color-mode`,sidebarWidth:`x-scalar-sidebar-width`,defaultClient:`x-scalar-default-client`,defaultExample:`x-scalar-default-example`,activeDocument:`x-scalar-active-document`,theme:`x-scalar-theme`}}})),XIe,ZIe,QIe=s((()=>{_h(),Ce(),XIe=U.Object({"x-scalar-default-request-body-view":U.Optional(U.Union([U.Literal(`form`),U.Literal(`raw`)]))}),ZIe=C({"x-scalar-default-request-body-view":w(_e([ye(`form`),ye(`raw`)]))},{typeName:`XScalarDefaultRequestBodyView`,typeComment:`Initial request body editor view for structured bodies (form or raw)`})})),$Ie,eLe,qh,tLe,nLe,rLe,Jh=s((()=>{_h(),Ce(),$Ie=U.Object({name:U.String(),value:U.Union([U.Object({description:U.Optional(U.String()),default:U.String({default:``})}),U.String()])}),eLe=C({name:S(),value:_e([C({description:w(S()),default:S()}),S()])},{typeName:`XScalarEnvVar`}),qh=U.Object({description:U.Optional(U.String()),color:U.String({default:`#FFFFFF`}),variables:U.Array($Ie)}),tLe=C({description:w(S()),color:S({typeComment:`Color for the environment`}),variables:he(eLe,{typeComment:`An array of variables`})},{typeName:`XScalarEnvironment`,typeComment:`A map of environments by name`}),nLe=U.Object({"x-scalar-environments":U.Optional(U.Record(U.String(),qh))}),rLe=C({"x-scalar-environments":w(ge(S(),tLe))},{typeName:`XScalarEnvironments`,typeComment:`A record of environments by name`})})),iLe,aLe,oLe=s((()=>{_h(),Ce(),iLe=U.Object({"x-scalar-icon":U.Optional(U.String())}),aLe=C({"x-scalar-icon":w(S())},{typeName:`XScalarIcon`,typeComment:`A custom icon representing the collection`})})),sLe,cLe,lLe=s((()=>{_h(),Ce(),sLe=U.Object({"x-scalar-is-dirty":U.Optional(U.Boolean())}),cLe=C({"x-scalar-is-dirty":w(ue({typeComment:`Whether the document state is dirty, this is used to track if the document has been modified since it was last saved`}))},{typeName:`XScalarIsDirty`,typeComment:`Tracks whether the document has been modified since it was last saved`})})),uLe,dLe,fLe=s((()=>{_h(),Ce(),uLe=U.Object({"x-scalar-original-document-hash":U.String()}),dLe=C({"x-scalar-original-document-hash":S({typeComment:`Original input document hash`})},{typeName:`XScalarOriginalDocumentHash`,typeComment:`Original input document hash`})})),pLe,mLe,hLe=s((()=>{_h(),Ce(),pLe=U.Partial(U.Object({"x-scalar-original-source-url":U.String()})),mLe=C({"x-scalar-original-source-url":w(S({typeComment:`Original document source URL when loaded from an external source`}))},{typeName:`XScalarOriginalSourceUrl`,typeComment:`Original document source URL when loaded from an external source.`})})),gLe,_Le,vLe,yLe,bLe=s((()=>{_h(),Ce(),gLe=U.Object({namespace:U.String(),slug:U.String(),version:U.String(),commitHash:U.Optional(U.String()),conflictCheckedAgainstHash:U.Optional(U.String()),hasConflict:U.Optional(U.Boolean())}),_Le=U.Object({"x-scalar-registry-meta":U.Optional(gLe)}),vLe=C({namespace:S({typeComment:`The namespace under which this registry meta is scoped.`}),slug:S({typeComment:`A unique slug identifier for this registry meta within the namespace.`}),version:S({typeComment:`The version of the registry meta.`}),commitHash:w(S({typeComment:`Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved.`})),conflictCheckedAgainstHash:w(S({typeComment:`Registry commit hash that the cached hasConflict flag was computed against. The cache is invalid when this no longer matches the registry hash.`})),hasConflict:w(ue({typeComment:`Cached outcome of the last conflict check, valid only while conflictCheckedAgainstHash matches the registry hash.`}))},{typeName:`XScalarRegistryMetaInner`,typeComment:`Registry meta namespace and slug`}),yLe=C({"x-scalar-registry-meta":w(vLe)},{typeName:`XScalarRegistryMeta`,typeComment:`The registry meta for the document`})})),xLe,SLe,CLe=s((()=>{_h(),Ce(),xLe=U.Object({"x-scalar-watch-mode":U.Optional(U.Boolean())}),SLe=C({"x-scalar-watch-mode":w(ue({typeComment:`Whether the document is in watch mode`}))},{typeName:`XScalarWatchMode`,typeComment:`Whether the document is in watch mode`})})),wLe,TLe,ELe=s((()=>{_h(),Ce(),wLe=U.Object({"x-post-response":U.Optional(U.String())}),TLe=C({"x-post-response":w(S({typeComment:`Script to run after a response is received`}))},{typeName:`XPostResponse`,typeComment:`Post-response script for an operation`})})),DLe,OLe,kLe=s((()=>{_h(),Ce(),DLe=U.Object({"x-pre-request":U.Optional(U.String())}),OLe=C({"x-pre-request":w(S())},{typeName:`XPreRequest`,typeComment:`Pre-request script to run before the request is sent.`})})),ALe,jLe,MLe=s((()=>{_h(),Ce(),ALe=U.Object({"x-scalar-active-environment":U.Optional(U.String())}),jLe=C({"x-scalar-active-environment":w(S({typeComment:`The currently selected environment`}))},{typeName:`XScalarActiveEnvironment`,typeComment:`The currently selected environment`})})),Yh,NLe,PLe,FLe,Xh=s((()=>{_h(),Ce(),Yh=U.Object({name:U.String(),value:U.String(),domain:U.Optional(U.String()),path:U.Optional(U.String()),isDisabled:U.Optional(U.Boolean())}),NLe=C({name:S({typeComment:`Defines the cookie name and its value.`}),value:S({typeComment:`Defines the cookie value.`}),domain:w(S({typeComment:`Allows this domain and all subdomains.`})),path:w(S({typeComment:`Restricts this cookie to requests that contain this path.`})),isDisabled:w(ue({typeComment:`Indicates if the cookie is disabled.`}))},{typeName:`XScalarCookie`,typeComment:`A persisted cookie definition for the workspace`}),PLe=U.Object({"x-scalar-cookies":U.Optional(U.Array(Yh))}),FLe=C({"x-scalar-cookies":w(he(NLe,{typeComment:`Cookies persisted for the workspace`}))},{typeName:`XScalarCookies`,typeComment:`Persisted workspace cookies`})})),Zh,Qh,$h=s((()=>{_h(),Ce(),Zh=U.Object({"x-scalar-order":U.Optional(U.Array(U.String()))}),Qh=C({"x-scalar-order":w(he(S()))},{typeName:`XScalarOrder`,typeComment:`Custom order for elements in the Scalar UI`})})),ILe,LLe,RLe=s((()=>{_h(),Ce(),ILe=U.Object({"x-scalar-selected-server":U.Optional(U.String())}),LLe=C({"x-scalar-selected-server":w(S({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:`XScalarSelectedServer`,typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."})})),zLe,BLe,VLe,HLe,ULe=s((()=>{_h(),Ce(),bh(),$h(),zLe=yh(U.Object({name:U.String(),tags:U.Array(U.String())}),Zh),BLe=ve([C({name:S({typeComment:`The group name.`}),tags:he(S(),{typeComment:`List of tags to include in this group.`})},{typeName:`XTagGroupBase`}),Qh],{typeName:`XTagGroup`,typeComment:`A tag group with optional custom ordering`}),VLe=U.Object({"x-tagGroups":U.Optional(U.Array(zLe))}),HLe=C({"x-tagGroups":w(he(BLe,{typeComment:`Tag groups for organizing tags in the UI`}))},{typeName:`XTagGroups`,typeComment:`Groups of tags for the OpenAPI document`})})),eg,WLe,GLe,KLe,tg,ng,qLe,rg,ig,ag,og,sg,cg,lg,JLe,YLe,XLe,ug,ZLe,dg,fg,pg,QLe,mg,$Le,eRe,tRe,nRe,hg,rRe,gg=s((()=>{_h(),eg={ComponentsObject:`ComponentsObject`,SecurityRequirementObject:`SecurityRequirementObject`,TagObject:`TagObject`,CallbackObject:`CallbackObject`,PathsObject:`PathsObject`,PathItemObject:`PathItemObject`,OperationObject:`OperationObject`,SchemaObject:`SchemaObject`,EncodingObject:`EncodingObject`,HeaderObject:`HeaderObject`,MediaTypeObject:`MediaTypeObject`,ServerObject:`ServerObject`,ExternalDocumentationObject:`ExternalDocumentationObject`,InfoObject:`InfoObject`,ContactObject:`ContactObject`,LicenseObject:`LicenseObject`,ResponseObject:`ResponseObject`,ResponsesObject:`ResponsesObject`,ParameterObject:`ParameterObject`,ExampleObject:`ExampleObject`,RequestBodyObject:`RequestBodyObject`,SecuritySchemeObject:`SecuritySchemeObject`,SecuritySchemes:`SecuritySchemes`,LinkObject:`LinkObject`,XMLObject:`XMLObject`,DiscriminatorObject:`DiscriminatorObject`,OAuthFlowsObject:`OAuthFlowsObject`,ServerVariableObject:`ServerVariableObject`,TraversedDescriptionObject:`TraversedDescriptionObject`,TraversedOperationObject:`TraversedOperationObject`,TraversedAsyncApiOperationObject:`TraversedAsyncApiOperationObject`,TraversedAsyncApiChannelObject:`TraversedAsyncApiChannelObject`,TraversedAsyncApiMessageObject:`TraversedAsyncApiMessageObject`,TraversedSchemaObject:`TraversedSchemaObject`,TraversedWebhookObject:`TraversedWebhookObject`,TraversedTagObject:`TraversedTagObject`,TraversedEntryObject:`TraversedEntryObject`,TraversedDocumentObject:`TraversedDocumentObject`},WLe=U.Ref(eg.ComponentsObject),GLe=U.Ref(eg.SecurityRequirementObject),KLe=U.Ref(eg.TagObject),tg=U.Ref(eg.CallbackObject),ng=U.Ref(eg.PathItemObject),qLe=U.Ref(eg.PathsObject),rg=U.Ref(eg.OperationObject),ig=U.Ref(eg.SchemaObject),ag=U.Ref(eg.EncodingObject),og=U.Ref(eg.HeaderObject),sg=U.Ref(eg.MediaTypeObject),cg=U.Ref(eg.ServerObject),lg=U.Ref(eg.ExternalDocumentationObject),JLe=U.Ref(eg.InfoObject),YLe=U.Ref(eg.ContactObject),XLe=U.Ref(eg.LicenseObject),ug=U.Ref(eg.ResponseObject),ZLe=U.Ref(eg.ResponsesObject),dg=U.Ref(eg.ParameterObject),fg=U.Ref(eg.ExampleObject),pg=U.Ref(eg.RequestBodyObject),QLe=U.Ref(eg.SecuritySchemeObject),mg=U.Ref(eg.LinkObject),$Le=U.Ref(eg.XMLObject),eRe=U.Ref(eg.DiscriminatorObject),tRe=U.Ref(eg.OAuthFlowsObject),nRe=U.Ref(eg.ServerVariableObject),hg=U.Ref(eg.TraversedEntryObject),rRe=U.Ref(eg.TraversedDocumentObject)})),_g,iRe,aRe,oRe,sRe,cRe,lRe,uRe,dRe,fRe,pRe,mRe,hRe,gRe=s((()=>{_h(),bh(),gg(),_g=U.Object({id:U.String(),title:U.String()}),iRe=yh(_g,U.Object({type:U.Literal(`document`),name:U.String(),children:U.Optional(U.Array(hg)),icon:U.Optional(U.String())})),aRe=yh(_g,U.Object({type:U.Literal(`text`),children:U.Optional(U.Array(hg))})),oRe=yh(_g,U.Object({type:U.Literal(`example`),name:U.String()})),sRe=yh(_g,U.Object({type:U.Literal(`operation`),ref:U.String(),method:U.String(),path:U.String(),isDeprecated:U.Optional(U.Boolean()),children:U.Optional(U.Array(hg))})),cRe=yh(_g,U.Object({type:U.Literal(`asyncapi-operation`),operationName:U.String(),action:U.Union([U.Literal(`send`),U.Literal(`receive`)]),channelName:U.String(),channelAddress:U.String(),children:U.Optional(U.Array(hg))})),lRe=yh(_g,U.Object({type:U.Literal(`asyncapi-channel`),channelName:U.String(),channelAddress:U.String(),children:U.Optional(U.Array(hg))})),uRe=yh(_g,U.Object({type:U.Literal(`asyncapi-message`),messageName:U.String(),channelName:U.String()})),dRe=yh(_g,U.Object({type:U.Literal(`model`),ref:U.String(),name:U.String()})),fRe=yh(_g,U.Object({type:U.Literal(`webhook`),ref:U.String(),method:U.String(),name:U.String(),isDeprecated:U.Optional(U.Boolean())})),pRe=yh(_g,U.Object({type:U.Literal(`tag`),name:U.String(),description:U.Optional(U.String()),externalDocs:U.Optional(lg),children:U.Optional(U.Array(hg)),isGroup:U.Boolean(),isTagGroup:U.Optional(U.Boolean()),isWebhooks:U.Optional(U.Boolean()),xKeys:U.Optional(U.Record(U.String(),U.Unknown()))})),mRe=yh(_g,U.Object({type:U.Literal(`models`),name:U.String(),children:U.Optional(U.Array(hg))})),hRe=U.Union([aRe,sRe,cRe,lRe,uRe,dRe,pRe,fRe,oRe,iRe,mRe])})),_Re,vRe,vg,yg=s((()=>{_h(),bh(),_Re=U.Object({$status:U.Optional(U.Union([U.Literal(`loading`),U.Literal(`error`)])),$global:U.Optional(U.Boolean())}),vRe=yh(U.Object({$ref:U.String(),summary:U.Optional(U.String()),description:U.Optional(U.String())}),_Re),vg=e=>yh(vRe,U.Object({"$ref-value":U.Optional(e)}))})),yRe,bRe=s((()=>{_h(),gg(),yg(),yRe=U.Record(U.String(),U.Union([ng,vg(ng)]))})),xRe,SRe,CRe=s((()=>{_h(),gg(),yg(),xRe=U.Record(U.String(),U.Union([QLe,vg(QLe)])),SRe=U.Object({schemas:U.Optional(U.Record(U.String(),U.Union([ig,vg(ig)]))),responses:U.Optional(U.Record(U.String(),U.Union([ug,vg(ug)]))),parameters:U.Optional(U.Record(U.String(),U.Union([dg,vg(dg)]))),examples:U.Optional(U.Record(U.String(),U.Union([fg,vg(fg)]))),requestBodies:U.Optional(U.Record(U.String(),U.Union([pg,vg(pg)]))),headers:U.Optional(U.Record(U.String(),U.Union([og,vg(og)]))),securitySchemes:U.Optional(xRe),links:U.Optional(U.Record(U.String(),U.Union([mg,vg(mg)]))),callbacks:U.Optional(U.Record(U.String(),U.Union([tg,vg(tg)]))),pathItems:U.Optional(U.Record(U.String(),U.Union([ng,vg(ng)]))),mediaTypes:U.Optional(U.Record(U.String(),U.Union([sg,vg(sg)])))})})),wRe,TRe=s((()=>{_h(),wRe=U.Object({name:U.Optional(U.String()),url:U.Optional(U.String()),email:U.Optional(U.String())})})),ERe,DRe=s((()=>{_h(),ERe=U.Object({propertyName:U.String(),mapping:U.Optional(U.Record(U.String(),U.String())),defaultMapping:U.Optional(U.String())})})),ORe,kRe=s((()=>{_h(),gg(),yg(),ORe=U.Object({contentType:U.Optional(U.String()),headers:U.Optional(U.Record(U.String(),U.Union([og,vg(og)]))),style:U.Optional(U.Union([U.Literal(`form`),U.Literal(`spaceDelimited`),U.Literal(`pipeDelimited`),U.Literal(`deepObject`)])),explode:U.Optional(U.Boolean()),allowReserved:U.Optional(U.Boolean()),encoding:U.Optional(U.Record(U.String(),ag)),prefixEncoding:U.Optional(U.Array(ag)),itemEncoding:U.Optional(ag)})})),ARe,jRe,MRe=s((()=>{_h(),Ce(),ARe=U.Object({"x-disabled":U.Optional(U.Boolean()),"x-scalar-disabled-properties":U.Optional(U.Record(U.String(),U.Boolean()))}),jRe=C({"x-disabled":w(ue()),"x-scalar-disabled-properties":w(ge(S(),ue()))},{typeName:`XDisabled`,typeComment:`Whether a parameter example is disabled in the API client`})})),NRe,PRe=s((()=>{_h(),bh(),MRe(),NRe=yh(U.Object({summary:U.Optional(U.String()),description:U.Optional(U.String()),dataValue:U.Optional(U.Unknown()),serializedValue:U.Optional(U.String()),value:U.Optional(U.Any()),externalValue:U.Optional(U.String())}),ARe)})),FRe,IRe=s((()=>{_h(),FRe=U.Object({url:U.String(),description:U.Optional(U.String())})})),LRe,RRe,zRe,BRe=s((()=>{_h(),bh(),gg(),yg(),LRe=U.Object({description:U.Optional(U.String()),required:U.Optional(U.Boolean()),deprecated:U.Optional(U.Boolean())}),RRe=yh(LRe,U.Object({style:U.Optional(U.String()),explode:U.Optional(U.Boolean()),schema:U.Optional(U.Union([ig,vg(ig)])),example:U.Optional(U.Any()),examples:U.Optional(U.Record(U.String(),U.Union([fg,vg(fg)])))})),zRe=U.Union([RRe,yh(LRe,U.Object({content:U.Optional(U.Record(U.String(),sg))}))])})),VRe,HRe,URe,WRe,GRe=s((()=>{_h(),Ce(),VRe=U.Object({name:U.String(),url:U.String()}),HRe=U.Object({"x-scalar-links":U.Optional(U.Array(VRe))}),URe=C({name:S(),url:S()},{typeName:`XScalarLinkItem`,typeComment:`A named link to display alongside the API info`}),WRe=C({"x-scalar-links":w(he(URe,{typeComment:`Additional named links to display alongside the API info (e.g. privacy policy, imprint)`}))},{typeName:`XScalarLinks`,typeComment:`Additional named links to display alongside the API info`})})),KRe,qRe,JRe,YRe,XRe=s((()=>{_h(),Ce(),KRe=U.Object({lang:U.String(),description:U.Optional(U.String()),source:U.Optional(U.String())}),qRe=U.Object({"x-scalar-sdk-installation":U.Optional(U.Array(KRe))}),JRe=C({lang:S(),description:w(S()),source:w(S())},{typeName:`XScalarSdkInstallationItem`,typeComment:`Scalar SDK installation entry`}),YRe=C({"x-scalar-sdk-installation":w(he(JRe,{typeComment:`Scalar SDK installation information`}))},{typeName:`XScalarSdkInstallation`,typeComment:`Scalar SDK installation information`})})),ZRe,QRe=s((()=>{_h(),bh(),GRe(),XRe(),gg(),ZRe=yh(U.Object({title:U.String(),version:U.String(),summary:U.Optional(U.String()),description:U.Optional(U.String()),termsOfService:U.Optional(U.String()),contact:U.Optional(YLe),license:U.Optional(XLe)}),qRe,HRe)})),$Re,eze=s((()=>{_h(),$Re=U.Object({name:U.Optional(U.String()),identifier:U.Optional(U.String()),url:U.Optional(U.String())})})),tze,nze=s((()=>{_h(),gg(),tze=U.Object({operationRef:U.Optional(U.String()),operationId:U.Optional(U.String()),parameters:U.Optional(U.Record(U.String(),U.Any())),requestBody:U.Optional(U.Any()),description:U.Optional(U.String()),server:U.Optional(cg)})})),rze,ize=s((()=>{_h(),gg(),yg(),rze=U.Object({description:U.Optional(U.String()),schema:U.Optional(U.Union([ig,vg(ig)])),itemSchema:U.Optional(U.Union([ig,vg(ig)])),example:U.Optional(U.Any()),examples:U.Optional(U.Record(U.String(),U.Union([fg,vg(fg)]))),encoding:U.Optional(U.Record(U.String(),ag)),prefixEncoding:U.Optional(U.Array(ag)),itemEncoding:U.Optional(ag)})})),bg,xg,Sg=s((()=>{_h(),Ce(),bg=U.Object({"x-scalar-ignore":U.Optional(U.Boolean())}),xg=C({"x-scalar-ignore":w(ue())},{typeName:`XScalarIgnore`,typeComment:`Internal extension to mark an entity as ignored`})})),aze,oze,sze=s((()=>{_h(),Ce(),aze=U.Object({"x-order":U.Optional(U.Number())}),oze=C({"x-order":w(le())},{typeName:`XOrder`,typeComment:`Display order for a schema property`})})),Cg,wg,cze=s((()=>{_h(),Ce(),Cg=U.Object({"x-scalar-credentials-location":U.Optional(U.Union([U.Literal(`header`),U.Literal(`body`)]))}),wg=C({"x-scalar-credentials-location":w(_e([ye(`header`),ye(`body`)]))},{typeName:`XScalarCredentialsLocation`,typeComment:`Where OAuth2 credentials are sent`})})),lze,uze,dze=s((()=>{_h(),Ce(),lze=U.Object({"x-scalar-security-body":U.Optional(U.Record(U.String(),U.String()))}),uze=C({"x-scalar-security-body":w(ge(S(),S()))},{typeName:`XScalarSecurityBody`,typeComment:`Additional OAuth token request body parameters`})})),fze,pze,mze=s((()=>{_h(),Ce(),fze=U.Object({"x-scalar-security-query":U.Optional(U.Record(U.String(),U.String()))}),pze=C({"x-scalar-security-query":w(ge(S(),S()))},{typeName:`XScalarSecurityQuery`,typeComment:`Additional OAuth authorize query parameters`})})),Tg,hze,gze,_ze,vze,yze,Eg,Dg,bze,xze,Sze,Cze,wze,Tze=s((()=>{_h(),Ce(),Tg=U.Object({"x-scalar-secret-token":U.String()}),C({"x-scalar-secret-token":S()},{typeName:`XScalarSecretToken`,typeComment:`Persisted OAuth access token (sensitive)`}),hze=U.Object({"x-scalar-secret-refresh-token":U.Optional(U.String())}),C({"x-scalar-secret-refresh-token":w(S())},{typeName:`XScalarSecretRefreshToken`,typeComment:`Persisted OAuth refresh token (sensitive)`}),gze=U.Object({"x-scalar-secret-auth-url":U.Optional(U.String())}),_ze=C({"x-scalar-secret-auth-url":w(S())},{typeName:`XScalarAuthUrl`,typeComment:`Persisted OAuth authorization URL override`}),vze=U.Object({"x-scalar-secret-token-url":U.Optional(U.String())}),yze=C({"x-scalar-secret-token-url":w(S())},{typeName:`XScalarTokenUrl`,typeComment:`Persisted OAuth token URL override`}),Eg=U.Object({"x-scalar-secret-username":U.String(),"x-scalar-secret-password":U.String()}),C({"x-scalar-secret-username":S(),"x-scalar-secret-password":S()},{typeName:`XScalarSecretHTTP`,typeComment:`Persisted HTTP basic credentials (sensitive)`}),Dg=U.Object({"x-scalar-secret-client-secret":U.String()}),C({"x-scalar-secret-client-secret":S()},{typeName:`XScalarSecretClientSecret`,typeComment:`Persisted OAuth client secret (sensitive)`}),bze=U.Object({"x-scalar-secret-client-id":U.String()}),C({"x-scalar-secret-client-id":S()},{typeName:`XScalarSecretClientId`,typeComment:`Persisted OAuth client ID`}),xze=U.Object({"x-scalar-secret-redirect-uri":U.String()}),C({"x-scalar-secret-redirect-uri":S()},{typeName:`XScalarSecretRedirectUri`,typeComment:`Persisted OAuth redirect URI`}),Sze=U.Object({"x-scalar-secret-client-certificate":U.String()}),Cze=U.Object({"x-scalar-secret-private-key":U.String()}),wze=U.Object({"x-scalar-secret-service-name":U.String()})})),Eze,Dze,Oze=s((()=>{_h(),Ce(),Eze=U.Object({"x-tokenName":U.Optional(U.String())}),Dze=C({"x-tokenName":w(S())},{typeName:`XTokenName`,typeComment:`Custom OAuth2 access token field name`})})),kze,Aze,jze=s((()=>{_h(),Ce(),kze=U.Object({"x-usePkce":U.Union([U.Literal(`SHA-256`),U.Literal(`plain`),U.Literal(`no`)],{default:`no`})}),Aze=C({"x-usePkce":_e([ye(`SHA-256`),ye(`plain`),ye(`no`)],{typeComment:`PKCE mode for the OAuth2 authorization code flow`})},{typeName:`XusePkce`,typeComment:`PKCE setting for OAuth2`})})),Og,Mze,Nze,Pze,Fze,Ize,Lze=s((()=>{_h(),bh(),Sg(),sze(),cze(),dze(),mze(),Tze(),Oze(),jze(),Og=yh(U.Object({refreshUrl:U.String(),scopes:U.Record(U.String(),U.String())}),fze,lze,Eze,gze,vze,aze,bg),Mze=yh(Og,U.Object({authorizationUrl:U.String()})),Nze=yh(Og,U.Object({tokenUrl:U.String()}),Cg),Pze=yh(Og,U.Object({tokenUrl:U.String()}),Cg),Fze=yh(Og,U.Object({authorizationUrl:U.String(),tokenUrl:U.String()}),kze,Cg),Ize=yh(Og,U.Object({deviceAuthorizationUrl:U.String(),tokenUrl:U.String()}),Cg)})),Rze,zze=s((()=>{_h(),Lze(),Rze=U.Object({implicit:U.Optional(Mze),password:U.Optional(Nze),clientCredentials:U.Optional(Pze),authorizationCode:U.Optional(Fze),deviceAuthorization:U.Optional(Ize)})})),kg,Ag,jg=s((()=>{_h(),Ce(),kg=U.Object({"x-internal":U.Optional(U.Boolean())}),Ag=C({"x-internal":w(ue({typeComment:`Extension to mark an entity as internal`}))},{typeName:`XInternal`,typeComment:`Extension to mark an entity as internal`})})),Bze,Vze,Hze,Uze,Wze=s((()=>{_h(),Ce(),Bze=U.Object({name:U.String({description:`The text that displays in the badge`,minLength:1}),position:U.Optional(U.Union([U.Literal(`before`),U.Literal(`after`)],{description:`The position of the badge in relation to the header`,default:`after`})),color:U.Optional(U.String({description:`The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)`,pattern:`^(#([0-9A-Fa-f]{3}){1,2}|rgb\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*\\)|rgba\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*[0-9.]*\\s*\\)|hsl\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*\\)|hsla\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*,\\s*[0-9.]*\\s*\\)|[a-zA-Z]+)$`}))},{description:`Configuration for a single badge in the x-badges extension`}),Vze=C({name:S({typeComment:`The text that displays in the badge. This is required for all badges.`}),position:w(_e([ye(`before`),ye(`after`)],{typeComment:`The position of the badge in relation to the header`})),color:w(S({typeComment:`The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)`}))},{typeName:`XBadge`,typeComment:`Configuration for a single badge in the x-badges extension`}),Hze=U.Object({"x-badges":U.Optional(U.Array(Bze))}),Uze=C({"x-badges":w(he(Vze,{typeComment:`Badges displayed for this operation in documentation`}))},{typeName:`XBadges`,typeComment:`Badges for an operation in the Scalar UI`})})),Mg,Gze,Kze,Ng,qze,Jze,Pg,Yze,Xze,Fg,Zze,Qze,Ig=s((()=>{_h(),Ce(),Mg=U.Object({lang:U.Optional(U.String()),label:U.Optional(U.String()),source:U.String(),example:U.Optional(U.String()),contentType:U.Optional(U.String())}),Gze=U.Object({language:U.Optional(U.String()),code:U.String(),name:U.Optional(U.String()),install:U.Optional(U.String()),correspondingExample:U.Optional(U.String())}),Kze=U.Object({"code-samples":U.Optional(U.Array(Gze)),"samples-languages":U.Optional(U.Array(U.String()))}),Ng=U.Object({title:U.Optional(U.String()),request:U.Optional(U.Record(U.String(),U.String())),response:U.Optional(U.Unknown())}),qze=U.Union([Ng,U.Array(Ng)]),Jze=U.Object({"x-codeSamples":U.Optional(U.Array(Mg)),"x-code-samples":U.Optional(U.Array(Mg)),"x-custom-examples":U.Optional(U.Array(Mg)),"x-readme":U.Optional(Kze),"x-stainless-snippets":U.Optional(U.Record(U.String(),U.String())),"x-stainless-examples":U.Optional(qze),"x-scalar-examples":U.Optional(U.Array(Mg))}),Pg=C({lang:w(S()),label:w(S()),source:S(),example:w(S()),contentType:w(S())}),Yze=C({language:w(S()),code:S(),name:w(S()),install:w(S()),correspondingExample:w(S())}),Xze=C({"code-samples":w(he(Yze)),"samples-languages":w(he(S()))}),Fg=C({title:w(S()),request:w(ge(S(),S())),response:w(pe())}),Zze=_e([Fg,he(Fg)]),Qze=C({"x-codeSamples":w(he(Pg)),"x-code-samples":w(he(Pg)),"x-custom-examples":w(he(Pg)),"x-readme":w(Xze),"x-stainless-snippets":w(ge(S(),S())),"x-stainless-examples":w(Zze),"x-scalar-examples":w(he(Pg))})})),$ze,eBe,tBe=s((()=>{_h(),Ce(),$ze=U.Object({"x-draft-examples":U.Optional(U.Array(U.String()))}),eBe=C({"x-draft-examples":w(he(S()))},{typeName:`XDraftExamples`,typeComment:`Draft example identifiers for an operation`})})),nBe,Lg,rBe,iBe,Rg,aBe,oBe,sBe=s((()=>{_h(),Ce(),nBe=U.Record(U.String(),U.Boolean()),Lg=U.Record(U.String(),nBe),rBe=U.Object({"x-scalar-disable-parameters":U.Optional(U.Object({"global-cookies":U.Optional(Lg),"global-headers":U.Optional(Lg),"default-headers":U.Optional(Lg)}))}),iBe=ge(S(),ue()),Rg=ge(S(),iBe),aBe=C({"global-cookies":w(Rg),"global-headers":w(Rg),"default-headers":w(Rg)},{typeName:`DisableParametersConfig`,typeComment:`Disabled parameter state by category and example`}),oBe=C({"x-scalar-disable-parameters":w(aBe)},{typeName:`XScalarDisableParameters`,typeComment:`Tracks which parameters are disabled across examples`})})),cBe,lBe,uBe,zg=s((()=>{_h(),Ce(),cBe={Deprecated:`deprecated`,Experimental:`experimental`,Stable:`stable`},lBe=U.Object({"x-scalar-stability":U.Optional(U.Union([U.Literal(`deprecated`),U.Literal(`experimental`),U.Literal(`stable`)]))}),uBe=C({"x-scalar-stability":w(_e([ye(`deprecated`),ye(`experimental`),ye(`stable`)],{typeComment:`Stability level of the operation`}))},{typeName:`XScalarStability`,typeComment:`Stability of the operation in the Scalar UI`})})),dBe,fBe=s((()=>{_h(),bh(),jg(),Sg(),ELe(),kLe(),Wze(),Ig(),tBe(),sBe(),zg(),RLe(),gg(),yg(),dBe=yh(U.Object({tags:U.Optional(U.Array(U.String())),summary:U.Optional(U.String()),description:U.Optional(U.String()),externalDocs:U.Optional(lg),operationId:U.Optional(U.String()),parameters:U.Optional(U.Array(U.Union([dg,vg(dg)]))),requestBody:U.Optional(U.Union([pg,vg(pg)])),responses:U.Optional(ZLe),deprecated:U.Optional(U.Boolean()),security:U.Optional(U.Array(GLe)),servers:U.Optional(U.Array(cg)),callbacks:U.Optional(U.Record(U.String(),U.Union([tg,vg(tg)])))}),Hze,kg,bg,Jze,lBe,rBe,wLe,DLe,$ze,ILe)})),pBe,Bg,mBe=s((()=>{_h(),Ce(),pBe=U.Object({"x-global":U.Optional(U.Boolean())}),Bg=C({"x-global":w(ue())},{typeName:`XGlobal`,typeComment:`When true, the parameter is injected into every request for the workspace`})})),Vg,hBe,gBe,_Be,vBe=s((()=>{_h(),bh(),jg(),Sg(),mBe(),gg(),yg(),Vg=yh(U.Object({name:U.String(),in:U.Union([U.Literal(`query`),U.Literal(`querystring`),U.Literal(`header`),U.Literal(`path`),U.Literal(`cookie`)]),description:U.Optional(U.String()),required:U.Optional(U.Boolean()),deprecated:U.Optional(U.Boolean()),allowEmptyValue:U.Optional(U.Boolean()),allowReserved:U.Optional(U.Boolean())}),pBe,kg,bg),hBe=yh(Vg,U.Object({style:U.Optional(U.String()),explode:U.Optional(U.Boolean()),schema:U.Optional(U.Union([ig,vg(ig)])),example:U.Optional(U.Any()),examples:U.Optional(U.Record(U.String(),U.Union([fg,vg(fg)])))})),gBe=yh(Vg,U.Object({content:U.Optional(U.Record(U.String(),sg)),example:U.Optional(U.Unknown()),examples:U.Optional(U.Record(U.String(),U.Union([fg,vg(fg)])))})),_Be=U.Union([hBe,gBe])})),yBe,bBe=s((()=>{_h(),gg(),yg(),yBe=U.Object({$ref:U.Optional(U.String()),summary:U.Optional(U.String()),description:U.Optional(U.String()),get:U.Optional(U.Union([rg,vg(rg)])),put:U.Optional(U.Union([rg,vg(rg)])),post:U.Optional(U.Union([rg,vg(rg)])),delete:U.Optional(U.Union([rg,vg(rg)])),patch:U.Optional(U.Union([rg,vg(rg)])),connect:U.Optional(U.Union([rg,vg(rg)])),options:U.Optional(U.Union([rg,vg(rg)])),head:U.Optional(U.Union([rg,vg(rg)])),trace:U.Optional(U.Union([rg,vg(rg)])),query:U.Optional(U.Union([rg,vg(rg)])),additionalOperations:U.Optional(U.Record(U.String(),U.Union([rg,vg(rg)]))),servers:U.Optional(U.Array(cg)),parameters:U.Optional(U.Array(U.Union([dg,vg(dg)])))})})),xBe,SBe=s((()=>{_h(),gg(),yg(),xBe=U.Record(U.String(),U.Union([ng,vg(ng)]))})),CBe,wBe,Hg=s((()=>{_h(),Ce(),CBe=U.Object({"x-scalar-selected-content-type":U.Optional(U.Record(U.String(),U.String()))}),wBe=C({"x-scalar-selected-content-type":w(ge(S(),S(),{typeComment:`Selected content type per example name`}))},{typeName:`XScalarSelectedContentType`,typeComment:`Selected content type per example for request or response bodies`})})),TBe,EBe=s((()=>{_h(),bh(),Hg(),gg(),TBe=yh(U.Object({description:U.Optional(U.String()),content:U.Record(U.String(),sg),required:U.Optional(U.Boolean())}),CBe)})),DBe,OBe=s((()=>{_h(),gg(),yg(),DBe=U.Object({summary:U.Optional(U.String()),description:U.Optional(U.String()),headers:U.Optional(U.Record(U.String(),U.Union([og,vg(og)]))),content:U.Optional(U.Record(U.String(),sg)),links:U.Optional(U.Record(U.String(),U.Union([mg,vg(mg)])))})})),kBe,ABe=s((()=>{_h(),gg(),yg(),kBe=U.Record(U.String(),U.Union([ug,vg(ug)]))})),jBe,MBe,NBe=s((()=>{_h(),Ce(),jBe=U.Object({"x-tags":U.Optional(U.Array(U.String()))}),MBe=C({"x-tags":w(he(S()))},{typeName:`XTags`,typeComment:`Custom tag ordering or grouping hints for schema objects`})})),PBe,FBe,IBe=s((()=>{_h(),Ce(),PBe=U.Object({"x-additionalPropertiesName":U.Optional(U.String())}),FBe=C({"x-additionalPropertiesName":w(S())},{typeName:`XAdditionalPropertiesName`,typeComment:`Display name for additional properties on a schema`})})),LBe,Ug,RBe,zBe=s((()=>{_h(),Ce(),LBe=U.Object({"x-enumDescriptions":U.Optional(U.Union([U.Record(U.String(),U.String()),U.Array(U.String())])),"x-enum-descriptions":U.Optional(U.Union([U.Record(U.String(),U.String()),U.Array(U.String())]))}),Ug=_e([ge(S(),S()),he(S())]),RBe=C({"x-enumDescriptions":w(Ug),"x-enum-descriptions":w(Ug)},{typeName:`XEnumDescriptions`,typeComment:`Descriptions for enum values`})})),BBe,VBe,HBe=s((()=>{_h(),Ce(),BBe=U.Object({"x-enum-varnames":U.Optional(U.Array(U.String())),"x-enumNames":U.Optional(U.Array(U.String()))}),VBe=C({"x-enum-varnames":w(he(S())),"x-enumNames":w(he(S()))},{typeName:`XEnumVarNames`,typeComment:`Display names for enum values`})})),UBe,WBe,GBe=s((()=>{_h(),Ce(),UBe=U.Object({"x-examples":U.Optional(U.Record(U.String(),U.Unknown()))}),WBe=C({"x-examples":w(ge(S(),fe()))},{typeName:`XExamples`,typeComment:`Named examples attached to a schema`})})),KBe,qBe,JBe=s((()=>{_h(),Ce(),KBe=U.Object({"x-variable":U.Optional(U.String())}),qBe=C({"x-variable":w(S())},{typeName:`XVariable`,typeComment:`Variable reference for a schema property`})})),Wg,YBe,XBe,Gg,Kg,qg,ZBe,Jg,QBe,Yg,$Be,Xg,eVe,tVe,nVe,rVe=s((()=>{_h(),bh(),jg(),Sg(),NBe(),IBe(),zBe(),HBe(),GBe(),sze(),JBe(),gg(),yg(),Wg=U.Union([ig,yh(vRe,U.Object({"$ref-value":U.Optional(U.Unknown())}))]),YBe=U.Union([U.Literal(`null`),U.Literal(`boolean`),U.Literal(`string`),U.Literal(`number`),U.Literal(`integer`),U.Literal(`object`),U.Literal(`array`)]),XBe=U.Object({type:U.Union([U.Literal(`null`),U.Literal(`boolean`)])}),Gg=yh(bg,kg,KBe,UBe,LBe,BBe,PBe,aze,jBe),Kg=U.Object({$id:U.Optional(U.String()),$anchor:U.Optional(U.String()),$dynamicAnchor:U.Optional(U.String()),$dynamicRef:U.Optional(U.String()),name:U.Optional(U.String()),title:U.Optional(U.String()),description:U.Optional(U.String()),default:U.Optional(U.Unknown()),enum:U.Optional(U.Array(U.Unknown())),const:U.Optional(U.Unknown()),contentMediaType:U.Optional(U.String()),contentEncoding:U.Optional(U.String()),contentSchema:U.Optional(Wg),deprecated:U.Optional(U.Boolean()),discriminator:U.Optional(eRe),readOnly:U.Optional(U.Boolean()),writeOnly:U.Optional(U.Boolean()),xml:U.Optional($Le),externalDocs:U.Optional(lg),example:U.Optional(U.Unknown()),examples:U.Optional(U.Array(U.Unknown())),allOf:U.Optional(U.Array(Wg)),oneOf:U.Optional(U.Array(Wg)),anyOf:U.Optional(U.Array(Wg)),not:U.Optional(Wg)}),qg=U.Object({multipleOf:U.Optional(U.Number()),maximum:U.Optional(U.Number()),exclusiveMaximum:U.Optional(U.Number({minimum:0})),minimum:U.Optional(U.Number()),exclusiveMinimum:U.Optional(U.Number({minimum:0}))}),ZBe=yh(U.Object({type:U.Union([U.Literal(`number`),U.Literal(`integer`)]),format:U.Optional(U.String())}),qg),Jg=U.Object({maxLength:U.Optional(U.Integer({minimum:0})),minLength:U.Optional(U.Integer({minimum:0})),pattern:U.Optional(U.String())}),QBe=yh(U.Object({type:U.Literal(`string`),format:U.Optional(U.String())}),Jg),Yg=U.Object({maxItems:U.Optional(U.Integer({minimum:0})),minItems:U.Optional(U.Integer({minimum:0})),uniqueItems:U.Optional(U.Boolean()),items:U.Optional(Wg),prefixItems:U.Optional(U.Array(Wg))}),$Be=yh(U.Object({type:U.Literal(`array`)}),Yg),Xg=U.Object({maxProperties:U.Optional(U.Integer({minimum:0})),minProperties:U.Optional(U.Integer({minimum:0})),required:U.Optional(U.Array(U.String())),properties:U.Optional(U.Record(U.String(),Wg)),additionalProperties:U.Optional(U.Union([U.Boolean(),Wg])),patternProperties:U.Optional(U.Record(U.String(),Wg)),propertyNames:U.Optional(Wg)}),eVe=yh(U.Object({type:U.Literal(`object`)}),Xg),tVe=yh(U.Object({type:U.Array(YBe),format:U.Optional(U.String())}),qg,Jg,Yg,Xg),nVe=U.Union([yh(U.Object({__scalar_:U.String()}),Kg,Gg),yh(XBe,Kg,Gg),yh(ZBe,Kg,Gg),yh(QBe,Kg,Gg),yh(eVe,Kg,Gg),yh($Be,Kg,Gg),yh(tVe,Kg,Gg)])})),iVe,aVe=s((()=>{_h(),iVe=U.Partial(U.Record(U.String(),U.Array(U.String())))})),oVe,sVe,cVe=s((()=>{_h(),Ce(),oVe=U.Object({"x-default-scopes":U.Optional(U.Array(U.String()))}),sVe=C({"x-default-scopes":w(he(S()))},{typeName:`XDefaultScopes`,typeComment:`Default selected OAuth scopes`})})),Zg,lVe,uVe,dVe,fVe,pVe,mVe,hVe=s((()=>{_h(),bh(),Sg(),cVe(),gg(),Zg=yh(U.Object({description:U.Optional(U.String()),deprecated:U.Optional(U.Boolean())}),bg),lVe=yh(Zg,U.Object({type:U.Literal(`apiKey`),name:U.String(),in:U.Union([U.Literal(`query`),U.Literal(`header`),U.Literal(`cookie`)])})),uVe=yh(Zg,U.Object({type:U.Literal(`http`),scheme:U.Union([U.Literal(`basic`),U.Literal(`bearer`)]),bearerFormat:U.Optional(U.String())})),dVe=yh(Zg,U.Object({type:U.Literal(`mutualTLS`)})),fVe=yh(Zg,U.Object({type:U.Literal(`oauth2`),flows:tRe,oauth2MetadataUrl:U.Optional(U.String())}),oVe),pVe=yh(Zg,U.Object({type:U.Literal(`openIdConnect`),openIdConnectUrl:U.String()})),mVe=U.Union([lVe,uVe,dVe,fVe,pVe])})),gVe,_Ve=s((()=>{_h(),gg(),gVe=U.Object({url:U.String(),description:U.Optional(U.String()),name:U.Optional(U.String()),variables:U.Optional(U.Record(U.String(),nRe))})})),vVe,yVe=s((()=>{_h(),vVe=U.Object({enum:U.Optional(U.Array(U.String())),default:U.Optional(U.String()),description:U.Optional(U.String())})})),bVe,xVe,SVe=s((()=>{_h(),Ce(),bVe=U.Object({"x-displayName":U.Optional(U.String())}),xVe=C({"x-displayName":w(S())},{typeName:`XDisplayName`,typeComment:`Display-friendly name for a tag`})})),CVe,wVe=s((()=>{_h(),bh(),jg(),Sg(),$h(),SVe(),gg(),CVe=yh(U.Object({name:U.String(),summary:U.Optional(U.String()),description:U.Optional(U.String()),externalDocs:U.Optional(lg),parent:U.Optional(U.String()),kind:U.Optional(U.String())}),bVe,kg,bg,Zh)})),TVe,EVe=s((()=>{_h(),TVe=U.Object({name:U.Optional(U.String()),namespace:U.Optional(U.String()),prefix:U.Optional(U.String()),attribute:U.Optional(U.Boolean()),wrapped:U.Optional(U.Boolean()),nodeType:U.Optional(U.Union([U.Literal(`element`),U.Literal(`attribute`),U.Literal(`text`),U.Literal(`cdata`),U.Literal(`none`)]))})})),DVe,OVe,Qg,$g,kVe,e_,t_,n_,r_=s((()=>{_h(),bh(),YIe(),QIe(),Jh(),oLe(),lLe(),fLe(),hLe(),bLe(),CLe(),ELe(),kLe(),MLe(),Xh(),$h(),RLe(),ULe(),gRe(),bRe(),CRe(),TRe(),DRe(),kRe(),PRe(),IRe(),BRe(),QRe(),eze(),nze(),ize(),zze(),fBe(),vBe(),bBe(),SBe(),gg(),EBe(),OBe(),ABe(),rVe(),aVe(),hVe(),_Ve(),yVe(),wVe(),EVe(),DVe=yh(U.Partial(U.Object({"x-original-oas-version":U.String(),[Kh.document.navigation]:rRe,[Kh.document.navigationChunk]:U.String()})),pLe,VLe,nLe,ILe,iLe,Zh,PLe,uLe,sLe,ALe,xLe,_Le,XIe,DLe,wLe),OVe=yh(U.Object({openapi:U.String(),$self:U.Optional(U.String()),info:JLe,jsonSchemaDialect:U.Optional(U.String()),servers:U.Optional(U.Array(cg)),paths:U.Optional(qLe),webhooks:U.Optional(qLe),components:U.Optional(WLe),security:U.Optional(U.Array(GLe)),tags:U.Optional(U.Array(KLe)),externalDocs:U.Optional(lg)}),DVe),Qg=U.Module({[eg.ComponentsObject]:SRe,[eg.SecurityRequirementObject]:iVe,[eg.TagObject]:CVe,[eg.CallbackObject]:yRe,[eg.PathItemObject]:yBe,[eg.PathsObject]:xBe,[eg.OperationObject]:dBe,[eg.SchemaObject]:nVe,[eg.EncodingObject]:ORe,[eg.MediaTypeObject]:rze,[eg.HeaderObject]:zRe,[eg.ServerObject]:gVe,[eg.ExternalDocumentationObject]:FRe,[eg.InfoObject]:ZRe,[eg.ContactObject]:wRe,[eg.LicenseObject]:$Re,[eg.ResponseObject]:DBe,[eg.ResponsesObject]:kBe,[eg.ParameterObject]:_Be,[eg.ExampleObject]:NRe,[eg.RequestBodyObject]:TBe,[eg.SecuritySchemes]:xRe,[eg.SecuritySchemeObject]:mVe,[eg.LinkObject]:tze,[eg.XMLObject]:TVe,[eg.DiscriminatorObject]:ERe,[eg.OAuthFlowsObject]:Rze,[eg.ServerVariableObject]:vVe,OpenApiDocument:OVe,[eg.TraversedDescriptionObject]:aRe,[eg.TraversedOperationObject]:sRe,[eg.TraversedAsyncApiOperationObject]:cRe,[eg.TraversedAsyncApiChannelObject]:lRe,[eg.TraversedAsyncApiMessageObject]:uRe,[eg.TraversedSchemaObject]:dRe,[eg.TraversedWebhookObject]:fRe,[eg.TraversedTagObject]:pRe,[eg.TraversedEntryObject]:hRe,[eg.TraversedDocumentObject]:iRe}),$g=Qg.Import(`OpenApiDocument`),Qg.Import(`ComponentsObject`),kVe=Qg.Import(`SecurityRequirementObject`),Qg.Import(`TagObject`),Qg.Import(`CallbackObject`),Qg.Import(`PathItemObject`),Qg.Import(`PathsObject`),Qg.Import(`OperationObject`),e_=Qg.Import(`SchemaObject`),Qg.Import(`EncodingObject`),Qg.Import(`MediaTypeObject`),Qg.Import(`HeaderObject`),t_=Qg.Import(`ServerObject`),Qg.Import(`ExternalDocumentationObject`),Qg.Import(`InfoObject`),Qg.Import(`ContactObject`),Qg.Import(`LicenseObject`),Qg.Import(`ResponseObject`),Qg.Import(`ResponsesObject`),Qg.Import(`ParameterObject`),Qg.Import(`ExampleObject`),Qg.Import(`RequestBodyObject`),Qg.Import(`SecuritySchemes`),n_=Qg.Import(`SecuritySchemeObject`),Qg.Import(`LinkObject`),Qg.Import(`XMLObject`),Qg.Import(`DiscriminatorObject`),Qg.Import(`OAuthFlowsObject`),Qg.Import(`ServerVariableObject`),Qg.Import(`TraversedDescriptionObject`),Qg.Import(`TraversedEntryObject`),Qg.Import(`TraversedTagObject`),Qg.Import(`TraversedOperationObject`),Qg.Import(`TraversedSchemaObject`),Qg.Import(`TraversedWebhookObject`)})),AVe,jVe,i_,a_=s((()=>{_h(),sNe(),iu(),bh(),Gh(),r_(),AVe={...e_,$defs:{...e_.$defs,SchemaObject:U.Union([e_.$defs.SchemaObject,U.Boolean()])}},jVe=yh(AVe,U.Object({$ref:U.Optional(U.String())})),i_={schema:e=>{if(e===void 0)return;let t=H(e);if(typeof t==`boolean`)return vh(t);let n=H(e,ru);return Wh(jVe,n)}}})),o_,s_,c_,l_,u_,d_=s((()=>{iu(),a_(),o_=new WeakSet,s_=e=>e!==void 0&&o_.has(e),c_=(e,t,n)=>{if(!e&&t===void 0)return;let r=!!e&&Object.keys(e).length>0,i=n||Object.keys(e??{})[0]||``,a=H(e?.[i]);if(a!==void 0)return a;if((!r||!n)&&t!==void 0)return{value:H(t)}},l_=(e,t={ancestors:new Set,withoutValues:new Map,stops:new Set})=>{let n=i_.schema(e);if(`default`in n&&n.default!==void 0)return{value:n.default};if(`examples`in n&&n.examples?.[0]!==void 0)return{value:n.examples[0]};if(`example`in n&&n.example!==void 0)return{value:n.example};if(`enum`in n&&n.enum?.[0]!==void 0){let e={value:n.enum[0]};return o_.add(e),e}let r=H(e)??e;if(!(`properties`in n)||!n.properties)return;if(t.ancestors.has(r)){t.stops.add(r);return}let i=t.withoutValues.get(r);if(i?.properties===n.properties&&i.stops.every(e=>t.ancestors.has(e))){i.stops.forEach(e=>t.stops.add(e));return}let a=t.stops;t.stops=new Set,t.ancestors.add(r);let o=Object.entries(n.properties).flatMap(([e,n])=>{let r=l_(n,t);return r===void 0?[]:[{name:e,example:r}]});t.ancestors.delete(r);let s=[...t.stops].filter(e=>t.ancestors.has(e));if(t.stops=a,s.forEach(e=>a.add(e)),o.length>0){let e={value:Object.fromEntries(o.map(({name:e,example:t})=>[e,t.value]))};return o.every(({example:e})=>s_(e))&&o_.add(e),e}t.withoutValues.set(r,{properties:n.properties,stops:s})},u_=(e,t,n)=>{if(`examples`in e||`example`in e){let n=c_(e.examples,e.example,t);if(n!==void 0)return n}if(`content`in e){let r=e.content?.[n??Object.keys(e.content)[0]??``],i=c_(r?.examples,r?.example,t);if(i!==void 0)return i}let r=H(e);if(r&&`schema`in r&&r.schema)return l_(r.schema)}})),f_,p_=s((()=>{yc(),f_=e=>{let{subtype:t}=vc(e);return t===`json`||t.endsWith(`+json`)}})),m_,h_=s((()=>{m_=e=>e.replace(/~/g,`~0`).replace(/\//g,`~1`)})),g_,__,v_,MVe,y_,b_,x_=s((()=>{js(),iu(),Fu(),g_=e=>typeof e==`object`&&!!e&&`$dynamicRef`in e&&typeof e.$dynamicRef==`string`,__=e=>`$dynamicAnchor`in e||`$id`in e||`$defs`in e,v_=new WeakMap,MVe=e=>{let t=Pu(e,{depth:1}),n=v_.get(t);if(n)return n;let r=new Map,i=e=>{if(!e||typeof e!=`object`)return;let t=e.$dynamicAnchor;typeof t==`string`&&!r.has(t)&&r.set(t,H(e,ru))};i(e);let a=e.$defs;if(a&&typeof a==`object`)for(let e of Object.keys(a))i(a[e]);return v_.set(t,r),r},y_=(e,t)=>{let n=__(t)?t:H(t);return V(n)&&__(n)?[...e,n]:e},b_=(e,t)=>{let n=e.startsWith(`#`)?e.slice(1):void 0;if(n&&!n.startsWith(`/`))for(let e of t){let t=MVe(e).get(n);if(t)return t}}})),S_,NVe=s((()=>{S_=Symbol(`example-evaluation`)})),PVe,FVe,C_,IVe,LVe,w_,T_,E_,D_,O_,RVe,k_,A_,zVe,j_,BVe,M_,N_,P_,F_,I_,L_,R_,z_,B_,V_,H_,U_,VVe,HVe,UVe,W_,G_,WVe,K_,q_,GVe,J_,KVe,Y_,qVe,X_,Z_,JVe,Q_,$_,ev,tv,nv,rv=s((()=>{Zl(),p_(),h_(),x_(),Fu(),a_(),NVe(),PVe=10,FVe=`additionalProperty`,C_=new Date().toISOString(),IVe={"date-time":C_,date:C_.split(`T`)[0],email:`[email protected]`,hostname:`example.com`,"idn-email":`[email protected]`,"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:C_.split(`T`)[1].split(`.`)[0],"uri-reference":`../folder`,"uri-template":`https://example.com/{id}`,uri:`https://example.com`,uuid:`123e4567-e89b-12d3-a456-426614174000`,"object-id":`6592008029c8c3e4dc76256c`},LVe=e=>{if(!(`propertyNames`in e)||!e.propertyNames)return;let t=i_.schema(e.propertyNames);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},w_=(e,t=!1,n=``)=>{if(`type`in e&&e.type===`string`&&`format`in e&&e.format===`binary`)return`@filename`;if(t&&`format`in e&&e.format){let t=/^uuid[1-8]$/.test(e.format)?`uuid`:e.format;return IVe[t]??n}return n},T_=new WeakMap,E_=!1,D_=new WeakMap,O_=e=>Pu(e,{depth:1}),RVe=e=>{if(!e)return;let t=D_.get(e);if(t)return t;if(`required`in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let n=new Set(t);return D_.set(e,n),n}}},k_=(e,t,n,r=!1)=>{if(r||E_||typeof t!=`object`||!t)return t;let i=O_(e),a=T_.get(i)??new Map;return a&&a.set(n,t),T_.set(i,a),t},A_=e=>!!(e.allOf||e.oneOf||e.anyOf),zVe=(e,t,n,r)=>{if(e.deprecated&&r?.includeDeprecated!==!0||r?.mode===`write`&&e.readOnly||r?.mode===`read`&&e.writeOnly)return!0;if(r?.omitEmptyAndOptionalProperties!==!0||`type`in e&&(e.type===`object`||e.type===`array`)||A_(e)||`examples`in e&&Array.isArray(e.examples)&&e.examples.length>0||`example`in e&&e.example!==void 0||`default`in e&&e.default!==void 0||`const`in e&&e.const!==void 0||`enum`in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;let i=n??e.title??``,a=RVe(t);return!(a&&a.has(i))},j_=(e,t)=>t==null?e:e==null?t:Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e instanceof File||t instanceof File?t:e&&typeof e==`object`&&t&&typeof t==`object`?{...e,...t}:t,BVe=50,M_=new WeakMap,N_=(e,t)=>{switch(t){case`string`:return typeof e==`string`;case`number`:return typeof e==`number`&&!Number.isNaN(e);case`integer`:return typeof e==`number`&&Number.isInteger(e);case`boolean`:return typeof e==`boolean`;case`object`:return typeof e==`object`&&!!e&&!Array.isArray(e);case`array`:return Array.isArray(e);case`null`:return e===null;default:return!1}},P_=e=>{let t=O_(e);if(M_.has(t))return M_.get(t);let n=`$ref`in e?i_.schema(e):e;return M_.set(t,n),n},F_=(e,t,n=new Set,r=0)=>{if(r>BVe)return!0;let i=O_(e);if(n.has(i))return!0;if(n.add(i),`type`in e&&e.type&&!(Array.isArray(e.type)?e.type:[e.type]).some(e=>e===`number`&&N_(t,`integer`)?!0:N_(t,e)))return n.delete(i),!1;let a=e.anyOf;if(Array.isArray(a)&&a.length>0&&!a.some(e=>{let i=P_(e);return!!i&&F_(i,t,n,r+1)}))return n.delete(i),!1;let o=e.oneOf;if(Array.isArray(o)&&o.length>0&&!o.some(e=>{let i=P_(e);return!!i&&F_(i,t,n,r+1)}))return n.delete(i),!1;let s=e.allOf;return Array.isArray(s)&&s.length>0&&!s.every(e=>{let i=P_(e);return!i||F_(i,t,n,r+1)})?(n.delete(i),!1):(n.delete(i),!0)},I_=Symbol(`INVALID_DEFAULT`),L_=e=>{let t=e.default;return F_(e,t)?t:I_},R_=(e,t)=>[...e,t].join(`.`),z_=(e,t,n,r)=>{let i=n?.compositionSelection?.[R_(e,t)];if(!(typeof i!=`number`||Number.isNaN(i)))return Math.max(0,Math.min(i,r-1))},B_=(e,t,n)=>{let r=R_(t,n);if(e?.compositionSelection?.[r]===void 0)return e;let{[r]:i,...a}=e.compositionSelection;return{...e,compositionSelection:a}},V_=(e,t,n,r=!1,i)=>{let a=e.anyOf?`anyOf`:void 0,o=e.oneOf?`oneOf`:a,s=o?e[o]:void 0;if(!o||!s?.length)return;let c=z_(t,o,n,s.length)??H_(e,s,n,i),l=`properties`in e||`type`in e&&e.type===`object`;return c!==void 0||l||r?s[c??0]:s.find(e=>{let t=i_.schema(e);return t&&(!(`type`in t)||t.type!==`null`)})},H_=(e,t,n,r)=>{let i=e.discriminator;if(i?.defaultMapping===void 0)return;let a=`properties`in e?e.properties?.[i.propertyName]:void 0,o=a?i_.schema(a):void 0,s=n?.xml&&o&&`xml`in o?o.xml?.name??i.propertyName:i.propertyName,c=o?.[`x-variable`]?n?.variables?.[o[`x-variable`]]:void 0,l=o?Z_(o):void 0,u=r?r[s]:c===void 0?l:c,d=e=>t.findIndex(t=>`$ref`in t&&t.$ref===e),f=e=>d(`#/components/schemas/${m_(e)}`),p=e=>{let t=f(e);return t>=0?t:d(e)};if(typeof u==`string`){let e=i.mapping&&Object.hasOwn(i.mapping,u)?i.mapping[u]:void 0,t=e===void 0?f(u):p(e);if(e!==void 0||t>=0)return t>=0?t:void 0}let m=p(i.defaultMapping);return m>=0?m:void 0},U_=e=>{if(e&&typeof e==`object`&&`x-order`in e){let t=Number(e[`x-order`]);return Number.isNaN(t)?void 0:t}},VVe=e=>Object.keys(e).sort((t,n)=>{let r=U_(e[t]),i=U_(e[n]);return r!==void 0&&i!==void 0?r-i:r===void 0?i===void 0?0:1:-1}),HVe=(e,t,n,r,i,a,o)=>{let s={},c=y_(o,e),l=o.length>0||!!t?.[S_];if(`properties`in e&&e.properties){let i=e.properties,o=VVe(i),l=o.length;for(let u=0;u<l;u++){let l=o[u],d=i_.schema(i[l]);if(!d)continue;let f=t?.xml&&`xml`in d?d.xml?.name:void 0,p=nv(d,t,{level:n+1,parentSchema:e,name:l,schemaPath:[...a,l],seen:r,dynamicScope:c});p!==void 0&&(s[f??l]=p)}}if(`patternProperties`in e&&e.patternProperties)for(let i of Object.keys(e.patternProperties)){let o=i_.schema(e.patternProperties[i]);o&&(s[i]=nv(o,t,{level:n+1,parentSchema:e,name:i,schemaPath:[...a,i],seen:r,dynamicScope:c}))}if(`additionalProperties`in e&&e.additionalProperties){let i=typeof e.additionalProperties==`boolean`?e.additionalProperties:i_.schema(e.additionalProperties),o=e.additionalProperties===!0||typeof e.additionalProperties==`object`&&Object.keys(e.additionalProperties).length===0,l=typeof i==`object`&&`x-additionalPropertiesName`in i?i[`x-additionalPropertiesName`]:void 0,u=typeof l==`string`&&l.trim().length>0,d=u?void 0:LVe(e),f=u?l.trim():FVe,p=!o&&typeof i==`object`?nv(i,t,{level:n+1,schemaPath:[...a,f],seen:r,dynamicScope:c}):`anything`;d&&d.length>0?s[String(d[0])]=p:s[f]=p}let u=e.anyOf?`anyOf`:void 0,d=e.oneOf?`oneOf`:u,f=d?e[d]:void 0;if(d&&f?.length){let i=V_(e,a,t,!1,s);i&&Object.assign(s,nv(i,B_(t,a,d),{level:n+1,schemaPath:a,seen:r,dynamicScope:c}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let i=s,o=0;for(let s of e.allOf){let l=i_.schema(s),u=l&&(Array.isArray(l.oneOf)||Array.isArray(l.anyOf))?[...a,String(o++)]:a,d=nv(l,t,{level:n+1,parentSchema:e,seen:r,dynamicScope:c,schemaPath:u});i=j_(i,d)}i&&typeof i==`object`&&Object.assign(s,i)}if(t?.xml&&`xml`in e&&e.xml?.name&&n===0){let t={};return t[e.xml.name]=s,k_(e,t,i,l)}return k_(e,s,i,l)},UVe=(e,t,n,r,i,a,o)=>{let s=y_(o,e),c=o.length>0||!!t?.[S_];if(`prefixItems`in e&&Array.isArray(e.prefixItems)){let o=e.prefixItems.map((e,i)=>nv(e,t,{level:n+1,schemaPath:[...a,`prefixItems`,String(i)],seen:r,dynamicScope:s}));return k_(e,o,i,c)}let l=`items`in e?i_.schema(e.items):void 0,u=r;if(l&&g_(l)){let e=b_(l.$dynamicRef,s);e&&(l=e,u=new WeakSet)}let d=[...a,`items`],f=l&&typeof l==`object`&&`xml`in l?l.xml?.name:void 0,p=!!(t?.xml&&`xml`in e&&e.xml?.wrapped&&f);if(e.example!==void 0)return k_(e,p?{[f]:e.example}:e.example,i,c);if(l&&typeof l==`object`){if(Array.isArray(l.allOf)&&l.allOf.length>0){let r=l.allOf.filter(Xl),a=i_.schema(r[0]);if(a&&typeof a==`object`&&`type`in a&&a.type===`object`){let a=nv({type:`object`,allOf:r},t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return k_(e,p?[{[f]:a}]:[a],i,c)}let o=r.map(r=>nv(i_.schema(r),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s})).filter(Xl);return k_(e,p?o.map(e=>({[f]:e})):o,i,c)}let r=l.anyOf?`anyOf`:void 0,a=l.oneOf?`oneOf`:r,o=a?l[a]:void 0;if(a&&o&&o.length>0){let r=o[z_(d,a,t,o.length)??H_(l,o,t)??0],m=nv(i_.schema(r),B_(t,d,a),{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return m===void 0?void 0:k_(e,p?[{[f]:m}]:[m],i,c)}}let m=l&&typeof l==`object`&&(`type`in l&&l.type===`object`||`properties`in l),h=l&&typeof l==`object`&&(`type`in l&&l.type===`array`||`items`in l);if(l&&typeof l==`object`&&(`type`in l&&l.type||m||h)){let r=nv(l,t,{level:n+1,schemaPath:d,seen:u,dynamicScope:s});return r===void 0?void 0:k_(e,p?[{[f]:r}]:[r],i,c)}return k_(e,[],i,c)},W_=(e,t,n)=>{if(`type`in e&&e.type&&!Array.isArray(e.type))switch(e.type){case`string`:return w_(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`array`:return[];default:return}},G_=(e,t,n)=>{if(`type`in e&&Array.isArray(e.type)){if(e.type.includes(`null`))return null;let r=e.type[0];if(r)switch(r){case`string`:return w_(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`null`:return null;default:return}}},WVe=e=>JSON.stringify({binaryAsFile:e?.binaryAsFile,emptyString:e?.emptyString,xml:e?.xml,mode:e?.mode,variables:e?.variables,omitEmptyAndOptionalProperties:e?.omitEmptyAndOptionalProperties,includeDeprecated:e?.includeDeprecated,compositionSelection:e?.compositionSelection?Object.entries(e.compositionSelection).sort(([e],[t])=>e.localeCompare(t)):void 0}),K_=Symbol(`NO_OPTIONS`),q_=``,GVe=(e,t)=>((t===0||e!==K_)&&(q_=WVe(e),K_=e),q_),J_=`[Max Depth Exceeded]`,KVe=50,Y_=e=>!(`type`in e)||!e.type?[]:Array.isArray(e.type)?e.type:[e.type],qVe=e=>{let t=Y_(e);if(`properties`in e||t.includes(`object`))return{};if(`items`in e||t.includes(`array`))return[]},X_=(e,t,n)=>{let r=e.anyOf?`anyOf`:void 0,i=e.oneOf?`oneOf`:r,a=i?e[i]:void 0;if(!i||!Array.isArray(a)||a.length===0)return;let o=z_(n,i,t,a.length)??H_(e,a,t),s=o===void 0?a.find(e=>{let t=i_.schema(e);return t&&(!(`type`in t)||t.type!==`null`)}):a[o];return s?i_.schema(s):void 0},Z_=e=>{if(Array.isArray(e.examples)&&e.examples.length>0)return e.examples[0];if(e.example!==void 0)return e.example;if(e.default!==void 0){let t=L_(e);if(t!==I_)return t}if(e.const!==void 0)return e.const;if(Array.isArray(e.enum)&&e.enum.length>0)return e.enum[0]},JVe=(e,t,n,r)=>{let i=X_(e,t,n);if(i)return Q_(i,t,n,r);if(!Array.isArray(e.allOf)||e.allOf.length===0)return;let a,o=0;for(let i of e.allOf){let e=i_.schema(i),s=e&&(Array.isArray(e.oneOf)||Array.isArray(e.anyOf))?[...n,String(o++)]:n,c=e?Q_(e,t,s,r):void 0;c!==void 0&&c!==J_&&(a=j_(a,c))}return a},Q_=(e,t,n,r=new Set)=>{let i=Z_(e);if(i!==void 0)return i;let a=qVe(e);if(a!==void 0)return E_=!0,a;let o=!!t?.emptyString,s=W_(e,o,t?.emptyString);if(s!==void 0)return s;let c=O_(e);if(!r.has(c)&&r.size<KVe){r.add(c);let i=JVe(e,t,n,r);if(r.delete(c),i!==void 0)return i}else E_=!0;let l=G_(e,o,t?.emptyString);return l===void 0?Y_(e).includes(`null`)||A_(e)||`not`in e?null:(E_=!0,J_):l},$_=e=>!(`contentSchema`in e)||!f_(e.contentMediaType)||`contentEncoding`in e?!1:!(`type`in e)||Y_(e).includes(`string`),ev=(e,t,{level:n=0,parentSchema:r,name:i,seen:a=new WeakSet,schemaPath:o=[],dynamicScope:s=[]}={})=>{n===0&&(E_=!1);let c=i_.schema(e);if(!Xl(c))return;if(g_(c)){let e=b_(c.$dynamicRef,s);if(e)return nv(e,t,{level:n+1,parentSchema:r,name:i,seen:new WeakSet,schemaPath:o,dynamicScope:s})}let l=y_(s,c),u=s.length>0||!!t?.[S_],d=O_(c);if(a.has(d))return;a.add(d);let f=GVe(t,n)+(o.length>0?`:path:${o.join(`.`)}`:``);if(!u){let e=T_.get(d)?.get(f);if(e!==void 0)return a.delete(d),e}let p=!!t?.emptyString;if(zVe(c,r,i,t)){a.delete(d);return}if(`x-variable`in c&&c[`x-variable`]){let e=t?.variables?.[c[`x-variable`]];if(e!==void 0)return`type`in c&&(c.type===`number`||c.type===`integer`)?(a.delete(d),k_(c,Number(e),f,u)):(a.delete(d),k_(c,e,f,u))}if(Array.isArray(c.examples)&&c.examples.length>0)return a.delete(d),k_(c,c.examples[0],f,u);if(c.example!==void 0)return a.delete(d),k_(c,c.example,f,u);if(c.default!==void 0){let e=L_(c);if(e!==I_)return a.delete(d),k_(c,e,f,u)}if(c.const!==void 0)return a.delete(d),k_(c,c.const,f,u);if(Array.isArray(c.enum)&&c.enum.length>0)return a.delete(d),k_(c,c.enum[0],f,u);if(n>PVe)return a.delete(d),Q_(c,t,o);let m=c.anyOf?`anyOf`:void 0,h=c.oneOf?`oneOf`:m,g=X_(c,t,o);if(h&&g){let e=`type`in c?c.type:void 0,s=(`type`in g?g.type:void 0)??e??($_(c)?`string`:`items`in c&&!(`properties`in c)?`array`:void 0);if(s!==void 0&&s!==`object`){let{oneOf:e,anyOf:p,...m}=c,_={...m,...g};`properties`in _&&delete _.properties,s!==`array`&&`items`in _&&delete _.items;let v=nv(_,B_(t,o,h),{level:n+1,parentSchema:r,name:i,schemaPath:o,seen:a,dynamicScope:l});return a.delete(d),k_(c,v,f,u)}}if($_(c)){let e=i_.schema(c.contentSchema);if(e){let s=nv(e,{...t,xml:!1,binaryAsFile:!1},{level:n+1,parentSchema:r,name:i,schemaPath:[...o,`contentSchema`],seen:a,dynamicScope:l});if(s!==void 0)return a.delete(d),k_(c,JSON.stringify(s),f,u)}}if(`properties`in c||`type`in c&&c.type===`object`){let e=HVe(c,t,n,a,f,o,s);return a.delete(d),e}if(`type`in c&&c.type===`array`||`items`in c||`prefixItems`in c){let e=UVe(c,t,n,a,f,o,s);return a.delete(d),e}let _=W_(c,p,t?.emptyString);if(_!==void 0)return a.delete(d),k_(c,_,f,u);let v=c.anyOf?`anyOf`:void 0,y=c.oneOf?`oneOf`:v,b=y?c[y]:void 0;if(y&&Array.isArray(b)&&b.length>0){let e=V_(c,o,t);if(e){let r=i_.schema(e);if(r)return a.delete(d),k_(c,nv(r,B_(t,o,y),{level:n+1,schemaPath:o,seen:a,dynamicScope:l}),f,u)}return a.delete(d),k_(c,null,f,u)}if(Array.isArray(c.allOf)&&c.allOf.length>0){let e,r=c.allOf,i=0;for(let s of r){let r=i_.schema(s),u=r&&(Array.isArray(r.oneOf)||Array.isArray(r.anyOf))?[...o,String(i++)]:o,d=nv(s,t,{level:n+1,parentSchema:c,schemaPath:u,seen:a,dynamicScope:l});e===void 0?e=d:e&&typeof e==`object`&&d&&typeof d==`object`?e=j_(e,d):d!=null&&(e=d)}return a.delete(d),k_(c,e??null,f,u)}let x=G_(c,p,t?.emptyString);return x===void 0?(a.delete(d),k_(c,null,f,u)):(a.delete(d),k_(c,x,f,u))},tv=(e,t,n=!1)=>{if(!n||typeof t!=`string`||!t.startsWith(`@`))return t;let r=i_.schema(e);return r&&`type`in r&&r.type===`string`&&`format`in r&&r.format===`binary`?new File([],t.slice(1),{lastModified:0}):t},nv=(e,t,n={})=>{let r=t?.[S_];if(!r){let r=ev(e,t,n);return tv(e,r,t?.binaryAsFile)}let i={schema:e,value:void 0,path:n.schemaPath??[],name:n.name,dynamicScope:n.dynamicScope??[],children:[]},a=r.stack.at(-1);a?a.children.push(i):r.root=i,r.stack.push(i);try{return i.value=tv(e,ev(e,t,n),t?.binaryAsFile),i.value}finally{r.stack.pop()}}})),YVe,XVe=s((()=>{YVe=(e,t)=>{if(e.length>256||t.length>256)return;let n=!1,r=0;for(let t=0;t<e.length;t++){let i=e[t];if(i===`\\`){let r=e[++t];if(!r||!n&&/[1-9k]/.test(r))return}else if(i===`[`&&!n)n=!0;else if(i===`]`&&n)n=!1;else if(!n&&(`(){}|`.includes(i??``)||`*+?`.includes(i??``)&&++r>1))return}try{return new RegExp(e).test(t)}catch{return}}})),iv,ZVe,av,ov,sv,QVe,$Ve=s((()=>{iv=`http://www.w3.org/XML/1998/namespace`,ZVe=`http://www.w3.org/2000/xmlns/`,av=`A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u{10000}-\\u{EFFFF}`,ov=RegExp(`^[${av}][${av}\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`,`u`),sv=/[^\u0009\u000A\u000D\u0020-\uD7FF\uE000-\uFFFD\u{10000}-\u{10FFFF}]/u,QVe=(e,t={})=>{let n=[],r=(e,t,r)=>{n.push({severity:`error`,code:e,message:t,path:r})},i=(e,t,n)=>{sv.test(e)&&r(`invalid-character`,`The value contains a character XML 1.0 cannot represent.`,n);let i=e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/\r/g,`&#13;`);return t?i.replace(/"/g,`&quot;`).replace(/\n/g,`&#10;`).replace(/\t/g,`&#9;`):i},a=0,o=0,s=(e,t,n,c,l)=>{if(++o>1e4||n>100)return r(`limit-exceeded`,`The XML example exceeds the node or depth limit.`,c),``;if(e.type!==`element`)return e.type===`text`?i(e.value,!1,c):(sv.test(e.value)&&r(`invalid-character`,`The CDATA contains a character XML 1.0 cannot represent.`,c),`<![CDATA[${e.value.replace(/]]>/g,`]]]]><![CDATA[>`).replace(/\r/g,`]]>&#13;<![CDATA[`)}]]>`);let u=new Map(t),d=new Map,f=new Map,p=new Set([e.prefix,...e.attributes.map(e=>e.prefix)]),m=(e,t)=>{(!ov.test(e.name)||e.prefix!==void 0&&!ov.test(e.prefix))&&r(`invalid-name`,`Invalid XML name: ${e.prefix?`${e.prefix}:`:``}${e.name}`,c);let n=e.prefix??``,i=t?``:u.get(``),o=e.namespace??(n?u.get(n):i)??``;if((n===`xmlns`||o===ZVe||t&&!n&&e.name===`xmlns`)&&r(`reserved-namespace`,`Namespace declarations must be expressed through XML namespace metadata.`,c),o===iv&&!n&&(n=`xml`),n===`xml`!=(o===iv)&&r(`reserved-namespace`,`The xml prefix is reserved for the XML namespace.`,c),n&&!o&&r(`unbound-prefix`,`The prefix ${n} has no namespace binding.`,c),t&&o&&!n&&(n=[...u].find(([e,t])=>e!==``&&t===o)?.[0]??``,!n))do n=`ns${++a}`;while(u.has(n)||p.has(n));return(!t||n)&&(f.has(n)&&f.get(n)!==o&&r(`namespace-conflict`,`The prefix ${n||`(default)`} is assigned incompatible namespaces on one element.`,c),f.set(n,o),(u.get(n)??``)!==o&&(d.set(n,o),u.set(n,o))),{name:n?`${n}:${e.name}`:e.name,namespace:o}},h=m(e,!1),g=new Set,_=e.attributes.map(e=>{let t=m(e,!0),n=`${t.namespace}\0${e.name}`;return g.has(n)&&r(`duplicate-attribute`,`Duplicate XML attribute: ${t.name}`,c),g.add(n),` ${t.name}="${i(e.value,!0,c)}"`}).join(``),v=[...d].map(([e,t])=>` xmlns${e?`:${e}`:``}="${i(t,!0,c)}"`).join(``),y=`<${h.name}${v}${_}`;if(e.children.length===0)return`${y}/>`;let b=l&&e.children.every(e=>e.type===`element`),x=e.children.map((e,t)=>s(e,u,n+1,[...c,String(t)],l));return b?`${y}>\n${x.map(e=>`${` `.repeat(n+1)}${e}`).join(`
+`)}\n${` `.repeat(n)}</${h.name}>`:`${y}>${x.join(``)}</${h.name}>`};if(e.length!==1||e[0]?.type!==`element`)return r(`invalid-root`,`An XML document must contain exactly one root element.`,[]),{xml:void 0,diagnostics:n};let c=s(e[0],new Map([[`xml`,iv]]),0,[],t.format!==!1),l=t.xmlDeclaration===!1?``:`<?xml version="1.0" encoding="UTF-8"?>${t.format===!1?``:`
+`}`;return{xml:n.some(e=>e.severity===`error`)?void 0:l+c,diagnostics:n}}})),eHe,cv,tHe,lv,uv,dv=s((()=>{aCe(),js(),x_(),iu(),NVe(),rv(),XVe(),$Ve(),eHe=`http://www.w3.org/2001/XMLSchema-instance`,cv=(e,t)=>{for(let n of e.diagnostics)t.onDiagnostic?t.onDiagnostic(n):n.severity===`error`&&console.warn(`Unable to generate an XML example:`,n);return e},tHe=(e,t={})=>{let n={stack:[]},r=nv(e,{...t,[S_]:n},{schemaPath:t.schemaPath});return cv(uv(r,e,t,n.root),t)},lv=(e,t,n={})=>cv(uv(e,t,n),n),uv=(e,t,n,r)=>{let i=[],a=(e,t,n,r)=>{i.push({severity:e,code:t,message:n,path:r})},o=(e,t)=>{let n=e?.match(/\/schemas\/([^/]+)$/)?.[1];if(n!==void 0)try{return fu(n)}catch{a(`error`,`invalid-reference`,`The component reference contains invalid URI escaping.`,t);return}},s=(e,t,n)=>{if(!e)return t;if(!t)return e;for(let r of[`name`,`namespace`,`prefix`,`nodeType`,`attribute`,`wrapped`])e[r]!==void 0&&t[r]!==void 0&&e[r]!==t[r]&&a(`error`,`composition-xml-conflict`,`Composition members disagree on xml.${r}.`,n);return{...e,...t}},c=n.openapiVersion!==void 0&&/^3\.[2-9](?:\.|$)/.test(n.openapiVersion),l=(e,t)=>{e.namespace!==void 0&&!/^[A-Za-z][A-Za-z0-9+.-]*:/.test(e.namespace)&&a(`error`,`relative-namespace`,`XML namespaces must be non-relative IRIs.`,t),e.nodeType!==void 0&&(e.attribute!==void 0||e.wrapped!==void 0)&&a(`error`,`conflicting-node-type`,`xml.nodeType cannot be combined with xml.attribute or xml.wrapped.`,t),e.nodeType&&n.openapiVersion&&!/^3\.[2-9](?:\.|$)/.test(n.openapiVersion)&&a(`warning`,`xml-version`,`xml.nodeType requires OpenAPI 3.2.`,t)},u=(e,t,r=new Set)=>{if(!e||typeof e!=`object`||r.has(e)||r.size>50)return{schema:{},scope:t.scope,evaluations:[]};if(r.add(e),!t.evaluation&&`$ref`in e&&!(`$ref-value`in e&&e[`$ref-value`]!==void 0)&&a(`error`,`unresolved-reference`,`Resolve schema references before generating XML.`,t.path),c&&`$ref-value`in e&&e[`$ref-value`])return{schema:e,scope:t.scope,evaluations:t.evaluation?.children??[]};let i=H(e,ru);if(g_(i)){let e=b_(i.$dynamicRef,t.scope);if(e)return u(e,t,r)}let o=y_(t.scope,i),l=[...t.evaluation?.children??[]],d=t.evaluation?.children.filter(e=>e.path.length===t.path.length||e.name===void 0&&e.path.length===t.path.length+1&&/^\d+$/.test(e.path.at(-1)??``))??[],f=[],p=V_(i,t.path,n,t.path.at(-1)===`items`);for(let e of p?[p]:i.allOf??[])if(e&&`$ref`in e&&!(`$ref-value`in e&&e[`$ref-value`]!==void 0))return a(`error`,`unresolved-reference`,`Resolve schema references before generating XML.`,t.path),{schema:i,scope:o,evaluations:l};if(c&&p)f.push({schema:p,path:t.path,evaluation:d[0]});else if(d.length&&!(c&&i.allOf))f.push(...d.map(e=>({schema:e.schema,path:e.path,evaluation:e})));else{let e=V_(i,t.path,n,t.path.at(-1)===`items`);if(e)f.push({schema:e,path:t.path});else if(i.allOf){let e=0;for(let n of i.allOf){let r=H(n,ru),i=r&&(r.oneOf||r.anyOf);f.push({schema:n,path:i?[...t.path,String(e++)]:t.path})}}}for(let e of f){let n=u(e.schema,{...t,scope:o,path:e.path,evaluation:e.evaluation},new Set(r)),a=`properties`in i?i.properties:void 0,c=`properties`in n.schema?n.schema.properties:void 0,d=s(i.xml,n.schema.xml,t.path),f={...a,...c};for(let e of Object.keys(a??{}))a?.[e]&&c?.[e]&&(f[e]={allOf:[a[e],c[e]]});i={...i,...n.schema,...a||c?{properties:f}:{},xml:d},l.push(...n.evaluations)}return{schema:i,scope:o,evaluations:l}},d=new Set,f=0,p=(e,t,r,i,s)=>{if(t&&`$ref`in t&&!(`$ref-value`in t&&t[`$ref-value`]!==void 0))return a(`error`,`unresolved-reference`,`Resolve schema references before generating XML.`,i.path),[];if(e===void 0)return[];if(++f>1e4||i.depth>50)return a(`error`,`limit-exceeded`,`The XML example exceeds the node or depth limit.`,i.path),[];let m=t&&`$ref-value`in t?t[`$ref-value`]:void 0,h=g_(t)?b_(t.$dynamicRef,i.scope):void 0,g=m??h;if(c&&g&&typeof g==`object`){let n=t.xml??{};l(n,i.path);let c=n.nodeType??(n.attribute?`attribute`:`none`),u=`$ref`in t&&typeof t.$ref==`string`?o(t.$ref,i.path):void 0,d=c===`none`?s:[],f=p(e,g,u??r,{...i,depth:i.depth+1,scope:y_(i.scope,t),evaluation:h?i.evaluation?.children[0]:i.evaluation},d);return c===`none`?f:c===`element`?[{type:`element`,name:n.name??r??`root`,namespace:n.namespace,prefix:n.prefix,attributes:d,children:f}]:(a(`error`,`reference-node-type`,`A reference wrapper must be an element or a transparent node.`,i.path),[])}let{schema:_,scope:v,evaluations:y}=u(t,i);if(c&&`$ref-value`in _&&_[`$ref-value`])return p(e,_,r,{...i,scope:v,evaluation:void 0,depth:i.depth+1},s);if(_.deprecated||n.mode===`write`&&_.readOnly||n.mode===`read`&&_.writeOnly)return[];let b=_.xml??{};l(b,i.path);let x=Array.isArray(e)&&!b.wrapped?`none`:`element`,ee=b.nodeType??(b.attribute?`attribute`:x),te=i.depth===0&&`$ref`in _&&typeof _.$ref==`string`?o(_.$ref,i.path):void 0,ne=ee===`none`||ee===`text`||ee===`cdata`?r:b.name??r??te,re={name:ne??`root`,namespace:b.namespace,prefix:b.prefix};if(ee===`attribute`)return e===null?a(`warning`,`null-attribute`,`A null XML attribute is omitted.`,i.path):typeof e==`object`?a(`error`,`attribute-value`,`An XML attribute requires a primitive value.`,i.path):s.push({...re,value:String(e)}),[];if(ee===`text`||ee===`cdata`)return e!==null&&typeof e!=`object`?[{type:ee,value:String(e)}]:(a(`error`,`text-value`,`XML text and CDATA require a non-null primitive value.`,i.path),[]);if(typeof e==`object`&&e){if(d.has(e))return a(`error`,`circular-value`,`The supplied XML example contains a circular value.`,i.path),[];d.add(e)}let ie=ee===`none`?s:[],ae=[];if(e===null)ee===`none`?a(`error`,`null-fragment`,`A null value cannot be represented by an XML fragment.`,i.path):ie.push({name:`nil`,prefix:`xsi`,namespace:eHe,value:`true`});else if(Array.isArray(e)){let t=`prefixItems`in _?_.prefixItems:void 0,n=`items`in _&&typeof _.items==`object`?_.items:{};for(let a=0;a<e.length&&!(f>1e4);a++){let o=t?.[a]?[...i.path,`prefixItems`,String(a)]:[...i.path,`items`],s=y.filter(e=>e.path.join(`.`)===o.join(`.`)),c=s.length===e.length?s[a]:s[0];ae.push(...p(e[a],t?.[a]??n,r??ne,{path:o,scope:c?.dynamicScope??v,evaluation:c,depth:i.depth+1},ie))}}else if(V(e)){let t=`properties`in _?_.properties:void 0,r=new Map(y.map(e=>[e.name??e.path.at(-1),e]));for(let[o,s]of Object.entries(e)){if(f>1e4)break;let e=r.get(o),c=`additionalProperties`in _&&typeof _.additionalProperties==`object`?_.additionalProperties:void 0,l=t?.[o],u=`patternProperties`in _?_.patternProperties:void 0,d=Object.entries(u??{}).flatMap(([e,t])=>{let n=YVe(e,o);return n===void 0&&a(`error`,`unsupported-pattern`,`Property patterns must use the bounded XML matching subset.`,[...i.path,o]),n?[t]:[]}),m=[...l?[l]:[],...d],h=m.length>1?{allOf:m}:m[0]??e?.schema??c??{},g=H(h,ru);g?.deprecated||n.mode===`write`&&g?.readOnly||n.mode===`read`&&g?.writeOnly||ae.push(...p(s,h,o,{path:[...i.path,o],scope:e?.dynamicScope??v,evaluation:e,depth:i.depth+1},ie))}}else ae.push({type:`text`,value:String(e)});return typeof e==`object`&&e&&d.delete(e),ee===`none`?ae:[{type:`element`,...re,attributes:ie,children:ae}]},m=o(t&&`$ref`in t&&typeof t.$ref==`string`?t.$ref:void 0,n.schemaPath??[]),h=n.rootName??m,g=[],_=p(e,t,h,{path:n.schemaPath??[],scope:[],evaluation:r,depth:0},g);if(g.length&&a(`error`,`root-attribute`,`An XML attribute requires a parent element.`,[]),!h&&_.length===1&&_[0]?.type===`element`&&_[0].name===`root`&&!t.xml?.name&&a(`warning`,`root-name-fallback`,`No XML root name was supplied; using root.`,[]),i.some(e=>e.severity===`error`)||e===void 0)return{xml:void 0,diagnostics:i};let v=QVe(_,n);return{xml:v.xml,diagnostics:[...i,...v.diagnostics]}}})),fv,nHe=s((()=>{iu(),Gh(),r_(),dv(),fv=(e,t,n={})=>{let r=H(t);return r?.serializedValue===void 0?r?.dataValue===void 0?typeof r?.value==`string`?{xml:r.value,diagnostics:[]}:r?.value===void 0?e?tHe(e,n):{xml:void 0,diagnostics:[]}:lv(r.value,e??Wh(e_,{}),n):lv(r.dataValue,e??Wh(e_,{}),n):{xml:r.serializedValue,diagnostics:[]}}})),pv,mv,rHe=s((()=>{tu(),yc(),su(),iu(),lu(),Lu(),d_(),rv(),nHe(),pv=(e,t,n,r)=>{let i=e.content?.[t],a=i?.schema??(i?.itemSchema&&vc(t).type===`multipart`?{type:`array`,items:i.itemSchema}:i?.itemSchema);if(eu(t))return fv(i?.schema,void 0,{openapiVersion:r,mode:`write`,compositionSelection:n,schemaPath:[`requestBody`]}).xml;if(!a||H(a)===void 0)return;let o=nv(Iu(a),{mode:`write`,compositionSelection:n},{schemaPath:[`requestBody`]});return cu(o,t,i?.schema===void 0)??o},mv=(e,t,n,r,i)=>{let a=u_(e,n,t);if(eu(t)){let n=fv(e.content?.[t]?.schema,a,{openapiVersion:i,mode:`write`,compositionSelection:r,schemaPath:[`requestBody`]});return n.xml===void 0?null:a?.dataValue===void 0?{...a,value:n.xml}:{...a,value:n.xml,serializedValue:n.xml}}let o=au(a);if(a&&o){let e=typeof o.value==`string`?void 0:cu(o.value,t,!1);return e===void 0?o.source===`value`?a:{...a,value:o.value}:o.source===`data`?{...a,value:e,serializedValue:e}:{...a,value:e}}let s=pv(e,t,r,i);return s==null?null:{value:s}}})),hv,iHe=s((()=>{hv=(e,t=`default`)=>e?.[`x-scalar-selected-content-type`]?.[t]??Object.keys(e?.content??{})[0]??null})),gv,_v,vv,yv=s((()=>{a_(),Fu(),gv=new Set([`title`,`description`,`default`,`examples`,`example`,`deprecated`,`readOnly`,`writeOnly`,`$comment`,`externalDocs`,`__scalar_`]),_v=e=>Object.fromEntries(Object.entries(e).filter(([e])=>gv.has(e))),vv=e=>{let t=new Set,n=e=>{let r=i_.schema(e);if(!r?.allOf?.length||!e||Object.keys(r).some(e=>e!==`allOf`&&e!==`$ref`&&!gv.has(e)))return r;let i=Nu(e);if(t.has(i))return r;t.add(i);let a=r.allOf.map(e=>i_.schema(e));if(a.some(e=>!e))return r;let o=a.filter(e=>e&&Object.keys(e).some(e=>!gv.has(e))),s=o[0];if(o.length!==1||!s)return r;let c=a.indexOf(s),l=n(r.allOf[c]),u=Object.assign({},...a.filter(e=>e!==s&&e!==void 0).map(_v)),{allOf:d,...f}=r,p={...l,...u,...f};return Reflect.deleteProperty(p,`__scalar_`),p};return n(e)}})),bv,xv,Sv,Cv,aHe,wv,Tv=s((()=>{bv=e=>`type`in e&&(e.type===`object`||Array.isArray(e.type)&&e.type.includes(`object`)),xv=e=>`type`in e&&(e.type===`array`||Array.isArray(e.type)&&e.type.includes(`array`)),Sv=e=>`type`in e&&(e.type===`string`||Array.isArray(e.type)&&e.type.includes(`string`)),Cv=e=>`type`in e&&(e.type===`number`||e.type===`integer`||Array.isArray(e.type)&&e.type.includes(`number`)||Array.isArray(e.type)&&e.type.includes(`integer`)),aHe=e=>e!==void 0&&`type`in e,wv=e=>`content`in e&&e.content!==void 0})),oHe,Ev,sHe,Dv,cHe,Ov,kv=s((()=>{yv(),Tv(),oHe=e=>{let t=`type`in e?e.type:void 0;return Array.isArray(t)?[...t]:t==null?[]:[t]},Ev=(e,t)=>{let n=vv(e);for(let e of t){if(!n||!bv(n)||!n.properties)return;n=vv(n.properties[e])}return n},sHe=(e,t)=>e===null?t.includes(`null`):Array.isArray(e)?t.includes(`array`):typeof e==`object`?t.includes(`object`):typeof e==`boolean`?t.includes(`boolean`):typeof e==`number`?t.includes(`number`)||t.includes(`integer`)&&Number.isInteger(e):typeof e==`string`&&t.includes(`string`),Dv=(e,t)=>{if(typeof e!=`string`||!t)return e;let n=oHe(t);if(n.length===0||n.includes(`string`))return e;try{let t=JSON.parse(e);return sHe(t,n)?t:e}catch{return e}},cHe=e=>{if(typeof e!=`string`)return e;try{let t=JSON.parse(e);return typeof t==`string`?e:t}catch{return e}},Ov=e=>{let t=e?vv(e):void 0;if(!t||!bv(t)||!t.properties)return(e,t)=>!1;let n=new Set;for(let[e,r]of Object.entries(t.properties)){let t=r?vv(r):void 0;t&&bv(t)&&t.properties&&n.add(e)}return(e,t)=>{if(t instanceof File||!e.includes(`.`))return!1;let r=e.split(`.`,1)[0];return!!r&&n.has(r)}}})),Av,jv,Mv,Nv,Pv,Fv,Iv,Lv,Rv,zv=s((()=>{js(),Av=(e,t)=>typeof e==`string`?e:t.includes(`json`)||As(e)&&!Array.isArray(e)?JSON.stringify(e):String(e),jv=(e,t)=>{if(Array.isArray(e))return e.join(`,`);if(As(e)){let n=Object.entries(e);return t?n.map(([e,t])=>`${e}=${t}`).join(`,`):n.map(([e,t])=>`${e},${t}`).join(`,`)}return e},Mv=(e,t)=>Array.isArray(e)&&t?e.map(e=>({key:``,value:e})):Array.isArray(e)?e.join(`,`):As(e)&&t?Object.entries(e).map(([e,t])=>({key:e,value:t})):As(e)?Object.entries(e).map(([e,t])=>`${e},${t}`).join(`,`):e,Nv=(e,t)=>{if(Array.isArray(e)&&t)return e.map(e=>({key:``,value:e}));if(Array.isArray(e))return e.map(e=>e===null?`null`:String(e)).join(`,`);if(As(e)&&t)return Object.entries(e).map(([e,t])=>({key:e,value:t}));if(As(e)){let t=e=>{let n=[];for(let[r,i]of Object.entries(e))As(i)&&!Array.isArray(i)?n.push(r,...t(i)):n.push(r,i===null?`null`:String(i));return n};return t(e).join(`,`)}return e},Pv=e=>Array.isArray(e)?e.join(` `):As(e)?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(` `):String(e),Fv=e=>Array.isArray(e)?e.join(`|`):As(e)?Object.entries(e).flat().join(`|`):String(e),Iv=(e,t)=>{let n=[],r=(e,t)=>{if(Array.isArray(t))for(let n of t)r(`${e}[]`,n);else As(t)?i(t,e):n.push({key:e,value:String(t)})},i=(e,t)=>{for(let[n,i]of Object.entries(e))r(`${t}[${n}]`,i)};return As(t)&&!Array.isArray(t)&&i(t,e),n},Lv=new Set,Rv=(e,t,n=!0)=>(!n&&!Lv.has(e)&&(Lv.add(e),console.warn(`Cookie parameter "${e}" uses invalid explode: false with style: cookie; serializing with explode: true.`)),Array.isArray(t)?t.map(t=>({name:e,value:String(t)})):As(t)?Object.entries(t).map(([e,t])=>({name:e,value:String(t)})):[{name:e,value:String(t)}])})),Bv,Vv,Hv,Uv=s((()=>{Fu(),zv(),Bv=e=>!!e&&(e.style!==void 0||e.explode!==void 0||e.allowReserved!==void 0),Vv=e=>typeof e==`object`&&e?JSON.stringify(e):String(e),Hv=(e,t,n)=>{if(!Bv(n)||typeof t!=`object`||!t||t instanceof File||Array.isArray(t)&&t.some(e=>e instanceof File))return null;let r=Pu(t),i=n?.style??`form`,a=n?.explode??i===`form`,o=[];if(i===`deepObject`){if(Array.isArray(r)){let t=Mv(r,!0);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:Vv(n.value)});else o.push({key:e,value:String(t)})}else for(let t of Iv(e,r))o.push({key:t.key,value:String(t.value)})}else if(i===`spaceDelimited`)o.push({key:e,value:String(Pv(r))});else if(i===`pipeDelimited`)o.push({key:e,value:String(Fv(r))});else{let t=Mv(r,a);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:Vv(n.value)});else o.push({key:e,value:String(t)})}return o}})),Wv,lHe=s((()=>{yc(),Fu(),Uv(),Wv=(e,t,n)=>{if(!Array.isArray(t))return null;let r=n?.style!==void 0||n?.explode!==void 0||n?.allowReserved!==void 0,i=r?void 0:n?.contentType;return t.flatMap(t=>{let a=Hv(e,t,n);if(a)return a;if(t instanceof File)return[{key:e,value:Pu(t),...i?{contentType:i}:{}}];let o=typeof t==`object`&&!!t,s=i??(!r&&o?`application/json`:void 0),c=s?vc(s).subtype:void 0,l=c===`json`||c?.endsWith(`+json`);return[{key:e,value:o||l?JSON.stringify(Pu(t)):String(t),...s?{contentType:s}:{}}]})}}));function uHe(e,t){let n=/{{\s*([\w.-]+)\s*}}/g,r=/{\s*([\w.-]+)\s*}/g,i=(e,n)=>typeof t==`function`?t(n):t[n]?.toString()||`{${n}}`;return e.replace(n,i).replace(r,i)}var Gv,Kv,qv=s((()=>{ic(),Gv=(e,t={})=>e.replace(rc.PATH,(e,n)=>t[n]??e),Kv=(e,t={})=>e.replace(rc.VARIABLES,(e,n)=>typeof t==`function`?t(n)??e:t[n]??e)})),Jv,Yv,Xv=s((()=>{Jv=e=>({ok:!0,data:e}),Yv=(e,t)=>({ok:!1,error:e,message:t})}));function Zv(e){try{let t=e();return t instanceof Promise?t.then(e=>Jv(e),e=>(console.error(e),Yv(Qv(e)))):Jv(t)}catch(e){return console.error(e),Yv(Qv(e))}}var Qv,$v=s((()=>{Xv(),Qv=e=>e instanceof Error?e.message:String(e)}));function ey(e){try{let{hostname:t}=new URL(e);if(dHe.includes(t))return!0;let n=t.split(`.`).pop();return!!(n&&fHe.includes(n))}catch{return!0}}var dHe,fHe,ty=s((()=>{dHe=[`localhost`,`127.0.0.1`,`[::1]`,`0.0.0.0`],fHe=[`test`,`example`,`invalid`,`localhost`]})),ny,ry,iy=s((()=>{ty(),oc(),ny=(e,t)=>{try{if(!e||!ry(e,t))return t??``;let n=new URL(t);return n.href=ac(e)?`http://localhost${e}`:e,n.searchParams.append(`scalar_url`,t),ac(e)?n.toString().replace(/^http:\/\/localhost/,``):n.toString()}catch{return t??``}},ry=(e,t)=>{try{return!e||!t||ac(t)?!1:ac(e)||ey(e)?!0:!ey(t)}catch{return!1}}})),ay,pHe,oy,sy,cy,ly,mHe,uy,hHe,dy,fy,py,my,hy,gy,gHe,_He,_y,vy,yy,by,vHe,yHe,xy,Sy,Cy,wy,Ty,bHe,Ey,Dy,xHe,Oy,ky,Ay,SHe,jy,My=s((()=>{ay=`3.9.4`,pHe=ay,oy=typeof TextDecoder==`function`?new TextDecoder(`utf-8`,{ignoreBOM:!0}):void 0,sy=typeof TextEncoder==`function`?new TextEncoder:void 0,cy=Array.prototype.slice.call(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`),ly=(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(cy),mHe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,uy=String.fromCharCode.bind(String),hHe=typeof Uint8Array.from==`function`?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),dy=e=>e.replace(/=/g,``).replace(/[+\/]/g,e=>e==`+`?`-`:`_`),fy=e=>e.replace(/[^A-Za-z0-9\+\/]/g,``),py=e=>{let t,n,r,i,a=``,o=e.length%3;for(let o=0;o<e.length;){if((n=e.charCodeAt(o++))>255||(r=e.charCodeAt(o++))>255||(i=e.charCodeAt(o++))>255)throw TypeError(`invalid character found`);t=n<<16|r<<8|i,a+=cy[t>>18&63]+cy[t>>12&63]+cy[t>>6&63]+cy[t&63]}return o?a.slice(0,o-3)+`===`.substring(o):a},my=typeof btoa==`function`?e=>btoa(e):py,hy=typeof Uint8Array.prototype.toBase64==`function`?e=>e.toBase64():e=>{let t=4096,n=[];for(let r=0,i=e.length;r<i;r+=t)n.push(uy.apply(null,e.subarray(r,r+t)));return my(n.join(``))},gy=(e,t=!1)=>t?dy(hy(e)):hy(e),gHe=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?uy(192|t>>>6)+uy(128|t&63):uy(224|t>>>12&15)+uy(128|t>>>6&63)+uy(128|t&63)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return uy(240|t>>>18&7)+uy(128|t>>>12&63)+uy(128|t>>>6&63)+uy(128|t&63)},_He=/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g,_y=e=>e.replace(_He,gHe),vy=sy?e=>hy(sy.encode(e)):e=>my(_y(e)),yy=(e,t=!1)=>t?dy(vy(e)):vy(e),by=e=>yy(e,!0),vHe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,yHe=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return uy((t>>>10)+55296)+uy((t&1023)+56320);case 3:return uy((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return uy((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},xy=e=>e.replace(vHe,yHe),Sy=e=>{if(e=e.replace(/\s+/g,``),!mHe.test(e))throw TypeError(`malformed base64.`);e+=`==`.slice(2-(e.length&3));let t,n,r,i=[];for(let a=0;a<e.length;)t=ly[e.charAt(a++)]<<18|ly[e.charAt(a++)]<<12|(n=ly[e.charAt(a++)])<<6|(r=ly[e.charAt(a++)]),n===64?i.push(uy(t>>16&255)):r===64?i.push(uy(t>>16&255,t>>8&255)):i.push(uy(t>>16&255,t>>8&255,t&255));return i.join(``)},Cy=typeof atob==`function`?e=>atob(fy(e)):Sy,wy=typeof Uint8Array.fromBase64==`function`?e=>Uint8Array.fromBase64(e):e=>hHe(Cy(e).split(``).map(e=>e.charCodeAt(0))),Ty=e=>wy(Ey(e)),bHe=oy?e=>oy.decode(wy(e)):e=>xy(Cy(e)),Ey=e=>fy(e.replace(/[-_]/g,e=>e==`-`?`+`:`/`)),Dy=e=>bHe(Ey(e)),xHe=e=>{if(typeof e!=`string`)return!1;let t=e.replace(/\s+/g,``).replace(/={0,2}$/,``);return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},Oy=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),ky=function(){let e=(e,t)=>Object.defineProperty(String.prototype,e,Oy(t));e(`fromBase64`,function(){return Dy(this)}),e(`toBase64`,function(e){return yy(this,e)}),e(`toBase64URI`,function(){return yy(this,!0)}),e(`toBase64URL`,function(){return yy(this,!0)}),e(`toUint8Array`,function(){return Ty(this)})},Ay=function(){let e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,Oy(t));e(`toBase64`,function(e){return gy(this,e)}),e(`toBase64URI`,function(){return gy(this,!0)}),e(`toBase64URL`,function(){return gy(this,!0)})},SHe=()=>{ky(),Ay()},jy={version:ay,VERSION:pHe,atob:Cy,atobPolyfill:Sy,btoa:my,btoaPolyfill:py,fromBase64:Dy,toBase64:yy,encode:yy,encodeURI:by,encodeURL:by,utob:_y,btou:xy,decode:Dy,isValid:xHe,fromUint8Array:gy,toUint8Array:Ty,extendString:ky,extendUint8Array:Ay,extendBuiltins:SHe}})),CHe=s((()=>{})),Ny,wHe,Py,Fy,THe=s((()=>{yc(),CHe(),Ny=e=>e.replace(/\r\n|\r|\n/g,`\r
+`).replace(/\r/g,`%0D`).replace(/\n/g,`%0A`).replace(/"/g,`%22`),wHe=e=>{let t=e.filter(e=>typeof e==`string`).join(``);for(let e of Array.from({length:10})){let e=crypto.getRandomValues(new Uint8Array(24)),n=`----scalar-${Array.from(e,e=>e.toString(16).padStart(2,`0`)).join(``)}`;if(!t.includes(n))return n}throw Error(`Unable to generate a distinct multipart boundary`)},Py=(e,t=`multipart/form-data`,n=e=>e,r=0)=>{if(r>=8)throw Error(`Maximum multipart nesting exceeded`);if(/[\r\n\0]/.test(t))throw Error(`Invalid multipart content type`);let i=vc(t),a=e.map(e=>{let t=e.type===`multipart`?Py(e.value,e.contentType,n,r+1):{chunks:[e.type===`text`?n(e.value):e.value],contentType:e.contentType},i=e.type===`blob`?`blob`:void 0,a=e.type===`file`?e.value.name:i,o=t.contentType??(e.type===`file`||e.type===`blob`?e.value.type||`application/octet-stream`:void 0);if(o&&/[\r\n\0]/.test(o))throw Error(`Invalid multipart content type`);let s=e.key===void 0?``:`Content-Disposition: form-data; name="${Ny(n(e.key))}"${a===void 0?``:`; filename="${Ny(a)}"`}\r\n`,c=Object.entries(e.headers??{}).map(([e,t])=>{let r=n(t);if(!/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/.test(e)||/[\r\n\0]/.test(r))throw Error(`Invalid multipart header`);return e.toLowerCase()===`content-type`?``:`${e}: ${r}\r\n`}).join(``);return[`${s}${o?`Content-Type: ${o}\r\n`:``}${c}\r\n`,...t.chunks.map(t=>typeof t==`string`&&!e.contentType?t.replace(/\r\n|\r|\n/g,`\r
+`):t),`\r
+`]}),o=wHe(a.flat());return i.parameters.set(`boundary`,o),{chunks:[...a.flatMap(e=>[`--${o}\r\n`,...e]),`--${o}--\r\n`],contentType:i.toString()}},Fy=(e,t=`multipart/form-data`,n)=>{let r=Py(e,t,n);return new Blob(r.chunks,{type:r.contentType})}})),EHe,DHe=s((()=>{EHe=(e,t)=>{if(!e||!t)return!0;try{let n=e.startsWith(`http`)?e:`http://${e}`,r=new URL(n).hostname,i=!t,a=t===r,o=t.startsWith(`.`)&&t===`.${r}`,s=t.startsWith(`.`)&&r?.endsWith(t);return i||a||s||o}catch{return!1}}})),OHe,Iy,kHe=s((()=>{DHe(),OHe=(e,t)=>e===t||t.endsWith(`/`)?e.startsWith(t):e.startsWith(`${t}/`),Iy=({cookie:e,url:t,disabledGlobalCookies:n})=>{if(e.isDisabled||n[e.name.toLowerCase()]===!0||!e.name)return!1;let r=new URL(t,`https://example.com`);return!(e.domain&&!EHe(t,e.domain)||e.path&&!OHe(r.pathname,e.path))}})),AHe,jHe,MHe,NHe,PHe=s((()=>{Uc(),kHe(),AHe="We're using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons.",jHe=`We're trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it's not working, that's probably why. Here are the requirements for it to work:
+
+ - The browser URL must be on the same domain as the server URL.
+ - The connection must be made over HTTPS.
+ `,MHe=(e,t)=>{let n=e.map(e=>`${e.name}=${e.value}`).join(`; `);return t&&n?`${t}; ${n}`:t||n||``},NHe=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{let i=MHe(e.filter(e=>Iy({url:n,cookie:e,disabledGlobalCookies:{}})),t??void 0);return i?r?(console.warn(AHe),{name:Qbe,value:i}):(console.warn(jHe),{name:`Cookie`,value:i}):null}})),FHe,IHe,LHe,Ly,RHe=s((()=>{FHe={21:`!`,24:`$`,27:`'`,28:`(`,29:`)`,"2A":`*`,"2C":`,`,"2F":`/`,"3A":`:`,"3B":`;`,40:`@`},IHe=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>FHe[t.toUpperCase()]??e),LHe=e=>{try{return decodeURIComponent(e.replaceAll(`+`,`%20`))}catch{return e}},Ly=(e,t)=>{if(t.size===0)return e;let n=e.indexOf(`?`);if(n===-1)return e;let r=e.indexOf(`#`,n),i=e.slice(0,n+1),a=r===-1?e.slice(n+1):e.slice(n+1,r),o=r===-1?``:e.slice(r);return a?`${i}${a.split(`&`).map(e=>{if(!e)return e;let n=e.indexOf(`=`),r=n===-1?e:e.slice(0,n),i=LHe(r);if(!t.has(i)||n===-1)return e;let a=e.slice(n+1);return`${r}=${IHe(a)}`}).join(`&`)}${o}`:e}})),Ry,zy,By,zHe=s((()=>{js(),Ry=(e,t=!1)=>t?e.replace(/%[0-9a-f]{2}|[\s\S]/giu,e=>/^%[0-9a-f]{2}$/i.test(e)||/^[!$&'()*+,;=:@]$/.test(e)?e:encodeURIComponent(e)):encodeURIComponent(e),zy=(e,t,n=e=>e)=>{let{value:r,style:i,explode:a}=t,o=e=>Ry(n(String(e)),!0),s=As(r)&&!Array.isArray(r)?Object.entries(r):void 0,c=Array.isArray(r)?r:void 0;if(i===`matrix`){if(s&&a)return s.map(([e,t])=>`;${o(e)}=${o(t)}`).join(``);if(c&&a)return c.map(t=>`;${o(e)}=${o(t)}`).join(``);let t=(s?s.flatMap(([e,t])=>[e,t]):c??[r]).map(o).join(`,`);return`;${o(e)}=${t}`}let l=i===`label`&&a?`.`:`,`,u;return u=s?s.map(([e,t])=>a?`${o(e)}=${o(t)}`:`${o(e)}${l}${o(t)}`).join(l):c?c.map(o).join(l):o(r),i===`label`?`.${u}`:u},By=e=>{if((e.split(/[?#]/,1)[0]??``).split(`/`).some(e=>/^(?:\.|%2e){1,2}$/i.test(e)))throw URIError(`Reserved path parameters cannot form dot segments because browsers normalize them.`)}})),Vy,BHe=s((()=>{Vy=e=>Object.entries(e??{})[0]})),Hy,Uy=s((()=>{su(),d_(),Hy=(e,t,n=!0)=>{let r=t?.[`x-disabled`];if(typeof r==`boolean`)return r;let i=au(t)?.value,a=i!==void 0&&i!==``&&i!==null&&!s_(t);return!n||a?!1:!e.required&&e.in!==`path`}})),VHe,Wy,Gy,Ky=s((()=>{BHe(),p_(),yc(),js(),qv(),iu(),Uv(),Uy(),RHe(),d_(),rv(),VHe=(e,t)=>e?.serializedValue===void 0?e?.dataValue===void 0&&typeof e?.value==`string`?`serialized`:`data`:t===`parameter`?`uri-ready`:`serialized`,Wy=(e,t,{defaultDisabled:n=!0,includeDisabled:r=!1}={})=>{if(e.in!==`querystring`||!(`content`in e)||!e.content)return;let[i,a]=Vy(e.content)??[];if(!i)return;let o=H(a),s=u_({...e,content:void 0},t,void 0),c=s??u_({...o,schema:void 0},t,i);if(!r&&Hy(e,c,n))return;let l=c?.serializedValue??(c?.dataValue===void 0?c?.value:c.dataValue),u=H(o?.schema),d=l;return d===void 0&&(d=u?nv(u):``),{value:d,contentType:i,encoding:o?.encoding,kind:VHe(c,s===void 0?`media`:`parameter`)}},Gy=(e,t={})=>{let n=e=>typeof e==`string`?Kv(e,t):Array.isArray(e)?e.map(n):V(e)?Object.fromEntries(Object.entries(e).map(([e,r])=>[Kv(e,t),n(r)])):e,r=n(e.value);if(e.kind===`uri-ready`)return String(r);let i=vc(e.contentType).essence;if(i===`application/x-www-form-urlencoded`){if(typeof r==`string`)return r;let t=new URLSearchParams,n=new Set;for(let[i,a]of Object.entries(V(r)?r:{})){let r=e.encoding?.[i],o=Hv(i,a,r);if(o){for(let e of o)t.append(e.key,e.value),r?.allowReserved&&n.add(e.key);continue}let s=r?.style!==void 0||r?.explode!==void 0||r?.allowReserved!==void 0;for(let e of Array.isArray(a)?a:[a]){let n=!s&&(f_(r?.contentType)||typeof e==`object`&&!!e);t.append(i,n?JSON.stringify(e):String(e??``))}r?.allowReserved&&n.add(i)}return Ly(`?${t}`,n).slice(1)}let a=e.kind!==`serialized`&&f_(i)?JSON.stringify(r):String(r);return encodeURIComponent(a).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)}})),HHe,qy,UHe,Jy,WHe=s((()=>{qv(),Xv(),$v(),oc(),uc(),zHe(),Ky(),HHe=`MISSING_REQUEST_SERVER_BASE`,qy=`INVALID_REQUEST_FACTORY_URL`,UHe=`No server URL is configured for this request. Add a servers entry to your OpenAPI document (or set a server in the client) before sending.`,Jy=(e,t)=>{let n=t.envVariables,r=Zv(()=>Object.fromEntries(Object.entries(e.path.variables).map(([t,r])=>{let i=e=>Kv(e,n),a=e.path.reservedParameters&&Object.hasOwn(e.path.reservedParameters,t)?e.path.reservedParameters[t]:void 0;return e.path.serializedParameters?.has(t)?[t,i(r)]:[t,a?zy(t,{...a,value:r===a.originalValue?a.value:r},i):Ry(i(r))]})));if(!r.ok)return Yv(qy,`The request URL contains invalid characters in path parameters.`);let i=r.data,a=Kv(e.baseUrl,n),o=Kv(e.path.raw,n),s=Gv(o,i),c=lc(a,s);if(!t.allowMissingRequestServerBase&&ac(c))return Yv(HHe,UHe);let l=globalThis.window?.location?.origin,u=l&&l!==`null`?l:`http://localhost:3000`,d=Zv(()=>(e.path.reservedParameters&&Object.keys(e.path.reservedParameters).length&&By(c),new URL(c,u)));if(!d.ok)return Yv(qy,`The request URL could not be parsed. Check the server URL and path for invalid characters.`);let f=d.data,p=new URLSearchParams;for(let[t,r]of e.query.entries())p.append(Kv(t,n),Kv(r,n));let m=new URLSearchParams;for(let[e,n]of t.securityQueryParams.entries())m.append(e,n);if(f.search=e.querystring?[Gy(e.querystring,n),sc(p,m).toString()].filter(Boolean).join(`&`):sc(f.searchParams,p,m).toString(),e.serializedQuery?.length){let t=e.serializedQuery.map(e=>Kv(e,n)).join(`&`);f.search=[f.search.slice(1),t].filter(Boolean).join(`&`)}return Jv(f.toString())}})),Yy,Xy,Zy,GHe,KHe,qHe,JHe,YHe,XHe,ZHe,QHe,Qy,$y,$He,eUe,tUe,nUe,rUe,iUe,eb,aUe,oUe,sUe,cUe,lUe,uUe,dUe,fUe,pUe,tb,mUe,hUe,gUe,_Ue,vUe,yUe,bUe,xUe,SUe,CUe,wUe,TUe,EUe,DUe,OUe,kUe,AUe,jUe,MUe,NUe,PUe,FUe,IUe,LUe,nb,RUe,zUe,BUe,VUe,HUe,UUe,WUe,GUe,KUe,qUe,JUe,YUe,XUe,ZUe,QUe,$Ue,eWe,tWe,nWe,rWe,iWe,aWe,oWe,sWe,cWe,lWe,uWe,dWe,fWe,pWe,mWe,hWe,gWe,_We,vWe,yWe,bWe,xWe,rb,ib,ab,ob,SWe,CWe=s((()=>{Yy=[`9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d`,`f47ac10b-58cc-4372-a567-0e02b2c3d479`,`1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed`,`6ba7b810-9dad-11d1-80b4-00c04fd430c8`,`a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11`,`3fa85f64-5717-4562-b3fc-2c963f66afa6`,`550e8400-e29b-41d4-a716-446655440000`,`c56a4180-65aa-42ec-a945-5fd21dec0538`,`7c9e6679-7425-40de-944b-e07fc1f90ae7`,`e4eaaaf2-d142-11e1-b3e4-080027620cdd`,`aab5d5fd-70c1-11e5-a4fb-b026b977eb28`,`2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d`,`d9428888-122b-11e1-b85c-61cd3cbed5a2`,`fb1a38e6-4be3-4e38-b8ec-c0c2c2d9e2a7`,`01234567-89ab-cdef-0123-456789abcdef`],Xy=`abcdefghijklmnopqrstuvwxyz0123456789`,Zy=[`#e34f26`,`#3498db`,`#2ecc71`,`#9b59b6`,`#f1c40f`,`#1abc9c`,`#e74c3c`,`#2c3e50`,`#d35400`,`#8e44ad`,`#27ae60`,`#c0392b`,`#16a085`,`#f39c12`,`#7f8c8d`],GHe=[`HTTP`,`SQL`,`TCP`,`JSON`,`XML`,`API`,`SSL`,`CSS`,`HTML`,`RAM`,`FTP`,`SSH`,`DNS`,`URL`,`USB`],KHe=[`192.168.1.42`,`10.0.0.134`,`172.16.254.1`,`203.0.113.50`,`198.51.100.23`,`100.24.56.78`,`54.239.28.85`,`13.107.42.14`,`151.101.1.140`,`216.58.214.206`,`93.184.216.34`,`104.16.249.249`,`172.217.14.206`,`185.199.108.153`,`140.82.121.4`],qHe=[`2001:0db8:85a3:0000:0000:8a2e:0370:7334`,`fe80:0000:0000:0000:0202:b3ff:fe1e:8329`,`2607:f8b0:4004:0800:0000:0000:0000:200e`,`2001:4860:4860:0000:0000:0000:0000:8888`,`2a03:2880:f10c:0083:face:b00c:0000:25de`,`fd12:3456:789a:1000:0000:0000:0000:0001`,`2600:1f18:2489:8200:a953:2c7b:e7e0:d12f`,`2001:0db8:0000:0042:0000:8a2e:0370:7334`,`fe80:0000:0000:0000:4c5a:e8ff:fe7c:3d92`,`2001:0db8:aaaa:bbbb:cccc:dddd:eeee:0001`],JHe=[`00:1A:2B:3C:4D:5E`,`A4:83:E7:2D:6B:9F`,`48:2C:6A:1E:59:3D`,`00:50:56:C0:00:08`,`D4:BE:D9:19:6F:F2`,`3C:22:FB:4A:88:C1`,`08:00:27:5B:8E:A4`,`F0:18:98:43:65:DA`,`5C:CF:7F:2B:1D:E3`,`00:0C:29:3E:71:BC`,`1C:6F:65:A2:8D:49`,`B8:27:EB:63:4F:78`],YHe=[`en`,`es`,`fr`,`de`,`it`,`pt`,`ja`,`zh`,`ko`,`ar`,`ru`,`nl`,`sv`,`pl`,`da`,`fi`,`nb`,`tr`,`hi`,`th`],XHe=[`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36`,`Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15`,`Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0`,`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0`,`Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1`,`Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.43 Mobile Safari/537.36`,`Mozilla/5.0 (iPad; CPU OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1`,`Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0`,`Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36`,`Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0`],ZHe=[`http`,`https`],QHe=[`1.0.0`,`2.3.1`,`0.9.4`,`3.12.0`,`1.5.7`,`4.0.0-beta.1`,`0.1.0`,`2.0.3`,`1.2.0`,`5.4.2`,`3.1.0`,`0.8.12`,`2.7.5`,`1.14.0`,`6.0.0`],Qy=[`Emma`,`Liam`,`Olivia`,`Noah`,`Ava`,`James`,`Sophia`,`Oliver`,`Isabella`,`Lucas`,`Mia`,`Ethan`,`Charlotte`,`Mason`,`Amelia`],$y=[`Smith`,`Johnson`,`Williams`,`Brown`,`Jones`,`Garcia`,`Miller`,`Davis`,`Rodriguez`,`Martinez`,`Hernandez`,`Lopez`,`Gonzalez`,`Wilson`,`Anderson`],$He=[`Mr.`,`Mrs.`,`Ms.`,`Dr.`,`Prof.`,`Rev.`,`Sir`,`Mx.`],eUe=[`Jr.`,`Sr.`,`II`,`III`,`IV`,`PhD`,`MD`,`DDS`,`Esq.`],tUe=[`Marketing`,`Engineering`,`Finance`,`Operations`,`Human Resources`,`Sales`,`Research`,`Design`,`Legal`,`Product`,`Data`,`Support`,`Quality`,`Security`,`Communications`],nUe=[`Senior`,`Lead`,`Junior`,`Principal`,`Chief`,`Associate`,`Global`,`Regional`,`Internal`,`Dynamic`,`Staff`,`Executive`,`National`,`Strategic`,`Corporate`],rUe=[`Software Engineer`,`Product Manager`,`Data Analyst`,`UX Designer`,`DevOps Engineer`,`Marketing Director`,`Sales Representative`,`Financial Analyst`,`Project Manager`,`QA Engineer`,`Technical Writer`,`System Administrator`,`Business Analyst`,`Account Executive`,`Operations Manager`],iUe=[`Full-time`,`Part-time`,`Contract`,`Freelance`,`Internship`,`Temporary`,`Remote`,`Hybrid`,`Consultant`,`Seasonal`],eb=[`(555) 123-4567`,`(555) 987-6543`,`(555) 246-8135`,`(555) 369-2580`,`(555) 741-8520`,`(555) 852-9631`,`(555) 147-2583`,`(555) 963-8520`,`(555) 321-6540`,`(555) 654-9870`,`(555) 789-0123`,`(555) 234-5678`,`(555) 876-5432`,`(555) 468-1357`,`(555) 531-2468`],aUe=[`New York`,`London`,`Tokyo`,`Paris`,`Sydney`,`Toronto`,`Berlin`,`Singapore`,`Mumbai`,`São Paulo`,`Amsterdam`,`Seoul`,`Dublin`,`Barcelona`,`Melbourne`],oUe=[`Main Street`,`Oak Avenue`,`Park Boulevard`,`Cedar Lane`,`Elm Drive`,`Maple Court`,`Pine Road`,`Walnut Street`,`Birch Avenue`,`Cherry Lane`,`Willow Way`,`Spruce Circle`,`Aspen Drive`,`Hickory Place`,`Chestnut Road`],sUe=[`123 Main Street`,`456 Oak Avenue`,`789 Park Boulevard`,`321 Cedar Lane`,`654 Elm Drive`,`987 Maple Court`,`147 Pine Road`,`258 Walnut Street`,`369 Birch Avenue`,`741 Cherry Lane`,`852 Willow Way`,`963 Spruce Circle`,`159 Aspen Drive`,`357 Hickory Place`,`486 Chestnut Road`],cUe=[`United States`,`United Kingdom`,`Canada`,`Australia`,`Germany`,`France`,`Japan`,`Brazil`,`India`,`Netherlands`,`South Korea`,`Singapore`,`Ireland`,`Spain`,`Sweden`],lUe=[`US`,`GB`,`CA`,`AU`,`DE`,`FR`,`JP`,`BR`,`IN`,`NL`,`KR`,`SG`,`IE`,`ES`,`SE`,`IT`,`NO`,`DK`,`FI`,`CH`],uUe=[`40.7128`,`-33.8688`,`51.5074`,`35.6762`,`48.8566`,`-23.5505`,`19.4326`,`55.7558`,`1.3521`,`37.7749`,`52.3676`,`34.0522`,`41.9028`,`39.9042`,`25.2048`],dUe=[`-74.0060`,`151.2093`,`-0.1278`,`139.6503`,`2.3522`,`-46.6333`,`-99.1332`,`37.6173`,`103.8198`,`-122.4194`,`4.9041`,`-118.2437`,`12.4964`,`116.4074`,`55.2708`],fUe=[`https://avatars.githubusercontent.com/u/12345678`,`https://avatars.githubusercontent.com/u/23456789`,`https://avatars.githubusercontent.com/u/34567890`,`https://avatars.githubusercontent.com/u/45678901`,`https://avatars.githubusercontent.com/u/56789012`,`https://avatars.githubusercontent.com/u/67890123`,`https://avatars.githubusercontent.com/u/78901234`,`https://avatars.githubusercontent.com/u/89012345`,`https://avatars.githubusercontent.com/u/90123456`,`https://avatars.githubusercontent.com/u/10234567`],pUe=[`https://picsum.photos/seed/scalar1/640/480`,`https://picsum.photos/seed/scalar2/640/480`,`https://picsum.photos/seed/scalar3/640/480`,`https://picsum.photos/seed/scalar4/640/480`,`https://picsum.photos/seed/scalar5/640/480`,`https://picsum.photos/seed/scalar6/640/480`,`https://picsum.photos/seed/scalar7/640/480`,`https://picsum.photos/seed/scalar8/640/480`,`https://picsum.photos/seed/scalar9/640/480`,`https://picsum.photos/seed/scalar10/640/480`],tb=`https://loremflickr.com/640/480`,mUe=Array.from({length:10},(e,t)=>`${tb}/abstract?lock=${t+1}`),hUe=Array.from({length:10},(e,t)=>`${tb}/animals?lock=${t+1}`),gUe=Array.from({length:10},(e,t)=>`${tb}/business?lock=${t+1}`),_Ue=Array.from({length:10},(e,t)=>`${tb}/cat?lock=${t+1}`),vUe=Array.from({length:10},(e,t)=>`${tb}/city?lock=${t+1}`),yUe=Array.from({length:10},(e,t)=>`${tb}/food?lock=${t+1}`),bUe=Array.from({length:10},(e,t)=>`${tb}/nightlife?lock=${t+1}`),xUe=Array.from({length:10},(e,t)=>`${tb}/fashion?lock=${t+1}`),SUe=Array.from({length:10},(e,t)=>`${tb}/people?lock=${t+1}`),CUe=Array.from({length:10},(e,t)=>`${tb}/nature?lock=${t+1}`),wUe=Array.from({length:10},(e,t)=>`${tb}/sports?lock=${t+1}`),TUe=Array.from({length:10},(e,t)=>`${tb}/transport?lock=${t+1}`),EUe=[`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%233498db%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23e74c3c%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%232ecc71%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%239b59b6%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23f1c40f%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`],DUe=[`34042448`,`34102758`,`02997566`,`52631809`,`75412296`,`37762776`,`44117882`,`13865687`,`44377086`,`74440091`],OUe=[`Personal Checking`,`Savings Account`,`Money Market`,`Home Loan`,`Auto Loan`,`Investment Account`,`Business Checking`,`Credit Card`,`Retirement Fund`,`College Savings`],kUe=[`DEUTDEFF`,`BNPAFRPP`,`CHASUS33`,`HSBCGB2L`,`COBADEFF`,`SCBLSGSG`,`ANZBAU3M`,`CITIUS33`,`BOFAUS3N`,`NWBKGB2L`],AUe=[`GB29NWBK60161331926819`,`DE89370400440532013000`,`FR7630006000011234567890189`,`ES9121000418450200051332`,`IT60X0542811101000000123456`,`NL91ABNA0417164300`,`CH9300762011623852957`,`BE68539007547034`,`AT611904300234573201`,`FI2112345600000785`],jUe=[`deposit`,`withdrawal`,`payment`,`invoice`,`transfer`],MUe=[`USD`,`EUR`,`GBP`,`JPY`,`AUD`,`CAD`,`CHF`,`CNY`,`INR`,`BRL`,`SEK`,`NOK`,`DKK`,`SGD`,`HKD`],NUe=[`US Dollar`,`Euro`,`British Pound`,`Japanese Yen`,`Australian Dollar`,`Canadian Dollar`,`Swiss Franc`,`Chinese Yuan`,`Indian Rupee`,`Brazilian Real`,`Swedish Krona`,`Norwegian Krone`,`Danish Krone`,`Singapore Dollar`,`Hong Kong Dollar`],PUe=[`$`,`€`,`£`,`¥`,`A$`,`C$`,`CHF`,`¥`,`₹`,`R$`],FUe=[`1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa`,`3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy`,`bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4`,`1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2`,`3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS`,`1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF`,`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,`3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5`,`1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ`,`bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux`],IUe=[`Acme Corp`,`Globex`,`Initech`,`Umbrella Industries`,`Stark Enterprises`,`Wayne Corp`,`Cyberdyne Systems`,`Tyrell Corp`,`Soylent Corp`,`Aperture Science`,`Massive Dynamic`,`Oscorp`,`Abstergo`,`Weyland-Yutani`,`Hooli`],LUe=[`Inc`,`LLC`,`Group`,`Ltd`,`PLC`,`Corp`],nb=[`leverage agile frameworks`,`iterate revolutionary convergence`,`drive seamless solutions`,`enable viral e-services`,`synergize scalable supply-chains`,`harness real-time channels`,`orchestrate integrated experiences`,`deliver frictionless partnerships`,`transform dynamic mindshare`,`cultivate open-source communities`],RUe=[`innovative`,`scalable`,`seamless`,`cutting-edge`,`robust`,`synergistic`,`dynamic`,`holistic`,`strategic`,`disruptive`,`frictionless`,`proactive`,`world-class`,`collaborative`,`granular`],zUe=[`leverage`,`iterate`,`synergize`,`monetize`,`orchestrate`,`disintermediate`,`harness`,`incentivize`,`optimize`,`streamline`,`revolutionize`,`cultivate`,`empower`,`facilitate`,`aggregate`],BUe=[`frameworks`,`paradigms`,`synergies`,`platforms`,`infrastructures`,`bandwidth`,`channels`,`communities`,`convergence`,`deliverables`,`e-markets`,`experiences`,`initiatives`,`interfaces`,`methodologies`],VUe=[`Adaptive zero defect data-warehouse`,`Automated scalable protocol`,`Business-focused zero defect hub`,`Cloned responsive flexibility`,`Cross-group background collaboration`,`De-engineered stable conglomeration`,`Distributed actuating throughput`,`Enhanced client-server capability`,`Face to face explicit superstructure`,`Front-line multimedia interface`],HUe=[`Adaptive`,`Advanced`,`Automated`,`Balanced`,`Business-focused`,`Centralized`,`Cloned`,`Configurable`,`Cross-group`,`Customizable`,`De-engineered`,`Decentralized`,`Digitized`,`Distributed`,`Enhanced`],UUe=[`24 hour`,`actuating`,`analyzing`,`asymmetric`,`asynchronous`,`background`,`bandwidth-monitored`,`bi-directional`,`bifurcated`,`bottom-line`,`clear-thinking`,`client-driven`,`client-server`,`coherent`,`cohesive`],WUe=[`ability`,`access`,`algorithm`,`alliance`,`analyzer`,`application`,`approach`,`architecture`,`array`,`attitude`,`benchmark`,`budgetary management`,`capability`,`capacity`,`challenge`],GUe=[`id`,`name`,`email`,`status`,`created_at`,`updated_at`,`description`,`amount`,`category`,`token`,`avatar`,`phone`,`address`,`comment`,`title`],KUe=[`int`,`varchar`,`text`,`boolean`,`date`,`timestamp`,`float`,`bigint`,`json`,`uuid`,`decimal`,`enum`,`blob`,`char`,`smallint`],qUe=[`utf8_general_ci`,`utf8mb4_unicode_ci`,`ascii_general_ci`,`latin1_swedish_ci`,`utf8_unicode_ci`,`utf8mb4_general_ci`,`utf8_bin`,`latin1_general_ci`,`utf8mb4_bin`,`ascii_bin`],JUe=[`InnoDB`,`MyISAM`,`MEMORY`,`CSV`,`ARCHIVE`,`FEDERATED`,`NDB`,`MERGE`,`BLACKHOLE`,`EXAMPLE`],YUe=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],XUe=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],ZUe=[`example.com`,`test-site.org`,`my-app.io`,`dev-portal.net`,`api-hub.com`,`code-base.dev`,`data-flow.co`,`web-pulse.io`,`cloud-nest.org`,`tech-wave.net`,`open-source.dev`,`byte-craft.io`,`pixel-lab.co`,`node-spark.com`,`vue-forge.dev`],QUe=[`com`,`org`,`net`,`io`,`dev`,`co`,`info`,`app`,`me`,`xyz`],$Ue=[`example`,`test-site`,`my-app`,`dev-portal`,`api-hub`,`code-base`,`data-flow`,`web-pulse`,`cloud-nest`,`tech-wave`,`open-source`,`byte-craft`,`pixel-lab`,`node-spark`,`vue-forge`],eWe=[`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`],tWe=[`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`,`[email protected]`],nWe=[`emma_dev42`,`liam.codes`,`olivia_tech`,`noah_builds`,`ava.hacks`,`james_ops`,`sophia_data`,`oliver.api`,`isa_design`,`lucas_vue`,`mia_cloud`,`ethan.stack`,`char_pixel`,`mason_byte`,`amelia_net`],rWe=[`https://example.com`,`https://test-site.org`,`https://my-app.io`,`https://dev-portal.net`,`https://api-hub.com`,`https://code-base.dev`,`https://data-flow.co`,`https://web-pulse.io`,`https://cloud-nest.org`,`https://tech-wave.net`,`https://open-source.dev`,`https://byte-craft.io`],iWe=[`report.pdf`,`data.csv`,`image.png`,`backup.tar.gz`,`readme.md`,`config.yml`,`schema.json`,`styles.css`,`app.tsx`,`index.html`,`notes.txt`,`archive.zip`,`log.xml`,`script.sh`,`database.sql`],aWe=[`application`,`text`,`image`,`audio`,`video`,`font`,`model`,`multipart`,`message`,`chemical`],oWe=[`pdf`,`csv`,`png`,`json`,`md`,`yml`,`html`,`txt`,`xml`,`sql`,`tar`,`gz`,`wasm`,`webp`],sWe=[`report.pdf`,`photo.jpg`,`document.docx`,`spreadsheet.xlsx`,`presentation.pptx`,`image.png`,`video.mp4`,`audio.mp3`,`archive.zip`,`readme.txt`],cWe=[`text`,`application`,`image`,`audio`,`video`],lWe=[`pdf`,`jpg`,`png`,`gif`,`mp3`,`mp4`,`doc`,`xls`,`ppt`,`txt`,`zip`,`html`,`css`,`js`,`json`],uWe=[`/home/user/documents/report.pdf`,`/var/log/app/server.log`,`/tmp/upload/image.png`,`/opt/data/backup.tar.gz`,`/home/user/projects/app/src/index.ts`,`/etc/config/settings.yml`,`/usr/local/bin/script.sh`,`/home/user/downloads/archive.zip`,`/var/www/html/index.html`,`/home/user/.config/app.json`],dWe=[`/home/user/documents`,`/var/log/app`,`/tmp/uploads`,`/opt/data`,`/home/user/projects/app/src`,`/etc/config`,`/usr/local/bin`,`/home/user/downloads`,`/var/www/html`,`/home/user/.config`],fWe=[`application/json`,`text/html`,`image/png`,`application/pdf`,`text/plain`,`image/jpeg`,`application/xml`,`text/css`,`application/javascript`,`image/svg+xml`,`application/zip`,`audio/mpeg`,`video/mp4`,`font/woff2`,`application/octet-stream`],pWe=[`Chair`,`Computer`,`Keyboard`,`Mouse`,`Table`,`Phone`,`Shoes`,`Shirt`,`Pants`,`Hat`,`Bike`,`Towels`,`Gloves`,`Soap`,`Tuna`],mWe=[`Refined`,`Elegant`,`Rustic`,`Gorgeous`,`Practical`,`Fantastic`,`Handcrafted`,`Incredible`,`Licensed`,`Sleek`,`Intelligent`,`Recycled`,`Modern`,`Bespoke`,`Ergonomic`],hWe=[`Cotton`,`Steel`,`Wooden`,`Concrete`,`Rubber`,`Granite`,`Plastic`,`Frozen`,`Soft`,`Metal`,`Bronze`,`Silk`,`Leather`,`Ceramic`,`Bamboo`],gWe=[`Refined Cotton Chair`,`Sleek Steel Computer`,`Elegant Wooden Table`,`Practical Rubber Keyboard`,`Gorgeous Granite Mouse`,`Rustic Metal Bike`,`Handcrafted Silk Shirt`,`Incredible Bamboo Towels`,`Modern Leather Shoes`,`Ergonomic Plastic Phone`,`Fantastic Ceramic Soap`,`Licensed Bronze Hat`,`Intelligent Soft Gloves`,`Bespoke Cotton Pants`,`Recycled Steel Tuna`],_We=[`Electronics`,`Clothing`,`Books`,`Home`,`Garden`,`Sports`,`Toys`,`Automotive`,`Grocery`,`Health`,`Beauty`,`Music`,`Movies`,`Games`,`Outdoors`],vWe=[`server`,`database`,`network`,`protocol`,`system`,`algorithm`,`interface`,`module`,`component`,`function`,`framework`,`library`,`instance`,`variable`,`endpoint`],yWe=[`run`,`build`,`deploy`,`parse`,`fetch`,`render`,`compile`,`stream`,`cache`,`merge`,`sync`,`push`,`pull`,`test`,`debug`],bWe=[`running`,`building`,`deploying`,`parsing`,`fetching`,`rendering`,`compiling`,`streaming`,`caching`,`merging`,`syncing`,`pushing`,`pulling`,`testing`,`debugging`],xWe=[`fast`,`secure`,`scalable`,`robust`,`dynamic`,`modular`,`stable`,`lightweight`,`portable`,`resilient`,`efficient`,`responsive`,`concurrent`,`stateless`,`distributed`],rb=[`pixel`,`quantum`,`cipher`,`matrix`,`vector`,`nexus`,`pulse`,`flux`,`forge`,`prism`,`vortex`,`helix`,`orbit`,`spark`,`nebula`],ib=[`lorem`,`ipsum`,`dolor`,`sit`,`amet`,`consectetur`,`adipiscing`,`elit`,`sed`,`do`,`eiusmod`,`tempor`,`incididunt`,`ut`,`labore`,`et`,`dolore`,`magna`,`aliqua`,`enim`],ab=[`Lorem ipsum dolor sit amet, consectetur adipiscing elit.`,`Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.`,`Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.`,`Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.`,`Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.`,`Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.`,`Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.`,`Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit.`,`Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse.`,`At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis.`],ob=[`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.`,`Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.`,`Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.`,`Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.`,`Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.`],SWe=[`lorem-ipsum-dolor`,`sed-tempor-incididunt`,`amet-consectetur-adipiscing`,`eiusmod-labore-dolore`,`veniam-nostrud-exercitation`,`voluptate-velit-cillum`,`occaecat-cupidatat-proident`,`perspiciatis-omnis-natus`,`aspernatur-odit-fugit`,`dolorem-ipsum-amet`]})),sb,cb,wWe,TWe,EWe,DWe,OWe,lb,ub,kWe,db,fb,AWe,pb,mb,jWe=s((()=>{CWe(),sb=e=>e[Math.floor(Math.random()*e.length)],cb=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,wWe=e=>Array.from({length:e},()=>Math.floor(Math.random()*10)).join(``),TWe=e=>Array.from({length:e},()=>Xy[Math.floor(Math.random()*Xy.length)]).join(``),EWe=()=>{let e=Date.now()+cb(1,365)*864e5;return new Date(e).toISOString()},DWe=()=>{let e=Date.now()-cb(1,365)*864e5;return new Date(e).toISOString()},OWe=()=>{let e=Date.now()-cb(1,3)*864e5;return new Date(e).toISOString()},lb=(e,t,n)=>{let r=cb(t,n);return Array.from({length:r},()=>sb(e)).join(` `)},ub=(e,t,n)=>{let r=cb(t,n);return Array.from({length:r},()=>sb(e)).join(` `)},kWe=(e,t,n)=>{let r=cb(t,n);return Array.from({length:r},()=>sb(e)).join(`
+`)},db={$guid:{fn:()=>sb(Yy),comment:`A uuid-v4 style guid`},$timestamp:{fn:()=>Math.floor(Date.now()/1e3).toString(),comment:`The current UNIX timestamp in seconds`},$isoTimestamp:{fn:()=>new Date().toISOString(),comment:`The current ISO timestamp at zero UTC`},$randomUUID:{fn:()=>sb(Yy),comment:`A random 36-character UUID`},$randomAlphaNumeric:{fn:()=>`abcdefghijklmnopqrstuvwxyz0123456789`[Math.floor(Math.random()*36)]??`a`,comment:`A random alpha-numeric character`},$randomBoolean:{fn:()=>Math.random()<.5?`true`:`false`,comment:`A random boolean value`},$randomInt:{fn:()=>cb(0,1e3).toString(),comment:`A random integer between 0 and 1000`},$randomColor:{fn:()=>sb(Zy),comment:`A random color in hex format`},$randomHexColor:{fn:()=>sb(Zy),comment:`A random hex value`},$randomAbbreviation:{fn:()=>sb(GHe),comment:`A random abbreviation`},$randomIP:{fn:()=>sb(KHe),comment:`A random IPv4 address`},$randomIPV6:{fn:()=>sb(qHe),comment:`A random IPv6 address`},$randomMACAddress:{fn:()=>sb(JHe),comment:`A random MAC address`},$randomPassword:{fn:()=>TWe(15),comment:`A random 15-character alpha-numeric password`},$randomLocale:{fn:()=>sb(YHe),comment:`A random two-letter language code (ISO 639-1)`},$randomUserAgent:{fn:()=>sb(XHe),comment:`A random user agent`},$randomProtocol:{fn:()=>sb(ZHe),comment:`A random internet protocol`},$randomSemver:{fn:()=>sb(QHe),comment:`A random semantic version number`},$randomFirstName:{fn:()=>sb(Qy),comment:`A random first name`},$randomLastName:{fn:()=>sb($y),comment:`A random last name`},$randomFullName:{fn:()=>`${sb(Qy)} ${sb($y)}`,comment:`A random first and last name`},$randomNamePrefix:{fn:()=>sb($He),comment:`A random name prefix`},$randomNameSuffix:{fn:()=>sb(eUe),comment:`A random name suffix`},$randomJobArea:{fn:()=>sb(tUe),comment:`A random job area`},$randomJobDescriptor:{fn:()=>sb(nUe),comment:`A random job descriptor`},$randomJobTitle:{fn:()=>sb(rUe),comment:`A random job title`},$randomJobType:{fn:()=>sb(iUe),comment:`A random job type`},$randomPhoneNumber:{fn:()=>sb(eb),comment:`A random ten-digit phone number`},$randomPhoneNumberExt:{fn:()=>`${cb(10,99)}-${sb(eb)}`,comment:`A random phone number prefixed with a two-digit extension (10–99)`},$randomCity:{fn:()=>sb(aUe),comment:`A random city name`},$randomStreetName:{fn:()=>sb(oUe),comment:`A random street name`},$randomStreetAddress:{fn:()=>sb(sUe),comment:`A random street address`},$randomCountry:{fn:()=>sb(cUe),comment:`A random country`},$randomCountryCode:{fn:()=>sb(lUe),comment:`A random two-letter country code (ISO 3166-1 alpha-2)`},$randomLatitude:{fn:()=>sb(uUe),comment:`A random latitude coordinate`},$randomLongitude:{fn:()=>sb(dUe),comment:`A random longitude coordinate`},$randomAvatarImage:{fn:()=>sb(fUe),comment:`A random avatar image`},$randomImageUrl:{fn:()=>sb(pUe),comment:`A URL of a random image`},$randomAbstractImage:{fn:()=>sb(mUe),comment:`A URL of a random abstract image`},$randomAnimalsImage:{fn:()=>sb(hUe),comment:`A URL of a random animal image`},$randomBusinessImage:{fn:()=>sb(gUe),comment:`A URL of a random stock business image`},$randomCatsImage:{fn:()=>sb(_Ue),comment:`A URL of a random cat image`},$randomCityImage:{fn:()=>sb(vUe),comment:`A URL of a random city image`},$randomFoodImage:{fn:()=>sb(yUe),comment:`A URL of a random food image`},$randomNightlifeImage:{fn:()=>sb(bUe),comment:`A URL of a random nightlife image`},$randomFashionImage:{fn:()=>sb(xUe),comment:`A URL of a random fashion image`},$randomPeopleImage:{fn:()=>sb(SUe),comment:`A URL of a random image of a person`},$randomNatureImage:{fn:()=>sb(CUe),comment:`A URL of a random nature image`},$randomSportsImage:{fn:()=>sb(wUe),comment:`A URL of a random sports image`},$randomTransportImage:{fn:()=>sb(TUe),comment:`A URL of a random transportation image`},$randomImageDataUri:{fn:()=>sb(EUe),comment:`A random image data URI`},$randomBankAccount:{fn:()=>sb(DUe),comment:`A random 8-digit bank account number`},$randomBankAccountName:{fn:()=>sb(OUe),comment:`A random bank account name`},$randomCreditCardMask:{fn:()=>`**** **** **** ${wWe(4)}`,comment:`A random masked credit card number`},$randomBankAccountBic:{fn:()=>sb(kUe),comment:`A random BIC (Bank Identifier Code)`},$randomBankAccountIban:{fn:()=>sb(AUe),comment:`A random 15-31 character IBAN (International Bank Account Number)`},$randomTransactionType:{fn:()=>sb(jUe),comment:`A random transaction type`},$randomCurrencyCode:{fn:()=>sb(MUe),comment:`A random 3-letter currency code (ISO-4217)`},$randomCurrencyName:{fn:()=>sb(NUe),comment:`A random currency name`},$randomCurrencySymbol:{fn:()=>sb(PUe),comment:`A random currency symbol`},$randomBitcoin:{fn:()=>sb(FUe),comment:`A random bitcoin address`},$randomCompanyName:{fn:()=>sb(IUe),comment:`A random company name`},$randomCompanySuffix:{fn:()=>sb(LUe),comment:`A random company suffix`},$randomBs:{fn:()=>sb(nb),comment:`A random phrase of business-speak`},$randomBsAdjective:{fn:()=>sb(RUe),comment:`A random business-speak adjective`},$randomBsBuzz:{fn:()=>sb(zUe),comment:`A random business-speak buzzword`},$randomBsNoun:{fn:()=>sb(BUe),comment:`A random business-speak noun`},$randomCatchPhrase:{fn:()=>sb(VUe),comment:`A random catchphrase`},$randomCatchPhraseAdjective:{fn:()=>sb(HUe),comment:`A random catchphrase adjective`},$randomCatchPhraseDescriptor:{fn:()=>sb(UUe),comment:`A random catchphrase descriptor`},$randomCatchPhraseNoun:{fn:()=>sb(WUe),comment:`Randomly generates a catchphrase noun`},$randomDatabaseColumn:{fn:()=>sb(GUe),comment:`A random database column name`},$randomDatabaseType:{fn:()=>sb(KUe),comment:`A random database type`},$randomDatabaseCollation:{fn:()=>sb(qUe),comment:`A random database collation`},$randomDatabaseEngine:{fn:()=>sb(JUe),comment:`A random database engine`},$randomDateFuture:{fn:EWe,comment:`A random future datetime`},$randomDatePast:{fn:DWe,comment:`A random past datetime`},$randomDateRecent:{fn:OWe,comment:`A random recent datetime`},$randomWeekday:{fn:()=>sb(YUe),comment:`A random weekday`},$randomMonth:{fn:()=>sb(XUe),comment:`A random month`},$randomDomainName:{fn:()=>sb(ZUe),comment:`A random domain name`},$randomDomainSuffix:{fn:()=>sb(QUe),comment:`A random domain suffix`},$randomDomainWord:{fn:()=>sb($Ue),comment:`A random unqualified domain name`},$randomEmail:{fn:()=>sb(eWe),comment:`A random email address`},$randomExampleEmail:{fn:()=>sb(tWe),comment:`A random email address from an example domain`},$randomUserName:{fn:()=>sb(nWe),comment:`A random username`},$randomUrl:{fn:()=>sb(rWe),comment:`A random URL`},$randomFileName:{fn:()=>sb(iWe),comment:`A random file name (includes uncommon extensions)`},$randomFileType:{fn:()=>sb(aWe),comment:`A random file type (includes uncommon file types)`},$randomFileExt:{fn:()=>sb(oWe),comment:`A random file extension (includes uncommon extensions)`},$randomCommonFileName:{fn:()=>sb(sWe),comment:`A random file name`},$randomCommonFileType:{fn:()=>sb(cWe),comment:`A random, common file type`},$randomCommonFileExt:{fn:()=>sb(lWe),comment:`A random, common file extension`},$randomFilePath:{fn:()=>sb(uWe),comment:`A random file path`},$randomDirectoryPath:{fn:()=>sb(dWe),comment:`A random directory path`},$randomMimeType:{fn:()=>sb(fWe),comment:`A random MIME type`},$randomPrice:{fn:()=>(Math.random()*1e3).toFixed(2),comment:`A random price between 0.00 and 1000.00`},$randomProduct:{fn:()=>sb(pWe),comment:`A random product`},$randomProductAdjective:{fn:()=>sb(mWe),comment:`A random product adjective`},$randomProductMaterial:{fn:()=>sb(hWe),comment:`A random product material`},$randomProductName:{fn:()=>sb(gWe),comment:`A random product name`},$randomDepartment:{fn:()=>sb(_We),comment:`A random commerce department`},$randomNoun:{fn:()=>sb(vWe),comment:`A random noun`},$randomVerb:{fn:()=>sb(yWe),comment:`A random verb`},$randomIngverb:{fn:()=>sb(bWe),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>sb(xWe),comment:`A random adjective`},$randomWord:{fn:()=>sb(rb),comment:`A random word`},$randomWords:{fn:()=>lb(rb,2,5),comment:`Some random words`},$randomPhrase:{fn:()=>sb(nb),comment:`A random phrase`},$randomLoremWord:{fn:()=>sb(ib),comment:`A random word of lorem ipsum text`},$randomLoremWords:{fn:()=>lb(ib,3,3),comment:`Some random words of lorem ipsum text`},$randomLoremSentence:{fn:()=>sb(ab),comment:`A random sentence of lorem ipsum text`},$randomLoremSentences:{fn:()=>ub(ab,2,6),comment:`A random 2 to 6 sentences of lorem ipsum text`},$randomLoremParagraph:{fn:()=>sb(ob),comment:`A random paragraph of lorem ipsum text`},$randomLoremParagraphs:{fn:()=>ub(ob,3,3),comment:`3 random paragraphs of lorem ipsum text`},$randomLoremText:{fn:()=>ub(ob,1,3),comment:`A random amount of lorem ipsum text`},$randomLoremSlug:{fn:()=>sb(SWe),comment:`A random lorem ipsum URL slug`},$randomLoremLines:{fn:()=>kWe(ab,1,5),comment:`1 to 5 random lines of lorem ipsum`}},fb=e=>db[e].comment,AWe=[`$guid`,`$timestamp`,`$isoTimestamp`,`$randomUUID`,`$randomEmail`,`$randomInt`,`$randomFirstName`,`$randomLastName`],pb=Object.keys(db),mb=e=>Object.hasOwn(db,e)})),MWe,hb,gb,NWe,_b,vb,PWe,FWe=s((()=>{nc(),Uc(),qv(),Xv(),$v(),iy(),My(),THe(),PHe(),RHe(),WHe(),jWe(),MWe=[{header:`date`,scalarHeader:txe},{header:`dnt`,scalarHeader:nxe},{header:`referer`,scalarHeader:rxe},{header:`user-agent`,scalarHeader:exe}],hb=(e,t)=>{let n=Kv(e.value,t);return e.format===`basic`?`Basic ${yy(n)}`:e.format===`bearer`?`Bearer ${n.trim()}`:n},gb=e=>t=>mb(t)?db[t].fn()??null:e[t]??null,NWe=(e,t,n)=>{let r=gb(t),i=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(e=>{if(e.in!==`query`)return;let t=Kv(e.name,r);i.append(t,hb(e,r))});let a=Jy(e,{envVariables:r,securityQueryParams:i,allowMissingRequestServerBase:n?.allowMissingRequestServerBase??!0});if(!a.ok)throw Error(a.message??a.error);return Ly(a.data,e.allowedReservedQueryParameters??new Set)},_b=`BUILD_REQUEST_FAILED`,vb=(e,t)=>{if(e.cookieErrors?.length)return Yv(_b,e.cookieErrors[0]);let n=Zv(()=>PWe(e,t));return n.ok?n.data:Yv(_b,n.error)},PWe=(e,t)=>{let n=gb(t.envVariables),r=new AbortController,i=(()=>{let t=new Headers;return e.headers.forEach((e,r)=>{t.set(Kv(r,n),Kv(e,n))}),t})(),a=(()=>{if(e.body?.mode===`multipart`){let t=Fy(e.body.value,e.body.contentType,e=>Kv(e,n));return i.set(`content-type`,t.type),t}if(e.body?.mode===`raw`)return typeof e.body.value==`string`?Kv(e.body.value,n):e.body.value;if(e.body?.mode===`formdata`){let t=e.body.value.map(e=>({...e,key:Kv(e.key,n)})).map(e=>e.type===`text`?{...e,value:Kv(e.value,n)}:e);if(e.body.value.some(e=>e.type===`text`&&e.contentType)){let e=Fy(t);return i.set(`content-type`,e.type),e}let r=new FormData;return t.forEach(e=>r.append(e.key,e.value)),r}return e.body?.mode===`urlencoded`?new URLSearchParams(e.body.value.map(e=>[Kv(e.key,n),Kv(e.value,n)])):null})(),o=new URLSearchParams,s=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=Kv(e.name,n),r=hb(e,n);e.in===`header`?i.append(t,r):e.in===`query`?o.append(t,r):e.in===`cookie`&&s.push({name:t,value:r,isDisabled:!1})});let c=Jy(e,{envVariables:n,securityQueryParams:o,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!c.ok)return Yv(c.error,c.message);let l=c.data,u=ry(e.proxyUrl,l),d=[...e.cookies,...s].map(e=>({...e,name:Kv(e.name,n),value:Kv(e.value,n)})),f=NHe({cookies:d,originalCookieHeader:i.get(`cookie`),url:l,useCustomCookieHeader:(u||e.options?.isElectron)??!1});f&&i.set(f.name,f.value),(u||e.options?.isElectron)&&MWe.forEach(({header:e,scalarHeader:t})=>{let n=i.get(e);n&&(i.set(t,n),i.delete(e))});let p=Ly(l,e.allowedReservedQueryParameters??new Set),m=u?ny(e.proxyUrl,p):p;return Jv({requestPayload:[m,{method:tc(e.method)?e.method.toUpperCase():e.method,headers:i,body:a,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})}})),yb,IWe,LWe,bb,xb,RWe=s((()=>{js(),iu(),yb=(e,t)=>`content`in t?IWe(e,Object.keys(t.content??{})[0]??``):`schema`in t?xb(e,t.schema):e,IWe=(e,t)=>{if(typeof e==`string`&&t.includes(`json`))try{return JSON.parse(e)}catch{return e}return e},LWe=new Set([`array`,`object`]),bb=e=>{let t=H(e);if(As(t)){if(`type`in t&&t.type){let e=Array.isArray(t.type)?t.type.find(e=>LWe.has(e)):t.type;if(e===`array`||e===`object`)return e}for(let e of[`anyOf`,`oneOf`,`allOf`]){let n=t[e];if(Array.isArray(n))for(let e of n){let t=bb(e);if(t)return t}}}},xb=(e,t)=>{if(typeof e==`string`){let n=bb(t);if(n){try{let t=JSON.parse(e);if(n!==`array`||Array.isArray(t))return t;if(typeof t==`string`)return[t]}catch{}if(n===`array`)return e.split(/,\s?/).filter(e=>e!==``)}}return e}})),Sb,zWe=s((()=>{js(),Sb=(e,t,n,r=[])=>{let i=t[JSON.stringify(r)]??n;if(!V(e)||Array.isArray(e))return i?void 0:e;let a=Object.entries(e),o=a.flatMap(([e,n])=>{let a=Sb(n,t,i,[...r,e]);return a===void 0?[]:[[e,a]]});if(!(o.length===0&&(i||a.length>0)))return Object.fromEntries(o)}})),Cb,BWe=s((()=>{Cb=e=>e.variables.reduce((e,t)=>(e[t.name]=typeof t.value==`string`?t.value:t.value.default,e),{})})),wb,Tb=s((()=>{wb=e=>Object.entries(e)})),Eb,Db=s((()=>{Tb(),Eb=e=>e?wb(e?.variables??{}).reduce((e,[t,n])=>(n.default&&(e[t]=n.default),e),{}):{}})),Ob,VWe=s((()=>{qv(),uc(),Db(),Ob=({server:e,path:t,urlParams:n})=>{let r=Eb(e);return lc(uHe(e?.url??``,r),t,n)}})),kb,HWe=s((()=>{Zl(),kb=(e,t=``)=>{let n=[];return e.forEach(e=>{if(e.type===`apiKey`){let r=e[`x-scalar-secret-token`]||t;if(e.in===`header`)return n.push({in:e.in,name:e.name,value:r});if(e.in===`query`)return n.push({in:`query`,name:e.name,value:r});if(e.in===`cookie`)return n.push({in:`cookie`,name:e.name,value:r})}if(e.type===`http`){if(e.scheme===`basic`){let t=e[`x-scalar-secret-username`]||``,r=e[`x-scalar-secret-password`]||``;return t===``&&r===``?null:n.push({in:`header`,name:`Authorization`,value:`${t}:${r}`,format:`basic`})}let r=e[`x-scalar-secret-token`];return n.push({in:`header`,name:`Authorization`,value:r||t,format:`bearer`})}if(e.type===`oauth2`||e.type===`openIdConnect`){let r=Object.values(e?.flows??{}).filter(Xl).find(e=>e[`x-scalar-secret-token`])?.[`x-scalar-secret-token`]??``;return n.push({in:`header`,name:`Authorization`,value:r||t,format:`bearer`})}return null}),n}})),UWe,WWe,GWe,KWe,qWe,Ab,JWe,jb,Mb=s((()=>{Bc(),iu(),Uy(),d_(),UWe=`*/*`,WWe={accept:`Accept`,"content-type":`Content-Type`,"user-agent":`User-Agent`},GWe=e=>WWe[e.toLowerCase()]??e,KWe=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[GWe(e),t])),qWe=(e,t)=>{let n=new Set;for(let r of e.parameters??[]){let e=H(r);if(e?.in!==`header`)continue;let i=u_(e,t,void 0);Hy(e,i)||n.add(e.name.toLowerCase())}return n},Ab=(e,t,n,r)=>{let i=r.hideOverriddenHeaders?qWe(e,t):null,a=r.hideDisabledHeaders?e[`x-scalar-disable-parameters`]?.[`default-headers`]?.[t]??{}:null;return Object.fromEntries(Object.entries(n).filter(([e])=>{let t=e.toLowerCase();return!(i?.has(t)||a&&a[t]===!0)}))},JWe=(e,t,n)=>Ab(e,t,n,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),jb=({method:e,operation:t,exampleName:n,hideDisabledHeaders:r=!1,hideOverriddenHeaders:i=!1,options:a={isElectron:!1,appVersion:`0.0.0`}})=>{let o=new Headers,s=H(t.requestBody);if(Rc(e)&&s){let e=s[`x-scalar-selected-content-type`]?.[n]??Object.keys(s.content??{})[0];e&&e!==`none`&&e!==`other`&&o.set(`Content-Type`,e)}let c=Object.keys(t.responses??{}).find(e=>e.startsWith(`2`)),l=c?H(t.responses[c]):null,u=Object.keys(l?.content??{}).join(`, `)||UWe;o.set(`Accept`,u),a.isElectron&&a.appVersion&&o.set(`User-Agent`,`Scalar/${a.appVersion}`);let d=Object.fromEntries(o.entries());return i||r?Ab(t,n,d,{hideOverriddenHeaders:i,hideDisabledHeaders:r}):d}})),Nb,Pb,Fb,Ib=s((()=>{Nb=new Set([`__proto__`,`prototype`,`constructor`]),Pb=(e,t)=>{if(Nb.has(e)){let n=t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`;throw Error(n)}},Fb=e=>Nb.has(e)})),Lb,Rb=s((()=>{js(),Ib(),Lb=(e,t,n)=>{let[r,...i]=t;if(!r)return;if(Pb(r),!i.length){e[r]=n;return}let a=V(e[r])?e[r]:{};e[r]=a,Lb(a,i,n)}})),zb,YWe=s((()=>{Tb(),rv(),a_(),Tv(),yv(),Fu(),zb=(e,t)=>{let n=new Set,r=(e,t,i)=>{let a=i_.schema(e),o=vv(e);if(!a||!o||!e)return o;let s=Nu(e);if(n.has(s))return bv(o)?{...o,properties:void 0}:o;n.add(s);try{if(a.allOf?.length){let e=0,n=a.allOf.map(n=>{let a=i_.schema(n),o=!!(a?.oneOf||a?.anyOf);return r(n,o?[...t,String(e++)]:t,i)??n});if(!o.allOf)return vv({...a,allOf:n});let{allOf:s,...c}=a,l=[r(c,t,i),...n].filter(e=>e!==void 0),u=l.filter(e=>`type`in e&&e.type!==void 0),d=u[0];if(!d||!(`type`in d)||Array.isArray(d.type))return o;let f=u.some(e=>`type`in e&&e.type===`integer`)&&(d.type===`integer`||d.type===`number`)?`integer`:d.type;if(u.some(e=>`type`in e&&e.type!==f&&(f!==`integer`||e.type!==`number`)))return o;let p=Object.assign({},...l.map(_v)),m={...d,...p,...c,type:f,allOf:a.allOf};if(Reflect.deleteProperty(m,`__scalar_`),bv(m)){let e={},n=new Set;for(let a of l){if(`required`in a)for(let e of a.required??[])n.add(e);if(`properties`in a)for(let[n,o]of wb(a.properties??{})){let a=e[n];e[n]=a?r({__scalar_:``,allOf:[a,o]},[...t,n],i)??o:o}}m.properties=e,m.required=[...n]}if(Cv(m)){let e=l.flatMap(e=>`minimum`in e&&e.minimum!==void 0?[e.minimum]:[]),t=l.flatMap(e=>`maximum`in e&&e.maximum!==void 0?[e.maximum]:[]);e.length&&(m.minimum=Math.max(...e)),t.length&&(m.maximum=Math.min(...t))}return m}let e=bv(o)&&o.properties?Object.fromEntries(wb(o.properties).map(([e,n])=>[e,r(n,[...t,e],i)??n])):void 0,n=e?{...o,properties:e}:o,s=o.oneOf?`oneOf`:`anyOf`,c=V_(o,t,{compositionSelection:i});if(!c)return n;let l=[...t,s].join(`.`),{[l]:u,...d}=i??{},f=r(c,t,d);if(!f)return n;let p={...n,...f,[s]:o[s]};if(`type`in p&&Reflect.deleteProperty(p,`__scalar_`),Cv(p)&&(`minimum`in n&&`minimum`in f&&n.minimum!==void 0&&f.minimum!==void 0&&(p.minimum=Math.max(n.minimum,f.minimum)),`maximum`in n&&`maximum`in f&&n.maximum!==void 0&&f.maximum!==void 0&&(p.maximum=Math.min(n.maximum,f.maximum))),o.description!==void 0&&(p.description=o.description),bv(p)){let e=`properties`in n?n.properties:void 0,t=`properties`in f?f.properties:void 0,r=`required`in n?n.required:void 0,i=`required`in f?f.required:void 0;p.properties={...e,...t},p.required=[...new Set([...r??[],...i??[]])]}return p}finally{n.delete(s)}};return r(e,[`requestBody`],t)}})),XWe,ZWe=s((()=>{Gh(),r_(),dv(),XWe=(e,t)=>{let n=lv(e,t??Wh(e_,{}),{mode:`write`,rootName:`root`});if(n.xml===void 0)throw Error(`Unable to serialize XML part: ${n.diagnostics.map(({code:e})=>e).join(`, `)}`);return n.xml}})),Bb,Vb,QWe,$We,Hb,Ub,Wb,eGe=s((()=>{yc(),js(),iu(),Fu(),Tv(),ZWe(),CHe(),kv(),Uv(),Bb=(e,t)=>{let n=H(t.schema);return vc(e).essence!==`multipart/form-data`||t.prefixEncoding!==void 0||t.itemEncoding!==void 0||n!==void 0&&xv(n)||t.itemSchema!==void 0},Vb=(e,t)=>vc(e).type===`multipart`&&(Bb(e,t)||Object.values(t.encoding??{}).some(e=>vc(e.contentType).type===`multipart`||e.encoding!==void 0)),QWe=(e,t)=>t instanceof Blob?t.type||`application/octet-stream`:e&&(!(`type`in e)||!e.type||e.type===`string`&&e.contentEncoding)?`application/octet-stream`:typeof t==`object`&&t?`application/json`:`text/plain`,$We=(e,t,n)=>{let r=QWe(t,n);if(!e)return r;if(/[\r\n\0]/.test(e))throw Error(`Invalid multipart content type`);let i=e.split(`,`).map(e=>e.trim()),a=vc(r),o=i.find(e=>{let t=vc(e);return(t.type===`*`||t.type===a.type)&&(t.subtype===`*`||t.subtype===a.subtype)});return o?vc(o).essence.includes(`*`)?o.replace(/^[^;]+/,a.essence):o:i.find(e=>!vc(e).essence.includes(`*`))??r},Hb=(e,t,n)=>H((e&&`prefixItems`in e?e.prefixItems?.[t]:void 0)??(e&&`items`in e?e.items:void 0)??n,ru),Ub=(e,t,n)=>{let r=t?vc(t).subtype:void 0;return(r===`xml`||r?.endsWith(`+xml`))&&V(e)?XWe(e,n):r===`json`||r?.endsWith(`+json`)||typeof e==`object`&&e?JSON.stringify(Pu(e)):String(e??``)},Wb=(e,t,n={},r,i=0)=>{if(i>=8)throw Error(`Maximum multipart nesting exceeded`);let a=vc(t).essence===`multipart/form-data`,o=Array.isArray(e),s=[];return o?s=e.map((e,t)=>{let i=t<(n.prefixEncoding?.length??0)?n.prefixEncoding?.[t]:n.itemEncoding,o=Hb(r,t,n.itemSchema);if(a&&typeof e==`object`&&e&&!Array.isArray(e)){let t=Object.entries(e),n=t[0];if(t.length!==1||!n)throw Error(`Named positional multipart items must contain exactly one property`);return[n[0],n[1],i,Ev(o,[n[0]])]}return[void 0,e,i,o]}):typeof e==`object`&&e&&(s=Object.entries(e).flatMap(([e,t])=>{let i=Ev(r,[e]);return(Array.isArray(t)?t:[t]).map(r=>[e,r,n.encoding?.[e],Array.isArray(t)?H(i&&xv(i)?i.items:void 0,ru):i])})),s.flatMap(([e,t,n,r])=>{let o=a&&Bv(n),s=o?Hv(e??``,t,n):null,c=o?void 0:$We(n?.contentType,r,t),l=Object.fromEntries(Object.entries(n?.headers??{}).flatMap(([e,t])=>{if(e.toLowerCase()===`content-type`)return[];let n=H(t);if(!n||!(`schema`in n))return[];let r=H(n.schema),i=n?.example??H(Object.values(n?.examples??{})[0])?.value??r?.const??r?.default;return i===void 0?[]:[[e,String(i)]]}));r?.contentEncoding&&!Object.keys(l).some(e=>e.toLowerCase()===`content-transfer-encoding`)&&(l[`Content-Transfer-Encoding`]=r.contentEncoding);let u={...e===void 0?{}:{key:e},...c?{contentType:c}:{},...Object.keys(l).length?{headers:l}:{}};if(s)return s.map(e=>({...u,type:`text`,...e}));if(c&&vc(c).type===`multipart`&&typeof t!=`string`&&!(t instanceof Blob))return[{...u,type:`multipart`,contentType:c,value:Wb(t,c,n,r,i+1)}];if(c&&vc(c).essence===`application/x-www-form-urlencoded`&&typeof t==`object`&&t){let e=Object.entries(t).flatMap(([e,t])=>(Array.isArray(t)?t:[t]).flatMap(t=>{let r=n?.encoding?.[e];return Hv(e,t,r)||[{key:e,value:Ub(t,Bv(r)?void 0:r?.contentType)}]}));return[{...u,type:`text`,value:new URLSearchParams(e.map(e=>[e.key,e.value])).toString()}]}return t instanceof File?[{...u,type:`file`,value:Pu(t)}]:t instanceof Blob?[{...u,type:`blob`,value:Pu(t)}]:[{...u,type:`text`,value:Ub(t,c,r)}]})}})),Gb,tGe,Kb,qb,nGe=s((()=>{yc(),js(),Rb(),Fu(),Tv(),su(),YWe(),eGe(),rHe(),iHe(),kv(),Uv(),lHe(),Gb=e=>{if(e.value instanceof File){let t=e.value;return{type:`file`,key:e.key,value:e.contentType&&e.contentType!==t.type?new File([t],t.name,{type:e.contentType,lastModified:t.lastModified}):t,contentType:e.contentType}}return{type:`text`,key:e.key,value:e.value,...e.contentType?{contentType:e.contentType}:{}}},tGe=(e,t,n)=>e.content[t]?.encoding?.[n]?.contentType,Kb=(e,t)=>{let n=Ov(t),r=[],i=new Map;for(let a of e){if(!n(a.name,a.value)){r.push(a);continue}let e=a.name.split(`.`),o=e[0];if(!o)continue;let s=i.get(o);s||(s={},i.set(o,s),r.push({name:o,value:s})),Lb(s,e.slice(1),Dv(a.value,Ev(t,e)))}return r},qb=(e,t=`default`,n,r)=>{if(!e)return null;let i=hv(e,t);if(!i)return null;let a=mv(e,i,t,n,r);if(!a)return null;let o=ou(au(a),i);if(o!==void 0)return{mode:`raw`,value:o,contentType:i};let s=zb(e.content[i]?.schema,n),c=s&&bv(s)?s:void 0,l=!!(c?.allOf||c?.oneOf||c?.anyOf),u=c&&!l?c.properties:void 0,d=new Set(c&&!l?c.required??[]:[]),f=e=>!!(u&&Object.hasOwn(u,e)&&!d.has(e)),p=e.content[i];if(p&&Vb(i,p)){let e=(()=>{if(typeof a.value!=`string`)return a.value;try{return JSON.parse(a.value)}catch{return a.value}})();if(typeof e==`string`||e instanceof Blob)return{mode:`raw`,value:e,contentType:i};let t=Bb(i,p),n=t&&vc(i).essence===`multipart/form-data`&&Array.isArray(e)?e.filter(e=>!(V(e)&&typeof e.name==`string`&&`value`in e&&e.isDisabled)).map((e,t)=>{if(!V(e)||typeof e.name!=`string`||!(`value`in e))return e;let n=Hb(s,t,p.itemSchema);return{[e.name]:Dv(e.value,Ev(n,[e.name]))}}):e;return{mode:`multipart`,contentType:i,value:!t&&Array.isArray(e)?Kb(e.filter(e=>!e.isDisabled),s).flatMap(e=>Wb({[e.name]:Dv(e.value,Ev(s,[e.name]))},i,p,s)):Wb(!t&&V(e)?Object.fromEntries(Object.entries(e).filter(([e])=>!f(e))):n,i,p,s)}}if((i===`multipart/form-data`||i===`application/x-www-form-urlencoded`)&&Array.isArray(a.value)){let t=(Array.isArray(a.value)?a.value:[]).filter(e=>!e.isDisabled),n=i===`multipart/form-data`?{mode:`formdata`,value:[]}:{mode:`urlencoded`,value:[]},r=n.mode===`formdata`?s:void 0;return(n.mode===`formdata`?Kb(t,r):t).forEach(({name:t,value:a})=>{if(!t)return;let o=e.content[i]?.encoding?.[t];if(n.mode===`formdata`){let e=Ev(r,[t]),i=Dv(a,e),s=Wv(t,Array.isArray(i)?i:a,o);if(s){n.value.push(...s.map(Gb));return}}let s=Hv(t,a,o);if(s){for(let e of s)n.value.push({type:`text`,key:e.key,value:e.value});return}let c=n.mode===`formdata`?o?.contentType:void 0;if(a instanceof File&&n.mode===`formdata`){let e=Pu(a),r=c&&c!==e.type?new File([e],e.name,{type:c,lastModified:e.lastModified}):e;return n.value.push({type:`file`,key:t,value:r,contentType:c})}if(a!=null){let e=typeof a==`object`&&a?JSON.stringify(Pu(a)):String(a);return n.mode===`formdata`&&c?n.value.push({type:`text`,key:t,value:e,contentType:c}):n.value.push({type:`text`,key:t,value:e})}}),n}if(i===`application/x-www-form-urlencoded`&&V(a.value)){let t={mode:`urlencoded`,value:[]};for(let[n,r]of Object.entries(a.value))if(!f(n)&&n&&r!=null){let a=e.content[i]?.encoding?.[n],o=Hv(n,r,a);if(o){for(let e of o)t.value.push({key:e.key,value:e.value});continue}let s=typeof r==`object`&&r?JSON.stringify(Pu(r)):String(r);t.value.push({key:n,value:s})}return t}if(i===`multipart/form-data`&&V(a.value)){let t={mode:`formdata`,value:[]};for(let[n,r]of Object.entries(a.value)){if(!n||r==null||f(n))continue;let a=e.content[i]?.encoding?.[n],o=Wv(n,r,a);if(o){t.value.push(...o.map(Gb));continue}let s=Hv(n,r,a);if(s){for(let e of s)t.value.push({type:`text`,key:e.key,value:e.value});continue}let c=tGe(e,i,n);if(r instanceof File){let e=Pu(r),i=c&&c!==e.type?new File([e],e.name,{type:c,lastModified:e.lastModified}):e;t.value.push({type:`file`,key:n,value:i,contentType:c});continue}let l=typeof r==`object`&&r?JSON.stringify(Pu(r)):String(r);c?t.value.push({type:`text`,key:n,value:l,contentType:c}):t.value.push({type:`text`,key:n,value:l})}return t}let m=a.value!==null&&typeof a.value==`object`?Pu(a.value):a.value;return m instanceof File?{mode:`raw`,value:m,contentType:m.type}:typeof m==`object`?{mode:`raw`,value:JSON.stringify(m),contentType:`application/json`}:{mode:`raw`,value:m}}})),Jb,Yb,rGe=s((()=>{js(),Jb=(e,t=new WeakSet)=>!As(e)||t.has(e)?!1:(t.add(e),(Array.isArray(e.type)?e.type:[e.type]).some(e=>e===`array`||e===`object`)||[`anyOf`,`oneOf`,`allOf`].some(n=>{let r=e[n];return Array.isArray(r)&&r.some(e=>Jb(e,t))})),Yb=(e,t)=>{if(!(e.in!==`cookie`||e.explode!==!1||e.style!==void 0&&e.style!==`form`&&e.style!==`cookie`)&&(As(t)||Jb(e.schema)))return`Cookie parameter "${e.name}" cannot serialize an array or object with style: ${e.style??`form`} and explode: false because comma-separated cookie values are invalid. Use style: cookie with explode: true.`}})),Xb,Zb=s((()=>{BHe(),su(),d_(),Xb=(e,t)=>{let n=u_({...e,content:void 0,schema:void 0},t,void 0),r=n??u_(e,t,void 0),i=au(r),a=`content`in e?Vy(e.content)?.[0]:void 0,o=a?ou(i,a):void 0;return{example:r,value:a&&i&&!(n&&i.source===`serialized`)?o??i.value:i?.value,mediaSerialized:a!==void 0&&o!==void 0&&!(n&&i?.source===`serialized`),serialized:n!==void 0&&i?.source===`serialized`}}})),Qb,iGe,aGe,oGe,$b,sGe,cGe,lGe=s((()=>{Zl(),rGe(),js(),iu(),Xh(),Gh(),Zb(),RWe(),zWe(),Uy(),zv(),Qb=(e,t)=>`explode`in e&&e.explode!==void 0?e.explode:t,iGe=(e=[],t=`default`,n)=>{let r={cookies:[],headers:{},pathVariables:{},allowReservedQueryParameters:new Set,urlParams:new URLSearchParams};if(e.length===0)return r;for(let i of e){let e=H(i);if(!e)continue;let a=Xb(e,t),{example:o,value:s}=a,c=e.in===`query`&&!a.serialized&&!a.mediaSerialized?o?.[`x-scalar-disabled-properties`]:void 0;if(!o||!c&&Hy(e,o))continue;if(a.serialized){let t=String(s);switch(e.in){case`query`:(r.serializedQuery??=[]).push(t);break;case`path`:r.pathVariables[e.name]=t,(r.serializedPathParameters??=new Set).add(e.name);break;case`header`:r.headers[e.name]=t;break;case`cookie`:r.headers.Cookie=[r.headers.Cookie,t].filter(Boolean).join(`; `)}continue}if(a.mediaSerialized){let t=String(s);switch(e.in){case`query`:r.urlParams.set(e.name,t);break;case`header`:r.headers[e.name]=t;break;case`path`:r.pathVariables[e.name]=t;break;case`cookie`:r.cookies.push(Wh(Yh,{name:encodeURIComponent(e.name),value:encodeURIComponent(t),path:`/`}))}continue}let l=yb(s,e),u=c?Sb(l,c,Hy(e,o)):l;if(c&&u===void 0)continue;let d=e.name;switch(e.in){case`header`:{if(d.toLowerCase()===`content-type`&&u===`multipart/form-data`)break;let t=jv(u,Qb(e,!1));if(!Xl(t))break;let n=String(t);r.headers[d]?r.headers[d]=`${r.headers[d]},${n}`:r.headers[d]=n;break}case`path`:{let t=jv(u,Qb(e,!1));r.pathVariables[d]=String(t),n?.startsWith(`3.2.`)&&`schema`in e&&e.allowReserved===!0&&((r.reservedPathParameters??={})[d]={value:u,originalValue:String(t),style:e.style??`simple`,explode:Qb(e,!1)});break}case`query`:sGe(e,d,u,r.urlParams,r.allowReservedQueryParameters);break;case`cookie`:{let[t,i]=(n??``).split(`.`),a=t===`3`&&i===`2`&&!(`content`in e)?Yb(e,u):void 0;if(a){(r.cookieErrors??=[]).push(a);break}if(`style`in e&&e.style===`cookie`){r.cookies.push(...Rv(d,u,Qb(e,!0)).map(e=>Wh(Yh,{...e,path:`/`})));break}cGe(d,u,Qb(e,!0),r.cookies);break}}}return r},aGe=(e,t)=>!(`style`in e)||!e.style?`form`:e.style===`deepObject`?V(t)?`deepObject`:`form`:e.style,oGe=e=>`allowReserved`in e&&e.allowReserved!==void 0?e.allowReserved:`schema`in e&&e.schema&&typeof e.schema==`object`&&`allowReserved`in e.schema?e.schema.allowReserved===!0:!1,$b=(e,t,...n)=>{if(t)for(let t of n)e.add(t)},sGe=(e,t,n,r,i)=>{let a=`explode`in e&&e.explode!==void 0?e.explode:!0,o=oGe(e),s=aGe(e,n);if(`content`in e&&e.content){let a=Object.keys(e.content)[0]??`application/json`,s=Av(n,a);r.set(t,s),$b(i,o,t);return}if(s===`deepObject`&&a){let e=Iv(t,n);for(let n of e)r.append(n.key,n.value),$b(i,o,t);return}if(s===`spaceDelimited`){let e=Pv(n),a=r.get(t);r.set(t,a?`${a} ${e}`:e),$b(i,o,t);return}if(s===`pipeDelimited`){let e=Fv(n),a=r.get(t);r.set(t,a?`${a}|${e}`:e),$b(i,o,t);return}let c=Mv(n,a);if(Array.isArray(c))for(let e of c){let n=e.key||t;r.append(n,String(e.value)),$b(i,o,t)}else r.append(t,String(c)),$b(i,o,t)},cGe=(e,t,n,r)=>{let i=Nv(t,n);if(Array.isArray(i))for(let t of i){let n=t.key||e;r.push(Wh(Yh,{name:n,value:String(t.value),path:`/`}))}else r.push(Wh(Yh,{name:e,value:String(i),path:`/`}))}})),ex,uGe=s((()=>{Bc(),nc(),qv(),iu(),Ky(),Db(),HWe(),Mb(),nGe(),lGe(),ex=({exampleName:e,globalCookies:t,method:n,operation:r,path:i,proxyUrl:a,server:o,defaultHeaders:s,isElectron:c,selectedSecuritySchemes:l,openapiVersion:u,requestBodyCompositionSelection:d})=>{let f=H(r.requestBody),p=iGe(r.parameters??[],e,u),m=r.parameters?.map(e=>H(e)).find(e=>e?.in===`querystring`),h=m?Wy(m,e):void 0,g=kb(l),_=new Headers({...JWe(r,e,s),...p.headers}),v=Rc(n)?qb(f,e,d,u):null;(v?.mode===`formdata`||v?.mode===`urlencoded`)&&_.delete(`Content-Type`);let y=Eb(o),b=Gv(o?.url??``,y),x=r[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[e]??{},ee=[...t.map(e=>({...e,isDisabled:(e.isDisabled||x[e.name.toLowerCase()])??!1})),...p.cookies],te=_.get(`Accept`)?.toLowerCase().includes(`text/event-stream`)??!1,ne=te?`no-store`:`default`;return te&&(_.set(`Cache-Control`,`no-cache`),_.set(`Pragma`,`no-cache`)),{request:{...p.cookieErrors?{cookieErrors:p.cookieErrors}:{},baseUrl:b,proxyUrl:a,path:{variables:p.pathVariables,...p.serializedPathParameters?{serializedParameters:p.serializedPathParameters}:{},...p.reservedPathParameters?{reservedParameters:p.reservedPathParameters}:{},raw:i},query:p.urlParams,...p.serializedQuery?{serializedQuery:p.serializedQuery}:{},...h?{querystring:h}:{},method:tc(n)&&n===n.toLowerCase()?n.toUpperCase():n,headers:_,body:v,cookies:ee,cache:ne,security:g,options:{isElectron:c},allowedReservedQueryParameters:p.allowReservedQueryParameters}}}})),dGe,fGe,pGe,mGe,hGe=s((()=>{dGe=[`userPassword`,`plain`,`scramSha256`,`scramSha512`],fGe=e=>dGe.some(t=>t===e),pGe=[`symmetricEncryption`,`asymmetricEncryption`],mGe=e=>pGe.some(t=>t===e)})),gGe=s((()=>{rHe(),iHe(),kv(),Uv(),lHe(),FWe(),RWe(),zWe(),kHe(),Uy(),zv(),BWe(),d_(),rv(),VWe(),Db(),uGe(),WHe(),hGe(),HWe()})),tx,nx,rx,ix,ax=s((()=>{js(),tx=e=>V(e)&&`openapi`in e&&typeof e.openapi==`string`,nx=e=>V(e)&&`asyncapi`in e&&typeof e.asyncapi==`string`,rx=e=>{if(tx(e))return`openapi`;if(nx(e))return`asyncapi`},ix=e=>e===`asyncapi`?`AsyncAPI`:`OpenAPI`})),ox,sx=s((()=>{Jh(),ax(),Gh(),ox=(e,t)=>{if(e===null)return{name:null,environment:Wh(qh,{})};let n=e.workspace[`x-scalar-active-environment`];if(!n)return{name:null,environment:Wh(qh,{})};let r=e.workspace[`x-scalar-environments`]?.[n]??{variables:[]},i=(tx(t)?t[`x-scalar-environments`]?.[n]:void 0)??{variables:[]};return{name:n,environment:Wh(qh,{...r,...i,variables:[...r.variables,...i.variables]})}}}));function cx(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}var lx=s((()=>{})),ux,dx,_Ge,fx,px,mx,vGe,hx,gx,_x,vx,yx=s((()=>{nc(),js(),Ib(),lx(),iu(),ux=10,dx=e=>e===e.toLowerCase()&&tc(e),_Ge=e=>As(e)&&Object.hasOwn(e,`$ref-value`),fx=e=>{if(!e||typeof e!=`object`)return;let t=H(e,ru);for(let e=1;_Ge(t);e++){if(e>=ux){let{"$ref-value":e,...n}=t;return console.warn(`Stopped resolving "${t.$ref}" after ${ux} hops.\n\nThis reference most likely points at itself, directly or through another reference.`),n}t=H(t,ru)}return t},px=(e,t)=>{let n=fx(e);if(!n)return;if(dx(t))return n[t];let r=n.additionalOperations;return r&&Object.hasOwn(r,t)?r[t]:void 0},mx=(e,t,n)=>{if(!e||typeof e!=`object`)return;let r=`$ref`in e&&`$ref-value`in e?e[`$ref-value`]??e:e;dx(t)?r[t]=n:(Pb(t),r.additionalOperations??={},r.additionalOperations[t]=n)},vGe=e=>{let t=[],n=e;for(;As(n)&&!t.includes(n)&&t.length<ux&&(t.push(n),`$ref`in n&&`$ref-value`in n);)n=n[`$ref-value`];return t},hx=(e,t)=>{if(e&&typeof e==`object`)for(let n of vGe(e))dx(t)?delete n[t]:As(n.additionalOperations)&&(delete n.additionalOperations[t],Object.keys(n.additionalOperations).length===0&&delete n.additionalOperations)},gx=(e,t)=>{let n=fx(e);if(n){for(let[e,r]of Object.entries(n))dx(e)&&r!==void 0&&t(e,r);for(let[e,r]of Object.entries(n.additionalOperations??{}))r!==void 0&&!dx(e)&&t(e,r)}},_x=e=>{let t=fx(e);return!t||Object.keys(t).length===0},vx=e=>dx(e)?e:`additionalOperations/${cx(e)}`})),bx,yGe=s((()=>{iu(),bx=(e=[],t=[])=>{let n=t.flatMap(e=>{let t=H(e);return t?`${t.in}:${t.name}`:[]}),r=new Set(n);return[...e.filter(e=>{let t=H(e);return t?!r.has(`${t.in}:${t.name}`):!1}),...t]}})),bGe,xx,xGe=s((()=>{bGe=e=>e===`web`?`https://proxy.scalar.com`:null,xx=(e,t)=>e===void 0?bGe(t):e})),Sx,SGe=s((()=>{Sx=(e,t)=>JSON.stringify(t)===`[{}]`&&e?.length?e.find(e=>JSON.stringify(e)===`{}`)?e:[...e,{}]:t??e??[]})),Cx,wx=s((()=>{Cx=e=>Object.keys(e)})),Tx,Ex=s((()=>{wx(),iu(),Tx=(e,t)=>Cx(t).flatMap(t=>H(e?.[t])||[])})),Dx,CGe=s((()=>{Dx=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>Object.keys(e).length===0)&&!t}})),Ox,wGe,TGe,kx,Ax=s((()=>{iu(),CGe(),Ox=e=>e?.type===`oauth2`?e[`x-default-scopes`]??[]:[],wGe=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,n])=>{if(Array.isArray(n)&&n.length>0)return[e,[...n]];let r=H(t[e]),i=r?.type===`oauth2`?r[`x-default-scopes`]:void 0;return Array.isArray(i)&&i.length>0?[e,[...i]]:[e,Array.isArray(n)?[...n]:n]})),TGe=(e,t)=>{if(!Array.isArray(e)){let n=H(t[e]);return{[e]:Ox(n)}}let n={};for(let r of e)if(Array.isArray(r))for(let e of r){let r=H(t[e]);n[e]=Ox(r)}else{let e=H(t[r]);n[r]=Ox(e)}return n},kx=(e,t,n=[],r={},i)=>{if(t)return t;if(e)return e;if(Dx(n)&&!i)return{selectedIndex:-1,selectedSchemes:[]};if(i)return{selectedIndex:0,selectedSchemes:[TGe(i,r)]};let a=n[0];return a?{selectedIndex:0,selectedSchemes:[wGe(a,r)]}:{selectedIndex:-1,selectedSchemes:[]}}})),jx,Mx=s((()=>{jx=(e,t=new WeakMap)=>{if(typeof e!=`object`||!e)return e;if(t.has(e))return t.get(e);let n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach(r=>{n[r]=jx(e[r],t)}),n}})),Nx,Px=s((()=>{js(),Du(),Nx=(e,t,n=!1,r=new Set)=>{for(let i of Object.keys(t))if(!Object.hasOwn(e,i))i===`__proto__`?Object.defineProperty(e,i,{value:t[i],enumerable:!0,configurable:!0,writable:!0}):e[i]=t[i];else{let a=e[i],o=t[i],s=n&&(Array.isArray(a)||Array.isArray(o));if(As(a)&&As(o)&&!s){let e=Su(a),t=Su(o);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),Nx(a,o,n,r)}else try{e[i]=o}catch(e){console.warn(`Issue setting ${i} on object`),console.warn(e)}}return e}})),Fx,Ix,Lx,Rx,zx,EGe,DGe,Bx,Vx=s((()=>{js(),Fx=`x-scalar-secret-cleared-fields`,Ix=e=>{let t=Reflect.get(e,Fx);return Array.isArray(t)?t.filter(e=>typeof e==`string`):[]},Lx=(e,t)=>Ix(e).includes(t),Rx=(e,t)=>{let n=new Set(Ix(e));for(let[r,i]of Object.entries(t))r.startsWith(`x-scalar-secret-`)&&r!==Fx&&typeof i==`string`?i===``?n.add(r):n.delete(r):As(i)&&As(e[r])&&Rx(e[r],i);n.size?e[Fx]=[...n]:delete e[Fx]},zx=(e,t)=>{delete e[t];let n=Ix(e).filter(e=>e!==t);n.length?e[Fx]=n:delete e[Fx]},EGe=`x-scalar-secret-defaults`,DGe=(e,t)=>{let n=Reflect.get(e,EGe);if(!As(n))return``;let r=n[t];return typeof r==`string`?r:``},Bx=(e,t,n,r=``)=>{let i=DGe(e,t)||r;return i!==``&&(n??``)!==i}})),OGe,Hx,Ux,Wx,Gx,Kx,qx,Jx,Yx,Xx,kGe=s((()=>{js(),Tb(),Vx(),OGe={"x-scalar-secret-client-id":`x-scalar-client-id`,"x-scalar-secret-client-secret":`clientSecret`,"x-scalar-secret-password":`password`,"x-scalar-secret-redirect-uri":`x-scalar-redirect-uri`,"x-scalar-secret-token":`token`,"x-scalar-secret-username":`username`,"x-scalar-secret-auth-url":`authorizationUrl`,"x-scalar-secret-token-url":`tokenUrl`},Hx=e=>{let t=Object.fromEntries(Object.entries(e).filter(([,e])=>typeof e==`string`&&e!==``));return Object.keys(t).length?{"x-scalar-secret-defaults":t}:{}},Ux=(e,t)=>{let n=e[t];return typeof n==`string`?n:void 0},Wx=(e,t,n={},r,i=!0)=>{let a=e.filter(e=>Lx(n,e)),o={};return{...Object.fromEntries(e.map(e=>{let a=Ux(n,e),s=i?Ux(t,e):void 0,c=Ux(t,OGe[e]),l=e===`x-scalar-secret-redirect-uri`,u=l?s??c??r??``:s||c||``,d=l||Lx(n,e)?a??s??c??r??``:a||u;return o[e]=u,[e,d]})),...a.length?{"x-scalar-secret-cleared-fields":a}:{},...Hx(o)}},Gx=(e,t)=>{let n=e&&Reflect.get(e,t);return typeof n==`string`&&(n||Lx(e??{},t))?n:void 0},Kx=(e,t)=>{let n=t in e?Reflect.get(e,t):void 0;return typeof n==`string`?n:``},qx=(e={})=>{let t=e[`x-scalar-secret-refresh-token`];return typeof t==`string`?{"x-scalar-secret-refresh-token":t}:{}},Jx=(e,t={})=>{let n=t[`x-scalar-credentials-location`]??e[`x-scalar-credentials-location`];return n?{"x-scalar-credentials-location":n}:{}},Yx=(e,t,n,r=!0)=>{let i=new Set;return{flows:wb(e??{}).reduce((e,[a,o])=>{if(!V(o))return e;let s=o.selectedScopes;return Array.isArray(s)&&s.forEach(e=>typeof e==`string`&&i.add(e)),a===`implicit`&&(e.implicit={...o,...Wx([`x-scalar-secret-client-id`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`],o,t?.implicit,n,r),...qx(t?.implicit)}),a===`password`&&(e[a]={...o,...Wx([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-username`,`x-scalar-secret-password`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],o,t?.password,void 0,r),...Jx(o,t?.password),...qx(t?.password)}),a===`clientCredentials`&&(e[a]={...o,...Wx([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],o,t?.clientCredentials,void 0,r),...Jx(o,t?.clientCredentials),...qx(t?.clientCredentials)}),a===`deviceAuthorization`&&(e[a]={...o,...Wx([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],o,t?.deviceAuthorization,void 0,r),...Jx(o,t?.deviceAuthorization),...qx(t?.deviceAuthorization)}),a===`authorizationCode`&&(e[a]={...o,...Wx([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`,`x-scalar-secret-token-url`],o,t?.authorizationCode,n,r),...Jx(o,t?.authorizationCode),...qx(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(i)}},Xx=(e,t,n,r,i)=>{let a=t.getAuthSecrets(r,n);if(e.type===`apiKey`){let t=a?.type===`apiKey`?a:void 0,n={"x-scalar-secret-token":Kx(e,`x-scalar-secret-token`)||e.value||``};return{...e,...t?.name===void 0?{}:{name:t.name},"x-scalar-secret-token":Gx(t,`x-scalar-secret-token`)??n[`x-scalar-secret-token`],...Hx(n)}}if(e.type===`http`){let t=a?.type===`http`?a:void 0,n={"x-scalar-secret-token":Kx(e,`x-scalar-secret-token`)||e.token||``,"x-scalar-secret-username":Kx(e,`x-scalar-secret-username`)||e.username||``,"x-scalar-secret-password":Kx(e,`x-scalar-secret-password`)||e.password||``};return{...e,"x-scalar-secret-token":Gx(t,`x-scalar-secret-token`)??n[`x-scalar-secret-token`],"x-scalar-secret-username":Gx(t,`x-scalar-secret-username`)??n[`x-scalar-secret-username`],"x-scalar-secret-password":Gx(t,`x-scalar-secret-password`)??n[`x-scalar-secret-password`],...Hx(n)}}if(e.type===`oauth2`){let t=a?.type===`oauth2`?a:void 0,n=Yx(e.flows,t,i,!0),r=Array.isArray(e[`x-default-scopes`])?e[`x-default-scopes`].filter(e=>typeof e==`string`):[],o=Array.from(new Set([...r,...n.selectedScopes]));return{...e,flows:n.flows,"x-default-scopes":o}}if(e.type===`openIdConnect`){let t=a?.type===`openIdConnect`?a:void 0,n=Yx({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode,deviceAuthorization:t?.deviceAuthorization},t,i,!1);return{...e,...wb(n.flows).length?{flows:n.flows}:{}}}if(e.type===`userPassword`||e.type===`plain`||e.type===`scramSha256`||e.type===`scramSha512`){let t=a?.type===e.type?a:void 0;return{...e,type:e.type,"x-scalar-secret-username":t?.[`x-scalar-secret-username`]||e.username||``,"x-scalar-secret-password":t?.[`x-scalar-secret-password`]||e.password||``}}if(e.type===`X509`){let t=a?.type===`X509`?a:void 0;return{...e,type:e.type,"x-scalar-secret-client-certificate":t?.[`x-scalar-secret-client-certificate`]||``,"x-scalar-secret-private-key":t?.[`x-scalar-secret-private-key`]||``}}if(e.type===`symmetricEncryption`||e.type===`asymmetricEncryption`){let t=a?.type===e.type?a:void 0;return{...e,type:e.type,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||e.token||``}}if(e.type===`gssapi`){let t=a?.type===`gssapi`?a:void 0;return{...e,type:e.type,"x-scalar-secret-service-name":t?.[`x-scalar-secret-service-name`]||``}}return e}})),Zx,AGe=s((()=>{js(),Zx=(e,t)=>As(e)&&(e.name!==void 0||!As(t))})),Qx,jGe,MGe,$x,eS=s((()=>{js(),Tb(),_h(),Mx(),iu(),Px(),Gh(),r_(),hGe(),kGe(),AGe(),Qx=e=>{let t=H(e);return typeof t==`object`&&!!t&&`availableScopes`in t},jGe=e=>{let t=H(e);if(!t||typeof t!=`object`)return e;let n=Object.entries(t);return n.some(([,e])=>Qx(e))?Object.fromEntries(n.map(([e,t])=>{if(!Qx(t))return[e,t];let n=H(t);if(!As(n))return[e,t];let{availableScopes:r,scopes:i,...a}=n;return[e,{...a,scopes:i??r??{}}]})):e},MGe=e=>{if(!(e&&typeof e==`object`&&`type`in e))return e;if(e.type===`http`&&`scheme`in e&&typeof e.scheme==`string`)return{...e,scheme:e.scheme.toLowerCase()};if(e.type===`httpApiKey`)return{...e,type:`apiKey`};if(e.type===`oauth2`&&`flows`in e&&e.flows){let t=jGe(e.flows);if(t!==e.flows)return{...e,flows:t}}return e},$x=(e={},t={},n,r,i)=>{let a=wb(e).reduce((e,[t,n])=>{let r=jx(H(n));return r&&(e[t]=r),e},{}),o=Nx(a,t);return wb(o).reduce((e,[o,s])=>{let c=MGe(s),l=As(c)&&typeof c.type==`string`?c.type:void 0;if(fGe(l)||mGe(l)||l===`X509`||l===`gssapi`){let t=Wh(U.Object({description:U.Optional(U.String()),username:U.Optional(U.String()),password:U.Optional(U.String()),token:U.Optional(U.String())}),c);return e[o]=Xx({...t,type:l},n,o,r,i),e}if(As(c)&&c.type===`apiKey`&&(c.in===`user`||c.in===`password`)){let t=Wh(U.Object({description:U.Optional(U.String()),name:U.Optional(U.String()),value:U.Optional(U.String())}),c);return e[o]=Xx({...t,type:`apiKey`,in:c.in},n,o,r,i),e}let u=Wh(n_,c),d={...As(c)?c:{},...u},f=Xx(d,n,o,r,i),p=Object.hasOwn(t,o)?t[o]:void 0;return e[o]=f.type===`apiKey`&&d.type===`apiKey`&&!Zx(p,a[o])?{...f,name:d.name}:f,e},{})}}));function tS(e,t={}){return Array.isArray(e)?e.map(e=>IGe(e,t)):[]}function NGe(e){try{let t=new URL(e),n=t.port?`:${t.port}`:``;return`${t.protocol}//${t.hostname}${n}`}catch{return}}function PGe(){if(typeof window<`u`&&typeof window?.location?.origin==`string`)return window.location.origin}function FGe(e,t){let{baseServerUrl:n,documentUrl:r}=t;if(n)return cc(n,e);if(r){let t=NGe(r);if(t)return cc(t,e)}let i=PGe();return i?cc(i,e):e}function IGe(e,t){return e.url?.startsWith(`/`)&&(e.url=FGe(e.url,t)),e}var nS,LGe=s((()=>{uc(),ax(),nS=(e,t,n,r)=>{let i=tx(e)?e[`x-scalar-selected-server`]:void 0,a=n==null?t?.[`x-scalar-selected-server`]??i:i;return a==null?r[0]??null:r.find(({url:e})=>e===a)??null}})),RGe,zGe=s((()=>{yx(),iu(),sx(),Mb(),yGe(),xGe(),SGe(),Ex(),Ax(),eS(),LGe(),ax(),RGe=(e,t,n,r={})=>{let{path:i,method:a,exampleName:o,isWebhook:s=!1}=n,c=e.workspace.documents[t]??r.fallbackDocument??void 0;if(!c)return{ok:!1,error:`Document ${t} not found`};if(!tx(c))return{ok:!1,error:`Document ${t} is not an OpenAPI document`};let l=fx(s?c.webhooks?.[i]:c.paths?.[i]);if(!l)return{ok:!1,error:s?`Webhook ${i} not found`:`Path ${i} not found`};let u=H(px(l,a));if(!u)return{ok:!1,error:s?`Method ${a} not found on webhook ${i}`:`Method ${a} not found on path ${i}`};let d={...u,parameters:bx(l.parameters,u.parameters??[])},f=ox(e,c),p=tS(s?r.servers??d.servers:r.servers??d.servers??c.servers,{baseServerUrl:r.baseServerUrl,documentUrl:c[`x-scalar-original-source-url`]}),m=nS(c,d,r.servers??null,p),h=e.auth.getAuthSelectedSchemas({type:`document`,documentName:t}),g=e.auth.getAuthSelectedSchemas({type:`operation`,documentName:t,path:i??``,method:a??`get`}),_=$x(c.components?.securitySchemes??{},r.authentication?.securitySchemes??{},e.auth,t),v=Sx(c.security,d.security),y=kx(h,g,v,_,r.authentication?.preferredSecurityScheme),b=Tx(_,y.selectedSchemes[y.selectedIndex]??{}),x=!s&&r.servers==null&&d.servers!=null?{type:`operation`,path:i??``,method:a??`get`}:{type:`document`},ee=g===void 0?{type:`document`}:{type:`operation`,path:i??``,method:a??`get`},te=xx(e.workspace[`x-scalar-active-proxy`],r.layout??`other`),ne=jb({method:a,operation:d,exampleName:o,options:{appVersion:r.appVersion??`0.0.0`,isElectron:r.isElectron??!1}});return{ok:!0,data:{operation:d,environment:f,cookies:{workspace:e.workspace[`x-scalar-cookies`]??[],document:c[`x-scalar-cookies`]??[]},headers:{default:ne},servers:{list:p,selected:m,meta:x},proxy:{url:te},security:{schemes:_,requirements:v,selected:y,selectedSchemes:b,meta:ee}}}}})),BGe=s((()=>{sx(),zGe(),Mb(),yGe(),xGe(),SGe(),Ex(),Ax(),CGe(),eS(),LGe()}));function VGe(){let e=[],t=[],n=[],r=[];return{getEnvironment:()=>e,getGlobals:()=>n,getCollectionVariables:()=>t,getData:()=>({}),getLocalVariables:()=>r,setLocalVariables:e=>{r.length=0,r.push(...e)},setCollectionVariables:e=>{t.length=0,t.push(...e)},setEnvironment:t=>{e.length=0,e.push(...t)},setGlobals:e=>{n.length=0,n.push(...e)},getVariables:()=>Object.fromEntries([...n,...t,...e,...r].map(e=>[e.key,e.value]))}}var HGe=s((()=>{})),rS=s((()=>{gGe(),eGe(),nGe(),THe(),BGe(),jWe(),HGe(),nHe(),dv(),ZWe()})),UGe,WGe,GGe=s((()=>{rS(),iu(),UGe=e=>e==null||typeof e==`string`&&e.trim()===``,WGe=(e=[],t=`default`)=>{let n=[];for(let r of e){let e=H(r);if(e?.in!==`path`)continue;let i=u_(e,t,void 0);Hy(e,i)||UGe(i?.value)&&n.push(e.name)}return n.length>0?{ok:!1,invalidParams:n}:{ok:!0}}})),KGe,qGe,JGe=s((()=>{B(),KGe=[`aria-selected`,`tabindex`],qGe=k({__name:`SectionFilterButton`,props:{selected:{type:Boolean}},setup(e){return(t,n)=>(j(),M(`button`,{"aria-selected":!!e.selected,class:lt([`hover:bg-b-2 flex w-fit cursor-pointer items-center rounded p-1 px-2 text-center font-medium whitespace-nowrap has-[:focus-visible]:outline`,{"text-c-1 pointer-events-none":e.selected}]),role:`tab`,tabindex:e.selected?0:-1,type:`button`},[A(t.$slots,`default`)],10,KGe))}})})),YGe,XGe=s((()=>{JGe(),YGe=qGe})),iS,aS=s((()=>{iS=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}})),oS,sS,cS=s((()=>{oS=Object.defineProperty,sS=(e,t)=>{let n={};for(var r in e)oS(n,r,{get:e[r],enumerable:!0});return t||oS(n,Symbol.toStringTag,{value:`Module`}),n}}));function ZGe(e,t){return j(),M(`svg`,$Ge,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5 11.988h14M12.006 5v14`},null,-1)]])}var QGe,$Ge,eKe,tKe=s((()=>{cS(),B(),QGe=sS({default:()=>eKe,render:()=>ZGe}),$Ge={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},eKe={render:ZGe}}));function nKe(e,t){return j(),M(`svg`,iKe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3`},null,-1)]])}var rKe,iKe,aKe,oKe=s((()=>{cS(),B(),rKe=sS({default:()=>aKe,render:()=>nKe}),iKe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},aKe={render:nKe}}));function sKe(e,t){return j(),M(`svg`,lKe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10`},null,-1)]])}var cKe,lKe,uKe,dKe=s((()=>{cS(),B(),cKe=sS({default:()=>uKe,render:()=>sKe}),lKe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},uKe={render:sKe}}));function fKe(e,t){return j(),M(`svg`,mKe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12H2m9.3-9.3L2 12l9.3 9.3`},null,-1)]])}var pKe,mKe,hKe,gKe=s((()=>{cS(),B(),pKe=sS({default:()=>hKe,render:()=>fKe}),mKe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},hKe={render:fKe}}));function _Ke(e,t){return j(),M(`svg`,yKe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 12h20m-9.3 9.3L22 12l-9.3-9.3`},null,-1)]])}var vKe,yKe,bKe,xKe=s((()=>{cS(),B(),vKe=sS({default:()=>bKe,render:()=>_Ke}),yKe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},bKe={render:_Ke}}));function SKe(e,t){return j(),M(`svg`,wKe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`},null,-1)]])}var CKe,wKe,TKe,EKe=s((()=>{cS(),B(),CKe=sS({default:()=>TKe,render:()=>SKe}),wKe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},TKe={render:SKe}}));function DKe(e,t){return j(),M(`svg`,kKe,[...t[0]||=[P(`path`,{d:`M16.4 6.8v5.6H7.6m0-5.6v10.4`},null,-1),P(`circle`,{cx:`7.6`,cy:`4.4`,r:`2.4`},null,-1),P(`circle`,{cx:`7.6`,cy:`19.6`,r:`2.4`},null,-1),P(`circle`,{cx:`16.4`,cy:`4.4`,r:`2.4`},null,-1)]])}var OKe,kKe,AKe,jKe=s((()=>{cS(),B(),OKe=sS({default:()=>AKe,render:()=>DKe}),kKe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},AKe={render:DKe}}));function MKe(e,t){return j(),M(`svg`,PKe,[...t[0]||=[P(`path`,{d:`M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125`},null,-1),P(`path`,{d:`M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055`},null,-1),P(`path`,{d:`M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125`},null,-1)]])}var NKe,PKe,FKe,IKe=s((()=>{cS(),B(),NKe=sS({default:()=>FKe,render:()=>MKe}),PKe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},FKe={render:MKe}}));function LKe(e,t){return j(),M(`svg`,zKe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21.4 4.6 10.6 19.4l-8-6.4`},null,-1)]])}var RKe,zKe,BKe,VKe=s((()=>{cS(),B(),RKe=sS({default:()=>BKe,render:()=>LKe}),zKe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},BKe={render:LKe}}));function HKe(e,t){return j(),M(`svg`,WKe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 10-6 6-6-6`},null,-1)]])}var UKe,WKe,GKe,KKe=s((()=>{cS(),B(),UKe=sS({default:()=>GKe,render:()=>HKe}),WKe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},GKe={render:HKe}}));function qKe(e,t){return j(),M(`svg`,YKe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m14 18-6-6 6-6`},null,-1)]])}var JKe,YKe,XKe,ZKe=s((()=>{cS(),B(),JKe=sS({default:()=>XKe,render:()=>qKe}),YKe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},XKe={render:qKe}}));function QKe(e,t){return j(),M(`svg`,eqe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9 18 6-6-6-6`},null,-1)]])}var $Ke,eqe,tqe,nqe=s((()=>{cS(),B(),$Ke=sS({default:()=>tqe,render:()=>QKe}),eqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},tqe={render:QKe}}));function rqe(e,t){return j(),M(`svg`,aqe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 15-6-6-6 6`},null,-1)]])}var iqe,aqe,oqe,sqe=s((()=>{cS(),B(),iqe=sS({default:()=>oqe,render:()=>rqe}),aqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},oqe={render:rqe}}));function cqe(e,t){return j(),M(`svg`,uqe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`},null,-1)]])}var lqe,uqe,dqe,fqe=s((()=>{cS(),B(),lqe=sS({default:()=>dqe,render:()=>cqe}),uqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},dqe={render:cqe}}));function pqe(e,t){return j(),M(`svg`,hqe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M18 6 6 18M6 6l12 12`},null,-1)]])}var mqe,hqe,gqe,_qe=s((()=>{cS(),B(),mqe=sS({default:()=>gqe,render:()=>pqe}),hqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},gqe={render:pqe}}));function vqe(e,t){return j(),M(`svg`,bqe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z`},null,-1)]])}var yqe,bqe,xqe,Sqe=s((()=>{cS(),B(),yqe=sS({default:()=>xqe,render:()=>vqe}),bqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},xqe={render:vqe}}));function Cqe(e,t){return j(),M(`svg`,Tqe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`},null,-1)]])}var wqe,Tqe,Eqe,Dqe=s((()=>{cS(),B(),wqe=sS({default:()=>Eqe,render:()=>Cqe}),Tqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Eqe={render:Cqe}}));function Oqe(e,t){return j(),M(`svg`,Aqe,[...t[0]||=[P(`path`,{d:`M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z`},null,-1)]])}var kqe,Aqe,jqe,Mqe=s((()=>{cS(),B(),kqe=sS({default:()=>jqe,render:()=>Oqe}),Aqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},jqe={render:Oqe}}));function Nqe(e,t){return j(),M(`svg`,Fqe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18`},null,-1)]])}var Pqe,Fqe,Iqe,Lqe=s((()=>{cS(),B(),Pqe=sS({default:()=>Iqe,render:()=>Nqe}),Fqe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},Iqe={render:Nqe}}));function Rqe(e,t){return j(),M(`svg`,Bqe,[...t[0]||=[P(`path`,{d:`M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z`},null,-1),P(`path`,{d:`M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0`},null,-1)]])}var zqe,Bqe,Vqe,Hqe=s((()=>{cS(),B(),zqe=sS({default:()=>Vqe,render:()=>Rqe}),Bqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},Vqe={render:Rqe}}));function Uqe(e,t){return j(),M(`svg`,Gqe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08`},null,-1)]])}var Wqe,Gqe,Kqe,qqe=s((()=>{cS(),B(),Wqe=sS({default:()=>Kqe,render:()=>Uqe}),Gqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Kqe={render:Uqe}}));function Jqe(e,t){return j(),M(`svg`,Xqe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223`},null,-1),P(`path`,{fill:`currentColor`,d:`M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425`},null,-1)]])}var Yqe,Xqe,Zqe,Qqe=s((()=>{cS(),B(),Yqe=sS({default:()=>Zqe,render:()=>Jqe}),Xqe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Zqe={render:Jqe}}));function $qe(e,t){return j(),M(`svg`,tJe,[...t[0]||=[P(`path`,{d:`M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244`},null,-1)]])}var eJe,tJe,nJe,rJe=s((()=>{cS(),B(),eJe=sS({default:()=>nJe,render:()=>$qe}),tJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},nJe={render:$qe}}));function iJe(e,t){return j(),M(`svg`,oJe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6`},null,-1)]])}var aJe,oJe,sJe,cJe=s((()=>{cS(),B(),aJe=sS({default:()=>sJe,render:()=>iJe}),oJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},sJe={render:iJe}}));function lJe(e,t){return j(),M(`svg`,dJe,[...t[0]||=[P(`path`,{d:`M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152`},null,-1),P(`path`,{d:`M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5`},null,-1)]])}var uJe,dJe,fJe,pJe=s((()=>{cS(),B(),uJe=sS({default:()=>fJe,render:()=>lJe}),dJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},fJe={render:lJe}}));function mJe(e,t){return j(),M(`svg`,gJe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10`},null,-1)]])}var hJe,gJe,_Je,vJe=s((()=>{cS(),B(),hJe=sS({default:()=>_Je,render:()=>mJe}),gJe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},_Je={render:mJe}}));function yJe(e,t){return j(),M(`svg`,xJe,[...t[0]||=[P(`path`,{d:`M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5`},null,-1)]])}var bJe,xJe,SJe,CJe=s((()=>{cS(),B(),bJe=sS({default:()=>SJe,render:()=>yJe}),xJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},SJe={render:yJe}}));function wJe(e,t){return j(),M(`svg`,EJe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83`},null,-1)]])}var TJe,EJe,DJe,OJe=s((()=>{cS(),B(),TJe=sS({default:()=>DJe,render:()=>wJe}),EJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},DJe={render:wJe}}));function kJe(e,t){return j(),M(`svg`,jJe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z`},null,-1)]])}var AJe,jJe,MJe,NJe=s((()=>{cS(),B(),AJe=sS({default:()=>MJe,render:()=>kJe}),jJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},MJe={render:kJe}}));function PJe(e,t){return j(),M(`svg`,IJe,[...t[0]||=[P(`path`,{d:`M6 11c-.5 0-1 .4-1 1s.5 1 1 1 1-.4 1-1-.5-1-1-1m12 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1m-6 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1`},null,-1)]])}var FJe,IJe,LJe,RJe=s((()=>{cS(),B(),FJe=sS({default:()=>LJe,render:()=>PJe}),IJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},LJe={render:PJe}}));function zJe(e,t){return j(),M(`svg`,VJe,[...t[0]||=[P(`path`,{d:`M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5`},null,-1),P(`path`,{d:`m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014`},null,-1)]])}var BJe,VJe,HJe,UJe=s((()=>{cS(),B(),BJe=sS({default:()=>HJe,render:()=>zJe}),VJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},HJe={render:zJe}}));function WJe(e,t){return j(),M(`svg`,KJe,[...t[0]||=[P(`path`,{d:`M12 17.6c-.2 0-.4-.2-.4-.4s.2-.4.4-.4m0 .8c.2 0 .4-.2.4-.4s-.2-.4-.4-.4m0-3V5.6`},null,-1),P(`path`,{d:`M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10`},null,-1)]])}var GJe,KJe,qJe,JJe=s((()=>{cS(),B(),GJe=sS({default:()=>qJe,render:()=>WJe}),KJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},qJe={render:WJe}}));function YJe(e,t){return j(),M(`svg`,ZJe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z`},null,-1)]])}var XJe,ZJe,QJe,$Je=s((()=>{cS(),B(),XJe=sS({default:()=>QJe,render:()=>YJe}),ZJe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},QJe={render:YJe}}));function eYe(e,t){return j(),M(`svg`,nYe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.4 4H20v13.59M4 20 20 4`},null,-1)]])}var tYe,nYe,rYe,iYe=s((()=>{cS(),B(),tYe=sS({default:()=>rYe,render:()=>eYe}),nYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},rYe={render:eYe}}));function aYe(e,t){return j(),M(`svg`,sYe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 6h16M7.556 12h8.888m-6.222 6h3.556`},null,-1)]])}var oYe,sYe,cYe,lYe=s((()=>{cS(),B(),oYe=sS({default:()=>cYe,render:()=>aYe}),sYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},cYe={render:aYe}}));function uYe(e,t){return j(),M(`svg`,fYe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`},null,-1)]])}var dYe,fYe,pYe,mYe=s((()=>{cS(),B(),dYe=sS({default:()=>pYe,render:()=>uYe}),fYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},pYe={render:uYe}}));function hYe(e,t){return j(),M(`svg`,_Ye,[...t[0]||=[P(`path`,{d:`M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0`},null,-1)]])}var gYe,_Ye,vYe,yYe=s((()=>{cS(),B(),gYe=sS({default:()=>vYe,render:()=>hYe}),_Ye={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 1024 1024`},vYe={render:hYe}}));function bYe(e,t){return j(),M(`svg`,SYe,[...t[0]||=[P(`path`,{d:`M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278`},null,-1)]])}var xYe,SYe,CYe,wYe=s((()=>{cS(),B(),xYe=sS({default:()=>CYe,render:()=>bYe}),SYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},CYe={render:bYe}}));function TYe(e,t){return j(),M(`svg`,DYe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12c0 5.523-4.477 10-10 10m10-10c0-5.523-4.477-10-10-10m10 10H2m10 10C6.477 22 2 17.523 2 12m10 10a14.5 14.5 0 0 1 0-20m0 20a14.5 14.5 0 0 0 0-20M2 12C2 6.477 6.477 2 12 2`},null,-1)]])}var EYe,DYe,OYe,kYe=s((()=>{cS(),B(),EYe=sS({default:()=>OYe,render:()=>TYe}),DYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},OYe={render:TYe}}));function AYe(e,t){return j(),M(`svg`,MYe,[...t[0]||=[P(`path`,{d:`M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33`},null,-1)]])}var jYe,MYe,NYe,PYe=s((()=>{cS(),B(),jYe=sS({default:()=>NYe,render:()=>AYe}),MYe={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},NYe={render:AYe}}));function FYe(e,t){return j(),M(`svg`,LYe,[...t[0]||=[P(`path`,{d:`M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4`},null,-1),P(`path`,{d:`M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10`},null,-1)]])}var IYe,LYe,RYe,zYe=s((()=>{cS(),B(),IYe=sS({default:()=>RYe,render:()=>FYe}),LYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},RYe={render:FYe}}));function BYe(e,t){return j(),M(`svg`,HYe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M9.88 14.12a3 3 0 1 1 4.24-4.24m-3.39 9.04q.632.079 1.27.08c7 0 10-7 10-7a13.2 13.2 0 0 0-1.67-2.68M6.61 17.39A13.5 13.5 0 0 1 2 12s3-7 10-7a9.74 9.74 0 0 1 5.39 1.61M2 22 22 2`},null,-1)]])}var VYe,HYe,UYe,WYe=s((()=>{cS(),B(),VYe=sS({default:()=>UYe,render:()=>BYe}),HYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},UYe={render:BYe}}));function GYe(e,t){return j(),M(`svg`,qYe,[...t[0]||=[P(`path`,{d:`M12.9 6.8v6.1h4.7`},null,-1),P(`path`,{d:`M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4`},null,-1)]])}var KYe,qYe,JYe,YYe=s((()=>{cS(),B(),KYe=sS({default:()=>JYe,render:()=>GYe}),qYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},JYe={render:GYe}}));function XYe(e,t){return j(),M(`svg`,QYe,[...t[0]||=[P(`path`,{d:`M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z`},null,-1)]])}var ZYe,QYe,$Ye,eXe=s((()=>{cS(),B(),ZYe=sS({default:()=>$Ye,render:()=>XYe}),QYe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},$Ye={render:XYe}}));function tXe(e,t){return j(),M(`svg`,rXe,[...t[0]||=[P(`path`,{d:`M12 10.67v7.98M14.66 16 12 18.64 9.34 16`},null,-1),P(`path`,{d:`M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33`},null,-1),P(`path`,{d:`m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02`},null,-1)]])}var nXe,rXe,iXe,aXe=s((()=>{cS(),B(),nXe=sS({default:()=>iXe,render:()=>tXe}),rXe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},iXe={render:tXe}}));function oXe(e,t){return j(),M(`svg`,cXe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2`},null,-1),P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0`,"clip-rule":`evenodd`},null,-1)]])}var sXe,cXe,lXe,uXe=s((()=>{cS(),B(),sXe=sS({default:()=>lXe,render:()=>oXe}),cXe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},lXe={render:oXe}}));function dXe(e,t){return j(),M(`svg`,pXe,[...t[0]||=[P(`path`,{d:`M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33`},null,-1),P(`path`,{d:`M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0`},null,-1)]])}var fXe,pXe,mXe,hXe=s((()=>{cS(),B(),fXe=sS({default:()=>mXe,render:()=>dXe}),pXe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},mXe={render:dXe}}));function gXe(e,t){return j(),M(`svg`,vXe,[...t[0]||=[P(`path`,{d:`M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9`},null,-1)]])}var _Xe,vXe,yXe,bXe=s((()=>{cS(),B(),_Xe=sS({default:()=>yXe,render:()=>gXe}),vXe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},yXe={render:gXe}}));function xXe(e,t){return j(),M(`svg`,CXe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.01M4.93 4.93l3.22 3.22`},null,-1)]])}var SXe,CXe,wXe,TXe=s((()=>{cS(),B(),SXe=sS({default:()=>wXe,render:()=>xXe}),CXe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},wXe={render:xXe}}));function EXe(e,t){return j(),M(`svg`,OXe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576`},null,-1)]])}var DXe,OXe,kXe,AXe=s((()=>{cS(),B(),DXe=sS({default:()=>kXe,render:()=>EXe}),OXe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},kXe={render:EXe}}));function jXe(e,t){return j(),M(`svg`,NXe,[...t[0]||=[P(`path`,{d:`M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6`},null,-1)]])}var MXe,NXe,PXe,FXe=s((()=>{cS(),B(),MXe=sS({default:()=>PXe,render:()=>jXe}),NXe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},PXe={render:jXe}}));function IXe(e,t){return j(),M(`svg`,RXe,[...t[0]||=[P(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{d:`M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M7 10V7a5 5 0 1 1 10 0v3`},null,-1)]])}var LXe,RXe,zXe,BXe=s((()=>{cS(),B(),LXe=sS({default:()=>zXe,render:()=>IXe}),RXe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},zXe={render:IXe}}));function VXe(e,t){return j(),M(`svg`,UXe,[...t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0`},null,-1)]])}var HXe,UXe,WXe,GXe=s((()=>{cS(),B(),HXe=sS({default:()=>WXe,render:()=>VXe}),UXe={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 593 593`},WXe={render:VXe}}));function KXe(e,t){return j(),M(`svg`,JXe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m.75 23.25 15-15m-5.25 0H8.25m15 0H21M21 3l-1.591 1.591M15.75 3V.75m0 15V13.5m-3.659-8.909L10.5 3M21 13.5l-1.591-1.591`},null,-1)]])}var qXe,JXe,YXe,XXe=s((()=>{cS(),B(),qXe=sS({default:()=>YXe,render:()=>KXe}),JXe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},YXe={render:KXe}}));function ZXe(e,t){return j(),M(`svg`,$Xe,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M3 16.142V8.245h2.323l2.322 2.903 2.323-2.903h2.322v7.897H9.968v-4.53l-2.323 2.904-2.322-2.903v4.529zm14.516 0-3.484-3.832h2.323V8.245h2.322v4.065H21z`},null,-1)]])}var QXe,$Xe,eZe,tZe=s((()=>{cS(),B(),QXe=sS({default:()=>eZe,render:()=>ZXe}),$Xe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},eZe={render:ZXe}}));function nZe(e,t){return j(),M(`svg`,iZe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 6.8H2m20 10.4H2`},null,-1)]])}var rZe,iZe,aZe,oZe=s((()=>{cS(),B(),rZe=sS({default:()=>aZe,render:()=>nZe}),iZe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},aZe={render:nZe}}));function sZe(e,t){return j(),M(`svg`,lZe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m4.9 4.9 14.2 14.2M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10`},null,-1)]])}var cZe,lZe,uZe,dZe=s((()=>{cS(),B(),cZe=sS({default:()=>uZe,render:()=>sZe}),lZe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},uZe={render:sZe}}));function fZe(e,t){return j(),M(`svg`,mZe,[...t[0]||=[P(`path`,{d:`M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22`},null,-1),P(`path`,{d:`M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205`},null,-1)]])}var pZe,mZe,hZe,gZe=s((()=>{cS(),B(),pZe=sS({default:()=>hZe,render:()=>fZe}),mZe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},hZe={render:fZe}}));function _Ze(e,t){return j(),M(`svg`,yZe,[...t[0]||=[P(`path`,{d:`M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z`},null,-1)]])}var vZe,yZe,bZe,xZe=s((()=>{cS(),B(),vZe=sS({default:()=>bZe,render:()=>_Ze}),yZe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},bZe={render:_Ze}}));function SZe(e,t){return j(),M(`svg`,wZe,[...t[0]||=[P(`path`,{d:`M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z`},null,-1)]])}var CZe,wZe,TZe,EZe=s((()=>{cS(),B(),CZe=sS({default:()=>TZe,render:()=>SZe}),wZe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},TZe={render:SZe}}));function DZe(e,t){return j(),M(`svg`,kZe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.25 14.248v4.5H.75m18-9v-4.5h4.5m-4.218-.003A9.752 9.752 0 0 1 8.246 21m-3.279-2.249A9.753 9.753 0 0 1 15.754 3`},null,-1)]])}var OZe,kZe,AZe,jZe=s((()=>{cS(),B(),OZe=sS({default:()=>AZe,render:()=>DZe}),kZe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},AZe={render:DZe}}));function MZe(e,t){return j(),M(`svg`,PZe,[...t[0]||=[P(`path`,{d:`M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17`},null,-1)]])}var NZe,PZe,FZe,IZe=s((()=>{cS(),B(),NZe=sS({default:()=>FZe,render:()=>MZe}),PZe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},FZe={render:MZe}}));function LZe(e,t){return j(),M(`svg`,zZe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9`},null,-1)]])}var RZe,zZe,BZe,VZe=s((()=>{cS(),B(),RZe=sS({default:()=>BZe,render:()=>LZe}),zZe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},BZe={render:LZe}}));function HZe(e,t){return j(),M(`svg`,WZe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35`},null,-1)]])}var UZe,WZe,GZe,KZe=s((()=>{cS(),B(),UZe=sS({default:()=>GZe,render:()=>HZe}),WZe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},GZe={render:HZe}}));function qZe(e,t){return j(),M(`svg`,YZe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2m16 0H4m16 0a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2`},null,-1),P(`path`,{fill:`currentColor`,d:`M18 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 8h4m-4 8h4`},null,-1)]])}var JZe,YZe,XZe,ZZe=s((()=>{cS(),B(),JZe=sS({default:()=>XZe,render:()=>qZe}),YZe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},XZe={render:qZe}}));function QZe(e,t){return j(),M(`svg`,eQe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 7H9m0 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0`},null,-1)]])}var $Ze,eQe,tQe,nQe=s((()=>{cS(),B(),$Ze=sS({default:()=>tQe,render:()=>QZe}),eQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},tQe={render:QZe}}));function rQe(e,t){return j(),M(`svg`,aQe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6`},null,-1)]])}var iQe,aQe,oQe,sQe=s((()=>{cS(),B(),iQe=sS({default:()=>oQe,render:()=>rQe}),aQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},oQe={render:rQe}}));function cQe(e,t){return j(),M(`svg`,uQe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 5.4h20M2 12h20M2 18.6h13.3`},null,-1)]])}var lQe,uQe,dQe,fQe=s((()=>{cS(),B(),lQe=sS({default:()=>dQe,render:()=>cQe}),uQe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},dQe={render:cQe}}));function pQe(e,t){return j(),M(`svg`,hQe,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M13 15h5M6 9l4 3-4 3`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z`},null,-1)]])}var mQe,hQe,gQe,_Qe=s((()=>{cS(),B(),mQe=sS({default:()=>gQe,render:()=>pQe}),hQe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},gQe={render:pQe}}));function vQe(e,t){return j(),M(`svg`,bQe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75`},null,-1)]])}var yQe,bQe,xQe,SQe=s((()=>{cS(),B(),yQe=sS({default:()=>xQe,render:()=>vQe}),bQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},xQe={render:vQe}}));function CQe(e,t){return j(),M(`svg`,TQe,[...t[0]||=[P(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{d:`M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M17 10V7a5 5 0 0 0-9.33-2.5`},null,-1)]])}var wQe,TQe,EQe,DQe=s((()=>{cS(),B(),wQe=sS({default:()=>EQe,render:()=>CQe}),TQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},EQe={render:CQe}}));function OQe(e,t){return j(),M(`svg`,AQe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4.9 19.1c-3.038-3.038-3.71-7.592-2.015-11.3M7.8 16.2c-1.397-1.397-1.945-3.346-1.646-5.2M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19m-8.423-8.5a2 2 0 0 1 2.75 2.901M22 22 2 2`},null,-1)]])}var kQe,AQe,jQe,MQe=s((()=>{cS(),B(),kQe=sS({default:()=>jQe,render:()=>OQe}),AQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},jQe={render:OQe}}));function NQe(e,t){return j(),M(`svg`,FQe,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7`},null,-1)]])}var PQe,FQe,IQe,LQe=s((()=>{cS(),B(),PQe=sS({default:()=>IQe,render:()=>NQe}),FQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},IQe={render:NQe}}));function RQe(e,t){return j(),M(`svg`,BQe,[...t[0]||=[P(`path`,{d:`M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z`},null,-1),P(`circle`,{cx:`12`,cy:`6.2`,r:`4.5`},null,-1)]])}var zQe,BQe,VQe,HQe=s((()=>{cS(),B(),zQe=sS({default:()=>VQe,render:()=>RQe}),BQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},VQe={render:RQe}}));function UQe(e,t){return j(),M(`svg`,GQe,[...t[0]||=[P(`path`,{d:`M11.101 1.488H4.83a1 1 0 0 0-1 1v6.614m9.069 13.41h6.272a1 1 0 0 0 1-1v-6.614`},null,-1),P(`path`,{d:`m1.23 6.5 2.6 2.6 2.601-2.6m16.339 11-2.6-2.6-2.601 2.6M5.505 18.546a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.29-3.202-4.276-3.202-1.988 0-3.718 1.372-4.277 3.202m17.264-15.92a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.289-3.202-4.276-3.202s-3.718 1.372-4.276 3.202`},null,-1)]])}var WQe,GQe,KQe,qQe=s((()=>{cS(),B(),WQe=sS({default:()=>KQe,render:()=>UQe}),GQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},KQe={render:UQe}}));function JQe(e,t){return j(),M(`svg`,XQe,[...t[0]||=[P(`path`,{d:`M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583`},null,-1)]])}var YQe,XQe,ZQe,QQe=s((()=>{cS(),B(),YQe=sS({default:()=>ZQe,render:()=>JQe}),XQe={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},ZQe={render:JQe}}));function $Qe(e,t){return j(),M(`svg`,t$e,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m5.246 12.069-2.74 1.569a1 1 0 0 0 .001 1.74l8.5 4.87a2 2 0 0 0 2 0l8.5-4.87a.999.999 0 0 0 0-1.74l-2.702-1.548m-5.798 3.158a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l8.5-4.87a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z`},null,-1)]])}var e$e,t$e,n$e,r$e=s((()=>{cS(),B(),e$e=sS({default:()=>n$e,render:()=>$Qe}),t$e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},n$e={render:$Qe}}));function i$e(e,t){return j(),M(`svg`,o$e,[...t[0]||=[P(`path`,{d:`M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5`},null,-1),P(`path`,{d:`M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5`},null,-1)]])}var a$e,o$e,s$e,c$e=s((()=>{cS(),B(),a$e=sS({default:()=>s$e,render:()=>i$e}),o$e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},s$e={render:i$e}}));function l$e(e,t){return j(),M(`svg`,d$e,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9m2.9 11.3c-2.3-2.3-2.3-6.1 0-8.5m8.4.1c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0`},null,-1)]])}var u$e,d$e,f$e,p$e=s((()=>{cS(),B(),u$e=sS({default:()=>f$e,render:()=>l$e}),d$e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},f$e={render:l$e}}));function m$e(e,t){return j(),M(`svg`,g$e,[...t[0]||=[P(`path`,{d:`M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75`},null,-1)]])}var h$e,g$e,_$e,v$e=s((()=>{cS(),B(),h$e=sS({default:()=>_$e,render:()=>m$e}),g$e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},_$e={render:m$e}}));function y$e(e,t){return j(),M(`svg`,x$e,[...t[0]||=[P(`path`,{d:`M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z`},null,-1)]])}var b$e,x$e,S$e,C$e=s((()=>{cS(),B(),b$e=sS({default:()=>S$e,render:()=>y$e}),x$e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},S$e={render:y$e}}));function w$e(e,t){return j(),M(`svg`,E$e,[...t[0]||=[P(`path`,{d:`M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z`},null,-1)]])}var T$e,E$e,D$e,O$e=s((()=>{cS(),B(),T$e=sS({default:()=>D$e,render:()=>w$e}),E$e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},D$e={render:w$e}}));function k$e(e,t){return j(),M(`svg`,j$e,[...t[0]||=[P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z`,"clip-rule":`evenodd`},null,-1)]])}var A$e,j$e,M$e,N$e=s((()=>{cS(),B(),A$e=sS({default:()=>M$e,render:()=>k$e}),j$e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},M$e={render:k$e}}));function P$e(e,t){return j(),M(`svg`,I$e,[...t[0]||=[P(`path`,{d:`M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z`},null,-1)]])}var F$e,I$e,L$e,R$e=s((()=>{cS(),B(),F$e=sS({default:()=>L$e,render:()=>P$e}),I$e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},L$e={render:P$e}}));function z$e(e,t){return j(),M(`svg`,V$e,[...t[0]||=[P(`path`,{d:`M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565`},null,-1)]])}var B$e,V$e,H$e,U$e=s((()=>{cS(),B(),B$e=sS({default:()=>H$e,render:()=>z$e}),V$e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},H$e={render:z$e}}));function W$e(e,t){return j(),M(`svg`,K$e,[...t[0]||=[P(`path`,{d:`M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51`},null,-1),P(`path`,{d:`m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z`},null,-1)]])}var G$e,K$e,q$e,J$e=s((()=>{cS(),B(),G$e=sS({default:()=>q$e,render:()=>W$e}),K$e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},q$e={render:W$e}}));function Y$e(e,t){return j(),M(`svg`,Z$e,[...t[0]||=[P(`path`,{d:`m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5`},null,-1)]])}var X$e,Z$e,Q$e,$$e=s((()=>{cS(),B(),X$e=sS({default:()=>Q$e,render:()=>Y$e}),Z$e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},Q$e={render:Y$e}}));function e1e(e,t){return j(),M(`svg`,n1e,[...t[0]||=[P(`path`,{d:`M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z`},null,-1)]])}var t1e,n1e,r1e,i1e=s((()=>{cS(),B(),t1e=sS({default:()=>r1e,render:()=>e1e}),n1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},r1e={render:e1e}}));function a1e(e,t){return j(),M(`svg`,s1e,[...t[0]||=[P(`path`,{d:`m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z`},null,-1)]])}var o1e,s1e,c1e,l1e=s((()=>{cS(),B(),o1e=sS({default:()=>c1e,render:()=>a1e}),s1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},c1e={render:a1e}}));function u1e(e,t){return j(),M(`svg`,f1e,[...t[0]||=[P(`path`,{d:`M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z`},null,-1)]])}var d1e,f1e,p1e,m1e=s((()=>{cS(),B(),d1e=sS({default:()=>p1e,render:()=>u1e}),f1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},p1e={render:u1e}}));function h1e(e,t){return j(),M(`svg`,_1e,[...t[0]||=[P(`path`,{d:`m7.91 9.32.09.09V35.3l-5.09-5.09a6.22 6.22 0 0 1-1.27-6.92zM35.3 8H9.41l-.09-.09 13.97-6.27a6.22 6.22 0 0 1 6.92 1.27zm2.29 31H11.71l-.54-.54A4 4 0 0 1 10 35.63V11.41zm-23.88 2H39v6c0 .55-.45 1-1 1H21.1c-.27 0-.52-.11-.71-.29l-4.7-4.7.02-.02zM48 21.1V38c0 .55-.45 1-1 1h-6.58L11.41 10h24.22c1.07 0 2.07.42 2.83 1.17l4.53 4.54.02-.02 4.7 4.7c.18.19.29.44.29.71`},null,-1)]])}var g1e,_1e,v1e,y1e=s((()=>{cS(),B(),g1e=sS({default:()=>v1e,render:()=>h1e}),_1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 50 50`},v1e={render:h1e}}));function b1e(e,t){return j(),M(`svg`,S1e,[...t[0]||=[P(`path`,{d:`M0 64.5 60.7 3.8v30.4L30.4 64.5l30.4 30.4v30.4zm39.1 0 21.7-21.7v43.4zm88.9 0L65.1 3.8v30.4l30.4 30.4-30.4 30.3v30.4z`},null,-1)]])}var x1e,S1e,C1e,w1e=s((()=>{cS(),B(),x1e=sS({default:()=>C1e,render:()=>b1e}),S1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},C1e={render:b1e}}));function T1e(e,t){return j(),M(`svg`,D1e,[...t[0]||=[P(`path`,{d:`M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1`},null,-1)]])}var E1e,D1e,O1e,k1e=s((()=>{cS(),B(),E1e=sS({default:()=>O1e,render:()=>T1e}),D1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},O1e={render:T1e}}));function A1e(e,t){return j(),M(`svg`,M1e,[...t[0]||=[P(`path`,{d:`M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z`},null,-1)]])}var j1e,M1e,N1e,P1e=s((()=>{cS(),B(),j1e=sS({default:()=>N1e,render:()=>A1e}),M1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},N1e={render:A1e}}));function F1e(e,t){return j(),M(`svg`,L1e,[...t[0]||=[P(`path`,{d:`M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1`},null,-1)]])}var I1e,L1e,R1e,z1e=s((()=>{cS(),B(),I1e=sS({default:()=>R1e,render:()=>F1e}),L1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},R1e={render:F1e}}));function B1e(e,t){return j(),M(`svg`,H1e,[...t[0]||=[P(`path`,{d:`M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05`},null,-1),P(`path`,{d:`M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36`},null,-1),P(`path`,{d:`M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38`},null,-1)]])}var V1e,H1e,U1e,W1e=s((()=>{cS(),B(),V1e=sS({default:()=>U1e,render:()=>B1e}),H1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},U1e={render:B1e}}));function G1e(e,t){return j(),M(`svg`,q1e,[...t[0]||=[P(`path`,{d:`M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z`},null,-1)]])}var K1e,q1e,J1e,Y1e=s((()=>{cS(),B(),K1e=sS({default:()=>J1e,render:()=>G1e}),q1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},J1e={render:G1e}}));function X1e(e,t){return j(),M(`svg`,Q1e,[...t[0]||=[P(`path`,{d:`M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43`},null,-1),P(`path`,{d:`M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12`},null,-1)]])}var Z1e,Q1e,$1e,e0e=s((()=>{cS(),B(),Z1e=sS({default:()=>$1e,render:()=>X1e}),Q1e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},$1e={render:X1e}}));function t0e(e,t){return j(),M(`svg`,r0e,[...t[0]||=[P(`circle`,{cx:`64`,cy:`36.57`,r:`27.43`},null,-1),P(`circle`,{cx:`32.32`,cy:`91.43`,r:`27.43`},null,-1),P(`circle`,{cx:`95.68`,cy:`91.43`,r:`27.43`},null,-1)]])}var n0e,r0e,i0e,a0e=s((()=>{cS(),B(),n0e=sS({default:()=>i0e,render:()=>t0e}),r0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},i0e={render:t0e}}));function o0e(e,t){return j(),M(`svg`,c0e,[...t[0]||=[P(`path`,{d:`M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z`},null,-1)]])}var s0e,c0e,l0e,u0e=s((()=>{cS(),B(),s0e=sS({default:()=>l0e,render:()=>o0e}),c0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},l0e={render:o0e}}));function d0e(e,t){return j(),M(`svg`,p0e,[...t[0]||=[P(`path`,{d:`M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69`},null,-1),P(`path`,{d:`M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85`},null,-1)]])}var f0e,p0e,m0e,h0e=s((()=>{cS(),B(),f0e=sS({default:()=>m0e,render:()=>d0e}),p0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},m0e={render:d0e}}));function g0e(e,t){return j(),M(`svg`,v0e,[...t[0]||=[P(`path`,{d:`M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z`},null,-1),P(`path`,{d:`M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z`},null,-1)]])}var _0e,v0e,y0e,b0e=s((()=>{cS(),B(),_0e=sS({default:()=>y0e,render:()=>g0e}),v0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},y0e={render:g0e}}));function x0e(e,t){return j(),M(`svg`,C0e,[...t[0]||=[P(`path`,{d:`M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 13.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0`},null,-1)]])}var S0e,C0e,w0e,T0e=s((()=>{cS(),B(),S0e=sS({default:()=>w0e,render:()=>x0e}),C0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},w0e={render:x0e}}));function E0e(e,t){return j(),M(`svg`,O0e,[...t[0]||=[P(`path`,{d:`M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29`},null,-1)]])}var D0e,O0e,k0e,A0e=s((()=>{cS(),B(),D0e=sS({default:()=>k0e,render:()=>E0e}),O0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},k0e={render:E0e}}));function j0e(e,t){return j(),M(`svg`,N0e,[...t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1`,"clip-rule":`evenodd`},null,-1)]])}var M0e,N0e,P0e,F0e=s((()=>{cS(),B(),M0e=sS({default:()=>P0e,render:()=>j0e}),N0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 121 121`},P0e={render:j0e}}));function I0e(e,t){return j(),M(`svg`,R0e,[...t[0]||=[P(`path`,{d:`m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z`},null,-1)]])}var L0e,R0e,z0e,B0e=s((()=>{cS(),B(),L0e=sS({default:()=>z0e,render:()=>I0e}),R0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},z0e={render:I0e}}));function V0e(e,t){return j(),M(`svg`,U0e,[...t[0]||=[P(`path`,{d:`M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z`},null,-1),P(`path`,{"fill-rule":`evenodd`,d:`M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z`},null,-1)]])}var H0e,U0e,W0e,G0e=s((()=>{cS(),B(),H0e=sS({default:()=>W0e,render:()=>V0e}),U0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},W0e={render:V0e}}));function K0e(e,t){return j(),M(`svg`,J0e,[...t[0]||=[P(`path`,{d:`M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z`},null,-1)]])}var q0e,J0e,Y0e,X0e=s((()=>{cS(),B(),q0e=sS({default:()=>Y0e,render:()=>K0e}),J0e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Y0e={render:K0e}}));function Z0e(e,t){return j(),M(`svg`,$0e,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481`},null,-1)]])}var Q0e,$0e,e2e,t2e=s((()=>{cS(),B(),Q0e=sS({default:()=>e2e,render:()=>Z0e}),$0e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},e2e={render:Z0e}}));function n2e(e,t){return j(),M(`svg`,i2e,[...t[0]||=[P(`path`,{d:`M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z`},null,-1)]])}var r2e,i2e,a2e,o2e=s((()=>{cS(),B(),r2e=sS({default:()=>a2e,render:()=>n2e}),i2e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},a2e={render:n2e}}));function s2e(e,t){return j(),M(`svg`,l2e,[...t[0]||=[P(`path`,{d:`m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z`},null,-1)]])}var c2e,l2e,u2e,d2e=s((()=>{cS(),B(),c2e=sS({default:()=>u2e,render:()=>s2e}),l2e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 17 17`},u2e={render:s2e}}));function f2e(e,t){return j(),M(`svg`,m2e,[...t[0]||=[P(`path`,{d:`M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5`},null,-1)]])}var p2e,m2e,h2e,g2e=s((()=>{cS(),B(),p2e=sS({default:()=>h2e,render:()=>f2e}),m2e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},h2e={render:f2e}}));function _2e(e,t){return j(),M(`svg`,y2e,[...t[0]||=[P(`path`,{d:`M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z`},null,-1)]])}var v2e,y2e,b2e,x2e=s((()=>{cS(),B(),v2e=sS({default:()=>b2e,render:()=>_2e}),y2e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},b2e={render:_2e}}));function S2e(e,t){return j(),M(`svg`,w2e,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6`},null,-1)]])}var C2e,w2e,T2e,E2e=s((()=>{cS(),B(),C2e=sS({default:()=>T2e,render:()=>S2e}),w2e={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},T2e={render:S2e}}));function D2e(e,t){return j(),M(`svg`,k2e,[...t[0]||=[P(`path`,{d:`M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18`},null,-1)]])}var O2e,k2e,A2e,j2e=s((()=>{cS(),B(),O2e=sS({default:()=>A2e,render:()=>D2e}),k2e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},A2e={render:D2e}}));function M2e(e,t){return j(),M(`svg`,P2e,[...t[0]||=[P(`path`,{d:`M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12`},null,-1)]])}var N2e,P2e,F2e,I2e=s((()=>{cS(),B(),N2e=sS({default:()=>F2e,render:()=>M2e}),P2e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},F2e={render:M2e}}));function L2e(e,t){return j(),M(`svg`,z2e,[...t[0]||=[P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M2 11.997C2 20.066 3.934 22 11.997 22 20.066 22 22 20.066 22 11.997 22 3.934 20.06 2 11.997 2S2 3.934 2 11.997m4.034 2.081 3.129-7.132a2.96 2.96 0 0 1 2.828-1.848c1.285 0 2.302.649 2.834 1.848l3.135 7.132c.14.343.263.796.263 1.182 0 1.77-1.243 3.012-3.012 3.012-.606 0-1.084-.153-1.567-.306a5.1 5.1 0 0 0-1.653-.325c-.643 0-1.157.16-1.665.325-.49.153-.968.306-1.55.306A2.89 2.89 0 0 1 5.76 15.26c0-.392.122-.839.27-1.182zm5.963-5.889L8.905 15.2c.919-.429 1.972-.637 3.092-.637 1.084 0 2.18.208 3.06.637z`,"clip-rule":`evenodd`},null,-1)]])}var R2e,z2e,B2e,V2e=s((()=>{cS(),B(),R2e=sS({default:()=>B2e,render:()=>L2e}),z2e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},B2e={render:L2e}}));function H2e(e,t){return j(),M(`svg`,W2e,[...t[0]||=[P(`path`,{d:`M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z`},null,-1)]])}var U2e,W2e,G2e,K2e=s((()=>{cS(),B(),U2e=sS({default:()=>G2e,render:()=>H2e}),W2e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},G2e={render:H2e}}));function q2e(e,t){return j(),M(`svg`,Y2e,[...t[0]||=[ni(`<path fill="#fff" fill-rule="evenodd" d="M11.9 7.2h8.4v3.4h-8.4z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M4.3 18.3c-.74 0-1.384-.403-1.73-1a2 2 0 0 0 1.73 3h2v-2z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M13.298 7.738 20.3 7.3v-1a2 2 0 0 0-2-2h-9l-.25-.433a.29.29 0 0 0-.5 0L8.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L7.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L6.3 4.3h-.006l-.415-.414a.29.29 0 0 0-.482.13l-.137.51-.52-.14a.29.29 0 0 0-.353.354l.139.52-.51.136a.29.29 0 0 0-.13.483l.414.415V6.3l-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8l-7.002-.438a1.065 1.065 0 0 1 0-2.124" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M16.3 20.3h3v-4h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M17.3 14.3h3v-2h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M8.3 7.55a.25.25 0 0 1-.25-.25.75.75 0 0 0-1.5 0 .25.25 0 0 1-.5 0 1.25 1.25 0 0 1 2.5 0 .25.25 0 0 1-.25.25" clip-rule="evenodd"></path><path fill="#FFFF50" fill-rule="evenodd" d="M12.3 20.3h6a2 2 0 0 0 2-2v-7h-6a2 2 0 0 0-2 2z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M18.802 14.4h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0-4.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 1.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2M20.3 8.161h-.003c-.31.01-.456.32-.585.592-.134.285-.238.47-.409.465-.189-.007-.297-.22-.411-.446-.132-.26-.282-.554-.596-.543-.305.01-.452.28-.581.517-.138.253-.232.406-.412.4-.193-.008-.295-.181-.414-.382-.132-.224-.285-.475-.593-.467-.3.01-.447.239-.577.44-.137.213-.233.343-.416.336-.198-.007-.3-.151-.417-.318-.133-.187-.282-.4-.59-.39-.293.01-.44.198-.57.363-.123.156-.219.28-.422.272a.1.1 0 0 0-.008.2c.302.01.455-.18.588-.349.117-.15.219-.278.419-.285.192-.008.283.111.42.304.13.184.276.392.572.402.31.01.46-.221.592-.426.119-.184.22-.342.415-.349.18-.006.277.135.415.368.13.22.276.47.579.48.312.01.463-.262.594-.503.114-.21.222-.406.412-.413.18-.004.273.16.411.433.13.255.276.544.583.556h.017c.306 0 .452-.308.58-.58.114-.24.222-.468.407-.477z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 20.3h4v-4h-4z" clip-rule="evenodd"></path><path fill="#D8D8D8" d="m20.276 9.922-7.778 2.084a.2.2 0 0 0-.141.245l.76 2.837a.2.2 0 0 0 .245.141l7.777-2.084a.2.2 0 0 0 .142-.245l-.76-2.836a.2.2 0 0 0-.245-.142"></path><path fill="#4A4A4A" d="m14.845 13.56-.278.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.56-.15-.28.075a.1.1 0 0 0-.07.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.558-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.559-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m13.082 14.032 1.187-.318a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-1.187.318a.1.1 0 0 1-.123-.07l-.075-.279a.1.1 0 0 1 .071-.122m6.533-1.75 1.187-.319a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-1.188.318a.1.1 0 0 1-.122-.07l-.075-.28a.1.1 0 0 1 .071-.122Zm-6.835.621.453-.121a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-.454.121a.1.1 0 0 1-.122-.07l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.792 12.632-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.483 10.771-.454.122a.1.1 0 0 1-.122-.071l-.075-.278a.1.1 0 0 1 .071-.123l.453-.121a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m12.93 13.462.645-.173a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-.646.173a.1.1 0 0 1-.123-.071l-.074-.278a.1.1 0 0 1 .07-.123Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m14.151 13.135-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.56-.15-.28.075a.1.1 0 0 0-.07.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Zm.558-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07m.558-.15-.277.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.039 11.557.61-.164a.1.1 0 0 1 .123.071l.074.279a.1.1 0 0 1-.07.122l-.61.164a.1.1 0 0 1-.123-.071l-.075-.278a.1.1 0 0 1 .07-.123z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.517 14.54-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m15.474 14.016 2.69-.72a.1.1 0 0 1 .122.07l.074.278a.1.1 0 0 1-.07.123l-2.69.72a.1.1 0 0 1-.122-.07l-.074-.279a.1.1 0 0 1 .07-.122m2.97-.796.348-.093a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122l-.349.094a.1.1 0 0 1-.122-.071l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.351 12.977-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm1.048-.281-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm-.845.442-.028-.104a.1.1 0 0 1 .07-.123l.28-.074a.1.1 0 0 1 .122.07l.027.105zm.49-.057.028.105a.1.1 0 0 1-.07.122l-.279.075a.1.1 0 0 1-.122-.07l-.028-.105zm-.344-2.893-7.652 2.05a.108.108 0 1 0 .057.21l7.65-2.05a.108.108 0 1 0-.055-.21"></path><path fill="#D8D8D8" d="m13.075 12-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.603-.162-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 0 0-.038-.14m.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.038-.14Zm.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.301.08a.072.072 0 1 0 .037.14l.301-.08a.072.072 0 1 0-.037-.14m.464-.124-.301.08a.072.072 0 0 0 .037.14l.302-.08a.072.072 0 0 0-.038-.14" opacity=".136"></path><path fill="#44D860" fill-rule="evenodd" d="M16.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 14.3h4v-2h-4z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M15.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M16.3 6.175a.3.3 0 0 1-.096-.019.3.3 0 0 1-.081-.054.3.3 0 0 1-.054-.081.26.26 0 0 1 0-.192.26.26 0 0 1 .092-.112.3.3 0 0 1 .09-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .073.177.25.25 0 0 1-.154.231.3.3 0 0 1-.096.02Zm2-.125a.26.26 0 0 1-.208-.11.26.26 0 0 1-.042-.139.26.26 0 0 1 .11-.209.3.3 0 0 1 .091-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .054.273l-.023.043-.031.038a.26.26 0 0 1-.177.073" clip-rule="evenodd"></path>`,29)]])}var J2e,Y2e,X2e,Z2e=s((()=>{cS(),B(),J2e=sS({default:()=>X2e,render:()=>q2e}),Y2e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},X2e={render:q2e}}));function Q2e(e,t){return j(),M(`svg`,e4e,[...t[0]||=[P(`path`,{fill:`#512BD4`,d:`M22 2H2v20h20z`},null,-1),P(`path`,{fill:`#fff`,d:`M5.565 14.778a.5.5 0 0 1-.361-.142.47.47 0 0 1-.148-.344.47.47 0 0 1 .148-.348.5.5 0 0 1 .36-.145q.216 0 .365.145a.46.46 0 0 1 .152.348.46.46 0 0 1-.152.344.5.5 0 0 1-.364.142m5.653-.08h-.92l-2.421-3.82a1.7 1.7 0 0 1-.152-.301h-.021q.028.166.028.714v3.407h-.813V9.5h.98l2.34 3.73q.148.232.19.319h.015a5 5 0 0 1-.036-.7V9.5h.81zm3.96 0h-2.846V9.5h2.732v.732h-1.89v1.472h1.742v.728h-1.743v1.537h2.005zm4.044-4.466h-1.456v4.466h-.842v-4.466h-1.453V9.5h3.751z`},null,-1)]])}var $2e,e4e,t4e,n4e=s((()=>{cS(),B(),$2e=sS({default:()=>t4e,render:()=>Q2e}),e4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},t4e={render:Q2e}}));function r4e(e,t){return j(),M(`svg`,a4e,[...t[0]||=[ni(`<path fill="#333" fill-rule="evenodd" d="M18.578 20.398A9.98 9.98 0 0 0 22 12.866c0-5.523-4.477-10-10-10s-10 4.477-10 10a9.97 9.97 0 0 0 3.24 7.369l.01-.064 13.123-4.297z" clip-rule="evenodd"></path><path fill="#CCC" d="m9.419 4.067-1.774-.264.265-.081q.242-.076.444-.228l.042-.032a1.22 1.22 0 0 0 .466-.778l.02-.124q.032-.202-.003-.403a.073.073 0 0 1 .1-.08l.072.03q.136.056.263.132l.302.182c.4.242.752.558 1.036.931l.2.264a1.33 1.33 0 0 0 .618.45l.14.05-.732.03a8 8 0 0 1-1.46-.08Z"></path><path fill="#CCC" d="m8.966 5.64.526-.962a.03.03 0 0 0 0-.03l-.179-.378a.68.68 0 0 0-.614-.388l-.05-.002a4.7 4.7 0 0 1-1.017-.148l-.065-.017a4 4 0 0 1-.79-.297l-.111-.055a3 3 0 0 1-.474-.3l-.147-.115a.1.1 0 0 0-.14.02 1 1 0 0 0-.185.47l-.027.235a2 2 0 0 0-.004.379l.065.734c.049.547.237 1.071.548 1.524l.066.097q.144.209.331.38a.1.1 0 0 0 .064.027A2.28 2.28 0 0 0 8.966 5.64"></path><path fill="#EDEDED" d="m6.976 6.832.625-.27a.45.45 0 1 0-.458-.769l-.148.117a1 1 0 0 0-.097.094l-.356.428a.15.15 0 0 0 .009.203l.11.126a.275.275 0 0 0 .315.071"></path><path fill="#B2B2B2" d="m7.78 3.758-.018.006.057.018c.247.08.504.125.763.138a.1.1 0 0 0 .038-.005l.118-.034.059-.02-.374-.08a.3.3 0 0 1-.134-.066.063.063 0 0 1 0-.096l.056-.046a.6.6 0 0 0 .157-.2c-.216.171-.46.301-.721.385Z"></path><path fill="#fff" d="M9.92 10.578 4.825 19.69a.078.078 0 0 1-.124.017l-.102-.103-.43-.488-.274-.354a8 8 0 0 1-.693-1.067l-.04-.072a8 8 0 0 1-.536-1.24l-.137-.412a5.55 5.55 0 0 1-.139-2.295l.005-.032a5.7 5.7 0 0 1 .24-.988l.226-.669.17-.356a5 5 0 0 1 1.067-1.473l.215-.204a3.8 3.8 0 0 1 1.576-.897 3 3 0 0 1-.422.084l-.281.033-.215.02-.235.04-.234.021-.156.017-.113.007c-.036.002-.053-.044-.024-.065l.157-.076a2.65 2.65 0 0 0 1.19-1.135l.174-.271a2.6 2.6 0 0 1 .808-.802l.067-.043q.182-.115.385-.187l.615-.217a.43.43 0 0 0 .253-.236l.009-.022a.34.34 0 0 0-.083-.38l-.108-.099-.018-.02-.696-.926-.555-.764a.97.97 0 0 1-.184-.517.04.04 0 0 1 .056-.038l.6.288a2.38 2.38 0 0 0 1.666.148q.195-.053.394-.075l.276-.028a5.7 5.7 0 0 1 2.064.17l.058.016.656.236a3 3 0 0 1 1.785 1.756l.138.536a2.17 2.17 0 0 0 .863 1.246l.35.244q.232.162.483.287l.775.388a.062.062 0 0 1 .022.093 2.1 2.1 0 0 1-.82.644l-.449.195a4 4 0 0 1-.55.193l-.33.088a5.5 5.5 0 0 1-1.417.188h-.79a1.3 1.3 0 0 1-.477-.091 1.3 1.3 0 0 0-1.615.576Z"></path><path fill="#666" d="m12.593 7.292.344.004c.047 0 .057-.065.013-.079a1.4 1.4 0 0 1-.212-.087l-.269-.139a2.8 2.8 0 0 1-.51-.338l-.053-.044q-.18-.15-.323-.334l-.06-.078a.034.034 0 0 0-.062.023c.04.598.533 1.065 1.132 1.072"></path><path fill="#CCC" d="m5.212 19.834 5.824-5.195a7.8 7.8 0 0 0 1.417-1.677l.035-.057a2.3 2.3 0 0 0 .237-1.239l-.052-.587a1.66 1.66 0 0 0-.424-.97.1.1 0 0 0-.036-.02l-.936-.192a4.2 4.2 0 0 0-2.092-.086l-.037.008-.544.127a6.74 6.74 0 0 0-3.94 2.63l-.023.034a6.4 6.4 0 0 0-.665 1.168l-.032.074a6.07 6.07 0 0 0-.441 3.31l.054.367a3.7 3.7 0 0 0 .932 1.96l.297.324a.304.304 0 0 0 .426.021"></path><path fill="#5E5E5E" d="m10.31 12.9-.018.01c-.492.281-.756.811-.73 1.377.007.16.168.308.323.264l.285-.081a2.6 2.6 0 0 0 1.001-.539l.829-.713.246-.182a6.6 6.6 0 0 1 4.979-1.209c.054.009.056.086.002.097l-.207.043-.095.033a1 1 0 0 0-.48.359.04.04 0 0 0 .044.062l.068-.021a3.2 3.2 0 0 1 1.184-.132l.157.012a2.86 2.86 0 0 1 2.159 1.137l.192.256c.57.758.812 1.714.67 2.652l-.074.49a4.7 4.7 0 0 1-.713 1.87l-.027.04-.41.547-.449.508-.411.395q-.566.542-1.227.962l-.14.088-.266.127c-.069.033-.126-.061-.065-.107l.37-.352.077-.08c.206-.216.355-.482.431-.77l.035-.134a.715.715 0 0 0-.549-.886.7.7 0 0 0-.583.146l-.367.299-.649.53a8 8 0 0 1-1.376.902l-.67.345-1.133.43-.238.064a8 8 0 0 1-1.263.235l-.316.032H9.891l-1.348-.146-.73-.158a4.55 4.55 0 0 1-1.91-.917l-.563-.458a3.02 3.02 0 0 1-1.177-2.168l-.034-.45.04-.631a4.6 4.6 0 0 1 1.956-3.483l.12-.084a5.2 5.2 0 0 1 1.646-.763l.396-.105a3.4 3.4 0 0 1 1.577-.042l.413.086c.104.022.126.16.034.212Z"></path>`,9)]])}var i4e,a4e,o4e,s4e=s((()=>{cS(),B(),i4e=sS({default:()=>o4e,render:()=>r4e}),a4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},o4e={render:r4e}}));function c4e(e,t){return j(),M(`svg`,u4e,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m16.378 12.034-4.148-5.53h.507c.369 0 .738.185.968.461l3.272 4.286 3.226-4.24c.322-.322.691-.507 1.06-.507h.553l-4.194 5.53L22 17.841h-.553c-.369 0-.737-.185-.968-.507l-3.456-4.516-3.456 4.516c-.23.322-.6.46-.968.46h-.553zm-13.456.461v.369c0 1.935 1.29 3.686 3.18 4.147a4.15 4.15 0 0 0 4.654-2.258c.138-.23.368-.415.645-.415h.46a5.07 5.07 0 0 1-4.792 3.687C4.212 18.025 2 15.583 2 12.541v-1.29c0-2.489 1.751-4.747 4.24-5.207a5.07 5.07 0 0 1 5.898 5.069v1.382zm0-.921h8.295v-.461a4.148 4.148 0 0 0-5.07-4.056c-1.935.461-3.225 2.212-3.225 4.378z`},null,-1)]])}var l4e,u4e,d4e,f4e=s((()=>{cS(),B(),l4e=sS({default:()=>d4e,render:()=>c4e}),u4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},d4e={render:c4e}}));function p4e(e,t){return j(),M(`svg`,h4e,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m-.7 4.5h6.3L11.3 11h4.3l-9.2 6.4 2-4.4 1-2 2-4.5z`},null,-1)]])}var m4e,h4e,g4e,_4e=s((()=>{cS(),B(),m4e=sS({default:()=>g4e,render:()=>p4e}),h4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},g4e={render:p4e}}));function v4e(e,t){return j(),M(`svg`,b4e,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M23.241 7.492 24 5.536l-.031-.125-7.479 1.971c.798-1.158.524-2.08.524-2.08s-2.386 1.525-4.193 1.486c-1.807-.04-2.386-.525-5.155.36-2.769.883-3.551 3.59-4.357 4.177-.798.579-3.309 2.51-3.309 2.51l2.269-.727s-.642.61-1.964 2.386v.008c.211.297 1.142 1.525 2.065 1.26.102-.032.22-.087.352-.15.415.236.97.462 1.573.525 0 0-.407-.47-.751-1.017l.281-.18-.047.031.869.313-.094-.813h.008l.844.313-.101-.744.32-.156.884-3.348 3.661-2.503-.289.735c-.743 1.823-2.136 2.253-2.136 2.253l-.578.227c-.438.508-.618.634-.767 2.354.352-.093.68-.11.986-.03 1.564.422 2.104 2.307 1.681 2.831-.101.125-.352.352-.672.61H7.76l-.008.516-.062.055h-.65l-.007.5-.173.126c-.602.016-1.376-.516-1.376-.516.008.485.406 1.228.406 1.228l.07-.04-.062.048s1.627 1.08 2.652.68c.908-.36 3.262-2.214 5.296-3.09l6.149-1.627.813-2.096-4.685 1.236V13.14l5.499-1.448.814-2.104-6.313 1.666V9.37zm-11.163 3.997 1.463-.383.016.07-.454 1.181-1.51.4zm.5 2.527-1.509.399.493-1.268 1.455-.383.023.07zm1.972-.423-1.51.4.493-1.268 1.455-.383.024.07z`},null,-1)]])}var y4e,b4e,x4e,S4e=s((()=>{cS(),B(),y4e=sS({default:()=>x4e,render:()=>v4e}),b4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},x4e={render:v4e}}));function C4e(e,t){return j(),M(`svg`,T4e,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M1.81 10.714c-.046 0-.058-.023-.034-.058l.245-.316c.023-.035.082-.058.128-.058h4.17c.047 0 .059.035.035.07l-.198.304c-.024.035-.082.07-.117.07zM.048 11.789c-.047 0-.059-.024-.035-.059l.245-.315c.023-.035.082-.059.128-.059h5.327c.047 0 .07.036.058.07l-.093.28c-.012.048-.058.07-.105.07zm2.826 1.074c-.046 0-.058-.035-.035-.07l.164-.292c.023-.035.07-.07.117-.07h2.336c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082l-2.546-.012Zm12.125-2.36-1.962.515c-.175.046-.187.058-.339-.117a1.6 1.6 0 0 0-.549-.444 2.03 2.03 0 0 0-2.114.175 2.49 2.49 0 0 0-1.192 2.22c.012.934.655 1.705 1.577 1.833.795.106 1.46-.175 1.986-.77l.316-.433h-2.255c-.245 0-.304-.151-.222-.35.152-.362.432-.97.596-1.273a.32.32 0 0 1 .292-.187h4.252c-.024.315-.024.63-.07.946a5 5 0 0 1-.958 2.29 4.87 4.87 0 0 1-3.33 1.985 4.14 4.14 0 0 1-3.141-.77A3.67 3.67 0 0 1 6.4 13.528a4.58 4.58 0 0 1 .993-3.422 5.2 5.2 0 0 1 3.27-2.021c1.099-.199 2.15-.07 3.096.572.62.409 1.063.97 1.355 1.647.07.105.024.164-.117.199Z`},null,-1),P(`path`,{fill:`currentColor`,d:`M18.865 16.963a4.38 4.38 0 0 1-2.85-1.028 3.67 3.67 0 0 1-1.262-2.254 4.46 4.46 0 0 1 .946-3.528 4.9 4.9 0 0 1 3.27-1.95 4.32 4.32 0 0 1 3.33.595 3.63 3.63 0 0 1 1.647 2.605 4.51 4.51 0 0 1-1.343 3.96 5.35 5.35 0 0 1-2.804 1.495c-.315.058-.63.07-.934.105m2.78-4.719c-.012-.152-.012-.268-.035-.385a1.93 1.93 0 0 0-2.383-1.554c-1.087.245-1.787.935-2.044 2.033-.21.91.233 1.834 1.074 2.207.643.28 1.285.246 1.904-.07a2.56 2.56 0 0 0 1.484-2.23Z`},null,-1)]])}var w4e,T4e,E4e,D4e=s((()=>{cS(),B(),w4e=sS({default:()=>E4e,render:()=>C4e}),T4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},E4e={render:C4e}}));function O4e(e,t){return j(),M(`svg`,A4e,[...t[0]||=[P(`path`,{fill:`#FF5B11`,d:`M12.371 1.736q.08-.01.141.04a76 76 0 0 1 4.217 5.662 28 28 0 0 1 2.49 4.659q1.64 4.374-1.707 7.61-2.928 2.475-6.747 1.928-4.564-.93-6.205-5.281a7.4 7.4 0 0 1-.28-2.891 17.3 17.3 0 0 1 1.204-4.9 7.3 7.3 0 0 1 1.044-1.767q.525.625 1.004 1.285.222.232.462.442a38 38 0 0 1 4.377-6.787`,opacity:`.993`},null,-1),P(`path`,{fill:`#FF9758`,d:`M12.09 5.962a42.5 42.5 0 0 1 3.996 5.462q.56.959.924 2.008.758 2.982-1.627 4.92-2.306 1.622-5.06.963-2.97-.921-3.433-3.996a4.25 4.25 0 0 1 .2-1.887c.297-.754.66-1.48 1.085-2.168L9.38 9.495q1.367-1.758 2.71-3.534Z`},null,-1)]])}var k4e,A4e,j4e,M4e=s((()=>{cS(),B(),k4e=sS({default:()=>j4e,render:()=>O4e}),A4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},j4e={render:O4e}}));function N4e(e,t){return j(),M(`svg`,F4e,[...t[0]||=[P(`path`,{fill:`#FF2D20`,d:`M21.217 6.8a.3.3 0 0 1 .012.076v4.078a.3.3 0 0 1-.15.26l-3.424 1.969v3.907a.3.3 0 0 1-.147.259l-7.15 4.111q-.023.014-.05.024l-.021.007a.3.3 0 0 1-.152 0l-.024-.01c-.017-.007-.033-.011-.048-.02l-7.142-4.112a.3.3 0 0 1-.15-.26V4.857q0-.043.012-.079c0-.01.007-.016.01-.023a.2.2 0 0 1 .019-.048l.021-.026.024-.036.03-.024.034-.023L6.492 2.54a.29.29 0 0 1 .298 0l3.573 2.053.033.024.029.024.026.036.022.023.019.048c0 .01.007.017.01.024a.4.4 0 0 1 .009.08v7.643l2.978-1.713v-3.91c0-.023.003-.052.01-.076l.01-.026.018-.047.022-.024.026-.036.029-.024.033-.023L17.21 4.56a.3.3 0 0 1 .298 0l3.57 2.058.034.024c.01.01.022.014.029.024q.017.015.026.035l.021.024c.01.017.015.03.02.048l.009.023zm-.58 3.98V7.392l-1.252.719-1.727.994v3.393l2.978-1.713zm-3.576 6.138v-3.395l-1.7.971-4.85 2.77v3.425l6.55-3.77ZM3.366 5.37v11.548l6.55 3.769V17.26l-3.421-1.934h-.003l-.03-.024c-.01-.01-.022-.014-.03-.024-.011-.01-.018-.024-.025-.03l-.024-.032-.014-.038q-.009-.015-.015-.033l-.007-.043-.002-.033V7.08l-1.728-.994-1.253-.716zm3.276-2.23L3.666 4.857 6.64 6.569l2.976-1.713-2.974-1.713zM8.19 13.833l1.727-.992V5.37l-1.247.718-1.727.995v7.47l1.249-.72zm9.169-8.667-2.974 1.713 2.974 1.713 2.974-1.713zm-.297 3.943-1.728-.995-1.249-.718v3.385l1.727.995 1.25.72v-3.39zm-6.845 7.639 4.365-2.491 2.182-1.244L13.79 11.3l-3.426 1.972-3.117 1.796z`},null,-1)]])}var P4e,F4e,I4e,L4e=s((()=>{cS(),B(),P4e=sS({default:()=>I4e,render:()=>N4e}),F4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},I4e={render:N4e}}));function R4e(e,t){return j(),M(`svg`,B4e,[...t[0]||=[ni(`<g fill="#EDB641" clip-path="url(#a)"><path d="m5.33 10.983.419 1.29H7.11l-1.1.796.42 1.29-1.101-.797-1.09.791.419-1.29-1.1-.796H4.92l.42-1.289-.011.005Zm1.954-4.245.362 1.111h1.169l-.944.687.362 1.111-.949-.681-.943.681.351-1.111-.943-.687h1.169l.361-1.11h.005ZM1.31 13.504l.21.65h.68l-.55.409.21.65-.55-.404-.556.404.21-.65-.551-.404h.681l.21-.65.005-.005Z"></path><path d="M9.197 15.684a19 19 0 0 0 2.505-1.378 22.6 22.6 0 0 0 3.092-2.6l-.613-.408-.534-.362 1.692-.063.545-.02.147-.525.461-1.635.587 1.588.189.514.545-.027 1.693-.062-1.332 1.048-.43.335.19.514.586 1.588-1.41-.944-.45-.298-.43.335-1.331 1.048.23-.812.231-.818.026-.105a21 21 0 0 1-5.24 2.815c-.315.104-.63.188-.944.267zm-3.186 1.242a16.1 16.1 0 0 0 8.081-2.494l-.535 1.923 3.145-2.479 3.328 2.222-1.384-3.752 3.144-2.474-4.003.158-1.384-3.758-1.09 3.852-3.999.157 2.317 1.546c-1.52 1.384-5.346 4.34-10.413 4.538A14 14 0 0 1 0 16.11s2.52.953 6.016.817h-.005Z"></path><path d="M16.408 4.412a7.588 7.588 0 0 0-7.242 9.862q.495-.25.943-.508a6.53 6.53 0 0 1 6.3-8.306 6.54 6.54 0 1 1-4.916 10.848c-.351.136-.703.262-1.059.367a7.588 7.588 0 1 0 5.974-12.263"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs>`,2)]])}var z4e,B4e,V4e,H4e=s((()=>{cS(),B(),z4e=sS({default:()=>V4e,render:()=>R4e}),B4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},V4e={render:R4e}}));function U4e(e,t){return j(),M(`svg`,G4e,[...t[0]||=[P(`path`,{fill:`#E0234E`,"fill-rule":`evenodd`,d:`M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.017a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217`,"clip-rule":`evenodd`},null,-1)]])}var W4e,G4e,K4e,q4e=s((()=>{cS(),B(),W4e=sS({default:()=>K4e,render:()=>U4e}),G4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},K4e={render:U4e}}));function J4e(e,t){return j(),M(`svg`,X4e,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M11.345 2.005c-.043.004-.18.018-.303.028-2.84.256-5.501 1.788-7.187 4.144a9.9 9.9 0 0 0-1.765 4.369c-.08.549-.09.711-.09 1.456s.01.907.09 1.456c.543 3.755 3.216 6.91 6.84 8.08.65.208 1.334.351 2.112.437.303.033 1.613.033 1.916 0 1.343-.149 2.48-.48 3.603-1.053.172-.088.205-.112.182-.131a191 191 0 0 1-1.629-2.184l-1.599-2.16-2.004-2.965a284 284 0 0 0-2.017-2.964 161 161 0 0 0-.02 2.925c-.006 2.816-.008 2.93-.043 2.996a.36.36 0 0 1-.172.178c-.063.031-.117.037-.412.037h-.339l-.09-.056a.4.4 0 0 1-.13-.143l-.042-.088.004-3.92.006-3.92.06-.077a.5.5 0 0 1 .145-.12c.08-.038.112-.042.45-.042.399 0 .465.016.569.129.03.031 1.114 1.665 2.412 3.634l3.946 5.975 1.583 2.399.08-.053a10.3 10.3 0 0 0 2.055-1.802 9.95 9.95 0 0 0 2.354-5.112c.08-.549.09-.711.09-1.456s-.01-.907-.09-1.456c-.543-3.755-3.216-6.91-6.84-8.08a10.5 10.5 0 0 0-2.083-.435c-.187-.02-1.48-.041-1.642-.026m4.094 6.048c.094.047.17.137.197.231.016.05.02 1.138.016 3.587l-.006 3.515-.62-.95-.621-.95V10.93c0-1.652.008-2.58.02-2.625a.4.4 0 0 1 .193-.247c.08-.04.11-.045.416-.045.29 0 .34.004.405.04`},null,-1)]])}var Y4e,X4e,Z4e,Q4e=s((()=>{cS(),B(),Y4e=sS({default:()=>Z4e,render:()=>J4e}),X4e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Z4e={render:J4e}}));function $4e(e,t){return j(),M(`svg`,t3e,[...t[0]||=[ni(`<path fill="url(#a)" fill-rule="evenodd" d="M19.608 5.51C16.023 1.308 9.712.808 5.51 4.392 1.308 7.977.808 14.288 4.392 18.49c3.585 4.202 9.896 4.702 14.098 1.118 4.202-3.585 4.702-9.896 1.118-14.098m-4.982 5.249c.385 0 .631.417.438.75l-.056.096-3.774 6.21a.39.39 0 0 1-.33.185h-.36a.378.378 0 0 1-.366-.472l1.024-3.959a.5.5 0 0 0-.484-.625H9.145a.5.5 0 0 1-.484-.625l1.545-5.978a.46.46 0 0 1 .448-.34l.067.001h1.584a.5.5 0 0 1 .496.568l-.01.071-.604 3.533a.5.5 0 0 0 .493.585z" clip-rule="evenodd"></path><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(19.5 0 0 198.851 4 12)" gradientUnits="userSpaceOnUse"><stop stop-color="#31B2F3"></stop><stop offset=".474" stop-color="#F27CEC"></stop><stop offset="1" stop-color="#FD6641"></stop></radialGradient></defs>`,2)]])}var e3e,t3e,n3e,r3e=s((()=>{cS(),B(),e3e=sS({default:()=>n3e,render:()=>$4e}),t3e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},n3e={render:$4e}}));function i3e(e,t){return j(),M(`svg`,o3e,[...t[0]||=[P(`path`,{fill:`#00DC82`,d:`M13.32 19.333h8.14c.26 0 .508-.09.733-.22.226-.129.457-.29.587-.513s.22-.476.22-.733c0-.258-.09-.51-.22-.734l-5.5-9.46a1.34 1.34 0 0 0-.513-.513 1.8 1.8 0 0 0-.807-.22c-.26 0-.508.09-.733.22-.216.12-.393.298-.514.513l-1.393 2.42L10.533 5.4c-.13-.223-.288-.458-.513-.587s-.474-.146-.733-.146c-.26 0-.509.018-.734.146-.24.146-.441.347-.586.587l-6.82 11.733c-.13.223-.147.476-.147.734 0 .257.017.51.147.733s.361.384.586.513c.225.13.474.22.734.22H7.6c2.034 0 3.515-.912 4.547-2.64l2.493-4.326 1.32-2.274 4.033 6.894H14.64zm-5.793-2.346H3.933l5.354-9.24L12 12.367l-1.797 3.132c-.687 1.122-1.468 1.488-2.676 1.488`},null,-1)]])}var a3e,o3e,s3e,c3e=s((()=>{cS(),B(),a3e=sS({default:()=>s3e,render:()=>i3e}),o3e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},s3e={render:i3e}}));function l3e(e,t){return j(),M(`svg`,d3e,[...t[0]||=[ni(`<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>`,10)]])}var u3e,d3e,f3e,p3e=s((()=>{cS(),B(),u3e=sS({default:()=>f3e,render:()=>l3e}),d3e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},f3e={render:l3e}}));function m3e(e,t){return j(),M(`svg`,g3e,[...t[0]||=[P(`path`,{stroke:`#21FA90`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91`},null,-1),P(`path`,{stroke:`#00050B`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`.885`,d:`m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217`},null,-1)]])}var h3e,g3e,_3e,v3e=s((()=>{cS(),B(),h3e=sS({default:()=>_3e,render:()=>m3e}),g3e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},_3e={render:m3e}}));function y3e(e,t){return j(),M(`svg`,x3e,[...t[0]||=[P(`path`,{fill:`#61DAFB`,d:`M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z`},null,-1)]])}var b3e,x3e,S3e,C3e=s((()=>{cS(),B(),b3e=sS({default:()=>S3e,render:()=>y3e}),x3e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},S3e={render:y3e}}));function w3e(e,t){return j(),M(`svg`,E3e,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481`},null,-1)]])}var T3e,E3e,D3e,O3e=s((()=>{cS(),B(),T3e=sS({default:()=>D3e,render:()=>w3e}),E3e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},D3e={render:w3e}}));function k3e(e,t){return j(),M(`svg`,j3e,[...t[0]||=[P(`path`,{fill:`#FF3E00`,d:`M18.664 3.171c-2.219-3.185-6.61-4.13-9.788-2.104L3.29 4.625A6.42 6.42 0 0 0 .398 8.917a6.74 6.74 0 0 0 .666 4.332 6.4 6.4 0 0 0-.959 2.369 6.85 6.85 0 0 0 1.166 5.175c2.219 3.194 6.61 4.137 9.782 2.11l5.586-3.557a6.42 6.42 0 0 0 2.892-4.292 6.74 6.74 0 0 0-.666-4.332 6.4 6.4 0 0 0 .959-2.369 6.94 6.94 0 0 0-1.16-5.182`},null,-1),P(`path`,{fill:`#fff`,d:`M8.327 21.099a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122q.05-.261.133-.517l.105-.318.286.182a7.1 7.1 0 0 0 2.186 1.095l.208.063-.02.201c-.025.293.055.585.223.83a1.305 1.305 0 0 0 1.779.379l5.581-3.521a1.18 1.18 0 0 0 .524-.783 1.23 1.23 0 0 0-.211-.923 1.305 1.305 0 0 0-1.78-.379l-2.12 1.35q-.53.321-1.135.488a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122 3.84 3.84 0 0 1 1.736-2.573l5.581-3.559a4.3 4.3 0 0 1 1.134-.485 4.435 4.435 0 0 1 4.76 1.751c.641.908.893 2.03.7 3.122a4 4 0 0 1-.132.517l-.105.318-.287-.182a7.1 7.1 0 0 0-2.186-1.095l-.207-.063.019-.202a1.27 1.27 0 0 0-.223-.83 1.305 1.305 0 0 0-1.779-.378L6.6 9.363a1.18 1.18 0 0 0-.523.783c-.056.323.019.655.21.923a1.305 1.305 0 0 0 1.78.38l2.121-1.35c.352-.214.732-.38 1.134-.485a4.435 4.435 0 0 1 4.76 1.75 4.16 4.16 0 0 1 .7 3.122 3.8 3.8 0 0 1-1.736 2.563l-5.58 3.559c-.353.214-.732.38-1.135.489`},null,-1)]])}var A3e,j3e,M3e,N3e=s((()=>{cS(),B(),A3e=sS({default:()=>M3e,render:()=>k3e}),j3e={xmlns:`http://www.w3.org/2000/svg`,fill:`green`,viewBox:`-2 0 24 24`},M3e={render:k3e}}));function P3e(e,t){return j(),M(`svg`,I3e,[...t[0]||=[P(`path`,{fill:`#41B883`,d:`m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z`},null,-1),P(`path`,{fill:`#34495E`,d:`m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z`},null,-1)]])}var F3e,I3e,L3e,R3e=s((()=>{cS(),B(),F3e=sS({default:()=>L3e,render:()=>P3e}),I3e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},L3e={render:P3e}})),lS,uS,z3e,B3e,V3e=s((()=>{tKe(),oKe(),dKe(),gKe(),xKe(),EKe(),jKe(),IKe(),VKe(),KKe(),ZKe(),nqe(),sqe(),fqe(),_qe(),Sqe(),Dqe(),Mqe(),Lqe(),Hqe(),qqe(),Qqe(),rJe(),cJe(),pJe(),vJe(),CJe(),OJe(),NJe(),RJe(),UJe(),JJe(),$Je(),iYe(),lYe(),mYe(),yYe(),wYe(),kYe(),PYe(),zYe(),WYe(),YYe(),eXe(),aXe(),uXe(),hXe(),bXe(),TXe(),AXe(),FXe(),BXe(),GXe(),XXe(),tZe(),oZe(),dZe(),gZe(),xZe(),EZe(),jZe(),IZe(),VZe(),KZe(),ZZe(),nQe(),sQe(),fQe(),_Qe(),SQe(),DQe(),MQe(),LQe(),HQe(),qQe(),QQe(),r$e(),c$e(),p$e(),v$e(),C$e(),O$e(),N$e(),R$e(),U$e(),J$e(),$$e(),i1e(),l1e(),m1e(),y1e(),w1e(),k1e(),P1e(),z1e(),W1e(),Y1e(),e0e(),a0e(),u0e(),h0e(),b0e(),T0e(),A0e(),F0e(),B0e(),G0e(),X0e(),t2e(),o2e(),d2e(),g2e(),x2e(),E2e(),j2e(),I2e(),V2e(),K2e(),Z2e(),n4e(),s4e(),f4e(),_4e(),S4e(),D4e(),M4e(),L4e(),H4e(),q4e(),Q4e(),r3e(),c3e(),p3e(),v3e(),C3e(),O3e(),N3e(),R3e(),lS=Object.assign({"../icons/Add.svg":QGe,"../icons/AddTab.svg":rKe,"../icons/Alert.svg":cKe,"../icons/ArrowLeft.svg":pKe,"../icons/ArrowRight.svg":vKe,"../icons/Brackets.svg":CKe,"../icons/Branch.svg":OKe,"../icons/Changelog.svg":NKe,"../icons/Checkmark.svg":RKe,"../icons/ChevronDown.svg":UKe,"../icons/ChevronLeft.svg":JKe,"../icons/ChevronRight.svg":$Ke,"../icons/ChevronUp.svg":iqe,"../icons/Clipboard.svg":lqe,"../icons/Close.svg":mqe,"../icons/CloseTab.svg":yqe,"../icons/CloseTabs.svg":wqe,"../icons/Cloud.svg":kqe,"../icons/CodeFolder.svg":Pqe,"../icons/Cog.svg":zqe,"../icons/Collection.svg":Wqe,"../icons/Cookie.svg":Yqe,"../icons/DarkMode.svg":eJe,"../icons/Delete.svg":aJe,"../icons/Discord.svg":uJe,"../icons/DocsPage.svg":hJe,"../icons/Download.svg":bJe,"../icons/Duplicate.svg":TJe,"../icons/Edit.svg":AJe,"../icons/Ellipses.svg":FJe,"../icons/Email.svg":BJe,"../icons/Error.svg":GJe,"../icons/Example.svg":XJe,"../icons/ExternalLink.svg":tYe,"../icons/FilterList.svg":oYe,"../icons/Folder.svg":dYe,"../icons/GitHub.svg":gYe,"../icons/GitHubLine.svg":xYe,"../icons/Globe.svg":EYe,"../icons/Google.svg":jYe,"../icons/Help.svg":IYe,"../icons/Hide.svg":VYe,"../icons/History.svg":KYe,"../icons/House.svg":ZYe,"../icons/Import.svg":nXe,"../icons/Info.svg":sXe,"../icons/Key.svg":fXe,"../icons/Leave.svg":_Xe,"../icons/LightDarkModeToggle.svg":SXe,"../icons/LightMode.svg":DXe,"../icons/Link.svg":MXe,"../icons/Lock.svg":LXe,"../icons/Logo.svg":HXe,"../icons/Magic.svg":qXe,"../icons/Markdown.svg":QXe,"../icons/Menu.svg":rZe,"../icons/NotAllowed.svg":cZe,"../icons/Page.svg":pZe,"../icons/Pencil.svg":vZe,"../icons/Play.svg":CZe,"../icons/Refresh.svg":OZe,"../icons/Roadmap.svg":NZe,"../icons/Scribble.svg":RZe,"../icons/Search.svg":UZe,"../icons/Server.svg":JZe,"../icons/Settings.svg":$Ze,"../icons/Show.svg":iQe,"../icons/Sort.svg":lQe,"../icons/Terminal.svg":mQe,"../icons/Trash.svg":yQe,"../icons/Unlock.svg":wQe,"../icons/Unwatch.svg":kQe,"../icons/Upload.svg":PQe,"../icons/User.svg":zQe,"../icons/UserSwitch.svg":WQe,"../icons/Users.svg":YQe,"../icons/Versions.svg":e$e,"../icons/Wallet.svg":a$e,"../icons/Watch.svg":u$e,"../icons/Workspace.svg":h$e,"../icons/programming-framework-angular.svg":b$e,"../icons/programming-framework-astro.svg":T$e,"../icons/programming-framework-laravel.svg":A$e,"../icons/programming-framework-nextdotjs.svg":F$e,"../icons/programming-framework-react.svg":B$e,"../icons/programming-framework-vuedotjs.svg":G$e,"../icons/programming-language-c.svg":X$e,"../icons/programming-language-clojure.svg":t1e,"../icons/programming-language-csharp.svg":o1e,"../icons/programming-language-css3.svg":d1e,"../icons/programming-language-dart.svg":g1e,"../icons/programming-language-fsharp.svg":x1e,"../icons/programming-language-go.svg":E1e,"../icons/programming-language-html5.svg":j1e,"../icons/programming-language-http.svg":I1e,"../icons/programming-language-java.svg":V1e,"../icons/programming-language-javascript.svg":K1e,"../icons/programming-language-json.svg":Z1e,"../icons/programming-language-julia.svg":n0e,"../icons/programming-language-kotlin.svg":s0e,"../icons/programming-language-node.svg":f0e,"../icons/programming-language-objc.svg":_0e,"../icons/programming-language-ocaml.svg":S0e,"../icons/programming-language-php.svg":D0e,"../icons/programming-language-powershell.svg":M0e,"../icons/programming-language-python.svg":L0e,"../icons/programming-language-r.svg":H0e,"../icons/programming-language-ruby.svg":q0e,"../icons/programming-language-rust.svg":Q0e,"../icons/programming-language-scala.svg":r2e,"../icons/programming-language-shell.svg":c2e,"../icons/programming-language-swift.svg":p2e,"../icons/programming-language-typescript.svg":v2e,"../icons/programming-script-code.svg":C2e,"../icons/programming-tool-git.svg":O2e,"../icons/programming-tool-tailwindcss.svg":N2e}),uS=Object.assign({"../logos/Adonisjs.svg":R2e,"../logos/Astro.svg":U2e,"../logos/Docusaurus.svg":J2e,"../logos/Dotnet.svg":$2e,"../logos/Elysiajs.svg":i4e,"../logos/Express.svg":l4e,"../logos/Fastapi.svg":m4e,"../logos/Fastify.svg":y4e,"../logos/Go.svg":w4e,"../logos/Hono.svg":k4e,"../logos/Laravel.svg":P4e,"../logos/Litestar.svg":z4e,"../logos/Nestjs.svg":W4e,"../logos/Nextjs.svg":Y4e,"../logos/Nitro.svg":e3e,"../logos/Nuxt.svg":a3e,"../logos/Openapi.svg":u3e,"../logos/Platformatic.svg":h3e,"../logos/React.svg":b3e,"../logos/Rust.svg":T3e,"../logos/Svelte.svg":A3e,"../logos/Vue.svg":F3e}),z3e=e=>{let t=`../icons/${e}.svg`;return lS[t]?lS[t]:(console.warn(`Could not find icon: ${e}`),null)},B3e=e=>{let t=`../logos/${e}.svg`;return uS[t]?uS[t]:(console.warn(`Could not find icon: ${e}`),null)}})),dS,H3e=s((()=>{Kl(),dS=Ul({variants:{size:{xs:`size-3`,sm:`size-3.5`,md:`size-4`,lg:`size-5`,xl:`size-6`,"2xl":`size-8`,"3xl":`size-10`,full:`size-full`}},defaultVariants:{size:`full`}})})),U3e,W3e=s((()=>{V3e(),H3e(),Kl(),B(),U3e=k({inheritAttrs:!1,__name:`ScalarIcon`,props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){oie(e=>({c07589c2:r.value}));let t=e,{cx:n}=Gl(),r=z(()=>t.thickness??`2`),i=z(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:`presentation`}),a=z(()=>{if(t.icon)return z3e(t.icon);if(t.logo)return B3e(t.logo)});return(t,r)=>(j(),N(Ar(a.value),ut(ei({...D(n)(`scalar-icon`,D(dS)({size:e.size})),...i.value})),null,16))}})})),fS,pS=s((()=>{aS(),W3e(),fS=iS(U3e,[[`__scopeId`,`data-v-b651bb23`]])})),G3e,K3e=s((()=>{H3e(),pS(),Kl(),B(),G3e=k({inheritAttrs:!1,__name:`ScalarIconLegacyAdapter`,props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=Gl();return(n,r)=>typeof e.icon==`string`?(j(),N(fS,oi({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,[`icon`])):(j(),N(Ar(e.icon),oi({key:1,label:e.label,weight:e.weight},D(t)(D(dS)({size:e.size}))),null,16,[`label`,`weight`]))}})})),mS,hS=s((()=>{K3e(),mS=G3e})),gS=s((()=>{pS()})),q3e,J3e,Y3e,X3e,Z3e=s((()=>{Fs(),XGe(),B(),gS(),q3e={class:`request-section-content request-section-content-filter fade-request-section-content text-c-3 pointer-events-auto relative hidden w-full justify-end gap-[1.5px] rounded py-1.75 text-xs xl:flex`},J3e={class:`filter-button context-bar-group-hover:text-c-1 absolute -end-[30px] flex items-center`},Y3e={class:`context-bar-group-hover:hidden me-1.5`},X3e=k({__name:`SectionFilter`,props:Lr({filters:{default:()=>[]},labels:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Hr(e,`modelValue`),n=E(),{direction:r}=Ps(),i=i=>{let a=(i===`left`?-1:1)*(r.value===`rtl`?-1:1),o=t.value?e.filters.indexOf(t.value):0,s=e.filters.length,c=(o+a+s)%s;t.value=e.filters[c],nr(()=>{if(n.value){let e=n.value.querySelector(`button[aria-selected="true"]`);e&&e.focus()}})};return(r,a)=>(j(),M(`div`,{ref_key:`tablist`,ref:n,class:`filter-hover context-bar-group ms-auto hidden lg:flex`,role:`tablist`,onKeydown:[a[0]||=qa(e=>i(`left`),[`left`]),a[1]||=qa(e=>i(`right`),[`right`])]},[P(`div`,q3e,[(j(!0),M(L,null,jr(e.filters,n=>(j(),N(YGe,{key:n,class:`filter-hover-item`,role:`tab`,selected:t.value===n,onClick:e=>t.value=n},{default:O(()=>[F(T(e.labels?.[n]??n),1)]),_:2},1032,[`selected`,`onClick`]))),128)),P(`div`,J3e,[P(`span`,Y3e,T(t.value?e.labels?.[t.value]??t.value:t.value),1),R(D(fS),{icon:`FilterList`,size:`md`,thickness:`2`})])])],544))}})})),_S,Q3e=s((()=>{Ds(),Z3e(),_S=Es(X3e,[[`__scopeId`,`data-v-50fd0a3c`]])}));function vS(e){if(e&&typeof e==`object`)switch(e[ES]){case SS:case TS:return!0}return!1}function yS(e){if(e&&typeof e==`object`)switch(e[ES]){case bS:case SS:case wS:case TS:return!0}return!1}var bS,xS,SS,CS,wS,TS,ES,DS,OS,kS,AS,jS,MS,$3e,NS=s((()=>{bS=Symbol.for(`yaml.alias`),xS=Symbol.for(`yaml.document`),SS=Symbol.for(`yaml.map`),CS=Symbol.for(`yaml.pair`),wS=Symbol.for(`yaml.scalar`),TS=Symbol.for(`yaml.seq`),ES=Symbol.for(`yaml.node.type`),DS=e=>!!e&&typeof e==`object`&&e[ES]===bS,OS=e=>!!e&&typeof e==`object`&&e[ES]===xS,kS=e=>!!e&&typeof e==`object`&&e[ES]===SS,AS=e=>!!e&&typeof e==`object`&&e[ES]===CS,jS=e=>!!e&&typeof e==`object`&&e[ES]===wS,MS=e=>!!e&&typeof e==`object`&&e[ES]===TS,$3e=e=>(jS(e)||vS(e))&&!!e.anchor}));function PS(e,t){let n=e6e(t);OS(e)?FS(null,e.contents,n,Object.freeze([e]))===zS&&(e.contents=null):FS(null,e,n,Object.freeze([]))}function FS(e,t,n,r){let i=t6e(e,t,n,r);if(yS(i)||AS(i))return n6e(e,r,i),FS(e,i,n,r);if(typeof i!=`symbol`){if(vS(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=FS(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===RS)return RS;else i===zS&&(t.items.splice(e,1),--e)}}else if(AS(t)){r=Object.freeze(r.concat(t));let e=FS(`key`,t.key,n,r);if(e===RS)return RS;e===zS&&(t.key=null);let i=FS(`value`,t.value,n,r);if(i===RS)return RS;i===zS&&(t.value=null)}}return i}async function IS(e,t){let n=e6e(t);OS(e)?await LS(null,e.contents,n,Object.freeze([e]))===zS&&(e.contents=null):await LS(null,e,n,Object.freeze([]))}async function LS(e,t,n,r){let i=await t6e(e,t,n,r);if(yS(i)||AS(i))return n6e(e,r,i),LS(e,i,n,r);if(typeof i!=`symbol`){if(vS(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=await LS(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===RS)return RS;else i===zS&&(t.items.splice(e,1),--e)}}else if(AS(t)){r=Object.freeze(r.concat(t));let e=await LS(`key`,t.key,n,r);if(e===RS)return RS;e===zS&&(t.key=null);let i=await LS(`value`,t.value,n,r);if(i===RS)return RS;i===zS&&(t.value=null)}}return i}function e6e(e){return typeof e==`object`&&(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}function t6e(e,t,n,r){if(typeof n==`function`)return n(e,t,r);if(kS(t))return n.Map?.(e,t,r);if(MS(t))return n.Seq?.(e,t,r);if(AS(t))return n.Pair?.(e,t,r);if(jS(t))return n.Scalar?.(e,t,r);if(DS(t))return n.Alias?.(e,t,r)}function n6e(e,t,n){let r=t[t.length-1];if(vS(r))r.items[e]=n;else if(AS(r))e===`key`?r.key=n:r.value=n;else if(OS(r))r.contents=n;else{let e=DS(r)?`alias`:`scalar`;throw Error(`Cannot replace node with ${e} parent`)}}var RS,r6e,zS,BS=s((()=>{NS(),RS=Symbol(`break visit`),r6e=Symbol(`skip children`),zS=Symbol(`remove node`),PS.BREAK=RS,PS.SKIP=r6e,PS.REMOVE=zS,IS.BREAK=RS,IS.SKIP=r6e,IS.REMOVE=zS})),i6e,a6e,VS,o6e=s((()=>{NS(),BS(),i6e={"!":`%21`,",":`%2C`,"[":`%5B`,"]":`%5D`,"{":`%7B`,"}":`%7D`},a6e=e=>e.replace(/[!,[\]{}]/g,e=>i6e[e]),VS=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags)}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+a6e(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],n=Object.entries(this.tags),r;if(e&&n.length>0&&yS(e.contents)){let t={};PS(e.contents,(e,n)=>{yS(n)&&n.tag&&(t[n.tag]=!0)}),r=Object.keys(t)}else r=[];for(let[i,a]of n)(i!==`!!`||a!==`tag:yaml.org,2002:`)&&(!e||r.some(e=>e.startsWith(a)))&&t.push(`%TAG ${i} ${a}`);return t.join(`
+`)}},VS.defaultYaml={explicit:!1,version:`1.2`},VS.defaultTags={"!!":`tag:yaml.org,2002:`}}));function s6e(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw Error(t)}return!0}function c6e(e){let t=new Set;return PS(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function l6e(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function u6e(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i??=c6e(e);let a=l6e(t,i);return i.add(a),a},setAnchors:()=>{for(let e of n){let t=r.get(e);if(typeof t==`object`&&t.anchor&&(jS(t.node)||vS(t.node)))t.node.anchor=t.anchor;else{let t=Error(`Failed to resolve repeated object (this should not happen)`);throw t.source=e,t}}},sourceObjects:r}}var d6e=s((()=>{NS(),BS()}));function HS(e,t,n,r){if(r&&typeof r==`object`){if(Array.isArray(r))for(let t=0,n=r.length;t<n;++t){let n=r[t],i=HS(e,r,String(t),n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let n=r.get(t),i=HS(e,r,t,n);i===void 0?r.delete(t):i!==n&&r.set(t,i)}else if(r instanceof Set)for(let t of Array.from(r)){let n=HS(e,r,t,t);n===void 0?r.delete(t):n!==t&&(r.delete(t),r.add(n))}else for(let[t,n]of Object.entries(r)){let i=HS(e,r,t,n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}}return e.call(t,n,r)}var f6e=s((()=>{}));function US(e,t,n){if(Array.isArray(e))return e.map((e,t)=>US(e,String(t),n));if(e&&typeof e.toJSON==`function`){if(!n||!$3e(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e==`bigint`&&!n?.keep?Number(e):e}var WS=s((()=>{NS()})),GS,p6e=s((()=>{f6e(),NS(),WS(),GS=class{constructor(e){Object.defineProperty(this,ES,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!OS(e))throw TypeError(`A document argument is required`);let a={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n==`number`?n:100},o=US(this,``,a);if(typeof r==`function`)for(let{count:e,res:t}of a.anchors.values())r(t,e);return typeof i==`function`?HS(i,{"":o},``,o):o}}}));function KS(e,t,n){if(DS(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}if(vS(t)){let r=0;for(let i of t.items){let t=KS(e,i,n);t>r&&(r=t)}return r}if(AS(t)){let r=KS(e,t.key,n),i=KS(e,t.value,n);return Math.max(r,i)}return 1}var qS,JS=s((()=>{d6e(),BS(),NS(),p6e(),WS(),qS=class extends GS{constructor(e){super(bS),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error(`Alias nodes cannot have tags`)}})}resolve(e,t){if(t?.maxAliasCount===0)throw ReferenceError(`Alias resolution is disabled`);let n;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],PS(e,{Node:(e,t)=>{(DS(t)||$3e(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));let r;for(let e of n){if(e===this)break;e.anchor===this.source&&(r=e)}if(r&&t){let{anchors:e,doc:n,maxAliasCount:i}=t,a=e.get(r);if(a||=(US(r,null,t),e.get(r)),a?.res===void 0)throw ReferenceError(`This should not happen: Alias anchor was not resolved?`);if(i>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=KS(n,r,e)),a.count*a.aliasCount>i))throw ReferenceError(`Excessive alias count indicates a resource exhaustion attack`)}return r}toJSON(e,t){if(!t)return{source:this.source};let n=this.resolve(t.doc,t);if(!n){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}return t.anchors.get(n).res}toString(e,t,n){let r=`*${this.source}`;if(e){if(s6e(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(e)}if(e.implicitKey)return`${r} `}return r}}})),m6e,YS,XS=s((()=>{NS(),p6e(),WS(),m6e=e=>!e||typeof e!=`function`&&typeof e!=`object`,YS=class extends GS{constructor(e){super(wS),this.value=e}toJSON(e,t){return t?.keep?this.value:US(this.value,e,t)}toString(){return String(this.value)}},YS.BLOCK_FOLDED=`BLOCK_FOLDED`,YS.BLOCK_LITERAL=`BLOCK_LITERAL`,YS.PLAIN=`PLAIN`,YS.QUOTE_DOUBLE=`QUOTE_DOUBLE`,YS.QUOTE_SINGLE=`QUOTE_SINGLE`}));function h6e(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}function ZS(e,t,n){if(OS(e)&&(e=e.contents),yS(e))return e;if(AS(e)){let t=n.schema[SS].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<`u`&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:i,onTagObj:a,schema:o,sourceObjects:s}=n,c;if(r&&e&&typeof e==`object`){if(c=s.get(e),c)return c.anchor??(c.anchor=i(e)),new qS(c.anchor);c={anchor:null,node:null},s.set(e,c)}t?.startsWith(`!!`)&&(t=g6e+t.slice(2));let l=h6e(e,t,o.tags);if(!l){if(e&&typeof e.toJSON==`function`&&(e=e.toJSON()),!e||typeof e!=`object`){let t=new YS(e);return c&&(c.node=t),t}l=e instanceof Map?o[SS]:Symbol.iterator in Object(e)?o[TS]:o[SS]}a&&(a(l),delete n.onTagObj);let u=l?.createNode?l.createNode(n.schema,e,n):typeof l?.nodeClass?.from==`function`?l.nodeClass.from(n.schema,e,n):new YS(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}var g6e,QS=s((()=>{JS(),NS(),XS(),g6e=`tag:yaml.org,2002:`}));function $S(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if(typeof n==`number`&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return ZS(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error(`This should not happen, please report a bug.`)},schema:e,sourceObjects:new Map})}var eC,_6e,v6e=s((()=>{QS(),NS(),p6e(),eC=e=>e==null||typeof e==`object`&&!!e[Symbol.iterator]().next().done,_6e=class extends GS{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>yS(t)||AS(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(eC(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(vS(i))i.addIn(r,t);else if(i===void 0&&this.schema)this.set(n,$S(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(n.length===0)return this.delete(t);let r=this.get(t,!0);if(vS(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return r.length===0?!t&&jS(i)?i.value:i:vS(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!AS(t))return!1;let n=t.value;return n==null||e&&jS(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(n.length===0)return this.has(t);let r=this.get(t,!0);return vS(r)?r.hasIn(n):!1}setIn(e,t){let[n,...r]=e;if(r.length===0)this.set(n,t);else{let e=this.get(n,!0);if(vS(e))e.setIn(r,t);else if(e===void 0&&this.schema)this.set(n,$S(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}}));function tC(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var y6e,nC,rC=s((()=>{y6e=e=>e.replace(/^(?!$)(?: $)?/gm,`#`),nC=(e,t,n)=>e.endsWith(`
+`)?tC(n,t):n.includes(`
+`)?`
+`+tC(n,t):(e.endsWith(` `)?``:` `)+n}));function iC(e,t,n=`flow`,{indentAtStart:r,lineWidth:i=80,minContentWidth:a=20,onFold:o,onOverflow:s}={}){if(!i||i<0)return e;i<a&&(a=0);let c=Math.max(1+a,1+i-t.length);if(e.length<=c)return e;let l=[],u={},d=i-t.length;typeof r==`number`&&(r>i-Math.max(2,a)?l.push(0):d=i-r);let f,p,m=!1,h=-1,g=-1,_=-1;n===`block`&&(h=b6e(e,h,t.length),h!==-1&&(d=h+c));for(let r;r=e[h+=1];){if(n===`quoted`&&r===`\\`){switch(g=h,e[h+1]){case`x`:h+=3;break;case`u`:h+=5;break;case`U`:h+=9;break;default:h+=1}_=h}if(r===`
+`)n===`block`&&(h=b6e(e,h,t.length)),d=h+t.length+c,f=void 0;else{if(r===` `&&p&&p!==` `&&p!==`
+`&&p!==` `){let t=e[h+1];t&&t!==` `&&t!==`
+`&&t!==` `&&(f=h)}if(h>=d){if(f)l.push(f),d=f+c,f=void 0;else if(n===`quoted`){for(;p===` `||p===` `;)p=r,r=e[h+=1],m=!0;let t=h>_+1?h-2:g-1;if(u[t])return e;l.push(t),u[t]=!0,d=t+c,f=void 0}else m=!0}}p=r}if(m&&s&&s(),l.length===0)return e;o&&o();let v=e.slice(0,l[0]);for(let r=0;r<l.length;++r){let i=l[r],a=l[r+1]||e.length;i===0?v=`\n${t}${e.slice(0,a)}`:(n===`quoted`&&u[i]&&(v+=`${e[i]}\\`),v+=`\n${t}${e.slice(i+1,a)}`)}return v}function b6e(e,t,n){let r=t,i=t+1,a=e[i];for(;a===` `||a===` `;)if(t<i+n)a=e[++t];else{do a=e[++t];while(a&&a!==`
+`);r=t,i=t+1,a=e[i]}return r}var x6e,S6e,C6e,w6e=s((()=>{x6e=`flow`,S6e=`block`,C6e=`quoted`}));function T6e(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t<i;++t)if(e[t]===`
+`){if(t-n>r)return!0;if(n=t+1,i-n<=r)return!1}return!0}function aC(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(uC(e)?` `:``),o=``,s=0;for(let e=0,t=n[e];t;t=n[++e])if(t===` `&&n[e+1]===`\\`&&n[e+2]===`n`&&(o+=n.slice(s,e)+`\\ `,e+=1,s=e,t=`\\`),t===`\\`)switch(n[e+1]){case`u`:{o+=n.slice(s,e);let t=n.substr(e+2,4);switch(t){case`0000`:o+=`\\0`;break;case`0007`:o+=`\\a`;break;case`000b`:o+=`\\v`;break;case`001b`:o+=`\\e`;break;case`0085`:o+=`\\N`;break;case`00a0`:o+=`\\_`;break;case`2028`:o+=`\\L`;break;case`2029`:o+=`\\P`;break;default:t.substr(0,2)===`00`?o+=`\\x`+t.substr(2):o+=n.substr(e,6)}e+=5,s=e+1}break;case`n`:if(r||n[e+2]===`"`||n.length<i)e+=1;else{for(o+=n.slice(s,e)+`
+
+`;n[e+2]===`\\`&&n[e+3]===`n`&&n[e+4]!==`"`;)o+=`
+`,e+=2;o+=a,n[e+2]===` `&&(o+=`\\`),e+=1,s=e+1}break;default:e+=1}return o=s?o+n.slice(s):n,r?o:iC(o,a,C6e,lC(t,!1))}function E6e(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
+`)||/[ \t]\n|\n[ \t]/.test(e))return aC(e,t);let n=t.indent||(uC(e)?` `:``),r=`'`+e.replace(/'/g,`''`).replace(/\n+/g,`$&\n${n}`)+`'`;return t.implicitKey?r:iC(r,n,x6e,lC(t,!1))}function oC(e,t){let{singleQuote:n}=t.options,r;if(n===!1)r=aC;else{let t=e.includes(`"`),i=e.includes(`'`);r=t&&!i?E6e:i&&!t?aC:n?E6e:aC}return r(e,t)}function sC({comment:e,type:t,value:n},r,i,a){let{blockQuote:o,commentString:s,lineWidth:c}=r.options;if(!o||/\n[\t ]+$/.test(n))return oC(n,r);let l=r.indent||(r.forceBlockIndent||uC(n)?` `:``),u=o===`literal`?!0:o===`folded`||t===YS.BLOCK_FOLDED?!1:t===YS.BLOCK_LITERAL||!T6e(n,c,l.length);if(!n)return u?`|
+`:`>
+`;let d,f;for(f=n.length;f>0;--f){let e=n[f-1];if(e!==`
+`&&e!==` `&&e!==` `)break}let p=n.substring(f),m=p.indexOf(`
+`);m===-1?d=`-`:n===p||m!==p.length-1?(d=`+`,a&&a()):d=``,p&&=(n=n.slice(0,-p.length),p[p.length-1]===`
+`&&(p=p.slice(0,-1)),p.replace(O6e,`$&${l}`));let h=!1,g,_=-1;for(g=0;g<n.length;++g){let e=n[g];if(e===` `)h=!0;else if(e===`
+`)_=g;else break}let v=n.substring(0,_<g?_+1:g);v&&=(n=n.substring(v.length),v.replace(/\n+/g,`$&${l}`));let y=(h?l?`2`:`1`:``)+d;if(e&&(y+=` `+s(e.replace(/ ?[\r\n]+/g,` `)),i&&i()),!u){let e=n.replace(/\n+/g,`
+$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\n+/g,`$&${l}`),i=!1,a=lC(r,!0);o!==`folded`&&t!==YS.BLOCK_FOLDED&&(a.onOverflow=()=>{i=!0});let s=iC(`${v}${e}${p}`,l,S6e,a);if(!i)return`>${y}\n${l}${s}`}return n=n.replace(/\n+/g,`$&${l}`),`|${y}\n${l}${v}${n}${p}`}function D6e(e,t,n,r){let{type:i,value:a}=e,{actualString:o,implicitKey:s,indent:c,indentStep:l,inFlow:u}=t;if(s&&a.includes(`
+`)||u&&/[[\]{},]/.test(a))return oC(a,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return s||u||!a.includes(`
+`)?oC(a,t):sC(e,t,n,r);if(!s&&!u&&i!==YS.PLAIN&&a.includes(`
+`))return sC(e,t,n,r);if(uC(a)){if(c===``)return t.forceBlockIndent=!0,sC(e,t,n,r);if(s&&c===l)return oC(a,t)}let d=a.replace(/\n+/g,`$&\n${c}`);if(o){let e=e=>e.default&&e.tag!==`tag:yaml.org,2002:str`&&e.test?.test(d),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return oC(a,t)}return s?d:iC(d,c,x6e,lC(t,!1))}function cC(e,t,n,r){let{implicitKey:i,inFlow:a}=t,o=typeof e.value==`string`?e:Object.assign({},e,{value:String(e.value)}),{type:s}=e;s!==YS.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(s=YS.QUOTE_DOUBLE);let c=e=>{switch(e){case YS.BLOCK_FOLDED:case YS.BLOCK_LITERAL:return i||a?oC(o.value,t):sC(o,t,n,r);case YS.QUOTE_DOUBLE:return aC(o.value,t);case YS.QUOTE_SINGLE:return E6e(o.value,t);case YS.PLAIN:return D6e(o,t,n,r);default:return null}},l=c(s);if(l===null){let{defaultKeyType:e,defaultStringType:n}=t.options,r=i&&e||n;if(l=c(r),l===null)throw Error(`Unsupported default string type ${r}`)}return l}var lC,uC,O6e,dC=s((()=>{XS(),w6e(),lC=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),uC=e=>/^(%|---|\.\.\.)/m.test(e);try{O6e=RegExp(`(^|(?<!
+))
++(?!
+|$)`,`g`)}catch{O6e=/\n+(?!\n|$)/g}}));function k6e(e,t){let n=Object.assign({blockQuote:!0,commentString:y6e,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,trailingComma:!1,trueStr:`true`,verifyAliasOrder:!0},e.schema.toStringOptions,t),r;switch(n.collectionStyle){case`block`:r=!1;break;case`flow`:r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?` `:``,indent:``,indentStep:typeof n.indent==`number`?` `.repeat(n.indent):` `,inFlow:r,options:n}}function A6e(e,t){if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}let n,r;if(jS(t)){r=t.value;let i=e.filter(e=>e.identify?.(r));if(i.length>1){let e=i.filter(e=>e.test);e.length>0&&(i=e)}n=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else r=t,n=e.find(e=>e.nodeClass&&r instanceof e.nodeClass);if(!n){let e=r?.constructor?.name??(r===null?`null`:typeof r);throw Error(`Tag not resolved for ${e} value`)}return n}function j6e(e,t,{anchors:n,doc:r}){if(!r.directives)return``;let i=[],a=(jS(e)||vS(e))&&e.anchor;a&&s6e(a)&&(n.add(a),i.push(`&${a}`));let o=e.tag??(t.default?null:t.tag);return o&&i.push(r.directives.tagString(o)),i.join(` `)}function fC(e,t,n,r){if(AS(e))return e.toString(t,n,r);if(DS(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw 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 i,a=yS(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i??=A6e(t.doc.schema.tags,a);let o=j6e(a,i,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let s=typeof i.stringify==`function`?i.stringify(a,t,n,r):jS(a)?cC(a,t,n,r):a.toString(t,n,r);return o?jS(a)||s[0]===`{`||s[0]===`[`?`${o} ${s}`:`${o}\n${t.indent}${s}`:s}var pC=s((()=>{d6e(),NS(),rC(),dC()}));function M6e({key:e,value:t},n,r,i){let{allNullValues:a,doc:o,indent:s,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:d}}=n,f=yS(e)&&e.comment||null;if(d){if(f)throw Error(`With simple keys, key nodes cannot have comments`);if(vS(e)||!yS(e)&&typeof e==`object`)throw Error(`With simple keys, collection cannot be used as a key value`)}let p=!d&&(!e||f&&t==null&&!n.inFlow||vS(e)||(jS(e)?e.type===YS.BLOCK_FOLDED||e.type===YS.BLOCK_LITERAL:typeof e==`object`));n=Object.assign({},n,{allNullValues:!1,implicitKey:!p&&(d||!a),indent:s+c});let m=!1,h=!1,g=fC(e,n,()=>m=!0,()=>h=!0);if(!p&&!n.inFlow&&g.length>1024){if(d)throw Error(`With simple keys, single line scalar must not span more than 1024 characters`);p=!0}if(n.inFlow){if(a||t==null)return m&&r&&r(),g===``?`?`:p?`? ${g}`:g}else if(a&&!d||t==null&&p)return g=`? ${g}`,f&&!m?g+=nC(g,n.indent,l(f)):h&&i&&i(),g;m&&(f=null),p?(f&&(g+=nC(g,n.indent,l(f))),g=`? ${g}\n${s}:`):(g=`${g}:`,f&&(g+=nC(g,n.indent,l(f))));let _,v,y;yS(t)?(_=!!t.spaceBefore,v=t.commentBefore,y=t.comment):(_=!1,v=null,y=null,t&&typeof t==`object`&&(t=o.createNode(t))),n.implicitKey=!1,!p&&!f&&jS(t)&&(n.indentAtStart=g.length+1),h=!1,!u&&c.length>=2&&!n.inFlow&&!p&&MS(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let b=!1,x=fC(t,n,()=>b=!0,()=>h=!0),ee=` `;if(f||_||v){if(ee=_?`
+`:``,v){let e=l(v);ee+=`\n${tC(e,n.indent)}`}x===``&&!n.inFlow?ee===`
+`&&y&&(ee=`
+
+`):ee+=`\n${n.indent}`}else if(!p&&vS(t)){let e=x[0],r=x.indexOf(`
+`),i=r!==-1,a=n.inFlow??t.flow??t.items.length===0;if(i||!a){let t=!1;if(i&&(e===`&`||e===`!`)){let n=x.indexOf(` `);e===`&`&&n!==-1&&n<r&&x[n+1]===`!`&&(n=x.indexOf(` `,n+1)),(n===-1||r<n)&&(t=!0)}t||(ee=`\n${n.indent}`)}}else(x===``||x[0]===`
+`)&&(ee=``);return g+=ee+x,n.inFlow?b&&r&&r():y&&!b?g+=nC(g,n.indent,l(y)):h&&i&&i(),g}var N6e=s((()=>{NS(),XS(),pC(),rC()}));function P6e(e,t){(e===`debug`||e===`warn`)&&console.warn(t)}var F6e=s((()=>{}));function I6e(e,t,n){let r=R6e(e,n);if(MS(r))for(let n of r.items)L6e(e,t,n);else if(Array.isArray(r))for(let n of r)L6e(e,t,n);else L6e(e,t,r)}function L6e(e,t,n){let r=R6e(e,n);if(!kS(r))throw Error(`Merge sources must be maps or map aliases`);let i=r.toJSON(null,e,Map);for(let[e,n]of i)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function R6e(e,t){return e&&DS(t)?t.resolve(e.doc,e):t}var mC,hC,z6e,B6e=s((()=>{NS(),XS(),mC=`<<`,hC={identify:e=>e===mC||typeof e==`symbol`&&e.description===mC,default:`key`,tag:`tag:yaml.org,2002:merge`,test:/^<<$/,resolve:()=>Object.assign(new YS(Symbol(mC)),{addToJSMap:I6e}),stringify:()=>mC},z6e=(e,t)=>(hC.identify(t)||jS(t)&&(!t.type||t.type===YS.PLAIN)&&hC.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===hC.tag&&e.default)}));function V6e(e,t,{key:n,value:r}){if(yS(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(z6e(e,n))I6e(e,t,r);else{let i=US(n,``,e);if(t instanceof Map)t.set(i,US(r,i,e));else if(t instanceof Set)t.add(i);else{let a=H6e(n,i,e),o=US(r,a,e);a in t?Object.defineProperty(t,a,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[a]=o}}return t}function H6e(e,t,n){if(t===null)return``;if(typeof t!=`object`)return String(t);if(yS(e)&&n?.doc){let t=k6e(n.doc,{});t.anchors=new Set;for(let e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+`..."`),P6e(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}var U6e=s((()=>{F6e(),B6e(),pC(),NS(),WS()}));function W6e(e,t,n){let r=ZS(e,void 0,n),i=ZS(t,void 0,n);return new gC(r,i)}var gC,_C=s((()=>{QS(),N6e(),U6e(),NS(),gC=class e{constructor(e,t=null){Object.defineProperty(this,ES,{value:CS}),this.key=e,this.value=t}clone(t){let{key:n,value:r}=this;return yS(n)&&(n=n.clone(t)),yS(r)&&(r=r.clone(t)),new e(n,r)}toJSON(e,t){return V6e(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?M6e(this,e,t,n):JSON.stringify(this)}}}));function G6e(e,t,n){return(t.inFlow??e.flow?q6e:K6e)(e,t,n)}function K6e({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:a,onChompKeep:o,onComment:s}){let{indent:c,options:{commentString:l}}=n,u=Object.assign({},n,{indent:a,type:null}),d=!1,f=[];for(let e=0;e<t.length;++e){let i=t[e],o=null;if(yS(i))!d&&i.spaceBefore&&f.push(``),vC(n,f,i.commentBefore,d),i.comment&&(o=i.comment);else if(AS(i)){let e=yS(i.key)?i.key:null;e&&(!d&&e.spaceBefore&&f.push(``),vC(n,f,e.commentBefore,d))}d=!1;let s=fC(i,u,()=>o=null,()=>d=!0);o&&(s+=nC(s,a,l(o))),d&&o&&(d=!1),f.push(r+s)}let p;if(f.length===0)p=i.start+i.end;else{p=f[0];for(let e=1;e<f.length;++e){let t=f[e];p+=t?`\n${c}${t}`:`
+`}}return e?(p+=`
+`+tC(l(e),c),s&&s()):d&&o&&o(),p}function q6e({items:e},t,{flowChars:n,itemIndent:r}){let{indent:i,indentStep:a,flowCollectionPadding:o,options:{commentString:s}}=t;r+=a;let c=Object.assign({},t,{indent:r,inFlow:!0,type:null}),l=!1,u=0,d=[];for(let n=0;n<e.length;++n){let i=e[n],a=null;if(yS(i))i.spaceBefore&&d.push(``),vC(t,d,i.commentBefore,!1),i.comment&&(a=i.comment);else if(AS(i)){let e=yS(i.key)?i.key:null;e&&(e.spaceBefore&&d.push(``),vC(t,d,e.commentBefore,!1),e.comment&&(l=!0));let n=yS(i.value)?i.value:null;n?(n.comment&&(a=n.comment),n.commentBefore&&(l=!0)):i.value==null&&e?.comment&&(a=e.comment)}a&&(l=!0);let o=fC(i,c,()=>a=null);l||=d.length>u||o.includes(`
+`),n<e.length-1?o+=`,`:t.options.trailingComma&&(t.options.lineWidth>0&&(l||=d.reduce((e,t)=>e+t.length+2,2)+(o.length+2)>t.options.lineWidth),l&&(o+=`,`)),a&&(o+=nC(o,r,s(a))),d.push(o),u=d.length}let{start:f,end:p}=n;if(d.length===0)return f+p;if(!l){let e=d.reduce((e,t)=>e+t.length+2,2);l=t.options.lineWidth>0&&e>t.options.lineWidth}if(l){let e=f;for(let t of d)e+=t?`\n${a}${i}${t}`:`
+`;return`${e}\n${i}${p}`}return`${f}${o}${d.join(` `)}${o}${p}`}function vC({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,``)),r){let i=tC(t(r),e);n.push(i.trimStart())}}var J6e=s((()=>{NS(),pC(),rC()}));function yC(e,t){let n=jS(t)?t.value:t;for(let r of e)if(AS(r)&&(r.key===t||r.key===n||jS(r.key)&&r.key.value===n))return r}var bC,xC=s((()=>{J6e(),U6e(),v6e(),NS(),_C(),XS(),bC=class extends _6e{static get tagName(){return`tag:yaml.org,2002:map`}constructor(e){super(SS,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,a=new this(e),o=(e,o)=>{if(typeof i==`function`)o=i.call(t,e,o);else if(Array.isArray(i)&&!i.includes(e))return;(o!==void 0||r)&&a.items.push(W6e(e,o,n))};if(t instanceof Map)for(let[e,n]of t)o(e,n);else if(t&&typeof t==`object`)for(let e of Object.keys(t))o(e,t[e]);return typeof e.sortMapEntries==`function`&&a.items.sort(e.sortMapEntries),a}add(e,t){let n;n=AS(e)?e:!e||typeof e!=`object`||!(`key`in e)?new gC(e,e?.value):new gC(e.key,e.value);let r=yC(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);jS(r.value)&&m6e(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>i(n,e)<0);e===-1?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=yC(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){let n=yC(this.items,e)?.value;return(!t&&jS(n)?n.value:n)??void 0}has(e){return!!yC(this.items,e)}set(e,t){this.add(new gC(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(let e of this.items)V6e(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!AS(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),G6e(this,e,{blockItemPrefix:``,flowChars:{start:`{`,end:`}`},itemIndent:e.indent||``,onChompKeep:n,onComment:t})}}})),SC,CC=s((()=>{NS(),xC(),SC={collection:`map`,default:!0,nodeClass:bC,tag:`tag:yaml.org,2002:map`,resolve(e,t){return kS(e)||t(`Expected a mapping for this tag`),e},createNode:(e,t,n)=>bC.from(e,t,n)}}));function wC(e){let t=jS(e)?e.value:e;return t&&typeof t==`string`&&(t=Number(t)),typeof t==`number`&&Number.isInteger(t)&&t>=0?t:null}var TC,EC=s((()=>{QS(),J6e(),v6e(),NS(),XS(),WS(),TC=class extends _6e{static get tagName(){return`tag:yaml.org,2002:seq`}constructor(e){super(TS,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=wC(e);return typeof t==`number`&&this.items.splice(t,1).length>0}get(e,t){let n=wC(e);if(typeof n!=`number`)return;let r=this.items[n];return!t&&jS(r)?r.value:r}has(e){let t=wC(e);return typeof t==`number`&&t<this.items.length}set(e,t){let n=wC(e);if(typeof n!=`number`)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[n];jS(r)&&m6e(t)?r.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let r=0;for(let e of this.items)n.push(US(e,String(r++),t));return n}toString(e,t,n){return e?G6e(this,e,{blockItemPrefix:`- `,flowChars:{start:`[`,end:`]`},itemIndent:(e.indent||``)+` `,onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let a of t){if(typeof r==`function`){let n=t instanceof Set?a:String(e++);a=r.call(t,n,a)}i.items.push(ZS(a,void 0,n))}}return i}}})),DC,OC=s((()=>{NS(),EC(),DC={collection:`seq`,default:!0,nodeClass:TC,tag:`tag:yaml.org,2002:seq`,resolve(e,t){return MS(e)||t(`Expected a sequence for this tag`),e},createNode:(e,t,n)=>TC.from(e,t,n)}})),kC,AC=s((()=>{dC(),kC={identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),cC(e,t,n,r)}}})),jC,Y6e=s((()=>{XS(),jC={identify:e=>e==null,createNode:()=>new YS(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new YS(null),stringify:({source:e},t)=>typeof e==`string`&&jC.test.test(e)?e:t.options.nullStr}})),MC,X6e=s((()=>{XS(),MC={identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new YS(e[0]===`t`||e[0]===`T`),stringify({source:e,value:t},n){return e&&MC.test.test(e)&&t===(e[0]===`t`||e[0]===`T`)?e:t?n.options.trueStr:n.options.falseStr}}}));function NC({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r==`bigint`)return String(r);let i=typeof r==`number`?r:Number(r);if(!isFinite(i))return isNaN(i)?`.nan`:i<0?`-.inf`:`.inf`;let a=Object.is(r,-0)?`-0`:JSON.stringify(r);if(!e&&t&&(!n||n===`tag:yaml.org,2002:float`)&&/^-?\d/.test(a)&&!a.includes(`e`)){let e=a.indexOf(`.`);e<0&&(e=a.length,a+=`.`);let n=t-(a.length-e-1);for(;n-->0;)a+=`0`}return a}var PC=s((()=>{})),Z6e,Q6e,$6e,e8e=s((()=>{XS(),PC(),Z6e={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:NC},Q6e={identify:e=>typeof e==`number`,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){let t=Number(e.value);return isFinite(t)?t.toExponential():NC(e)}},$6e={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new YS(parseFloat(e)),n=e.indexOf(`.`);return n!==-1&&e[e.length-1]===`0`&&(t.minFractionDigits=e.length-n-1),t},stringify:NC}}));function t8e(e,t,n){let{value:r}=e;return FC(r)&&r>=0?n+r.toString(t):NC(e)}var FC,IC,n8e,r8e,i8e,a8e=s((()=>{PC(),FC=e=>typeof e==`bigint`||Number.isInteger(e),IC=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n),n8e={identify:e=>FC(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^0o[0-7]+$/,resolve:(e,t,n)=>IC(e,2,8,n),stringify:e=>t8e(e,8,`0o`)},r8e={identify:FC,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>IC(e,0,10,n),stringify:NC},i8e={identify:e=>FC(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>IC(e,2,16,n),stringify:e=>t8e(e,16,`0x`)}})),o8e,s8e=s((()=>{CC(),Y6e(),OC(),AC(),X6e(),e8e(),a8e(),o8e=[SC,DC,kC,jC,MC,n8e,r8e,i8e,Z6e,Q6e,$6e]}));function c8e(e){return typeof e==`bigint`||Number.isInteger(e)}var LC,l8e,u8e,d8e=s((()=>{XS(),CC(),OC(),LC=({value:e})=>JSON.stringify(e),l8e=[{identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify:LC},{identify:e=>e==null,createNode:()=>new YS(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^null$/,resolve:()=>null,stringify:LC},{identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^true$|^false$/,resolve:e=>e===`true`,stringify:LC},{identify:c8e,default:!0,tag:`tag:yaml.org,2002:int`,test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>c8e(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:LC}],u8e=[SC,DC].concat(l8e,{default:!0,tag:``,test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}})})),RC,f8e=s((()=>{XS(),dC(),RC={identify:e=>e instanceof Uint8Array,default:!1,tag:`tag:yaml.org,2002:binary`,resolve(e,t){if(typeof atob==`function`){let t=atob(e.replace(/[\n\r]/g,``)),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}return t(`This environment does not support reading binary tags; either Buffer or atob is required`),e},stringify({comment:e,type:t,value:n},r,i,a){if(!n)return``;let o=n,s;if(typeof btoa==`function`){let e=``;for(let t=0;t<o.length;++t)e+=String.fromCharCode(o[t]);s=btoa(e)}else throw Error(`This environment does not support writing binary tags; either Buffer or btoa is required`);if(t??=YS.BLOCK_LITERAL,t!==YS.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(s.length/e),i=Array(n);for(let t=0,r=0;t<n;++t,r+=e)i[t]=s.substr(r,e);s=i.join(t===YS.BLOCK_LITERAL?`
+`:` `)}return cC({comment:e,type:t,value:s},r,i,a)}}}));function p8e(e,t){if(MS(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!AS(r)){if(kS(r)){r.items.length>1&&t(`Each pair must have its own sequence indicator`);let e=r.items[0]||new gC(new YS(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=AS(r)?r:new gC(r)}}else t(`Expected a sequence for this tag`);return e}function m8e(e,t,n){let{replacer:r}=n,i=new TC(e);i.tag=`tag:yaml.org,2002:pairs`;let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){typeof r==`function`&&(e=r.call(t,String(a++),e));let o,s;if(Array.isArray(e)){if(e.length===2)o=e[0],s=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`)}else if(e&&e instanceof Object){let t=Object.keys(e);if(t.length===1)o=t[0],s=e[o];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else o=e;i.items.push(W6e(o,s,n))}return i}var zC,h8e=s((()=>{NS(),_C(),XS(),EC(),zC={collection:`seq`,default:!1,tag:`tag:yaml.org,2002:pairs`,resolve:p8e,createNode:m8e}})),BC,VC,g8e=s((()=>{NS(),WS(),xC(),EC(),h8e(),BC=class e extends TC{constructor(){super(),this.add=bC.prototype.add.bind(this),this.delete=bC.prototype.delete.bind(this),this.get=bC.prototype.get.bind(this),this.has=bC.prototype.has.bind(this),this.set=bC.prototype.set.bind(this),this.tag=e.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;t?.onCreate&&t.onCreate(n);for(let e of this.items){let r,i;if(AS(e)?(r=US(e.key,``,t),i=US(e.value,r,t)):r=US(e,``,t),n.has(r))throw Error(`Ordered maps must not include duplicate keys`);n.set(r,i)}return n}static from(e,t,n){let r=m8e(e,t,n),i=new this;return i.items=r.items,i}},BC.tag=`tag:yaml.org,2002:omap`,VC={collection:`seq`,identify:e=>e instanceof Map,nodeClass:BC,default:!1,tag:`tag:yaml.org,2002:omap`,resolve(e,t){let n=p8e(e,t),r=[];for(let{key:e}of n.items)jS(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new BC,n)},createNode:(e,t,n)=>BC.from(e,t,n)}}));function _8e({value:e,source:t},n){return t&&(e?v8e:y8e).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}var v8e,y8e,b8e=s((()=>{XS(),v8e={identify:e=>e===!0,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new YS(!0),stringify:_8e},y8e={identify:e=>e===!1,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new YS(!1),stringify:_8e}})),x8e,S8e,C8e,w8e=s((()=>{XS(),PC(),x8e={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:NC},S8e={identify:e=>typeof e==`number`,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){let t=Number(e.value);return isFinite(t)?t.toExponential():NC(e)}},C8e={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new YS(parseFloat(e.replace(/_/g,``))),n=e.indexOf(`.`);if(n!==-1){let r=e.substring(n+1).replace(/_/g,``);r[r.length-1]===`0`&&(t.minFractionDigits=r.length)}return t},stringify:NC}}));function HC(e,t,n,{intAsBigInt:r}){let i=e[0];if((i===`-`||i===`+`)&&(t+=1),e=e.substring(t).replace(/_/g,``),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return i===`-`?BigInt(-1)*t:t}let a=parseInt(e,n);return i===`-`?-1*a:a}function T8e(e,t,n){let{value:r}=e;if(UC(r)){let e=r.toString(t);return r<0?`-`+n+e.substr(1):n+e}return NC(e)}var UC,E8e,D8e,O8e,k8e,A8e=s((()=>{PC(),UC=e=>typeof e==`bigint`||Number.isInteger(e),E8e={identify:UC,default:!0,tag:`tag:yaml.org,2002:int`,format:`BIN`,test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>HC(e,2,2,n),stringify:e=>T8e(e,2,`0b`)},D8e={identify:UC,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>HC(e,1,8,n),stringify:e=>T8e(e,8,`0`)},O8e={identify:UC,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>HC(e,0,10,n),stringify:NC},k8e={identify:UC,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>HC(e,2,16,n),stringify:e=>T8e(e,16,`0x`)}})),WC,GC,j8e=s((()=>{NS(),_C(),xC(),WC=class e extends bC{constructor(t){super(t),this.tag=e.tag}add(e){let t;t=AS(e)?e:e&&typeof e==`object`&&`key`in e&&`value`in e&&e.value===null?new gC(e.key,null):new gC(e,null),yC(this.items,t.key)||this.items.push(t)}get(e,t){let n=yC(this.items,e);return!t&&AS(n)?jS(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!=`boolean`)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=yC(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new gC(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error(`Set items must all have null values`)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)typeof r==`function`&&(e=r.call(t,e,e)),i.items.push(W6e(e,null,n));return i}},WC.tag=`tag:yaml.org,2002:set`,GC={collection:`map`,identify:e=>e instanceof Set,nodeClass:WC,default:!1,tag:`tag:yaml.org,2002:set`,createNode:(e,t,n)=>WC.from(e,t,n),resolve(e,t){if(kS(e)){if(e.hasAllNullValues(!0))return Object.assign(new WC,e);t(`Set items must all have null values`)}else t(`Expected a mapping for this tag`);return e}}}));function M8e(e,t){let n=e[0],r=n===`-`||n===`+`?e.substring(1):e,i=e=>t?BigInt(e):Number(e),a=r.replace(/_/g,``).split(`:`).reduce((e,t)=>e*i(60)+i(t),i(0));return n===`-`?i(-1)*a:a}function N8e(e){let{value:t}=e,n=e=>e;if(typeof t==`bigint`)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return NC(e);let r=``;t<0&&(r=`-`,t*=n(-1));let i=n(60),a=[t%i];return t<60?a.unshift(0):(t=(t-a[0])/i,a.unshift(t%i),t>=60&&(t=(t-a[0])/i,a.unshift(t))),r+a.map(e=>String(e).padStart(2,`0`)).join(`:`).replace(/000000\d*$/,``)}var P8e,F8e,KC,I8e=s((()=>{PC(),P8e={identify:e=>typeof e==`bigint`||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:n})=>M8e(e,n),stringify:N8e},F8e={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`TIME`,test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>M8e(e,!1),stringify:N8e},KC={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){let t=e.match(KC.test);if(!t)throw Error(`!!timestamp expects a date, starting with yyyy-mm-dd`);let[,n,r,i,a,o,s]=t.map(Number),c=t[7]?Number((t[7]+`00`).substr(1,3)):0,l=Date.UTC(n,r-1,i,a||0,o||0,s||0,c),u=t[8];if(u&&u!==`Z`){let e=M8e(u,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,``)??``}})),L8e,R8e=s((()=>{CC(),Y6e(),OC(),AC(),f8e(),b8e(),w8e(),A8e(),B6e(),g8e(),h8e(),j8e(),I8e(),L8e=[SC,DC,kC,jC,v8e,y8e,E8e,D8e,O8e,k8e,x8e,S8e,C8e,RC,hC,VC,zC,GC,P8e,F8e,KC]}));function z8e(e,t,n){let r=B8e.get(t);if(r&&!e)return n&&!r.includes(hC)?r.concat(hC):r.slice();let i=r;if(!i){if(Array.isArray(e))i=[];else{let e=Array.from(B8e.keys()).filter(e=>e!==`yaml11`).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}}if(Array.isArray(e))for(let t of e)i=i.concat(t);else typeof e==`function`&&(i=e(i.slice()));return n&&(i=i.concat(hC)),i.reduce((e,t)=>{let n=typeof t==`string`?V8e[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(V8e).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}var B8e,V8e,H8e,U8e=s((()=>{CC(),Y6e(),OC(),AC(),X6e(),e8e(),a8e(),s8e(),d8e(),f8e(),B6e(),g8e(),h8e(),R8e(),j8e(),I8e(),B8e=new Map([[`core`,o8e],[`failsafe`,[SC,DC,kC]],[`json`,u8e],[`yaml11`,L8e],[`yaml-1.1`,L8e]]),V8e={binary:RC,bool:MC,float:$6e,floatExp:Q6e,floatNaN:Z6e,floatTime:F8e,int:r8e,intHex:i8e,intOct:n8e,intTime:P8e,map:SC,merge:hC,null:jC,omap:VC,pairs:zC,seq:DC,set:GC,timestamp:KC},H8e={"tag:yaml.org,2002:binary":RC,"tag:yaml.org,2002:merge":hC,"tag:yaml.org,2002:omap":VC,"tag:yaml.org,2002:pairs":zC,"tag:yaml.org,2002:set":GC,"tag:yaml.org,2002:timestamp":KC}})),W8e,qC,G8e=s((()=>{NS(),CC(),OC(),AC(),U8e(),W8e=(e,t)=>e.key<t.key?-1:+(e.key>t.key),qC=class e{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:i,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(e)?z8e(e,`compat`):e?z8e(null,e):null,this.name=typeof i==`string`&&i||`core`,this.knownTags=r?H8e:{},this.tags=z8e(t,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,SS,{value:SC}),Object.defineProperty(this,wS,{value:kC}),Object.defineProperty(this,TS,{value:DC}),this.sortMapEntries=typeof a==`function`?a:a===!0?W8e:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}}));function K8e(e,t){let n=[],r=t.directives===!0;if(t.directives!==!1&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push(`---`);let i=k6e(e,t),{commentString:a}=i.options;if(e.commentBefore){n.length!==1&&n.unshift(``);let t=a(e.commentBefore);n.unshift(tC(t,``))}let o=!1,s=null;if(e.contents){if(yS(e.contents)){if(e.contents.spaceBefore&&r&&n.push(``),e.contents.commentBefore){let t=a(e.contents.commentBefore);n.push(tC(t,``))}i.forceBlockIndent=!!e.comment,s=e.contents.comment}let t=s?void 0:()=>o=!0,c=fC(e.contents,i,()=>s=null,t);s&&(c+=nC(c,``,a(s))),(c[0]===`|`||c[0]===`>`)&&n[n.length-1]===`---`?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(fC(e.contents,i));if(e.directives?.docEnd){if(e.comment){let t=a(e.comment);t.includes(`
+`)?(n.push(`...`),n.push(tC(t,``))):n.push(`... ${t}`)}else n.push(`...`)}else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,``)),t&&((!o||s)&&n[n.length-1]!==``&&n.push(``),n.push(tC(a(t),``)))}return n.join(`
+`)+`
+`}var q8e=s((()=>{NS(),pC(),rC()}));function JC(e){if(vS(e))return!0;throw Error(`Expected a YAML collection as document contents`)}var YC,XC=s((()=>{JS(),v6e(),NS(),_C(),WS(),G8e(),q8e(),d6e(),f6e(),QS(),o6e(),YC=class e{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,ES,{value:xS});let r=null;typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:`warn`,prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:`1.2`},n);this.options=i;let{version:a}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new VS({version:a}),this.setSchema(a,n),this.contents=e===void 0?null:this.createNode(e,r,n)}clone(){let t=Object.create(e.prototype,{[ES]:{value:xS}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=yS(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){JC(this.contents)&&this.contents.add(e)}addIn(e,t){JC(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=c6e(this);e.anchor=!t||n.has(t)?l6e(t||`a`,n):t}return new qS(e.anchor)}createNode(e,t,n){let r;if(typeof t==`function`)e=t.call({"":e},``,e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>typeof e==`number`||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else n===void 0&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:a,flow:o,keepUndefined:s,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:f}=u6e(this,a||`a`),p={aliasDuplicateObjects:i??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:f},m=ZS(e,l,p);return o&&vS(m)&&(m.flow=!0),d(),m}createPair(e,t,n={}){let r=this.createNode(e,null,n),i=this.createNode(t,null,n);return new gC(r,i)}delete(e){return JC(this.contents)?this.contents.delete(e):!1}deleteIn(e){return eC(e)?this.contents!=null&&(this.contents=null,!0):JC(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return vS(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return eC(e)?!t&&jS(this.contents)?this.contents.value:this.contents:vS(this.contents)?this.contents.getIn(e,t):void 0}has(e){return vS(this.contents)?this.contents.has(e):!1}hasIn(e){return eC(e)?this.contents!==void 0:vS(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=$S(this.schema,[e],t):JC(this.contents)&&this.contents.set(e,t)}setIn(e,t){eC(e)?this.contents=t:this.contents==null?this.contents=$S(this.schema,Array.from(e),t):JC(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e==`number`&&(e=String(e));let n;switch(e){case`1.1`:this.directives?this.directives.yaml.version=`1.1`:this.directives=new VS({version:`1.1`}),n={resolveKnownTags:!1,schema:`yaml-1.1`};break;case`1.2`:case`next`:this.directives?this.directives.yaml.version=e:this.directives=new VS({version:e}),n={resolveKnownTags:!0,schema:`core`};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw 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(n)this.schema=new qC(Object.assign(n,t));else throw Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:a}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r==`number`?r:100},s=US(this.contents,t??``,o);if(typeof i==`function`)for(let{count:e,res:t}of o.anchors.values())i(t,e);return typeof a==`function`?HS(a,{"":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 Error(`Document with errors cannot be stringified`);if(`indent`in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return K8e(this,e)}}})),ZC,QC,$C,ew,tw=s((()=>{ZC=class extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}},QC=class extends ZC{constructor(e,t,n){super(`YAMLParseError`,e,t,n)}},$C=class extends ZC{constructor(e,t,n){super(`YAMLWarning`,e,t,n)}},ew=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,``);if(a>=60&&o.length>80){let e=Math.min(a-39,o.length-79);o=`…`+o.substring(e),a-=e-1}if(o.length>80&&(o=o.substring(0,79)+`…`),r>1&&/^ *$/.test(o.substring(0,a))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+`…
+`),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let s=` `.repeat(a)+`^`.repeat(e);n.message+=`:\n\n${o}\n${s}\n`}}}));function nw(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:(!b||n!==`seq-item-ind`)&&(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let ee=e[e.length-1],te=ee?ee.offset+ee.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:te,start:x??te}}var rw=s((()=>{}));function iw(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(`
+`))return!0;if(e.end){for(let t of e.end)if(t.type===`newline`)return!0}return!1;case`flow-collection`:for(let t of e.items){for(let e of t.start)if(e.type===`newline`)return!0;if(t.sep){for(let e of t.sep)if(e.type===`newline`)return!0}if(iw(t.key)||iw(t.value))return!0}return!1;default:return!0}}var J8e=s((()=>{}));function Y8e(e,t,n){if(t?.type===`flow-collection`){let r=t.end[0];r.indent===e&&(r.source===`]`||r.source===`}`)&&iw(t)&&n(r,`BAD_INDENT`,`Flow end indicator should be more indented than parent`,!0)}}var X8e=s((()=>{J8e()}));function Z8e(e,t,n){let{uniqueKeys:r}=e.options;if(r===!1)return!1;let i=typeof r==`function`?r:(e,t)=>e===t||jS(e)&&jS(t)&&e.value===t.value;return t.some(e=>i(e.key,n))}var Q8e=s((()=>{NS()}));function $8e({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new((a?.nodeClass)??bC)(n.schema);n.atRoot&&=!1;let s=r.offset,c=null;for(let a of r.items){let{start:l,key:u,sep:d,value:f}=a,p=nw(l,{indicator:`explicit-key-ind`,next:u??d?.[0],offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0}),m=!p.found;if(m){if(u&&(u.type===`block-seq`?i(s,`BLOCK_AS_IMPLICIT_KEY`,`A block sequence may not be used as an implicit map key`):`indent`in u&&u.indent!==r.indent&&i(s,`BAD_INDENT`,e5e)),!p.anchor&&!p.tag&&!d){c=p.end,p.comment&&(o.comment?o.comment+=`
+`+p.comment:o.comment=p.comment);continue}(p.newlineAfterProp||iw(u))&&i(u??l[l.length-1],`MULTILINE_IMPLICIT_KEY`,`Implicit keys need to be on a single line`)}else p.found?.indent!==r.indent&&i(s,`BAD_INDENT`,e5e);n.atKey=!0;let h=p.end,g=u?e(n,u,p,i):t(n,h,l,null,p,i);n.schema.compat&&Y8e(r.indent,u,i),n.atKey=!1,Z8e(n,o.items,g)&&i(h,`DUPLICATE_KEY`,`Map keys must be unique`);let _=nw(d??[],{indicator:`map-value-ind`,next:f,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!u||u.type===`block-scalar`});if(s=_.end,_.found){m&&(f?.type===`block-map`&&!_.hasNewline&&i(s,`BLOCK_AS_IMPLICIT_KEY`,`Nested mappings are not allowed in compact mappings`),n.options.strict&&p.start<_.found.offset-1024&&i(g.range,`KEY_OVER_1024_CHARS`,`The : indicator must be at most 1024 chars after the start of an implicit block mapping key`));let c=f?e(n,f,_,i):t(n,s,d,null,_,i);n.schema.compat&&Y8e(r.indent,f,i),s=c.range[2];let l=new gC(g,c);n.options.keepSourceTokens&&(l.srcToken=a),o.items.push(l)}else{m&&i(g.range,`MISSING_CHAR`,`Implicit map keys need to be followed by map values`),_.comment&&(g.comment?g.comment+=`
+`+_.comment:g.comment=_.comment);let e=new gC(g);n.options.keepSourceTokens&&(e.srcToken=a),o.items.push(e)}}return c&&c<s&&i(c,`IMPOSSIBLE`,`Map comment with trailing content`),o.range=[r.offset,s,c??s],o}var e5e,t5e=s((()=>{_C(),xC(),rw(),J8e(),X8e(),Q8e(),e5e=`All mapping items must start at the same column`}));function n5e({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new((a?.nodeClass)??TC)(n.schema);n.atRoot&&=!1,n.atKey&&=!1;let s=r.offset,c=null;for(let{start:a,value:l}of r.items){let u=nw(a,{indicator:`seq-item-ind`,next:l,offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!u.found){if(u.anchor||u.tag||l)l?.type===`block-seq`?i(u.end,`BAD_INDENT`,`All sequence items must start at the same column`):i(s,`MISSING_CHAR`,`Sequence item without - indicator`);else{c=u.end,u.comment&&(o.comment=u.comment);continue}}let d=l?e(n,l,u,i):t(n,u.end,a,null,u,i);n.schema.compat&&Y8e(r.indent,l,i),s=d.range[2],o.items.push(d)}return o.range=[r.offset,s,c??s],o}var r5e=s((()=>{EC(),rw(),X8e()}));function aw(e,t,n,r){let i=``;if(e){let a=!1,o=``;for(let s of e){let{source:e,type:c}=s;switch(c){case`space`:a=!0;break;case`comment`:{n&&!a&&r(s,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let t=e.substring(1)||` `;i?i+=o+t:i=t,o=``;break}case`newline`:i&&(o+=e),a=!0;break;default:r(s,`UNEXPECTED_TOKEN`,`Unexpected ${c} at node end`)}t+=e.length}}return{comment:i,offset:t}}var ow=s((()=>{}));function i5e({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=r.start.source===`{`,s=o?`flow map`:`flow sequence`,c=new((a?.nodeClass)??(o?bC:TC))(n.schema);c.flow=!0;let l=n.atRoot;l&&(n.atRoot=!1),n.atKey&&=!1;let u=r.offset+r.start.source.length;for(let a=0;a<r.items.length;++a){let l=r.items[a],{start:d,key:f,sep:p,value:m}=l,h=nw(d,{flow:s,indicator:`explicit-key-ind`,next:f??p?.[0],offset:u,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!h.found){if(!h.anchor&&!h.tag&&!p&&!m){a===0&&h.comma?i(h.comma,`UNEXPECTED_TOKEN`,`Unexpected , in ${s}`):a<r.items.length-1&&i(h.start,`UNEXPECTED_TOKEN`,`Unexpected empty item in ${s}`),h.comment&&(c.comment?c.comment+=`
+`+h.comment:c.comment=h.comment),u=h.end;continue}!o&&n.options.strict&&iw(f)&&i(f,`MULTILINE_IMPLICIT_KEY`,`Implicit keys of flow sequence pairs need to be on a single line`)}if(a===0)h.comma&&i(h.comma,`UNEXPECTED_TOKEN`,`Unexpected , in ${s}`);else if(h.comma||i(h.start,`MISSING_CHAR`,`Missing , between ${s} items`),h.comment){let e=``;loop:for(let t of d)switch(t.type){case`comma`:case`space`:break;case`comment`:e=t.source.substring(1);break loop;default:break loop}if(e){let t=c.items[c.items.length-1];AS(t)&&(t=t.value??t.key),t.comment?t.comment+=`
+`+e:t.comment=e,h.comment=h.comment.substring(e.length+1)}}if(!o&&!p&&!h.found){let r=m?e(n,m,h,i):t(n,h.end,p,null,h,i);c.items.push(r),u=r.range[2],cw(m)&&i(r.range,`BLOCK_IN_FLOW`,sw)}else{n.atKey=!0;let a=h.end,g=f?e(n,f,h,i):t(n,a,d,null,h,i);cw(f)&&i(g.range,`BLOCK_IN_FLOW`,sw),n.atKey=!1;let _=nw(p??[],{flow:s,indicator:`map-value-ind`,next:m,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(_.found){if(!o&&!h.found&&n.options.strict){if(p)for(let e of p){if(e===_.found)break;if(e.type===`newline`){i(e,`MULTILINE_IMPLICIT_KEY`,`Implicit keys of flow sequence pairs need to be on a single line`);break}}h.start<_.found.offset-1024&&i(_.found,`KEY_OVER_1024_CHARS`,`The : indicator must be at most 1024 chars after the start of an implicit flow sequence key`)}}else m&&(`source`in m&&m.source?.[0]===`:`?i(m,`MISSING_CHAR`,`Missing space after : in ${s}`):i(_.start,`MISSING_CHAR`,`Missing , or : between ${s} items`));let v=m?e(n,m,_,i):_.found?t(n,_.end,p,null,_,i):null;v?cw(m)&&i(v.range,`BLOCK_IN_FLOW`,sw):_.comment&&(g.comment?g.comment+=`
+`+_.comment:g.comment=_.comment);let y=new gC(g,v);if(n.options.keepSourceTokens&&(y.srcToken=l),o){let e=c;Z8e(n,e.items,g)&&i(a,`DUPLICATE_KEY`,`Map keys must be unique`),e.items.push(y)}else{let e=new bC(n.schema);e.flow=!0,e.items.push(y);let t=(v??g).range;e.range=[g.range[0],t[1],t[2]],c.items.push(e)}u=v?v.range[2]:_.end}}let d=o?`}`:`]`,[f,...p]=r.end,m=u;if(f?.source===d)m=f.offset+f.source.length;else{let e=s[0].toUpperCase()+s.substring(1),t=l?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`;i(u,l?`MISSING_CHAR`:`BAD_INDENT`,t),f&&f.source.length!==1&&p.unshift(f)}if(p.length>0){let e=aw(p,m,n.options.strict,i);e.comment&&(c.comment?c.comment+=`
+`+e.comment:c.comment=e.comment),c.range=[r.offset,m,e.offset]}else c.range=[r.offset,m,m];return c}var sw,cw,a5e=s((()=>{NS(),_C(),xC(),EC(),ow(),rw(),J8e(),Q8e(),sw=`Block collections are not allowed within flow collections`,cw=e=>e&&(e.type===`block-map`||e.type===`block-seq`)}));function o5e(e,t,n,r,i,a){let o=n.type===`block-map`?$8e(e,t,n,r,a):n.type===`block-seq`?n5e(e,t,n,r,a):i5e(e,t,n,r,a),s=o.constructor;return i===`!`||i===s.tagName?(o.tag=s.tagName,o):(i&&(o.tag=i),o)}function s5e(e,t,n,r,i){let a=r.tag,o=a?t.directives.tagName(a.source,e=>i(a,`TAG_RESOLVE_FAILED`,e)):null;if(n.type===`block-seq`){let{anchor:e,newlineAfterProp:t}=r,n=e&&a?e.offset>a.offset?e:a:e??a;n&&(!t||t.offset<n.offset)&&i(n,`MISSING_CHAR`,`Missing newline after block sequence props`)}let s=n.type===`block-map`?`map`:n.type===`block-seq`?`seq`:n.start.source===`{`?`map`:`seq`;if(!a||!o||o===`!`||o===bC.tagName&&s===`map`||o===TC.tagName&&s===`seq`)return o5e(e,t,n,i,o);let c=t.schema.tags.find(e=>e.tag===o&&e.collection===s);if(!c){let r=t.schema.knownTags[o];if(r?.collection===s)t.schema.tags.push(Object.assign({},r,{default:!1})),c=r;else return r?i(a,`BAD_COLLECTION_TYPE`,`${r.tag} used for ${s} collection, but expects ${r.collection??`scalar`}`,!0):i(a,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${o}`,!0),o5e(e,t,n,i,o)}let l=o5e(e,t,n,i,o,c),u=c.resolve?.(l,e=>i(a,`TAG_RESOLVE_FAILED`,e),t.options)??l,d=yS(u)?u:new YS(u);return d.range=l.range,d.tag=o,c?.format&&(d.format=c.format),d}var c5e=s((()=>{NS(),XS(),xC(),EC(),t5e(),r5e(),a5e()}));function l5e(e,t,n){let r=t.offset,i=u5e(t,e.options.strict,n);if(!i)return{value:``,type:null,comment:``,range:[r,r,r]};let a=i.mode===`>`?YS.BLOCK_FOLDED:YS.BLOCK_LITERAL,o=t.source?d5e(t.source):[],s=o.length;for(let e=o.length-1;e>=0;--e){let t=o[e][1];if(t===``||t===`\r`)s=e;else break}if(s===0){let e=i.chomp===`+`&&o.length>0?`
+`.repeat(Math.max(1,o.length-1)):``,n=r+i.length;return t.source&&(n+=t.source.length),{value:e,type:a,comment:i.comment,range:[r,n,n]}}let c=t.indent+i.indent,l=t.offset+i.length,u=0;for(let t=0;t<s;++t){let[r,a]=o[t];if(a===``||a===`\r`)i.indent===0&&r.length>c&&(c=r.length);else{r.length<c&&n(l+r.length,`MISSING_CHAR`,`Block scalars with more-indented leading empty lines must use an explicit indentation indicator`),i.indent===0&&(c=r.length),u=t,c===0&&!e.atRoot&&n(l,`BAD_INDENT`,`Block scalar values in collections must be indented`);break}l+=r.length+a.length+1}for(let e=o.length-1;e>=s;--e)o[e][0].length>c&&(s=e+1);let d=``,f=``,p=!1;for(let e=0;e<u;++e)d+=o[e][0].slice(c)+`
+`;for(let e=u;e<s;++e){let[t,r]=o[e];l+=t.length+r.length+1;let s=r[r.length-1]===`\r`;if(s&&(r=r.slice(0,-1)),r&&t.length<c){let e=`Block scalar lines must not be less indented than their ${i.indent?`explicit indentation indicator`:`first line`}`;n(l-r.length-(s?2:1),`BAD_INDENT`,e),t=``}a===YS.BLOCK_LITERAL?(d+=f+t.slice(c)+r,f=`
+`):t.length>c||r[0]===` `?(f===` `?f=`
+`:!p&&f===`
+`&&(f=`
+
+`),d+=f+t.slice(c)+r,f=`
+`,p=!0):r===``?f===`
+`?d+=`
+`:f=`
+`:(d+=f+r,f=` `,p=!1)}switch(i.chomp){case`-`:break;case`+`:for(let e=s;e<o.length;++e)d+=`
+`+o[e][0].slice(c);d[d.length-1]!==`
+`&&(d+=`
+`);break;default:d+=`
+`}let m=r+i.length+t.source.length;return{value:d,type:a,comment:i.comment,range:[r,m,m]}}function u5e({offset:e,props:t},n,r){if(t[0].type!==`block-scalar-header`)return r(t[0],`IMPOSSIBLE`,`Block scalar header not found`),null;let{source:i}=t[0],a=i[0],o=0,s=``,c=-1;for(let t=1;t<i.length;++t){let n=i[t];if(!s&&(n===`-`||n===`+`))s=n;else{let r=Number(n);!o&&r?o=r:c===-1&&(c=e+t)}}c!==-1&&r(c,`UNEXPECTED_TOKEN`,`Block scalar header includes extra characters: ${i}`);let l=!1,u=``,d=i.length;for(let e=1;e<t.length;++e){let i=t[e];switch(i.type){case`space`:l=!0;case`newline`:d+=i.source.length;break;case`comment`:n&&!l&&r(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`),d+=i.source.length,u=i.source.substring(1);break;case`error`:r(i,`UNEXPECTED_TOKEN`,i.message),d+=i.source.length;break;default:{r(i,`UNEXPECTED_TOKEN`,`Unexpected token in block scalar header: ${i.type}`);let e=i.source;e&&typeof e==`string`&&(d+=e.length)}}}return{mode:a,indent:o,chomp:s,comment:u,length:d}}function d5e(e){let t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[r?.[1]?[r[1],n.slice(r[1].length)]:[``,n]];for(let e=1;e<t.length;e+=2)i.push([t[e],t[e+1]]);return i}var f5e=s((()=>{XS()}));function p5e(e,t,n){let{offset:r,type:i,source:a,end:o}=e,s,c,l=(e,t,i)=>n(r+e,t,i);switch(i){case`scalar`:s=YS.PLAIN,c=m5e(a,l);break;case`single-quoted-scalar`:s=YS.QUOTE_SINGLE,c=h5e(a,l);break;case`double-quoted-scalar`:s=YS.QUOTE_DOUBLE,c=_5e(a,l);break;default:return n(e,`UNEXPECTED_TOKEN`,`Expected a flow scalar value, but found: ${i}`),{value:``,type:null,comment:``,range:[r,r+a.length,r+a.length]}}let u=r+a.length,d=aw(o,u,t,n);return{value:c,type:s,comment:d.comment,range:[r,u,d.offset]}}function m5e(e,t){let n=``;switch(e[0]){case` `:n=`a tab character`;break;case`,`:n=`flow indicator character ,`;break;case`%`:n=`directive indicator character %`;break;case`|`:case`>`:n=`block scalar indicator ${e[0]}`;break;case`@`:case"`":n=`reserved character ${e[0]}`}return n&&t(0,`BAD_SCALAR_START`,`Plain value cannot start with ${n}`),g5e(e)}function h5e(e,t){return(e[e.length-1]!==`'`||e.length===1)&&t(e.length,`MISSING_CHAR`,`Missing closing 'quote`),g5e(e.slice(1,-1)).replace(/''/g,`'`)}function g5e(e){let t=/(.*?)\r?\n/sy,n=t.exec(e);if(!n)return e;let r,i;try{r=RegExp(`(?<![ ])[ ]+$`),i=RegExp(`^[ ]+|(?<![ ])[ ]+$`,`g`)}catch{r=/[ \t]+$/,i=/^[ \t]+|[ \t]+$/g}let a=n[1].replace(r,``),o=` `,s=t.lastIndex;for(;n=t.exec(e);){let e=n[1].replace(i,``);e===``?o===`
+`?a+=o:o=`
+`:(a+=o+e,o=` `),s=t.lastIndex}let c=/[ \t]*(.*)/sy;return c.lastIndex=s,n=c.exec(e),a+o+(n?.[1]??``)}function _5e(e,t){let n=``;for(let r=1;r<e.length-1;++r){let i=e[r];if(i!==`\r`||e[r+1]!==`
+`){if(i===`
+`){let{fold:t,offset:i}=v5e(e,r);n+=t,r=i}else if(i===`\\`){let i=e[++r],a=b5e[i];if(a)n+=a;else if(i===`
+`)for(i=e[r+1];i===` `||i===` `;)i=e[++r+1];else if(i===`\r`&&e[r+1]===`
+`)for(i=e[++r+1];i===` `||i===` `;)i=e[++r+1];else if(i===`x`||i===`u`||i===`U`){let a=i===`x`?2:i===`u`?4:8;n+=y5e(e,r+1,a,t),r+=a}else{let i=e.substr(r-1,2);t(r-1,`BAD_DQ_ESCAPE`,`Invalid escape sequence ${i}`),n+=i}}else if(i===` `||i===` `){let t=r,a=e[r+1];for(;a===` `||a===` `;)a=e[++r+1];a!==`
+`&&(a!==`\r`||e[r+2]!==`
+`)&&(n+=r>t?e.slice(t,r+1):i)}else n+=i}}return(e[e.length-1]!==`"`||e.length===1)&&t(e.length,`MISSING_CHAR`,`Missing closing "quote`),n}function v5e(e,t){let n=``,r=e[t+1];for(;(r===` `||r===` `||r===`
+`||r===`\r`)&&(r!==`\r`||e[t+2]===`
+`);)r===`
+`&&(n+=`
+`),t+=1,r=e[t+1];return n||=` `,{fold:n,offset:t}}function y5e(e,t,n,r){let i=e.substr(t,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;try{return String.fromCodePoint(a)}catch{let i=e.substr(t-2,n+2);return r(t-2,`BAD_DQ_ESCAPE`,`Invalid escape sequence ${i}`),i}}var b5e,x5e=s((()=>{XS(),ow(),b5e={0:`\0`,a:`\x07`,b:`\b`,e:`\x1B`,f:`\f`,n:`
+`,r:`\r`,t:` `,v:`\v`,N:`…`,_:`\xA0`,L:`\u2028`,P:`\u2029`," ":` `,'"':`"`,"/":`/`,"\\":`\\`," ":` `}}));function S5e(e,t,n,r){let{value:i,type:a,comment:o,range:s}=t.type===`block-scalar`?l5e(e,t,r):p5e(t,e.options.strict,r),c=n?e.directives.tagName(n.source,e=>r(n,`TAG_RESOLVE_FAILED`,e)):null,l;l=e.options.stringKeys&&e.atKey?e.schema[wS]:c?C5e(e.schema,i,c,n,r):t.type===`scalar`?w5e(e,i,t,r):e.schema[wS];let u;try{let a=l.resolve(i,e=>r(n??t,`TAG_RESOLVE_FAILED`,e),e.options);u=jS(a)?a:new YS(a)}catch(e){let a=e instanceof Error?e.message:String(e);r(n??t,`TAG_RESOLVE_FAILED`,a),u=new YS(i)}return u.range=s,u.source=i,a&&(u.type=a),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function C5e(e,t,n,r,i){if(n===`!`)return e[wS];let a=[];for(let t of e.tags)if(!t.collection&&t.tag===n){if(t.default&&t.test)a.push(t);else return t}for(let e of a)if(e.test?.test(t))return e;let o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(r,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${n}`,n!==`tag:yaml.org,2002:str`),e[wS])}function w5e({atKey:e,directives:t,schema:n},r,i,a){let o=n.tags.find(t=>(t.default===!0||e&&t.default===`key`)&&t.test?.test(r))||n[wS];if(n.compat){let e=n.compat.find(e=>e.default&&e.test?.test(r))??n[wS];o.tag!==e.tag&&a(i,`TAG_RESOLVE_FAILED`,`Value may be parsed as either ${t.tagString(o.tag)} or ${t.tagString(e.tag)}`,!0)}return o}var T5e=s((()=>{NS(),XS(),f5e(),x5e()}));function E5e(e,t,n){if(t){n??=t.length;for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case`space`:case`comment`:case`newline`:e-=n.source.length;continue}for(n=t[++r];n?.type===`space`;)e+=n.source.length,n=t[++r];break}}return e}var D5e=s((()=>{}));function O5e(e,t,n,r){let i=e.atKey,{spaceBefore:a,comment:o,anchor:s,tag:c}=n,l,u=!0;switch(t.type){case`alias`:l=A5e(e,t,r),(s||c)&&r(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=S5e(e,t,c,r),s&&(l.anchor=s.source.substring(1));break;case`block-map`:case`block-seq`:case`flow-collection`:try{l=s5e(j5e,e,t,n,r),s&&(l.anchor=s.source.substring(1))}catch(e){r(t,`RESOURCE_EXHAUSTION`,e instanceof Error?e.message:String(e))}break;default:r(t,`UNEXPECTED_TOKEN`,t.type===`error`?t.message:`Unsupported token (type: ${t.type})`),u=!1}return l??=k5e(e,t.offset,void 0,null,n,r),s&&l.anchor===``&&r(s,`BAD_ALIAS`,`Anchor cannot be an empty string`),i&&e.options.stringKeys&&(!jS(l)||typeof l.value!=`string`||l.tag&&l.tag!==`tag:yaml.org,2002:str`)&&r(c??t,`NON_STRING_KEY`,`With stringKeys, all keys must be strings`),a&&(l.spaceBefore=!0),o&&(t.type===`scalar`&&t.source===``?l.comment=o:l.commentBefore=o),e.options.keepSourceTokens&&u&&(l.srcToken=t),l}function k5e(e,t,n,r,{spaceBefore:i,comment:a,anchor:o,tag:s,end:c},l){let u=S5e(e,{type:`scalar`,offset:E5e(t,n,r),indent:-1,source:``},s,l);return o&&(u.anchor=o.source.substring(1),u.anchor===``&&l(o,`BAD_ALIAS`,`Anchor cannot be an empty string`)),i&&(u.spaceBefore=!0),a&&(u.comment=a,u.range[2]=c),u}function A5e({options:e},{offset:t,source:n,end:r},i){let a=new qS(n.substring(1));a.source===``&&i(t,`BAD_ALIAS`,`Alias cannot be an empty string`),a.source.endsWith(`:`)&&i(t+n.length-1,`BAD_ALIAS`,`Alias ending in : is ambiguous`,!0);let o=t+n.length,s=aw(r,o,e.strict,i);return a.range=[t,o,s.offset],s.comment&&(a.comment=s.comment),a}var j5e,M5e=s((()=>{JS(),NS(),c5e(),T5e(),ow(),D5e(),j5e={composeNode:O5e,composeEmptyNode:k5e}}));function N5e(e,t,{offset:n,start:r,value:i,end:a},o){let s=Object.assign({_directives:t},e),c=new YC(void 0,s),l={atKey:!1,atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=nw(r,{indicator:`doc-start`,next:i??a?.[0],offset:n,onError:o,parentIndent:0,startOnNewline:!0});u.found&&(c.directives.docStart=!0,i&&(i.type===`block-map`||i.type===`block-seq`)&&!u.hasNewline&&o(u.end,`MISSING_CHAR`,`Block collection cannot start on same line with directives-end marker`)),c.contents=i?O5e(l,i,u,o):k5e(l,u.end,r,null,u,o);let d=c.contents.range[2],f=aw(a,d,!1,o);return f.comment&&(c.comment=f.comment),c.range=[n,d,f.offset],c}var P5e=s((()=>{XC(),M5e(),ow(),rw()}));function lw(e){if(typeof e==`number`)return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+(typeof n==`string`?n.length:1)]}function F5e(e){let t=``,n=!1,r=!1;for(let i=0;i<e.length;++i){let a=e[i];switch(a[0]){case`#`:t+=(t===``?``:r?`
+
+`:`
+`)+(a.substring(1)||` `),n=!0,r=!1;break;case`%`:e[i+1]?.[0]!==`#`&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}var uw,I5e=s((()=>{o6e(),XC(),tw(),NS(),P5e(),ow(),uw=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{let i=lw(e);r?this.warnings.push(new $C(i,t,n)):this.errors.push(new QC(i,t,n))},this.directives=new VS({version:e.version||`1.2`}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=F5e(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(vS(i)&&!i.flow&&i.items.length>0){let e=i.items[0];AS(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n}\n${e}`:n}}if(t){for(let t=0;t<this.errors.length;++t)e.errors.push(this.errors[t]);for(let t=0;t<this.warnings.length;++t)e.warnings.push(this.warnings[t])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:F5e(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case`directive`:this.directives.add(e.source,(t,n,r)=>{let i=lw(e);i[0]+=t,this.onError(i,`BAD_DIRECTIVE`,n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case`document`:{let t=N5e(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`:{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new QC(lw(e),`UNEXPECTED_TOKEN`,t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case`doc-end`:{if(!this.doc){this.errors.push(new QC(lw(e),`UNEXPECTED_TOKEN`,`Unexpected doc-end without preceding document`));break}this.doc.directives.docEnd=!0;let t=aw(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let 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 QC(lw(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){let e=Object.assign({_directives:this.directives},this.options),n=new YC(void 0,e);this.atDirectives&&this.onError(t,`MISSING_CHAR`,`Missing directives-end indicator line`),n.range=[0,t,t],this.decorate(n,!1),yield n}}}}));function L5e(e,t=!0,n){if(e){let r=(e,t,r)=>{let i=typeof e==`number`?e:Array.isArray(e)?e[0]:e.offset;if(n)n(i,t,r);else throw new QC([i,i+1],t,r)};switch(e.type){case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return p5e(e,t,r);case`block-scalar`:return l5e({options:{strict:t}},e,r)}}return null}function R5e(e,t){let{implicitKey:n=!1,indent:r,inFlow:i=!1,offset:a=-1,type:o=`PLAIN`}=t,s=cC({type:o,value:e},{implicitKey:n,indent:r>0?` `.repeat(r):``,inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),c=t.end??[{type:`newline`,offset:-1,indent:r,source:`
+`}];switch(s[0]){case`|`:case`>`:{let e=s.indexOf(`
+`),t=s.substring(0,e),n=s.substring(e+1)+`
+`,i=[{type:`block-scalar-header`,offset:a,indent:r,source:t}];return V5e(i,c)||i.push({type:`newline`,offset:-1,indent:r,source:`
+`}),{type:`block-scalar`,offset:a,indent:r,props:i,source:n}}case`"`:return{type:`double-quoted-scalar`,offset:a,indent:r,source:s,end:c};case`'`:return{type:`single-quoted-scalar`,offset:a,indent:r,source:s,end:c};default:return{type:`scalar`,offset:a,indent:r,source:s,end:c}}}function z5e(e,t,n={}){let{afterKey:r=!1,implicitKey:i=!1,inFlow:a=!1,type:o}=n,s=`indent`in e?e.indent:null;if(r&&typeof s==`number`&&(s+=2),!o)switch(e.type){case`single-quoted-scalar`:o=`QUOTE_SINGLE`;break;case`double-quoted-scalar`:o=`QUOTE_DOUBLE`;break;case`block-scalar`:{let t=e.props[0];if(t.type!==`block-scalar-header`)throw Error(`Invalid block scalar header`);o=t.source[0]===`>`?`BLOCK_FOLDED`:`BLOCK_LITERAL`;break}default:o=`PLAIN`}let c=cC({type:o,value:t},{implicitKey:i||s===null,indent:s!==null&&s>0?` `.repeat(s):``,inFlow:a,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case`|`:case`>`:B5e(e,c);break;case`"`:H5e(e,c,`double-quoted-scalar`);break;case`'`:H5e(e,c,`single-quoted-scalar`);break;default:H5e(e,c,`scalar`)}}function B5e(e,t){let n=t.indexOf(`
+`),r=t.substring(0,n),i=t.substring(n+1)+`
+`;if(e.type===`block-scalar`){let t=e.props[0];if(t.type!==`block-scalar-header`)throw Error(`Invalid block scalar header`);t.source=r,e.source=i}else{let{offset:t}=e,n=`indent`in e?e.indent:-1,a=[{type:`block-scalar-header`,offset:t,indent:n,source:r}];V5e(a,`end`in e?e.end:void 0)||a.push({type:`newline`,offset:-1,indent:n,source:`
+`});for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:`block-scalar`,indent:n,props:a,source:i})}}function V5e(e,t){if(t)for(let n of t)switch(n.type){case`space`:case`comment`:e.push(n);break;case`newline`:return e.push(n),!0}return!1}function H5e(e,t,n){switch(e.type){case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:e.type=n,e.source=t;break;case`block-scalar`:{let r=e.props.slice(1),i=t.length;e.props[0].type===`block-scalar-header`&&(i-=e.props[0].source.length);for(let e of r)e.offset+=i;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case`block-map`:case`block-seq`:{let r={type:`newline`,offset:e.offset+t.length,indent:e.indent,source:`
+`};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{let r=`indent`in e?e.indent:-1,i=`end`in e&&Array.isArray(e.end)?e.end.filter(e=>e.type===`space`||e.type===`comment`||e.type===`newline`):[];for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:i})}}}var U5e=s((()=>{f5e(),x5e(),tw(),dC()}));function dw(e){switch(e.type){case`block-scalar`:{let t=``;for(let n of e.props)t+=dw(n);return t+e.source}case`block-map`:case`block-seq`:{let t=``;for(let n of e.items)t+=fw(n);return t}case`flow-collection`:{let t=e.start.source;for(let n of e.items)t+=fw(n);for(let n of e.end)t+=n.source;return t}case`document`:{let t=fw(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if(`end`in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function fw({start:e,key:t,sep:n,value:r}){let i=``;for(let t of e)i+=t.source;if(t&&(i+=dw(t)),n)for(let e of n)i+=e.source;return r&&(i+=dw(r)),i}var W5e,G5e=s((()=>{W5e=e=>`type`in e?dw(e):fw(e)}));function pw(e,t){`type`in e&&e.type===`document`&&(e={start:e.start,value:e.value}),K5e(Object.freeze([]),e,t)}function K5e(e,t,n){let r=n(t,e);if(typeof r==`symbol`)return r;for(let i of[`key`,`value`]){let a=t[i];if(a&&`items`in a){for(let t=0;t<a.items.length;++t){let r=K5e(Object.freeze(e.concat([[i,t]])),a.items[t],n);if(typeof r==`number`)t=r-1;else if(r===mw)return mw;else r===J5e&&(a.items.splice(t,1),--t)}typeof r==`function`&&i===`key`&&(r=r(t,e))}}return typeof r==`function`?r(t,e):r}var mw,q5e,J5e,Y5e=s((()=>{mw=Symbol(`break visit`),q5e=Symbol(`skip children`),J5e=Symbol(`remove item`),pw.BREAK=mw,pw.SKIP=q5e,pw.REMOVE=J5e,pw.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(t&&`items`in t)n=t.items[r];else return}return n},pw.parentCollection=(e,t)=>{let n=pw.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&`items`in i)return i;throw Error(`Parent collection not found`)}})),X5e=l({BOM:()=>``,DOCUMENT:()=>``,FLOW_END:()=>``,SCALAR:()=>``,createScalarToken:()=>R5e,isCollection:()=>$5e,isScalar:()=>e7e,prettyToken:()=>Z5e,resolveAsScalar:()=>L5e,setScalarValue:()=>z5e,stringify:()=>W5e,tokenType:()=>Q5e,visit:()=>pw});function Z5e(e){switch(e){case``:return`<BOM>`;case``:return`<DOC>`;case``:return`<FLOW_END>`;case``:return`<SCALAR>`;default:return JSON.stringify(e)}}function Q5e(e){switch(e){case``: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`
+`:case`\r
+`: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` `: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}var $5e,e7e,t7e=s((()=>{U5e(),G5e(),Y5e(),$5e=e=>!!e&&`items`in e,e7e=e=>!!e&&(e.type===`scalar`||e.type===`single-quoted-scalar`||e.type===`double-quoted-scalar`||e.type===`block-scalar`)}));function hw(e){switch(e){case void 0:case` `:case`
+`:case`\r`:case` `:return!0;default:return!1}}var n7e,r7e,gw,i7e,_w,vw,a7e=s((()=>{t7e(),n7e=new Set(`0123456789ABCDEFabcdef`),r7e=new Set(`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()`),gw=new Set(`,[]{}`),i7e=new Set(` ,[]{}
+\r `),_w=e=>!e||i7e.has(e),vw=class{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(typeof e!=`string`)throw TypeError(`source is not a string`);this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??`stream`;for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===` `||t===` `;)t=this.buffer[++e];return!t||t===`#`||t===`
+`||t===`\r`&&this.buffer[e+1]===`
+`}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;t===` `;)t=this.buffer[++n+e];if(t===`\r`){let t=this.buffer[n+e+1];if(t===`
+`||!t&&!this.atEnd)return e+n+1}return t===`
+`||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if(t===`-`||t===`.`){let t=this.buffer.substr(e,3);if((t===`---`||t===`...`)&&hw(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!=`number`||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
+`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]===`\r`&&--e,this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case`stream`:return yield*this.parseStream();case`line-start`:return yield*this.parseLineStart();case`block-start`:return yield*this.parseBlockStart();case`doc`:return yield*this.parseDocument();case`flow`:return yield*this.parseFlowCollection();case`quoted-scalar`:return yield*this.parseQuotedScalar();case`block-scalar`:return yield*this.parseBlockScalar();case`plain-scalar`:return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext(`stream`);if(e[0]===``&&(yield*this.pushCount(1),e=e.substring(1)),e[0]===`%`){let t=e.length,n=e.indexOf(`#`);for(;n!==-1;){let r=e[n-1];if(r===` `||r===` `){t=n-1;break}n=e.indexOf(`#`,n+1)}for(;;){let n=e[t-1];if(n===` `||n===` `)--t;else break}let r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),`stream`}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),`stream`}return yield``,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext(`line-start`);if(e===`-`||e===`.`){if(!this.atEnd&&!this.hasChars(4))return this.setNext(`line-start`);let e=this.peek(3);if((e===`---`||e===`...`)&&hw(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,e===`---`?`doc`:`stream`}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!hw(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext(`block-start`);if((e===`-`||e===`?`||e===`:`)&&hw(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,`block-start`}return`doc`}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(e===null)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(_w),`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,n=-1;do e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let r=this.getLine();if(r===null)return this.setNext(`flow`);if((n!==-1&&n<this.indentNext&&r[0]!==`#`||n===0&&(r.startsWith(`---`)||r.startsWith(`...`))&&hw(r[3]))&&(n!==this.indentNext-1||this.flowLevel!==1||r[0]!==`]`&&r[0]!==`}`))return this.flowLevel=0,yield``,yield*this.parseLineStart();let i=0;for(;r[i]===`,`;)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i+=yield*this.pushIndicators(),r[i]){case void 0:return`flow`;case`#`:return yield*this.pushCount(r.length-i),`flow`;case`{`:case`[`:return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,`flow`;case`}`:case`]`:return yield*this.pushCount(1),this.flowKey=!0,--this.flowLevel,this.flowLevel?`flow`:`doc`;case`*`:return yield*this.pushUntil(_w),`flow`;case`"`:case`'`:return this.flowKey=!0,yield*this.parseQuotedScalar();case`:`:{let e=this.charAt(1);if(this.flowKey||hw(e)||e===`,`)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),`flow`}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if(e===`'`)for(;t!==-1&&this.buffer[t+1]===`'`;)t=this.buffer.indexOf(`'`,t+2);else for(;t!==-1;){let e=0;for(;this.buffer[t-1-e]===`\\`;)e+=1;if(e%2==0)break;t=this.buffer.indexOf(`"`,t+1)}let n=this.buffer.substring(0,t),r=n.indexOf(`
+`,this.pos);if(r!==-1){for(;r!==-1;){let e=this.continueScalar(r+1);if(e===-1)break;r=n.indexOf(`
+`,e)}r!==-1&&(t=r-(n[r-1]===`\r`?2:1))}if(t===-1){if(!this.atEnd)return this.setNext(`quoted-scalar`);t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?`flow`:`doc`}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if(t===`+`)this.blockScalarKeep=!0;else if(t>`0`&&t<=`9`)this.blockScalarIndent=Number(t)-1;else if(t!==`-`)break}return yield*this.pushUntil(e=>hw(e)||e===`#`)}*parseBlockScalar(){let e=this.pos-1,t=0,n;loop:for(let r=this.pos;n=this.buffer[r];++r)switch(n){case` `:t+=1;break;case`
+`:e=r,t=0;break;case`\r`:{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext(`block-scalar`);if(e===`
+`)break}default:break loop}if(!n&&!this.atEnd)return this.setNext(`block-scalar`);if(t>=this.indentNext){this.indentNext=this.blockScalarIndent===-1?t:this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let t=this.continueScalar(e+1);if(t===-1)break;e=this.buffer.indexOf(`
+`,t)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext(`block-scalar`);e=this.buffer.length}}let r=e+1;for(n=this.buffer[r];n===` `;)n=this.buffer[++r];if(n===` `){for(;n===` `||n===` `||n===`\r`||n===`
+`;)n=this.buffer[++r];e=r-1}else if(!this.blockScalarKeep)do{let n=e-1,r=this.buffer[n];r===`\r`&&(r=this.buffer[--n]);let i=n;for(;r===` `;)r=this.buffer[--n];if(r===`
+`&&n>=this.pos&&n+1+t>i)e=n;else break}while(1);return yield``,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e=this.flowLevel>0,t=this.pos-1,n=this.pos-1,r;for(;r=this.buffer[++n];)if(r===`:`){let r=this.buffer[n+1];if(hw(r)||e&&gw.has(r))break;t=n}else if(hw(r)){let i=this.buffer[n+1];if(r===`\r`&&(i===`
+`?(n+=1,r=`
+`,i=this.buffer[n+1]):t=n),i===`#`||e&&gw.has(i))break;if(r===`
+`){let e=this.continueScalar(n+1);if(e===-1)break;n=Math.max(n,e-2)}}else{if(e&&gw.has(r))break;t=n}return!r&&!this.atEnd?this.setNext(`plain-scalar`):(yield``,yield*this.pushToIndex(t+1,!0),e?`flow`:`doc`)}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield``),0)}*pushIndicators(){let e=0;loop:for(;;){switch(this.charAt(0)){case`!`:e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue loop;case`&`:e+=yield*this.pushUntil(_w),e+=yield*this.pushSpaces(!0);continue loop;case`-`:case`?`:case`:`:{let t=this.flowLevel>0,n=this.charAt(1);if(hw(n)||t&&gw.has(n)){t?this.flowKey&&=!1:this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue loop}}}break loop}return e}*pushTag(){if(this.charAt(1)===`<`){let e=this.pos+2,t=this.buffer[e];for(;!hw(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(r7e.has(t))t=this.buffer[++e];else if(t===`%`&&n7e.has(this.buffer[e+1])&&n7e.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===`
+`?yield*this.pushCount(1):e===`\r`&&this.charAt(1)===`
+`?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,n;do n=this.buffer[++t];while(n===` `||e&&n===` `);let r=t-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=t),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}})),yw,o7e=s((()=>{yw=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){let r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};let r=this.lineStarts[t-1];return{line:t,col:e-r+1}}}}}));function bw(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function s7e(e){for(let t=0;t<e.length;++t)switch(e[t].type){case`space`:case`comment`:case`newline`:break;default:return t}return-1}function c7e(e){switch(e?.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:case`flow-collection`:return!0;default:return!1}}function xw(e){switch(e.type){case`document`:return e.start;case`block-map`:{let t=e.items[e.items.length-1];return t.sep??t.start}case`block-seq`:return e.items[e.items.length-1].start;default:return[]}}function Sw(e){if(e.length===0)return[];let t=e.length;loop:for(;--t>=0;)switch(e[t].type){case`doc-start`:case`explicit-key-ind`:case`map-value-ind`:case`seq-item-ind`:case`newline`:break loop}for(;e[++t]?.type===`space`;);return e.splice(t,e.length)}function Cw(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n<t.length;++n)e.push(t[n])}function l7e(e){if(e.start.type===`flow-seq-start`)for(let t of e.items)t.sep&&!t.value&&!bw(t.start,`explicit-key-ind`)&&!bw(t.sep,`map-value-ind`)&&(t.key&&(t.value=t.key),delete t.key,c7e(t.value)?t.value.end?Cw(t.value.end,t.sep):t.value.end=t.sep:Cw(t.start,t.sep),delete t.sep)}var ww,u7e=s((()=>{t7e(),a7e(),ww=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 vw,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=Q5e(e);if(!t){let t=`Not a YAML token: ${e}`;yield*this.pop({type:`error`,offset:this.offset,message:t,source:e}),this.offset+=e.length}else if(t===`scalar`)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}}*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(){let e=this.peek(1);if(this.type===`doc-end`&&e?.type!==`doc-end`){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:`doc-end`,offset:this.offset,source:this.source})}else{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()}}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(!t)yield{type:`error`,offset:this.offset,source:``,message:`Tried to pop an empty stack`};else if(this.stack.length===0)yield t;else{let e=this.peek(1);switch(t.type===`block-scalar`?t.indent=`indent`in e?e.indent:0:t.type===`flow-collection`&&e.type===`document`&&(t.indent=0),t.type===`flow-collection`&&l7e(t),e.type){case`document`:e.value=t;break;case`block-scalar`:e.props.push(t);break;case`block-map`:{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case`block-seq`:{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case`flow-collection`:{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((e.type===`document`||e.type===`block-map`||e.type===`block-seq`)&&(t.type===`block-map`||t.type===`block-seq`)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&s7e(n.start)===-1&&(t.indent===0||n.start.every(e=>e.type!==`comment`||e.indent<t.indent))&&(e.type===`document`?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}}*stream(){switch(this.type){case`directive-line`:yield{type:`directive`,offset:this.offset,source:this.source};return;case`byte-order-mark`:case`space`:case`comment`:case`newline`:yield this.sourceToken;return;case`doc-mode`:case`doc-start`:{let e={type:`document`,offset:this.offset,start:[]};this.type===`doc-start`&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:`error`,offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case`doc-start`:s7e(e.start)===-1?e.start.push(this.sourceToken):(yield*this.pop(),yield*this.step());return;case`anchor`:case`tag`:case`space`:case`comment`:case`newline`:e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:`error`,offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type===`map-value-ind`){let t=Sw(xw(this.peek(2))),n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];let r={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case`space`:case`comment`:case`newline`:e.props.push(this.sourceToken);return;case`scalar`:if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf(`
+`)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(`
+`,e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case`newline`:if(this.onKeyLine=!1,t.value){let n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`space`:case`comment`:if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){Cw(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&this.type!==`seq-item-ind`,i=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;r<t.sep.length;++r){let i=t.sep[r];switch(i.type){case`newline`:n.push(r);break;case`space`:break;case`comment`:i.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(i=t.sep.splice(n[1]))}switch(this.type){case`anchor`:case`tag`:r||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`explicit-key-ind`:!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):r||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case`map-value-ind`:if(t.explicitKey){if(!t.sep){if(bw(t.start,`newline`))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=Sw(t.start);this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}}else if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(bw(t.sep,`map-value-ind`))this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(c7e(t.key)&&!bw(t.sep,`newline`)){let e=Sw(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken)}else t.sep?t.value||r?e.items.push({start:i,key:null,sep:[this.sourceToken]}):bw(t.sep,`map-value-ind`)?this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let r=this.startBlockValue(e);if(r){if(r.type===`block-seq`){if(!t.explicitKey&&t.sep&&!bw(t.sep,`newline`)){yield*this.pop({type:`error`,offset:this.offset,message:`Unexpected block-seq-ind on same line with key`,source:this.source});return}}else n&&e.items.push({start:i});this.stack.push(r);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case`newline`:if(t.value){let n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case`space`:case`comment`:if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){Cw(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case`anchor`:case`tag`:if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case`seq-item-ind`:if(this.indent!==e.indent)break;t.value||bw(t.start,`seq-item-ind`)?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if(this.type===`flow-error-end`){let e;do yield*this.pop(),e=this.peek(1);while(e?.type===`flow-collection`)}else if(e.end.length===0){switch(this.type){case`comma`:case`explicit-key-ind`:!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case`map-value-ind`:!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]});return;case`space`:case`comment`:case`newline`:case`anchor`:case`tag`:!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case`flow-map-end`:case`flow-seq-end`:e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if(t.type===`block-map`&&(this.type===`map-value-ind`&&t.indent===e.indent||this.type===`newline`&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type===`map-value-ind`&&t.type!==`flow-collection`){let n=Sw(xw(t));l7e(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf(`
+`)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(`
+`,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;let t=Sw(xw(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;let t=Sw(xw(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 this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(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],this.type===`newline`&&(yield*this.pop())}}}}));function d7e(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new yw||null,prettyErrors:t}}function f7e(e,t={}){let{lineCounter:n,prettyErrors:r}=d7e(t),i=new ww(n?.addNewLine),a=new uw(t),o=Array.from(a.compose(i.parse(e)));if(r&&n)for(let t of o)t.errors.forEach(ew(e,n)),t.warnings.forEach(ew(e,n));return o.length>0?o:Object.assign([],{empty:!0},a.streamInfo())}function p7e(e,t={}){let{lineCounter:n,prettyErrors:r}=d7e(t),i=new ww(n?.addNewLine),a=new uw(t),o=null;for(let t of a.compose(i.parse(e),!0,e.length))if(!o)o=t;else if(o.options.logLevel!==`silent`){o.errors.push(new QC(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return r&&n&&(o.errors.forEach(ew(e,n)),o.warnings.forEach(ew(e,n))),o}function Tw(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let i=p7e(e,n);if(!i)return null;if(i.warnings.forEach(e=>P6e(i.options.logLevel,e)),i.errors.length>0){if(i.options.logLevel!==`silent`)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function Ew(e,t,n){let r=null;if(typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n==`string`&&(n=n.length),typeof n==`number`){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=n??t??{};if(!e)return}return OS(e)&&!r?e.toString(n):new YC(e,r,n).toString(n)}var m7e=s((()=>{I5e(),XC(),tw(),F6e(),NS(),o7e(),u7e()})),h7e=l({Alias:()=>qS,CST:()=>X5e,Composer:()=>uw,Document:()=>YC,Lexer:()=>vw,LineCounter:()=>yw,Pair:()=>gC,Parser:()=>ww,Scalar:()=>YS,Schema:()=>qC,YAMLError:()=>ZC,YAMLMap:()=>bC,YAMLParseError:()=>QC,YAMLSeq:()=>TC,YAMLWarning:()=>$C,isAlias:()=>DS,isCollection:()=>vS,isDocument:()=>OS,isMap:()=>kS,isNode:()=>yS,isPair:()=>AS,isScalar:()=>jS,isSeq:()=>MS,parse:()=>Tw,parseAllDocuments:()=>f7e,parseDocument:()=>p7e,stringify:()=>Ew,visit:()=>PS,visitAsync:()=>IS}),g7e=s((()=>{I5e(),XC(),G8e(),tw(),JS(),NS(),_C(),XS(),xC(),EC(),t7e(),a7e(),o7e(),u7e(),m7e(),BS()})),_7e=l({Alias:()=>qS,CST:()=>X5e,Composer:()=>uw,Document:()=>YC,Lexer:()=>vw,LineCounter:()=>yw,Pair:()=>gC,Parser:()=>ww,Scalar:()=>YS,Schema:()=>qC,YAMLError:()=>ZC,YAMLMap:()=>bC,YAMLParseError:()=>QC,YAMLSeq:()=>TC,YAMLWarning:()=>$C,default:()=>v7e,isAlias:()=>DS,isCollection:()=>vS,isDocument:()=>OS,isMap:()=>kS,isNode:()=>yS,isPair:()=>AS,isScalar:()=>jS,isSeq:()=>MS,parse:()=>Tw,parseAllDocuments:()=>f7e,parseDocument:()=>p7e,stringify:()=>Ew,visit:()=>PS,visitAsync:()=>IS}),v7e,Dw=s((()=>{g7e(),g7e(),v7e=h7e})),y7e,b7e,x7e,Ow,S7e=s((()=>{yc(),Dw(),y7e={language:`json`,parse:e=>JSON.parse(e),stringify:e=>JSON.stringify(e,null,2)},b7e={language:`yaml`,parse:e=>Tw(e),stringify:e=>Ew(e)},x7e=new Set([`application/yaml`,`application/x-yaml`,`text/yaml`,`text/x-yaml`]),Ow=e=>{let t=vc(e).essence;if(t===`application/json`||t.endsWith(`+json`))return y7e;if(x7e.has(t)||t.endsWith(`+yaml`))return b7e}})),C7e,w7e=s((()=>{C7e=Symbol(`collapsible-section-heading-level`)}));function T7e({multiple:e,accept:t,onChange:n,onError:r}={}){let i=E(null),a;return typeof document<`u`&&(a=document.createElement(`input`),a.type=`file`,a.onchange=e=>{if(!(e.target instanceof HTMLInputElement))return;let t=e.target;return i.value=t.files,n?.(i.value)},a.onerror=()=>r?.(),a.multiple=e,a.accept=t),{files:mn(i),open:()=>{if(!a)return r?.();a.click()}}}var E7e=s((()=>{B()})),D7e,O7e,k7e=s((()=>{Kl(),B(),D7e={class:`circular-loader`},O7e=k({inheritAttrs:!1,__name:`ScalarLoading`,props:{loader:{},size:{}},setup(e){let{cx:t}=Gl(),n=Ul({variants:{size:{xs:`size-3`,sm:`size-3.5`,md:`size-4`,lg:`size-5`,xl:`size-6`,"2xl":`size-8`,"3xl":`size-10`,full:`size-full`}},defaultVariants:{size:`full`}});return(r,i)=>e.loader?(j(),M(`div`,ut(oi({key:0},D(t)(`loader-wrapper`,D(n)({size:e.size})))),[(j(),M(`svg`,{class:lt([`svg-loader`,{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:`0 0 100 100`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`},[i[0]||=ni(`<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-27df5cd8></path>`,5),P(`g`,D7e,[P(`circle`,{class:lt([`loader-path`,{"loader-path-off":!e.loader.isLoading}]),cx:`50`,cy:`50`,fill:`none`,r:`20`,"stroke-width":`3`},null,2)])],2))],16)):I(``,!0)}})})),kw,Aw=s((()=>{k7e(),aS(),kw=iS(O7e,[[`__scopeId`,`data-v-27df5cd8`]])})),A7e,j7e=s((()=>{A7e={solid:[`scalar-button-solid`,`bg-b-btn text-c-btn focus-visible:border-c-btn active:bg-b-btn hover:bg-h-btn outline-offset-1`],outlined:[`scalar-button-outlined`,`active:bg-btn-1 shadow-border bg-b-1 text-c-1 hover:bg-b-2`],ghost:[`scalar-button-ghost`,`bg-transparent text-c-2 active:text-c-1 hover:text-c-1`],gradient:[`scalar-button-gradient`,`shadow-border bg-b-1.5 bg-linear-to-b from-b-1 to-b-2 hover:bg-linear-to-t`,`dark:bg-linear-to-t dark:hover:bg-linear-to-b`],danger:[`scalar-button-danger`,`bg-c-danger text-white active:brightness-90 hover:brightness-90`]}})),M7e,N7e,P7e=s((()=>{Aw(),j7e(),Kl(),B(),M7e={key:3,class:`centered`},N7e=k({inheritAttrs:!1,__name:`ScalarButton`,props:{is:{default:`button`},variant:{default:`solid`},size:{default:`md`},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){let t=Ul({base:`scalar-button flex cursor-pointer items-center justify-center rounded font-medium -outline-offset-1`,variants:{disabled:{true:`bg-b-2 text-color-3 shadow-none`},size:{xs:`px-2 py-1 text-xs/4`,sm:`px-3.5 py-2 text-sm/4`,md:`px-5 py-3 text-sm/4`},variant:A7e},compoundVariants:[{disabled:!0,variant:[`solid`,`outlined`,`ghost`,`gradient`,`danger`],class:`bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]`},{disabled:!0,variant:[`gradient`],class:`to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t`}]}),n=Ul({base:`shrink-0`,variants:{size:{xs:`size-2.75 -ml-0.25 mr-1`,sm:`size-3.5 -ml-0.25 mr-1`,md:`size-3.5 -ml-0.5 mr-1.5`}}}),r=Ul({variants:{size:{xs:`size-4`,sm:`size-5`,md:`size-6`}}}),{cx:i}=Gl();return(a,o)=>(j(),N(Ar(e.is),oi({"aria-disabled":e.disabled||void 0,type:e.is===`button`?`button`:void 0},D(i)(D(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:O(()=>[a.$slots.icon||e.icon?(j(),M(`div`,{key:0,class:lt([D(n)({size:e.size}),{invisible:e.loader?.isActive}])},[A(a.$slots,`icon`,{},()=>[(j(),N(Ar(e.icon),{class:`size-full`}))])],2)):I(``,!0),e.loader?(j(),M(`span`,{key:1,class:lt({invisible:e.loader?.isActive})},[A(a.$slots,`default`)],2)):A(a.$slots,`default`,{},void 0,void 0,2),e.loader?.isActive?(j(),M(`div`,M7e,[R(D(kw),{class:lt(D(r)({size:e.size})),loader:e.loader},null,8,[`class`,`loader`])])):I(``,!0)]),_:3},16,[`aria-disabled`,`type`]))}})})),jw,F7e=s((()=>{P7e(),jw=N7e})),Mw=s((()=>{F7e()}));function I7e(e){return e?.options!==void 0}function L7e(e){return e[0]?I7e(e[0]):!1}var R7e=s((()=>{})),z7e,B7e=s((()=>{z7e=((e,t)=>e===``?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())))})),V7e,H7e=s((()=>{B(),Qs(),V7e=k({__name:`ScalarListboxCheckbox`,props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(j(),M(`div`,{class:lt([`flex size-4 items-center justify-center p-0.75`,[e.selected?`bg-c-accent text-b-1`:`shadow-border text-transparent`,e.multiselect?`rounded`:`rounded-full`]])},[e.selected?(j(),N(D(Vs),{key:0,class:`size-3`,weight:`bold`})):I(``,!0)],2))}})})),Nw,Pw=s((()=>{H7e(),Nw=V7e})),U7e,W7e,G7e=s((()=>{Kl(),B(),U7e=[`aria-selected`],W7e=k({__name:`ScalarComboboxOption`,props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=Ul({base:[`group/item`,`flex min-w-0 items-center gap-1.5 rounded-md px-2 py-1.5 text-left`,`truncate bg-transparent text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{selected:{true:`text-c-1`},active:{true:`bg-b-2`}}});return(n,r)=>(j(),M(`li`,{"aria-selected":e.selected,class:lt(D(Wl)(D(t)({active:e.active,selected:e.selected}))),role:`option`,tabindex:`-1`},[A(n.$slots,`default`,{active:e.active,selected:e.selected})],10,U7e))}})})),K7e,q7e=s((()=>{G7e(),K7e=W7e})),J7e,Y7e,X7e,Z7e=s((()=>{B(),J7e=[`id`,`aria-labelledby`,`role`],Y7e=[`id`],X7e=k({__name:`ScalarComboboxOptionGroup`,props:{id:{default:()=>xr()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(j(),M(`div`,{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:`contents`,role:e.hidden?void 0:`group`},[e.hidden?I(``,!0):(j(),M(`div`,{key:0,id:`${e.id}-label`,class:`text-c-2 min-w-0 truncate px-2.5 py-1.5`},[A(t.$slots,`label`)],8,Y7e)),A(t.$slots,`default`)],8,J7e))}})})),Q7e,$7e=s((()=>{Z7e(),Q7e=X7e})),e9e,t9e,n9e,r9e,i9e,a9e,o9e,s9e=s((()=>{Aw(),B7e(),Pw(),q7e(),$7e(),R7e(),B(),Qs(),e9e={class:`relative m-1 mb-0.75 flex items-center`},t9e=[`aria-activedescendant`,`aria-expanded`,`aria-label`,`placeholder`],n9e={key:0,class:`absolute top-1/2 right-1.75 flex -translate-y-1/2 items-center`},r9e=[`aria-busy`,`aria-multiselectable`],i9e={key:1,class:`text-c-3 px-2.5 py-2`,role:`status`},a9e={class:`text-c-1 inline-block min-w-0 flex-1 truncate`},o9e=k({inheritAttrs:!1,__name:`ScalarComboboxOptions`,props:Lr({options:{},placeholder:{},inputLabel:{},noResults:{},close:{type:Function},filterFn:{type:Function,default:z7e},loader:{},multiselect:{type:Boolean}},{modelValue:{default:()=>[]},modelModifiers:{},query:{default:``},queryModifiers:{}}),emits:Lr([`add`],[`update:modelValue`,`update:query`]),setup(e,{emit:t}){let n=t,r=Hr(e,`modelValue`),i=Pr(),a=`scalar-combobox-items-${xr()}`,o={id:`${xr()}-add`,label:`Add a new option`};function s(e){return`${a}-${e.id}`}let c=z(()=>L7e(e.options)?e.options.flatMap(e=>e.options):e.options),l=z(()=>L7e(e.options)?e.options:[{label:``,options:e.options}]),u=Hr(e,`query`),d=z(()=>e.filterFn(u.value,c.value,l.value)),f=z(()=>i.add?[...d.value,o]:d.value),p=()=>{let e=r.value[0];return e&&f.value.some(t=>t.id===e.id)?e:f.value[0]},m=E(p());Ii(()=>{u.value=``,m.value=p(),r.value[0]&&setTimeout(()=>{let e=r.value[0];e&&document?.getElementById(s(e))?.scrollIntoView({block:`nearest`})},10)});let h=!1;dr(()=>u.value,()=>{m.value=f.value[0],h=!0}),dr(f,e=>{(h||!e.some(e=>e.id===m.value?.id))&&(m.value=e[0]),h=!1});let g=z(()=>!!e.loader?.isLoading),_=z(()=>g.value&&!d.value.length),v=z(()=>!!e.loader?.isActive&&!_.value),y=z(()=>!!(i[`search-end`]||v.value)),b=z(()=>!!(d.value.length||i.add||_.value||e.noResults&&!g.value));function x(t){if(!t)return;if(t.id===o.id){te();return}if(e.multiselect&&r.value.some(e=>e.id===t.id)){r.value=r.value.filter(e=>e.id!==t.id);return}let n=c.value.find(e=>e.id===t.id);n&&(r.value=e.multiselect?[...r.value,n]:[n])}function ee(e){let t=f.value,n=t.findIndex(e=>e.id===m.value?.id)+e;n<0||n>t.length-1||(m.value=t[n],m.value&&document?.getElementById(s(m.value))?.scrollIntoView({behavior:`smooth`,block:`nearest`}))}function te(){n(`add`),u.value=``}let ne=t=>{e.multiselect&&u.value===``&&!t.isComposing&&(t.preventDefault(),t.repeat||x(m.value))},re=E(null);return Ii(()=>setTimeout(()=>re.value?.focus(),0)),(t,n)=>(j(),M(L,null,[P(`div`,e9e,[R(D(Ks),{class:`text-c-3 pointer-events-none absolute top-1/2 left-1.75 size-4 -translate-y-1/2`}),or(P(`input`,{ref_key:`input`,ref:re,"onUpdate:modelValue":n[0]||=e=>u.value=e,"aria-activedescendant":m.value?s(m.value):void 0,"aria-autocomplete":`list`,"aria-controls":a,"aria-expanded":b.value,"aria-label":e.inputLabel,class:lt([`text-c-1 min-w-0 flex-1 rounded-md border-0 py-1.5 pl-7.25 leading-none`,y.value?`pr-7.25`:`pr-1.75`]),"data-1p-ignore":``,placeholder:e.placeholder,role:`combobox`,tabindex:`0`,type:`text`,onKeydown:[n[1]||=qa(Ka(e=>ee(1),[`prevent`]),[`down`]),n[2]||=qa(Ka(e=>m.value&&x(m.value),[`prevent`]),[`enter`]),n[3]||=qa(Ka(t=>e.close?.(),[`prevent`]),[`esc`]),qa(ne,[`space`]),n[4]||=qa(Ka(e=>ee(-1),[`prevent`]),[`up`])]},null,42,t9e),[[Ga,u.value]]),y.value?(j(),M(`div`,n9e,[A(t.$slots,`search-end`,{loader:e.loader},()=>[v.value?(j(),N(D(kw),{key:0,loader:e.loader,size:`md`},null,8,[`loader`])):I(``,!0)])])):I(``,!0)]),or(P(`ul`,{id:a,"aria-busy":g.value,"aria-multiselectable":e.multiselect,class:`custom-scroll min-h-0 flex-1 overscroll-contain border-t p-0.75`,role:`listbox`,tabindex:`-1`},[_.value?(j(),M(L,{key:0},jr(3,e=>P(`li`,{key:e,"aria-hidden":`true`,class:`flex px-2 py-1.5`,role:`presentation`},[P(`div`,{class:lt([`bg-b-3 h-lh animate-pulse rounded-md`,e===3?`w-2/3`:`w-full`])},null,2)])),64)):!d.value.length&&!i.add&&e.noResults&&!g.value?(j(),M(`li`,i9e,T(e.noResults),1)):I(``,!0),(j(!0),M(L,null,jr(l.value,(i,o)=>(j(),N(Q7e,{id:`${a}-group-${o}`,key:o,hidden:!i.options.some(e=>d.value.some(t=>t.id===e.id))||!i.label},{label:O(()=>[t.$slots.group?A(t.$slots,`group`,{group:i},void 0,void 0,0):(j(),M(L,{key:1},[F(T(i.label),1)],64))]),default:O(()=>[(j(!0),M(L,null,jr(d.value,a=>(j(),M(L,{key:a.id},[i.options.some(e=>e.id===a.id)?(j(),N(K7e,{key:0,id:s(a),active:m.value?.id===a.id,selected:r.value.some(e=>e.id===a.id),onClick:e=>x(a),onMousedown:n[5]||=Ka(()=>{},[`prevent`]),onMouseenter:e=>m.value=a},{default:O(({active:n,selected:i})=>[t.$slots.option?A(t.$slots,`option`,{active:n,option:a,selected:i},void 0,void 0,0):(j(),M(L,{key:1},[R(D(Nw),{multiselect:e.multiselect,selected:r.value.some(e=>e.id===a.id)},null,8,[`multiselect`,`selected`]),P(`span`,a9e,T(a.label),1)],64))]),_:2},1032,[`id`,`active`,`selected`,`onClick`,`onMouseenter`])):I(``,!0)],64))),128))]),_:2},1032,[`id`,`hidden`]))),128)),i.add?(j(),N(K7e,{key:2,id:s(o),active:m.value?.id===o.id,onClick:te,onMousedown:n[6]||=Ka(()=>{},[`prevent`]),onMouseenter:n[7]||=e=>m.value=o},{default:O(({active:e})=>[R(D(qs),{class:`size-4 p-px`}),A(t.$slots,`add`,{active:e})]),_:3},8,[`id`,`active`])):I(``,!0)],8,r9e),[[za,b.value]])],64))}})})),c9e,l9e=s((()=>{s9e(),c9e=o9e})),u9e,d9e,f9e,p9e=s((()=>{B(),u9e=Symbol(),d9e=()=>lr(u9e,`body`),f9e=e=>{let t=e??`scalar-teleport-${xr()}`;return cr(u9e,`#${t}`),t}})),m9e,h9e=s((()=>{p9e(),B(),m9e=k({inheritAttrs:!1,__name:`ScalarTeleport`,props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=d9e();return(n,r)=>(j(),N(Cre,{defer:!e.immediate,disabled:e.disabled,to:e.to||D(t)},[P(`div`,oi({class:`scalar-app`,style:{display:`contents`}},n.$attrs),[A(n.$slots,`default`)],16)],8,[`defer`,`disabled`,`to`]))}})})),g9e,_9e=s((()=>{h9e(),g9e=m9e}));function v9e(e,t={enabled:E(!0)}){let n=E(0),r=E(0),i=E();return typeof ResizeObserver<`u`&&(i.value=new ResizeObserver(([e])=>{e&&(n.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),dr([()=>wn(t.enabled),()=>wn(e)],([e,t])=>{t&&i.value&&(e?i.value.observe(t):i.value.disconnect())},{immediate:!0}),{width:z(()=>wn(t.enabled)?`${n.value}px`:void 0),height:z(()=>wn(t.enabled)?`${r.value}px`:void 0)}}var y9e=s((()=>{B()}));function b9e(e,t,n){return Hw(e,Vw(t,n))}function Fw(e,t){return typeof e==`function`?e(t):e}function Iw(e){return e.split(`-`)[0]}function Lw(e){return e.split(`-`)[1]}function x9e(e){return e===`x`?`y`:`x`}function S9e(e){return e===`y`?`height`:`width`}function Rw(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function C9e(e){return x9e(Rw(e))}function w9e(e,t,n){n===void 0&&(n=!1);let r=Lw(e),i=C9e(e),a=S9e(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=zw(o)),[o,zw(o)]}function T9e(e){let t=zw(e);return[E9e(e),t,E9e(t)]}function E9e(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}function D9e(e,t,n){switch(e){case`top`:case`bottom`:return n?t?N9e:M9e:t?M9e:N9e;case`left`:case`right`:return t?P9e:F9e;default:return[]}}function O9e(e,t,n,r){let i=Lw(e),a=D9e(Iw(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(E9e)))),a}function zw(e){let t=Iw(e);return j9e[t]+e.slice(t.length)}function k9e(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function A9e(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:k9e(e)}function Bw(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}var Vw,Hw,Uw,Ww,Gw,j9e,M9e,N9e,P9e,F9e,I9e=s((()=>{Vw=Math.min,Hw=Math.max,Uw=Math.round,Ww=Math.floor,Gw=e=>({x:e,y:e}),j9e={left:`right`,right:`left`,bottom:`top`,top:`bottom`},M9e=[`left`,`right`],N9e=[`right`,`left`],P9e=[`top`,`bottom`],F9e=[`bottom`,`top`]}));function L9e(e,t,n){let{reference:r,floating:i}=e,a=Rw(t),o=C9e(t),s=S9e(o),c=Iw(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Lw(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function R9e(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Fw(t,e),p=A9e(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Bw(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Bw(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}async function z9e(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Iw(n),s=Lw(n),c=Rw(n)===`y`,l=U9e.has(o)?-1:1,u=a&&c?-1:1,d=Fw(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var B9e,V9e,H9e,U9e,W9e,G9e,K9e,q9e=s((()=>{I9e(),B9e=50,V9e=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:R9e},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=L9e(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<B9e&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=L9e(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},H9e=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Fw(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Iw(r),_=Rw(o),v=Iw(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[zw(o)]:T9e(o)),x=p!==`none`;!d&&x&&b.push(...O9e(o,m,p,y));let ee=[o,...b],te=await s.detectOverflow(t,h),ne=[],re=i.flip?.overflows||[];if(l&&ne.push(te[g]),u){let e=w9e(r,a,y);ne.push(te[e[0]],te[e[1]])}if(re=[...re,{placement:r,overflows:ne}],!ne.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=ee[e];if(t&&(u!==`alignment`||_===Rw(t)||re.every(e=>Rw(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:re},reset:{placement:t}};let n=re.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=re.filter(e=>{if(x){let t=Rw(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},U9e=new Set([`left`,`top`]),W9e=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await z9e(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},G9e=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Fw(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Rw(i),p=x9e(f),m=u[p],h=u[f],g=(e,t)=>b9e(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},K9e=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=Fw(e,t),c=await i.detectOverflow(t,s),l=Iw(n),u=Lw(n),d=Rw(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=Vw(p-c[m],g),y=Vw(f-c[h],_),b=t.middlewareData.shift,x=!b,ee=v,te=y;b!=null&&b.enabled.x&&(te=_),b!=null&&b.enabled.y&&(ee=g),x&&!u&&(d?te=f-2*Hw(c.left,c.right):ee=p-2*Hw(c.top,c.bottom)),await o({...t,availableWidth:te,availableHeight:ee});let ne=await i.getDimensions(a.floating);return f!==ne.width||p!==ne.height?{reset:{rects:!0}}:{}}}}}));function Kw(){return typeof window<`u`}function qw(e){return J9e(e)?(e.nodeName||``).toLowerCase():`#document`}function Jw(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yw(e){return((J9e(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function J9e(e){return Kw()?e instanceof Node||e instanceof Jw(e).Node:!1}function Xw(e){return Kw()?e instanceof Element||e instanceof Jw(e).Element:!1}function Zw(e){return Kw()?e instanceof HTMLElement||e instanceof Jw(e).HTMLElement:!1}function Y9e(e){return!Kw()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Jw(e).ShadowRoot}function Qw(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=tT(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function X9e(e){return/^(table|td|th)$/.test(qw(e))}function $w(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}function Z9e(e){let t=Xw(e)?tT(e):e;return aT(t.transform)||aT(t.translate)||aT(t.scale)||aT(t.rotate)||aT(t.perspective)||!$9e()&&(aT(t.backdropFilter)||aT(t.filter))||net.test(t.willChange||``)||ret.test(t.contain||``)}function Q9e(e){let t=rT(e);for(;Zw(t)&&!eT(t);){if(Z9e(t))return t;if($w(t))return null;t=rT(t)}return null}function $9e(){return iet??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),iet}function eT(e){return/^(html|body|#document)$/.test(qw(e))}function tT(e){return Jw(e).getComputedStyle(e)}function nT(e){return Xw(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rT(e){if(qw(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Y9e(e)&&e.host||Yw(e);return Y9e(t)?t.host:t}function eet(e){let t=rT(e);return eT(t)?(e.ownerDocument||e).body:Zw(t)&&Qw(t)?t:eet(t)}function iT(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=eet(e),i=r===e.ownerDocument?.body,a=Jw(r);if(i){let e=tet(a);return t.concat(a,a.visualViewport||[],Qw(r)?r:[],e&&n?iT(e):[])}return t.concat(r,iT(r,[],n))}function tet(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var net,ret,aT,iet,aet=s((()=>{net=/transform|translate|scale|rotate|perspective|filter/,ret=/paint|layout|strict|content/,aT=e=>!!e&&e!==`none`}));function oet(e){let t=tT(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Zw(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Uw(n)!==a||Uw(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function set(e){return Xw(e)?e:e.contextElement}function oT(e){let t=set(e);if(!Zw(t))return Gw(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=oet(t),o=(a?Uw(n.width):n.width)/r,s=(a?Uw(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}function cet(e){let t=Jw(e);return!$9e()||!t.visualViewport?Aet:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function uet(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Jw(e)}function sT(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=set(e),o=Gw(1);t&&(r?Xw(r)&&(o=oT(r)):o=oT(e));let s=uet(a,n,r)?cet(a):Gw(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=Jw(a),t=Xw(r)?Jw(r):r,n=e,i=tet(n);for(;i&&t!==n;){let e=oT(i),t=i.getBoundingClientRect(),r=tT(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Jw(i),i=tet(n)}}return Bw({width:u,height:d,x:c,y:l})}function cT(e,t){let n=nT(e).scrollLeft;return t?t.left+n:sT(Yw(e)).left+n}function det(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-cT(e,n),y:n.top+t.scrollTop}}function fet(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Yw(r),s=t?$w(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Gw(1),u=Gw(0),d=Zw(r);if((d||!a)&&((qw(r)!==`body`||Qw(o))&&(c=nT(r)),d)){let e=sT(r);l=oT(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?det(o,c):Gw(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function pet(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function met(e){let t=nT(e),n=e.ownerDocument.body,r=Hw(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Hw(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+cT(e),o=-t.scrollTop;return tT(n).direction===`rtl`&&(a+=Hw(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}function het(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=Jw(e),a=Yw(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!$9e()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(cT(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=jet&&(s-=o)}return{width:s,height:c,x:l,y:u}}function get(e,t){let n=sT(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=oT(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function _et(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=het(e,n,t);else if(t===`document`)r=met(Yw(e));else if(Xw(t))r=get(t,n);else{let n=cet(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Bw(r)}function vet(e,t){let n=t.get(e);if(n)return n;let r=iT(e,[],!1).filter(e=>Xw(e)&&qw(e)!==`body`),i=null,a=tT(e).position===`fixed`,o=a?rT(e):e;for(;Xw(o)&&!eT(o);){let e=tT(o),t=Z9e(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=rT(o)}return t.set(e,r),r}function yet(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?$w(t)?[]:vet(t,this._c):[].concat(n),r],o=_et(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=_et(t,a[e],i);s=Hw(n.top,s),c=Vw(n.right,c),l=Vw(n.bottom,l),u=Hw(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function bet(e){let{width:t,height:n}=oet(e);return{width:t,height:n}}function xet(e,t,n){let r=Zw(t),i=Yw(t),a=n===`fixed`,o=sT(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Gw(0);if((r||!a)&&((qw(t)!==`body`||Qw(i))&&(s=nT(t)),r)){let e=sT(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=cT(i));let l=i&&!r&&!a?det(i,s):Gw(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Cet(e){return tT(e).position===`static`}function wet(e,t){if(!Zw(e)||tT(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Yw(e)===n&&(n=n.ownerDocument.body),n}function Tet(e,t){let n=Jw(e);if($w(e))return n;if(!Zw(e)){let t=rT(e);for(;t&&!eT(t);){if(Xw(t)&&!Cet(t))return t;t=rT(t)}return n}let r=wet(e,t);for(;r&&X9e(r)&&Cet(r);)r=wet(r,t);return r&&eT(r)&&Cet(r)&&!Z9e(r)?n:r||Q9e(e)||n}function Eet(e){return tT(e).direction===`rtl`}function Det(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Oet(e,t,n){let r=null,i,a=Yw(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=Ww(d),h=Ww(a.clientWidth-(u+f)),g=Ww(a.clientHeight-(d+p)),_=Ww(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:Hw(0,Vw(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!Det(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=Jw(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function ket(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=set(e),u=i||a?[...l?iT(l):[],...t?iT(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Oet(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?sT(e):null;c&&g();function g(){let t=sT(e);h&&!Det(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Aet,jet,Met,Net,Pet,Fet,Iet,Let,Ret,zet=s((()=>{q9e(),I9e(),aet(),Aet=Gw(0),jet=25,Met=async function(e){let t=this.getOffsetParent||Tet,n=this.getDimensions,r=await n(e.floating);return{reference:xet(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},Net={convertOffsetParentRelativeRectToViewportRelativeRect:fet,getDocumentElement:Yw,getClippingRect:yet,getOffsetParent:Tet,getElementRects:Met,getClientRects:pet,getDimensions:bet,getScale:oT,isElement:Xw,isRTL:Eet},Pet=W9e,Fet=G9e,Iet=H9e,Let=K9e,Ret=(e,t,n)=>{let r=new Map,i=n??{},a={...Net,...i.platform,_c:r};return V9e(e,t,{...i,platform:a})}}));function Bet(e){return typeof e==`object`&&!!e&&`$el`in e}function Vet(e){if(Bet(e)){let t=e.$el;return J9e(t)&&qw(t)===`#comment`?null:t}return e}function Het(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Uet(e,t){let n=Het(e);return Math.round(t*n)/n}function Wet(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=z(()=>wn(n.open)??!0),a=z(()=>wn(n.middleware)),o=z(()=>wn(n.placement)??`bottom`),s=z(()=>wn(n.strategy)??`absolute`),c=z(()=>wn(n.transform)??!0),l=z(()=>Vet(e.value)),u=z(()=>Vet(t.value)),d=E(0),f=E(0),p=E(s.value),m=E(o.value),h=Cn({}),g=E(!1),_=z(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=Uet(u.value,d.value),n=Uet(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Het(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;Ret(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function x(){b(),r===void 0?y():l.value!=null&&u.value!=null&&(v=r(l.value,u.value,y))}function ee(){i.value||(g.value=!1)}return dr([a,o,s,i],y,{flush:`sync`}),dr([l,u],x,{flush:`sync`}),dr(i,ee,{flush:`sync`}),Xt()&&Zt(b),{x:hn(d),y:hn(f),strategy:hn(p),placement:hn(m),middlewareData:hn(h),isPositioned:hn(g),floatingStyles:_,update:y}}var Get=s((()=>{zet(),aet(),B()})),Ket,qet=s((()=>{_9e(),y9e(),B(),I9e(),Get(),Ket=k({inheritAttrs:!1,__name:`ScalarFloating`,props:{placement:{},offset:{type:[Number,Object,Function],default:5},resize:{type:Boolean,default:!1},target:{},middleware:{default:()=>[]},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let n=E(null),r=E(null),i=z(()=>{if(typeof window<`u`&&r.value){if(typeof e.target==`string`){let t=document.getElementById(e.target);if(t)return t;console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;let t=r.value.children?.[0];return t instanceof HTMLElement?t:r.value}}),a=v9e(i,{enabled:z(()=>e.resize)}),o=z(()=>Rw(e.placement??`bottom`)===`y`?a.width.value:void 0),s=z(()=>Rw(e.placement??`bottom`)===`x`?a.height.value:void 0),{floatingStyles:c,middlewareData:l}=Wet(i,n,{placement:z(()=>e.placement??`bottom`),whileElementsMounted:(e,t,n,r)=>{let i,a=!1;return nr(()=>{a||(i=ket(e,t,n,r))}),()=>{a=!0,i?.()}},middleware:z(()=>[Pet(e.offset),Iet({padding:48}),Fet({padding:8}),Let({apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{maxWidth:`${Math.max(0,e)-16}px`,maxHeight:`${Math.max(0,t)-16}px`})}}),...e.middleware])});return t({targetRef:i}),(t,i)=>(j(),M(L,null,[P(`div`,{ref_key:`wrapperRef`,ref:r,class:lt({contents:!!t.$slots.default})},[A(t.$slots,`default`)],2),t.$slots.floating?(j(),N(D(g9e),{key:0,disabled:!e.teleport,to:typeof e.teleport==`string`?e.teleport:void 0},{default:O(()=>[P(`div`,{ref_key:`floatingRef`,ref:n,class:`z-context relative`,style:ct(D(c))},[A(t.$slots,`floating`,{data:D(l),height:s.value,width:o.value})],4)]),_:3},8,[`disabled`,`to`])):I(``,!0)],64))}})})),lT,uT=s((()=>{qet(),lT=Ket})),Jet,Yet=s((()=>{uT(),Kl(),B(),Ts(),Jet=k({inheritAttrs:!1,__name:`ScalarComboboxPopover`,props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let{cx:n}=Gl(),r=E(null),i=e=>{[`ArrowUp`,`ArrowDown`].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Enter`})))};return t({popoverButtonRef:r}),(e,t)=>(j(),N(D(Ss),{as:`template`},{default:O(({open:t})=>[R(D(lT),ut(ei(e.$props)),Mr({default:O(()=>[R(D(nce),{ref_key:`popoverButtonRef`,ref:r,as:`template`,onKeydown:i},{default:O(()=>[A(e.$slots,`default`,{open:t})]),_:2},1536)]),_:2},[t?{name:`floating`,fn:O(({width:r})=>[R(D(rce),oi({style:{width:r}},D(n)(`relative flex flex-col max-h-[inherit] w-40 rounded-xl bg-b-1 dark:bg-b-1.5 text-sm shadow-md inset-shadow-border`)),{default:O(({close:n})=>[A(e.$slots,`popover`,{close:n,open:t})]),_:2},1040,[`style`])]),key:`0`}:void 0]),1040)]),_:3}))}})})),Xet,Zet=s((()=>{Yet(),Xet=Jet})),Qet,$et=s((()=>{l9e(),Zet(),B(),Qet=k({__name:`ScalarCombobox`,props:Lr({options:{},placeholder:{},inputLabel:{},noResults:{},filterFn:{type:Function},loader:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{},query:{default:``},queryModifiers:{}}),emits:Lr([`add`],[`update:modelValue`,`update:query`]),setup(e,{emit:t}){let n=t,r=Hr(e,`modelValue`),i=Hr(e,`query`);return(t,a)=>(j(),N(Xet,{middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:O(({open:e})=>[A(t.$slots,`default`,{open:e})]),popover:O(({open:o,close:s})=>[R(c9e,{query:i.value,"onUpdate:query":a[0]||=e=>i.value=e,close:s,filterFn:e.filterFn,inputLabel:e.inputLabel,loader:e.loader,modelValue:r.value?[r.value]:[],noResults:e.noResults,open:o,options:e.options,placeholder:e.placeholder,onAdd:()=>(s(),n(`add`)),"onUpdate:modelValue":e=>(s(),r.value=e[0])},Mr({_:2},[t.$slots[`search-end`]?{name:`search-end`,fn:O(e=>[A(t.$slots,`search-end`,ut(ei(e)))]),key:`0`}:void 0,t.$slots.option?{name:`option`,fn:O(e=>[A(t.$slots,`option`,ut(ei(e)))]),key:`1`}:void 0,t.$slots.group?{name:`group`,fn:O(e=>[A(t.$slots,`group`,ut(ei(e)))]),key:`2`}:void 0,t.$slots.add?{name:`add`,fn:O(e=>[A(t.$slots,`add`,ut(ei(e)))]),key:`3`}:void 0]),1032,[`query`,`close`,`filterFn`,`inputLabel`,`loader`,`modelValue`,`noResults`,`open`,`options`,`placeholder`,`onAdd`,`onUpdate:modelValue`])]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}})})),dT,ett=s((()=>{$et(),dT=Qet})),ttt,ntt=s((()=>{l9e(),Zet(),B(),ttt=k({__name:`ScalarComboboxMultiselect`,props:Lr({options:{},placeholder:{},filterFn:{type:Function},loader:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:()=>[]},modelModifiers:{},query:{default:``},queryModifiers:{}}),emits:Lr([`add`],[`update:modelValue`,`update:query`]),setup(e,{expose:t,emit:n}){let r=n,i=Hr(e,`modelValue`),a=Hr(e,`query`),o=E(null);return t({comboboxPopoverRef:o}),(t,n)=>(j(),N(Xet,{ref_key:`comboboxPopoverRef`,ref:o,middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:O(({open:e})=>[A(t.$slots,`default`,{open:e})]),popover:O(({open:o})=>[e.options?.length||e.loader?(j(),N(c9e,{key:0,modelValue:i.value,"onUpdate:modelValue":n[0]||=e=>i.value=e,query:a.value,"onUpdate:query":n[1]||=e=>a.value=e,filterFn:e.filterFn,loader:e.loader,multiselect:``,open:o,options:e.options,placeholder:e.placeholder,onAdd:n[2]||=e=>r(`add`)},Mr({_:2},[t.$slots[`search-end`]?{name:`search-end`,fn:O(e=>[A(t.$slots,`search-end`,ut(ei(e)))]),key:`0`}:void 0,t.$slots.option?{name:`option`,fn:O(e=>[A(t.$slots,`option`,ut(ei(e)))]),key:`1`}:void 0,t.$slots.group?{name:`group`,fn:O(e=>[A(t.$slots,`group`,ut(ei(e)))]),key:`2`}:void 0,t.$slots.add?{name:`add`,fn:O(e=>[A(t.$slots,`add`,ut(ei(e)))]),key:`3`}:void 0]),1032,[`modelValue`,`query`,`filterFn`,`loader`,`open`,`options`,`placeholder`])):I(``,!0)]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}})})),rtt,itt=s((()=>{ntt(),rtt=ttt})),fT=s((()=>{ett(),itt()})),att,ott,stt,ctt=s((()=>{Kl(),B(),att={class:`custom-scroll min-h-0 flex-1 rounded-[inherit]`},ott={class:`flex flex-col p-0.75`},stt=k({inheritAttrs:!1,__name:`ScalarDropdownMenu`,props:{is:{}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),N(Ar(e.is??`div`),ut(ei(D(t)(`relative flex w-56 rounded-xl bg-b-1 dark:bg-b-1.5 shadow-md inset-shadow-border`))),{default:O(()=>[P(`div`,att,[A(n.$slots,`menu`,{},()=>[P(`div`,ott,[A(n.$slots,`default`)])])])]),_:3},16))}})})),pT,ltt=s((()=>{ctt(),pT=stt}));function utt(){let e=E();return cr(ftt,e),{active:e}}function dtt(){let e=lr(ftt);return e||console.warn(`useDropdownItem must be used within a ScalarDropdown`),{active:e}}var ftt,ptt=s((()=>{B(),ftt=Symbol()}));function mT(e,t){return Xt()?(Zt(e,t),!0):!1}function mtt(){var e,t;return gT&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function htt(...e){if(e.length!==1)return Tn(...e);let t=e[0];return typeof t==`function`?mn(hte(()=>({get:t,set:vT}))):E(t)}function gtt(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}function _tt(e,t={}){let n,r,i=vT,a=vT,o=Cn(!1),s=e=>{clearTimeout(e),i(),i=vT},c;return Object.assign(l=>{let u=wn(e),d=wn(t.maxWait);return n&&s(n),u<=0||d!==void 0&&d<=0?(r&&=(s(r),void 0),o.value=!1,Promise.resolve(l())):(o.value=!0,new Promise((e,f)=>{i=t.rejectOnCancel?f:e,a=e,c=l,d&&!r&&(r=setTimeout(()=>{n&&s(n),r=void 0,o.value=!1,e(c())},d)),n=setTimeout(()=>{r&&s(r),r=void 0,o.value=!1,e(l())},u)}))},{cancel:()=>{n&&=(s(n),void 0),r&&=(s(r),void 0),o.value=!1,a=vT},flush:()=>{if(o.value){n&&=(clearTimeout(n),void 0),r&&=(clearTimeout(r),void 0),o.value=!1;let e=a;i=vT,a=vT,e(c())}},isPending:hn(o)})}function vtt(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function hT(e){return Array.isArray(e)?e:[e]}function ytt(e,t=200,n={}){return gtt(_tt(t,n),e)}function btt(e,t,n={}){let{eventFilter:r=Ett,...i}=n;return dr(e,gtt(r,t),i)}function xtt(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=Cn(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},wn(t))}return r&&(a.value=!0,gT&&l()),mT(c),{isPending:hn(a),start:l,stop:c}}function Stt(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return btt(e,t,{...a,eventFilter:_tt(r,{maxWait:i})})}function Ctt(e,t,n){return dr(e,t,{...n,immediate:!0})}var gT,_T,wtt,Ttt,vT,yT,Ett,bT=s((()=>{B(),gT=typeof window<`u`&&typeof document<`u`,typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope,_T=e=>e!=null,wtt=Object.prototype.toString,Ttt=e=>wtt.call(e)===`[object Object]`,vT=()=>{},yT=mtt(),Ett=e=>e()}));function xT(e){let t=wn(e);return t?.$el??t}function ST(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=z(()=>{let t=hT(wn(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return Ctt(()=>[n.value?.map(e=>xT(e))??[DT].filter(e=>e!=null),hT(wn(n.value?e[1]:e[0])),hT(D(n.value?e[2]:e[1])),wn(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=Ttt(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function CT(e,t,n={}){let{window:r=DT,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:vT,cancel:vT,trigger:vT}:vT;if(yT&&!kT){kT=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,vT,e)),r.document.documentElement.addEventListener(`click`,vT,e)}let c=!0,l=e=>wn(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=xT(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=wn(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=wn(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=xT(e);n.target!=null&&(!(r instanceof Element)&&u(e)&&d(e,n)||r&&r!==n.target&&!n.composedPath().includes(r)&&(`detail`in n&&n.detail===0&&(c=!l(n)),c?t(n):c=!0))},p=!1,m=[ST(r,`click`,e=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(e))},{passive:!0,capture:a}),ST(r,`pointerdown`,t=>{let n=xT(e);c=!l(t)&&!(!n||t.composedPath().includes(n))},{passive:!0}),o&&ST(r,`blur`,n=>{setTimeout(()=>{let i=xT(e),a=r.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(e=>e());return s?{stop:h,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:h}function Dtt(){let e=Cn(!1),t=ha();return t&&Ii(()=>{e.value=!0},t),e}function wT(e){let t=Dtt();return z(()=>(t.value,!!e()))}function Ott(e,t,n={}){let{window:r=DT,...i}=n,a,o=wT(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=dr(z(()=>{let t=hT(wn(e)).map(xT).filter(_T);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return mT(u),{isSupported:o,stop:u,takeRecords:l}}function ktt(e,t,n={}){let{window:r=DT,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return vT;let o,s=e=>{o?.(),o=e},c=ur(()=>{let n=xT(e);if(n){let{stop:e}=Ott(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return mT(l),l}function Att(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function TT(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=DT,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=Att(t);return ST(i,a,e=>{e.repeat&&wn(s)||c(e)&&n(e)},o)}function jtt(e={}){let{window:t=DT,deep:n=!0,triggerOnRemoval:r=!1}=e,i=e.document??t?.document,a=()=>{let e=i?.activeElement;if(n)for(var t;e?.shadowRoot;)e=e==null||(t=e.shadowRoot)==null?void 0:t.activeElement;return e},o=Cn(),s=()=>{o.value=a()};if(t){let e={capture:!0,passive:!0};ST(t,`blur`,e=>{e.relatedTarget===null&&s()},e),ST(t,`focus`,s,e)}return r&&ktt(o,s,{document:i}),s(),o}function Mtt(e,t={}){let{controls:n=!1,navigator:r=OT}=t,i=wT(()=>r&&`permissions`in r),a=Cn(),o=typeof e==`string`?{name:e}:e,s=Cn(),c=()=>{s.value=a.value?.state??`prompt`};ST(a,`change`,c,{passive:!0});let l=vtt(async()=>{if(i.value){if(!a.value)try{a.value=await r.permissions.query(o)}catch{a.value=void 0}finally{c()}if(n)return xn(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function Ntt(e={}){let{navigator:t=OT,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=wT(()=>t&&`clipboard`in t),s=Mtt(`clipboard-read`),c=Mtt(`clipboard-write`),l=z(()=>o.value||a),u=Cn(``),d=Cn(!1),f=Cn(!1),p=xtt(()=>d.value=!1,i,{immediate:!1}),m=0;async function h(){let e=!(o.value&&b(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=y())}l.value&&n&&ST([`copy`,`cut`],h,{passive:!0});async function g(e){let n=e??wn(r);if(l.value&&n!=null){f.value=!0;let e=!(o.value&&b(c.value));if(!e)try{let e=_(n);await t.clipboard.write([e])}catch{e=!0}if(e){if(typeof n==`string`)u.value=n,v(n);else{let e=++m,t=await n();t!=null&&e===m&&(u.value=t,v(t))}}d.value=!0,p.start(),f.value=!1}}function _(e){return typeof e==`string`?(u.value=e,new ClipboardItem({"text/plain":e})):new ClipboardItem({"text/plain":e().then((e=``)=>(u.value=e,new Blob([e],{type:`text/plain`})))})}function v(e){let t=document.createElement(`textarea`);t.value=e,t.style.position=`absolute`,t.style.opacity=`0`,t.setAttribute(`readonly`,``),document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function y(){var e,t;return((e=document)==null||(t=e.getSelection)==null||(t=t.call(e))==null?void 0:t.toString())??``}function b(e){return e===`granted`||e===`prompt`}return{copyPending:hn(f),isSupported:l,text:hn(u),copied:hn(d),copy:g}}function Ptt(e,t,n={}){let{window:r=DT,...i}=n,a,o=wT(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=dr(z(()=>{let t=wn(e);return Array.isArray(t)?t.map(e=>xT(e)):[xT(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t instanceof Element&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return mT(l),{isSupported:o,stop:l}}function Ftt(e,t={}){let{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:i=!1,window:a=DT}=t,o=Cn(!1),s,c=e=>{let t=e?n:r;s&&=(clearTimeout(s),void 0),t?s=setTimeout(()=>o.value=e,t):o.value=e};return a&&(ST(e,`mouseenter`,()=>c(!0),{passive:!0}),ST(e,`mouseleave`,()=>c(!1),{passive:!0}),i&&ktt(z(()=>xT(e)),()=>c(!1))),o}function Itt(e,t,n={}){let{root:r,rootMargin:i,threshold:a=0,window:o=DT,immediate:s=!0}=n,c=wT(()=>o&&`IntersectionObserver`in o),l=z(()=>hT(wn(e)).map(xT).filter(_T)),u=vT,d=Cn(s),f=c.value?dr(()=>[l.value,xT(r),wn(i),d.value],([e,n,r])=>{if(u(),!d.value||!e.length)return;let i=new IntersectionObserver(t,{root:xT(n),rootMargin:r,threshold:a});e.forEach(e=>e&&i.observe(e)),u=()=>{i.disconnect(),u=vT}},{immediate:s,flush:`post`}):vT,p=()=>{u(),f(),d.value=!1};return mT(p),{isSupported:c,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:p}}function Ltt(e=null,t={}){let{baseUrl:n=``,rel:r=`icon`,document:i=Htt}=t,a=htt(e),o=e=>{let t=i?.head.querySelectorAll(`link[rel*="${r}"]`);if(!t||t.length===0){let t=i?.createElement(`link`);t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(`.`).pop()}`,i?.head.append(t))}else t?.forEach(t=>t.href=`${n}${e}`)};return dr(a,(e,t)=>{typeof e==`string`&&e!==t&&o(e)},{immediate:!0}),a}function Rtt(e,t={}){let{window:n=DT}=t,r=z(()=>xT(e)),i=Cn(!1),a=z(()=>i.value),o=jtt(t);if(!n||!o.value)return{focused:a};let s={passive:!0};return ST(r,Utt,()=>i.value=!0,s),ST(r,Wtt,()=>{var e,t;return i.value=((e=r.value)==null||(t=e.matches)==null?void 0:t.call(e,Gtt))??!1},s),{focused:a}}function ET(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}function ztt(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:ztt(t)}}function Btt(e){let t=e||window.event,n=t.target;return ztt(n)?!1:t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)}function Vtt(e,t=!1){let n=Cn(t),r=null,i=``;dr(htt(e),e=>{let t=ET(wn(e));if(t){let e=t;if(AT.get(e)||AT.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(i=e.style.overflow),e.style.overflow===`hidden`)return n.value=!0;if(n.value)return e.style.overflow=`hidden`}},{immediate:!0});let a=()=>{let t=ET(wn(e));t&&!n.value&&(yT&&(r=ST(t,`touchmove`,e=>{Btt(e)},{passive:!1})),t.style.overflow=`hidden`,n.value=!0)},o=()=>{let t=ET(wn(e));t&&n.value&&(yT&&r?.(),t.style.overflow=i,AT.delete(t),n.value=!1)};return mT(o),z({get(){return n.value},set(e){e?a():o()}})}var DT,Htt,OT,kT,Utt,Wtt,Gtt,AT,jT=s((()=>{bT(),B(),bT(),DT=gT?window:void 0,Htt=gT?window.document:void 0,OT=gT?window.navigator:void 0,gT&&window.location,kT=!1,Utt=`focusin`,Wtt=`focusout`,Gtt=`:focus-within`,AT=new WeakMap})),Ktt,qtt,Jtt=s((()=>{uT(),ltt(),ptt(),Kl(),B(),jT(),Ktt=[`id`,`aria-activedescendant`,`aria-labelledby`,`onKeydown`],qtt=k({inheritAttrs:!1,__name:`ScalarDropdown`,props:Lr({placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:[`update:open`],setup(e){let t=E(),n=E(),r=Hr(e,`open`),{active:i}=utt(),a=xr(),o=E(a),s=xr();async function c(){r.value=!r.value,await nr(),r.value&&n.value?.focus({preventScroll:!0})}async function l(e){if([`ArrowDown`,`ArrowUp`,` `,`Enter`].includes(e.key))e.preventDefault();else return;r.value||=!0,await nr(),n.value?.focus({preventScroll:!0}),[`ArrowDown`,` `,`Enter`].includes(e.key)?f(1):e.key===`ArrowUp`&&f(-1)}dr(()=>t.value?.targetRef,(e,t)=>{e&&(e.id?o.value=e.id:(o.value=a,e.setAttribute(`id`,o.value)),e.setAttribute(`aria-haspopup`,`menu`),e.setAttribute(`aria-expanded`,`${r.value}`),r.value&&e.setAttribute(`aria-controls`,s),e.addEventListener(`click`,c),e.addEventListener(`keydown`,l)),t&&t!==e&&(t.id===a&&t.removeAttribute(`id`),t.removeAttribute(`aria-controls`),t.removeAttribute(`aria-haspopup`),t.removeAttribute(`aria-expanded`),t.removeEventListener(`click`,c),t.removeEventListener(`keydown`,l))},{immediate:!0}),dr(r,e=>{let n=t.value?.targetRef;n&&(n.setAttribute(`aria-expanded`,`${e}`),e?n.setAttribute(`aria-controls`,s):n.removeAttribute(`aria-controls`))},{immediate:!0});async function u(){t.value?.targetRef?.focus(),r.value=!1}function d(){if(!i.value||!n.value)return;let e=n.value.querySelector(`#${i.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),u())}function f(e){if(!r.value||!n.value)return;let t=Array.from(n.value.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`));if(t.length===0)return;let a=t.findIndex(e=>e.id===i.value);if(a===-1){let n=t[e>0?0:t.length-1];n?.id&&(i.value=n.id);return}let o=a+e;if(o<0||o>t.length-1)return;let s=t[o];s?.id&&(i.value=s.id)}CT(n,u,{ignore:[z(()=>t.value?.targetRef)]});let{cx:p}=Gl();return(a,c)=>(j(),N(D(lT),oi({ref_key:`floatingRef`,ref:t},a.$props,{placement:e.placement??`bottom-start`}),Mr({default:O(()=>[A(a.$slots,`default`,{open:r.value})]),_:2},[r.value?{name:`floating`,fn:O(({width:e})=>[R(pT,oi({style:{width:e}},D(p)(`max-h-[inherit] max-w-[inherit]`)),{menu:O(()=>[P(`div`,{id:D(s),ref_key:`menuRef`,ref:n,"aria-activedescendant":D(i),"aria-labelledby":o.value,class:`flex flex-col p-0.75 outline-none`,role:`menu`,tabindex:`-1`,onClick:Ka(u,[`stop`]),onKeydown:[c[0]||=qa(Ka(e=>f(1),[`prevent`,`stop`]),[`down`]),qa(Ka(d,[`prevent`,`stop`]),[`enter`]),qa(Ka(u,[`prevent`,`stop`]),[`escape`]),qa(Ka(d,[`prevent`,`stop`]),[`space`]),qa(Ka(u,[`prevent`,`stop`]),[`tab`]),c[1]||=qa(Ka(e=>f(-1),[`prevent`,`stop`]),[`up`])]},[A(a.$slots,`items`,{open:r.value})],40,Ktt)]),_:3},16,[`style`])]),key:`0`}:void 0]),1040,[`placement`]))}})})),MT,Ytt=s((()=>{Jtt(),MT=qtt})),Xtt,Ztt=s((()=>{Kl(),B(),Xtt=k({__name:`ScalarDropdownButton`,props:{is:{default:`button`},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=Ul({base:[`block h-8 min-w-0 gap-1.5 rounded-md px-2.5 py-1.5 text-left`,`truncate no-underline text-sm text-c-1`,`cursor-pointer hover:bg-b-2 highlighted:bg-b-2`],variants:{disabled:{true:`pointer-events-none text-c-3`},active:{true:``}},compoundVariants:[{disabled:!1,active:!0,class:`bg-b-2`}]});return(n,r)=>(j(),N(Ar(e.is),{"aria-disabled":e.disabled,class:lt([`item`,D(Wl)(`scalar-dropdown-item`,D(t)({active:e.active,disabled:e.disabled}))]),type:e.is===`button`?`button`:void 0},{default:O(()=>[A(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`aria-disabled`,`class`,`type`]))}})})),NT,PT=s((()=>{aS(),Ztt(),NT=iS(Xtt,[[`__scopeId`,`data-v-128eed00`]])})),Qtt,$tt=s((()=>{Qtt={}}));function ent(e,t,n,r,i,a){return j(),M(`div`,tnt)}var tnt,FT,nnt=s((()=>{aS(),$tt(),B(),tnt={class:`h-border bg-border -mx-0.75 my-0.75`},FT=iS(Qtt,[[`render`,ent]])})),rnt,int=s((()=>{ptt(),PT(),B(),rnt=k({__name:`ScalarDropdownItem`,props:{id:{default:()=>xr()},disabled:{type:Boolean}},emits:[`click`],setup(e){let{active:t}=dtt();return(n,r)=>(j(),N(NT,{id:e.id,active:D(t)===e.id,disabled:e.disabled,role:`menuitem`,tabindex:`-1`,onClick:r[0]||=e=>n.$emit(`click`,e),onMouseenter:r[1]||=n=>t.value=e.id},{default:O(()=>[A(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`id`,`active`,`disabled`]))}})})),IT,ant=s((()=>{aS(),int(),IT=iS(rnt,[[`__scopeId`,`data-v-3402682d`]])})),LT=s((()=>{Ytt(),nnt(),ant()})),ont,snt,cnt,lnt,unt,dnt,fnt,pnt=s((()=>{Fs(),B(),Mw(),gS(),fT(),LT(),ont={class:`group-[.alert]:outline-orange group-[.error]:outline-red w-full min-w-0 pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline`},snt={class:`text-c-1 truncate`},cnt=[`placeholder`],lnt={class:`text-c-1 overflow-hidden text-ellipsis`},unt={class:`overflow-hidden text-ellipsis`},dnt={class:`flex h-4 w-4 items-center justify-center`},fnt=k({__name:`DataTableInputSelect`,props:{modelValue:{type:[String,Number,Boolean,Array,Object]},value:{},default:{type:[String,Number,Boolean,Array,Object]},canAddCustomValue:{type:Boolean,default:!0},type:{},arrayEncoding:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=z(()=>(e.value??[]).map(String)),a=E(!1),o=E(``),s=E(null);dr(o,e=>{n(`update:modelValue`,e)});let c=e=>{n(`update:modelValue`,e),a.value=!1},l=()=>{o.value.trim()&&c(o.value)},u=()=>{o.value.trim()||n(`update:modelValue`,``),a.value=!1},d=t=>e.modelValue.toString()===t;dr(a,e=>{e&&nr(()=>{s.value?.focus()})});let f=z(()=>e.modelValue===void 0?e.default:e.modelValue),p=z(()=>(e.value??[]).map(t=>{let n=String(t);return{id:e.arrayEncoding===`json`?JSON.stringify(t):n,label:n,value:e.arrayEncoding===`json`?t:n}})),m=z(()=>{let t=e.modelValue.toString(),n=t.split(`,`);if(e.arrayEncoding===`json`)try{n=JSON.parse(t)}catch{n=[]}let r=new Set(Array.isArray(n)?n.map(t=>e.arrayEncoding===`json`?JSON.stringify(t):String(t)):[]);return p.value.filter(e=>r.has(e.id))}),h=t=>{let r=t.map(e=>e.value);n(`update:modelValue`,e.arrayEncoding===`json`?JSON.stringify(r):r.join(`,`))};return(t,n)=>(j(),M(`div`,ont,[e.type===`array`?(j(),N(D(rtt),{key:0,modelValue:m.value,options:p.value,"onUpdate:modelValue":h},{default:O(()=>[R(D(jw),{class:`custom-scroll h-full w-full min-w-0 justify-start gap-1.5 px-2 py-1.5 pr-6 font-normal outline-none`,variant:`ghost`},{default:O(()=>[P(`span`,snt,T(m.value.length>0?m.value.map(e=>e.label).join(`, `):`Select a value`),1),R(D(fS),{class:`min-w-4`,icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])):a.value?or((j(),M(`input`,{key:1,ref_key:`inputRef`,ref:s,"onUpdate:modelValue":n[0]||=e=>o.value=e,class:`text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none`,placeholder:D(r)(`apiClient.dataTableInputSelect.value`),type:`text`,onBlur:u,onKeyup:qa(l,[`enter`])},null,40,cnt)),[[Ga,o.value]]):(j(),N(D(MT),{key:2,resize:``,value:f.value},{items:O(()=>[(j(!0),M(L,null,jr(i.value,e=>(j(),N(D(IT),{key:e,class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,value:e,onClick:t=>c(e)},{default:O(()=>[P(`div`,{class:lt([`flex h-4 w-4 items-center justify-center rounded-full p-[3px]`,d(e)?`bg-c-accent text-b-1`:`shadow-border text-transparent`])},[R(D(fS),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),P(`span`,unt,T(e),1)]),_:2},1032,[`value`,`onClick`]))),128)),e.canAddCustomValue?(j(),M(L,{key:0},[i.value.length?(j(),N(D(FT),{key:0})):I(``,!0),R(D(IT),{class:`flex items-center gap-1.5`,onClick:n[1]||=e=>a.value=!0},{default:O(()=>[P(`div`,dnt,[R(D(fS),{icon:`Add`,size:`sm`})]),P(`span`,null,T(D(r)(`apiClient.dataTableInputSelect.addValue`)),1)]),_:1})],64)):I(``,!0)]),default:O(()=>[R(D(jw),{class:`size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none`,variant:`ghost`},{default:O(()=>[P(`span`,lnt,T(f.value??`Select a value`),1),R(D(fS),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`value`]))]))}})})),RT,zT=s((()=>{pnt(),RT=fnt})),mnt,hnt,gnt=s((()=>{p9e(),B(),mnt=[`id`],hnt=k({inheritAttrs:!1,__name:`ScalarTeleportRoot`,props:{id:{}},setup(e){let t=f9e(e.id);return(e,n)=>(j(),M(L,null,[A(e.$slots,`default`),P(`div`,{id:D(t),class:`scalar-teleport-root contents`},null,8,mnt)],64))}})})),_nt,vnt=s((()=>{gnt(),_nt=hnt})),ynt=s((()=>{_9e(),vnt()}));function BT(e){return Array.isArray?Array.isArray(e):wnt(e)===`[object Array]`}function bnt(e){if(typeof e==`string`)return e;if(typeof e==`bigint`)return e.toString();let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function VT(e){return e==null?``:bnt(e)}function HT(e){return typeof e==`string`}function UT(e){return typeof e==`number`}function xnt(e){return e===!0||e===!1||Cnt(e)&&wnt(e)==`[object Boolean]`}function Snt(e){return typeof e==`object`}function Cnt(e){return Snt(e)&&e!==null}function WT(e){return e!=null}function GT(e){return!e.trim().length}function wnt(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}function Tnt(e){let t=null,n=null,r=null,i=1,a=null;if(HT(e)||BT(e))r=e,t=Ent(e),n=KT(e);else{if(!eE.call(e,`name`))throw Error($nt(`name`));let o=e.name;if(r=o,eE.call(e,`weight`)&&e.weight!==void 0&&(i=e.weight,i<=0))throw Error(ert(KT(o)));t=Ent(o),n=KT(o),a=e.getFn??null}return{path:t,id:n,weight:i,src:r,getFn:a}}function Ent(e){return BT(e)?e:e.split(`.`)}function KT(e){return BT(e)?e.join(`.`):e}function Dnt(e,t){let n=[],r=!1,i=(e,t,a,o)=>{if(WT(e)){if(!t[a])n.push(o===void 0?e:{v:e,i:o});else{let s=e[t[a]];if(!WT(s))return;if(a===t.length-1&&(HT(s)||UT(s)||xnt(s)||typeof s==`bigint`))n.push(o===void 0?VT(s):{v:VT(s),i:o});else if(BT(s)){r=!0;for(let e=0,n=s.length;e<n;e+=1)i(s[e],t,a+1,e)}else t.length&&i(s,t,a+1,o)}}};return i(e,HT(t)?t.split(`.`):t,0),r?n:n[0]}function Ont(e){return e>=9&&e<=13||e===32||e===160}function knt(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=0,a=!1;for(let e=0;e<t.length;e++)Ont(t.charCodeAt(e))?a=!1:a||=(i++,!0);if(i===0&&(i=1),n.has(i))return n.get(i);let o=Math.round(r/i**(.5*e))/r;return n.set(i,o),o},clear(){n.clear()}}}function Ant(e,t,{getFn:n=tE.getFn,fieldNormWeight:r=tE.fieldNormWeight}={}){let i=new nE({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(Tnt)),i.setSources(t),i.create(),i}function jnt(e,{getFn:t=tE.getFn,fieldNormWeight:n=tE.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new nE({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function Mnt(e=[],t=tE.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}function Nnt(e,t,n,{location:r=tE.location,distance:i=tE.distance,threshold:a=tE.threshold,findAllMatches:o=tE.findAllMatches,minMatchCharLength:s=tE.minMatchCharLength,includeMatches:c=tE.includeMatches,ignoreLocation:l=tE.ignoreLocation}={}){if(t.length>32)throw Error(Qnt(32));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=(e,t)=>{let n=e/u;if(l)return n;let r=Math.abs(f-t);return i?n+r/i:r?1:n},g=s>1||c,_=g?Array(d):[],v;for(;(v=e.indexOf(t,m))>-1;){let e=h(0,v);if(p=Math.min(e,p),m=v+u,g){let e=0;for(;e<u;)_[v+e]=1,e+=1}}m=-1;let y=[],b=1,x=0,ee=u+d,te=1<<u-1;for(let t=0;t<u;t+=1){let r=0,i=ee;for(;r<i;)h(t,f+i)<=p?r=i:ee=i,i=Math.floor((ee-r)/2+r);ee=i;let a=Math.max(1,f-i+1),s=o?d:Math.min(f+i,d)+u,c=Array(s+2);c[s+1]=(1<<t)-1;for(let r=s;r>=a;--r){let i=r-1,o=n[e[i]];if(c[r]=(c[r+1]<<1|1)&o,t&&(c[r]|=(y[r+1]|y[r])<<1|1|y[r+1]),c[r]&te&&(b=h(t,i),b<=p)){if(p=b,m=i,x=t,m<=f)break;a=Math.max(1,2*f-m)}}if(h(t+1,f)>p)break;y=c}if(g&&m>=0){let t=Math.min(d-1,m+u-1+x);for(let r=m;r<=t;r+=1)n[e[r]]&&(_[r]=1)}let ne={isMatch:m>=0,score:Math.max(.001,b)};if(g){let e=Mnt(_,s);e.length?c&&(ne.indices=e):ne.isMatch=!1}return ne}function Pnt(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function qT(e){if(e.length<=1)return e;e.sort((e,t)=>e[0]-t[0]||e[1]-t[1]);let t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){let r=t[t.length-1],i=e[n];i[0]<=r[1]+1?r[1]=Math.max(r[1],i[1]):t.push(i)}return t}function Fnt(e){return e.startsWith(`inverse`)}function Int(e){let t=[],n=e.length,r=0;for(;r<n;){for(;r<n&&e[r]===` `;)r++;if(r>=n)break;let i=r;for(;i<n&&e[i]!==` `&&e[i]!==`"`;)i++;if(i<n&&e[i]===`"`){for(i++;i<n;){if(e[i]===`"`){let t=i+1;if(t>=n||e[t]===` `){i++;break}if(e[t]===`$`&&(t+1>=n||e[t+1]===` `)){i+=2;break}}i++}t.push(e.substring(r,i)),r=i}else{for(;i<n&&e[i]!==` `;)i++;t.push(e.substring(r,i)),r=i}}return t}function Lnt(e,t){let n=e.match(t);return n?n[1]:null}function Rnt(e,t={}){return e.replace(/\\\|/g,lrt).split(urt).map(e=>{let n=Int(e.replace(/\u0000/g,`|`).trim()).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<sE;){let e=oE[o],n=Lnt(i,e.multiRegex);n&&(r.push(e.create(n,t)),a=!0)}if(!a)for(o=-1;++o<sE;){let e=oE[o],n=Lnt(i,e.singleRegex);if(n){r.push(e.create(n,t));break}}}return r})}function JT(...e){cE.push(...e)}function YT(e,t){for(let n=0,r=cE.length;n<r;n+=1){let r=cE[n];if(r.condition(e,t))return new r(e,t)}return new aE(e,t)}function znt(e,t,{auto:n=!0}={}){let r=e=>{if(HT(e)){let r={keyId:null,pattern:e};return n&&(r.searcher=YT(e,t)),r}let i=Object.keys(e),a=frt(e);if(!a&&i.length>1&&!dE(e))return r(fE(e));if(prt(e)){let r=a?e[uE.PATH]:i[0],o=a?e[uE.PATTERN]:e[r];if(!HT(o))throw Error(Znt(r));let s={keyId:KT(r),pattern:o};return n&&(s.searcher=YT(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];BT(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return dE(e)||(e=fE(e)),r(e)}function XT(e,{ignoreFieldNorm:t=tE.ignoreFieldNorm}){let n=1;return e.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),n}function Bnt(e,{ignoreFieldNorm:t=tE.ignoreFieldNorm}){e.forEach(e=>{e.score=XT(e.matches,{ignoreFieldNorm:t})})}function Vnt(e){let t=[];return e.matches.forEach(e=>{if(!WT(e.indices)||!e.indices.length)return;let n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.id),e.idx>-1&&(n.refIndex=e.idx),t.push(n)}),t}function Hnt(e,t,{includeMatches:n=tE.includeMatches,includeScore:r=tE.includeScore}={}){return e.map(e=>{let{idx:i}=e,a={item:t[i],refIndex:i};return n&&(a.matches=Vnt(e)),r&&(a.score=e.score),a})}function Unt(e){pE.has(e)||(pE.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function Wnt(e){if(typeof e==`function`){let t=!1;return n=>{let r=e(n);if(!t&&(t=!0,!Array.isArray(r)||r.some(e=>typeof e!=`string`)))throw Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?`array containing non-strings`:typeof r}.`);return r}}return e instanceof RegExp?(e.global||Unt(e),t=>t.match(e)||[]):e=>e.match(hrt)||[]}function ZT({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){let r=Wnt(n);return{tokenize(n){return e||(n=n.toLowerCase()),t&&(n=iE(n)),r(n)}}}function QT(e,t,n,r){let i=r.tokenize(t);if(!i.length)return;e.fieldCount++,e.docFieldCount.set(n,(e.docFieldCount.get(n)||0)+1);let a=new Set(i),o=e.docTermFieldHits.get(n);o||(o=new Map,e.docTermFieldHits.set(n,o));for(let t of a)o.set(t,(o.get(t)||0)+1),e.df.set(t,(e.df.get(t)||0)+1)}function Gnt(e,t,n,r){let{i,v:a,$:o}=t;if(a!==void 0)QT(e,a,i,r);else if(o)for(let t=0;t<n;t++){let n=o[t];if(n){if(Array.isArray(n))for(let t of n)QT(e,t.v,i,r);else QT(e,n.v,i,r)}}}function Knt(e,t,n){let r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let i of e)Gnt(r,i,t,n);return r}function qnt(e,t,n,r){Gnt(e,t,n,r)}function Jnt(e,t){let n=e.docFieldCount.get(t);if(n===void 0)return;e.fieldCount-=n,e.docFieldCount.delete(t);let r=e.docTermFieldHits.get(t);if(r){for(let[t,n]of r){let r=(e.df.get(t)||0)-n;r<=0?e.df.delete(t):e.df.set(t,r)}e.docTermFieldHits.delete(t)}}function Ynt(e,t){if(t.length===0)return;let n=Array.from(new Set(t)).sort((e,t)=>e-t);for(let t of n)Jnt(e,t);let r=e=>{let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e?t=i+1:r=i}return e-t},i=n[0],a=new Map;for(let[t,n]of e.docFieldCount)a.set(t>i?r(t):t,n);e.docFieldCount=a;let o=new Map;for(let[t,n]of e.docTermFieldHits)o.set(t>i?r(t):t,n);e.docTermFieldHits=o}var Xnt,$T,Znt,Qnt,$nt,ert,trt,eE,nrt,rrt,irt,art,ort,tE,nE,rE,srt,iE,aE,crt,oE,sE,lrt,urt,drt,cE,lE,uE,dE,frt,prt,fE,mrt,hrt,pE,grt,mE,hE,gE=s((()=>{Xnt=`Incorrect 'index' type`,$T=`Invalid doc index: must be a non-negative integer within the bounds of the docs array`,Znt=e=>`Invalid value for key ${e}`,Qnt=e=>`Pattern length exceeds max of ${e}.`,$nt=e=>`Missing ${e} property in key`,ert=e=>`Property 'weight' in key '${e}' must be a positive integer`,trt=`Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.`,eE=Object.prototype.hasOwnProperty,nrt=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=Tnt(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}},rrt={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},irt={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},art={location:0,threshold:.6,distance:100},ort={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:`any`,getFn:Dnt,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},tE=Object.freeze({...irt,...rrt,...art,...ort}),nE=class{constructor({getFn:e=tE.getFn,fieldNormWeight:t=tE.fieldNormWeight}={}){this.norm=knt(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;let e=this.docs.length;this.records=Array(e);let t=0;if(HT(this.docs[0]))for(let n=0;n<e;n++){let e=this._createStringRecord(this.docs[n],n);e&&(this.records[t++]=e)}else for(let n=0;n<e;n++)this.records[t++]=this._createObjectRecord(this.docs[n],n);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw Error($T);if(HT(e)){let n=this._createStringRecord(e,t);return n&&this.records.push(n),n}let n=this._createObjectRecord(e,t);return this.records.push(n),n}removeAt(e){if(!Number.isInteger(e)||e<0)throw Error($T);for(let t=0,n=this.records.length;t<n;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i>e&&--this.records[t].i}removeAll(e){let t=new Set;for(let n of e)Number.isInteger(n)&&n>=0&&t.add(n);if(t.size===0)return;this.records=this.records.filter(e=>!t.has(e.i));let n=Array.from(t).sort((e,t)=>e-t);for(let e of this.records){let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e.i?t=i+1:r=i}e.i-=t}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!WT(e)||GT(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){let n={i:t,$:{}};for(let t=0,r=this.keys.length;t<r;t++){let r=this.keys[t],i=r.getFn?r.getFn(e):this.getFn(e,r.path);if(WT(i)){if(BT(i)){let e=[];for(let t=0,n=i.length;t<n;t+=1){let n=i[t];if(WT(n)){if(HT(n)){if(!GT(n)){let r={v:n,i:t,n:this.norm.get(n)};e.push(r)}}else if(WT(n.v)){let t=HT(n.v)?n.v:VT(n.v);if(!GT(t)){let r={v:t,i:n.i,n:this.norm.get(t)};e.push(r)}}}}n.$[t]=e}else if(HT(i)&&!GT(i)){let e={v:i,n:this.norm.get(i)};n.$[t]=e}}}return n}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}},rE={ł:`l`,Ł:`L`,đ:`d`,Đ:`D`,ø:`o`,Ø:`O`,ħ:`h`,Ħ:`H`,ŧ:`t`,Ŧ:`T`,ı:`i`,ß:`ss`},srt=RegExp(`[`+Object.keys(rE).join(``)+`]`,`g`),iE=typeof String.prototype.normalize==`function`?e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``).replace(srt,e=>rE[e]):e=>e,aE=class{constructor(e,{location:t=tE.location,threshold:n=tE.threshold,distance:r=tE.distance,includeMatches:i=tE.includeMatches,findAllMatches:a=tE.findAllMatches,minMatchCharLength:o=tE.minMatchCharLength,isCaseSensitive:s=tE.isCaseSensitive,ignoreDiacritics:c=tE.ignoreDiacritics,ignoreLocation:l=tE.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?iE(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:Pnt(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0,t=d%32,n=d-t;for(;e<n;)u(this.pattern.substr(e,32),e),e+=32;if(t){let e=d-32;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?iE(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=Nnt(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&u.push(...g)});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=qT(u)),p}},crt=new Set([`fuzzy`,`include`]),oE=[{type:`exact`,multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:`exact`,search(t){let n=t===e;return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`include`,multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:`include`,search(t){let n=0,r,i=[],a=e.length;for(;(r=t.indexOf(e,n))>-1;)n=r+a,i.push([r,n-1]);let o=!!i.length;return{isMatch:o,score:+!o,indices:i}}})},{type:`prefix-exact`,multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:`prefix-exact`,search(t){let n=t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`inverse-prefix-exact`,multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:`inverse-prefix-exact`,search(t){let n=!t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`inverse-suffix-exact`,multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:`inverse-suffix-exact`,search(t){let n=!t.endsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`suffix-exact`,multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:`suffix-exact`,search(t){let n=t.endsWith(e);return{isMatch:n,score:+!n,indices:[t.length-e.length,t.length-1]}}})},{type:`inverse-exact`,multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:`inverse-exact`,search(t){let n=t.indexOf(e)===-1;return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`fuzzy`,multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{let n=new aE(e,{location:t.location??tE.location,threshold:t.threshold??tE.threshold,distance:t.distance??tE.distance,includeMatches:t.includeMatches??tE.includeMatches,findAllMatches:t.findAllMatches??tE.findAllMatches,minMatchCharLength:t.minMatchCharLength??tE.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??tE.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??tE.ignoreDiacritics,ignoreLocation:t.ignoreLocation??tE.ignoreLocation});return{type:`fuzzy`,search(e){return n.searchIn(e)}}}}],sE=oE.length,lrt=`\0`,urt=`|`,drt=class{constructor(e,{isCaseSensitive:t=tE.isCaseSensitive,ignoreDiacritics:n=tE.ignoreDiacritics,includeMatches:r=tE.includeMatches,minMatchCharLength:i=tE.minMatchCharLength,ignoreLocation:a=tE.ignoreLocation,findAllMatches:o=tE.findAllMatches,location:s=tE.location,threshold:c=tE.threshold,distance:l=tE.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?iE(e):e,this.pattern=e,this.query=Rnt(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?iE(e):e;let a=0,o=[],s=0,c=!1;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0,c=!1;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:l,indices:u,score:d}=r.search(e);if(l)a+=1,s+=d,Fnt(r.type)&&(c=!0),n&&(crt.has(r.type)?o.push(...u):o.push(u));else{s=0,a=0,o.length=0,c=!1;break}}if(a){let e={isMatch:!0,score:s/a};return c&&(e.hasInverse=!0),n&&(e.indices=qT(o)),e}}return{isMatch:!1,score:1}}},cE=[],lE={AND:`$and`,OR:`$or`},uE={PATH:`$path`,PATTERN:`$val`},dE=e=>!!(e[lE.AND]||e[lE.OR]),frt=e=>!!e[uE.PATH],prt=e=>!BT(e)&&Snt(e)&&!dE(e),fE=e=>({[lE.AND]:Object.keys(e).map(t=>({[t]:e[t]}))}),mrt=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):this.comparator(e,this.heap[0])<0&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){let t=this.heap;for(;e>0;){let n=e-1>>1;if(this.comparator(t[e],t[n])<=0)break;let r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){let t=this.heap,n=t.length,r=e;do{e=r;let i=2*e+1,a=2*e+2;if(i<n&&this.comparator(t[i],t[r])>0&&(r=i),a<n&&this.comparator(t[a],t[r])>0&&(r=a),r!==e){let n=t[e];t[e]=t[r],t[r]=n}}while(r!==e)}},hrt=/[\p{L}\p{M}\p{N}_]+/gu,pE=new WeakSet,grt=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=ZT({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});let n=this.analyzer.tokenize(e),{df:r,fieldCount:i}=t._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(let e of n){this.termSearchers.push(new aE(e,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));let n=r.get(e)||0,a=Math.log(1+(i-n+.5)/(n+.5));this.idfWeights.push(a)}this.combineAll=t.tokenMatch===`all`,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};let t=[],n=0,r=0,i=0,a=0,o=this.combineAll&&!this.useMask?new Set:null;for(let s=0;s<this.termSearchers.length;s++){let c=this.termSearchers[s].searchIn(e),l=this.idfWeights[s];r+=l,c.isMatch&&(i++,n+=l*(1-c.score),c.indices&&t.push(...c.indices),this.combineAll&&(this.useMask?a|=1<<s:o.add(s)))}if(i===0)return{isMatch:!1,score:1};let s=r>0?1-n/r:0,c={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&t.length&&(c.indices=qT(t)),this.combineAll&&(this.useMask?c.matchedMask=a:c.matchedTerms=o,c.termCount=this.numTerms),c}},mE=class{constructor(e,t,n){this.options={...tE,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new nrt(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;let t=YT(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof nE))throw Error(Xnt);if(this._myIndex=t||Ant(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=ZT({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=Knt(this._myIndex.records,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}add(e){if(!WT(e))return;this._docs.push(e);let t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){let e=ZT({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});qnt(this._invertedIndex,t,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}remove(e=()=>!1){let t=[],n=[];for(let r=0,i=this._docs.length;r<i;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){this._invertedIndex&&Ynt(this._invertedIndex,n);let e=new Set(n);this._docs=this._docs.filter((t,n)=>!e.has(n)),this._myIndex.removeAll(n),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw Error($T);this._invertedIndex&&Ynt(this._invertedIndex,[e]);let t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){let{limit:n=-1}=t||{},{includeMatches:r,includeScore:i,shouldSort:a,sortFn:o,ignoreFieldNorm:s}=this.options;if(HT(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return UT(n)&&n>-1&&(e=e.slice(0,n)),e}let c=a&&UT(n)&&n>0&&HT(e),l=o,u=(e,t)=>l(e,t)||e.idx-t.idx,d;if(c){let t=new mrt(n,u);HT(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:s}),d=t.extractSorted()}else d=HT(e)?HT(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),Bnt(d,{ignoreFieldNorm:s}),a&&d.sort(HT(e)?u:l),UT(n)&&n>-1&&(d=d.slice(0,n));return Hnt(d,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=t?null:[];return a.forEach(({v:e,i:a,n:s})=>{if(!WT(e))return;let c=r.searchIn(e);if(c.isMatch){let r={score:c.score,value:e,norm:s,indices:c.indices};i&&(r.matchedMask=c.matchedMask,r.matchedTerms=c.matchedTerms,r.termCount=c.termCount);let l=[r];if(!i||this._coversAllTokens(l)){let r={item:e,idx:a,matches:l};t?(r.score=XT(r.matches,{ignoreFieldNorm:n}),t.insert(r)):o.push(r)}}}),o}_searchLogical(e){let t=znt(e,this.options),n=this._normalizedKeys(),r=(e,t,i)=>{if(!(`children`in e)){let{keyId:r,searcher:a}=e,o;return r===null?(o=[],n.forEach((e,n)=>{o.push(...this._findMatches({key:e,value:t[n],searcher:a}))})):o=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(t,r),searcher:a}),o&&o.length?[{idx:i,item:t,matches:o}]:[]}let{children:a,operator:o}=e,s=[];for(let e=0,n=a.length;e<n;e+=1){let n=a[e],c=r(n,t,i);if(c.length)s.push(...c);else if(o===lE.AND)return[]}return s},i=this._myIndex.records,a=new Map,o=[];return i.forEach(({$:e,i:n})=>{if(WT(e)){let i=r(t,e,n);i.length&&(a.has(n)||(a.set(n,{idx:n,item:e,matches:[]}),o.push(a.get(n))),i.forEach(({matches:e})=>{a.get(n).matches.push(...e)}))}}),o}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=this._normalizedKeys(),s=t?null:[];return a.forEach(({$:e,i:a})=>{if(!WT(e))return;let c=[],l=!1,u=!1;if(o.forEach((t,n)=>{let i=this._findMatches({key:t,value:e[n],searcher:r});i.length?(c.push(...i),i[0].hasInverse&&(u=!0)):l=!0}),!(u&&l)&&c.length&&(!i||this._coversAllTokens(c))){let r={idx:a,item:e,matches:c};t?(r.score=XT(r.matches,{ignoreFieldNorm:n}),t.insert(r)):s.push(r)}}),s}_findMatches({key:e,value:t,searcher:n}){if(!WT(t))return[];let r=[];if(BT(t))t.forEach(({v:t,i,n:a})=>{if(!WT(t))return;let o=n.searchIn(t);if(o.isMatch){let n={score:o.score,key:e,value:t,idx:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(n.matchedMask=o.matchedMask,n.matchedTerms=o.matchedTerms,n.termCount=o.termCount),r.push(n)}});else{let{v:i,n:a}=t,o=n.searchIn(i);if(o.isMatch){let t={score:o.score,key:e,value:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(t.matchedMask=o.matchedMask,t.matchedTerms=o.matchedTerms,t.termCount=o.termCount),r.push(t)}}return r}_coversAllTokens(e){let t=e.length?e[0].termCount:void 0;if(t===void 0)return!0;if(t<=31){let n=0;for(let t=0;t<e.length;t++)n|=e[t].matchedMask||0;return n===2**t-1}let n=new Set;for(let t=0;t<e.length;t++){let r=e[t].matchedTerms;if(r)for(let e of r)n.add(e)}return n.size===t}},mE.version=`7.5.0`,mE.createIndex=Ant,mE.parseIndex=jnt,mE.config=tE,mE.match=function(e,t,n){if(n&&n.useTokenSearch)throw Error(trt);return YT(e,{...tE,...n}).searchIn(t)},mE.parseQuery=znt,JT(drt),JT(grt),mE.use=function(...e){e.forEach(e=>JT(e))},hE=mE})),_rt,vrt,yrt,brt,xrt,_E,Srt,Crt=s((()=>{Fs(),B(),Mw(),Qs(),rS(),ynt(),jT(),gE(),_rt=[`id`,`aria-label`],vrt=[`id`,`aria-selected`,`onClick`],yrt={class:`flex items-center gap-2 whitespace-nowrap`},brt={key:1,class:`text-c-3 bg-b-3 flex h-4.5 min-w-4.5 items-center justify-center rounded px-0.5 font-sans text-[9px] font-semibold`},xrt={class:`max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap`},_E=12,Srt=k({__name:`EnvironmentVariablesDropdown`,props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:[`select`,`redirect`,`close`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Ps(),a=E(!0),o=E(null),s=E(0),c=()=>{r(`redirect`),a.value=!1,r(`close`)},l=z(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:typeof e.value==`string`?e.value:e.value.default}))),u=z(()=>e.contextFunctionItems.map(e=>({kind:`context`,key:e.key,secondary:e.description}))),d=z(()=>l.value.filter(({key:e,value:t})=>e!==``||t!==``).map(({key:e,value:t})=>({kind:`env`,key:e,secondary:t}))),f=z(()=>d.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),p=z(()=>u.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),m=z(()=>new hE(f.value,{keys:[`fuseText`],threshold:.35})),h=z(()=>new hE(p.value,{keys:[`fuseText`],threshold:.35})),g=z(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return AWe.flatMap(e=>{let n=t.get(e);return n?[{kind:`context`,key:n.key,secondary:n.description}]:[]})}),_=z(()=>{if(!e.query.trim())return[...d.value.slice(-4),...g.value];let t=e.query.trim(),n=m.value.search(t,{limit:_E}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}),r=_E-n.length,i=r>0?h.value.search(t,{limit:r}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}):[];return[...n,...i]}),v=t=>e.listboxId?`${e.listboxId}-option-${t}`:void 0,y=z(()=>_.value.length?v(s.value):void 0),b=e=>{r(`select`,e)};dr(()=>_.value.length,e=>{s.value>e-1&&(s.value=Math.max(0,e-1))}),t({handleArrowKey:e=>{let t=e===`up`?-1:1,n=_.value.length;n!==0&&(s.value=(s.value+t+n)%n)},handleSelect:()=>{if(s.value>=0){let e=_.value[s.value];e&&b(e.key)}},activeOptionId:y}),Ii(()=>{s.value=0});let x=z(()=>({left:(e.dropdownPosition?.left??0)+`px`,top:(e.dropdownPosition?.top??0)+5+`px`}));return CT(o,()=>{a.value=!1,r(`close`)},{ignore:[o]}),(t,n)=>a.value?(j(),N(D(g9e),{key:0,class:`scalar-client`},{default:O(()=>[P(`div`,{ref_key:`dropdownRef`,ref:o,class:`custom-scroll z-context bg-b-1 dark:bg-b-1.5 fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75 shadow-lg`,style:ct(x.value),onMousedown:n[0]||=Ka(()=>{},[`prevent`])},[P(`ul`,{id:e.listboxId,"aria-label":D(i)(`apiClient.environmentVariablesDropdown.variableSuggestions`),class:`gap-1/2 flex flex-col`,role:`listbox`},[(j(!0),M(L,null,jr(_.value,(t,n)=>(j(),M(`li`,{key:`${t.kind}-${t.key}`,id:v(n),"aria-selected":n===s.value,class:lt([`font-code text-xxs hover:bg-b-3 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150`,{"bg-b-3":n===s.value}]),role:`option`,onClick:e=>b(t.key)},[P(`div`,yrt,[t.kind===`env`?(j(),M(`span`,{key:0,class:`h-2.25 w-2.25 min-w-2.25 rounded-full`,style:ct({backgroundColor:e.environment?.color})},null,4)):(j(),M(`span`,brt,` fn `)),F(` `+T(t.key),1)]),P(`span`,xrt,T(t.secondary),1)],10,vrt))),128))],8,_rt),_.value.length?I(``,!0):(j(),N(D(jw),{key:0,class:`font-code text-xxs bg-b-inherit hover:bg-b-3 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150`,variant:`outlined`,onClick:c},{default:O(()=>[R(D(qs),{class:`size-3`}),F(T(D(i)(`apiClient.environmentVariablesDropdown.addVariable`)),1)]),_:1}))],36)]),_:1})):I(``,!0)}})})),vE,wrt=s((()=>{Crt(),vE=Srt})),yE,Trt,Ert=s((()=>{yE=`scalar-tooltip`,Trt=`scalar-tooltip`}));function Drt(){if(typeof document>`u`||typeof window>`u`||TE.value)return;let e=document.getElementById(yE);e?TE.value=e:(TE.value=document.createElement(`div`),TE.value.role=`tooltip`,TE.value.id=yE,TE.value.classList.add(Trt),TE.value.classList.add(`scalar-app`),TE.value.style.setProperty(`display`,`none`),TE.value.addEventListener(`mouseleave`,bE),document.body.appendChild(TE.value))}function bE(e){jrt(e)&&(SE(),EE.value=void 0)}function Ort(e){e.key===`Escape`&&(e.stopPropagation(),bE(e))}function krt(e){let t=e?.closest(`dialog`);if(t)try{return t.matches(`:modal`)?t:void 0}catch{return}}function xE(e){if(!TE.value)return!1;let t=krt(e)??document.body;return TE.value.parentElement!==t&&(t.appendChild(TE.value),!0)}function SE(){wE.value&&(clearTimeout(wE.value),wE.value=void 0)}function Art(e){let t=[],n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function jrt(e){let t=D(EE.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let n=Art(e.relatedTarget);return e.relatedTarget.id!==`scalar-tooltip`&&!n.some(e=>e.id===`scalar-tooltip`)&&!t.contains(e.relatedTarget)}return!0}function CE(e){Drt();function t(t){let r=D(e.delay)??300;SE(),r>0?wE.value=setTimeout(()=>n(t),r):n(t)}function n(t){SE(),document.addEventListener(`keydown`,Ort,{once:!0,capture:!0}),xE(D(e.targetRef)),EE.value=e}dr(()=>D(e.targetRef),(e,r)=>{r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,bE),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,bE),r.removeAttribute(`aria-describedby`)),e&&(e.addEventListener(`mouseenter`,t),e.addEventListener(`mouseleave`,bE),e.addEventListener(`focus`,n),e.addEventListener(`blur`,bE),e.setAttribute(`aria-describedby`,yE))},{immediate:!0}),Zt(()=>{SE();let r=D(e.targetRef);r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,bE),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,bE),r.removeAttribute(`aria-describedby`)),D(EE.value?.targetRef)===D(e.targetRef)&&(EE.value=void 0)})}var wE,TE,EE,DE,Mrt,Nrt,OE=s((()=>{Ert(),B(),Get(),wE=E(),TE=E(),EE=E(),{floatingStyles:DE,placement:Mrt,update:Nrt}=Wet(z(()=>D(EE.value?.targetRef)),TE,{placement:z(()=>D(EE.value?.placement)),whileElementsMounted:ket,middleware:z(()=>[Iet(),Fet()])}),dr(Mrt,e=>{TE.value&&e&&(TE.value.dataset.side=e.split(`-`)[0])}),dr(DE,()=>{TE.value&&(TE.value.style.position=DE.value.position,TE.value.style.top=DE.value.top,TE.value.style.left=DE.value.left,TE.value.style.transform=DE.value.transform??``,TE.value.style.willChange=DE.value.willChange??``)}),dr(EE,e=>{if(TE.value){if(e){xE(D(e.targetRef))&&Nrt();let t=D(e?.contentTarget)??`textContent`;TE.value[t]=D(e?.content)??``;let n=D(e?.offset)??4;TE.value.style.setProperty(`--scalar-tooltip-offset`,`${n}px`),TE.value.dataset.side=(D(e?.placement)??`bottom`).split(`-`)[0],TE.value.style.setProperty(`display`,`block`)}else TE.value.innerHTML=``,TE.value.style.removeProperty(`--scalar-tooltip-offset`),TE.value.style.setProperty(`display`,`none`),xE(void 0)}},{deep:!0})})),kE,Prt,Frt,Irt=s((()=>{kE={"⌘":`Command`,"^":`Control`,ctrl:`Control`,"⌥":`Option`,alt:`Alt`,"⇧":`Shift`,"⇪":`Caps Lock`,"↵":`Enter`,"←":`Left Arrow`,"→":`Right Arrow`,"↑":`Up Arrow`,"↓":`Down Arrow`},Prt={Meta:`⌘`,Shift:`⇧`,Alt:`⌥`,Control:`^`},Frt={Meta:`ctrl`,Shift:`⇧`,Alt:`alt`,Control:`ctrl`}})),Lrt,AE,jE=s((()=>{Lrt=e=>{let t=Reflect.get(e,`userAgentData`);if(t&&typeof t==`object`&&`platform`in t&&typeof t.platform==`string`)return t.platform},AE=()=>{if(typeof navigator>`u`)return!1;let e=Lrt(navigator);return e?e.toLowerCase().includes(`mac`):/Mac/.test(navigator.userAgent)}}));function Rrt(e){return e==="default"}function zrt(e){let t=Rrt(e)?`Meta`:e;return Hrt()?Prt[t]:Frt[t]}function Brt(e,t){return[...t.map(e=>zrt(e)),e]}function Vrt(e){return e in kE?kE[e]:e}var Hrt,Urt=s((()=>{Irt(),jE(),Hrt=()=>AE()})),Wrt,Grt,Krt,qrt=s((()=>{Urt(),Kl(),B(),Wrt={"aria-hidden":`true`,class:`contents`},Grt={class:`sr-only`},Krt=k({inheritAttrs:!1,__name:`ScalarHotkey`,props:{hotkey:{},modifier:{default:()=>[`Meta`]}},setup(e){let{cx:t}=Gl(),n=z(()=>Brt(e.hotkey,e.modifier));return(e,r)=>(j(),M(`div`,ut(ei(D(t)(`border-(--scalar-background-3) inline-flex gap-0.5 overflow-hidden rounded border text-xxs rounded-b p-1 font-medium uppercase leading-none`))),[(j(!0),M(L,null,jr(n.value,(e,t)=>(j(),M(`div`,{key:t},[P(`span`,Wrt,T(e),1),P(`span`,Grt,T(D(Vrt)(e)),1)]))),128))],16))}})})),ME,Jrt=s((()=>{qrt(),ME=Krt})),Yrt,Xrt=s((()=>{OE(),B(),Yrt=k({__name:`ScalarTooltip`,props:{content:{default:``},delay:{default:()=>300},placement:{default:`top`},offset:{default:()=>4}},setup(e){let t=E(null);return CE({content:z(()=>e.content),delay:z(()=>e.delay),placement:z(()=>e.placement),offset:z(()=>e.offset),targetRef:z(()=>t.value?.children?.[0]||t.value||void 0)}),(e,n)=>(j(),M(`div`,{ref_key:`wrapperRef`,ref:t,class:lt({contents:!!e.$slots.default})},[A(e.$slots,`default`)],2))}})})),NE,Zrt=s((()=>{Xrt(),NE=Yrt})),PE=s((()=>{OE(),Zrt()})),Qrt,$rt=s((()=>{Fs(),B(),PE(),Qrt=k({name:`PillTooltipHost`,__name:`PillTooltipHost`,props:{context:{},target:{},translate:{type:Function}},setup(e){let t=e,{translate:n}=Ps(),r=t.translate??n,i=t.context.type===`contextFunction`,a=z(()=>{if(!i||typeof document>`u`||t.context.type!==`contextFunction`)return``;let e=document.createElement(`div`);return cae(li(`div`,{class:`flex flex-col gap-1.5 text-left`},[li(`span`,{},t.context.details),li(`div`,{class:`text-[color:var(--scalar-color-3)] text-[10px] font-normal`},r(`apiClient.pillTooltipHost.computedAtExecution`))]),e),e.innerHTML}),o=z(()=>t.context.type===`environment`?t.context.isDefined?t.context.value:r(`apiClient.pillTooltipHost.noValue`):``),s=E(t.target);return CE({content:i?a:o,contentTarget:i?`innerHTML`:`textContent`,delay:0,placement:`bottom-start`,offset:6,targetRef:s}),(e,t)=>null}})})),FE,eit=s((()=>{$rt(),FE=Qrt}));function tit(e){if(e<768)return!1;for(let t=0,n=LE.length;;){let r=t+n>>1;if(e<LE[r])n=r;else if(e>=RE[r])t=r+1;else return!0;if(t==n)return!1}}function nit(e){return e>=127462&&e<=127487}function rit(e,t,n=!0,r=!0){return(n?iit:ait)(e,t,r)}function iit(e,t,n){if(t==e.length)return t;t&&oit(e.charCodeAt(t))&&sit(e.charCodeAt(t-1))&&t--;let r=IE(e,t);for(t+=cit(r);t<e.length;){let i=IE(e,t);if(r==zE||i==zE||n&&tit(i))t+=cit(i),r=i;else if(nit(i)){let n=0,r=t-2;for(;r>=0&&nit(IE(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function ait(e,t,n){for(;t>0;){let r=iit(e,t-2,n);if(r<t)return r;t--}return 0}function IE(e,t){let n=e.charCodeAt(t);if(!sit(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return oit(r)?(n-55296<<10)+(r-56320)+65536:n}function oit(e){return e>=56320&&e<57344}function sit(e){return e>=55296&&e<56320}function cit(e){return e<65536?1:2}var LE,RE,zE,lit=s((()=>{LE=[],RE=[],(()=>{let e=`lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o`.split(`,`).map(e=>e?parseInt(e,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?RE:LE).push(n+=e[t])})(),zE=8205}));function uit(e){let t=-1;for(let n of e)t+=n.length+1;return t}function BE(e,t,n=0,r=1e9){for(let i=0,a=0,o=!0;a<e.length&&i<=r;a++){let s=e[a],c=i+s.length;c>=n&&(c>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),o?(t[t.length-1]+=s,o=!1):t.push(s)),i=c+1}return t}function dit(e,t,n){return BE(e,[``],t,n)}function VE(e,t,n){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,n))]}function HE(e,t,n=!0,r=!0){return rit(e,t,n,r)}function fit(e){return e>=56320&&e<57344}function pit(e){return e>=55296&&e<56320}function UE(e,t){let n=e.charCodeAt(t);if(!pit(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return fit(r)?(n-55296<<10)+(r-56320)+65536:n}function mit(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function WE(e){return e<65536?1:2}function GE(e,t,n,r=!1){if(t==0&&n<=0)return;let i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:i>=0&&t==0&&e[i]==0?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function KE(e,t,n){if(n.length==0)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(dD.empty);e.push(n)}}function qE(e,t,n){let r=e.inserted;for(let i=0,a=0,o=0;o<e.sections.length;){let s=e.sections[o++],c=e.sections[o++];if(c<0)i+=s,a+=s;else{let l=i,u=a,d=dD.empty;for(;l+=s,u+=c,c&&r&&(d=d.append(r[o-2>>1])),!(n||o==e.sections.length||e.sections[o+1]<0);)s=e.sections[o++],c=e.sections[o++];t(i,l,a,u,d),i=l,a=u}}}function JE(e,t,n,r=!1){let i=[],a=r?[]:null,o=new xD(e),s=new xD(t);for(let e=-1;;)if(o.done&&s.len||s.done&&o.len)throw Error(`Mismatched change set lengths`);else if(o.ins==-1&&s.ins==-1){let e=Math.min(o.len,s.len);GE(i,e,-1),o.forward(e),s.forward(e)}else if(s.ins>=0&&(o.ins<0||e==o.i||o.off==0&&(s.len<o.len||s.len==o.len&&!n))){let t=s.len;for(GE(i,s.ins,-1);t;){let n=Math.min(o.len,t);o.ins>=0&&e<o.i&&o.len<=n&&(GE(i,0,o.ins),a&&KE(a,i,o.text),e=o.i),o.forward(n),t-=n}s.next()}else if(o.ins>=0){let t=0,n=o.len;for(;n;)if(s.ins==-1){let e=Math.min(n,s.len);t+=e,n-=e,s.forward(e)}else if(s.ins==0&&s.len<n)n-=s.len,s.next();else break;GE(i,t,e<o.i?o.ins:0),a&&e<o.i&&KE(a,i,o.text),e=o.i,o.forward(o.len-n)}else if(o.done&&s.done)return a?bD.createSet(i,a):yD.create(i);else throw Error(`Mismatched change set lengths`)}function hit(e,t,n=!1){let r=[],i=n?[]:null,a=new xD(e),o=new xD(t);for(let e=!1;;)if(a.done&&o.done)return i?bD.createSet(r,i):yD.create(r);else if(a.ins==0)GE(r,a.len,0,e),a.next();else if(o.len==0&&!o.done)GE(r,0,o.ins,e),i&&KE(i,r,o.text),o.next();else if(a.done||o.done)throw Error(`Mismatched change set lengths`);else{let t=Math.min(a.len2,o.len),n=r.length;if(a.ins==-1){let n=o.ins==-1?-1:o.off?0:o.ins;GE(r,t,n,e),i&&n&&KE(i,r,o.text)}else o.ins==-1?(GE(r,a.off?0:a.len,t,e),i&&KE(i,r,a.textBit(t))):(GE(r,a.off?0:a.len,o.off?0:o.ins,e),i&&!o.off&&KE(i,r,o.text));e=(a.ins>t||o.ins>=0&&o.len>t)&&(e||r.length>n),a.forward2(t),o.forward(t)}}function git(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError(`Selection points outside of document`)}function YE(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}function _it(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function XE(e,t){let n=!1;for(let r of t)QE(e,r)&1&&(n=!0);return n}function vit(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),a=r.filter(e=>!(e&1)),o=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let a=$E(e,r[t]);if(i[t]==2)for(let e of a)n.push(e);else n.push(a)}return t.combine(n)}return{create(e){for(let t of r)QE(e,t);return e.values[o]=s(e),1},update(e,n){if(!XE(e,a))return 0;let r=s(e);return t.compare(r,e.values[o])?0:(e.values[o]=r,1)},reconfigure(e,i){let a=XE(e,r),c=i.config.facets[t.id],l=i.facet(t);if(c&&!a&&YE(n,c))return e.values[o]=l,0;let u=s(e);return t.compare(u,l)?(e.values[o]=l,0):(e.values[o]=u,1)}}}function ZE(e){return t=>new jD(t,e)}function yit(e,t,n){let r=[[],[],[],[],[]],i=new Map;function a(e,o){let s=i.get(e);if(s!=null){if(s<=o)return;let t=r[s].indexOf(e);t>-1&&r[s].splice(t,1),e instanceof ND&&n.delete(e.compartment)}if(i.set(e,o),Array.isArray(e))for(let t of e)a(t,o);else if(e instanceof ND){if(n.has(e.compartment))throw RangeError(`Duplicate use of compartment in extensions`);let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),a(r,o)}else if(e instanceof jD)a(e.inner,e.prec);else if(e instanceof OD)r[o].push(e),e.provides&&a(e.provides,o);else if(e instanceof ED)r[o].push(e),e.facet.extensions&&a(e.facet.extensions,kD.default);else{let t=e.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${e}).`);if(t==e)throw Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);a(t,o)}}return a(e,kD.default),r.reduce((e,t)=>e.concat(t))}function QE(e,t){if(t&1)return 2;let n=t>>1,r=e.status[n];if(r==4)throw Error(`Cyclic dependency between fields and/or facets`);if(r&2)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function $E(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}function bit(e,t){let n=[];for(let r=0,i=0;;){let a,o;if(r<e.length&&(i==t.length||t[i]>=e[r]))a=e[r++],o=e[r++];else if(i<t.length)a=t[i++],o=t[i++];else return n;!n.length||n[n.length-1]<a?n.push(a,o):n[n.length-1]<o&&(n[n.length-1]=o)}}function xit(e,t,n){let r,i,a;return n?(r=t.changes,i=bD.empty(t.changes.length),a=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),i=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(r)),{changes:a,selection:t.selection?t.selection.map(i):e.selection?.map(r),effects:UD.mapEffects(e.effects,r).concat(UD.mapEffects(t.effects,i)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function eD(e,t,n){let r=t.selection,i=tD(t.annotations);return t.userEvent&&(i=i.concat(WD.userEvent.of(t.userEvent))),{changes:t.changes instanceof bD?t.changes:bD.of(t.changes||[],n,e.facet(LD)),selection:r&&(r instanceof CD?r:CD.single(r.anchor,r.head)),effects:tD(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function Sit(e,t,n){let r=eD(e,t.length?t[0]:{},e.doc.length);t.length&&t[0].filter===!1&&(n=!1);for(let i=1;i<t.length;i++){t[i].filter===!1&&(n=!1);let a=!!t[i].sequential;r=xit(r,eD(e,t[i],a?r.changes.newLength:e.doc.length),a)}let i=WD.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return wit(n?Cit(i):i)}function Cit(e){let t=e.startState,n=!0;for(let r of t.facet(RD)){let t=r(e);if(t===!1){n=!1;break}Array.isArray(t)&&(n=n===!0?t:bit(n,t))}if(n!==!0){let r,i;if(n===!1)i=e.changes.invertedDesc,r=bD.empty(t.doc.length);else{let t=e.changes.filter(n);r=t.changes,i=t.filtered.mapDesc(t.changes).invertedDesc}e=WD.create(t,r,e.selection&&e.selection.map(i),UD.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(zD);for(let n=r.length-1;n>=0;n--){let i=r[n](e);e=i instanceof WD?i:Array.isArray(i)&&i.length==1&&i[0]instanceof WD?i[0]:Sit(t,tD(i),!1)}return e}function wit(e){let t=e.startState,n=t.facet(BD),r=e;for(let i=n.length-1;i>=0;i--){let a=n[i](e);a&&Object.keys(a).length&&(r=xit(r,eD(t,a,e.changes.newLength),!0))}return r==e?e:WD.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}function tD(e){return e==null?Fit:Array.isArray(e)?e:[e]}function Tit(e){if(KD)return KD.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>`€`&&(n.toUpperCase()!=n.toLowerCase()||Iit.test(n)))return!0}return!1}function Eit(e){return t=>{if(!/\S/.test(t))return GD.Space;if(Tit(t))return GD.Word;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return GD.Word;return GD.Other}}function nD(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let i=t[e],a=r[e];if(a===void 0)r[e]=i;else if(a!==i&&i!==void 0){if(Object.hasOwnProperty.call(n,e))r[e]=n[e](a,i);else throw Error(`Config merge conflict for field `+e)}}for(let e in t)r[e]===void 0&&(r[e]=t[e]);return r}function rD(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}function iD(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}function aD(e){return e[e.length-1]}function Dit(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(iD(t,r)>0)return e.slice().sort(iD);t=r}return e}function Oit(e,t,n){let r=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&r.set(t.chunk[e],t.chunkPos[e]);let i=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let a=r.get(e.chunk[t]);a!=null&&(n?n.mapPos(a):a)==e.chunkPos[t]&&!n?.touchesRange(a,a+e.chunk[t].length)&&i.add(e.chunk[t])}return i}function oD(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}function kit(e,t,n,r,i,a){e.goto(t),n.goto(r);let o=r+i,s=r,c=r-t,l=!!a.boundChange;for(let t=!1;;){let r=e.to+c-n.to,i=r||e.endSide-n.endSide,u=i<0?e.to+c:n.to,d=Math.min(u,o);if(e.point||n.point?(e.point&&n.point&&rD(e.point,n.point)&&sD(e.activeForPoint(e.to),n.activeForPoint(n.to))||a.comparePoint(s,d,e.point,n.point),t=!1):(t&&=(a.boundChange(s),!1),d>s&&!sD(e.active,n.active)&&a.compareRange(s,d,e.active,n.active),l&&d<o&&(r||e.openEnd(u)!=n.openEnd(u))&&(t=!0)),u>o)break;s=u,i<=0&&e.next(),i>=0&&n.next()}}function sD(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!rD(e[n],t[n]))return!1;return!0}function cD(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function lD(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function Ait(e,t){let n=-1,r=1e9;for(let i=0;i<t.length;i++)(t[i]-r||e[i].endSide-e[n].endSide)<0&&(n=i,r=t[i]);return n}function uD(e,t,n=e.length){let r=0;for(let i=0;i<n&&i<e.length;)e.charCodeAt(i)==9?(r+=t-r%t,i++):(r++,i=HE(e,i));return r}function jit(e,t,n,r){for(let r=0,i=0;;){if(i>=t)return r;if(r==e.length)break;i+=e.charCodeAt(r)==9?n-i%n:1,r=HE(e,r)}return r===!0?-1:e.length}var dD,fD,pD,mD,hD,gD,Mit,_D,vD,yD,bD,xD,SD,CD,wD,TD,ED,DD,OD,kD,AD,jD,MD,ND,PD,FD,ID,LD,RD,zD,BD,VD,HD,Nit,Pit,UD,WD,Fit,GD,Iit,KD,qD,JD,YD,Lit,XD,ZD,QD,$D,eO,tO=s((()=>{lit(),dD=class e{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=VE(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),pD.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=VE(this,e,t);let n=[];return this.decompose(e,t,n,0),pD.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new mD(this),i=new mD(e);for(let e=t,a=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}iter(e=1){return new mD(this,e)}iterRange(e,t=this.length){return new hD(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t??=this.lines+1;let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new gD(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(t){if(t.length==0)throw RangeError(`A document must have at least one line`);return t.length==1&&!t[0]?e.empty:t.length<=32?new fD(t):pD.from(fD.split(t,[]))}},fD=class e extends dD{constructor(e,t=uit(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let a=this.text[i],o=r+a.length;if((t?n:o)>=e)return new Mit(r,o,n,a);r=o+1,n++}}decompose(t,n,r,i){let a=t<=0&&n>=this.length?this:new e(dit(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(i&1){let t=r.pop(),n=BE(a.text,t.text.slice(),0,a.length);if(n.length<=32)r.push(new e(n,t.length+a.length));else{let t=n.length>>1;r.push(new e(n.slice(0,t)),new e(n.slice(t)))}}else r.push(a)}replace(t,n,r){if(!(r instanceof e))return super.replace(t,n,r);[t,n]=VE(this,t,n);let i=BE(this.text,BE(r.text,dit(this.text,0,t)),n),a=this.length+r.length-(n-t);return i.length<=32?new e(i,a):pD.from(e.split(i,[]),a)}sliceString(e,t=this.length,n=`
+`){[e,t]=VE(this,e,t);let r=``;for(let i=0,a=0;i<=t&&a<this.text.length;a++){let o=this.text[a],s=i+o.length;i>e&&a&&(r+=n),e<s&&t>i&&(r+=o.slice(Math.max(0,e-i),t-i)),i=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(t,n){let r=[],i=-1;for(let a of t)r.push(a),i+=a.length+1,r.length==32&&(n.push(new e(r,i)),r=[],i=-1);return i>-1&&n.push(new e(r,i)),n}},pD=class e extends dD{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let t of e)this.lines+=t.lines}lineInner(e,t,n,r){for(let i=0;;i++){let a=this.children[i],o=r+a.length,s=n+a.lines-1;if((t?s:o)>=e)return a.lineInner(e,t,n,r);r=o+1,n=s+1}}decompose(e,t,n,r){for(let i=0,a=0;a<=t&&i<this.children.length;i++){let o=this.children[i],s=a+o.length;if(e<=s&&t>=a){let i=r&(a<=e|(s>=t?2:0));a>=e&&s<=t&&!i?n.push(o):o.decompose(e-a,t-a,n,i)}a=s+1}}replace(t,n,r){if([t,n]=VE(this,t,n),r.lines<this.lines)for(let i=0,a=0;i<this.children.length;i++){let o=this.children[i],s=a+o.length;if(t>=a&&n<=s){let c=o.replace(t-a,n-a,r),l=this.lines-o.lines+c.lines;if(c.lines<l>>4&&c.lines>l>>6){let a=this.children.slice();return a[i]=c,new e(a,this.length-(n-t)+r.length)}return super.replace(a,s,c)}a=s+1}return super.replace(t,n,r)}sliceString(e,t=this.length,n=`
+`){[e,t]=VE(this,e,t);let r=``;for(let i=0,a=0;i<this.children.length&&a<=t;i++){let o=this.children[i],s=a+o.length;a>e&&i&&(r+=n),e<s&&t>a&&(r+=o.sliceString(e-a,t-a,n)),a=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(t,n){if(!(t instanceof e))return 0;let r=0,[i,a,o,s]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=n,a+=n){if(i==o||a==s)return r;let e=this.children[i],c=t.children[a];if(e!=c)return r+e.scanIdentical(c,n);r+=e.length+1}}static from(t,n=t.reduce((e,t)=>e+t.length+1,-1)){let r=0;for(let e of t)r+=e.lines;if(r<32){let e=[];for(let n of t)n.flatten(e);return new fD(e,n)}let i=Math.max(32,r>>5),a=i<<1,o=i>>1,s=[],c=0,l=-1,u=[];function d(t){let n;if(t.lines>a&&t instanceof e)for(let e of t.children)d(e);else t.lines>o&&(c>o||!c)?(f(),s.push(t)):t instanceof fD&&c&&(n=u[u.length-1])instanceof fD&&t.lines+n.lines<=32?(c+=t.lines,l+=t.length+1,u[u.length-1]=new fD(n.text.concat(t.text),n.length+1+t.length)):(c+t.lines>i&&f(),c+=t.lines,l+=t.length+1,u.push(t))}function f(){c!=0&&(s.push(u.length==1?u[0]:e.from(u,l)),l=-1,c=u.length=0)}for(let e of t)d(e);return f(),s.length==1?s[0]:new e(s,n)}},dD.empty=new fD([``],0),mD=class{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value=``,this.nodes=[e],this.offsets=[t>0?1:(e instanceof fD?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],a=i>>1,o=r instanceof fD?r.text.length:r.children.length;if(a==(t>0?o:0)){if(n==0)return this.done=!0,this.value=``,this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=`
+`,this;e--}else if(r instanceof fD){let i=r.text[a+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=e==0?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[a+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof fD?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}},hD=class{constructor(e,t,n){this.value=``,this.done=!1,this.cursor=new mD(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value=``,this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=``}},gD=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value=``,this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value=``,this.afterBreak=!1):t?(this.done=!0,this.value=``):n?this.afterBreak?this.value=``:(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}},typeof Symbol<`u`&&(dD.prototype[Symbol.iterator]=function(){return this.iter()},mD.prototype[Symbol.iterator]=hD.prototype[Symbol.iterator]=gD.prototype[Symbol.iterator]=function(){return this}),Mit=class{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}},_D=/\r\n?|\n/,vD=(function(e){return e[e.Simple=0]=`Simple`,e[e.TrackDel=1]=`TrackDel`,e[e.TrackBefore=2]=`TrackBefore`,e[e.TrackAfter=3]=`TrackAfter`,e})(vD||={}),yD=class e{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let i=this.sections[t++],a=this.sections[t++];a<0?(e(n,r,i),r+=i):r+=a,n+=i}}iterChangedRanges(e,t=!1){qE(this,e,t)}get invertedDesc(){let t=[];for(let e=0;e<this.sections.length;){let n=this.sections[e++],r=this.sections[e++];r<0?t.push(n,r):t.push(r,n)}return new e(t)}composeDesc(e){return this.empty?e:e.empty?this:hit(this,e)}mapDesc(e,t=!1){return e.empty?this:JE(this,e,t)}mapPos(e,t=-1,n=vD.Simple){let r=0,i=0;for(let a=0;a<this.sections.length;){let o=this.sections[a++],s=this.sections[a++],c=r+o;if(s<0){if(c>e)return i+(e-r);i+=o}else{if(n!=vD.Simple&&c>=e&&(n==vD.TrackDel&&r<e&&c>e||n==vD.TrackBefore&&r<e||n==vD.TrackAfter&&c>e))return null;if(c>e||c==e&&t<0&&!o)return e==r||t<0?i:i+s;i+=s}r=c}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let i=this.sections[n++],a=this.sections[n++],o=r+i;if(a>=0&&r<=t&&o>=e)return r<e&&o>t?`cover`:!0;r=o}return!1}toString(){let e=``;for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?` `:``)+n+(r>=0?`:`+r:``)}return e}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(e=>typeof e!=`number`))throw RangeError(`Invalid JSON representation of ChangeDesc`);return new e(t)}static create(t){return new e(t)}},bD=class e extends yD{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError(`Applying change set to a document with the wrong length`);return qE(this,(t,n,r,i,a)=>e=e.replace(r,r+(n-t),a),!1),e}mapDesc(e,t=!1){return JE(this,e,t,!0)}invert(t){let n=this.sections.slice(),r=[];for(let e=0,i=0;e<n.length;e+=2){let a=n[e],o=n[e+1];if(o>=0){n[e]=o,n[e+1]=a;let s=e>>1;for(;r.length<s;)r.push(dD.empty);r.push(a?t.slice(i,i+a):dD.empty)}i+=a}return new e(n,r)}compose(e){return this.empty?e:e.empty?this:hit(this,e,!0)}map(e,t=!1){return e.empty?this:JE(this,e,t,!0)}iterChanges(e,t=!1){qE(this,e,t)}get desc(){return yD.create(this.sections)}filter(t){let n=[],r=[],i=[],a=new xD(this);done:for(let e=0,o=0;;){let s=e==t.length?1e9:t[e++];for(;o<s||o==s&&a.len==0;){if(a.done)break done;let e=Math.min(a.len,s-o);GE(i,e,-1);let t=a.ins==-1?-1:a.off==0?a.ins:0;GE(n,e,t),t>0&&KE(r,n,a.text),a.forward(e),o+=e}let c=t[e++];for(;o<c;){if(a.done)break done;let e=Math.min(a.len,c-o);GE(n,e,-1),GE(i,e,a.ins==-1?-1:a.off==0?a.ins:0),a.forward(e),o+=e}}return{changes:new e(n,r),filtered:yD.create(i)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):r==0?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(t,n,r){let i=[],a=[],o=0,s=null;function c(t=!1){if(!t&&!i.length)return;o<n&&GE(i,n-o,-1);let r=new e(i,a);s=s?s.compose(r.map(s)):r,i=[],a=[],o=0}function l(t){if(Array.isArray(t))for(let e of t)l(e);else if(t instanceof e){if(t.length!=n)throw RangeError(`Mismatched change set length (got ${t.length}, expected ${n})`);c(),s=s?s.compose(t.map(s)):t}else{let{from:e,to:s=e,insert:l}=t;if(e>s||e<0||s>n)throw RangeError(`Invalid change range ${e} to ${s} (in doc of length ${n})`);let u=l?typeof l==`string`?dD.of(l.split(r||_D)):l:dD.empty,d=u.length;if(e==s&&d==0)return;e<o&&c(),e>o&&GE(i,e-o,-1),GE(i,s-e,d),KE(a,i,u),o=s}}return l(t),c(!s),s}static empty(t){return new e(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw RangeError(`Invalid JSON representation of ChangeSet`);let n=[],r=[];for(let e=0;e<t.length;e++){let i=t[e];if(typeof i==`number`)n.push(i,-1);else if(!Array.isArray(i)||typeof i[0]!=`number`||i.some((e,t)=>t&&typeof e!=`string`))throw RangeError(`Invalid JSON representation of ChangeSet`);else if(i.length==1)n.push(i[0],0);else{for(;r.length<e;)r.push(dD.empty);r[e]=dD.of(i.slice(1)),n.push(i[0],r[e].length)}}return new e(n,r)}static createSet(t,n){return new e(t,n)}},xD=class{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?dD.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?dD.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}},SD=class e{constructor(e,t,n,r){this.from=e,this.to=t,this.flags=n,this.goalColumn=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get undirectional(){return(this.flags&64)>0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}map(t,n=-1){let r,i;return this.empty?r=i=t.mapPos(this.from,n):(r=t.mapPos(this.from,1),i=t.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new e(r,i,this.flags,this.goalColumn)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return CD.range(e,t,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return CD.range(this.anchor,r,void 0,void 0,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!=`number`||typeof e.head!=`number`)throw RangeError(`Invalid JSON representation for SelectionRange`);return CD.range(e.anchor,e.head)}static create(t,n,r,i){return new e(t,n,r,i)}},CD=class e{constructor(e,t){this.ranges=e,this.mainIndex=t}map(t,n=-1){return t.empty?this:e.create(this.ranges.map(e=>e.map(t,n)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new e([this.main],0)}addRange(t,n=!0){return e.create([t].concat(this.ranges),n?0:this.mainIndex+1)}replaceRange(t,n=this.mainIndex){let r=this.ranges.slice();return r[n]=t,e.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!=`number`||t.main>=t.ranges.length)throw RangeError(`Invalid JSON representation for EditorSelection`);return new e(t.ranges.map(e=>SD.fromJSON(e)),t.main)}static single(t,n=t){return new e([e.range(t,n)],0)}static create(t,n=0){if(t.length==0)throw RangeError(`A selection needs at least one range`);for(let r=0,i=0;i<t.length;i++){let a=t[i];if(a.empty?a.from<=r:a.from<r)return e.normalized(t.slice(),n);r=a.to}return new e(t,n)}static cursor(e,t=0,n,r){return SD.create(e,e,(t==0?0:t<0?8:16)|(n==null?7:Math.min(6,n)),r)}static range(e,t,n,r,i){let a=r==null?7:Math.min(6,r);return!i&&e!=t&&(i=t<e?1:-1),i&&(a|=i<0?8:16),t<e?SD.create(t,e,a|32,n):SD.create(e,t,a,n)}static undirectionalRange(e,t){return SD.create(e,t,64,void 0)}static normalized(t,n=0){let r=t[n];t.sort((e,t)=>e.from-t.from),n=t.indexOf(r);for(let r=1;r<t.length;r++){let i=t[r],a=t[r-1];if(i.empty?i.from<=a.to:i.from<a.to){let o=a.from,s=Math.max(i.to,a.to);r<=n&&n--,t.splice(--r,2,i.anchor>i.head?e.range(s,o):e.range(o,s))}}return new e(t,n)}},wD=0,TD=class e{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=wD++,this.default=e([]),this.extensions=typeof i==`function`?i(this):i}get reader(){return this}static define(t={}){return new e(t.combine||(e=>e),t.compareInput||((e,t)=>e===t),t.compare||(t.combine?(e,t)=>e===t:YE),!!t.static,t.enables)}of(e){return new ED([],this,0,e)}compute(e,t){if(this.isStatic)throw Error(`Can't compute a static facet`);return new ED(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error(`Can't compute a static facet`);return new ED(e,this,2,t)}from(e,t){return t||=e=>e,this.compute([e],n=>t(n.field(e)))}},ED=class{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=wD++}dynamicSlot(e){let t=this.value,n=this.facet.compareInput,r=this.id,i=e[r]>>1,a=this.type==2,o=!1,s=!1,c=[];for(let t of this.dependencies)t==`doc`?o=!0:t==`selection`?s=!0:(e[t.id]??1)&1||c.push(e[t.id]);return{create(e){return e.values[i]=t(e),1},update(e,r){if(o&&r.docChanged||s&&(r.docChanged||r.selection)||XE(e,c)){let r=t(e);if(a?!_it(r,e.values[i],n):!n(r,e.values[i]))return e.values[i]=r,1}return 0},reconfigure:(e,o)=>{let s,c=o.config.address[r];if(c!=null){let r=$E(o,c);if(this.dependencies.every(t=>t instanceof TD?o.facet(t)===e.facet(t):t instanceof OD?o.field(t,!1)==e.field(t,!1):!0)||(a?_it(s=t(e),r,n):n(s=t(e),r)))return e.values[i]=r,0}else s=t(e);return e.values[i]=s,1}}}get extension(){return this}},DD=TD.define({static:!0}),OD=class e{constructor(e,t,n,r,i){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=i,this.provides=void 0}static define(t){let n=new e(wD++,t.create,t.update,t.compare||((e,t)=>e===t),t);return t.provide&&(n.provides=t.provide(n)),n}create(e){return(e.facet(DD).find(e=>e.field==this)?.create||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>{let r=e.facet(DD),i=n.facet(DD),a;return(a=r.find(e=>e.field==this))&&a!=i.find(e=>e.field==this)?(e.values[t]=a.create(e),1):n.config.address[this.id]==null?(e.values[t]=this.create(e),1):(e.values[t]=n.field(this),0)}}}init(e){return[this,DD.of({field:this,create:e})]}get extension(){return this}},kD={lowest:4,low:3,default:2,high:1,highest:0},AD={highest:ZE(kD.highest),high:ZE(kD.high),default:ZE(kD.default),low:ZE(kD.low),lowest:ZE(kD.lowest)},jD=class{constructor(e,t){this.inner=e,this.prec=t}get extension(){return this}},MD=class e{of(e){return new ND(this,e)}reconfigure(t){return e.reconfigure.of({compartment:this,extension:t})}get(e){return e.config.compartments.get(this)}},ND=class{constructor(e,t){this.compartment=e,this.inner=t}get extension(){return this}},PD=class e{constructor(e,t,n,r,i,a){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return t==null?e.default:this.staticValues[t>>1]}static resolve(t,n,r){let i=[],a=Object.create(null),o=new Map;for(let e of yit(t,n,o))e instanceof OD?i.push(e):(a[e.facet.id]||(a[e.facet.id]=[])).push(e);let s=Object.create(null),c=[],l=[];for(let e of i)s[e.id]=l.length<<1,l.push(t=>e.slot(t));let u=r?.config.facets;for(let e in a){let t=a[e],n=t[0].facet,i=u&&u[e]||[];if(t.every(e=>e.type==0)){if(s[n.id]=c.length<<1|1,YE(i,t))c.push(r.facet(n));else{let e=n.combine(t.map(e=>e.value));c.push(r&&n.compare(e,r.facet(n))?r.facet(n):e)}}else{for(let e of t)e.type==0?(s[e.id]=c.length<<1|1,c.push(e.value)):(s[e.id]=l.length<<1,l.push(t=>e.dynamicSlot(t)));s[n.id]=l.length<<1,l.push(e=>vit(e,n,t))}}let d=l.map(e=>e(s));return new e(t,o,d,s,c,a)}},FD=TD.define(),ID=TD.define({combine:e=>e.some(e=>e),static:!0}),LD=TD.define({combine:e=>e.length?e[0]:void 0,static:!0}),RD=TD.define(),zD=TD.define(),BD=TD.define(),VD=TD.define({combine:e=>e.length?e[0]:!1}),HD=class{constructor(e,t){this.type=e,this.value=t}static define(){return new Nit}},Nit=class{of(e){return new HD(this,e)}},Pit=class{constructor(e){this.map=e}of(e){return new UD(this,e)}},UD=class e{constructor(e,t){this.type=e,this.value=t}map(t){let n=this.type.map(this.value,t);return n===void 0?void 0:n==this.value?this:new e(this.type,n)}is(e){return this.type==e}static define(e={}){return new Pit(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}},UD.reconfigure=UD.define(),UD.appendConfig=UD.define(),WD=class e{constructor(t,n,r,i,a,o){this.startState=t,this.changes=n,this.selection=r,this.effects=i,this.annotations=a,this.scrollIntoView=o,this._doc=null,this._state=null,r&&git(r,n.newLength),a.some(t=>t.type==e.time)||(this.annotations=a.concat(e.time.of(Date.now())))}static create(t,n,r,i,a,o){return new e(t,n,r,i,a,o)}get newDoc(){return this._doc||=this.changes.apply(this.startState.doc)}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let n=this.annotation(e.userEvent);return!!(n&&(n==t||n.length>t.length&&n.slice(0,t.length)==t&&n[t.length]==`.`))}},WD.time=HD.define(),WD.userEvent=HD.define(),WD.addToHistory=HD.define(),WD.remote=HD.define(),Fit=[],GD=(function(e){return e[e.Word=0]=`Word`,e[e.Space=1]=`Space`,e[e.Other=2]=`Other`,e})(GD||={}),Iit=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{KD=RegExp(`[\\p{Alphabetic}\\p{Number}_]`,`u`)}catch{}qD=class e{constructor(e,t,n,r,i,a){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,a&&(a._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)QE(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(n==null){if(t)throw RangeError(`Field is not present in this state`)}else return QE(this,n),$E(this,n)}update(...e){return Sit(this,e,!0)}applyTransaction(t){let n=this.config,{base:r,compartments:i}=n;for(let e of t.effects)e.is(MD.reconfigure)?(n&&=(i=new Map,n.compartments.forEach((e,t)=>i.set(t,e)),null),i.set(e.value.compartment,e.value.extension)):e.is(UD.reconfigure)?(n=null,r=e.value):e.is(UD.appendConfig)&&(n=null,r=tD(r).concat(e.value));let a;n?a=t.startState.values.slice():(n=PD.resolve(r,i,this),a=new e(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values);let o=t.startState.facet(ID)?t.newSelection:t.newSelection.asSingle();new e(n,t.newDoc,o,a,(e,n)=>n.update(e,t),t)}replaceSelection(e){return typeof e==`string`&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:CD.cursor(t.from+e.length,-1)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],a=tD(n.effects);for(let n=1;n<t.ranges.length;n++){let o=e(t.ranges[n]),s=this.changes(o.changes),c=s.map(r);for(let e=0;e<n;e++)i[e]=i[e].map(c);let l=r.mapDesc(s,!0);i.push(o.range.map(l)),r=r.compose(c),a=UD.mapEffects(a,c).concat(UD.mapEffects(tD(o.effects),l))}return{changes:r,selection:CD.create(i,t.mainIndex),effects:a}}changes(t=[]){return t instanceof bD?t:bD.of(t,this.doc.length,this.facet(e.lineSeparator))}toText(t){return dD.of(t.split(this.facet(e.lineSeparator)||_D))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return t==null?e.default:(QE(this,t),$E(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof OD&&this.config.address[r.id]!=null&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(t,n={},r){if(!t||typeof t.doc!=`string`)throw RangeError(`Invalid JSON representation for EditorState`);let i=[];if(r){for(let e in r)if(Object.prototype.hasOwnProperty.call(t,e)){let n=r[e],a=t[e];i.push(n.init(e=>n.spec.fromJSON(a,e)))}}return e.create({doc:t.doc,selection:CD.fromJSON(t.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(t={}){let n=PD.resolve(t.extensions||[],new Map),r=t.doc instanceof dD?t.doc:dD.of((t.doc||``).split(n.staticFacet(e.lineSeparator)||_D)),i=t.selection?t.selection instanceof CD?t.selection:CD.single(t.selection.anchor,t.selection.head):CD.single(0);return git(i,r.length),n.staticFacet(ID)||(i=i.asSingle()),new e(n,r,i,n.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(e.tabSize)}get lineBreak(){return this.facet(e.lineSeparator)||`
+`}get readOnly(){return this.facet(VD)}phrase(t,...n){for(let n of this.facet(e.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}return n.length&&(t=t.replace(/\$(\$|\d*)/g,(e,t)=>{if(t==`$`)return`$`;let r=+(t||1);return!r||r>n.length?e:n[r-1]})),t}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(FD))for(let a of i(this,t,n))Object.prototype.hasOwnProperty.call(a,e)&&r.push(a[e]);return r}charCategorizer(e){let t=this.languageDataAt(`wordChars`,e);return Eit(t.length?t[0]:``)}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),a=e-n,o=e-n;for(;a>0;){let e=HE(t,a,!1);if(i(t.slice(e,a))!=GD.Word)break;a=e}for(;o<r;){let e=HE(t,o);if(i(t.slice(o,e))!=GD.Word)break;o=e}return a==o?null:CD.range(a+n,o+n)}},qD.allowMultipleSelections=ID,qD.tabSize=TD.define({combine:e=>e.length?e[0]:4}),qD.lineSeparator=LD,qD.readOnly=VD,qD.phrases=TD.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),qD.languageData=FD,qD.changeFilter=RD,qD.transactionFilter=zD,qD.transactionExtender=BD,MD.reconfigure=UD.define(),JD=class{eq(e){return this==e}range(e,t=e){return YD.create(e,t,this)}},JD.prototype.startSide=JD.prototype.endSide=0,JD.prototype.point=!1,JD.prototype.mapMode=vD.TrackDel,YD=class e{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(t,n,r){return new e(t,n,r)}},Lit=class e{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return aD(this.to)}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let a=r,o=i.length;;){if(a==o)return a;let r=a+o>>1,s=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==a)return s>=0?a:o;s>=0?o=r:a=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),a=this.findIndex(n,1e9,!1,i);i<a;i++)if(r(this.from[i]+e,this.to[i]+e,this.value[i])===!1)return!1}map(t,n,r,i,a){let o=[],s=[],c=[],l=-1,u=-1;iter:for(let e=0;e<this.value.length;e++){let d=this.value[e],f=this.from[e]+t,p=this.to[e]+t,m,h;if(f==p){let e=n.mapPos(f,d.startSide,d.mapMode);if(e==null||(m=h=e,d.startSide!=d.endSide&&(h=n.mapPos(f,d.endSide),h<m)))continue}else if(m=n.mapPos(f,d.startSide),h=n.mapPos(p,d.endSide),m>h||m==h&&d.startSide>0&&d.endSide<=0)continue;if(!((h-m||d.endSide-d.startSide)<0)){if(l<0&&(l=m),d.point&&(u=Math.max(u,h-m)),(m-r||d.startSide-i)>=0)o.push(d),s.push(m-l),c.push(h-l),r=h,i=d.endSide;else{if(m==h)for(let e=o.length;e>0;e--){if((m-(c[e-1]+l)||d.startSide-o[e-1].endSide)>=0){o.splice(e,0,d),s.splice(e,0,m-l),c.splice(e,0,h-l);continue iter}if((m-(s[e-1]+l)||d.endSide-o[e-1].startSide)>0)break}a(m,h,d)}}}return{mapped:o.length?new e(s,c,o,u):null,pos:l}}},XD=class e{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(t,n,r,i){return new e(t,n,r,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(t){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:a=this.length}=t,o=t.filter;if(n.length==0&&!o)return this;if(r&&(n=n.slice().sort(iD)),this.isEmpty)return n.length?e.of(n):this;let s=new QD(this,null,-1).goto(0),c=0,l=[],u=new ZD;for(;s.value||c<n.length;)if(c<n.length&&(s.from-n[c].from||s.startSide-n[c].value.startSide)>=0){let e=n[c++];u.addInner(e.from,e.to,e.value,!1)||l.push(e)}else s.rangeIndex==1&&s.chunkIndex<this.chunk.length&&(c==n.length||this.chunkEnd(s.chunkIndex)<n[c].from)&&(!o||i>this.chunkEnd(s.chunkIndex)||a<this.chunkPos[s.chunkIndex])&&u.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!o||i>s.to||a<s.from||o(s.from,s.to,s.value))&&(u.addInner(s.from,s.to,s.value,!1)||l.push(YD.create(s.from,s.to,s.value))),s.next());return u.finishInner(this.nextLayer.isEmpty&&!l.length?e.empty:this.nextLayer.update({add:l,filter:o,filterFrom:i,filterTo:a}))}map(t){if(t.empty||this.isEmpty)return this;let n=[],r=[],i=-1,a,o=(e,t,n)=>{a||=new ZD,a.addRange(e,t,n,!1)};for(let e=0;e<this.chunk.length;e++){let a=this.chunkPos[e],s=this.chunk[e],c=t.touchesRange(a,a+s.length);if(c===!1)i=Math.max(i,s.maxPoint),n.push(s),r.push(t.mapPos(a));else if(c===!0){let[e,c]=n.length?[aD(r)+aD(n).length,aD(aD(n).value).endSide]:[-1,-1],{mapped:l,pos:u}=s.map(a,t,e,c,o);l&&(i=Math.max(i,l.maxPoint),n.push(l),r.push(u))}}let s=this.nextLayer.map(t);return a&&(s=a.finishInner(s)),n.length==0?s:new e(r,n,s||e.empty,i)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let i=this.chunkPos[r],a=this.chunk[r];if(t>=i&&e<=i+a.length&&a.between(i,e-i,t-i,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return $D.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return $D.from(e).goto(t)}static compare(e,t,n,r,i=-1){let a=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=Oit(a,o,n),c=new eO(a,s,i),l=new eO(o,s,i);n.iterGaps((e,t,n)=>kit(c,e,l,t,n,r)),n.empty&&n.length==0&&kit(c,0,l,0,0,r)}static eq(e,t,n=0,r){r??=1e9-1;let i=e.filter(e=>!e.isEmpty&&t.indexOf(e)<0),a=t.filter(t=>!t.isEmpty&&e.indexOf(t)<0);if(i.length!=a.length)return!1;if(!i.length)return!0;let o=Oit(i,a),s=new eO(i,o,0).goto(n),c=new eO(a,o,0).goto(n);for(;;){if(s.to!=c.to||!sD(s.active,c.active)||s.point&&(!c.point||!rD(s.point,c.point)))return!1;if(s.to>r)return!0;s.next(),c.next()}}static spans(e,t,n,r,i=-1){let a=new eO(e,null,i).goto(t),o=t,s=a.openStart;for(;;){let e=Math.min(a.to,n);if(a.point){let n=a.activeForPoint(a.to),i=a.pointFrom<t?n.length+1:a.point.startSide<0?n.length:Math.min(n.length,s);r.point(o,e,a.point,n,i,a.pointRank),s=Math.min(a.openEnd(e),n.length)}else e>o&&(r.span(o,e,a.active,s),s=a.openEnd(e));if(a.to>n)return s+(a.point&&a.to>n?1:0);o=a.to,a.next()}}static of(e,t=!1){let n=new ZD;for(let r of e instanceof YD?[e]:t?Dit(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(t){if(!t.length)return e.empty;let n=aD(t);for(let r=t.length-2;r>=0;r--)for(let i=t[r];i!=e.empty;i=i.nextLayer)n=new e(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}},XD.empty=new XD([],[],null,-1),XD.empty.nextLayer=XD.empty,ZD=class e{finishChunk(e){this.chunks.push(new Lit(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addRange(e,t,n,!0)}addRange(t,n,r,i){this.addInner(t,n,r,i)||(this.nextLayer||=new e).addRange(t,n,r,i)}addInner(e,t,n,r){let i=e-this.lastTo||n.startSide-this.last.endSide;if(r&&i<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(XD.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=XD.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}},QD=class{constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}},$D=class e{constructor(e){this.heap=e}static from(t,n=null,r=-1){let i=[];for(let e=0;e<t.length;e++)for(let a=t[e];!a.isEmpty;a=a.nextLayer)a.maxPoint>=r&&i.push(new QD(a,n,r,e));return i.length==1?i[0]:new e(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)oD(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)oD(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),oD(this.heap,0)}}},eO=class{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=$D.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){cD(this.active,e),cD(this.activeTo,e),cD(this.activeRank,e),this.minActive=Ait(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t<this.activeRank.length&&(i-this.activeRank[t]||r-this.activeTo[t])>0;)t++;lD(this.active,t,n),lD(this.activeTo,t,r),lD(this.activeRank,t,i),e&&lD(e,t,this.cursor.from),this.minActive=Ait(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&cD(n,r)}else if(!this.cursor.value){this.to=this.endSide=1e9;break}else if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(!e.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}})),nO,rO,iO,aO,oO,sO,Rit,zit=s((()=>{nO=`ͼ`,rO=typeof Symbol>`u`?`__ͼ`:Symbol.for(nO),iO=typeof Symbol>`u`?`__styleSet`+Math.floor(Math.random()*1e8):Symbol(`styleSet`),aO=typeof globalThis<`u`?globalThis:typeof window<`u`?window:{},oO=class{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,a,o){let s=[],c=/^@(\w+)\b/.exec(e[0]),l=c&&c[1]==`keyframes`;if(c&&t==null)return a.push(e[0]+`;`);for(let n in t){let o=t[n];if(/&/.test(n))i(n.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),o,a);else if(o&&typeof o==`object`){if(!c)throw RangeError(`The value of a property (`+n+`) should be a primitive value.`);i(r(n),o,s,l)}else o!=null&&s.push(n.replace(/_.*/,``).replace(/[A-Z]/g,e=>`-`+e.toLowerCase())+`: `+o+`;`)}(s.length||l)&&a.push((n&&!c&&!o?e.map(n):e).join(`, `)+` {`+s.join(` `)+`}`)}for(let t in e)i(r(t),e[t],this.rules)}getRules(){return this.rules.join(`
+`)}static newName(){let e=aO[rO]||1;return aO[rO]=e+1,nO+e.toString(36)}static mount(e,t,n){let r=e[iO],i=n&&n.nonce;r?i&&r.setNonce(i):r=new Rit(e,i),r.mount(Array.isArray(t)?t:[t],e)}},sO=new Map,Rit=class{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=sO.get(n);if(t)return e[iO]=t;this.sheet=new r.CSSStyleSheet,sO.set(n,this)}else this.styleTag=n.createElement(`style`),t&&this.styleTag.setAttribute(`nonce`,t);this.modules=[],e[iO]=this}mount(e,t){let n=this.sheet,r=0,i=0;for(let t=0;t<e.length;t++){let a=e[t],o=this.modules.indexOf(a);if(o<i&&o>-1&&(this.modules.splice(o,1),i--,o=-1),o==-1){if(this.modules.splice(i++,0,a),n)for(let e=0;e<a.rules.length;e++)n.insertRule(a.rules[e],r++)}else{for(;i<o;)r+=this.modules[i++].rules.length;r+=a.rules.length,i++}}if(n)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e=``;for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+`
+`;this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute(`nonce`)!=e&&this.styleTag.setAttribute(`nonce`,e)}}}));function Bit(e){var t=!(Vit&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Hit&&e.shiftKey&&e.key&&e.key.length==1||e.key==`Unidentified`)&&e.key||(e.shiftKey?lO:cO)[e.keyCode]||e.key||`Unidentified`;return t==`Esc`&&(t=`Escape`),t==`Del`&&(t=`Delete`),t==`Left`&&(t=`ArrowLeft`),t==`Up`&&(t=`ArrowUp`),t==`Right`&&(t=`ArrowRight`),t==`Down`&&(t=`ArrowDown`),t}var cO,lO,Vit,Hit,uO,Uit=s((()=>{for(cO={8:`Backspace`,9:`Tab`,10:`Enter`,12:`NumLock`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,44:`PrintScreen`,45:`Insert`,46:`Delete`,59:`;`,61:`=`,91:`Meta`,92:`Meta`,106:`*`,107:`+`,108:`,`,109:`-`,110:`.`,111:`/`,144:`NumLock`,145:`ScrollLock`,160:`Shift`,161:`Shift`,162:`Control`,163:`Control`,164:`Alt`,165:`Alt`,173:`-`,186:`;`,187:`=`,188:`,`,189:`-`,190:`.`,191:`/`,192:"`",219:`[`,220:`\\`,221:`]`,222:`'`},lO={48:`)`,49:`!`,50:`@`,51:`#`,52:`$`,53:`%`,54:`^`,55:`&`,56:`*`,57:`(`,59:`:`,61:`+`,173:`_`,186:`:`,187:`+`,188:`<`,189:`_`,190:`>`,191:`?`,192:`~`,219:`{`,220:`|`,221:`}`,222:`"`},Vit=typeof navigator<`u`&&/Mac/.test(navigator.platform),Hit=typeof navigator<`u`&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),uO=0;uO<10;uO++)cO[48+uO]=cO[96+uO]=String(uO);for(uO=1;uO<=24;uO++)cO[uO+111]=`F`+uO;for(uO=65;uO<=90;uO++)cO[uO]=String.fromCharCode(uO+32),lO[uO]=String.fromCharCode(uO);for(var e in cO)lO.hasOwnProperty(e)||(lO[e]=cO[e])}));function dO(){var e=arguments[0];typeof e==`string`&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&typeof n==`object`&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i==`string`?e.setAttribute(r,i):i!=null&&(e[r]=i)}t++}for(;t<arguments.length;t++)Wit(e,arguments[t]);return e}function Wit(e,t){if(typeof t==`string`)e.appendChild(document.createTextNode(t));else if(t!=null){if(t.nodeType!=null)e.appendChild(t);else if(Array.isArray(t))for(var n=0;n<t.length;n++)Wit(e,t[n]);else throw RangeError(`Unsupported child node: `+t)}}var Git=s((()=>{}));function fO(e,t){for(let n in e)n==`class`&&t.class?t.class+=` `+e.class:n==`style`&&t.style?t.style+=`;`+e.style:t[n]=e[n];return t}function pO(e,t,n){if(e==t)return!0;e||=ak,t||=ak;let r=Object.keys(e),i=Object.keys(t);if(r.length-0!=i.length-0)return!1;for(let a of r)if(a!=n&&(i.indexOf(a)==-1||e[a]!==t[a]))return!1;return!0}function Kit(e,t){for(let n=e.attributes.length-1;n>=0;n--){let r=e.attributes[n].name;t[r]??e.removeAttribute(r)}for(let n in t){let r=t[n];n==`style`?e.style.cssText=r:e.getAttribute(n)!=r&&e.setAttribute(n,r)}}function qit(e,t,n){let r=!1;if(t)for(let i in t)n&&i in n||(r=!0,i==`style`?e.style.cssText=``:e.removeAttribute(i));if(n)for(let i in n)t&&t[i]==n[i]||(r=!0,i==`style`?e.style.cssText=n[i]:e.setAttribute(i,n[i]));return r}function Jit(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}function Yit(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return n??=e.inclusive,r??=e.inclusive,{start:n??t,end:r??t}}function Xit(e,t){return e==t||!!(e&&t&&e.compare(t))}function mO(e,t,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=e?n[i]=Math.max(n[i],t):n.push(e,t)}function hO(e){let t;return t=e.nodeType==11?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function gO(e,t){return t?e==t||e.contains(t.nodeType==1?t:t.parentNode):!1}function _O(e,t){if(!t.anchorNode)return!1;try{return gO(e,t.anchorNode)}catch{return!1}}function vO(e){return mk(e)?wO(e,0,e.nodeValue.length).getClientRects():pk(e)?e.getClientRects():[]}function yO(e,t,n,r){return n?Zit(e,t,n,r,-1)||Zit(e,t,n,r,1):!1}function bO(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function xO(e){return pk(e)&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function Zit(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:SO(e))){if(e.nodeName==`DIV`)return!1;let n=e.parentNode;if(!n||!pk(n))return!1;t=bO(e)+(i<0?0:1),e=n}else if(pk(e)){if(e=e.childNodes[t+(i<0?-1:0)],pk(e)&&(e.nodeName==`IMG`||e.nodeName==`BR`||e.contentEditable==`false`))return!1;t=i<0?SO(e):0}else return!1}}function SO(e){return mk(e)?e.nodeValue.length:e.childNodes.length}function CO(e,t){let{left:n,right:r}=e;if(n==r)return e;let i=t?n:r;return{left:i,right:i,top:e.top,bottom:e.bottom}}function Qit(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function $it(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function eat(e,t,n,r,i,a,o,s){let c=e.ownerDocument,l=c.defaultView||window;for(let u=e,d=!1;u&&!d;)if(pk(u)){let e,f=u==c.body,p=1,m=1;if(f)e=Qit(l);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect();({scaleX:p,scaleY:m}=$it(u,t)),e={left:t.left,right:t.left+u.clientWidth*p,top:t.top,bottom:t.top+u.clientHeight*m}}let h=0,g=0;if(i==`nearest`)t.top<e.top+o?(g=t.top-(e.top+o),n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+o)):t.bottom>e.bottom-o&&(g=t.bottom-e.bottom+o,n<0&&t.top-g<e.top&&(g=t.top-(e.top+o)));else{let r=t.bottom-t.top,a=e.bottom-e.top;g=(i==`center`&&r<=a?t.top+r/2-a/2:i==`start`||i==`center`&&n<0?t.top-o:t.bottom-a+o)-e.top}if(r==`nearest`?t.left<e.left+a?(h=t.left-(e.left+a),n>0&&t.right>e.right+h&&(h=t.right-e.right+a)):t.right>e.right-a&&(h=t.right-e.right+a,n<0&&t.left<e.left+h&&(h=t.left-(e.left+a))):h=(r==`center`?t.left+(t.right-t.left)/2-(e.right-e.left)/2:r==`start`==s?t.left-a:t.right-(e.right-e.left)+a)-e.left,h||g){if(f)l.scrollBy(h,g);else{let e=0,n=0;if(g){let e=u.scrollTop;u.scrollTop+=g/m,n=(u.scrollTop-e)*m}if(h){let t=u.scrollLeft;u.scrollLeft+=h/p,e=(u.scrollLeft-t)*p}t={left:t.left-e,top:t.top-n,right:t.right-e,bottom:t.bottom-n},e&&Math.abs(e-h)<1&&(r=`nearest`),n&&Math.abs(n-g)<1&&(i=`nearest`)}}if(f)break;(t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)&&(t={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)}),u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function tat(e,t=!0){let n=e.ownerDocument,r=null,i=null;for(let a=e.parentNode;a&&!(a==n.body||(!t||r)&&i);)if(pk(a))!i&&a.scrollHeight>a.clientHeight&&(i=a),t&&!r&&a.scrollWidth>a.clientWidth&&(r=a),a=a.assignedSlot||a.parentNode;else if(a.nodeType==11)a=a.host;else break;return{x:r,y:i}}function nat(e){let t=[];for(let n=e;n;n=n.nodeType==11?n.host:n.parentNode)pk(n)&&t.push({node:n,left:n.scrollLeft,top:n.scrollTop});return t}function rat(e,t=!0){for(let{node:n,left:r,top:i}of e)t&&n.scrollTop!=i&&(n.scrollTop=i),n.scrollLeft!=r&&(n.scrollLeft=r)}function iat(e){if(e.setActive)return e.setActive();if(hk)return e.focus(hk);let t=nat(e);e.focus(hk==null?{get preventScroll(){return hk={preventScroll:!0},!0}}:void 0),hk||(hk=!1,rat(t))}function wO(e,t,n=t){let r=rst||=document.createRange();return r.setEnd(e,n),r.setStart(e,t),r}function TO(e,t,n,r){let i={key:t,code:t,keyCode:n,which:n,cancelable:!0};r&&({altKey:i.altKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,metaKey:i.metaKey}=r);let a=new KeyboardEvent(`keydown`,i);a.synthetic=!0,e.dispatchEvent(a);let o=new KeyboardEvent(`keyup`,i);return o.synthetic=!0,e.dispatchEvent(o),a.defaultPrevented||o.defaultPrevented}function aat(e){for(;e;){if(e&&(e.nodeType==9||e.nodeType==11&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}function oat(e,t){let n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,SO(n));;)if(r){if(!pk(n))return!1;let e=n.childNodes[r-1];e.contentEditable==`false`?r--:(n=e,r=SO(n))}else if(n==e)return!0;else r=bO(n),n=n.parentNode}function sat(e){return e instanceof Window?e.pageYOffset>Math.max(0,e.document.documentElement.scrollHeight-e.innerHeight-4):e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function cat(e,t){for(let n=e,r=t;;)if(mk(n)&&r>0)return{node:n,offset:r};else if(pk(n)&&r>0){if(n.contentEditable==`false`)return null;n=n.childNodes[r-1],r=SO(n)}else if(n.parentNode&&!xO(n))r=bO(n),n=n.parentNode;else return null}function lat(e,t){for(let n=e,r=t;;)if(mk(n)&&r<n.nodeValue.length)return{node:n,offset:r};else if(pk(n)&&r<n.childNodes.length){if(n.contentEditable==`false`)return null;n=n.childNodes[r],r=0}else if(n.parentNode&&!xO(n))r=bO(n)+1,n=n.parentNode;else return null}function uat(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<e[n]);return t}function dat(e){return e<=247?ist[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?ast[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}function fat(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.direction!=i.direction||!fat(r.inner,i.inner))return!1}return!0}function pat(e,t,n,r,i){for(let a=0;a<=r.length;a++){let o=a?r[a-1].to:t,s=a<r.length?r[a].from:n,c=a?256:i;for(let t=o,n=c,r=c;t<s;t++){let i=dat(e.charCodeAt(t));i==512?i=n:i==8&&r==4&&(i=16),Ck[t]=i==4?2:i,i&7&&(r=i),n=i}for(let e=o,t=c,r=c;e<s;e++){let i=Ck[e];if(i==128)e<s-1&&t==Ck[e+1]&&t&24?i=Ck[e]=t:Ck[e]=256;else if(i==64){let i=e+1;for(;i<s&&Ck[i]==64;)i++;let a=e&&t==8||i<n&&Ck[i]==8?r==1?1:8:256;for(let t=e;t<i;t++)Ck[t]=a;e=i-1}else i==8&&r==1&&(Ck[e]=1);t=i,i&7&&(r=i)}}}function mat(e,t,n,r,i){let a=i==1?2:1;for(let o=0,s=0,c=0;o<=r.length;o++){let l=o?r[o-1].to:t,u=o<r.length?r[o].from:n;for(let t=l,n,r,o;t<u;t++)if(r=bk[n=e.charCodeAt(t)]){if(r<0){for(let e=s-3;e>=0;e-=3)if(xk[e+1]==-r){let n=xk[e+2],r=n&2?i:n&4?n&1?a:i:0;r&&(Ck[t]=Ck[xk[e]]=r),s=e;break}}else if(xk.length==189)break;else xk[s++]=t,xk[s++]=n,xk[s++]=c}else if((o=Ck[t])==2||o==1){let e=o==i;c=+!e;for(let t=s-3;t>=0;t-=3){let n=xk[t+2];if(n&2)break;if(e)xk[t+2]|=2;else{if(n&4)break;xk[t+2]|=4}}}}}function hat(e,t,n,r){for(let i=0,a=r;i<=n.length;i++){let o=i?n[i-1].to:e,s=i<n.length?n[i].from:t;for(let c=o;c<s;){let o=Ck[c];if(o==256){let o=c+1;for(;;)if(o==s){if(i==n.length)break;o=n[i++].to,s=i<n.length?n[i].from:t}else if(Ck[o]==256)o++;else break;let l=a==1,u=l==((o<t?Ck[o]:r)==1)?l?1:2:r;for(let t=o,r=i,a=r?n[r-1].to:e;t>c;)t==a&&(t=n[--r].from,a=r?n[r-1].to:e),Ck[--t]=u;c=o}else a=o,c++}}}function EO(e,t,n,r,i,a,o){let s=r%2?2:1;if(r%2==i%2)for(let c=t,l=0;c<n;){let t=!0,u=!1;if(l==a.length||c<a[l].from){let e=Ck[c];e!=s&&(t=!1,u=e==16)}let d=!t&&s==1?[]:null,f=t?r:r+1,p=c;run:for(;;)if(l<a.length&&p==a[l].from){if(u)break run;let m=a[l];if(!t)for(let e=m.to,t=l+1;;){if(e==n)break run;if(t<a.length&&a[t].from==e)e=a[t++].to;else if(Ck[e]==s)break run;else break}l++,d?d.push(m):(m.from>c&&o.push(new Sk(c,m.from,f)),DO(e,m.direction==vk==!(f%2)?r:r+1,i,m.inner,m.from,m.to,o),c=m.to),p=m.to}else if(p==n||(t?Ck[p]!=s:Ck[p]==s))break;else p++;d?EO(e,c,p,r+1,i,d,o):c<p&&o.push(new Sk(c,p,f)),c=p}else for(let c=n,l=a.length;c>t;){let n=!0,u=!1;if(!l||c>a[l-1].to){let e=Ck[c-1];e!=s&&(n=!1,u=e==16)}let d=!n&&s==1?[]:null,f=n?r:r+1,p=c;run:for(;;)if(l&&p==a[l-1].to){if(u)break run;let m=a[--l];if(!n)for(let e=m.from,n=l;;){if(e==t)break run;if(n&&a[n-1].to==e)e=a[--n].from;else if(Ck[e-1]==s)break run;else break}d?d.push(m):(m.to<c&&o.push(new Sk(m.to,c,f)),DO(e,m.direction==vk==!(f%2)?r:r+1,i,m.inner,m.from,m.to,o),c=m.from),p=m.from}else if(p==t||(n?Ck[p-1]!=s:Ck[p-1]==s))break;else p--;d?EO(e,p,c,r+1,i,d,o):p<c&&o.push(new Sk(p,c,f)),c=p}}function DO(e,t,n,r,i,a,o){let s=t%2?2:1;pat(e,i,a,r,s),mat(e,i,a,r,s),hat(i,a,r,s),EO(e,i,a,t,n,r,o)}function gat(e,t,n){if(!e)return[new Sk(0,0,+(t==yk))];if(t==vk&&!n.length&&!ost.test(e))return _at(e.length);if(n.length)for(;e.length>Ck.length;)Ck[Ck.length]=256;let r=[],i=t==vk?0:1;return DO(e,i,i,n,0,e.length,r),r}function _at(e){return[new Sk(0,e,0)]}function vat(e,t,n,r,i){if(!e.length)return null;let a=r.head-e.from,o;if(r.head==e.from&&r.assoc<0){if(!i)return null;a=t[o=0].side(!1,n)}else if(r.head==e.to&&r.assoc>0){if(i)return null;a=t[o=t.length-1].side(!0,n)}else o=Sk.find(t,a,r.bidiLevel??-1,r.assoc);let s=t[o],c=s.side(i,n);if(a==c){let e=o+=i?1:-1;if(e<0||e>=t.length)return null;s=t[o=e],a=s.side(!i,n),c=s.side(i,n)}let l=HE(e.text,a,s.forward(i,n));(l<s.from||l>s.to)&&(l=c),wk=e.text.slice(Math.min(a,l),Math.max(a,l));let u=o==(i?t.length-1:0)?null:t[o+(i?1:-1)];if(l==c){if(!u)return i?CD.cursor(e.to,1):CD.cursor(e.from,-1);if(u.level+ +!i<s.level)return CD.cursor(u.side(!i,n)+e.from,u.forward(i,n)?1:-1,u.level)}return CD.cursor(l+e.from,s.forward(i,n)?-1:1,s.level)}function yat(e,t,n){for(let r=t;r<n;r++){let t=dat(e.charCodeAt(r));if(t==1)return vk;if(t==2||t==4)return yk}return vk}function OO(e,t,n){let r=e.facet(Ok);r.length?r[0](t):window.onerror&&window.onerror(String(t),n,void 0,void 0,t)||(n?console.error(n+`:`,t):console.error(t))}function bat(e,t){let n=e.state.facet(Yk);if(!n.length)return n;let r=n.map(t=>t instanceof Function?t(e):t),i=[];return XD.spans(r,t.from,t.to,{point(){},span(e,n,r,a){let o=e-t.from,s=n-t.from,c=i;for(let e=r.length-1;e>=0;e--,a--){let n=r[e].spec.bidiIsolate,i;if(n??=yat(t.text,o,s),a>0&&c.length&&(i=c[c.length-1]).to==o&&i.direction==n)i.to=s,c=i.inner;else{let e={from:o,to:s,direction:n,inner:[]};c.push(e),c=e.inner}}}}),i}function kO(e){let t=0,n=0,r=0,i=0;for(let a of e.state.facet(Xk)){let o=a(e);o&&(o.left!=null&&(t=Math.max(t,o.left)),o.right!=null&&(n=Math.max(n,o.right)),o.top!=null&&(r=Math.max(r,o.top)),o.bottom!=null&&(i=Math.max(i,o.bottom)))}return{left:t,right:n,top:r,bottom:i}}function xat(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}function Sat(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=vO(t);return n[n.length-1]||null}function Cat(e,t){let n=e.coordsIn(0,1),r=t.coordsIn(0,1);return n&&r&&r.top<n.bottom}function wat(e,t){let n=e=>{for(let r of e.children)if((t?r.isText():r.length)||n(r))return!0;return!1};return n(e)}function Tat(e){let t=e.isReplace?(e.startSide<0?64:0)|(e.endSide>0?128:0):e.startSide>0?32:16;return e.block&&(t|=256),t}function Eat(e,t){let n=t.spec.attributes,r=t.spec.class;return!n&&!r||(e||={class:`cm-line`},n&&fO(n,e),r&&(e.class+=` `+r)),e}function Dat(e){let t=[];for(let n=e.parents.length;n>1;n--){let r=n==e.parents.length?e.tile:e.parents[n].tile;r instanceof aA&&t.push(r.mark)}return t}function AO(e){let t=eA.get(e);return t&&t.setDOM(e.cloneNode()),e}function jO(e,t){let n=t?.get(e);if(n!=1){n??e.destroy();for(let n of e.children)jO(n,t)}}function Oat(e){return pk(e.node)&&e.node.firstChild&&(e.offset==0||e.node.childNodes[e.offset-1].contentEditable==`false`)&&(e.offset==e.node.childNodes.length||e.node.childNodes[e.offset].contentEditable==`false`)}function kat(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let r=cat(n.focusNode,n.focusOffset),i=lat(n.focusNode,n.focusOffset),a=r||i;if(i&&r&&i.node!=r.node){let t=eA.get(i.node);if(!t||t.isText()&&t.text!=i.node.nodeValue)a=i;else if(e.docView.lastCompositionAfterCursor){let e=eA.get(r.node);!e||e.isText()&&e.text!=r.node.nodeValue||(a=i)}}if(e.docView.lastCompositionAfterCursor=a!=r,!a)return null;let o=t-a.offset;return{from:o,to:o+a.node.nodeValue.length,node:a.node}}function Aat(e,t,n){let r=kat(e,n);if(!r)return null;let{node:i,from:a,to:o}=r,s=i.nodeValue;if(/[\n\r]/.test(s)||e.state.doc.sliceString(r.from,r.to)!=s)return null;let c=t.invertedDesc;return{range:new Qk(c.mapPos(a),c.mapPos(o),a,o),text:i}}function jat(e,t){return pk(e)?(t&&e.childNodes[t-1].contentEditable==`false`?1:0)|(t<e.childNodes.length&&e.childNodes[t].contentEditable==`false`?2:0):0}function Mat(e,t,n){let r=new gst;return XD.compare(e,t,n,r),r.changes}function Nat(e,t,n){let r=new _st;return XD.compare(e,t,n,r),r.changes}function Pat(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(pk(n)&&n.contentEditable==`false`)return!0;return!1}function Fat(e,t){let n=!1;return t&&e.iterChangedRanges((e,r)=>{e<t.to&&r>t.from&&(n=!0)}),n}function Iat(e,t,n=1){let r=e.charCategorizer(t),i=e.doc.lineAt(t),a=t-i.from;if(i.length==0)return CD.cursor(t);a==0?n=1:a==i.length&&(n=-1);let o=a,s=a;n<0?o=HE(i.text,a,!1):s=HE(i.text,a);let c=r(i.text.slice(o,s));for(;o>0;){let e=HE(i.text,o,!1);if(r(i.text.slice(e,o))!=c)break;o=e}for(;s<i.length;){let e=HE(i.text,s);if(r(i.text.slice(s,e))!=c)break;s=e}return CD.undirectionalRange(o+i.from,s+i.from)}function Lat(e,t,n,r,i){let a=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>e.defaultLineHeight*1.5){let t=e.viewState.heightOracle.textHeight,r=Math.floor((i-n.top-(e.defaultLineHeight-t)*.5)/t);a+=r*e.viewState.heightOracle.lineLength}let o=e.state.sliceDoc(n.from,n.to);return n.from+jit(o,a,e.state.tabSize)}function Rat(e,t,n){let r=e.lineBlockAt(t);if(Array.isArray(r.type)){let e;for(let i of r.type){if(i.from>t)break;if(!(i.to<t)){if(i.from<t&&i.to>t)return i;(!e||i.type==sk.Text&&(e.type!=i.type||(n<0?i.from<t:i.to>t)))&&(e=i)}}return e||r}return r}function zat(e,t,n,r){let i=Rat(e,t.head,t.assoc||-1),a=!r||i.type!=sk.Text||!(e.lineWrapping||i.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head);if(a){let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(i.from),o=e.posAtCoords({x:n==(r==_k.LTR)?t.right-1:t.left+1,y:(a.top+a.bottom)/2});if(o!=null)return CD.cursor(o,n?-1:1)}return CD.cursor(n?i.to:i.from,n?-1:1)}function Bat(e,t,n,r){let i=e.state.doc.lineAt(t.head),a=e.bidiSpans(i),o=e.textDirectionAt(i.from);for(let s=t,c=null;;){let t=vat(i,a,o,s,n),l=wk;if(!t){if(i.number==(n?e.state.doc.lines:1))return s;l=`
+`,i=e.state.doc.line(i.number+(n?1:-1)),a=e.bidiSpans(i),t=n?CD.cursor(i.from,-1):CD.cursor(i.to,1)}if(!c){if(!r)return t;c=r(l)}else if(!c(l))return s;s=t}}function Vat(e,t,n){let r=e.state.charCategorizer(t),i=r(n);return e=>{let t=r(e);return i==GD.Space&&(i=t),i==t}}function Hat(e,t,n,r){let i=t.head,a=n?1:-1;if(i==(n?e.state.doc.length:0))return CD.cursor(i,t.assoc);let o=t.goalColumn,s,c=e.contentDOM.getBoundingClientRect(),l=e.coordsAtPos(i,t.assoc||((t.empty?n:t.head==t.from)?1:-1)),u=e.documentTop;if(l)o??=l.left-c.left,s=a<0?l.top:l.bottom;else{let t=e.viewState.lineBlockAt(i);o??=Math.min(c.right-c.left,e.defaultCharacterWidth*(i-t.from)),s=(a<0?t.top:t.bottom)+u}let d=c.left+o,f=e.viewState.heightOracle.textHeight>>1,p=r??f;for(let t=0;;t+=f){let r=s+(p+t)*a,i=PO(e,{x:d,y:r},!1,a);if(n?r>c.bottom:r<c.top)return CD.cursor(i.pos,i.assoc);let l=e.coordsAtPos(i.pos,i.assoc),u=l?(l.top+l.bottom)/2:0;if(!l||(n?u>s:u<s))return CD.cursor(i.pos,i.assoc,void 0,o)}}function MO(e,t,n){for(;;){let r=0;for(let i of e)i.between(t-1,t+1,(e,i,a)=>{if(t>e&&t<i){let a=r||n||(t-e<i-t?-1:1);t=a<0?e:i,r=a}});if(!r)return t}}function Uat(e,t){let n=null;for(let r=0;r<t.ranges.length;r++){let i=t.ranges[r],a=null;if(i.empty){let t=MO(e,i.from,0);t!=i.from&&(a=CD.cursor(t,-1))}else{let t=MO(e,i.from,-1),n=MO(e,i.to,1);(t!=i.from||n!=i.to)&&(a=i.undirectional?CD.undirectionalRange(i.from,i.to):CD.range(i.from==i.anchor?t:n,i.from==i.head?t:n))}a&&(n||=t.ranges.slice(),n[r]=a)}return n?CD.create(n,t.mainIndex):t}function NO(e,t,n){let r=MO(e.state.facet(Jk).map(t=>t(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:CD.cursor(r,r<n.from?1:-1)}function PO(e,t,n,r){let i=e.contentDOM.getBoundingClientRect(),a=i.top+e.viewState.paddingTop,{x:o,y:s}=t,c=s-a,l;for(;;){if(c<0)return new hA(0,1);if(c>e.viewState.docHeight)return new hA(e.state.doc.length,-1);if(l=e.elementAtHeight(c),r==null)break;if(l.type==sk.Text){if(r<0?l.to<e.viewport.from:l.from>e.viewport.to)break;let t=e.docView.coordsAt(r<0?l.from:l.to,r>0?-1:1);if(t&&(r<0?t.top<=c+a:t.bottom>=c+a))break}let t=e.viewState.heightOracle.textHeight/2;c=r>0?l.bottom+t:l.top-t}if(e.viewport.from>=l.to||e.viewport.to<=l.from){if(n)return null;if(l.type==sk.Text){let t=Lat(e,i,l,o,s);return new hA(t,t==l.from?1:-1)}}if(l.type!=sk.Text)return c<(l.top+l.bottom)/2?new hA(l.from,1):new hA(l.to,-1);let u=e.docView.lineAt(l.from,2);return(!u||u.length!=l.length)&&(u=e.docView.lineAt(l.from,-2)),new vst(e,o,s,e.textDirectionAt(l.from)).scanTile(u,l.from)}function Wat(e,t,n){for(;;){if(!t||n<SO(t))return!1;if(t==e)return!0;n=bO(t)+1,t=t.parentNode}}function Gat(e,t){let n;for(;e!=t&&e;e=e.nextSibling){let t=eA.get(e);if(!t?.isWidget())return!1;t&&(n||=[]).push(t)}if(n){for(let e of n)if(e.overrideDOMText?.length)return!1}return!0}function Kat(e,t,n,r){if(e.isComposite()){let i=-1,a=-1,o=-1,s=-1;for(let c=0,l=r,u=r;c<e.children.length;c++){let r=e.children[c],d=l+r.length;if(l<t&&d>n)return Kat(r,t,n,l);if(d>=t&&i==-1&&(i=c,a=l),l>n&&r.dom.parentNode==e.dom){o=c,s=u;break}u=d,l=d+r.breakAfter}return{from:a,to:s<0?r+e.length:s,startDOM:(i?e.children[i-1].dom.nextSibling:null)||e.dom.firstChild,endDOM:o<e.children.length&&o>=0?e.children[o].dom:null}}return e.isText()?{from:r,to:r+e.length,startDOM:e.dom,endDOM:e.dom.nextSibling}:null}function qat(e,t){let n,{newSel:r}=t,{state:i}=e,a=i.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:e,to:r}=t.bounds,s=a.from,c=null;(o===8||ik.android&&t.text.length<r-e)&&(s=a.to,c=`end`);let l=i.doc.sliceString(e,r,gA),u,d;!a.empty&&a.from>=e&&a.to<=r&&(t.typeOver||l!=t.text)&&l.slice(0,a.from-e)==t.text.slice(0,a.from-e)&&l.slice(a.to-e)==t.text.slice(u=t.text.length-(l.length-(a.to-e)))?n={from:a.from,to:a.to,insert:dD.of(t.text.slice(a.from-e,u).split(gA))}:(d=Yat(l,t.text,s-e,c))&&(ik.chrome&&o==13&&d.toB==d.from+2&&t.text.slice(d.from,d.toB)==`￿￿`&&d.toB--,n={from:e+d.from,to:e+d.toA,insert:dD.of(t.text.slice(d.from,d.toB).split(gA))})}else r&&(!e.hasFocus&&i.facet(zk)||IO(r,a))&&(r=null);if(!n&&!r)return!1;if((ik.mac||ik.android)&&n&&n.from==n.to&&n.from==a.head-1&&/^\. ?$/.test(n.insert.toString())&&e.contentDOM.getAttribute(`autocorrect`)==`off`?(r&&n.insert.length==2&&(r=CD.single(r.main.anchor-1,r.main.head-1)),n={from:n.from,to:n.to,insert:dD.of([n.insert.toString().replace(`.`,` `)])}):i.doc.lineAt(a.from).to<a.to&&e.docView.lineHasWidget(a.to)&&e.inputState.insertingTextAt>Date.now()-50?n={from:a.from,to:a.to,insert:i.toText(e.inputState.insertingText)}:ik.chrome&&n&&n.from==n.to&&n.from==a.head&&n.insert.toString()==`
+ `&&e.lineWrapping&&(r&&=CD.single(r.main.anchor-1,r.main.head-1),n={from:a.from,to:a.to,insert:dD.of([` `])}),n)return FO(e,n,r,o);if(r&&!IO(r,a)){let t=!1,n=`select`;return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin==`select`&&(t=!0),n=e.inputState.lastSelectionOrigin,n==`select.pointer`&&(r=Uat(i.facet(Jk).map(t=>t(e)),r))),e.dispatch({selection:r,scrollIntoView:t,userEvent:n}),!0}return!1}function FO(e,t,n,r=-1){if(ik.ios&&e.inputState.flushIOSKey(t))return!0;let i=e.state.selection.main;if(ik.android&&(t.to==i.to&&(t.from==i.from||t.from==i.from-1&&e.state.sliceDoc(t.from,i.from)==` `)&&t.insert.length==1&&t.insert.lines==2&&TO(e.contentDOM,`Enter`,13)||(t.from==i.from-1&&t.to==i.to&&t.insert.length==0||r==8&&t.insert.length<t.to-t.from&&t.to>i.head)&&TO(e.contentDOM,`Backspace`,8)||t.from==i.from&&t.to==i.to+1&&t.insert.length==0&&TO(e.contentDOM,`Delete`,46)))return!0;let a=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let o,s=()=>o||=Jat(e,t,n);return e.state.facet(Ak).some(n=>n(e,t.from,t.to,a,s))||e.dispatch(s()),!0}function Jat(e,t,n){let r,i=e.state,a=i.selection.main,o=-1;if(t.from==t.to&&t.from<a.from||t.from>a.to){let n=t.from<a.from?-1:1,r=n<0?a.from:a.to,s=MO(i.facet(Jk).map(t=>t(e)),r,n);t.from==s&&(o=s)}if(o>-1)r={changes:t,selection:CD.cursor(t.from+t.insert.length,-1)};else if(t.from>=a.from&&t.to<=a.to&&t.to-t.from>=(a.to-a.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let n=a.from<t.from?i.sliceDoc(a.from,t.from):``,o=a.to>t.to?i.sliceDoc(t.to,a.to):``;r=i.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+o))}else{let o=i.changes(t),s=n&&n.main.to<=o.newLength?n.main:void 0;if(i.selection.ranges.length>1&&(e.inputState.composing>=0||e.inputState.compositionPendingChange)&&t.to<=a.to+10&&t.to>=a.to-10){let c=e.state.sliceDoc(t.from,t.to),l,u=n&&kat(e,n.main.head);if(u){let e=t.insert.length-(t.to-t.from);l={from:u.from,to:u.to-e}}else l=e.state.doc.lineAt(a.head);let d=a.to-t.to;r=i.changeByRange(n=>{if(n.from==a.from&&n.to==a.to)return{changes:o,range:s||n.map(o)};let r=n.to-d,u=r-c.length;if(e.state.sliceDoc(u,r)!=c||r>=l.from&&u<=l.to)return{range:n};let f=i.changes({from:u,to:r,insert:t.insert}),p=n.to-a.to;return{changes:f,range:s?CD.range(Math.max(0,s.anchor+p),Math.max(0,s.head+p)):n.map(f)}})}else r={changes:o,selection:s&&i.selection.replaceRange(s)}}let s=`input.type`;return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,s+=`.compose`,e.inputState.compositionFirstChange&&(s+=`.start`,e.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:s,scrollIntoView:!0})}function Yat(e,t,n,r){let i=Math.min(e.length,t.length),a=0;for(;a<i&&e.charCodeAt(a)==t.charCodeAt(a);)a++;if(a==i&&e.length==t.length)return null;let o=e.length,s=t.length;for(;o>0&&s>0&&e.charCodeAt(o-1)==t.charCodeAt(s-1);)o--,s--;if(r==`end`){let e=Math.max(0,a-Math.min(o,s));n-=o+e-a}if(o<a&&e.length<t.length){let e=n<=a&&n>=o?a-n:0;a-=e,s=a+(s-o),o=a}else if(s<a){let e=n<=a&&n>=s?a-n:0;a-=e,o=a+(o-s),s=a}return{from:a,toA:o,toB:s}}function Xat(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}=e.observer.selectionRange;return n&&(t.push(new _A(n,r)),(i!=n||a!=r)&&t.push(new _A(i,a))),t}function Zat(e,t){if(e.length==0)return null;let n=e[0].pos,r=e.length==2?e[1].pos:n;return n<0||r<0?null:n==r?CD.create([CD.cursor(r+t,-1)]):CD.single(n+t,r+t)}function IO(e,t){return t.head==e.main.head&&t.anchor==e.main.anchor}function Qat(e){return e.visualViewport?e.visualViewport.height*e.visualViewport.scale/e.document.documentElement.clientHeight<.85:!1}function $at(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(e){OO(n.state,e)}}}function eot(e){let t=Object.create(null);function n(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let t of e){let e=t.spec,r=e&&e.plugin.domEventHandlers,i=e&&e.plugin.domEventObservers;if(r)for(let e in r){let i=r[e];i&&n(e).handlers.push($at(t.value,i))}if(i)for(let e in i){let r=i[e];r&&n(e).observers.push($at(t.value,r))}}for(let e in xA)n(e).handlers.push(xA[e]);for(let e in SA)n(e).observers.push(SA[e]);return t}function LO(e){return Math.max(0,e)*.7+8}function tot(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}function not(e,t){let n=e.state.facet(Tk);return n.length?n[0](t):ik.mac?t.metaKey:t.ctrlKey}function rot(e,t){let n=e.state.facet(Ek);return n.length?n[0](t):ik.mac?!t.altKey:!t.ctrlKey}function iot(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=hO(e.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let e=0;e<i.length;e++){let n=i[e];if(n.left<=t.clientX&&n.right>=t.clientX&&n.top<=t.clientY&&n.bottom>=t.clientY)return!0}return!1}function aot(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=eA.get(n))&&r.isWidget()&&!r.isHidden&&r.widget.ignoreEvent(t))return!1;return!0}function oot(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement(`textarea`));n.style.cssText=`position: fixed; left: -10000px; top: 10px`,n.focus(),setTimeout(()=>{e.focus(),n.remove(),sot(e,n.value)},50)}function RO(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function sot(e,t){t=RO(e.state,Mk,t);let{state:n}=e,r,i=1,a=n.toText(t),o=a.lines==n.selection.ranges.length;if(DA!=null&&n.selection.ranges.every(e=>e.empty)&&DA==a.toString()){let e=-1;r=n.changeByRange(r=>{let s=n.doc.lineAt(r.from);if(s.from==e)return{range:r};e=s.from;let c=n.toText((o?a.line(i++).text:t)+n.lineBreak);return{changes:{from:s.from,insert:c},range:CD.cursor(r.from+c.length,-1)}})}else r=o?n.changeByRange(e=>{let t=a.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:CD.cursor(e.from+t.length,-1)}}):n.replaceSelection(a);e.dispatch(r,{userEvent:`input.paste`,scrollIntoView:!0})}function cot(e,t,n,r){if(r==1)return CD.cursor(t,n);if(r==2)return Iat(e.state,t,n);{let r=e.docView.lineAt(t,n),i=e.state.doc.lineAt(r?r.posAtEnd:t),a=r?r.posAtStart:i.from,o=r?r.posAtEnd:i.to;return o<e.state.doc.length&&o==i.to&&o++,CD.undirectionalRange(a,o)}}function lot(e){if(!wst)return e.detail;let t=wA,n=EA;return wA=e,EA=Date.now(),TA=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(TA+1)%3:1}function uot(e,t){let n=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),r=lot(t),i=e.state.selection;return{update(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes))},get(t,a,o){let s=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),c,l=cot(e,s.pos,s.assoc,r);if(n.pos!=s.pos&&!a){let t=cot(e,n.pos,n.assoc,r),i=Math.min(t.from,l.from),a=Math.max(t.to,l.to);l=i<l.from?CD.range(i,a,l.assoc):CD.range(a,i,l.assoc)}return a?i.replaceRange(i.main.extend(l.from,l.to,l.assoc)):o&&r==1&&i.ranges.length>1&&(c=dot(i,s.pos))?c:o?i.addRange(l):CD.create([l])}}}function dot(e,t){for(let n=0;n<e.ranges.length;n++){let{from:r,to:i}=e.ranges[n];if(r<=t&&i>=t)return CD.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-+(e.mainIndex>n))}return null}function fot(e,t,n,r){if(n=RO(e.state,Mk,n),!n)return;let i=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:a}=e.inputState,o=r&&a&&rot(e,t)?{from:a.from,to:a.to}:null,s={from:i,insert:n},c=e.state.changes(o?[o,s]:s);e.focus(),e.dispatch({changes:c,selection:{anchor:c.mapPos(i,-1),head:c.mapPos(i,1)},userEvent:o?`move.drop`:`input.drop`}),e.inputState.draggedContent=null}function pot(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement(`textarea`));r.style.cssText=`position: fixed; left: -10000px; top: 10px`,r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}function mot(e){let t=[],n=[],r=!1;for(let r of e.selection.ranges)r.empty||(t.push(e.sliceDoc(r.from,r.to)),n.push(r));if(!t.length){let i=-1;for(let{from:r}of e.selection.ranges){let a=e.doc.lineAt(r);a.number>i&&(t.push(a.text),n.push({from:a.from,to:Math.min(e.doc.length,a.to+1)})),i=a.number}r=!0}return{text:RO(e,Nk,t.join(e.lineBreak)),ranges:n,linewise:r}}function hot(e,t){let n=[];for(let r of e.facet(jk)){let i=r(e,t);i&&n.push(i)}return n.length?e.update({effects:n,annotations:OA.of(!0)}):null}function got(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=hot(e.state,t);n?e.dispatch(n):e.update([])}},10)}function _ot(e){kA.has(e)||(kA.add(e),e.addEventListener(`copy`,()=>{}),e.addEventListener(`cut`,()=>{}))}function vot(){jA=!1}function zO(e,t){return e==t?e:(e.constructor!=t.constructor&&(jA=!0),t)}function yot(e,t){let n,r;e[t]==null&&(n=e[t-1])instanceof RA&&(r=e[t+1])instanceof RA&&e.splice(t-1,3,new RA(n.length+1+r.length))}function bot(e,t,n){let r=new jst;return XD.compare(e,t,n,r,0),r.changes}function xot(e,t){let n=e.getBoundingClientRect(),r=e.ownerDocument,i=r.defaultView||window,a=Math.max(0,n.left),o=Math.min(i.innerWidth,n.right),s=Math.max(0,n.top),c=Math.min(i.innerHeight,n.bottom);for(let t=e.parentNode;t&&t!=r.body;)if(pk(t)){let n=window.getComputedStyle(t);if((t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)&&n.overflow!=`visible`){let n=t.getBoundingClientRect();a=Math.max(a,n.left),o=Math.min(o,n.right),s=Math.max(s,n.top),c=Math.min(t==e.parentNode?i.innerHeight:c,n.bottom)}t=n.position==`absolute`||n.position==`fixed`?t.offsetParent:t.parentNode}else if(t.nodeType==11)t=t.host;else break;return{left:a-n.left,right:Math.max(a,o)-n.left,top:s-(n.top+t),bottom:Math.max(s,c)-(n.top+t)}}function Sot(e){let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView||window;return t.left<n.innerWidth&&t.right>0&&t.top<n.innerHeight&&t.bottom>0}function Cot(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}function wot(e,t,n){let r=[],i=e,a=0;return XD.spans(n,e,t,{span(){},point(e,t){e>i&&(r.push({from:i,to:e}),a+=e-i),i=t}},20),i<t&&(r.push({from:i,to:t}),a+=t-i),{total:a,ranges:r}}function BO({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let e=0;;e++){let{from:n,to:i}=t[e],a=i-n;if(r<=a)return n+r;r-=a}}function VO(e,t){let n=0;for(let{from:r,to:i}of e.ranges){if(t<=i){n+=t-r;break}n+=i-r}return n/e.total}function Tot(e,t){for(let n of e)if(t(n))return n}function Eot(e){let t=e.facet(Gk).filter(e=>typeof e!=`function`),n=e.facet(qk).filter(e=>typeof e!=`function`);return n.length&&t.push(XD.join(n)),t}function HO(e,t){if(t.scale==1)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new MA(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(e=>HO(e,t)):e._content)}function UO(e,t,n){return new oO(t,{finish(t){return/&/.test(t)?t.replace(/&\w*/,t=>{if(t==`&`)return e;if(!n||!n[t])throw RangeError(`Unsupported selector: ${t}`);return n[t]}):e+` `+t}})}function Dot(e,t,n){for(;t;){let r=eA.get(t);if(r&&r.parent==e)return r;let i=t.parentNode;t=i==e.dom?n>0?t.nextSibling:t.previousSibling:i}return null}function Oot(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,a=t.endOffset,o=e.docView.domAtPos(e.state.selection.main.anchor,1);return yO(o.node,o.offset,i,a)&&([n,r,i,a]=[i,a,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}}function kot(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return Oot(e,n)}let n=null;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.contentDOM.addEventListener(`beforeinput`,r,!0),e.dom.ownerDocument.execCommand(`indent`),e.contentDOM.removeEventListener(`beforeinput`,r,!0),n?Oot(e,n):null}function Aot(e,t,n){for(let r=e.state.facet(t),i=r.length-1;i>=0;i--){let t=r[i],a=typeof t==`function`?t(e):t;a&&fO(a,n)}return n}function jot(e,t){let n=e.split(/-(?!$)/),r=n[n.length-1];r==`Space`&&(r=` `);let i,a,o,s;for(let e=0;e<n.length-1;++e){let r=n[e];if(/^(cmd|meta|m)$/i.test(r))s=!0;else if(/^a(lt)?$/i.test(r))i=!0;else if(/^(c|ctrl|control)$/i.test(r))a=!0;else if(/^s(hift)?$/i.test(r))o=!0;else if(/^mod$/i.test(r))t==`mac`?s=!0:a=!0;else throw Error(`Unrecognized modifier name: `+r)}return i&&(r=`Alt-`+r),a&&(r=`Ctrl-`+r),s&&(r=`Meta-`+r),o&&(r=`Shift-`+r),r}function WO(e,t,n){return t.altKey&&(e=`Alt-`+e),t.ctrlKey&&(e=`Ctrl-`+e),t.metaKey&&(e=`Meta-`+e),n!==!1&&t.shiftKey&&(e=`Shift-`+e),e}function Mot(e){let t=e.facet($A),n=ej.get(t);return n||ej.set(t,n=Not(t.reduce((e,t)=>e.concat(t),[]))),n}function Not(e,t=zst){let n=Object.create(null),r=Object.create(null),i=(e,t)=>{let n=r[e];if(n==null)r[e]=t;else if(n!=t)throw Error(`Key binding `+e+` is used both as a regular binding and as a multi-stroke prefix`)},a=(e,r,a,o,s)=>{let c=n[e]||(n[e]=Object.create(null)),l=r.split(/ (?!$)/).map(e=>jot(e,t));for(let t=1;t<l.length;t++){let n=l.slice(0,t).join(` `);i(n,!0),c[n]||(c[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=tj={view:t,prefix:n,scope:e};return setTimeout(()=>{tj==r&&(tj=null)},Vst),!0}]})}let u=l.join(` `);i(u,!1);let d=c[u]||(c[u]={preventDefault:!1,stopPropagation:!1,run:(c._any?.run)?.slice()||[]});a&&d.run.push(a),o&&(d.preventDefault=!0),s&&(d.stopPropagation=!0)};for(let r of e){let e=r.scope?r.scope.split(` `):[`editor`];if(r.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null));e._any||={preventDefault:!1,stopPropagation:!1,run:[]};let{any:i}=r;for(let t in e)e[t].run.push(e=>i(e,nj))}let i=r[t]||r.key;if(i)for(let t of e)a(t,i,r.run,r.preventDefault,r.stopPropagation),r.shift&&a(t,`Shift-`+i,r.shift,r.preventDefault,r.stopPropagation)}return n}function Pot(e,t,n,r){nj=t;let i=Bit(t),a=WE(UE(i,0))==i.length&&i!=` `,o=``,s=!1,c=!1,l=!1;tj&&tj.view==n&&tj.scope==r&&(o=tj.prefix+` `,yA.indexOf(t.keyCode)<0&&(c=!0,tj=null));let u=new Set,d=e=>{if(e){for(let t of e.run)if(!u.has(t)&&(u.add(t),t(n)))return e.stopPropagation&&(l=!0),!0;e.preventDefault&&(e.stopPropagation&&(l=!0),c=!0)}return!1},f=e[r],p,m;return f&&(d(f[o+WO(i,t,!a)])?s=!0:a&&(t.altKey||t.metaKey||t.ctrlKey)&&!(ik.windows&&t.ctrlKey&&t.altKey)&&!(ik.mac&&t.altKey&&!(t.ctrlKey||t.metaKey))&&(p=cO[t.keyCode])&&p!=i?(d(f[o+WO(p,t,!0)])||t.shiftKey&&(m=lO[t.keyCode])!=i&&m!=p&&d(f[o+WO(m,t,!1)]))&&(s=!0):a&&t.shiftKey&&d(f[o+WO(i,t,!0)])&&(s=!0),!s&&d(f._any)&&(s=!0)),c&&(s=!0),s&&l&&t.stopPropagation(),nj=null,s}function Fot(e,t,n,r,i){t.lastIndex=0;for(let a=e.iterRange(n,r),o=n,s;!a.next().done;o+=a.value.length)if(!a.lineBreak)for(;s=t.exec(a.value);)i(o+s.index,s)}function Iot(e,t){let n=e.visibleRanges;if(n.length==1&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:i,to:a}of n)i=Math.max(e.state.doc.lineAt(i).from,i-t),a=Math.min(e.state.doc.lineAt(a).to,a+t),r.length&&r[r.length-1].to>=i?r[r.length-1].to=a:r.push({from:i,to:a});return r}function Lot(){if(oj==null&&typeof document<`u`&&document.body){let e=document.body.style;oj=(e.tabSize??e.MozTabSize)!=null}return oj||!1}function Rot(e={}){return[sj.of(e),zot()]}function zot(){return Gst||=Vk.fromClass(class{constructor(e){this.view=e,this.decorations=ck.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(sj)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new ij({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:i}=n.state,a=UE(t[0],0);if(a==9){let e=i.lineAt(r),t=n.state.tabSize,a=uD(e.text,t,r-e.from);return ck.replace({widget:new Jst((t-a%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[a]||(this.decorationCache[a]=ck.replace({widget:new qst(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(sj);e.startState.facet(sj)==t?this.decorations=this.decorator.updateDeco(e,this.decorations):(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view))}},{decorations:e=>e.decorations})}function Bot(e){return e>=32?Kst:e==10?`␤`:String.fromCharCode(9216+e)}function Vot(e){let t=Vk.fromClass(class{constructor(t){this.view=t,this.placeholder=e?ck.set([ck.widget({widget:new Yst(e),side:1}).range(0)]):ck.none}get decorations(){return this.view.state.doc.length?ck.none:this.placeholder}},{decorations:e=>e.decorations});return typeof e==`string`?[t,XA.contentAttributes.of({"aria-placeholder":e})]:t}function Hot(e){let t=e.dom.ownerDocument.documentElement,n=t.clientWidth,r=getComputedStyle(t);if(!/stable/.test(r.scrollbarGutter||``))return{left:0,right:n};let i=t.getBoundingClientRect(),a=e.win.scrollX;return{left:Math.max(0,i.left+a-parseFloat(r.marginLeft)),right:Math.min(n,i.right+a+parseFloat(r.marginRight))}}function Uot(e){let{left:t,right:n}=Hot(e);return{top:0,left:t,right:n,bottom:e.dom.ownerDocument.documentElement.clientHeight}}function Wot(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+`px`)}function Got(e,t){let{left:n,right:r,top:i,bottom:a}=e.getBoundingClientRect(),o;if(o=e.querySelector(`.cm-tooltip-arrow`)){let e=o.getBoundingClientRect();i=Math.min(e.top,i),a=Math.max(e.bottom,a)}return t.clientX>=n-gj&&t.clientX<=r+gj&&t.clientY>=i-gj&&t.clientY<=a+gj}function Kot(e,t,n,r,i,a){let o=e.scrollDOM.getBoundingClientRect(),s=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>r||o.right<r||o.top>i||Math.min(o.bottom,s)<i)return!1;let c=e.posAtCoords({x:r,y:i},!1);return c>=t&&c<=n}function qot(e,t={}){let n=UD.define(),r=new WeakMap,i=OD.define({create(){return[]},update(e,a){let o=r.get(e);if(e.length&&(t.hideOnChange&&(a.docChanged||a.selection)||o&&o(a)?e=[]:t.hideOn&&(e=e.filter(e=>!t.hideOn(a,e)))),a.docChanged&&e.length){let t=[];for(let n of e){let e=a.changes.mapPos(n.pos,-1,vD.TrackDel);if(e!=null){let r=Object.assign(Object.create(null),n);r.pos=e,r.end!=null&&(r.end=a.changes.mapPos(r.end)),t.push(r)}}e=t}for(let t of a.effects)t.is(n)&&(e=t.value,o=void 0),(t.is(tct)&&!t.value||t.value==i)&&(e=[]);return e.length&&o&&r.set(e,o),e},provide:e=>mj.from(e)}),a=Vk.define(a=>new ect(a,e,i,r,n,t.hoverTime||300));return{active:i,extension:[i,a,$st.of(a),Qst]}}function Jot(e,t){let n=e.plugin(fj);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}function Yot(e){let t=e.nextSibling;return e.remove(),t}function Xot(e){return[Zot(),Sj.of({...ict,...e})]}function Zot(e){let t=[act];return e&&e.fixed===!1&&t.push(Cj.of(!0)),t}function Qot(e){return Array.isArray(e)?e:[e]}function GO(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}function $ot(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}function KO(e,t){return e.state.facet(Ej).formatNumber(t,e.state)}function est(e={}){return[Ej.of(e),Zot(),lct]}function tst(e){let t=9;for(;t<e;)t=t*10+9;return t}var qO,JO,YO,XO,ZO,QO,$O,ek,tk,nk,rk,ik,ak,ok,sk,ck,lk,uk,dk,fk,pk,mk,nst,hk,rst,gk,_k,vk,yk,ist,ast,bk,xk,ost,Sk,Ck,wk,Tk,Ek,Dk,Ok,kk,Ak,jk,Mk,Nk,Pk,sst,Fk,Ik,Lk,Rk,zk,cst,Bk,Vk,Hk,Uk,Wk,Gk,Kk,qk,Jk,Yk,Xk,Zk,Qk,$k,lst,eA,tA,nA,rA,iA,aA,oA,sA,cA,ust,dst,fst,pst,lA,mst,hst,uA,dA,fA,pA,gst,_st,mA,hA,vst,gA,yst,_A,bst,xst,vA,Sst,yA,bA,Cst,xA,SA,CA,wst,wA,TA,EA,DA,OA,kA,AA,jA,Tst,Est,MA,NA,PA,FA,Dst,IA,LA,RA,Ost,kst,Ast,jst,zA,Mst,BA,VA,HA,Nst,UA,WA,GA,KA,qA,JA,Pst,Fst,YA,Ist,Lst,XA,Rst,ZA,QA,zst,Bst,$A,ej,tj,Vst,nj,rj,Hst,ij,aj,Ust,Wst,oj,sj,Gst,Kst,qst,Jst,Yst,cj,lj,uj,dj,fj,Xst,Zst,pj,mj,hj,Qst,$st,ect,gj,tct,_j,nct,vj,yj,bj,xj,rct,ict,Sj,Cj,act,oct,wj,Tj,sct,cct,Ej,Dj,lct,Oj=s((()=>{tO(),zit(),Uit(),qO=typeof navigator<`u`?navigator:{userAgent:``,vendor:``,platform:``},JO=typeof document<`u`?document:{documentElement:{style:{}}},YO=/Edge\/(\d+)/.exec(qO.userAgent),XO=/MSIE \d/.test(qO.userAgent),ZO=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(qO.userAgent),QO=!!(XO||ZO||YO),$O=!QO&&/gecko\/(\d+)/i.test(qO.userAgent),ek=!QO&&/Chrome\/(\d+)/.exec(qO.userAgent),tk=`webkitFontSmoothing`in JO.documentElement.style,nk=!QO&&/Apple Computer/.test(qO.vendor),rk=nk&&(/Mobile\/\w+/.test(qO.userAgent)||qO.maxTouchPoints>2),ik={mac:rk||/Mac/.test(qO.platform),windows:/Win/.test(qO.platform),linux:/Linux|X11/.test(qO.platform),ie:QO,ie_version:XO?JO.documentMode||6:ZO?+ZO[1]:YO?+YO[1]:0,gecko:$O,gecko_version:$O?+(/Firefox\/(\d+)/.exec(qO.userAgent)||[0,0])[1]:0,chrome:!!ek,chrome_version:ek?+ek[1]:0,ios:rk,android:/Android\b/.test(qO.userAgent),webkit:tk,webkit_version:tk?+(/\bAppleWebKit\/(\d+)/.exec(qO.userAgent)||[0,0])[1]:0,safari:nk,safari_version:nk?+(/\bVersion\/(\d+(\.\d+)?)/.exec(qO.userAgent)||[0,0])[1]:0,tabSize:JO.documentElement.style.tabSize==null?`-moz-tab-size`:`tab-size`},ak=Object.create(null),ok=class{eq(e){return!1}updateDOM(e,t,n){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},sk=(function(e){return e[e.Text=0]=`Text`,e[e.WidgetBefore=1]=`WidgetBefore`,e[e.WidgetAfter=2]=`WidgetAfter`,e[e.WidgetRange=3]=`WidgetRange`,e})(sk||={}),ck=class extends JD{constructor(e,t,n,r){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new lk(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new dk(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:i,end:a}=Yit(e,t);n=(i?t?-3e8:-1:5e8)-1,r=(a?t?2e8:1:-6e8)+1}return new dk(e,n,r,t,e.widget||null,!0)}static line(e){return new uk(e)}static set(e,t=!1){return XD.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}},ck.none=XD.empty,lk=class e extends ck{constructor(e){let{start:t,end:n}=Yit(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||`span`,this.attrs=e.class&&e.attributes?fO(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||ak}eq(t){return this==t||t instanceof e&&this.tagName==t.tagName&&pO(this.attrs,t.attrs)}range(e,t=e){if(e>=t)throw RangeError(`Mark decorations may not be empty`);return super.range(e,t)}},lk.prototype.point=!1,uk=class e extends ck{constructor(e){super(-2e8,-2e8,null,e)}eq(t){return t instanceof e&&this.spec.class==t.spec.class&&pO(this.spec.attributes,t.spec.attributes)}range(e,t=e){if(t!=e)throw RangeError(`Line decoration ranges must be zero-length`);return super.range(e,t)}},uk.prototype.mapMode=vD.TrackBefore,uk.prototype.point=!0,dk=class e extends ck{constructor(e,t,n,r,i,a){super(t,n,i,e),this.block=r,this.isReplace=a,this.mapMode=r?t<=0?vD.TrackBefore:vD.TrackAfter:vD.TrackDel}get type(){return this.startSide==this.endSide?this.startSide<=0?sk.WidgetBefore:sk.WidgetAfter:sk.WidgetRange}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof e&&Xit(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw RangeError(`Invalid range for replacement decoration`);if(!this.isReplace&&t!=e)throw RangeError(`Widget decorations can only have zero-length ranges`);return super.range(e,t)}},dk.prototype.point=!0,fk=class e extends JD{constructor(e,t,n){super(),this.tagName=e,this.attributes=t,this.rank=n}eq(t){return t==this||t instanceof e&&this.tagName==t.tagName&&pO(this.attributes,t.attributes)}static create(t){return new e(t.tagName,t.attributes||ak,t.rank==null?50:Math.max(0,Math.min(t.rank,100)))}static set(e,t=!1){return XD.of(e,t)}},fk.prototype.startSide=fk.prototype.endSide=-1,pk=e=>e.nodeType==1,mk=e=>e.nodeType==3,nst=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?SO(t):0),n,Math.min(e.focusOffset,n?SO(n):0))}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}},hk=null,ik.safari&&ik.safari_version>=26&&(hk=!1),gk=class e{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(t,n){return new e(t.parentNode,bO(t),n)}static after(t,n){return new e(t.parentNode,bO(t)+1,n)}},_k=(function(e){return e[e.LTR=0]=`LTR`,e[e.RTL=1]=`RTL`,e})(_k||={}),vk=_k.LTR,yk=_k.RTL,ist=uat(`88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008`),ast=uat(`4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333`),bk=Object.create(null),xk=[];for(let e of[`()`,`[]`,`{}`]){let t=e.charCodeAt(0),n=e.charCodeAt(1);bk[t]=n,bk[n]=-t}ost=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,Sk=class{get dir(){return this.level%2?yk:vk}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,n,r){let i=-1;for(let a=0;a<e.length;a++){let o=e[a];if(o.from<=t&&o.to>=t){if(o.level==n)return a;(i<0||(r==0?e[i].level>o.level:r<0?o.from<t:o.to>t))&&(i=a)}}if(i<0)throw RangeError(`Index out of range`);return i}},Ck=[],wk=``,Tk=TD.define(),Ek=TD.define(),Dk=TD.define(),Ok=TD.define(),kk=TD.define(),Ak=TD.define(),jk=TD.define(),Mk=TD.define(),Nk=TD.define(),Pk=TD.define({combine:e=>e.some(e=>e)}),sst=TD.define({combine:e=>e.some(e=>e)}),Fk=TD.define(),Ik=class e{constructor(e,t,n,r,i,a=!1){this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=i,this.isSnapshot=a}map(t){return t.empty?this:new e(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new e(CD.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},Lk=UD.define({map:(e,t)=>e.map(t)}),Rk=UD.define(),zk=TD.define({combine:e=>!e.length||e[0]}),cst=0,Bk=TD.define({combine(e){return e.filter((t,n)=>{for(let r=0;r<n;r++)if(e[r].plugin==t.plugin)return!1;return!0})}}),Vk=class e{constructor(e,t,n,r,i){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=r,this.baseExtensions=i(this),this.extension=this.baseExtensions.concat(Bk.of({plugin:this,arg:void 0}))}of(e){return this.baseExtensions.concat(Bk.of({plugin:this,arg:e}))}static define(t,n){let{eventHandlers:r,eventObservers:i,provide:a,decorations:o}=n||{};return new e(cst++,t,r,i,e=>{let t=[];return o&&t.push(Gk.of(t=>{let n=t.plugin(e);return n?o(n):ck.none})),a&&t.push(a(e)),t})}static fromClass(t,n){return e.define((e,n)=>new t(e,n),n)}},Hk=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(!this.value){if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(t){OO(e.state,t,`CodeMirror plugin crashed`),this.deactivate()}}else if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(OO(e.state,t,`CodeMirror plugin crashed`),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}return this}destroy(e){if(this.value?.destroy)try{this.value.destroy()}catch(t){OO(e.state,t,`CodeMirror plugin crashed`)}}deactivate(){this.spec=this.value=null}},Uk=TD.define(),Wk=TD.define(),Gk=TD.define(),Kk=TD.define(),qk=TD.define(),Jk=TD.define(),Yk=TD.define(),Xk=TD.define(),Zk=TD.define(),Qk=class e{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(t){return new e(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(t,n){if(n.length==0)return t;let r=[];for(let i=0,a=0,o=0;;){let s=i<t.length?t[i].fromB:1e9,c=a<n.length?n[a]:1e9,l=Math.min(s,c);if(l==1e9)break;let u=l+o,d=l,f=u;for(;;)if(a<n.length&&n[a]<=d){let e=n[a+1];a+=2,d=Math.max(d,e);for(let e=i;e<t.length&&t[e].fromB<=d;e++)o=t[e].toA-t[e].toB;f=Math.max(f,e+o)}else if(i<t.length&&t[i].fromB<=d){let e=t[i++];d=Math.max(d,e.toB),f=Math.max(f,e.toA),o=e.toA-e.toB}else break;r.push(new e(u,f,l,d))}return r}},$k=class e{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=bD.empty(this.startState.doc.length);for(let e of n)this.changes=this.changes.compose(e.changes);let r=[];this.changes.iterChangedRanges((e,t,n,i)=>r.push(new Qk(e,t,n,i))),this.changedRanges=r}static create(t,n,r){return new e(t,n,r)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}},lst=[],eA=class{constructor(e,t,n=0){this.dom=e,this.length=t,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return this.flags&1}get children(){return lst}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,this.flags&4){this.flags&=-5;let e=this.domAttrs;e&&Kit(this.dom,e)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:``)+(this.breakAfter?`#`:``)}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,t=this.posAtStart){let n=t;for(let t of this.children){if(t==e)return n;n+=t.length+t.breakAfter}throw RangeError(`Invalid child in posBefore`)}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,t,n){return null}domPosFor(e,t){let n=bO(this.dom),r=this.length?e>0:t>0;return new gk(this.parent.dom,n+ +!!r,e==0||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof nA)return e;return null}static get(e){return e.cmTile}},tA=class extends eA{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(this.flags&2)return;super.sync(e);let t=this.dom,n=null,r,i=e?.node==t?e:null,a=0;for(let o of this.children){if(o.sync(e),a+=o.length+o.breakAfter,r=n?n.nextSibling:t.firstChild,i&&r!=o.dom&&(i.written=!0),o.dom.parentNode==t)for(;r&&r!=o.dom;)r=xat(r);else t.insertBefore(o.dom,r);n=o.dom}for(r=n?n.nextSibling:t.firstChild,i&&r&&(i.written=!0);r;)r=xat(r);this.length=a}},nA=class extends tA{constructor(e,t){super(t),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let t=eA.get(e);if(t&&this.owns(t))return t;e=e.parentNode}}blockTiles(e){for(let t=[],n=this,r=0,i=0;;)if(r==n.children.length){if(!t.length)return;n=n.parent,n.breakAfter&&i++,r=t.pop()}else{let a=n.children[r++];if(a instanceof rA)t.push(r),n=a,r=0;else{let t=i+a.length,n=e(a,i);if(n!==void 0)return n;i=t+a.breakAfter}}}resolveBlock(e,t){let n,r=-1,i,a=-1;if(this.blockTiles((o,s)=>{let c=s+o.length;if(e>=s&&e<=c){if(o.isWidget()&&t>=-1&&t<=1){if(o.flags&32)return!0;o.flags&16&&(n=void 0)}(s<e||e==c&&(t<-1?o.length:o.covers(1)))&&(!n||!o.isWidget()&&n.isWidget())&&(n=o,r=e-s),(c>e||e==s&&(t>1?o.length:o.covers(-1)))&&(!i||!o.isWidget()&&i.isWidget())&&(i=o,a=e-s)}}),!n&&!i)throw Error(`No tile at position `+e);return n&&t<0||!i?{tile:n,offset:r}:{tile:i,offset:a}}},rA=class e extends tA{constructor(e,t){super(e),this.wrapper=t}isBlock(){return!0}covers(e){return this.children.length?e<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(t,n){let r=new e(n||document.createElement(t.tagName),t);return n||(r.flags|=4),r}},iA=class e extends tA{constructor(e,t){super(e),this.attrs=t}isLine(){return!0}static start(t,n,r){let i=new e(n||document.createElement(`div`),t);return(!n||!r)&&(i.flags|=4),i}get domAttrs(){return this.attrs}resolveInline(e,t,n=!1){let r=null,i=-1,a=null,o=-1;function s(e,c){for(let l=0,u=0;l<e.children.length&&u<=c;l++){let d=e.children[l],f=u+d.length;f>=c&&(d.isComposite()?s(d,c-u):(!a||n&&a.isHidden&&(t>0&&!(a.flags&32)||n&&Cat(a,d)))&&(f>c||d.flags&32&&t<=1)?(a=d,o=c-u):(u<c||d.flags&16&&!(n&&d.isHidden)&&t>=-1)&&(r=d,i=c-u)),u=f}}s(this,e);let c=(t<0?r:a)||r||a;return c?{tile:c,offset:c==r?i:o}:null}coordsIn(e,t,n){let r=this.resolveInline(e,t,!0);return r?r.tile.coordsIn(Math.max(0,r.offset),t,n):Sat(this)}domIn(e,t){let n=this.resolveInline(e,t);if(n){let{tile:e,offset:r}=n;if(this.dom.contains(e.dom))return e.isText()?new gk(e.dom,Math.min(e.dom.nodeValue.length,r)):e.domPosFor(r,e.flags&16?1:e.flags&32?-1:t);let i=n.tile.parent,a=!1;for(let e of i.children){if(a)return new gk(e.dom,0);e==n.tile&&(a=!0)}}return new gk(this.dom,0)}},aA=class e extends tA{constructor(e,t){super(e),this.mark=t}get domAttrs(){return this.mark.attrs}static of(t,n){let r=new e(n||document.createElement(t.tagName),t);return n||(r.flags|=4),r}},oA=class e extends eA{constructor(e,t){super(e,t.length),this.text=t}sync(e){this.flags&2||(super.sync(e),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(e,t,n){let r=this.dom.nodeValue.length;e>r&&(e=r);let i=e,a=e,o=0;e==0&&t<0||e==r&&t>=0?ik.chrome||ik.gecko||(e?(i--,o=1):a<r&&(a++,o=-1)):t<0?i--:a<r&&a++;let s=wO(this.dom,i,a).getClientRects();if(!s.length)return null;let c=s[(o?o<0:t>=0)?0:s.length-1];return ik.safari&&!o&&c.width==0&&(c=Array.prototype.find.call(s,e=>e.width)||c),n==null?c:CO(c,(o?o>0:t<0)==n)}static of(t,n){let r=new e(n||document.createTextNode(t),t);return n||(r.flags|=2),r}},sA=class e extends eA{constructor(e,t,n,r){super(e,t,r),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return this.flags&48?!1:(this.flags&(e<0?64:128))>0}coordsIn(e,t){return this.coordsInWidget(e,t,!1)}coordsInWidget(e,t,n){let r=this.widget.coordsAt(this.dom,e,t);if(r)return r;if(n)return CO(this.dom.getBoundingClientRect(),this.length?e==0:t<=0);{let t=this.dom.getClientRects(),n=null;if(!t.length)return null;let r=this.flags&16?!0:this.flags&32?!1:e>0;for(let i=r?t.length-1:0;n=t[i],!(e>0?i==0:i==t.length-1||n.top<n.bottom);i+=r?-1:1);return CO(n,!r)}}get overrideDOMText(){if(!this.length)return dD.empty;let{root:e}=this;if(!e)return dD.empty;let t=this.posAtStart;return e.view.state.doc.slice(t,t+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(t,n,r,i,a){return a||(a=t.toDOM(n),t.editable||(a.contentEditable=`false`)),new e(a,r,t,i)}},cA=class extends eA{constructor(e){let t=document.createElement(`img`);t.className=`cm-widgetBuffer`,t.setAttribute(`aria-hidden`,`true`),super(t,0,e)}get isHidden(){return!0}get overrideDOMText(){return dD.empty}coordsIn(e,t,n){let r=this.dom.getBoundingClientRect();return n==null?r:CO(r,t>0==n)}},ust=class{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,t,n){let{tile:r,index:i,beforeBreak:a,parents:o}=this;for(;e||t>0;)if(!r.isComposite()){let t=r.length;if(i<t&&e){let a=Math.min(e,t-i);n&&n.skip(r,i,i+a),e-=a,i+=a}if(i==t)a=!!r.breakAfter,{tile:r,index:i}=o.pop(),i++;else if(!e)break}else if(a){if(!e)break;n&&n.break(),e--,a=!1}else if(i==r.children.length){if(!e&&!o.length)break;n&&n.leave(r),a=!!r.breakAfter,{tile:r,index:i}=o.pop(),i++}else{let s=r.children[i],c=s.breakAfter;(t>0?s.length<=e:s.length<e)&&(!n||n.skip(s,0,s.length)!==!1||!s.isComposite)?(a=!!c,i++,e-=s.length):(o.push({tile:r,index:i}),r=s,i=0,n&&s.isComposite()&&n.enter(s))}return this.tile=r,this.index=i,this.beforeBreak=a,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}},dst=class{constructor(e,t,n,r){this.from=e,this.to=t,this.wrapper=n,this.rank=r}},fst=class{constructor(e,t,n){this.cache=e,this.root=t,this.blockWrappers=n,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(e,t,n,r){this.flushBuffer();let i=this.ensureMarks(t,n),a=i.lastChild;if(a&&a.isText()&&!(a.flags&8)&&a.length+e.length<512){this.cache.reused.set(a,2);let t=i.children[i.children.length-1]=new oA(a.dom,a.text+e);t.parent=i}else i.append(r||oA.of(e,this.cache.find(oA)?.dom));this.pos+=e.length,this.afterWidget=null}addComposition(e,t){let n=this.curLine;n.dom!=t.line.dom&&(n.setDOM(this.cache.reused.has(t.line)?AO(t.line.dom):t.line.dom),this.cache.reused.set(t.line,2));let r=n;for(let e=t.marks.length-1;e>=0;e--){let n=t.marks[e],i=r.lastChild;if(i instanceof aA&&i.mark.eq(n.mark))i.dom!=n.dom&&i.setDOM(AO(n.dom)),r=i;else{let{dom:e}=n;this.cache.reused.get(n)&&eA.get(n.dom)&&(e=AO(n.dom));let t=aA.of(n.mark,e);r.append(t),r=t}this.cache.reused.set(n,2)}let i=eA.get(e.text);i&&this.cache.reused.set(i,2);let a=new oA(e.text,e.text.nodeValue);a.flags|=8,this.pos=e.range.toB,r.append(a)}addInlineWidget(e,t,n){let r=this.afterWidget&&e.flags&48&&(this.afterWidget.flags&48)==(e.flags&48);r||this.flushBuffer();let i=this.ensureMarks(t,n);!r&&!(e.flags&16)&&i.append(this.getBuffer(1)),i.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,t,n){this.flushBuffer(),this.ensureMarks(t,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){let t=this.afterWidget||this.lastBlock;t.length+=e,this.pos+=e}addLineStart(e,t){e||=uA;let n=iA.start(e,t||this.cache.find(iA)?.dom,!!t);this.getBlockPos().append(this.lastBlock=this.curLine=n)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,t){let n=this.curLine;for(let r=e.length-1;r>=0;r--){let i=e[r],a;if(t>0&&(a=n.lastChild)&&a instanceof aA&&a.mark.eq(i))n=a,t--;else{let e=aA.of(i,this.cache.find(aA,e=>e.mark.eq(i))?.dom);n.append(e),n=e,t=0}}return n}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;(!e||!wat(this.curLine,!1)||e.dom.nodeName!=`BR`&&e.isWidget()&&!(ik.ios&&wat(this.curLine,!0)))&&this.curLine.append(this.cache.findWidget(fA,0,32)||new sA(fA.toDOM(),0,fA,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to<this.pos&&this.wrappers.splice(e,1);for(let e=this.blockWrappers;e.value&&e.from<=this.pos;e.next())if(e.to>=this.pos){let t=e.rank*102+e.value.rank,n=new dst(e.from,e.to,e.value,t),r=this.wrappers.length;for(;r>0&&(this.wrappers[r-1].rank-n.rank||this.wrappers[r-1].to-n.to)<0;)r--;this.wrappers.splice(r,0,n)}this.wrapperPos=this.pos}getBlockPos(){this.updateBlockWrappers();let e=this.root;for(let t of this.wrappers){let n=e.lastChild;if(t.from<this.pos&&n instanceof rA&&n.wrapper.eq(t.wrapper))e=n;else{let n=rA.of(t.wrapper,this.cache.find(rA,e=>e.wrapper.eq(t.wrapper))?.dom);e.append(n),e=n}}return e}blockPosCovered(){let e=this.lastBlock;return e!=null&&!e.breakAfter&&(!e.isWidget()||(e.flags&160)>0)}getBuffer(e){let t=2|(e<0?16:32),n=this.cache.find(cA,void 0,1);return n&&(n.flags=t),n||new cA(t)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}},pst=class{constructor(e){this.skipCount=0,this.text=``,this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text=``,this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skipCount);if(this.skipCount=0,r)throw Error(`Ran out of text content when drawing inline views`);this.text=t;let i=this.textOff=Math.min(e,t.length);return n?null:t.slice(0,i)}let t=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,t);return this.textOff=t,n}},lA=[sA,iA,oA,aA,cA,rA,nA];for(let e=0;e<lA.length;e++)lA[e].bucket=e;mst=class{constructor(e){this.view=e,this.buckets=lA.map(()=>[]),this.index=lA.map(()=>0),this.reused=new Map}add(e){let t=e.constructor.bucket,n=this.buckets[t];n.length<6?n.push(e):n[this.index[t]=(this.index[t]+1)%6]=e}find(e,t,n=2){let r=e.bucket,i=this.buckets[r],a=this.index[r];for(let e=0;e<i.length;e++){let o=(e+a)%i.length,s=i[o];if((!t||t(s))&&!this.reused.has(s))return i.splice(o,1),o<a&&this.index[r]--,this.reused.set(s,n),s}return null}findWidget(e,t,n){let r=this.buckets[0];if(r.length)for(let i=0,a=0;;i++){if(i==r.length){if(a)return null;a=1,i=0}let o=r[i];if(!this.reused.has(o)&&(a==0?o.widget.compare(e):o.widget.constructor==e.constructor&&e.updateDOM(o.dom,this.view,o.widget)))return r.splice(i,1),i<this.index[0]&&this.index[0]--,o.widget==e&&o.length==t&&(o.flags&497)==n?(this.reused.set(o,1),o):(this.reused.set(o,2),new sA(o.dom,t,e,o.flags&-498|n))}}reuse(e){return this.reused.set(e,1),e}maybeReuse(e,t=2){if(!this.reused.has(e))return this.reused.set(e,t),e.dom}clear(){for(let e=0;e<this.buckets.length;e++)this.buckets[e].length=this.index[e]=0}},hst=class{constructor(e,t,n,r,i){this.view=e,this.decorations=r,this.disallowBlockEffectsFor=i,this.openWidget=!1,this.openMarks=0,this.cache=new mst(e),this.text=new pst(e.state.doc),this.builder=new fst(this.cache,new nA(e,e.contentDOM),XD.iter(n)),this.cache.reused.set(t,2),this.old=new ust(t),this.reuseWalker={skip:(e,t,n)=>{if(this.cache.add(e),e.isComposite())return!1},enter:e=>this.cache.add(e),leave:()=>{},break:()=>{}}}run(e,t){let n=t&&this.getCompositionContext(t.text);for(let r=0,i=0,a=0;;){let o=a<e.length?e[a++]:null,s=o?o.fromA:this.old.root.length;if(s>r){let e=s-r;this.preserve(e,!a,!o),r=s,i+=e}if(!o)break;t&&o.fromA<=t.range.fromA&&o.toA>=t.range.toA?(this.forward(o.fromA,t.range.fromA,t.range.fromA<t.range.toA?1:-1),this.emit(i,t.range.fromB),this.builder.flushBuffer(),this.cache.clear(),this.builder.addComposition(t,n),this.text.skip(t.range.toB-t.range.fromB),this.forward(t.range.fromA,o.toA),this.emit(t.range.toB,o.toB)):(this.forward(o.fromA,o.toA),this.emit(i,o.toB)),i=o.toB,r=o.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(e,t,n){let r=Dat(this.old),i=this.openMarks;this.old.advance(e,n?1:-1,{skip:(e,t,n)=>{if(e.isWidget()){if(this.openWidget)this.builder.continueWidget(n-t);else{let a=n>0||t<e.length?sA.of(e.widget,this.view,n-t,e.flags&496,this.cache.maybeReuse(e)):this.cache.reuse(e);a.flags&256?(a.flags&=-2,this.builder.addBlockWidget(a)):(this.builder.ensureLine(null),this.builder.addInlineWidget(a,r,i),i=r.length)}}else if(e.isText())this.builder.ensureLine(null),!t&&n==e.length&&!this.cache.reused.has(e)?this.builder.addText(e.text,r,i,this.cache.reuse(e)):(this.cache.add(e),this.builder.addText(e.text.slice(t,n),r,i)),i=r.length;else if(e.isLine())e.flags&=-2,this.cache.reused.set(e,1),this.builder.addLine(e);else if(e instanceof cA)this.cache.add(e);else if(e instanceof aA)this.builder.ensureLine(null),this.builder.addMark(e,r,i),this.cache.reused.set(e,1),i=r.length;else return!1;this.openWidget=!1},enter:e=>{e.isLine()?this.builder.addLineStart(e.attrs,this.cache.maybeReuse(e)):(this.cache.add(e),e instanceof aA&&r.unshift(e.mark)),this.openWidget=!1},leave:e=>{e.isLine()?r.length&&=i=0:e instanceof aA&&(r.shift(),i=Math.min(i,r.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,t){let n=null,r=this.builder,i=-1,a=XD.spans(this.decorations,e,t,{point:(e,t,a,o,s,c)=>{if(a instanceof dk){if(this.disallowBlockEffectsFor[c]){if(a.block)throw RangeError(`Block decorations may not be specified via plugins`);if(t>this.view.state.doc.lineAt(e).to)throw RangeError(`Decorations that replace line breaks may not be specified via plugins`)}if(i=o.length,s>o.length)r.continueWidget(t-e);else{let i=a.widget||(a.block?dA.block:dA.inline),c=Tat(a),l=this.cache.findWidget(i,t-e,c)||sA.of(i,this.view,t-e,c);a.block?(a.startSide>0&&r.addLineStartIfNotCovered(n),r.addBlockWidget(l)):(r.ensureLine(n),r.addInlineWidget(l,o,s))}n=null}else n=Eat(n,a);t>e&&this.text.skip(t-e)},span:(e,t,a,o)=>{for(let i=e;i<t;){let s=this.text.next(Math.min(512,t-i));s==null?(r.addLineStartIfNotCovered(n),r.addBreak(),i++):(r.ensureLine(n),r.addText(s,a,i==e?o:a.length),i+=s.length),n=null}i=a.length}});i>-1&&(this.openWidget=a>i),this.openWidget||r.addLineStartIfNotCovered(n),this.openMarks=a}forward(e,t,n=1){t-e<=10?this.old.advance(t-e,n,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(t-e-10,-1),this.old.advance(5,n,this.reuseWalker))}getCompositionContext(e){let t=[],n=null;for(let r=e.parentNode;;r=r.parentNode){let e=eA.get(r);if(r==this.view.contentDOM)break;e instanceof aA?t.push(e):e?.isLine()?n=e:e instanceof rA||(r.nodeName==`DIV`&&!n?n=new iA(r,uA):n||t.push(aA.of(new lk({tagName:r.nodeName.toLowerCase(),attributes:Jit(r)}),r)))}return n?{line:n,marks:t}:null}},uA={class:`cm-line`},dA=class extends ok{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}},dA.inline=new dA(`span`),dA.block=new dA(`div`),fA=new class extends ok{toDOM(){return document.createElement(`br`)}get isHidden(){return!0}get editable(){return!0}},pA=class{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=ck.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new nA(e,e.contentDOM),this.updateInner([new Qk(0,0,0,e.state.doc.length)],null)}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let n=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(this.domChanged?.newSel?n=this.domChanged.newSel.head:!Fat(e.changes,this.hasComposition)&&!e.selectionSet&&(n=e.state.selection.main.head));let r=n>-1?Aat(this.view,e.changes,n):null;if(this.domChanged=null,this.hasComposition){let{from:n,to:r}=this.hasComposition;t=new Qk(n,r,e.changes.mapPos(n,-1),e.changes.mapPos(r,1)).addToSet(t.slice())}this.hasComposition=r?{from:r.range.fromB,to:r.range.toB}:null,(ik.ie||ik.chrome)&&!r&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,a=this.blockWrappers;this.updateDeco();let o=Mat(i,this.decorations,e.changes);o.length&&(t=Qk.extendWithRanges(t,o));let s=Nat(a,this.blockWrappers,e.changes);return s.length&&(t=Qk.extendWithRanges(t,s)),r&&!t.some(e=>e.fromA<=r.range.fromA&&e.toA>=r.range.toA)&&(t=r.range.addToSet(t.slice())),this.tile.flags&2&&t.length==0?!1:(this.updateInner(t,r),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(t||e.length){let n=this.tile,r=new hst(this.view,n,this.blockWrappers,this.decorations,this.dynamicDecorationMap);t&&eA.get(t.text)&&r.cache.reused.set(eA.get(t.text),2),this.tile=r.run(e,t),jO(n,r.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+`px`,this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+`px`:``;let r=ik.chrome||ik.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(r),r&&(r.written||n.selectionRange.focusNode!=r.node||!this.tile.dom.contains(r.node))&&(this.forceSelection=!0),this.tile.dom.style.height=``});let r=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.tile.children)e.isWidget()&&e.widget instanceof mA&&r.push(e.dom);n.updateGaps(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(Rk)&&(this.editContextFormatting=e.value)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let{dom:n}=this.tile,r=this.view.root.activeElement,i=r==n,a=!i&&!(this.view.state.facet(zk)||n.tabIndex>-1)&&_O(n,this.view.observer.selectionRange)&&!(r&&n.contains(r));if(!(i||t||a))return;let o=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,c,l;if(s.empty?l=c=this.inlineDOMNearPos(s.anchor,s.assoc||1):(l=this.inlineDOMNearPos(s.head,s.head==s.from?1:-1),c=this.inlineDOMNearPos(s.anchor,s.anchor==s.from?1:-1)),ik.gecko&&s.empty&&!this.hasComposition&&Oat(c)){let e=document.createTextNode(``);this.view.observer.ignore(()=>c.node.insertBefore(e,c.node.childNodes[c.offset]||null)),c=l=new gk(e,0),o=!0}let u=this.view.observer.selectionRange;(o||!u.focusNode||(!yO(c.node,c.offset,u.anchorNode,u.anchorOffset)||!yO(l.node,l.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,s))&&(this.view.observer.ignore(()=>{ik.android&&ik.chrome&&n.contains(u.focusNode)&&Pat(u.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let e=hO(this.view.root);if(e){if(s.empty){if(ik.gecko){let e=jat(c.node,c.offset);if(e&&e!=3){let t=(e==1?cat:lat)(c.node,c.offset);t&&(c=new gk(t.node,t.offset))}}e.collapse(c.node,c.offset),s.bidiLevel!=null&&e.caretBidiLevel!==void 0&&(e.caretBidiLevel=s.bidiLevel)}else if(e.extend){e.collapse(c.node,c.offset);try{e.extend(l.node,l.offset)}catch{}}else{let t=document.createRange();s.anchor>s.head&&([c,l]=[l,c]),t.setEnd(l.node,l.offset),t.setStart(c.node,c.offset),e.removeAllRanges(),e.addRange(t)}}a&&this.view.root.activeElement==n&&(n.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(c,l)),this.impreciseAnchor=c.precise?null:new gk(u.anchorNode,u.anchorOffset),this.impreciseHead=l.precise?null:new gk(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&yO(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=hO(e.root),{anchorNode:r,anchorOffset:i}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let a=this.lineAt(t.head,t.assoc);if(!a)return;let o=a.posAtStart;if(t.head==o||t.head==o+a.length)return;let s=this.coordsAt(t.head,-1),c=this.coordsAt(t.head,1);if(!s||!c||s.bottom>c.top)return;let l=this.domAtPos(t.head+t.assoc,t.assoc);n.collapse(l.node,l.offset),n.modify(`move`,t.assoc<0?`forward`:`backward`,`lineboundary`),e.observer.readSelectionRange();let u=e.observer.selectionRange;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&n.collapse(r,i)}posFromDOM(e,t){let n=this.tile.nearest(e);if(!n)return this.tile.dom.compareDocumentPosition(e)&2?0:this.view.state.doc.length;let r=n.posAtStart;if(n.isComposite()){let i;if(e==n.dom)i=n.dom.childNodes[t];else{let r=SO(e)==0?0:t==0?-1:1;for(;;){let t=e.parentNode;if(t==n.dom)break;r==0&&t.firstChild!=t.lastChild&&(r=e==t.firstChild?-1:1),e=t}i=r<0?e:e.nextSibling}if(i==n.dom.firstChild)return r;for(;i&&!eA.get(i);)i=i.nextSibling;if(!i)return r+n.length;for(let e=0,t=r;;e++){let r=n.children[e];if(r.dom==i)return t;t+=r.length+r.breakAfter}}else if(n.isText())return e==n.dom?r+t:r+(t?n.length:0);else return r}domAtPos(e,t){let{tile:n,offset:r}=this.tile.resolveBlock(e,t);return n.isWidget()?n.domPosFor(r,t):n.domIn(r,t)}inlineDOMNearPos(e,t){let n,r=-1,i=!1,a,o=-1,s=!1;return this.tile.blockTiles((t,c)=>{if(t.isWidget()){if(t.flags&32&&c>=e)return!0;t.flags&16&&(i=!0)}else{let l=c+t.length;if(c<=e&&(n=t,r=e-c,i=l<e),l>=e&&!a&&(a=t,o=e-c,s=c>e),c>e&&a)return!0}}),!n&&!a?this.domAtPos(e,t):(i&&a?n=null:s&&n&&(a=null),n&&t<0||!a?n.domIn(r,t):a.domIn(o,t))}coordsAt(e,t,n){let{tile:r,offset:i}=this.tile.resolveBlock(e,t);return r.isWidget()?r.widget instanceof mA?null:r.coordsInWidget(i,t,!0):r.coordsIn(i,t,n)}lineAt(e,t){let{tile:n}=this.tile.resolveBlock(e,t);return n.isLine()?n:null}coordsForChar(e){let{tile:t,offset:n}=this.tile.resolveBlock(e,1);if(!t.isLine())return null;function r(e,t){if(e.isComposite())for(let n of e.children){if(n.length>=t){let e=r(n,t);if(e)return e}if(t-=n.length,t<0)break}else if(e.isText()&&t<e.length){let n=HE(e.text,t);if(n==t)return null;let r=wO(e.dom,t,n).getClientRects();for(let e=0;e<r.length;e++){let t=r[e];if(e==r.length-1||t.top<t.bottom&&t.left<t.right)return t}}return null}return r(t,n)}measureVisibleLineHeights(e){let t=[],{from:n,to:r}=e,i=this.view.contentDOM.clientWidth,a=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,s=this.view.textDirection==_k.LTR,c=0,l=(e,u,d)=>{for(let f=0;f<e.children.length&&!(u>r);f++){let r=e.children[f],p=u+r.length,m=r.dom.getBoundingClientRect(),{height:h}=m;if(d&&!f&&(c+=m.top-d.top),r instanceof rA)p>n&&l(r,u,m);else if(u>=n&&(c>0&&t.push(-c),t.push(h+c),c=0,a)){let e=r.dom.lastChild,t=e?vO(e):[];if(t.length){let e=t[t.length-1],n=s?e.right-m.left:m.right-e.left;n>o&&(o=n,this.minWidth=i,this.minWidthFrom=u,this.minWidthTo=p)}}d&&f==e.children.length-1&&(c+=d.bottom-m.bottom),u=p+r.breakAfter}};return l(this.tile,0,null),t}textDirectionAt(e){let{tile:t}=this.tile.resolveBlock(e,1);return getComputedStyle(t.dom).direction==`rtl`?_k.RTL:_k.LTR}measureTextSize(){let e=this.tile.blockTiles(e=>{if(e.isLine()&&e.children.length&&e.length<=20){let t=0,n;for(let r of e.children){if(!r.isText()||/[^ -~]/.test(r.text))return;let e=vO(r.dom);if(e.length!=1)return;t+=e[0].width,n=e[0].height}if(t)return{lineHeight:e.dom.getBoundingClientRect().height,charWidth:t/e.length,textHeight:n}}});if(e)return e;let t=document.createElement(`div`),n,r,i;return t.className=`cm-line`,t.style.width=`99999px`,t.style.position=`absolute`,t.textContent=`abc def ghi jkl mno pqr stu`,this.view.observer.ignore(()=>{this.tile.dom.appendChild(t);let e=vO(t.firstChild)[0];n=t.getBoundingClientRect().height,r=e&&e.width?e.width/27:7,i=e&&e.height?e.height:n,t.remove()}),{lineHeight:n,charWidth:r,textHeight:i}}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){let i=r==t.viewports.length?null:t.viewports[r],a=i?i.from-1:this.view.state.doc.length;if(a>n){let r=(t.lineBlockAt(a).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(ck.replace({widget:new mA(r),block:!0,inclusive:!0,isBlockGap:!0}).range(n,a))}if(!i)break;n=i.to+1}return ck.set(e)}updateDeco(){let e=1,t=this.view.state.facet(Gk).map(t=>(this.dynamicDecorationMap[e++]=typeof t==`function`)?t(this.view):t),n=!1,r=this.view.state.facet(qk).map((e,t)=>{let r=typeof e==`function`;return r&&(n=!0),r?e(this.view):e});for(r.length&&(this.dynamicDecorationMap[e++]=n,t.push(XD.join(r))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;this.blockWrappers=this.view.state.facet(Kk).map(e=>typeof e==`function`?e(this.view):e)}scrollIntoView(e){if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=t.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let t of this.view.state.facet(Fk))try{if(t(this.view,e.range,e))return!0}catch(e){OO(this.view.state,e,`scroll handler`)}let{range:t}=e,n=this.coordsAt(t.head,t.assoc||(t.head>t.anchor?-1:1)),r;if(!n)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let i=kO(this.view),a={left:n.left-i.left,top:n.top-i.top,right:n.right+i.right,bottom:n.bottom+i.bottom},{offsetWidth:o,offsetHeight:s}=this.view.scrollDOM;if(eat(this.view.scrollDOM,a,t.head<t.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,o),-o),Math.max(Math.min(e.yMargin,s),-s),this.view.textDirection==_k.LTR),window.visualViewport&&window.innerHeight-window.visualViewport.height>1&&(n.top>window.visualViewport.offsetTop+window.visualViewport.height||n.bottom<window.visualViewport.offsetTop)){let e=this.view.docView.lineAt(t.head,1);if(e){let t=nat(e.dom);e.dom.scrollIntoView({block:`nearest`}),rat(t,!1)}}}lineHasWidget(e){let t=e=>e.isWidget()||e.children.some(t);return t(this.tile.resolveBlock(e,1).tile)}destroy(){jO(this.tile)}},gst=class{constructor(){this.changes=[]}compareRange(e,t){mO(e,t,this.changes)}comparePoint(e,t){mO(e,t,this.changes)}boundChange(e){mO(e,e,this.changes)}},_st=class{constructor(){this.changes=[]}compareRange(e,t){mO(e,t,this.changes)}comparePoint(){}boundChange(e){mO(e,e,this.changes)}},mA=class extends ok{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement(`div`);return e.className=`cm-gap`,this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+`px`,!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}},hA=class{constructor(e,t){this.pos=e,this.assoc=t}},vst=class{constructor(e,t,n,r){this.view=e,this.x=t,this.y=n,this.baseDir=r,this.line=null,this.spans=null}bidiSpansAt(e){return(!this.line||this.line.from>e||this.line.to<e)&&(this.line=this.view.state.doc.lineAt(e),this.spans=this.view.bidiSpans(this.line)),this}baseDirAt(e,t){let{line:n,spans:r}=this.bidiSpansAt(e);return r[Sk.find(r,e-n.from,-1,t)].level==this.baseDir}dirAt(e,t){let{line:n,spans:r}=this.bidiSpansAt(e);return r[Sk.find(r,e-n.from,-1,t)].dir}bidiIn(e,t){let{spans:n,line:r}=this.bidiSpansAt(e);return n.length>1||n.length&&(n[0].level!=this.baseDir||n[0].to+r.from<t)}scan(e,t,n=!1){let r=0,i=e.length-1,a=new Set,o=this.bidiIn(e[0],e[i]),s,c,l=-1,u=1e9,d;search:for(;r<i;){let n=i-r,f=r+i>>1;adjust:if(a.has(f)){for(let e=1;e<n;e++){let t=f+e;if(t>=i&&(t-=n),!a.has(t)){f=t;break adjust}}break search}a.add(f);let p=t(f),m=0;if(p)for(let e=0;e<p.length;e++){let t=p[e];if(!(t.width==0&&p.length>1)){if(t.bottom<this.y)(!s||s.bottom<t.bottom)&&(s=t),m=1;else if(t.top>this.y)(!c||c.top>t.top)&&(c=t),m=-1;else{let e=t.left>this.x?this.x-t.left:t.right<this.x?this.x-t.right:0,n=Math.abs(e);n<u&&(l=f,u=n,d=t),e&&(m=e<0==(this.baseDir==_k.LTR)?-1:1)}}}m==-1&&(!o||this.baseDirAt(e[f],1))?i=f:m==1&&(!o||this.baseDirAt(e[f+1],-1))&&(r=f+1)}if(!d){if(!c&&!s)return{i:0,after:!1};let n=s&&(!c||this.y-s.bottom<c.top-this.y)?s:c;return this.y=(n.top+n.bottom)/2,this.scan(e,t,!0)}if(u&&!n){let{top:n,bottom:r}=d;if(s&&s.bottom>(n+n+r)/3)return this.y=s.bottom-1,this.scan(e,t,!0);if(c&&c.top<(n+r+r)/3)return this.y=c.top+1,this.scan(e,t,!0)}let f=(o?this.dirAt(e[l],1):this.baseDir)==_k.LTR;return{i:l,after:this.x>(d.left+d.right)/2==f}}scanText(e,t){let n=[];for(let r=0;r<e.length;r=HE(e.text,r))n.push(t+r);n.push(t+e.length);let r=this.scan(n,r=>{let i=n[r]-t,a=n[r+1]-t;return wO(e.dom,i,a).getClientRects()});return r.after?new hA(n[r.i+1],-1):new hA(n[r.i],1)}scanTile(e,t){if(!e.length)return new hA(t,1);if(e.children.length==1){let n=e.children[0];if(n.isText())return this.scanText(n,t);if(n.isComposite())return this.scanTile(n,t)}let n=[t];for(let r=0,i=t;r<e.children.length;r++)n.push(i+=e.children[r].length);let r=this.scan(n,t=>{let n=e.children[t];return n.flags&48?null:(pk(n.dom)?n.dom:wO(n.dom,0,n.length)).getClientRects()}),i=e.children[r.i],a=n[r.i];return i.isText()?this.scanText(i,a):i.isComposite()?this.scanTile(i,a):r.after?new hA(n[r.i+1],-1):new hA(a,1)}},gA=`￿`,yst=class{constructor(e,t){this.points=e,this.view=t,this.text=``,this.lineSeparator=t.state.facet(qD.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=gA}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let e=this.text.length;this.readNode(r);let i=eA.get(r),a=r.nextSibling;if(a==t){i?.breakAfter&&!a&&n!=this.view.contentDOM&&this.lineBreak();break}let o=eA.get(a);(i&&o?i.breakAfter:(i?i.breakAfter:xO(r))||xO(a)&&(r.nodeName!=`BR`||i?.isWidget())&&this.text.length>e)&&!Gat(a,t)&&this.lineBreak(),r=a}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,a=1,o;if(this.lineSeparator?(i=t.indexOf(this.lineSeparator,n),a=this.lineSeparator.length):(o=r.exec(t))&&(i=o.index,a=o[0].length),this.append(t.slice(n,i<0?t.length:i)),i<0)break;if(this.lineBreak(),a>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=a-1);n=i+a}}readNode(e){let t=eA.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else mk(e)?this.readTextNode(e):e.nodeName==`BR`?e.nextSibling&&this.lineBreak():pk(e)&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(mk(e)?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Wat(e,n.node,n.offset)?t:0))}},_A=class{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}},bst=class{constructor(e,t,n,r){this.typeOver=r,this.bounds=null,this.text=``,this.domChanged=t>-1;let{impreciseHead:i,impreciseAnchor:a}=e.docView,o=e.state.selection;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=Kat(e.docView.tile,t,n,0))){let t=i||a?[]:Xat(e),n=new yst(t,e);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=Zat(t,this.bounds.from)}else{let t=e.observer.selectionRange,n=i&&i.node==t.focusNode&&i.offset==t.focusOffset||!gO(e.contentDOM,t.focusNode)?o.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=a&&a.node==t.anchorNode&&a.offset==t.anchorOffset||!gO(e.contentDOM,t.anchorNode)?o.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),s=e.viewport;if((ik.ios||ik.chrome)&&n!=r&&Math.min(n,r)<=o.main.from&&Math.max(n,r)>=o.main.to&&(s.from>0||s.to<e.state.doc.length)){let t=Math.min(n,r),i=Math.max(n,r),a=s.from-t,o=s.to-i;(a==0||a==1||t==0)&&(o==0||o==-1||i==e.state.doc.length)&&(n=0,r=e.state.doc.length)}if(e.inputState.composing>-1&&o.ranges.length>1)this.newSel=o.replaceRange(CD.range(r,n));else if(e.lineWrapping&&r==n&&!(o.main.empty&&o.main.head==n)&&e.inputState.lastTouchTime>Date.now()-100){let t=e.coordsAtPos(n,-1),r=0;t&&(r=e.inputState.lastTouchY<=t.bottom?-1:1),this.newSel=CD.create([CD.cursor(n,r)])}else this.newSel=CD.single(r,n)}}},xst=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.touchActive=!1,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.lastIOSMomentumScroll=0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText=``,this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,ik.safari&&e.contentDOM.addEventListener(`input`,()=>null),ik.gecko&&_ot(e.contentDOM.ownerDocument)}handleEvent(e){aot(this.view,e)&&!this.ignoreDuringComposition(e)&&(e.type==`keydown`&&this.keydown(e)||(this.view.updateState==0?this.runHandlers(e.type,e):Promise.resolve().then(()=>this.runHandlers(e.type,e))))}runHandlers(e,t){let n=this.handlers[e];if(n){for(let e of n.observers)e(this.view,t);for(let e of n.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=eot(e),n=this.handlers,r=this.view.contentDOM;for(let e in t)if(e!=`scroll`){let i=!t[e].handlers.length,a=n[e];a&&i!=!a.handlers.length&&(r.removeEventListener(e,this.handleEvent),a=null),a||r.addEventListener(e,this.handleEvent,{passive:i})}for(let e in n)e!=`scroll`&&!t[e]&&r.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&yA.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),ik.android&&ik.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;if(ik.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&(vA.some(t=>t.keyCode==e.keyCode)&&!e.ctrlKey||Sst.indexOf(e.key)>-1&&e.ctrlKey)){let t={ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey,shiftKey:e.shiftKey};t.shiftKey&&ik.ios&&!/^(off|none)$/.test(this.view.contentDOM.autocapitalize)&&Qat(this.view.win)&&(t.shiftKey=!1);let n=this.pendingIOSKey={key:e.key,keyCode:e.keyCode,mods:t};return setTimeout(()=>{this.pendingIOSKey==n&&this.flushIOSKey()},50),!0}return e.keyCode!=229&&this.view.observer.forceFlush(),!1}flushIOSKey(e){let t=this.pendingIOSKey;return!t||this.view.observer.pendingRecords().length||t.key==`Enter`&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,TO(this.view.contentDOM,t.key,t.keyCode,t.mods))}ignoreDuringComposition(e){return!/^key/.test(e.type)||e.synthetic?!1:this.composing>0?!0:ik.safari&&!ik.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}},vA=[{key:`Backspace`,keyCode:8,inputType:`deleteContentBackward`},{key:`Enter`,keyCode:13,inputType:`insertParagraph`},{key:`Enter`,keyCode:13,inputType:`insertLineBreak`},{key:`Delete`,keyCode:46,inputType:`deleteContentForward`}],Sst=`dthko`,yA=[16,17,18,20,91,92,224,225],bA=6,Cst=class{constructor(e,t,n,r){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=tat(e.contentDOM),this.atoms=e.state.facet(Jk).map(t=>t(e));let i=e.contentDOM.ownerDocument;i.addEventListener(`mousemove`,this.move=this.move.bind(this)),i.addEventListener(`mouseup`,this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(qD.allowMultipleSelections)&&not(e,t),this.dragging=iot(e,t)&&lot(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&tot(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let t=0,n=0,r=0,i=0,a=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:a}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:i,bottom:o}=this.scrollParents.y.getBoundingClientRect());let s=kO(this.view);e.clientX-s.left<=r+bA?t=-LO(r-e.clientX):e.clientX+s.right>=a-bA&&(t=LO(e.clientX-a)),e.clientY-s.top<=i+bA?n=-LO(i-e.clientY):e.clientY+s.bottom>=o-bA&&(n=LO(e.clientY-o)),this.setScrollSpeed(t,n)}up(e){this.dragging??this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener(`mousemove`,this.move),e.removeEventListener(`mouseup`,this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),this.dragging===!1&&this.select(this.lastEvent)}select(e){let{view:t}=this,n=Uat(this.atoms,this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,userEvent:`select.pointer`}),this.mustSelect=!1}update(e){e.transactions.some(e=>e.isUserEvent(`input.type`))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}},xA=Object.create(null),SA=Object.create(null),CA=ik.ie&&ik.ie_version<15||ik.ios&&ik.webkit_version<604,SA.scroll=e=>{let t=e.inputState;t.lastScrollTop=e.scrollDOM.scrollTop,t.lastScrollLeft=e.scrollDOM.scrollLeft,ik.ios&&!t.touchActive&&(t.lastIOSMomentumScroll=Date.now())},SA.wheel=SA.mousewheel=e=>{e.inputState.lastWheelEvent=Date.now()},xA.keydown=(e,t)=>(e.inputState.setSelectionOrigin(`select`),t.keyCode==27&&e.inputState.tabFocusMode!=0&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),SA.touchstart=(e,t)=>{let n=e.inputState,r=t.targetTouches[0];n.touchActive=!0,n.lastTouchTime=Date.now(),r&&(n.lastTouchX=r.clientX,n.lastTouchY=r.clientY),n.setSelectionOrigin(`select.pointer`)},SA.touchmove=e=>{e.inputState.setSelectionOrigin(`select.pointer`)},SA.touchend=(e,t)=>{e.inputState.touchActive=!1},xA.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(Dk))if(n=r(e,t),n)break;if(!n&&t.button==0&&(n=uot(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new Cst(e,t,n,r)),r&&e.observer.ignore(()=>{iat(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()});let i=e.inputState.mouseSelection;if(i)return i.start(t),i.dragging===!1}else e.inputState.setSelectionOrigin(`select.pointer`);return!1},wst=ik.ie&&ik.ie_version<=11,wA=null,TA=0,EA=0,xA.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let r=e.docView.tile.nearest(t.target);if(r&&r.isWidget()){let e=r.posAtStart,t=e+r.length;(e>=n.to||t<=n.from)&&(n=CD.undirectionalRange(e,t))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData(`Text`,RO(e.state,Nk,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed=`copyMove`),!1},xA.dragend=e=>(e.inputState.draggedContent=null,!1),xA.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,a=()=>{++i==n.length&&fot(e,t,r.filter(e=>e!=null).join(e.state.lineBreak),!1)};for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=a,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),a()},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData(`Text`);if(n)return fot(e,t,n,!0),!0}return!1},xA.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=CA?null:t.clipboardData;return n?(sot(e,n.getData(`text/plain`)||n.getData(`text/uri-list`)),!0):(oot(e),!1)},DA=null,xA.copy=xA.cut=(e,t)=>{if(!_O(e.contentDOM,e.observer.selectionRange))return!1;let{text:n,ranges:r,linewise:i}=mot(e.state);if(!n&&!i)return!1;DA=i?n:null,t.type==`cut`&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:`delete.cut`});let a=CA?null:t.clipboardData;return a?(a.clearData(),a.setData(`text/plain`,n),!0):(pot(e,n),!1)},OA=HD.define(),SA.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),got(e)},SA.blur=e=>{e.observer.clearSelectionRange(),got(e)},SA.compositionstart=SA.compositionupdate=(e,t)=>{if(!e.observer.editContext&&(e.inputState.compositionFirstChange??(e.inputState.compositionFirstChange=!0),e.inputState.composing<0)){let{main:t}=e.state.selection;!t.empty&&e.lineBlockAt(t.from).from!=e.lineBlockAt(t.to).from&&!e.state.readOnly&&e.dispatch({changes:e.state.selection.ranges.filter(e=>!e.empty).map(e=>({from:e.from,to:e.to})),userEvent:`input`}),e.inputState.composing=0}},SA.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,ik.chrome&&ik.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},SA.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},xA.beforeinput=(e,t)=>{if((t.inputType==`insertText`||t.inputType==`insertCompositionText`)&&(e.inputState.insertingText=t.data,e.inputState.insertingTextAt=Date.now()),t.inputType==`insertReplacementText`&&e.observer.editContext){let n=t.dataTransfer?.getData(`text/plain`),r=t.getTargetRanges();if(n&&r.length){let t=r[0];return FO(e,{from:e.posAtDOM(t.startContainer,t.startOffset),to:e.posAtDOM(t.endContainer,t.endOffset),insert:e.state.toText(n)},null),!0}}let n;if(ik.chrome&&ik.android&&(n=vA.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(n.key,n.keyCode),n.key==`Backspace`||n.key==`Delete`)){let t=window.visualViewport?.height||0;setTimeout(()=>{(window.visualViewport?.height||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return ik.ios&&t.inputType==`deleteContentForward`&&e.observer.flushSoon(),ik.safari&&t.inputType==`insertText`&&e.inputState.composing>=0&&setTimeout(()=>SA.compositionend(e,t),20),!1},kA=new Set,AA=[`pre-wrap`,`normal`,`pre-line`,`break-spaces`],jA=!1,Tst=class{constructor(e){this.lineWrapping=e,this.doc=dD.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return AA.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];r<0?n++:this.heightSamples[Math.floor(r*10)]||(t=!0,this.heightSamples[Math.floor(r*10)]=!0)}return t}refresh(e,t,n,r,i,a){let o=AA.indexOf(e)>-1,s=Math.abs(t-this.lineHeight)>.3||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=i,s){this.heightSamples={};for(let e=0;e<a.length;e++){let t=a[e];t<0?e++:this.heightSamples[Math.floor(t*10)]=!0}}return s}},Est=class{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}},MA=class e{constructor(e,t,n,r,i){this.from=e,this.length=t,this.top=n,this.height=r,this._content=i}get type(){return typeof this._content==`number`?sk.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof dk?this._content.widget:null}get widgetLineBreaks(){return typeof this._content==`number`?this._content:0}join(t){let n=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new e(this.from,this.length+t.length,this.top,this.height+t.height,n)}},NA=(function(e){return e[e.ByPos=0]=`ByPos`,e[e.ByHeight=1]=`ByHeight`,e[e.ByPosNoHeight=2]=`ByPosNoHeight`,e})(NA||={}),PA=.001,FA=class e{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>PA&&(jA=!0),this.height=e)}replace(t,n,r){return e.of(r)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let i=this,a=n.doc;for(let o=r.length-1;o>=0;o--){let{fromA:s,toA:c,fromB:l,toB:u}=r[o],d=i.lineAt(s,NA.ByPosNoHeight,n.setDoc(t),0,0),f=d.to>=c?d:i.lineAt(c,NA.ByPosNoHeight,n,0,0);for(u+=f.to-c,c=f.to;o>0&&d.from<=r[o-1].toA;)s=r[o-1].fromA,l=r[o-1].fromB,o--,s<d.from&&(d=i.lineAt(s,NA.ByPosNoHeight,n,0,0));l+=d.from-s,s=d.from;let p=Ast.build(n.setDoc(a),e,l,u);i=zO(i,i.replace(s,c,p))}return i.updateHeight(n,0)}static empty(){return new LA(0,0,0)}static of(t){if(t.length==1)return t[0];let n=0,r=t.length,i=0,a=0;for(;;)if(n==r){if(i>a*2){let e=t[n-1];e.break?t.splice(--n,1,e.left,null,e.right):t.splice(--n,1,e.left,e.right),r+=1+e.break,i-=e.size}else if(a>i*2){let e=t[r];e.break?t.splice(r,1,e.left,null,e.right):t.splice(r,1,e.left,e.right),r+=2+e.break,a-=e.size}else break}else if(i<a){let e=t[n++];e&&(i+=e.size)}else{let e=t[--r];e&&(a+=e.size)}let o=!1;return t[n-1]==null?(o=!0,n--):t[n]??(o=!0,r++),new Ost(e.of(t.slice(0,n)),o,e.of(t.slice(r)))}},FA.prototype.size=1,Dst=ck.replace({}),IA=class extends FA{constructor(e,t,n){super(e,t),this.deco=n,this.spaceAbove=0}mainBlock(e,t){return new MA(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(e,t,n,r){return this.spaceAbove&&e<n+this.spaceAbove?new MA(r,0,n,this.spaceAbove,Dst):this.mainBlock(n,r)}lineAt(e,t,n,r,i){let a=this.mainBlock(r,i);return this.spaceAbove?this.blockAt(0,n,r,i).join(a):a}forEachLine(e,t,n,r,i,a){e<=i+this.length&&t>=i&&a(this.lineAt(0,NA.ByPos,n,r,i))}setMeasuredHeight(e){let t=e.heights[e.index++];t<0?(this.spaceAbove=-t,t=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(t)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more&&this.setMeasuredHeight(r),this.outdated=!1,this}toString(){return`block(${this.length})`}},LA=class e extends IA{constructor(e,t,n){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,t){return new MA(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(t,n,r){let i=r[0];return r.length==1&&(i instanceof e||i instanceof RA&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof RA?i=new e(i.length,this.height,this.spaceAbove):i.height=this.height,this.outdated||(i.outdated=!1),i):FA.of(r)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setMeasuredHeight(r):(n||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:``}${this.widgetHeight?`:`+this.widgetHeight:``})`}},RA=class e extends FA{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,i=r-n+1,a,o=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*i);a=t/i,this.length>i+1&&(o=(this.height-t)/(this.length-i-1))}else a=this.height/i;return{firstLine:n,lastLine:r,perLine:a,perChar:o}}blockAt(e,t,n,r){let{firstLine:i,lastLine:a,perLine:o,perChar:s}=this.heightMetrics(t,r);if(t.lineWrapping){let i=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),a=t.doc.lineAt(i),c=o+a.length*s,l=Math.max(n,e-c/2);return new MA(a.from,a.length,l,c,0)}{let r=Math.max(0,Math.min(a-i,Math.floor((e-n)/o))),{from:s,length:c}=t.doc.line(i+r);return new MA(s,c,n+o*r,o,0)}}lineAt(e,t,n,r,i){if(t==NA.ByHeight)return this.blockAt(e,n,r,i);if(t==NA.ByPosNoHeight){let{from:t,to:r}=n.doc.lineAt(e);return new MA(t,r-t,0,0,0)}let{firstLine:a,perLine:o,perChar:s}=this.heightMetrics(n,i),c=n.doc.lineAt(e),l=o+c.length*s,u=c.number-a,d=r+o*u+s*(c.from-i-u);return new MA(c.from,c.length,Math.max(r,Math.min(d,r+this.height-l)),l,0)}forEachLine(e,t,n,r,i,a){e=Math.max(e,i),t=Math.min(t,i+this.length);let{firstLine:o,perLine:s,perChar:c}=this.heightMetrics(n,i);for(let l=e,u=r;l<=t;){let t=n.doc.lineAt(l);if(l==e){let n=t.number-o;u+=s*n+c*(e-i-n)}let r=s+c*t.length;a(new MA(t.from,t.length,u,r,0)),u+=r,l=t.to+1}}replace(t,n,r){let i=this.length-n;if(i>0){let t=r[r.length-1];t instanceof e?r[r.length-1]=new e(t.length+i):r.push(null,new e(i-1))}if(t>0){let n=r[0];n instanceof e?r[0]=new e(t+n.length):r.unshift(new e(t-1),null)}return FA.of(r)}decomposeLeft(t,n){n.push(new e(t-1),null)}decomposeRight(t,n){n.push(null,new e(this.length-t-1))}updateHeight(t,n=0,r=!1,i){let a=n+this.length;if(i&&i.from<=n+this.length&&i.more){let r=[],o=Math.max(n,i.from),s=-1;for(i.from>n&&r.push(new e(i.from-n-1).updateHeight(t,n));o<=a&&i.more;){let e=t.doc.lineAt(o).length;r.length&&r.push(null);let n=i.heights[i.index++],a=0;n<0&&(a=-n,n=i.heights[i.index++]),s==-1?s=n:Math.abs(n-s)>=PA&&(s=-2);let c=new LA(e,n,a);c.outdated=!1,r.push(c),o+=e+1}o<=a&&r.push(null,new e(a-o).updateHeight(t,o));let c=FA.of(r);return(s<0||Math.abs(c.height-this.height)>=PA||Math.abs(s-this.heightMetrics(t,n).perLine)>=PA)&&(jA=!0),zO(this,c)}return(r||this.outdated)&&(this.setHeight(t.heightForGap(n,n+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}},Ost=class extends FA{constructor(e,t,n){super(e.length+ +!!t+n.length,e.height+n.height,+!!t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,r){let i=n+this.left.height;return e<i?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,i,r+this.left.length+this.break)}lineAt(e,t,n,r,i){let a=r+this.left.height,o=i+this.left.length+this.break,s=t==NA.ByHeight?e<a:e<o,c=s?this.left.lineAt(e,t,n,r,i):this.right.lineAt(e,t,n,a,o);if(this.break||(s?c.to<o:c.from>o))return c;let l=t==NA.ByPosNoHeight?NA.ByPosNoHeight:NA.ByPos;return s?c.join(this.right.lineAt(o,l,n,a,o)):this.left.lineAt(o,l,n,r,i).join(c)}forEachLine(e,t,n,r,i,a){let o=r+this.left.height,s=i+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,i,a),t>=s&&this.right.forEachLine(e,t,n,o,s,a);else{let c=this.lineAt(s,NA.ByPos,n,r,i);e<c.from&&this.left.forEachLine(e,Math.min(t,c.from-1),n,r,i,a),c.to>=e&&c.from<=t&&a(c),t>c.to&&this.right.forEachLine(Math.max(e,c.to+1),t,n,o,s,a)}}replace(e,t,n){let r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));let i=[];e>0&&this.decomposeLeft(e,i);let a=i.length;for(let e of n)i.push(e);if(e>0&&yot(i,a-1),t<this.length){let e=i.length;this.decomposeRight(t,i),yot(i,e)}return FA.of(i)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<r&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?FA.of(this.break?[e,null,t]:[e,t]):(this.left=zO(this.left,e),this.right=zO(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,r){let{left:i,right:a}=this,o=t+i.length+this.break,s=null;return r&&r.from<=t+i.length&&r.more?s=i=i.updateHeight(e,t,n,r):i.updateHeight(e,t,n),r&&r.from<=o+a.length&&r.more?s=a=a.updateHeight(e,o,n,r):a.updateHeight(e,o,n),s?this.balanced(i,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?` `:`-`)+this.right}},kst=5,Ast=class e{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof LA?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new LA(e-this.pos,-1,0)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let r=n.widget?n.widget.estimatedHeight:0,i=n.widget?n.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let a=t-e;n.block?this.addBlock(new IA(a,r,n)):(a||i||r>=kst)&&this.addLineDeco(r,i,a)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new LA(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,t){let n=new RA(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof LA)return e;let t=new LA(0,-1,0);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos+=e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos+=n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof LA)&&!this.isCovered?this.nodes.push(new LA(0,-1,0)):(this.writtenTo<this.pos||t==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let e of this.nodes)e instanceof LA&&e.updateHeight(this.oracle,n),n+=e?e.length:1;return this.nodes}static build(t,n,r,i){let a=new e(r,t);return XD.spans(n,r,i,a,0),a.finish(r)}},jst=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&mO(e,t,this.changes,5)}},zA=class{constructor(e,t,n,r){this.from=e,this.to=t,this.size=n,this.displaySize=r}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.size!=i.size)return!1}return!0}draw(e,t){return ck.replace({widget:new Mst(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}},Mst=class extends ok{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement(`div`);return this.vertical?e.style.height=this.size+`px`:(e.style.width=this.size+`px`,e.style.height=`2px`,e.style.display=`inline-block`),e}get estimatedHeight(){return this.vertical?this.size:-1}},BA=class{constructor(e,t){this.view=e,this.state=t,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scaleX=1,this.scaleY=1,this.scrollOffset=0,this.scrolledToBottom=!1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=HA,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=_k.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let n=t.facet(Wk).some(e=>typeof e!=`function`&&e.class==`cm-lineWrapping`);this.heightOracle=new Tst(n),this.stateDeco=Eot(t),this.heightMap=FA.empty().applyChanges(this.stateDeco,dD.empty,this.heightOracle.setDoc(t.doc),[new Qk(0,0,0,t.doc.length)]);for(let e=0;e<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());e++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ck.set(this.lineGaps.map(e=>e.draw(this,!1))),this.scrollParent=e.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let r=n?t.head:t.anchor;if(!e.some(({from:e,to:t})=>r>=e&&r<=t)){let{from:t,to:n}=this.lineBlockAt(r);e.push(new VA(t,n))}}return this.viewports=e.sort((e,t)=>e.from-t.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?HA:new Nst(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(HO(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=Eot(this.state);let r=e.changedRanges,i=Qk.extendWithRanges(r,bot(n,this.stateDeco,e?e.changes:bD.empty(this.state.doc.length))),a=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);vot(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=a||jA)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=a);let s=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<s.from||t.range.head>s.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t));let c=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&(e.selectionSet||e.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(sst)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:e}=this,t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection=n.direction==`rtl`?_k.RTL:_k.LTR;let a=this.heightOracle.mustRefreshForWrapping(i)||this.mustMeasureContent===`refresh`,o=t.getBoundingClientRect(),s=a||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,l=0;if(o.width&&o.height){let{scaleX:e,scaleY:n}=$it(t,o);(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,this.scaleY=n,c|=16,a=s=!0)}let u=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=u||this.paddingBottom!=d)&&(this.paddingTop=u,this.paddingBottom=d,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let f=tat(this.view.contentDOM,!1).y;f!=this.scrollParent&&(this.scrollParent=f,this.scrollAnchorHeight=-1,this.scrollOffset=0);let p=this.getScrollOffset();this.scrollOffset!=p&&(this.scrollAnchorHeight=-1,this.scrollOffset=p),this.scrolledToBottom=sat(this.scrollParent||e.win);let m=(this.printing?Cot:xot)(t,this.paddingTop),h=m.top-this.pixelViewport.top,g=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let _=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(_!=this.inView&&(this.inView=_,_&&(s=!0)),!this.inView&&!this.scrollTarget&&!Sot(e.dom))return 0;let v=o.width;if((this.contentDOMWidth!=v||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),s){let t=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(t)&&(a=!0),a||r.lineWrapping&&Math.abs(v-this.contentDOMWidth)>r.charWidth){let{lineHeight:n,charWidth:o,textHeight:s}=e.docView.measureTextSize();a=n>0&&r.refresh(i,n,o,s,Math.max(5,v/o),t),a&&(e.docView.minWidth=0,c|=16)}h>0&&g>0?l=Math.max(h,g):h<0&&g<0&&(l=Math.min(h,g)),vot();for(let n of this.viewports){let i=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(a?FA.empty().applyChanges(this.stateDeco,dD.empty,this.heightOracle,[new Qk(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,a,new Est(n.from,i))}jA&&(c|=2)}let y=!this.viewportIsAppropriate(this.viewport,l)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return y&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(l,this.scrollTarget),c|=this.updateForViewport()),(c&2||y)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,i=this.heightOracle,{visibleTop:a,visibleBottom:o}=this,s=new VA(r.lineAt(a-n*1e3,NA.ByHeight,i,0,0).from,r.lineAt(o+(1-n)*1e3,NA.ByHeight,i,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let n=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),a=r.lineAt(e,NA.ByPos,i,0,0),o;o=t.y==`center`?(a.top+a.bottom)/2-n/2:t.y==`start`||t.y==`nearest`&&e<s.from?a.top:a.bottom-n,s=new VA(r.lineAt(o-500,NA.ByHeight,i,0,0).from,r.lineAt(o+n+500,NA.ByHeight,i,0,0).to)}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new VA(this.heightMap.lineAt(n,NA.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,NA.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,NA.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(t,NA.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:o}=this;return(e==0||r<=a-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||i>=o+Math.max(10,Math.min(n,250)))&&r>a-2e3&&i<o+2e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let r of e)t.touchesRange(r.from,r.to)||n.push(new zA(t.mapPos(r.from),t.mapPos(r.to),r.size,r.displaySize));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,i=r>>1,a=r<<1;if(this.defaultTextDirection!=_k.LTR&&!n)return[];let o=[],s=(r,a,c,l)=>{if(a-r<i)return;let u=this.state.selection.main,d=[u.from];u.empty||d.push(u.to);for(let e of d)if(e>r&&e<a){s(r,e-10,c,l),s(e+10,a,c,l);return}let f=Tot(e,e=>e.from>=c.from&&e.to<=c.to&&Math.abs(e.from-r)<i&&Math.abs(e.to-a)<i&&!d.some(t=>e.from<t&&e.to>t));if(!f){if(a<c.to&&t&&n&&t.visibleRanges.some(e=>e.from<=a&&e.to>=a)){let e=t.moveToLineBoundary(CD.cursor(a),!1,!0).head;e>r&&(a=e)}let e=this.gapSize(c,r,a,l);f=new zA(r,a,e,n||e<2e6?e:2e6)}o.push(f)},c=t=>{if(t.length<a||t.type!=sk.Text)return;let i=wot(t.from,t.to,this.stateDeco);if(i.total<a)return;let o=this.scrollTarget?this.scrollTarget.range.head:null,c,l;if(n){let e=r/this.heightOracle.lineLength*this.heightOracle.lineHeight,n,a;if(o!=null){let r=VO(i,o),s=((this.visibleBottom-this.visibleTop)/2+e)/t.height;n=r-s,a=r+s}else n=(this.visibleTop-t.top-e)/t.height,a=(this.visibleBottom-t.top+e)/t.height;c=BO(i,n),l=BO(i,a)}else{let n=i.total*this.heightOracle.charWidth,a=r*this.heightOracle.charWidth,s=0;if(n>2e6)for(let n of e)n.from>=t.from&&n.from<t.to&&n.size!=n.displaySize&&n.from*this.heightOracle.charWidth+s<this.pixelViewport.left&&(s=n.size-n.displaySize);let u=this.pixelViewport.left+s,d=this.pixelViewport.right+s,f,p;if(o!=null){let e=VO(i,o),t=((d-u)/2+a)/n;f=e-t,p=e+t}else f=(u-a)/n,p=(d+a)/n;c=BO(i,f),l=BO(i,p)}c>t.from&&s(t.from,c,t,i),l<t.to&&s(l,t.to,t,i)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(c):c(e);return o}gapSize(e,t,n,r){let i=VO(r,n)-VO(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}updateLineGaps(e){zA.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=ck.set(e.map(e=>e.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];XD.spans(t,this.viewport.from,this.viewport.to,{span(e,t){n.push({from:e,to:t})},point(){}},20);let r=0;if(n.length!=this.visibleRanges.length)r=12;else for(let t=0;t<n.length&&!(r&8);t++){let i=this.visibleRanges[t],a=n[t];(i.from!=a.from||i.to!=a.to)&&(r|=4,e&&e.mapPos(i.from,-1)==a.from&&e.mapPos(i.to,1)==a.to||(r|=8))}return this.visibleRanges=n,r}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||HO(this.heightMap.lineAt(e,NA.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||HO(this.heightMap.lineAt(this.scaler.fromDOM(e),NA.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop*this.scaleY:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return HO(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}},VA=class{constructor(e,t){this.from=e,this.to=t}},HA={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}},Nst=class e{constructor(e,t,n){let r=0,i=0,a=0;this.viewports=n.map(({from:n,to:i})=>{let a=t.lineAt(n,NA.ByPos,e,0,0).top,o=t.lineAt(i,NA.ByPos,e,0,0).bottom;return r+=o-a,{from:n,to:i,top:a,bottom:o,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let e of this.viewports)e.domTop=a+(e.top-i)*this.scale,a=e.domBottom=e.domTop+(e.bottom-e.top),i=e.bottom}toDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.top)return r+(e-n)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);n=i.bottom,r=i.domBottom}}fromDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.domTop)return n+(e-r)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);n=i.bottom,r=i.domBottom}}eq(t){return t instanceof e&&this.scale==t.scale&&this.viewports.length==t.viewports.length&&this.viewports.every((e,n)=>e.from==t.viewports[n].from&&e.to==t.viewports[n].to)}},UA=TD.define({combine:e=>e.join(` `)}),WA=TD.define({combine:e=>e.indexOf(!0)>-1}),GA=oO.newName(),KA=oO.newName(),qA=oO.newName(),JA={"&light":`.`+KA,"&dark":`.`+qA},Pst=UO(`.`+GA,{"&":{position:`relative !important`,boxSizing:`border-box`,"&.cm-focused":{outline:`1px dotted #212121`},display:`flex !important`,flexDirection:`column`},".cm-scroller":{display:`flex !important`,alignItems:`flex-start !important`,fontFamily:`monospace`,lineHeight:1.4,height:`100%`,overflowX:`auto`,position:`relative`,zIndex:0,overflowAnchor:`none`},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:`block`,whiteSpace:`pre`,wordWrap:`normal`,boxSizing:`border-box`,minHeight:`100%`,padding:`4px 0`,outline:`none`,"&[contenteditable=true]":{WebkitUserModify:`read-write-plaintext-only`}},".cm-lineWrapping":{whiteSpace_fallback:`pre-wrap`,whiteSpace:`break-spaces`,wordBreak:`break-word`,overflowWrap:`anywhere`,flexShrink:1},"&light .cm-content":{caretColor:`black`},"&dark .cm-content":{caretColor:`white`},".cm-line":{display:`block`,padding:`0 2px 0 6px`},".cm-layer":{userSelect:`none`,position:`absolute`,left:0,top:0,contain:`size style`,"& > *":{position:`absolute`}},"&light .cm-selectionBackground":{background:`#d9d9d9`},"&dark .cm-selectionBackground":{background:`#222`},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:`#d7d4f0`},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:`#233`},".cm-cursorLayer":{pointerEvents:`none`},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:`steps(1) cm-blink 1.2s infinite`},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:`1.2px solid black`,marginLeft:`-0.6px`,pointerEvents:`none`},".cm-cursor":{display:`none`},"&dark .cm-cursor":{borderLeftColor:`#ddd`},".cm-selectionHandle":{backgroundColor:`currentColor`,width:`1.5px`},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:`""`,backgroundColor:`inherit`,borderRadius:`50%`,width:`8px`,height:`8px`,position:`absolute`,left:`-3.25px`},".cm-selectionHandle-start::before":{top:`-8px`},".cm-selectionHandle-end::before":{bottom:`-8px`},".cm-dropCursor":{position:`absolute`},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:`block`},".cm-iso":{unicodeBidi:`isolate`},".cm-announced":{position:`fixed`,top:`-10000px`},"@media print":{".cm-announced":{display:`none`}},"&light .cm-activeLine":{backgroundColor:`#cceeff44`},"&dark .cm-activeLine":{backgroundColor:`#99eeff33`},"&light .cm-specialChar":{color:`red`},"&dark .cm-specialChar":{color:`#f78`},".cm-gutters":{flexShrink:0,display:`flex`,height:`100%`,boxSizing:`border-box`,zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:`#f5f5f5`,color:`#6c6c6c`,border:`0px solid #ddd`,"&.cm-gutters-before":{borderRightWidth:`1px`},"&.cm-gutters-after":{borderLeftWidth:`1px`}},"&dark .cm-gutters":{backgroundColor:`#333338`,color:`#ccc`},".cm-gutter":{display:`flex !important`,flexDirection:`column`,flexShrink:0,boxSizing:`border-box`,minHeight:`100%`,overflow:`hidden`},".cm-gutterElement":{boxSizing:`border-box`},".cm-lineNumbers .cm-gutterElement":{padding:`0 3px 0 5px`,minWidth:`20px`,textAlign:`right`,whiteSpace:`nowrap`},"&light .cm-activeLineGutter":{backgroundColor:`#e2f2ff`},"&dark .cm-activeLineGutter":{backgroundColor:`#222227`},".cm-panels":{boxSizing:`border-box`,position:`sticky`,left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:`#f5f5f5`,color:`black`},".cm-panels-top":{top:`0`},".cm-panels-bottom":{bottom:`0`},"&light .cm-panels-top":{borderBottom:`1px solid #ddd`},"&light .cm-panels-bottom":{borderTop:`1px solid #ddd`},"&dark .cm-panels":{backgroundColor:`#333338`,color:`white`},".cm-dialog":{padding:`2px 19px 4px 6px`,position:`relative`,"& label":{fontSize:`80%`}},".cm-dialog-close":{position:`absolute`,top:`3px`,right:`4px`,backgroundColor:`inherit`,border:`none`,font:`inherit`,fontSize:`14px`,padding:`0`},".cm-tab":{display:`inline-block`,overflow:`hidden`,verticalAlign:`bottom`},".cm-widgetBuffer":{verticalAlign:`baseline`,height:`1em`,width:0,display:`inline`},".cm-placeholder":{color:`#888`,display:`inline-block`,verticalAlign:`top`,userSelect:`none`},".cm-highlightSpace":{background:`radial-gradient(circle at 50% 55%, #aaa 20%, transparent 0) no-repeat`,backgroundSize:`.4em`,backgroundPosition:`calc(min(50%, 0px)) center`},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:`auto 100%`,backgroundPosition:`right 90%`,backgroundRepeat:`no-repeat`},".cm-trailingSpace":{backgroundColor:`#ff332255`},".cm-button":{verticalAlign:`middle`,color:`inherit`,fontSize:`70%`,padding:`.2em 1em`,borderRadius:`1px`},"&light .cm-button":{backgroundImage:`linear-gradient(#eff1f5, #d9d9df)`,border:`1px solid #888`,"&:active":{backgroundImage:`linear-gradient(#b4b4b4, #d0d3d6)`}},"&dark .cm-button":{backgroundImage:`linear-gradient(#393939, #111)`,border:`1px solid #888`,"&:active":{backgroundImage:`linear-gradient(#111, #333)`}},".cm-textfield":{verticalAlign:`middle`,color:`inherit`,fontSize:`70%`,border:`1px solid silver`,padding:`.2em .5em`},"&light .cm-textfield":{backgroundColor:`white`},"&dark .cm-textfield":{border:`1px solid #555`,backgroundColor:`inherit`}},JA),Fst={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},YA=ik.ie&&ik.ie_version<=11,Ist=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new nst,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let e of t)this.queue.push(e);(ik.ie&&ik.ie_version<=11||ik.ios&&e.composing)&&t.some(e=>e.type==`childList`&&e.removedNodes.length||e.type==`characterData`&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&ik.android&&e.constructor.EDIT_CONTEXT!==!1&&!(ik.chrome&&ik.chrome_version<126)&&(this.editContext=new Lst(e),e.state.facet(zk)&&(e.contentDOM.editContext=this.editContext.editContext)),YA&&(this.onCharData=e=>{this.queue.push({target:e.target,type:`characterData`,oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia(`print`)),typeof ResizeObserver==`function`&&(this.resizeScroll=new ResizeObserver(()=>{this.view.docView?.lastUpdate<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver==`function`&&(this.intersection=new IntersectionObserver(e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent(`Event`)))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent(`Event`))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers(`scroll`,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type!=`change`&&e.type||e.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(zk)?n.root.activeElement!=this.dom:!_O(this.dom,r))return;let i=r.anchorNode&&n.docView.tile.nearest(r.anchorNode);i&&i.isWidget()&&i.widget.ignoreEvent(e)?t||(this.selectionChanged=!1):(ik.ie&&ik.ie_version<=11||ik.android&&ik.chrome)&&!n.state.selection.main.empty&&r.focusNode&&yO(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=hO(e.root);if(!t)return!1;let n=ik.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&kot(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let r=_O(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&oat(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),r&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(pk(n))!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||=this.scrollTargets.slice(0,e),t&&t.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let e of this.scrollTargets)e.removeEventListener(`scroll`,this.onScroll);for(let e of this.scrollTargets=t)e.addEventListener(`scroll`,this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||=(this.observer.observe(this.dom,Fst),YA&&this.dom.addEventListener(`DOMCharacterDataModified`,this.onCharData),!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),YA&&this.dom.removeEventListener(`DOMCharacterDataModified`,this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){if(!this.delayedAndroidKey){let e=()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&TO(this.dom,e.key,e.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}(!this.delayedAndroidKey||e==`Enter`)&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!this.delayedAndroidKey?.force})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,r=!1;for(let i of e){let e=this.readMutation(i);e&&(e.typeOver&&(r=!0),t==-1?{from:t,to:n}=e:(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{from:t,to:n,typeOver:r}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&_O(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new bst(this.view,e,t,n);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.selectionChanged,n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,i=qat(this.view,n);return this.view.state==r&&(n.domChanged||t)&&this.view.update([]),i}readMutation(e){let t=this.view.docView.tile.nearest(e.target);if(!t||t.isWidget())return null;if(t.markDirty(e.type==`attributes`),e.type==`childList`){let n=Dot(t,e.previousSibling||e.target.previousSibling,-1),r=Dot(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}return e.type==`characterData`?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener(`resize`,this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener(`change`,this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener(`beforeprint`,this.onPrint),e.addEventListener(`scroll`,this.onScroll),e.document.addEventListener(`selectionchange`,this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener(`scroll`,this.onScroll),e.removeEventListener(`resize`,this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener(`change`,this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener(`beforeprint`,this.onPrint),e.document.removeEventListener(`selectionchange`,this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(zk)!=e.state.facet(zk)&&(e.view.contentDOM.editContext=e.state.facet(zk)?this.editContext.editContext:null))}destroy(){var e,t,n;this.stop(),(e=this.intersection)==null||e.disconnect(),(t=this.gapIntersection)==null||t.disconnect(),(n=this.resizeScroll)==null||n.disconnect();for(let e of this.scrollTargets)e.removeEventListener(`scroll`,this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}},Lst=class{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let r=e.state.selection.main,{anchor:i,head:a}=r,o=this.toEditorPos(n.updateRangeStart),s=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:o,drifted:!1});let c=s-o>n.text.length;o==this.from&&i<this.from?o=i:s==this.to&&i>this.to&&(s=i);let l=Yat(e.state.sliceDoc(o,s),n.text,(c?r.from:r.to)-o,c?`end`:null);if(!l){let t=CD.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));IO(t,r)||e.dispatch({selection:t,userEvent:`select`});return}let u={from:l.from+o,to:l.toA+o,insert:dD.of(n.text.slice(l.from,l.toB).split(`
+`))};if((ik.mac||ik.android)&&u.from==a-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute(`autocorrect`)==`off`&&(u={from:o,to:s,insert:dD.of([n.text.replace(`.`,` `)])}),this.pendingContextChange=u,!e.state.readOnly){let t=this.to-this.from+(u.to-u.from+u.insert.length);FO(e,u,CD.single(this.toEditorPos(n.selectionStart,t),this.toEditorPos(n.selectionEnd,t)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),u.from<u.to&&!u.insert.length&&e.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(t.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(t.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let r=[],i=null;for(let t=this.toEditorPos(n.rangeStart),a=this.toEditorPos(n.rangeEnd);t<a;t++){let n=e.coordsForChar(t);i=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||i||new DOMRect,r.push(i)}t.updateCharacterBounds(n.rangeStart,r)},this.handlers.textformatupdate=t=>{let n=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,r=e.underlineThickness;if(!/none/i.test(t)&&!/none/i.test(r)){let i=this.toEditorPos(e.rangeStart),a=this.toEditorPos(e.rangeEnd);if(i<a){let e=`text-decoration: underline ${/^[a-z]/.test(t)?t+` `:t==`Dashed`?`dashed `:t==`Squiggle`?`wavy `:``}${/thin/i.test(r)?1:2}px`;n.push(ck.mark({attributes:{style:e}}).range(i,a))}}}e.dispatch({effects:Rk.of(ck.set(n))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}};for(let e in this.handlers)t.addEventListener(e,this.handlers[e]);this.measureReq={read:e=>{let t=hO(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((i,a,o,s,c)=>{if(n)return;let l=c.length-(a-i);if(r&&a>=r.to){if(r.from==i&&r.to==a&&r.insert.eq(c)){r=this.pendingContextChange=null,t+=l,this.to+=l;return}r=null,this.revertPending(e.state)}if(i+=t,a+=t,a<=this.from)this.from+=l,this.to+=l;else if(i<this.to){if(i<this.from||a>this.to||this.to-this.from+c.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(i),this.toContextPos(a),c.toString()),this.to+=l}t+=l}),r&&!n&&this.revertPending(e.state),!n}update(e){let t=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(e=>!e.isUserEvent(`input.type`)&&e.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}},XA=class e{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.clearAnnouncement=-1,this.contentDOM=document.createElement(`div`),this.scrollDOM=document.createElement(`div`),this.scrollDOM.tabIndex=-1,this.scrollDOM.className=`cm-scroller`,this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement(`div`),this.announceDOM.className=`cm-announced`,this.announceDOM.setAttribute(`aria-live`,`polite`),this.dom=document.createElement(`div`),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(e=>e.forEach(e=>t(e,this)))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||aat(e.parent)||document,this.viewState=new BA(this,e.state||qD.create(e)),e.scrollTo&&e.scrollTo.is(Lk)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Bk).map(e=>new Hk(e));for(let e of this.plugins)e.update(this);this.observer=new Ist(this),this.inputState=new xst(this),this.inputState.ensureHandlers(this.plugins),this.docView=new pA(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),document.fonts?.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent=`refresh`,this.requestMeasure()})}dispatch(...e){let t=e.length==1&&e[0]instanceof WD?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(t){if(this.updateState!=0)throw Error(`Calls to EditorView.update are not allowed while an update is in progress`);let n=!1,r=!1,i,a=this.state;for(let e of t){if(e.startState!=a)throw RangeError(`Trying to update state with a transaction that doesn't start from the previous state.`);a=e.state}if(this.destroyed){this.viewState.state=a;return}let o=this.hasFocus,s=0,c=null;t.some(e=>e.annotation(OA))?(this.inputState.notifiedFocused=o,s=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,c=hot(a,o),c||(s=1));let l=this.observer.delayedAndroidKey,u=null;if(l?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(a.doc)||!this.state.selection.eq(a.selection))&&(u=null)):this.observer.clear(),a.facet(qD.phrases)!=this.state.facet(qD.phrases))return this.setState(a);i=$k.create(this,a,t),i.flags|=s;let d=this.viewState.scrollTarget;try{this.updateState=2;for(let n of t){if(d&&=d.map(n.changes),n.scrollIntoView){let{main:t}=n.state.selection,{x:r,y:i}=this.state.facet(e.cursorScrollMargin);d=new Ik(t.empty?t:CD.cursor(t.head,t.head>t.anchor?-1:1),`nearest`,`nearest`,i,r)}for(let e of n.effects)e.is(Lk)&&(d=e.value.clip(this.state))}this.viewState.update(i,d),this.bidiCache=QA.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),n=this.docView.update(i),this.state.facet(Zk)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(n,t.some(e=>e.isUserEvent(`select.pointer`)))}finally{this.updateState=0}if(i.startState.facet(UA)!=i.state.facet(UA)&&(this.viewState.mustMeasureContent=!0),(n||r||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!i.empty)for(let e of this.state.facet(kk))try{e(i)}catch(e){OO(this.state,e,`update listener`)}(c||u)&&Promise.resolve().then(()=>{c&&this.state==c.startState&&this.dispatch(c),u&&!qat(this,u)&&l.force&&TO(this.contentDOM,l.key,l.keyCode)})}setState(e){if(this.updateState!=0)throw Error(`Calls to EditorView.setState are not allowed while an update is in progress`);if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new BA(this,e),this.plugins=e.facet(Bk).map(e=>new Hk(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new pA(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Bk),n=e.state.facet(Bk);if(t!=n){let r=[];for(let i of n){let n=t.indexOf(i);if(n<0)r.push(new Hk(i));else{let t=this.plugins[n];t.mustUpdate=e,r.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let t of this.plugins)t.mustUpdate=e;for(let e=0;e<this.plugins.length;e++)this.plugins[e].update(this);t!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{t.docViewUpdate(this)}catch(e){OO(this.state,e,`doc view update listener`)}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.viewState.scrollParent,r=this.viewState.getScrollOffset(),{scrollAnchorPos:i,scrollAnchorHeight:a,scaleY:o}=this.viewState;Math.abs(r-this.viewState.scrollOffset)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(a<0){if(sat(n||this.win))i=-1,a=this.viewState.heightMap.height/this.viewState.scaleY;else{let e=this.viewState.scrollAnchorAt(r);i=e.from,a=e.top}o=this.viewState.scaleY}this.updateState=1;let s=this.viewState.measure();if(!s&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(e>5){console.warn(this.measureRequests.length?`Measure loop restarted more than 5 times`:`Viewport failed to stabilize`);break}let c=[];s&4||([this.measureRequests,c]=[c,this.measureRequests]);let l=c.map(e=>{try{return e.read(this)}catch(e){return OO(this.state,e),ZA}}),u=$k.create(this,this.state,[]),d=!1;u.flags|=s,t?t.flags|=s:t=u,this.updateState=2,u.empty||(this.updatePlugins(u),this.inputState.update(u),this.updateAttrs(),d=this.docView.update(u),d&&this.docViewUpdate());for(let e=0;e<c.length;e++)if(l[e]!=ZA)try{let t=c[e];t.write&&t.write(l[e],this)}catch(e){OO(this.state,e)}if(d&&this.docView.updateSelection(!0),!u.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,a=-1;continue}{let e=(i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)/this.viewState.scaleY-a/o;if((e>1||e<-1)&&!(ik.ios&&this.inputState.lastIOSMomentumScroll>Date.now()-100)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){r+=e,n?i<0?n.scrollTop=n.scrollHeight:n.scrollTop+=e:this.win.scrollBy(0,e),a=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(kk))e(t)}get themeClasses(){return GA+` `+(this.state.facet(WA)?qA:KA)+` `+this.state.facet(UA)}updateAttrs(){let e=Aot(this,Uk,{class:`cm-editor`+(this.hasFocus?` cm-focused `:` `)+this.themeClasses}),t={spellcheck:`false`,autocorrect:`off`,autocapitalize:`off`,writingsuggestions:`false`,translate:`no`,contenteditable:this.state.facet(zk)?`true`:`false`,class:`cm-content`,style:`${ik.tabSize}: ${this.state.tabSize}`,role:`textbox`,"aria-multiline":`true`};this.state.readOnly&&(t[`aria-readonly`]=`true`),Aot(this,Wk,t);let n=this.observer.ignore(()=>{let n=qit(this.contentDOM,this.contentAttrs,t),r=qit(this.dom,this.editorAttrs,e);return n||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(t){let n=!0;for(let r of t)for(let t of r.effects)if(t.is(e.announce)){n&&=(this.announceDOM.textContent=``,this.win.clearTimeout(this.clearAnnouncement),this.clearAnnouncement=this.win.setTimeout(()=>{this.announceDOM.textContent=`\xA0`},200),!1);let e=this.announceDOM.appendChild(document.createElement(`div`));e.textContent=t.value}}mountStyles(){this.styleModules=this.state.facet(Zk);let t=this.state.facet(e.cspNonce);oO.mount(this.root,this.styleModules.concat(Pst).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw Error(`Reading the editor layout isn't allowed during an update`);this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key){this.measureRequests[t]=e;return}}this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(t===void 0||t&&t.plugin!=e)&&this.pluginMap.set(e,t=this.plugins.find(t=>t.plugin==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return NO(this,e,Bat(this,e,t,n))}moveByGroup(e,t){return NO(this,e,Bat(this,e,t,t=>Vat(this,e.head,t)))}visualLineSide(e,t){return t?CD.cursor(e.to,1):CD.cursor(e.from,-1)}moveToLineBoundary(e,t,n=!0){return zat(this,e,t,n)}moveVertically(e,t,n){return NO(this,e,Hat(this,e,t,n))}domAtPos(e,t=1){return this.docView.domAtPos(e,t)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){this.readMeasured();let n=PO(this,e,t);return n&&n.pos}posAndSideAtCoords(e,t=!0){return this.readMeasured(),PO(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.state.doc.lineAt(e),r=this.bidiSpans(n),i=r[Sk.find(r,e-n.from,-1,t)];return n.length&&(e==n.from&&t<0||e==n.to&&t>0)&&i.dir!=this.textDirectionAt(n.from)&&(e==n.to?(e=n.from+i.from,t=1):(e=n.from+i.to,t=-1)),this.docView.coordsAt(e,t,i.dir==_k.RTL)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Pk)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Rst)return _at(e.length);let t=this.textDirectionAt(e.from),n;for(let r of this.bidiCache)if(r.from==e.from&&r.dir==t&&(r.fresh||fat(r.isolates,n=bat(this,e))))return r.order;n||=bat(this,e);let r=gat(e.text,t,n);return this.bidiCache.push(new QA(e.from,e.to,t,n,!0,r)),r}get hasFocus(){return(this.dom.ownerDocument.hasFocus()||ik.safari&&this.inputState?.lastContextMenu>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{iat(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.win.clearTimeout(this.clearAnnouncement),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return Lk.of(new Ik(typeof e==`number`?CD.cursor(e):e,t.y??`nearest`,t.x??`nearest`,t.yMargin??5,t.xMargin??5))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return Lk.of(new Ik(CD.cursor(n.from),`start`,`start`,n.top-e,t,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e==`boolean`?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Vk.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Vk.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=oO.newName(),r=[UA.of(n),Zk.of(UO(`.${n}`,e))];return t&&t.dark&&r.push(WA.of(!0)),r}static baseTheme(e){return AD.lowest(Zk.of(UO(`.`+GA,e,JA)))}static findFromDOM(e){let t=e.querySelector(`.cm-content`);return(t&&eA.get(t)||eA.get(e))?.root?.view||null}},XA.styleModule=Zk,XA.inputHandler=Ak,XA.clipboardInputFilter=Mk,XA.clipboardOutputFilter=Nk,XA.scrollHandler=Fk,XA.focusChangeEffect=jk,XA.perLineTextDirection=Pk,XA.exceptionSink=Ok,XA.updateListener=kk,XA.editable=zk,XA.mouseSelectionStyle=Dk,XA.dragMovesSelection=Ek,XA.clickAddsSelectionRange=Tk,XA.decorations=Gk,XA.blockWrappers=Kk,XA.outerDecorations=qk,XA.atomicRanges=Jk,XA.bidiIsolatedRanges=Yk,XA.cursorScrollMargin=TD.define({combine:e=>{let t=5,n=5;for(let r of e)typeof r==`number`?t=n=r:{x:t,y:n}=r;return{x:t,y:n}}}),XA.scrollMargins=Xk,XA.darkTheme=WA,XA.cspNonce=TD.define({combine:e=>e.length?e[0]:``}),XA.contentAttributes=Wk,XA.editorAttributes=Uk,XA.lineWrapping=XA.contentAttributes.of({class:`cm-lineWrapping`}),XA.announce=UD.define(),Rst=4096,ZA={},QA=class e{constructor(e,t,n,r,i,a){this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=i,this.order=a}static update(t,n){if(n.empty&&!t.some(e=>e.fresh))return t;let r=[],i=t.length?t[t.length-1].dir:_k.LTR;for(let a=Math.max(0,t.length-10);a<t.length;a++){let o=t[a];o.dir==i&&!n.touchesRange(o.from,o.to)&&r.push(new e(n.mapPos(o.from,1),n.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return r}},zst=ik.mac?`mac`:ik.windows?`win`:ik.linux?`linux`:`key`,Bst=AD.default(XA.domEventHandlers({keydown(e,t){return Pot(Mot(t.state),e,t,`editor`)}})),$A=TD.define({enables:Bst}),ej=new WeakMap,tj=null,Vst=4e3,nj=null,rj=!ik.ios,Hst=ik.gecko&&ik.gecko_version==153?`#ffffff01`:`transparent`,{...rj?{"& ::selection, &::selection":{backgroundColor:`${Hst} !important`}}:{}},{...rj?{"&::selection, & ::selection":{backgroundColor:`Highlight !important`}}:{}},ij=class{constructor(e){let{regexp:t,decoration:n,decorate:r,boundary:i,maxLength:a=1e3}=e;if(!t.global)throw RangeError(`The regular expression given to MatchDecorator should have its 'g' flag set`);if(this.regexp=t,r)this.addMatch=(e,t,n,i)=>r(i,n,n+e[0].length,e,t);else if(typeof n==`function`)this.addMatch=(e,t,r,i)=>{let a=n(e,t,r);a&&i(r,r+e[0].length,a)};else if(n)this.addMatch=(e,t,r,i)=>i(r,r+e[0].length,n);else throw RangeError(`Either 'decorate' or 'decoration' should be provided to MatchDecorator`);this.boundary=i,this.maxLength=a}createDeco(e){let t=new ZD,n=t.add.bind(t);for(let{from:t,to:r}of Iot(e,this.maxLength))Fot(e.state.doc,this.regexp,t,r,(t,r)=>this.addMatch(r,e,t,n));return t.finish()}updateDeco(e,t){let n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((t,i,a,o)=>{o>=e.view.viewport.from&&a<=e.view.viewport.to&&(n=Math.min(a,n),r=Math.max(o,r))}),e.viewportMoved||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}updateRange(e,t,n,r){for(let i of e.visibleRanges){let a=Math.max(i.from,n),o=Math.min(i.to,r);if(o>=a){let n=e.state.doc.lineAt(a),r=n.to<o?e.state.doc.lineAt(o):n,s=Math.max(i.from,n.from),c=Math.min(i.to,r.to);if(this.boundary){for(;a>n.from;a--)if(this.boundary.test(n.text[a-1-n.from])){s=a;break}for(;o<r.to;o++)if(this.boundary.test(r.text[o-r.from])){c=o;break}}let l=[],u,d=(e,t,n)=>l.push(n.range(e,t));if(n==r)for(this.regexp.lastIndex=s-n.from;(u=this.regexp.exec(n.text))&&u.index<c-n.from;)this.addMatch(u,e,u.index+n.from,d);else Fot(e.state.doc,this.regexp,s,c,(t,n)=>this.addMatch(n,e,t,d));t=t.update({filterFrom:s,filterTo:c,filter:(e,t)=>e<s||t>c,add:l})}}return t}},aj=/x/.unicode==null?`g`:`gu`,Ust=RegExp(`[\0-\b
+--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩-]`,aj),Wst={0:`null`,7:`bell`,8:`backspace`,10:`newline`,11:`vertical tab`,13:`carriage return`,27:`escape`,8203:`zero width space`,8204:`zero width non-joiner`,8205:`zero width joiner`,8206:`left-to-right mark`,8207:`right-to-left mark`,8232:`line separator`,8237:`left-to-right override`,8238:`right-to-left override`,8294:`left-to-right isolate`,8295:`right-to-left isolate`,8297:`pop directional isolate`,8233:`paragraph separator`,65279:`zero width no-break space`,65532:`object replacement`},oj=null,sj=TD.define({combine(e){let t=nD(e,{render:null,specialChars:Ust,addSpecialChars:null});return(t.replaceTabs=!Lot())&&(t.specialChars=RegExp(` |`+t.specialChars.source,aj)),t.addSpecialChars&&(t.specialChars=RegExp(t.specialChars.source+`|`+t.addSpecialChars.source,aj)),t}}),Gst=null,Kst=`•`,qst=class extends ok{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=Bot(this.code),n=e.state.phrase(`Control character`)+` `+(Wst[this.code]||`0x`+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;let i=document.createElement(`span`);return i.textContent=t,i.title=n,i.setAttribute(`aria-label`,n),i.className=`cm-specialChar`,i}ignoreEvent(){return!1}},Jst=class extends ok{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement(`span`);return e.textContent=` `,e.className=`cm-tab`,e.style.width=this.width+`px`,e}ignoreEvent(){return!1}},Yst=class extends ok{constructor(e){super(),this.content=e}toDOM(e){let t=document.createElement(`span`);return t.className=`cm-placeholder`,t.style.pointerEvents=`none`,t.appendChild(typeof this.content==`string`?document.createTextNode(this.content):typeof this.content==`function`?this.content(e):this.content.cloneNode(!0)),t.setAttribute(`aria-hidden`,`true`),t}coordsAt(e){let t=e.firstChild?vO(e.firstChild):[];if(!t.length)return null;let n=window.getComputedStyle(e.parentNode),r=CO(t[0],n.direction!=`rtl`),i=parseInt(n.lineHeight);return r.bottom-r.top>i*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+i}:r}ignoreEvent(){return!1}},cj=`-10000px`,lj=class{constructor(e,t,n,r){this.facet=t,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e);let i=null;this.tooltipViews=this.tooltips.map(e=>i=n(e,i))}update(e,t){var n;let r=e.state.facet(this.facet),i=r.filter(e=>e);if(r===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let a=[],o=t?[]:null;for(let n=0;n<i.length;n++){let r=i[n],s=-1;if(r){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==r.create&&(s=e)}if(s<0)a[n]=this.createTooltipView(r,n?a[n-1]:null),o&&(o[n]=!!r.above);else{let r=a[n]=this.tooltipViews[s];o&&(o[n]=t[s]),r.update&&r.update(e)}}}for(let e of this.tooltipViews)a.indexOf(e)<0&&(this.removeTooltipView(e),(n=e.destroy)==null||n.call(e));return t&&(o.forEach((e,n)=>t[n]=e),t.length=o.length),this.input=r,this.tooltips=i,this.tooltipViews=a,!0}},uj=TD.define({combine:e=>({position:ik.ios?`absolute`:e.find(e=>e.position)?.position||`fixed`,parent:e.find(e=>e.parent)?.parent||null,tooltipSpace:e.find(e=>e.tooltipSpace)?.tooltipSpace||Uot})}),dj=new WeakMap,fj=Vk.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(uj);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver==`function`?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new lj(e,pj,(e,t)=>this.createTooltip(e,t),e=>{this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()}),this.above=this.manager.tooltips.map(e=>!!e.above),this.intersectionObserver=typeof IntersectionObserver==`function`?new IntersectionObserver(e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener(`resize`,this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement(`div`),this.container.style.position=`relative`,this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(uj);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add(`cm-tooltip`),e.arrow&&!n.dom.querySelector(`.cm-tooltip > .cm-tooltip-arrow`)){let e=document.createElement(`div`);e.className=`cm-tooltip-arrow`,n.dom.appendChild(e)}return n.dom.style.position=this.position,n.dom.style.top=cj,n.dom.style.left=`0px`,this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;this.view.win.removeEventListener(`resize`,this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(e=t.destroy)==null||e.call(t);this.parent&&this.container.remove(),(t=this.resizeObserver)==null||t.disconnect(),(n=this.intersectionObserver)==null||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1,r=0;if(this.position==`fixed`&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(ik.safari){let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}else n=!!e.offsetParent&&e.offsetParent!=this.container.ownerDocument.body}if(n||this.position==`absolute`){if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,t=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState)}else r=Hot(this.view).left;let i=this.view.scrollDOM.getBoundingClientRect(),a=kO(this.view);return{visible:{left:i.left+a.left,top:i.top+a.top,right:i.right-a.right,bottom:i.bottom-a.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(uj).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n,fixedLeft:r}}writeMeasure(e){if(e.makeAbsolute){this.madeAbsolute=!0,this.position=`absolute`;for(let e of this.manager.tooltipViews)e.dom.style.position=`absolute`}let{visible:t,space:n,scaleX:r,scaleY:i}=e,a=[];for(let o=0;o<this.manager.tooltips.length;o++){let s=this.manager.tooltips[o],c=this.manager.tooltipViews[o],{dom:l}=c,u=e.pos[o],d=e.size[o];if(!u||s.clip!==!1&&(u.bottom<=Math.max(t.top,n.top)||u.top>=Math.min(t.bottom,n.bottom)||u.right<Math.max(t.left,n.left)-.1||u.left>Math.min(t.right,n.right)+.1)){l.style.top=cj;continue}let f=s.arrow?c.dom.querySelector(`.cm-tooltip-arrow`):null,p=f?7:0,m=d.right-d.left,h=dj.get(c)??d.bottom-d.top,g=c.offset||Zst,_=this.view.textDirection==_k.LTR,v=d.width>n.right-n.left?_?n.left:n.right-d.width:_?Math.max(n.left,Math.min(u.left-(f?14:0)+g.x,n.right-m)):Math.min(Math.max(n.left,u.left-m+(f?14:0)-g.x),n.right-m),y=this.above[o];!s.strictSide&&(y?u.top-h-p-g.y<n.top:u.bottom+h+p+g.y>n.bottom)&&y==n.bottom-u.bottom>u.top-n.top&&(y=this.above[o]=!y);let b=(y?u.top-n.top:n.bottom-u.bottom)-p;if(b<h&&c.resize!==!1){if(b<this.view.defaultLineHeight){l.style.top=cj;continue}dj.set(c,h),l.style.height=(h=b)/i+`px`}else l.style.height&&(l.style.height=``);let x=y?u.top-h-p-g.y:u.bottom+p+g.y,ee=v+m;if(c.overlap!==!0)for(let e of a)e.left<ee&&e.right>v&&e.top<x+h&&e.bottom>x&&(x=y?e.top-h-2-p:e.bottom+p+2);if(this.position==`absolute`?(l.style.top=(x-e.parent.top)/i+`px`,Wot(l,(v-e.parent.left)/r)):(l.style.top=x/i+`px`,Wot(l,(v-e.fixedLeft)/r)),f){let e=u.left+(_?g.x:-g.x)-(v+14-7);f.style.left=e/r+`px`}c.overlap!==!0&&a.push({left:v,top:x,right:ee,bottom:x+h}),l.classList.toggle(`cm-tooltip-above`,y),l.classList.toggle(`cm-tooltip-below`,!y),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=cj}},{eventObservers:{scroll(){this.maybeMeasure()}}}),Xst=XA.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:`border-box`},"&light .cm-tooltip":{border:`1px solid #bbb`,backgroundColor:`#f5f5f5`},"&light .cm-tooltip-section:not(:first-child)":{borderTop:`1px solid #bbb`},"&dark .cm-tooltip":{backgroundColor:`#333338`,color:`white`},".cm-tooltip-arrow":{height:`7px`,width:`14px`,position:`absolute`,zIndex:-1,overflow:`hidden`,"&:before, &:after":{content:`''`,position:`absolute`,width:0,height:0,borderLeft:`7px solid transparent`,borderRight:`7px solid transparent`},".cm-tooltip-above &":{bottom:`-7px`,"&:before":{borderTop:`7px solid #bbb`},"&:after":{borderTop:`7px solid #f5f5f5`,bottom:`1px`}},".cm-tooltip-below &":{top:`-7px`,"&:before":{borderBottom:`7px solid #bbb`},"&:after":{borderBottom:`7px solid #f5f5f5`,top:`1px`}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:`#333338`,borderBottomColor:`#333338`},"&:after":{borderTopColor:`transparent`,borderBottomColor:`transparent`}}}),Zst={x:0,y:0},pj=TD.define({enables:[fj,Xst]}),mj=TD.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])}),hj=class e{static create(t){return new e(t)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement(`div`),this.dom.classList.add(`cm-tooltip-hover`),this.manager=new lj(e,mj,(e,t)=>this.createHostedView(e,t),e=>e.dom.remove())}createHostedView(e,t){let n=e.create(this.view);return n.dom.classList.add(`cm-tooltip-section`),this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)==null||e.call(t)}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e];if(r!==void 0){if(t===void 0)t=r;else if(t!==r)return}}return t}get offset(){return this.passProp(`offset`)}get getCoords(){return this.passProp(`getCoords`)}get overlap(){return this.passProp(`overlap`)}get resize(){return this.passProp(`resize`)}},Qst=pj.compute([mj],e=>{let t=e.facet(mj);return t.length===0?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>e.end??e.pos)),create:hj.create,above:t[0].above,arrow:t.some(e=>e.arrow)}}),$st=TD.define(),ect=class{constructor(e,t,n,r,i,a){this.view=e,this.source=t,this.field=n,this.locked=r,this.setHover=i,this.hoverTime=a,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener(`mouseleave`,this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener(`mousemove`,this.mousemove=this.mousemove.bind(this))}update(e){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,n=e.docView.tile.nearest(t.target);if(!n)return;let r,i=1;if(n.isWidget())r=n.posAtStart;else{if(r=e.posAtCoords(t),r==null)return;let n=e.coordsAtPos(r);if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return;let a=e.bidiSpans(e.state.doc.lineAt(r)).find(e=>e.from<=r&&e.to>=r),o=a&&a.dir==_k.RTL?-1:1;i=t.x<n.left?-o:o}this.activateHover(e,r,i)}activateHover(e,t,n,r){let i=this.source(e,t,n),a=t=>{if(t&&(!Array.isArray(t)||t.length)){let n=Array.isArray(t)?t:[t];r&&this.locked.set(n,r),e.dispatch({effects:this.setHover.of(n)})}};if(i&&`then`in i){let n=this.pending={pos:t};i.then(e=>{this.pending==n&&(this.pending=null,a(e))},t=>OO(e.state,t,`hover tooltip`))}else a(i)}get tooltip(){let e=this.view.plugin(fj),t=e?e.manager.tooltips.findIndex(e=>e.create==hj.create):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:t,tooltip:n}=this;if(t.length&&!this.locked.has(t)&&n&&!Got(n.dom,e)||this.pending){let{pos:n}=t[0]||this.pending,r=t[0]?.end??n;(n==r?this.view.posAtCoords(this.lastMove)!=n:!Kot(this.view,n,r,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this;if(t.length&&!this.locked.has(t)){let{tooltip:t}=this;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=n=>{e.removeEventListener(`mouseleave`,t);let{active:r}=this;r.length&&!this.locked.has(r)&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener(`mouseleave`,t)}destroy(){clearTimeout(this.hoverTimeout),clearTimeout(this.restartTimeout),this.view.dom.removeEventListener(`mouseleave`,this.mouseleave),this.view.dom.removeEventListener(`mousemove`,this.mousemove)}},gj=4,tct=UD.define(),_j=TD.define({combine(e){let t,n;for(let r of e)t||=r.topContainer,n||=r.bottomContainer;return{topContainer:t,bottomContainer:n}}}),nct=Vk.fromClass(class{constructor(e){this.input=e.state.facet(yj),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(_j);this.top=new vj(e,!0,t.topContainer),this.bottom=new vj(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top));for(let e of this.panels)e.dom.classList.add(`cm-panel`),e.mount&&e.mount()}update(e){let t=e.state.facet(_j);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new vj(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new vj(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(yj);if(n!=this.input){let t=n.filter(e=>e),r=[],i=[],a=[],o=[];for(let n of t){let t=this.specs.indexOf(n),s;t<0?(s=n(e.view),o.push(s)):(s=this.panels[t],s.update&&s.update(e)),r.push(s),(s.top?i:a).push(s)}this.specs=t,this.panels=r,this.top.sync(i),this.bottom.sync(a);for(let e of o)e.dom.classList.add(`cm-panel`),e.mount&&e.mount()}else for(let t of this.panels)t.update&&t.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>XA.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})}),vj=class{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes=``,this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&=(this.dom.remove(),void 0);return}if(!this.dom){this.dom=document.createElement(`div`),this.dom.className=this.top?`cm-panels cm-panels-top`:`cm-panels cm-panels-bottom`;let e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=Yot(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=Yot(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let e of this.classes.split(` `))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(` `))e&&this.container.classList.add(e)}}},yj=TD.define({enables:nct}),bj=class extends JD{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}},bj.prototype.elementClass=``,bj.prototype.toDOM=void 0,bj.prototype.mapMode=vD.TrackBefore,bj.prototype.startSide=bj.prototype.endSide=-1,bj.prototype.point=!0,xj=TD.define(),rct=TD.define(),ict={class:``,renderEmptyElements:!1,elementStyle:``,markers:()=>XD.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:`before`},Sj=TD.define(),Cj=TD.define({combine:e=>e.some(e=>e)}),act=Vk.fromClass(class{constructor(e){this.view=e,this.domAfter=null,this.prevViewport=e.viewport,this.dom=document.createElement(`div`),this.dom.className=`cm-gutters cm-gutters-before`,this.dom.setAttribute(`aria-hidden`,`true`),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+`px`,this.gutters=e.state.facet(Sj).map(t=>new wj(e,t)),this.fixed=!e.state.facet(Cj);for(let e of this.gutters)e.config.side==`after`?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position=`sticky`),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement(`div`),this.domAfter.className=`cm-gutters cm-gutters-after`,this.domAfter.setAttribute(`aria-hidden`,`true`),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+`px`,this.domAfter.style.position=this.fixed?`sticky`:``,this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}if(e.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+`px`;this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(Cj)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?`sticky`:``,this.domAfter&&(this.domAfter.style.position=this.fixed?`sticky`:``)),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let n=XD.iter(this.view.state.facet(xj),this.view.viewport.from),r=[],i=this.gutters.map(e=>new oct(e,this.view.viewport,-this.view.documentPadding.top));for(let e of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(e.type)){let t=!0;for(let a of e.type)if(a.type==sk.Text&&t){GO(n,r,a.from);for(let e of i)e.line(this.view,a,r);t=!1}else if(a.widget)for(let e of i)e.widget(this.view,a)}else if(e.type==sk.Text){GO(n,r,e.from);for(let t of i)t.line(this.view,e,r)}else if(e.widget)for(let t of i)t.widget(this.view,e);for(let e of i)e.finish();e&&(this.view.scrollDOM.insertBefore(this.dom,t),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(e){let t=e.startState.facet(Sj),n=e.state.facet(Sj),r=e.docChanged||e.heightChanged||e.viewportChanged||!XD.eq(e.startState.facet(xj),e.state.facet(xj),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let t of this.gutters)t.update(e)&&(r=!0);else{r=!0;let i=[];for(let r of n){let n=t.indexOf(r);n<0?i.push(new wj(this.view,r)):(this.gutters[n].update(e),i.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),i.indexOf(e)<0&&e.destroy();for(let e of i)e.config.side==`after`?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.gutters=i}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:e=>XA.scrollMargins.of(t=>{let n=t.plugin(e);if(!n||n.gutters.length==0||!n.fixed)return null;let r=n.dom.offsetWidth*t.scaleX,i=n.domAfter?n.domAfter.offsetWidth*t.scaleX:0;return t.textDirection==_k.LTR?{left:r,right:i}:{right:r,left:i}})}),oct=class{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=XD.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:r}=this,i=(t.top-this.height)/e.scaleY,a=t.height/e.scaleY;if(this.i==r.elements.length){let t=new Tj(e,a,i,n);r.elements.push(t),r.dom.appendChild(t.dom)}else r.elements[this.i].update(e,a,i,n);this.height=t.bottom,this.i++}line(e,t,n){let r=[];GO(this.cursor,r,t.from),n.length&&(r=r.concat(n));let i=this.gutter.config.lineMarker(e,t,r);i&&r.unshift(i);let a=this.gutter;(r.length!=0||a.config.renderEmptyElements)&&this.addElement(e,t,r)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),r=n?[n]:null;for(let n of e.state.facet(rct)){let i=n(e,t.widget,t);i&&(r||=[]).push(i)}r&&this.addElement(e,t,r)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}},wj=class{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement(`div`),this.dom.className=`cm-gutter`+(this.config.class?` `+this.config.class:``);for(let n in t.domEventHandlers)this.dom.addEventListener(n,r=>{let i=r.target,a;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let e=i.getBoundingClientRect();a=(e.top+e.bottom)/2}else a=r.clientY;let o=e.lineBlockAtHeight(a-e.documentTop);t.domEventHandlers[n](e,o,r)&&r.preventDefault()});this.markers=Qot(t.markers(e)),t.initialSpacer&&(this.spacer=new Tj(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+=`visibility: hidden; pointer-events: none`)}update(e){let t=this.markers;if(this.markers=Qot(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let n=e.view.viewport;return!XD.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},Tj=class{constructor(e,t,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement(`div`),this.dom.className=`cm-gutterElement`,this.update(e,t,n,r)}update(e,t,n,r){this.height!=t&&(this.height=t,this.dom.style.height=t+`px`),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+`px`:``),$ot(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let n=`cm-gutterElement`,r=this.dom.firstChild;for(let i=0,a=0;;){let o=a,s=i<t.length?t[i++]:null,c=!1;if(s){let e=s.elementClass;e&&(n+=` `+e);for(let e=a;e<this.markers.length;e++)if(this.markers[e].compare(s)){o=e,c=!0;break}}else o=this.markers.length;for(;a<o;){let e=this.markers[a++];if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break;s.toDOM&&(c?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),c&&a++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}},sct=TD.define(),cct=TD.define(),Ej=TD.define({combine(e){return nD(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let e in t){let r=n[e],i=t[e];n[e]=r?(e,t,n)=>r(e,t,n)||i(e,t,n):i}return n}})}}),Dj=class extends bj{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}},lct=Sj.compute([Ej],e=>({class:`cm-lineNumbers`,renderEmptyElements:!1,markers(e){return e.state.facet(sct)},lineMarker(e,t,n){return n.some(e=>e.toDOM)?null:new Dj(KO(e,e.state.doc.lineAt(t.from).number))},widgetMarker:(e,t,n)=>{for(let r of e.state.facet(cct)){let i=r(e,t,n);if(i)return i}return null},lineMarkerChange:e=>e.startState.facet(Ej)!=e.state.facet(Ej),initialSpacer(e){return new Dj(KO(e,tst(e.state.doc.lines)))},updateSpacer(e,t){let n=KO(t.view,tst(t.view.state.doc.lines));return n==e.number?e:new Dj(n)},domEventHandlers:e.facet(Ej).domEventHandlers,side:`before`}))}));function uct(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function kj(e,t,n,r){for(;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof Gj&&e.index<0?null:e.parent;if(!t)return e;e=t}let i=r?0:Vj.IgnoreOverlays;if(r)for(let r=e,a=r.parent;a;r=a,a=r.parent)r instanceof Gj&&r.index<0&&a.enter(t,n,i)?.from!=r.from&&(e=a);for(;;){let r=e.enter(t,n,i);if(!r)return e;e=r}}function dct(e,t,n,r){let i=e.cursor(),a=[];if(!i.firstChild())return a;if(n!=null){for(let e=!1;!e;)if(e=i.type.is(n),!i.nextSibling())return a}for(;;){if(r!=null&&i.type.is(r))return a;if(i.type.is(t)&&a.push(i.node),!i.nextSibling())return r==null?a:[]}}function Aj(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}function fct(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;r<e.length;r++){let i=e[r];(i.from>n.from||i.to<n.to)&&(n=i,t=r)}let r=n instanceof Gj&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new Oct(i,n)}function pct(e,t,n){let r=e.resolveInner(t,n),i=null;for(let e=r instanceof Gj?r:r.context.parent;e;e=e.parent)if(e.index<0){let a=e.parent;(i||=[r]).push(a.resolve(t,n)),e=a}else{let a=Lj.get(e.tree);if(a&&a.overlay&&a.overlay[0].from<=t&&a.overlay[a.overlay.length-1].to>=t){let o=new Gj(a.tree,a.overlay[0].from+e.from,-1,e);(i||=[r]).push(kj(o,t,n,!1))}}return i?fct(i):r}function jj(e){return e.children.some(e=>e instanceof Uj||!e.type.isAnonymous||jj(e))}function mct(e){let{buffer:t,nodeSet:n,maxBufferLength:r=Pj,reused:i=[],minRepeatType:a=n.types.length}=e,o=Array.isArray(t)?new Ect(t,t.length):t,s=n.types,c=0,l=0;function u(e,t,_,v,y,b){let{id:x,start:ee,end:te,size:ne}=o,re=l,ie=c;if(ne<0){if(o.next(),ne==-1){let t=i[x];_.push(t),v.push(ee-e);return}if(ne==-3){c=x;return}if(ne==-4){l=x;return}throw RangeError(`Unrecognized record size: ${ne}`)}let ae=s[x],oe,se,ce=ee-e;if(te-ee<=r&&(se=h(o.pos-t,y))){let t=new Uint16Array(se.size-se.skip),r=o.pos-se.size,i=t.length;for(;o.pos>r;)i=g(se.start,t,i);oe=new Uj(t,te-se.start,n),ce=se.start-e}else{let e=o.pos-ne;o.next();let t=[],n=[],i=x>=a?x:-1,s=0,c=te;for(;o.pos>e;)i>=0&&o.id==i&&o.size>=0?(o.end<=c-r&&(p(t,n,ee,s,o.end,c,i,re,ie),s=t.length,c=o.end),o.next()):b>2500?d(ee,e,t,n):u(ee,e,t,n,i,b+1);if(i>=0&&s>0&&s<t.length&&p(t,n,ee,s,ee,c,i,re,ie),t.reverse(),n.reverse(),i>-1&&s>0){let e=f(ae,ie);oe=Nj(ae,t,n,0,t.length,0,te-ee,e,e)}else oe=m(ae,t,n,te-ee,re-te,ie)}_.push(oe),v.push(ce)}function d(e,t,i,a){let s=[],c=0,l=-1;for(;o.pos>t;){let{id:e,start:t,end:n,size:i}=o;if(i>4)o.next();else if(l>-1&&t<l)break;else l<0&&(l=n-r),s.push(e,t,n),c++,o.next()}if(c){let t=new Uint16Array(c*4),r=s[s.length-2];for(let e=s.length-3,n=0;e>=0;e-=3)t[n++]=s[e],t[n++]=s[e+1]-r,t[n++]=s[e+2]-r,t[n++]=n;i.push(new Uj(t,s[2]-r,n)),a.push(r-e)}}function f(e,t){return(n,r,i)=>{let a=0,o=n.length-1,s,c;if(o>=0&&(s=n[o])instanceof Hj){if(!o&&s.type==e&&s.length==i)return s;(c=s.prop(Ij.lookAhead))&&(a=r[o]+s.length+c)}return m(e,n,r,i,a,t)}}function p(e,t,r,i,a,o,s,c,l){let u=[],d=[];for(;e.length>i;)u.push(e.pop()),d.push(t.pop()+r-a);e.push(m(n.types[s],u,d,o-a,c-o,l)),t.push(a-r)}function m(e,t,n,r,i,a,o){if(a){let e=[Ij.contextHash,a];o=o?[e].concat(o):[e]}if(i>25){let e=[Ij.lookAhead,i];o=o?[e].concat(o):[e]}return new Hj(e,t,n,r,o)}function h(e,t){let n=o.fork(),i=0,s=0,c=0,l=n.end-r,u={size:0,start:0,skip:0};scan:for(let r=n.pos-e;n.pos>r;){let e=n.size;if(n.id==t&&e>=0){u.size=i,u.start=s,u.skip=c,c+=4,i+=4,n.next();continue}let o=n.pos-e;if(e<0||o<r||n.start<l)break;let d=n.id>=a?4:0,f=n.start;for(n.next();n.pos>o;){if(n.size<0){if(n.size==-3||n.size==-4)d+=4;else break scan}else n.id>=a&&(d+=4);n.next()}s=f,i+=e,c+=d}return(t<0||i==e)&&(u.size=i,u.start=s,u.skip=c),u.size>4?u:void 0}function g(e,t,n){let{id:r,start:i,end:s,size:u}=o;if(o.next(),u>=0&&r<a){let a=n;if(u>4){let r=o.pos-(u-4);for(;o.pos>r;)n=g(e,t,n)}t[--n]=a,t[--n]=s-e,t[--n]=i-e,t[--n]=r}else u==-3?c=r:u==-4&&(l=r);return n}let _=[],v=[];for(;o.pos>0;)u(e.start||0,e.bufferStart||0,_,v,-1,0);let y=e.length??(_.length?v[0]+_[0].length:0);return new Hj(s[e.topID],_.reverse(),v.reverse(),y)}function Mj(e,t){if(!e.isAnonymous||t instanceof Uj||t.type!=e)return 1;let n=Jj.get(t);if(n==null){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof Hj)){n=1;break}n+=Mj(e,r)}Jj.set(t,n)}return n}function Nj(e,t,n,r,i,a,o,s,c){let l=0;for(let n=r;n<i;n++)l+=Mj(e,t[n]);let u=Math.ceil(l*1.5/8),d=[],f=[];function p(t,n,r,i,o){for(let s=r;s<i;){let r=s,l=n[s],m=Mj(e,t[s]);for(s++;s<i;s++){let n=Mj(e,t[s]);if(m+n>=u)break;m+=n}if(s==r+1){if(m>u){let e=t[r];p(e.children,e.positions,0,e.children.length,n[r]+o);continue}d.push(t[r])}else{let i=n[s-1]+t[s-1].length-l;d.push(Nj(e,t,n,r,s,l,i,null,c))}f.push(l+o-a)}}return p(t,n,r,i,0),(s||c)(d,f,o)}function hct(e){return(t,n,r,i)=>new jct(t,e,n,r,i)}function gct(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError(`Invalid inner parse ranges given: `+JSON.stringify(e))}function _ct(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function vct(e,t,n,r,i,a){if(t<n){let o=e.buffer[t+1];r.push(e.slice(t,n,o)),i.push(o-a)}}function yct(e){let{node:t}=e,n=[],r=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let i=e.tree,a=i.children.indexOf(r),o=i.children[a],s=o.buffer,c=[a];function l(e,r,i,a,u,d){let f=n[d],p=[],m=[];vct(o,e,f,p,m,a);let h=s[f+1],g=s[f+2];c.push(p.length);let _=d?l(f+4,s[f+3],o.set.types[s[f]],h,g-h,d-1):t.toTree();return p.push(_),m.push(h-a),vct(o,s[f+3],r,p,m,a),new Hj(i,p,m,u)}i.children[a]=l(0,s.length,Rj.none,0,o.length,n.length-1);for(let t of c){let n=e.tree.children[t],r=e.tree.positions[t];e.yield(new Gj(n,r+e.from,t,e._tree))}}function bct(e,t){let n=null,r=t;for(let i=1,a=0;i<e.length;i++){let o=e[i-1].to,s=e[i].from;for(;a<r.length;a++){let e=r[a];if(e.from>=s)break;e.to<=o||(n||(r=n=t.slice()),e.from<o?(n[a]=new Fj(e.from,o),e.to>s&&n.splice(a+1,0,new Fj(s,e.to))):e.to>s?n[a--]=new Fj(s,e.to):n.splice(a--,1))}}return r}function xct(e,t,n,r){let i=0,a=0,o=!1,s=!1,c=-1e9,l=[];for(;;){let u=i==e.length?1e9:o?e[i].to:e[i].from,d=a==t.length?1e9:s?t[a].to:t[a].from;if(o!=s){let e=Math.max(c,n),t=Math.min(u,d,r);e<t&&l.push(new Fj(e,t))}if(c=Math.min(u,d),c==1e9)break;u==c&&(o?(o=!1,i++):o=!0),d==c&&(s?(s=!1,a++):s=!0)}return l}function Sct(e,t){let n=[];for(let{pos:r,mount:i,frag:a}of e){let e=r+(i.overlay?i.overlay[0].from:0),o=e+i.tree.length,s=Math.max(a.from,e),c=Math.min(a.to,o);if(i.overlay){let o=xct(t,i.overlay.map(e=>new Fj(e.from+r,e.to+r)),s,c);for(let t=0,r=s;;t++){let s=t==o.length,l=s?c:o[t].from;if(l>r&&n.push(new Xj(r,l,i.tree,-e,a.from>=r||a.openStart,a.to<=l||a.openEnd)),s)break;r=o[t].to}}else n.push(new Xj(s,c,i.tree,-e,a.from>=e||a.openStart,a.to<=o||a.openEnd))}return n}var Pj,Cct,Fj,Ij,Lj,wct,Rj,Tct,zj,Bj,Vj,Hj,Ect,Uj,Wj,Gj,Dct,Kj,Oct,qj,Jj,Yj,Xj,Zj,kct,Qj,Act,$j,jct,eM,Mct,tM=s((()=>{Pj=1024,Cct=0,Fj=class{constructor(e,t){this.from=e,this.to=t}},Ij=class{constructor(e={}){this.id=Cct++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error(`This node type doesn't define a deserialize function`)}),this.combine=e.combine||null}add(e){if(this.perNode)throw RangeError(`Can't add per-node props to node types`);return typeof e!=`function`&&(e=Rj.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}},Ij.closedBy=new Ij({deserialize:e=>e.split(` `)}),Ij.openedBy=new Ij({deserialize:e=>e.split(` `)}),Ij.group=new Ij({deserialize:e=>e.split(` `)}),Ij.isolate=new Ij({deserialize:e=>{if(e&&e!=`rtl`&&e!=`ltr`&&e!=`auto`)throw RangeError(`Invalid value for isolate: `+e);return e||`auto`}}),Ij.contextHash=new Ij({perNode:!0}),Ij.lookAhead=new Ij({perNode:!0}),Ij.mounted=new Ij({perNode:!0}),Lj=class{constructor(e,t,n,r=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[Ij.mounted.id]}},wct=Object.create(null),Rj=class e{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(t){let n=t.props&&t.props.length?Object.create(null):wct,r=+!!t.top|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),i=new e(t.name||``,n,t.id,r);if(t.props){for(let e of t.props)if(Array.isArray(e)||(e=e(i)),e){if(e[0].perNode)throw RangeError(`Can't store a per-node prop on a node type`);n[e[0].id]=e[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e==`string`){if(this.name==e)return!0;let t=this.prop(Ij.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(` `))t[r]=e[n];return e=>{for(let n=e.prop(Ij.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}},Rj.none=new Rj(``,Object.create(null),0,8),Tct=class e{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError(`Node type ids should correspond to array positions when creating a node set`)}extend(...t){let n=[];for(let e of this.types){let r=null;for(let n of t){let t=n(e);if(t){r||=Object.assign({},e.props);let n=t[1],i=t[0];i.combine&&i.id in r&&(n=i.combine(r[i.id],n)),r[i.id]=n}}n.push(r?new Rj(e.name,r,e.id,e.flags):e)}return new e(n)}},zj=new WeakMap,Bj=new WeakMap,(function(e){e[e.ExcludeBuffers=1]=`ExcludeBuffers`,e[e.IncludeAnonymous=2]=`IncludeAnonymous`,e[e.IgnoreMounts=4]=`IgnoreMounts`,e[e.IgnoreOverlays=8]=`IgnoreOverlays`,e[e.EnterBracketed=16]=`EnterBracketed`})(Vj||={}),Hj=class e{constructor(e,t,n,r,i){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,i&&i.length){this.props=Object.create(null);for(let[e,t]of i)this.props[typeof e==`number`?e:e.id]=t}}toString(){let e=Lj.get(this);if(e&&!e.overlay)return e.tree.toString();let t=``;for(let e of this.children){let n=e.toString();n&&(t&&(t+=`,`),t+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?`(`+t+`)`:``):t}cursor(e=0){return new qj(this.topNode,e)}cursorAt(e,t=0,n=0){let r=zj.get(this)||this.topNode,i=new qj(r);return i.moveTo(e,t),zj.set(this,i._tree),i}get topNode(){return new Gj(this,0,0,null)}resolve(e,t=0){let n=kj(zj.get(this)||this.topNode,e,t,!1);return zj.set(this,n),n}resolveInner(e,t=0){let n=kj(Bj.get(this)||this.topNode,e,t,!0);return Bj.set(this,n),n}resolveStack(e,t=0){return pct(this,e,t)}iterate(e){let{enter:t,leave:n,from:r=0,to:i=this.length}=e,a=e.mode||0,o=(a&Vj.IncludeAnonymous)>0;for(let e=this.cursor(a|Vj.IncludeAnonymous);;){let a=!1;if(e.from<=i&&e.to>=r&&(!o&&e.type.isAnonymous||t(e)!==!1)){if(e.firstChild())continue;a=!0}for(;a&&n&&(o||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;a=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(t={}){return this.children.length<=8?this:Nj(Rj.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,r)=>new e(this.type,t,n,r,this.propValues),t.makeTree||((t,n,r)=>new e(Rj.none,t,n,r)))}static build(e){return mct(e)}},Hj.empty=new Hj(Rj.none,[],[],0),Ect=class e{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new e(this.buffer,this.index)}},Uj=class e{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return Rj.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(`,`)}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),e+=4,n==e)return i;let a=[];for(;e<n;)a.push(this.childString(e)),e=this.buffer[e+3];return i+`(`+a.join(`,`)+`)`}findChild(e,t,n,r,i){let{buffer:a}=this,o=-1;for(let s=e;s!=t&&!(uct(i,r,a[s+1],a[s+2])&&(o=s,n>0));s=a[s+3]);return o}slice(t,n,r){let i=this.buffer,a=new Uint16Array(n-t),o=0;for(let e=t,s=0;e<n;){a[s++]=i[e++],a[s++]=i[e++]-r;let n=a[s++]=i[e++]-r;a[s++]=i[e++]-t,o=Math.max(o,n)}return new e(a,o,this.set)}},Wj=class{cursor(e=0){return new qj(this,e)}getChild(e,t=null,n=null){let r=dct(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return dct(this,e,t,n)}resolve(e,t=0){return kj(this,e,t,!1)}resolveInner(e,t=0){return kj(this,e,t,!0)}matchContext(e){return Aj(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}},Gj=class e extends Wj{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,n,r,i,a=0){for(let o=this;;){for(let{children:s,positions:c}=o._tree,l=n>0?s.length:-1;t!=l;t+=n){let l=s[t],u=c[t]+o.from,d;if(a&Vj.EnterBracketed&&l instanceof Hj&&(d=Lj.get(l))&&!d.overlay&&d.bracketed&&r>=u&&r<=u+l.length||uct(i,r,u,u+l.length)){if(l instanceof Uj){if(a&Vj.ExcludeBuffers)continue;let e=l.findChild(0,l.buffer.length,n,r-u,i);if(e>-1)return new Kj(new Dct(o,l,t,u),null,e)}else if(a&Vj.IncludeAnonymous||!l.type.isAnonymous||jj(l)){let s;if(!(a&Vj.IgnoreMounts)&&(s=Lj.get(l))&&!s.overlay)return new e(s.tree,u,t,o);let c=new e(l,u,t,o);return a&Vj.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(n<0?l.children.length-1:0,n,r,i,a)}}}if(a&Vj.IncludeAnonymous||!o.type.isAnonymous||(t=o.index>=0?o.index+n:n<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(t,n,r=0){let i;if(!(r&Vj.IgnoreOverlays)&&(i=Lj.get(this._tree))&&i.overlay){let a=t-this.from,o=r&Vj.EnterBracketed&&i.bracketed;for(let{from:t,to:r}of i.overlay)if((n>0||o?t<=a:t<a)&&(n<0||o?r>=a:r>a))return new e(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}},Dct=class{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}},Kj=class e extends Wj{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(t,n,r){let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.context.start,r);return a<0?null:new e(this.context,this,a)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(t,n,r=0){if(r&Vj.ExcludeBuffers)return null;let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return a<0?null:new e(this.context,this,a)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:t}=this.context,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new e(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new e(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let a=n.buffer[this.index+1];e.push(n.slice(r,i,a)),t.push(0)}return new Hj(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}},Oct=class{constructor(e,t){this.heads=e,this.node=t}get next(){return fct(this.heads)}},qj=class{get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~Vj.EnterBracketed,e instanceof Gj)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof Gj?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&Vj.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Vj.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Vj.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=r)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let r=t+e,i=e<0?-1:n._tree.children.length;r!=i;r+=e){let e=n._tree.children[r];if(this.mode&Vj.IncludeAnonymous||e instanceof Uj||!e.type.isAnonymous||jj(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)scan:for(let r=this.index,i=this.stack.length;i>=0;){for(let a=e;a;a=a._parent)if(a.index==r){if(r==this.index)return a;t=a,n=i+1;break scan}r=this.stack[--i]}for(let e=n;e<this.stack.length;e++)t=new Kj(this.buffer,t,this.stack[e]);return this.bufferNode=new Kj(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return Aj(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return Aj(this._tree,e,r);let a=n[t.buffer[this.stack[i]]];if(!a.isAnonymous){if(e[r]&&e[r]!=a.name)return!1;r--}}return!0}},Jj=new WeakMap,Yj=class{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof Kj?this.setBuffer(e.context.buffer,e.index,t):e instanceof Gj&&this.map.set(e.tree,t)}get(e){return e instanceof Kj?this.getBuffer(e.context.buffer,e.index):e instanceof Gj?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},Xj=class e{constructor(e,t,n,r,i=!1,a=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=!!i|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,n=[],r=!1){let i=[new e(0,t.length,t,0,!1,r)];for(let e of n)e.to>t.length&&i.push(e);return i}static applyChanges(t,n,r=128){if(!n.length)return t;let i=[],a=1,o=t.length?t[0]:null;for(let s=0,c=0,l=0;;s++){let u=s<n.length?n[s]:null,d=u?u.fromA:1e9;if(d-c>=r)for(;o&&o.from<d;){let n=o;if(c>=n.from||d<=n.to||l){let t=Math.max(n.from,c)-l,r=Math.min(n.to,d)-l;n=t>=r?null:new e(t,r,n.tree,n.offset+l,s>0,!!u)}if(n&&i.push(n),o.to>d)break;o=a<t.length?t[a++]:null}if(!u)break;c=u.toA,l=u.toA-u.toB}return i}},Zj=class{startParse(e,t,n){return typeof e==`string`&&(e=new kct(e)),n=n?n.length?n.map(e=>new Fj(e.from,e.to)):[new Fj(0,0)]:[new Fj(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}},kct=class{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}},Qj=class{constructor(e,t,n,r,i,a){this.parser=e,this.parse=t,this.overlay=n,this.bracketed=r,this.target=i,this.from=a}},Act=class{constructor(e,t,n,r,i,a,o,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=i,this.bracketed=a,this.target=o,this.prev=s,this.depth=0,this.ranges=[]}},$j=new Ij({perNode:!0}),jct=class{constructor(e,t,n,r,i){this.nest=t,this.input=n,this.fragments=r,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),this.stoppedAt!=null)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return this.stoppedAt!=null&&(e=new Hj(e.type,e.children,e.positions,e.length,e.propValues.concat([[$j,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[Ij.mounted.id]=new Lj(t,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new Mct(this.fragments),t=null,n=null,r=new qj(new Gj(this.baseTree,this.ranges[0].from,0,null),Vj.IncludeAnonymous|Vj.IgnoreMounts);scan:for(let i,a;;){let o=!0,s;if(this.stoppedAt!=null&&r.from>=this.stoppedAt)o=!1;else if(e.hasNode(r)){if(t){let e=t.mounts.find(e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(e)for(let n of e.mount.overlay){let i=n.from+e.pos,a=n.to+e.pos;i>=r.from&&a<=r.to&&!t.ranges.some(e=>e.from<a&&e.to>i)&&t.ranges.push({from:i,to:a})}}o=!1}else if(n&&(a=_ct(n.ranges,r.from,r.to)))o=a!=2;else if(!r.type.isAnonymous&&(i=this.nest(r,this.input))&&(r.from<r.to||!i.overlay)){r.tree||(yct(r),t&&t.depth++,n&&n.depth++);let a=e.findMounts(r.from,i.parser);if(typeof i.overlay==`function`)t=new Act(i.parser,i.overlay,a,this.inner.length,r.from,!!i.bracketed,r.tree,t);else{let e=bct(this.ranges,i.overlay||(r.from<r.to?[new Fj(r.from,r.to)]:[]));e.length&&gct(e),(e.length||!i.overlay)&&this.inner.push(new Qj(i.parser,e.length?i.parser.startParse(this.input,Sct(a,e),e):i.parser.startParse(``),i.overlay?i.overlay.map(e=>new Fj(e.from-r.from,e.to-r.from)):null,!!i.bracketed,r.tree,e.length?e[0].from:r.from)),i.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):o=!1}}else if(t&&(s=t.predicate(r))&&(s===!0&&(s=new Fj(r.from,r.to)),s.from<s.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==s.from?t.ranges[e]={from:t.ranges[e].from,to:s.to}:t.ranges.push(s)}if(o&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break scan;if(t&&!--t.depth){let e=bct(this.ranges,t.ranges);e.length&&(gct(e),this.inner.splice(t.index,0,new Qj(t.parser,t.parser.startParse(this.input,Sct(t.mounts,e),e),t.ranges.map(e=>new Fj(e.from-t.start,e.to-t.start)),t.bracketed,t.target,e[0].from))),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}},eM=class{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Vj.IncludeAnonymous|Vj.IgnoreMounts|Vj.ExcludeBuffers)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)if(!(t.to>=n&&t.enter(n,1,Vj.IncludeAnonymous|Vj.IgnoreOverlays|Vj.ExcludeBuffers))){if(t.to<=n)t.next(!1)||(this.done=!0);else break}}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof Hj)t=t.children[0];else break}return!1}},Mct=class{constructor(e){if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let t=this.curFrag=e[0];this.curTo=t.tree.prop($j)??t.to,this.inner=new eM(t.tree,-t.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let e=this.curFrag=this.fragments[this.fragI];this.curTo=e.tree.prop($j)??e.to,this.inner=new eM(e.tree,-e.offset)}}findMounts(e,t){let n=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let r=e.tree?.prop(Ij.mounted);if(r&&r.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let i=this.fragments[t];if(i.from>=e.to)break;i.tree==this.curFrag.tree&&n.push({frag:i,pos:e.from-i.offset,mount:r})}}}return n}}}));function Nct(e,t){return e.length==t.length&&e.every((e,n)=>e==t[n])}function Pct(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}function nM(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let e of n.split(` `))if(e){let n=[],i=2,a=e;for(let t=0;;){if(a==`...`&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!r)throw RangeError(`Invalid path: `+e);if(n.push(r[0]==`*`?``:r[0][0]==`"`?JSON.parse(r[0]):r[0]),t+=r[0].length,t==e.length)break;let o=e[t++];if(t==e.length&&o==`!`){i=0;break}if(o!=`/`)throw RangeError(`Invalid path: `+e);a=e.slice(t)}let o=n.length-1,s=n[o];if(!s)throw RangeError(`Invalid path: `+e);t[s]=new oM(r,i,o>0?n.slice(0,o):null).sort(t[s])}}return aM.add(t)}function Fct(e,t){let n=Object.create(null);for(let t of e)if(!Array.isArray(t.tag))n[t.tag.id]=t.class;else for(let e of t.tag)n[e.id]=t.class;let{scope:r,all:i=null}=t||{};return{style:e=>{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+` `+r:r;break}}return t},scope:r}}function Ict(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+` `+e:e)}return n}function Lct(e,t,n,r=0,i=e.length){let a=new Vct(r,Array.isArray(t)?t:[t],n);a.highlightRange(e.cursor(),r,i,``,a.highlighters),a.flush(i)}function Rct(e){let t=e.type.prop(aM);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}var zct,rM,Bct,iM,aM,oM,Vct,sM,cM,lM,uM,dM,fM,pM,mM,hM,gM,_M,vM,yM,bM,xM,W,SM=s((()=>{tM(),zct=0,rM=class e{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=zct++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(t,n){let r=typeof t==`string`?t:`?`;if(t instanceof e&&(n=t),n?.base)throw Error(`Can not derive from a modified tag`);let i=new e(r,[],null,[]);if(i.set.push(i),n)for(let e of n.set)i.set.push(e);return i}static defineModifier(e){let t=new iM(e);return e=>e.modified.indexOf(t)>-1?e:iM.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}},Bct=0,iM=class e{constructor(e){this.name=e,this.instances=[],this.id=Bct++}static get(t,n){if(!n.length)return t;let r=n[0].instances.find(e=>e.base==t&&Nct(n,e.modified));if(r)return r;let i=[],a=new rM(t.name,i,t,n);for(let e of n)e.instances.push(a);let o=Pct(n);for(let n of t.set)if(!n.modified.length)for(let t of o)i.push(e.get(n,t));return a}},aM=new Ij({combine(e,t){let n,r,i;for(;e||t;){if(!e||t&&e.depth<=t.depth?(i=t,t=t.next):(i=e,e=e.next),n&&n.mode==i.mode&&!i.context&&!n.context)continue;let a=new oM(i.tags,i.mode,i.context);n?n.next=a:r=a,n=a}return r}}),oM=class{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}},oM.empty=new oM([],2,null),Vct=class{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=``}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,i){let{type:a,from:o,to:s}=e;if(o>=n||s<=t)return;a.isTop&&(i=this.highlighters.filter(e=>!e.scope||e.scope(a)));let c=r,l=Rct(e)||oM.empty,u=Ict(i,l.tags);if(u&&(c&&(c+=` `),c+=u,l.mode==1&&(r+=(r?` `:``)+u)),this.startSpan(Math.max(t,o),c),l.opaque)return;let d=e.tree&&e.tree.prop(Ij.mounted);if(d&&d.overlay){let a=e.node.enter(d.overlay[0].from+o,1),l=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),u=e.firstChild();for(let f=0,p=o;;f++){let m=f<d.overlay.length?d.overlay[f]:null,h=m?m.from+o:s,g=Math.max(t,p),_=Math.min(n,h);if(g<_&&u)for(;e.from<_&&(this.highlightRange(e,g,_,r,i),this.startSpan(Math.min(_,e.to),c),!(e.to>=h||!e.nextSibling())););if(!m||h>n)break;p=m.to+o,p>t&&(this.highlightRange(a.cursor(),Math.max(t,m.from+o),Math.min(n,p),``,l),this.startSpan(Math.min(n,p),c))}u&&e.parent()}else if(e.firstChild()){d&&(r=``);do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,r,i),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}},sM=rM.define,cM=sM(),lM=sM(),uM=sM(lM),dM=sM(lM),fM=sM(),pM=sM(fM),mM=sM(fM),hM=sM(),gM=sM(hM),_M=sM(),vM=sM(),yM=sM(),bM=sM(yM),xM=sM(),W={comment:cM,lineComment:sM(cM),blockComment:sM(cM),docComment:sM(cM),name:lM,variableName:sM(lM),typeName:uM,tagName:sM(uM),propertyName:dM,attributeName:sM(dM),className:sM(lM),labelName:sM(lM),namespace:sM(lM),macroName:sM(lM),literal:fM,string:pM,docString:sM(pM),character:sM(pM),attributeValue:sM(pM),number:mM,integer:sM(mM),float:sM(mM),bool:sM(fM),regexp:sM(fM),escape:sM(fM),color:sM(fM),url:sM(fM),keyword:_M,self:sM(_M),null:sM(_M),atom:sM(_M),unit:sM(_M),modifier:sM(_M),operatorKeyword:sM(_M),controlKeyword:sM(_M),definitionKeyword:sM(_M),moduleKeyword:sM(_M),operator:vM,derefOperator:sM(vM),arithmeticOperator:sM(vM),logicOperator:sM(vM),bitwiseOperator:sM(vM),compareOperator:sM(vM),updateOperator:sM(vM),definitionOperator:sM(vM),typeOperator:sM(vM),controlOperator:sM(vM),punctuation:yM,separator:sM(yM),bracket:bM,angleBracket:sM(bM),squareBracket:sM(bM),paren:sM(bM),brace:sM(bM),content:hM,heading:gM,heading1:sM(gM),heading2:sM(gM),heading3:sM(gM),heading4:sM(gM),heading5:sM(gM),heading6:sM(gM),contentSeparator:sM(hM),list:sM(hM),quote:sM(hM),emphasis:sM(hM),strong:sM(hM),link:sM(hM),monospace:sM(hM),strikethrough:sM(hM),inserted:sM(),deleted:sM(),changed:sM(),invalid:sM(),meta:xM,documentMeta:sM(xM),annotation:sM(xM),processingInstruction:sM(xM),definition:rM.defineModifier(`definition`),constant:rM.defineModifier(`constant`),function:rM.defineModifier(`function`),standard:rM.defineModifier(`standard`),local:rM.defineModifier(`local`),special:rM.defineModifier(`special`)};for(let e in W){let t=W[e];t instanceof rM&&(t.name=e)}Fct([{tag:W.link,class:`tok-link`},{tag:W.heading,class:`tok-heading`},{tag:W.emphasis,class:`tok-emphasis`},{tag:W.strong,class:`tok-strong`},{tag:W.keyword,class:`tok-keyword`},{tag:W.atom,class:`tok-atom`},{tag:W.bool,class:`tok-bool`},{tag:W.url,class:`tok-url`},{tag:W.labelName,class:`tok-labelName`},{tag:W.inserted,class:`tok-inserted`},{tag:W.deleted,class:`tok-deleted`},{tag:W.literal,class:`tok-literal`},{tag:W.string,class:`tok-string`},{tag:W.number,class:`tok-number`},{tag:[W.regexp,W.escape,W.special(W.string)],class:`tok-string2`},{tag:W.variableName,class:`tok-variableName`},{tag:W.local(W.variableName),class:`tok-variableName tok-local`},{tag:W.definition(W.variableName),class:`tok-variableName tok-definition`},{tag:W.special(W.variableName),class:`tok-variableName2`},{tag:W.definition(W.propertyName),class:`tok-propertyName tok-definition`},{tag:W.typeName,class:`tok-typeName`},{tag:W.namespace,class:`tok-namespace`},{tag:W.className,class:`tok-className`},{tag:W.macroName,class:`tok-macroName`},{tag:W.propertyName,class:`tok-propertyName`},{tag:W.operator,class:`tok-operator`},{tag:W.comment,class:`tok-comment`},{tag:W.meta,class:`tok-meta`},{tag:W.invalid,class:`tok-invalid`},{tag:W.punctuation,class:`tok-punctuation`}])}));function Hct(e){return TD.define({combine:e?t=>t.concat(e):void 0})}function Uct(e,t,n){let r=e.facet(VM),i=CM(e).topNode;if(!r||r.allowsNesting)for(let e=i;e;e=e.enter(t,n,Vj.ExcludeBuffers|Vj.EnterBracketed))e.type.isTop&&(i=e);return i}function CM(e){let t=e.field(FM.state,!1);return t?t.tree:Hj.empty}function Wct(e,t,n){return Xj.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}function Gct(e){let t=e.facet(UM);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function Kct(e,t){let n=``,r=e.tabSize,i=e.facet(UM)[0];if(i==` `){for(;t>=r;)n+=` `,t-=r;i=` `}for(let e=0;e<t;e++)n+=i;return n}function qct(e,t){e instanceof qD&&(e=new WM(e));for(let n of e.state.facet(Slt)){let r=n(e,t);if(r!==void 0)return r}let n=CM(e.state);return n.length>=t?Jct(e,n,t):null}function Jct(e,t,n){let r=t.resolveStack(n),i=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let e=[];for(let t=i;t&&!(t.from<r.node.from||t.to>r.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return Yct(r,e,n)}function Yct(e,t,n){for(let r=e;r;r=r.next){let e=Zct(r.node);if(e)return e(Clt.create(t,n,r))}return 0}function Xct(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function Zct(e){let t=e.type.prop(GM);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(Ij.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>tlt(e,!0,1,void 0,n&&!Xct(e)?t.from:void 0)}return e.parent==null?Qct:null}function Qct(){return 0}function $ct(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function elt(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,a=e.state.doc.lineAt(n.from),o=i==null||i<=a.from?a.to:Math.min(a.to,i);for(let e=n.to;;){let i=t.childAfter(e);if(!i||i==r)return null;if(!i.type.isSkipped){if(i.from>=o)return null;let e=/^ */.exec(a.text.slice(n.to-a.from))[0].length;return{from:n.from,to:n.to+e}}e=i.to}}function wM({closing:e,align:t=!0,units:n=1}){return r=>tlt(r,t,n,e)}function tlt(e,t,n,r,i){let a=e.textAfter,o=a.match(/^\s*/)[0].length,s=r&&a.slice(o,o+r.length)==r||i==e.pos+o,c=t?elt(e):null;return c?s?e.column(c.from):e.column(c.to):e.baseIndent+(s?0:e.unit*n)}function TM({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}function nlt(){return qD.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent(`input.type`)&&!e.isUserEvent(`input.complete`))return e;let t=e.startState.languageDataAt(`indentOnInput`,e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+Tlt)return e;let a=n.sliceString(i.from,r);if(!t.some(e=>e.test(a)))return e;let{state:o}=e,s=-1,c=[];for(let{head:e}of o.selection.ranges){let t=o.doc.lineAt(e);if(t.from==s)continue;s=t.from;let n=qct(o,t.from);if(n==null)continue;let r=/^\s*/.exec(t.text)[0],i=Kct(o,n);r!=i&&c.push({from:t.from,to:t.from+r.length,insert:i})}return c.length?[e,{changes:c,sequential:!0}]:e})}function EM(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function rlt(e,t,n){let r=CM(e);if(r.length<n)return null;let i=r.resolveStack(n,1),a=null;for(let o=i;o;o=o.next){let i=o.node;if(i.to<=n||i.from>n)continue;if(a&&i.from<t)break;let s=i.type.prop(KM);if(s&&(i.to<r.length-50||r.length==e.doc.length||!ilt(i))){let r=s(i,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(a=r)}}return a}function ilt(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function alt(e,t,n){for(let r of e.facet(Elt)){let i=r(e,t,n);if(i)return i}return rlt(e,t,n)}function olt(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}function slt(e,t,n=t){let r=!1;return e.between(t,n,(e,i)=>{e<n&&i>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(e,r)=>e>=n||r<=t}):e}function DM(e,t,n){var r;let i=null;return(r=e.field(YM,!1))==null||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function clt(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}function llt(e){let t=[YM,Alt];return e&&t.push(XM.of(e)),t}function ult(e,t){let{state:n}=e,r=n.facet(XM),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=DM(e.state,n.from,n.to);r&&e.dispatch({effects:JM.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let a=document.createElement(`span`);return a.textContent=r.placeholderText,a.setAttribute(`aria-label`,n.phrase(`folded code`)),a.title=n.phrase(`unfold`),a.className=`cm-foldPlaceholder`,a.onclick=i,a}function dlt(e={}){let t={...klt,...e},n=new QM(t,!0),r=new QM(t,!1),i=Vk.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(VM)!=e.state.facet(VM)||e.startState.field(YM,!1)!=e.state.field(YM,!1)||CM(e.startState)!=CM(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new ZD;for(let i of e.viewportLineBlocks){let a=DM(e.state,i.from,i.to)?r:alt(e.state,i.from,i.to)?n:null;a&&t.add(i.from,i.from,a)}return t.finish()}}),{domEventHandlers:a}=t;return[i,Xot({class:`cm-foldGutter`,markers(e){return e.plugin(i)?.markers||XD.empty},initialSpacer(){return new QM(t,!1)},domEventHandlers:{...a,click:(e,t,n)=>{if(a.click&&a.click(e,t,n))return!0;let r=DM(e.state,t.from,t.to);if(r)return e.dispatch({effects:JM.of(r)}),!0;let i=alt(e.state,t.from,t.to);return i?(e.dispatch({effects:qM.of(i)}),!0):!1}}}),llt()]}function OM(e){let t=e.facet(eN);return t.length?t:e.facet(tN)}function flt(e,t){let n=[Mlt],r;return e instanceof $M&&(e.module&&n.push(XA.styleModule.of(e.module)),r=e.themeType),t?.fallback?n.push(tN.of(e)):r?n.push(eN.computeN([XA.darkTheme],t=>t.facet(XA.darkTheme)==(r==`dark`)?[e]:[])):n.push(eN.of(e)),n}function plt(e){let t=[],n=e.matched?Flt:Ilt;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function mlt(e){let t=[],n=e.facet(iN);for(let r of e.selection.ranges){if(!r.empty)continue;let i=jM(e,r.head,-1,n)||r.head>0&&jM(e,r.head-1,1,n)||n.afterCursor&&(jM(e,r.head,1,n)||r.head<e.doc.length&&jM(e,r.head+1,-1,n));i&&(t=t.concat(n.renderMatch(i,e)))}return ck.set(t,!0)}function hlt(e={}){return[iN.of(e),Llt]}function kM(e,t,n){let r=e.prop(t<0?Ij.openedBy:Ij.closedBy);if(r)return r;if(e.name.length==1){let r=n.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[n[r+t]]}return null}function AM(e){let t=e.type.prop(aN);return t?t(e.node):e}function jM(e,t,n,r={}){let i=r.maxScanDistance||nN,a=r.brackets||rN,o=CM(e),s=o.resolveInner(t,n);for(let r=s;r;r=r.parent){let i=kM(r.type,n,a);if(i&&r.from<r.to){let o=AM(r);if(o&&(n>0?t>=o.from&&t<o.to:t>o.from&&t<=o.to))return glt(e,t,n,r,o,i,a)}}return _lt(e,t,n,o,s.type,i,a)}function glt(e,t,n,r,i,a,o){let s=r.parent,c={from:i.from,to:i.to},l=0,u=s?.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(l==0&&a.indexOf(u.type.name)>-1&&u.from<u.to){let e=AM(u);return{start:c,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(kM(u.type,n,o))l++;else if(kM(u.type,-n,o)){if(l==0){let e=AM(u);return{start:c,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}l--}}while(n<0?u.prevSibling():u.nextSibling());return{start:c,matched:!1}}function _lt(e,t,n,r,i,a,o){if(n<0?!t:t==e.doc.length)return null;let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),c=o.indexOf(s);if(c<0||c%2==0!=n>0)return null;let l={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=a;){let a=u.value;n<0&&(e+=a.length);let s=t+e*n;for(let e=n>0?0:a.length-1,t=n>0?a.length:-1;e!=t;e+=n){let t=o.indexOf(a[e]);if(!(t<0||r.resolveInner(s+e,1).type!=i)){if(t%2==0==n>0)d++;else if(d==1)return{start:l,end:{from:s+e,to:s+e+1},matched:t>>1==c>>1};else d--}}n>0&&(e+=a.length)}return u.done?{start:l,matched:!1}:null}function MM(e,t){sN.indexOf(e)>-1||(sN.push(e),console.warn(t))}function vlt(e,t){let n=[];for(let r of t.split(` `)){let t=[];for(let n of r.split(`.`)){let r=e[n]||W[n];r?typeof r==`function`?t.length?t=t.map(r):MM(n,`Modifier ${n} used at start of tag`):t.length?MM(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:MM(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,`_`),i=r+` `+n.map(e=>e.id),a=cN[i];if(a)return a.id;let o=cN[i]=Rj.define({id:oN.length,name:r,props:[nM({[r]:n})]});return oN.push(o),o.id}var NM,PM,FM,IM,ylt,LM,blt,RM,zM,BM,xlt,VM,HM,Slt,UM,WM,GM,Clt,wlt,Tlt,Elt,KM,qM,JM,YM,Dlt,XM,ZM,Olt,klt,QM,Alt,$M,eN,tN,jlt,Mlt,Nlt,Plt,nN,rN,iN,Flt,Ilt,Llt,aN,Rlt,oN,sN,cN,zlt,lN=s((()=>{tM(),tO(),Oj(),SM(),zit(),NM=new Ij,PM=new Ij,FM=class{constructor(e,t,n=[],r=``){this.data=e,this.name=r,qD.prototype.hasOwnProperty(`tree`)||Object.defineProperty(qD.prototype,"tree",{get(){return CM(this)}}),this.parser=t,this.extension=[VM.of(this),qD.languageData.of((e,t,n)=>{let r=Uct(e,t,n),i=r.type.prop(NM);if(!i)return[];let a=e.facet(i),o=r.type.prop(PM);if(o){let i=r.resolve(t-r.from,n);for(let t of o)if(t.test(i,e)){let n=e.facet(t.facet);return t.type==`replace`?n:n.concat(a)}}return a})].concat(n)}isActiveAt(e,t,n=-1){return Uct(e,t,n).type.prop(NM)==this.data}findRegions(e){let t=e.facet(VM);if(t?.data==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(NM)==this.data){n.push({from:t,to:t+e.length});return}let i=e.prop(Ij.mounted);if(i){if(i.tree.prop(NM)==this.data){if(i.overlay)for(let e of i.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(i.overlay){let e=n.length;if(r(i.tree,i.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let i=e.children[n];i instanceof Hj&&r(i,e.positions[n]+t)}};return r(CM(e),0),n}get allowsNesting(){return!0}},FM.setState=UD.define(),IM=class e extends FM{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(t){let n=Hct(t.languageData);return new e(n,t.parser.configure({props:[NM.add(e=>e.isTop?n:void 0)]}),t.name)}configure(t,n){return new e(this.data,this.parser.configure(t),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}},ylt=class{constructor(e){this.doc=e,this.cursorPos=0,this.string=``,this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}},LM=null,blt=class e{constructor(e,t,n=[],r,i,a,o,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=a,this.skipped=o,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(t,n,r){return new e(t,n,[],Hj.empty,0,r,[],null)}startParse(){return this.parser.startParse(new ylt(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Hj.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{if(typeof e==`number`){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||=this.startParse(),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let n=this.parse.advance();if(n){if(this.fragments=this.withoutTempSkipped(Xj.addTree(n,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=this.parse.stoppedAt??this.state.doc.length,this.tree=n,this.parse=null,this.treeLen<(t??this.state.doc.length))this.parse=this.startParse();else return!0}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Xj.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=LM;LM=this;try{return e()}finally{LM=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Wct(e,t.from,t.to);return e}changes(t,n){let{fragments:r,tree:i,treeLen:a,viewport:o,skipped:s}=this;if(this.takeTree(),!t.empty){let e=[];if(t.iterChangedRanges((t,n,r,i)=>e.push({fromA:t,toA:n,fromB:r,toB:i})),r=Xj.applyChanges(r,e),i=Hj.empty,a=0,o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)},this.skipped.length){s=[];for(let e of this.skipped){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);n<r&&s.push({from:n,to:r})}}}return new e(this.parser,n,r,i,a,o,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:n,to:r}=this.skipped[t];n<e.to&&r>e.from&&(this.fragments=Wct(this.fragments,n,r),this.skipped.splice(t--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&=(this.takeTree(),null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends Zj{createParse(t,n,r){let i=r[0].from,a=r[r.length-1].to;return{parsedPos:i,advance(){let t=LM;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=a,new Hj(Rj.none,[],[],a-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return LM}},RM=class e{constructor(e){this.context=e,this.tree=e.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new e(n)}static init(t){let n=Math.min(3e3,t.doc.length),r=blt.create(t.facet(VM).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new e(r)}},FM.state=OD.define({create:RM.init,update(e,t){for(let e of t.effects)if(e.is(FM.setState))return e.value;return t.startState.facet(VM)==t.state.facet(VM)?e.apply(t):RM.init(t.state)}}),zM=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)},typeof requestIdleCallback<`u`&&(zM=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)}),BM=typeof navigator<`u`&&navigator.scheduling?.isInputPending?()=>navigator.scheduling.isInputPending():null,xlt=Vk.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(FM.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(FM.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=zM(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,i=n.field(FM.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!BM?Math.max(25,e.timeRemaining()-5):1e9),o=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>BM&&BM()||Date.now()>a,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:FM.setState.of(new RM(i.context))})),this.chunkBudget>0&&(!s||o)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&=(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>OO(this.view.state,e)).then(()=>this.workScheduled--),null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),VM=TD.define({combine(e){return e.length?e[0]:null},enables:e=>[FM.state,xlt,XA.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]}),HM=class{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}},Slt=TD.define(),UM=TD.define({combine:e=>{if(!e.length)return` `;let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error(`Invalid indent unit: `+JSON.stringify(e[0]));return t}}),WM=class{constructor(e,t={}){this.state=e,this.options=t,this.unit=Gct(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;return r!=null&&r>=n.from&&r<=n.to?i&&r==e?{text:``,from:e}:(t<0?r<e:r<=e)?{text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return``;let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.countColumn(n,e-r),a=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return a>-1&&(i+=a-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return uD(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},GM=new Ij,Clt=class e extends WM{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(t,n,r){return new e(t,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if($ct(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return Yct(this.context.next,this.base,this.pos)}},wlt=e=>e.baseIndent,Tlt=200,Elt=TD.define(),KM=new Ij,qM=UD.define({map:olt}),JM=UD.define({map:olt}),YM=OD.define({create(){return ck.none},update(e,t){t.isUserEvent(`delete`)&&t.changes.iterChangedRanges((t,n)=>e=slt(e,t,n)),e=e.map(t.changes);let n=[];for(let r of t.effects)r.is(qM)&&!clt(e,r.value.from,r.value.to)?n.push(r.value):r.is(JM)&&(e=e.update({filter:(e,t)=>r.value.from!=e||r.value.to!=t,filterFrom:r.value.from,filterTo:r.value.to}));if(n.length){let{preparePlaceholder:r}=t.state.facet(XM),i=n.map(e=>(r?ck.replace({widget:new Olt(r(t.state,e))}):ZM).range(e.from,e.to));e=e.update({add:i})}return t.selection&&(e=slt(e,t.selection.main.head)),e},provide:e=>XA.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError(`Invalid JSON for fold state`);let t=[];for(let n=0;n<e.length;){let r=e[n++],i=e[n++];if(typeof r!=`number`||typeof i!=`number`)throw RangeError(`Invalid JSON for fold state`);t.push(ZM.range(r,i))}return ck.set(t,!0)}}),Dlt={placeholderDOM:null,preparePlaceholder:null,placeholderText:`…`},XM=TD.define({combine(e){return nD(e,Dlt)}}),ZM=ck.replace({widget:new class extends ok{toDOM(e){return ult(e,null)}}}),Olt=class extends ok{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return ult(e,this.value)}},klt={openText:`⌄`,closedText:`›`,markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},QM=class extends bj{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement(`span`);return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?`Fold line`:`Unfold line`),t}},Alt=XA.baseTheme({".cm-foldPlaceholder":{backgroundColor:`#eee`,border:`1px solid #ddd`,color:`#888`,borderRadius:`.2em`,margin:`0 1px`,padding:`0 1px`,cursor:`pointer`},".cm-foldGutter span":{padding:`0 1px`,cursor:`pointer`}}),$M=class e{constructor(e,t){this.specs=e;let n;function r(e){let t=oO.newName();return(n||=Object.create(null))[`.`+t]=e,t}let i=typeof t.all==`string`?t.all:t.all?r(t.all):void 0,a=t.scope;this.scope=a instanceof FM?e=>e.prop(NM)==a.data:a?e=>e==a:void 0,this.style=Fct(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new oO(n):null,this.themeType=t.themeType}static define(t,n){return new e(t,n||{})}},eN=TD.define(),tN=TD.define({combine(e){return e.length?[e[0]]:null}}),jlt=class{constructor(e){this.markCache=Object.create(null),this.tree=CM(e.state),this.decorations=this.buildDeco(e,OM(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=CM(e.state),n=OM(e.state),r=n!=OM(e.startState),{viewport:i}=e.view,a=e.changes.mapPos(this.decoratedTo,1);t.length<i.to&&!r&&t.type==this.tree.type&&a>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=a):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return ck.none;let n=new ZD;for(let{from:r,to:i}of e.visibleRanges)Lct(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=ck.mark({class:r})))},r,i);return n.finish()}},Mlt=AD.high(Vk.fromClass(jlt,{decorations:e=>e.decorations})),Nlt=$M.define([{tag:W.meta,color:`#404740`},{tag:W.link,textDecoration:`underline`},{tag:W.heading,textDecoration:`underline`,fontWeight:`bold`},{tag:W.emphasis,fontStyle:`italic`},{tag:W.strong,fontWeight:`bold`},{tag:W.strikethrough,textDecoration:`line-through`},{tag:W.keyword,color:`#708`},{tag:[W.atom,W.bool,W.url,W.contentSeparator,W.labelName],color:`#219`},{tag:[W.literal,W.inserted],color:`#164`},{tag:[W.string,W.deleted],color:`#a11`},{tag:[W.regexp,W.escape,W.special(W.string)],color:`#e40`},{tag:W.definition(W.variableName),color:`#00f`},{tag:W.local(W.variableName),color:`#30a`},{tag:[W.typeName,W.namespace],color:`#085`},{tag:W.className,color:`#167`},{tag:[W.special(W.variableName),W.macroName],color:`#256`},{tag:W.definition(W.propertyName),color:`#00c`},{tag:W.comment,color:`#940`},{tag:W.invalid,color:`#f00`}]),Plt=XA.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:`#328c8252`},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:`#bb555544`}}),nN=1e4,rN=`()[]{}`,iN=TD.define({combine(e){return nD(e,{afterCursor:!0,brackets:rN,maxScanDistance:nN,renderMatch:plt})}}),Flt=ck.mark({class:`cm-matchingBracket`}),Ilt=ck.mark({class:`cm-nonmatchingBracket`}),Llt=[Vk.fromClass(class{constructor(e){this.paused=!1,this.decorations=mlt(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=mlt(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),Plt],aN=new Ij,Rlt=Object.create(null),oN=[Rj.none],sN=[],cN=Object.create(null),zlt=Object.create(null);for(let[e,t]of[[`variable`,`variableName`],[`variable-2`,`variableName.special`],[`string-2`,`string.special`],[`def`,`variableName.definition`],[`tag`,`tagName`],[`attribute`,`attributeName`],[`type`,`typeName`],[`builtin`,`variableName.standard`],[`qualifier`,`modifier`],[`error`,`invalid`],[`header`,`heading`],[`property`,`propertyName`]])zlt[e]=vlt(Rlt,t);_k.RTL,_k.LTR}));function Blt(e,t,n,r,i,a){switch(r){case`AttributeValue`:{let n=e.resolveInner(t,0).tree;if(!n)return null;let r=n.prop(Ij.mounted)?.tree;if(r?.type.name!==`Styles`)return null;let a=[];return r.iterate({from:0,to:r.length,enter:({type:n,from:r,to:o})=>{let s=Blt(e,t+1+r,t+1+o,n.name,i);if(s){if(Array.isArray(s))throw Error(`Unexpected nested overlays`);a.push(s)}}}),a}case`CallExpression`:{let e=Vlt(i.sliceString(t,n));return e?Object.assign(Object.assign({},e),{from:t,to:n}):null}case`ColorLiteral`:{let e=Hlt(i.sliceString(t,n));return e?Object.assign(Object.assign({},e),{from:t,to:n}):null}case`ValueName`:{let e=Ult(i.sliceString(t,n));return e?Object.assign(Object.assign({},e),{from:t,to:n}):null}default:return null}}function Vlt(e){switch(e.slice(0,3)){case`rgb`:{let t=$lt.exec(e);if(!t)return null;let[n,r,i,a,o]=t,s=qlt(r,i,a);return{colorType:hN.rgb,color:s,alpha:o||``}}case`hsl`:{let t=eut.exec(e);if(!t)return null;let[n,r,i,a,o]=t,s=Jlt(r,i,a);return{colorType:hN.hsl,color:s,alpha:o||``}}default:return null}}function Hlt(e){if(!tut.exec(e))return null;let[t,n]=Glt(e);return{colorType:hN.hex,color:t,alpha:n}}function Ult(e){let t=pN.get(e);return t?{colorType:hN.named,color:t,alpha:``}:null}function Wlt(e,t){let n=[],r=CM(e.state);for(let i of e.visibleRanges)r.iterate({from:i.from,to:i.to,enter:({type:i,from:a,to:o})=>{let s=t(r,a,o,i.name,e.state.doc,e.state.facet(VM)?.name);if(s){if(!Array.isArray(s))n.push(ck.widget({widget:new _N(s),side:1}).range(s.from));else for(let e of s)n.push(ck.widget({widget:new _N(e),side:1}).range(e.from))}}});return ck.set(n)}function Glt(e){return e.length===4?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,``]:e.length===5?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,e[4].repeat(2)]:e.length===9?[`#${e.slice(1,-2)}`,e.slice(-2)]:[e,``]}function uN(e){let t;if(e.endsWith(`%`)){let n=Number(e.slice(0,-1));t=Math.round(n/100*255)}else t=Number(e);return dN(t)}function dN(e){let t=e.toString(16);return t.length===1?`0`+t:t}function Klt(e){let t=e.slice(1,3),n=e.slice(3,5),r=e.slice(5,7);return[parseInt(t,16),parseInt(n,16),parseInt(r,16)]}function qlt(e,t,n){return`#${uN(e)}${uN(t)}${uN(n)}`}function Jlt(e,t,n){let r=Number(t)/100,i=Number(n)/100,[a,o,s]=Ylt(Number(e),r,i);return`#${dN(a)}${dN(o)}${dN(s)}`}function Ylt(e,t,n){if(t===0){let e=Math.round(n*255);return[e,e,e]}let r;r=n<.5?n*(1+t):n+t-n*t;let i=2*n-r;e/=360;let a=Xlt(e+.333),o=e,s=Xlt(e-.333),c=fN(r,i,a),l=fN(r,i,o),u=fN(r,i,s);return[Math.round(c*255),Math.round(l*255),Math.round(u*255)]}function Xlt(e){return e<0?e+1:e>1?e-1:e}function fN(e,t,n){return 6*n<1?t+(e-t)*6*n:2*n<1?e:3*n<2?t+(e-t)*(.666-n)*6:t}function Zlt(e,t,n){let r=e/255,i=t/255,a=n/255,o=Math.min(r,i,a),s=Math.max(r,i,a),c=(s+o)/2;if(s===o)return[0,0,c];let l;l=c<=.5?(s-o)/(s+o):(s-o)/(2-s-o);let u;for(u=s===r?(i-a)/(s-o):i===s?2+(a-r)/(s-o):4+(r-i)/(s-o),u=Math.round(u*60);u<0;)u+=360;return[u,l,c]}var pN,Qlt,mN,hN,$lt,eut,tut,gN,_N,nut,rut,iut,aut=s((()=>{Oj(),tM(),lN(),pN=new Map([[`aliceblue`,`#f0f8ff`],[`antiquewhite`,`#faebd7`],[`aqua`,`#00ffff`],[`aquamarine`,`#7fffd4`],[`azure`,`#f0ffff`],[`beige`,`#f5f5dc`],[`bisque`,`#ffe4c4`],[`black`,`#000000`],[`blanchedalmond`,`#ffebcd`],[`blue`,`#0000ff`],[`blueviolet`,`#8a2be2`],[`brown`,`#a52a2a`],[`burlywood`,`#deb887`],[`cadetblue`,`#5f9ea0`],[`chartreuse`,`#7fff00`],[`chocolate`,`#d2691e`],[`coral`,`#ff7f50`],[`cornflowerblue`,`#6495ed`],[`cornsilk`,`#fff8dc`],[`crimson`,`#dc143c`],[`cyan`,`#00ffff`],[`darkblue`,`#00008b`],[`darkcyan`,`#008b8b`],[`darkgoldenrod`,`#b8860b`],[`darkgray`,`#a9a9a9`],[`darkgreen`,`#006400`],[`darkgrey`,`#a9a9a9`],[`darkkhaki`,`#bdb76b`],[`darkmagenta`,`#8b008b`],[`darkolivegreen`,`#556b2f`],[`darkorange`,`#ff8c00`],[`darkorchid`,`#9932cc`],[`darkred`,`#8b0000`],[`darksalmon`,`#e9967a`],[`darkseagreen`,`#8fbc8f`],[`darkslateblue`,`#483d8b`],[`darkslategray`,`#2f4f4f`],[`darkslategrey`,`#2f4f4f`],[`darkturquoise`,`#00ced1`],[`darkviolet`,`#9400d3`],[`deeppink`,`#ff1493`],[`deepskyblue`,`#00bfff`],[`dimgray`,`#696969`],[`dimgrey`,`#696969`],[`dodgerblue`,`#1e90ff`],[`firebrick`,`#b22222`],[`floralwhite`,`#fffaf0`],[`forestgreen`,`#228b22`],[`fuchsia`,`#ff00ff`],[`gainsboro`,`#dcdcdc`],[`ghostwhite`,`#f8f8ff`],[`goldenrod`,`#daa520`],[`gold`,`#ffd700`],[`gray`,`#808080`],[`green`,`#008000`],[`greenyellow`,`#adff2f`],[`grey`,`#808080`],[`honeydew`,`#f0fff0`],[`hotpink`,`#ff69b4`],[`indianred`,`#cd5c5c`],[`indigo`,`#4b0082`],[`ivory`,`#fffff0`],[`khaki`,`#f0e68c`],[`lavenderblush`,`#fff0f5`],[`lavender`,`#e6e6fa`],[`lawngreen`,`#7cfc00`],[`lemonchiffon`,`#fffacd`],[`lightblue`,`#add8e6`],[`lightcoral`,`#f08080`],[`lightcyan`,`#e0ffff`],[`lightgoldenrodyellow`,`#fafad2`],[`lightgray`,`#d3d3d3`],[`lightgreen`,`#90ee90`],[`lightgrey`,`#d3d3d3`],[`lightpink`,`#ffb6c1`],[`lightsalmon`,`#ffa07a`],[`lightseagreen`,`#20b2aa`],[`lightskyblue`,`#87cefa`],[`lightslategray`,`#778899`],[`lightslategrey`,`#778899`],[`lightsteelblue`,`#b0c4de`],[`lightyellow`,`#ffffe0`],[`lime`,`#00ff00`],[`limegreen`,`#32cd32`],[`linen`,`#faf0e6`],[`magenta`,`#ff00ff`],[`maroon`,`#800000`],[`mediumaquamarine`,`#66cdaa`],[`mediumblue`,`#0000cd`],[`mediumorchid`,`#ba55d3`],[`mediumpurple`,`#9370db`],[`mediumseagreen`,`#3cb371`],[`mediumslateblue`,`#7b68ee`],[`mediumspringgreen`,`#00fa9a`],[`mediumturquoise`,`#48d1cc`],[`mediumvioletred`,`#c71585`],[`midnightblue`,`#191970`],[`mintcream`,`#f5fffa`],[`mistyrose`,`#ffe4e1`],[`moccasin`,`#ffe4b5`],[`navajowhite`,`#ffdead`],[`navy`,`#000080`],[`oldlace`,`#fdf5e6`],[`olive`,`#808000`],[`olivedrab`,`#6b8e23`],[`orange`,`#ffa500`],[`orangered`,`#ff4500`],[`orchid`,`#da70d6`],[`palegoldenrod`,`#eee8aa`],[`palegreen`,`#98fb98`],[`paleturquoise`,`#afeeee`],[`palevioletred`,`#db7093`],[`papayawhip`,`#ffefd5`],[`peachpuff`,`#ffdab9`],[`peru`,`#cd853f`],[`pink`,`#ffc0cb`],[`plum`,`#dda0dd`],[`powderblue`,`#b0e0e6`],[`purple`,`#800080`],[`rebeccapurple`,`#663399`],[`red`,`#ff0000`],[`rosybrown`,`#bc8f8f`],[`royalblue`,`#4169e1`],[`saddlebrown`,`#8b4513`],[`salmon`,`#fa8072`],[`sandybrown`,`#f4a460`],[`seagreen`,`#2e8b57`],[`seashell`,`#fff5ee`],[`sienna`,`#a0522d`],[`silver`,`#c0c0c0`],[`skyblue`,`#87ceeb`],[`slateblue`,`#6a5acd`],[`slategray`,`#708090`],[`slategrey`,`#708090`],[`snow`,`#fffafa`],[`springgreen`,`#00ff7f`],[`steelblue`,`#4682b4`],[`tan`,`#d2b48c`],[`teal`,`#008080`],[`thistle`,`#d8bfd8`],[`tomato`,`#ff6347`],[`turquoise`,`#40e0d0`],[`violet`,`#ee82ee`],[`wheat`,`#f5deb3`],[`white`,`#ffffff`],[`whitesmoke`,`#f5f5f5`],[`yellow`,`#ffff00`],[`yellowgreen`,`#9acd32`]]),Qlt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},mN=new WeakMap,hN=(function(e){return e.rgb=`RGB`,e.hex=`HEX`,e.named=`NAMED`,e.hsl=`HSL`,e})(hN||={}),$lt=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,eut=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,tut=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i,gN=`cm-css-color-picker-wrapper`,_N=class extends ok{constructor(e){var{color:t}=e,n=Qlt(e,[`color`]);super(),this.state=n,this.color=t}eq(e){return e.state.colorType===this.state.colorType&&e.color===this.color&&e.state.from===this.state.from&&e.state.to===this.state.to&&e.state.alpha===this.state.alpha}toDOM(){let e=document.createElement(`input`);mN.set(e,this.state),e.type=`color`,e.value=this.color;let t=document.createElement(`span`);return t.appendChild(e),t.className=gN,t}ignoreEvent(){return!1}},nut=XA.baseTheme({[`.${gN}`]:{display:`inline-block`,outline:`1px solid #eee`,marginRight:`0.6ch`,height:`1em`,width:`1em`,transform:`translateY(1px)`},[`.${gN} input[type="color"]`]:{cursor:`pointer`,height:`100%`,width:`100%`,padding:0,border:`none`,"&::-webkit-color-swatch-wrapper":{padding:0},"&::-webkit-color-swatch":{border:`none`},"&::-moz-color-swatch":{border:`none`}}}),rut=e=>Vk.fromClass(class{constructor(t){this.decorations=Wlt(t,e.discoverColors)}update(t){(t.docChanged||t.viewportChanged)&&(this.decorations=Wlt(t.view,e.discoverColors))}},{decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>{let n=e.target;if(n.nodeName!==`INPUT`||!n.parentElement||!n.parentElement.classList.contains(`cm-css-color-picker-wrapper`))return!1;let r=mN.get(n),i=n.value+r.alpha;if(r.colorType===hN.rgb)i=`rgb(${Klt(n.value).join(`, `)}${r.alpha})`;else if(r.colorType===hN.named)for(let[e,t]of pN.entries())t===n.value&&(i=e);else if(r.colorType===hN.hsl){let[e,t,a]=Klt(n.value),[o,s,c]=Zlt(e,t,a);i=`hsl(${o}, ${Math.round(s*100)}%, ${Math.round(c*100)}%${r.alpha})`}return t.dispatch({changes:{from:r.from,to:r.to,insert:i}}),!0}}}),iut=[rut({discoverColors:Blt}),nut]}));function out(e){let t=Object.keys(e).join(``),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,``)),`[${n?`\\w`:``}${t.replace(/[^\w\s]/g,`\\$&`)}]`}function sut(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=out(t)+out(n)+`*$`;return[RegExp(`^`+r),new RegExp(r)]}function cut(e){let t=e.map(e=>typeof e==`string`?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:sut(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function lut(e,t){return n=>{for(let t=CM(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}function vN(e){return e.selection.main.from}function uut(e,t){let{source:n}=e,r=t&&n[0]!=`^`,i=n[n.length-1]!=`$`;return!r&&!i?e:RegExp(`${r?`^`:``}(?:${n})${i?`$`:``}`,e.flags??(e.ignoreCase?`i`:``))}function dut(e,t,n,r){let{main:i}=e.selection,a=n-i.from,o=r-i.from;return{...e.changeByRange(s=>{if(s!=i&&n!=r&&e.sliceDoc(s.from+a,s.from+o)!=e.sliceDoc(n,r))return{range:s};let c=e.toText(t);return{changes:{from:s.from+a,to:r==i.from?s.to:s.from+o,insert:c},range:CD.cursor(s.from+a+c.length)}}),scrollIntoView:!0,userEvent:`input.complete`}}function fut(e){if(!Array.isArray(e))return e;let t=ON.get(e);return t||ON.set(e,t=cut(e)),t}function put(e,t){return e?t?e+` `+t:e:t}function mut(e,t,n,r,i,a){let o=e.textDirection==_k.RTL,s=o,c=!1,l=`top`,u,d,f=t.left-i.left,p=i.right-t.right,m=r.right-r.left,h=r.bottom-r.top;if(s&&f<Math.min(m,p)?s=!1:!s&&p<Math.min(m,f)&&(s=!0),m<=(s?f:p))u=Math.max(i.top,Math.min(n.top,i.bottom-h))-t.top,d=Math.min(400,s?f:p);else{c=!0,d=Math.min(400,(o?t.right:i.right-t.left)-30);let e=i.bottom-t.bottom;e>=h||e>t.top?u=n.bottom-t.top:(l=`bottom`,u=t.bottom-n.top)}let g=(t.bottom-t.top)/a.offsetHeight,_=(t.right-t.left)/a.offsetWidth;return{style:`${l}: ${u/g}px; max-width: ${d/_}px`,class:`cm-completionInfo-`+(c?o?`left-narrow`:`right-narrow`:s?`left`:`right`)}}function hut(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement(`div`);return t.classList.add(`cm-completionIcon`),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>`cm-completionIcon-`+e)),t.setAttribute(`aria-hidden`,`true`),t},position:20}),t.push({render(e,t,n,r){let i=document.createElement(`span`);i.className=`cm-completionLabel`;let a=e.displayLabel||e.label,o=0;for(let e=0;e<r.length;){let t=r[e++],n=r[e++];t>o&&i.appendChild(document.createTextNode(a.slice(o,t)));let s=i.appendChild(document.createElement(`span`));s.appendChild(document.createTextNode(a.slice(t,n))),s.className=`cm-completionMatchedText`,o=n}return o<a.length&&i.appendChild(document.createTextNode(a.slice(o))),i},position:50},{render(e){if(!e.detail)return null;let t=document.createElement(`span`);return t.className=`cm-completionDetail`,t.textContent=e.detail,t},position:80}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}function yN(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.ceil((e-t)/n);return{from:e-r*n,to:e-(r-1)*n}}function gut(e,t){return n=>new Vut(n,e,t)}function _ut(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.height/e.offsetHeight;r.top<n.top?e.scrollTop-=(n.top-r.top)/i:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/i)}function vut(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+ +!!e.type}function yut(e,t){let n=[],r=null,i=null,a=e=>{n.push(e);let{section:t}=e.completion;if(t){r||=[];let e=typeof t==`string`?t:t.name;r.some(t=>t.name==e)||r.push(typeof t==`string`?{name:e}:t)}},o=t.facet(jN);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(r.result.filter===!1)for(let t of r.result.options)a(new EN(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),s,c=o.filterStrict?new But(n):new zut(n);for(let t of r.result.options)if(s=c.match(t.label)){let n=t.displayLabel?e?e(t,s.matched):[]:s.matched,o=s.score+(t.boost||0);if(a(new EN(t,r.source,n,o)),typeof t.section==`object`&&t.section.rank===`dynamic`){let{name:e}=t.section;i||=Object.create(null),i[e]=Math.max(o,i[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0,a=(e,t)=>(e.rank===`dynamic`&&t.rank===`dynamic`?i[t.name]-i[e.name]:0)||(typeof e.rank==`number`?e.rank:1e9)-(typeof t.rank==`number`?t.rank:1e9)||(e.name<t.name?-1:1);for(let n of r.sort(a))t-=1e5,e[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e[typeof n==`string`?n:n.name])}}let s=[],c=null,l=o.compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||l(e.completion,t.completion))){let t=e.completion;!c||c.label!=t.label||c.detail!=t.detail||c.type!=null&&t.type!=null&&c.type!=t.type||c.apply!=t.apply||c.boost!=t.boost?s.push(e):vut(e.completion)>vut(c)&&(s[s.length-1]=e),c=e.completion}return s}function but(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let i=n==e.length,a=r==t.length;if(i||a)return i==a;if(e[n++].result!=t[r++].result)return!1}}function xut(e,t){let n={"aria-autocomplete":`list`,"aria-haspopup":`listbox`,"aria-controls":e};return t>-1&&(n[`aria-activedescendant`]=e+`-`+t),n}function Sut(e,t){if(e.isUserEvent(`input.complete`)){let n=e.annotation(DN);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent(`input.type`);return n&&t.activateOnTyping?5:n?1:e.isUserEvent(`delete.backward`)?2:e.selection?8:e.docChanged?16:0}function Cut(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return typeof e==`function`?e(i,n,r,t):uut(e,!0).test(i)}function bN(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(IN).active.find(e=>e.source==t.source);return r instanceof PN&&(typeof n==`string`?e.dispatch({...dut(e.state,n,r.from,r.to),annotations:DN.of(t.completion)}):n(e,t.completion,r.from,r.to),!0)}function xN(e,t=`option`){return n=>{let r=n.state.field(IN,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(jN).interactionDelay)return!1;let i=1,a;t==`page`&&(a=Jot(n,r.open.tooltip))&&(i=Math.max(2,Math.floor(a.dom.offsetHeight/a.dom.querySelector(`li`).offsetHeight)-1));let{length:o}=r.open.options,s=r.open.selected>-1?r.open.selected+i*(e?1:-1):e?0:o-1;return s<0?s=t==`page`?0:o-1:s>=o&&(s=t==`page`?o-1:0),n.dispatch({effects:MN.of(s)}),!0}}function SN(e,t){return CD.create(e.filter(e=>e.field==t).map(e=>CD.range(e.from,e.to)))}function wut(e){let t=idt.parse(e);return(e,n,r,i)=>{let{text:a,ranges:o}=t.instantiate(e.state,r),{main:s}=e.state.selection,c={changes:{from:r,to:i==s.from?s.to:i,insert:dD.of(a)},scrollIntoView:!0,annotations:n?[DN.of(n),WD.userEvent.of(`input.complete`)]:void 0};if(o.length&&(c.selection=SN(o,0)),o.some(e=>e.field>0)){let t=new zN(o,0),n=c.effects=[BN.of(t)];e.state.field(VN,!1)===void 0&&n.push(UD.appendConfig.of([VN,fdt,pdt,RN]))}e.dispatch(e.state.update(c))}}function Tut(e){return({state:t,dispatch:n})=>{let r=t.field(VN,!1);if(!r||e<0&&r.active==0)return!1;let i=r.active+e,a=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:SN(r.ranges,i),effects:BN.of(a?null:new zN(r.ranges,i)),scrollIntoView:!0})),!0}}function CN(e,t){return{...t,apply:wut(e)}}function Eut(){return[hdt,KN]}function Dut(e){for(let t=0;t<16;t+=2)if(qN.charCodeAt(t)==e)return qN.charAt(t+1);return mit(e<128?e:e+1)}function Out(e,t){return e.languageDataAt(`closeBrackets`,t)[0]||UN}function kut(e,t){let n=Out(e,e.selection.main.head),r=n.brackets||UN.brackets;for(let i of r){let a=Dut(UE(i,0));if(t==i)return a==i?Put(e,i,r.indexOf(i+i+i)>-1,n):Mut(e,i,a,n.before||UN.before);if(t==a&&Aut(e,e.selection.main.from))return Nut(e,i,a)}return null}function Aut(e,t){let n=!1;return e.field(KN).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function wN(e,t){let n=e.sliceString(t,t+2);return n.slice(0,WE(UE(n,0)))}function jut(e,t){let n=e.sliceString(t-2,t);return WE(UE(n,0))==n.length?n:n.slice(1)}function Mut(e,t,n,r){let i=null,a=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:n,from:a.to}],effects:WN.of(a.to+t.length),range:CD.range(a.anchor+t.length,a.head+t.length)};let o=wN(e.doc,a.head);return!o||/\s/.test(o)||r.indexOf(o)>-1?{changes:{insert:t+n,from:a.head},effects:WN.of(a.head+t.length),range:CD.cursor(a.head+t.length)}:{range:i=a}});return i?null:e.update(a,{scrollIntoView:!0,userEvent:`input.type`})}function Nut(e,t,n){let r=null,i=e.changeByRange(t=>t.empty&&wN(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:CD.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(i,{scrollIntoView:!0,userEvent:`input.type`})}function Put(e,t,n,r){let i=r.stringPrefixes||UN.stringPrefixes,a=null,o=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:WN.of(r.to+t.length),range:CD.range(r.anchor+t.length,r.head+t.length)};let o=r.head,s=wN(e.doc,o),c;if(s==t){if(Fut(e,o))return{changes:{insert:t+t,from:o},effects:WN.of(o+t.length),range:CD.cursor(o+t.length)};if(Aut(e,o)){let r=n&&e.sliceDoc(o,o+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:o,to:o+r.length,insert:r},range:CD.cursor(o+r.length)}}}else if(n&&e.sliceDoc(o-2*t.length,o)==t+t&&(c=Lut(e,o-2*t.length,i))>-1&&Fut(e,c))return{changes:{insert:t+t+t+t,from:o},effects:WN.of(o+t.length),range:CD.cursor(o+t.length)};else if(e.charCategorizer(o)(s)!=GD.Word&&Lut(e,o,i)>-1&&!Iut(e,o,t,i))return{changes:{insert:t+t,from:o},effects:WN.of(o+t.length),range:CD.cursor(o+t.length)};return{range:a=r}});return a?null:e.update(o,{scrollIntoView:!0,userEvent:`input.type`})}function Fut(e,t){let n=CM(e).resolveInner(t+1);return n.parent&&n.from==t}function Iut(e,t,n,r){let i=CM(e).resolveInner(t,-1),a=r.reduce((e,t)=>Math.max(e,t.length),0);for(let o=0;o<5;o++){let o=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+a)),s=o.indexOf(n);if(!s||s>-1&&r.indexOf(o.slice(0,s))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+s;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let c=i.to==t&&i.parent;if(!c)break;i=c}return!1}function Lut(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=GD.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&r(e.sliceDoc(n-1,n))!=GD.Word)return n}return-1}function Rut(e={}){return[tdt,IN,jN.of(e),$ut,vdt,RN]}var TN,EN,DN,ON,kN,AN,zut,But,jN,MN,Vut,Hut,Uut,Wut,Gut,Kut,NN,PN,FN,IN,qut,Jut,LN,Yut,Xut,Zut,Qut,$ut,edt,tdt,RN,ndt,rdt,idt,adt,odt,zN,BN,sdt,VN,cdt,ldt,udt,ddt,HN,fdt,pdt,UN,WN,GN,KN,qN,mdt,hdt,gdt,_dt,JN,vdt,ydt=s((()=>{tO(),Oj(),lN(),TN=class{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=CM(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(uut(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(e,t,n){e==`abort`&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}},EN=class{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}},DN=HD.define(),ON=new WeakMap,kN=UD.define(),AN=UD.define(),zut=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=UE(e,t),r=WE(n);this.chars.push(n);let i=e.slice(t,t+r),a=i.toUpperCase();this.folded.push(UE(a==i?i.toLowerCase():a,0)),t+=r}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:r,precise:i,byWord:a}=this;if(t.length==1){let r=UE(e,0),i=WE(r),a=i==e.length?0:-100;if(r!=t[0]){if(r==n[0])a+=-200;else return null}return this.ret(a,[0,i])}let o=e.indexOf(this.pattern);if(o==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let s=t.length,c=0;if(o<0){for(let i=0,a=Math.min(e.length,200);i<a&&c<s;){let a=UE(e,i);(a==t[c]||a==n[c])&&(r[c++]=i),i+=WE(a)}if(c<s)return null}let l=0,u=0,d=!1,f=0,p=-1,m=-1,h=/[a-z]/.test(e),g=!0;for(let r=0,c=Math.min(e.length,200),_=0;r<c&&u<s;){let c=UE(e,r);o<0&&(l<s&&c==t[l]&&(i[l++]=r),f<s&&(c==t[f]||c==n[f]?(f==0&&(p=r),m=r+1,f++):f=0));let v,y=c<255?c>=48&&c<=57||c>=97&&c<=122?2:+(c>=65&&c<=90):(v=mit(c))==v.toLowerCase()?v==v.toUpperCase()?0:2:1;(!r||y==1&&h||_==0&&y!=0)&&(t[u]==c||n[u]==c&&(d=!0)?a[u++]=r:a.length&&(g=!1)),_=y,r+=WE(c)}return u==s&&a[0]==0&&g?this.result(-100+(d?-200:0),a,e):f==s&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):f==s?this.ret(-900-e.length,[p,m]):u==s?this.result(-100+(d?-200:0)+-700+(g?0:-1100),a,e):t.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[],i=0;for(let e of t){let t=e+(this.astral?WE(UE(n,e)):1);i&&r[i-1]==e?r[i-1]=t:(r[i++]=e,r[i++]=t)}return this.ret(e-n.length,r)}},But=class{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return n==null?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}},jN=TD.define({combine(e){return nD(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>``,optionClass:()=>``,aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:mut,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>put(e(n),t(n)),optionClass:(e,t)=>n=>put(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})}}),MN=UD.define(),Vut=class{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass=``;let r=e.state.field(t),{options:i,selected:a}=r.open,o=e.state.facet(jN);this.optionContent=hut(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=yN(i.length,a,o.maxRenderedOptions),this.dom=document.createElement(`div`),this.dom.className=`cm-tooltip-autocomplete`,this.updateTooltipClass(e.state),this.dom.addEventListener(`mousedown`,n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,i;t&&t!=this.dom;t=t.parentNode)if(t.nodeName==`LI`&&(i=/-(\d+)$/.exec(t.id))&&+i[1]<r.length){this.applyCompletion(e,r[+i[1]]),n.preventDefault();return}if(n.target==this.list){let t=this.list.classList.contains(`cm-completionListIncompleteTop`)&&n.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains(`cm-completionListIncompleteBottom`)&&n.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;t!=null&&(e.dispatch({effects:MN.of(t)}),n.preventDefault())}}),this.dom.addEventListener(`focusout`,t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(jN).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:AN.of(null)})}),this.showOptions(i,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener(`scroll`,()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){let t=e.state.field(this.stateField),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),t!=n){let{options:r,selected:i,disabled:a}=t.open;(!n.open||n.open.options!=r)&&(this.range=yN(r.length,i,e.state.facet(jN).maxRenderedOptions),this.showOptions(r,t.id)),this.updateSel(),a!=n.open?.disabled&&this.dom.classList.toggle(`cm-tooltip-autocomplete-disabled`,!!a)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(` `))e&&this.dom.classList.remove(e);for(let e of t.split(` `))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=yN(t.options.length,t.selected,this.view.state.facet(jN).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:r}=t.options[t.selected],{info:i}=r;if(!i)return;let a=typeof i==`string`?document.createTextNode(i):i(r);if(!a)return;`then`in a?a.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>OO(this.view.state,e,`completion info`)):(this.addInfoPane(a,r),n.setAttribute(`aria-describedby`,this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement(`div`);if(n.className=`cm-tooltip cm-completionInfo`,n.id=`cm-completionInfo-`+Math.floor(Math.random()*65535).toString(16),e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!=`LI`||!n.id?r--:r==e?n.hasAttribute(`aria-selected`)||(n.setAttribute(`aria-selected`,`true`),t=n):n.hasAttribute(`aria-selected`)&&(n.removeAttribute(`aria-selected`),n.removeAttribute(`aria-describedby`));return t&&_ut(this.list,t),t}measureInfo(){let e=this.dom.querySelector(`[aria-selected]`);if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(jN).positionInfo(this.view,t,r,n,i,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className=`cm-tooltip cm-completionInfo `+(e.class||``)):this.info.style.cssText=`top: -1e6px`)}createListBox(e,t,n){let r=document.createElement(`ul`);r.id=t,r.setAttribute(`role`,`listbox`),r.setAttribute(`aria-expanded`,`true`),r.setAttribute(`aria-label`,this.view.state.phrase(`Completions`)),r.addEventListener(`mousedown`,e=>{e.target==r&&e.preventDefault()});let i=null;for(let a=n.from;a<n.to;a++){let{completion:o,match:s}=e[a],{section:c}=o;if(c){let e=typeof c==`string`?c:c.name;if(e!=i&&(a>n.from||n.from==0)){if(i=e,typeof c!=`string`&&c.header)r.appendChild(c.header(c));else{let t=r.appendChild(document.createElement(`completion-section`));t.textContent=e}}}let l=r.appendChild(document.createElement(`li`));l.id=t+`-`+a,l.setAttribute(`role`,`option`);let u=this.optionClass(o);u&&(l.className=u);for(let e of this.optionContent){let t=e(o,this.view.state,this.view,s);t&&l.appendChild(t)}}return n.from&&r.classList.add(`cm-completionListIncompleteTop`),n.to<e.length&&r.classList.add(`cm-completionListIncompleteBottom`),r}destroyInfo(){this.info&&=(this.infoDestroy&&this.infoDestroy(),this.info.remove(),null)}destroy(){this.destroyInfo()}},Hut=class e{constructor(e,t,n,r,i,a){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=i,this.disabled=a}setSelected(t,n){return t==this.selected||t>=this.options.length?this:new e(this.options,xut(n,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,n,r,i,a,o){if(i&&!o&&t.some(e=>e.isPending))return i.setDisabled();let s=yut(t,n);if(!s.length)return i&&t.some(e=>e.isPending)?i.setDisabled():null;let c=n.facet(jN).selectOnOpen?0:-1;if(i&&i.selected!=c&&i.selected!=-1){let e=i.options[i.selected].completion;for(let t=0;t<s.length;t++)if(s[t].completion==e){c=t;break}}return new e(s,xut(r,c),{pos:t.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:qut,above:a.aboveCursor},i?i.timestamp:Date.now(),c,!1)}map(t){return new e(this.options,this.attrs,{...this.tooltip,pos:t.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new e(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}},Uut=class e{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new e(Kut,`cm-ac-`+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:n}=t,r=n.facet(jN),i=(r.override||n.languageDataAt(`autocomplete`,vN(n)).map(fut)).map(e=>(this.active.find(t=>t.source==e)||new NN(e,+!!this.active.some(e=>e.state!=0))).update(t,r));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let a=this.open,o=t.effects.some(e=>e.is(FN));a&&t.docChanged&&(a=a.map(t.changes)),t.selection||i.some(e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to))||!but(i,this.active)||o?a=Hut.build(i,n,this.id,a,r,o):a&&a.disabled&&!i.some(e=>e.isPending)&&(a=null),!a&&i.every(e=>!e.isPending)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new NN(e.source,0):e));for(let e of t.effects)e.is(MN)&&(a&&=a.setSelected(e.value,this.id));return i==this.active&&a==this.open?this:new e(i,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?Wut:Gut}},Wut={"aria-autocomplete":`list`},Gut={},Kut=[],NN=class e{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(t,n){let r=Sut(t,n),i=this;(r&8||r&16&&this.touches(t))&&(i=new e(i.source,0)),r&4&&i.state==0&&(i=new e(this.source,1)),i=i.updateFor(t,r);for(let n of t.effects)if(n.is(kN))i=new e(i.source,1,n.value);else if(n.is(AN))i=new e(i.source,0);else if(n.is(FN))for(let e of n.value)e.source==i.source&&(i=e);return i}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(vN(e.state))}},PN=class e extends NN{constructor(e,t,n,r,i,a){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=a}hasResult(){return!0}updateFor(t,n){if(!(n&3))return this.map(t.changes);let r=this.result;r.map&&!t.changes.empty&&(r=r.map(r,t.changes));let i=t.changes.mapPos(this.from),a=t.changes.mapPos(this.to,1),o=vN(t.state);if(o>a||!r||n&2&&(vN(t.startState)==this.from||o<this.limit))return new NN(this.source,n&4?1:0);let s=t.changes.mapPos(this.limit);return Cut(r.validFor,t.state,i,a)?new e(this.source,this.explicit,s,r,i,a):r.update&&(r=r.update(r,i,a,new TN(t.state,o,!1)))?new e(this.source,this.explicit,s,r,r.from,r.to??vN(t.state)):new NN(this.source,1,this.explicit)}map(t){if(t.empty)return this;let n=this.result.map?this.result.map(this.result,t):this.result;return n?new e(this.source,this.explicit,t.mapPos(this.limit),n,t.mapPos(this.from),t.mapPos(this.to,1)):new NN(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}},FN=UD.define({map(e,t){return e.map(e=>e.map(t))}}),IN=OD.define({create(){return Uut.start()},update(e,t){return e.update(t)},provide:e=>[pj.from(e,e=>e.tooltip),XA.contentAttributes.from(e,e=>e.attrs)]}),qut=gut(IN,bN),Jut=e=>{let t=e.state.field(IN,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(jN).interactionDelay?!1:bN(e,t.open.options[t.open.selected])},LN=e=>e.state.field(IN,!1)?(e.dispatch({effects:kN.of(!0)}),!0):!1,Yut=e=>{let t=e.state.field(IN,!1);return!t||!t.active.some(e=>e.state!=0)?!1:(e.dispatch({effects:AN.of(null)}),!0)},Xut=class{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}},Zut=50,Qut=1e3,$ut=Vk.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(IN).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(IN),n=e.state.facet(jN);if(!e.selectionSet&&!e.docChanged&&e.startState.field(IN)==t)return;let r=e.transactions.some(e=>{let t=Sut(e,n);return t&8||(e.selection||e.docChanged)&&!(t&3)});for(let t=0;t<this.running.length;t++){let n=this.running[t];if(r||n.context.abortOnDocChange&&e.docChanged||n.updates.length+e.transactions.length>Zut&&Date.now()-n.time>Qut){for(let e of n.context.abortListeners)try{e()}catch(e){OO(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(kN)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let t of e.transactions)t.isUserEvent(`input.type`)?this.composing=2:this.composing==2&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(IN);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(jN).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=vN(t),r=new TN(t,n,e.explicit,this.view),i=new Xut(e,r);this.running.push(i),Promise.resolve(e.source(r)).then(e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:AN.of(null)}),OO(this.view.state,e)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(jN).updateSyncTime))}accept(){this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(jN),n=this.view.state.field(IN);for(let r=0;r<this.running.length;r++){let i=this.running[r];if(i.done===void 0)continue;if(this.running.splice(r--,1),i.done){let n=vN(i.updates.length?i.updates[0].startState:this.view.state),r=Math.min(n,i.done.from+ +!i.active.explicit),a=new PN(i.active.source,i.active.explicit,r,i.done,i.done.from,i.done.to??n);for(let e of i.updates)a=a.update(e,t);if(a.hasResult()){e.push(a);continue}}let a=n.active.find(e=>e.source==i.active.source);if(a&&a.isPending){if(i.done==null){let n=new NN(i.active.source,0);for(let e of i.updates)n=n.update(e,t);n.isPending||e.push(n)}else this.startQuery(a)}}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:FN.of(e)})}},{eventHandlers:{blur(e){let t=this.view.state.field(IN,!1);if(t&&t.tooltip&&this.view.state.facet(jN).closeOnBlur){let n=t.open&&Jot(this.view,t.open.tooltip);(!n||!n.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:AN.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:kN.of(!1)}),20),this.composing=0}}}),edt=typeof navigator==`object`&&/Win/.test(navigator.platform),tdt=AD.highest(XA.domEventHandlers({keydown(e,t){let n=t.state.field(IN,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(edt&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),a=r.completion.commitCharacters||i.result.commitCharacters;return a&&a.indexOf(e.key)>-1&&bN(t,r),!1}})),RN=XA.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:`monospace`,whiteSpace:`nowrap`,overflow:`hidden auto`,maxWidth_fallback:`700px`,maxWidth:`min(700px, 95vw)`,minWidth:`250px`,maxHeight:`10em`,height:`100%`,listStyle:`none`,margin:0,padding:0,"& > li, & > completion-section":{padding:`1px 3px`,lineHeight:1.2},"& > li":{overflowX:`hidden`,textOverflow:`ellipsis`,cursor:`pointer`},"& > completion-section":{display:`list-item`,borderBottom:`1px solid silver`,paddingLeft:`0.5em`,opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:`#17c`,color:`white`},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:`#777`},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:`#347`,color:`white`},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:`#444`},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:`"···"`,opacity:.5,display:`block`,textAlign:`center`,cursor:`pointer`},".cm-tooltip.cm-completionInfo":{position:`absolute`,padding:`3px 9px`,width:`max-content`,maxWidth:`400px`,boxSizing:`border-box`,whiteSpace:`pre-line`},".cm-completionInfo.cm-completionInfo-left":{right:`100%`},".cm-completionInfo.cm-completionInfo-right":{left:`100%`},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`30px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`30px`},"&light .cm-snippetField":{backgroundColor:`#00000022`},"&dark .cm-snippetField":{backgroundColor:`#ffffff22`},".cm-snippetFieldPosition":{verticalAlign:`text-top`,width:0,height:`1.15em`,display:`inline-block`,margin:`0 -0.7px -.7em`,borderLeft:`1.4px dotted #888`},".cm-completionMatchedText":{textDecoration:`underline`},".cm-completionDetail":{marginLeft:`0.5em`,fontStyle:`italic`},".cm-completionIcon":{fontSize:`90%`,width:`.8em`,display:`inline-block`,textAlign:`center`,paddingRight:`.6em`,opacity:`0.6`,boxSizing:`content-box`},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:`'ƒ'`}},".cm-completionIcon-class":{"&:after":{content:`'○'`}},".cm-completionIcon-interface":{"&:after":{content:`'◌'`}},".cm-completionIcon-variable":{"&:after":{content:`'𝑥'`}},".cm-completionIcon-constant":{"&:after":{content:`'𝐶'`}},".cm-completionIcon-type":{"&:after":{content:`'𝑡'`}},".cm-completionIcon-enum":{"&:after":{content:`'∪'`}},".cm-completionIcon-property":{"&:after":{content:`'□'`}},".cm-completionIcon-keyword":{"&:after":{content:`'🔑︎'`}},".cm-completionIcon-namespace":{"&:after":{content:`'▢'`}},".cm-completionIcon-text":{"&:after":{content:`'abc'`,fontSize:`50%`,verticalAlign:`middle`}}}),ndt=class{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}},rdt=class e{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(t){let n=t.mapPos(this.from,-1,vD.TrackDel),r=t.mapPos(this.to,1,vD.TrackDel);return n==null||r==null?null:new e(this.field,n,r)}},idt=class e{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),a=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(n.length){let n=a,o=/^\t*/.exec(i)[0].length;for(let t=0;t<o;t++)n+=e.facet(UM);r.push(t+n.length-o),i=n+i.slice(o)}n.push(i),t+=i.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new rdt(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(t){let n=[],r=[],i=[],a;for(let e of t.split(/\r\n?|\n/)){for(;a=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(e);){let t=a[1]?+a[1]:null,o=a[2]||a[3]||``,s=-1;t===0&&(t=1e9);let c=o.replace(/\\[{}]/g,e=>e[1]);for(let e=0;e<n.length;e++)(t==null?c&&n[e].name==c:n[e].seq==t)&&(s=e);if(s<0){let e=0;for(;e<n.length&&(t==null||n[e].seq!=null&&n[e].seq<t);)e++;n.splice(e,0,{seq:t,name:c}),s=e;for(let e of i)e.field>=s&&e.field++}for(let e of i)if(e.line==r.length&&e.from>a.index){let t=a[2]?3+(a[1]||``).length:2;e.from-=t,e.to-=t}i.push(new ndt(s,r.length,a.index,a.index+c.length)),e=e.slice(0,a.index)+o+e.slice(a.index+a[0].length)}e=e.replace(/\\([{}])/g,(e,t,n)=>{for(let e of i)e.line==r.length&&e.from>n&&(e.from--,e.to--);return t}),r.push(e)}return new e(r,i)}},adt=ck.widget({widget:new class extends ok{toDOM(){let e=document.createElement(`span`);return e.className=`cm-snippetFieldPosition`,e}ignoreEvent(){return!1}}}),odt=ck.mark({class:`cm-snippetField`}),zN=class e{constructor(e,t){this.ranges=e,this.active=t,this.deco=ck.set(e.map(e=>(e.from==e.to?adt:odt).range(e.from,e.to)),!0)}map(t){let n=[];for(let e of this.ranges){let r=e.map(t);if(!r)return null;n.push(r)}return new e(n,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}},BN=UD.define({map(e,t){return e&&e.map(t)}}),sdt=UD.define(),VN=OD.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(BN))return n.value;if(n.is(sdt)&&e)return new zN(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>XA.decorations.from(e,e=>e?e.deco:ck.none)}),cdt=({state:e,dispatch:t})=>e.field(VN,!1)?(t(e.update({effects:BN.of(null)})),!0):!1,ldt=Tut(1),udt=Tut(-1),ddt=[{key:`Tab`,run:ldt,shift:udt},{key:`Escape`,run:cdt}],HN=TD.define({combine(e){return e.length?e[0]:ddt}}),fdt=AD.highest($A.compute([HN],e=>e.facet(HN))),pdt=XA.domEventHandlers({mousedown(e,t){let n=t.state.field(VN,!1),r;if(!n||(r=t.posAtCoords({x:e.clientX,y:e.clientY}))==null)return!1;let i=n.ranges.find(e=>e.from<=r&&e.to>=r);return!i||i.field==n.active?!1:(t.dispatch({selection:SN(n.ranges,i.field),effects:BN.of(n.ranges.some(e=>e.field>i.field)?new zN(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),UN={brackets:[`(`,`[`,`{`,`'`,`"`],before:`)]}:;>`,stringPrefixes:[]},WN=UD.define({map(e,t){return t.mapPos(e,-1,vD.TrackAfter)??void 0}}),GN=new class extends JD{},GN.startSide=1,GN.endSide=-1,KN=OD.define({create(){return XD.empty},update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(WN)&&(e=e.update({add:[GN.range(n.value,n.value+1)]}));return e}}),qN=`()[]{}<>«»»«[]{}`,mdt=typeof navigator==`object`&&/Android\b/.test(navigator.userAgent),hdt=XA.inputHandler.of((e,t,n,r)=>{if((mdt?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||r.length==2&&WE(UE(r,0))==1||t!=i.from||n!=i.to)return!1;let a=kut(e.state,r);return a?(e.dispatch(a),!0):!1}),gdt=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Out(e,e.selection.main.head).brackets||UN.brackets,r=null,i=e.changeByRange(t=>{if(t.empty){let r=jut(e.doc,t.head);for(let i of n)if(i==r&&wN(e.doc,t.head)==Dut(UE(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:CD.cursor(t.head-i.length)}}return{range:r=t}});return r||t(e.update(i,{scrollIntoView:!0,userEvent:`delete.backward`})),!r},_dt=[{key:`Backspace`,run:gdt}],JN=[{key:`Ctrl-Space`,run:LN},{mac:"Alt-`",run:LN},{mac:`Alt-i`,run:LN},{key:`Escape`,run:Yut},{key:`ArrowDown`,run:xN(!0)},{key:`ArrowUp`,run:xN(!1)},{key:`PageDown`,run:xN(!0,`page`)},{key:`PageUp`,run:xN(!1,`page`)},{key:`Enter`,run:Jut}],vdt=AD.highest($A.computeN([jN],e=>e.facet(jN).defaultKeymap?[JN]:[]))}));function bdt(e={}){return[eP,$N.of(e),XA.domEventHandlers({beforeinput(e,t){let n=e.inputType==`historyUndo`?tP:e.inputType==`historyRedo`?nP:null;return n?(e.preventDefault(),n(t)):!1}})]}function YN(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(eP,!1);if(!i)return!1;let a=i.pop(e,n,t);return a?(r(a),!0):!1}}function XN(e,t,n,r){let i=t+1>n+20?t-n-1:0,a=e.slice(i,t);return a.push(r),a}function xdt(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,i,a)=>{for(let e=0;e<n.length;){let t=n[e++],o=n[e++];a>=t&&i<=o&&(r=!0)}}),r}function Sdt(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length===0}function Cdt(e,t){return e.length?t.length?e.concat(t):e:t}function wdt(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-Mdt));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),XN(e,e.length-1,1e9,n.setSelAfter(r)))}return[rP.selection([t])]}function Tdt(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function ZN(e,t){if(!e.length)return e;let n=e.length,r=iP;for(;n;){let i=Edt(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[rP.selection(r)]:iP}function Edt(e,t,n){let r=Cdt(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):iP,n);if(!e.changes)return rP.selection(r);let i=e.changes.map(t),a=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(a):a;return new rP(i,UD.mapEffects(e.effects,t),o,e.startSelection.map(a),r)}function Ddt(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let a=r.from;a<=r.to;){let o=e.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),a=o.to+1}let a=e.changes(i);return{changes:i,range:CD.range(a.mapPos(r.anchor,1),a.mapPos(r.head,1))}})}var QN,Odt,kdt,$N,eP,tP,nP,Adt,jdt,rP,iP,Mdt,Ndt,aP,Pdt,Fdt,Idt,Ldt,Rdt,zdt=s((()=>{tO(),Oj(),lN(),QN=HD.define(),Odt=HD.define(),kdt=TD.define(),$N=TD.define({combine(e){return nD(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}}),eP=OD.define({create(){return aP.empty},update(e,t){let n=t.state.facet($N),r=t.annotation(QN);if(r){let i=rP.fromTransaction(t,r.selection),a=r.side,o=a==0?e.undone:e.done;return o=i?XN(o,o.length,n.minDepth,i):wdt(o,t.startState.selection),new aP(a==0?r.rest:o,a==0?o:r.rest)}let i=t.annotation(Odt);if((i==`full`||i==`before`)&&(e=e.isolate()),t.annotation(WD.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let a=rP.fromTransaction(t),o=t.annotation(WD.time),s=t.annotation(WD.userEvent);return a?e=e.addChanges(a,o,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,s,n.newGroupDelay)),(i==`full`||i==`after`)&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}},fromJSON(e){return new aP(e.done.map(rP.fromJSON),e.undone.map(rP.fromJSON))}}),tP=YN(0,!1),nP=YN(1,!1),Adt=YN(0,!0),jdt=YN(1,!0),rP=class e{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(t){return new e(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){return{changes:this.changes?.toJSON(),mapped:this.mapped?.toJSON(),startSelection:this.startSelection?.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(t){return new e(t.changes&&bD.fromJSON(t.changes),[],t.mapped&&yD.fromJSON(t.mapped),t.startSelection&&CD.fromJSON(t.startSelection),t.selectionsAfter.map(CD.fromJSON))}static fromTransaction(t,n){let r=iP;for(let e of t.startState.facet(kdt)){let n=e(t);n.length&&(r=r.concat(n))}return!r.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,iP)}static selection(t){return new e(void 0,iP,void 0,void 0,t)}},iP=[],Mdt=200,Ndt=/^(input\.type|delete)($|\.)/,aP=class e{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new e(this.done,this.undone):this}addChanges(t,n,r,i,a){let o=this.done,s=o[o.length-1];return o=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||Ndt.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(a,xdt(s.changes,t.changes))||r==`input.type.compose`)?XN(o,o.length-1,i.minDepth,new rP(t.changes.compose(s.changes),Cdt(UD.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,iP)):XN(o,o.length,i.minDepth,t),new e(o,iP,n,r)}addSelection(t,n,r,i){let a=this.done.length?this.done[this.done.length-1].selectionsAfter:iP;return a.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&Sdt(a[a.length-1],t)?this:new e(wdt(this.done,t),this.undone,n,r)}addMapping(t){return new e(ZN(this.done,t),ZN(this.undone,t),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let i=r[r.length-1],a=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:QN.of({side:e,rest:Tdt(r),selection:a}),userEvent:e==0?`select.undo`:`select.redo`,scrollIntoView:!0});if(i.changes){let n=r.length==1?iP:r.slice(0,r.length-1);return i.mapped&&(n=ZN(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:QN.of({side:e,rest:n,selection:a}),filter:!1,userEvent:e==0?`undo`:`redo`,scrollIntoView:!0})}return null}},aP.empty=new aP(iP,iP),Pdt=[{key:`Mod-z`,run:tP,preventDefault:!0},{key:`Mod-y`,mac:`Mod-Shift-z`,run:nP,preventDefault:!0},{linux:`Ctrl-Shift-z`,run:nP,preventDefault:!0},{key:`Mod-u`,run:Adt,preventDefault:!0},{key:`Alt-u`,mac:`Mod-Shift-u`,run:jdt,preventDefault:!0}],typeof Intl<`u`&&Intl.Segmenter,Fdt=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:`input`})),!0),Idt=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Ddt(e,(t,n)=>{n.push({from:t.from,insert:e.facet(UM)})}),{userEvent:`input.indent`})),!0),Ldt=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Ddt(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=uD(r,e.tabSize),a=0,o=Kct(e,Math.max(0,i-Gct(e)));for(;a<r.length&&a<o.length&&r.charCodeAt(a)==o.charCodeAt(a);)a++;n.push({from:t.from+a,to:t.from+r.length,insert:o.slice(a)})}),{userEvent:`delete.dedent`})),!0),Rdt={key:`Tab`,run:Idt,shift:Ldt}}));function oP(e,t=Uint16Array){if(typeof e!=`string`)return e;let n=null;for(let r=0,i=0;r<e.length;){let a=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(t==126){a=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),a+=i,n)break;a*=46}n?n[i++]=a:n=new t(a)}return n}function Bdt(e,t,n,r,i,a){let o=0,s=1<<r,{dialect:c}=n.p.parser;scan:for(;(s&e[o])!=0;){let n=e[o+1];for(let r=o+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(c.allows(n)&&(t.token.value==-1||t.token.value==n||Hdt(n,t.token.value,i,a))){t.acceptToken(n);break}}let r=t.next,l=0,u=e[o+2];if(t.next<0&&u>l&&e[n+u*3-3]==65535){o=e[n+u*3-1];continue scan}for(;l<u;){let i=l+u>>1,a=n+i+(i<<1),s=e[a],c=e[a+1]||65536;if(r<s)u=i;else if(r>=c)l=i+1;else{o=e[a+2],t.advance();continue scan}}break}}function Vdt(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function Hdt(e,t,n,r){let i=Vdt(n,r,t);return i<0||Vdt(n,r,e)<i}function Udt(e,t,n){let r=e.cursor(Vj.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}function Wdt(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}function sP(e,t){return e[t]|e[t+1]<<16}function Gdt(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||e!=null&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function Kdt(e){if(e.external){let t=+!!e.extend;return(n,r)=>e.external(n,r)<<1|t}return e.get}var qdt,cP,Jdt,Ydt,lP,uP,Xdt,dP,fP,pP,mP,hP,Zdt,Qdt,$dt,eft,gP,_P,vP,yP=s((()=>{tM(),qdt=class e{constructor(e,t,n,r,i,a,o,s,c,l=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=a,this.buffer=o,this.bufferBase=s,this.curContext=c,this.lookAhead=l,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?`!`+this.score:``}`}static start(t,n,r=0){let i=t.parser.context;return new e(t,[],n,r,r,0,[],0,i?new cP(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=e&65535,{parser:r}=this.p,i=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),a=r.dynamicPrecedence(n);if(a&&(this.score+=a),t==0){n<r.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(r.getGoto(this.state,n,!0),this.reducePos),n<r.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,i?8:4,!0),this.reduceContext(n,this.reducePos);return}let o=this.stack.length-(t-1)*3-(e&262144?6:0),s=o?this.stack[o-2]:this.p.ranges[0].from;n<r.minRepeatTerm&&s==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let c=this.reducePos-s;c>=2e3&&!this.p.parser.nodeSet.types[n]?.isAnonymous&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=c));let l=o?this.stack[o-1]:0,u=this.bufferBase+this.buffer.length-l;if(n<r.minRepeatTerm||e&131072){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,s,e,u+4,!0)}if(e&262144)this.state=this.stack[o];else{let e=this.stack[o-3];this.state=r.getGoto(e,n,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(n,s)}storeNode(e,t,n,r=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this.buffer.length;if(e>0&&this.buffer[e-4]==0&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t){this.buffer[e-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,t,n,r);else{let i=this.buffer.length;if(i>0&&(this.buffer[i-4]!=0||this.buffer[i-1]<0)){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}}shift(e,t,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{let i=e,{parser:a}=this.p;this.pos=r;let o=a.stateFlag(i,1);!o&&(r>n||t<=a.maxNode)&&(this.reducePos=r),this.pushState(i,o?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=a.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){e&65536?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let i=this.reducePos=this.pos=n+e.length;this.pushState(t,n),this.buffer.push(r,n,i,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let t=this,n=t.buffer.length;for(n&&t.buffer[n-4]==0&&(n-=4);n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new Jdt(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>t&1&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(t&65536))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=t&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],r,!1)<0){let e=this.findForcedReduction();if(e==null)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(!(t&393216)){if(t&65536){let n=(t>>19)-i;if(n>1){let r=t&65535,i=this.stack.length-n*3;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(e!=null)return e}}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.storeNode(this.curContext.hash,this.reducePos,this.reducePos,-3,!0)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new cP(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return e<=this.lookAhead?!1:(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},cP=class{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}},Jdt=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}},Ydt=class e{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new e(t,n,n-t.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new e(this.stack,this.pos,this.index)}},lP=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},uP=new lP,Xdt=class{constructor(e,t){this.input=e,this.ranges=t,this.chunk=``,this.chunkOff=0,this.chunk2=``,this.chunk2Pos=0,this.next=-1,this.token=uP,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(t==null)return-1;if(n=t,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw RangeError(`Token end out of bounds`);this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.next=this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?-1:this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk=``,this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=uP,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk=``,this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n=``;for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}},dP=class{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;Bdt(this.data,e,t,this.id,n.data,n.tokenPrecTable)}},dP.prototype.contextual=dP.prototype.fallback=dP.prototype.extend=!1,fP=class{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e==`string`?oP(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(Bdt(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(n||r++,i==null)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}},fP.prototype.contextual=dP.prototype.fallback=dP.prototype.extend=!1,pP=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},mP=typeof process<`u`&&process.env&&/\bparse\b/.test(process.env.LOG),hP=null,Zdt=class{constructor(e,t){this.fragments=e,this.minRepeat=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.lastRepeat=null,this.lastRepeatPos=-1,this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Udt(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Udt(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],r=this.index[t];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[r],a=this.start[t]+n.positions[r];if(a>e)return this.nextStart=a,null;if(i instanceof Hj){let n=a>this.lastRepeatPos&&i.type.id>=this.minRepeat;if(a==e||n){let t=a+i.length,r;if(a>=this.safeFrom&&t<=this.safeTo&&(!(r=i.prop(Ij.lookAhead))||t+r<this.fragment.to)){if(n&&(this.lastRepeat=i,this.lastRepeatPos=a),a==e)return i}else if(a==e)return null}this.index[t]++,a+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+i.length}}},Qdt=class{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new lP)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,a=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if(!(1<<r&a))continue;let c=i[r],l=this.tokens[r];if((!n||c.fallback)&&((c.contextual||l.start!=e.pos||l.mask!=a||l.context!=o)&&(this.updateCachedToken(l,c,e),l.mask=a,l.context=o),l.lookAhead>l.end+25&&(s=Math.max(l.lookAhead,s)),l.value!=0)){let r=t;if(l.extended>-1&&(t=this.addActions(e,l.extended,l.end,t)),t=this.addActions(e,l.value,l.end,t),!c.extend&&(n=l,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),!n&&e.pos==this.stream.end&&(n=new lP,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new lP,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){i&1?e.extended=i>>1:e.value=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:a}=e.p,{data:o}=a;for(let e=0;e<2;e++)for(let s=a.stateSlot(i,e?2:1);;s+=3){if(o[s]==65535){if(o[s+1]==1)s=sP(o,s+2);else{r==0&&o[s+1]==2&&(r=this.putAction(sP(o,s+2),t,n,r));break}}o[s]==t&&(r=this.putAction(sP(o,s+1),t,n,r))}return r}},$dt=class{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new Xdt(t,r),this.tokens=new Qdt(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[qdt.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>e.bufferLength*4?new Zdt(n,e.minRepeatTerm):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],r,i;if(this.bigReductionCount>300&&e.length==1){let[t]=e;for(;t.forceReduce()&&t.stack.length&&t.stack[t.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let o=e[a];for(;;){if(this.tokens.mainToken=null,o.pos>t)n.push(o);else if(this.advanceStack(o,n,e))continue;else{r||(r=[],i=[]),r.push(o);let e=this.tokens.getMainToken(o);i.push(e.value,e.end)}break}}if(!n.length){let e=r&&Gdt(r);if(e)return mP&&console.log(`Finish with `+this.stackID(e)),this.stackToTree(e);if(this.parser.strict)throw mP&&r&&console.log(`Stuck with token `+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):`none`)),SyntaxError(`No parse at `+t);this.recovering||=5}if(this.recovering&&r){let e=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,i,n);if(e)return mP&&console.log(`Force-finish `+this.stackID(e)),this.stackToTree(e.forceAll())}if(this.recovering){let e=this.recovering==1?1:this.recovering*3;if(n.length>e)for(n.sort((e,t)=>t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>t)&&this.recovering--}else if(n.length>1){outer:for(let e=0;e<n.length-1;e++){let t=n[e];for(let r=e+1;r<n.length;r++){let i=n[r];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500){if((t.score-i.score||t.buffer.length-i.buffer.length)>0)n.splice(r--,1);else{n.splice(e--,1);continue outer}}}}n.length>12&&(n.sort((e,t)=>t.score-e.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let e=1;e<n.length;e++)n[e].pos<this.minStackPos&&(this.minStackPos=n[e].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw RangeError(`Can't move stoppedAt forward`);this.stoppedAt=e}tryReuse(e,t,n,r){if(!n)return null;let i=e.curContext&&e.curContext.tracker.strict,a=i?e.curContext.hash:0;for(;n;){let o=this.parser.nodeSet.types[n.type.id]==n.type?this.parser.getGoto(e.state,n.type.id):-1;if(o>-1&&n.length&&(!i||(n.prop(Ij.contextHash)||0)==a))return e.useNode(n,o,t),n;if(n.children.length==0||n.positions[0]>0)break;let s=n.children[0];if(s instanceof Hj&&(!r||s.type.id>=this.parser.minRepeatTerm))n=s;else break}return null}advanceStack(e,t,n){let r=e.pos,{parser:i}=this,a=mP?this.stackID(e)+` -> `:``;if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.reducePos<r&&e.buffer.length&&e.buffer[e.buffer.length-2]<=e.reducePos&&this.fragments.lastRepeatPos==e.reducePos&&this.tryReuse(e,e.reducePos,this.fragments.lastRepeat,!0)||this.tryReuse(e,r,this.fragments.nodeAt(r),!1);if(t)return mP&&console.log(a+this.stackID(e)+` (via reuse of ${i.getName(t.type.id)})`),!0}let o=i.stateSlot(e.state,4);if(o>0)return e.reduce(o),mP&&console.log(a+this.stackID(e)+` (via always-reduce ${i.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let o=0;o<s.length;){let c=s[o++],l=s[o++],u=s[o++],d=o==s.length||!n,f=d?e:e.split(),p=this.tokens.mainToken;if(f.apply(c,l,p?p.start:f.pos,u),mP&&console.log(a+this.stackID(f)+` (via ${c&65536?`reduce of ${i.getName(c&65535)}`:`shift`} for ${i.getName(l)} @ ${r}${f==e?``:`, split`})`),d)return!0;f.pos>r?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Wdt(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let a=0;a<e.length;a++){let o=e[a],s=t[a<<1],c=t[(a<<1)+1],l=mP?this.stackID(o)+` -> `:``;if(o.deadEnd&&(i||(i=!0,o.restart(),mP&&console.log(l+this.stackID(o)+` (restarted)`),this.advanceFully(o,n))))continue;let u=o.split(),d=l;for(let e=0;e<10&&u.forceReduce()&&(mP&&console.log(d+this.stackID(u)+` (via force-reduce)`),!this.advanceFully(u,n));e++)mP&&(d=this.stackID(u)+` -> `);for(let e of o.recoverByInsert(s))mP&&console.log(l+this.stackID(e)+` (via recover-insert)`),this.advanceFully(e,n);this.stream.end>o.pos?(c==o.pos&&(c++,s=0),o.recoverByDelete(s,c),mP&&console.log(l+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),Wdt(o,n)):(!r||r.score<u.score)&&(r=u)}return r}stackToTree(e){return e.close(),Hj.build({buffer:Ydt.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(hP||=new WeakMap).get(e);return t||hP.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}},eft=class{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}},gP=e=>e,_P=class{constructor(e){this.start=e.start,this.shift=e.shift||gP,this.reduce=e.reduce||gP,this.reuse=e.reuse||gP,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},vP=class e extends Zj{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(` `);this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push(``);let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let e=0;e<t.length;e++)r.push([]);function i(e,t,n){r[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];typeof e==`string`&&(e=Ij[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)i(r,e,t[n++]);else{let a=t[n+-r];for(let o=-r;o>0;o--)i(t[n++],e,a);n++}}}this.nodeSet=new Tct(t.map((t,i)=>Rj.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:r[i],top:n.indexOf(i)>-1,error:i==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Pj;let a=oP(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(Kdt),this.states=oP(e.states,Uint32Array),this.data=oP(e.stateData),this.goto=oP(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>typeof e==`number`?new dP(a,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new $dt(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let i=r[t+1];;){let t=r[i++],a=t&1,o=r[i++];if(a&&n)return o;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return o;if(a)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),a;;i+=3){if((a=n[i])==65535){if(n[i+1]==1)a=n[i=sP(n,i+2)];else if(n[i+1]==2)return sP(n,i+2);else break}if(a==t||a==0)return sP(n,i+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);r==null;n+=3){if(this.data[n]==65535){if(this.data[n+1]==1)n=sP(this.data,n+2);else break}r=t(sP(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535){if(this.data[n+1]==1)n=sP(this.data,n+2);else break}if(!(this.data[n+2]&1)){let e=this.data[n+1];t.some((t,n)=>n&1&&t==e)||t.push(this.data[n],e)}}return t}configure(t){let n=Object.assign(Object.create(e.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let e=this.topRules[t.top];if(!e)throw RangeError(`Invalid top rule name ${t.top}`);n.top=e}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(e=>{let n=t.tokenizers.find(t=>t.from==e);return n?n.to:e})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((e,r)=>{let i=t.specializers.find(t=>t.from==e.external);if(!i)return e;let a=Object.assign(Object.assign({},e),{external:i.to});return n.specializers[r]=Kdt(a),a})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(` `)){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;(i=this.data[n++])!=65535;)(r||=new Uint8Array(this.maxTerm+1))[i]=1;return new eft(e,n,r)}static deserialize(t){return new e(t)}}}));function bP(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function xP(e){return e>=48&&e<=57}function tft(e){return xP(e)||e>=97&&e<=102||e>=65&&e<=70}function nft(e){let t=e.length;return(t==4||t==5||t==7||t==9)&&/^#[a-f\d]+$/i.test(e)?lft:-1}var rft,SP,ift,aft,CP,oft,sft,cft,lft,wP,uft,dft,TP,fft,EP,pft,mft,hft,gft,_ft,vft,yft,DP,bft,xft,Sft,Cft,wft,Tft,Eft,Dft,Oft,kft,Aft,jft=s((()=>{yP(),SM(),rft=148,SP=1,ift=149,aft=150,CP=2,oft=151,sft=3,cft=4,lft=152,wP=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],uft=58,dft=40,TP=95,fft=91,EP=45,pft=46,mft=35,hft=37,gft=38,_ft=92,vft=10,yft=42,DP=(e,t,n)=>(r,i)=>{for(let a=!1,o=0,s=0;;s++){let{next:c}=r;if(bP(c)||c==EP||c==TP||a&&xP(c))!a&&(c!=EP||s>0)&&(a=!0),o===s&&c==EP&&o++,r.advance();else if(c==_ft&&r.peek(1)!=vft){if(r.advance(),tft(r.next)){do r.advance();while(tft(r.next));r.next==32&&r.advance()}else r.next>-1&&r.advance();a=!0}else{a&&r.acceptToken(o>=2&&i.canShift(CP)?t:c==dft?n:e);break}}},bft=new pP(DP(ift,CP,aft),{contextual:!0}),xft=new pP(DP(oft,sft,cft),{contextual:!0}),Sft=new pP(e=>{if(wP.includes(e.peek(-1))){let{next:t}=e;(bP(t)||t==TP||t==mft||t==pft||t==yft||t==fft||t==uft&&bP(e.peek(1))||t==EP||t==gft)&&e.acceptToken(rft)}}),Cft=new pP(e=>{if(!wP.includes(e.peek(-1))){let{next:t}=e;if(t==hft&&(e.advance(),e.acceptToken(SP)),bP(t)){do e.advance();while(bP(e.next)||xP(e.next));e.acceptToken(SP)}}}),wft=nM({"AtKeyword import charset namespace keyframes media supports font-feature-values":W.definitionKeyword,"from to selector scope MatchFlag":W.keyword,NamespaceName:W.namespace,KeyframeName:W.labelName,KeyframeRangeName:W.operatorKeyword,TagName:W.tagName,ClassName:W.className,PseudoClassName:W.constant(W.className),IdName:W.labelName,"FeatureName PropertyName":W.propertyName,AttributeName:W.attributeName,NumberLiteral:W.number,KeywordQuery:W.keyword,UnaryQueryOp:W.operatorKeyword,"CallTag ValueName FontName":W.atom,VariableName:W.variableName,Callee:W.operatorKeyword,Unit:W.unit,"UniversalSelector NestingSelector":W.definitionOperator,"MatchOp CompareOp":W.compareOperator,"ChildOp SiblingOp, LogicOp":W.logicOperator,BinOp:W.arithmeticOperator,Important:W.modifier,Comment:W.blockComment,ColorLiteral:W.color,"ParenthesizedContent StringLiteral":W.string,":":W.punctuation,PseudoOp:W.derefOperator,"; , |":W.separator,"( )":W.paren,"[ ]":W.squareBracket,"{ }":W.brace}),Tft={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:88,url:158,"url-prefix":158,domain:158,regexp:158},Eft={__proto__:null,or:102,and:102,not:112,only:112,layer:212},Dft={__proto__:null,selector:118,style:124,layer:208},Oft={__proto__:null,"@import":204,"@media":216,"@charset":220,"@namespace":224,"@keyframes":230,"@supports":242,"@scope":246,"@font-feature-values":252},kft={__proto__:null,to:249},Aft=vP.deserialize({version:14,states:"MrQYQdOOO$TQdOOP$[O`OOO%XQaO'#CfOOQP'#Ce'#CeO%`QdO'#CgO%eQ`O'#CgO%jQaO'#FrO&eQdO'#CkO'XQaO'#CcO'cQdO'#CnOOQP'#ES'#ESOOQP'#ER'#ERO'nQdO'#ETO'yQdO'#E[O'yQdO'#E_OOQP'#Fr'#FrO)`QhO'#FQOOQS'#Fq'#FqOOQS'#FT'#FTQYQdOOO)gQdO'#EeO*vQhO'#EkO)gQdO'#EmO*}QdO'#EoO+YQdO'#ErO*[QhO'#ExO+bQdO'#EzO+mQdO'#E}O+rQaO'#CfO+yQ`O'#EbO,OQ`O'#GPO,ZQdO'#GPQOQ`OOP,eO&jO'#CaPOOO)CAa)CAaOOQP'#Ci'#CiOOQP,59R,59RO%`QdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&eQdO,59VO,pQdO,59YOOQP,5:m,5:mO'nQdO,5:oO'yQdO,5:vO'yQdO,5:xO'yQdO,5:yO'yQdO'#F[O,{Q`O,58}O-TQdO'#EaOOQS,58},58}OOQP'#Cq'#CqOOQO'#EP'#EPOOQP,59Y,59YO-[Q`O,59YO-aQ`O,59YO-fQpO'#EUO-qQdO'#EVO-vQ`O'#EVO-{QpO,5:oO.iQaO,5:vO/PQaO,5:yOOQW'#D]'#D]O0OQhO'#DgO0cQhO,5;lO*[QhO'#DeO0pQ`O'#DnO0uQhO'#D{OOQW'#Fx'#FxOOQS,5;l,5;lO0zQ`O'#DhO1PQ`O'#DkOOQS-E9R-E9ROOQ['#Cv'#CvO1UQdO'#CwO1iQdO'#C|O1|QdO'#DPOOQ['#DQ'#DQO2aQ!pO'#DRO4jQ!jO,5;POOQO'#DW'#DWO-aQ`O'#DVO4zQ!nO'#FuO6}Q`O'#DXO7SQ`O'#D|OOQ['#Fu'#FuO7XQhO'#GSO7gQ`O,5;VO7lQ!bO,5;XOOQS'#Eq'#EqO7tQ`O,5;ZO7yQdO,5;ZOOQO'#Et'#EtO8RQ`O,5;^O8WQhO,5;dO'yQdO'#DjOOQS,5;f,5;fO0zQ`O,5;fO8`QdO,5;fOOQS'#Fc'#FcO8hQdO'#FPO7gQ`O,5;iO8pQdO,5:|O9QQdO'#F^O9_Q`O,5<kO9_Q`O,5<kPOOO'#FS'#FSP9jO&jO,58{POOO,58{,58{OOQP1G.m1G.mOOQP1G.q1G.qOOQP1G.t1G.tO-[Q`O1G.tO-aQ`O1G.tO9uQpO1G0ZO9}QaO1G0bO:eQaO1G0dO:{QaO1G0eO;cQaO,5;vOOQO-E9Y-E9YOOQS1G.i1G.iO;mQ`O,5:{O;rQdO'#EQO;yQdO'#CuOOQO'#EX'#EXOOQO,5:q,5:qO-qQdO,5:qOOQP1G0Z1G0ZO)gQdO1G0ZO<QQ!jO'#D]O<`Q!bO,59xO<hQhO,5:ROOQO'#Dc'#DcOOQO'#Fy'#FyO<cQ!bO,59|O<pQhO'#FdO*[QhO,59zO*[QhO'#FdO=hQhO1G1WOOQS1G1W1G1WO=rQhO,5:PO>mQhO'#DoOOQW,5:Y,5:YOOQW,5:g,5:gOOQW,5:S,5:SO>wQhO,5:VO?cQ!fO'#FvOOQS'#Fv'#FvOOQS'#FV'#FVO@pQdO,59cOOQ[,59c,59cOATQdO,59hOOQ[,59h,59hOAhQdO,59kOOQ[,59k,59kOOQ[,59m,59mO)gQdO,59oOA{QhO'#EgOOQW'#Eg'#EgOBjQ`O1G0kO4sQhO1G0kOOQ[,59q,59qO*[QhO'#DZOOQ[,59s,59sOBoQ#tO,5:hOBzQhO'#F`OCXQ`O,5<nOOQS1G0q1G0qOOQS1G0s1G0sOOQS1G0u1G0uOCdQ`O1G0uOCiQdO'#EuOOQS1G0x1G0xOOQS1G1O1G1OOCtQaO,5:UO7gQ`O1G1QOOQS1G1Q1G1QO0zQ`O1G1QOOQS-E9a-E9aOOQS1G1T1G1TOC{Q!fO1G0hODcQ`O'#EdOOQO1G0h1G0hOOQO,5;x,5;xODhQdO,5;xOOQO-E9[-E9[ODuQ`O1G2VPOOO-E9Q-E9QPOOO1G.g1G.gOOQP7+$`7+$`OOQP7+%u7+%uO)gQdO7+%uOOQS1G0g1G0gOEQQaO'#F}OE[Q`O,5:lOEaQ!fO'#FUOF_QdO'#FtOFiQ`O,59aOOQO1G0]1G0]OFnQ!bO7+%uO)gQdO1G/dOFyQhO1G/hOOQW1G/m1G/mOOQW1G/f1G/fOG[QhO,5<OOOQW-E9b-E9bOOQS7+&r7+&rOHSQhO'#D]OHbQhO'#F|OHmQ`O'#F|OHrQ`O,5:ZOHwQ!bO'#D_O>wQhO'#DmOISQhO'#DsOI[QhO'#DuOIaQ!jO'#F{OOQO'#F{'#F{OIlQ`O'#DxOItQ!bO'#DzOOQO'#Fz'#FzOIyQ`O1G/qOOQS-E9T-E9TOOQ[1G.}1G.}OOQ[1G/S1G/SOOQ[1G/V1G/VOOQ[1G/Z1G/ZOJOQdO,5;ROOQS7+&V7+&VOJTQ`O7+&VOJYQhO'#D[OJbQ`O,59uO*[QhO,59uOOQ[1G0S1G0SOJjQ`O1G0SOJoQhO,5;zOOQO-E9^-E9^OOQS7+&a7+&aOJ}QbO'#DROOQO'#Ew'#EwOK]Q`O'#EvOOQO'#Ev'#EvOKhQ`O'#FaOKpQdO,5;aOOQS,5;a,5;aOOQ[1G/p1G/pOOQS7+&l7+&lO7gQ`O7+&lOK{Q!fO'#F]O)gQdO'#F]OMSQdO7+&SOOQO7+&S7+&SOOQO,5;O,5;OOOQO1G1d1G1dOMgQ!bO<<IaOMrQdO'#FZOM|Q`O,5<iOOQP1G0W1G0WOOQS-E9S-E9SONUQdO'#FYON`Q`O,5<`OOQ]1G.{1G.{OOQP<<Ia<<IaONhQ`O<<IaONmQdO7+%OOOQO'#D_'#D_ONtQ!bO7+%SON|QhO'#FXO! ZQ`O,5<hO)gQdO,5<hOOQW1G/u1G/uO! cQ`O,5:XO>wQhO'#DtOOQO,5:_,5:_O! hQhO,5:aO! pQhO,5:fO)gQdO,5:dOOQW7+%]7+%]OOQO'#Ei'#EiO! wQ`O1G0mOOQS<<Iq<<IqO)gQdO,59vO!!kQhO1G/aOOQ[1G/a1G/aO!!rQ`O1G/aOOQW-E9U-E9UOOQ[7+%n7+%nOOQO,5;b,5;bOClQdO'#FbOKhQ`O,5;{OOQS,5;{,5;{OOQS-E9_-E9_OOQS1G0{1G0{OOQS<<JW<<JWO!!zQ!fO,5;wOOQS-E9Z-E9ZOOQO<<In<<InOOQPAN>{AN>{O!$RQ`OAN>{O!$WQaO,5;uOOQO-E9X-E9XO!$bQdO,5;tOOQO-E9W-E9WOOQW<<Hj<<HjOOQW<<Hn<<HnO!$lQhO<<HnO!$}QhO'#D]O!%]QhO,5;sO!%hQ`O,5;sOOQO-E9V-E9VO!%mQdO1G2SO!%wQhO1G/sO!&PQ`O,5:`O>wQhO'#DwOOQO1G/{1G/{O!&UQ!bO1G0QO!&^QdO1G0OOJOQdO'#F_O!&eQ`O7+&XOOQW7+&X7+&XO!&mQ!bO1G/bOOQ[7+${7+${O!&xQhO7+${P!'PQ`O'#FWOOQO,5;|,5;|OOQO-E9`-E9`OOQS1G1g1G1gOOQPG24gG24gO!'UQ`OAN>YO)gQdO1G1_O!'ZQ`O7+'nOOQO1G/z1G/zO!'cQ`O,5:cO!'hQhO7+%lOOQO,5;y,5;yOOQO-E9]-E9]OOQW<<Is<<IsOOQ[<<Hg<<HgPOQW,5;r,5;rOOQWG23tG23tO!'oQdO7+&yOOQO1G/}1G/}OOQO<<IW<<IW",stateData:"!(R~O$`OS$aQQ~OWVO^`O`WOcYOdYOlaOo]O#P^O#S_O#YeO#`fO#bgO#dhO#giO#mjO#okO#rlO$ZRO$^ZO$gTO$rZO~OQnOWVO^`O`WOcYOdYOlaOo]O#P^O#S_O#YeO#`fO#bgO#dhO#giO#mjO#okO#rlO$ZmO$^ZO$gTO$rZO~O$X$sP~P!mO$arO~O`YXcYXdYXoYXrYX!eYX#PYX#SYX$YYX$^YX$g[X$rYX~OgYX~P$aO$ZtO~O$gvO~O$gvO`$fXc$fXd$fXo$fXr$fX!e$fX#P$fX#S$fX$Y$fX$^$fX$r$fXg$fX~O$ZwO~O`yOczOdzOo|O#P}O#S!PO$Y!OO$^ZO$rZO~Or!SO!e!QO~P&jOf!YO$Z!UO$[!VO~OW!]O$Z!ZO$g![O~OWVO^`O`WOcYOdYOo]O#P^O#S_O$ZRO$^ZO$gTO$rZO~OS!eOc!fOd!fOh!bOr!SO!Y!dO!]!iO!`!jO$]!aO~Om!hO~P(qOQ!uOh!mOo!nOr!oOv!xO|!vO!q!wO$Z!lO$[!sO$^!pO$k!qO~OS!eOc!fOd!fOh!bO!Y!dO!]!iO!`!jO$]!aO~Or$vP~P*[Ov!}O!q!wO$Z!|O~Ov#PO$Z#PO~Oh#SOr!SO#p#UO~O$Z#WO~Oc#VX~P$aOc#ZO~Om#[O$X$sXq$sX~O$X$sXq$sX~P!mO$b#_O$c#_O$d#aO~Of#fO$Z!UO$[!VO~Or!SO!e!QO~Oq$sP~P!mOh#oO~Oh#pO~On!xX!|!xX$g!zX~O$Z#qO~O$g#sO~On#tO!|#uO~O`yOczOdzOo|O$^ZO$rZO~Or#Oa!e#Oa#P#Oa#S#Oa$Y#Oag#Oa~P.TOr#Ra!e#Ra#P#Ra#S#Ra$Y#Rag#Ra~P.TOS!eOc!fOd!fOh!bO!Y!dO!]!iO!`!jO~OR#zOv#zO$]#vO$^#yO$k!qO~P/gOm$QO!T#}O!e$OO~P(qOh$SO~O$]$UO~Oh#SO~Oh$WO~O`$YOc$YOg$]Ol$YOm$YO~P)gO`$YOc$YOl$YOm$YOn$_O~P)gO`$YOc$YOl$YOm$YOq$aO~P)gOP$bOSuXcuXduXhuXmuXxuX!YuX!]uX!`uX#[uX#^uX$]uX!WuXQuX`uXguXluXouXruXvuX|uX!quX$ZuX$[uX$^uX$kuXnuXquX!euX$XuX$uuX!}uX~Ox$cO#[$dO#^$eOm$vP~P*[Oh#pOS$iXc$iXd$iXm$iXx$iX!Y$iX!]$iX!`$iX#[$iX#^$iX$]$iXQ$iX`$iXg$iXl$iXo$iXr$iXv$iX|$iX!q$iX$Z$iX$[$iX$^$iX$k$iXn$iXq$iX!e$iX$X$iX$u$iX!}$iX~Oh$iO~Oh$kO~O!T#}O!e$lOr$vXm$vX~Or!SO~Om$oOx$cO~Om$pO~Ov$qO!q!wO~Or$rO~Or!SO!T#}O~Or!SO#p$xO~O$Z#WOr#sX~O$u$|Om#Ua$X#Uaq#Ua~P)gOm$QX$X$QXq$QX~P!mOm#[O$X$saq$sa~O$b#_O$c#_O$d%TO~On%VO!|%WO~Or#Oi!e#Oi#P#Oi#S#Oi$Y#Oig#Oi~P.TOr#Qi!e#Qi#P#Qi#S#Qi$Y#Qig#Qi~P.TOr#Ri!e#Ri#P#Ri#S#Ri$Y#Rig#Ri~P.TOr$Oa!e$Oa~P&jOq%XO~Og$qP~P'yOg$hP~P)gOc!RXg!PX!T!PX!W!RX~Oc%aO!W%bO~Og%cO!T#}O~O!T#}OS$WXc$WXd$WXh$WXm$WXr$WX!Y$WX!]$WX!`$WX!e$WX$]$WX~Om%gO!e$OO~P(qO!T#}OS!Xac!Xad!Xah!Xam!Xar!Xa!Y!Xa!]!Xa!`!Xa!e!Xa$]!Xag!Xa~O$]%hOg$pP~P/gOR#zOS!eOh%mOv#zO!Y%nO$]%lO$^#yO$k!qO~Ox$cOQ$jX`$jXc$jXg$jXh$jXl$jXm$jXo$jXr$jXv$jX|$jX!q$jX$Z$jX$[$jX$^$jX$k$jXn$jXq$jX~O`$YOc$YOg%wOl$YOm$YO~P)gO`$YOc$YOl$YOm$YOn%xO~P)gO`$YOc$YOl$YOm$YOq%yO~P)gOh%{OS#ZXc#ZXd#ZXm#ZX!Y#ZX!]#ZX!`#ZX$]#ZX~Om%|O~Og&ROv&SO!r&SO~Or$SX!e$SXm$SX~P*[O!e$lOr$vam$va~Om&VO~Oq&^O$Z&XO$k&WO~Og&_O~P&jOx$cO!e&cO$u$|Om#Ui$X#Uiq#Ui~P)gO$t&fO~Om$Qa$X$Qaq$Qa~P!mOm#[O$X$siq$si~O!e&iOg$qX~P&jOg&kO~Ox$cOQ#xXg#xXh#xXo#xXr#xXv#xX|#xX!e#xX!q#xX$Z#xX$[#xX$^#xX$k#xX~O!e&mOg$hX~P)gOg&oO~On&pOx$cO!}&qO~OR#zOv#zO$]&sO$^#yO$k!qO~O!T#}OS$Wac$Wad$Wah$Wam$War$Wa!Y$Wa!]$Wa!`$Wa!e$Wa$]$Wa~Oc!dXg!PX!T!PX!e!PX~O!T#}O!e&uOg$pX~Oc&wO~Og&xO~Oc!mXg!mX!W!RX~OS!eOh&zO~O!T&|O~O!T&|O!W&}Og$oX~Oc'OOg!lX~O!W&}O~Og'PO~O$Z'QO~Om'SO~Oc'TO!T#}O~Og'VOm'UO~Og'YO~O!T#}Or$Sa!e$Sam$Sa~OP$bOruX!euXguX~O$k&WOr#jX!e#jX~Or!SO!e'[O~Oq'`O$Z&XO$k&WO~Ox$cOQ$PXh$PXm$PXo$PXr$PXv$PX|$PX!e$PX!q$PX$X$PX$Z$PX$[$PX$^$PX$k$PX$u$PXq$PX~O!e&cO$u$|Om#Uq$X#Uqq#Uq~P)gOn'eOx$cO!}'fO~Og#}X!e#}X~P'yO!e&iOg$qa~Og#|X!e#|X~P)gO!e&mOg$ha~On'eO~Og'kO~P)gOg'lO!W'mO~O$]'nOg#{X!e#{X~P/gO!e&uOg$pa~Og'sO~OS!eOh'uO~OS!eO~PFyO`'yOg'{O~OS#zac#zad#zah#za!Y#za!]#za!`#za$]#za~Og'}O~P!!POg'}Om(OO~Ox$cOQ$Pah$Pam$Pao$Par$Pav$Pa|$Pa!e$Pa!q$Pa$X$Pa$Z$Pa$[$Pa$^$Pa$k$Pa$u$Paq$Pa~On(TO~Og#}a!e#}a~P&jOg#|a!e#|a~P)gOR#zOv#zO$]&sO$^#yO$k&WO~Oc!fXg!PX!T!PX!e!PX~O!T#}Og#{a!e#{a~Oc(VO~O!e&uOg$pi~P)gOg!ai!T!ji~Og(XO~O!W(ZOg!ni~Og!li~P)gO`'yOg(^O~Ox$cOg!Oim!Oi~Og(_O~P!!POm(`O~Og(aO~O!e&uOg$pq~Og(cO~OS!eO~P!$lOg#{q!e#{q~P)gO$`!r$a$k`x#S~",goto:"8^$wPPPPP$xP${P%U%h%U%z&^P%UP&d%UPP&jPPP&p&z&zPPPP&zPP&z&z'jP&zP&z(m&zP)])`)f)f)x)fP)f*_P)fP)f)fP*j)fP*v*|+r+uP+x*v+{*v,O,U,X,_,X)f,ePP-Z-a%U-g%U.V.V.].aPP%UP%U%UP.g/c/p/w${P0QP0TP${P${P${P0Z${P0^0a0d0k${P${PP${P0p${P0s0y1Y1t2S2Y2d2j2p2v2|3W3^3d3j3p3vPPPPPPPPPPPP3|4VP4{5O6SP6[7U7k,X7w7zP7}PP8TRsQ_bOPdp!S#[%Pq`OP^_dp}!O!P!Q!S#S#[#o%P&iqSOP^_dp}!O!P!Q!S#S#[#o%P&iqUOP^_dp}!O!P!Q!S#S#[#o%P&iQuTR#bvQxWR#cyQ!WYR#dzQ#d!YS$h!t!uR%U#f!Z!xeg!m!n!o#Z#p#u$[$^$`$c${%W%]%a&c&d&m&r&w'O'T'i'r'x(V(b!Y!xeg!m!n!o#Z#p#u$[$^$`$c${%W%]%a&c&d&m&r&w'O'T'i'r'x(V(bb#z!b$W%b%m&z&}'m'u(ZU&Z$r&]'[R'Z&Y!Z!teg!m!n!o#Z#p#u$[$^$`$c${%W%]%a&c&d&m&r&w'O'T'i'r'x(V(bR$j!vQ&P$iR'W&Qq!gafj!b!c!d!r#}$O$P$S$g$i$l&Q&uQ#w!bW%s$W%m&z'uQ&t%bQ'w&}Q(U'mR(d(Zc#z!b$W%b%m&z&}'m'u(ZQ#VkQ$V!iQ$v#UR&a$xX%q$W%m&z'up!gafj!b!c!d!r#}$O$P$S$g$i$l&Q&uW%p$W%m&z'uQ&{%nQ'v&|Q'w&}R(d(ZR$T!eR%j$SR'p&uR&{%nX%o$W%m&z'uR'v&|X%t$W%m&z'uX%r$W%m&z'u!Y!xeg!m!n!o#Z#p#u$[$^$`$c${%W%]%a&c&d&m&r&w'O'T'i'r'x(V(bQ!}hR$q#OQ!XYR#ezQ#d!XR%U#ep[OP^_dp}!O!P!Q!S#S#[#o%P&ie{X!_!`#h#i#j#k$u%Y'gQ!^]R#g|T!]]|Q#r![R%_#sQ!TXQ!haQ#TkQ#m!RQ$Q!cQ$n!zQ$t#RQ$w#VQ$z#YQ%g$PQ&`$vQ'^&[Q'a&aR(S']SoP!SQ#^pQ%O#[R&g%PZnPp!S#[%PQ$}#ZQ&e${R'd&dR$g!rQ'R%{R(['yR#OhR#QiR$s#QS&[$r&]R(Q'[V&Y$r&]'[R#YlQ#`rR%S#`QdOSpP!SU!kdp%PR%P#[Q%]#p[&l%]&r'i'r'x(bQ&r%aQ'i&mQ'r&wQ'x'OR(b(VQ$[!mQ$^!nQ$`!oV%v$[$^$`Q&Q$iR'X&QQ&v%iS'q&v(WR(W'rQ&n%]R'j&nQ&j%YR'h&jQ!RXR#l!RQ&d${R'c&dQ#]oS%Q#]%RR%R#^Q'z'RR(]'zQ$m!yR&U$mQ&]$rR'_&]Q']&[R(R']Q#XlR$y#XQ$P!cR%f$P_cOPdp!S#[%P^XOPdp!S#[%PQ!_^Q!`_Q#h}Q#i!OQ#j!PQ#k!QQ$u#SQ%Y#oR'g&iR%^#pQ!reQ!{g[$X!m!n!o$[$^$`Q${#Zh%[#p%]%a&m&r&w'O'i'r'x(V(bQ%`#uQ%z$cS&b${&dQ&h%WQ'b&cR'|'T]$Z!m!n!o$[$^$`Q!caU!yf!r$gQ#RjQ#x!bS#|!c$PQ$R!dQ%d#}Q%e$OQ%i$SS&O$i&QQ&T$lR'o&uQ#{!bW%s$W%m&z'uQ&t%bQ'w&}Q(U'mR(d(ZQ%u$WQ&y%mQ't&zR(Y'uR%k$SR%Z#oQqPR#n!SQ!zfQ$f!rR%}$g",nodeNames:`⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery ColorLiteral CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector StyleQuery style ParenthesedQuery CallQuery ArgList PropertyName , PropertyName UnaryQuery ParenthesedQuery BinaryQuery ParenthesedQuery ParenthesedQuery StyleFeature PropertyName StyleRange PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles`,maxTerm:176,nodeProps:[[`isolate`,-2,5,38,``],[`openedBy`,23,`(`,30,`[`,33,`{`],[`closedBy`,24,`)`,31,`]`,34,`}`]],propSources:[wft],skippedNodes:[0,5,130],repeatNodeCount:17,tokenData:"IO~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu/wuv%Zvw0qwx1Sxy2qyz3Sz{3X{|3r|}8e}!O8v!O!P9e!P!Q9|!Q![:u![!];p!]!^<l!^!_<}!_!`=y!`!a>^!a!b%Z!b!c?_!c!k%Z!k!lAl!l!u%Z!u!vAl!v!}%Z!}#OA}#O#P%Z#P#QB`#Q#R/w#R#]%Z#]#^Bq#^#g%Z#g#hAl#h#o%Z#o#pGU#p#qGg#q#rHO#r#sHa#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`Hx<%lO%Z`%^SOy%jz;'S%j;'S;=`%{<%lO%j`%oS!r`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$`~OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%j~'yh$`~!r`OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%jj)jS$uYOy%jz;'S%j;'S;=`%{<%lO%j~)yWOY)vZr)vrs*cs#O)v#O#P*h#P;'S)v;'S;=`+d<%lO)v~*hOv~~*kRO;'S)v;'S;=`*t;=`O)v~*wXOY)vZr)vrs*cs#O)v#O#P*h#P;'S)v;'S;=`+d;=`<%l)v<%lO)v~+gP;=`<%l)vj+maOy%jz}%j}!O,r!O!Q%j!Q![,r![!c%j!c!},r!}#O%j#O#P.O#P#R%j#R#S,r#S#T%j#T#o,r#o$g%j$g;'S,r;'S;=`/q<%lO,rj,ya$rY!r`Oy%jz}%j}!O,r!O!Q%j!Q![,r![!c%j!c!},r!}#O%j#O#P.O#P#R%j#R#S,r#S#T%j#T#o,r#o$g%j$g;'S,r;'S;=`/q<%lO,rj.TV!r`OY,rYZ%jZy,ryz.jz;'S,r;'S;=`/q<%lO,rY.oX$rY}!O.j!Q![.j!c!}.j#O#P/[#R#S.j#T#o.j$g;'S.j;'S;=`/k<%lO.jY/_SOY.jZ;'S.j;'S;=`/k<%lO.jY/nP;=`<%l.jj/tP;=`<%l,rd/zUOy%jz!_%j!_!`0^!`;'S%j;'S;=`%{<%lO%jd0eS!|S!r`Oy%jz;'S%j;'S;=`%{<%lO%jb0vS^QOy%jz;'S%j;'S;=`%{<%lO%j~1VWOY1SZw1Swx*cx#O1S#O#P1o#P;'S1S;'S;=`2k<%lO1S~1rRO;'S1S;'S;=`1{;=`O1S~2OXOY1SZw1Swx*cx#O1S#O#P1o#P;'S1S;'S;=`2k;=`<%l1S<%lO1S~2nP;=`<%l1Sj2vShYOy%jz;'S%j;'S;=`%{<%lO%j~3XOg~n3`UWQxWOy%jz!_%j!_!`0^!`;'S%j;'S;=`%{<%lO%jj3yWxW#SQOy%jz!O%j!O!P4c!P!Q%j!Q![7h![;'S%j;'S;=`%{<%lO%jj4hU!r`Oy%jz!Q%j!Q![4z![;'S%j;'S;=`%{<%lO%jj5RY!r`$kYOy%jz!Q%j!Q![4z![!g%j!g!h5q!h#X%j#X#Y5q#Y;'S%j;'S;=`%{<%lO%jj5vY!r`Oy%jz{%j{|6f|}%j}!O6f!O!Q%j!Q![6}![;'S%j;'S;=`%{<%lO%jj6kU!r`Oy%jz!Q%j!Q![6}![;'S%j;'S;=`%{<%lO%jj7UU!r`$kYOy%jz!Q%j!Q![6}![;'S%j;'S;=`%{<%lO%jj7o[!r`$kYOy%jz!O%j!O!P4z!P!Q%j!Q![7h![!g%j!g!h5q!h#X%j#X#Y5q#Y;'S%j;'S;=`%{<%lO%jj8jS!eYOy%jz;'S%j;'S;=`%{<%lO%jj8{WxWOy%jz!O%j!O!P4c!P!Q%j!Q![7h![;'S%j;'S;=`%{<%lO%jj9jU`YOy%jz!Q%j!Q![4z![;'S%j;'S;=`%{<%lO%j~:RTxWOy%jz{:b{;'S%j;'S;=`%{<%lO%j~:iS!r`$a~Oy%jz;'S%j;'S;=`%{<%lO%jj:z[$kYOy%jz!O%j!O!P4z!P!Q%j!Q![7h![!g%j!g!h5q!h#X%j#X#Y5q#Y;'S%j;'S;=`%{<%lO%jj;uUcYOy%jz![%j![!]<X!];'S%j;'S;=`%{<%lO%jj<`SdY!r`Oy%jz;'S%j;'S;=`%{<%lO%jj<qSmYOy%jz;'S%j;'S;=`%{<%lO%jh=SU!WWOy%jz!_%j!_!`=f!`;'S%j;'S;=`%{<%lO%jh=mS!WW!r`Oy%jz;'S%j;'S;=`%{<%lO%jl>QS!WW!|SOy%jz;'S%j;'S;=`%{<%lO%jj>eV#PQ!WWOy%jz!_%j!_!`=f!`!a>z!a;'S%j;'S;=`%{<%lO%jb?RS#PQ!r`Oy%jz;'S%j;'S;=`%{<%lO%jj?bYOy%jz}%j}!O@Q!O!c%j!c!}@o!}#T%j#T#o@o#o;'S%j;'S;=`%{<%lO%jj@VW!r`Oy%jz!c%j!c!}@o!}#T%j#T#o@o#o;'S%j;'S;=`%{<%lO%jj@v[lY!r`Oy%jz}%j}!O@o!O!Q%j!Q![@o![!c%j!c!}@o!}#T%j#T#o@o#o;'S%j;'S;=`%{<%lO%jhAqS!}WOy%jz;'S%j;'S;=`%{<%lO%jjBSSoYOy%jz;'S%j;'S;=`%{<%lO%jnBeSn^Oy%jz;'S%j;'S;=`%{<%lO%jjBvU!}WOy%jz#a%j#a#bCY#b;'S%j;'S;=`%{<%lO%jbC_U!r`Oy%jz#d%j#d#eCq#e;'S%j;'S;=`%{<%lO%jbCvU!r`Oy%jz#c%j#c#dDY#d;'S%j;'S;=`%{<%lO%jbD_U!r`Oy%jz#f%j#f#gDq#g;'S%j;'S;=`%{<%lO%jbDvU!r`Oy%jz#h%j#h#iEY#i;'S%j;'S;=`%{<%lO%jbE_U!r`Oy%jz#T%j#T#UEq#U;'S%j;'S;=`%{<%lO%jbEvU!r`Oy%jz#b%j#b#cFY#c;'S%j;'S;=`%{<%lO%jbF_U!r`Oy%jz#h%j#h#iFq#i;'S%j;'S;=`%{<%lO%jbFxS$tQ!r`Oy%jz;'S%j;'S;=`%{<%lO%jjGZSrYOy%jz;'S%j;'S;=`%{<%lO%jfGlU$gUOy%jz!_%j!_!`0^!`;'S%j;'S;=`%{<%lO%jjHTSqYOy%jz;'S%j;'S;=`%{<%lO%jfHfU#SQOy%jz!_%j!_!`0^!`;'S%j;'S;=`%{<%lO%j`H{P;=`<%l%Z",tokenizers:[Sft,Cft,bft,xft,1,2,3,4,new fP(`m~RRYZ[z{a~~g~aO$c~~dP!P!Qg~lO$d~~`,28,156)],topRules:{StyleSheet:[0,6],Styles:[1,129]},dynamicPrecedences:{97:1},specialized:[{term:172,get:(e,t)=>nft(e)<<1,external:nft},{term:150,get:e=>Tft[e]||-1},{term:151,get:e=>Eft[e]||-1},{term:4,get:e=>Dft[e]||-1},{term:28,get:e=>Oft[e]||-1},{term:149,get:e=>kft[e]||-1}],tokenPrec:2433})}));function OP(){if(!kP&&typeof document==`object`&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)r!=`cssText`&&r!=`cssFloat`&&typeof e[r]==`string`&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>`-`+e.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));kP=t.sort().map(e=>({type:`property`,label:e,apply:e+`: `}))}return kP||[]}function Mft(e,t){if((e.name==`(`||e.type.isError)&&(e=e.parent||e),e.name!=`ArgList`)return!1;let n=e.parent?.firstChild;return n?.name==`Callee`&&t.sliceString(n.from,n.to)==`var`}function Nft(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function Pft(e,t,n){if(t.to-t.from>4096){let r=NP.get(t);if(r)return r;let i=[],a=new Set,o=t.cursor(Vj.IncludeAnonymous);if(o.firstChild())do for(let t of Pft(e,o.node,n))a.has(t.label)||(a.add(t.label),i.push(t));while(o.nextSibling());return NP.set(t,i),i}{let r=[],i=new Set;return t.cursor().iterate(t=>{if(n(t)&&t.matchContext(zft)&&t.node.nextSibling?.name==`:`){let n=e.sliceString(t.from,t.to);i.has(n)||(i.add(n),r.push({label:n,type:`variable`}))}}),r}}function Fft(){return new HM(PP,PP.data.of({autocomplete:Vft}))}var kP,AP,jP,Ift,Lft,MP,Rft,NP,zft,Bft,Vft,PP,Hft=s((()=>{jft(),lN(),tM(),kP=null,AP=`active.after.any-link.autofill.backdrop.before.checked.cue.default.defined.disabled.empty.enabled.file-selector-button.first.first-child.first-letter.first-line.first-of-type.focus.focus-visible.focus-within.fullscreen.has.host.host-context.hover.in-range.indeterminate.invalid.is.lang.last-child.last-of-type.left.link.marker.modal.not.nth-child.nth-last-child.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.part.placeholder.placeholder-shown.read-only.read-write.required.right.root.scope.selection.slotted.target.target-text.valid.visited.where`.split(`.`).map(e=>({type:`class`,label:e})),jP=`above.absolute.activeborder.additive.activecaption.after-white-space.ahead.alias.all.all-scroll.alphabetic.alternate.always.antialiased.appworkspace.asterisks.attr.auto.auto-flow.avoid.avoid-column.avoid-page.avoid-region.axis-pan.background.backwards.baseline.below.bidi-override.blink.block.block-axis.bold.bolder.border.border-box.both.bottom.break.break-all.break-word.bullets.button.button-bevel.buttonface.buttonhighlight.buttonshadow.buttontext.calc.capitalize.caps-lock-indicator.caption.captiontext.caret.cell.center.checkbox.circle.cjk-decimal.clear.clip.close-quote.col-resize.collapse.color.color-burn.color-dodge.column.column-reverse.compact.condensed.contain.content.contents.content-box.context-menu.continuous.copy.counter.counters.cover.crop.cross.crosshair.currentcolor.cursive.cyclic.darken.dashed.decimal.decimal-leading-zero.default.default-button.dense.destination-atop.destination-in.destination-out.destination-over.difference.disc.discard.disclosure-closed.disclosure-open.document.dot-dash.dot-dot-dash.dotted.double.down.e-resize.ease.ease-in.ease-in-out.ease-out.element.ellipse.ellipsis.embed.end.ethiopic-abegede-gez.ethiopic-halehame-aa-er.ethiopic-halehame-gez.ew-resize.exclusion.expanded.extends.extra-condensed.extra-expanded.fantasy.fast.fill.fill-box.fixed.flat.flex.flex-end.flex-start.footnotes.forwards.from.geometricPrecision.graytext.grid.groove.hand.hard-light.help.hidden.hide.higher.highlight.highlighttext.horizontal.hsl.hsla.hue.icon.ignore.inactiveborder.inactivecaption.inactivecaptiontext.infinite.infobackground.infotext.inherit.initial.inline.inline-axis.inline-block.inline-flex.inline-grid.inline-table.inset.inside.intrinsic.invert.italic.justify.keep-all.landscape.large.larger.left.level.lighter.lighten.line-through.linear.linear-gradient.lines.list-item.listbox.listitem.local.logical.loud.lower.lower-hexadecimal.lower-latin.lower-norwegian.lowercase.ltr.luminosity.manipulation.match.matrix.matrix3d.medium.menu.menutext.message-box.middle.min-intrinsic.mix.monospace.move.multiple.multiple_mask_images.multiply.n-resize.narrower.ne-resize.nesw-resize.no-close-quote.no-drop.no-open-quote.no-repeat.none.normal.not-allowed.nowrap.ns-resize.numbers.numeric.nw-resize.nwse-resize.oblique.opacity.open-quote.optimizeLegibility.optimizeSpeed.outset.outside.outside-shape.overlay.overline.padding.padding-box.painted.page.paused.perspective.pinch-zoom.plus-darker.plus-lighter.pointer.polygon.portrait.pre.pre-line.pre-wrap.preserve-3d.progress.push-button.radial-gradient.radio.read-only.read-write.read-write-plaintext-only.rectangle.region.relative.repeat.repeating-linear-gradient.repeating-radial-gradient.repeat-x.repeat-y.reset.reverse.rgb.rgba.ridge.right.rotate.rotate3d.rotateX.rotateY.rotateZ.round.row.row-resize.row-reverse.rtl.run-in.running.s-resize.sans-serif.saturation.scale.scale3d.scaleX.scaleY.scaleZ.screen.scroll.scrollbar.scroll-position.se-resize.self-start.self-end.semi-condensed.semi-expanded.separate.serif.show.single.skew.skewX.skewY.skip-white-space.slide.slider-horizontal.slider-vertical.sliderthumb-horizontal.sliderthumb-vertical.slow.small.small-caps.small-caption.smaller.soft-light.solid.source-atop.source-in.source-out.source-over.space.space-around.space-between.space-evenly.spell-out.square.start.static.status-bar.stretch.stroke.stroke-box.sub.subpixel-antialiased.svg_masks.super.sw-resize.symbolic.symbols.system-ui.table.table-caption.table-cell.table-column.table-column-group.table-footer-group.table-header-group.table-row.table-row-group.text.text-bottom.text-top.textarea.textfield.thick.thin.threeddarkshadow.threedface.threedhighlight.threedlightshadow.threedshadow.to.top.transform.translate.translate3d.translateX.translateY.translateZ.transparent.ultra-condensed.ultra-expanded.underline.unidirectional-pan.unset.up.upper-latin.uppercase.url.var.vertical.vertical-text.view-box.visible.visibleFill.visiblePainted.visibleStroke.visual.w-resize.wait.wave.wider.window.windowframe.windowtext.words.wrap.wrap-reverse.x-large.x-small.xor.xx-large.xx-small`.split(`.`).map(e=>({type:`keyword`,label:e})).concat(`aliceblue.antiquewhite.aqua.aquamarine.azure.beige.bisque.black.blanchedalmond.blue.blueviolet.brown.burlywood.cadetblue.chartreuse.chocolate.coral.cornflowerblue.cornsilk.crimson.cyan.darkblue.darkcyan.darkgoldenrod.darkgray.darkgreen.darkkhaki.darkmagenta.darkolivegreen.darkorange.darkorchid.darkred.darksalmon.darkseagreen.darkslateblue.darkslategray.darkturquoise.darkviolet.deeppink.deepskyblue.dimgray.dodgerblue.firebrick.floralwhite.forestgreen.fuchsia.gainsboro.ghostwhite.gold.goldenrod.gray.grey.green.greenyellow.honeydew.hotpink.indianred.indigo.ivory.khaki.lavender.lavenderblush.lawngreen.lemonchiffon.lightblue.lightcoral.lightcyan.lightgoldenrodyellow.lightgray.lightgreen.lightpink.lightsalmon.lightseagreen.lightskyblue.lightslategray.lightsteelblue.lightyellow.lime.limegreen.linen.magenta.maroon.mediumaquamarine.mediumblue.mediumorchid.mediumpurple.mediumseagreen.mediumslateblue.mediumspringgreen.mediumturquoise.mediumvioletred.midnightblue.mintcream.mistyrose.moccasin.navajowhite.navy.oldlace.olive.olivedrab.orange.orangered.orchid.palegoldenrod.palegreen.paleturquoise.palevioletred.papayawhip.peachpuff.peru.pink.plum.powderblue.purple.rebeccapurple.red.rosybrown.royalblue.saddlebrown.salmon.sandybrown.seagreen.seashell.sienna.silver.skyblue.slateblue.slategray.snow.springgreen.steelblue.tan.teal.thistle.tomato.turquoise.violet.wheat.white.whitesmoke.yellow.yellowgreen`.split(`.`).map(e=>({type:`constant`,label:e}))),Ift=`a.abbr.address.article.aside.b.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.dd.del.details.dfn.dialog.div.dl.dt.em.figcaption.figure.footer.form.header.hgroup.h1.h2.h3.h4.h5.h6.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.main.meter.nav.ol.output.p.pre.ruby.section.select.small.source.span.strong.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.tr.u.ul`.split(`.`).map(e=>({type:`type`,label:e})),Lft=[`@charset`,`@color-profile`,`@container`,`@counter-style`,`@font-face`,`@font-feature-values`,`@font-palette-values`,`@import`,`@keyframes`,`@layer`,`@media`,`@namespace`,`@page`,`@position-try`,`@property`,`@scope`,`@starting-style`,`@supports`,`@view-transition`].map(e=>({type:`keyword`,label:e})),MP=/^(\w[\w-]*|-\w[\w-]*|)$/,Rft=/^-(-[\w-]*)?$/,NP=new Yj,zft=[`Declaration`],Bft=e=>t=>{let{state:n,pos:r}=t,i=CM(n).resolveInner(r,-1),a=i.type.isError&&i.from==i.to-1&&n.doc.sliceString(i.from,i.to)==`-`;if(i.name==`PropertyName`||(a||i.name==`TagName`)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:OP(),validFor:MP};if(i.name==`ValueName`)return{from:i.from,options:jP,validFor:MP};if(i.name==`PseudoClassName`)return{from:i.from,options:AP,validFor:MP};if(e(i)||(t.explicit||a)&&Mft(i,n.doc))return{from:e(i)||a?i.from:r,options:Pft(n.doc,Nft(i),e),validFor:Rft};if(i.name==`TagName`){for(let{parent:e}=i;e;e=e.parent)if(e.name==`Block`)return{from:i.from,options:OP(),validFor:MP};return{from:i.from,options:Ift,validFor:MP}}if(i.name==`AtKeyword`)return{from:i.from,options:Lft,validFor:MP};if(!t.explicit)return null;let o=i.resolve(r),s=o.childBefore(r);return s&&s.name==`:`&&o.name==`PseudoClassSelector`?{from:r,options:AP,validFor:MP}:s&&s.name==`:`&&o.name==`Declaration`||o.name==`ArgList`?{from:r,options:jP,validFor:MP}:o.name==`Block`||o.name==`Styles`?{from:r,options:OP(),validFor:MP}:null},Vft=Bft(e=>e.name==`VariableName`),PP=IM.define({name:`css`,parser:Aft.configure({props:[GM.add({Declaration:TM()}),KM.add({"Block KeyframeList":EM})]}),languageData:{commentTokens:{block:{open:`/*`,close:`*/`}},indentOnInput:/^\s*\}$/,wordChars:`-`}})}));function Uft(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function FP(e,t){let n=e.pos+t;if($P==n&&QP==e)return ZP;let r=e.peek(t),i=``;for(;Uft(r);)i+=String.fromCharCode(r),r=e.peek(++t);return QP=e,$P=n,ZP=i?i.toLowerCase():r==vpt||r==ypt?void 0:null}function Wft(e,t){this.name=e,this.parent=t}function Gft(e){for(;e;e=e.parent)if(e.name==`svg`||e.name==`math`)return!0;return!1}function IP(e,t,n){let r=2+e.length;return new pP(i=>{for(let a=0,o=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(a==0&&i.next==eF||a==1&&i.next==nF||a>=2&&a<r&&i.next==e.charCodeAt(a-2))a++,o++;else if(a==r&&i.next==tF){s>o?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((i.next==10||i.next==13)&&s){i.acceptToken(t,1);break}else a=o=0;i.advance()}})}function Kft(e,t){let n=Object.create(null);for(let r of e.getChildren(qP)){let e=r.getChild(cpt),i=r.getChild(JP)||r.getChild(YP);e&&(n[t.read(e.from,e.to)]=i?i.type.id==JP?t.read(i.from+1,i.to-1):t.read(i.from,i.to):``)}return n}function qft(e,t){let n=e.getChild(spt);return n?t.read(n.from,n.to):` `}function LP(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||=Kft(e.node.parent.firstChild,t)))return{parser:i.parser,bracketed:!0};return null}function Jft(e=[],t=[]){let n=[],r=[],i=[],a=[];for(let t of e)(t.tag==`script`?n:t.tag==`style`?r:t.tag==`textarea`?i:a).push(t);let o=t.length?Object.create(null):null;for(let e of t)(o[e.name]||(o[e.name]=[])).push(e);return hct((e,t)=>{let s=e.type.id;if(s==lpt)return LP(e,t,n);if(s==upt)return LP(e,t,r);if(s==dpt)return LP(e,t,i);if(s==KP&&a.length){let n=e.node,r=n.firstChild,i=r&&qft(r,t),o;if(i){for(let e of a)if(e.tag==i&&(!e.attrs||e.attrs(o||=Kft(r,t)))){let t=n.lastChild,i=t.type.id==ppt?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(o&&s==qP){let n=e.node,r;if(r=n.firstChild){let e=o[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=qft(n.parent,t))continue;let e=n.lastChild;if(e.type.id==JP){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}],bracketed:!0}}else if(e.type.id==YP)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var Yft,Xft,Zft,Qft,$ft,ept,RP,tpt,zP,BP,VP,HP,UP,npt,rpt,ipt,WP,apt,opt,GP,KP,spt,qP,cpt,JP,YP,lpt,upt,dpt,fpt,ppt,mpt,hpt,gpt,_pt,XP,ZP,QP,$P,eF,tF,nF,vpt,ypt,bpt,xpt,Spt,Cpt,wpt,Tpt,Ept,Dpt,Opt,kpt,Apt,jpt=s((()=>{yP(),SM(),tM(),Yft=55,Xft=1,Zft=56,Qft=2,$ft=57,ept=3,RP=4,tpt=5,zP=6,BP=7,VP=8,HP=9,UP=10,npt=11,rpt=12,ipt=13,WP=58,apt=14,opt=15,GP=59,KP=21,spt=23,qP=24,cpt=25,JP=27,YP=28,lpt=29,upt=32,dpt=35,fpt=37,ppt=38,mpt=0,hpt=1,gpt={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},_pt={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},XP={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},ZP=null,QP=null,$P=0,eF=60,tF=62,nF=47,vpt=63,ypt=33,bpt=45,xpt=[zP,UP,BP,VP,HP],Spt=new _P({start:null,shift(e,t,n,r){return xpt.indexOf(t)>-1?new Wft(FP(r,1)||``,e):e},reduce(e,t){return t==KP&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==zP||i==fpt?new Wft(FP(r,1)||``,e):e},strict:!1}),Cpt=new pP((e,t)=>{if(e.next!=eF){e.next<0&&t.context&&e.acceptToken(WP);return}e.advance();let n=e.next==nF;n&&e.advance();let r=FP(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?opt:apt);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(npt);if(i&&_pt[i])return e.acceptToken(WP,-2);if(t.dialectEnabled(mpt))return e.acceptToken(rpt);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(ipt)}else{if(r==`script`)return e.acceptToken(BP);if(r==`style`)return e.acceptToken(VP);if(r==`textarea`)return e.acceptToken(HP);if(gpt.hasOwnProperty(r))return e.acceptToken(UP);i&&XP[i]&&XP[i][r]?e.acceptToken(WP,-1):e.acceptToken(zP)}},{contextual:!0}),wpt=new pP(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(GP);break}if(e.next==bpt)t++;else if(e.next==tF&&t>=2){n>=3&&e.acceptToken(GP,-2);break}else t=0;e.advance()}}),Tpt=new pP((e,t)=>{if(e.next==nF&&e.peek(1)==tF){let n=t.dialectEnabled(hpt)||Gft(t.context);e.acceptToken(n?tpt:RP,2)}else e.next==tF&&e.acceptToken(RP,1)}),Ept=IP(`script`,Yft,Xft),Dpt=IP(`style`,Zft,Qft),Opt=IP(`textarea`,$ft,ept),kpt=nM({"Text RawText IncompleteTag IncompleteCloseTag":W.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":W.angleBracket,TagName:W.tagName,"MismatchedCloseTag/TagName":[W.tagName,W.invalid],AttributeName:W.attributeName,"AttributeValue UnquotedAttributeValue":W.attributeValue,Is:W.definitionOperator,"EntityReference CharacterReference":W.character,Comment:W.blockComment,ProcessingInst:W.processingInstruction,DoctypeDecl:W.documentMeta}),Apt=vP.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O'#CwO+SOMhO'#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO'#D]'#D]O+eO7[O,59cOOQW,59c,59cOOOO'#D^'#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[",stateData:`,c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~`,goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:`⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl`,maxTerm:68,context:Spt,nodeProps:[[`closedBy`,-10,1,2,3,7,8,9,10,11,12,13,`EndTag`,6,`EndTag SelfClosingEndTag`,-4,22,31,34,37,`CloseTag`],[`openedBy`,4,`StartTag StartCloseTag`,5,`StartTag`,-4,30,33,36,38,`OpenTag`],[`group`,-10,14,15,18,19,20,21,40,41,42,43,`Entity`,17,`Entity TextContent`,-3,29,32,35,`TextContent Entity`],[`isolate`,-11,22,30,31,33,34,36,37,38,39,42,43,`ltr`,-3,27,28,40,``]],propSources:[kpt],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!dpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!b`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebiSlWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!ahaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WiiSlWd!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[Ept,Dpt,Opt,Tpt,Cpt,wpt,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517})}));function rF(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}var Mpt,Npt,iF,Ppt,Fpt,Ipt,Lpt,Rpt,zpt,Bpt,Vpt,Hpt,aF,oF,Upt,sF,Wpt,Gpt,Kpt,qpt,Jpt,Ypt,Xpt,Zpt,Qpt,$pt,emt,tmt,nmt,rmt,imt,amt,omt,smt,cmt,lmt=s((()=>{yP(),SM(),Mpt=317,Npt=318,iF=1,Ppt=2,Fpt=3,Ipt=4,Lpt=319,Rpt=321,zpt=322,Bpt=5,Vpt=6,Hpt=0,aF=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],oF=125,Upt=59,sF=47,Wpt=42,Gpt=43,Kpt=45,qpt=60,Jpt=44,Ypt=63,Xpt=46,Zpt=91,Qpt=new _P({start:!1,shift(e,t){return t==Bpt||t==Vpt||t==Rpt?e:t==zpt},strict:!1}),$pt=new pP((e,t)=>{let{next:n}=e;(n==oF||n==-1||t.context)&&e.acceptToken(Lpt)},{contextual:!0,fallback:!0}),emt=new pP((e,t)=>{let{next:n}=e,r;aF.indexOf(n)>-1||(n!=sF||(r=e.peek(1))!=sF&&r!=Wpt)&&n!=oF&&n!=Upt&&n!=-1&&!t.context&&e.acceptToken(Mpt)},{contextual:!0}),tmt=new pP((e,t)=>{e.next==Zpt&&!t.context&&e.acceptToken(Npt)},{contextual:!0}),nmt=new pP((e,t)=>{let{next:n}=e;if(n==Gpt||n==Kpt){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(iF);e.acceptToken(n?iF:Ppt)}}else n==Ypt&&e.peek(1)==Xpt&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(Fpt))},{contextual:!0}),rmt=new pP((e,t)=>{if(e.next!=qpt||!t.dialectEnabled(Hpt)||(e.advance(),e.next==sF))return;let n=0;for(;aF.indexOf(e.next)>-1;)e.advance(),n++;if(rF(e.next,!0)){for(e.advance(),n++;rF(e.next,!1);)e.advance(),n++;for(;aF.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==Jpt)return;for(let t=0;;t++){if(t==7){if(!rF(e.next,!0))return;break}if(e.next!=`extends`.charCodeAt(t))break;e.advance(),n++}}e.acceptToken(Ipt,-n)}),imt=nM({"get set async static":W.modifier,"for while do if else switch try catch finally return throw break continue default case defer":W.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":W.operatorKeyword,"let var const using function class extends":W.definitionKeyword,"import export from":W.moduleKeyword,"with debugger new":W.keyword,TemplateString:W.special(W.string),super:W.atom,BooleanLiteral:W.bool,this:W.self,null:W.null,Star:W.modifier,VariableName:W.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":W.function(W.variableName),VariableDefinition:W.definition(W.variableName),Label:W.labelName,PropertyName:W.propertyName,PrivatePropertyName:W.special(W.propertyName),"CallExpression/MemberExpression/PropertyName":W.function(W.propertyName),"FunctionDeclaration/VariableDefinition":W.function(W.definition(W.variableName)),"ClassDeclaration/VariableDefinition":W.definition(W.className),"NewExpression/VariableName":W.className,PropertyDefinition:W.definition(W.propertyName),PrivatePropertyDefinition:W.definition(W.special(W.propertyName)),UpdateOp:W.updateOperator,"LineComment Hashbang":W.lineComment,BlockComment:W.blockComment,Number:W.number,String:W.string,Escape:W.escape,ArithOp:W.arithmeticOperator,LogicOp:W.logicOperator,BitOp:W.bitwiseOperator,CompareOp:W.compareOperator,RegExp:W.regexp,Equals:W.definitionOperator,Arrow:W.function(W.punctuation),": Spread":W.punctuation,"( )":W.paren,"[ ]":W.squareBracket,"{ }":W.brace,"InterpolationStart InterpolationEnd":W.special(W.brace),".":W.derefOperator,", ;":W.separator,"@":W.meta,TypeName:W.typeName,TypeDefinition:W.definition(W.typeName),"type enum interface implements namespace module declare":W.definitionKeyword,"abstract global Privacy readonly override":W.modifier,"is keyof unique infer asserts":W.operatorKeyword,JSXAttributeValue:W.attributeValue,JSXText:W.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":W.angleBracket,"JSXIdentifier JSXNameSpacedName":W.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":W.attributeName,"JSXBuiltin/JSXIdentifier":W.standard(W.tagName)}),amt={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:237,private:237,protected:237,readonly:239,instanceof:258,satisfies:261,import:294,keyof:351,unique:355,infer:361,asserts:397,is:399,abstract:419,implements:421,type:423,let:426,var:428,using:431,interface:437,enum:441,namespace:447,module:449,declare:453,global:457,defer:473,for:478,of:487,while:490,with:494,do:498,if:502,else:504,switch:508,case:514,try:520,catch:524,finally:528,return:532,throw:536,break:540,continue:544,debugger:548},omt={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:403},smt={__proto__:null,"<":193},cmt=vP.deserialize({version:14,states:"$GSQ%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Im'#ImO1XQ`O'#GtO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JsO6[Q!0MxO'#JtO6uQ`O'#F^O6zQ,UO'#FuOOQ!0Lf'#Fg'#FgO7VO7dO'#FgO9XQMhO'#F}O9`Q`O'#F|OOQ!0Lf'#Jt'#JtOOQ!0Lb'#Js'#JsO9eQ`O'#GxOOQ['#K`'#K`O9pQ`O'#IZO9uQ!0LrO'#I[OOQ['#Ja'#JaOOQ['#I`'#I`Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GtO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EzO;hQMhO'#FfO;xQ`O'#GtOOQO'#Ka'#KaO;}Q`O'#KaO<]Q`O'#G|O<]Q`O'#G}O<]Q`O'#HPO9kQ`O'#HSO=SQ`O'#HVO>kQ`O'#CeO>{Q`O'#HdO?TQ`O'#HjO?TQ`O'#HlO`QlO'#HnO?TQ`O'#HpO?TQ`O'#HsO?YQ`O'#HyO?_Q!0LsO'#IPO%[QlO'#IRO?jQ!0LsO'#ITO?uQ!0LsO'#IVO9uQ!0LrO'#IXO@QQ!0MxO'#CiOASQpO'#DlQOQ`OOO%[QlO'#EQOAjQ`O'#ETO:dQMhO'#EnOAuQ`O'#EnOBQQ!bO'#FfOOQ['#Cg'#CgOOQ!0Lb'#Dq'#DqOOQ!0Lb'#Jw'#JwO%[QlO'#JwOOQO'#Jz'#JzOOQO'#Ii'#IiOCQQpO'#EgOOQ!0Lb'#Ef'#EfOOQ!0Lb'#KO'#KOOC|Q!0MSO'#EgODWQpO'#EWOOQO'#Jy'#JyODlQpO'#JzOEyQpO'#EWODWQpO'#EgPFWO&2DjO'#CbPOOO)CEO)CEOOOOO'#Ia'#IaOFcO#tO,59UOOQ!0Lh,59U,59UOOOO'#Ib'#IbOFqO&jO,59UOGPQ!L^O'#DcOOOO'#Id'#IdOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO'#IeOGyQ`O'#JuOIxQ!fO'#JuO+}QlO'#JuOJPQ`O,5:ROJgQ`O'#EpOJtQ`O'#KUOKPQ`O'#KTOKPQ`O'#KTOKXQ`O,5;^OK^Q`O'#KSOOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO'#KRONtQ`O'#KQO9eQ`O'#KQO! YQ`O'#KQO! bQ`O,5;]O! gQ`O'#KQO!#lQ!fO'#JtOOQ!0Lh'#Ci'#CiO%[QlO'#ESO!$[Q!fO,5:sOOQS'#J{'#J{OOQO-E<k-E<kO9kQ`O,5=`O!$rQ`O,5=`O!$wQlO,5;ZO!&zQMhO'#EkO!(eQ`O,5;ZO!(jQlO'#DyO!(tQpO,5;eO!(|QpO,5;eO%[QlO,5;eOOQ['#FU'#FUOOQ['#FW'#FWO%[QlO,5;fO%[QlO,5;fO%[QlO,5;fO%[QlO,5;fO%[QlO,5;fO%[QlO,5;fO%[QlO,5;fO%[QlO,5;fO%[QlO,5;fO%[QlO,5;fOOQ['#F['#F[O!)[QlO,5;uOOQ!0Lf,5;z,5;zOOQ!0Lf,5;{,5;{OOQ!0Lf,5;},5;}O%[QlO'#IqO!+_Q!0LrO,5<jO%[QlO,5;fO!&zQMhO,5;fO!+|QMhO,5;fO!-nQMhO'#E^O%[QlO,5;xOOQ!0Lf,5;|,5;|O!-uQ,UO'#FkO!.rQ,UO'#KYO!.^Q,UO'#KYO!.yQ,UO'#KYOOQO'#KY'#KYO!/_Q,UO,5<TOOOW,5<a,5<aO!/pQlO'#FwOOOW'#Ip'#IpO7VO7dO,5<RO!/wQ,UO'#FyOOQ!0Lf,5<R,5<RO!0hQ$IUO'#CyOOQ!0Lh'#C}'#C}O!0{O#@ItO'#DRO!1iQMjO,5<fO!1pQ`O,5<iO!3YQ(CWO'#GYO!3jQ`O'#GZO!3oQ`O'#GZO!5_Q(CWO'#G_O!6dQpO'#GcOOQO'#Go'#GoO!,TQMhO'#GnOOQO'#Gq'#GqO!,TQMhO'#GpO!7VQ$IUO'#JmOOQ!0Lh'#Jm'#JmO!7aQ`O'#JlO!7oQ`O'#JkO!7wQ`O'#CuOOQ!0Lh'#C{'#C{O!8YQ`O'#C}OOQ!0Lh'#DV'#DVOOQ!0Lh'#DX'#DXO!8_Q`O,5<fO1SQ`O'#DZO!,TQMhO'#GQO!,TQMhO'#GSO!8gQ`O'#GUO!8lQ`O'#GVO!3oQ`O'#G]O!,TQMhO'#GbO<]Q`O'#JlO!8qQ`O'#EqO!9`Q`O,5<hOOQ!0Lb'#Cr'#CrO!9hQ`O'#ErO!:bQpO'#EsOOQ!0Lb'#KS'#KSO!:iQ!0LrO'#KbO9uQ!0LrO,5=dO`QlO,5>uOOQ['#Ji'#JiOOQ[,5>v,5>vOOQ[-E<^-E<^O!<hQ!0MxO,5:bO!=[QpO,5:`O!?WQ!0MxO,5:jO%[QlO,5:jO!AnQ!0MxO,5:lOOQO,5@{,5@{O!B_QMhO,5=`O!BmQ!0LrO'#JjO9`Q`O'#JjO!COQ!0LrO,59ZO!CZQpO,59ZO!CcQMhO,59ZO:dQMhO,59ZO!CnQ`O,5;ZO!CvQ`O'#HcO!D[Q`O'#KeO%[QlO,5<OO!=[QpO,5<QO!DdQ`O,5={O!DiQ`O,5={O!DnQ`O,5={O!D|Q`O,5={O9uQ!0LrO,5={O<]Q`O,5=kOOQO'#Cy'#CyO!ETQpO,5=hO!E]QMhO,5=iO!EhQ`O,5=kO!EmQ!bO,5=nO!EuQ`O'#KaO?YQ`O'#HXO9kQ`O'#HZO!EzQ`O'#HZO:dQMhO'#H]O!FPQ`O'#H]OOQ[,5=q,5=qO!FUQ`O'#H^O!FgQ`O'#CoO!FlQ`O,59PO!FvQ`O,59PO!H{QlO,59POOQ[,59P,59PO!I]Q!0LrO,59PO%[QlO,59PO!KhQlO'#HfOOQ['#Hg'#HgOOQ['#Hh'#HhO`QlO,5>OO!LOQ`O,5>OO`QlO,5>UO`QlO,5>WO!LTQ`O,5>YO`QlO,5>[O!LYQ`O,5>_O!L_QlO,5>eOOQ[,5>k,5>kO%[QlO,5>kO9uQ!0LrO,5>mOOQ[,5>o,5>oO#!iQ`O,5>oOOQ[,5>q,5>qO#!iQ`O,5>qOOQ[,5>s,5>sO##VQpO'#D_O%[QlO'#JwO##aQpO'#JwO##{QpO'#DmO#$^QpO'#DmO#&oQlO'#DmO#&vQ`O'#JvO#'OQ`O,5:WO#'TQ`O'#EtO#'`Q`O'#EtO#'eQ`O'#KVO#'mQ`O,5;_O#'rQpO'#DmO#(PQpO'#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CZQpO,5;YO!CcQMhO,5;YO:dQMhO,5;YO#(`Q`O,5@cO#(eQ07dO,5:sOOQO-E<g-E<gO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!COQ!0LrO,5:rOOQ!0Lb'#Ej'#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CZQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO'#I_'#I_P#+RO&2DjO,58|POOO,58|,58|OOOO-E<_-E<_OOQ!0Lh1G.p1G.pOOOO-E<`-E<`OOOO,59},59}O#+^Q!bO,59}OOOO-E<b-E<bOOQ!0Lf1G/g1G/gO#+cQ!fO,5?PO+}QlO,5?POOQO,5?V,5?VO#+mQlO'#IeOOQO-E<c-E<cO#+zQ`O,5@aO#,SQ!fO,5@aO#,ZQ`O,5@oOOQ!0Lf1G/m1G/mO%[QlO,5@pO#,cQ`O'#IkOOQO-E<i-E<iO#,ZQ`O,5@oOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@mO#,wQ!0LrO,5@mO#-YQ!0LrO,5@mO#-aQ`O,5@lO9eQ`O,5@lO#-iQ`O,5@lO#-wQ`O'#InO#-aQ`O,5@lOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2zO9kQ`O1G2zOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh'#GX'#GXO#0rQ!0MzO'#JmO!$wQlO1G0uO#2}Q!fO'#JxO%[QlO'#JxO#3XQ`O,5:eOOQ!0Lh'#D_'#D_OOQ!0Lf1G1P1G1PO%[QlO1G1POOQ!0Lf1G1g1G1gO#3^Q`O1G1PO#5rQ!0MxO1G1QO#5yQ!0MxO1G1QO#8aQ!0MxO1G1QO#8hQ!0MxO1G1QO#;OQ!0MxO1G1QO#=fQ!0MxO1G1QO#=mQ!0MxO1G1QO#=tQ!0MxO1G1QO#@[Q!0MxO1G1QO#@cQ!0MxO1G1QO#BpQ?MtO'#CiO#DkQ?MtO1G1aO#DrQ?MtO'#JtO#EVQ!0MxO,5?]OOQ!0Lb-E<o-E<oO#GdQ!0MxO1G1QO#HaQ!0MzO1G1QOOQ!0Lf1G1Q1G1QO#IdQMjO'#J}O#InQ`O,5:xO#IsQ!0MxO1G1dO#JgQ,UO,5<XO#JoQ,UO,5<YO#JwQ,UO'#FpO#K`Q`O'#FoOOQO'#KZ'#KZOOQO'#Io'#IoO#KeQ,UO1G1oOOQ!0Lf1G1o1G1oOOOW1G1z1G1zO#KvQ?MtO'#JsO#LQQ`O,5<cO!)[QlO,5<cOOOW-E<n-E<nOOQ!0Lf1G1m1G1mO#LVQpO'#KYOOQ!0Lf,5<e,5<eO#L_QpO,5<eO#LdQMhO'#DTOOOO'#Ic'#IcO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2QO!8lQ`O'#IsO#LvQ`O,5<{OOQ!0Lh,5<x,5<xO!,TQMhO'#IvO#MdQMjO,5=YO!,TQMhO'#IxO#NVQMjO,5=[O!&zQMhO,5=^OOQO1G2T1G2TO#NaQ!dO'#CrO#NtQ(CWO'#ErO$ |QpO'#GcO$!dQ!dO,5<tO$!kQ`O'#K]O9eQ`O'#K]O$!yQ`O,5<vO$#aQ!dO'#C{O!,TQMhO,5<uO$#kQ`O'#G[O$$PQ`O,5<uO$$UQ!dO'#GXO$$cQ!dO'#K^O$$mQ`O'#K^O!&zQMhO'#K^O$$rQ`O,5<yO$$wQlO'#JwO$%RQpO'#GdO#$^QpO'#GdO$%dQ`O'#GhO!3oQ`O'#GlO$%iQ!0LrO'#IuO$%tQpO,5<}OOQ!0Lp,5<},5<}O$%{QpO'#GdO$&YQpO'#GeO$&kQpO'#GeO$&pQMjO,5=YO$'QQMjO,5=[OOQ!0Lh,5=_,5=_O!,TQMhO,5@WO!,TQMhO,5@WO$'bQ`O'#IzO$'vQ`O,5@VO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@WO$)TQ$IYO,59uOOQ!0Lh'#Jq'#JqO$)vQMjO,5<lO$*iQMjO,5<nO@zQ`O,5<pOOQ!0Lh,5<q,5<qO$*sQ`O,5<wO$*xQMjO,5<|O$+YQ`O'#KQO!$wQlO1G2SO$+_Q`O1G2SO9eQ`O'#KTO$+dQ`O'#D_O9eQ`O'#EtO%[QlO'#EtO9eQ`O'#I|O$+rQ!0LrO,5@|OOQ[1G3O1G3OOOQ[1G4a1G4aOOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-tQ!0MxO1G0UOOQ[1G2z1G2zO!&zQMhO1G2zO%[QlO1G2zO#.tQ`O1G2zO$/xQMhO'#EkOOQ!0Lb,5@U,5@UO$0VQ!0LrO,5@UOOQ[1G.u1G.uO!COQ!0LrO1G.uO!CZQpO1G.uO!CcQMhO1G.uO$0hQ`O1G0uO$0mQ`O'#CiO$0xQ`O'#KfO$1QQ`O,5=}O$1VQ`O'#KfO$1[Q`O'#KfO$1jQ`O'#JSO$1xQ`O,5APO$2QQ!fO1G1jOOQ!0Lf1G1l1G1lO9kQ`O1G3gO@zQ`O1G3gO$2XQ`O1G3gO$2^Q`O1G3gO!DnQ`O1G3gO9uQ!0LrO1G3gOOQ[1G3g1G3gO!EhQ`O1G3VO!&zQMhO1G3SO$2cQ`O1G3SOOQ[1G3T1G3TO!&zQMhO1G3TO$2hQ`O1G3TO$2pQpO'#HROOQ[1G3V1G3VO!6_QpO'#JOO!EmQ!bO1G3YOOQ[1G3Y1G3YOOQ[,5=s,5=sO$2xQMhO,5=uO9kQ`O,5=uO$%dQ`O,5=wO9`Q`O,5=wO!CZQpO,5=wO!CcQMhO,5=wO:dQMhO,5=wO$3WQ`O'#KdO$3cQ`O,5=xOOQ[1G.k1G.kO$3hQ!0LrO1G.kO@zQ`O1G.kO$3sQ`O1G.kO9uQ!0LrO1G.kO$5{Q!fO,5ARO$6YQ`O,5ARO9eQ`O,5ARO$6eQlO,5>QO$6lQ`O,5>QOOQ[1G3j1G3jO`QlO1G3jOOQ[1G3p1G3pOOQ[1G3r1G3rO?TQ`O1G3tO$6qQlO1G3vO$:uQlO'#HuOOQ[1G3y1G3yO$;SQ`O'#H{O?YQ`O'#H}OOQ[1G4P1G4PO$;[QlO1G4PO9uQ!0LrO1G4VOOQ[1G4X1G4XOOQ!0Lb'#G`'#G`O9uQ!0LrO1G4ZO9uQ!0LrO1G4]O$?cQ`O,5@cO9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CZQpO,5:XO$?hQ?MtO,5:XOOQO,5;`,5;`O$?rQpO'#IfO$@YQ`O,5@bOOQ!0Lf1G/r1G/rO!)[QlO,5;`O$@bQpO'#IlO$@lQ`O,5@qOOQ!0Lb1G0y1G0yO#$^QpO,5:XOOQO'#Ih'#IhO$@tQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CZQpO1G0tO!CcQMhO1G0tOOQ!0Lb1G5}1G5}O!COQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@{Q!0LrO1G0mO$AWQ!0LrO1G0mO!CZQpO1G0^ODWQpO1G0^O$AfQ!0LrO1G0mOOQO1G0^1G0^O$AzQ!0MxO1G0mPOOO-E<]-E<]POOO1G.h1G.hOOOO1G/i1G/iO$BUQ!bO,5<jO$B^Q!fO1G4kOOQO1G4q1G4qO%[QlO,5?PO$BhQ`O1G5{O$BpQ`O1G6ZO$BxQ!fO1G6[O9eQ`O,5?VO$CSQ!0MxO1G6XO%[QlO1G6XO$CdQ!0LrO1G6XO$CuQ`O1G6WO$CuQ`O1G6WO9eQ`O1G6WO$C}Q`O,5?YO9eQ`O,5?YOOQO,5?Y,5?YO$DcQ`O,5?YO$+YQ`O,5?YOOQO-E<l-E<lOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(f7+(fO!&zQMhO7+(fO%[QlO7+(fO$DqQ`O7+(fO$D|QMhO7+(fO$E[Q!0MzO,5=YO$GgQ!0MzO,5=[O$IrQ!0MzO,5=YO$LTQ!0MzO,5=[O$NfQ!0MzO,59uO%!kQ!0MzO,5<lO%$vQ!0MzO,5<nO%'RQ!0MzO,5<|OOQ!0Lf7+&a7+&aO%)dQ!0MxO7+&aO%*WQlO'#IgO%*eQ`O,5@dO%*mQ!fO,5@dOOQ!0Lf1G0P1G0PO%*wQ`O7+&kOOQ!0Lf7+&k7+&kO%*|Q?MtO,5:fO%[QlO7+&{O%+WQ?MtO,5:bO%+eQ?MtO,5:jO%+oQ?MtO,5:lO%+yQMhO'#IjO%,TQ`O,5@iOOQ!0Lh1G0d1G0dOOQO1G1s1G1sOOQO1G1t1G1tO%,]Q!jO,5<[O!)[QlO,5<ZOOQO-E<m-E<mOOQ!0Lf7+'Z7+'ZOOOW7+'f7+'fOOOW1G1}1G1}O%,hQ`O1G1}OOQ!0Lf1G2P1G2POOOO,59o,59oO%,mQ!dO,59oOOOO-E<a-E<aOOQ!0Lh1G/X1G/XO%,tQ!0MxO7+'lOOQ!0Lh,5?_,5?_O%-hQMhO1G2gP%-oQ`O'#IsPOQ!0Lh-E<q-E<qO%.]QMjO,5?bOOQ!0Lh-E<t-E<tO%/OQMjO,5?dOOQ!0Lh-E<v-E<vO%/YQ!dO1G2xO%/aQ!dO'#CrO%/wQMhO'#KTO$$wQlO'#JwOOQ!0Lh1G2`1G2`O%0RQ`O'#IrO%0jQ`O,5@wO%0jQ`O,5@wO%0rQ`O,5@wO%0}Q`O,5@wOOQO1G2b1G2bO%1]QMjO1G2aO$+YQ`O'#K]O!,TQMhO1G2aO%1mQ(CWO'#ItO%1zQ`O,5@xO!&zQMhO,5@xO%2SQ!dO,5@xOOQ!0Lh1G2e1G2eO%4dQ!fO'#CiO%4nQ`O,5=QOOQ!0Lb,5=O,5=OO%4vQpO,5=OOOQ!0Lb,5=P,5=POCwQ`O,5=OO%5RQpO,5=OOOQ!0Lb,5=S,5=SO$+YQ`O,5=WOOQO,5?a,5?aOOQO-E<s-E<sOOQ!0Lp1G2i1G2iO#$^QpO,5=OO$$wQlO,5=QO%5aQ`O,5=PO%5lQpO,5=PO!,TQMhO'#IvO%6fQMjO1G2tO!,TQMhO'#IxO%7XQMjO1G2vO%7cQMjO1G5rO%7mQMjO1G5rOOQO,5?f,5?fOOQO-E<x-E<xOOQO1G.{1G.{O!,TQMhO1G5rO!,TQMhO1G5rO!=[QpO,59wO%[QlO,59wOOQ!0Lh,5<k,5<kO%7zQ`O1G2[O!,TQMhO1G2cO%8PQ!0MxO7+'nOOQ!0Lf7+'n7+'nO!$wQlO7+'nO%8sQ`O,5;`OOQ!0Lb,5?h,5?hOOQ!0Lb-E<z-E<zO%8xQ!dO'#K_O#(ZQ`O7+(fO4UQ!fO7+(fO$DtQ`O7+(fO%9SQ!0MvO'#CiO%9gQ!0MvO,5=TO%9zQ`O,5=TO%:SQ`O,5=TOOQ!0Lb1G5p1G5pOOQ[7+$a7+$aO!COQ!0LrO7+$aO!CZQpO7+$aO!$wQlO7+&aO%:XQ`O'#JRO%:pQ`O,5AQOOQO1G3i1G3iO9kQ`O,5AQO%:pQ`O,5AQO%:xQ`O,5AQOOQO,5?n,5?nOOQO-E=Q-E=QOOQ!0Lf7+'U7+'UO%:}Q`O7+)RO9uQ!0LrO7+)RO9kQ`O7+)RO@zQ`O7+)RO%;SQ`O7+)ROOQ[7+)R7+)ROOQ[7+(q7+(qO%;XQ!0MvO7+(nO!&zQMhO7+(nO!EcQ`O7+(oOOQ[7+(o7+(oO!&zQMhO7+(oO%;cQ`O'#KcO%;nQ`O,5=mOOQO,5?j,5?jOOQO-E<|-E<|OOQ[7+(t7+(tO%=QQpO'#H[OOQ[1G3a1G3aO!&zQMhO1G3aO%[QlO1G3aO%=XQ`O1G3aO%=dQMhO1G3aO9uQ!0LrO1G3cO$%dQ`O1G3cO9`Q`O1G3cO!CZQpO1G3cO!CcQMhO1G3cO%=rQ`O'#JQO%>WQ`O,5AOO%>`QpO,5AOOOQ!0Lb1G3d1G3dOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>kQ`O7+$VO%[QlO1G6mO%[QlO1G6nO%>pQ!0LrO1G6mO%>zQlO1G3lO%?RQ`O1G3lO%?WQlO1G3lOOQ[7+)U7+)UO9uQ!0LrO7+)`O`QlO7+)bOOQ['#Ki'#KiOOQ['#JT'#JTO%?_QlO,5>aOOQ[,5>a,5>aO%[QlO'#HvO%?lQ`O'#HxOOQ[,5>g,5>gO9eQ`O,5>gOOQ[,5>i,5>iOOQ[7+)k7+)kOOQ[7+)q7+)qOOQ[7+)u7+)uOOQ[7+)w7+)wO%?qQpO1G5}O%@]Q`O1G0zOOQO1G/s1G/sO%@hQ?MtO1G/sO?YQ`O1G/sO!)[QlO'#DmOOQO,5?Q,5?QOOQO-E<d-E<dO%@rQ?MtO1G0zOOQO,5?W,5?WOOQO-E<j-E<jO!CZQpO1G/sOOQO-E<f-E<fOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CZQpO7+&`OOQO7+%x7+%xO$AzQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@|Q!0LrO7+&XO!COQ!0LrO7+%xO!CZQpO7+%xO%AXQ!0LrO7+&XO%AgQ!0MxO7++sO%[QlO7++sO%AwQ`O7++rO%AwQ`O7++rOOQO1G4t1G4tO9eQ`O1G4tO%BPQ`O1G4tOOQS7+%}7+%}O#(ZQ`O<<LQO4UQ!fO<<LQO%B_Q`O<<LQOOQ[<<LQ<<LQO!&zQMhO<<LQO%[QlO<<LQO%BgQ`O<<LQO%BrQ!0MzO,5?bO%D}Q!0MzO,5?dO%GYQ!0MzO1G2aO%IkQ!0MzO1G2tO%KvQ!0MzO1G2vO%NRQ!fO,5?RO%[QlO,5?ROOQO-E<e-E<eO%N]Q`O1G6OOOQ!0Lf<<JV<<JVO%NeQ?MtO1G0uO&!lQ?MtO1G1QO&!sQ?MtO1G1QO&$tQ?MtO1G1QO&${Q?MtO1G1QO&&|Q?MtO1G1QO&(}Q?MtO1G1QO&)UQ?MtO1G1QO&)]Q?MtO1G1QO&+^Q?MtO1G1QO&+eQ?MtO1G1QO&+lQ!0MxO<<JgO&-dQ?MtO1G1QO&.aQ?MvO1G1QO&/dQ?MvO'#JmO&1jQ?MtO1G1dO&1wQ?MtO1G0UO&2RQMjO,5?UOOQO-E<h-E<hO!)[QlO'#FrOOQO'#K['#K[OOQO1G1v1G1vO&2]Q`O1G1uO&2bQ?MtO,5?]OOOW7+'i7+'iOOOO1G/Z1G/ZO&2lQ!dO1G4yOOQ!0Lh7+(R7+(RP!&zQMhO,5?_O!,TQMhO7+(dO&2sQ`O,5?^O9eQ`O,5?^O$+YQ`O,5?^OOQO-E<p-E<pO&3RQ`O1G6cO&3RQ`O1G6cO&3ZQ`O1G6cO&3fQMjO7+'{O&3vQ!dO,5?`O&4QQ`O,5?`O!&zQMhO,5?`OOQO-E<r-E<rO&4VQ!dO1G6dO&4aQ`O1G6dO&4iQ`O1G2lO!&zQMhO1G2lOOQ!0Lb1G2j1G2jOOQ!0Lb1G2k1G2kO%4vQpO1G2jO!CZQpO1G2jOCwQ`O1G2jOOQ!0Lb1G2r1G2rO&4nQpO1G2jO&4|Q`O1G2lO$+YQ`O1G2kOCwQ`O1G2kO$$wQlO1G2lO&5UQ`O1G2kO&5xQMjO,5?bOOQ!0Lh-E<u-E<uO&6kQMjO,5?dOOQ!0Lh-E<w-E<wO!,TQMhO7++^O&6uQMjO7++^O&7PQMjO7++^OOQ!0Lh1G/c1G/cO&7^Q`O1G/cOOQ!0Lh7+'v7+'vO&7cQMjO7+'}O&7sQ!0MxO<<KYOOQ!0Lf<<KY<<KYO&8gQ`O1G0zO!&zQMhO'#I{O&8lQ`O,5@yO&:nQ!fO<<LQO!&zQMhO1G2oO&:uQ!0LrO1G2oOOQ[<<G{<<G{O!COQ!0LrO<<G{O&;WQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?m,5?mO&;zQ`O,5?mO&<PQ`O,5?mOOQO-E=P-E=PO&<_Q`O1G6lO&<_Q`O1G6lO9kQ`O1G6lO@zQ`O<<LmOOQ[<<Lm<<LmO&<gQ`O<<LmO9uQ!0LrO<<LmO9kQ`O<<LmOOQ[<<LY<<LYO%;XQ!0MvO<<LYOOQ[<<LZ<<LZO!EcQ`O<<LZO&<lQpO'#I}O&<wQ`O,5@}O!)[QlO,5@}OOQ[1G3X1G3XOOQO'#JP'#JPO9uQ!0LrO'#JPO&=PQpO,5=vOOQ[,5=v,5=vO&=WQpO'#EgO&=_QpO'#GfO&=dQ`O7+({O&=iQ`O7+({OOQ[7+({7+({O!&zQMhO7+({O%[QlO7+({O&=qQ`O7+({OOQ[7+(}7+(}O9uQ!0LrO7+(}O$%dQ`O7+(}O9`Q`O7+(}O!CZQpO7+(}O&=|Q`O,5?lOOQO-E=O-E=OOOQO'#H_'#H_O&>XQ`O1G6jO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>aQ`O7+,XO&>fQ`O7+,YO%[QlO7+,XO%[QlO7+,YOOQ[7+)W7+)WO&>kQ`O7+)WO&>pQlO7+)WO&>wQ`O7+)WOOQ[<<Lz<<LzOOQ[<<L|<<L|OOQ[-E=R-E=ROOQ[1G3{1G3{O&>|Q`O,5>bOOQ[,5>d,5>dO&?RQ`O1G4RO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&?WQ?MtO1G6[O?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AzQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!COQ!0LrO<<IdO&?bQ!0LrO<<IsO&?mQ!0MxO<= _O&?}Q`O<= ^OOQO7+*`7+*`O9eQ`O7+*`OOQ[ANAlANAlO&@VQ!fOANAlO!&zQMhOANAlO#(ZQ`OANAlO4UQ!fOANAlO&@^Q`OANAlO%[QlOANAlO&@fQ!0MzO7+'{O&BwQ!0MzO,5?bO&ESQ!0MzO,5?dO&G_Q!0MzO7+'}O&IpQ!fO1G4mO&IzQ?MtO7+&aO&LOQ?MvO,5=YO&NVQ?MvO,5=[O&NgQ?MvO,5=YO&NwQ?MvO,5=[O' XQ?MvO,59uO'#_Q?MvO,5<lO'%bQ?MvO,5<nO''vQ?MvO,5<|O')lQ?MtO7+'lO')yQ?MtO7+'nO'*WQ`O,5<^OOQO7+'a7+'aOOQ!0Lh7+*e7+*eO'*]QMjO<<LOOOQO1G4x1G4xO'*dQ`O1G4xO'*oQ`O1G4xO'*}Q`O7++}O'*}Q`O7++}O!&zQMhO1G4zO'+VQ!dO1G4zO'+aQ`O7+,OO'+iQ`O7+(WO'+tQ!dO7+(WOOQ!0Lb7+(U7+(UOOQ!0Lb7+(V7+(VO!CZQpO7+(UOCwQ`O7+(UO',OQ`O7+(WO!&zQMhO7+(WO$+YQ`O7+(VO',TQ`O7+(WOCwQ`O7+(VO',]QMjO<<NxO!,TQMhO<<NxOOQ!0Lh7+$}7+$}O',gQ!dO,5?gOOQO-E<y-E<yO',qQ!0MvO7+(ZO!&zQMhO7+(ZOOQ[AN=gAN=gO9kQ`O1G5XOOQO1G5X1G5XO'-RQ`O1G5XO'-WQ`O7+,WO'-WQ`O7+,WO9uQ!0LrOANBXO@zQ`OANBXOOQ[ANBXANBXO'-`Q`OANBXOOQ[ANAtANAtOOQ[ANAuANAuO'-eQ`O,5?iOOQO-E<{-E<{O'-pQ?MtO1G6iOOQO,5?k,5?kOOQO-E<}-E<}OOQ[1G3b1G3bO'-zQ`O,5=QOOQ[<<Lg<<LgO!&zQMhO<<LgO&=dQ`O<<LgO'.PQ`O<<LgO%[QlO<<LgOOQ[<<Li<<LiO9uQ!0LrO<<LiO$%dQ`O<<LiO9`Q`O<<LiO'.XQpO1G5WO'.dQ`O7+,UOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<= s<= sOOQ[<= t<= tO'.lQ`O<= sO'.qQ`O<= tOOQ[<<Lr<<LrO'.vQ`O<<LrO'.{QlO<<LrOOQ[1G3|1G3|O?YQ`O7+)mO'/SQ`O<<JQO'/_Q?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AzQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<Mz<<MzOOQ[G27WG27WO!&zQMhOG27WO#(ZQ`OG27WO'/iQ!fOG27WO4UQ!fOG27WO'/pQ`OG27WO'/xQ?MtO<<JgO'0VQ?MvO1G2aO'1{Q?MvO,5?bO'4OQ?MvO,5?dO'6RQ?MvO1G2tO'8UQ?MvO1G2vO':XQ?MtO<<KYO':fQ?MtO<<I{OOQO1G1x1G1xO!,TQMhOANAjOOQO7+*d7+*dO':sQ`O7+*dO';OQ`O<= iO';WQ!dO7+*fOOQ!0Lb<<Kr<<KrO$+YQ`O<<KrOCwQ`O<<KrO';bQ`O<<KrO!&zQMhO<<KrOOQ!0Lb<<Kp<<KpO!CZQpO<<KpO';mQ!dO<<KrOOQ!0Lb<<Kq<<KqO';wQ`O<<KrO!&zQMhO<<KrO$+YQ`O<<KqO';|QMjOANDdO'<WQ!0MvO<<KuOOQO7+*s7+*sO9kQ`O7+*sO'<hQ`O<= rOOQ[G27sG27sO9uQ!0LrOG27sO@zQ`OG27sO!)[QlO1G5TO'<pQ`O7+,TO'<xQ`O1G2lO&=dQ`OANBROOQ[ANBRANBRO!&zQMhOANBRO'<}Q`OANBROOQ[ANBTANBTO9uQ!0LrOANBTO$%dQ`OANBTOOQO'#H`'#H`OOQO7+*r7+*rOOQ[G22wG22wOOQ[ANE_ANE_OOQ[ANE`ANE`OOQ[ANB^ANB^O'=VQ`OANB^OOQ[<<MX<<MXO!)[QlOAN?lOOQOG24yG24yO$AzQ!0MxOG24yO#(ZQ`OLD,rOOQ[LD,rLD,rO!&zQMhOLD,rO'=[Q!fOLD,rO'=cQ?MvO7+'{O'?XQ?MvO,5?bO'A[Q?MvO,5?dO'C_Q?MvO7+'}O'ETQMjOG27UOOQO<<NO<<NOOOQ!0LbANA^ANA^O$+YQ`OANA^OCwQ`OANA^O'EeQ!dOANA^OOQ!0LbANA[ANA[O'ElQ`OANA^O!&zQMhOANA^O'EwQ!dOANA^OOQ!0LbANA]ANA]OOQO<<N_<<N_OOQ[LD-_LD-_O9uQ!0LrOLD-_O'FRQ?MtO7+*oOOQO'#Gg'#GgOOQ[G27mG27mO&=dQ`OG27mO!&zQMhOG27mOOQ[G27oG27oO9uQ!0LrOG27oOOQ[G27xG27xO'F]Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!^!$(!^O#(ZQ`O!$(!^O!&zQMhO!$(!^O'FgQ!0MzOG27UOOQ!0LbG26xG26xO$+YQ`OG26xO'HxQ`OG26xOCwQ`OG26xO'ITQ!dOG26xO!&zQMhOG26xOOQ[!$(!y!$(!yOOQ[LD-XLD-XO&=dQ`OLD-XOOQ[LD-ZLD-ZOOQ[!)9Ex!)9ExO#(ZQ`O!)9ExOOQ!0LbLD,dLD,dO$+YQ`OLD,dOCwQ`OLD,dO'I[Q`OLD,dO'IgQ!dOLD,dOOQ[!$(!s!$(!sOOQ[!.K;d!.K;dO'InQ?MvOG27UOOQ!0Lb!$(!O!$(!OO$+YQ`O!$(!OOCwQ`O!$(!OO'KdQ`O!$(!OOOQ!0Lb!)9Ej!)9EjO$+YQ`O!)9EjOCwQ`O!)9EjOOQ!0Lb!.K;U!.K;UO$+YQ`O!.K;UOOQ!0Lb!4/0p!4/0pO!)[QlO'#DzO1PQ`O'#EXO'KoQ!fO'#JsO'KvQ!L^O'#DvO'K}QlO'#EOO'LUQ!fO'#CiO'NlQ!fO'#CiO!)[QlO'#EQO'N|QlO,5;ZO!)[QlO,5;fO!)[QlO,5;fO!)[QlO,5;fO!)[QlO,5;fO!)[QlO,5;fO!)[QlO,5;fO!)[QlO,5;fO!)[QlO,5;fO!)[QlO,5;fO!)[QlO,5;fO!)[QlO'#IqO(#PQ`O,5<jO!)[QlO,5;fO(#XQMhO,5;fO($rQMhO,5;fO!)[QlO,5;xO!&zQMhO'#GnO(#XQMhO'#GnO!&zQMhO'#GpO(#XQMhO'#GpO1SQ`O'#DZO1SQ`O'#DZO!&zQMhO'#GQO(#XQMhO'#GQO!&zQMhO'#GSO(#XQMhO'#GSO!&zQMhO'#GbO(#XQMhO'#GbO!)[QlO,5:jO($yQpO'#D_O!)[QlO,5@pO'N|QlO1G0uO(%TQ?MtO'#CiO!)[QlO1G2QO!&zQMhO'#IvO(#XQMhO'#IvO!&zQMhO'#IxO(#XQMhO'#IxO(%_Q!dO'#CrO!&zQMhO,5<uO(#XQMhO,5<uO'N|QlO1G2SO!)[QlO7+&{O!&zQMhO1G2aO(#XQMhO1G2aO!&zQMhO'#IvO(#XQMhO'#IvO!&zQMhO'#IxO(#XQMhO'#IxO!&zQMhO1G2cO(#XQMhO1G2cO'N|QlO7+'nO'N|QlO7+&aO!&zQMhOANAjO(#XQMhOANAjO(%rQ`O'#EoO(%wQ`O'#EoO(&PQ`O'#F^O(&UQ`O'#EzO(&ZQ`O'#KUO(&fQ`O'#KSO(&qQ`O,5;ZO(&vQMjO,5<fO(&}Q`O'#GZO('SQ`O'#GZO('XQ`O,5<fO('aQ`O,5<hO('iQ`O,5;ZO('qQ?MtO1G1aO('xQ`O,5<uO('}Q`O,5<uO((SQ`O,5<wO((XQ`O,5<wO((^Q`O1G2SO((cQ`O1G0uO((hQMjO<<LOO((oQMjO<<LOO((vQMhO'#F}O9`Q`O'#F|OAuQ`O'#EnO!)[QlO,5;uO!3oQ`O'#GZO!3oQ`O'#GZO!3oQ`O'#G]O!3oQ`O'#G]O!,TQMhO7+(dO!,TQMhO7+(dO%/YQ!dO1G2xO%/YQ!dO1G2xO!&zQMhO,5=^O!&zQMhO,5=^",stateData:"(){~O'}OS(OOSTOS(PRQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$X|O$oiO%i}O%k!QO%m!OO%n!OO%o!OO%r!RO%t!SO%w!TO%x!TO%z!UO&X!WO&_!XO&a!YO&c!ZO&e![O&h!]O&n!^O&t!_O&v!`O&x!aO&z!bO&|!cO(USO(WTO(ZUO(bVO(p[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$X!kO$oiO(U!dO(WTO(ZUO(bVO(p[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<XO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(V!lO(WTO(ZUO(f!mO(p!sO~O(P!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#lfX#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#w]X#y]X#{]X#|]X$R]X'{]X(b]X(s]X(z]X({]X~O!g%SX~P(qO_!}O(W#PO(X!}O(Y#PO~O_#QO(Y#PO(Z#PO([#QO~Ox#SO!U#TO(c#TO(d#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$X!kO$oiO(U<]O(WTO(ZUO(bVO(p[O~O![#ZO!]#WO!Y(iP!Y(wP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$X!kO$oiO(WTO(ZUO(bVO(p[O~Op#mO![#iO!|]O#j#lO#k#iO(U<^O!k(tP~P.iO!l#oO(U#nO~O!x#sO!|]O%i#tO~O#l#uO~O!g#vO#l#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#o$OO#p$PO#q$PO#r$PO#s$QO#t$RO#u$RO#v$bO#w$SO#y$UO#{$WO#|$XO(bVO(s$YO(z#|O({#}O~Oa(gX'{(gX'x(gX!k(gX!Y(gX!_(gX%j(gX!g(gX~P1qO#S$dO#`$eO$R$eOP(hXR(hX[(hXj(hXr(hX!Q(hX!S(hX!](hX!l(hX!p(hX#R(hX#o(hX#p(hX#q(hX#r(hX#s(hX#t(hX#u(hX#v(hX#w(hX#y(hX#{(hX#|(hX(b(hX(s(hX(z(hX({(hX!_(hX%j(hX~Oa(hX'{(hX'x(hX!Y(hX!k(hXv(hX!g(hX~P4UO#`$eO~O$^$hO$`$gO$g$mO~OSfO!_$nO$j$oO$l$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#k%cO$X%`O$u%^O$w%_O$z%aO(U$sO(WTO(ZUO(b$uO(z$}O({%POg(_P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(U%gO~O!g%mO~Oa%nO'{%nO~O!Q%rO~P%[O(V!lO~P%[O%o%vO~P%[Oh%VO!l%eO(U%gO(V!lO~Oe%}O!l%eO(U%gO~Oj$RO~O!_&PO(U%gO(V!lO(WTO(ZUO`)XP~O!Q&SO!l&RO%k&VO&U&WO~P;SO!x#sO~O%t&YO!S)TX!_)TX(U)TX~O(U&ZO~Ol!PO!u&`O%k!QO%m!OO%n!OO%o!OO%r!RO%t!SO%w!TO%x!TO~Od&eOe&dO!x&bO%i&cO%|&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%i}O%m!OO%n!OO%o!OO%r!RO%t!SO%w!TO%x!TO%z!UO~Ob&kO#`&nO%k&iO(V!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO'y&{O'{%nO~Oa%nO'y'OO'{%nO~Oa%nO'y'QO'{%nO~O'x]X!Y]Xv]X!k]X&]]X!_]X%j]X!g]X~P(qO!b'`O!c'WO!d'WO(V!lO(WTO(ZUO~Os'UO!S'TO!['XO(f'SO!^(jP!^(yP~P@nOn'cO!_'aO(U%gO~Oe'hO!l%eO(U%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<XO#T!pO#U!pO#W!pO#X!pO(V!lO(WTO(ZUO(f!mO(p!sO~O!b'nO!c'mO!d'mO#V!pO#['oO#]'oO~PBYOa%nOh%VO!g#vO!l%eO'{%nO(s'qO~O!p'uO#`'sO~PChOs!nO!S!oO(WTO(ZUO(f!mO(p!sO~O!_XOs(nX!S(nX!b(nX!c(nX!d(nX!|(nX#T(nX#U(nX#V(nX#W(nX#X(nX#[(nX#](nX(V(nX(W(nX(Z(nX(f(nX(p(nX~O!c'mO!d'mO(V!lO~PDWO(Q'yO(R'yO(S'{O~O_!}O(W'}O(X!}O(Y'}O~O_#QO(Y'}O(Z'}O([#QO~Ov(PO~P%[Ox#SO!U#TO(c#TO(d(SO~O![(UO!Y'XX!Y'_X!]'XX!]'_X~P+}O!](WO!Y(iX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](WO!l#xO!p$[O#R$RO#o$OO#p$PO#q$PO#r$PO#s$QO#t$RO#u$RO#v$bO#w$SO#y$UO#{$WO#|$XO(bVO(s$YO(z#|O({#}O~O!Y(iX~PHRO!Y(]O~O!Y(vX!](vX!g(vX!k(vX(s(vX~O#`(vX#l#dX!^(vX~PJUO#`(^O!Y(xX!](xX~O!](_O!Y(wX~O!Y(bO~O#`$eO~PJUO!^(cO~P`OR#zO!Q#yO!S#{O!l#xO(bVOP!na[!naj!nar!na!]!na!p!na#R!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#w!na#y!na#{!na#|!na(s!na(z!na({!na~Oa!na'{!na'x!na!Y!na!k!nav!na!_!na%j!na!g!na~PKlO!k(dO~O!g#vO#`(eO(s'qO!](uXa(uX'{(uX~O!k(uX~PNXO!S%hO!_%iO!|]O#j(jO#k(iO(U%gO~O!](kO!k(tX~O!k(mO~O!S%hO!_%iO#k(iO(U%gO~OP(hXR(hX[(hXj(hXr(hX!Q(hX!S(hX!](hX!l(hX!p(hX#R(hX#o(hX#p(hX#q(hX#r(hX#s(hX#t(hX#u(hX#v(hX#w(hX#y(hX#{(hX#|(hX(b(hX(s(hX(z(hX({(hX~O!g#vO!k(hX~P! uOR(oO!Q(nO!l#xO#S$dO!|!{a!S!{a~O!x!{a%i!{a!_!{a#j!{a#k!{a(U!{a~P!#vO!x(sO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$X!kO$oiO(U!dO(WTO(ZUO(bVO(p[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<uO!S${O!_$|O!i>WO!l$xO#k<{O$X%`O$u<wO$w<yO$z%aO(U(wO(WTO(ZUO(b$uO(z$}O({%PO~O#l(yO~O![({O!k(lP~P%[O(f(}O(p[O~O!S)PO!l#xO(f(}O(p[O~OP<WOQ<WOSfOd>SOe!iOpkOr<WOskOtkOzkO|<WO!O<WO!SWO!WkO!XkO!_!eO!i<ZO!lZO!o<WO!p<WO!q<WO!s<[O!u<_O!x!hO$X!kO$o>QO(U)^O(WTO(ZUO(bVO(p[O~O!]$_Oa$ra'{$ra'x$ra!k$ra!Y$ra!_$ra%j$ra!g$ra~Ol)eO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#k%cO$X%`O$u%^O$w%_O$z%aO(U(wO(WTO(ZUO(b$uO(z$}O({%PO~Og(qP~P!,TO!Q)jO!g)iO!_$_X$[$_X$^$_X$`$_X$g$_X~O!g)iO!_(|X$[(|X$^(|X$`(|X$g(|X~O!Q)jO~P!.^O!Q)jO!_(|X$[(|X$^(|X$`(|X$g(|X~O!_)lO$[)pO$^)kO$`)kO$g)qO~O![)tO~P!)[O$^$hO$`$gO$g)xO~On${X!Q${X#S${X'z${X(z${X({${X~OgmXg${XnmX!]mX#`mX~P!0SOx)zO(c){O(d)}O~On*WO!Q*PO'z*QO(z$}O({%PO~Og*OO~P!1WOg*XO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<uO!S*ZO!_*[O!i>WO!l$xO#k<{O$X%`O$u<wO$w<yO$z%aO(WTO(ZUO(b$uO(z$}O({%PO~Op*aO![*_O(U*YO!k)PP~P!1uO#l*bO~O!l*cO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<uO!S${O!_$|O!i>WO!l$xO#k<{O$X%`O$u<wO$w<yO$z%aO(U*eO(WTO(ZUO(b$uO(z$}O({%PO~O![*hO!Y)QP~P!3tOr*tOs!nO!S*jO!b*rO!c*lO!d*lO!l*cO#[*sO%a*nO(V!lO(WTO(ZUO(f!mO~O!^*qO~P!5iO#S$dOn(aX!Q(aX'z(aX(z(aX({(aX!](aX#`(aX~Og(aX$P(aX~P!6kOn*yO#`*xOg(`X!](`X~O!]*zOg(_X~Oj%dOk%dOl%dO(U&ZOg(_P~Os*}O~Og*OO(U&ZO~O!l+TO~O(U(wO~Op+XO!S%hO![#iO!_%iO!|]O#j#lO#k#iO(U%gO!k(tP~O!g#vO#l+YO~O!S%hO![+[O!](_O!_%iO(U%gO!Y(wP~Os']O!S+_O![+^O(WTO(ZUO(f+]O~O!^(yP~P!9|O!]+`Oa)UX'{)UX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#o$OO#p$PO#q$PO#r$PO#s$QO#t$RO#u$RO#v$bO#w$SO#y$UO#{$WO#|$XO(bVO(s$YO(z#|O({#}O~Oa!ja!]!ja'{!ja'x!ja!Y!ja!k!jav!ja!_!ja%j!ja!g!ja~P!:tO(f(}O~OR#zO!Q#yO!S#{O!l#xO(bVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#w!ra#y!ra#{!ra#|!ra(s!ra(z!ra({!ra~Oa!ra'{!ra'x!ra!Y!ra!k!rav!ra!_!ra%j!ra!g!ra~P!=aOR#zO!Q#yO!S#{O!l#xO(bVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#w!ta#y!ta#{!ta#|!ta(s!ta(z!ta({!ta~Oa!ta'{!ta'x!ta!Y!ta!k!tav!ta!_!ta%j!ta!g!ta~P!?wOh%VOn+iO!_'aO%j+hO~O!g+kOa(^X!_(^X'{(^X!](^X~Oa%nO!_XO'{%nO~Oh%VO!l%eO~Oh%VO!l%eO(U%gO~O!g#vO#l(yO~Ob+vO%k+wO(U+sO(WTO(ZUO!^)YP~O!]+xO`)XX~O[+|O~O`+}O~O!_&PO(U%gO(V!lO`)XP~O%k,QO~P;SOh%VO#`,UO~Oh%VOn,XO!_$|O~O!_,ZO~O!Q,]O!_XO~O%o%vO~O!x,bO~Oe,gO~Ob,hO(U#nO(WTO(ZUO!^)WP~Oe%}O~O%k!QO(U&ZO~P=gO[,mO`,lO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$oiO%i}O(WTO(ZUO(bVO(p[O~O!_!eO!u!gO$X!kO(U!dO~P!GOO`,lOa%nO'{%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$X!kO$oiO(U!dO(WTO(ZUO(bVO(p[O~Oa,rOl!OO!uwO%m!OO%n!OO%o!OO~P!IhO!l&oO~O&_,xO~O!_,zO~O&p,|O&r,}OP&maQ&maS&maY&maa&mad&mae&mal&map&mar&mas&mat&maz&ma|&ma!O&ma!S&ma!W&ma!X&ma!_&ma!i&ma!l&ma!o&ma!p&ma!q&ma!s&ma!u&ma!x&ma!|&ma$X&ma$o&ma%i&ma%k&ma%m&ma%n&ma%o&ma%r&ma%t&ma%w&ma%x&ma%z&ma&X&ma&_&ma&a&ma&c&ma&e&ma&h&ma&n&ma&t&ma&v&ma&x&ma&z&ma&|&ma'x&ma(U&ma(W&ma(Z&ma(b&ma(p&ma!^&ma&f&mab&ma&k&ma~O(U-SO~Oh!eX!]#iX!^#iX!g!RX!g!eX!l!eX#`#iX~O!]!eX!^!eX~P#!nO!g-WOh(kX!](kX!^(kX!g(kX!l(kXr(kX(s(kX~Oh%VO!g-YO!l%eO!]!aX!^!aX~Os!nO!S!oO(WTO(ZUO(f!mO~OP<WOQ<WOSfOd>SOe!iOpkOr<WOskOtkOzkO|<WO!O<WO!SWO!WkO!XkO!_!eO!i<ZO!lZO!o<WO!p<WO!q<WO!s<[O!u<_O!x!hO$X!kO$o>QO(WTO(ZUO(bVO(p[O~O(U=RO~P#$oO!]-^O!^(jX~O!^-`O~O#`-aO!]#hX!^#hX~O!g-WO~O!]-bO!^(yX~O!^-dO~O!c-eO!d-eO(V!lO~P#$^O!^-hO~P'_On-kO!_'aO~O!Y-pO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(V!{a(W!{a(Z!{a(f!{a(p!{a~P!#vO!p-uO#`-sO~PChO!c-wO!d-wO(V!lO~PDWOa%nO#`-sO'{%nO~Oa%nO!g#vO#`-sO'{%nO~Oa%nO!g#vO!p-uO#`-sO'{%nO(s'qO~O(Q'yO(R'yO(S-|O~Ov-}O~O!Y'Xa!]'Xa~P!:tO![.RO!Y'XX!]'XX~P%[O!](WO!Y(ia~O!Y(ia~PHRO!](_O!Y(wa~O!S%hO![.VO!_%iO(U%gO!Y'_X!]'_X~O#`.XO!](ua!k(uaa(ua'{(ua~O!g#vO~P#,wO!](kO!k(ta~O!S%hO!_%iO#k.]O(U%gO~Op.bO!S%hO![._O!_%iO!|]O#j.aO#k._O(U%gO!]'bX!k'bX~OR.fO!l#xO~Oh%VOn.iO!_'aO%j.hO~Oa#ci!]#ci'{#ci'x#ci!Y#ci!k#civ#ci!_#ci%j#ci!g#ci~P!:tOn>^O!Q*PO'z*QO(z$}O({%PO~O#l#_aa#_a#`#_a'{#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#l(aXP(aXR(aX[(aXa(aXj(aXr(aX!S(aX!l(aX!p(aX#R(aX#o(aX#p(aX#q(aX#r(aX#s(aX#t(aX#u(aX#v(aX#w(aX#y(aX#{(aX#|(aX'{(aX(b(aX(s(aX!k(aX!Y(aX'x(aXv(aX!_(aX%j(aX!g(aX~P!6kO!].vO!k(lX~P!:tO!k.yO~O!Y.{O~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(bVO[#nia#nij#nir#ni!]#ni#R#ni#p#ni#q#ni#r#ni#s#ni#t#ni#u#ni#v#ni#w#ni#y#ni#{#ni#|#ni'{#ni(s#ni(z#ni({#ni'x#ni!Y#ni!k#niv#ni!_#ni%j#ni!g#ni~O#o#ni~P#3cO#o$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#o$OO#p$PO#q$PO#r$PO(bVO[#nia#nij#ni!]#ni#R#ni#t#ni#u#ni#v#ni#w#ni#y#ni#{#ni#|#ni'{#ni(s#ni(z#ni({#ni'x#ni!Y#ni!k#niv#ni!_#ni%j#ni!g#ni~O#s#ni~P#6QO#s$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#o$OO#p$PO#q$PO#r$PO#s$QO#t$RO#u$RO#v$bO(bVOa#ni!]#ni#y#ni#{#ni#|#ni'{#ni(s#ni(z#ni({#ni'x#ni!Y#ni!k#niv#ni!_#ni%j#ni!g#ni~O#w#ni~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#o$OO#p$PO#q$PO#r$PO#s$QO#t$RO#u$RO#v$bO#w$SO(bVO({#}Oa#ni!]#ni#{#ni#|#ni'{#ni(s#ni(z#ni'x#ni!Y#ni!k#niv#ni!_#ni%j#ni!g#ni~O#y$UO~P#;VO#y#ni~P#;VO#w$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#o$OO#p$PO#q$PO#r$PO#s$QO#t$RO#u$RO#v$bO#w$SO#y$UO(bVO(z#|O({#}Oa#ni!]#ni#|#ni'{#ni(s#ni'x#ni!Y#ni!k#niv#ni!_#ni%j#ni!g#ni~O#{#ni~P#={O#{$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#lfX#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#w]X#y]X#{]X#|]X$R]X(b]X(s]X(z]X({]X!]]X!^]X~O$P]X~P#@jOP$[OR#zO[<oOj<dOr<mO!Q#yO!S#{O!l#xO!p$[O#R<dO#o<aO#p<bO#q<bO#r<bO#s<cO#t<dO#u<dO#v<nO#w<eO#y<gO#{<iO#|<jO(bVO(s$YO(z#|O({#}O~O$P.}O~P#BwO#S$dO#`<pO$R<pO$P(hX!^(hX~P! uOa'ea!]'ea'{'ea'x'ea!k'ea!Y'eav'ea!_'ea%j'ea!g'ea~P!:tO[#nia#nij#nir#ni!]#ni#R#ni#s#ni#t#ni#u#ni#v#ni#w#ni#y#ni#{#ni#|#ni'{#ni(s#ni'x#ni!Y#ni!k#niv#ni!_#ni%j#ni!g#ni~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#o$OO#p$PO#q$PO#r$PO(bVO(z#ni({#ni~P#EyOn>^O!Q*PO'z*QO(z$}O({%POP#niR#ni!S#ni!l#ni!p#ni#o#ni#p#ni#q#ni#r#ni(b#ni~P#EyO!]/ROg(qX~P!1WOg/TO~Oa$Qi!]$Qi'{$Qi'x$Qi!Y$Qi!k$Qiv$Qi!_$Qi%j$Qi!g$Qi~P!:tO$^/UO$`/UO~O$^/VO$`/VO~O!g)iO#`/WO!_$dX$[$dX$^$dX$`$dX$g$dX~O![/XO~O!_)lO$[/ZO$^)kO$`)kO$g/[O~O!]<kO!^(gX~P#BwO!^/]O~O!g)iO$g(|X~O$g/_O~Ov/`O~P!&zOx)zO(c){O(d/cO~O!S/fO~O(z$}On%ba!Q%ba'z%ba({%ba!]%ba#`%ba~Og%ba$P%ba~P#L{O({%POn%da!Q%da'z%da(z%da!]%da#`%da~Og%da$P%da~P#MnO!]fX!gfX!kfX!k${X(sfX~P!0SOp%WO![/oO!](_O(U/nO!Y(wP!Y)QP~P!1uOr*tO!b*rO!c*lO!d*lO!l*cO#[*sO%a*nO(V!lO(WTO(ZUO~Os'UO!S/pO![+^O!^*qO(f=OO!^(yP~P$ [O!k/qO~P#/sO!]/rO!g#vO(s'qO!k)PX~O!k/wO~OnoX!QoX'zoX(zoX({oX~O!g#vO!koX~P$#OOp/yO!S%hO![*_O!_%iO(U%gO!k)PP~O#l/zO~O!Y${X!]${X!g%SX~P!0SO!]/{O!Y)QX~P#/sO!g/}O~O!Y0PO~OpkO(U0QO~P.iOh%VOr0VO!g#vO!l%eO(s'qO~O!g+kO~Oa%nO!]0ZO'{%nO~O!^0]O~P!5iO!c0^O!d0^O(V!lO~P#$^Os!nO!S0_O(WTO(ZUO(f!mO~O#[0aO~Og%ba!]%ba#`%ba$P%ba~P!1WOg%da!]%da#`%da$P%da~P!1WOj%dOk%dOl%dO(U&ZOg'nX!]'nX~O!]*zOg(_a~Og0jO~On0lO#`0kOg(`a!](`a~OR0mO!Q0mO!S0nO#S$dOn}a'z}a(z}a({}a!]}a#`}a~Og}a$P}a~P$(cO!Q*PO'z*QOn$ta(z$ta({$ta!]$ta#`$ta~Og$ta$P$ta~P$)_O!Q*PO'z*QOn$va(z$va({$va!]$va#`$va~Og$va$P$va~P$*QO#l0qO~Og%Ua!]%Ua#`%Ua$P%Ua~P!1WO!g#vO~O#l0tO~O!]#iX!^#iX!g!RX#`#iX~O!]+`Oa)Ua'{)Ua~OR#zO!Q#yO!S#{O!l#xO(bVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#w!ri#y!ri#{!ri#|!ri(s!ri(z!ri({!ri~Oa!ri'{!ri'x!ri!Y!ri!k!riv!ri!_!ri%j!ri!g!ri~P$+}Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<uO!S${O!_$|O!i>WO!l$xO#k<{O$X%`O$u<wO$w<yO$z%aO(WTO(ZUO(b$uO(z$}O({%PO~Op0}O%^1OO(U0|O~P$.eO!g+kOa(^a!_(^a'{(^a!](^a~O#l1UO~O[]X!]fX!^fX~O!]1VO!^)YX~O!^1XO~O[1YO~Ob1[O(U+sO(WTO(ZUO~O!_&PO(U%gO`'vX!]'vX~O!]+xO`)Xa~O!k1_O~P!:tO[1bO~O`1cO~O#`1hO~On1kO!_$|O~O(f(}O!^)VP~Oh%VOn1tO!_1qO%j1sO~O[2OO!]1|O!^)WX~O!^2PO~O`2ROa%nO'{%nO~O(U#nO(WTO(ZUO~O#S$dO#`$eO$R$eOP(hXR(hX[(hXr(hX!Q(hX!S(hX!](hX!l(hX!p(hX#R(hX#o(hX#p(hX#q(hX#r(hX#s(hX#t(hX#u(hX#v(hX#w(hX#y(hX#{(hX#|(hX(b(hX(s(hX(z(hX({(hX~Oj2UO&]2VOa(hX~P$4OOj2UO#`$eO&]2VO~Oa2XO~P%[Oa2ZO~O&f2^OP&diQ&diS&diY&dia&did&die&dil&dip&dir&dis&dit&diz&di|&di!O&di!S&di!W&di!X&di!_&di!i&di!l&di!o&di!p&di!q&di!s&di!u&di!x&di!|&di$X&di$o&di%i&di%k&di%m&di%n&di%o&di%r&di%t&di%w&di%x&di%z&di&X&di&_&di&a&di&c&di&e&di&h&di&n&di&t&di&v&di&x&di&z&di&|&di'x&di(U&di(W&di(Z&di(b&di(p&di!^&dib&di&k&di~Ob2dO!^2bO&k2cO~P`O!_XO!l2fO~O&r,}OP&miQ&miS&miY&mia&mid&mie&mil&mip&mir&mis&mit&miz&mi|&mi!O&mi!S&mi!W&mi!X&mi!_&mi!i&mi!l&mi!o&mi!p&mi!q&mi!s&mi!u&mi!x&mi!|&mi$X&mi$o&mi%i&mi%k&mi%m&mi%n&mi%o&mi%r&mi%t&mi%w&mi%x&mi%z&mi&X&mi&_&mi&a&mi&c&mi&e&mi&h&mi&n&mi&t&mi&v&mi&x&mi&z&mi&|&mi'x&mi(U&mi(W&mi(Z&mi(b&mi(p&mi!^&mi&f&mib&mi&k&mi~O!Y2lO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2qO(f!mO!]'YX!^'YX~P@nO!]-^O!^(ja~O!]'`X!^'`X~P!9|O!]-bO!^(ya~O!^2yO~P'_Oa%nO#`3SO'{%nO~Oa%nO!g#vO#`3SO'{%nO~Oa%nO!g#vO!p3WO#`3SO'{%nO(s'qO~Oa%nO'{%nO~P!:tO!]$_Ov$ra~O!Y'Xi!]'Xi~P!:tO!](WO!Y(ii~O!](_O!Y(wi~O!Y(xi!](xi~P!:tO!](ui!k(uia(ui'{(ui~P!:tO#`3YO!](ui!k(uia(ui'{(ui~O!](kO!k(ti~O!S%hO!_%iO!|]O#j3_O#k3^O(U%gO~O!S%hO!_%iO#k3^O(U%gO~On3fO!_'aO%j3eO~Oh%VOn3fO!_'aO%j3eO~O#l%baP%baR%ba[%baa%baj%bar%ba!S%ba!l%ba!p%ba#R%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#v%ba#w%ba#y%ba#{%ba#|%ba'{%ba(b%ba(s%ba!k%ba!Y%ba'x%bav%ba!_%ba%j%ba!g%ba~P#L{O#l%daP%daR%da[%daa%daj%dar%da!S%da!l%da!p%da#R%da#o%da#p%da#q%da#r%da#s%da#t%da#u%da#v%da#w%da#y%da#{%da#|%da'{%da(b%da(s%da!k%da!Y%da'x%dav%da!_%da%j%da!g%da~P#MnO#l%baP%baR%ba[%baa%baj%bar%ba!S%ba!]%ba!l%ba!p%ba#R%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#v%ba#w%ba#y%ba#{%ba#|%ba'{%ba(b%ba(s%ba!k%ba!Y%ba'x%ba#`%bav%ba!_%ba%j%ba!g%ba~P#/sO#l%daP%daR%da[%daa%daj%dar%da!S%da!]%da!l%da!p%da#R%da#o%da#p%da#q%da#r%da#s%da#t%da#u%da#v%da#w%da#y%da#{%da#|%da'{%da(b%da(s%da!k%da!Y%da'x%da#`%dav%da!_%da%j%da!g%da~P#/sO#l}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#w}a#y}a#{}a#|}a'{}a(b}a(s}a!k}a!Y}a'x}av}a!_}a%j}a!g}a~P$(cO#l$taP$taR$ta[$taa$taj$tar$ta!S$ta!l$ta!p$ta#R$ta#o$ta#p$ta#q$ta#r$ta#s$ta#t$ta#u$ta#v$ta#w$ta#y$ta#{$ta#|$ta'{$ta(b$ta(s$ta!k$ta!Y$ta'x$tav$ta!_$ta%j$ta!g$ta~P$)_O#l$vaP$vaR$va[$vaa$vaj$var$va!S$va!l$va!p$va#R$va#o$va#p$va#q$va#r$va#s$va#t$va#u$va#v$va#w$va#y$va#{$va#|$va'{$va(b$va(s$va!k$va!Y$va'x$vav$va!_$va%j$va!g$va~P$*QO#l%UaP%UaR%Ua[%Uaa%Uaj%Uar%Ua!S%Ua!]%Ua!l%Ua!p%Ua#R%Ua#o%Ua#p%Ua#q%Ua#r%Ua#s%Ua#t%Ua#u%Ua#v%Ua#w%Ua#y%Ua#{%Ua#|%Ua'{%Ua(b%Ua(s%Ua!k%Ua!Y%Ua'x%Ua#`%Uav%Ua!_%Ua%j%Ua!g%Ua~P#/sOa#cq!]#cq'{#cq'x#cq!Y#cq!k#cqv#cq!_#cq%j#cq!g#cq~P!:tO![3nO!]'ZX!k'ZX~P%[O!].vO!k(la~O!].vO!k(la~P!:tO!Y3qO~O$P!na!^!na~PKlO$P!ja!]!ja!^!ja~P#BwO$P!ra!^!ra~P!=aO$P!ta!^!ta~P!?wOg'^X!]'^X~P!,TO!]/ROg(qa~OSfO!_4VO$e4WO~O!^4[O~Ov4]O~P#/sOa$nq!]$nq'{$nq'x$nq!Y$nq!k$nqv$nq!_$nq%j$nq!g$nq~P!:tO!Y4_O~P!&zO!S4`O~O!Q*PO'z*QO({%POn'ja(z'ja!]'ja#`'ja~Og'ja$P'ja~P%-tO!Q*PO'z*QOn'la(z'la({'la!]'la#`'la~Og'la$P'la~P%.gO(s$YO~P#/sO!YfX!Y${X!]fX!]${X!g%SX#`fX~P!0SOp%WO(U=XO~P!1uOp4dO!S%hO![4cO!_%iO(U%gO!]'fX!k'fX~O!]/rO!k)Pa~O!]/rO!g#vO!k)Pa~O!]/rO!g#vO(s'qO!k)Pa~Og$}i!]$}i#`$}i$P$}i~P!1WO![4lO!Y'hX!]'hX~P!3tO!]/{O!Y)Qa~O!]/{O!Y)Qa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#lfX#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#w]X#y]X#{]X#|]X$R]X(b]X(s]X(z]X({]X~Oj%ZX!g%ZX~P%2^Oj4qO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4vO!l%eO(s'qO~Or4{O!g#vO(s'qO~Os!nO!S4|O(WTO(ZUO(f!mO~O(z$}On%bi!Q%bi'z%bi({%bi!]%bi#`%bi~Og%bi$P%bi~P%5}O({%POn%di!Q%di'z%di(z%di!]%di#`%di~Og%di$P%di~P%6pOg(`i!](`i~P!1WO#`5SOg(`i!](`i~P!1WO!k5XO~Oa$pq!]$pq'{$pq'x$pq!Y$pq!k$pqv$pq!_$pq%j$pq!g$pq~P!:tO!Y5]O~O!]5^O!_)RX~P#/sOa${X!_${X%_]X'{${X!]${X~P!0SO%_5aOaoX!_oX'{oX!]oX~P$#OOp5bO(U#nO~O%_5aO~Ob5hO%k5iO(U+sO(WTO(ZUO!]'uX!^'uX~O!]1VO!^)Ya~O[5mO~O`5nO~O[5rO~Oa%nO'{%nO~P#/sO!]5wO#`5yO!^)VX~O!^5zO~Or6QOs!nO!S*jO!b!yO!c!vO!d!vO!|<XO#T!pO#U!pO#V!pO#W!pO#X!pO#[6PO#]!zO(V!lO(WTO(ZUO(f!mO(p!sO~O!^6OO~P%;sOn6VO!_1qO%j6UO~Oh%VOn6VO!_1qO%j6UO~Ob6^O(U#nO(WTO(ZUO!]'tX!^'tX~O!]1|O!^)Wa~O(WTO(ZUO(f6`O~O`6dO~Oj6gO&]6hO~PNXO!k6iO~P%[Oa6kO~Oa6kO~P%[Ob2dO!^6pO&k2cO~P`O!g6rO~O!g6tOh(ki!](ki!^(ki!g(ki!l(kir(ki(s(ki~O#`6uO!]#hi!^#hi~O!]!ai!^!ai~P#BwO!]#hi!^#hi~P#BwOa%nO#`7OO'{%nO~Oa%nO!g#vO#`7OO'{%nO~O!](uq!k(uqa(uq'{(uq~P!:tO!](kO!k(tq~O!S%hO!_%iO#k7VO(U%gO~O!_'aO%j7YO~On7^O!_'aO%j7YO~O#l'jaP'jaR'ja['jaa'jaj'jar'ja!S'ja!l'ja!p'ja#R'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#w'ja#y'ja#{'ja#|'ja'{'ja(b'ja(s'ja!k'ja!Y'ja'x'jav'ja!_'ja%j'ja!g'ja~P%-tO#l'laP'laR'la['laa'laj'lar'la!S'la!l'la!p'la#R'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#w'la#y'la#{'la#|'la'{'la(b'la(s'la!k'la!Y'la'x'lav'la!_'la%j'la!g'la~P%.gO#l$}iP$}iR$}i[$}ia$}ij$}ir$}i!S$}i!]$}i!l$}i!p$}i#R$}i#o$}i#p$}i#q$}i#r$}i#s$}i#t$}i#u$}i#v$}i#w$}i#y$}i#{$}i#|$}i'{$}i(b$}i(s$}i!k$}i!Y$}i'x$}i#`$}iv$}i!_$}i%j$}i!g$}i~P#/sO#l%biP%biR%bi[%bia%bij%bir%bi!S%bi!l%bi!p%bi#R%bi#o%bi#p%bi#q%bi#r%bi#s%bi#t%bi#u%bi#v%bi#w%bi#y%bi#{%bi#|%bi'{%bi(b%bi(s%bi!k%bi!Y%bi'x%biv%bi!_%bi%j%bi!g%bi~P%5}O#l%diP%diR%di[%dia%dij%dir%di!S%di!l%di!p%di#R%di#o%di#p%di#q%di#r%di#s%di#t%di#u%di#v%di#w%di#y%di#{%di#|%di'{%di(b%di(s%di!k%di!Y%di'x%div%di!_%di%j%di!g%di~P%6pO!]'Za!k'Za~P!:tO!].vO!k(li~O$P#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(bVO[#nij#nir#ni#R#ni#p#ni#q#ni#r#ni#s#ni#t#ni#u#ni#v#ni#w#ni#y#ni#{#ni#|#ni$P#ni(s#ni(z#ni({#ni!]#ni!^#ni~O#o#ni~P%NrO#o<aO~P%NrOP$[OR#zOr<mO!Q#yO!S#{O!l#xO!p$[O#o<aO#p<bO#q<bO#r<bO(bVO[#nij#ni#R#ni#t#ni#u#ni#v#ni#w#ni#y#ni#{#ni#|#ni$P#ni(s#ni(z#ni({#ni!]#ni!^#ni~O#s#ni~P&!zO#s<cO~P&!zOP$[OR#zO[<oOj<dOr<mO!Q#yO!S#{O!l#xO!p$[O#R<dO#o<aO#p<bO#q<bO#r<bO#s<cO#t<dO#u<dO#v<nO(bVO#y#ni#{#ni#|#ni$P#ni(s#ni(z#ni({#ni!]#ni!^#ni~O#w#ni~P&%SOP$[OR#zO[<oOj<dOr<mO!Q#yO!S#{O!l#xO!p$[O#R<dO#o<aO#p<bO#q<bO#r<bO#s<cO#t<dO#u<dO#v<nO#w<eO(bVO({#}O#{#ni#|#ni$P#ni(s#ni(z#ni!]#ni!^#ni~O#y<gO~P&'TO#y#ni~P&'TO#w<eO~P&%SOP$[OR#zO[<oOj<dOr<mO!Q#yO!S#{O!l#xO!p$[O#R<dO#o<aO#p<bO#q<bO#r<bO#s<cO#t<dO#u<dO#v<nO#w<eO#y<gO(bVO(z#|O({#}O#|#ni$P#ni(s#ni!]#ni!^#ni~O#{#ni~P&)dO#{<iO~P&)dOa#}y!]#}y'{#}y'x#}y!Y#}y!k#}yv#}y!_#}y%j#}y!g#}y~P!:tO[#nij#nir#ni#R#ni#s#ni#t#ni#u#ni#v#ni#w#ni#y#ni#{#ni#|#ni$P#ni(s#ni!]#ni!^#ni~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#o<aO#p<bO#q<bO#r<bO(bVO(z#ni({#ni~P&,`On>_O!Q*PO'z*QO(z$}O({%POP#niR#ni!S#ni!l#ni!p#ni#o#ni#p#ni#q#ni#r#ni(b#ni~P&,`O#S$dOP(aXR(aX[(aXj(aXn(aXr(aX!Q(aX!S(aX!l(aX!p(aX#R(aX#o(aX#p(aX#q(aX#r(aX#s(aX#t(aX#u(aX#v(aX#w(aX#y(aX#{(aX#|(aX$P(aX'z(aX(b(aX(s(aX(z(aX({(aX!](aX!^(aX~O$P$Qi!]$Qi!^$Qi~P#BwO$P!ri!^!ri~P$+}Og'^a!]'^a~P!1WO!^7pO~O!]'ea!^'ea~P#BwO!Y7qO~P#/sO!g#vO(s'qO!]'fa!k'fa~O!]/rO!k)Pi~O!]/rO!g#vO!k)Pi~Og$}q!]$}q#`$}q$P$}q~P!1WO!Y'ha!]'ha~P#/sO!g7xO~O!]/{O!Y)Qi~P#/sO!]/{O!Y)Qi~O!Y7{O~Oh%VOr8QO!l%eO(s'qO~Oj8SO!g#vO~Or8VO!g#vO(s'qO~O!Q*PO'z*QO({%POn'ka(z'ka!]'ka#`'ka~Og'ka$P'ka~P&5aO!Q*PO'z*QOn'ma(z'ma({'ma!]'ma#`'ma~Og'ma$P'ma~P&6SOg(`q!](`q~P!1WO#`8XOg(`q!](`q~P!1WO!Y8YO~Og%Pq!]%Pq#`%Pq$P%Pq~P!1WOa$py!]$py'{$py'x$py!Y$py!k$pyv$py!_$py%j$py!g$py~P!:tO!g6tO~O!]5^O!_)Ra~O!_'aOP$UaR$Ua[$Uaj$Uar$Ua!Q$Ua!S$Ua!]$Ua!l$Ua!p$Ua#R$Ua#o$Ua#p$Ua#q$Ua#r$Ua#s$Ua#t$Ua#u$Ua#v$Ua#w$Ua#y$Ua#{$Ua#|$Ua(b$Ua(s$Ua(z$Ua({$Ua~O%j7YO~P&8tO%_8^Oa%]i!_%]i'{%]i!]%]i~Oa#cy!]#cy'{#cy'x#cy!Y#cy!k#cyv#cy!_#cy%j#cy!g#cy~P!:tO[8`O~Ob8bO(U+sO(WTO(ZUO~O!]1VO!^)Yi~O`8fO~O(f(}O!]'qX!^'qX~O!]5wO!^)Va~O!^8pO~P%;sO(p!sO~P$&YO#[8qO~O!_1qO~O!_1qO%j8sO~On8vO!_1qO%j8sO~O[8{O!]'ta!^'ta~O!]1|O!^)Wi~O!k9PO~O!k9QO~O!k9TO~O!k9TO~P%[Oa9VO~O!g9WO~O!k9XO~O!](xi!^(xi~P#BwOa%nO#`9aO'{%nO~O!](uy!k(uya(uy'{(uy~P!:tO!](kO!k(ty~O%j9dO~P&8tO!_'aO%j9dO~O#l$}qP$}qR$}q[$}qa$}qj$}qr$}q!S$}q!]$}q!l$}q!p$}q#R$}q#o$}q#p$}q#q$}q#r$}q#s$}q#t$}q#u$}q#v$}q#w$}q#y$}q#{$}q#|$}q'{$}q(b$}q(s$}q!k$}q!Y$}q'x$}q#`$}qv$}q!_$}q%j$}q!g$}q~P#/sO#l'kaP'kaR'ka['kaa'kaj'kar'ka!S'ka!l'ka!p'ka#R'ka#o'ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#w'ka#y'ka#{'ka#|'ka'{'ka(b'ka(s'ka!k'ka!Y'ka'x'kav'ka!_'ka%j'ka!g'ka~P&5aO#l'maP'maR'ma['maa'maj'mar'ma!S'ma!l'ma!p'ma#R'ma#o'ma#p'ma#q'ma#r'ma#s'ma#t'ma#u'ma#v'ma#w'ma#y'ma#{'ma#|'ma'{'ma(b'ma(s'ma!k'ma!Y'ma'x'mav'ma!_'ma%j'ma!g'ma~P&6SO#l%PqP%PqR%Pq[%Pqa%Pqj%Pqr%Pq!S%Pq!]%Pq!l%Pq!p%Pq#R%Pq#o%Pq#p%Pq#q%Pq#r%Pq#s%Pq#t%Pq#u%Pq#v%Pq#w%Pq#y%Pq#{%Pq#|%Pq'{%Pq(b%Pq(s%Pq!k%Pq!Y%Pq'x%Pq#`%Pqv%Pq!_%Pq%j%Pq!g%Pq~P#/sO!]'Zi!k'Zi~P!:tO$P#cq!]#cq!^#cq~P#BwO(z$}OP%baR%ba[%baj%bar%ba!S%ba!l%ba!p%ba#R%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#v%ba#w%ba#y%ba#{%ba#|%ba$P%ba(b%ba(s%ba!]%ba!^%ba~On%ba!Q%ba'z%ba({%ba~P&JXO({%POP%daR%da[%daj%dar%da!S%da!l%da!p%da#R%da#o%da#p%da#q%da#r%da#s%da#t%da#u%da#v%da#w%da#y%da#{%da#|%da$P%da(b%da(s%da!]%da!^%da~On%da!Q%da'z%da(z%da~P&L`On>_O!Q*PO'z*QO({%PO~P&JXOn>_O!Q*PO'z*QO(z$}O~P&L`OR0mO!Q0mO!S0nO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#w}a#y}a#{}a#|}a$P}a'z}a(b}a(s}a(z}a({}a!]}a!^}a~O!Q*PO'z*QOP$taR$ta[$taj$tan$tar$ta!S$ta!l$ta!p$ta#R$ta#o$ta#p$ta#q$ta#r$ta#s$ta#t$ta#u$ta#v$ta#w$ta#y$ta#{$ta#|$ta$P$ta(b$ta(s$ta(z$ta({$ta!]$ta!^$ta~O!Q*PO'z*QOP$vaR$va[$vaj$van$var$va!S$va!l$va!p$va#R$va#o$va#p$va#q$va#r$va#s$va#t$va#u$va#v$va#w$va#y$va#{$va#|$va$P$va(b$va(s$va(z$va({$va!]$va!^$va~On>_O!Q*PO'z*QO(z$}O({%PO~OP%UaR%Ua[%Uaj%Uar%Ua!S%Ua!l%Ua!p%Ua#R%Ua#o%Ua#p%Ua#q%Ua#r%Ua#s%Ua#t%Ua#u%Ua#v%Ua#w%Ua#y%Ua#{%Ua#|%Ua$P%Ua(b%Ua(s%Ua!]%Ua!^%Ua~P''eO$P$nq!]$nq!^$nq~P#BwO$P$pq!]$pq!^$pq~P#BwO!^9qO~O$P9rO~P!1WO!g#vO!]'fi!k'fi~O!g#vO(s'qO!]'fi!k'fi~O!]/rO!k)Pq~O!Y'hi!]'hi~P#/sO!]/{O!Y)Qq~Or9yO!g#vO(s'qO~O[9{O!Y9zO~P#/sO!Y9zO~Oj:RO!g#vO~Og(`y!](`y~P!1WO!]'oa!_'oa~P#/sOa%]q!_%]q'{%]q!]%]q~P#/sO[:WO~O!]1VO!^)Yq~O`:[O~O#`:]O!]'qa!^'qa~O!]5wO!^)Vi~P#BwO!S:_O~O!_1qO%j:bO~O(WTO(ZUO(f:gO~O!]1|O!^)Wq~O!k:jO~O!k:kO~O!k:lO~O!k:lO~P%[O#`:oO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%j:tO~P&8tO!_'aO%j:tO~O$P#}y!]#}y!^#}y~P#BwOP$}iR$}i[$}ij$}ir$}i!S$}i!l$}i!p$}i#R$}i#o$}i#p$}i#q$}i#r$}i#s$}i#t$}i#u$}i#v$}i#w$}i#y$}i#{$}i#|$}i$P$}i(b$}i(s$}i!]$}i!^$}i~P''eO!Q*PO'z*QO({%POP'jaR'ja['jaj'jan'jar'ja!S'ja!l'ja!p'ja#R'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#w'ja#y'ja#{'ja#|'ja$P'ja(b'ja(s'ja(z'ja!]'ja!^'ja~O!Q*PO'z*QOP'laR'la['laj'lan'lar'la!S'la!l'la!p'la#R'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#w'la#y'la#{'la#|'la$P'la(b'la(s'la(z'la({'la!]'la!^'la~O(z$}OP%biR%bi[%bij%bin%bir%bi!Q%bi!S%bi!l%bi!p%bi#R%bi#o%bi#p%bi#q%bi#r%bi#s%bi#t%bi#u%bi#v%bi#w%bi#y%bi#{%bi#|%bi$P%bi'z%bi(b%bi(s%bi({%bi!]%bi!^%bi~O({%POP%diR%di[%dij%din%dir%di!Q%di!S%di!l%di!p%di#R%di#o%di#p%di#q%di#r%di#s%di#t%di#u%di#v%di#w%di#y%di#{%di#|%di$P%di'z%di(b%di(s%di(z%di!]%di!^%di~O$P$py!]$py!^$py~P#BwO$P#cy!]#cy!^#cy~P#BwO!g#vO!]'fq!k'fq~O!]/rO!k)Py~O!Y'hq!]'hq~P#/sOr;OO!g#vO(s'qO~O[;SO!Y;RO~P#/sO!Y;RO~Og(`!R!](`!R~P!1WOa%]y!_%]y'{%]y!]%]y~P#/sO!]1VO!^)Yy~O!]5wO!^)Vq~O(U;ZO~O!_1qO%j;^O~O!k;aO~O%j;fO~P&8tOP$}qR$}q[$}qj$}qr$}q!S$}q!l$}q!p$}q#R$}q#o$}q#p$}q#q$}q#r$}q#s$}q#t$}q#u$}q#v$}q#w$}q#y$}q#{$}q#|$}q$P$}q(b$}q(s$}q!]$}q!^$}q~P''eO!Q*PO'z*QO({%POP'kaR'ka['kaj'kan'kar'ka!S'ka!l'ka!p'ka#R'ka#o'ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#w'ka#y'ka#{'ka#|'ka$P'ka(b'ka(s'ka(z'ka!]'ka!^'ka~O!Q*PO'z*QOP'maR'ma['maj'man'mar'ma!S'ma!l'ma!p'ma#R'ma#o'ma#p'ma#q'ma#r'ma#s'ma#t'ma#u'ma#v'ma#w'ma#y'ma#{'ma#|'ma$P'ma(b'ma(s'ma(z'ma({'ma!]'ma!^'ma~OP%PqR%Pq[%Pqj%Pqr%Pq!S%Pq!l%Pq!p%Pq#R%Pq#o%Pq#p%Pq#q%Pq#r%Pq#s%Pq#t%Pq#u%Pq#v%Pq#w%Pq#y%Pq#{%Pq#|%Pq$P%Pq(b%Pq(s%Pq!]%Pq!^%Pq~P''eOg%f!Z!]%f!Z#`%f!Z$P%f!Z~P!1WO!Y;jO~P#/sOr;kO!g#vO(s'qO~O[;mO!Y;jO~P#/sO!]'qq!^'qq~P#BwO!]#h!Z!^#h!Z~P#BwO#l%f!ZP%f!ZR%f!Z[%f!Za%f!Zj%f!Zr%f!Z!S%f!Z!]%f!Z!l%f!Z!p%f!Z#R%f!Z#o%f!Z#p%f!Z#q%f!Z#r%f!Z#s%f!Z#t%f!Z#u%f!Z#v%f!Z#w%f!Z#y%f!Z#{%f!Z#|%f!Z'{%f!Z(b%f!Z(s%f!Z!k%f!Z!Y%f!Z'x%f!Z#`%f!Zv%f!Z!_%f!Z%j%f!Z!g%f!Z~P#/sOr;vO!g#vO(s'qO~O!Y;wO~P#/sOr<OO!g#vO(s'qO~O!Y<PO~P#/sOP%f!ZR%f!Z[%f!Zj%f!Zr%f!Z!S%f!Z!l%f!Z!p%f!Z#R%f!Z#o%f!Z#p%f!Z#q%f!Z#r%f!Z#s%f!Z#t%f!Z#u%f!Z#v%f!Z#w%f!Z#y%f!Z#{%f!Z#|%f!Z$P%f!Z(b%f!Z(s%f!Z!]%f!Z!^%f!Z~P''eOr<SO!g#vO(s'qO~Ov(gX~P1qO!Q%rO~P!)[O(V!lO~P!)[O!YfX!]fX#`fX~P%2^OP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#lfX#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#w]X#y]X#{]X#|]X$R]X(b]X(s]X(z]X({]X~O!gfX!k]X!kfX(sfX~P'LcOP<WOQ<WOSfOd>SOe!iOpkOr<WOskOtkOzkO|<WO!O<WO!SWO!WkO!XkO!_XO!i<ZO!lZO!o<WO!p<WO!q<WO!s<[O!u<_O!x!hO$X!kO$o>QO(U)^O(WTO(ZUO(bVO(p[O~O!]<kO!^$ra~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<vO!S${O!_$|O!i>XO!l$xO#k<|O$X%`O$u<xO$w<zO$z%aO(U(wO(WTO(ZUO(b$uO(z$}O({%PO~Ol)eO~P(#XOr!eX(s!eX~P#!nO!^]X!^fX~P'LcO!YfX!Y${X!]fX!]${X#`fX~P!0SO#l<`O~O!g#vO#l<`O~O#`<pO~Oj<dO~O#`=PO!](xX!^(xX~O#`<pO!](vX!^(vX~O#l=QO~Og=SO~P!1WO#l=YO~O#l=ZO~Og=SO(U&ZO~O!g#vO#l=[O~O!g#vO#l=QO~O$P=]O~P#BwO#l=^O~O#l=_O~O#l=dO~O#l=eO~O#l=fO~O#l=gO~O$P=hO~P!1WO$P=iO~P!1WOl=tO~P7eOk#S#T#U#W#X#[#j#k#v$o$u$w$z%^%_%i%j%k%r%t%w%x%z%|~(PT#p!X'}(V#qs#o#rr!Q(O$^(U$`(f~",goto:"$9_)^PPPPPP)_PP)bP)sP+X/^PPPP6lPP7SPP=PPPP@sPA]PA]PPPA]PCePA]PA]PA]PCiPCnPD]PIVPPPIZPPPPIZL^PPPLdMUPIZPIZPP! dIZPPPIZPIZP!#kIZP!'R!(W!(aP!)T!)X!)T!,fPPPPPPP!-V!(WPP!-g!/XP!2hIZIZ!2m!5y!:g!:g!>f!>nPPP!>tIZPPPPPPPPP!BTP!CbPPIZ!DsPIZPIZIZIZIZIZPIZ!FVP!IaP!LgP!Lk!Lu!Ly!LyP!I^P!L}!L}P#!TP#!XIZPIZ#!_#%dCiA]PA]PA]A]P#&qA]A]#)TA]#+{A]#.XA]A]#.w#1]#1]#1b#1k#1]#1vPP#1]PA]#2`A]#6_A]A]6lPPP#:dPPP#:}#:}P#:}P#;e#:}PP#;kP#;bP#;b#<O#;b#<j#<p#<s)bP#<v)bP#=P#=P#=PP)bP)bP)bP)bPP)bP#=V#=YP#=Y)bP#=^P#=aP)bP)bP)bP)bP)bP)b)bPP#=g#=m#=x#>O#>U#>[#>b#>p#>v#?Q#?W#?b#?h#?x#@O#@p#AS#AY#A`#An#BT#Cx#DW#D_#Ey#FX#Gy#HX#H_#He#Hk#Hu#H{#IR#I]#Io#IuPPPPPPPPPPP#I{PPPPPPP#Jp#M}$ g$ n$ vPPP$'bP$'k$*d$0}$1Q$1T$2S$2V$2^$2fP$2l$2oP$3]$3a$4X$5g$5l$6SPP$6X$6_$6c$6f$6j$6n$7j$8R$8j$8n$8q$8t$9O$9R$9V$9ZR!|RoqOXst!Z#d%m&r&t&u&w,u,z2^2aY!vQ'a-g1q5}Q%tvQ%|yQ&T|Q&j!VS'W!e-^Q'g!iS'm!r!yU*l$|*[*pQ+q%}S,O&V&WQ,f&dQ-e'`Q-o'hQ-w'nQ0^*rQ1d,QQ1{,gR<}<[%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'c's(U(W(^(e(y({)P*O*j+Y+_,r,u,z-k-s.R.X.v.}/p0_0n0t1U1t2U2V2X2Z2^2a2c3S3Y3n4|6V6g6h6k7O8v9V9aS#q]<X!r)`$Z$n'X)t-Y-a/X2q4V5y6u:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TU+Q%]<u<vQ+v&PQ,h&gQ,o&oQ0z+iQ1P+kQ1[+wQ2T,mQ3b.iQ5b1OQ5h1VQ6^1|Q7[3fQ8b5iR9g7^'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'c's(U(W(^(e(y({)P)t*O*j+Y+_+i,r,u,z-Y-a-k-s.R.X.i.v.}/X/p0_0n0t1U1t2U2V2X2Z2^2a2c2q3S3Y3f3n4V4|5y6V6g6h6k6u7O7^8v9V9a:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>T!S!nQ!r!v!y!z$|'W'`'a'm'n'o*l*p*r*s-^-e-g-w0^0a1q5}6P%[$ti#v$b$c$d$x${%O%Q%^%_%c)z*S*U*W*Z*b*h*x*y+h+k,U,X.h/R/f/o/z/{/}0b0d0k0l0q1h1k1s3e4`4a4l4q5S5^5a6U7Y7x8S8X8^8s9d9r9{:R:b:t;S;^;f;m<n<o<q<r<s<t<w<x<y<z<{<|=T=U=V=W=Y=Z=^=_=`=a=b=c=d=e=h=i>Q>Y>Z>^>_Q&X|S'U!e*[S']%i-bQ+v&PQ,R&WQ,h&gQ0p+TQ1[+wQ1a+}Q2S,lQ2T,mQ5h1VQ5q1cQ6^1|Q6a2OQ6b2RQ8b5iQ8e5nQ9O6dQ:Z8fQ:h8{R;X:[rnOXst!V!Z#d%m&i&r&t&u&w,u,z2^2aR,j&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'c's(W(^(e(y({)P)t*O*j+Y+_+i,r,u,z-Y-a-k-s.R.X.i.v.}/X/p0_0n0t1U1t2U2V2X2Z2^2a2c2q3S3Y3f3n4V4|5y6V6g6h6k6u7O7^8v9V9a:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>S>T[#]WZ#W#Z'X(U!b%jm#h#i#l$x%e%h(_(i(j(k*Z*_*c+[+^+`,q-W.V.].^._.a/o/r2f3^3_4c6t7VQ%wxQ%{yW&Q|&V&W,QQ&_!TQ'd!hQ'f!iQ(r#sS+p%|%}Q+t&PQ,a&bQ,e&dS-n'g'hQ.k(sQ1T+qQ1Z+wQ1]+xQ1`+|Q1v,bS1z,f,gQ3O-oQ5g1VQ5k1YQ5p1bQ6]1{Q8a5iQ8d5mQ8h5rQ:V8`R;V:W!U$zi$d%O%Q%^%_%c*S*U*b*x*y/R/z0b0d0k0l0q4a5S8X9r>Q>Y>Z!^%yy!i!u%{%|%}'V'f'g'h'l'v*k+p+q-Z-n-o-v0T0W1T2w3O3V4t4u4x8P9}Q+j%wQ,V&[Q,Y&]Q,d&dQ.j(rQ1u,aU1y,e,f,gQ3g.kQ6W1vS6[1z1{Q8z6]#f>U#v$b$c$x${)z*W*Z*h+h+k,U,X.h/f/o/{/}1h1k1s3e4`4l4q5^5a6U7Y7x8S8^8s9d9{:R:b:t;S;^;f;m<q<s<w<y<{=T=V=Y=^=`=b=d=h>^>_o>V<n<o<r<t<x<z<|=U=W=Z=_=a=c=e=iW%Ti%V*z>QS&[!Q&iQ&]!RQ&^!SU+O%[%d=tR,T&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)z*S*U*W*Z*b*h*x*y+h+k,U,X.h/R/f/o/z/{/}0b0d0k0l0q1h1k1s3e4`4a4l4q5S5^5a6U7Y7x8S8X8^8s9d9r9{:R:b:t;S;^;f;m<n<o<q<r<s<t<w<x<y<z<{<|=T=U=V=W=Y=Z=^=_=`=a=b=c=d=e=h=i>Q>Y>Z>^>_T){$u)|V+Q%]<u<vW']!e%i*[-bS)O#y#zQ+e%rQ+{&SS.d(n(oQ1l,ZQ5V0mR8k5w'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'c's(U(W(^(e(y({)P)t*O*j+Y+_+i,r,u,z-Y-a-k-s.R.X.i.v.}/X/p0_0n0t1U1t2U2V2X2Z2^2a2c2q3S3Y3f3n4V4|5y6V6g6h6k6u7O7^8v9V9a:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>T$i$^c#Y#e%q%s%u(T(Z(u(z)S)T)U)V)W)X)Y)Z)[)])_)a)c)h)r+f+z-[-z.P.U.W.u.x.|/O/P/Q/d0r2o2t3Q3X3m3r3s3t3u3v3w3x3y3z3{3|3}4O4R4S4Z5Z5e6w6}7S7c7d7m7n8m9Z9_9i9o9p:q;Y;b<Y=wT#TV#U'RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'c's(U(W(^(e(y({)P)t*O*j+Y+_+i,r,u,z-Y-a-k-s.R.X.i.v.}/X/p0_0n0t1U1t2U2V2X2Z2^2a2c2q3S3Y3f3n4V4|5y6V6g6h6k6u7O7^8v9V9a:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TQ'Y!eR2r-^!W!nQ!e!r!v!y!z$|'W'`'a'm'n'o*[*l*p*r*s-^-e-g-w0^0a1q5}6PR1n,]nqOXst!Z#d%m&r&t&u&w,u,z2^2aQ&y!^Q'w!xS(t#u<`Q+n%zQ,_&_Q,`&aQ-l'eQ-y'pS.t(y=QS0s+Y=[Q1R+oQ1p,^Q2e,|Q2g,}Q2n-XQ2|-mQ3P-qS5[0t=fQ5c1SS5f1U=gQ6v2pQ6z2}Q7P3UQ8_5dQ9[6xQ9]6{Q9`7QR:n9X$d$]c#Y#e%s%u(T(Z(u(z)S)T)U)V)W)X)Y)Z)[)])_)a)c)h)r+f+z-[-z.P.U.W.u.x.|/P/Q/d0r2o2t3Q3X3m3r3s3t3u3v3w3x3y3z3{3|3}4O4R4S4Z5Z5e6w6}7S7c7d7m7n8m9Z9_9i9o9p:q;Y;b<Y=wS(p#p'jQ)Q#zS+d%q/OS.e(o(qR3`.f'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'c's(U(W(^(e(y({)P)t*O*j+Y+_+i,r,u,z-Y-a-k-s.R.X.i.v.}/X/p0_0n0t1U1t2U2V2X2Z2^2a2c2q3S3Y3f3n4V4|5y6V6g6h6k6u7O7^8v9V9a:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TS#q]<XQ&t!XQ&u!YQ&w![Q&x!]R2],xQ'b!hQ+g%wQ-j'dS.g(r+jQ2z-iW3d.j.k0y0{Q6y2{W7W3a3c3g5`U9c7X7Z7]U:s9e9f9hS;d:r:uQ;r;eR;z;sU!wQ'a-gT5{1q5}!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(k,u,z.^2^2a]!pQ!r'a-g1q5}T#q]<X%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'c's(U(W(^(e(y({)P*O*j+Y+_+i,r,u,z-k-s.R.X.i.v.}/p0_0n0t1U1t2U2V2X2Z2^2a2c3S3Y3f3n4|6V6g6h6k7O7^8v9V9aS)O#y#zS.d(n(o!s=m$Z$n'X)t-Y-a/X2q4V5y6u:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TU$fd)`,oS(q#p'jU*w%R(x4QU0o+P.p7iQ5`0zQ7X3bQ9f7[R:u9gm!tQ!r!v!y!z'a'm'n'o-g-w1q5}6PQ'u!uS(g#g2WS-u'l'xQ/u*^Q0T*kQ3W-xQ4h/vQ4t0VQ4u0WQ4z0`Q7t4bS8P4v4xS8T4{4}Q9t7uQ9x7{Q9}8QQ:S8VS:}9y9zS;i;O;RS;u;j;kS;};v;wS<R<O<PR<U<SQ#wbQ't!uS(f#g2WS(h#m+XQ+Z%fQ+l%xQ+r&OU-t'l'u'xQ.Y(gU/t*^*a/yQ0U*kQ0X*mQ1Q+mQ1w,cS3T-u-xQ3].bS4g/u/vQ4p0RS4s0T0`Q4w0YQ6Y1xQ7R3WS7s4b4dQ7w4hU8O4t4z4}Q8R4yQ8x6ZS9s7t7uQ9w7{Q:P8TQ:Q8UQ:e8yQ:{9tS:|9x9zQ;U:SQ;`:fS;h:};RS;t;i;jS;|;u;wS<Q;}<PQ<T<RQ<V<UQ=p=kQ=|=uR=}=vV!wQ'a-g%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'c's(U(W(^(e(y({)P*O*j+Y+_+i,r,u,z-k-s.R.X.i.v.}/p0_0n0t1U1t2U2V2X2Z2^2a2c3S3Y3f3n4|6V6g6h6k7O7^8v9V9aS#wz!j!r=j$Z$n'X)t-Y-a/X2q4V5y6u:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TR=p>S%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'c's(U(W(^(e(y({)P*O*j+Y+_+i,r,u,z-k-s.R.X.i.v.}/p0_0n0t1U1t2U2V2X2Z2^2a2c3S3Y3f3n4|6V6g6h6k7O7^8v9V9aQ%fj!^%xy!i!u%{%|%}'V'f'g'h'l'v*k+p+q-Z-n-o-v0T0W1T2w3O3V4t4u4x8P9}S&Oz!jQ+m%yQ,c&dW1x,d,e,f,gU6Z1y1z1{S8y6[6]Q:f8z!r=k$Z$n'X)t-Y-a/X2q4V5y6u:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TQ=u>RR=v>S%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'c's(W(^(e(y({)P*O*j+Y+_+i,r,u,z-k-s.R.X.i.v.}/p0_0n0t1U1t2U2V2X2Z2^2a2c3S3Y3f3n4|6V6g6h6k7O7^8v9V9aY#bWZ#W#Z(U!b%jm#h#i#l$x%e%h(_(i(j(k*Z*_*c+[+^+`,q-W.V.].^._.a/o/r2f3^3_4c6t7VQ,p&o!p=l$Z$n)t-Y-a/X2q4V5y6u:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TR=o'XU'^!e%i*[R2u-bX'[!e%i*[-b%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'c's(U(W(^(e(y({)P*O*j+Y+_,r,u,z-k-s.R.X.v.}/p0_0n0t1U1t2U2V2X2Z2^2a2c3S3Y3n4|6V6g6h6k7O8v9V9a!r)`$Z$n'X)t-Y-a/X2q4V5y6u:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TQ,o&oQ0z+iQ3b.iQ7[3fR9g7^!b$Tc#Y%q(T(Z(u(z)[)])a)h+z-z.P.U.W.u.x/d0r3Q3X3m3}5Z5e6}7S7c9_:q<Y!P<f)_)r-[/O2o2t3r3{3|4R4Z6w7d7m7n8m9Z9i9o9p;Y;b=w!f$Vc#Y%q(T(Z(u(z)X)Y)[)])a)h+z-z.P.U.W.u.x/d0r3Q3X3m3}5Z5e6}7S7c9_:q<Y!T<h)_)r-[/O2o2t3r3x3y3{3|4R4Z6w7d7m7n8m9Z9i9o9p;Y;b=w!^$Zc#Y%q(T(Z(u(z)a)h+z-z.P.U.W.u.x/d0r3Q3X3m3}5Z5e6}7S7c9_:q<YQ4a/mz>T)_)r-[/O2o2t3r4R4Z6w7d7m7n8m9Z9i9o9p;Y;b=wQ>Y>[R>Z>]'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'c's(U(W(^(e(y({)P)t*O*j+Y+_+i,r,u,z-Y-a-k-s.R.X.i.v.}/X/p0_0n0t1U1t2U2V2X2Z2^2a2c2q3S3Y3f3n4V4|5y6V6g6h6k6u7O7^8v9V9a:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TS$oh$pR4W/W'XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'c's(U(W(^(e(y({)P)t*O*j+Y+_+i,r,u,z-Y-a-k-s.R.X.i.v.}/W/X/p0_0n0t1U1t2U2V2X2Z2^2a2c2q3S3Y3f3n4V4|5y6V6g6h6k6u7O7^8v9V9a:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TT$kf$qQ$ifS)k$l)oR)w$qT$jf$qT)m$l)o'XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'c's(U(W(^(e(y({)P)t*O*j+Y+_+i,r,u,z-Y-a-k-s.R.X.i.v.}/W/X/p0_0n0t1U1t2U2V2X2Z2^2a2c2q3S3Y3f3n4V4|5y6V6g6h6k6u7O7^8v9V9a:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>TT$oh$pQ$rhR)v$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'c's(U(W(^(e(y({)P*O*j+Y+_+i,r,u,z-k-s.R.X.i.v.}/p0_0n0t1U1t2U2V2X2Z2^2a2c3S3Y3f3n4|6V6g6h6k7O7^8v9V9a!s>R$Z$n'X)t-Y-a/X2q4V5y6u:]:o<W<Z<[<_<`<a<b<c<d<e<f<g<h<i<j<k<m<p<}=P=Q=S=[=]=f=g>T#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{'T'c)P)t*j+_+i,r,u,z-k.i/X/p0_0n1t2U2V2X2Z2^2a2c3f4V4|6V6g6h6k7^8v9V!U%Ri$d%O%Q%^%_%c*S*U*b*x*y/R/z0b0d0k0l0q4a5S8X9r>Q>Y>Z#f(x#v$b$c$x${)z*W*Z*h+h+k,U,X.h/f/o/{/}1h1k1s3e4`4l4q5^5a6U7Y7x8S8^8s9d9{:R:b:t;S;^;f;m<q<s<w<y<{=T=V=Y=^=`=b=d=h>^>_Q+U%aQ/e*Po4Q<n<o<r<t<x<z<|=U=W=Z=_=a=c=e=i!U$yi$d%O%Q%^%_%c*S*U*b*x*y/R/z0b0d0k0l0q4a5S8X9r>Q>Y>ZQ*d$zU*m$|*[*pQ+V%bQ0Y*n#f=r#v$b$c$x${)z*W*Z*h+h+k,U,X.h/f/o/{/}1h1k1s3e4`4l4q5^5a6U7Y7x8S8^8s9d9{:R:b:t;S;^;f;m<q<s<w<y<{=T=V=Y=^=`=b=d=h>^>_n=s<n<o<r<t<x<z<|=U=W=Z=_=a=c=e=iQ=x>UQ=y>VQ=z>WR={>X!U%Ri$d%O%Q%^%_%c*S*U*b*x*y/R/z0b0d0k0l0q4a5S8X9r>Q>Y>Z#f(x#v$b$c$x${)z*W*Z*h+h+k,U,X.h/f/o/{/}1h1k1s3e4`4l4q5^5a6U7Y7x8S8^8s9d9{:R:b:t;S;^;f;m<q<s<w<y<{=T=V=Y=^=`=b=d=h>^>_o4Q<n<o<r<t<x<z<|=U=W=Z=_=a=c=e=inoOXst!Z#d%m&r&t&u&w,u,z2^2aS*g${*ZQ-T'OQ-U'QR4k/{%[%Si#v$b$c$d$x${%O%Q%^%_%c)z*S*U*W*Z*b*h*x*y+h+k,U,X.h/R/f/o/z/{/}0b0d0k0l0q1h1k1s3e4`4a4l4q5S5^5a6U7Y7x8S8X8^8s9d9r9{:R:b:t;S;^;f;m<n<o<q<r<s<t<w<x<y<z<{<|=T=U=V=W=Y=Z=^=_=`=a=b=c=d=e=h=i>Q>Y>Z>^>_Q,W&]Q1j,YQ5u1iR8j5vV*o$|*[*pU*o$|*[*pT5|1q5}S0R*j/pQ4y0_T8U4|:_Q+l%xQ0X*mQ1Q+mQ1w,cQ6Y1xQ8x6ZQ:e8yR;`:f!U%Oi$d%O%Q%^%_%c*S*U*b*x*y/R/z0b0d0k0l0q4a5S8X9r>Q>Y>Zx*S$v)f*T*v+W/x0f0g4T4i5T5U5Y7r8W:T:z=q>O>PS0b*u0c#f<q#v$b$c$x${)z*W*Z*h+h+k,U,X.h/f/o/{/}1h1k1s3e4`4l4q5^5a6U7Y7x8S8^8s9d9{:R:b:t;S;^;f;m<q<s<w<y<{=T=V=Y=^=`=b=d=h>^>_n<r<n<o<r<t<x<z<|=U=W=Z=_=a=c=e=i!d=T(v)d*]*f.l.o.s/a/m0O0x1g3j4^4j4n5t7_7b7y7|8Z8]9v:O:U;P;T;g;l;x>[>]`=U4P7e7h7l9j:v:y;{S=`.n3kT=a7g9m!U%Qi$d%O%Q%^%_%c*S*U*b*x*y/R/z0b0d0k0l0q4a5S8X9r>Q>Y>Z|*U$v)f*V*u+W/i/x0f0g4T4i5O5T5U5Y7r8W:T:z=q>O>PS0d*v0e#f<s#v$b$c$x${)z*W*Z*h+h+k,U,X.h/f/o/{/}1h1k1s3e4`4l4q5^5a6U7Y7x8S8^8s9d9{:R:b:t;S;^;f;m<q<s<w<y<{=T=V=Y=^=`=b=d=h>^>_n<t<n<o<r<t<x<z<|=U=W=Z=_=a=c=e=i!h=V(v)d*]*f.m.n.s/a/m0O0x1g3h3j4^4j4n5t7_7`7b7y7|8Z8]9v:O:U;P;T;g;l;x>[>]d=W4P7f7g7l9j9k:v:w:y;{S=b.o3lT=c7h9nrnOXst!V!Z#d%m&i&r&t&u&w,u,z2^2aQ&f!UR,r&ornOXst!V!Z#d%m&i&r&t&u&w,u,z2^2aR&f!UQ,[&^R1f,TsnOXst!V!Z#d%m&i&r&t&u&w,u,z2^2aQ1r,aS6T1u1vU8r6R6S6WS:a8t8uS;[:`:cQ;o;]R;y;pQ&m!VR,k&iR6a2OR:h8{W&Q|&V&W,QR1]+xQ&r!WR,u&sR,{&xT2_,z2aR-P&yQ-O&yR2h-PQ'z!{R-{'zSsOtQ#dXT%ps#dQ#OTR'|#OQ#RUR(O#RQ)|$uR/b)|Q#UVR(R#UQ#XWU(X#X(Y.SQ(Y#YR.S(ZQ-_'YR2s-_Q.w(zS3o.w3pR3p.xQ-g'aR2x-gY!rQ'a-g1q5}R'k!rQ/S)fR4U/SU#_W%h*ZU(`#_(a.TQ(a#`R.T([Q-c'^R2v-ct`OXst!V!Z#d%m&i&k&r&t&u&w,u,z2^2aS#hZ%eU#r`#h.^R.^(kQ(l#jQ.Z(hW.c(l.Z3Z7TQ3Z.[R7T3[Q)o$lR/Y)oQ$phR)u$pQ$`cU)b$`.O<lQ.O<YR<l)rQ/s*^W4e/s4f7v9uU4f/t/u/vS7v4g4hR9u7w$e*R$v(v)d)f*]*f*u*v+R+S+W.n.o.q.r.s/a/i/k/m/x0O0f0g0x1g3h3i3j4P4T4^4i4j4n5O5Q5T5U5Y5t7_7`7a7b7g7h7j7k7l7r7y7|8W8Z8]9j9k9l9v:O:T:U:v:w:x:y:z;P;T;g;l;x;{=q>O>P>[>]Q/|*fU4m/|4o7zQ4o0OR7z4nS*p$|*[R0[*px*T$v)f*u*v+W/x0f0g4T4i5T5U5Y7r8W:T:z=q>O>P!d.l(v)d*]*f.n.o.s/a/m0O0x1g3j4^4j4n5t7_7b7y7|8Z8]9v:O:U;P;T;g;l;x>[>]U/j*T.l7ea7e4P7g7h7l9j:v:y;{Q0c*uQ3k.nU5P0c3k9mR9m7g|*V$v)f*u*v+W/i/x0f0g4T4i5O5T5U5Y7r8W:T:z=q>O>P!h.m(v)d*]*f.n.o.s/a/m0O0x1g3h3j4^4j4n5t7_7`7b7y7|8Z8]9v:O:U;P;T;g;l;x>[>]U/l*V.m7fe7f4P7g7h7l9j9k:v:w:y;{Q0e*vQ3l.oU5R0e3l9nR9n7hQ*{%UR0i*{Q5_0xR8[5_Q+a%kR0w+aQ5x1lS8l5x:^R:^8mQ,^&_R1o,^Q5}1qR8o5}Q1},hS6_1}8|R8|6aQ1W+tW5j1W5l8c:XQ5l1ZQ8c5kR:X8dQ+y&QR1^+yQ2a,zR6o2aYrOXst#dQ&v!ZQ+c%mQ,t&rQ,v&tQ,w&uQ,y&wQ2[,uS2_,z2aR6n2^Q%opQ&z!_Q&}!aQ'P!bQ'R!cQ'r!uQ+b%lQ+n%zQ,S&XQ,j&mQ-R&|W-r'l't'u'xQ-y'pQ0Z*oQ1R+oQ1e,RS2Q,k,nQ2i-QQ2j-TQ2k-UQ3P-qW3R-t-u-x-zQ5c1SQ5o1aQ5s1gQ6X1wQ6c2SQ6m2]U6|3Q3T3WQ7P3UQ8_5dQ8g5qQ8i5tQ8n5|Q8w6YQ8}6bS9^6}7RQ9`7QQ:Y8eQ:d8xQ:i9OQ:p9_Q;W:ZQ;_:eQ;c:qQ;n;XR;q;`Q%zyQ'e!iQ'p!uU+o%{%|%}Q-X'VU-m'f'g'hS-q'l'vQ0S*kS1S+p+qQ2p-ZS2}-n-oQ3U-vS4r0T0WQ5d1TQ6x2wQ6{3OQ7Q3VU7}4t4u4xQ9|8PR;Q9}S$wi>QR*|%VU%Ui%V>QR0h*zQ$viS(v#v+kS)d$b$cQ)f$dQ*]$xS*f${*ZQ*u%OQ*v%QQ+R%^Q+S%_Q+W%cQ.n<qQ.o<sQ.q<wQ.r<yQ.s<{Q/a)zQ/i*SQ/k*UQ/m*WQ/x*bS0O*h/oQ0f*xQ0g*yl0x+h,X.h1k1s3e6U7Y8s9d:b:t;^;fQ1g,UQ3h=TQ3i=VQ3j=YS4P<n<oQ4T/RS4^/f4`Q4i/zQ4j/{Q4n/}Q5O0bQ5Q0dQ5T0kQ5U0lQ5Y0qQ5t1hQ7_=^Q7`=`Q7a=bQ7b=dQ7g<rQ7h<tQ7j<xQ7k<zQ7l<|Q7r4aQ7y4lQ7|4qQ8W5SQ8Z5^Q8]5aQ9j=ZQ9k=UQ9l=WQ9v7xQ:O8SQ:T8XQ:U8^Q:v=_Q:w=aQ:x=cQ:y=eQ:z9rQ;P9{Q;T:RQ;g=hQ;l;SQ;x;mQ;{=iQ=q>QQ>O>YQ>P>ZQ>[>^R>]>_Q+P%]Q.p<uR7i<vnpOXst!Z#d%m&r&t&u&w,u,z2^2aQ!fPS#fZ#oQ&|!`W'i!o*j0_4|Q(Q#SQ)R#{Q)s$nS,n&k&nQ,s&oQ-Q&{S-V'T/pQ-i'cQ.z)PQ/^)tQ0u+_Q0{+iQ2Y,rQ2{-kQ3c.iQ4Y/XQ5W0nQ6S1tQ6e2UQ6f2VQ6j2XQ6l2ZQ6q2cQ7]3fQ7o4VQ8u6VQ9R6gQ9S6hQ9U6kQ9h7^Q:c8vR:m9V#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{'T'c)P*j+_+i,r,u,z-k.i/p0_0n1t2U2V2X2Z2^2a2c3f4|6V6g6h6k7^8v9VQ#YWQ#eYQ%quQ%svS%uw!gS(T#W(WQ(Z#ZQ(u#uQ(z#xQ)S$OQ)T$PQ)U$QQ)V$RQ)W$SQ)X$TQ)Y$UQ)Z$VQ)[$WQ)]$XQ)_$ZQ)a$_Q)c$aQ)h$eW)r$n)t/X4VQ+f%tQ+z&RS-['X2qQ-z'sS.P(U.RQ.U(^Q.W(eQ.u(yQ.x({Q.|<WQ/O<ZQ/P<[Q/Q<_Q/d*OQ0r+YQ2o-YQ2t-aQ3Q-sQ3X.XQ3m.vQ3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{<iQ3|<jQ3}.}Q4O<mQ4R<pQ4S<}Q4Z<kQ5Z0tQ5e1UQ6w=PQ6}3SQ7S3YQ7c3nQ7d=QQ7m=SQ7n=[Q8m5yQ9Z6uQ9_7OQ9i=]Q9o=fQ9p=gQ:q9aQ;Y:]Q;b:oQ<Y#SR=w>TR#[WR'Z!el!tQ!r!v!y!z'a'm'n'o-g-w1q5}6PS'V!e-^U*k$|*[*pS-Z'W'`S0W*l*rQ0`*sQ2w-eQ4x0^R4}0aR(|#xQ!fQT-f'a-g]!qQ!r'a-g1q5}Q#p]R'j<XR)g$dY!uQ'a-g1q5}Q'l!rS'v!v!yS'x!z6PS-v'm'nQ-x'oR3V-wT#kZ%eS#jZ%eS%km,qU(h#h#i#lS.[(i(jQ.`(kQ0v+`Q3[.]U3].^._.aS7U3^3_R9b7Vd#^W#W#Z%h(U(_*Z+[.V/or#gZm#h#i#l%e(i(j(k+`.].^._.a3^3_7VS*^$x*cQ/v*_Q2W,qQ2m-WQ4b/rQ6s2fQ7u4cQ9Y6tT=n'X+^V#aW%h*ZU#`W%h*ZS(V#W(_U([#Z+[/oS-]'X+^T.Q(U.VV'_!e%i*[Q$lfR)y$qT)n$l)oR4X/WT*`$x*cT*i${*ZQ0y+hQ1i,XQ3a.hQ5v1kQ6R1sQ7Z3eQ8t6UQ9e7YQ:`8sQ:r9dQ;]:bQ;e:tQ;p;^R;s;fnqOXst!Z#d%m&r&t&u&w,u,z2^2aQ&l!VR,j&itmOXst!U!V!Z#d%m&i&r&t&u&w,u,z2^2aR,q&oT%lm,qR1m,ZR,i&gQ&U|S,P&V&WR1`,QR+u&PT&p!W&sT&q!W&sT2`,z2a",nodeNames:`⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty VariableDefinition Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem`,maxTerm:381,context:Qpt,nodeProps:[[`isolate`,-8,5,6,14,37,39,51,53,55,``],[`group`,-26,9,17,19,68,208,212,216,217,219,222,225,235,238,244,246,248,250,253,259,265,267,269,271,273,275,276,`Statement`,-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,121,122,137,140,142,143,144,145,146,148,149,168,170,172,`Expression`,-23,31,33,37,41,43,45,174,176,178,179,181,182,183,185,186,187,189,190,191,202,204,206,207,`Type`,-3,88,103,109,`ClassItem`],[`openedBy`,23,`<`,38,`InterpolationStart`,56,`[`,60,`{`,73,`(`,161,`JSXStartCloseTag`],[`closedBy`,-2,24,169,`>`,40,`InterpolationEnd`,50,`]`,61,`}`,74,`)`,166,`JSXEndTag`]],propSources:[imt],skippedNodes:[0,5,6,279],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$j&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$j&j([!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU([!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$j&j(XpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(XpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Xp([!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$j&j(Xp([!b'}0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(Y#S$j&j(O0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$j&j(Xp([!b(O0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$j&j!p),Q(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#w(Ch$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#w(Ch$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(W':f$j&j([!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$j&j([!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$j&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$e`$j&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$e``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$e`$j&j([!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ([!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$e`([!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$j&j(Xp([!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$j&j(Xp([!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$j&j([!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$j&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS([!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$j&j(XpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(XpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Xp([!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$j&j(p%1l(Xp([!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$j&j(Xp([!b$^#t(U,2j(f$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$j&j(Xp([!b$^#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$j&j(Xp([!b#q(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$j&j$R(Ch(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva({+JY$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$j&j#{(Ch(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(Z';W$j&j(XpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$j&j(XpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$j&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$e`$j&j(XpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(XpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$e`(XpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!l/.^$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!k!Lf$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$j&j(Xp([!b(V%&f#r(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$j&j(Xp([!b#o(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$j&j(Xp([!br+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!]+Jf$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$j&j(Xp([!b!Q.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_![!L^$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$j&j(Xp([!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$j&j(Xp([!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$j&j(Xp([!b#p(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$j&j(Xp([!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$j&j([!b!X7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$j&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$j&j!X7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$j&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$j&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$j&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$j&j([!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ([!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse([!b!X7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX([!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$j&j([!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$j&j(Xp!X7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$j&j(Xp!X7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Xp!X7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Xp!X7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(XpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$j&j(XpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$j&j(Xp([!b!X7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Xp([!b!X7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Xp([!b!X7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Xp([!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$j&j(Xp([!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$j&j(Xp([!b(P0/l!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$j&j(Xp([!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$j&j([!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$j&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW([!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$j&j(XpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(XpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Xp([!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$j&j$R(Ch(Xp([!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$[#t$j&j(Xp([!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$j&j(Xp([!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$j&j(Xp([!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$j&j(Xp([!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$j&j(Xp([!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$j&j(Xp([!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$j&j(Xp([!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!g$b$j&j$P)Lv(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#R-<U(Xp([!b$o7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$l&j(Xp([!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#s(Ch(Xp([!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$R(Ch(Xp([!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#t(Ch(Xp([!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#`*!Y$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#l(Cl$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#t(Ch$g#|$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#t(Ch$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#s(Ch$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#s(Ch$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(s(Ct$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$j&j#|(Ch(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!|$Ip$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!S0,v$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$j&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$j&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$j&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;=`&w<%lO&c(n$1kZ$j&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$j&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$j&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!Y#)l$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#y(Ch$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$j&j(Xp([!b(b+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$j&j(Xp([!b(U,2j$`#t(f$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$j&j(Xp([!b$`#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!_#Hb(Xp([!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(z+JY$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z)>v$?V_!^(CdvBr$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!q7`$j&j(Xp([!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$j&j(Xp([!b'}0/l$^#t(U,2j(f$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$j&j(Xp([!b(O0/l$^#t(U,2j(f$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[emt,tmt,nmt,rmt,2,3,4,5,6,7,8,9,10,11,12,13,14,$pt,new fP("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(d~~",141,341),new fP(`j~RQYZXz{^~^O(R~~aP!P!Qd~iO(S~~`,25,324)],topRules:{Script:[0,7],SingleExpression:[1,277],SingleClassItem:[2,278]},dialects:{jsx:0,ts:15179},dynamicPrecedences:{80:1,82:1,94:1,170:1,200:1},specialized:[{term:328,get:e=>amt[e]||-1},{term:344,get:e=>omt[e]||-1},{term:95,get:e=>smt[e]||-1}],tokenPrec:15205})}));function cF(e){return(t,n)=>{let r=t.node.getChild(`VariableDefinition`);return r&&n(r,e),!0}}function umt(e,t){let n=uF.get(t);if(n)return n;let r=[],i=!0;function a(t,n){let i=e.sliceString(t.from,t.to);r.push({label:i,type:n})}return t.cursor(Vj.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let e=_mt[t.name];if(e&&e(t,a)||dF.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of umt(e,t.node))r.push(n);return!1}}),uF.set(t,r),r}function dmt(e){let t=CM(e.state).resolveInner(e.pos,-1);if(pF.indexOf(t.name)>-1)return null;let n=t.name==`VariableName`||t.to-t.from<20&&fF.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)dF.has(n.name)&&(r=r.concat(umt(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:fF}}function fmt(e={}){let t=e.jsx?e.typescript?vF:_F:e.typescript?gF:mF,n=e.typescript?hmt.concat(vmt):lF.concat(bF);return new HM(t,[mF.data.of({autocomplete:lut(pF,cut(n))}),mF.data.of({autocomplete:dmt}),e.jsx?bmt:[]])}function pmt(e){for(;;){if(e.name==`JSXOpenTag`||e.name==`JSXSelfClosingTag`||e.name==`JSXFragmentTag`)return e;if(e.name==`JSXEscape`||!e.parent)return null;e=e.parent}}function mmt(e,t,n=e.length){for(let r=t?.firstChild;r;r=r.nextSibling)if(r.name==`JSXIdentifier`||r.name==`JSXBuiltin`||r.name==`JSXNamespacedName`||r.name==`JSXMemberExpression`)return e.sliceString(r.from,Math.min(r.to,n));return``}var lF,hmt,uF,dF,gmt,_mt,fF,pF,mF,hF,gF,_F,vF,yF,bF,vmt,ymt,bmt,xmt=s((()=>{lmt(),lN(),tO(),Oj(),ydt(),tM(),lF=[CN("function ${name}(${params}) {\n ${}\n}",{label:`function`,detail:`definition`,type:`keyword`}),CN("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:`for`,detail:`loop`,type:`keyword`}),CN("for (let ${name} of ${collection}) {\n ${}\n}",{label:`for`,detail:`of loop`,type:`keyword`}),CN(`do {
+ \${}
+} while (\${})`,{label:`do`,detail:`loop`,type:`keyword`}),CN(`while (\${}) {
+ \${}
+}`,{label:`while`,detail:`loop`,type:`keyword`}),CN(`try {
+ \${}
+} catch (\${error}) {
+ \${}
+}`,{label:`try`,detail:`/ catch block`,type:`keyword`}),CN(`if (\${}) {
+ \${}
+}`,{label:`if`,detail:`block`,type:`keyword`}),CN(`if (\${}) {
+ \${}
+} else {
+ \${}
+}`,{label:`if`,detail:`/ else block`,type:`keyword`}),CN(`class \${name} {
+ constructor(\${params}) {
+ \${}
+ }
+}`,{label:`class`,detail:`definition`,type:`keyword`}),CN('import {${names}} from "${module}"\n${}',{label:`import`,detail:`named`,type:`keyword`}),CN('import ${name} from "${module}"\n${}',{label:`import`,detail:`default`,type:`keyword`})],hmt=lF.concat([CN(`interface \${name} {
+ \${}
+}`,{label:`interface`,detail:`definition`,type:`keyword`}),CN("type ${name} = ${type}",{label:`type`,detail:`definition`,type:`keyword`}),CN(`enum \${name} {
+ \${}
+}`,{label:`enum`,detail:`definition`,type:`keyword`})]),uF=new Yj,dF=new Set([`Script`,`Block`,`FunctionExpression`,`FunctionDeclaration`,`ArrowFunction`,`MethodDeclaration`,`ForStatement`]),gmt=[`FunctionDeclaration`],_mt={FunctionDeclaration:cF(`function`),ClassDeclaration:cF(`class`),ClassExpression:()=>!0,EnumDeclaration:cF(`constant`),TypeAliasDeclaration:cF(`type`),NamespaceDeclaration:cF(`namespace`),VariableDefinition(e,t){e.matchContext(gmt)||t(e,`variable`)},TypeDefinition(e,t){t(e,`type`)},__proto__:null},fF=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,pF=[`TemplateString`,`String`,`RegExp`,`LineComment`,`BlockComment`,`VariableDefinition`,`TypeDefinition`,`Label`,`PropertyDefinition`,`PropertyName`,`PrivatePropertyDefinition`,`PrivatePropertyName`,`JSXText`,`JSXAttributeValue`,`JSXOpenTag`,`JSXCloseTag`,`JSXSelfClosingTag`,`.`,`?.`],mF=IM.define({name:`javascript`,parser:cmt.configure({props:[GM.add({IfStatement:TM({except:/^\s*({|else\b)/}),TryStatement:TM({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:wlt,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:wM({closing:`}`}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":TM({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),KM.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":EM,BlockComment(e){return{from:e.from+2,to:e.to-2}},JSXElement(e){let t=e.firstChild;if(!t||t.name==`JSXSelfClosingTag`)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){let t=e.firstChild?.nextSibling,n=e.lastChild;return!t||t.type.isError?null:{from:t.to,to:n.type.isError?e.to:n.from}}})]}),languageData:{closeBrackets:{brackets:[`(`,`[`,`{`,`'`,`"`,"`"]},commentTokens:{line:`//`,block:{open:`/*`,close:`*/`}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:`$`}}),hF={test:e=>/^JSX/.test(e.name),facet:Hct({commentTokens:{block:{open:`{/*`,close:`*/}`}}})},gF=mF.configure({dialect:`ts`},`typescript`),_F=mF.configure({dialect:`jsx`,props:[PM.add(e=>e.isTop?[hF]:void 0)]}),vF=mF.configure({dialect:`jsx ts`,props:[PM.add(e=>e.isTop?[hF]:void 0)]},`typescript`),yF=e=>({label:e,type:`keyword`}),bF=`break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield`.split(` `).map(yF),vmt=bF.concat([`declare`,`implements`,`private`,`protected`,`public`].map(yF)),ymt=typeof navigator==`object`&&/Android\b/.test(navigator.userAgent),bmt=XA.inputHandler.of((e,t,n,r,i)=>{if((ymt?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||r!=`>`&&r!=`/`||!mF.isActiveAt(e.state,t,-1))return!1;let a=i(),{state:o}=a,s=o.changeByRange(e=>{let{head:t}=e,n=CM(o).resolveInner(t-1,-1),i;if(n.name==`JSXStartTag`&&(n=n.parent),!(o.doc.sliceString(t-1,t)!=r||n.name==`JSXAttributeValue`&&n.to>t)){if(r==`>`&&n.name==`JSXFragmentTag`)return{range:e,changes:{from:t,insert:`</>`}};if(r==`/`&&n.name==`JSXStartCloseTag`){let e=n.parent,r=e.parent;if(r&&e.from==t-2&&((i=mmt(o.doc,r.firstChild,t))||r.firstChild?.name==`JSXFragmentTag`)){let e=`${i}>`;return{range:CD.cursor(t+e.length,-1),changes:{from:t,insert:e}}}}else if(r==`>`){let r=pmt(n);if(r&&r.name==`JSXOpenTag`&&!/^\/?>|^<\//.test(o.doc.sliceString(t,t+2))&&(i=mmt(o.doc,r,t)))return{range:e,changes:{from:t,insert:`</${i}>`}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([a,o.update(s,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)})}));function xF(e,t,n=e.length){if(!t)return``;let r=t.firstChild,i=r&&r.getChild(`TagName`);return i?e.sliceString(i.from,Math.min(i.to,n)):``}function SF(e,t=!1){for(;e;e=e.parent)if(e.name==`Element`){if(t)t=!1;else return e}return null}function Smt(e,t,n){return n.tags[xF(e,SF(t))]?.children||n.allTags}function Cmt(e,t){let n=[];for(let r=SF(t);r&&!r.type.isTop;r=SF(r.parent)){let i=xF(e,r);if(i&&r.lastChild.name==`CloseTag`)break;i&&n.indexOf(i)<0&&(t.name==`EndTag`||t.from>=r.firstChild.to)&&n.push(i)}return n}function wmt(e,t,n,r,i){let a=/\s*>/.test(e.sliceDoc(i,i+5))?``:`>`,o=SF(n,n.name==`StartTag`||n.name==`TagName`);return{from:r,to:i,options:Smt(e.doc,o,t).map(e=>({label:e,type:`type`})).concat(Cmt(e.doc,n).map((e,t)=>({label:`/`+e,apply:`/`+e+a,type:`type`,boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Tmt(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?``:`>`;return{from:n,to:r,options:Cmt(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:`type`,boost:99-t})),validFor:Imt}}function Emt(e,t,n,r){let i=[],a=0;for(let r of Smt(e.doc,n,t))i.push({label:`<`+r,type:`type`});for(let t of Cmt(e.doc,n))i.push({label:`</`+t+`>`,type:`type`,boost:99-a++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Dmt(e,t,n,r,i){let a=SF(n),o=a?t.tags[xF(e.doc,a)]:null,s=o&&o.attrs?Object.keys(o.attrs):[];return{from:r,to:i,options:(o&&o.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map(e=>({label:e,type:`property`})),validFor:Imt}}function Omt(e,t,n,r,i){let a=n.parent?.getChild(`AttributeName`),o=[],s;if(a){let c=e.sliceDoc(a.from,a.to),l=t.globalAttrs[c];if(!l){let r=SF(n),i=r?t.tags[xF(e.doc,r)]:null;l=i?.attrs&&i.attrs[c]}if(l){let t=e.sliceDoc(r,i).toLowerCase(),n=`"`,a=`"`;/^['"]/.test(t)?(s=t[0]==`"`?/^[^"]*$/:/^[^']*$/,n=``,a=e.sliceDoc(i,i+1)==t[0]?``:t[0],t=t.slice(1),r++):s=/^[^\s<>='"]*$/;for(let e of l)o.push({label:e,apply:n+e+a,type:`constant`})}}return{from:r,to:i,options:o,validFor:s}}function kmt(e,t){let{state:n,pos:r}=t,i=CM(n).resolveInner(r,-1),a=i.resolve(r);for(let e=r,t;a==i&&(t=i.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;a=i=t,e=n.from}return i.name==`TagName`?i.parent&&/CloseTag$/.test(i.parent.name)?Tmt(n,i,i.from,r):wmt(n,e,i,i.from,r):i.name==`StartTag`||i.name==`IncompleteTag`?wmt(n,e,i,r,r):i.name==`StartCloseTag`||i.name==`IncompleteCloseTag`?Tmt(n,i,r,r):i.name==`OpenTag`||i.name==`SelfClosingTag`||i.name==`AttributeName`?Dmt(n,e,i,i.name==`AttributeName`?i.from:r,r):i.name==`Is`||i.name==`AttributeValue`||i.name==`UnquotedAttributeValue`?Omt(n,e,i,i.name==`Is`?r:i.from,r):t.explicit&&(a.name==`Element`||a.name==`Text`||a.name==`Document`)?Emt(n,e,i,r):null}function Amt(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new kF(t,n):kF.default;return e=>kmt(r,e)}function jmt(e={}){let t=``,n;e.matchClosingTags===!1&&(t=`noMatch`),e.selfClosingTags===!0&&(t=(t?t+` `:``)+`selfClosing`),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=Jft((e.nestedLanguages||[]).concat(Rmt),(e.nestedAttributes||[]).concat(zmt)));let r=n?Bmt.configure({wrap:n,dialect:t}):t?AF.configure({dialect:t}):AF;return new HM(r,[AF.data.of({autocomplete:Amt(e)}),e.autoCloseTags===!1?[]:Hmt,fmt().support,Fft().support])}function Mmt(e,t,n){for(;;){if(t.lastChild?.name!=`CloseTag`)return!1;let r=t.parent;if(!r||xF(e,r)!=n)return!0;t=r}}var CF,wF,TF,EF,DF,OF,Nmt,Pmt,Fmt,kF,Imt,Lmt,Rmt,zmt,Bmt,AF,Vmt,Hmt,Umt=s((()=>{jpt(),Hft(),xmt(),Oj(),tO(),lN(),CF=[`_blank`,`_self`,`_top`,`_parent`],wF=[`ascii`,`utf-8`,`utf-16`,`latin1`,`latin1`],TF=[`get`,`post`,`put`,`delete`],EF=[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],DF=[`true`,`false`],OF={},Nmt={a:{attrs:{href:null,ping:null,type:null,media:null,target:CF,hreflang:null}},abbr:OF,address:OF,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:[`default`,`rect`,`circle`,`poly`]}},article:OF,aside:OF,audio:{attrs:{src:null,mediagroup:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`none`,`metadata`,`auto`],autoplay:[`autoplay`],loop:[`loop`],controls:[`controls`]}},b:OF,base:{attrs:{href:null,target:CF}},bdi:OF,bdo:OF,blockquote:{attrs:{cite:null}},body:OF,br:OF,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:[`autofocus`],disabled:[`autofocus`],formenctype:EF,formmethod:TF,formnovalidate:[`novalidate`],formtarget:CF,type:[`submit`,`reset`,`button`]}},canvas:{attrs:{width:null,height:null}},caption:OF,center:OF,cite:OF,code:OF,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:[`command`,`checkbox`,`radio`],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:[`disabled`],checked:[`checked`]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:[`disabled`],multiple:[`multiple`]}},datalist:{attrs:{data:null}},dd:OF,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:[`open`]}},dfn:OF,div:OF,dl:OF,dt:OF,em:OF,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:[`disabled`],form:null,name:null}},figcaption:OF,figure:OF,footer:OF,form:{attrs:{action:null,name:null,"accept-charset":wF,autocomplete:[`on`,`off`],enctype:EF,method:TF,novalidate:[`novalidate`],target:CF}},h1:OF,h2:OF,h3:OF,h4:OF,h5:OF,h6:OF,head:{children:[`title`,`base`,`link`,`style`,`meta`,`script`,`noscript`,`command`]},header:OF,hgroup:OF,hr:OF,html:{attrs:{manifest:null}},i:OF,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:[`allow-top-navigation`,`allow-same-origin`,`allow-forms`,`allow-scripts`],seamless:[`seamless`]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:[`anonymous`,`use-credentials`]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:[`audio/*`,`video/*`,`image/*`],autocomplete:[`on`,`off`],autofocus:[`autofocus`],checked:[`checked`],disabled:[`disabled`],formenctype:EF,formmethod:TF,formnovalidate:[`novalidate`],formtarget:CF,multiple:[`multiple`],readonly:[`readonly`],required:[`required`],type:[`hidden`,`text`,`search`,`tel`,`url`,`email`,`password`,`datetime`,`date`,`month`,`week`,`time`,`datetime-local`,`number`,`range`,`color`,`checkbox`,`radio`,`file`,`submit`,`image`,`reset`,`button`]}},ins:{attrs:{cite:null,datetime:null}},kbd:OF,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:[`autofocus`],disabled:[`disabled`],keytype:[`RSA`]}},label:{attrs:{for:null,form:null}},legend:OF,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:[`all`,`16x16`,`16x16 32x32`,`16x16 32x32 64x64`]}},map:{attrs:{name:null}},mark:OF,menu:{attrs:{label:null,type:[`list`,`context`,`toolbar`]}},meta:{attrs:{content:null,charset:wF,name:[`viewport`,`application-name`,`author`,`description`,`generator`,`keywords`],"http-equiv":[`content-language`,`content-type`,`default-style`,`refresh`]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:OF,noscript:OF,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:[`typemustmatch`]}},ol:{attrs:{reversed:[`reversed`],start:null,type:[`1`,`a`,`A`,`i`,`I`]},children:[`li`,`script`,`template`,`ul`,`ol`]},optgroup:{attrs:{disabled:[`disabled`],label:null}},option:{attrs:{disabled:[`disabled`],label:null,selected:[`selected`],value:null}},output:{attrs:{for:null,form:null,name:null}},p:OF,param:{attrs:{name:null,value:null}},pre:OF,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:OF,rt:OF,ruby:OF,samp:OF,script:{attrs:{type:[`text/javascript`],src:null,async:[`async`],defer:[`defer`],charset:wF}},section:OF,select:{attrs:{form:null,name:null,size:null,autofocus:[`autofocus`],disabled:[`disabled`],multiple:[`multiple`]}},slot:{attrs:{name:null}},small:OF,source:{attrs:{src:null,type:null,media:null}},span:OF,strong:OF,style:{attrs:{type:[`text/css`],media:null,scoped:null}},sub:OF,summary:OF,sup:OF,table:OF,tbody:OF,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:OF,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:[`autofocus`],disabled:[`disabled`],readonly:[`readonly`],required:[`required`],wrap:[`soft`,`hard`]}},tfoot:OF,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:[`row`,`col`,`rowgroup`,`colgroup`]}},thead:OF,time:{attrs:{datetime:null}},title:OF,tr:OF,track:{attrs:{src:null,label:null,default:null,kind:[`subtitles`,`captions`,`descriptions`,`chapters`,`metadata`],srclang:null}},ul:{children:[`li`,`script`,`template`,`ul`,`ol`]},var:OF,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`auto`,`metadata`,`none`],autoplay:[`autoplay`],mediagroup:[`movie`],muted:[`muted`],controls:[`controls`]}},wbr:OF},Pmt={accesskey:null,class:null,contenteditable:DF,contextmenu:null,dir:[`ltr`,`rtl`,`auto`],draggable:[`true`,`false`,`auto`],dropzone:[`copy`,`move`,`link`,`string:`,`file:`],hidden:[`hidden`],id:null,inert:[`inert`],itemid:null,itemprop:null,itemref:null,itemscope:[`itemscope`],itemtype:null,lang:[`ar`,`bn`,`de`,`en-GB`,`en-US`,`es`,`fr`,`hi`,`id`,`ja`,`pa`,`pt`,`ru`,`tr`,`zh`],spellcheck:DF,autocorrect:DF,autocapitalize:DF,style:null,tabindex:null,title:null,translate:[`yes`,`no`],rel:[`stylesheet`,`alternate`,`author`,`bookmark`,`help`,`license`,`next`,`nofollow`,`noreferrer`,`prefetch`,`prev`,`search`,`tag`],role:`alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer`.split(` `),"aria-activedescendant":null,"aria-atomic":DF,"aria-autocomplete":[`inline`,`list`,`both`,`none`],"aria-busy":DF,"aria-checked":[`true`,`false`,`mixed`,`undefined`],"aria-controls":null,"aria-describedby":null,"aria-disabled":DF,"aria-dropeffect":null,"aria-expanded":[`true`,`false`,`undefined`],"aria-flowto":null,"aria-grabbed":[`true`,`false`,`undefined`],"aria-haspopup":DF,"aria-hidden":DF,"aria-invalid":[`true`,`false`,`grammar`,`spelling`],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":[`off`,`polite`,`assertive`],"aria-multiline":DF,"aria-multiselectable":DF,"aria-owns":null,"aria-posinset":null,"aria-pressed":[`true`,`false`,`mixed`,`undefined`],"aria-readonly":DF,"aria-relevant":null,"aria-required":DF,"aria-selected":[`true`,`false`,`undefined`],"aria-setsize":null,"aria-sort":[`ascending`,`descending`,`none`,`other`],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Fmt=`beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload`.split(` `).map(e=>`on`+e);for(let e of Fmt)Pmt[e]=null;kF=class{constructor(e,t){this.tags={...Nmt,...e},this.globalAttrs={...Pmt,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}},kF.default=new kF,Imt=/^[:\-\.\w\u00b7-\uffff]*$/,Lmt=mF.parser.configure({top:`SingleExpression`}),Rmt=[{tag:`script`,attrs:e=>e.type==`text/typescript`||e.lang==`ts`,parser:gF.parser},{tag:`script`,attrs:e=>e.type==`text/babel`||e.type==`text/jsx`,parser:_F.parser},{tag:`script`,attrs:e=>e.type==`text/typescript-jsx`,parser:vF.parser},{tag:`script`,attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:Lmt},{tag:`script`,attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:mF.parser},{tag:`style`,attrs(e){return(!e.lang||e.lang==`css`)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:PP.parser}],zmt=[{name:`style`,parser:PP.parser.configure({top:`Styles`})}].concat(Fmt.map(e=>({name:e,parser:mF.parser}))),Bmt=IM.define({name:`html`,parser:Apt.configure({props:[GM.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||e.name!=`Element`||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&(n.name==`CloseTag`||n.name==`SelfClosingTag`))?e.lineIndent(t.from)+e.unit:null}}),KM.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!=`OpenTag`?null:{from:t.to,to:n.name==`CloseTag`?n.from:e.to}}}),aN.add({"OpenTag CloseTag":e=>e.getChild(`TagName`)})]}),languageData:{commentTokens:{block:{open:`<!--`,close:`-->`}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:`-_`}}),AF=Bmt.configure({wrap:Jft(Rmt,zmt)}),Vmt=new Set(`area base br col command embed frame hr img input keygen link meta param source track wbr menuitem`.split(` `)),Hmt=XA.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=`>`&&r!=`/`||!AF.isActiveAt(e.state,t,-1))return!1;let a=i(),{state:o}=a,s=o.changeByRange(e=>{let t=o.doc.sliceString(e.from-1,e.to)==r,{head:n}=e,i=CM(o).resolveInner(n,-1),a;if(t&&r==`>`&&i.name==`EndTag`){let t=i.parent;if((a=xF(o.doc,t.parent,n))&&!Vmt.has(a)&&!Mmt(o.doc,t.parent,a))return{range:e,changes:{from:n,to:n+ +(o.doc.sliceString(n,n+1)===`>`),insert:`</${a}>`}}}else if(t&&r==`/`&&i.name==`IncompleteCloseTag`){let e=i.parent;if(i.from==n-2&&e.lastChild?.name!=`CloseTag`&&(a=xF(o.doc,e,n))&&!Vmt.has(a)){let e=n+ +(o.doc.sliceString(n,n+1)===`>`),t=`${a}>`;return{range:CD.cursor(n+t.length,-1),changes:{from:n,to:e,insert:t}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([a,o.update(s,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)})})),Wmt,Gmt,Kmt=s((()=>{yP(),SM(),Wmt=nM({String:W.string,Number:W.number,"True False":W.bool,PropertyName:W.propertyName,Null:W.null,", :":W.separator,"[ ]":W.squareBracket,"{ }":W.brace}),Gmt=vP.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:`#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O`,goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:`⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array`,maxTerm:25,nodeProps:[[`isolate`,-2,6,11,``],[`openedBy`,7,`{`,14,`[`],[`closedBy`,8,`}`,15,`]`]],propSources:[Wmt],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0})}));function qmt(){return new HM(Jmt)}var Jmt,Ymt=s((()=>{Kmt(),lN(),Jmt=IM.define({name:`json`,parser:Gmt.configure({props:[GM.add({Object:TM({except:/^\s*\}/}),Array:TM({except:/^\s*\]/})}),KM.add({"Object Array":EM})]}),languageData:{closeBrackets:{brackets:[`[`,`{`,`"`]},indentOnInput:/^\s*[\}\]]$/}})}));function Xmt(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function Zmt(e){return e==9||e==10||e==13||e==32}function Qmt(e,t){let n=e.pos+t;if(dht==e&&fht==n)return uht;for(;Zmt(e.peek(t));)t++;let r=``;for(;;){let n=e.peek(t);if(!Xmt(n))break;r+=String.fromCharCode(n),t++}return dht=e,fht=n,uht=r||null}function $mt(e,t){this.name=e,this.parent=t}function eht(e,t){return new pP(n=>{let r=0,i=t.charCodeAt(0);scan:for(;!(n.next<0);n.advance(),r++)if(n.next==i){for(let e=1;e<t.length;e++)if(n.peek(e)!=t.charCodeAt(e))continue scan;break}r&&n.acceptToken(e)})}var jF,tht,nht,rht,iht,aht,oht,sht,cht,lht,uht,dht,fht,pht,mht,hht,ght,_ht,vht,yht,bht=s((()=>{yP(),SM(),jF=1,tht=2,nht=3,rht=4,iht=5,aht=36,oht=37,sht=38,cht=11,lht=13,uht=null,dht=null,fht=0,pht=new _P({start:null,shift(e,t,n,r){return t==jF?new $mt(Qmt(r,1)||``,e):e},reduce(e,t){return t==cht&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==jF||i==lht?new $mt(Qmt(r,1)||``,e):e},strict:!1}),mht=new pP((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let n=Qmt(e,0);if(!n)return e.acceptToken(iht);if(t.context&&n==t.context.name)return e.acceptToken(tht);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(nht,-2);e.acceptToken(rht)}else if(e.next!=33&&e.next!=63)return e.acceptToken(jF)}},{contextual:!0}),hht=eht(aht,`-->`),ght=eht(oht,`?>`),_ht=eht(sht,`]]>`),vht=nM({Text:W.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":W.angleBracket,TagName:W.tagName,"MismatchedCloseTag/TagName":[W.tagName,W.invalid],AttributeName:W.attributeName,AttributeValue:W.attributeValue,Is:W.definitionOperator,"EntityReference CharacterReference":W.character,Comment:W.blockComment,ProcessingInst:W.processingInstruction,DoctypeDecl:W.documentMeta,Cdata:W.special(W.string)}),yht=vP.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",stateData:")z~OPQOSVOTWOVWOWWOXWOiXOyPO!QTO!SUO~OvZOx]O~O^`Oz^O~OPQOQcOSVOTWOVWOWWOXWOyPO!QTO!SUO~ORdO~P!SOteO!PgO~OuhO!RjO~O^lOz^O~OvZOxoO~O^qOz^O~O[vO`sOdwOz^O~ORyO~P!SO^{Oz^O~OteO!P}O~OuhO!R!PO~O^!QOz^O~O[!SOz^O~O[!VO`sOd!WOz^O~Oa!YOz^O~Oz^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oz^O~O[!_Oz^O~O[!aOz^O~O[!cO`sOd!dOz^O~O[!cO`sOd!dO~Oa!eOz^O~Oz^O{!gO}!hO~Oz^O[ma`madma~O[!kOz^O~O[!lOz^O~O[!mO`sOd!nO~OW!qOX!qO{!sO|!qO~OW!tOX!tO}!sO!O!tO~O[!vOz^O~OW!qOX!qO{!yO|!qO~OW!tOX!tO}!yO!O!tO~O",goto:"%cxPPPPPPPPPPyyP!PP!VPP!`!jP!pyyyP!v!|#S$[$k$q$w$}%TPPPP%ZXWORYbXRORYb_t`qru!T!U!bQ!i!YS!p!e!fR!w!oQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!j!oQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!j!]R!o!eQu`S!UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:`⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl`,maxTerm:50,context:pht,nodeProps:[[`closedBy`,1,`SelfCloseEndTag EndTag`,13,`CloseTag MissingCloseTag`],[`openedBy`,12,`StartTag StartCloseTag`,19,`OpenTag`,20,`StartTag`],[`isolate`,-6,13,18,19,21,22,24,``]],propSources:[vht],skippedNodes:[0],repeatNodeCount:9,tokenData:"!)v~R!YOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs*vsv$qvw+fwx/ix}$q}!O0[!O!P$q!P!Q2z!Q![$q![!]4n!]!^$q!^!_8U!_!`!#t!`!a!$l!a!b!%d!b!c$q!c!}4n!}#P$q#P#Q!'W#Q#R$q#R#S4n#S#T$q#T#o4n#o%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U$q4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qi$zXVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qa%nVVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%gP&YTVPOv&Tw!^&T!_;'S&T;'S;=`&i<%lO&TP&lP;=`<%l&T`&tS!O`Ov&ox;'S&o;'S;=`'Q<%lO&o`'TP;=`<%l&oa'ZP;=`<%l%gX'eWVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^W(ST|WOr'}sv'}w;'S'};'S;=`(c<%lO'}W(fP;=`<%l'}X(lP;=`<%l'^h(vV|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oh)`P;=`<%l(oi)fP;=`<%l$qo)t`VP|W!O`zUOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk+PV{YVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%g~+iast,n![!]-r!c!}-r#R#S-r#T#o-r%W%o-r%p&a-r&b1p-r4U4d-r4e$IS-r$I`$Ib-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~,qQ!Q![,w#l#m-V~,zQ!Q![,w!]!^-Q~-VOX~~-YR!Q![-c!c!i-c#T#Z-c~-fS!Q![-c!]!^-Q!c!i-c#T#Z-c~-ug}!O-r!O!P-r!Q![-r![!]-r!]!^/^!c!}-r#R#S-r#T#o-r$}%O-r%W%o-r%p&a-r&b1p-r1p4U-r4U4d-r4e$IS-r$I`$Ib-r$Je$Jg-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~/cOW~~/fP;=`<%l-rk/rW}bVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^k0eZVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O1W!O!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk1aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a2S!a;'S$q;'S;=`)c<%lO$qk2_X!PQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qm3TZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a3v!a;'S$q;'S;=`)c<%lO$qm4RXdSVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo4{!P`S^QVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O4n!O!P4n!P!Q$q!Q![4n![!]4n!]!^$q!^!_(o!_!c$q!c!}4n!}#R$q#R#S4n#S#T$q#T#o4n#o$}$q$}%O4n%O%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U4n4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Je$q$Je$Jg4n$Jg$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qo8RP;=`<%l4ni8]Y|W!O`Oq(oqr8{rs&osv(owx'}x!a(o!a!b!#U!b;'S(o;'S;=`)]<%lO(oi9S_|W!O`Or(ors&osv(owx'}x}(o}!O:R!O!f(o!f!g;e!g!}(o!}#ODh#O#W(o#W#XLp#X;'S(o;'S;=`)]<%lO(oi:YX|W!O`Or(ors&osv(owx'}x}(o}!O:u!O;'S(o;'S;=`)]<%lO(oi;OV!QP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oi;lX|W!O`Or(ors&osv(owx'}x!q(o!q!r<X!r;'S(o;'S;=`)]<%lO(oi<`X|W!O`Or(ors&osv(owx'}x!e(o!e!f<{!f;'S(o;'S;=`)]<%lO(oi=SX|W!O`Or(ors&osv(owx'}x!v(o!v!w=o!w;'S(o;'S;=`)]<%lO(oi=vX|W!O`Or(ors&osv(owx'}x!{(o!{!|>c!|;'S(o;'S;=`)]<%lO(oi>jX|W!O`Or(ors&osv(owx'}x!r(o!r!s?V!s;'S(o;'S;=`)]<%lO(oi?^X|W!O`Or(ors&osv(owx'}x!g(o!g!h?y!h;'S(o;'S;=`)]<%lO(oi@QY|W!O`Or?yrs@psv?yvwA[wxBdx!`?y!`!aCr!a;'S?y;'S;=`Db<%lO?ya@uV!O`Ov@pvxA[x!`@p!`!aAy!a;'S@p;'S;=`B^<%lO@pPA_TO!`A[!`!aAn!a;'SA[;'S;=`As<%lOA[PAsOiPPAvP;=`<%lA[aBQSiP!O`Ov&ox;'S&o;'S;=`'Q<%lO&oaBaP;=`<%l@pXBiX|WOrBdrsA[svBdvwA[w!`Bd!`!aCU!a;'SBd;'S;=`Cl<%lOBdXC]TiP|WOr'}sv'}w;'S'};'S;=`(c<%lO'}XCoP;=`<%lBdiC{ViP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiDeP;=`<%l?yiDoZ|W!O`Or(ors&osv(owx'}x!e(o!e!fEb!f#V(o#V#WIr#W;'S(o;'S;=`)]<%lO(oiEiX|W!O`Or(ors&osv(owx'}x!f(o!f!gFU!g;'S(o;'S;=`)]<%lO(oiF]X|W!O`Or(ors&osv(owx'}x!c(o!c!dFx!d;'S(o;'S;=`)]<%lO(oiGPX|W!O`Or(ors&osv(owx'}x!v(o!v!wGl!w;'S(o;'S;=`)]<%lO(oiGsX|W!O`Or(ors&osv(owx'}x!c(o!c!dH`!d;'S(o;'S;=`)]<%lO(oiHgX|W!O`Or(ors&osv(owx'}x!}(o!}#OIS#O;'S(o;'S;=`)]<%lO(oiI]V|W!O`yPOr(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiIyX|W!O`Or(ors&osv(owx'}x#W(o#W#XJf#X;'S(o;'S;=`)]<%lO(oiJmX|W!O`Or(ors&osv(owx'}x#T(o#T#UKY#U;'S(o;'S;=`)]<%lO(oiKaX|W!O`Or(ors&osv(owx'}x#h(o#h#iK|#i;'S(o;'S;=`)]<%lO(oiLTX|W!O`Or(ors&osv(owx'}x#T(o#T#UH`#U;'S(o;'S;=`)]<%lO(oiLwX|W!O`Or(ors&osv(owx'}x#c(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[mht,hht,ght,_ht,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0})}));function MF(e,t){let n=t&&t.getChild(`TagName`);return n?e.sliceString(n.from,n.to):``}function xht(e,t){let n=t&&t.firstChild;return!n||n.name!=`OpenTag`?``:MF(e,n)}function Sht(e,t,n){let r=t&&t.getChildren(`Attribute`).find(e=>e.from<=n&&e.to>=n),i=r&&r.getChild(`AttributeName`);return i?e.sliceString(i.from,i.to):``}function Cht(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name==`Element`)return t;return null}function wht(e,t){let n=CM(e).resolveInner(t,-1),r=null;for(let e=n;!r&&e.parent;e=e.parent)(e.name==`OpenTag`||e.name==`CloseTag`||e.name==`SelfClosingTag`||e.name==`MismatchedCloseTag`)&&(r=e);if(r&&(r.to>t||r.lastChild.type.isError)){let e=r.parent;if(n.name==`TagName`)return r.name==`CloseTag`||r.name==`MismatchedCloseTag`?{type:`closeTag`,from:n.from,context:e}:{type:`openTag`,from:n.from,context:Cht(e)};if(n.name==`AttributeName`)return{type:`attrName`,from:n.from,context:r};if(n.name==`AttributeValue`)return{type:`attrValue`,from:n.from,context:r};let i=n==r||n.name==`Attribute`?n.childBefore(t):n;return i?.name==`StartTag`?{type:`openTag`,from:t,context:Cht(e)}:i?.name==`StartCloseTag`&&i.to<=t?{type:`closeTag`,from:t,context:e}:i?.name==`Is`?{type:`attrValue`,from:t,context:r}:i?{type:`attrName`,from:t,context:r}:null}if(n.name==`StartCloseTag`)return{type:`closeTag`,from:t,context:n.parent};for(;n.parent&&n.to==t&&!n.lastChild?.type.isError;)n=n.parent;return n.name==`Element`||n.name==`Text`||n.name==`Document`?{type:`tag`,from:t,context:n.name==`Element`?n:Cht(n)}:null}function Tht(e){return Object.assign(Object.assign({type:`property`},e.completion||{}),{label:e.name})}function Eht(e){return typeof e==`string`?{label:`"${e}"`,type:`constant`}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function Dht(e,t){let n=[],r=[],i=Object.create(null);for(let e of t){let t=Tht(e);n.push(t),e.global&&r.push(t),e.values&&(i[e.name]=e.values.map(Eht))}let a=[],o=[],s=Object.create(null);for(let t of e){let e=r,c=i;t.attributes&&(e=e.concat(t.attributes.map(e=>typeof e==`string`?n.find(t=>t.label==e)||{label:e,type:`property`}:(e.values&&(c==i&&(c=Object.create(c)),c[e.name]=e.values.map(Eht)),Tht(e)))));let l=new Aht(t,e,c);s[l.name]=l,a.push(l),t.top&&o.push(l)}o.length||(o=a);for(let t=0;t<a.length;t++){let n=e[t],r=a[t];if(n.children)for(let e of n.children)s[e]&&r.children.push(s[e]);else r.children=a}return e=>{let{doc:t}=e.state,n=wht(e.state,e.pos);if(!n||n.type==`tag`&&!e.explicit)return null;let{type:c,from:l,context:u}=n;if(c==`openTag`){let e=o,n=xht(t,u);return n&&(e=s[n]?.children||a),{from:l,options:e.map(e=>e.completion),validFor:NF}}if(c==`closeTag`){let n=xht(t,u);return n?{from:l,to:e.pos+ +(t.sliceString(e.pos,e.pos+1)==`>`),options:[s[n]?.closeNameCompletion||{label:n+`>`,type:`type`}],validFor:NF}:null}if(c==`attrName`)return{from:l,options:s[MF(t,u)]?.attrs||r,validFor:NF};if(c==`attrValue`){let n=Sht(t,u,l);if(!n)return null;let r=(s[MF(t,u)]?.attrValues||i)[n];return!r||!r.length?null:{from:l,to:e.pos+ +(t.sliceString(e.pos,e.pos+1)==`"`),options:r,validFor:/^"[^"]*"?$/}}if(c==`tag`){let n=xht(t,u),r=s[n],i=[],c=u&&u.lastChild;n&&(!c||c.name!=`CloseTag`||MF(t,c)!=n)&&i.push(r?r.closeCompletion:{label:`</`+n+`>`,type:`type`,boost:2});let d=i.concat((r?.children||(u?a:o)).map(e=>e.openCompletion));if(u&&r?.text.length){let t=u.firstChild;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(d=d.concat(r.text))}return{from:l,options:d,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}function Oht(e={}){let t=[PF.data.of({autocomplete:Dht(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(jht),new HM(PF,t)}function kht(e,t,n=e.length){if(!t)return``;let r=t.firstChild,i=r&&r.getChild(`TagName`);return i?e.sliceString(i.from,Math.min(i.to,n)):``}var Aht,NF,PF,jht,Mht=s((()=>{bht(),lN(),tO(),Oj(),Aht=class{constructor(e,t,n){this.attrs=t,this.attrValues=n,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:`type`},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:`<`+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:`</`+this.name+`>`,boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+`>`}),this.text=e.textContent?e.textContent.map(e=>({label:e,type:`text`})):[]}},NF=/^[:\-\.\w\u00b7-\uffff]*$/,PF=IM.define({name:`xml`,parser:yht.configure({props:[GM.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),KM.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!=`OpenTag`?null:{from:t.to,to:n.name==`CloseTag`?n.from:e.to}}}),aN.add({"OpenTag CloseTag":e=>e.getChild(`TagName`)})]}),languageData:{commentTokens:{block:{open:`<!--`,close:`-->`}},indentOnInput:/^\s*<\/$/}}),jht=XA.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=`>`&&r!=`/`||!PF.isActiveAt(e.state,t,-1))return!1;let a=i(),{state:o}=a,s=o.changeByRange(e=>{let{head:t}=e,n=o.doc.sliceString(t-1,t)==r,i=CM(o).resolveInner(t,-1),a;if(n&&r==`>`&&i.name==`EndTag`){let n=i.parent;if(n.parent?.lastChild?.name!=`CloseTag`&&(a=kht(o.doc,n.parent,t)))return{range:e,changes:{from:t,to:t+ +(o.doc.sliceString(t,t+1)===`>`),insert:`</${a}>`}}}else if(n&&r==`/`&&i.name==`StartCloseTag`){let e=i.parent;if(i.from==t-2&&e.lastChild?.name!=`CloseTag`&&(a=kht(o.doc,e,t))){let e=t+ +(o.doc.sliceString(t,t+1)===`>`),n=`${a}>`;return{range:CD.cursor(t+n.length,-1),changes:{from:t,to:e,insert:n}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([a,o.update(s,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)})}));function FF(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r);if(IF(t)||t==-1)return n}}function Nht(e){return e==32||e==9}function IF(e){return e==10||e==13}function Pht(e){return Nht(e)||IF(e)}function LF(e){return e<0||Pht(e)}function RF(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&LF(e.peek(n+3))}function Fht(e){return e>32&&e<127&&e!=34&&e!=37&&e!=44&&e!=60&&e!=62&&e!=92&&e!=94&&e!=96&&e!=123&&e!=124&&e!=125}function Iht(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function Lht(e,t){return e.next==37?(e.advance(),Iht(e.next)&&e.advance(),Iht(e.next)&&e.advance(),!0):Fht(e.next)||t&&e.next==44?(e.advance(),!0):!1}function Rht(e){if(e.advance(),e.next==60){for(e.advance();;)if(!Lht(e,!0)){e.next==62&&e.advance();break}}else for(;Lht(e,!1););}function zht(e){for(e.advance();!LF(e.next)&&zF(e.next)!=`f`;)e.advance()}function Bht(e,t){let n=e.next,r=!1,i=e.pos;for(e.advance();;){let a=e.next;if(a<0)break;if(e.advance(),a==n){if(a==39){if(e.next==39)e.advance();else break}else break}else if(a==92&&n==34)e.next>=0&&e.advance();else if(IF(a)){if(t)return!1;r=!0}else if(t&&e.pos>=i+1024)return!1}return!r}function Vht(e){for(let t=[],n=e.pos+1024;;)if(e.next==91||e.next==123)t.push(e.next),e.advance();else if(e.next==39||e.next==34){if(!Bht(e,!0))return!1}else if(e.next==93||e.next==125){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else if(e.next<0||e.pos>n||IF(e.next))return!1;else e.advance()}function zF(e){return e<33?`u`:e>125?`s`:ggt[e-33]}function Hht(e,t){let n=zF(e);return n!=`u`&&!(t&&n==`f`)}function Uht(e,t,n,r){if(zF(e.next)==`s`||(e.next==63||e.next==58||e.next==45)&&Hht(e.peek(1),n))e.advance();else return!1;let i=e.pos;for(;;){let a=e.next,o=0,s=r+1;for(;Pht(a);){if(IF(a)){if(t)return!1;s=0}else s++;a=e.peek(++o)}if(!(a>=0&&(a==58?Hht(e.peek(o+1),n):a==35?e.peek(o-1)!=32:Hht(a,n)))||!n&&s<=r||s==0&&!n&&(RF(e,45,o)||RF(e,46,o)))break;if(t&&zF(a)==`f`)return!1;for(let t=o;t>=0;t--)e.advance();if(t&&e.pos>i+1024)return!1}return!0}var BF,Wht,Ght,Kht,qht,Jht,Yht,Xht,Zht,Qht,$ht,egt,tgt,ngt,rgt,igt,agt,ogt,sgt,cgt,lgt,ugt,dgt,fgt,VF,HF,UF,WF,GF,pgt,mgt,hgt,ggt,_gt,vgt,ygt,bgt,xgt=s((()=>{yP(),SM(),BF=63,Wht=64,Ght=1,Kht=2,qht=3,Jht=4,Yht=5,Xht=6,Zht=7,Qht=65,$ht=66,egt=8,tgt=9,ngt=10,rgt=11,igt=12,agt=13,ogt=19,sgt=20,cgt=29,lgt=33,ugt=34,dgt=47,fgt=0,VF=1,HF=2,UF=3,WF=4,GF=class{constructor(e,t,n){this.parent=e,this.depth=t,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n}},GF.top=new GF(null,-1,fgt),pgt=new _P({start:GF.top,reduce(e,t){return e.type==UF&&(t==sgt||t==ugt)?e.parent:e},shift(e,t,n,r){if(t==qht)return new GF(e,FF(r,r.pos),VF);if(t==Qht||t==Yht)return new GF(e,FF(r,r.pos),HF);if(t==BF)return e.parent;if(t==ogt||t==lgt)return new GF(e,0,UF);if(t==agt&&e.type==WF)return e.parent;if(t==dgt){let t=/[1-9]/.exec(r.read(r.pos,n.pos));if(t)return new GF(e,e.depth+ +t[0],WF)}return e},hash(e){return e.hash}}),mgt=new pP((e,t)=>{if(e.next==-1&&t.canShift(Wht))return e.acceptToken(Wht);let n=e.peek(-1);if((IF(n)||n<0)&&t.context.type!=UF){if(RF(e,45)){if(t.canShift(BF))e.acceptToken(BF);else return e.acceptToken(Ght,3)}if(RF(e,46)){if(t.canShift(BF))e.acceptToken(BF);else return e.acceptToken(Kht,3)}let n=0;for(;e.next==32;)n++,e.advance();(n<t.context.depth||n==t.context.depth&&t.context.type==VF&&(e.next!=45||!LF(e.peek(1))))&&e.next!=-1&&!IF(e.next)&&e.next!=35&&e.acceptToken(BF,-n)}},{contextual:!0}),hgt=new pP((e,t)=>{if(t.context.type==UF)e.next==63&&(e.advance(),LF(e.next)&&e.acceptToken(Zht));else if(e.next==45)e.advance(),LF(e.next)&&e.acceptToken(t.context.type==VF&&t.context.depth==FF(e,e.pos-1)?Jht:qht);else if(e.next==63)e.advance(),LF(e.next)&&e.acceptToken(t.context.type==HF&&t.context.depth==FF(e,e.pos-1)?Xht:Yht);else{let n=e.pos;for(;;)if(Nht(e.next)){if(e.pos==n)return;e.advance()}else if(e.next==33)Rht(e);else if(e.next==38)zht(e);else if(e.next==42){zht(e);break}else if(e.next==39||e.next==34){if(Bht(e,!0))break;return}else if(e.next==91||e.next==123){if(!Vht(e))return;break}else{Uht(e,!0,!1,0);break}for(;Nht(e.next);)e.advance();if(e.next==58){if(e.pos==n&&t.canShift(cgt))return;LF(e.peek(1))&&e.acceptTokenTo(t.context.type==HF&&t.context.depth==FF(e,n)?$ht:Qht,n)}}},{contextual:!0}),ggt=`iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif`,_gt=new pP((e,t)=>{if(e.next==33)Rht(e),e.acceptToken(igt);else if(e.next==38||e.next==42){let t=e.next==38?ngt:rgt;zht(e),e.acceptToken(t)}else e.next==39||e.next==34?(Bht(e,!1),e.acceptToken(tgt)):Uht(e,!1,t.context.type==UF,t.context.depth)&&e.acceptToken(egt)}),vgt=new pP((e,t)=>{let n=t.context.type==WF?t.context.depth:-1,r=e.pos;scan:for(;;){let i=0,a=e.next;for(;a==32;)a=e.peek(++i);if(!i&&(RF(e,45,i)||RF(e,46,i))||!IF(a)&&(n<0&&(n=Math.max(t.context.depth+1,i)),i<n))break;for(;;){if(e.next<0)break scan;let t=IF(e.next);if(e.advance(),t)continue scan;r=e.pos}}e.acceptTokenTo(agt,r)}),ygt=nM({DirectiveName:W.keyword,DirectiveContent:W.attributeValue,"DirectiveEnd DocEnd":W.meta,QuotedLiteral:W.string,BlockLiteralHeader:W.special(W.string),BlockLiteralContent:W.content,Literal:W.content,"Key/Literal Key/QuotedLiteral":W.definition(W.propertyName),"Anchor Alias":W.labelName,Tag:W.typeName,Comment:W.lineComment,": , -":W.separator,"?":W.punctuation,"[ ]":W.squareBracket,"{ }":W.brace}),bgt=vP.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:`⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document`,maxTerm:74,context:pgt,nodeProps:[[`isolate`,-3,8,9,14,``],[`openedBy`,18,`[`,32,`{`],[`closedBy`,19,`]`,33,`}`]],propSources:[ygt],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[mgt,hgt,_gt,vgt,0,1],topRules:{Stream:[0,15]},tokenPrec:0})}));function Sgt(){return new HM(Cgt)}var Cgt,wgt=s((()=>{xgt(),lN(),SM(),yP(),Cgt=IM.define({name:`yaml`,parser:bgt.configure({props:[GM.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if(t.name==`BlockLiteralContent`&&t.from<t.to)return e.baseIndentFor(t);if(t.name==`BlockLiteral`)return e.baseIndentFor(t)+e.unit;if(t.name==`BlockSequence`||t.name==`BlockMapping`)return e.column(t.firstChild.from,1);if(t.name==`QuotedLiteral`)return null;if(t.name==`Literal`){let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)return null}}return null},FlowMapping:wM({closing:`}`}),FlowSequence:wM({closing:`]`})}),KM.add({"FlowMapping FlowSequence":EM,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:`#`},indentOnInput:/^\s*[\]\}]$/}}),W.meta}));function KF(e,t=null,n=0){let r=null;return e.between(n,1e9,(e,n,{spec:i})=>{if(!(t&&i.diagnostics.indexOf(t)<0)){if(!r)r=new Rgt(e,n,t||i.diagnostics[0]);else if(i.diagnostics.indexOf(r.diagnostic)<0)return!1;else r=new Rgt(r.from,n,r.diagnostic)}}),r}function Tgt(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(ZF).hideOn(e,n,r);if(i!=null)return i;let a=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(YF))||e.changes.touchesRange(a.from,Math.max(a.to,r)))}function Egt(e,t){return e.field(XF,!1)?t:t.concat(UD.appendConfig.of(Ygt))}function Dgt(e,t){return{effects:Egt(e,[YF.of(t)])}}function Ogt(e,t,n){let{diagnostics:r}=e.state.field(XF),i,a=-1,o=-1;r.between(t-+(n<0),t+ +(n>0),(e,r,{spec:s})=>{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0)))return i=s.diagnostics,a=e,o=r,!1});let s=e.state.facet(ZF).tooltipFilter;return i&&s&&(i=s(i,e.state)),i?{pos:a,end:o,above:!0,create(){return{dom:kgt(e,i)}}}:null}function kgt(e,t){return dO(`ul`,{class:`cm-tooltip-lint`},t.map(t=>Pgt(e,t,!1)))}function Agt(e,t,n){let r=[],i=-1;for(let a of e)a.then(n=>{r.push(n),clearTimeout(i),r.length==e.length?t(r):i=setTimeout(()=>t(r),200)},n)}function jgt(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function Mgt(e,t={}){return[ZF.of({source:e,config:t}),Ugt,Ygt]}function Ngt(e){let t=[];if(e)actions:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue actions}}t.push(``)}return t}function Pgt(e,t,n){let r=n?Ngt(t.actions):[];return dO(`li`,{class:`cm-diagnostic cm-diagnostic-`+t.severity},dO(`span`,{class:`cm-diagnosticText`},t.renderMessage?t.renderMessage(e):t.message),t.actions?.map((n,i)=>{let a=!1,o=r=>{if(r.preventDefault(),a)return;a=!0;let i=KF(e.state.field(XF).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:s}=n,c=r[i]?s.indexOf(r[i]):-1,l=c<0?s:[s.slice(0,c),dO(`u`,s.slice(c,c+1)),s.slice(c+1)];return dO(`button`,{type:`button`,class:`cm-diagnosticAction`+(n.markClass?` `+n.markClass:``),onclick:o,onmousedown:o,"aria-label":` Action: ${s}${c<0?``:` (access key "${r[i]})"`}.`},l)}),t.source&&dO(`div`,{class:`cm-diagnosticSource`},t.source))}function Fgt(e,t=`viewBox="0 0 40 40"`){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}function qF(e){return Fgt(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,`width="6" height="3"`)}function Igt(e){return e==`error`?4:e==`warning`?3:e==`info`?2:1}function Lgt(e){let t=`hint`,n=1;for(let r of e){let e=Igt(r.severity);e>n&&(n=e,t=r.severity)}return t}var Rgt,JF,YF,zgt,Bgt,XF,Vgt,Hgt,Ugt,ZF,Wgt,Ggt,Kgt,qgt,Jgt,Ygt,Xgt=s((()=>{Oj(),tO(),Git(),Rgt=class{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}},JF=class e{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(t,n,r){let i=r.facet(ZF).markerFilter;i&&(t=i(t,r));let a=t.slice().sort((e,t)=>e.from-t.from||e.to-t.to),o=new ZD,s=[],c=0,l=r.doc.iter(),u=0,d=r.doc.length;for(let e=0;;){let t=e==a.length?null:a[e];if(!t&&!s.length)break;let n,r;if(s.length)n=c,r=s.reduce((e,t)=>Math.min(e,t.to),t&&t.from>n?t.from:1e8);else{if(n=t.from,n>d)break;r=t.to,s.push(t),e++}for(;e<a.length;){let t=a[e];if(t.from==n&&(t.to>t.from||t.to==n))s.push(t),e++,r=Math.min(t.to,r);else{r=Math.min(t.from,r);break}}r=Math.min(r,d);let i=!1;if(s.some(e=>e.from==n&&(e.to==r||r==d))&&(i=n==r,!i&&r-n<10)){let e=n-(u+l.value.length);e>0&&(l.next(e),u=n);for(let e=n;;){if(e>=r){i=!0;break}if(!l.lineBreak&&u+l.value.length>e)break;e=u+l.value.length,u+=l.value.length,l.next()}}let f=Lgt(s);if(i)o.add(n,n,ck.widget({widget:new Wgt(f),diagnostics:s.slice()}));else{let e=s.reduce((e,t)=>t.markClass?e+` `+t.markClass:e,``);o.add(n,r,ck.mark({class:`cm-lintRange cm-lintRange-`+f+e,diagnostics:s.slice(),inclusiveEnd:s.some(e=>e.to>r)}))}if(c=r,c==d)break;for(let e=0;e<s.length;e++)s[e].to<=c&&s.splice(e--,1)}let f=o.finish();return new e(f,n,KF(f))}},YF=UD.define(),zgt=UD.define(),Bgt=UD.define(),XF=OD.define({create(){return new JF(ck.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=KF(n,e.selected.diagnostic,i)||KF(n,null,i)}!n.size&&i&&t.state.facet(ZF).autoPanel&&(i=null),e=new JF(n,i,r)}for(let n of t.effects)if(n.is(YF)){let r=t.state.facet(ZF).autoPanel?n.value.length?Kgt.open:null:e.panel;e=JF.init(n.value,r,t.state)}else n.is(zgt)?e=new JF(e.diagnostics,n.value?Kgt.open:null,e.selected):n.is(Bgt)&&(e=new JF(e.diagnostics,e.panel,n.value));return e},provide:e=>[yj.from(e,e=>e.panel),XA.decorations.from(e,e=>e.diagnostics)]}),Vgt=ck.mark({class:`cm-lintRange cm-lintRange-active`}),Hgt=e=>{let t=e.state.field(XF,!1);return!t||!t.panel?!1:(e.dispatch({effects:zgt.of(!1)}),!0)},Ugt=Vk.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(ZF);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:e}=this.view,{sources:t}=e.facet(ZF);t.length&&Agt(t.map(e=>Promise.resolve(e(this.view))),t=>{this.view.state.doc==e.doc&&this.view.dispatch(Dgt(this.view.state,t.reduce((e,t)=>e.concat(t))))},e=>{OO(this.view.state,e)})}}update(e){let t=e.state.facet(ZF);(e.docChanged||t!=e.startState.facet(ZF)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),ZF=TD.define({combine(e){return{sources:e.map(e=>e.source).filter(e=>e!=null),...nD(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:jgt,tooltipFilter:jgt,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,r,i)=>e(n,r,i)||t(n,r,i):e:t,autoPanel:(e,t)=>e||t})}}}),Wgt=class extends ok{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return dO(`span`,{class:`cm-lintPoint cm-lintPoint-`+this.sev})}},Ggt=class{constructor(e,t){this.diagnostic=t,this.id=`item_`+Math.floor(Math.random()*4294967295).toString(16),this.dom=Pgt(e,t,!0),this.dom.id=this.id,this.dom.setAttribute(`role`,`option`)}},Kgt=class e{constructor(e){this.view=e,this.items=[];let t=t=>{if(!(t.ctrlKey||t.altKey||t.metaKey)){if(t.keyCode==27)Hgt(this.view),this.view.focus();else if(t.keyCode==38||t.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(t.keyCode==40||t.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(t.keyCode==36)this.moveSelection(0);else if(t.keyCode==35)this.moveSelection(this.items.length-1);else if(t.keyCode==13)this.view.focus();else if(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:n}=this.items[this.selectedIndex],r=Ngt(n.actions);for(let i=0;i<r.length;i++)if(r[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=KF(this.view.state.field(XF).diagnostics,n);t&&n.actions[i].apply(e,t.from,t.to)}}else return;t.preventDefault()}},n=e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)};this.list=dO(`ul`,{tabIndex:0,role:`listbox`,"aria-label":this.view.state.phrase(`Diagnostics`),onkeydown:t,onclick:n}),this.dom=dO(`div`,{class:`cm-panel-lint`},this.list,dO(`button`,{type:`button`,name:`close`,"aria-label":this.view.state.phrase(`close`),onclick:()=>Hgt(this.view)},`×`)),this.update()}get selectedIndex(){let e=this.view.state.field(XF).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(XF),n=0,r=!1,i=null,a=new Set;for(e.between(0,this.view.state.doc.length,(e,o,{spec:s})=>{for(let e of s.diagnostics){if(a.has(e))continue;a.add(e);let o=-1,s;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){o=t;break}o<0?(s=new Ggt(this.view,e),this.items.splice(n,0,s),r=!0):(s=this.items[o],o>n&&(this.items.splice(n,o-n),r=!0)),t&&s.diagnostic==t.diagnostic?s.dom.hasAttribute(`aria-selected`)||(s.dom.setAttribute(`aria-selected`,`true`),i=s):s.dom.hasAttribute(`aria-selected`)&&s.dom.removeAttribute(`aria-selected`),n++}});n<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();this.items.length==0&&(this.items.push(new Ggt(this.view,{from:-1,to:-1,severity:`info`,message:this.view.state.phrase(`No diagnostics`)})),r=!0),i?(this.list.setAttribute(`aria-activedescendant`,i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute(`aria-activedescendant`),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=KF(this.view.state.field(XF).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:Bgt.of(t)})}static open(t){return new e(t)}},qgt=XA.baseTheme({".cm-diagnostic":{padding:`3px 6px 3px 8px`,marginLeft:`-1px`,display:`block`,whiteSpace:`pre-wrap`},".cm-diagnostic-error":{borderLeft:`5px solid #d11`},".cm-diagnostic-warning":{borderLeft:`5px solid orange`},".cm-diagnostic-info":{borderLeft:`5px solid #999`},".cm-diagnostic-hint":{borderLeft:`5px solid #66d`},".cm-diagnosticAction":{font:`inherit`,border:`none`,padding:`2px 4px`,backgroundColor:`#444`,color:`white`,borderRadius:`3px`,marginLeft:`8px`,cursor:`pointer`},".cm-diagnosticSource":{fontSize:`70%`,opacity:.7},".cm-lintRange":{backgroundPosition:`left bottom`,backgroundRepeat:`repeat-x`,paddingBottom:`0.7px`},".cm-lintRange-error":{backgroundImage:qF(`#f11`)},".cm-lintRange-warning":{backgroundImage:qF(`orange`)},".cm-lintRange-info":{backgroundImage:qF(`#999`)},".cm-lintRange-hint":{backgroundImage:qF(`#66d`)},".cm-lintRange-active":{backgroundColor:`#ffdd9980`},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:`relative`,"&:after":{content:`""`,position:`absolute`,bottom:0,left:`-2px`,borderLeft:`3px solid transparent`,borderRight:`3px solid transparent`,borderBottom:`4px solid #d11`}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:`orange`}},".cm-lintPoint-info":{"&:after":{borderBottomColor:`#999`}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:`#66d`}},".cm-panel.cm-panel-lint":{position:`relative`,"& ul":{maxHeight:`100px`,overflowY:`auto`,"& [aria-selected]":{backgroundColor:`#ddd`,"& u":{textDecoration:`underline`}},"&:focus [aria-selected]":{background_fallback:`#bdf`,backgroundColor:`Highlight`,color_fallback:`white`,color:`HighlightText`},"& u":{textDecoration:`none`},padding:0,margin:0},"& [name=close]":{position:`absolute`,top:`0`,right:`2px`,background:`inherit`,border:`none`,font:`inherit`,padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:`#86714a80`},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:`#2e343e`}}}),Jgt=qot(Ogt,{hideOn:Tgt}),Ygt=[XF,XA.decorations.compute([XF],e=>{let{selected:t,panel:n}=e.field(XF);return!t||!n||t.from==t.to?ck.none:ck.set([Vgt.range(t.from,t.to)])}),Jgt,qgt]})),Zgt,Qgt=s((()=>{lN(),Oj(),Zgt=({theme:e,settings:t={},styles:n=[]})=>{let r={".cm-gutters":{}},i={};t.background&&(i.backgroundColor=t.background),t.backgroundImage&&(i.backgroundImage=t.backgroundImage),t.foreground&&(i.color=t.foreground),t.fontSize&&(i.fontSize=t.fontSize),(t.background||t.foreground)&&(r[`&`]=i),t.fontFamily&&(r[`&.cm-editor .cm-scroller`]={fontFamily:t.fontFamily}),t.gutterBackground&&r[`.cm-gutters`]&&(r[`.cm-gutters`].backgroundColor=t.gutterBackground),t.gutterForeground&&r[`.cm-gutters`]&&(r[`.cm-gutters`].color=t.gutterForeground),t.gutterBorder&&r[`.cm-gutters`]&&(r[`.cm-gutters`].borderRightColor=t.gutterBorder),t.caret&&(r[`.cm-content`]={caretColor:t.caret},r[`.cm-cursor, .cm-dropCursor`]={borderLeftColor:t.caret});let a={};return t.gutterActiveForeground&&(a.color=t.gutterActiveForeground),t.lineHighlight&&(r[`.cm-activeLine`]={backgroundColor:t.lineHighlight},a.backgroundColor=t.lineHighlight),r[`.cm-activeLineGutter`]=a,t.selection&&(r[`&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection`]={background:t.selection+` !important`}),t.selectionMatch&&(r[`& .cm-selectionMatch`]={backgroundColor:t.selectionMatch}),[XA.theme(r,{dark:e===`dark`}),flt($M.define(n))]}})),$gt,e_t=s((()=>{SM(),Qgt(),$gt=Zgt({theme:`light`,settings:{background:`var(--scalar-background-2)`,foreground:`var(--scalar-color-1)`,caret:`var(--scalar-color-1)`,selectionMatch:`#e3dcce`,gutterBackground:`var(--scalar-background-2)`,gutterForeground:`var(--scalar-color-3)`,gutterBorder:`transparent`,lineHighlight:`var(--scalar-background-3)`,fontFamily:`var(--scalar-font-code)`},styles:[{tag:[W.standard(W.tagName),W.tagName],color:`var(--scalar-color-purple)`},{tag:[W.comment],color:`var(--scalar-color-3)`},{tag:[W.className],color:`var(--scalar-color-orange)`},{tag:[W.variableName,W.propertyName,W.attributeName],color:`var(--scalar-color-1)`},{tag:[W.operator],color:`var(--scalar-color-2)`},{tag:[W.keyword,W.typeName,W.typeOperator],color:`var(--scalar-color-green)`},{tag:[W.string],color:`var(--scalar-color-blue)`},{tag:[W.bracket,W.regexp,W.meta],color:`var(--scalar-color-3)`},{tag:[W.number],color:`var(--scalar-color-orange)`},{tag:[W.name,W.quote],color:`var(--scalar-color-3)`},{tag:[W.heading],color:`var(--scalar-color-3)`,fontWeight:`bold`},{tag:[W.emphasis],color:`var(--scalar-color-3)`,fontStyle:`italic`},{tag:[W.deleted],color:`var(--scalar-color-3)`,backgroundColor:`transparent`},{tag:[W.atom,W.bool,W.special(W.variableName)],color:`var(--scalar-color-3)`},{tag:[W.url,W.escape,W.regexp,W.link],color:`var(--scalar-color-1)`},{tag:W.link,textDecoration:`underline`},{tag:W.strikethrough,textDecoration:`line-through`},{tag:W.invalid,color:`var(--scalar-color-3)`}]})})),t_t,n_t,r_t=s((()=>{Oj(),t_t=new ij({regexp:/(\{[^}]+\})/g,decoration:()=>ck.mark({attributes:{class:`api-client-url-variable`}})}),n_t=()=>Vk.fromClass(class{variables;constructor(e){this.variables=t_t.createDeco(e)}update(e){this.variables=t_t.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>XA.atomicRanges.of(t=>t.plugin(e)?.variables||ck.none)})}));function i_t({onChange:e,onBlur:t,onFocus:n,provider:r,language:i,classes:a=[],readOnly:o=!1,lineNumbers:s=!1,withVariables:c=!1,forceFoldGutter:l=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:f=!1,withoutTheme:p=!1,lint:m=!1,additionalExtensions:h=[],placeholder:g}){let _=[Rot(),bdt(),$A.of(Pdt),flt(Nlt,{fallback:!0}),XA.theme({".cm-line":{lineHeight:`22px`,padding:`0 2px 0 4px`},".cm-gutterElement":{lineHeight:`22px`},".cm-foldGutter .cm-gutterElement":{display:`flex`,alignItems:`center`,paddingLeft:`4px`},".cm-foldMarker":{display:`flex`,alignItems:`center`,justifyContent:`center`,height:`22px`,color:`var(--scalar-color-3)`,cursor:`pointer`},".cm-foldMarker:hover":{color:`var(--scalar-color-1)`},".cm-foldMarker svg":{width:`16px`,height:`16px`},".cm-tooltip":{background:`var(--scalar-background-1)`,border:`1px solid var(--scalar-border-color)`,borderRadius:`var(--scalar-radius)`,boxShadow:`var(--scalar-shadow-2)`,fontSize:`12px`,overflow:`hidden`},".cm-tooltip-autocomplete ul":{padding:`6px`},".cm-tooltip-autocomplete ul li":{padding:`3px 6px`,color:`var(--scalar-color-1)`,borderRadius:`3px`},".cm-tooltip-autocomplete ul li[aria-selected]":{background:`var(--scalar-background-2)`,color:`var(--scalar-color-1)`},".cm-tooltip-autocomplete ul li:hover":{background:`var(--scalar-background-3)`,color:`var(--scalar-color-1)`},".cm-completionLabel":{color:`var(--scalar-color-1)`},".cm-completionDetail":{color:`var(--scalar-color-3)`},".cm-tooltip-lint":{backgroundColor:`var(--scalar-background-1)`},".cm-diagnostic-error":{borderLeft:`0`,color:`#dc1b19`},".cm-foldPlaceholder":{background:`var(--scalar-background-1)`,border:`none`,fontFamily:`var(--scalar-font)`}}),XA.updateListener.of(t=>{t.docChanged&&e?.(t.state.doc.toString())}),XA.domEventHandlers({blur:(e,n)=>{t?.(n.state.doc.toString(),e)},focus:(e,t)=>{n?.(t.state.doc.toString(),e)}}),XA.editorAttributes.of({class:a.join(` `)}),...h];if(r&&_.push(r),p||_.push($gt),o?_.push(XA.editable.of(!1)):(_.push(nlt(),hlt(),Rut(),$A.of([...JN,s_t]),hlt()),d||_.push(Eut(),$A.of([..._dt])),f?_.push($A.of([{key:`Tab`,run:()=>!1,shift:()=>!1}])):_.push($A.of([Rdt]))),g&&_.push(Vot(g)),s&&_.push(est()),l&&_.push(dlt({markerDOM:e=>{let t=document.createElement(`div`);return t.classList.add(`cm-foldMarker`),t.innerHTML=e?a_t:o_t,t}})),i&&l_t[i]&&(_.push(l_t[i]()),l||_.push(dlt({markerDOM:e=>{let t=document.createElement(`div`);return t.classList.add(`cm-foldMarker`),t.innerHTML=e?a_t:o_t,t}}))),m&&i===`json`){let e=Mgt(e=>{let t=[],n=e.state.doc.toString();if(n.trim())try{JSON.parse(n)}catch(n){n instanceof Error&&t.push({from:0,to:e.state.doc.length,severity:`error`,message:n.message})}return t});_.push(e)}return c&&_.push(n_t()),u?_.push($A.of([{key:`Enter`,run:()=>!0},{key:`Ctrl-Enter`,mac:`Cmd-Enter`,run:()=>!0},{key:`Shift-Enter`,run:()=>!0}])):_.push($A.of([{key:`Enter`,run:Fdt}])),_}var a_t,o_t,QF,s_t,c_t,l_t,u_t=s((()=>{ydt(),zdt(),Hft(),Umt(),Ymt(),Mht(),wgt(),lN(),Xgt(),tO(),Oj(),B(),e_t(),r_t(),a_t=`<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m18 10-6 6-6-6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>`,o_t=`<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>`,XA.EDIT_CONTEXT=!1,QF=e=>`provider`in e&&!!wn(e.provider),s_t={key:`Mod-a`,run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},c_t=e=>{let t=E(null),n=(e=``)=>{t.value&&t.value.state.doc.toString()!==e&&t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:e},selection:{anchor:Math.min(t.value.state.selection.main.anchor,e.length)}})},r=z(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:wn(e.disableTabIndent),language:wn(e.language),classes:wn(e.classes),readOnly:wn(e.readOnly),lineNumbers:wn(e.lineNumbers),withVariables:wn(e.withVariables),forceFoldGutter:wn(e.forceFoldGutter),disableEnter:wn(e.disableEnter),disableCloseBrackets:wn(e.disableCloseBrackets),withoutTheme:wn(e.withoutTheme),lint:wn(e.lint),additionalExtensions:wn(e.extensions),placeholder:wn(e.placeholder)}));dr(e.codeMirrorRef,()=>{t.value?.destroy(),i()},{immediate:!0}),Ri(()=>t.value?.destroy());function i(){if(e.codeMirrorRef.value){let i=QF(e)?wn(e.provider):null,a=i_t({...r.value,provider:i});t.value=new XA({parent:e.codeMirrorRef.value,extensions:a}),QF(e)||n(wn(e.content))}}return dr(()=>QF(e)?wn(e.provider):null,()=>{QF(e)&&(t.value?.destroy(),i())}),dr(r,()=>{if(!t.value)return;let n=QF(e)?wn(e.provider):null,i=i_t({...r.value,provider:n});requestAnimationFrame(()=>{t.value?.dispatch({effects:UD.reconfigure.of(i)})})},{immediate:!0}),dr(()=>wn(e.content),()=>{QF(e)||n(wn(e.content))},{immediate:!0}),{setCodeMirrorContent:n,codeMirror:t}},l_t={html:jmt,json:qmt,yaml:Sgt,css:Fft,xml:Oht}}));function d_t(e){let{codeMirror:t,query:n,showDropdown:r,dropdownPosition:i}=e;function a(){return t.value?.state.selection.main.head||0}function o(e){return t.value?.coordsAtPos(e)}function s(){let e=a();requestAnimationFrame(()=>{let t=o(e-n.value.length-2);t&&(i.value={left:t.left,top:Math.max(t.bottom)})})}dr(n,s);function c(e){let i=`{{${e}}}`,o=a(),s=Math.max(0,o-n.value.length-2),c=o;t.value?.dispatch({changes:{from:s,to:c,insert:i}}),r.value=!1}function l(){let e=a(),c=t.value?.state.doc.sliceString(0,e)||``,l=c.lastIndexOf(`{{`);l>c.lastIndexOf(`}}`)?(n.value=c.slice(l+2),r.value=!0,i.value=o(e)||{left:0,top:0},n.value===``&&s()):r.value=!1}return dr(()=>t.value?.state.doc.toString(),l),{handleDropdownSelect:c,updateDropdownVisibility:l}}var f_t=s((()=>{B()})),$F=s((()=>{tO(),Oj(),aut(),u_t(),f_t()})),p_t,m_t,h_t,g_t=s((()=>{eit(),B(),$F(),rS(),ic(),p_t=class e extends ok{variableName;translate;app;pillColor;variableInfo;constructor(e,t,n,r){if(super(),this.variableName=e,this.translate=r,n===`contextFunction`){this.pillColor=`var(--scalar-color-3)`,this.variableInfo={type:`contextFunction`,identifier:e,details:fb(e)};return}this.pillColor=t?.color||`var(--scalar-color-1)`;let i=t?.variables?.find(t=>t.name===e),a=typeof i?.value==`string`?i.value:i?.value?.default;this.variableInfo={type:`environment`,name:e,value:a||`No value`,isDefined:!!a}}toDOM(){let e=document.createElement(`span`);return e.className=this.variableInfo.type===`contextFunction`?`cm-pill cm-pill--context-fn`:`cm-pill`,e.textContent=this.variableName,e.style.setProperty(`--tw-bg-base`,this.pillColor),this.variableInfo.type===`environment`&&(e.style.opacity=this.variableInfo.isDefined?`1`:`0.5`),this.app=Xa(FE,{context:this.variableInfo,target:e,translate:this.translate}),this.app.mount(document.createElement(`div`)),e}destroy(){this.app&&=(this.app.unmount(),null)}eq(t){if(!(t instanceof e)||t.variableName!==this.variableName||t.pillColor!==this.pillColor||t.variableInfo.type!==this.variableInfo.type)return!1;let n=t.variableInfo,r=this.variableInfo;return n.type===r.type?n.type===`environment`&&r.type===`environment`?n.name===r.name&&n.value===r.value&&n.isDefined===r.isDefined:n.type===`contextFunction`&&r.type===`contextFunction`&&n.identifier===r.identifier&&n.details===r.details:!1}ignoreEvent(){return!1}},m_t=e=>Vk.fromClass(class{decorations;lastEnvironment;constructor(t){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t)}update(t){e.environment===this.lastEnvironment?(t.docChanged||t.viewportChanged)&&(this.decorations=this.buildDecorations(t.view)):(this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t.view))}buildDecorations(t){let n=new ZD,r=e.isContextFunctionName??(()=>!1);for(let{from:i,to:a}of t.visibleRanges){let o=t.state.doc.sliceString(i,a),s=new RegExp(rc.VARIABLES.source,rc.VARIABLES.flags),c;for(;(c=s.exec(o))!==null;){let a=i+c.index,o=a+c[0].length,s=c[1]??``;if(t.state.doc.sliceString(a,o).includes(`
+`))continue;let l=r(s)?`contextFunction`:`environment`;n.add(a,o,ck.widget({widget:new p_t(s,e.environment,l,e.translate),side:1}))}}return n.finish()}},{decorations:e=>e.decorations}),h_t=XA.domEventHandlers({keydown(e,t){if(e.key!==`Backspace`)return!1;let{state:n}=t,{from:r,to:i}=n.selection.main;return r===0&&i===n.doc.length?(t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0):r===i&&r>=2&&n.doc.sliceString(r-2,r)===`}}`&&(t.dispatch({changes:{from:r-2,to:r},selection:{anchor:r-2}}),e.preventDefault(),!0)}})})),__t,v_t,y_t,b_t=s((()=>{j7e(),hS(),OE(),Kl(),B(),__t=[`aria-disabled`],v_t={key:0,class:`sr-only`},y_t=k({inheritAttrs:!1,__name:`ScalarIconButton`,props:{label:{},icon:{type:[Object,Function]},disabled:{type:Boolean},variant:{default:`ghost`},size:{default:`md`},thickness:{},weight:{},tooltip:{type:[Boolean,String,Object]}},setup(e){let t=Ul({base:`scalar-icon-button grid aspect-square cursor-pointer rounded`,variants:{size:{xxs:`size-3.5 p-0.5`,xs:`size-5 p-1`,sm:`size-6 p-1`,md:`size-10 p-3`,full:`size-full`},disabled:{true:`cursor-not-allowed shadow-none`},variant:A7e},compoundVariants:[{size:`md`,variant:`ghost`,class:`size-8 p-2 m-1 -outline-offset-2 rounded-lg`}]}),{cx:n}=Gl(),r=Cr(`ref`);return CE({content:z(()=>e.label),offset:z(()=>e.variant===`ghost`?0:4),placement:z(()=>typeof e.tooltip==`boolean`?void 0:e.tooltip),targetRef:z(()=>e.tooltip?r.value:void 0)}),(r,i)=>(j(),M(`button`,oi({ref:`ref`,"aria-disabled":e.disabled,type:`button`},D(n)(D(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[R(D(mS),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,[`icon`,`thickness`,`weight`]),e.tooltip?I(``,!0):(j(),M(`span`,v_t,T(e.label),1))],16,__t))}})})),eI,tI=s((()=>{b_t(),eI=y_t})),nI=s((()=>{tI()})),x_t,S_t=s((()=>{x_t=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`})),rI,iI=s((()=>{S_t(),rI=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=x_t[n[e]&63];return t}})),C_t,w_t,T_t,E_t,D_t,O_t,k_t,A_t,j_t=s((()=>{Fs(),zT(),wrt(),g_t(),B(),Qs(),nI(),Zl(),$F(),rS(),iI(),C_t={class:`whitespace-nowrap`},w_t=[`id`],T_t={key:0,class:`absolute top-2 right-2 z-10 flex items-center opacity-0 transition-opacity duration-150 group-hover/input:opacity-100 group-has-focus-visible/input:opacity-100`},E_t={key:1,class:`z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block`,role:`alert`},D_t={key:5,class:`centered-y text-orange absolute right-7 text-xs`},O_t={key:6,class:`centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1`},k_t={key:7,class:`required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.alert]:shadow-none group-[.error]:bg-transparent group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0`},A_t=k({inheritAttrs:!1,__name:`CodeInput`,props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},type:{},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:`desktop`},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1},placeholder:{},required:{type:Boolean},colorPicker:{type:Boolean,default:!1},lineNumbers:{type:Boolean,default:!1},lint:{type:Boolean,default:!1},lineWrapping:{type:Boolean,default:!1},language:{},extensions:{default:()=>[]},disableTabIndent:{type:Boolean,default:!1},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},handleFieldChange:{type:Function},handleFieldSubmit:{type:Function},linethrough:{type:Boolean}},emits:[`update:modelValue`,`submit`,`navigate`,`blur`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Ps(),a=Fr(),o=typeof a.id==`string`&&a.id||`id-${rI()}`,s=E(!1),c=z(()=>e.enum?.length?!1:e.type===`boolean`||Array.isArray(e.type)&&e.type.includes(`boolean`)),l=z(()=>e.nullable?[`true`,`false`,`null`]:[`true`,`false`]),u=z(()=>Array.isArray(e.type)?e.type.find(e=>e!==`null`)??`string`:e.type),d=t=>{(e.alwaysEmitChange||t!==te(e.modelValue))&&(e.handleFieldChange?e.handleFieldChange(t):r(`update:modelValue`,t))},f=(t,n)=>{e.handleFieldSubmit?e.handleFieldSubmit(t):r(`submit`,t,n)},p=(t,n)=>{s.value=!1,e.emitOnBlur&&e.modelValue&&f(t,n),r(`blur`,t,n)},m=e=>r(`update:modelValue`,e),h=()=>{let t=[...e.extensions];return e.colorPicker&&t.push(iut),t},g=z(()=>e.withFakeData?pb.map(e=>({key:e,description:fb(e)})):[]),_=z(()=>m_t({environment:e.environment,isContextFunctionName:mb,isReadOnly:e.layout===`modal`,translate:i})),v=E(e.lineWrapping);dr(()=>e.lineWrapping,e=>{v.value=e});let y=()=>{v.value=!v.value},b=z(()=>v.value?[XA.lineWrapping]:[]),x=z(()=>[...h(),...b.value,_.value,h_t]),ee=E(null),te=e=>typeof e==`string`?e:JSON.stringify(e),{codeMirror:ne,setCodeMirrorContent:re}=c_t({content:Tn(()=>te(e.modelValue)),onChange:e=>{d(e),le()},onFocus:()=>{s.value=!0},onBlur:p,codeMirrorRef:ee,disableTabIndent:Tn(()=>e.disableTabIndent),disableEnter:Tn(()=>e.disableEnter),disableCloseBrackets:Tn(()=>e.disableCloseBrackets),lineNumbers:Tn(()=>e.lineNumbers),language:Tn(()=>e.language),lint:Tn(()=>e.lint),extensions:x,placeholder:Tn(()=>e.placeholder)});dr(ne,()=>{ne.value&&Object.hasOwn(a,`autofocus`)&&ne.value.focus()});let ie=E(!1),ae=E(``),oe=E({left:0,top:0}),se=E(null),{handleDropdownSelect:ce,updateDropdownVisibility:le}=d_t({codeMirror:ne,query:ae,showDropdown:ie,dropdownPosition:oe}),S=z(()=>ie.value&&e.withVariables&&e.layout!==`modal`&&(!!e.environment||e.withFakeData)),ue=(t,n)=>{ie.value?t===`down`||t===`up`?(n.preventDefault(),se.value?.handleArrowKey(t)):t===`enter`&&(n.preventDefault(),se.value?.handleSelect()):(t===`escape`&&!e.disableTabIndent&&n.stopPropagation(),t===`enter`&&n.target instanceof HTMLDivElement&&f(ne.value?.state.doc.toString()??``,n))};return t({focus:e=>{if(!ne.value||(ne.value.focus(),!Xl(e)))return;let t=e===`start`?0:e===`end`?ne.value.state.doc.length:e;ne.value.dispatch({selection:{anchor:t},scrollIntoView:!0})},isFocused:s,handleChange:d,handleSubmit:f,handleBlur:p,booleanOptions:l,codeMirror:ne,codeMirrorRef:ee,modelValue:e.modelValue,setCodeMirrorContent:re,cursorPosition:()=>ne.value?.state.selection.main.head,serializeValue:te}),(t,n)=>(j(),M(L,null,[e.disabled?(j(),M(`div`,{key:0,class:lt([`text-c-2 flex cursor-default items-center justify-center`,{"font-code pr-2 pl-1 text-base":e.layout===`modal`,"px-2":e.layout!==`modal`,"line-through":e.linethrough}]),"data-testid":`code-input-disabled`},[P(`span`,C_t,T(e.modelValue),1)],2)):e.enum?.length?(j(),N(RT,{key:1,default:e.default,modelValue:e.modelValue,type:u.value,value:e.enum,"onUpdate:modelValue":m},null,8,[`default`,`modelValue`,`type`,`value`])):c.value?(j(),N(RT,{key:2,default:e.default,modelValue:e.modelValue,value:l.value,"onUpdate:modelValue":m},null,8,[`default`,`modelValue`,`value`])):e.examples?.length?(j(),N(RT,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":m},null,8,[`default`,`modelValue`,`value`])):(j(),M(`div`,oi({key:4,id:D(o)},t.$attrs,{ref_key:`codeMirrorRef`,ref:ee,class:[`group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden text-xs leading-[1.44] whitespace-nowrap -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline`,{"line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:absolute has-[:focus-visible]:z-1":e.lineWrapping,"flow-code-input--error":e.error,"line-through":e.linethrough}],onKeydown:[n[0]||=qa(Ka(e=>ue(`down`,e),[`stop`]),[`down`]),n[1]||=qa(e=>ue(`enter`,e),[`enter`]),n[2]||=qa(e=>ue(`escape`,e),[`escape`]),n[3]||=qa(Ka(e=>ue(`up`,e),[`stop`]),[`up`])]}),[e.lineNumbers?(j(),M(`div`,T_t,[R(D(eI),{"aria-label":v.value?`Disable line wrap`:`Wrap lines`,"aria-pressed":v.value,class:lt([`bg-b-2 text-c-2 hover:text-c-1`,{"!bg-b-3 !text-c-1":v.value}]),icon:D(vle),label:v.value?`Disable line wrap`:`Wrap lines`,size:`sm`,tooltip:``,variant:`ghost`,onClick:Ka(y,[`stop`])},null,8,[`aria-label`,`aria-pressed`,`class`,`icon`,`label`])])):I(``,!0),e.disableTabIndent?I(``,!0):(j(),M(`div`,E_t,T(D(i)(`apiClient.codeInput.exitHint`,{escape:`Esc`,tab:`Tab`})),1))],16,w_t)),t.$slots.warning?(j(),M(`div`,D_t,[A(t.$slots,`warning`,{},void 0,!0)])):I(``,!0),t.$slots.icon?(j(),M(`div`,O_t,[A(t.$slots,`icon`,{},void 0,!0)])):I(``,!0),e.required?(j(),M(`div`,k_t,T(D(i)(`apiClient.codeInput.required`)),1)):I(``,!0),S.value?(j(),N(vE,{key:8,ref_key:`dropdownRef`,ref:se,contextFunctionItems:g.value,dropdownPosition:oe.value,environment:e.environment,query:ae.value,onClose:n[4]||=e=>ie.value=!1,onRedirect:n[5]||=e=>r(`navigate`,{page:`document`,path:`environment`}),onSelect:D(ce)},null,8,[`contextFunctionItems`,`dropdownPosition`,`environment`,`query`,`onSelect`])):I(``,!0)],64))}})})),M_t,N_t=s((()=>{Ds(),j_t(),M_t=Es(A_t,[[`__scopeId`,`data-v-fce866d6`]])})),P_t,F_t,I_t,L_t,R_t=s((()=>{B(),Kl(),P_t=[`role`],F_t={key:0,class:`sr-only`},I_t={class:`contents`},L_t=k({__name:`DataTable`,props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),M(`div`,ut(ei(D(t)(e.scroll?`overflow-x-auto custom-scroll`:`overflow-visible`,`scalar-data-table`))),[P(`table`,{class:lt([`mb-0 grid min-h-8 auto-rows-auto`,{"w-max min-w-full":e.scroll}]),role:e.presentational?`presentation`:`table`,style:ct({gridTemplateColumns:e.columns.map(e=>e||`1fr`).join(` `)})},[n.$slots.caption?(j(),M(`caption`,F_t,[A(n.$slots,`caption`)])):I(``,!0),P(`tbody`,I_t,[A(n.$slots,`default`)])],14,P_t)],16))}})})),aI,oI=s((()=>{R_t(),aI=L_t})),z_t,B_t=s((()=>{B(),Kl(),z_t=k({inheritAttrs:!1,__name:`DataTableCell`,props:{is:{default:`td`}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),N(Ar(e.is),oi(D(t)(`box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base/5 last:border-r-0 group-last:border-b-transparent p-0 m-0 relative`),{class:`group-[.alert]:bg-b-alert group-[.error]:bg-b-danger`}),{default:O(()=>[A(n.$slots,`default`)]),_:3},16))}})})),sI,cI=s((()=>{B_t(),sI=z_t})),V_t,H_t=s((()=>{cI(),B(),Kl(),V_t=k({__name:`DataTableHeader`,setup(e){let{cx:t}=Gl();return(e,n)=>(j(),N(sI,oi({is:`th`},D(t)(`items-center font-medium px-2 min-w-0 -outline-offset-1`)),{default:O(()=>[A(e.$slots,`default`)]),_:3},16))}})})),lI,uI=s((()=>{H_t(),lI=V_t}));function U_t(e,t){return j(),M(`tr`,G_t,[A(e.$slots,`default`)])}var W_t,G_t,dI,fI=s((()=>{Ds(),B(),W_t={},G_t={class:`group contents`},dI=Es(W_t,[[`render`,U_t]])})),pI,K_t=s((()=>{pI=e=>{if(e instanceof File)return e.name}})),mI,hI,gI,q_t,J_t,Y_t=s((()=>{Tb(),rS(),js(),Tv(),YWe(),yv(),mI=e=>e instanceof File?e.name:typeof e==`object`&&e?JSON.stringify(e):String(e),hI=(e,t=[],n=!0,r)=>{if(!bv(e)||!e.properties)return[];let i=new Set(e.required??[]),a=[];for(let[o,s]of wb(e.properties)){let e=vv(s),c=[...t,String(o)],l=n&&i.has(String(o));e&&bv(e)&&e.properties?a.push(...hI(e,c,l,e.description??r)):a.push({path:c,schema:e,isRequired:l,description:e?.description??r})}return a},gI=(e,t,n=[])=>{let r=[],i=V(e)?wb(e):[],a=new Map(i.map(([e,t])=>[String(e),t])),o=new Set,s=t&&bv(t)?t.properties??{}:{};for(let[e,t]of wb(s)){let i=String(e);o.add(i);let s=vv(t),c=[...n,i],l=a.get(i);s&&bv(s)&&s.properties?r.push(...gI(l,s,c)):r.push({path:c,value:l})}for(let[e,t]of i){let i=String(e);o.has(i)||r.push({path:[...n,i],value:t})}return r},q_t=e=>{let t=Dv(e.value,e.isArray?{type:`array`}:e.schema);return Array.isArray(t)?t:e.value??void 0},J_t=(e,t,n,r)=>{let i=e?.dataValue===void 0?e?.value:e.dataValue;if(!i||t!==`multipart/form-data`&&t!==`application/x-www-form-urlencoded`)return[];let a=zb(n,r),o=a&&bv(a)?a:void 0,s=!!(o?.allOf||o?.oneOf||o?.anyOf),c=o?new Set(o.required??[]):void 0,l=new Map;if(o)for(let e of hI(o))l.set(e.path.join(`.`),e);let u=({name:e,value:t,isDisabled:n})=>{let r={name:e,value:t,isDisabled:n??!1};if(!o||!e)return r;let i=l.get(e),a=i?.schema??vv(o.properties?.[e]);return r.schema=a,r.description=i?.description??a?.description,r.isRequired=i?.isRequired??c?.has(e)??!1,n===void 0&&!s&&o.properties&&Object.hasOwn(o.properties,e)&&(r.isDisabled=!r.isRequired,r.isDisabledByDefault=r.isDisabled),r},d=(e,n,r,i)=>{if(t===`multipart/form-data`&&Array.isArray(n)&&n.length>0&&n.every(e=>e instanceof File))return n.map(t=>u({name:e,value:t,isDisabled:r}));let a=u({name:e,value:n instanceof File||n==null?n??``:mI(n),isDisabled:r});return t===`multipart/form-data`&&(Array.isArray(n)||i)&&(a.isArray=!0),[a]};return Array.isArray(i)?i.flatMap(e=>{if(V(e)){let n=String(e.name);return(t===`multipart/form-data`?d(n,e.value,!!e.isDisabled,e.isArray===!0):[u({name:n,value:e.value instanceof File?e.value:String(e.value),isDisabled:!!e.isDisabled})]).map(t=>t.isDisabled&&e.isDisabledByDefault===!0?{...t,isDisabledByDefault:!0}:t)}return{name:``,value:e,isDisabled:!1}}):t===`multipart/form-data`&&o&&typeof i==`object`?gI(i,o).flatMap(({path:e,value:t})=>d(e.join(`.`),t)):typeof i==`object`&&i?wb(i).flatMap(([e,n])=>t===`multipart/form-data`?d(String(e),n):u({name:String(e),value:mI(n)})):[]}})),X_t,Z_t=s((()=>{X_t=(e,t)=>{let n=e?.variables?.find(e=>e.name===t);if(n)return typeof n.value==`string`?n.value:n.value?.default}})),Q_t,$_t=s((()=>{Z_t(),rS(),Q_t=(e,t)=>{if(mb(e))return{type:`contextFunction`,identifier:e,details:fb(e)};let n=X_t(t,e);return{type:`environment`,name:e,value:n||`No value`,isDefined:!!n}}})),_I,evt=s((()=>{ic(),_I=(e,t)=>{if(!t||!e.includes(`{{`))return``;let n=new RegExp(rc.VARIABLES.source,rc.VARIABLES.flags),r=``,i;for(;(i=n.exec(e))!==null;)r+=`|${i[1]??``}`;return r}})),vI,tvt=s((()=>{vI=e=>typeof e==`string`?e:e==null?``:JSON.stringify(e)})),nvt,rvt,ivt,avt,ovt,svt,cvt,lvt=s((()=>{Fs(),zT(),wrt(),eit(),Z_t(),$_t(),evt(),tvt(),B(),Zl(),rS(),iI(),ic(),nvt={class:`whitespace-nowrap`},rvt=[`id`],ivt=[`aria-activedescendant`,`aria-autocomplete`,`aria-controls`,`aria-expanded`,`aria-invalid`,`aria-label`,`aria-labelledby`,`aria-readonly`,`aria-required`,`contenteditable`,`data-placeholder`,`role`],avt={key:5,class:`centered-y text-orange absolute right-7 text-xs`},ovt={key:6,class:`centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.code-input-lite__editor:focus]:z-1`},svt={key:7,class:`required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 peer-has-[.code-input-lite__editor:focus]:opacity-0`},cvt=k({inheritAttrs:!1,__name:`CodeInputLite`,props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:`desktop`},placeholder:{},required:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},linethrough:{type:Boolean,default:!1},type:{},enum:{},arrayEncoding:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1}},emits:[`update:modelValue`,`submit`,`blur`,`navigate`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Ps(),a=Fr(),o=z(()=>typeof a[`aria-label`]==`string`?a[`aria-label`]:void 0),s=z(()=>typeof a[`aria-labelledby`]==`string`?a[`aria-labelledby`]:void 0),c=z(()=>{let{"aria-label":e,"aria-labelledby":t,...n}=a;return n}),l=E(null),u=z(()=>typeof a.id==`string`?a.id:l.value??void 0),d=()=>{(typeof a.id!=`string`||!a.id)&&l.value===null&&(l.value=`id-${rI()}`)},f=Cr(`editorRef`),p=E(null),m=z(()=>u.value?`${u.value}-listbox`:void 0),h=z(()=>p.value?.activeOptionId),g=E(!1),_=E(!0),v=E(!1),y=e=>e.trim().length===0,b=z(()=>e.enum?.length?!1:e.type===`boolean`||Array.isArray(e.type)&&e.type.includes(`boolean`)),x=z(()=>e.nullable?[`true`,`false`,`null`]:[`true`,`false`]),ee=z(()=>Array.isArray(e.type)?e.type.find(e=>e!==`null`)??`string`:e.type),te=e=>r(`update:modelValue`,e),ne=[],re=!1,ie=()=>{for(let e of ne)e.unmount();ne=[]},ae=()=>{if(!f.value||e.layout===`modal`)return;let t=f.value.querySelectorAll(`.scalar-pill`);for(let n of t){let t=n.dataset.variable??``,r=Q_t(t,e.environment),a=Xa(FE,{context:r,target:n,translate:i});a.mount(document.createElement(`div`)),ne.push(a)}},oe=(t,n,r)=>{let i=mb(t),a=document.createElement(`span`);a.className=i?`scalar-pill scalar-pill--context-fn`:`scalar-pill`,a.contentEditable=`false`,a.dataset.variable=t,a.dataset.pillStart=String(n),a.dataset.pillEnd=String(r);let o=i?`var(--scalar-color-3)`:e.environment?.color||`var(--scalar-color-1)`;return a.style.setProperty(`--tw-bg-base`,o),!i&&!X_t(e.environment,t)&&(a.style.opacity=`0.5`),a.textContent=t,a},se=t=>{let n=f.value;if(!n)return;if(ie(),n.replaceChildren(),!e.withVariables||!t.includes(`{{`)){t&&n.appendChild(document.createTextNode(t)),_.value=y(t);return}let r=new RegExp(rc.VARIABLES.source,rc.VARIABLES.flags),i=0,a;for(;(a=r.exec(t))!==null;){let e=a.index,r=e+a[0].length;e>i&&n.appendChild(document.createTextNode(t.slice(i,e))),n.appendChild(oe(a[1]??``,e,r)),i=r}i<t.length&&n.appendChild(document.createTextNode(t.slice(i))),_.value=!1,re&&ae()},ce=e=>e.nodeType===Node.TEXT_NODE?(e.textContent??``).length:e instanceof HTMLElement&&e.classList.contains(`scalar-pill`)?`{{${e.dataset.variable??``}}}`.length:(e.textContent??``).length,le=()=>{let e=f.value;if(!e)return``;let t=``;for(let n of Array.from(e.childNodes))n.nodeType===Node.TEXT_NODE?t+=n.textContent??``:n instanceof HTMLElement&&n.classList.contains(`scalar-pill`)?t+=`{{${n.dataset.variable??``}}}`:n instanceof HTMLElement&&(t+=n.textContent??``);return t},S=null,ue=``,de=()=>{let t=e.environment?.color??``,n=e.withVariables?`1`:`0`,r=e.environment?.variables??[],i=``;for(let e of r){let t=typeof e.value==`string`?e.value:e.value?.default??``;i+=`\x1f${e.name}\x1e${t}`}return`${t}|${n}|${i}`},fe=()=>{re||(re=!0,ae())},pe=()=>{let e=f.value;if(!e)return null;let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0);if(n.startContainer!==e&&!e.contains(n.startContainer))return null;if(n.startContainer===e){let t=0;for(let r=0;r<n.startOffset&&r<e.childNodes.length;r++)t+=ce(e.childNodes.item(r));return t}let r=0;for(let t of Array.from(e.childNodes)){if(t===n.startContainer)return r+n.startOffset;if(t.contains(n.startContainer))return n.startOffset===0?r:r+ce(t);r+=ce(t)}return r},me=e=>{let t=f.value;if(!t)return;let n=document.createRange(),r=0,i=!1;for(let a of Array.from(t.childNodes)){let t=ce(a);if(r+t>=e){if(a.nodeType===Node.TEXT_NODE){let t=Math.max(0,Math.min(e-r,(a.textContent??``).length));n.setStart(a,t)}else e-r<=0?n.setStartBefore(a):n.setStartAfter(a);i=!0;break}r+=t}i?n.collapse(!0):(n.selectNodeContents(t),n.collapse(!1));let a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(n))},he=E(!1),ge=E(``),C=E({left:0,top:0}),_e=z(()=>e.withFakeData?pb.map(e=>({key:e,description:fb(e)})):[]),ve=z(()=>he.value&&e.withVariables&&e.layout!==`modal`&&(!!e.environment||e.withFakeData)),w=()=>{if(!f.value)return;let e=pe();if(e===null){he.value=!1;return}let t=le().slice(0,e),n=t.lastIndexOf(`{{`);n<=t.lastIndexOf(`}}`)?he.value=!1:(ge.value=t.slice(n+2),d(),he.value=!0,nr(()=>{let e=window.getSelection();if(!e||e.rangeCount===0||!f.value)return;let t=e.getRangeAt(0).cloneRange();t.collapse(!0);let n=t.getBoundingClientRect(),r=f.value.getBoundingClientRect();C.value={left:n.left||r.left,top:n.bottom||r.bottom}}))},ye=t=>{if(e.readOnly)return;let n=pe()??0,r=le(),i=Math.max(0,n-ge.value.length-2),a=n,o=`${r.slice(0,i)}{{${t}}}${r.slice(a)}`,s=i+`{{${t}}}`.length;S=_I(o,e.withVariables),se(o),me(s),he.value=!1,be(o,{skipDropdownCheck:!0})},be=(t,n={})=>{let i=t===vI(e.modelValue);(e.alwaysEmitChange||!i)&&r(`update:modelValue`,t),n.skipDropdownCheck||w()},xe=()=>{let t=le();_.value=y(t);let n=_I(t,e.withVariables);if(!v.value&&n!==S){let e=pe();S=n,se(t),e!==null&&me(e)}be(t)},Se=()=>{v.value=!0},Ce=()=>{v.value=!1,xe()},we=()=>{g.value=!0,d(),fe()},Te=t=>{g.value=!1,he.value=!1;let n=le();e.emitOnBlur&&n&&r(`submit`,n,t),r(`blur`,n,t)},Ee=e=>{e.preventDefault();let t=e.clipboardData?.getData(`text/plain`)??``;t&&(document.execCommand(`insertText`,!1,t.replace(/\r?\n/g,` `)),xe())},De=e=>{if(he.value){if(e.key===`ArrowDown`||e.key===`ArrowUp`){e.preventDefault(),e.stopPropagation(),p.value?.handleArrowKey(e.key===`ArrowDown`?`down`:`up`);return}if(e.key===`Enter`){e.preventDefault(),e.stopPropagation(),p.value?.handleSelect();return}if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),he.value=!1;return}}e.key===`Enter`&&(e.preventDefault(),r(`submit`,le(),e))},Oe=e=>{let t=e.target instanceof Element?e.target.closest(`.scalar-pill`):null;if(!t)return;let n=f.value;if(!n)return;n.focus();let r=document.createRange();r.selectNode(t);let i=window.getSelection();i?.removeAllRanges(),i?.addRange(r),w()};return Ii(()=>{let t=vI(e.modelValue);S=_I(t,e.withVariables),ue=de(),se(t),_.value=y(t),Object.hasOwn(a,`autofocus`)&&f.value?.focus()}),dr(()=>e.modelValue,t=>{let n=vI(t);_.value=y(n),le()!==n&&(S=_I(n,e.withVariables),se(n))}),dr(f,t=>{if(!t||!y(le()))return;let n=vI(e.modelValue);n!==``&&(S=_I(n,e.withVariables),se(n))},{flush:`sync`}),dr([()=>e.environment,()=>e.withVariables],()=>{let t=de();if(t===ue||(ue=t,S===``))return;S=_I(le(),e.withVariables);let n=pe();se(le()),n!==null&&me(n)},{deep:!0}),Ri(()=>{ie()}),t({focus:e=>{let t=f.value;if(!t||(t.focus(),!Xl(e)))return;let n=le().length;me(e===`start`?0:e===`end`?n:e)},setContent:(t=``)=>{le()!==t&&(S=_I(t,e.withVariables),se(t),_.value=y(t))},getValue:()=>le(),cursorPosition:()=>{let e=pe();return e===null?void 0:e},isFocused:g,editorRef:f}),(t,n)=>(j(),M(L,null,[e.disabled?(j(),M(`div`,{key:0,class:lt([`text-c-2 flex cursor-default items-center justify-center`,{"font-code pr-2 pl-1 text-base":e.layout===`modal`,"px-2":e.layout!==`modal`,"line-through":e.linethrough}]),"data-testid":`code-input-lite-disabled`},[P(`span`,nvt,T(e.modelValue),1)],2)):e.enum?.length?(j(),N(RT,{key:1,arrayEncoding:e.arrayEncoding,default:e.default,modelValue:e.modelValue,type:ee.value,value:e.enum,"onUpdate:modelValue":te},null,8,[`arrayEncoding`,`default`,`modelValue`,`type`,`value`])):b.value?(j(),N(RT,{key:2,default:e.default,modelValue:e.modelValue,value:x.value,"onUpdate:modelValue":te},null,8,[`default`,`modelValue`,`value`])):e.examples?.length?(j(),N(RT,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":te},null,8,[`default`,`modelValue`,`value`])):(j(),M(`div`,oi({key:4,id:u.value},c.value,{class:[`code-input-lite group/code-input-lite peer relative w-full leading-[1.44] -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline`,{"code-input-lite--error":e.error,"code-input-lite--empty":_.value,"line-through":e.linethrough}]}),[P(`div`,{ref_key:`editorRef`,ref:f,"aria-activedescendant":ve.value?h.value:void 0,"aria-autocomplete":e.withVariables?`list`:void 0,"aria-controls":ve.value?m.value:void 0,"aria-expanded":ve.value?`true`:void 0,"aria-invalid":e.error?`true`:void 0,"aria-label":o.value,"aria-labelledby":s.value,"aria-readonly":e.readOnly?`true`:void 0,"aria-required":e.required?`true`:void 0,class:`code-input-lite__editor`,contenteditable:e.readOnly?`false`:`true`,"data-placeholder":e.placeholder,role:e.withVariables?`combobox`:`textbox`,spellcheck:`false`,onBlur:Te,onClick:Oe,onCompositionend:Ce,onCompositionstart:Se,onFocus:we,onInput:xe,onKeydown:De,onPaste:Ee,onPointerover:fe},null,40,ivt)],16,rvt)),t.$slots.warning?(j(),M(`div`,avt,[A(t.$slots,`warning`,{},void 0,!0)])):I(``,!0),t.$slots.icon?(j(),M(`div`,ovt,[A(t.$slots,`icon`,{},void 0,!0)])):I(``,!0),e.required?(j(),M(`div`,svt,T(D(i)(`apiClient.codeInputLite.required`)),1)):I(``,!0),ve.value?(j(),N(vE,{key:8,ref_key:`dropdownRef`,ref:p,contextFunctionItems:_e.value,dropdownPosition:C.value,environment:e.environment,listboxId:m.value,query:ge.value,onClose:n[0]||=e=>he.value=!1,onRedirect:n[1]||=e=>r(`navigate`,{page:`document`,path:`environment`}),onSelect:ye},null,8,[`contextFunctionItems`,`dropdownPosition`,`environment`,`listboxId`,`query`])):I(``,!0)],64))}})})),yI,uvt=s((()=>{Ds(),lvt(),yI=Es(cvt,[[`__scopeId`,`data-v-5e6007a2`]])})),dvt,fvt,pvt=s((()=>{Fs(),cI(),B(),Kl(),gS(),dvt=[`aria-label`,`checked`,`disabled`],fvt=k({__name:`DataTableCheckbox`,props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:`center`},ariaLabel:{}},emits:[`update:modelValue`],setup(e){let{translate:t}=Ps(),n=Ul({base:`w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute`,variants:{align:{left:`left-0`,center:`centered`}}});return(r,i)=>(j(),N(sI,{class:`group/cell relative flex min-w-8`},{default:O(()=>[P(`input`,{"aria-label":e.ariaLabel??D(t)(`apiClient.dataTableCheckbox.toggle`),checked:e.modelValue,class:`peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default`,disabled:!!e.disabled,type:`checkbox`,onChange:i[0]||=e=>r.$emit(`update:modelValue`,e.target.checked)},null,40,dvt),P(`div`,{class:lt(D(n)({align:e.align}))},[P(`div`,{class:lt([`absolute m-auto size-3/4 rounded border-[1px] opacity-0`,!e.disabled&&`group-has-[:focus-visible]/cell:border-c-accent group-hover:opacity-100 group-has-[:focus-visible]/cell:opacity-100`])},null,2),R(D(fS),{icon:`Checkmark`,size:`xs`,thickness:`2.5`})],2)]),_:1}))}})})),mvt,hvt=s((()=>{pvt(),mvt=fvt})),gvt,_vt=s((()=>{gvt=(e,t)=>{if(!e||!(`type`in e)||typeof t!=`string`)return{ok:!0};if(e.type===`integer`||e.type===`number`){let n=Number(t);if(isNaN(n))return{ok:!1,message:`Value must be a number (e.g., 42.5)`};if(e.type===`integer`&&!Number.isInteger(n))return{ok:!1,message:`Value must be a whole number (e.g., 42)`};if(e.minimum!==void 0&&n<e.minimum)return{ok:!1,message:`Value must be ${e.minimum} or greater`};if(e.maximum!==void 0&&n>e.maximum)return{ok:!1,message:`Value must be ${e.maximum} or less`}}if(e.type===`string`&&e.format){if(e.format===`date`&&!/^\d{4}-\d{2}-\d{2}$/.test(t??``))return{ok:!1,message:`Please enter a valid date in YYYY-MM-DD format (e.g., 2024-03-20)`};if(e.format===`date-time`&&!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/.test(t??``))return{ok:!1,message:`Please enter a valid date and time in RFC 3339 format (e.g., 2024-03-20T13:45:30Z)`};if(e.format===`email`&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t??``))return{ok:!1,message:`Please enter a valid email address (e.g., [email protected])`};if(e.format===`uri`&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:.+$/.test(t??``))return{ok:!1,message:`Please enter a valid URI (e.g., https://example.com)`}}return{ok:!0}}})),bI,vvt,yvt=s((()=>{B(),bI=Symbol(`scalar-markdown-render-hooks`),vvt=(e,t,n)=>{let r=lr(bI,[]);dr([e,t,n],([e,t],n,i)=>{if(!e||!r.length)return;let a=new AbortController,o=[];i(()=>{a.abort();for(let e of o.reverse())try{e()}catch(e){console.error(`Could not dispose Markdown enhancement:`,e)}});for(let n of r)Promise.resolve().then(()=>{if(!a.signal.aborted)return n({element:e,source:t,signal:a.signal})}).then(e=>{e&&(a.signal.aborted?e():o.push(e))}).catch(e=>{a.signal.aborted||console.error(`Could not enhance Markdown:`,e)})},{flush:`post`,immediate:!0})}}));function bvt(e){let t=[],n=-1;for(;++n<e.length;)t[n]=CI(e[n]);return xI(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function xvt(e){let t=e;return xI(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function Svt(e){return xI(t);function t(t){return t&&t.type===e}}function xI(e){return t;function t(t,n,r){return!!(wvt(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Cvt(){return!0}function wvt(e){return typeof e==`object`&&!!e&&`type`in e}function Tvt(e){return e}function Evt(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=CI(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+Tvt(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Ovt,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=Dvt(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function Dvt(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Ovt:[e]}function SI(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Evt(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var CI,Ovt,kvt,Avt=s((()=>{CI=(function(e){if(e==null)return Cvt;if(typeof e==`function`)return xI(e);if(typeof e==`object`)return Array.isArray(e)?bvt(e):xvt(e);if(typeof e==`string`)return Svt(e);throw Error(`Expected function, string, or object as test`)}),Ovt=[],kvt=`skip`}));function jvt(e){let t=[],n=-1;for(;++n<e.length;)t[n]=EI(e[n]);return Nvt(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Mvt(e){return Nvt(t);function t(t){return t.tagName===e}}function Nvt(e){return t;function t(t,n,r){return!!(Fvt(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Pvt(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function Fvt(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}function Ivt(e,t){let n=t||{},r=`children`in e?e.children:[],i=fyt(e),a=Hvt(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...zvt(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...Lvt(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?DI(r[s+1]):i}));let c=[],l;for(s=-1;++s<o.length;){let e=o[s];typeof e==`number`?l!==void 0&&e>l&&(l=e):e&&(l!==void 0&&l>-1&&c.push(`
+`.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function Lvt(e,t,n){return e.type===`element`?Rvt(e,t,n):e.type===`text`?n.whitespace===`normal`?zvt(e,n):Bvt(e):[]}function Rvt(e,t,n){let r=Hvt(e,n),i=e.children||[],a=-1,o=[];if(dyt(e))return o;let s,c;for(DI(e)||uyt(e)&&ayt(t,e,uyt)?c=`
+`:lyt(e)?(s=2,c=2):fyt(e)&&(s=1,c=1);++a<i.length;)o=o.concat(Lvt(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?DI(i[a+1]):c}));return cyt(e)&&ayt(t,e,cyt)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function zvt(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){oyt.lastIndex=a;let e=oyt.exec(n),i=e&&`index`in e?e.index:n.length;r.push(Vvt(n.slice(a,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,``),a!==0||t.breakBefore,i!==n.length||t.breakAfter)),a=i+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s==`number`&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function Bvt(e){return[String(e.value)]}function Vvt(e,t,n){let r=[],i=0,a;for(;i<e.length;){syt.lastIndex=i;let n=syt.exec(e);a=n?n.index:e.length,!i&&!a&&n&&!t&&r.push(``),i!==a&&r.push(e.slice(i,a)),i=n?a+n[0].length:a}return i!==a&&!n&&r.push(``),r.join(` `)}function Hvt(e,t){if(e.type===`element`){let n=e.properties||{};switch(e.tagName){case`listing`:case`plaintext`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return n.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return n.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`}}return t.whitespace}function Uvt(e){return!!(e.properties||{}).hidden}function Wvt(e){return e.tagName===`td`||e.tagName===`th`}function Gvt(e){return e.tagName===`dialog`&&!(e.properties||{}).open}function Kvt(e){let t=pyt.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(e,n,r){let i=r||myt,a=typeof i.prefix==`string`?i.prefix:hyt;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:gyt,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,c=s.data;return c.language=o.language,c.relevance=o.relevance,s}function r(e,r){let a=(r||myt).subset||i(),o=-1,s=0,c;for(;++o<a.length;){let i=a[o];if(!t.getLanguage(i))continue;let l=n(i,e,r);l.data&&l.data.relevance!==void 0&&l.data.relevance>s&&(s=l.data.relevance,c=l)}return c||{type:`root`,children:[],data:{language:void 0,relevance:s}}}function i(){return t.listLanguages()}function a(e,n){if(typeof e==`string`)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}function o(e,n){if(typeof e==`string`)t.registerAliases(typeof n==`string`?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases(typeof r==`string`?r:[...r],{languageName:n})}}}function s(e){return!!t.getLanguage(e)}}function qvt(e){let t=e||_yt,n=t.aliases,r=e?.detect??!1,i=t.languages,a=t.plainText,o=t.prefix,s=t.subset,c=typeof t.className==`string`?[t.className]:t.className??[],l=`hljs`,u=e?.lowlight??Kvt(i);if(n&&u.registerAlias(n),o){let e=o.indexOf(`-`);l=e>-1?o.slice(0,e):o}return(e,t)=>{SI(e,`element`,(e,n,i)=>{if(e.tagName!==`code`||!i||i.type!==`element`||i.tagName!==`pre`)return;let d=Jvt(e);if(d===`no-highlight`||!d&&!r||d&&a?.includes(d))return;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(l)||e.properties.className.unshift(l);for(let t of c)e.properties.className.includes(t)||e.properties.className.push(t);let f;try{f=d?u.highlight(d,Ivt(i),{prefix:o}):u.highlightAuto(Ivt(i),{prefix:o,subset:s})}catch(n){let r=n;if(d&&/Unknown language/.test(r.message)){t.message(`Cannot highlight as \`${d}\`, it's not registered`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`missing-language`,source:`rehype-highlight`});return}t.message(`Could not highlight code block`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`highlight-error`,source:`rehype-highlight`});return}!d&&f.data?.language&&e.properties.className.push(`language-`+f.data.language),f.children.length>0&&(e.children=f.children)})}}function Jvt(e){let t=e.properties.className;if(!Array.isArray(t))return``;let n=t.reduce((e,t)=>{if(e)return e;let n=String(t);return n===`no-highlight`||n===`nohighlight`?`no-highlight`:n.slice(0,5)===`lang-`?n.slice(5):n.slice(0,9)===`language-`?n.slice(9):e},``);return iyt[n||``]||n}var Yvt,wI,Xvt,Zvt,Qvt,$vt,eyt,tyt,nyt,ryt,iyt,ayt,TI,EI,oyt,syt,DI,cyt,lyt,uyt,dyt,fyt,pyt,myt,hyt,gyt,_yt,vyt=s((()=>{Avt(),Yvt=Object.create,wI=Object.defineProperty,Xvt=Object.getOwnPropertyDescriptor,Zvt=Object.getOwnPropertyNames,Qvt=Object.getPrototypeOf,$vt=Object.prototype.hasOwnProperty,eyt=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),tyt=(e,t)=>{let n={};for(var r in e)wI(n,r,{get:e[r],enumerable:!0});return t||wI(n,Symbol.toStringTag,{value:`Module`}),n},nyt=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Zvt(t),a=0,o=i.length,s;a<o;a++)s=i[a],!$vt.call(e,s)&&s!==n&&wI(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=Xvt(t,s))||r.enumerable});return e},ryt=(e,t,n)=>(n=e==null?{}:Yvt(Qvt(e)),nyt(t||!e||!e.__esModule||!$vt.call(e,`default`)?wI(n,`default`,{value:e,enumerable:!0}):n,e)),iyt={ts:`typescript`,js:`javascript`,py:`python`,py3:`python`,"c#":`csharp`,"c++":`cpp`,node:`javascript`},ayt=(function(e,t,n){let r=CI(n);if(!e||!e.type||!e.children)throw Error(`Expected parent node`);if(typeof t==`number`){if(t<0||t===1/0)throw Error(`Expected positive finite number as index`)}else if(t=e.children.indexOf(t),t<0)throw Error(`Expected child node or index`);for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),TI=(function(e,t,n,r,i){let a=EI(t);if(n!=null&&(typeof n!=`number`||n<0||n===1/0))throw Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(n==null!=(r==null))throw Error("Expected both `index` and `parent`");return Fvt(e)?a.call(i,e,n,r):!1}),EI=(function(e){if(e==null)return Pvt;if(typeof e==`string`)return Mvt(e);if(typeof e==`object`)return jvt(e);if(typeof e==`function`)return Nvt(e);throw Error("Expected function, string, or array as `test`")}),oyt=/\n/g,syt=/[\t ]+/g,DI=EI(`br`),cyt=EI(Wvt),lyt=EI(`p`),uyt=EI(`tr`),dyt=EI([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,Uvt,Gvt]),fyt=EI(`address.article.aside.blockquote.body.caption.center.dd.dialog.dir.dl.dt.div.figure.figcaption.footer.form,.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.legend.li.listing.main.menu.nav.ol.p.plaintext.pre.section.ul.xmp`.split(`.`)),pyt=ryt(eyt(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function x(e,t){let n=e&&e.exec(t);return n&&n.index===0}var ee=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function te(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=ee.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var ne=/\b\B/,re=`[a-zA-Z]\\w*`,ie=`[a-zA-Z_]\\w*`,ae=`\\b\\d+(\\.\\d+)?`,oe=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,se=`\\b(0b[01]+)`,ce=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,le=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},S={begin:`\\\\[\\s\\S]`,relevance:0},ue={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[S]},de={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[S]},fe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},pe=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},me=pe(`//`,`$`),he=pe(`/\\*`,`\\*/`),ge=pe(`#`,`$`),C=Object.freeze({__proto__:null,APOS_STRING_MODE:ue,BACKSLASH_ESCAPE:S,BINARY_NUMBER_MODE:{scope:`number`,begin:se,relevance:0},BINARY_NUMBER_RE:se,COMMENT:pe,C_BLOCK_COMMENT_MODE:he,C_LINE_COMMENT_MODE:me,C_NUMBER_MODE:{scope:`number`,begin:oe,relevance:0},C_NUMBER_RE:oe,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:ge,IDENT_RE:re,MATCH_NOTHING_RE:ne,METHOD_GUARD:{begin:`\\.\\s*[a-zA-Z_]\\w*`,relevance:0},NUMBER_MODE:{scope:`number`,begin:ae,relevance:0},NUMBER_RE:ae,PHRASAL_WORDS_MODE:fe,QUOTE_STRING_MODE:de,REGEXP_MODE:{scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[S,{begin:/\[/,end:/\]/,relevance:0,contains:[S]}]},RE_STARTERS_RE:ce,SHEBANG:le,TITLE_MODE:{scope:`title`,begin:re,relevance:0},UNDERSCORE_IDENT_RE:ie,UNDERSCORE_TITLE_MODE:{scope:`title`,begin:ie,relevance:0}});function _e(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function ve(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function w(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=_e,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function ye(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function be(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function xe(e,t){e.relevance===void 0&&(e.relevance=1)}var Se=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Ce=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],we=`keyword`;function Te(e,t,n=we){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,Te(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,Ee(n[0],n[1])]})}}function Ee(e,t){return t?Number(t):+!De(e)}function De(e){return Ce.includes(e.toLowerCase())}var Oe={},ke=e=>{console.error(e)},Ae=(e,...t)=>{console.log(`WARN: ${e}`,...t)},je=(e,t)=>{Oe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Oe[`${e}/${t}`]=!0)},Me=Error();function Ne(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Pe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw ke(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),Me;if(typeof e.beginScope!=`object`||e.beginScope===null)throw ke(`beginScope must be object`),Me;Ne(e,e.begin,{key:`beginScope`}),e.begin=te(e.begin,{joinWith:``})}}function Fe(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw ke(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),Me;if(typeof e.endScope!=`object`||e.endScope===null)throw ke(`endScope must be object`),Me;Ne(e,e.end,{key:`endScope`}),e.end=te(e.end,{joinWith:``})}}function Ie(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Le(e){Ie(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),Pe(e),Fe(e)}function Re(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(te(e,{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[ve,be,Le,Se].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[w,ye,xe].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=Te(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return Be(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function ze(e){return e?e.endsWithParent||ze(e.starts):!1}function Be(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:ze(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Ve=`11.11.1`,He=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},Ue=i,We=a,Ge=Symbol(`nomatch`),Ke=7,qe=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=ue(n[1]);return t||(Ae(s.replace(`{}`,n[1])),Ae(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||ue(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(je(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),je(`10.7.0`,`Please use highlight(code, options) instead.
+https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};ge(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,ge(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!ce.keywords){S.addText(de);return}let e=0;ce.keywordPatternRe.lastIndex=0;let t=ce.keywordPatternRe.exec(de),n=``;for(;t;){n+=de.substring(e,t.index);let r=ae.case_insensitive?t[0].toLowerCase():t[0],i=u(ce,r);if(i){let[e,a]=i;if(S.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=Ke&&(fe+=a),e.startsWith(`_`))n+=t[0];else{let n=ae.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=ce.keywordPatternRe.lastIndex,t=ce.keywordPatternRe.exec(de)}n+=de.substring(e),S.addText(n)}function f(){if(de===``)return;let e=null;if(typeof ce.subLanguage==`string`){if(!t[ce.subLanguage]){S.addText(de);return}e=v(ce.subLanguage,de,!0,le[ce.subLanguage]),le[ce.subLanguage]=e._top}else e=ee(de,ce.subLanguage.length?ce.subLanguage:null);ce.relevance>0&&(fe+=e.relevance),S.__addSublanguage(e._emitter,e.language)}function p(){ce.subLanguage==null?d():f(),de=``}function m(e,t){e!==``&&(S.startScope(t),S.addText(e),S.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=ae.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(de=i,d(),de=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&S.openNode(ae.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(de,ae.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),de=``):e.beginScope._multi&&(h(e.beginScope,t),de=``)),ce=Object.create(e,{parent:{value:ce}}),ce}function _(e,t,n){let i=x(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return ce.matcher.regexIndex===0?(de+=e[0],1):(he=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?de+=t:(n.excludeBegin&&(de+=t),p(),!n.returnBegin&&!n.excludeBegin&&(de=t)),g(n,e),n.returnBegin?0:t.length}function te(e){let t=e[0],r=n.substring(e.index),i=_(ce,e,r);if(!i)return Ge;let a=ce;ce.endScope&&ce.endScope._wrap?(p(),m(t,ce.endScope._wrap)):ce.endScope&&ce.endScope._multi?(p(),h(ce.endScope,e)):a.skip?de+=t:(a.returnEnd||a.excludeEnd||(de+=t),p(),a.excludeEnd&&(de=t));do ce.scope&&S.closeNode(),!ce.skip&&!ce.subLanguage&&(fe+=ce.relevance),ce=ce.parent;while(ce!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function ne(){let e=[];for(let t=ce;t!==ae;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>S.openNode(e))}let re={};function ie(t,r){let a=r&&r[0];if(de+=t,a==null)return p(),0;if(re.type===`begin`&&r.type===`end`&&re.index===r.index&&a===``){if(de+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=re.rule,t}return 1}if(re=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(ce.scope||`<unnamed>`)+`"`);throw e.mode=ce,e}if(r.type===`end`){let e=te(r);if(e!==Ge)return e}if(r.type===`illegal`&&a===``)return de+=`
+`,1;if(me>1e5&&me>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return de+=a,a.length}let ae=ue(e);if(!ae)throw ke(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let oe=Re(ae),se=``,ce=a||oe,le={},S=new l.__emitter(l);ne();let de=``,fe=0,pe=0,me=0,he=!1;try{if(ae.__emitTokens)ae.__emitTokens(n,S);else{for(ce.matcher.considerAll();;){me++,he?he=!1:ce.matcher.considerAll(),ce.matcher.lastIndex=pe;let e=ce.matcher.exec(n);if(!e)break;let t=ie(n.substring(pe,e.index),e);pe=e.index+t}ie(n.substring(pe))}return S.finalize(),se=S.toHTML(),{language:e,value:se,relevance:fe,illegal:!1,_emitter:S,_top:ce}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:Ue(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:pe,context:n.slice(pe-100,pe+100),mode:t.mode,resultSoFar:se},_emitter:S};if(o)return{language:e,value:Ue(n),illegal:!1,relevance:0,errorRaised:t,_emitter:S,_top:ce};throw t}}function b(e){let t={value:Ue(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function ee(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(ue).filter(fe).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(ue(e.language).supersetOf===t.language)return 1;if(ue(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function te(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function ne(e){let t=null,n=d(e);if(u(n))return;if(ge(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),l.throwUnescapedHTML))throw new He(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):ee(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,te(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),ge(`after:highlightElement`,{el:e,result:i,text:r})}function re(e){l=We(l,e)}let ie=()=>{se(),je(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function ae(){se(),je(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let oe=!1;function se(){function e(){se()}document.readyState===`loading`?(oe||window.addEventListener(`DOMContentLoaded`,e,!1),oe=!0):document.querySelectorAll(l.cssSelector).forEach(ne)}function ce(n,r){let i=null;try{i=r(e)}catch(e){if(ke(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)ke(e);else throw e;i=c}i.name||(i.name=n),t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&de(i.aliases,{languageName:n})}function le(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function S(){return Object.keys(t)}function ue(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function de(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function fe(e){let t=ue(e);return t&&!t.disableAutodetect}function pe(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function me(e){pe(e),a.push(e)}function he(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function ge(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function _e(e){return je(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),je(`10.7.0`,`Please use highlightElement now.`),ne(e)}Object.assign(e,{highlight:p,highlightAuto:ee,highlightAll:se,highlightElement:ne,highlightBlock:_e,configure:re,initHighlighting:ie,initHighlightingOnLoad:ae,registerLanguage:ce,unregisterLanguage:le,listLanguages:S,getLanguage:ue,registerAliases:de,autoDetection:fe,inherit:We,addPlugin:me,removePlugin:he}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Ve,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in C)typeof C[e]==`object`&&n(C[e]);return Object.assign(e,C),e},Je=qe({});Je.newInstance=()=>qe({}),t.exports=Je,Je.HighlightJS=Je,Je.default=Je}))()).default,myt={},hyt=`hljs-`,gyt=class{constructor(e){this.options=e,this.root={type:`root`,children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e===``)return;let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&n.type===`text`?n.value+=e:t.children.push({type:`text`,value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:`element`,tagName:`span`,properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(`.`).map(function(e,n){return n?e+`_`.repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:`element`,tagName:`span`,properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return``}},_yt={}}));function yyt(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new dL(n,r,t)}function OI(e){return e.toLowerCase()}function kI(){return 2**++KCt}function byt(e,t,n){n&&(e[t]=n)}function AI(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new SL(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[OI(r)]=r,n[OI(a.attribute)]=r}return new dL(t,n,e.space)}function xyt(e,t){return t in e?e[t]:t}function Syt(e,t){return xyt(e,t.toLowerCase())}function jI(e,t){let n=OI(t),r=t,i=fL;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&twt.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(ewt,wyt);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ewt.test(e)){let n=e.replace($Ct,Cyt);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=SL}return new i(r,t)}function Cyt(e){return`-`+e.toLowerCase()}function wyt(e){return e.charAt(1).toUpperCase()}function Tyt(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function Eyt(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}function Dyt(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){nwt.lastIndex=i;let e=nwt.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function Oyt(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function kyt(e){return e.join(` `).trim()}function Ayt(e,t,n){let r=n&&Iyt(n);function i(n,i,...a){let o=-1,s;if(n==null){s={type:`root`,children:[]};let e=i;a.unshift(e)}else if(s=Dyt(n,t),s.tagName=s.tagName.toLowerCase(),r&&TL.call(r,s.tagName)&&(s.tagName=r[s.tagName]),jyt(i,s.tagName)){let t;for(t in i)TL.call(i,t)&&Myt(e,s.properties,t,i[t])}else a.unshift(i);for(;++o<a.length;)Nyt(s.children,a[o]);return s.type===`element`&&s.tagName===`template`&&(s.content={type:`root`,children:s.children},s.children=[]),s}return i}function jyt(e,t){return typeof e!=`object`||!e||Array.isArray(e)?!1:t===`input`||!e.type||typeof e.type!=`string`?!0:`children`in e&&Array.isArray(e.children)?!1:t===`button`?rwt.has(e.type.toLowerCase()):!(`value`in e)}function Myt(e,t,n,r){let i=jI(e,n),a=-1,o;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;o=r}else o=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?Oyt(r):i.commaSeparated?Tyt(r):i.commaOrSpaceSeparated?Oyt(Tyt(r).join(` `)):Pyt(i,i.property,r):Array.isArray(r)?r.concat():i.property===`style`?Fyt(r):String(r);if(Array.isArray(o)){let e=[];for(;++a<o.length;){let t=Pyt(i,i.property,o[a]);e[a]=t}o=e}if(i.property===`className`&&Array.isArray(t.className)){let e=o;o=t.className.concat(e)}t[i.property]=o}}function Nyt(e,t){let n=-1;if(t!=null){if(typeof t==`string`||typeof t==`number`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Nyt(e,t[n]);else if(typeof t==`object`&&`type`in t)t.type===`root`?Nyt(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}}function Pyt(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||OI(n)===OI(t)))return!0}return n}function Fyt(e){let t=[],n;for(n in e)TL.call(e,n)&&t.push([n,e[n]].join(`: `));return t.join(`; `)}function Iyt(e){let t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}function Lyt(e){let t=String(e),n=[];for(EL.lastIndex=0;EL.test(t);)n.push(EL.lastIndex);return n.push(t.length+1),{toPoint:r,toOffset:i};function r(e){let t=-1;if(typeof e==`number`&&e>-1&&e<n[n.length-1]){for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}}function i(e){let t=e&&e.line,r=e&&e.column;if(typeof t==`number`&&typeof r==`number`&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){let e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}function Ryt(e,t){let n=t||{};return zyt({file:n.file||void 0,location:!1,schema:n.space===`svg`?wL:CL,verbose:n.verbose||!1},e)}function zyt(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},MI(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:Byt(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=Lyt(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},MI(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},MI(e,r,n),n}default:return n=Vyt(e,t),n}}function Byt(e,t){let n=-1,r=[];for(;++n<t.length;){let i=zyt(e,t[n]);r.push(i)}return r}function Vyt(e,t){let n=e.schema;e.schema=t.namespaceURI===DL.svg?wL:CL;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;swt.call(cwt,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?owt:awt)(t.tagName,i,Byt(e,t.childNodes));if(MI(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&NI(r.startTag),o=r&&r.endTag&&NI(r.endTag),s=zyt(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function MI(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=Hyt(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Hyt(e,t,n){let r=NI(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)swt.call(n.attrs,i)&&(r[jI(e.schema,i).property]=NI(n.attrs[i]));n.startTag;let a=NI(n.startTag),o=n.endTag?NI(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function NI(e){let t=Uyt({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Uyt({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Uyt(e){return e.line&&e.column?e:void 0}function Wyt(e){return e>=55296&&e<=57343}function Gyt(e){return e>=56320&&e<=57343}function Kyt(e,t){return(e-55296)*1024+9216+t}function qyt(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Jyt(e){return e>=64976&&e<=65007||lwt.has(e)}function Yyt(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}function Xyt(e){return e>=55296&&e<=57343||e>1114111?65533:pwt.get(e)??e}function Zyt(e){return e>=jL.ZERO&&e<=jL.NINE}function Qyt(e){return e>=jL.UPPER_A&&e<=jL.UPPER_F||e>=jL.LOWER_A&&e<=jL.LOWER_F}function $yt(e){return e>=jL.UPPER_A&&e<=jL.UPPER_Z||e>=jL.LOWER_A&&e<=jL.LOWER_Z||Zyt(e)}function ebt(e){return e===jL.EQUALS||$yt(e)}function tbt(e,t,n,r){let i=(t&ML.BRANCH_LENGTH)>>7,a=t&ML.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}function PI(e){return gwt.get(e)??K.UNKNOWN}function nbt(e){return e>=G.DIGIT_0&&e<=G.DIGIT_9}function FI(e){return e>=G.LATIN_CAPITAL_A&&e<=G.LATIN_CAPITAL_Z}function rbt(e){return e>=G.LATIN_SMALL_A&&e<=G.LATIN_SMALL_Z}function II(e){return rbt(e)||FI(e)}function ibt(e){return II(e)||nbt(e)}function LI(e){return e+32}function abt(e){return e===G.SPACE||e===G.LINE_FEED||e===G.TABULATION||e===G.FORM_FEED}function obt(e){return abt(e)||e===G.SOLIDUS||e===G.GREATER_THAN_SIGN}function sbt(e){return e===G.NULL?kL.nullCharacterReference:e>1114111?kL.characterReferenceOutsideUnicodeRange:Wyt(e)?kL.surrogateCharacterReference:Jyt(e)?kL.noncharacterCharacterReference:qyt(e)||e===G.CARRIAGE_RETURN?kL.controlCharacterReference:null}function cbt(e,t){return t.some(t=>e.startsWith(t))}function lbt(e){return e.name===Mwt&&e.publicId===null&&(e.systemId===null||e.systemId===Nwt)}function ubt(e){if(e.name!==Mwt)return LL.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===Pwt)return LL.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Lwt.has(n))return LL.QUIRKS;let e=t===null?Iwt:Fwt;if(cbt(n,e))return LL.QUIRKS;if(e=t===null?Rwt:zwt,cbt(n,e))return LL.LIMITED_QUIRKS}return LL.NO_QUIRKS}function dbt(e){let t=e.tagID;return t===K.FONT&&e.attrs.some(({name:e})=>e===IL.COLOR||e===IL.SIZE||e===IL.FACE)||Kwt.has(t)}function fbt(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Vwt){e.attrs[t].name=Hwt;break}}function pbt(e){for(let t=0;t<e.attrs.length;t++){let n=Uwt.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function mbt(e){for(let t=0;t<e.attrs.length;t++){let n=Wwt.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function hbt(e){let t=Gwt.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=PI(e.tagName))}function gbt(e,t){return t===FL.MATHML&&(e===K.MI||e===K.MO||e===K.MN||e===K.MS||e===K.MTEXT)}function _bt(e,t,n){if(t===FL.MATHML&&e===K.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===IL.ENCODING){let t=n[e].value.toLowerCase();return t===Bwt.TEXT_HTML||t===Bwt.APPLICATION_XML}}return t===FL.SVG&&(e===K.FOREIGN_OBJECT||e===K.DESC||e===K.TITLE)}function vbt(e,t,n,r){return(!r||r===FL.HTML)&&_bt(e,t,n)||(!r||r===FL.MATHML)&&gbt(e,t)}function ybt(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Axt(e,t),n}function bbt(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function xbt(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=Ywt;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Sbt(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function Sbt(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Cbt(e,t,n){let r=PI(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===K.TEMPLATE&&i===FL.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function wbt(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function Tbt(e,t){for(let n=0;n<Jwt;n++){let n=ybt(e,t);if(!n)break;let r=bbt(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=xbt(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&Cbt(e,a,i),wbt(e,r,n)}}function Ebt(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Dbt(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Obt(e,t){e._appendCommentNode(t,e.document)}function kbt(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Abt(e,t){e._setDocumentType(t);let n=t.forceQuirks?LL.QUIRKS:ubt(t);lbt(t)||e._err(t,kL.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=J.BEFORE_HTML}function RI(e,t){e._err(t,kL.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,LL.QUIRKS),e.insertionMode=J.BEFORE_HTML,e._processToken(t)}function jbt(e,t){t.tagID===K.HTML?(e._insertElement(t,FL.HTML),e.insertionMode=J.BEFORE_HEAD):zI(e,t)}function Mbt(e,t){let n=t.tagID;(n===K.HTML||n===K.HEAD||n===K.BODY||n===K.BR)&&zI(e,t)}function zI(e,t){e._insertFakeRootElement(),e.insertionMode=J.BEFORE_HEAD,e._processToken(t)}function Nbt(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.HEAD:e._insertElement(t,FL.HTML),e.headElement=e.openElements.current,e.insertionMode=J.IN_HEAD;break;default:BI(e,t)}}function Pbt(e,t){let n=t.tagID;n===K.HEAD||n===K.BODY||n===K.HTML||n===K.BR?BI(e,t):e._err(t,kL.endTagWithoutMatchingOpenElement)}function BI(e,t){e._insertFakeElement(RL.HEAD,K.HEAD),e.headElement=e.openElements.current,e.insertionMode=J.IN_HEAD,e._processToken(t)}function VI(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.BASE:case K.BASEFONT:case K.BGSOUND:case K.LINK:case K.META:e._appendElement(t,FL.HTML),t.ackSelfClosing=!0;break;case K.TITLE:e._switchToTextParsing(t,VL.RCDATA);break;case K.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,VL.RAWTEXT):(e._insertElement(t,FL.HTML),e.insertionMode=J.IN_HEAD_NO_SCRIPT);break;case K.NOFRAMES:case K.STYLE:e._switchToTextParsing(t,VL.RAWTEXT);break;case K.SCRIPT:e._switchToTextParsing(t,VL.SCRIPT_DATA);break;case K.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=J.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(J.IN_TEMPLATE);break;case K.HEAD:e._err(t,kL.misplacedStartTagForHeadElement);break;default:UI(e,t)}}function Fbt(e,t){switch(t.tagID){case K.HEAD:e.openElements.pop(),e.insertionMode=J.AFTER_HEAD;break;case K.BODY:case K.BR:case K.HTML:UI(e,t);break;case K.TEMPLATE:HI(e,t);break;default:e._err(t,kL.endTagWithoutMatchingOpenElement)}}function HI(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==K.TEMPLATE&&e._err(t,kL.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(K.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,kL.endTagWithoutMatchingOpenElement)}function UI(e,t){e.openElements.pop(),e.insertionMode=J.AFTER_HEAD,e._processToken(t)}function Ibt(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.BASEFONT:case K.BGSOUND:case K.HEAD:case K.LINK:case K.META:case K.NOFRAMES:case K.STYLE:VI(e,t);break;case K.NOSCRIPT:e._err(t,kL.nestedNoscriptInHead);break;default:WI(e,t)}}function Lbt(e,t){switch(t.tagID){case K.NOSCRIPT:e.openElements.pop(),e.insertionMode=J.IN_HEAD;break;case K.BR:WI(e,t);break;default:e._err(t,kL.endTagWithoutMatchingOpenElement)}}function WI(e,t){let n=t.type===AL.EOF?kL.openElementsLeftAfterEof:kL.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=J.IN_HEAD,e._processToken(t)}function Rbt(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.BODY:e._insertElement(t,FL.HTML),e.framesetOk=!1,e.insertionMode=J.IN_BODY;break;case K.FRAMESET:e._insertElement(t,FL.HTML),e.insertionMode=J.IN_FRAMESET;break;case K.BASE:case K.BASEFONT:case K.BGSOUND:case K.LINK:case K.META:case K.NOFRAMES:case K.SCRIPT:case K.STYLE:case K.TEMPLATE:case K.TITLE:e._err(t,kL.abandonedHeadElementChild),e.openElements.push(e.headElement,K.HEAD),VI(e,t),e.openElements.remove(e.headElement);break;case K.HEAD:e._err(t,kL.misplacedStartTagForHeadElement);break;default:GI(e,t)}}function zbt(e,t){switch(t.tagID){case K.BODY:case K.HTML:case K.BR:GI(e,t);break;case K.TEMPLATE:HI(e,t);break;default:e._err(t,kL.endTagWithoutMatchingOpenElement)}}function GI(e,t){e._insertFakeElement(RL.BODY,K.BODY),e.insertionMode=J.IN_BODY,KI(e,t)}function KI(e,t){switch(t.type){case AL.CHARACTER:Vbt(e,t);break;case AL.WHITESPACE_CHARACTER:Bbt(e,t);break;case AL.COMMENT:Ebt(e,t);break;case AL.START_TAG:qI(e,t);break;case AL.END_TAG:JI(e,t);break;case AL.EOF:jxt(e,t)}}function Bbt(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Vbt(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Hbt(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Ubt(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Wbt(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,FL.HTML),e.insertionMode=J.IN_FRAMESET)}function Gbt(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,FL.HTML)}function Kbt(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&BL.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,FL.HTML)}function qbt(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,FL.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Jbt(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,FL.HTML),n||(e.formElement=e.openElements.current))}function Ybt(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===K.LI&&r===K.LI||(n===K.DD||n===K.DT)&&(r===K.DD||r===K.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==K.ADDRESS&&r!==K.DIV&&r!==K.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,FL.HTML)}function Xbt(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,FL.HTML),e.tokenizer.state=VL.PLAINTEXT}function Zbt(e,t){e.openElements.hasInScope(K.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(K.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,FL.HTML),e.framesetOk=!1}function Qbt(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(RL.A);n&&(Tbt(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,FL.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function $bt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,FL.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function ext(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(K.NOBR)&&(Tbt(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,FL.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function txt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,FL.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function nxt(e,t){e.treeAdapter.getDocumentMode(e.document)!==LL.QUIRKS&&e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,FL.HTML),e.framesetOk=!1,e.insertionMode=J.IN_TABLE}function rxt(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,FL.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ixt(e){let t=Yyt(e,IL.TYPE);return t!=null&&t.toLowerCase()===qwt}function axt(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,FL.HTML),ixt(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function oxt(e,t){e._appendElement(t,FL.HTML),t.ackSelfClosing=!0}function sxt(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._appendElement(t,FL.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function cxt(e,t){t.tagName=RL.IMG,t.tagID=K.IMG,rxt(e,t)}function lxt(e,t){e._insertElement(t,FL.HTML),e.skipNextNewLine=!0,e.tokenizer.state=VL.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=J.TEXT}function uxt(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,VL.RAWTEXT)}function dxt(e,t){e.framesetOk=!1,e._switchToTextParsing(t,VL.RAWTEXT)}function fxt(e,t){e._switchToTextParsing(t,VL.RAWTEXT)}function pxt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,FL.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===J.IN_TABLE||e.insertionMode===J.IN_CAPTION||e.insertionMode===J.IN_TABLE_BODY||e.insertionMode===J.IN_ROW||e.insertionMode===J.IN_CELL?J.IN_SELECT_IN_TABLE:J.IN_SELECT}function mxt(e,t){e.openElements.currentTagId===K.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,FL.HTML)}function hxt(e,t){e.openElements.hasInScope(K.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,FL.HTML)}function gxt(e,t){e.openElements.hasInScope(K.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(K.RTC),e._insertElement(t,FL.HTML)}function _xt(e,t){e._reconstructActiveFormattingElements(),fbt(t),mbt(t),t.selfClosing?e._appendElement(t,FL.MATHML):e._insertElement(t,FL.MATHML),t.ackSelfClosing=!0}function vxt(e,t){e._reconstructActiveFormattingElements(),pbt(t),mbt(t),t.selfClosing?e._appendElement(t,FL.SVG):e._insertElement(t,FL.SVG),t.ackSelfClosing=!0}function yxt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,FL.HTML)}function qI(e,t){switch(t.tagID){case K.I:case K.S:case K.B:case K.U:case K.EM:case K.TT:case K.BIG:case K.CODE:case K.FONT:case K.SMALL:case K.STRIKE:case K.STRONG:$bt(e,t);break;case K.A:Qbt(e,t);break;case K.H1:case K.H2:case K.H3:case K.H4:case K.H5:case K.H6:Kbt(e,t);break;case K.P:case K.DL:case K.OL:case K.UL:case K.DIV:case K.DIR:case K.NAV:case K.MAIN:case K.MENU:case K.ASIDE:case K.CENTER:case K.FIGURE:case K.FOOTER:case K.HEADER:case K.HGROUP:case K.DIALOG:case K.DETAILS:case K.ADDRESS:case K.ARTICLE:case K.SEARCH:case K.SECTION:case K.SUMMARY:case K.FIELDSET:case K.BLOCKQUOTE:case K.FIGCAPTION:Gbt(e,t);break;case K.LI:case K.DD:case K.DT:Ybt(e,t);break;case K.BR:case K.IMG:case K.WBR:case K.AREA:case K.EMBED:case K.KEYGEN:rxt(e,t);break;case K.HR:sxt(e,t);break;case K.RB:case K.RTC:hxt(e,t);break;case K.RT:case K.RP:gxt(e,t);break;case K.PRE:case K.LISTING:qbt(e,t);break;case K.XMP:uxt(e,t);break;case K.SVG:vxt(e,t);break;case K.HTML:Hbt(e,t);break;case K.BASE:case K.LINK:case K.META:case K.STYLE:case K.TITLE:case K.SCRIPT:case K.BGSOUND:case K.BASEFONT:case K.TEMPLATE:VI(e,t);break;case K.BODY:Ubt(e,t);break;case K.FORM:Jbt(e,t);break;case K.NOBR:ext(e,t);break;case K.MATH:_xt(e,t);break;case K.TABLE:nxt(e,t);break;case K.INPUT:axt(e,t);break;case K.PARAM:case K.TRACK:case K.SOURCE:oxt(e,t);break;case K.IMAGE:cxt(e,t);break;case K.BUTTON:Zbt(e,t);break;case K.APPLET:case K.OBJECT:case K.MARQUEE:txt(e,t);break;case K.IFRAME:dxt(e,t);break;case K.SELECT:pxt(e,t);break;case K.OPTION:case K.OPTGROUP:mxt(e,t);break;case K.NOEMBED:case K.NOFRAMES:fxt(e,t);break;case K.FRAMESET:Wbt(e,t);break;case K.TEXTAREA:lxt(e,t);break;case K.NOSCRIPT:e.options.scriptingEnabled?fxt(e,t):yxt(e,t);break;case K.PLAINTEXT:Xbt(e,t);break;case K.COL:case K.TH:case K.TD:case K.TR:case K.HEAD:case K.FRAME:case K.TBODY:case K.TFOOT:case K.THEAD:case K.CAPTION:case K.COLGROUP:break;default:yxt(e,t)}}function bxt(e,t){if(e.openElements.hasInScope(K.BODY)&&(e.insertionMode=J.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function xxt(e,t){e.openElements.hasInScope(K.BODY)&&(e.insertionMode=J.AFTER_BODY,sSt(e,t))}function Sxt(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Cxt(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(K.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(K.FORM):n&&e.openElements.remove(n))}function wxt(e){e.openElements.hasInButtonScope(K.P)||e._insertFakeElement(RL.P,K.P),e._closePElement()}function Txt(e){e.openElements.hasInListItemScope(K.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(K.LI),e.openElements.popUntilTagNamePopped(K.LI))}function Ext(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Dxt(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Oxt(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function kxt(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(RL.BR,K.BR),e.openElements.pop(),e.framesetOk=!1}function Axt(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==K.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function JI(e,t){switch(t.tagID){case K.A:case K.B:case K.I:case K.S:case K.U:case K.EM:case K.TT:case K.BIG:case K.CODE:case K.FONT:case K.NOBR:case K.SMALL:case K.STRIKE:case K.STRONG:Tbt(e,t);break;case K.P:wxt(e);break;case K.DL:case K.UL:case K.OL:case K.DIR:case K.DIV:case K.NAV:case K.PRE:case K.MAIN:case K.MENU:case K.ASIDE:case K.BUTTON:case K.CENTER:case K.FIGURE:case K.FOOTER:case K.HEADER:case K.HGROUP:case K.DIALOG:case K.ADDRESS:case K.ARTICLE:case K.DETAILS:case K.SEARCH:case K.SECTION:case K.SUMMARY:case K.LISTING:case K.FIELDSET:case K.BLOCKQUOTE:case K.FIGCAPTION:Sxt(e,t);break;case K.LI:Txt(e);break;case K.DD:case K.DT:Ext(e,t);break;case K.H1:case K.H2:case K.H3:case K.H4:case K.H5:case K.H6:Dxt(e);break;case K.BR:kxt(e);break;case K.BODY:bxt(e,t);break;case K.HTML:xxt(e,t);break;case K.FORM:Cxt(e);break;case K.APPLET:case K.OBJECT:case K.MARQUEE:Oxt(e,t);break;case K.TEMPLATE:HI(e,t);break;default:Axt(e,t)}}function jxt(e,t){e.tmplInsertionModeStack.length>0?aSt(e,t):kbt(e,t)}function Mxt(e,t){var n;t.tagID===K.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Nxt(e,t){e._err(t,kL.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Pxt(e,t){if(e.openElements.currentTagId!==void 0&&Zwt.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=J.IN_TABLE_TEXT,t.type){case AL.CHARACTER:Wxt(e,t);break;case AL.WHITESPACE_CHARACTER:Uxt(e,t)}else ZI(e,t)}function Fxt(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,FL.HTML),e.insertionMode=J.IN_CAPTION}function Ixt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,FL.HTML),e.insertionMode=J.IN_COLUMN_GROUP}function Lxt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(RL.COLGROUP,K.COLGROUP),e.insertionMode=J.IN_COLUMN_GROUP,qxt(e,t)}function Rxt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,FL.HTML),e.insertionMode=J.IN_TABLE_BODY}function zxt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(RL.TBODY,K.TBODY),e.insertionMode=J.IN_TABLE_BODY,eL(e,t)}function Bxt(e,t){e.openElements.hasInTableScope(K.TABLE)&&(e.openElements.popUntilTagNamePopped(K.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Vxt(e,t){ixt(t)?e._appendElement(t,FL.HTML):ZI(e,t),t.ackSelfClosing=!0}function Hxt(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,FL.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function YI(e,t){switch(t.tagID){case K.TD:case K.TH:case K.TR:zxt(e,t);break;case K.STYLE:case K.SCRIPT:case K.TEMPLATE:VI(e,t);break;case K.COL:Lxt(e,t);break;case K.FORM:Hxt(e,t);break;case K.TABLE:Bxt(e,t);break;case K.TBODY:case K.TFOOT:case K.THEAD:Rxt(e,t);break;case K.INPUT:Vxt(e,t);break;case K.CAPTION:Fxt(e,t);break;case K.COLGROUP:Ixt(e,t);break;default:ZI(e,t)}}function XI(e,t){switch(t.tagID){case K.TABLE:e.openElements.hasInTableScope(K.TABLE)&&(e.openElements.popUntilTagNamePopped(K.TABLE),e._resetInsertionMode());break;case K.TEMPLATE:HI(e,t);break;case K.BODY:case K.CAPTION:case K.COL:case K.COLGROUP:case K.HTML:case K.TBODY:case K.TD:case K.TFOOT:case K.TH:case K.THEAD:case K.TR:break;default:ZI(e,t)}}function ZI(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,KI(e,t),e.fosterParentingEnabled=n}function Uxt(e,t){e.pendingCharacterTokens.push(t)}function Wxt(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function QI(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)ZI(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Gxt(e,t){let n=t.tagID;$wt.has(n)?e.openElements.hasInTableScope(K.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(K.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=J.IN_TABLE,YI(e,t)):qI(e,t)}function Kxt(e,t){let n=t.tagID;switch(n){case K.CAPTION:case K.TABLE:e.openElements.hasInTableScope(K.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(K.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=J.IN_TABLE,n===K.TABLE&&XI(e,t));break;case K.BODY:case K.COL:case K.COLGROUP:case K.HTML:case K.TBODY:case K.TD:case K.TFOOT:case K.TH:case K.THEAD:case K.TR:break;default:JI(e,t)}}function qxt(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.COL:e._appendElement(t,FL.HTML),t.ackSelfClosing=!0;break;case K.TEMPLATE:VI(e,t);break;default:$I(e,t)}}function Jxt(e,t){switch(t.tagID){case K.COLGROUP:e.openElements.currentTagId===K.COLGROUP&&(e.openElements.pop(),e.insertionMode=J.IN_TABLE);break;case K.TEMPLATE:HI(e,t);break;case K.COL:break;default:$I(e,t)}}function $I(e,t){e.openElements.currentTagId===K.COLGROUP&&(e.openElements.pop(),e.insertionMode=J.IN_TABLE,e._processToken(t))}function eL(e,t){switch(t.tagID){case K.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,FL.HTML),e.insertionMode=J.IN_ROW;break;case K.TH:case K.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(RL.TR,K.TR),e.insertionMode=J.IN_ROW,tL(e,t);break;case K.CAPTION:case K.COL:case K.COLGROUP:case K.TBODY:case K.TFOOT:case K.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE,YI(e,t));break;default:YI(e,t)}}function Yxt(e,t){let n=t.tagID;switch(t.tagID){case K.TBODY:case K.TFOOT:case K.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE);break;case K.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE,XI(e,t));break;case K.BODY:case K.CAPTION:case K.COL:case K.COLGROUP:case K.HTML:case K.TD:case K.TH:case K.TR:break;default:XI(e,t)}}function tL(e,t){switch(t.tagID){case K.TH:case K.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,FL.HTML),e.insertionMode=J.IN_CELL,e.activeFormattingElements.insertMarker();break;case K.CAPTION:case K.COL:case K.COLGROUP:case K.TBODY:case K.TFOOT:case K.THEAD:case K.TR:e.openElements.hasInTableScope(K.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE_BODY,eL(e,t));break;default:YI(e,t)}}function Xxt(e,t){switch(t.tagID){case K.TR:e.openElements.hasInTableScope(K.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE_BODY);break;case K.TABLE:e.openElements.hasInTableScope(K.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE_BODY,Yxt(e,t));break;case K.TBODY:case K.TFOOT:case K.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(K.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE_BODY,Yxt(e,t));break;case K.BODY:case K.CAPTION:case K.COL:case K.COLGROUP:case K.HTML:case K.TD:case K.TH:break;default:XI(e,t)}}function Zxt(e,t){let n=t.tagID;$wt.has(n)?(e.openElements.hasInTableScope(K.TD)||e.openElements.hasInTableScope(K.TH))&&(e._closeTableCell(),tL(e,t)):qI(e,t)}function Qxt(e,t){let n=t.tagID;switch(n){case K.TD:case K.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=J.IN_ROW);break;case K.TABLE:case K.TBODY:case K.TFOOT:case K.THEAD:case K.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Xxt(e,t));break;case K.BODY:case K.CAPTION:case K.COL:case K.COLGROUP:case K.HTML:break;default:JI(e,t)}}function $xt(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.OPTION:e.openElements.currentTagId===K.OPTION&&e.openElements.pop(),e._insertElement(t,FL.HTML);break;case K.OPTGROUP:e.openElements.currentTagId===K.OPTION&&e.openElements.pop(),e.openElements.currentTagId===K.OPTGROUP&&e.openElements.pop(),e._insertElement(t,FL.HTML);break;case K.HR:e.openElements.currentTagId===K.OPTION&&e.openElements.pop(),e.openElements.currentTagId===K.OPTGROUP&&e.openElements.pop(),e._appendElement(t,FL.HTML),t.ackSelfClosing=!0;break;case K.INPUT:case K.KEYGEN:case K.TEXTAREA:case K.SELECT:e.openElements.hasInSelectScope(K.SELECT)&&(e.openElements.popUntilTagNamePopped(K.SELECT),e._resetInsertionMode(),t.tagID!==K.SELECT&&e._processStartTag(t));break;case K.SCRIPT:case K.TEMPLATE:VI(e,t)}}function eSt(e,t){switch(t.tagID){case K.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===K.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===K.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===K.OPTGROUP&&e.openElements.pop();break;case K.OPTION:e.openElements.currentTagId===K.OPTION&&e.openElements.pop();break;case K.SELECT:e.openElements.hasInSelectScope(K.SELECT)&&(e.openElements.popUntilTagNamePopped(K.SELECT),e._resetInsertionMode());break;case K.TEMPLATE:HI(e,t)}}function tSt(e,t){let n=t.tagID;n===K.CAPTION||n===K.TABLE||n===K.TBODY||n===K.TFOOT||n===K.THEAD||n===K.TR||n===K.TD||n===K.TH?(e.openElements.popUntilTagNamePopped(K.SELECT),e._resetInsertionMode(),e._processStartTag(t)):$xt(e,t)}function nSt(e,t){let n=t.tagID;n===K.CAPTION||n===K.TABLE||n===K.TBODY||n===K.TFOOT||n===K.THEAD||n===K.TR||n===K.TD||n===K.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(K.SELECT),e._resetInsertionMode(),e.onEndTag(t)):eSt(e,t)}function rSt(e,t){switch(t.tagID){case K.BASE:case K.BASEFONT:case K.BGSOUND:case K.LINK:case K.META:case K.NOFRAMES:case K.SCRIPT:case K.STYLE:case K.TEMPLATE:case K.TITLE:VI(e,t);break;case K.CAPTION:case K.COLGROUP:case K.TBODY:case K.TFOOT:case K.THEAD:e.tmplInsertionModeStack[0]=J.IN_TABLE,e.insertionMode=J.IN_TABLE,YI(e,t);break;case K.COL:e.tmplInsertionModeStack[0]=J.IN_COLUMN_GROUP,e.insertionMode=J.IN_COLUMN_GROUP,qxt(e,t);break;case K.TR:e.tmplInsertionModeStack[0]=J.IN_TABLE_BODY,e.insertionMode=J.IN_TABLE_BODY,eL(e,t);break;case K.TD:case K.TH:e.tmplInsertionModeStack[0]=J.IN_ROW,e.insertionMode=J.IN_ROW,tL(e,t);break;default:e.tmplInsertionModeStack[0]=J.IN_BODY,e.insertionMode=J.IN_BODY,qI(e,t)}}function iSt(e,t){t.tagID===K.TEMPLATE&&HI(e,t)}function aSt(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(K.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):kbt(e,t)}function oSt(e,t){t.tagID===K.HTML?qI(e,t):nL(e,t)}function sSt(e,t){if(t.tagID===K.HTML){if(e.fragmentContext||(e.insertionMode=J.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===K.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else nL(e,t)}function nL(e,t){e.insertionMode=J.IN_BODY,KI(e,t)}function cSt(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.FRAMESET:e._insertElement(t,FL.HTML);break;case K.FRAME:e._appendElement(t,FL.HTML),t.ackSelfClosing=!0;break;case K.NOFRAMES:VI(e,t)}}function lSt(e,t){t.tagID===K.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==K.FRAMESET&&(e.insertionMode=J.AFTER_FRAMESET))}function uSt(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.NOFRAMES:VI(e,t)}}function dSt(e,t){t.tagID===K.HTML&&(e.insertionMode=J.AFTER_AFTER_FRAMESET)}function fSt(e,t){t.tagID===K.HTML?qI(e,t):rL(e,t)}function rL(e,t){e.insertionMode=J.IN_BODY,KI(e,t)}function pSt(e,t){switch(t.tagID){case K.HTML:qI(e,t);break;case K.NOFRAMES:VI(e,t)}}function mSt(e,t){t.chars=`�`,e._insertCharacters(t)}function hSt(e,t){e._insertCharacters(t),e.framesetOk=!1}function gSt(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==FL.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function _St(e,t){if(dbt(t))gSt(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===FL.MATHML?fbt(t):r===FL.SVG&&(hbt(t),pbt(t)),mbt(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function vSt(e,t){if(t.tagID===K.P||t.tagID===K.BR)gSt(e),e._endTagOutsideForeignContent(t);else for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===FL.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}function ySt(e,t){return KL.parse(e,t)}function bSt(e,t,n){typeof e==`string`&&(n=t,t=e,e=null);let r=KL.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}function iL(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?SSt(e.position):`start`in e||`end`in e?SSt(e):`line`in e||`column`in e?xSt(e):``}function xSt(e){return CSt(e&&e.line)+`:`+CSt(e&&e.column)}function SSt(e){return xSt(e&&e.start)+`-`+xSt(e&&e.end)}function CSt(e){return e&&typeof e==`number`?e:1}function wSt(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);aL(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function TSt(e){if(aL(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function ESt(e){aL(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}}else n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function DSt(...e){let t=-1,n;for(;++t<e.length;)aL(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:OSt(n)}function OSt(e){aL(e);let t=e.codePointAt(0)===47,n=kSt(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function kSt(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(i!==o-1&&a!==1){if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1}i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function aL(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}function ASt(){return`/`}function jSt(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function MSt(e){if(typeof e==`string`)e=new URL(e);else if(!jSt(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return NSt(e)}function NSt(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}function PSt(e,t){if(e&&e.includes(JL.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+JL.sep+"`")}function FSt(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function ISt(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function LSt(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}function RSt(e,t){let n=t||sTt,r=n.onerror,i=e instanceof XL?e:new XL(e),a=n.fragment?bSt:ySt,o=String(i);return Ryt(a(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:i,space:n.space,verbose:n.verbose});function s(e){let t=e.code,a=zSt(t),s=n[a]??!0,c=typeof s==`number`?s:+!!s;if(c){let n=tTt[a],o=new qL(l(n.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:`hast-util-from-html`});i.path&&(o.file=i.path,o.name=i.path+`:`+o.name),o.fatal=oTt[c],o.note=l(n.description),o.url=n.url===!1?void 0:nTt+t,r(o)}function l(t){return t.replace(iTt,n).replace(aTt,r);function n(t,n,r){let i=(r?Number.parseInt(r,10):0)*(n===`-`?-1:1);return VSt(o.charAt(e.startOffset+i))}function r(){return HSt(o.charCodeAt(e.startOffset))}}}}function zSt(e){return e.replace(rTt,BSt)}function BSt(e){return e.charAt(1).toUpperCase()}function VSt(e){return e==="`"?"` ` `":e}function HSt(e){return`0x`+e.toString(16).toUpperCase()}function USt(e){let t=this,{emitParseErrors:n,...r}={...t.data(`settings`),...e};t.parser=i;function i(e,t){return RSt(e,{...r,onerror:n?function(e){t.path&&(e.name=t.path+`:`+e.name,e.file=t.path),t.messages.push(e)}:void 0})}}function oL(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&lTt.call(t,e)){let n=String(t[e]);i=lTt.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function WSt(e,t){return e=e.replace(t.subset?GSt(t.subset):uTt,r),t.subset||t.escapeOnly?e:e.replace(dTt,n).replace(fTt,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function GSt(e){let t=mTt.get(e);return t||(t=KSt(e),mTt.set(e,t)),t}function KSt(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(pTt,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}function qSt(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!hTt.test(String.fromCharCode(t))?r:r+`;`}function JSt(e,t,n){let r=`&#`+String(e);return n&&t&&!gTt.test(String.fromCharCode(t))?r:r+`;`}function YSt(e,t,n,r){let i=String.fromCharCode(e);if(yTt.call(QL,i)){let e=QL[i],a=`&`+e;return n&&_Tt.includes(e)&&!vTt.includes(e)&&(!r||t&&t!==61&&bTt.test(String.fromCharCode(t)))?a:a+`;`}return``}function XSt(e,t,n){let r=qSt(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=YSt(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=JSt(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function sL(e,t){return WSt(e,Object.assign({format:XSt},t))}function ZSt(e,t,n,r){return r.settings.bogusComments?`<?`+sL(e.value,Object.assign({},r.settings.characterReferences,{subset:STt}))+`>`:`<!--`+e.value.replace(xTt,i)+`-->`;function i(e){return sL(e,Object.assign({},r.settings.characterReferences,{subset:CTt}))}}function QSt(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function cL(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function lL(e){return typeof e==`object`?e.type===`text`&&$St(e.value):$St(e)}function $St(e){return e.replace(wTt,``)===``}function eCt(e){return t;function t(t,n,r){let i=t?t.children:ETt,a=(n||0)+e,o=i[a];if(!r)for(;o&&lL(o);)a+=e,o=i[a];return o}}function tCt(e){return t;function t(t,n,r){return DTt.call(e,t.tagName)&&e[t.tagName](t,n,r)}}function nCt(e,t,n){let r=eR(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&lL(r.value.charAt(0)))}function rCt(e,t,n){let r=eR(n,t);return!r||r.type!==`comment`}function iCt(e,t,n){let r=eR(n,t);return!r||r.type!==`comment`}function aCt(e,t,n){let r=eR(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||n.type!==`element`||n.tagName!==`a`&&n.tagName!==`audio`&&n.tagName!==`del`&&n.tagName!==`ins`&&n.tagName!==`map`&&n.tagName!==`noscript`&&n.tagName!==`video`}function oCt(e,t,n){let r=eR(n,t);return!r||r.type===`element`&&r.tagName===`li`}function sCt(e,t,n){let r=eR(n,t);return!(!r||r.type!==`element`||r.tagName!==`dt`&&r.tagName!==`dd`)}function cCt(e,t,n){let r=eR(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function lCt(e,t,n){let r=eR(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function uCt(e,t,n){let r=eR(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function dCt(e,t,n){let r=eR(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function fCt(e,t,n){let r=eR(n,t);return!(!r||r.type!==`element`||r.tagName!==`tbody`&&r.tagName!==`tfoot`)}function pCt(e,t,n){let r=eR(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function mCt(e,t,n){return!eR(n,t)}function hCt(e,t,n){let r=eR(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function gCt(e,t,n){let r=eR(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}function _Ct(e){let t=eR(e,-1);return!t||t.type!==`comment`}function vCt(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function yCt(e){let t=eR(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&lL(t.value.charAt(0)))&&(t.type!==`element`||t.tagName!==`meta`&&t.tagName!==`link`&&t.tagName!==`script`&&t.tagName!==`style`&&t.tagName!==`template`)}function bCt(e,t,n){let r=TTt(n,t),i=eR(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&tR(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function xCt(e,t,n){let r=TTt(n,t),i=eR(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&tR(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}function SCt(e,t,n,r){let i=r.schema,a=i.space!==`svg`&&r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=wL);let l=CCt(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!OTt(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!tR(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function CCt(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=wCt(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function wCt(e,t,n){let r=jI(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=+!e.settings.allowDangerousCharacters,o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n===``)?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!=`string`||n===r.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let c=sL(r.attribute,Object.assign({},e.settings.characterReferences,{subset:nR.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Eyt:kyt)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=sL(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:nR.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&cL(n,o)>cL(n,e.alternative)&&(o=e.alternative),s=o+sL(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?nR.single:nR.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}function TCt(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:sL(e.value,Object.assign({},r.settings.characterReferences,{subset:kTt}))}function ECt(e,t,n,r){return r.settings.allowDangerousHtml?e.value:TCt(e,t,n,r)}function DCt(e,t,n,r){return r.all(e)}function OCt(e){throw Error("Expected node, not `"+e+"`")}function kCt(e){throw Error("Cannot compile unknown node `"+e.type+"`")}function ACt(e,t){let n=t||jTt,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:jCt,all:MCt,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||cTt,characterReferences:n.characterReferences||MTt,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?wL:CL,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function jCt(e,t,n){return ATt(e,t,n,this)}function MCt(e){let t=[],n=e&&e.children||NTt,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}function NCt(e){let t=this,n={...t.data(`settings`),...e};t.compiler=r;function r(e){return ACt(e,n)}}function PCt(e){if(e)throw e}function FCt(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function ICt(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a)r(a);else{for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?LCt(s,i)(...o):r(null,...o)}}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function LCt(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}function RCt(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function zCt(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function BCt(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function VCt(e){if(!FCt(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function HCt(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function uL(e){return UCt(e)?e:new XL(e)}function UCt(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function WCt(e){return typeof e==`string`||GCt(e)}function GCt(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var dL,fL,pL,KCt,mL,hL,gL,_L,vL,yL,bL,xL,SL,qCt,JCt,YCt,XCt,ZCt,QCt,$Ct,ewt,twt,CL,wL,nwt,rwt,TL,iwt,awt,owt,EL,DL,swt,cwt,lwt,G,OL,kL,uwt,dwt,AL,fwt,pwt,jL,mwt,ML,NL,PL,hwt,FL,IL,LL,RL,K,gwt,zL,_wt,BL,q,VL,vwt,ywt,bwt,HL,xwt,Swt,Cwt,wwt,Twt,Ewt,Dwt,Owt,kwt,UL,WL,Awt,jwt,GL,Mwt,Nwt,Pwt,Fwt,Iwt,Lwt,Rwt,zwt,Bwt,Vwt,Hwt,Uwt,Wwt,Gwt,Kwt,qwt,Jwt,Ywt,J,Xwt,Zwt,Qwt,KL,$wt,qL,JL,eTt,YL,XL,tTt,nTt,rTt,iTt,aTt,oTt,sTt,cTt,lTt,uTt,dTt,fTt,pTt,mTt,hTt,gTt,_Tt,ZL,vTt,yTt,QL,$L,bTt,xTt,STt,CTt,wTt,eR,TTt,ETt,DTt,tR,OTt,nR,kTt,ATt,jTt,MTt,NTt,rR,PTt,FTt,iR,ITt,LTt,RTt,zTt,BTt,VTt=s((()=>{for($L in vyt(),dL=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}},dL.prototype.normal={},dL.prototype.property={},dL.prototype.space=void 0,fL=class{constructor(e,t){this.attribute=t,this.property=e}},fL.prototype.attribute=``,fL.prototype.booleanish=!1,fL.prototype.boolean=!1,fL.prototype.commaOrSpaceSeparated=!1,fL.prototype.commaSeparated=!1,fL.prototype.defined=!1,fL.prototype.mustUseProperty=!1,fL.prototype.number=!1,fL.prototype.overloadedBoolean=!1,fL.prototype.property=``,fL.prototype.spaceSeparated=!1,fL.prototype.space=void 0,pL=tyt({boolean:()=>mL,booleanish:()=>hL,commaOrSpaceSeparated:()=>bL,commaSeparated:()=>yL,number:()=>_L,overloadedBoolean:()=>gL,spaceSeparated:()=>vL}),KCt=0,mL=kI(),hL=kI(),gL=kI(),_L=kI(),vL=kI(),yL=kI(),bL=kI(),xL=Object.keys(pL),SL=class extends fL{constructor(e,t,n,r){let i=-1;if(super(e,t),byt(this,`space`,r),typeof n==`number`)for(;++i<xL.length;){let e=xL[i];byt(this,xL[i],(n&pL[e])===pL[e])}}},SL.prototype.defined=!0,qCt=AI({properties:{ariaActiveDescendant:null,ariaAtomic:hL,ariaAutoComplete:null,ariaBusy:hL,ariaChecked:hL,ariaColCount:_L,ariaColIndex:_L,ariaColSpan:_L,ariaControls:vL,ariaCurrent:null,ariaDescribedBy:vL,ariaDetails:null,ariaDisabled:hL,ariaDropEffect:vL,ariaErrorMessage:null,ariaExpanded:hL,ariaFlowTo:vL,ariaGrabbed:hL,ariaHasPopup:null,ariaHidden:hL,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:vL,ariaLevel:_L,ariaLive:null,ariaModal:hL,ariaMultiLine:hL,ariaMultiSelectable:hL,ariaOrientation:null,ariaOwns:vL,ariaPlaceholder:null,ariaPosInSet:_L,ariaPressed:hL,ariaReadOnly:hL,ariaRelevant:null,ariaRequired:hL,ariaRoleDescription:vL,ariaRowCount:_L,ariaRowIndex:_L,ariaRowSpan:_L,ariaSelected:hL,ariaSetSize:_L,ariaSort:null,ariaValueMax:_L,ariaValueMin:_L,ariaValueNow:_L,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}}),JCt=AI({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:yL,acceptCharset:vL,accessKey:vL,action:null,allow:null,allowFullScreen:mL,allowPaymentRequest:mL,allowUserMedia:mL,alpha:mL,alt:null,as:null,async:mL,autoCapitalize:null,autoComplete:vL,autoFocus:mL,autoPlay:mL,blocking:vL,capture:null,charSet:null,checked:mL,cite:null,className:vL,closedBy:null,colorSpace:null,cols:_L,colSpan:_L,command:null,commandFor:null,content:null,contentEditable:hL,controls:mL,controlsList:vL,coords:_L|yL,crossOrigin:null,data:null,dateTime:null,decoding:null,default:mL,defer:mL,dir:null,dirName:null,disabled:mL,download:gL,draggable:hL,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:mL,formTarget:null,headers:vL,height:_L,hidden:gL,high:_L,href:null,hrefLang:null,htmlFor:vL,httpEquiv:vL,id:null,imageSizes:null,imageSrcSet:null,inert:mL,inputMode:null,integrity:null,is:null,isMap:mL,itemId:null,itemProp:vL,itemRef:vL,itemScope:mL,itemType:vL,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:mL,low:_L,manifest:null,max:null,maxLength:_L,media:null,method:null,min:null,minLength:_L,multiple:mL,muted:mL,name:null,nonce:null,noModule:mL,noValidate:mL,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:mL,optimum:_L,pattern:null,ping:vL,placeholder:null,playsInline:mL,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:mL,referrerPolicy:null,rel:vL,required:mL,reversed:mL,rows:_L,rowSpan:_L,sandbox:vL,scope:null,scoped:mL,seamless:mL,selected:mL,shadowRootClonable:mL,shadowRootCustomElementRegistry:mL,shadowRootDelegatesFocus:mL,shadowRootMode:null,shadowRootSerializable:mL,shape:null,size:_L,sizes:null,slot:null,span:_L,spellCheck:hL,src:null,srcDoc:null,srcLang:null,srcSet:null,start:_L,step:null,style:null,tabIndex:_L,target:null,title:null,translate:null,type:null,typeMustMatch:mL,useMap:null,value:hL,width:_L,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:vL,axis:null,background:null,bgColor:null,border:_L,borderColor:null,bottomMargin:_L,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:mL,declare:mL,event:null,face:null,frame:null,frameBorder:null,hSpace:_L,leftMargin:_L,link:null,longDesc:null,lowSrc:null,marginHeight:_L,marginWidth:_L,noResize:mL,noHref:mL,noShade:mL,noWrap:mL,object:null,profile:null,prompt:null,rev:null,rightMargin:_L,rules:null,scheme:null,scrolling:hL,standby:null,summary:null,text:null,topMargin:_L,valueType:null,version:null,vAlign:null,vLink:null,vSpace:_L,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:mL,disablePictureInPicture:mL,disableRemotePlayback:mL,exportParts:yL,part:vL,prefix:null,property:null,results:_L,security:null,unselectable:null},space:`html`,transform:Syt}),YCt=AI({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:bL,accentHeight:_L,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:_L,amplitude:_L,arabicForm:null,ascent:_L,attributeName:null,attributeType:null,azimuth:_L,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:_L,by:null,calcMode:null,capHeight:_L,className:vL,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:_L,diffuseConstant:_L,direction:null,display:null,dur:null,divisor:_L,dominantBaseline:null,download:mL,dx:null,dy:null,edgeMode:null,editable:null,elevation:_L,enableBackground:null,end:null,event:null,exponent:_L,externalResourcesRequired:null,fill:null,fillOpacity:_L,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:yL,g2:yL,glyphName:yL,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:_L,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:_L,horizOriginX:_L,horizOriginY:_L,id:null,ideographic:_L,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:_L,k:_L,k1:_L,k2:_L,k3:_L,k4:_L,kernelMatrix:bL,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:_L,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:_L,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:_L,overlineThickness:_L,paintOrder:null,panose1:null,path:null,pathLength:_L,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:vL,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:_L,pointsAtY:_L,pointsAtZ:_L,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:bL,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:bL,rev:bL,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:bL,requiredFeatures:bL,requiredFonts:bL,requiredFormats:bL,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:_L,specularExponent:_L,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:_L,strikethroughThickness:_L,string:null,stroke:null,strokeDashArray:bL,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:_L,strokeOpacity:_L,strokeWidth:null,style:null,surfaceScale:_L,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:bL,tabIndex:_L,tableValues:null,target:null,targetX:_L,targetY:_L,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:bL,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:_L,underlineThickness:_L,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:_L,values:null,vAlphabetic:_L,vMathematical:_L,vectorEffect:null,vHanging:_L,vIdeographic:_L,version:null,vertAdvY:_L,vertOriginX:_L,vertOriginY:_L,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:_L,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:xyt}),XCt=AI({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),ZCt=AI({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:Syt}),QCt=AI({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),$Ct=/[A-Z]/g,ewt=/-[a-z]/g,twt=/^data[-\w.:]+$/i,CL=yyt([qCt,JCt,XCt,ZCt,QCt],`html`),wL=yyt([qCt,YCt,XCt,ZCt,QCt],`svg`),nwt=/[#.]/g,rwt=new Set([`button`,`menu`,`reset`,`submit`]),TL={}.hasOwnProperty,iwt=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`),awt=Ayt(CL,`div`),owt=Ayt(wL,`g`,iwt),EL=/\r?\n|\r/g,DL={html:`http://www.w3.org/1999/xhtml`,mathml:`http://www.w3.org/1998/Math/MathML`,svg:`http://www.w3.org/2000/svg`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`},swt={}.hasOwnProperty,cwt=Object.prototype,lwt=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),(function(e){e[e.EOF=-1]=`EOF`,e[e.NULL=0]=`NULL`,e[e.TABULATION=9]=`TABULATION`,e[e.CARRIAGE_RETURN=13]=`CARRIAGE_RETURN`,e[e.LINE_FEED=10]=`LINE_FEED`,e[e.FORM_FEED=12]=`FORM_FEED`,e[e.SPACE=32]=`SPACE`,e[e.EXCLAMATION_MARK=33]=`EXCLAMATION_MARK`,e[e.QUOTATION_MARK=34]=`QUOTATION_MARK`,e[e.AMPERSAND=38]=`AMPERSAND`,e[e.APOSTROPHE=39]=`APOSTROPHE`,e[e.HYPHEN_MINUS=45]=`HYPHEN_MINUS`,e[e.SOLIDUS=47]=`SOLIDUS`,e[e.DIGIT_0=48]=`DIGIT_0`,e[e.DIGIT_9=57]=`DIGIT_9`,e[e.SEMICOLON=59]=`SEMICOLON`,e[e.LESS_THAN_SIGN=60]=`LESS_THAN_SIGN`,e[e.EQUALS_SIGN=61]=`EQUALS_SIGN`,e[e.GREATER_THAN_SIGN=62]=`GREATER_THAN_SIGN`,e[e.QUESTION_MARK=63]=`QUESTION_MARK`,e[e.LATIN_CAPITAL_A=65]=`LATIN_CAPITAL_A`,e[e.LATIN_CAPITAL_Z=90]=`LATIN_CAPITAL_Z`,e[e.RIGHT_SQUARE_BRACKET=93]=`RIGHT_SQUARE_BRACKET`,e[e.GRAVE_ACCENT=96]=`GRAVE_ACCENT`,e[e.LATIN_SMALL_A=97]=`LATIN_SMALL_A`,e[e.LATIN_SMALL_Z=122]=`LATIN_SMALL_Z`})(G||={}),OL={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`},(function(e){e.controlCharacterInInputStream=`control-character-in-input-stream`,e.noncharacterInInputStream=`noncharacter-in-input-stream`,e.surrogateInInputStream=`surrogate-in-input-stream`,e.nonVoidHtmlElementStartTagWithTrailingSolidus=`non-void-html-element-start-tag-with-trailing-solidus`,e.endTagWithAttributes=`end-tag-with-attributes`,e.endTagWithTrailingSolidus=`end-tag-with-trailing-solidus`,e.unexpectedSolidusInTag=`unexpected-solidus-in-tag`,e.unexpectedNullCharacter=`unexpected-null-character`,e.unexpectedQuestionMarkInsteadOfTagName=`unexpected-question-mark-instead-of-tag-name`,e.invalidFirstCharacterOfTagName=`invalid-first-character-of-tag-name`,e.unexpectedEqualsSignBeforeAttributeName=`unexpected-equals-sign-before-attribute-name`,e.missingEndTagName=`missing-end-tag-name`,e.unexpectedCharacterInAttributeName=`unexpected-character-in-attribute-name`,e.unknownNamedCharacterReference=`unknown-named-character-reference`,e.missingSemicolonAfterCharacterReference=`missing-semicolon-after-character-reference`,e.unexpectedCharacterAfterDoctypeSystemIdentifier=`unexpected-character-after-doctype-system-identifier`,e.unexpectedCharacterInUnquotedAttributeValue=`unexpected-character-in-unquoted-attribute-value`,e.eofBeforeTagName=`eof-before-tag-name`,e.eofInTag=`eof-in-tag`,e.missingAttributeValue=`missing-attribute-value`,e.missingWhitespaceBetweenAttributes=`missing-whitespace-between-attributes`,e.missingWhitespaceAfterDoctypePublicKeyword=`missing-whitespace-after-doctype-public-keyword`,e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers=`missing-whitespace-between-doctype-public-and-system-identifiers`,e.missingWhitespaceAfterDoctypeSystemKeyword=`missing-whitespace-after-doctype-system-keyword`,e.missingQuoteBeforeDoctypePublicIdentifier=`missing-quote-before-doctype-public-identifier`,e.missingQuoteBeforeDoctypeSystemIdentifier=`missing-quote-before-doctype-system-identifier`,e.missingDoctypePublicIdentifier=`missing-doctype-public-identifier`,e.missingDoctypeSystemIdentifier=`missing-doctype-system-identifier`,e.abruptDoctypePublicIdentifier=`abrupt-doctype-public-identifier`,e.abruptDoctypeSystemIdentifier=`abrupt-doctype-system-identifier`,e.cdataInHtmlContent=`cdata-in-html-content`,e.incorrectlyOpenedComment=`incorrectly-opened-comment`,e.eofInScriptHtmlCommentLikeText=`eof-in-script-html-comment-like-text`,e.eofInDoctype=`eof-in-doctype`,e.nestedComment=`nested-comment`,e.abruptClosingOfEmptyComment=`abrupt-closing-of-empty-comment`,e.eofInComment=`eof-in-comment`,e.incorrectlyClosedComment=`incorrectly-closed-comment`,e.eofInCdata=`eof-in-cdata`,e.absenceOfDigitsInNumericCharacterReference=`absence-of-digits-in-numeric-character-reference`,e.nullCharacterReference=`null-character-reference`,e.surrogateCharacterReference=`surrogate-character-reference`,e.characterReferenceOutsideUnicodeRange=`character-reference-outside-unicode-range`,e.controlCharacterReference=`control-character-reference`,e.noncharacterCharacterReference=`noncharacter-character-reference`,e.missingWhitespaceBeforeDoctypeName=`missing-whitespace-before-doctype-name`,e.missingDoctypeName=`missing-doctype-name`,e.invalidCharacterSequenceAfterDoctypeName=`invalid-character-sequence-after-doctype-name`,e.duplicateAttribute=`duplicate-attribute`,e.nonConformingDoctype=`non-conforming-doctype`,e.missingDoctype=`missing-doctype`,e.misplacedDoctype=`misplaced-doctype`,e.endTagWithoutMatchingOpenElement=`end-tag-without-matching-open-element`,e.closingOfElementWithOpenChildElements=`closing-of-element-with-open-child-elements`,e.disallowedContentInNoscriptInHead=`disallowed-content-in-noscript-in-head`,e.openElementsLeftAfterEof=`open-elements-left-after-eof`,e.abandonedHeadElementChild=`abandoned-head-element-child`,e.misplacedStartTagForHeadElement=`misplaced-start-tag-for-head-element`,e.nestedNoscriptInHead=`nested-noscript-in-head`,e.eofInElementThatCanContainOnlyText=`eof-in-element-that-can-contain-only-text`})(kL||={}),uwt=65536,dwt=class{constructor(e){this.handler=e,this.html=``,this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=uwt,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(Gyt(t))return this.pos++,this._addGap(),Kyt(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,G.EOF;return this._err(kL.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,G.EOF;let n=this.html.charCodeAt(t);return n===G.CARRIAGE_RETURN?G.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,G.EOF;let e=this.html.charCodeAt(this.pos);return e===G.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,G.LINE_FEED):e===G.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Wyt(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===G.LINE_FEED||e===G.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){qyt(e)?this._err(kL.controlCharacterInInputStream):Jyt(e)&&this._err(kL.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},(function(e){e[e.CHARACTER=0]=`CHARACTER`,e[e.NULL_CHARACTER=1]=`NULL_CHARACTER`,e[e.WHITESPACE_CHARACTER=2]=`WHITESPACE_CHARACTER`,e[e.START_TAG=3]=`START_TAG`,e[e.END_TAG=4]=`END_TAG`,e[e.COMMENT=5]=`COMMENT`,e[e.DOCTYPE=6]=`DOCTYPE`,e[e.EOF=7]=`EOF`,e[e.HIBERNATION=8]=`HIBERNATION`})(AL||={}),fwt=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),pwt=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),String.fromCodePoint,(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(jL||={}),mwt=32,(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(ML||={}),(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(NL||={}),(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(PL||={}),hwt=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=NL.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=PL.Strict}startEntity(e){this.decodeMode=e,this.state=NL.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case NL.EntityStart:return e.charCodeAt(t)===jL.NUM?(this.state=NL.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=NL.NamedEntity,this.stateNamedEntity(e,t));case NL.NumericStart:return this.stateNumericStart(e,t);case NL.NumericDecimal:return this.stateNumericDecimal(e,t);case NL.NumericHex:return this.stateNumericHex(e,t);case NL.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|mwt)===jL.LOWER_X?(this.state=NL.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=NL.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Zyt(r)||Qyt(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Zyt(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===jL.SEMI)this.consumed+=1;else if(this.decodeMode===PL.Strict)return 0;return this.emitCodePoint(Xyt(this.result),this.consumed),this.errors&&(e!==jL.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&ML.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=tbt(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===PL.Attribute&&(i===0||ebt(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&ML.VALUE_LENGTH)>>14,i!==0){if(a===jL.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==PL.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&ML.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~ML.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case NL.NamedEntity:return this.result!==0&&(this.decodeMode!==PL.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case NL.NumericDecimal:return this.emitNumericEntity(0,2);case NL.NumericHex:return this.emitNumericEntity(0,3);case NL.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case NL.EntityStart:return 0}}},(function(e){e.HTML=`http://www.w3.org/1999/xhtml`,e.MATHML=`http://www.w3.org/1998/Math/MathML`,e.SVG=`http://www.w3.org/2000/svg`,e.XLINK=`http://www.w3.org/1999/xlink`,e.XML=`http://www.w3.org/XML/1998/namespace`,e.XMLNS=`http://www.w3.org/2000/xmlns/`})(FL||={}),(function(e){e.TYPE=`type`,e.ACTION=`action`,e.ENCODING=`encoding`,e.PROMPT=`prompt`,e.NAME=`name`,e.COLOR=`color`,e.FACE=`face`,e.SIZE=`size`})(IL||={}),(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(LL||={}),(function(e){e.A=`a`,e.ADDRESS=`address`,e.ANNOTATION_XML=`annotation-xml`,e.APPLET=`applet`,e.AREA=`area`,e.ARTICLE=`article`,e.ASIDE=`aside`,e.B=`b`,e.BASE=`base`,e.BASEFONT=`basefont`,e.BGSOUND=`bgsound`,e.BIG=`big`,e.BLOCKQUOTE=`blockquote`,e.BODY=`body`,e.BR=`br`,e.BUTTON=`button`,e.CAPTION=`caption`,e.CENTER=`center`,e.CODE=`code`,e.COL=`col`,e.COLGROUP=`colgroup`,e.DD=`dd`,e.DESC=`desc`,e.DETAILS=`details`,e.DIALOG=`dialog`,e.DIR=`dir`,e.DIV=`div`,e.DL=`dl`,e.DT=`dt`,e.EM=`em`,e.EMBED=`embed`,e.FIELDSET=`fieldset`,e.FIGCAPTION=`figcaption`,e.FIGURE=`figure`,e.FONT=`font`,e.FOOTER=`footer`,e.FOREIGN_OBJECT=`foreignObject`,e.FORM=`form`,e.FRAME=`frame`,e.FRAMESET=`frameset`,e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e.HEAD=`head`,e.HEADER=`header`,e.HGROUP=`hgroup`,e.HR=`hr`,e.HTML=`html`,e.I=`i`,e.IMG=`img`,e.IMAGE=`image`,e.INPUT=`input`,e.IFRAME=`iframe`,e.KEYGEN=`keygen`,e.LABEL=`label`,e.LI=`li`,e.LINK=`link`,e.LISTING=`listing`,e.MAIN=`main`,e.MALIGNMARK=`malignmark`,e.MARQUEE=`marquee`,e.MATH=`math`,e.MENU=`menu`,e.META=`meta`,e.MGLYPH=`mglyph`,e.MI=`mi`,e.MO=`mo`,e.MN=`mn`,e.MS=`ms`,e.MTEXT=`mtext`,e.NAV=`nav`,e.NOBR=`nobr`,e.NOFRAMES=`noframes`,e.NOEMBED=`noembed`,e.NOSCRIPT=`noscript`,e.OBJECT=`object`,e.OL=`ol`,e.OPTGROUP=`optgroup`,e.OPTION=`option`,e.P=`p`,e.PARAM=`param`,e.PLAINTEXT=`plaintext`,e.PRE=`pre`,e.RB=`rb`,e.RP=`rp`,e.RT=`rt`,e.RTC=`rtc`,e.RUBY=`ruby`,e.S=`s`,e.SCRIPT=`script`,e.SEARCH=`search`,e.SECTION=`section`,e.SELECT=`select`,e.SOURCE=`source`,e.SMALL=`small`,e.SPAN=`span`,e.STRIKE=`strike`,e.STRONG=`strong`,e.STYLE=`style`,e.SUB=`sub`,e.SUMMARY=`summary`,e.SUP=`sup`,e.TABLE=`table`,e.TBODY=`tbody`,e.TEMPLATE=`template`,e.TEXTAREA=`textarea`,e.TFOOT=`tfoot`,e.TD=`td`,e.TH=`th`,e.THEAD=`thead`,e.TITLE=`title`,e.TR=`tr`,e.TRACK=`track`,e.TT=`tt`,e.U=`u`,e.UL=`ul`,e.SVG=`svg`,e.VAR=`var`,e.WBR=`wbr`,e.XMP=`xmp`})(RL||={}),(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.A=1]=`A`,e[e.ADDRESS=2]=`ADDRESS`,e[e.ANNOTATION_XML=3]=`ANNOTATION_XML`,e[e.APPLET=4]=`APPLET`,e[e.AREA=5]=`AREA`,e[e.ARTICLE=6]=`ARTICLE`,e[e.ASIDE=7]=`ASIDE`,e[e.B=8]=`B`,e[e.BASE=9]=`BASE`,e[e.BASEFONT=10]=`BASEFONT`,e[e.BGSOUND=11]=`BGSOUND`,e[e.BIG=12]=`BIG`,e[e.BLOCKQUOTE=13]=`BLOCKQUOTE`,e[e.BODY=14]=`BODY`,e[e.BR=15]=`BR`,e[e.BUTTON=16]=`BUTTON`,e[e.CAPTION=17]=`CAPTION`,e[e.CENTER=18]=`CENTER`,e[e.CODE=19]=`CODE`,e[e.COL=20]=`COL`,e[e.COLGROUP=21]=`COLGROUP`,e[e.DD=22]=`DD`,e[e.DESC=23]=`DESC`,e[e.DETAILS=24]=`DETAILS`,e[e.DIALOG=25]=`DIALOG`,e[e.DIR=26]=`DIR`,e[e.DIV=27]=`DIV`,e[e.DL=28]=`DL`,e[e.DT=29]=`DT`,e[e.EM=30]=`EM`,e[e.EMBED=31]=`EMBED`,e[e.FIELDSET=32]=`FIELDSET`,e[e.FIGCAPTION=33]=`FIGCAPTION`,e[e.FIGURE=34]=`FIGURE`,e[e.FONT=35]=`FONT`,e[e.FOOTER=36]=`FOOTER`,e[e.FOREIGN_OBJECT=37]=`FOREIGN_OBJECT`,e[e.FORM=38]=`FORM`,e[e.FRAME=39]=`FRAME`,e[e.FRAMESET=40]=`FRAMESET`,e[e.H1=41]=`H1`,e[e.H2=42]=`H2`,e[e.H3=43]=`H3`,e[e.H4=44]=`H4`,e[e.H5=45]=`H5`,e[e.H6=46]=`H6`,e[e.HEAD=47]=`HEAD`,e[e.HEADER=48]=`HEADER`,e[e.HGROUP=49]=`HGROUP`,e[e.HR=50]=`HR`,e[e.HTML=51]=`HTML`,e[e.I=52]=`I`,e[e.IMG=53]=`IMG`,e[e.IMAGE=54]=`IMAGE`,e[e.INPUT=55]=`INPUT`,e[e.IFRAME=56]=`IFRAME`,e[e.KEYGEN=57]=`KEYGEN`,e[e.LABEL=58]=`LABEL`,e[e.LI=59]=`LI`,e[e.LINK=60]=`LINK`,e[e.LISTING=61]=`LISTING`,e[e.MAIN=62]=`MAIN`,e[e.MALIGNMARK=63]=`MALIGNMARK`,e[e.MARQUEE=64]=`MARQUEE`,e[e.MATH=65]=`MATH`,e[e.MENU=66]=`MENU`,e[e.META=67]=`META`,e[e.MGLYPH=68]=`MGLYPH`,e[e.MI=69]=`MI`,e[e.MO=70]=`MO`,e[e.MN=71]=`MN`,e[e.MS=72]=`MS`,e[e.MTEXT=73]=`MTEXT`,e[e.NAV=74]=`NAV`,e[e.NOBR=75]=`NOBR`,e[e.NOFRAMES=76]=`NOFRAMES`,e[e.NOEMBED=77]=`NOEMBED`,e[e.NOSCRIPT=78]=`NOSCRIPT`,e[e.OBJECT=79]=`OBJECT`,e[e.OL=80]=`OL`,e[e.OPTGROUP=81]=`OPTGROUP`,e[e.OPTION=82]=`OPTION`,e[e.P=83]=`P`,e[e.PARAM=84]=`PARAM`,e[e.PLAINTEXT=85]=`PLAINTEXT`,e[e.PRE=86]=`PRE`,e[e.RB=87]=`RB`,e[e.RP=88]=`RP`,e[e.RT=89]=`RT`,e[e.RTC=90]=`RTC`,e[e.RUBY=91]=`RUBY`,e[e.S=92]=`S`,e[e.SCRIPT=93]=`SCRIPT`,e[e.SEARCH=94]=`SEARCH`,e[e.SECTION=95]=`SECTION`,e[e.SELECT=96]=`SELECT`,e[e.SOURCE=97]=`SOURCE`,e[e.SMALL=98]=`SMALL`,e[e.SPAN=99]=`SPAN`,e[e.STRIKE=100]=`STRIKE`,e[e.STRONG=101]=`STRONG`,e[e.STYLE=102]=`STYLE`,e[e.SUB=103]=`SUB`,e[e.SUMMARY=104]=`SUMMARY`,e[e.SUP=105]=`SUP`,e[e.TABLE=106]=`TABLE`,e[e.TBODY=107]=`TBODY`,e[e.TEMPLATE=108]=`TEMPLATE`,e[e.TEXTAREA=109]=`TEXTAREA`,e[e.TFOOT=110]=`TFOOT`,e[e.TD=111]=`TD`,e[e.TH=112]=`TH`,e[e.THEAD=113]=`THEAD`,e[e.TITLE=114]=`TITLE`,e[e.TR=115]=`TR`,e[e.TRACK=116]=`TRACK`,e[e.TT=117]=`TT`,e[e.U=118]=`U`,e[e.UL=119]=`UL`,e[e.SVG=120]=`SVG`,e[e.VAR=121]=`VAR`,e[e.WBR=122]=`WBR`,e[e.XMP=123]=`XMP`})(K||={}),gwt=new Map([[RL.A,K.A],[RL.ADDRESS,K.ADDRESS],[RL.ANNOTATION_XML,K.ANNOTATION_XML],[RL.APPLET,K.APPLET],[RL.AREA,K.AREA],[RL.ARTICLE,K.ARTICLE],[RL.ASIDE,K.ASIDE],[RL.B,K.B],[RL.BASE,K.BASE],[RL.BASEFONT,K.BASEFONT],[RL.BGSOUND,K.BGSOUND],[RL.BIG,K.BIG],[RL.BLOCKQUOTE,K.BLOCKQUOTE],[RL.BODY,K.BODY],[RL.BR,K.BR],[RL.BUTTON,K.BUTTON],[RL.CAPTION,K.CAPTION],[RL.CENTER,K.CENTER],[RL.CODE,K.CODE],[RL.COL,K.COL],[RL.COLGROUP,K.COLGROUP],[RL.DD,K.DD],[RL.DESC,K.DESC],[RL.DETAILS,K.DETAILS],[RL.DIALOG,K.DIALOG],[RL.DIR,K.DIR],[RL.DIV,K.DIV],[RL.DL,K.DL],[RL.DT,K.DT],[RL.EM,K.EM],[RL.EMBED,K.EMBED],[RL.FIELDSET,K.FIELDSET],[RL.FIGCAPTION,K.FIGCAPTION],[RL.FIGURE,K.FIGURE],[RL.FONT,K.FONT],[RL.FOOTER,K.FOOTER],[RL.FOREIGN_OBJECT,K.FOREIGN_OBJECT],[RL.FORM,K.FORM],[RL.FRAME,K.FRAME],[RL.FRAMESET,K.FRAMESET],[RL.H1,K.H1],[RL.H2,K.H2],[RL.H3,K.H3],[RL.H4,K.H4],[RL.H5,K.H5],[RL.H6,K.H6],[RL.HEAD,K.HEAD],[RL.HEADER,K.HEADER],[RL.HGROUP,K.HGROUP],[RL.HR,K.HR],[RL.HTML,K.HTML],[RL.I,K.I],[RL.IMG,K.IMG],[RL.IMAGE,K.IMAGE],[RL.INPUT,K.INPUT],[RL.IFRAME,K.IFRAME],[RL.KEYGEN,K.KEYGEN],[RL.LABEL,K.LABEL],[RL.LI,K.LI],[RL.LINK,K.LINK],[RL.LISTING,K.LISTING],[RL.MAIN,K.MAIN],[RL.MALIGNMARK,K.MALIGNMARK],[RL.MARQUEE,K.MARQUEE],[RL.MATH,K.MATH],[RL.MENU,K.MENU],[RL.META,K.META],[RL.MGLYPH,K.MGLYPH],[RL.MI,K.MI],[RL.MO,K.MO],[RL.MN,K.MN],[RL.MS,K.MS],[RL.MTEXT,K.MTEXT],[RL.NAV,K.NAV],[RL.NOBR,K.NOBR],[RL.NOFRAMES,K.NOFRAMES],[RL.NOEMBED,K.NOEMBED],[RL.NOSCRIPT,K.NOSCRIPT],[RL.OBJECT,K.OBJECT],[RL.OL,K.OL],[RL.OPTGROUP,K.OPTGROUP],[RL.OPTION,K.OPTION],[RL.P,K.P],[RL.PARAM,K.PARAM],[RL.PLAINTEXT,K.PLAINTEXT],[RL.PRE,K.PRE],[RL.RB,K.RB],[RL.RP,K.RP],[RL.RT,K.RT],[RL.RTC,K.RTC],[RL.RUBY,K.RUBY],[RL.S,K.S],[RL.SCRIPT,K.SCRIPT],[RL.SEARCH,K.SEARCH],[RL.SECTION,K.SECTION],[RL.SELECT,K.SELECT],[RL.SOURCE,K.SOURCE],[RL.SMALL,K.SMALL],[RL.SPAN,K.SPAN],[RL.STRIKE,K.STRIKE],[RL.STRONG,K.STRONG],[RL.STYLE,K.STYLE],[RL.SUB,K.SUB],[RL.SUMMARY,K.SUMMARY],[RL.SUP,K.SUP],[RL.TABLE,K.TABLE],[RL.TBODY,K.TBODY],[RL.TEMPLATE,K.TEMPLATE],[RL.TEXTAREA,K.TEXTAREA],[RL.TFOOT,K.TFOOT],[RL.TD,K.TD],[RL.TH,K.TH],[RL.THEAD,K.THEAD],[RL.TITLE,K.TITLE],[RL.TR,K.TR],[RL.TRACK,K.TRACK],[RL.TT,K.TT],[RL.U,K.U],[RL.UL,K.UL],[RL.SVG,K.SVG],[RL.VAR,K.VAR],[RL.WBR,K.WBR],[RL.XMP,K.XMP]]),zL=K,_wt={[FL.HTML]:new Set([zL.ADDRESS,zL.APPLET,zL.AREA,zL.ARTICLE,zL.ASIDE,zL.BASE,zL.BASEFONT,zL.BGSOUND,zL.BLOCKQUOTE,zL.BODY,zL.BR,zL.BUTTON,zL.CAPTION,zL.CENTER,zL.COL,zL.COLGROUP,zL.DD,zL.DETAILS,zL.DIR,zL.DIV,zL.DL,zL.DT,zL.EMBED,zL.FIELDSET,zL.FIGCAPTION,zL.FIGURE,zL.FOOTER,zL.FORM,zL.FRAME,zL.FRAMESET,zL.H1,zL.H2,zL.H3,zL.H4,zL.H5,zL.H6,zL.HEAD,zL.HEADER,zL.HGROUP,zL.HR,zL.HTML,zL.IFRAME,zL.IMG,zL.INPUT,zL.LI,zL.LINK,zL.LISTING,zL.MAIN,zL.MARQUEE,zL.MENU,zL.META,zL.NAV,zL.NOEMBED,zL.NOFRAMES,zL.NOSCRIPT,zL.OBJECT,zL.OL,zL.P,zL.PARAM,zL.PLAINTEXT,zL.PRE,zL.SCRIPT,zL.SECTION,zL.SELECT,zL.SOURCE,zL.STYLE,zL.SUMMARY,zL.TABLE,zL.TBODY,zL.TD,zL.TEMPLATE,zL.TEXTAREA,zL.TFOOT,zL.TH,zL.THEAD,zL.TITLE,zL.TR,zL.TRACK,zL.UL,zL.WBR,zL.XMP]),[FL.MATHML]:new Set([zL.MI,zL.MO,zL.MN,zL.MS,zL.MTEXT,zL.ANNOTATION_XML]),[FL.SVG]:new Set([zL.TITLE,zL.FOREIGN_OBJECT,zL.DESC]),[FL.XLINK]:new Set,[FL.XML]:new Set,[FL.XMLNS]:new Set},BL=new Set([zL.H1,zL.H2,zL.H3,zL.H4,zL.H5,zL.H6]),RL.STYLE,RL.SCRIPT,RL.XMP,RL.IFRAME,RL.NOEMBED,RL.NOFRAMES,RL.PLAINTEXT,(function(e){e[e.DATA=0]=`DATA`,e[e.RCDATA=1]=`RCDATA`,e[e.RAWTEXT=2]=`RAWTEXT`,e[e.SCRIPT_DATA=3]=`SCRIPT_DATA`,e[e.PLAINTEXT=4]=`PLAINTEXT`,e[e.TAG_OPEN=5]=`TAG_OPEN`,e[e.END_TAG_OPEN=6]=`END_TAG_OPEN`,e[e.TAG_NAME=7]=`TAG_NAME`,e[e.RCDATA_LESS_THAN_SIGN=8]=`RCDATA_LESS_THAN_SIGN`,e[e.RCDATA_END_TAG_OPEN=9]=`RCDATA_END_TAG_OPEN`,e[e.RCDATA_END_TAG_NAME=10]=`RCDATA_END_TAG_NAME`,e[e.RAWTEXT_LESS_THAN_SIGN=11]=`RAWTEXT_LESS_THAN_SIGN`,e[e.RAWTEXT_END_TAG_OPEN=12]=`RAWTEXT_END_TAG_OPEN`,e[e.RAWTEXT_END_TAG_NAME=13]=`RAWTEXT_END_TAG_NAME`,e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]=`SCRIPT_DATA_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_END_TAG_OPEN=15]=`SCRIPT_DATA_END_TAG_OPEN`,e[e.SCRIPT_DATA_END_TAG_NAME=16]=`SCRIPT_DATA_END_TAG_NAME`,e[e.SCRIPT_DATA_ESCAPE_START=17]=`SCRIPT_DATA_ESCAPE_START`,e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]=`SCRIPT_DATA_ESCAPE_START_DASH`,e[e.SCRIPT_DATA_ESCAPED=19]=`SCRIPT_DATA_ESCAPED`,e[e.SCRIPT_DATA_ESCAPED_DASH=20]=`SCRIPT_DATA_ESCAPED_DASH`,e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]=`SCRIPT_DATA_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]=`SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]=`SCRIPT_DATA_ESCAPED_END_TAG_OPEN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]=`SCRIPT_DATA_ESCAPED_END_TAG_NAME`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]=`SCRIPT_DATA_DOUBLE_ESCAPE_START`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]=`SCRIPT_DATA_DOUBLE_ESCAPED`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]=`SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]=`SCRIPT_DATA_DOUBLE_ESCAPE_END`,e[e.BEFORE_ATTRIBUTE_NAME=31]=`BEFORE_ATTRIBUTE_NAME`,e[e.ATTRIBUTE_NAME=32]=`ATTRIBUTE_NAME`,e[e.AFTER_ATTRIBUTE_NAME=33]=`AFTER_ATTRIBUTE_NAME`,e[e.BEFORE_ATTRIBUTE_VALUE=34]=`BEFORE_ATTRIBUTE_VALUE`,e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]=`ATTRIBUTE_VALUE_DOUBLE_QUOTED`,e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]=`ATTRIBUTE_VALUE_SINGLE_QUOTED`,e[e.ATTRIBUTE_VALUE_UNQUOTED=37]=`ATTRIBUTE_VALUE_UNQUOTED`,e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]=`AFTER_ATTRIBUTE_VALUE_QUOTED`,e[e.SELF_CLOSING_START_TAG=39]=`SELF_CLOSING_START_TAG`,e[e.BOGUS_COMMENT=40]=`BOGUS_COMMENT`,e[e.MARKUP_DECLARATION_OPEN=41]=`MARKUP_DECLARATION_OPEN`,e[e.COMMENT_START=42]=`COMMENT_START`,e[e.COMMENT_START_DASH=43]=`COMMENT_START_DASH`,e[e.COMMENT=44]=`COMMENT`,e[e.COMMENT_LESS_THAN_SIGN=45]=`COMMENT_LESS_THAN_SIGN`,e[e.COMMENT_LESS_THAN_SIGN_BANG=46]=`COMMENT_LESS_THAN_SIGN_BANG`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]=`COMMENT_LESS_THAN_SIGN_BANG_DASH`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]=`COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH`,e[e.COMMENT_END_DASH=49]=`COMMENT_END_DASH`,e[e.COMMENT_END=50]=`COMMENT_END`,e[e.COMMENT_END_BANG=51]=`COMMENT_END_BANG`,e[e.DOCTYPE=52]=`DOCTYPE`,e[e.BEFORE_DOCTYPE_NAME=53]=`BEFORE_DOCTYPE_NAME`,e[e.DOCTYPE_NAME=54]=`DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_NAME=55]=`AFTER_DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]=`AFTER_DOCTYPE_PUBLIC_KEYWORD`,e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]=`BEFORE_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]=`DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]=`DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]=`AFTER_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]=`BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS`,e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]=`AFTER_DOCTYPE_SYSTEM_KEYWORD`,e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]=`BEFORE_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]=`DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]=`DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]=`AFTER_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.BOGUS_DOCTYPE=67]=`BOGUS_DOCTYPE`,e[e.CDATA_SECTION=68]=`CDATA_SECTION`,e[e.CDATA_SECTION_BRACKET=69]=`CDATA_SECTION_BRACKET`,e[e.CDATA_SECTION_END=70]=`CDATA_SECTION_END`,e[e.CHARACTER_REFERENCE=71]=`CHARACTER_REFERENCE`,e[e.AMBIGUOUS_AMPERSAND=72]=`AMBIGUOUS_AMPERSAND`})(q||={}),VL={DATA:q.DATA,RCDATA:q.RCDATA,RAWTEXT:q.RAWTEXT,SCRIPT_DATA:q.SCRIPT_DATA,PLAINTEXT:q.PLAINTEXT,CDATA_SECTION:q.CDATA_SECTION},vwt=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName=``,this.active=!1,this.state=q.DATA,this.returnState=q.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new dwt(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new hwt(fwt,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(kL.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(kL.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=sbt(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error(`Parser was already resumed`);this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:AL.START_TAG,tagName:``,tagID:K.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:AL.END_TAG,tagName:``,tagID:K.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:AL.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:AL.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:``},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;let t=this.currentToken;if(Yyt(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(kL.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=PI(e.tagName),e.type===AL.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(kL.endTagWithAttributes),e.selfClosing&&this._err(kL.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case AL.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case AL.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case AL.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:AL.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=abt(e)?AL.WHITESPACE_CHARACTER:e===G.NULL?AL.NULL_CHARACTER:AL.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(AL.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=q.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?PL.Attribute:PL.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===q.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===q.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===q.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case q.DATA:this._stateData(e);break;case q.RCDATA:this._stateRcdata(e);break;case q.RAWTEXT:this._stateRawtext(e);break;case q.SCRIPT_DATA:this._stateScriptData(e);break;case q.PLAINTEXT:this._statePlaintext(e);break;case q.TAG_OPEN:this._stateTagOpen(e);break;case q.END_TAG_OPEN:this._stateEndTagOpen(e);break;case q.TAG_NAME:this._stateTagName(e);break;case q.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case q.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case q.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case q.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case q.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case q.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case q.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case q.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case q.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case q.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case q.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case q.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case q.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case q.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case q.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case q.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case q.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case q.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case q.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case q.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case q.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case q.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case q.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case q.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case q.BOGUS_COMMENT:this._stateBogusComment(e);break;case q.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case q.COMMENT_START:this._stateCommentStart(e);break;case q.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case q.COMMENT:this._stateComment(e);break;case q.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case q.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case q.COMMENT_END:this._stateCommentEnd(e);break;case q.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case q.DOCTYPE:this._stateDoctype(e);break;case q.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case q.DOCTYPE_NAME:this._stateDoctypeName(e);break;case q.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case q.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case q.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case q.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case q.CDATA_SECTION:this._stateCdataSection(e);break;case q.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case q.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case q.CHARACTER_REFERENCE:this._stateCharacterReference();break;case q.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case G.LESS_THAN_SIGN:this.state=q.TAG_OPEN;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(kL.unexpectedNullCharacter),this._emitCodePoint(e);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case G.AMPERSAND:this._startCharacterReference();break;case G.LESS_THAN_SIGN:this.state=q.RCDATA_LESS_THAN_SIGN;break;case G.NULL:this._err(kL.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case G.LESS_THAN_SIGN:this.state=q.RAWTEXT_LESS_THAN_SIGN;break;case G.NULL:this._err(kL.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case G.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_LESS_THAN_SIGN;break;case G.NULL:this._err(kL.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case G.NULL:this._err(kL.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(II(e))this._createStartTagToken(),this.state=q.TAG_NAME,this._stateTagName(e);else switch(e){case G.EXCLAMATION_MARK:this.state=q.MARKUP_DECLARATION_OPEN;break;case G.SOLIDUS:this.state=q.END_TAG_OPEN;break;case G.QUESTION_MARK:this._err(kL.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e);break;case G.EOF:this._err(kL.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(kL.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=q.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(II(e))this._createEndTagToken(),this.state=q.TAG_NAME,this._stateTagName(e);else switch(e){case G.GREATER_THAN_SIGN:this._err(kL.missingEndTagName),this.state=q.DATA;break;case G.EOF:this._err(kL.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(kL.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=q.BEFORE_ATTRIBUTE_NAME;break;case G.SOLIDUS:this.state=q.SELF_CLOSING_START_TAG;break;case G.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentTagToken();break;case G.NULL:this._err(kL.unexpectedNullCharacter),t.tagName+=`�`;break;case G.EOF:this._err(kL.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(FI(e)?LI(e):e)}}_stateRcdataLessThanSign(e){e===G.SOLIDUS?this.state=q.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=q.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){II(e)?(this.state=q.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=q.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=q.BEFORE_ATTRIBUTE_NAME,!1;case G.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=q.SELF_CLOSING_START_TAG,!1;case G.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=q.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=q.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===G.SOLIDUS?this.state=q.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){II(e)?(this.state=q.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case G.SOLIDUS:this.state=q.SCRIPT_DATA_END_TAG_OPEN;break;case G.EXCLAMATION_MARK:this.state=q.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=q.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){II(e)?(this.state=q.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===G.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===G.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case G.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.NULL:this._err(kL.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._err(kL.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case G.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.NULL:this._err(kL.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(kL.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case G.HYPHEN_MINUS:this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.GREATER_THAN_SIGN:this.state=q.SCRIPT_DATA,this._emitChars(`>`);break;case G.NULL:this._err(kL.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(kL.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===G.SOLIDUS?this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:II(e)?(this._emitChars(`<`),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){II(e)?(this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(OL.SCRIPT,!1)&&obt(this.preprocessor.peek(OL.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<OL.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case G.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.NULL:this._err(kL.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._err(kL.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case G.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.NULL:this._err(kL.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(kL.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case G.HYPHEN_MINUS:this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.GREATER_THAN_SIGN:this.state=q.SCRIPT_DATA,this._emitChars(`>`);break;case G.NULL:this._err(kL.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(kL.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===G.SOLIDUS?(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(OL.SCRIPT,!1)&&obt(this.preprocessor.peek(OL.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<OL.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=q.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.SOLIDUS:case G.GREATER_THAN_SIGN:case G.EOF:this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case G.EQUALS_SIGN:this._err(kL.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=q.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:case G.SOLIDUS:case G.GREATER_THAN_SIGN:case G.EOF:this._leaveAttrName(),this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case G.EQUALS_SIGN:this._leaveAttrName(),this.state=q.BEFORE_ATTRIBUTE_VALUE;break;case G.QUOTATION_MARK:case G.APOSTROPHE:case G.LESS_THAN_SIGN:this._err(kL.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case G.NULL:this._err(kL.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(FI(e)?LI(e):e)}}_stateAfterAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.SOLIDUS:this.state=q.SELF_CLOSING_START_TAG;break;case G.EQUALS_SIGN:this.state=q.BEFORE_ATTRIBUTE_VALUE;break;case G.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentTagToken();break;case G.EOF:this._err(kL.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:this.state=q.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case G.APOSTROPHE:this.state=q.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(kL.missingAttributeValue),this.state=q.DATA,this.emitCurrentTagToken();break;default:this.state=q.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case G.QUOTATION_MARK:this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(kL.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.EOF:this._err(kL.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case G.APOSTROPHE:this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(kL.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.EOF:this._err(kL.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break;case G.AMPERSAND:this._startCharacterReference();break;case G.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break;case G.NULL:this._err(kL.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.QUOTATION_MARK:case G.APOSTROPHE:case G.LESS_THAN_SIGN:case G.EQUALS_SIGN:case G.GRAVE_ACCENT:this._err(kL.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case G.EOF:this._err(kL.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break;case G.SOLIDUS:this._leaveAttrValue(),this.state=q.SELF_CLOSING_START_TAG;break;case G.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break;case G.EOF:this._err(kL.eofInTag),this._emitEOFToken();break;default:this._err(kL.missingWhitespaceBetweenAttributes),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case G.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=q.DATA,this.emitCurrentTagToken();break}case G.EOF:this._err(kL.eofInTag),this._emitEOFToken();break;default:this._err(kL.unexpectedSolidusInTag),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentComment(t);break;case G.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case G.NULL:this._err(kL.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(OL.DASH_DASH,!0)?(this._createCommentToken(OL.DASH_DASH.length+1),this.state=q.COMMENT_START):this._consumeSequenceIfMatch(OL.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(OL.DOCTYPE.length+1),this.state=q.DOCTYPE):this._consumeSequenceIfMatch(OL.CDATA_START,!0)?this.inForeignNode?this.state=q.CDATA_SECTION:(this._err(kL.cdataInHtmlContent),this._createCommentToken(OL.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=q.BOGUS_COMMENT):this._ensureHibernation()||(this._err(kL.incorrectlyOpenedComment),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case G.HYPHEN_MINUS:this.state=q.COMMENT_START_DASH;break;case G.GREATER_THAN_SIGN:{this._err(kL.abruptClosingOfEmptyComment),this.state=q.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=q.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=q.COMMENT_END;break;case G.GREATER_THAN_SIGN:this._err(kL.abruptClosingOfEmptyComment),this.state=q.DATA,this.emitCurrentComment(t);break;case G.EOF:this._err(kL.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=q.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=q.COMMENT_END_DASH;break;case G.LESS_THAN_SIGN:t.data+=`<`,this.state=q.COMMENT_LESS_THAN_SIGN;break;case G.NULL:this._err(kL.unexpectedNullCharacter),t.data+=`�`;break;case G.EOF:this._err(kL.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case G.EXCLAMATION_MARK:t.data+=`!`,this.state=q.COMMENT_LESS_THAN_SIGN_BANG;break;case G.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=q.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===G.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=q.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===G.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=q.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==G.GREATER_THAN_SIGN&&e!==G.EOF&&this._err(kL.nestedComment),this.state=q.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=q.COMMENT_END;break;case G.EOF:this._err(kL.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=q.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentComment(t);break;case G.EXCLAMATION_MARK:this.state=q.COMMENT_END_BANG;break;case G.HYPHEN_MINUS:t.data+=`-`;break;case G.EOF:this._err(kL.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=q.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:t.data+=`--!`,this.state=q.COMMENT_END_DASH;break;case G.GREATER_THAN_SIGN:this._err(kL.incorrectlyClosedComment),this.state=q.DATA,this.emitCurrentComment(t);break;case G.EOF:this._err(kL.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=q.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=q.BEFORE_DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case G.EOF:{this._err(kL.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(kL.missingWhitespaceBeforeDoctypeName),this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(FI(e))this._createDoctypeToken(String.fromCharCode(LI(e))),this.state=q.DOCTYPE_NAME;else switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.NULL:this._err(kL.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=q.DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:{this._err(kL.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=q.DATA;break}case G.EOF:{this._err(kL.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=q.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=q.AFTER_DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case G.NULL:this._err(kL.unexpectedNullCharacter),t.name+=`�`;break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(FI(e)?LI(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(OL.PUBLIC,!1)?this.state=q.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(OL.SYSTEM,!1)?this.state=q.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(kL.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.QUOTATION_MARK:this._err(kL.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(kL.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(kL.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(kL.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:t.publicId=``,this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.publicId=``,this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(kL.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(kL.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case G.QUOTATION_MARK:this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.NULL:this._err(kL.unexpectedNullCharacter),t.publicId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(kL.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case G.APOSTROPHE:this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.NULL:this._err(kL.unexpectedNullCharacter),t.publicId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(kL.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case G.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case G.QUOTATION_MARK:this._err(kL.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(kL.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(kL.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case G.QUOTATION_MARK:t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(kL.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.QUOTATION_MARK:this._err(kL.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(kL.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(kL.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(kL.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(kL.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(kL.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case G.QUOTATION_MARK:this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.NULL:this._err(kL.unexpectedNullCharacter),t.systemId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(kL.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case G.APOSTROPHE:this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.NULL:this._err(kL.unexpectedNullCharacter),t.systemId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(kL.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case G.EOF:this._err(kL.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(kL.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case G.NULL:this._err(kL.unexpectedNullCharacter);break;case G.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case G.RIGHT_SQUARE_BRACKET:this.state=q.CDATA_SECTION_BRACKET;break;case G.EOF:this._err(kL.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===G.RIGHT_SQUARE_BRACKET?this.state=q.CDATA_SECTION_END:(this._emitChars(`]`),this.state=q.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case G.GREATER_THAN_SIGN:this.state=q.DATA;break;case G.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=q.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(G.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&ibt(this.preprocessor.peek(1))?q.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){ibt(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===G.SEMICOLON&&this._err(kL.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},ywt=new Set([K.DD,K.DT,K.LI,K.OPTGROUP,K.OPTION,K.P,K.RB,K.RP,K.RT,K.RTC]),bwt=new Set([...ywt,K.CAPTION,K.COLGROUP,K.TBODY,K.TD,K.TFOOT,K.TH,K.THEAD,K.TR]),HL=new Set([K.APPLET,K.CAPTION,K.HTML,K.MARQUEE,K.OBJECT,K.TABLE,K.TD,K.TEMPLATE,K.TH]),xwt=new Set([...HL,K.OL,K.UL]),Swt=new Set([...HL,K.BUTTON]),Cwt=new Set([K.ANNOTATION_XML,K.MI,K.MN,K.MO,K.MS,K.MTEXT]),wwt=new Set([K.DESC,K.FOREIGN_OBJECT,K.TITLE]),Twt=new Set([K.TR,K.TEMPLATE,K.HTML]),Ewt=new Set([K.TBODY,K.TFOOT,K.THEAD,K.TEMPLATE,K.HTML]),Dwt=new Set([K.TABLE,K.TEMPLATE,K.HTML]),Owt=new Set([K.TD,K.TH]),kwt=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=K.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===K.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===FL.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==FL.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(BL,FL.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Owt,FL.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Dwt,FL.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Ewt,FL.HTML)}clearBackToTableRowContext(){this.clearBackTo(Twt,FL.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===K.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===K.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case FL.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case FL.SVG:if(wwt.has(r))return!1;break;case FL.MATHML:if(Cwt.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,HL)}hasInListItemScope(e){return this.hasInDynamicScope(e,xwt)}hasInButtonScope(e){return this.hasInDynamicScope(e,Swt)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case FL.HTML:if(BL.has(t))return!0;if(HL.has(t))return!1;break;case FL.SVG:if(wwt.has(t))return!1;break;case FL.MATHML:if(Cwt.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===FL.HTML)switch(this.tagIDs[t]){case e:return!0;case K.TABLE:case K.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===FL.HTML)switch(this.tagIDs[e]){case K.TBODY:case K.THEAD:case K.TFOOT:return!0;case K.TABLE:case K.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===FL.HTML)switch(this.tagIDs[t]){case e:return!0;case K.OPTION:case K.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&ywt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&bwt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&bwt.has(this.currentTagId);)this.pop()}},UL=3,(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(WL||={}),Awt={type:WL.Marker},jwt=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===WL.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<UL)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<UL)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=UL&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(Awt)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:WL.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:WL.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(Awt);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===WL.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===WL.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===WL.Element&&t.element===e)}},GL={createDocument(){return{nodeName:`#document`,mode:LL.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:`#document-fragment`,childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:`#comment`,data:e,parentNode:null}},createTextNode(e){return{nodeName:`#text`,value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};GL.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(GL.isTextNode(n)){n.value+=t;return}}GL.appendChild(e,GL.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&GL.isTextNode(r)?r.value+=t:GL.insertBefore(e,GL.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===`#text`},isCommentNode(e){return e.nodeName===`#comment`},isDocumentTypeNode(e){return e.nodeName===`#documentType`},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,`tagName`)},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Mwt=`html`,Nwt=`about:legacy-compat`,Pwt=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,Fwt=`+//silmaril//dtd html pro v0r11 19970101//,-//as//dtd html 3.0 aswedit + extensions//,-//advasoft ltd//dtd html 3.0 aswedit + extensions//,-//ietf//dtd html 2.0 level 1//,-//ietf//dtd html 2.0 level 2//,-//ietf//dtd html 2.0 strict level 1//,-//ietf//dtd html 2.0 strict level 2//,-//ietf//dtd html 2.0 strict//,-//ietf//dtd html 2.0//,-//ietf//dtd html 2.1e//,-//ietf//dtd html 3.0//,-//ietf//dtd html 3.2 final//,-//ietf//dtd html 3.2//,-//ietf//dtd html 3//,-//ietf//dtd html level 0//,-//ietf//dtd html level 1//,-//ietf//dtd html level 2//,-//ietf//dtd html level 3//,-//ietf//dtd html strict level 0//,-//ietf//dtd html strict level 1//,-//ietf//dtd html strict level 2//,-//ietf//dtd html strict level 3//,-//ietf//dtd html strict//,-//ietf//dtd html//,-//metrius//dtd metrius presentational//,-//microsoft//dtd internet explorer 2.0 html strict//,-//microsoft//dtd internet explorer 2.0 html//,-//microsoft//dtd internet explorer 2.0 tables//,-//microsoft//dtd internet explorer 3.0 html strict//,-//microsoft//dtd internet explorer 3.0 html//,-//microsoft//dtd internet explorer 3.0 tables//,-//netscape comm. corp.//dtd html//,-//netscape comm. corp.//dtd strict html//,-//o'reilly and associates//dtd html 2.0//,-//o'reilly and associates//dtd html extended 1.0//,-//o'reilly and associates//dtd html extended relaxed 1.0//,-//sq//dtd html 2.0 hotmetal + extensions//,-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//,-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//,-//spyglass//dtd html 2.0 extended//,-//sun microsystems corp.//dtd hotjava html//,-//sun microsystems corp.//dtd hotjava strict html//,-//w3c//dtd html 3 1995-03-24//,-//w3c//dtd html 3.2 draft//,-//w3c//dtd html 3.2 final//,-//w3c//dtd html 3.2//,-//w3c//dtd html 3.2s draft//,-//w3c//dtd html 4.0 frameset//,-//w3c//dtd html 4.0 transitional//,-//w3c//dtd html experimental 19960712//,-//w3c//dtd html experimental 970421//,-//w3c//dtd w3 html//,-//w3o//dtd w3 html 3.0//,-//webtechs//dtd mozilla html 2.0//,-//webtechs//dtd mozilla html//`.split(`,`),Iwt=[...Fwt,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],Lwt=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),Rwt=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],zwt=[...Rwt,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],Bwt={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},Vwt=`definitionurl`,Hwt=`definitionURL`,Uwt=new Map(`attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),Wwt=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:FL.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:FL.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:FL.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:FL.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:FL.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:FL.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:FL.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:FL.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:FL.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:FL.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:FL.XMLNS}]]),Gwt=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),Kwt=new Set([K.B,K.BIG,K.BLOCKQUOTE,K.BODY,K.BR,K.CENTER,K.CODE,K.DD,K.DIV,K.DL,K.DT,K.EM,K.EMBED,K.H1,K.H2,K.H3,K.H4,K.H5,K.H6,K.HEAD,K.HR,K.I,K.IMG,K.LI,K.LISTING,K.MENU,K.META,K.NOBR,K.OL,K.P,K.PRE,K.RUBY,K.S,K.SMALL,K.SPAN,K.STRONG,K.STRIKE,K.SUB,K.SUP,K.TABLE,K.TT,K.U,K.UL,K.VAR]),qwt=`hidden`,Jwt=8,Ywt=3,(function(e){e[e.INITIAL=0]=`INITIAL`,e[e.BEFORE_HTML=1]=`BEFORE_HTML`,e[e.BEFORE_HEAD=2]=`BEFORE_HEAD`,e[e.IN_HEAD=3]=`IN_HEAD`,e[e.IN_HEAD_NO_SCRIPT=4]=`IN_HEAD_NO_SCRIPT`,e[e.AFTER_HEAD=5]=`AFTER_HEAD`,e[e.IN_BODY=6]=`IN_BODY`,e[e.TEXT=7]=`TEXT`,e[e.IN_TABLE=8]=`IN_TABLE`,e[e.IN_TABLE_TEXT=9]=`IN_TABLE_TEXT`,e[e.IN_CAPTION=10]=`IN_CAPTION`,e[e.IN_COLUMN_GROUP=11]=`IN_COLUMN_GROUP`,e[e.IN_TABLE_BODY=12]=`IN_TABLE_BODY`,e[e.IN_ROW=13]=`IN_ROW`,e[e.IN_CELL=14]=`IN_CELL`,e[e.IN_SELECT=15]=`IN_SELECT`,e[e.IN_SELECT_IN_TABLE=16]=`IN_SELECT_IN_TABLE`,e[e.IN_TEMPLATE=17]=`IN_TEMPLATE`,e[e.AFTER_BODY=18]=`AFTER_BODY`,e[e.IN_FRAMESET=19]=`IN_FRAMESET`,e[e.AFTER_FRAMESET=20]=`AFTER_FRAMESET`,e[e.AFTER_AFTER_BODY=21]=`AFTER_AFTER_BODY`,e[e.AFTER_AFTER_FRAMESET=22]=`AFTER_AFTER_FRAMESET`})(J||={}),Xwt={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Zwt=new Set([K.TABLE,K.TBODY,K.TFOOT,K.THEAD,K.TR]),Qwt={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:GL,onParseError:null},KL=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=J.INITIAL,this.originalInsertionMode=J.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Qwt,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new vwt(this.options,this),this.activeFormattingElements=new jwt(this.treeAdapter),this.fragmentContextID=n?PI(this.treeAdapter.getTagName(n)):K.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new kwt(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...Qwt,...t};e??=n.treeAdapter.createElement(RL.TEMPLATE,FL.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,FL.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===K.TEMPLATE&&i.tmplInsertionModeStack.unshift(J.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??Xwt,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===FL.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,FL.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=J.TEXT}switchToPlaintextParsing(){this.insertionMode=J.TEXT,this.originalInsertionMode=J.IN_BODY,this.tokenizer.state=VL.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===RL.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===FL.HTML)switch(this.fragmentContextID){case K.TITLE:case K.TEXTAREA:this.tokenizer.state=VL.RCDATA;break;case K.STYLE:case K.XMP:case K.IFRAME:case K.NOEMBED:case K.NOFRAMES:case K.NOSCRIPT:this.tokenizer.state=VL.RAWTEXT;break;case K.SCRIPT:this.tokenizer.state=VL.SCRIPT_DATA;break;case K.PLAINTEXT:this.tokenizer.state=VL.PLAINTEXT}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,FL.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,FL.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(RL.HTML,FL.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,K.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===AL.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===K.SVG&&this.treeAdapter.getTagName(t)===RL.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===FL.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===K.MGLYPH||e.tagID===K.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,FL.HTML)}_processToken(e){switch(e.type){case AL.CHARACTER:this.onCharacter(e);break;case AL.NULL_CHARACTER:this.onNullCharacter(e);break;case AL.COMMENT:this.onComment(e);break;case AL.DOCTYPE:this.onDoctype(e);break;case AL.START_TAG:this._processStartTag(e);break;case AL.END_TAG:this.onEndTag(e);break;case AL.EOF:this.onEof(e);break;case AL.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return vbt(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===WL.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=J.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(K.P),this.openElements.popUntilTagNamePopped(K.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case K.TR:this.insertionMode=J.IN_ROW;return;case K.TBODY:case K.THEAD:case K.TFOOT:this.insertionMode=J.IN_TABLE_BODY;return;case K.CAPTION:this.insertionMode=J.IN_CAPTION;return;case K.COLGROUP:this.insertionMode=J.IN_COLUMN_GROUP;return;case K.TABLE:this.insertionMode=J.IN_TABLE;return;case K.BODY:this.insertionMode=J.IN_BODY;return;case K.FRAMESET:this.insertionMode=J.IN_FRAMESET;return;case K.SELECT:this._resetInsertionModeForSelect(e);return;case K.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case K.HTML:this.insertionMode=this.headElement?J.AFTER_HEAD:J.BEFORE_HEAD;return;case K.TD:case K.TH:if(e>0){this.insertionMode=J.IN_CELL;return}break;case K.HEAD:if(e>0){this.insertionMode=J.IN_HEAD;return}}this.insertionMode=J.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===K.TEMPLATE)break;if(e===K.TABLE){this.insertionMode=J.IN_SELECT_IN_TABLE;return}}this.insertionMode=J.IN_SELECT}_isElementCausesFosterParenting(e){return Zwt.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case K.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===FL.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case K.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return _wt[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)hSt(this,e);else switch(this.insertionMode){case J.INITIAL:RI(this,e);break;case J.BEFORE_HTML:zI(this,e);break;case J.BEFORE_HEAD:BI(this,e);break;case J.IN_HEAD:UI(this,e);break;case J.IN_HEAD_NO_SCRIPT:WI(this,e);break;case J.AFTER_HEAD:GI(this,e);break;case J.IN_BODY:case J.IN_CAPTION:case J.IN_CELL:case J.IN_TEMPLATE:Vbt(this,e);break;case J.TEXT:case J.IN_SELECT:case J.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case J.IN_TABLE:case J.IN_TABLE_BODY:case J.IN_ROW:Pxt(this,e);break;case J.IN_TABLE_TEXT:Wxt(this,e);break;case J.IN_COLUMN_GROUP:$I(this,e);break;case J.AFTER_BODY:nL(this,e);break;case J.AFTER_AFTER_BODY:rL(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)mSt(this,e);else switch(this.insertionMode){case J.INITIAL:RI(this,e);break;case J.BEFORE_HTML:zI(this,e);break;case J.BEFORE_HEAD:BI(this,e);break;case J.IN_HEAD:UI(this,e);break;case J.IN_HEAD_NO_SCRIPT:WI(this,e);break;case J.AFTER_HEAD:GI(this,e);break;case J.TEXT:this._insertCharacters(e);break;case J.IN_TABLE:case J.IN_TABLE_BODY:case J.IN_ROW:Pxt(this,e);break;case J.IN_COLUMN_GROUP:$I(this,e);break;case J.AFTER_BODY:nL(this,e);break;case J.AFTER_AFTER_BODY:rL(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Ebt(this,e);else switch(this.insertionMode){case J.INITIAL:case J.BEFORE_HTML:case J.BEFORE_HEAD:case J.IN_HEAD:case J.IN_HEAD_NO_SCRIPT:case J.AFTER_HEAD:case J.IN_BODY:case J.IN_TABLE:case J.IN_CAPTION:case J.IN_COLUMN_GROUP:case J.IN_TABLE_BODY:case J.IN_ROW:case J.IN_CELL:case J.IN_SELECT:case J.IN_SELECT_IN_TABLE:case J.IN_TEMPLATE:case J.IN_FRAMESET:case J.AFTER_FRAMESET:Ebt(this,e);break;case J.IN_TABLE_TEXT:QI(this,e);break;case J.AFTER_BODY:Dbt(this,e);break;case J.AFTER_AFTER_BODY:case J.AFTER_AFTER_FRAMESET:Obt(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case J.INITIAL:Abt(this,e);break;case J.BEFORE_HEAD:case J.IN_HEAD:case J.IN_HEAD_NO_SCRIPT:case J.AFTER_HEAD:this._err(e,kL.misplacedDoctype);break;case J.IN_TABLE_TEXT:QI(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,kL.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?_St(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case J.INITIAL:RI(this,e);break;case J.BEFORE_HTML:jbt(this,e);break;case J.BEFORE_HEAD:Nbt(this,e);break;case J.IN_HEAD:VI(this,e);break;case J.IN_HEAD_NO_SCRIPT:Ibt(this,e);break;case J.AFTER_HEAD:Rbt(this,e);break;case J.IN_BODY:qI(this,e);break;case J.IN_TABLE:YI(this,e);break;case J.IN_TABLE_TEXT:QI(this,e);break;case J.IN_CAPTION:Gxt(this,e);break;case J.IN_COLUMN_GROUP:qxt(this,e);break;case J.IN_TABLE_BODY:eL(this,e);break;case J.IN_ROW:tL(this,e);break;case J.IN_CELL:Zxt(this,e);break;case J.IN_SELECT:$xt(this,e);break;case J.IN_SELECT_IN_TABLE:tSt(this,e);break;case J.IN_TEMPLATE:rSt(this,e);break;case J.AFTER_BODY:oSt(this,e);break;case J.IN_FRAMESET:cSt(this,e);break;case J.AFTER_FRAMESET:uSt(this,e);break;case J.AFTER_AFTER_BODY:fSt(this,e);break;case J.AFTER_AFTER_FRAMESET:pSt(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?vSt(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case J.INITIAL:RI(this,e);break;case J.BEFORE_HTML:Mbt(this,e);break;case J.BEFORE_HEAD:Pbt(this,e);break;case J.IN_HEAD:Fbt(this,e);break;case J.IN_HEAD_NO_SCRIPT:Lbt(this,e);break;case J.AFTER_HEAD:zbt(this,e);break;case J.IN_BODY:JI(this,e);break;case J.TEXT:Mxt(this,e);break;case J.IN_TABLE:XI(this,e);break;case J.IN_TABLE_TEXT:QI(this,e);break;case J.IN_CAPTION:Kxt(this,e);break;case J.IN_COLUMN_GROUP:Jxt(this,e);break;case J.IN_TABLE_BODY:Yxt(this,e);break;case J.IN_ROW:Xxt(this,e);break;case J.IN_CELL:Qxt(this,e);break;case J.IN_SELECT:eSt(this,e);break;case J.IN_SELECT_IN_TABLE:nSt(this,e);break;case J.IN_TEMPLATE:iSt(this,e);break;case J.AFTER_BODY:sSt(this,e);break;case J.IN_FRAMESET:lSt(this,e);break;case J.AFTER_FRAMESET:dSt(this,e);break;case J.AFTER_AFTER_BODY:rL(this,e)}}onEof(e){switch(this.insertionMode){case J.INITIAL:RI(this,e);break;case J.BEFORE_HTML:zI(this,e);break;case J.BEFORE_HEAD:BI(this,e);break;case J.IN_HEAD:UI(this,e);break;case J.IN_HEAD_NO_SCRIPT:WI(this,e);break;case J.AFTER_HEAD:GI(this,e);break;case J.IN_BODY:case J.IN_TABLE:case J.IN_CAPTION:case J.IN_COLUMN_GROUP:case J.IN_TABLE_BODY:case J.IN_ROW:case J.IN_CELL:case J.IN_SELECT:case J.IN_SELECT_IN_TABLE:jxt(this,e);break;case J.TEXT:Nxt(this,e);break;case J.IN_TABLE_TEXT:QI(this,e);break;case J.IN_TEMPLATE:aSt(this,e);break;case J.AFTER_BODY:case J.IN_FRAMESET:case J.AFTER_FRAMESET:case J.AFTER_AFTER_BODY:case J.AFTER_AFTER_FRAMESET:kbt(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===G.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case J.IN_HEAD:case J.IN_HEAD_NO_SCRIPT:case J.AFTER_HEAD:case J.TEXT:case J.IN_COLUMN_GROUP:case J.IN_SELECT:case J.IN_SELECT_IN_TABLE:case J.IN_FRAMESET:case J.AFTER_FRAMESET:this._insertCharacters(e);break;case J.IN_BODY:case J.IN_CAPTION:case J.IN_CELL:case J.IN_TEMPLATE:case J.AFTER_BODY:case J.AFTER_AFTER_BODY:case J.AFTER_AFTER_FRAMESET:Bbt(this,e);break;case J.IN_TABLE:case J.IN_TABLE_BODY:case J.IN_ROW:Pxt(this,e);break;case J.IN_TABLE_TEXT:Uxt(this,e)}}},$wt=new Set([K.CAPTION,K.COL,K.COLGROUP,K.TBODY,K.TD,K.TFOOT,K.TH,K.THEAD,K.TR]),RL.AREA,RL.BASE,RL.BASEFONT,RL.BGSOUND,RL.BR,RL.COL,RL.EMBED,RL.FRAME,RL.HR,RL.IMG,RL.INPUT,RL.KEYGEN,RL.LINK,RL.META,RL.PARAM,RL.SOURCE,RL.TRACK,RL.WBR,qL=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=iL(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual,this.expected,this.note,this.url}},qL.prototype.file=``,qL.prototype.name=``,qL.prototype.reason=``,qL.prototype.message=``,qL.prototype.stack=``,qL.prototype.column=void 0,qL.prototype.line=void 0,qL.prototype.ancestors=void 0,qL.prototype.cause=void 0,qL.prototype.fatal=void 0,qL.prototype.place=void 0,qL.prototype.ruleId=void 0,qL.prototype.source=void 0,JL={basename:wSt,dirname:TSt,extname:ESt,join:DSt,sep:`/`},eTt={cwd:ASt},YL=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],XL=class{constructor(e){let t;t=e?jSt(e)?{path:e}:typeof e==`string`||LSt(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:eTt.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<YL.length;){let e=YL[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)YL.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?JL.basename(this.path):void 0}set basename(e){FSt(e,`basename`),PSt(e,`basename`),this.path=JL.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?JL.dirname(this.path):void 0}set dirname(e){ISt(this.basename,`dirname`),this.path=JL.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?JL.extname(this.path):void 0}set extname(e){if(PSt(e,`extname`),ISt(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=JL.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){jSt(e)&&(e=MSt(e)),FSt(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?JL.basename(this.path,this.extname):void 0}set stem(e){FSt(e,`stem`),PSt(e,`stem`),this.path=JL.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new qL(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}},tTt={abandonedHeadElementChild:{reason:`Unexpected metadata element after head`,description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:`Unexpected abruptly closed empty comment`,description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:`Unexpected abruptly closed public identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:`Unexpected abruptly closed system identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:`Unexpected non-digit at start of numeric character reference`,description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:`Unexpected CDATA section in HTML`,description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:`Unexpected too big numeric character reference`,description:`Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)`},closingOfElementWithOpenChildElements:{reason:`Unexpected closing tag with open child elements`,description:`Unexpectedly closing tag. Expected other tags to be closed first`,url:!1},controlCharacterInInputStream:{reason:`Unexpected control character`,description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:`Unexpected control character reference`,description:`Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace`},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:`Unexpected duplicate attribute`,description:`Unexpectedly double attribute. Expected attributes to occur only once`},endTagWithAttributes:{reason:`Unexpected attribute on closing tag`,description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:`Unexpected slash at end of closing tag`,description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:`Unexpected unopened end tag`,description:`Unexpected end tag. Expected no end tag or another end tag`,url:!1},eofBeforeTagName:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected tag name instead`},eofInCdata:{reason:`Unexpected end of file in CDATA`,description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:`Unexpected end of file in comment`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:`Unexpected end of file in doctype`,description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:`Unexpected end of file in element that can only contain text`,description:`Unexpected end of file. Expected text or a closing tag`,url:!1},eofInScriptHtmlCommentLikeText:{reason:`Unexpected end of file in comment inside script`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:`Unexpected end of file in tag`,description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:`Incorrectly closed comment`,description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:`Incorrectly opened comment`,description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:`Invalid sequence after doctype name`,description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:`Invalid first character in tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:`Misplaced doctype`,description:`Unexpected doctype. Expected doctype before head`,url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:`Missing attribute value`,description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:`Missing doctype before other content`,description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:`Missing doctype name`,description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:`Missing public identifier in doctype`,description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:`Missing system identifier in doctype`,description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:`Missing name in end tag`,description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:`Missing quote before public identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:`Missing quote before system identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:`Missing semicolon after character reference`,description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:`Missing whitespace after public identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:`Missing whitespace after system identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:`Missing whitespace before doctype name`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:`Missing whitespace between attributes`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:`Missing whitespace between public and system identifiers in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:`Unexpected nested comment`,description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:`Unexpected non-conforming doctype declaration`,description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:`Unexpected trailing slash on start tag of non-void element`,description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:`Unexpected noncharacter code point referenced by character reference`,description:`Unexpected code point. Do not use noncharacters in HTML`},noncharacterInInputStream:{reason:`Unexpected noncharacter character`,description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:`Unexpected NULL character referenced by character reference`,description:`Unexpected code point. Do not use NULL characters in HTML`},openElementsLeftAfterEof:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected closing tag instead`,url:!1},surrogateCharacterReference:{reason:`Unexpected surrogate character referenced by character reference`,description:`Unexpected code point. Do not use lone surrogate characters in HTML`},surrogateInInputStream:{reason:`Unexpected surrogate character`,description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:`Invalid character after system identifier in doctype`,description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:`Unexpected character in attribute name`,description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:`Unexpected character in unquoted attribute value`,description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:`Unexpected equals sign before attribute name`,description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:`Unexpected NULL character`,description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:`Unexpected question mark instead of tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:`Unexpected slash in tag`,description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:`Unexpected unknown named character reference`,description:`Unexpected character reference. Expected known named character references`}},nTt=`https://html.spec.whatwg.org/multipage/parsing.html#parse-error-`,rTt=/-[a-z]/g,iTt=/%c(?:([-+])(\d+))?/g,aTt=/%x/g,oTt={2:!0,1:!1,0:null},sTt={},cTt=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],lTt={}.hasOwnProperty,uTt=/["&'<>`]/g,dTt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fTt=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,pTt=/[|\\{}()[\]^$+*?.]/g,mTt=new WeakMap,hTt=/[\dA-Fa-f]/,gTt=/\d/,_Tt=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),ZL={nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,fnof:`ƒ`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,bull:`•`,hellip:`…`,prime:`′`,Prime:`″`,oline:`‾`,frasl:`⁄`,weierp:`℘`,image:`ℑ`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,quot:`"`,amp:`&`,lt:`<`,gt:`>`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,circ:`ˆ`,tilde:`˜`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,permil:`‰`,lsaquo:`‹`,rsaquo:`›`,euro:`€`},vTt=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],yTt={}.hasOwnProperty,QL={},ZL)yTt.call(ZL,$L)&&(QL[ZL[$L]]=$L);bTt=/[^\dA-Za-z]/,xTt=/^>|^->|<!--|-->|--!>|<!-$/g,STt=[`>`],CTt=[`<`,`>`],wTt=/[ \t\n\f\r]/g,eR=eCt(1),TTt=eCt(-1),ETt=[],DTt={}.hasOwnProperty,tR=tCt({body:iCt,caption:nCt,colgroup:nCt,dd:cCt,dt:sCt,head:nCt,html:rCt,li:oCt,optgroup:uCt,option:dCt,p:aCt,rp:lCt,rt:lCt,tbody:pCt,td:gCt,tfoot:mCt,th:gCt,thead:fCt,tr:hCt}),OTt=tCt({body:yCt,colgroup:bCt,head:vCt,html:_Ct,tbody:xCt}),nR={name:[[`
+\f\r &/=>`.split(``),`
+\f\r "&'/=>\``.split(``)],[`\0
+\f\r "&'/<=>`.split(``),`\0
+\f\r "&'/<=>\``.split(``)]],unquoted:[[`
+\f\r &>`.split(``),`\0
+\f\r "&'<=>\``.split(``)],[`\0
+\f\r "&'<=>\``.split(``),`\0
+\f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]},kTt=[`<`,`&`],ATt=oL(`type`,{invalid:OCt,unknown:kCt,handlers:{comment:ZSt,doctype:QSt,element:SCt,raw:ECt,root:DCt,text:TCt}}),jTt={},MTt={},NTt=[],rR=ryt(eyt(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}))(),1),PTt=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),FTt={}.hasOwnProperty,iR=new class e extends PTt{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ICt()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,rR.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(BCt(`data`,this.frozen),this.namespace[e]=t,this):FTt.call(this.namespace,e)&&this.namespace[e]||void 0:e?(BCt(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=uL(e),n=this.parser||this.Parser;return RCt(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),RCt(`process`,this.parser||this.Parser),zCt(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=uL(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);WCt(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),RCt(`processSync`,this.parser||this.Parser),zCt(`processSync`,this.compiler||this.Compiler),this.process(e,r),HCt(`processSync`,`process`,t),n;function r(e,r){t=!0,PCt(e),n=r}}run(e,t,n){VCt(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=uL(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),HCt(`runSync`,`run`,n),r;function i(e,t){PCt(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=uL(t),r=this.compiler||this.Compiler;return zCt(`stringify`,r),VCt(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(BCt(`use`,this.frozen),e!=null){if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`")}return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`){if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e)}else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,rR.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null){if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];FCt(o)&&FCt(r)&&(r=(0,rR.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze(),ITt=new WeakMap,LTt=()=>{throw Error(`A shared lowlight instance is read-only, so register languages and aliases in its registry instead`)},RTt=e=>e.isCompiled===!0&&!e.matcher,zTt=e=>{let t=[],n=Object.fromEntries(Object.entries(e).map(([e,n])=>[e,e=>{let r=n(e);return t.push(r),r}])),r=()=>(t=[],Kvt(n)),i=r(),a=e=>{try{return e()}finally{t.some(RTt)&&(i=r())}};return{highlight:(e,t,n)=>a(()=>i.highlight(e,t,n)),highlightAuto:(e,t)=>a(()=>i.highlightAuto(e,t)),listLanguages:()=>i.listLanguages(),registered:e=>i.registered(e),register:LTt,registerAlias:LTt}},BTt=e=>{let t=ITt.get(e);return t||(t=zTt(e),ITt.set(e,t)),t}}));function HTt(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}function UTt(e){let t=e.regex,n=VEt(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+KEt.join(`|`)+`)`},{begin:`:(:)?(`+qEt.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+JEt.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,n.UNICODE_RANGE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:GEt.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+WEt.join(`|`)+`)\\b`}]}}function WTt(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=YEt,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);((a=o.match(/^\s*=/))||(a=o.match(/^\s+extends\s+/))&&a.index===0)&&t.ignoreMatch()}},s={$pattern:YEt,keyword:XEt,literal:ZEt,built_in:nDt,"variable.language":tDt},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},ee={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},te={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...QEt,...$Et]}},ne={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},re={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},ie={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function ae(e){return t.concat(`(?!`,e.join(`|`),`)`)}let oe={match:t.concat(/\b/,ae([...eDt,`super`,`import`,`await`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},se={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},ce={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},le=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,S={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(le)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:te},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),ne,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,te,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},S,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:le,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},re,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},se,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},oe,ie,ee,ce,{match:/\$[(.]/}]}}function GTt(e){let t={className:`attr`,begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`,`json5`],keywords:{literal:r},contains:[t,n,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,rDt,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}function KTt(e){let t=iDt(e),n=fDt,r=`([\\w-]+|@\\{[\\w-]+\\})`,i=[],a=[],o=function(e){return{className:`string`,begin:`~?`+e+`.*?`+e}},s=function(e,t,n){return{className:e,begin:t,relevance:n}},c={$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:cDt.join(` `)},l={begin:`\\(`,end:`\\)`,contains:a,keywords:c,relevance:0};a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o(`'`),o(`"`),t.CSS_NUMBER_MODE,{begin:`(url|data-uri)\\(`,starts:{className:`string`,end:`[\\)\\n]`,excludeEnd:!0}},t.UNICODE_RANGE,t.HEXCOLOR,l,s(`variable`,`@@?[\\w-]+`,10),s(`variable`,`@\\{[\\w-]+\\}`),s(`built_in`,"~?`[^`]*?`"),{className:`attribute`,begin:`[\\w-]+\\s*:`,end:`:`,returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:`and not`},t.FUNCTION_DISPATCH);let u=a.concat({begin:/\{/,end:/\}/,contains:i}),d={beginKeywords:`when`,endsWithParent:!0,contains:[{beginKeywords:`and not`}].concat(a)},f={begin:r+`\\s*:`,returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+dDt.join(`|`)+`)\\b`,end:/(?=:)/,starts:{endsWithParent:!0,illegal:`[<=$]`,relevance:0,contains:a}}]},p={className:`keyword`,begin:`@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b`,starts:{end:`[;{}]`,keywords:c,returnEnd:!0,contains:a,relevance:0}},m={className:`variable`,variants:[{begin:`@[\\w-]+\\s*:`,relevance:15},{begin:`@[\\w-]+`}],starts:{end:`[;}]`,returnEnd:!0,contains:u}},h={variants:[{begin:`[\\.#:&\\[>]`,end:`[;{}]`},{begin:r,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d,s(`keyword`,`all\\b`),s(`variable`,`@\\{[\\w-]+\\}`),{begin:`\\b(`+sDt.join(`|`)+`)\\b`,className:`selector-tag`},t.CSS_NUMBER_MODE,s(`selector-tag`,r,0),s(`selector-id`,`#`+r),s(`selector-class`,`\\.`+r,0),s(`selector-tag`,`&`,0),t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,begin:`:(`+lDt.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+uDt.join(`|`)+`)`},{begin:/\(/,end:/\)/,relevance:0,contains:u},{begin:`!important`},t.FUNCTION_DISPATCH]},g={begin:`[\\w-]+:(:)?(${n.join(`|`)})`,returnBegin:!0,contains:[h]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,m,g,f,h,d,t.FUNCTION_DISPATCH),{name:`Less`,case_insensitive:!0,illegal:`[=>'/<($"]`,contains:i}}function qTt(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={match:/^ {0,3}([-*_])[ \t]*(?:\1[ \t]*){2,}$/},i={className:`code`,variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:`(~{3,})[^~](.|\\n)*?\\1~*[ ]*`},{begin:"```",end:"```+[ ]*$"},{begin:`~~~`,end:`~~~+[ ]*$`},{begin:"`.+?`"},{begin:`(?=^( {4}|\\t))`,contains:[{begin:`^( {4}|\\t)`,end:`(\\n)$`}],relevance:0}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\d+\\.))(?=\\s+)`,end:`\\s+`,excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:`symbol`,begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:`link`,begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:`string`,relevance:0,begin:`\\[`,end:`\\]`,excludeBegin:!0,returnEnd:!0},{className:`link`,relevance:0,begin:`\\]\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0},{className:`symbol`,relevance:0,begin:`\\]\\[`,end:`\\]`,excludeBegin:!0,excludeEnd:!0}]},c={className:`strong`,contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:`emphasis`,contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{name:`Markdown`,aliases:[`md`,`mkdown`,`mkd`],contains:[{className:`section`,variants:[{begin:`^#{1,6}`,end:`$`,contains:f},{begin:`(?=^.+?\\n[=-]{2,}$)`,contains:[{begin:`^[=-]*$`},{begin:`^`,end:`\\n`,contains:f}]}]},n,a,r,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function JTt(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}function YTt(e){let t=pDt(e),n=yDt,r=vDt,i=`@[a-z-]+`,a={className:`variable`,begin:`(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b`,relevance:0};return{name:`SCSS`,case_insensitive:!0,illegal:`[=/|']`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:`selector-id`,begin:`#[A-Za-z0-9_-]+`,relevance:0},{className:`selector-class`,begin:`\\.[A-Za-z0-9_-]+`,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-tag`,begin:`\\b(`+gDt.join(`|`)+`)\\b`,relevance:0},{className:`selector-pseudo`,begin:`:(`+r.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+n.join(`|`)+`)`},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+bDt.join(`|`)+`)\\b`},{begin:`\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b`},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,a,t.HEXCOLOR,t.CSS_NUMBER_MODE,t.UNICODE_RANGE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:`@(page|font-face)`,keywords:{$pattern:i,keyword:`@page @font-face`}},{begin:`@`,end:`[{;]`,returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:_Dt.join(` `)},contains:[{begin:i,className:`keyword`},{begin:/[a-z-]+(?=:)/,className:`attribute`},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function XTt(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}function ZTt(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=dR,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);((a=o.match(/^\s*=/))||(a=o.match(/^\s+extends\s+/))&&a.index===0)&&t.ignoreMatch()}},s={$pattern:dR,keyword:xDt,literal:SDt,built_in:DDt,"variable.language":EDt},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},ee={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},te={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...CDt,...wDt]}},ne={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},re={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},ie={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function ae(e){return t.concat(`(?!`,e.join(`|`),`)`)}let oe={match:t.concat(/\b/,ae([...TDt,`super`,`import`,`await`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},se={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},ce={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},le=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,S={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(le)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:te},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),ne,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,te,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},S,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:le,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},re,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},se,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},oe,ie,ee,ce,{match:/\$[(.]/}]}}function QTt(e){let t=e.regex,n=ZTt(e),r=dR,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:dR,keyword:xDt.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:SDt,built_in:DDt.concat(i),"variable.language":EDt},l={className:`meta`,begin:`@`+r},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.scope===`attr`),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}function $Tt(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{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:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:`css`}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:`javascript`}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function eEt(e){let t=`true false yes no null`,n=`[\\w#;/?:@&=+$,.~*'()[\\]]+`,r={className:`attr`,variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:`template-variable`,variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:`string`,relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:`char.escape`,relevance:0}]},o={className:`string`,relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={className:`number`,begin:`\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b`},l={end:`,`,endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},u={begin:/\{/,end:/\}/,contains:[l],illegal:`\\n`,relevance:0},d={begin:`\\[`,end:`\\]`,contains:[l],illegal:`\\n`,relevance:0},f=[r,{className:`meta`,begin:`^---\\s*$`,relevance:10},{className:`string`,begin:`[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*`},{begin:`<%[%=-]?`,end:`[%-]?%>`,subLanguage:`ruby`,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:`!\\w+!`+n},{className:`type`,begin:`!<`+n+`>`},{className:`type`,begin:`!`+n},{className:`type`,begin:`!!`+n},{className:`meta`,begin:`&`+e.UNDERSCORE_IDENT_RE+`$`},{className:`meta`,begin:`\\*`+e.UNDERSCORE_IDENT_RE+`$`},{className:`bullet`,begin:`-(?=[ ]|$)`,relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},c,{className:`number`,begin:e.C_NUMBER_RE+`\\b`,relevance:0},u,d,a,o],p=[...f];return p.pop(),p.push(s),l.contains=p,{name:`YAML`,case_insensitive:!0,aliases:[`yml`],contains:f}}function tEt(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=`and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.lazy.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield`.split(`.`),i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:`__import__.abs.aiter.all.anext.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozendict.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.sentinel.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip`.split(`.`),literal:[`__debug__`,`Ellipsis`,`False`,`None`,`NotImplemented`,`True`],type:[`Any`,`Callable`,`Coroutine`,`Dict`,`List`,`Literal`,`Generic`,`Optional`,`Sequence`,`Set`,`Tuple`,`Type`,`Union`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:`params`,variants:[{className:``,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:`keyword`,3:`title.class`,6:`title.class.inherited`}},{className:`meta`,begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,c]}]}}function nEt(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`[a-zA-Z_]\\w*::`,i=`(decltype\\(auto\\)|`+t.optional(r)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,a={className:`type`,variants:[{begin:`\\b[a-z\\d_]*_t\\b`},{match:t.concat(/\batomic_/,t.either(`bool`,`char`,`schar`,`uchar`,`short`,`ushort`,`int`,`uint`,`long`,`ulong`,`llong`,`ullong`,`char16_t`,`char32_t`,`wchar_t`,`int_least8_t`,`uint_least8_t`,`int_least16_t`,`uint_least16_t`,`int_least32_t`,`uint_least32_t`,`int_least64_t`,`uint_least64_t`,`int_fast8_t`,`uint_fast8_t`,`int_fast16_t`,`uint_fast16_t`,`int_fast32_t`,`uint_fast32_t`,`int_fast64_t`,`uint_fast64_t`,`intptr_t`,`uintptr_t`,`size_t`,`ptrdiff_t`,`intmax_t`,`uintmax_t`),/\b/)}]},o={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},s={className:`number`,variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={scope:`meta`,begin:/#\s*include\b/,end:/$/,keywords:{keyword:`include`},contains:[{begin:/\\\n/},o,{scope:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:`string`}),n,e.C_BLOCK_COMMENT_MODE]},u=[c,l],d={className:`title`,begin:t.optional(r)+e.IDENT_RE,relevance:0},f=t.optional(r)+e.IDENT_RE+`\\s*\\(`,p={keyword:`asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma`.split(`.`),type:`float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary`.split(`.`),literal:`true false NULL`,built_in:`std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr`},m=[...u,a,n,e.C_BLOCK_COMMENT_MODE,s,o],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:p,contains:m.concat([{begin:/\(/,end:/\)/,keywords:p,contains:m.concat([`self`]),relevance:0}]),relevance:0},g={begin:`(`+i+`[\\*&\\s]+){1,12}`+f,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:`decltype\\(auto\\)`,keywords:p,relevance:0},{begin:f,returnBegin:!0,contains:[e.inherit(d,{className:`title.function`})],relevance:0},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,s,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,o,s,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,...u]};return{name:`C`,aliases:[`h`],keywords:p,disableAutodetect:!0,illegal:`</`,contains:[].concat(h,g,m,[...u,{begin:e.IDENT_RE+`::`,keywords:p},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:o,keywords:p}}}function rEt(e){let t=`a-zA-Z_\\-!.?+*=<>&'`,n=`[#]?[`+t+`][`+t+`0-9/;:$#]*`,r=`def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord`,i={$pattern:n,built_in:r+` `+`cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem `+`quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? `+`set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? `+`class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? `+`string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . `+`inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last `+`drop-while while intern condp case reduced cycle split-at split-with repeat replicate `+`iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext `+`nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends `+`add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler `+`set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter `+`monitor-exit macroexpand macroexpand-1 for dosync and or `+`when when-not when-let comp juxt partial sequence memoize constantly complement identity assert `+`peek pop doto proxy first rest cons cast coll last butlast `+`sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import `+`refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! `+`assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger `+`bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline `+`flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking `+`assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! `+`reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! `+`new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty `+`hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list `+`disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer `+`chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate `+`unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta `+`lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize`},a={begin:n,relevance:0},o={scope:`number`,relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:`character`,variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:`regex`,begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:`punctuation`,match:/,/,relevance:0},d=e.COMMENT(`;`,`$`,{relevance:0}),f={className:`literal`,begin:/\b(true|false|nil)\b/},p={begin:`\\[|(#::?`+n+`)?\\{`,end:`[\\]\\}]`,relevance:0},m={className:`symbol`,begin:`[:]{1,2}`+n},h={begin:`\\(`,end:`\\)`},g={endsWithParent:!0,relevance:0},_={keywords:i,className:`name`,begin:n,relevance:0,starts:g},v=[u,h,s,c,l,d,m,p,o,f,a];return h.contains=[{beginKeywords:r,keywords:{$pattern:n,keyword:r},end:`(\\[|#|\\d|"|:|\\{|\\)|\\(|$)`,contains:[{className:`title`,begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(v)},_,g],g.contains=v,p.contains=v,{name:`Clojure`,aliases:[`clj`,`edn`],illegal:/\S/,contains:[u,h,s,c,l,d,m,p,o,f]}}function iEt(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`[a-zA-Z_]\\w*::`,i=`(?!struct)(decltype\\(auto\\)|`+t.optional(r)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,a={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},o={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},s={className:`number`,variants:[{begin:`[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)`},{begin:`[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)`}],relevance:0},c=[{scope:`meta`,begin:/#\s*include\b/,end:/$/,keywords:{keyword:`include`},contains:[{begin:/\\\n/},o,{scope:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},{className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:`string`}),n,e.C_BLOCK_COMMENT_MODE]}],l={className:`title`,begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+`\\s*\\(`,d=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq`.split(`.`),f=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],p=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),m=`abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf`.split(`.`),h={type:f,keyword:d,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:p},g={className:`function.dispatch`,relevance:0,keywords:{_hint:m},begin:t.concat(/\b/,`(?!${d.join(`|`)})`,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},_=[g,...c,a,n,e.C_BLOCK_COMMENT_MODE,s,o],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:h,contains:_.concat([{begin:/\(/,end:/\)/,keywords:h,contains:_.concat([`self`]),relevance:0}]),relevance:0},y={className:`function`,begin:`(`+i+`[\\*&\\s]+){1,12}`+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:`decltype\\(auto\\)`,keywords:h,relevance:0},{begin:u,returnBegin:!0,contains:[l],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[o,s]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,s,a,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,o,s,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,...c]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:h,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(v,y,g,_,[...c,{begin:`\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)`,end:`>`,keywords:h,contains:[`self`,a]},{begin:e.IDENT_RE+`::`,keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}function aEt(e){let t=[`bool`,`byte`,`char`,`decimal`,`delegate`,`double`,`dynamic`,`enum`,`float`,`int`,`long`,`nint`,`nuint`,`object`,`sbyte`,`short`,`string`,`ulong`,`uint`,`ushort`],n=[`public`,`private`,`protected`,`static`,`internal`,`protected`,`abstract`,`async`,`extern`,`override`,`unsafe`,`virtual`,`new`,`sealed`,`partial`],r={keyword:`abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while`.split(`.`).concat(`add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield`.split(`.`)),built_in:t,literal:[`default`,`false`,`null`,`true`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a=`([uU][lL]?|[lL][uU]?)?`,o={className:`number`,variants:[{begin:`\\b0[bB]_*[01](_*[01])*`+a},{begin:`(-?)\\b0[xX]_*[a-fA-F0-9](_*[a-fA-F0-9])*`+a},{begin:`(-?)(\\b\\d(_*\\d)*(\\.(\\d(_*\\d)*)?)?|\\.\\d(_*\\d)*)([eE][-+]?\\d(_*\\d)*)?([fFdDmM]|[uU][lL]?|[lL][uU]?)?`}],relevance:0},s={className:`string`,begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},c={className:`string`,begin:`@"`,end:`"`,contains:[{begin:`""`}]},l=e.inherit(c,{illegal:/\n/}),u={className:`subst`,begin:/\{/,end:/\}/,keywords:r},d=e.inherit(u,{illegal:/\n/}),f={className:`string`,begin:/\$"/,end:`"`,illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,d]},p={className:`string`,begin:/\$@"/,end:`"`,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]},m=e.inherit(p,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},d]});u.contains=[p,f,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_BLOCK_COMMENT_MODE],d.contains=[m,f,l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let h={variants:[s,p,f,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},_=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,v={begin:`@`+e.IDENT_RE,relevance:0};return{name:`C#`,aliases:[`cs`,`c#`],keywords:r,illegal:/::/,contains:[e.COMMENT(`///`,`$`,{returnBegin:!0,contains:[{className:`doctag`,variants:[{begin:`///`,relevance:0},{begin:`<!--|-->`},{begin:`</?`,end:`>`}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`meta`,begin:`#`,end:`$`,keywords:{keyword:`if else elif endif define undef warning error line region endregion pragma checksum`}},h,o,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,g,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,g,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`meta`,begin:`^\\s*\\[(?=[\\w])`,excludeBegin:!0,end:`\\]`,excludeEnd:!0,contains:[{className:`string`,begin:/"/,end:/"/}]},{beginKeywords:`new return throw await else`,relevance:0},{className:`function`,begin:`(`+_+`\\s+)+`+e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(` `),relevance:0},{begin:e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,contains:[e.TITLE_MODE,g],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[h,o,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},v]}}function oEt(e){let t=e.regex,n={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`}]},r={className:`subst`,variants:[{begin:/\$\{/,end:/\}/}],keywords:`true false null this is new super`},i={className:`number`,relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},a={className:`string`,variants:[{begin:`r'''`,end:`'''`},{begin:`r"""`,end:`"""`},{begin:`r'`,end:`'`,illegal:`\\n`},{begin:`r"`,end:`"`,illegal:`\\n`},{begin:`'''`,end:`'''`,contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:`"""`,end:`"""`,contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:`'`,end:`'`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,n,r]}]};r.contains=[i,a];let o=`Comparable.DateTime.Duration.Function.Iterable.Iterator.List.Map.Match.Object.Pattern.RegExp.Set.Stopwatch.String.StringBuffer.StringSink.Symbol.Type.Uri.bool.double.int.num.Element.ElementList`.split(`.`),s=o.map(e=>`${e}?`),c={keyword:`abstract.as.assert.async.await.base.break.case.catch.class.const.continue.covariant.default.deferred.do.dynamic.else.enum.export.extends.extension.external.factory.false.final.finally.for.Function.get.hide.if.implements.import.in.interface.is.late.library.mixin.new.null.on.operator.part.required.rethrow.return.sealed.set.show.static.super.switch.sync.this.throw.true.try.typedef.var.void.when.while.with.yield`.split(`.`),built_in:o.concat(s).concat([`Never`,`Null`,`dynamic`,`print`,`document`,`querySelector`,`querySelectorAll`,`window`]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},l={match:t.concat(/\b_?/,t.either(/(?:[A-Z]+[a-z0-9]+)+/,/(?:[A-Z]+[a-z0-9]+)+[A-Z]+/),/(?![A-Za-z0-9_])/),scope:`title.class`};return{name:`Dart`,keywords:c,contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:`markdown`,relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:`markdown`,begin:`.`,end:`$`,relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`class`,beginKeywords:`class interface`,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},l,{match:/\b(?!(?:assert|catch|for|if|switch|while)\b)[a-z_][A-Za-z0-9_]*(?=\()/,scope:`title.function`},i,{className:`meta`,begin:`@[A-Za-z]+`}]}}function sEt(e){let t=e.regex;return{name:`Diff`,aliases:[`patch`],contains:[{className:`meta`,relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+,\d+ +\+\d+ +@@/,/^@@ +-\d+ +\+\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:`comment`,variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:`addition`,begin:/^\+/,end:/$/},{className:`deletion`,begin:/^-/,end:/$/},{className:`addition`,begin:/^!/,end:/$/}]}}function cEt(e){return{name:`Dockerfile`,aliases:[`docker`],case_insensitive:!0,keywords:[`from`,`maintainer`,`expose`,`env`,`arg`,`user`,`onbuild`,`stopsignal`],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:`run cmd entrypoint volume add copy workdir label healthcheck shell`,starts:{end:/[^\\]$/,subLanguage:`bash`}}],illegal:`</`}}function lEt(e){let t=e.regex,n=`[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?`,r={$pattern:n,keyword:`after.alias.and.case.catch.cond.defstruct.defguard.defguardp.do.else.end.fn.for.if.import.in.not.or.quote.raise.receive.require.reraise.rescue.try.unless.unquote.unquote_splicing.use.when.with|0`.split(`.`),literal:[`false`,`nil`,`true`]},i={className:`subst`,begin:/#\{/,end:/\}/,keywords:r},a={className:`number`,begin:`(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)`,relevance:0},o={match:/\\[\s\S]/,scope:`char.escape`,relevance:0},s=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],c=e=>({scope:`char.escape`,begin:t.concat(/\\/,e),relevance:0}),l={className:`string`,begin:`~[a-z](?=[/|([{<"'])`,contains:s.map(t=>e.inherit(t,{contains:[c(t.end),o,i]}))},u={className:`string`,begin:`~[A-Z](?=[/|([{<"'])`,contains:s.map(t=>e.inherit(t,{contains:[c(t.end)]}))},d={className:`regex`,variants:[{begin:`~r(?=[/|([{<"'])`,contains:s.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[c(n.end),o,i]}))},{begin:`~R(?=[/|([{<"'])`,contains:s.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[c(n.end)]}))}]},f={className:`string`,contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},p={className:`function`,beginKeywords:`def defp defmacro defmacrop`,end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},m=e.inherit(p,{className:`class`,beginKeywords:`defimpl defmodule defprotocol defrecord`,end:/\bdo\b|$|;/}),h=[{scope:`string`,match:/\?'/,relevance:0},f,d,u,l,e.HASH_COMMENT_MODE,m,p,{begin:`::`},{className:`symbol`,begin:`:(?![\\s:])`,contains:[f,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:`symbol`,begin:n+`:(?!:)`,relevance:0},{className:`title.class`,begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},a,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))`}];return i.contains=h,{name:`Elixir`,aliases:[`ex`,`exs`],keywords:r,contains:h}}function uEt(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`),`m`)}function dEt(e){return e?typeof e==`string`?e:e.source:null}function aR(e){return oR(`(?=`,e,`)`)}function oR(...e){return e.map(e=>dEt(e)).join(``)}function fEt(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function sR(...e){return`(`+(fEt(e).capture?``:`?:`)+e.map(e=>dEt(e)).join(`|`)+`)`}function pEt(e){let t=`abstract.and.as.assert.base.begin.class.default.delegate.do.done.downcast.downto.elif.else.end.exception.extern.finally.fixed.for.fun.function.global.if.in.inherit.inline.interface.internal.lazy.let.match.member.module.mutable.namespace.new.of.open.or.override.private.public.rec.return.static.struct.then.to.try.type.upcast.use.val.void.when.while.with.yield`.split(`.`),n={scope:`keyword`,match:/\b(yield|return|let|do|match|use)!/},r=[`if`,`else`,`endif`,`line`,`nowarn`,`light`,`r`,`i`,`I`,`load`,`time`,`help`,`quit`],i=[`true`,`false`,`null`,`Some`,`None`,`Ok`,`Error`,`infinity`,`infinityf`,`nan`,`nanf`],a=[`__LINE__`,`__SOURCE_DIRECTORY__`,`__SOURCE_FILE__`],o=`bool.byte.sbyte.int8.int16.int32.uint8.uint16.uint32.int.uint.int64.uint64.nativeint.unativeint.decimal.float.double.float32.single.char.string.unit.bigint.option.voption.list.array.seq.byref.exn.inref.nativeptr.obj.outref.voidptr.Result`.split(`.`),s={keyword:t,literal:i,built_in:`not.ref.raise.reraise.dict.readOnlyDict.set.get.enum.sizeof.typeof.typedefof.nameof.nullArg.invalidArg.invalidOp.id.fst.snd.ignore.lock.using.box.unbox.tryUnbox.printf.printfn.sprintf.eprintf.eprintfn.fprintf.fprintfn.failwith.failwithf`.split(`.`),"variable.constant":a},c={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:[`self`]}),e.C_LINE_COMMENT_MODE]},l=/[a-zA-Z_](\w|')*/,u={scope:`variable`,begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:`symbol`,variants:[{match:oR(d,/``.*?``/)},{match:oR(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?`!%&*+-/<=>@^|~?`:`!%&*+-/<>@^|~?`;let n=oR(`[`,...Array.from(t).map(uEt),`]`),r=sR(n,/\./);return{scope:`operator`,match:sR(sR(oR(oR(r,aR(r)),r,`*`),oR(n,`+`)),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),h=p({includeEqual:!1}),g=function(t,n){return{begin:oR(t,aR(oR(/\s*/,sR(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:n,end:aR(sR(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:o}),contains:[c,f,e.inherit(u,{scope:null}),h]}},_=g(/:/,`operator`),v=g(/\bof\b/,`keyword`),y={begin:[/(^|\s+)/,/type/,/\s+/,l],beginScope:{2:`keyword`,4:`title.class`},end:aR(/\(|=|$/),keywords:s,contains:[c,e.inherit(u,{scope:null}),f,{scope:`operator`,match:/<|>/},_]},b={scope:`computation-expression`,match:/\b[_a-z]\w*(?=\s*\{)/},x={begin:[/^\s*/,oR(/#/,sR(...r)),/\b/],beginScope:{2:`meta`},end:aR(/\s|$/)},ee={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},te={scope:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},ne={scope:`string`,begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},re={scope:`string`,begin:/"""/,end:/"""/,relevance:2},ie={scope:`subst`,begin:/\{/,end:/\}/,keywords:s},ae={scope:`string`,begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,ie]},oe={scope:`string`,begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,ie]},se={scope:`string`,begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},ie],relevance:2},ce={scope:`string`,match:oR(/'/,sR(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return ie.contains=[oe,ae,ne,te,ce,n,c,u,_,b,x,ee,f,m],{name:`F#`,aliases:[`fs`,`f#`],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":`keyword`},contains:[n,{variants:[se,oe,ae,re,ne,te,ce]},c,u,y,{scope:`meta`,begin:/\[</,end:/>\]/,relevance:2,contains:[u,re,ne,te,ce,ee]},v,_,b,x,ee,f,m]}}function mEt(e){let t={keyword:[`break`,`case`,`chan`,`const`,`continue`,`default`,`defer`,`else`,`fallthrough`,`for`,`func`,`go`,`goto`,`if`,`import`,`interface`,`map`,`package`,`range`,`return`,`select`,`struct`,`switch`,`type`,`var`],type:[`bool`,`byte`,`complex64`,`complex128`,`error`,`float32`,`float64`,`int8`,`int16`,`int32`,`int64`,`string`,`uint8`,`uint16`,`uint32`,`uint64`,`int`,`uint`,`uintptr`,`rune`],literal:[`true`,`false`,`iota`,`nil`],built_in:[`append`,`cap`,`close`,`complex`,`copy`,`imag`,`len`,`make`,`new`,`panic`,`print`,`println`,`real`,`recover`,`delete`]};return{name:`Go`,aliases:[`golang`],keywords:t,illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`string`,variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:`number`,variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\b0[bB](_?[01])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:`function`,beginKeywords:`func`,end:`\\s*(\\{|$)`,excludeEnd:!0,contains:[e.TITLE_MODE,{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}function hEt(e){let t=e.regex;return{name:`GraphQL`,aliases:[`gql`],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:[`query`,`mutation`,`subscription`,`type`,`input`,`schema`,`directive`,`interface`,`union`,`scalar`,`fragment`,`enum`,`on`],literal:[`true`,`false`,`null`]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:`punctuation`,match:/[.]{3}/,relevance:0},{scope:`punctuation`,begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:`variable`,begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:`meta`,match:/@\w+/,excludeEnd:!0},{scope:`symbol`,begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function gEt(e){let t=`([0-9]_*)+`,n=`([0-9a-fA-F]_*)+`,r=`([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]\`|{}]|[_:"']))(\\p{S}|\\p{P}))`,i={variants:[e.COMMENT(`--+`,`$`),e.COMMENT(/\{-/,/-\}/,{contains:[`self`]})]},a={className:`meta`,begin:/\{-#/,end:/#-\}/},o={className:`meta`,begin:`^#`,end:`$`},s={className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},c={begin:`\\(`,end:`\\)`,illegal:`"`,contains:[a,o,{className:`type`,begin:`\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?`},e.inherit(e.TITLE_MODE,{begin:`[_a-z][\\w']*`}),i]},l={begin:/\{/,end:/\}/,contains:c.contains},u={className:`number`,relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](([0-7]_*)+)\\b`},{match:`\\b0[bB](([01]_*)+)\\b`}]};return{name:`Haskell`,aliases:[`hs`],keywords:`let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec`,unicodeRegex:!0,contains:[{beginKeywords:`module`,end:`where`,keywords:`module where`,contains:[c,i],illegal:`\\W\\.|;`},{begin:`\\bimport\\b`,end:`$`,keywords:`import qualified as hiding`,contains:[c,i],illegal:`\\W\\.|;`},{className:`class`,begin:`^(\\s*)?(class|instance)\\b`,end:`where`,keywords:`class family instance where`,contains:[s,c,i]},{className:`class`,begin:`\\b(data|(new)?type)\\b`,end:`$`,keywords:`data family type newtype deriving where`,contains:[a,s,c,l,i]},{beginKeywords:`default`,end:`$`,contains:[s,c,i]},{beginKeywords:`infix infixl infixr`,end:`$`,contains:[e.C_NUMBER_MODE,i]},{begin:`\\bforeign\\b`,end:`$`,keywords:`foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe`,contains:[s,e.QUOTE_STRING_MODE,i]},{className:`meta`,begin:`#!\\/usr\\/bin\\/env runhaskell`,end:`$`},a,o,{scope:`string`,begin:/'(?=\\?.')/,end:/'/,contains:[{scope:`char.escape`,match:/\\./}]},e.QUOTE_STRING_MODE,u,s,e.inherit(e.TITLE_MODE,{begin:`^[_a-z][\\w']*`}),{begin:`(?!-)${r}--+|--+(?!-)${r}`},i,{begin:`->|<-`}]}}function _Et(e){let t=e.regex,n=`HTTP/([32]|1\\.[01])`,r={className:`attribute`,begin:t.concat(`^`,/[A-Za-z][A-Za-z0-9-]*/,`(?=\\:\\s)`),starts:{contains:[{className:`punctuation`,begin:/: /,relevance:0,starts:{end:`$`,relevance:0}}]}},i=[r,{begin:`\\n\\n`,starts:{subLanguage:[],endsWithParent:!0}}];return{name:`HTTP`,aliases:[`https`],illegal:/\S/,contains:[{begin:`^(?=`+n+` \\d{3})`,end:/$/,contains:[{className:`meta`,begin:n},{className:`number`,begin:`\\b\\d{3}\\b`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:`(?=^[A-Z]+ (.*?) `+n+`$)`,end:/$/,contains:[{className:`string`,begin:` `,end:` `,excludeBegin:!0,excludeEnd:!0},{className:`meta`,begin:n},{className:`keyword`,begin:`[A-Z]+`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(r,{relevance:0})]}}function vEt(e){let t=e.regex,n={className:`number`,relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:`variable`,variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:`literal`,begin:/\bon|off|true|false|yes|no\b/},o={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:`'''`,end:`'''`,relevance:10},{begin:`"""`,end:`"""`,relevance:10},{begin:`"`,end:`"`},{begin:`'`,end:`'`}]},s={begin:/\[/,end:/\]/,contains:[r,a,i,o,n,`self`],relevance:0},c=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:`TOML, also INI`,aliases:[`toml`],case_insensitive:!0,illegal:/\S/,contains:[r,{className:`section`,begin:/\[+/,end:/\]+/},{begin:t.concat(c,`(\\s*\\.\\s*`,c,`)*`,t.lookahead(/\s*=\s*[^#\s]/)),className:`attr`,starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}function yEt(e,t,n){return n===-1?``:e.replace(t,r=>yEt(e,t,n-1))}function bEt(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=`(?:(?:\\s*\\[\\s*])+)?`,i=`(?:\\?(?:\\s+(?:extends|super)\\s+[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*<@@@>(?:(?:\\s*\\[\\s*])+)?)?|[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*<@@@>(?:(?:\\s*\\[\\s*])+)?)`,a=yEt(`(?:\\s*<\\s*`+i+`(?:\\s*,\\s*`+i+`)*\\s*>)?`,/<@@@>/g,2),o={keyword:`synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when`.split(`.`),literal:[`false`,`true`,`null`],type:[`char`,`boolean`,`long`,`float`,`int`,`byte`,`short`,`double`],built_in:[`super`,`this`]},s={className:`meta`,begin:`@`+n,contains:[{begin:/\(/,end:/\)/,contains:[`self`]}]},c={className:`params`,begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:`Java`,aliases:[`jsp`],keywords:o,illegal:/<\/|#/,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:`doctag`,begin:`@[A-Za-z]+`}]}),{begin:/import java\.[a-z]+\./,keywords:`import`,relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:`string`,contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:`keyword`,3:`title.class`}},{match:/non-sealed/,scope:`keyword`},{beginKeywords:`new throw return else yield assert`,relevance:0},{begin:[n,t.concat(a,r,/\s+/),n,r,/\s*/,/=(?!=)/],className:{1:`type`,3:`variable`,6:`operator`}},{begin:[/record/,/\s+/,n],className:{1:`keyword`,3:`title.class`},contains:[c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{begin:[n,t.concat(a,r,/\s+/),n,/\s*(?=\()/],className:{1:`type`,3:`title.function`},keywords:o,contains:[{className:`params`,begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,kDt,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},kDt,s]}}function xEt(e){let t=`[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*`,n={$pattern:t,keyword:`baremodule.begin.break.catch.ccall.const.continue.do.else.elseif.end.export.false.finally.for.function.global.if.import.in.isa.let.local.macro.module.quote.return.true.try.using.where.while`.split(`.`),literal:`ARGS.C_NULL.DEPOT_PATH.ENDIAN_BOM.ENV.Inf.Inf16.Inf32.Inf64.InsertionSort.LOAD_PATH.MergeSort.NaN.NaN16.NaN32.NaN64.PROGRAM_FILE.QuickSort.RoundDown.RoundFromZero.RoundNearest.RoundNearestTiesAway.RoundNearestTiesUp.RoundToZero.RoundUp.VERSION|0.devnull.false.im.missing.nothing.pi.stderr.stdin.stdout.true.undef.π.ℯ`.split(`.`),built_in:`AbstractArray.AbstractChannel.AbstractChar.AbstractDict.AbstractDisplay.AbstractFloat.AbstractIrrational.AbstractMatrix.AbstractRange.AbstractSet.AbstractString.AbstractUnitRange.AbstractVecOrMat.AbstractVector.Any.ArgumentError.Array.AssertionError.BigFloat.BigInt.BitArray.BitMatrix.BitSet.BitVector.Bool.BoundsError.CapturedException.CartesianIndex.CartesianIndices.Cchar.Cdouble.Cfloat.Channel.Char.Cint.Cintmax_t.Clong.Clonglong.Cmd.Colon.Complex.ComplexF16.ComplexF32.ComplexF64.CompositeException.Condition.Cptrdiff_t.Cshort.Csize_t.Cssize_t.Cstring.Cuchar.Cuint.Cuintmax_t.Culong.Culonglong.Cushort.Cvoid.Cwchar_t.Cwstring.DataType.DenseArray.DenseMatrix.DenseVecOrMat.DenseVector.Dict.DimensionMismatch.Dims.DivideError.DomainError.EOFError.Enum.ErrorException.Exception.ExponentialBackOff.Expr.Float16.Float32.Float64.Function.GlobalRef.HTML.IO.IOBuffer.IOContext.IOStream.IdDict.IndexCartesian.IndexLinear.IndexStyle.InexactError.InitError.Int.Int128.Int16.Int32.Int64.Int8.Integer.InterruptException.InvalidStateException.Irrational.KeyError.LinRange.LineNumberNode.LinearIndices.LoadError.MIME.Matrix.Method.MethodError.Missing.MissingException.Module.NTuple.NamedTuple.Nothing.Number.OrdinalRange.OutOfMemoryError.OverflowError.Pair.PartialQuickSort.PermutedDimsArray.Pipe.ProcessFailedException.Ptr.QuoteNode.Rational.RawFD.ReadOnlyMemoryError.Real.ReentrantLock.Ref.Regex.RegexMatch.RoundingMode.SegmentationFault.Set.Signed.Some.StackOverflowError.StepRange.StepRangeLen.StridedArray.StridedMatrix.StridedVecOrMat.StridedVector.String.StringIndexError.SubArray.SubString.SubstitutionString.Symbol.SystemError.Task.TaskFailedException.Text.TextDisplay.Timer.Tuple.Type.TypeError.TypeVar.UInt.UInt128.UInt16.UInt32.UInt64.UInt8.UndefInitializer.UndefKeywordError.UndefRefError.UndefVarError.Union.UnionAll.UnitRange.Unsigned.Val.Vararg.VecElement.VecOrMat.Vector.VersionNumber.WeakKeyDict.WeakRef`.split(`.`)},r={keywords:n,illegal:/<\//},i={className:`number`,begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},a={className:`string`,begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},o={className:`subst`,begin:/\$\(/,end:/\)/,keywords:n},s={className:`variable`,begin:`\\$`+t},c={className:`string`,contains:[e.BACKSLASH_ESCAPE,o,s],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},l={className:`string`,contains:[e.BACKSLASH_ESCAPE,o,s],begin:"`",end:"`"},u={className:`meta`,begin:`@`+t};return r.name=`Julia`,r.contains=[i,a,c,l,u,{className:`comment`,variants:[{begin:`#=`,end:`=#`,relevance:10},{begin:`#`,end:`$`}]},e.HASH_COMMENT_MODE,{className:`keyword`,begin:`\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b`},{begin:/<:/}],o.contains=r.contains,r}function SEt(e){let t={keyword:`abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual`,built_in:`Byte Short Char Int Long Boolean Float Double Void Unit Nothing`,literal:`true false null`},n={className:`keyword`,begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:`symbol`,begin:/@\w+/}]}},r={className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`@`},i={className:`subst`,begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:`variable`,begin:`\\$`+e.UNDERSCORE_IDENT_RE},o={className:`string`,variants:[{begin:`"""`,end:`"""(?=[^"])`,contains:[a,i]},{begin:`'`,end:`'`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(o);let s={className:`meta`,begin:`@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*`+e.UNDERSCORE_IDENT_RE+`)?`},c={className:`meta`,begin:`@`+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:`string`}),`self`]}]},l=ADt,u=e.COMMENT(`/\\*`,`\\*/`,{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:`type`,begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:`Kotlin`,aliases:[`kt`,`kts`,`ktm`,`ktx`],keywords:t,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,c,{className:`function`,beginKeywords:`fun`,end:`[(]|$`,returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+`\\s*\\(`,returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:`type`,begin:/</,end:/>/,keywords:`reified`,relevance:0},{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,c,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:`title.class`},keywords:`class interface trait`,end:/[:\{(]|$/,excludeEnd:!0,illegal:`extends implements`,contains:[{beginKeywords:`public protected internal private constructor`},e.UNDERSCORE_TITLE_MODE,{className:`type`,begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,c]},o,{className:`meta`,begin:`^#!/usr/bin/env`,end:`$`,illegal:`
+`},l]}}function CEt(e){let t=`\\[=*\\[`,n=`\\]=*\\]`,r={begin:t,end:n,contains:[`self`]},i=[e.COMMENT(`--(?!\\[=*\\[)`,`$`),e.COMMENT(`--\\[=*\\[`,n,{contains:[r],relevance:10})];return{name:`Lua`,aliases:[`pluto`],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:`true false nil`,keyword:`and break do else elseif end for goto if in local global not or repeat return then until while`,built_in:`_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove`},contains:i.concat([{className:`function`,beginKeywords:`function`,end:`\\)`,contains:[e.inherit(e.TITLE_MODE,{begin:`([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*`}),{className:`params`,begin:`\\(`,endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:`string`,begin:t,end:n,contains:[r],relevance:5}])}}function wEt(e){let t={className:`variable`,variants:[{begin:`\\$\\(`+e.UNDERSCORE_IDENT_RE+`\\)`,contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:`variable`,begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:`subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value`},contains:[t,n]},i={begin:`^`+e.UNDERSCORE_IDENT_RE+`\\s*(?=[:+?]?=)`},a={className:`meta`,begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:`.PHONY`}},o={className:`section`,begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:`Makefile`,aliases:[`mk`,`mak`,`make`],keywords:{$pattern:/[\w-]+/,keyword:`define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath`},contains:[e.HASH_COMMENT_MODE,t,n,r,i,a,o]}}function TEt(e){let t={relevance:0,contains:[{begin:`('|\\.')+`}]};return{name:`Matlab`,keywords:{keyword:`arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while`,built_in:`sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell `},illegal:`(//|"|#|/\\*|\\s+/\\w+)`,contains:[{className:`function`,beginKeywords:`function`,end:`$`,contains:[e.UNDERSCORE_TITLE_MODE,{className:`params`,variants:[{begin:`\\(`,end:`\\)`},{begin:`\\[`,end:`\\]`}]}]},{className:`built_in`,begin:/true|false/,relevance:0,starts:t},{begin:`[a-zA-Z][a-zA-Z_0-9]*('|\\.')+`,relevance:0},{className:`number`,begin:e.C_NUMBER_RE,relevance:0,starts:t},{className:`string`,begin:`'`,end:`'`,contains:[{begin:`''`}]},{begin:/\]|\}|\)/,relevance:0,starts:t},{className:`string`,begin:`"`,end:`"`,contains:[{begin:`""`}],starts:t},e.COMMENT(`^\\s*%\\{\\s*$`,`^\\s*%\\}\\s*$`),e.COMMENT(`%`,`$`)]}}function EEt(e){let t=e.regex,n={className:`variable`,variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:[`on`,`off`,`yes`,`no`,`true`,`false`,`none`,`blocked`,`debug`,`info`,`notice`,`warn`,`error`,`crit`,`select`,`break`,`last`,`permanent`,`redirect`,`kqueue`,`rtsig`,`epoll`,`poll`,`/dev/poll`]},relevance:0,illegal:`=>`,contains:[e.HASH_COMMENT_MODE,{className:`string`,contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:`([a-z]+):/`,end:`\\s`,endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:`\\s\\^`,end:`\\s|\\{|;`,returnEnd:!0},{begin:`~\\*?\\s+`,end:`\\s|\\{|;`,returnEnd:!0},{begin:`\\*(\\.[a-z\\-]+)+`},{begin:`([a-z\\-]+\\.)+\\*`}]},{className:`number`,begin:`\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b`},{className:`number`,begin:`\\b\\d+[kKmMgGdshdwy]?\\b`,relevance:0},n]};return{name:`Nginx config`,aliases:[`nginxconf`],contains:[e.HASH_COMMENT_MODE,{beginKeywords:`upstream location`,end:/;|\{/,contains:r.contains,keywords:{section:`upstream location`}},{className:`section`,begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+`\\s`),end:`;|\\{`,contains:[{className:`attribute`,begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:`[^\\s\\}\\{]`}}function DEt(e){let t={className:`built_in`,begin:`\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+`},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":[`this`,`super`],$pattern:n,keyword:`while.export.sizeof.typedef.const.struct.for.union.volatile.static.mutable.if.do.return.goto.enum.else.break.extern.asm.case.default.register.explicit.typename.switch.continue.inline.readonly.assign.readwrite.self.@synchronized.id.typeof.nonatomic.IBOutlet.IBAction.strong.weak.copy.in.out.inout.bycopy.byref.oneway.__strong.__weak.__block.__autoreleasing.@private.@protected.@public.@try.@property.@end.@throw.@catch.@finally.@autoreleasepool.@synthesize.@dynamic.@selector.@optional.@required.@encode.@package.@import.@defs.@compatibility_alias.__bridge.__bridge_transfer.__bridge_retained.__bridge_retain.__covariant.__contravariant.__kindof._Nonnull._Nullable._Null_unspecified.__FUNCTION__.__PRETTY_FUNCTION__.__attribute__.getter.setter.retain.unsafe_unretained.nonnull.nullable.null_unspecified.null_resettable.class.instancetype.NS_DESIGNATED_INITIALIZER.NS_UNAVAILABLE.NS_REQUIRES_SUPER.NS_RETURNS_INNER_POINTER.NS_INLINE.NS_AVAILABLE.NS_DEPRECATED.NS_ENUM.NS_OPTIONS.NS_SWIFT_UNAVAILABLE.NS_ASSUME_NONNULL_BEGIN.NS_ASSUME_NONNULL_END.NS_REFINED_FOR_SWIFT.NS_SWIFT_NAME.NS_SWIFT_NOTHROW.NS_DURING.NS_HANDLER.NS_ENDHANDLER.NS_VALUERETURN.NS_VOIDRETURN`.split(`.`),literal:[`false`,`true`,`FALSE`,`TRUE`,`nil`,`YES`,`NO`,`NULL`],built_in:[`dispatch_once_t`,`dispatch_queue_t`,`dispatch_sync`,`dispatch_async`,`dispatch_once`],type:[`int`,`float`,`char`,`unsigned`,`signed`,`short`,`long`,`double`,`wchar_t`,`unichar`,`void`,`bool`,`BOOL`,`id|0`,`_Bool`]},i={$pattern:n,keyword:[`@interface`,`@class`,`@protocol`,`@implementation`]};return{name:`Objective-C`,aliases:[`mm`,`objc`,`obj-c`,`obj-c++`,`objective-c++`],keywords:r,illegal:`</`,contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:`string`,variants:[{begin:`@"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]}]},{className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),{className:`string`,begin:/<.*?>/,end:/$/,illegal:`\\n`},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`class`,begin:`(`+i.keyword.join(`|`)+`)\\b`,end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:`\\.`+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function OEt(e){return{name:`OCaml`,aliases:[`ml`],keywords:{$pattern:`[a-z_]\\w*!?`,keyword:`and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value`,built_in:`array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref`,literal:`true false`},illegal:/\/\/|>>/,contains:[{className:`literal`,begin:`\\[(\\|\\|)?\\]|\\(\\)`,relevance:0},e.COMMENT(`\\(\\*`,`\\*\\)`,{contains:[`self`]}),{className:`symbol`,begin:`'[A-Za-z_](?!')[\\w']*`},{className:`type`,begin:"`[A-Z][\\w']*"},{className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},{begin:`[a-z_]\\w*'[\\w']*`,relevance:0},e.inherit(e.APOS_STRING_MODE,{className:`string`,relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:`number`,begin:`\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)`,relevance:0},{begin:/->/}]}}function kEt(e){let t=e.regex,n=`abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0`.split(`.`),r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(` `)},a={className:`subst`,begin:`[$@]\\{`,end:`\\}`,keywords:i},o={begin:/->\{/,end:/\}/},s={scope:`attr`,match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:`variable`,variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,`(?![A-Za-z])(?![@$%])`)},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},l={className:`number`,variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,a,c],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,n,i=`\\1`)=>{let a=i===`\\1`?i:t.concat(i,n);return t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,i,r),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:`string`,contains:u,variants:[{begin:`q[qwxr]?\\s*\\(`,end:`\\)`,relevance:5},{begin:`q[qwxr]?\\s*\\[`,end:`\\]`,relevance:5},{begin:`q[qwxr]?\\s*\\{`,end:`\\}`,relevance:5},{begin:`q[qwxr]?\\s*\\|`,end:`\\|`,relevance:5},{begin:`q[qwxr]?\\s*<`,end:`>`,relevance:5},{begin:`qw\\s+q`,end:`q`,relevance:5},{begin:`'`,end:`'`,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:`-?\\w+\\s*=>`,relevance:0}]},l,{begin:`(\\/\\/|`+e.RE_STARTERS_RE+`|\\b(split|return|print|reverse|grep)\\b)\\s*`,keywords:`split return print reverse grep`,relevance:0,contains:[e.HASH_COMMENT_MODE,{className:`regexp`,variants:[{begin:f(`s|tr|y`,t.either(...d,{capture:!0}))},{begin:f(`s|tr|y`,`\\(`,`\\)`)},{begin:f(`s|tr|y`,`\\[`,`\\]`)},{begin:f(`s|tr|y`,`\\{`,`\\}`)}],relevance:2},{className:`regexp`,variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p(`(?:m|qr)?`,/\//,/\//)},{begin:p(`m|qr`,t.either(...d,{capture:!0}),/\1/)},{begin:p(`m|qr`,/\(/,/\)/)},{begin:p(`m|qr`,/\[/,/\]/)},{begin:p(`m|qr`,/\{/,/\}/)}]}]},{className:`function`,beginKeywords:`sub method`,end:`(\\s*\\(.*?\\))?[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:`class`,beginKeywords:`class`,end:`[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,l]},{begin:`-\\w\\b`,relevance:0},{begin:`^__DATA__$`,end:`^__END__$`,subLanguage:`mojolicious`,contains:[{begin:`^@@.*`,end:`$`,className:`comment`}]}];return a.contains=m,o.contains=m,{name:`Perl`,aliases:[`pl`,`pm`],keywords:i,contains:m}}function AEt(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:`variable`,match:`\\$+`+r},s={scope:`meta`,variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:`subst`,variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
+]`,m={scope:`string`,variants:[u,l,d,f]},h={scope:`number`,variants:[{begin:`\\b0[bB][01]+(?:_[01]+)*\\b`},{begin:`\\b0[oO][0-7]+(?:_[0-7]+)*\\b`},{begin:`\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b`},{begin:`(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?`}],relevance:0},g=[`false`,`null`,`true`],_=`__CLASS__.__DIR__.__FILE__.__FUNCTION__.__COMPILER_HALT_OFFSET__.__LINE__.__METHOD__.__NAMESPACE__.__TRAIT__.die.echo.exit.include.include_once.print.require.require_once.array.abstract.and.as.binary.bool.boolean.break.callable.case.catch.class.clone.const.continue.declare.default.do.double.else.elseif.empty.enddeclare.endfor.endforeach.endif.endswitch.endwhile.enum.eval.extends.final.finally.float.for.foreach.from.global.goto.if.implements.instanceof.insteadof.int.integer.interface.isset.iterable.list.match|0.mixed.new.never.object.or.private.protected.public.readonly.real.return.string.switch.throw.trait.try.unset.use.var.void.while.xor.yield`.split(`.`),v=`Error|0.AppendIterator.ArgumentCountError.ArithmeticError.ArrayIterator.ArrayObject.AssertionError.BadFunctionCallException.BadMethodCallException.CachingIterator.CallbackFilterIterator.CompileError.Countable.DirectoryIterator.DivisionByZeroError.DomainException.EmptyIterator.ErrorException.Exception.FilesystemIterator.FilterIterator.GlobIterator.InfiniteIterator.InvalidArgumentException.IteratorIterator.LengthException.LimitIterator.LogicException.MultipleIterator.NoRewindIterator.OutOfBoundsException.OutOfRangeException.OuterIterator.OverflowException.ParentIterator.ParseError.RangeException.RecursiveArrayIterator.RecursiveCachingIterator.RecursiveCallbackFilterIterator.RecursiveDirectoryIterator.RecursiveFilterIterator.RecursiveIterator.RecursiveIteratorIterator.RecursiveRegexIterator.RecursiveTreeIterator.RegexIterator.RuntimeException.SeekableIterator.SplDoublyLinkedList.SplFileInfo.SplFileObject.SplFixedArray.SplHeap.SplMaxHeap.SplMinHeap.SplObjectStorage.SplObserver.SplPriorityQueue.SplQueue.SplStack.SplSubject.SplTempFileObject.TypeError.UnderflowException.UnexpectedValueException.UnhandledMatchError.ArrayAccess.BackedEnum.Closure.Fiber.Generator.Iterator.IteratorAggregate.Serializable.Stringable.Throwable.Traversable.UnitEnum.WeakReference.WeakMap.Directory.__PHP_Incomplete_Class.parent.php_user_filter.self.static.stdClass`.split(`.`),y={keyword:_,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,``)),x={variants:[{match:[/new/,t.concat(p,`+`),t.concat(`(?!`,b(v).join(`\\b|`),`\\b)`),i],scope:{1:`keyword`,4:`title.class`}}]},ee=t.concat(r,`\\b(?!\\()`),te={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),ee],scope:{2:`variable.constant`}},{match:[/::/,/class/],scope:{2:`variable.language`}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),ee],scope:{1:`title.class`,3:`variable.constant`}},{match:[i,t.concat(`::`,t.lookahead(/(?!class\b)/))],scope:{1:`title.class`}},{match:[i,/::/,/class/],scope:{1:`title.class`,3:`variable.language`}}]},ne={scope:`attr`,match:t.concat(r,t.lookahead(`:`),t.lookahead(/(?!::)/))},re={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[ne,o,te,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,m,h,x]},ie={relevance:0,match:[/\b/,t.concat(`(?!fn\\b|function\\b|`,b(_).join(`\\b|`),`|`,b(v).join(`\\b|`),`\\b)`),r,t.concat(p,`*`),t.lookahead(/(?=\()/)],scope:{3:`title.function.invoke`},contains:[re]};re.contains.push(ie);let ae=[ne,te,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,m,h,x],oe={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:`meta`,end:/]/,endScope:`meta`,keywords:{literal:g,keyword:[`new`,`array`]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:[`new`,`array`]},contains:[`self`,...ae]},...ae,{scope:`meta`,variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[oe,e.HASH_COMMENT_MODE,e.COMMENT(`//`,`$`),e.COMMENT(`/\\*`,`\\*/`,{contains:[{scope:`doctag`,match:`@[A-Za-z]+`}]}),{match:/__halt_compiler\(\);/,keywords:`__halt_compiler`,starts:{scope:`comment`,end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:`meta`,endsParent:!0}]}},s,{scope:`variable.language`,match:/\$this\b/},o,ie,te,{match:[/const/,/\s/,r],scope:{1:`keyword`,3:`variable.constant`}},x,{scope:`function`,relevance:0,beginKeywords:`fn function`,end:/[;{]/,excludeEnd:!0,illegal:`[$%\\[]`,contains:[{beginKeywords:`use`},e.UNDERSCORE_TITLE_MODE,{begin:`=>`,endsParent:!0},{scope:`params`,begin:`\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0,keywords:y,contains:[`self`,oe,o,te,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,m,h]}]},{scope:`class`,variants:[{beginKeywords:`enum`,illegal:/[($"]/},{beginKeywords:`class interface trait`,illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:`namespace`,relevance:0,end:`;`,illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:`title.class`})]},{beginKeywords:`use`,relevance:0,end:`;`,contains:[{match:/\b(as|const|function)\b/,scope:`keyword`},e.UNDERSCORE_TITLE_MODE]},m,h]}}function jEt(e){let t=[`string`,`char`,`byte`,`int`,`long`,`bool`,`decimal`,`single`,`double`,`DateTime`,`xml`,`array`,`hashtable`,`void`],n={$pattern:/-?[A-z\.\-]+\b/,keyword:`if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter`,built_in:`ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write`},r=/\w[\w\d]*((-)[\w\d]+)*/,i={begin:"`[\\s\\S]",relevance:0},a={className:`variable`,variants:[{begin:/\$\B/},{className:`keyword`,begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:`literal`,begin:/\$(null|true|false)\b/},s={className:`string`,variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[i,a,{className:`variable`,begin:/\$[A-z]/,end:/[^A-z]/}]},c={className:`string`,variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},l=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:`doctag`,variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),u={className:`built_in`,variants:[{begin:`(Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where)+(-)[\\w\\d]+`}]},d={className:`class`,beginKeywords:`class enum`,end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},f={className:`function`,begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:`function`,relevance:0,className:`keyword`},{className:`title`,begin:r,relevance:0},{begin:/\(/,end:/\)/,className:`params`,relevance:0,contains:[a]}]},p={begin:/using\s/,end:/$/,returnBegin:!0,contains:[s,c,{className:`keyword`,begin:/(using|assembly|command|module|namespace|type)/}]},m={variants:[{className:`operator`,begin:`(-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor)\\b`},{className:`literal`,begin:/(-){1,2}[\w\d-]+/,relevance:0}]},h={className:`selector-tag`,begin:/@\B/,relevance:0},g={className:`function`,begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:`keyword`,begin:`(${n.keyword.toString().replace(/\s/g,`|`)})\\b`,endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},_=[g,l,i,e.NUMBER_MODE,s,c,u,a,o,h],v={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[`self`].concat(_,{begin:`(`+t.join(`|`)+`)`,className:`built_in`,relevance:0},{className:`type`,begin:/[\.\w\d]+/,relevance:0})};return g.contains.unshift(v),{name:`PowerShell`,aliases:[`pwsh`,`ps`,`ps1`],case_insensitive:!0,keywords:n,contains:_.concat(d,f,p,m,v)}}function MEt(e){let t=`([^\\\\:= \\t\\f\\n]|\\\\.)+`;return{name:`.properties`,disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT(`^\\s*[!#]`,`$`),{returnBegin:!0,variants:[{begin:t+`[ \\t\\f]*[:=][ \\t\\f]*`},{begin:t+`[ \\t\\f]+`}],contains:[{className:`attr`,begin:t,endsParent:!0}],starts:{end:`([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)`,relevance:0,starts:{className:`string`,end:/$/,relevance:0,contains:[{begin:`\\\\\\\\`},{begin:`\\\\\\n`}]}}},{className:`attr`,begin:t+`[ \\t\\f]*`+`$`}]}}function NEt(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:`R`,keywords:{$pattern:n,keyword:`function if in break next repeat else for while`,literal:`NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10`,built_in:`LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm`},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:`doctag`,match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:`doctag`,begin:`@param`,end:/$/,contains:[{scope:`variable`,variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:`doctag`,match:/@[a-zA-Z]+/},{scope:`keyword`,match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:`"`,end:`"`,relevance:0},{begin:`'`,end:`'`,relevance:0}]},{relevance:0,variants:[{scope:{1:`operator`,2:`number`},match:[i,r]},{scope:{1:`operator`,2:`number`},match:[/%[^%]*%/,r]},{scope:{1:`punctuation`,2:`number`},match:[a,r]},{scope:{2:`number`},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:`operator`},match:[n,/\s+/,/<-/,/\s+/]},{scope:`operator`,relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:`punctuation`,relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function PEt(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":[`__FILE__`,`__LINE__`,`__ENCODING__`],"variable.language":[`self`,`super`],keyword:`alias.and.begin.BEGIN.break.case.class.defined.do.else.elsif.end.END.ensure.for.if.in.module.next.not.or.redo.require.rescue.retry.return.then.undef.unless.until.when.while.yield.include.extend.prepend.public.private.protected.raise.throw`.split(`.`),built_in:[`proc`,`lambda`,`attr_accessor`,`attr_reader`,`attr_writer`,`define_method`,`private_constant`,`module_function`],literal:[`true`,`false`,`nil`]},o={className:`doctag`,begin:`@[A-Za-z]+`},s={begin:`#<`,end:`>`},c=[e.COMMENT(`#`,`$`,{contains:[o]}),e.COMMENT(`^=begin`,`^=end`,{contains:[o],relevance:10}),e.COMMENT(`^__END__`,e.MATCH_NOTHING_RE)],l={className:`subst`,begin:/#\{/,end:/\}/,keywords:a},u={className:`string`,contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,l]})]}]},d=`[0-9](_?[0-9])*`,f={className:`number`,relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:`\\b0[dD][0-9](_?[0-9])*r?i?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*r?i?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*r?i?\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b`},{begin:`\\b0(_?[0-7])+r?i?\\b`}]},p={variants:[{match:/\(\)/},{className:`params`,begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},m=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:`title.class`,4:`title.class.inherited`},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:`title.class`},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:`title.class`}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`},{relevance:0,match:r,scope:`title.class`},{match:[/def/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[p]},{begin:`::`},{className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`(!|\\?)?:`,relevance:0},{className:`symbol`,begin:`:(?!\\s)`,contains:[u,{begin:n}],relevance:0},f,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`},{className:`params`,begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:`(`+e.RE_STARTERS_RE+`|unless)\\s*`,keywords:`unless`,contains:[{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,l],illegal:/\n/,variants:[{begin:`/`,end:`/[a-z]*`},{begin:/%r\{/,end:/\}[a-z]*/},{begin:`%r\\(`,end:`\\)[a-z]*`},{begin:`%r!`,end:`![a-z]*`},{begin:`%r\\[`,end:`\\][a-z]*`}]}].concat(s,c),relevance:0}].concat(s,c);l.contains=m,p.contains=m;let h=[{begin:/^\s*=>/,starts:{end:`$`,contains:m}},{className:`meta.prompt`,begin:`^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])`,starts:{end:`$`,keywords:a,contains:m}}];return c.unshift(s),{name:`Ruby`,aliases:[`rb`,`gemspec`,`podspec`,`thor`,`irb`],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:`ruby`})].concat(h,c,m)}}function FEt(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={scope:`title.function.invoke`,relevance:0,begin:t.concat(/\b/,/(?!(?:let|for|while|if|else|match)\b)/,i,t.lookahead(/\s*\(/))},o=`([ui](8|16|32|64|128|size)|f(16|32|64|128))?`,s=`abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.raw.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield`.split(`.`),c=[`true`,`false`,`Some`,`None`,`Ok`,`Err`],l=`drop .Copy.Send.Sized.Sync.Drop.Fn.FnMut.FnOnce.ToOwned.Clone.Debug.PartialEq.PartialOrd.Eq.Ord.AsRef.AsMut.Into.From.Default.Iterator.Extend.IntoIterator.DoubleEndedIterator.ExactSizeIterator.SliceConcatExt.ToString.assert!.assert_eq!.bitflags!.bytes!.cfg!.col!.concat!.concat_idents!.debug_assert!.debug_assert_eq!.env!.eprintln!.panic!.file!.format!.format_args!.include_bytes!.include_str!.line!.local_data_key!.module_path!.option_env!.print!.println!.select!.stringify!.try!.unimplemented!.unreachable!.vec!.write!.writeln!.macro_rules!.assert_ne!.debug_assert_ne!`.split(`.`),u=[`i8`,`i16`,`i32`,`i64`,`i128`,`isize`,`u8`,`u16`,`u32`,`u64`,`u128`,`usize`,`f16`,`f32`,`f64`,`f128`,`str`,`char`,`bool`,`Box`,`Option`,`Result`,`String`,`Vec`];return{name:`Rust`,aliases:[`rs`],keywords:{$pattern:e.IDENT_RE+`!?`,type:u,keyword:s,literal:c,built_in:l},illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{scope:`symbol`,begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:`string`,variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:`char.escape`,match:/\\('|"|\\|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{scope:`number`,variants:[{begin:`\\b0b([01_]+)`+o},{begin:`\\b0o([0-7_]+)`+o},{begin:`\\b0x([A-Fa-f0-9_]+)`+o},{begin:`\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)`+o}],relevance:0},{begin:[/\bsafe/,/\s+/,/extern/],scope:{1:`keyword`,3:`keyword`}},{begin:[/fn/,/\s+/,r],scope:{1:`keyword`,3:`title.function`}},{scope:`meta`,begin:`#!?\\[`,end:`\\]`,contains:[{scope:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],scope:{1:`keyword`,3:`keyword`,4:`variable`}},{begin:[/for/,/\s+/,r,/\s+/,/in/],scope:{1:`keyword`,3:`variable`,5:`keyword`}},{begin:[/type/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}},{begin:e.IDENT_RE+`::`,keywords:{keyword:`Self`,built_in:l,type:u}},{scope:`punctuation`,begin:`->`},a]}}function IEt(e){let t=e.regex,n={className:`meta`,begin:`@[A-Za-z]+`},r={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`},{begin:/\$\{/,end:/\}/}]},i={className:`string`,variants:[{begin:`"""`,end:`"""`},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`[a-z]+"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,r]},{className:`string`,begin:`[a-z]+"""`,end:`"""`,contains:[r],relevance:10}]},a={className:`type`,begin:`\\b[A-Z][A-Za-z0-9_]*`,relevance:0},o={className:`title`,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:`class`,beginKeywords:`class object trait type`,end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:`extends with`,relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:`function`,beginKeywords:`def`,end:t.lookahead(/[:={\[(\n;]/),contains:[o]},l={begin:[/^\s*/,`extension`,/\s+(?=[[(])/],beginScope:{2:`keyword`}},u={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:`keyword`,4:`keyword`}},d=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:`inline`}],f={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:`keyword`}};return{name:`Scala`,keywords:{literal:`true false null`,keyword:`type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent`},contains:[{begin:[`//>`,/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:`comment`,3:`keyword`,5:`type`},end:/$/,contains:[{className:`string`,begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,c,s,e.C_NUMBER_MODE,l,u,...d,f,n]}}function LEt(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`true`,`false`,`unknown`],o=[`double precision`,`large object`,`with timezone`,`without timezone`],s=`bigint.binary.blob.boolean.char.character.clob.date.dec.decfloat.decimal.float.int.integer.interval.nchar.nclob.national.numeric.real.row.smallint.time.timestamp.varchar.varying.varbinary`.split(`.`),c=[`add`,`asc`,`collation`,`desc`,`final`,`first`,`last`,`view`],l=`abs.acos.all.allocate.alter.and.any.are.array.array_agg.array_max_cardinality.as.asensitive.asin.asymmetric.at.atan.atomic.authorization.avg.begin.begin_frame.begin_partition.between.bigint.binary.blob.boolean.both.by.call.called.cardinality.cascaded.case.cast.ceil.ceiling.char.char_length.character.character_length.check.classifier.clob.close.coalesce.collate.collect.column.commit.condition.connect.constraint.contains.convert.copy.corr.corresponding.cos.cosh.count.covar_pop.covar_samp.create.cross.cube.cume_dist.current.current_catalog.current_date.current_default_transform_group.current_path.current_role.current_row.current_schema.current_time.current_timestamp.current_path.current_role.current_transform_group_for_type.current_user.cursor.cycle.date.day.deallocate.dec.decimal.decfloat.declare.default.define.delete.dense_rank.deref.describe.deterministic.disconnect.distinct.double.drop.dynamic.each.element.else.empty.end.end_frame.end_partition.end-exec.equals.escape.every.except.exec.execute.exists.exp.external.extract.false.fetch.filter.first_value.float.floor.for.foreign.frame_row.free.from.full.function.fusion.get.global.grant.group.grouping.groups.having.hold.hour.identity.in.indicator.initial.inner.inout.insensitive.insert.int.integer.intersect.intersection.interval.into.is.join.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.language.large.last_value.lateral.lead.leading.left.like.like_regex.listagg.ln.local.localtime.localtimestamp.log.log10.lower.match.match_number.match_recognize.matches.max.member.merge.method.min.minute.mod.modifies.module.month.multiset.national.natural.nchar.nclob.new.no.none.normalize.not.nth_value.ntile.null.nullif.numeric.octet_length.occurrences_regex.of.offset.old.omit.on.one.only.open.or.order.out.outer.over.overlaps.overlay.parameter.partition.pattern.per.percent.percent_rank.percentile_cont.percentile_disc.period.portion.position.position_regex.power.precedes.precision.prepare.primary.procedure.ptf.range.rank.reads.real.recursive.ref.references.referencing.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.release.result.return.returns.revoke.right.rollback.rollup.row.row_number.rows.running.savepoint.scope.scroll.search.second.seek.select.sensitive.session_user.set.show.similar.sin.sinh.skip.smallint.some.specific.specifictype.sql.sqlexception.sqlstate.sqlwarning.sqrt.start.static.stddev_pop.stddev_samp.submultiset.subset.substring.substring_regex.succeeds.sum.symmetric.system.system_time.system_user.table.tablesample.tan.tanh.then.time.timestamp.timezone_hour.timezone_minute.to.trailing.translate.translate_regex.translation.treat.trigger.trim.trim_array.true.truncate.uescape.union.unique.unknown.unnest.update.upper.user.using.value.values.value_of.var_pop.var_samp.varbinary.varchar.varying.versioning.when.whenever.where.width_bucket.window.with.within.without.year`.split(`.`),u=`abs.acos.array_agg.asin.atan.avg.cast.ceil.ceiling.coalesce.corr.cos.cosh.count.covar_pop.covar_samp.cume_dist.dense_rank.deref.element.exp.extract.first_value.floor.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.last_value.lead.listagg.ln.log.log10.lower.max.min.mod.nth_value.ntile.nullif.percent_rank.percentile_cont.percentile_disc.position.position_regex.power.rank.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.row_number.sin.sinh.sqrt.stddev_pop.stddev_samp.substring.substring_regex.sum.tan.tanh.translate.translate_regex.treat.trim.trim_array.unnest.upper.value_of.var_pop.var_samp.width_bucket`.split(`.`),d=[`current_catalog`,`current_date`,`current_default_transform_group`,`current_path`,`current_role`,`current_schema`,`current_transform_group_for_type`,`current_user`,`session_user`,`system_time`,`system_user`,`current_time`,`localtime`,`current_timestamp`,`localtimestamp`],f=[`create table`,`insert into`,`primary key`,`foreign key`,`not null`,`alter table`,`add constraint`,`grouping sets`,`on overflow`,`character set`,`respect nulls`,`ignore nulls`,`nulls first`,`nulls last`,`depth first`,`breadth first`],p=u,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,`\\s+`))),/\b/)}let y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}function REt(e){return e?typeof e==`string`?e:e.source:null}function cR(e){return lR(`(?=`,e,`)`)}function lR(...e){return e.map(e=>REt(e)).join(``)}function zEt(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function uR(...e){return`(`+(zEt(e).capture?``:`?:`)+e.map(e=>REt(e)).join(`|`)+`)`}function BEt(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,uR(...jDt,...MDt)],className:{2:`keyword`}},a={match:lR(/\./,uR(...yR)),relevance:0},o=yR.filter(e=>typeof e==`string`).concat([`_|0`]),s={variants:[{className:`keyword`,match:uR(...yR.filter(e=>typeof e!=`string`).concat(NDt).map(vR),...MDt)}]},c={$pattern:uR(/\b\w+/,/#\w+/),keyword:o.concat(IDt),literal:PDt},l=[i,a,s],u=[{match:lR(/\./,uR(...LDt)),relevance:0},{className:`built_in`,match:lR(/\b/,uR(...LDt),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:`operator`,relevance:0,variants:[{match:bR},{match:`\\.(\\.|${zDt})+`}]}],p=`([0-9]_*)+`,m=`([0-9a-fA-F]_*)+`,h={className:`number`,relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e=``)=>({className:`subst`,variants:[{match:lR(/\\/,e,/[0\\tnr"']/)},{match:lR(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_=(e=``)=>({className:`subst`,match:lR(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e=``)=>({className:`subst`,label:`interpol`,begin:lR(/\\/,e,/\(/),end:/\)/}),y=(e=``)=>({begin:lR(e,/"""/),end:lR(/"""/,e),contains:[g(e),_(e),v(e)]}),b=(e=``)=>({begin:lR(e,/"/),end:lR(/"/,e),contains:[g(e),v(e)]}),x={className:`string`,variants:[y(),y(`#`),y(`##`),y(`###`),b(),b(`#`),b(`##`),b(`###`)]},ee=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],te={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:ee},ne=e=>{let t=lR(e,/\//),n=lR(/\//,e);return{begin:t,end:n,contains:[...ee,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},re={scope:`regexp`,variants:[ne(`###`),ne(`##`),ne(`#`),te]},ie={match:lR(/`/,SR,/`/)},ae=[ie,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${xR}+`}],oe=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:HDt,contains:[...f,h,x]}]}},{scope:`keyword`,match:lR(/@/,uR(...VDt),cR(uR(/\(/,/\s+/)))},{scope:`meta`,match:lR(/@/,SR)}],se={match:cR(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:lR(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,xR,`+`)},{className:`type`,match:CR,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:lR(/\s+&\s+/,cR(CR)),relevance:0}]},ce={begin:/</,end:/>/,keywords:c,contains:[...r,...l,...oe,d,se]};se.contains.push(ce);let le={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:[`self`,{match:lR(SR,/\s*:/),keywords:`_|0`,relevance:0},...r,re,...l,...u,...f,h,x,...ae,...oe,se]},S={begin:/</,end:/>/,keywords:`repeat each`,contains:[...r,se]},ue={begin:/\(/,end:/\)/,keywords:c,contains:[{begin:uR(cR(lR(SR,/\s*:/)),cR(lR(SR,/\s+/,SR,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:SR}]},...r,...l,...f,h,x,...oe,se,le],endsParent:!0,illegal:/["']/},de={match:[/(func|macro)/,/\s+/,uR(ie.match,SR,bR)],className:{1:`keyword`,3:`title.function`},contains:[S,ue,t],illegal:[/\[/,/%/]},fe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[S,ue,t],illegal:/\[|%/},pe={match:[/operator/,/\s+/,bR],className:{1:`keyword`,3:`title`}},me={begin:[/precedencegroup/,/\s+/,CR],className:{1:`keyword`,3:`title`},contains:[se],keywords:[...FDt,...PDt],end:/}/},he={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},ge={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},C={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,SR,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:c,contains:[S,...l,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:`title.class.inherited`,match:CR},...l],relevance:0}]};for(let e of x.variants){let t=e.contains.find(e=>e.label===`interpol`);t.keywords=c;let n=[...l,...u,...f,h,x,...ae];t.contains=[...n,{begin:/\(/,end:/\)/,contains:[`self`,...n]}]}return{name:`Swift`,keywords:c,contains:[...r,de,fe,he,ge,C,pe,me,{beginKeywords:`import`,end:/$/,contains:[...r],relevance:0},re,...l,...u,...f,h,x,...ae,...oe,se,le]}}var VEt,HEt,UEt,WEt,GEt,KEt,qEt,JEt,YEt,XEt,ZEt,QEt,$Et,eDt,tDt,nDt,rDt,iDt,aDt,oDt,sDt,cDt,lDt,uDt,dDt,fDt,pDt,mDt,hDt,gDt,_Dt,vDt,yDt,bDt,dR,xDt,SDt,CDt,wDt,TDt,EDt,DDt,ODt,fR,pR,mR,kDt,hR,gR,_R,ADt,vR,jDt,MDt,NDt,yR,PDt,FDt,IDt,LDt,RDt,zDt,bR,BDt,xR,SR,CR,VDt,HDt,UDt,WDt,GDt,KDt=s((()=>{VEt=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:`number`,begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),HEt=`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.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),UEt=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),WEt=[...HEt,...UEt],GEt=`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`.split(`.`).sort().reverse(),KEt=`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`.split(`.`).sort().reverse(),qEt=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),JEt=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.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-end-end-radius.border-end-start-radius.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-start-end-radius.border-start-start-radius.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-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.corner-bottom-left-shape.corner-bottom-right-shape.corner-shape.corner-top-left-shape.corner-top-right-shape.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.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.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.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.margin-trim.marker.marker-end.marker-mid.marker-start.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.masonry-auto-flow.math-depth.math-shift.math-style.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.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-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.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.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.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse(),YEt=`[A-Za-z$_][0-9A-Za-z$_]*`,XEt=`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.using`.split(`.`),ZEt=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],QEt=`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`.split(`.`),$Et=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],eDt=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],tDt=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`self`,`global`],nDt=[].concat(eDt,QEt,$Et),rDt={scope:`number`,match:`([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity`,relevance:0},iDt=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:`number`,begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),aDt=`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.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),oDt=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),sDt=[...aDt,...oDt],cDt=`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`.split(`.`).sort().reverse(),lDt=`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`.split(`.`).sort().reverse(),uDt=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),dDt=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.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-end-end-radius.border-end-start-radius.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-start-end-radius.border-start-start-radius.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-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.corner-bottom-left-shape.corner-bottom-right-shape.corner-shape.corner-top-left-shape.corner-top-right-shape.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.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.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.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.margin-trim.marker.marker-end.marker-mid.marker-start.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.masonry-auto-flow.math-depth.math-shift.math-style.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.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-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.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.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.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse(),fDt=lDt.concat(uDt).sort().reverse(),pDt=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:`number`,begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),mDt=`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.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),hDt=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),gDt=[...mDt,...hDt],_Dt=`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`.split(`.`).sort().reverse(),vDt=`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`.split(`.`).sort().reverse(),yDt=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),bDt=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.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-end-end-radius.border-end-start-radius.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-start-end-radius.border-start-start-radius.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-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.corner-bottom-left-shape.corner-bottom-right-shape.corner-shape.corner-top-left-shape.corner-top-right-shape.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.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.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.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.margin-trim.marker.marker-end.marker-mid.marker-start.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.masonry-auto-flow.math-depth.math-shift.math-style.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.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-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.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.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.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse(),dR=`[A-Za-z$_][0-9A-Za-z$_]*`,xDt=`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.using`.split(`.`),SDt=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],CDt=`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`.split(`.`),wDt=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],TDt=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],EDt=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`self`,`global`],DDt=[].concat(TDt,CDt,wDt),ODt=e=>{let t=tEt(e),{regex:n}=e,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=t.keywords,a=[...i.keyword??[],...i.built_in??[],...i.literal??[],...i.type??[]].map(e=>e.replace(/\|\d+$/,``)),o=n.concat(`(?!(?:`,a.join(`|`),`)\\b)`),s={scope:`title.function`,relevance:0,match:n.concat(/\b/,o,r,n.lookahead(/\s*\(/))};return{...t,contains:[...t.contains??[],s]}},new RegExp(sR(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./)),fR=`[0-9](_*[0-9])*`,pR=`\\.(${fR})`,mR=`[0-9a-fA-F](_*[0-9a-fA-F])*`,kDt={className:`number`,variants:[{begin:`(\\b(${fR})((${pR})|\\.)?|(${pR}))[eE][+-]?(${fR})[fFdD]?\\b`},{begin:`\\b(${fR})((${pR})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${pR})[fFdD]?\\b`},{begin:`\\b(${fR})[fFdD]\\b`},{begin:`\\b0[xX]((${mR})\\.?|(${mR})?\\.(${mR}))[pP][+-]?(${fR})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${mR})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0},hR=`[0-9](_*[0-9])*`,gR=`\\.(${hR})`,_R=`[0-9a-fA-F](_*[0-9a-fA-F])*`,ADt={className:`number`,variants:[{begin:`(\\b(${hR})((${gR})|\\.)?|(${gR}))[eE][+-]?(${hR})[fFdD]?\\b`},{begin:`\\b(${hR})((${gR})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${gR})[fFdD]?\\b`},{begin:`\\b(${hR})[fFdD]\\b`},{begin:`\\b0[xX]((${_R})\\.?|(${_R})?\\.(${_R}))[pP][+-]?(${hR})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${_R})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0},new RegExp(uR(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./)),vR=e=>lR(/\b/,e,/\w$/.test(e)?/\b/:/\B/),jDt=[`Protocol`,`Type`].map(vR),MDt=[`init`,`self`].map(vR),NDt=[`Any`,`Self`],yR=[`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`,`package`,`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`],PDt=[`false`,`nil`,`true`],FDt=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],IDt=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],LDt=`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`.split(`.`),RDt=uR(/[/=\-+!*%<>&|^~?]/,/[\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]/),zDt=uR(RDt,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),bR=lR(RDt,zDt,`*`),BDt=uR(/[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]/),xR=uR(BDt,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),SR=lR(BDt,xR,`*`),CR=lR(/[A-Z]/,xR,`*`),VDt=[`attached`,`autoclosure`,lR(/convention\(/,uR(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,lR(/objc\(/,SR,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],HDt=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`],UDt=e=>{let t={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:`variable`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:`literal`,begin:/(--request|-X)\s/,contains:[{className:`symbol`,begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},r={className:`literal`,begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},i={className:`literal`,begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},a={className:`string`,begin:/\\"/,relevance:0},o={className:`string`,begin:/'/,end:/'/,relevance:0},s={className:`number`,variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:`curl`,aliases:[`curl`],keywords:`curl`,case_insensitive:!0,contains:[n,r,i,t,a,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}},WDt=e=>{let t=tEt(e),{regex:n}=e,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=t.keywords,a=[`fn`,`struct`,`trait`,`var`,`let`,`alias`,`comptime`,`owned`,`borrowed`,`inout`,`ref`,`mut`,`read`,`out`,`raises`,`capturing`],o=`Int.UInt.Int8.Int16.Int32.Int64.UInt8.UInt16.UInt32.UInt64.Float16.Float32.Float64.Bool.String.StringLiteral.StringSlice.SIMD.DType.Scalar.List.Dict.Set.Tuple.Optional.Variant.Span.Pointer.UnsafePointer.Reference.Error`.split(`.`),s=(...e)=>Array.from(new Set(e.flat())),c={...i,keyword:s(i.keyword??[],a),type:s(i.type??[],o)},l=[...c.keyword??[],...i.built_in??[],...i.literal??[],...c.type??[]].map(e=>e.replace(/\|\d+$/,``)),u=n.concat(`(?!(?:`,l.join(`|`),`)\\b)`),d={scope:`title.function`,relevance:0,match:n.concat(/\b/,u,r,n.lookahead(/\(/))};return{...t,name:`Mojo`,aliases:[`mojo`,`🔥`],keywords:c,contains:[...t.contains??[],d]}},GDt={bash:HTt,c:nEt,clojure:rEt,cpp:iEt,csharp:aEt,css:UTt,curl:UDt,dart:oEt,diff:sEt,docker:cEt,dockerfile:cEt,elixir:lEt,fsharp:pEt,go:mEt,graphql:hEt,haskell:gEt,html:$Tt,http:_Et,ini:vEt,java:bEt,javascript:WTt,json:GTt,julia:xEt,kotlin:SEt,less:KTt,lua:CEt,makefile:wEt,markdown:qTt,matlab:TEt,mojo:WDt,nginx:EEt,objectivec:DEt,ocaml:OEt,perl:kEt,php:AEt,plaintext:JTt,powershell:jEt,properties:MEt,python:ODt,r:NEt,ruby:PEt,rust:FEt,scala:IEt,scss:YTt,shell:XTt,sql:LEt,swift:BEt,toml:vEt,typescript:QTt,xml:$Tt,yaml:eEt}}));function qDt(e){return e.type===`text`&&typeof e.value==`string`&&/^\s*$/.test(e.value)}function JDt(){return e=>{SI(e,`element`,(e,t,n)=>{if(e.tagName!==`blockquote`||typeof t!=`number`||!n||n.type!==`root`)return;let r=e.children.findIndex(e=>!qDt(e));if(r===-1)return;let i=e.children[r];if(i?.type!==`element`||i.tagName!==`p`)return;let a=i.children[0];if(a?.type!==`text`||!a.value.startsWith(`[!`))return;let o=a.value.indexOf(`]`);if(o===-1)return;let s=a.value.slice(2,o).toLowerCase();if(!YDt.includes(s))return;if(o+1===a.value.length){let t=i.children[1];if(t){if(t.type!==`element`||t.tagName!==`br`||!i.children[2])return;i.children=i.children.slice(2);let e=i.children[0];e&&e.type===`text`&&e.value.charAt(0)===`
+`&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&qDt(e.children[r+1])?r+2:r+1;if(t>=e.children.length||e.children[t]?.type!==`element`)return;e.children=e.children.slice(t)}}else a.value=a.value.charAt(o+1)===`
+`&&(o+2===a.value.length||!/^\s*$/.test(a.value.slice(o+2)))?a.value.slice(o+2):a.value.replace(/^\s*\[!.*?\]\s*/,``);let c=[];for(let t=r;t<e.children.length;t++){let n=e.children[t];n?.type===`element`&&n.tagName===`p`&&n.children?c.push(...n.children):c.push(n)}n.children[t]={type:`element`,tagName:`div`,properties:{className:[`markdown-alert`,`markdown-alert-${s}`]},children:[{type:`element`,tagName:`div`,properties:{className:[`markdown-alert-icon`]},children:[]},{type:`element`,tagName:`div`,properties:{className:[`markdown-alert-content`]},children:[{type:`text`,value:` `},...c]}]}})}}var YDt,XDt=s((()=>{Avt(),YDt=[`note`,`tip`,`important`,`warning`,`caution`,`success`]}));function ZDt(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!jPt.test(e)&&APt.test(e)}function QDt(e){let t=e||PPt,n=t.protocols||MPt,r=EI(t.test);return function(e){SI(e,`element`,function(e,i,a){if(e.tagName===`a`&&typeof e.properties.href==`string`&&r(e,i,a)){let r=e.properties.href;if(ZDt(r)?n.includes(r.slice(0,r.indexOf(`:`))):r.startsWith(`//`)){let n=wR(t.content,e),r=n&&!Array.isArray(n)?[n]:n,i=wR(t.rel,e)||NPt,a=typeof i==`string`?Oyt(i):i,o=wR(t.target,e),s=wR(t.properties,e);if(s&&Object.assign(e.properties,QR(s)),a.length>0&&(e.properties.rel=[...a]),o&&(e.properties.target=o),r){let n=wR(t.contentProperties,e)||{};e.children.push({type:`element`,tagName:`span`,properties:QR(n),children:QR(r)})}}}})}}function wR(e,t){return typeof e==`function`?e(t):e}function $Dt(e,t){eOt(e,{collapse:dOt((t||RPt).newlines?lOt:uOt),whitespace:`normal`})}function eOt(e,t){if(`children`in e){let n={...t};return(e.type===`root`||oOt(e))&&(n.before=!0,n.after=!0),n.whitespace=fOt(e,t),nOt(e,n)}if(e.type===`text`){if(t.whitespace===`normal`)return tOt(e,t);t.whitespace===`nowrap`&&(e.value=t.collapse(e.value))}return{ignore:ez(e),stripAtStart:!1,remove:!1}}function tOt(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=n.length;return t.before&&cOt(n.charAt(0))&&i++,i!==a&&cOt(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0),i===a?r.remove=!0:e.value=n.slice(i,a),r}function nOt(e,t){let n=t.before,r=t.after,i=e.children,a=i.length,o=-1;for(;++o<a;){let e=eOt(i[o],{...t,after:rOt(i,o,r),before:n});e.remove?(i.splice(o,1),o--,a--):e.ignore||(n=e.stripAtStart),aOt(i[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function rOt(e,t,n){for(;++t<e.length;){let n=e[t],r=iOt(n);if(r===void 0&&`children`in n&&!sOt(n)&&(r=rOt(n.children,-1)),typeof r==`boolean`)return r}return n}function iOt(e){if(e.type===`element`){if(aOt(e))return!1;if(oOt(e))return!0}else if(e.type===`text`){if(!lL(e))return!1}else if(!ez(e))return!1}function aOt(e){return $R(e)||TI(e,IPt)}function oOt(e){return TI(e,FPt)}function sOt(e){return!!(e.type===`element`&&e.properties.hidden)||ez(e)||TI(e,LPt)}function cOt(e){return e===` `||e===`
+`}function lOt(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:` `}function uOt(){return` `}function dOt(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function fOt(e,t){if(`tagName`in e&&e.properties)switch(e.tagName){case`listing`:case`plaintext`:case`script`:case`style`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return e.properties.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return e.properties.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`}return t.whitespace}function pOt(e,t){let n=e.type===`element`&&zPt.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}function mOt(e){if(e.type!==`element`||e.tagName!==`link`)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!BPt.has(String(t[n])))return!1;return!0}function hOt(e){return!!(e.type===`text`||VPt(e)||$R(e)||mOt(e)||HPt(e)&&pOt(e,`itemProp`))}function gOt(e,t){let n=t||WPt,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent==`number`?` `.repeat(n.indent):typeof n.indent==`string`?n.indent:` `};$Dt(e,{newlines:!0}),Evt(e,i);function i(e,t){if(!(`children`in e))return;if(e.type===`element`&&e.tagName===`head`&&(r.head=!0),r.head&&e.type===`element`&&e.tagName===`body`&&(r.head=!1),e.type===`element`&&UPt.includes(e.tagName))return kvt;if(e.children.length===0||!vOt(r,e))return;let n=t.length;r.indentInitial||n--;let i=!1;for(let t of e.children)(t.type===`comment`||t.type===`text`)&&(t.value.includes(`
+`)&&(i=!0),t.value=t.value.replace(/ *\n/g,`$&`+r.indent.repeat(n)));let o=[],s;for(let t of e.children)(vOt(r,t)||i&&!s)&&(a(o,n,t),i=!0),s=t,o.push(t);s&&(i||vOt(r,s))&&(lL(s)&&(o.pop(),s=o[o.length-1]),a(o,n-1)),e.children=o}function a(e,t,n){let i=e[e.length-1],a=i&&lL(i)?e[e.length-2]:i,o=(_Ot(r,a)&&_Ot(r,n)?`
+
+`:`
+`)+r.indent.repeat(Math.max(t,0));i&&i.type===`text`?i.value=lL(i)?o:i.value+o:e.push({type:`text`,value:o})}}function _Ot(e,t){return!!(t&&t.type===`element`&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function vOt(e,t){return t.type===`root`||(t.type===`element`?e.head||t.tagName===`script`||$R(t)||!hOt(t):!1)}function yOt(e){return function(t){gOt(t,e)}}function bOt(e,t){let n=(t||GPt).space;return qPt(e,n===`svg`?wL:CL)}function xOt(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=OOt(e.children,n,t),TR(e,n),n}function SOt(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=OOt(e.children,n,t),TR(e,n),n}function COt(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return TR(e,t),t}function wOt(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return TR(e,t),t}function TOt(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return TR(e,t),t}function EOt(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=wL);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&KPt.call(e.properties,a)){let t=DOt(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:DL[o],childNodes:[],parentNode:null};return s.childNodes=OOt(e.children,s,r),TR(e,s),e.tagName===`template`&&e.content&&(s.content=SOt(e.content,r)),s}function DOt(e,t,n){let r=jI(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Eyt(n):kyt(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=DL[r.space]}return i}function OOt(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=qPt(e[r],n);a.parentNode=t,i.push(a)}return i}function TR(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}function kOt(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function AOt(e){let t=nz(e),n=tz(e);if(t&&n)return{start:t,end:n}}function jOt(e,t){let n=WOt(e),r=oL(`type`,{handlers:{root:NOt,element:POt,text:FOt,comment:ROt,doctype:IOt,raw:zOt},unknown:BOt}),i={parser:n?new KL(YPt):KL.getFragmentParser(void 0,YPt),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),ER(i,nz());let a=Ryt(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&SI(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function MOt(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function NOt(e,t){MOt(e.children,t)}function POt(e,t){HOt(e,t),MOt(e.children,t),UOt(e,t)}function FOt(e,t){let n={type:AL.CHARACTER,chars:e.value,location:DR(e)};ER(t,nz(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function IOt(e,t){let n={type:AL.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:DR(e)};ER(t,nz(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function LOt(e,t){t.stitches=!0;let n=GOt(e);`children`in e&&`children`in n&&(n.children=jOt({type:`root`,children:e.children},t.options).children),ROt({type:`comment`,value:{stitch:n}},t)}function ROt(e,t){let n=e.value,r={type:AL.COMMENT,data:n,location:DR(e)};ER(t,nz(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function zOt(e,t){if(t.parser.tokenizer.preprocessor.html=``,t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,VOt(t,nz(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function BOt(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))LOt(n,t);else{let e=``;throw JPt.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+n.type+"` node"+e)}}function ER(e,t){VOt(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=VL.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:``,value:``}}function VOt(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function HOt(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===VL.PLAINTEXT)return;ER(t,nz(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:DL.html;i===DL.html&&n===`svg`&&(i=DL.svg);let a=bOt({...e,children:[]},{space:i===DL.svg?`svg`:`html`}),o={type:AL.START_TAG,tagName:n,tagID:PI(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:DR(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function UOt(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&cTt.includes(n)||t.parser.tokenizer.state===VL.PLAINTEXT)return;ER(t,tz(e));let r={type:AL.END_TAG,tagName:n,tagID:PI(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:DR(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===VL.RCDATA||t.parser.tokenizer.state===VL.RAWTEXT||t.parser.tokenizer.state===VL.SCRIPT_DATA)&&(t.parser.tokenizer.state=VL.DATA)}function WOt(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function DR(e){let t=nz(e)||{line:void 0,column:void 0,offset:void 0},n=tz(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function GOt(e){return`children`in e?QR({...e,children:[]}):QR(e)}function KOt(e){return function(t,n){return jOt(t,{...e,file:n})}}function qOt(e,t){let n={type:`root`,children:[]},r=JOt({schema:t?{...iz,...t}:iz,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function JOt(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return YOt(e,n);case`doctype`:return XOt(e,n);case`element`:return ZOt(e,n);case`root`:return QOt(e,n);case`text`:return $Ot(e,n)}}}function YOt(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return OR(r,t),r}}function XOt(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return OR(e,t),e}}function ZOt(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=ekt(e,t.children),i=tkt(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&az.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return OR(o,t),o}function QOt(e,t){let n={type:`root`,children:ekt(e,t.children)};return OR(n,t),n}function $Ot(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return OR(n,t),n}function ekt(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=JOt(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function tkt(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&az.call(r,n)?r[n]:void 0,o=r&&az.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(az.call(s,l)){let t=s[l],n=nkt(e,okt(a,l),l,t);n??=nkt(e,okt(o,l),l,t),n!=null&&(c[l]=n)}if(i&&az.call(i,n)){let e=i[n];for(l in e)az.call(e,l)&&!az.call(c,l)&&(c[l]=e[l])}return c}function nkt(e,t,n,r){return t?Array.isArray(r)?rkt(e,t,n,r):ikt(e,t,n,r):void 0}function rkt(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=ikt(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function ikt(e,t,n,r){if((typeof r==`boolean`||typeof r==`number`||typeof r==`string`)&&akt(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function akt(e,t,n){let r=e.schema.protocols&&az.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function OR(e,t){let n=AOt(t);t.data&&(e.data=QR(t.data)),n&&(e.position=n)}function okt(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}function skt(e){return function(t){return qOt(t,e)}}function kR(e){return e!==null&&(e<32||e===127)}function AR(e){return e!==null&&e<-2}function jR(e){return e!==null&&(e<0||e===32)}function MR(e){return e===-2||e===-1||e===32}function NR(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function ckt(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function lkt(e,t,n){let r=CI((n||{}).ignore||[]),i=ukt(t),a=-1;for(;++a<i.length;)Evt(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function ukt(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([dkt(e[0]),fkt(e[1])])}return t}function dkt(e){return typeof e==`string`?new RegExp(ckt(e),`g`):e}function fkt(e){return typeof e==`function`?e:function(){return e}}function pkt(){return{transforms:[xkt],enter:{literalAutolink:hkt,literalAutolinkEmail:gkt,literalAutolinkHttp:gkt,literalAutolinkWww:gkt},exit:{literalAutolink:bkt,literalAutolinkEmail:ykt,literalAutolinkHttp:_kt,literalAutolinkWww:vkt}}}function mkt(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:dz,notInConstruct:fz},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:dz,notInConstruct:fz},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:dz,notInConstruct:fz}]}}function hkt(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function gkt(e){this.config.enter.autolinkProtocol.call(this,e)}function _kt(e){this.config.exit.autolinkProtocol.call(this,e)}function vkt(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function ykt(e){this.config.exit.autolinkEmail.call(this,e)}function bkt(e){this.exit(e)}function xkt(e){lkt(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Skt],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Ckt]],{ignore:[`link`,`linkReference`]})}function Skt(e,t,n,r,i){let a=``;if(!Ekt(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!wkt(n)))return!1;let o=Tkt(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function Ckt(e,t,n,r){return!Ekt(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function wkt(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Tkt(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=cL(e,`(`),a=cL(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function Ekt(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||uz(n)||lz(n))&&(!t||n!==47)}function PR(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}function Dkt(){return{enter:{gfmFootnoteDefinition:kkt,gfmFootnoteDefinitionLabelString:Akt,gfmFootnoteCall:Nkt,gfmFootnoteCallString:Pkt},exit:{gfmFootnoteDefinition:Mkt,gfmFootnoteDefinitionLabelString:jkt,gfmFootnoteCall:Ikt,gfmFootnoteCallString:Fkt}}}function Okt(){return{unsafe:[{character:`[`,inConstruct:[`phrasing`,`label`,`reference`]}],handlers:{footnoteDefinition:zkt,footnoteReference:Lkt}}}function kkt(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function Akt(){this.buffer()}function jkt(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=PR(this.sliceSerialize(e)).toLowerCase()}function Mkt(e){this.exit(e)}function Nkt(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function Pkt(){this.buffer()}function Fkt(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=PR(this.sliceSerialize(e)).toLowerCase()}function Ikt(e){this.exit(e)}function Lkt(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),o(),a+=i.move(`]`),a}function Rkt(){return`[`}function zkt(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteDefinition`),s=n.enter(`label`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),a+=i.move(`]:`+(e.children&&e.children.length>0?` `:``)),i.shift(4),a+=i.move(n.indentLines(n.containerFlow(e,i.current()),Bkt)),o(),a}function Bkt(e,t,n){return t===0?e:(n?``:` `)+e}function Vkt(){return{canContainEols:[`delete`],enter:{strikethrough:Ukt},exit:{strikethrough:Wkt}}}function Hkt(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:$Pt}],handlers:{delete:Gkt}}}function Ukt(e){this.enter({type:`delete`,children:[]},e)}function Wkt(e){this.exit(e)}function Gkt(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function Kkt(){return`~`}function qkt(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||Ykt,i=[],a=[],o=[],s=[],c=0,l=-1;for(;++l<e.length;){let n=[],i=[],u=-1;for(e[l].length>c&&(c=e[l].length);++u<e[l].length;){let a=Jkt(e[l][u]);if(t.alignDelimiters!==!1){let e=r(a);i[u]=e,(s[u]===void 0||e>s[u])&&(s[u]=e)}n.push(a)}a[l]=n,o[l]=i}let u=-1;if(typeof n==`object`&&`length`in n)for(;++u<c;)i[u]=Xkt(n[u]);else{let e=Xkt(n);for(;++u<c;)i[u]=e}u=-1;let d=[],f=[];for(;++u<c;){let e=i[u],n=``,r=``;e===99?(n=`:`,r=`:`):e===108?n=`:`:e===114&&(r=`:`);let a=t.alignDelimiters===!1?1:Math.max(1,s[u]-n.length-r.length),o=n+`-`.repeat(a)+r;t.alignDelimiters!==!1&&(a=n.length+a+r.length,a>s[u]&&(s[u]=a),f[u]=a),d[u]=o}a.splice(1,0,d),o.splice(1,0,f),l=-1;let p=[];for(;++l<a.length;){let e=a[l],n=o[l];u=-1;let r=[];for(;++u<c;){let a=e[u]||``,o=``,l=``;if(t.alignDelimiters!==!1){let e=s[u]-(n[u]||0),t=i[u];t===114?o=` `.repeat(e):t===99?e%2?(o=` `.repeat(e/2+.5),l=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),l=o):l=` `.repeat(e)}t.delimiterStart!==!1&&!u&&r.push(`|`),t.padding!==!1&&(t.alignDelimiters!==!1||a!==``)&&(t.delimiterStart!==!1||u)&&r.push(` `),t.alignDelimiters!==!1&&r.push(o),r.push(a),t.alignDelimiters!==!1&&r.push(l),t.padding!==!1&&r.push(` `),(t.delimiterEnd!==!1||u!==c-1)&&r.push(`|`)}p.push(t.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return p.join(`
+`)}function Jkt(e){return e==null?``:String(e)}function Ykt(e){return e.length}function Xkt(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Zkt(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Zkt(e,t.extensions[n]);for(r in t)if(eFt.call(t,r))switch(r){case`extensions`:break;case`unsafe`:Qkt(e[r],t[r]);break;case`join`:Qkt(e[r],t[r]);break;case`handlers`:$kt(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function Qkt(e,t){t&&e.push(...t)}function $kt(e,t){t&&Object.assign(e,t)}function eAt(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),tAt);return i(),o}function tAt(e,t,n){return`>`+(n?``:` `)+e}function nAt(e,t){return rAt(e,t.inConstruct,!0)&&!rAt(e,t.notInConstruct,!1)}function rAt(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function iAt(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
+`&&nAt(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
+`}function aAt(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function oAt(e,t){return!(t.options.fences!==!1||!e.value||e.lang||!/[^ \r\n]/.test(e.value)||/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function sAt(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function cAt(e,t,n,r){let i=sAt(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(oAt(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,lAt);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(aAt(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
+`,encode:["`"],...s.current()})),t()}return u+=s.move(`
+`),a&&(u+=s.move(a+`
+`)),u+=s.move(c),l(),u}function lAt(e,t,n){return(n?``:` `)+e}function uAt(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function dAt(e,t,n,r){let i=uAt(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
+`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function fAt(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function pAt(e,t,n,r){let i=fAt(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i),a(),s}function mAt(e,t,n){return n.options.emphasis||`*`}function hAt(e,t){let n=t||tFt;return gAt(e,typeof n.includeImageAlt!=`boolean`||n.includeImageAlt,typeof n.includeHtml!=`boolean`||n.includeHtml)}function gAt(e,t,n){if(vAt(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return _At(e.children,t,n)}return Array.isArray(e)?_At(e,t,n):``}function _At(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=gAt(e[i],t,n);return r.join(``)}function vAt(e){return!!(e&&typeof e==`object`)}function yAt(e,t){let n=!1;return SI(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&hAt(e)&&(t.options.setext||n))}function bAt(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(yAt(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
+`,after:`
+`});return r(),t(),o+`
+`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
+`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
+`,...a.current()});return/^[\t ]/.test(l)&&(l=`&#x`+l.charCodeAt(0).toString(16).toUpperCase()+`;`+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}function xAt(e){return e.value||``}function SAt(){return`<`}function CAt(e,t,n,r){let i=uAt(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function wAt(){return`!`}function TAt(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function EAt(){return`!`}function DAt(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function OAt(){return"`"}function kAt(e,t){let n=hAt(e);return!(t.options.resourceLink||!e.url||e.title||!e.children||e.children.length!==1||e.children[0].type!==`text`||n!==e.url&&`mailto:`+n!==e.url||!/^[a-z][a-z+.-]+:/i.test(e.url)||/[\0- <>\u007F]/.test(e.url))}function AAt(e,t,n,r){let i=uAt(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(kAt(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function jAt(e,t,n){return kAt(e,n)?`<`:`[`}function MAt(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function NAt(){return`[`}function PAt(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function FAt(e){let t=PAt(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function IAt(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function LAt(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function RAt(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?IAt(n):PAt(n),s=e.ordered?o===`.`?`)`:`.`:FAt(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),LAt(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function zAt(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function BAt(e,t,n,r){let i=zAt(n),a=n.bulletCurrent||PAt(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function VAt(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}function HAt(e,t,n,r){return(e.children.some(function(e){return nFt(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function UAt(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}function WAt(e,t,n,r){let i=UAt(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i+i),a(),s}function GAt(e,t,n){return n.options.strong||`*`}function KAt(e,t,n,r){return n.safe(e.value,r)}function qAt(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function JAt(e,t,n){let r=(LAt(n)+(n.options.ruleSpaces?` `:``)).repeat(qAt(n));return n.options.ruleSpaces?r.slice(0,-1):r}function YAt(e,t,n,r){if(t.type===`code`&&oAt(t,r)&&(e.type===`list`||e.type===t.type&&oAt(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`)return e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&yAt(t,r))?void 0:+!!n.spread}function XAt(e){return oFt.call(aFt,e)?aFt[e]:!1}function ZAt(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}function QAt(e){return e.replace(sFt,$At)}function $At(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return ZAt(n.slice(t?2:1),t?16:10)}return XAt(n)||e}function ejt(e){return e.label||!e.identifier?e.label||``:QAt(e.identifier)}function tjt(e){if(!e._compiled){let t=(e.atBreak?`[\\r\\n][\\t ]*`:``)+(e.before?`(?:`+e.before+`)`:``);e._compiled=RegExp((t?`(`+t+`)`:``)+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?`\\`:``)+e.character+(e.after?`(?:`+e.after+`)`:``),`g`)}return e._compiled}function njt(e,t,n){let r=t.indexStack,i=e.children||[],a=[],o=-1,s=n.before;r.push(-1);let c=t.createTracker(n);for(;++o<i.length;){let l=i[o],u;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[o+1],e,t,{before:``,after:``,...c.current()}).charAt(0):``}else u=n.after;a.length>0&&(s===`\r`||s===`
+`)&&l.type===`html`&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/,` `),s=` `,c=t.createTracker(n),c.move(a.join(``))),a.push(c.move(t.handle(l,e,t,{...c.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join(``)}function rjt(e,t,n){let r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,o.push(a.move(t.handle(n,e,t,{before:`
+`,after:`
+`,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(ijt(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function ijt(e,t,n,r){let i=r.join.length;for(;i--;){let a=r.join[i](e,t,n,r);if(a===!0||a===1)break;if(typeof a==`number`)return`
+`.repeat(1+a);if(a===!1)return`
+
+<!---->
+
+`}return`
+
+`}function ajt(e,t){let n=[],r=0,i=0,a;for(;a=cFt.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join(``);function o(e){n.push(t(e,i,!e))}}function ojt(e,t,n){let r=(n.before||``)+(t||``)+(n.after||``),i=[],a=[],o={},s=-1;for(;++s<e.unsafe.length;){let t=e.unsafe[s];if(!nAt(e.stack,t))continue;let n=e.compilePattern(t),a;for(;a=n.exec(r);){let e=`before`in t||!!t.atBreak,n=`after`in t,r=a.index+(e?a[1].length:0);i.includes(r)?(o[r].before&&!e&&(o[r].before=!1),o[r].after&&!n&&(o[r].after=!1)):(i.push(r),o[r]={before:e,after:n})}}i.sort(sjt);let c=n.before?n.before.length:0,l=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){let e=i[s];e<c||e>=l||e+1<l&&i[s+1]===e+1&&o[e].after&&!o[e+1].before&&!o[e+1].after||i[s-1]===e-1&&o[e].before&&!o[e-1].before&&!o[e-1].after||(c!==e&&a.push(cjt(r.slice(c,e),`\\`)),c=e,/[!-/:-@[-`{-~]/.test(r.charAt(e))&&(!n.encode||!n.encode.includes(r.charAt(e)))?a.push(`\\`):(a.push(`&#x`+r.charCodeAt(e).toString(16).toUpperCase()+`;`),c++))}return a.push(cjt(r.slice(c,l),n.after)),a.join(``)}function sjt(e,t){return e-t}function cjt(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t,o=-1,s=0,c;for(;c=n.exec(a);)r.push(c.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push(`\\`),s=r[o];return i.push(e.slice(s)),i.join(``)}function ljt(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:c,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(e){r+=e}function c(e){let t=e||``,n=t.split(/\r?\n|\r/g),o=n[n.length-1];return i+=n.length-1,a=n.length===1?a+o.length:1+o.length+r,t}}function ujt(e,t={}){let n={enter:i,indentLines:ajt,associationId:ejt,containerPhrasing:mjt,containerFlow:hjt,createTracker:ljt,compilePattern:tjt,safe:gjt,stack:[],unsafe:[...iFt],join:[...rFt],handlers:{...pz},options:{},indexStack:[],handle:void 0};Zkt(n,t),n.options.tightDefinitions&&n.join.push(pjt),n.handle=oL(`type`,{invalid:djt,unknown:fjt,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:`
+`,after:`
+`,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=`
+`),r;function i(e){return n.stack.push(e),t;function t(){n.stack.pop()}}}function djt(e){throw Error("Cannot handle value `"+e+"`, expected node")}function fjt(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function pjt(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function mjt(e,t){return njt(e,this,t)}function hjt(e,t){return rjt(e,this,t)}function gjt(e,t){return ojt(this,e,t)}function _jt(){return{enter:{table:vjt,tableData:Sjt,tableHeader:Sjt,tableRow:bjt},exit:{codeText:Cjt,table:yjt,tableData:xjt,tableHeader:xjt,tableRow:xjt}}}function vjt(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function yjt(e){this.exit(e),this.data.inTable=void 0}function bjt(e){this.enter({type:`tableRow`,children:[]},e)}function xjt(e){this.exit(e)}function Sjt(e){this.enter({type:`tableCell`,children:[]},e)}function Cjt(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,wjt));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function wjt(e,t){return t===`|`?t:e}function Tjt(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
+`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
+`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return qkt(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=pz.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function Ejt(){return{exit:{taskListCheckValueChecked:Ojt,taskListCheckValueUnchecked:Ojt,paragraph:kjt}}}function Djt(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:Ajt}}}function Ojt(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function kjt(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Ajt(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=pz.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function jjt(){return[pkt(),Dkt(),Vkt(),_jt(),Ejt()]}function Mjt(e){return{extensions:[mkt(),Okt(),Hkt(),Tjt(e),Djt()]}}function FR(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function IR(e,t){return e.length>0?(FR(e,e.length,0,t),e):t}function Njt(e){let t={},n=-1;for(;++n<e.length;)Pjt(t,e[n]);return t}function Pjt(e,t){let n;for(n in t){let r=(lFt.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){lFt.call(r,a)||(r[a]=[]);let e=i[a];Fjt(r[a],Array.isArray(e)?e:e?[e]:[])}}}function Fjt(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);FR(e,0,0,r)}function Ijt(){return{text:xz}}function Ljt(e,t,n){let r=this,i,a;return o;function o(t){return!Jjt(t)||!qjt.call(r,r.previous)||Yjt(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return Jjt(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(dFt,u,l)(t):t===45||t===95||sz(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&oz(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Rjt(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!Gjt.call(r,r.previous)||Yjt(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(uFt,e.attempt(hz,e.attempt(gz,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function zjt(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&Kjt.call(r,r.previous)&&!Yjt(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(oz(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||kR(t)||jR(t)||uz(t)||lz(t)?n(t):e.attempt(hz,e.attempt(gz,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Bjt(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function Vjt(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(_z,c,s)(t):t===null||jR(t)||uz(t)||t!==45&&lz(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function Hjt(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(_z,t,a)(o):o===null||jR(o)||uz(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function Ujt(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||jR(o)||uz(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||jR(e)||uz(e)?t(e):r(e)}function a(e){return oz(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):oz(t)?(e.consume(t),o):n(t)}}function Wjt(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return sz(e)?n(e):t(e)}}function Gjt(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||jR(e)}function Kjt(e){return!oz(e)}function qjt(e){return!(e===47||Jjt(e))}function Jjt(e){return e===43||e===45||e===46||e===95||sz(e)}function Yjt(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function LR(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&sz(e.charCodeAt(n+1))&&sz(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function RR(e){if(e===null||jR(e)||uz(e))return 1;if(lz(e))return 2}function zR(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}function Xjt(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);Qjt(d,-c),Qjt(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:Object.assign({},e[r][1].end)},s={type:c>1?`strongSequence`:`emphasisSequence`,start:Object.assign({},e[n][1].start),end:f},a={type:c>1?`strongText`:`emphasisText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:c>1?`strong`:`emphasis`,start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=IR(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=IR(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=IR(l,zR(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=IR(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=IR(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,FR(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function Zjt(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=RR(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=RR(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function Qjt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function $jt(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return oz(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||sz(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||sz(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||kR(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):XPt(t)?(e.consume(t),l):n(t)}function u(e){return sz(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||sz(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}function BR(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return MR(r)?(e.enter(n),s(r)):t(r)}function s(r){return MR(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}function eMt(e,t,n){return r;function r(t){return MR(t)?BR(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||AR(e)?t(e):n(e)}}function tMt(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return MR(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function nMt(e,t,n){let r=this;return i;function i(t){return MR(t)?BR(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(Tz,t,n)(r)}}function rMt(e){e.exit(`blockQuote`)}function iMt(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return QPt(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}function aMt(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=sz,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=ZPt,u):(e.enter(`characterReferenceValue`),a=7,o=cz,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===sz&&!XAt(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}function oMt(e,t,n){let r=this,i={tokenize:x,partial:!0},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),MR(t)?BR(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||AR(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(Oz,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||AR(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):MR(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),BR(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||AR(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||AR(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&MR(t)?BR(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||AR(t)?e.check(Oz,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||AR(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),MR(t)?BR(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),MR(t)?BR(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||AR(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function sMt(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function cMt(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),BR(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):AR(t)?e.attempt(pFt,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||AR(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function lMt(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):AR(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):BR(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):AR(e)?i(e):n(e)}}function uMt(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function dMt(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function fMt(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):AR(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||AR(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}function VR(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function pMt(e){let t={},n=-1,r,i,a,o,s,c,l,u=new hFt(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,mMt(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`);)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);i&&(r[1].end=Object.assign({},u.get(i)[1].start),s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return FR(e,0,1/0,u.slice(0)),!l}function mMt(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}function hMt(e){return pMt(e),e}function gMt(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):AR(t)?e.check(_Ft,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function _Mt(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),BR(e,a,`linePrefix`)}function a(i){if(i===null||AR(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function vMt(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||kR(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||AR(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||jR(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||kR(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function yMt(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):AR(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||AR(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!MR(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function bMt(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):AR(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),BR(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||AR(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function HR(e,t){let n;return r;function r(i){return AR(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):MR(i)?BR(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}function xMt(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return yMt.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=PR(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return jR(t)?HR(e,l)(t):l(t)}function l(t){return vMt(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(yFt,d,d)(t)}function d(t){return MR(t)?BR(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||AR(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function SMt(e,t,n){return r;function r(t){return jR(t)?HR(e,i)(t):n(t)}function i(t){return bMt(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return MR(t)?BR(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||AR(e)?t(e):n(e)}}function CMt(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return AR(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}function wMt(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},FR(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function TMt(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||jR(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||AR(n)?(e.exit(`atxHeading`),t(n)):MR(n)?BR(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||jR(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}function EMt(e){let t=e.length;for(;t--&&(e[t][0]!==`enter`||e[t][1].type!==`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function DMt(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:pe):oz(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):oz(a)?(e.consume(a),i=4,r.interrupt?t:pe):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:pe):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:oe:m):n(i)}function h(t){return oz(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||jR(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&jz.includes(l)?(i=1,r.interrupt?t(s):oe(s)):SFt.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):oe(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||sz(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:oe):n(i)}function v(t){return MR(t)?(e.consume(t),v):ie(t)}function y(t){return t===47?(e.consume(t),ie):t===58||t===95||oz(t)?(e.consume(t),b):MR(t)?(e.consume(t),y):ie(t)}function b(t){return t===45||t===46||t===58||t===95||sz(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),ee):MR(t)?(e.consume(t),x):y(t)}function ee(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,te):MR(t)?(e.consume(t),ee):ne(t)}function te(t){return t===c?(e.consume(t),c=null,re):t===null||AR(t)?n(t):(e.consume(t),te)}function ne(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||jR(t)?x(t):(e.consume(t),ne)}function re(e){return e===47||e===62||MR(e)?y(e):n(e)}function ie(t){return t===62?(e.consume(t),ae):n(t)}function ae(t){return t===null||AR(t)?oe(t):MR(t)?(e.consume(t),ae):n(t)}function oe(t){return t===45&&i===2?(e.consume(t),S):t===60&&i===1?(e.consume(t),ue):t===62&&i===4?(e.consume(t),me):t===63&&i===3?(e.consume(t),pe):t===93&&i===5?(e.consume(t),fe):AR(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(wFt,he,se)(t)):t===null||AR(t)?(e.exit(`htmlFlowData`),se(t)):(e.consume(t),oe)}function se(t){return e.check(TFt,ce,he)(t)}function ce(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),le}function le(t){return t===null||AR(t)?se(t):(e.enter(`htmlFlowData`),oe(t))}function S(t){return t===45?(e.consume(t),pe):oe(t)}function ue(t){return t===47?(e.consume(t),o=``,de):oe(t)}function de(t){if(t===62){let n=o.toLowerCase();return jz.includes(n)?(e.consume(t),me):oe(t)}return oz(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),de):oe(t)}function fe(t){return t===93?(e.consume(t),pe):oe(t)}function pe(t){return t===62?(e.consume(t),me):t===45&&i===2?(e.consume(t),pe):oe(t)}function me(t){return t===null||AR(t)?(e.exit(`htmlFlowData`),he(t)):(e.consume(t),me)}function he(n){return e.exit(`htmlFlow`),t(n)}}function OMt(e,t,n){let r=this;return i;function i(t){return AR(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function kMt(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(wz,t,n)}}function AMt(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):oz(t)?(e.consume(t),ne):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):oz(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):AR(t)?(o=d,ue(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?S(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):AR(t)?(o=h,ue(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?S(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?S(t):AR(t)?(o=v,ue(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):AR(t)?(o=y,ue(t)):(e.consume(t),y)}function b(e){return e===62?S(e):y(e)}function x(t){return oz(t)?(e.consume(t),ee):n(t)}function ee(t){return t===45||sz(t)?(e.consume(t),ee):te(t)}function te(t){return AR(t)?(o=te,ue(t)):MR(t)?(e.consume(t),te):S(t)}function ne(t){return t===45||sz(t)?(e.consume(t),ne):t===47||t===62||jR(t)?re(t):n(t)}function re(t){return t===47?(e.consume(t),S):t===58||t===95||oz(t)?(e.consume(t),ie):AR(t)?(o=re,ue(t)):MR(t)?(e.consume(t),re):S(t)}function ie(t){return t===45||t===46||t===58||t===95||sz(t)?(e.consume(t),ie):ae(t)}function ae(t){return t===61?(e.consume(t),oe):AR(t)?(o=ae,ue(t)):MR(t)?(e.consume(t),ae):re(t)}function oe(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,se):AR(t)?(o=oe,ue(t)):MR(t)?(e.consume(t),oe):(e.consume(t),ce)}function se(t){return t===i?(e.consume(t),i=void 0,le):t===null?n(t):AR(t)?(o=se,ue(t)):(e.consume(t),se)}function ce(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||jR(t)?re(t):(e.consume(t),ce)}function le(e){return e===47||e===62||jR(e)?re(e):n(e)}function S(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function ue(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),de}function de(t){return MR(t)?BR(e,fe,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):fe(t)}function fe(t){return e.enter(`htmlTextData`),o(t)}}function jMt(e){let t=-1;for(;++t<e.length;){let n=e[t][1];(n.type===`labelImage`||n.type===`labelLink`||n.type===`labelEnd`)&&(e.splice(t+1,n.type===`labelImage`?4:2),n.type=`data`,t++)}return e}function MMt(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:`label`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},u={type:`labelText`,start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[[`enter`,c,t],[`enter`,l,t]],s=IR(s,e.slice(a+1,a+r+3)),s=IR(s,[[`enter`,u,t]]),s=IR(s,zR(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=IR(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=IR(s,e.slice(o+1)),s=IR(s,[[`exit`,c,t]]),FR(e,a,e.length,s),e}function NMt(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(PR(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(DFt,u,o?u:d)(t):t===91?e.attempt(OFt,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(kFt,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function PMt(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return jR(t)?HR(e,a)(t):a(t)}function a(t){return t===41?u(t):vMt(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return jR(t)?HR(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?bMt(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return jR(t)?HR(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function FMt(e,t,n){let r=this;return i;function i(t){return yMt.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(PR(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function IMt(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}function LMt(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}function RMt(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}function zMt(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),BR(e,t,`linePrefix`)}}function BMt(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||AR(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),MR(t)?BR(e,s,`whitespace`)(t):s(t))}}function VMt(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:cz(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(Pz,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return cz(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(wz,r.interrupt?n:u,e.attempt(MFt,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return MR(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function HMt(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(wz,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,BR(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!MR(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(NFt,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,BR(e,e.attempt(Fz,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function UMt(e,t,n){let r=this;return BR(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function WMt(e){e.exit(this.containerState.type)}function GMt(e,t,n){let r=this;return BR(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!MR(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}function KMt(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push([`exit`,o,t]),e}function qMt(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),MR(t)?BR(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||AR(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}function JMt(){return{document:{91:{tokenize:QMt,continuation:{tokenize:$Mt},exit:eNt}},text:{91:{tokenize:ZMt},93:{add:`after`,tokenize:YMt,resolveTo:XMt}}}}function YMt(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=PR(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function XMt(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function ZMt(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||jR(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(PR(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return jR(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function QMt(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||jR(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=PR(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return jR(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),BR(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function $Mt(e,t,n){return e.check(wz,t,e.attempt(PFt,t,n))}function eNt(e){e.exit(`gfmFootnoteDefinition`)}function tNt(e,t,n){let r=this;return BR(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function nNt(e){let t=(e||{}).singleTilde,n={tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&FR(o,o.length,0,zR(s,e.slice(r+1,n),t)),FR(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),FR(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=RR(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=RR(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}function rNt(e,t,n,r){let i=0;if(n!==0||r.length!==0){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function iNt(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function aNt(){return{flow:{null:{tokenize:oNt,resolveAll:sNt}}}}function oNt(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?ee:c;return a===ee&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124||(o=!0,a+=1),u(e)}function u(t){return t===null?n(t):AR(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):MR(t)?BR(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||jR(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,MR(t)?BR(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return MR(t)?BR(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||AR(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return MR(t)?BR(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||AR(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function ee(t){return e.enter(`tableRow`),te(t)}function te(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),te):n===null||AR(n)?(e.exit(`tableRow`),t(n)):MR(n)?BR(e,te,`whitespace`)(n):(e.enter(`data`),ne(n))}function ne(t){return t===null||t===124||jR(t)?(e.exit(`data`),te(t)):(e.consume(t),t===92?re:ne)}function re(t){return t===92||t===124?(e.consume(t),ne):ne(t)}}function sNt(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new FFt;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(cNt(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=UR(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=UR(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=UR(f,t,o,i,n,d)):(o[0]=o[1],d=UR(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&cNt(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=iNt(t.events,n))}return e}function UR(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},WR(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=WR(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=WR(t.events,n[2]),a=WR(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},WR(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function cNt(e,t,n,r,i){let a=[],o=WR(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function WR(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}function lNt(){return{text:{91:IFt}}}function uNt(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return jR(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return AR(r)?t(r):MR(r)?e.check({tokenize:dNt},t,n)(r):n(r)}}function dNt(e,t,n){return BR(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function fNt(e){return Njt([Ijt(),JMt(),nNt(e),aNt(),lNt()])}function GR(e){let t=this,n=e||LFt,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(fNt(n)),a.push(jjt()),o.push(Mjt(n))}function pNt(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null)e.consume(n);else return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),BR(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null)e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);else return AR(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}function mNt(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return FR(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!(!i.currentConstruct||i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Lz,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(Lz,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null)i&&v(),_(0),e.consume(n);else return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{contentType:`flow`,previous:a,_tokenizer:i}),h(n)}function h(n){if(n===null)g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);else return AR(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},c),e++;FR(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-->r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function hNt(e,t,n){return BR(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}function gNt(e){let t=this,n=e.attempt(wz,r,e.attempt(this.parser.constructs.flowInitial,i,BR(e,e.attempt(this.parser.constructs.flow,i,e.attempt(gFt,i)),`linePrefix`)));return n;function r(r){if(r===null)e.consume(r);else return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null)e.consume(r);else return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}function _Nt(e){return{tokenize:t,resolveAll:vNt(e===`text`?yNt:void 0)};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null)t.consume(e);else return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function vNt(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function yNt(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}function bNt(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},a=[],o=[],s=[],c={consume:v,enter:y,exit:b,attempt:te(x),check:te(ee),interrupt:te(ee,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:f,now:m,defineSkip:h,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=IR(o,e),g(),o[o.length-1]===null?(ne(t,0),l.events=zR(a,l.events,l),l.events):[]}function f(e,t){return SNt(p(e),t)}function p(e){return xNt(o,e)}function m(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:a}}function h(e){i[e.line]=e.column,ie()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){AR(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,ie()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){ne(e,t.from)}function ee(e,t){t.restore()}function te(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=re(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function ne(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&FR(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function re(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{restore:o,from:i};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,ie()}}function ie(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function xNt(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function SNt(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
+`;break;case-3:o=`\r
+`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function CNt(e){let t={defined:[],lazy:{},constructs:Njt([WFt,...(e||{}).extensions||[]]),content:n(RFt),document:n(zFt),flow:n(BFt),string:n(HFt),text:n(UFt)};return t;function n(e){return n;function n(n){return bNt(t,e,n)}}}function wNt(e){for(;!pMt(e););return e}function TNt(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(Rz.lastIndex=u,c=Rz.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}function ENt(e,t,n){return typeof t!=`string`&&(n=t,t=void 0),DNt(n)(wNt(CNt(n).document().write(TNt()(e,t,!0))))}function DNt(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Ae),autolinkProtocol:re,autolinkEmail:re,atxHeading:a(Ee),blockQuote:a(xe),characterEscape:re,characterReference:re,codeFenced:a(Se),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(Se,o),codeText:a(Ce,o),codeTextData:re,data:re,codeFlowValue:re,definition:a(we),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Te),hardBreakEscape:a(De),hardBreakTrailing:a(De),htmlFlow:a(Oe,o),htmlFlowData:re,htmlText:a(Oe,o),htmlTextData:re,image:a(ke),label:o,link:a(Ae),listItem:a(Me),listItemValue:f,listOrdered:a(je,d),listUnordered:a(je),paragraph:a(Ne),reference:ge,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Ee),strong:a(Pe),thematicBreak:a(Ie)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:be,autolinkProtocol:ye,blockQuote:c(),characterEscapeValue:ie,characterReferenceMarkerHexadecimal:_e,characterReferenceMarkerNumeric:_e,characterReferenceValue:ve,characterReference:w,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:ie,codeIndented:c(_),codeText:c(le),codeTextData:ie,data:ie,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(oe),hardBreakTrailing:c(oe),htmlFlow:c(se),htmlFlowData:ie,htmlText:c(ce),htmlTextData:ie,image:c(ue),label:fe,labelText:de,lineEnding:ae,link:c(S),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:C,resourceDestinationString:pe,resourceTitleString:me,resource:he,setextHeading:c(ne),setextHeadingLineSequence:te,setextHeadingText:ee,strong:c(),thematicBreak:c()}};ONt(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];zz.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||ANt).call(a,void 0,e[0])}for(r.position={start:KR(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:KR(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(t[1].type!==`linePrefix`&&t[1].type!==`blockQuotePrefix`&&t[1].type!==`blockQuotePrefixWhitespace`&&t[1].type!==`blockQuoteMarker`&&t[1].type!==`listItemIndent`)break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:KR(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||ANt).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+iL({start:e.start,end:e.end})+`): it’s not open`);n.position.end=KR(e.end)}function u(){return hAt(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=PR(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function te(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function ne(){this.data.setextHeadingSlurpLineEnding=void 0}function re(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Fe(),n.position={start:KR(e.start),end:void 0},t.push(n)),this.stack.push(n)}function ie(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=KR(e.end)}function ae(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=KR(e.end),this.data.atHardBreak=void 0}else!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(re.call(this,e),ie.call(this,e))}function oe(){this.data.atHardBreak=!0}function se(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ce(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function le(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function S(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ue(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function de(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=QAt(t),n.identifier=PR(t).toLowerCase()}function fe(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function pe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function me(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function he(){this.data.inReference=void 0}function ge(){this.data.referenceType=`collapsed`}function C(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=PR(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function _e(e){this.data.characterReferenceType=e.type}function ve(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=ZAt(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=XAt(t);let i=this.stack[this.stack.length-1];i.value+=r}function w(e){let t=this.stack.pop();t.position.end=KR(e.end)}function ye(e){ie.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function be(e){ie.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function xe(){return{type:`blockquote`,children:[]}}function Se(){return{type:`code`,lang:null,meta:null,value:``}}function Ce(){return{type:`inlineCode`,value:``}}function we(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function Te(){return{type:`emphasis`,children:[]}}function Ee(){return{type:`heading`,depth:0,children:[]}}function De(){return{type:`break`}}function Oe(){return{type:`html`,value:``}}function ke(){return{type:`image`,title:null,url:``,alt:null}}function Ae(){return{type:`link`,title:null,url:``,children:[]}}function je(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Me(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function Ne(){return{type:`paragraph`,children:[]}}function Pe(){return{type:`strong`,children:[]}}function Fe(){return{type:`text`,value:``}}function Ie(){return{type:`thematicBreak`}}}function KR(e){return{line:e.line,column:e.column,offset:e.offset}}function ONt(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?ONt(e,r):kNt(e,r)}}function kNt(e,t){let n;for(n in t)if(zz.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function ANt(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+iL({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+iL({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+iL({start:t.start,end:t.end})+`) is still open`)}function jNt(e){let t=this;t.parser=n;function n(n){return ENt(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function MNt(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function NNt(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
+`}]}function PNt(e,t){let n=t.value?t.value+`
+`:``,r={};t.lang&&(r.className=[`language-`+t.lang]);let i={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:`element`,tagName:`pre`,properties:{},children:[i]},e.patch(t,i),i}function FNt(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function INt(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function LNt(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=LR(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function RNt(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function zNt(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function BNt(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function VNt(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return BNt(e,t);let i={src:LR(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function HNt(e,t){let n={src:LR(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function UNt(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function WNt(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return BNt(e,t);let i={href:LR(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function GNt(e,t){let n={href:LR(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function KNt(e,t,n){let r=e.all(t),i=n?qNt(n):JNt(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
+`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
+`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function qNt(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=JNt(n[r])}return t}function JNt(e){return e.spread??e.children.length>1}function YNt(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function XNt(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ZNt(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function QNt(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $Nt(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=nz(t.children[1]),o=tz(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function ePt(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function tPt(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function nPt(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(rPt(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(rPt(t.slice(i),i>0,!1)),a.join(``)}function rPt(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===Bz||t===Vz;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===Bz||t===Vz;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function iPt(e,t){let n={type:`text`,value:nPt(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function aPt(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}function qR(){}function oPt(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function sPt(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function cPt(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||oPt,r=e.options.footnoteBackLabel||sPt,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=LR(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...QR(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
+`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
+`}]}}function lPt(e,t){let n=t||tIt,r=new Map,i=new Map,a={all:s,applyData:dPt,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...eIt,...n.handlers},one:o,options:n,patch:uPt,wrap:pPt};return SI(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(Hz.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=QR(n);return r.children=a.all(e),r}return QR(e)}return(a.options.unknownHandler||fPt)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=mPt(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=mPt(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function uPt(e,t){e.position&&(t.position=AOt(e))}function dPt(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,QR(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function fPt(e,t){let n=t.data||{},r=`value`in t&&!(Hz.call(n,`hProperties`)||Hz.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function pPt(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
+`});++r<e.length;)r&&n.push({type:`text`,value:`
+`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
+`}),n}function mPt(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function hPt(e,t){let n=lPt(e,t),r=n.one(e,void 0),i=cPt(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
+`},i)),a}function gPt(e,t){return e&&`run`in e?async function(n,r){let i=hPt(n,{file:r,...t});await e.run(i,r)}:function(n,r){return hPt(n,{file:r,...e||t})}}function _Pt(e){let t=this;t.compiler=n;function n(n){return ujt(n,{...t.data(`settings`),...e,extensions:t.data(`toMarkdownExtensions`)||[]})}}function vPt(e,t){let n=t?.removeTags??[];if(!t?.transform&&!n.includes(`p`)&&uIt.test(e))return`\n<p>${e}</p>\n`;let r=t?.allowTags??[],i=[...iz.tagNames??[],...r].filter(e=>!n.includes(e));if(t?.transform)return Kz(i,t.transform,t.transformType).processSync(e).toString();let a=[[...n].sort().join(`,`),[...r].sort().join(`,`),t?.transformType??``].join(`|`),o=qz.get(a);return o||(o=Kz(i,void 0,t?.transformType).freeze(),qz.set(a,o)),o.processSync(e).toString()}function yPt(e){return iR().use(jNt).use(GR).parse(e)}function bPt(e,t=1){let n=yPt(e),r=[];return SI(n,`heading`,e=>{let n=JR(e);n&&r.push({depth:e.depth??t,value:n})}),r}function JR(e){return e.type===`text`?e.value??``:`children`in e&&Array.isArray(e.children)?e.children.map(e=>JR(e)).join(``):``}function xPt(e){let t=yPt(e),n=[],r=[];return t.children?.forEach(e=>{e.type===`heading`?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)}),r.length&&n.push(r),n.map(e=>SPt(e))}function SPt(e){return iR().use(_Pt).use(GR).stringify({type:`root`,children:e}).trim()}var CPt,wPt,TPt,YR,EPt,DPt,XR,ZR,OPt,kPt,QR,APt,jPt,MPt,NPt,PPt,$R,FPt,IPt,LPt,RPt,ez,zPt,BPt,VPt,HPt,UPt,WPt,GPt,KPt,qPt,tz,nz,JPt,YPt,rz,iz,az,oz,sz,XPt,cz,ZPt,QPt,lz,uz,dz,fz,$Pt,eFt,tFt,nFt,pz,rFt,mz,iFt,aFt,oFt,sFt,cFt,lFt,uFt,hz,gz,_z,dFt,vz,yz,bz,xz,Sz,Cz,fFt,wz,Tz,Ez,Dz,Oz,kz,Az,pFt,mFt,hFt,gFt,_Ft,vFt,yFt,bFt,xFt,SFt,jz,CFt,wFt,TFt,EFt,Mz,DFt,OFt,kFt,AFt,jFt,Nz,Pz,Fz,MFt,NFt,Iz,PFt,FFt,IFt,LFt,RFt,zFt,Lz,BFt,VFt,HFt,UFt,WFt,GFt,KFt,qFt,JFt,YFt,XFt,ZFt,QFt,$Ft,Rz,zz,Bz,Vz,eIt,Hz,tIt,Uz,nIt,rIt,Wz,iIt,Gz,aIt,oIt,sIt,cIt,lIt,Kz,qz,uIt,dIt=s((()=>{for(vyt(),VTt(),Avt(),KDt(),XDt(),CPt=typeof self==`object`?self:globalThis,wPt=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new CPt[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new CPt[a](o),i)};return r},TPt=e=>wPt(new Map,e)(0),YR=``,{toString:EPt}={},{keys:DPt}=Object,XR=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=EPt.call(e).slice(8,-1);switch(n){case`Array`:return[1,YR];case`Object`:return[2,YR];case`Date`:return[3,YR];case`RegExp`:return[4,YR];case`Map`:return[5,YR];case`Set`:return[6,YR]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},ZR=([e,t])=>e===0&&(t===`function`||t===`symbol`),OPt=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=XR(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of DPt(r))(e||!ZR(XR(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(ZR(XR(n))||ZR(XR(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!ZR(XR(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},kPt=(e,{json:t,lossy:n}={})=>{let r=[];return OPt(!(t||n),!!t,new Map,r)(e),r},QR=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?TPt(kPt(e,t)):structuredClone(e):(e,t)=>TPt(kPt(e,t)),APt=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,jPt=/^[a-zA-Z]:\\/,MPt=[`http`,`https`],NPt=[`nofollow`],PPt={},$R=EI(function(e){return e.tagName===`audio`||e.tagName===`canvas`||e.tagName===`embed`||e.tagName===`iframe`||e.tagName===`img`||e.tagName===`math`||e.tagName===`object`||e.tagName===`picture`||e.tagName===`svg`||e.tagName===`video`}),FPt=`address.article.aside.blockquote.body.br.caption.center.col.colgroup.dd.dialog.dir.div.dl.dt.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.li.listing.main.menu.nav.ol.optgroup.option.p.plaintext.pre.section.summary.table.tbody.td.td.tfoot.th.th.thead.tr.ul.wbr.xmp`.split(`.`),IPt=[`button`,`input`,`select`,`textarea`],LPt=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`],RPt={},ez=CI([`comment`,`doctype`]),zPt={}.hasOwnProperty,BPt=new Set([`pingback`,`prefetch`,`stylesheet`]),VPt=EI(`a.abbr.area.b.bdi.bdo.br.button.cite.code.data.datalist.del.dfn.em.i.input.ins.kbd.keygen.label.map.mark.meter.noscript.output.progress.q.ruby.s.samp.script.select.small.span.strong.sub.sup.template.textarea.time.u.var.wbr`.split(`.`)),HPt=EI(`meta`),UPt=[`pre`,`script`,`style`,`textarea`],WPt={},GPt={},KPt={}.hasOwnProperty,qPt=oL(`type`,{handlers:{root:xOt,element:EOt,text:wOt,comment:TOt,doctype:COt}}),tz=kOt(`end`),nz=kOt(`start`),JPt=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),YPt={sourceCodeLocationInfo:!0,scriptingEnabled:!1},rz=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],iz={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...rz,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...rz],h2:[[`className`,`sr-only`]],img:[...rz,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...rz,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...rz],table:[...rz],ul:[...rz,[`className`,`contains-task-list`]],"*":`abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width`.split(`.`)},clobber:[`ariaDescribedBy`,`ariaLabelledBy`,`id`,`name`],clobberPrefix:`user-content-`,protocols:{cite:[`http`,`https`],href:[`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`],longDesc:[`http`,`https`],src:[`http`,`https`]},required:{input:{disabled:!0,type:`checkbox`}},strip:[`script`],tagNames:`a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var`.split(`.`)},az={}.hasOwnProperty,oz=NR(/[A-Za-z]/),sz=NR(/[\dA-Za-z]/),XPt=NR(/[#-'*+\--9=?A-Z^-~]/),cz=NR(/\d/),ZPt=NR(/[\dA-Fa-f]/),QPt=NR(/[!-/:-@[-`{-~]/),lz=NR(/\p{P}|\p{S}/u),uz=NR(/\s/),dz=`phrasing`,fz=[`autolink`,`link`,`image`,`label`],Lkt.peek=Rkt,$Pt=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],Gkt.peek=Kkt,eFt={}.hasOwnProperty,pAt.peek=mAt,tFt={},xAt.peek=SAt,CAt.peek=wAt,TAt.peek=EAt,DAt.peek=OAt,AAt.peek=jAt,MAt.peek=NAt,nFt=CI([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]),WAt.peek=GAt,pz={blockquote:eAt,break:iAt,code:cAt,definition:dAt,emphasis:pAt,hardBreak:iAt,heading:bAt,html:xAt,image:CAt,imageReference:TAt,inlineCode:DAt,link:AAt,linkReference:MAt,list:RAt,listItem:BAt,paragraph:VAt,root:HAt,strong:WAt,text:KAt,thematicBreak:JAt},rFt=[YAt],mz=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],iFt=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
+`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`!`,after:`\\[`,inConstruct:`phrasing`,notInConstruct:mz},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
+]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:mz},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
+*])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:mz},{atBreak:!0,character:`+`,after:`(?:[ \r
+])`},{atBreak:!0,character:`-`,after:`(?:[ \r
+-])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
+]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:mz},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:mz},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:mz},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:mz},{atBreak:!0,character:`~`}],aFt={AElig:`Æ`,AMP:`&`,Aacute:`Á`,Abreve:`Ă`,Acirc:`Â`,Acy:`А`,Afr:`𝔄`,Agrave:`À`,Alpha:`Α`,Amacr:`Ā`,And:`⩓`,Aogon:`Ą`,Aopf:`𝔸`,ApplyFunction:`⁡`,Aring:`Å`,Ascr:`𝒜`,Assign:`≔`,Atilde:`Ã`,Auml:`Ä`,Backslash:`∖`,Barv:`⫧`,Barwed:`⌆`,Bcy:`Б`,Because:`∵`,Bernoullis:`ℬ`,Beta:`Β`,Bfr:`𝔅`,Bopf:`𝔹`,Breve:`˘`,Bscr:`ℬ`,Bumpeq:`≎`,CHcy:`Ч`,COPY:`©`,Cacute:`Ć`,Cap:`⋒`,CapitalDifferentialD:`ⅅ`,Cayleys:`ℭ`,Ccaron:`Č`,Ccedil:`Ç`,Ccirc:`Ĉ`,Cconint:`∰`,Cdot:`Ċ`,Cedilla:`¸`,CenterDot:`·`,Cfr:`ℭ`,Chi:`Χ`,CircleDot:`⊙`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,Colon:`∷`,Colone:`⩴`,Congruent:`≡`,Conint:`∯`,ContourIntegral:`∮`,Copf:`ℂ`,Coproduct:`∐`,CounterClockwiseContourIntegral:`∳`,Cross:`⨯`,Cscr:`𝒞`,Cup:`⋓`,CupCap:`≍`,DD:`ⅅ`,DDotrahd:`⤑`,DJcy:`Ђ`,DScy:`Ѕ`,DZcy:`Џ`,Dagger:`‡`,Darr:`↡`,Dashv:`⫤`,Dcaron:`Ď`,Dcy:`Д`,Del:`∇`,Delta:`Δ`,Dfr:`𝔇`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,Diamond:`⋄`,DifferentialD:`ⅆ`,Dopf:`𝔻`,Dot:`¨`,DotDot:`⃜`,DotEqual:`≐`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,Downarrow:`⇓`,Dscr:`𝒟`,Dstrok:`Đ`,ENG:`Ŋ`,ETH:`Ð`,Eacute:`É`,Ecaron:`Ě`,Ecirc:`Ê`,Ecy:`Э`,Edot:`Ė`,Efr:`𝔈`,Egrave:`È`,Element:`∈`,Emacr:`Ē`,EmptySmallSquare:`◻`,EmptyVerySmallSquare:`▫`,Eogon:`Ę`,Eopf:`𝔼`,Epsilon:`Ε`,Equal:`⩵`,EqualTilde:`≂`,Equilibrium:`⇌`,Escr:`ℰ`,Esim:`⩳`,Eta:`Η`,Euml:`Ë`,Exists:`∃`,ExponentialE:`ⅇ`,Fcy:`Ф`,Ffr:`𝔉`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,Fopf:`𝔽`,ForAll:`∀`,Fouriertrf:`ℱ`,Fscr:`ℱ`,GJcy:`Ѓ`,GT:`>`,Gamma:`Γ`,Gammad:`Ϝ`,Gbreve:`Ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,Gcy:`Г`,Gdot:`Ġ`,Gfr:`𝔊`,Gg:`⋙`,Gopf:`𝔾`,GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,Gt:`≫`,HARDcy:`Ъ`,Hacek:`ˇ`,Hat:`^`,Hcirc:`Ĥ`,Hfr:`ℌ`,HilbertSpace:`ℋ`,Hopf:`ℍ`,HorizontalLine:`─`,Hscr:`ℋ`,Hstrok:`Ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,IEcy:`Е`,IJlig:`IJ`,IOcy:`Ё`,Iacute:`Í`,Icirc:`Î`,Icy:`И`,Idot:`İ`,Ifr:`ℑ`,Igrave:`Ì`,Im:`ℑ`,Imacr:`Ī`,ImaginaryI:`ⅈ`,Implies:`⇒`,Int:`∬`,Integral:`∫`,Intersection:`⋂`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,Iogon:`Į`,Iopf:`𝕀`,Iota:`Ι`,Iscr:`ℐ`,Itilde:`Ĩ`,Iukcy:`І`,Iuml:`Ï`,Jcirc:`Ĵ`,Jcy:`Й`,Jfr:`𝔍`,Jopf:`𝕁`,Jscr:`𝒥`,Jsercy:`Ј`,Jukcy:`Є`,KHcy:`Х`,KJcy:`Ќ`,Kappa:`Κ`,Kcedil:`Ķ`,Kcy:`К`,Kfr:`𝔎`,Kopf:`𝕂`,Kscr:`𝒦`,LJcy:`Љ`,LT:`<`,Lacute:`Ĺ`,Lambda:`Λ`,Lang:`⟪`,Laplacetrf:`ℒ`,Larr:`↞`,Lcaron:`Ľ`,Lcedil:`Ļ`,Lcy:`Л`,LeftAngleBracket:`⟨`,LeftArrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,LeftRightArrow:`↔`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,Leftarrow:`⇐`,Leftrightarrow:`⇔`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,LessLess:`⪡`,LessSlantEqual:`⩽`,LessTilde:`≲`,Lfr:`𝔏`,Ll:`⋘`,Lleftarrow:`⇚`,Lmidot:`Ŀ`,LongLeftArrow:`⟵`,LongLeftRightArrow:`⟷`,LongRightArrow:`⟶`,Longleftarrow:`⟸`,Longleftrightarrow:`⟺`,Longrightarrow:`⟹`,Lopf:`𝕃`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,Lscr:`ℒ`,Lsh:`↰`,Lstrok:`Ł`,Lt:`≪`,Map:`⤅`,Mcy:`М`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,MinusPlus:`∓`,Mopf:`𝕄`,Mscr:`ℳ`,Mu:`Μ`,NJcy:`Њ`,Nacute:`Ń`,Ncaron:`Ň`,Ncedil:`Ņ`,Ncy:`Н`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
+`,Nfr:`𝔑`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,Not:`⫬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,Nscr:`𝒩`,Ntilde:`Ñ`,Nu:`Ν`,OElig:`Œ`,Oacute:`Ó`,Ocirc:`Ô`,Ocy:`О`,Odblac:`Ő`,Ofr:`𝔒`,Ograve:`Ò`,Omacr:`Ō`,Omega:`Ω`,Omicron:`Ο`,Oopf:`𝕆`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,Or:`⩔`,Oscr:`𝒪`,Oslash:`Ø`,Otilde:`Õ`,Otimes:`⨷`,Ouml:`Ö`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,PartialD:`∂`,Pcy:`П`,Pfr:`𝔓`,Phi:`Φ`,Pi:`Π`,PlusMinus:`±`,Poincareplane:`ℌ`,Popf:`ℙ`,Pr:`⪻`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,Prime:`″`,Product:`∏`,Proportion:`∷`,Proportional:`∝`,Pscr:`𝒫`,Psi:`Ψ`,QUOT:`"`,Qfr:`𝔔`,Qopf:`ℚ`,Qscr:`𝒬`,RBarr:`⤐`,REG:`®`,Racute:`Ŕ`,Rang:`⟫`,Rarr:`↠`,Rarrtl:`⤖`,Rcaron:`Ř`,Rcedil:`Ŗ`,Rcy:`Р`,Re:`ℜ`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,Rfr:`ℜ`,Rho:`Ρ`,RightAngleBracket:`⟩`,RightArrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,Rightarrow:`⇒`,Ropf:`ℝ`,RoundImplies:`⥰`,Rrightarrow:`⇛`,Rscr:`ℛ`,Rsh:`↱`,RuleDelayed:`⧴`,SHCHcy:`Щ`,SHcy:`Ш`,SOFTcy:`Ь`,Sacute:`Ś`,Sc:`⪼`,Scaron:`Š`,Scedil:`Ş`,Scirc:`Ŝ`,Scy:`С`,Sfr:`𝔖`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,ShortRightArrow:`→`,ShortUpArrow:`↑`,Sigma:`Σ`,SmallCircle:`∘`,Sopf:`𝕊`,Sqrt:`√`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,Sscr:`𝒮`,Star:`⋆`,Sub:`⋐`,Subset:`⋐`,SubsetEqual:`⊆`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,SuchThat:`∋`,Sum:`∑`,Sup:`⋑`,Superset:`⊃`,SupersetEqual:`⊇`,Supset:`⋑`,THORN:`Þ`,TRADE:`™`,TSHcy:`Ћ`,TScy:`Ц`,Tab:` `,Tau:`Τ`,Tcaron:`Ť`,Tcedil:`Ţ`,Tcy:`Т`,Tfr:`𝔗`,Therefore:`∴`,Theta:`Θ`,ThickSpace:`  `,ThinSpace:` `,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,Topf:`𝕋`,TripleDot:`⃛`,Tscr:`𝒯`,Tstrok:`Ŧ`,Uacute:`Ú`,Uarr:`↟`,Uarrocir:`⥉`,Ubrcy:`Ў`,Ubreve:`Ŭ`,Ucirc:`Û`,Ucy:`У`,Udblac:`Ű`,Ufr:`𝔘`,Ugrave:`Ù`,Umacr:`Ū`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,Uopf:`𝕌`,UpArrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,UpEquilibrium:`⥮`,UpTee:`⊥`,UpTeeArrow:`↥`,Uparrow:`⇑`,Updownarrow:`⇕`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,Upsilon:`Υ`,Uring:`Ů`,Uscr:`𝒰`,Utilde:`Ũ`,Uuml:`Ü`,VDash:`⊫`,Vbar:`⫫`,Vcy:`В`,Vdash:`⊩`,Vdashl:`⫦`,Vee:`⋁`,Verbar:`‖`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,Vopf:`𝕍`,Vscr:`𝒱`,Vvdash:`⊪`,Wcirc:`Ŵ`,Wedge:`⋀`,Wfr:`𝔚`,Wopf:`𝕎`,Wscr:`𝒲`,Xfr:`𝔛`,Xi:`Ξ`,Xopf:`𝕏`,Xscr:`𝒳`,YAcy:`Я`,YIcy:`Ї`,YUcy:`Ю`,Yacute:`Ý`,Ycirc:`Ŷ`,Ycy:`Ы`,Yfr:`𝔜`,Yopf:`𝕐`,Yscr:`𝒴`,Yuml:`Ÿ`,ZHcy:`Ж`,Zacute:`Ź`,Zcaron:`Ž`,Zcy:`З`,Zdot:`Ż`,ZeroWidthSpace:`​`,Zeta:`Ζ`,Zfr:`ℨ`,Zopf:`ℤ`,Zscr:`𝒵`,aacute:`á`,abreve:`ă`,ac:`∾`,acE:`∾̳`,acd:`∿`,acirc:`â`,acute:`´`,acy:`а`,aelig:`æ`,af:`⁡`,afr:`𝔞`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,alpha:`α`,amacr:`ā`,amalg:`⨿`,amp:`&`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,aogon:`ą`,aopf:`𝕒`,ap:`≈`,apE:`⩰`,apacir:`⩯`,ape:`≊`,apid:`≋`,apos:`'`,approx:`≈`,approxeq:`≊`,aring:`å`,ascr:`𝒶`,ast:`*`,asymp:`≈`,asympeq:`≍`,atilde:`ã`,auml:`ä`,awconint:`∳`,awint:`⨑`,bNot:`⫭`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,barvee:`⊽`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,beta:`β`,beth:`ℶ`,between:`≬`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bnot:`⌐`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxDL:`╗`,boxDR:`╔`,boxDl:`╖`,boxDr:`╓`,boxH:`═`,boxHD:`╦`,boxHU:`╩`,boxHd:`╤`,boxHu:`╧`,boxUL:`╝`,boxUR:`╚`,boxUl:`╜`,boxUr:`╙`,boxV:`║`,boxVH:`╬`,boxVL:`╣`,boxVR:`╠`,boxVh:`╫`,boxVl:`╢`,boxVr:`╟`,boxbox:`⧉`,boxdL:`╕`,boxdR:`╒`,boxdl:`┐`,boxdr:`┌`,boxh:`─`,boxhD:`╥`,boxhU:`╨`,boxhd:`┬`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxuL:`╛`,boxuR:`╘`,boxul:`┘`,boxur:`└`,boxv:`│`,boxvH:`╪`,boxvL:`╡`,boxvR:`╞`,boxvh:`┼`,boxvl:`┤`,boxvr:`├`,bprime:`‵`,breve:`˘`,brvbar:`¦`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,bumpeq:`≏`,cacute:`ć`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,ccaps:`⩍`,ccaron:`č`,ccedil:`ç`,ccirc:`ĉ`,ccups:`⩌`,ccupssm:`⩐`,cdot:`ċ`,cedil:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,cfr:`𝔠`,chcy:`ч`,check:`✓`,checkmark:`✓`,chi:`χ`,cir:`○`,cirE:`⧃`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledR:`®`,circledS:`Ⓢ`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,clubs:`♣`,clubsuit:`♣`,colon:`:`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,conint:`∮`,copf:`𝕔`,coprod:`∐`,copy:`©`,copysr:`℗`,crarr:`↵`,cross:`✗`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cup:`∪`,cupbrcap:`⩈`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dArr:`⇓`,dHar:`⥥`,dagger:`†`,daleth:`ℸ`,darr:`↓`,dash:`‐`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,dcaron:`ď`,dcy:`д`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,ddotseq:`⩷`,deg:`°`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,dfr:`𝔡`,dharl:`⇃`,dharr:`⇂`,diam:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,dopf:`𝕕`,dot:`˙`,doteq:`≐`,doteqdot:`≑`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,downarrow:`↓`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,dscr:`𝒹`,dscy:`ѕ`,dsol:`⧶`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,dzcy:`џ`,dzigrarr:`⟿`,eDDot:`⩷`,eDot:`≑`,eacute:`é`,easter:`⩮`,ecaron:`ě`,ecir:`≖`,ecirc:`ê`,ecolon:`≕`,ecy:`э`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,efr:`𝔢`,eg:`⪚`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,emacr:`ē`,empty:`∅`,emptyset:`∅`,emptyv:`∅`,emsp13:` `,emsp14:` `,emsp:` `,eng:`ŋ`,ensp:` `,eogon:`ę`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,equals:`=`,equest:`≟`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erDot:`≓`,erarr:`⥱`,escr:`ℯ`,esdot:`≐`,esim:`≂`,eta:`η`,eth:`ð`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,ffr:`𝔣`,filig:`fi`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,fopf:`𝕗`,forall:`∀`,fork:`⋔`,forkv:`⫙`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,gE:`≧`,gEl:`⪌`,gacute:`ǵ`,gamma:`γ`,gammad:`ϝ`,gap:`⪆`,gbreve:`ğ`,gcirc:`ĝ`,gcy:`г`,gdot:`ġ`,ge:`≥`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,gfr:`𝔤`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,gjcy:`ѓ`,gl:`≷`,glE:`⪒`,gla:`⪥`,glj:`⪤`,gnE:`≩`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,gopf:`𝕘`,grave:"`",gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,hArr:`⇔`,hairsp:` `,half:`½`,hamilt:`ℋ`,hardcy:`ъ`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,hbar:`ℏ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,horbar:`―`,hscr:`𝒽`,hslash:`ℏ`,hstrok:`ħ`,hybull:`⁃`,hyphen:`‐`,iacute:`í`,ic:`⁣`,icirc:`î`,icy:`и`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,ijlig:`ij`,imacr:`ī`,image:`ℑ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,int:`∫`,intcal:`⊺`,integers:`ℤ`,intercal:`⊺`,intlarhk:`⨗`,intprod:`⨼`,iocy:`ё`,iogon:`į`,iopf:`𝕚`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,isin:`∈`,isinE:`⋹`,isindot:`⋵`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,itilde:`ĩ`,iukcy:`і`,iuml:`ï`,jcirc:`ĵ`,jcy:`й`,jfr:`𝔧`,jmath:`ȷ`,jopf:`𝕛`,jscr:`𝒿`,jsercy:`ј`,jukcy:`є`,kappa:`κ`,kappav:`ϰ`,kcedil:`ķ`,kcy:`к`,kfr:`𝔨`,kgreen:`ĸ`,khcy:`х`,kjcy:`ќ`,kopf:`𝕜`,kscr:`𝓀`,lAarr:`⇚`,lArr:`⇐`,lAtail:`⤛`,lBarr:`⤎`,lE:`≦`,lEg:`⪋`,lHar:`⥢`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,lambda:`λ`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,laquo:`«`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,lcaron:`ľ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,leftarrow:`←`,leftarrowtail:`↢`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,leftthreetimes:`⋋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,lessgtr:`≶`,lesssim:`≲`,lfisht:`⥼`,lfloor:`⌊`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,ljcy:`љ`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,llhard:`⥫`,lltri:`◺`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnE:`≨`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,longleftrightarrow:`⟷`,longmapsto:`⟼`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,lstrok:`ł`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltrPar:`⦖`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,mDDot:`∺`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,mcy:`м`,mdash:`—`,measuredangle:`∡`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,mopf:`𝕞`,mp:`∓`,mscr:`𝓂`,mstpos:`∾`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nGg:`⋙̸`,nGt:`≫⃒`,nGtv:`≫̸`,nLeftarrow:`⇍`,nLeftrightarrow:`⇎`,nLl:`⋘̸`,nLt:`≪⃒`,nLtv:`≪̸`,nRightarrow:`⇏`,nVDash:`⊯`,nVdash:`⊮`,nabla:`∇`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,ncaron:`ň`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,ncy:`н`,ndash:`–`,ne:`≠`,neArr:`⇗`,nearhk:`⤤`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,nexist:`∄`,nexists:`∄`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,ngsim:`≵`,ngt:`≯`,ngtr:`≯`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,njcy:`њ`,nlArr:`⇍`,nlE:`≦̸`,nlarr:`↚`,nldr:`‥`,nle:`≰`,nleftarrow:`↚`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nlsim:`≴`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nmid:`∤`,nopf:`𝕟`,not:`¬`,notin:`∉`,notinE:`⋹̸`,notindot:`⋵̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvDash:`⊭`,nvHarr:`⤄`,nvap:`≍⃒`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwArr:`⇖`,nwarhk:`⤣`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,oS:`Ⓢ`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,ocirc:`ô`,ocy:`о`,odash:`⊝`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,oelig:`œ`,ofcir:`⦿`,ofr:`𝔬`,ogon:`˛`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,omacr:`ō`,omega:`ω`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,oopf:`𝕠`,opar:`⦷`,operp:`⦹`,oplus:`⊕`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oscr:`ℴ`,oslash:`ø`,osol:`⊘`,otilde:`õ`,otimes:`⊗`,otimesas:`⨶`,ouml:`ö`,ovbar:`⌽`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,pfr:`𝔭`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,pointint:`⨕`,popf:`𝕡`,pound:`£`,pr:`≺`,prE:`⪳`,prap:`⪷`,prcue:`≼`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,prime:`′`,primes:`ℙ`,prnE:`⪵`,prnap:`⪹`,prnsim:`⋨`,prod:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,pscr:`𝓅`,psi:`ψ`,puncsp:` `,qfr:`𝔮`,qint:`⨌`,qopf:`𝕢`,qprime:`⁗`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,rAarr:`⇛`,rArr:`⇒`,rAtail:`⤜`,rBarr:`⤏`,rHar:`⥤`,race:`∽̱`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,rcaron:`ř`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,reg:`®`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,rho:`ρ`,rhov:`ϱ`,rightarrow:`→`,rightarrowtail:`↣`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,rightthreetimes:`⋌`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,rsaquo:`›`,rscr:`𝓇`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,ruluhar:`⥨`,rx:`℞`,sacute:`ś`,sbquo:`‚`,sc:`≻`,scE:`⪴`,scap:`⪸`,scaron:`š`,sccue:`≽`,sce:`⪰`,scedil:`ş`,scirc:`ŝ`,scnE:`⪶`,scnap:`⪺`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,seArr:`⇘`,searhk:`⤥`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,shchcy:`щ`,shcy:`ш`,shortmid:`∣`,shortparallel:`∥`,shy:`­`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,square:`□`,squarf:`▪`,squf:`▪`,srarr:`→`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,subE:`⫅`,subdot:`⪽`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,supE:`⫆`,supdot:`⪾`,supdsub:`⫘`,supe:`⊇`,supedot:`⫄`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swArr:`⇙`,swarhk:`⤦`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,target:`⌖`,tau:`τ`,tbrk:`⎴`,tcaron:`ť`,tcedil:`ţ`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,tfr:`𝔱`,there4:`∴`,therefore:`∴`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,thinsp:` `,thkap:`≈`,thksim:`∼`,thorn:`þ`,tilde:`˜`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,tscr:`𝓉`,tscy:`ц`,tshcy:`ћ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,uArr:`⇑`,uHar:`⥣`,uacute:`ú`,uarr:`↑`,ubrcy:`ў`,ubreve:`ŭ`,ucirc:`û`,ucy:`у`,udarr:`⇅`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,ufr:`𝔲`,ugrave:`ù`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,umacr:`ū`,uml:`¨`,uogon:`ų`,uopf:`𝕦`,uparrow:`↑`,updownarrow:`↕`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,upsi:`υ`,upsih:`ϒ`,upsilon:`υ`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,uring:`ů`,urtri:`◹`,uscr:`𝓊`,utdot:`⋰`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,uuml:`ü`,uwangle:`⦧`,vArr:`⇕`,vBar:`⫨`,vBarv:`⫩`,vDash:`⊨`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vcy:`в`,vdash:`⊢`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,vert:`|`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,vzigzag:`⦚`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,wfr:`𝔴`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,yacute:`ý`,yacy:`я`,ycirc:`ŷ`,ycy:`ы`,yen:`¥`,yfr:`𝔶`,yicy:`ї`,yopf:`𝕪`,yscr:`𝓎`,yucy:`ю`,yuml:`ÿ`,zacute:`ź`,zcaron:`ž`,zcy:`з`,zdot:`ż`,zeetrf:`ℨ`,zeta:`ζ`,zfr:`𝔷`,zhcy:`ж`,zigrarr:`⇝`,zopf:`𝕫`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`},oFt={}.hasOwnProperty,sFt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi,cFt=/\r?\n|\r/g,lFt={}.hasOwnProperty,uFt={tokenize:Bjt,partial:!0},hz={tokenize:Vjt,partial:!0},gz={tokenize:Hjt,partial:!0},_z={tokenize:Ujt,partial:!0},dFt={tokenize:Wjt,partial:!0},vz={tokenize:Rjt,previous:Gjt},yz={tokenize:zjt,previous:Kjt},bz={tokenize:Ljt,previous:qjt},xz={},Sz=48;Sz<123;)xz[Sz]=bz,Sz++,Sz===58?Sz=65:Sz===91&&(Sz=97);xz[43]=bz,xz[45]=bz,xz[46]=bz,xz[95]=bz,xz[72]=[bz,yz],xz[104]=[bz,yz],xz[87]=[bz,vz],xz[119]=[bz,vz],Cz={name:`attention`,tokenize:Zjt,resolveAll:Xjt},fFt={name:`autolink`,tokenize:$jt},wz={tokenize:eMt,partial:!0},Tz={name:`blockQuote`,tokenize:tMt,continuation:{tokenize:nMt},exit:rMt},Ez={name:`characterEscape`,tokenize:iMt},Dz={name:`characterReference`,tokenize:aMt},Oz={tokenize:sMt,partial:!0},kz={name:`codeFenced`,tokenize:oMt,concrete:!0},Az={name:`codeIndented`,tokenize:cMt},pFt={tokenize:lMt,partial:!0},mFt={name:`codeText`,tokenize:fMt,resolve:uMt,previous:dMt},hFt=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&VR(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),VR(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),VR(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0)){if(e<this.left.length){let t=this.left.splice(e,1/0);VR(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);VR(this.left,t.reverse())}}}},gFt={tokenize:gMt,resolve:hMt},_Ft={tokenize:_Mt,partial:!0},vFt={name:`definition`,tokenize:xMt},yFt={tokenize:SMt,partial:!0},bFt={name:`hardBreakEscape`,tokenize:CMt},xFt={name:`headingAtx`,tokenize:TMt,resolve:wMt},SFt=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),jz=[`pre`,`script`,`style`,`textarea`],CFt={name:`htmlFlow`,tokenize:DMt,resolveTo:EMt,concrete:!0},wFt={tokenize:kMt,partial:!0},TFt={tokenize:OMt,partial:!0},EFt={name:`htmlText`,tokenize:AMt},Mz={name:`labelEnd`,tokenize:NMt,resolveTo:MMt,resolveAll:jMt},DFt={tokenize:PMt},OFt={tokenize:FMt},kFt={tokenize:IMt},AFt={name:`labelStartImage`,tokenize:LMt,resolveAll:Mz.resolveAll},jFt={name:`labelStartLink`,tokenize:RMt,resolveAll:Mz.resolveAll},Nz={name:`lineEnding`,tokenize:zMt},Pz={name:`thematicBreak`,tokenize:BMt},Fz={name:`list`,tokenize:VMt,continuation:{tokenize:HMt},exit:WMt},MFt={tokenize:GMt,partial:!0},NFt={tokenize:UMt,partial:!0},Iz={name:`setextUnderline`,tokenize:qMt,resolveTo:KMt},PFt={tokenize:tNt,partial:!0},FFt=class{constructor(){this.map=[]}add(e,t,n){rNt(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}},IFt={tokenize:uNt},LFt={},RFt={tokenize:pNt},zFt={tokenize:mNt},Lz={tokenize:hNt},BFt={tokenize:gNt},VFt={resolveAll:vNt()},HFt=_Nt(`string`),UFt=_Nt(`text`),WFt=tyt({attentionMarkers:()=>QFt,contentInitial:()=>KFt,disable:()=>$Ft,document:()=>GFt,flow:()=>JFt,flowInitial:()=>qFt,insideSpan:()=>ZFt,string:()=>YFt,text:()=>XFt}),GFt={42:Fz,43:Fz,45:Fz,48:Fz,49:Fz,50:Fz,51:Fz,52:Fz,53:Fz,54:Fz,55:Fz,56:Fz,57:Fz,62:Tz},KFt={91:vFt},qFt={[-2]:Az,[-1]:Az,32:Az},JFt={35:xFt,42:Pz,45:[Iz,Pz],60:CFt,61:Iz,95:Pz,96:kz,126:kz},YFt={38:Dz,92:Ez},XFt={[-5]:Nz,[-4]:Nz,[-3]:Nz,33:AFt,38:Dz,42:Cz,60:[fFt,EFt],91:jFt,92:[bFt,Ez],93:Mz,95:Cz,96:mFt},ZFt={null:[Cz,VFt]},QFt={null:[42,95]},$Ft={null:[]},Rz=/[\0\t\n\r]/g,zz={}.hasOwnProperty,Bz=9,Vz=32,eIt={blockquote:MNt,break:NNt,code:PNt,delete:FNt,emphasis:INt,footnoteReference:LNt,heading:RNt,html:zNt,imageReference:VNt,image:HNt,inlineCode:UNt,linkReference:WNt,link:GNt,listItem:KNt,list:YNt,paragraph:XNt,root:ZNt,strong:QNt,table:$Nt,tableCell:tPt,tableRow:ePt,text:iPt,thematicBreak:aPt,toml:qR,yaml:qR,definition:qR,footnoteDefinition:qR},Hz={}.hasOwnProperty,tIt={},Uz=e=>e.type===`heading`&&`depth`in e&&`children`in e,nIt=(e,...t)=>t=>{e?.transform&&e?.type&&SI(t,e?.type,t=>(e?.transform&&e?.transform(t),kvt))},rIt=new Set([`dd`,`dt`,`li`,`p`,`summary`,`td`,`th`]),Wz=/[`*_\[~]/,iIt=()=>e=>{SI(e,`html`,(e,t,n)=>{typeof t==`number`&&n&&`children`in n&&Array.isArray(n.children)&&(n.children[t]={type:`text`,value:e.value??``})})},Gz=iR().use(jNt).use(GR).use(iIt).use(gPt),aIt=iR().use(USt,{fragment:!0}),oIt=iR().use(NCt),sIt=e=>{let t=Gz.runSync(Gz.parse(e));if(t.children.length!==1)return[];let n=t.children.at(0);return n?.type!==`element`||n.tagName!==`p`?[]:n.children},cIt=()=>e=>{SI(e,`element`,e=>{rIt.has(e.tagName)&&(e.children=e.children.flatMap(e=>{if(e.type!==`text`||!Wz.test(e.value))return[e];let t=sIt(e.value);return t.length?t:[e]}))})},lIt=()=>e=>{SI(e,`raw`,e=>{if(typeof e.value!=`string`||!Wz.test(e.value))return;let t=aIt.parse(e.value);cIt()(t),e.value=oIt.stringify(t)})},Kz=(e,t,n)=>iR().use(jNt).use(GR).use(nIt,{transform:t,type:n}).use(gPt,{allowDangerousHtml:!0}).use(JDt).use(lIt).use(KOt).use(skt,{...iz,clobberPrefix:``,tagNames:e,attributes:{...iz.attributes,abbr:[`title`],"*":[...iz.attributes?.[`*`]??[],`className`]},strip:[`script`,`style`,`object`,`embed`,`form`]}).use(qvt,{lowlight:BTt(GDt),detect:!0,className:`custom-scroll`}).use(QDt,{target:`_blank`}).use(yOt).use(NCt),qz=new Map,uIt=/^(?![-+=]|\d{1,9}[.)](?:\s|$))(?!.*(?: {2}|:\/|www\.|mailto:|xmpp:))[^\s\\`*_\[\]<>&#~|@\x00-\x1f\x7f\u00a0\u1680\u2000-\u200b\u2028\u2029\u202f\u205f\u3000\ufeff](?:[^\\`*_\[\]<>&#~|@\t\n\v\f\r\x00-\x1f\x7f\u00a0\u1680\u2000-\u200b\u2028\u2029\u202f\u205f\u3000\ufeff]*[^\s\\`*_\[\]<>&#~|@\x00-\x1f\x7f\u00a0\u1680\u2000-\u200b\u2028\u2029\u202f\u205f\u3000\ufeff])?$/i})),fIt=s((()=>{dIt()})),pIt,mIt,hIt=s((()=>{yvt(),Kl(),B(),fIt(),pIt=[`innerHTML`],mIt=k({inheritAttrs:!1,__name:`ScalarMarkdown`,props:{value:{},withImages:{type:Boolean,default:!1},withAnchors:{type:Boolean,default:!1},transform:{type:Function},transformType:{},clamp:{},anchorPrefix:{}},setup(e,{expose:t}){let{cx:n}=Gl(),r=Cr(`div`);t({el:r});let i=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!Uz(t))return t;let n=JR(t).toLowerCase().replace(/\s+/g,`-`);return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n}},e.transform?e.transform(t):t},a=z(()=>vPt(e.value??``,{removeTags:e.withImages?[]:[`img`,`picture`],transform:e.withAnchors&&e.transformType===`heading`?i:e.transform,transformType:e.transformType}));return vvt(r,()=>e.value??``,()=>a.value),(t,r)=>(j(),M(`div`,oi({ref:`div`},D(n)(`markdown`,{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:a.value}),null,16,pIt))}})})),Jz,gIt=s((()=>{hIt(),Jz=mIt})),_It,vIt,yIt=s((()=>{gIt(),Kl(),B(),jT(),_It=[`aria-controls`,`aria-expanded`],vIt=k({inheritAttrs:!1,__name:`ScalarMarkdownSummary`,props:Lr({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,default:!1},modelModifiers:{},truncated:{type:Boolean,default:!1},truncatedModifiers:{}}),emits:[`update:modelValue`,`update:truncated`],setup(e){let t=Tne(e,[`clamp`]),n=xr(),r=Hr(e,`modelValue`),i=Hr(e,`truncated`),a=Cr(`scalar-markdown`);Ptt(()=>a.value?.el,o),Ott(()=>a.value?.el,o,{childList:!0,subtree:!0});function o(){let e=a.value?.el;e&&(i.value=!!e.querySelector(`[data-markdown-block]`)||e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}Ii(o);let{cx:s}=Gl();return(a,o)=>(j(),M(`div`,ut(ei(D(s)(`group/summary flex gap-0.5`,r.value?`flex-col`:`flex-row items-baseline`))),[R(Jz,oi(t,{id:D(n),ref:`scalar-markdown`,clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,[`id`,`clamp`,`class`]),!e.controlled&&(i.value||r.value)?(j(),M(`button`,{key:0,"aria-controls":D(n),"aria-expanded":r.value,class:lt([`font-medium whitespace-nowrap hover:underline`,{"self-end":r.value}]),type:`button`,onClick:o[0]||=e=>r.value=!r.value},[A(a.$slots,`button`,{open:r.value},()=>[F(T(r.value?` Show Less`:`More`),1)])],10,_It)):I(``,!0)],16))}})})),Yz,bIt=s((()=>{yIt(),Yz=vIt})),Xz=s((()=>{yvt(),gIt(),bIt()})),xIt,SIt=s((()=>{uT(),Kl(),B(),Ts(),xIt=k({inheritAttrs:!1,__name:`ScalarPopover`,props:{focus:{type:Boolean},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),N(D(Ss),{as:`template`},{default:O(({open:r})=>[R(D(lT),ut(ei(n.$props)),{floating:O(({width:i,height:a})=>[R(D(rce),oi({focus:e.focus,style:{width:i,height:a}},D(t)(`relative flex flex-col rounded-xl bg-b-1 dark:bg-b-1.5 p-0.75 shadow-md inset-shadow-border`)),{default:O(({close:e})=>[A(n.$slots,`popover`,{close:()=>e(),open:r})]),_:2},1040,[`focus`,`style`])]),default:O(()=>[R(D(nce),{as:`template`},{default:O(()=>[A(n.$slots,`default`,{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}})})),Zz,CIt=s((()=>{SIt(),Zz=xIt})),Qz=s((()=>{CIt()})),wIt,TIt,EIt,DIt,OIt,kIt,AIt,jIt,MIt,NIt,PIt=s((()=>{Fs(),_vt(),B(),Qs(),Xz(),Qz(),wIt=[`aria-label`,`role`],TIt={class:`text-xxs text-c-1 grid w-fit max-w-xs min-w-0 gap-1.5 rounded px-1.5 pt-2 pb-1.5 leading-none break-words`,"data-testid":`request-table-tooltip-content`},EIt={key:0,class:`text-error-1`},DIt={key:1,class:`schema text-c-2 truncate *:not-first:before:content-['_·_']`},OIt={key:0},kIt={key:1},AIt={key:2},jIt={key:3},MIt={key:4},NIt=k({__name:`RequestTableTooltip`,props:{schema:{},value:{},description:{}},setup(e){let{translate:t}=Ps(),n=z(()=>gvt(e.schema,e.value)),r=z(()=>n.value.ok===!1);return(i,a)=>(j(),N(D(Zz),{offset:4,placement:`left`,teleport:``},{popover:O(()=>[P(`div`,TIt,[n.value.ok===!1?(j(),M(`div`,EIt,T(n.value.message),1)):e.schema&&(`type`in e.schema||`format`in e.schema||`minimum`in e.schema||`maximum`in e.schema||`default`in e.schema)?(j(),M(`div`,DIt,[`type`in e.schema?(j(),M(`span`,OIt,T(e.schema.type),1)):I(``,!0),`format`in e.schema?(j(),M(`span`,kIt,T(e.schema.format),1)):I(``,!0),`minimum`in e.schema?(j(),M(`span`,AIt,T(D(t)(`apiClient.requestTableTooltip.min`))+` `+T(e.schema.minimum),1)):I(``,!0),`maximum`in e.schema?(j(),M(`span`,jIt,T(D(t)(`apiClient.requestTableTooltip.max`))+` `+T(e.schema.maximum),1)):I(``,!0),`default`in e.schema?(j(),M(`span`,MIt,T(D(t)(`apiClient.requestTableTooltip.default`))+` `+T(e.schema.default),1)):I(``,!0)])):I(``,!0),e.description&&!r.value?(j(),N(D(Jz),{key:2,value:e.description},null,8,[`value`])):I(``,!0)])]),default:O(()=>[P(`button`,{"aria-label":r.value?D(t)(`apiClient.requestTableTooltip.invalid`):D(t)(`apiClient.requestTableTooltip.moreInformation`),class:`text-c-2 hover:text-c-1 hover:bg-b-2 rounded p-1`,role:r.value?`alert`:`none`,type:`button`},[r.value?(j(),N(D(Eye),{key:0,class:`text-orange size-3.5 brightness-90 hover:brightness-75`})):(j(),N(D(Us),{key:1,class:`text-c-2 hover:text-c-1 size-3.5`}))],8,wIt)]),_:1}))}})})),$z,FIt=s((()=>{PIt(),$z=NIt})),IIt,LIt,RIt,zIt,BIt=s((()=>{Fs(),zT(),uvt(),cI(),hvt(),fI(),K_t(),_vt(),FIt(),B(),Mw(),Qs(),gS(),nI(),Fu(),a_(),IIt={class:`text-c-2 flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1`},LIt=[`title`],RIt={key:1,class:`p-0.5`},zIt=k({__name:`RequestTableRow`,props:{data:{},deferKeyUpdates:{type:Boolean},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},environment:{},showUploadButton:{type:Boolean}},emits:[`upsertRow`,`deleteRow`,`uploadFile`,`removeFile`,`navigate`,`selectPreset`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Ps(),a=Cr(`valueInput`);t({focusValue:()=>a.value?.focus()});let o=E(e.data.name??``),s=E(Pu(e.data.value)??``),c=E(e.data.isDisabled??!1);dr(()=>e.data.name,t=>{(t||!o.value||e.deferKeyUpdates)&&(o.value=t??``)}),dr(()=>e.data.value,e=>s.value=Pu(e)??``),dr(()=>e.data.isDisabled,e=>c.value=e??!1);let l=z(()=>s.value instanceof File),u=z(()=>(l.value?pI(s.value):s.value)??``),d=z(()=>e.data.schema?.default),f=z(()=>{if(!e.data.schema)return[];if(e.data.schema.enum)return e.data.schema.enum.map(e=>String(e));if(`items`in e.data.schema){let t=i_.schema(e.data.schema.items);if(t?.enum)return e.data.arrayEncoding===`json`?t.enum:t.enum.map(e=>String(e))}return[]}),p=z(()=>e.data.schema&&`type`in e.data.schema?e.data.schema.type:void 0),m=z(()=>gvt(e.data.schema,s.value)),h=(t,n={})=>{t.name!==void 0&&(o.value=t.name),t.value!==void 0&&(s.value=t.value,e.data.isDisabledByDefault&&(c.value=!1)),t.isDisabled!==void 0&&(c.value=t.isDisabled),(t.name===void 0||!e.deferKeyUpdates&&!e.data.sourceParameterValuePath||n.shouldRenameExpandedRow||n.commitKey)&&r(`upsertRow`,{name:o.value,value:s.value,isDisabled:c.value,...n.shouldRenameExpandedRow?{shouldRenameExpandedRow:!0}:{}})},g=t=>{t!==e.data.name&&(t||!e.data.name||e.deferKeyUpdates&&o.value===``)&&h({name:t,isDisabled:c.value},{shouldRenameExpandedRow:!!e.data.sourceParameterValuePath,commitKey:!0})},_=t=>{e.deferKeyUpdates&&t.key===`Enter`&&(t.metaKey||t.ctrlKey)&&g(o.value)};return(t,n)=>(j(),N(D(dI),{id:e.data.name,class:lt({alert:m.value.ok===!1,error:m.value.ok===!1&&e.invalidParams?.has(e.data.name)})},{default:O(()=>[R(D(mvt),{ariaLabel:D(i)(`apiClient.requestTableRow.include`,{name:e.data.name||D(i)(`apiClient.requestTableRow.row`)}),class:`!border-r`,disabled:e.hasCheckboxDisabled??!1,modelValue:!c.value,"onUpdate:modelValue":n[0]||=e=>h({isDisabled:!e})},null,8,[`ariaLabel`,`disabled`,`modelValue`]),R(D(sI),null,{default:O(()=>[R(D(yI),{"aria-label":D(i)(`apiClient.requestTableRow.keyLabel`,{name:e.label??``}),disabled:e.data.isReadonly,environment:e.environment,modelValue:o.value,placeholder:D(i)(`apiClient.requestTableRow.key`),required:!!e.data.isRequired,onBlur:n[1]||=e=>g(e),onKeydownCapture:_,onNavigate:n[2]||=e=>r(`navigate`,e),"onUpdate:modelValue":n[3]||=e=>h({name:e})},null,8,[`aria-label`,`disabled`,`environment`,`modelValue`,`placeholder`,`required`])]),_:1}),R(D(sI),null,{default:O(()=>[e.data.presetOptions?.length?(j(),N(D(RT),{key:0,canAddCustomValue:!1,modelValue:u.value,value:e.data.presetOptions,"onUpdate:modelValue":n[4]||=e=>r(`selectPreset`,e)},null,8,[`modelValue`,`value`])):(j(),N(D(yI),{key:1,ref_key:`valueInput`,ref:a,"aria-label":D(i)(`apiClient.requestTableRow.valueLabel`,{name:e.label??``}),arrayEncoding:e.data.arrayEncoding,class:`pr-6 group-hover:pr-10 group-has-[.code-input-lite__editor:focus]:pr-10`,default:d.value,disabled:e.data.isReadonly,enum:f.value,environment:e.environment,examples:e.data.schema?.examples?.map(e=>String(e))??[],linethrough:e.data.isOverridden,modelValue:u.value,placeholder:D(i)(`apiClient.requestTableRow.value`),type:p.value,withFakeData:``,onNavigate:n[7]||=e=>r(`navigate`,e),"onUpdate:modelValue":n[8]||=e=>h({value:e})},{icon:O(()=>[(e.data.name||s.value)&&!e.data.isRequired&&e.data.isReadonly!==!0?(j(),N(D(jw),{key:0,"aria-label":D(i)(`apiClient.requestTableRow.deleteRow`,{name:e.data.name||D(i)(`apiClient.requestTableRow.row`)}),class:`text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 hidden h-fit rounded p-1 group-hover:flex group-has-[.code-input-lite__editor:focus]:flex`,size:`sm`,variant:`ghost`,onClick:n[5]||=e=>r(`deleteRow`)},{default:O(()=>[R(D(Ys),{class:`size-3.5`})]),_:1},8,[`aria-label`])):I(``,!0),e.data.globalRoute===void 0?I(``,!0):(j(),N(D(eI),{key:1,class:`text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 h-fit`,icon:D(Ume),label:D(i)(`apiClient.requestTableRow.globalCookieHint`),size:`xs`,tooltip:`top`,variant:`ghost`,onClick:n[6]||=t=>r(`navigate`,e.data.globalRoute)},null,8,[`icon`,`label`])),e.data.isReadonly?(j(),N($z,{key:2,description:D(i)(`apiClient.requestTableRow.readOnlyHint`),value:null},null,8,[`description`])):e.data.schema?(j(),N($z,{key:3,description:e.data.description,schema:e.data.schema,value:s.value},null,8,[`description`,`schema`,`value`])):I(``,!0)]),_:1},8,[`aria-label`,`arrayEncoding`,`default`,`disabled`,`enum`,`environment`,`examples`,`linethrough`,`modelValue`,`placeholder`,`type`]))]),_:1}),e.showUploadButton?(j(),N(D(sI),{key:0,class:`group/upload flex items-center justify-center whitespace-nowrap`},{default:O(()=>[l.value?(j(),M(L,{key:0},[P(`div`,IIt,[P(`span`,{class:`truncate`,title:u.value},T(u.value),9,LIt)]),P(`button`,{class:`bg-b-2 mt-1 block rounded p-0.5 text-center text-xs font-medium md:pointer-events-none md:absolute md:inset-x-1 md:top-1/2 md:mt-0 md:-translate-y-1/2 md:opacity-0 md:group-hover/upload:pointer-events-auto md:group-hover/upload:opacity-100`,type:`button`,onClick:n[9]||=e=>r(`removeFile`)},T(D(i)(`apiClient.requestTableRow.delete`)),1)],64)):(j(),M(`div`,RIt,[R(D(jw),{class:`bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none`,size:`sm`,variant:`outlined`,onClick:n[10]||=e=>r(`uploadFile`)},{default:O(()=>[P(`span`,null,T(D(i)(`apiClient.requestTableRow.selectFile`)),1),R(D(fS),{class:`ml-1`,icon:`Upload`,size:`xs`,thickness:`2.5`})]),_:1})]))]),_:1})):I(``,!0)]),_:1},8,[`id`,`class`]))}})})),VIt,HIt=s((()=>{BIt(),VIt=zIt})),UIt,WIt=s((()=>{Fs(),oI(),uI(),fI(),HIt(),B(),UIt=k({__name:`RequestTable`,props:{data:{},deferKeyUpdates:{type:Boolean},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},showUploadButton:{type:Boolean},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{}},emits:[`upsertRow`,`deleteRow`,`uploadFile`,`removeFile`,`navigate`,`selectPreset`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Ps(),a=z(()=>e.showUploadButton?[`36px`,``,``,`minmax(0, 1fr)`]:[`36px`,``,``]),o=z(()=>{if(!e.showAddRowPlaceholder)return e.data;let t=e.data.at(-1);return t?.name!==``||t.value!==``?[...e.data,{name:``,value:``,isDisabled:!0}]:e.data}),s=(t,n)=>{if(e.deferKeyUpdates)return`body:${n}`;if(t.originalParameter)return JSON.stringify([t.originalParameter.name,...t.sourceParameterValuePath??[]]);let r=o.value.slice(0,n).filter(e=>!e.originalParameter&&e.name===t.name).length;return`row:${JSON.stringify([t.name,r])}`},c=new Map,l=new Map,u=(e,t)=>{t?l.set(e,t):l.delete(e)},d=(e,t)=>{let n=c.get(e);return n?.name===t.name&&n.value===t.value},f=z((t=[])=>{let n=new Set(t),r=new Set(e.data.map(s)),i=o.value.map((e,t)=>{let i=s(e,t),a=[...n].find(e=>e.identity===i),o=[...n].find(t=>!r.has(t.identity)&&!t.data.sourceParameterValuePath&&d(t.key,e)),l=a??o;return l&&(n.delete(l),d(l.key,e)&&c.delete(l.key)),{data:e,identity:i,key:l?.key??Symbol()}});for(let e of n)c.delete(e.key);return i}),p=(e,t,n)=>{c.set(e.key,n),r(`upsertRow`,t,n)};return t({focusValue:e=>{let t=f.value[e];t&&l.get(t.key)?.focusValue()}}),(t,n)=>(j(),N(D(aI),{class:`group/table flex-1`,columns:a.value},{default:O(()=>[R(D(dI),{class:`sr-only !block`},{default:O(()=>[R(D(lI),null,{default:O(()=>[F(T(e.label)+` `+T(D(i)(`apiClient.requestTable.enabled`)),1)]),_:1}),R(D(lI),null,{default:O(()=>[F(T(e.label)+` `+T(D(i)(`apiClient.requestTable.key`)),1)]),_:1}),R(D(lI),null,{default:O(()=>[F(T(e.label)+` `+T(D(i)(`apiClient.requestTable.value`)),1)]),_:1})]),_:1}),(j(!0),M(L,null,jr(f.value,(t,i)=>(j(),N(VIt,{key:t.key,ref_for:!0,ref:e=>u(t.key,e),data:t.data,deferKeyUpdates:e.deferKeyUpdates,environment:e.environment,hasCheckboxDisabled:e.hasCheckboxDisabled,invalidParams:e.invalidParams,label:e.label,showUploadButton:e.showUploadButton,onDeleteRow:e=>r(`deleteRow`,i),onNavigate:n[0]||=e=>r(`navigate`,e),onRemoveFile:e=>r(`removeFile`,i),onSelectPreset:e=>r(`selectPreset`,i,e),onUploadFile:e=>r(`uploadFile`,i),onUpsertRow:e=>p(t,i,e)},null,8,[`data`,`deferKeyUpdates`,`environment`,`hasCheckboxDisabled`,`invalidParams`,`label`,`showUploadButton`,`onDeleteRow`,`onRemoveFile`,`onSelectPreset`,`onUploadFile`,`onUpsertRow`]))),128))]),_:1},8,[`columns`]))}})})),eB,tB=s((()=>{Ds(),WIt(),eB=Es(UIt,[[`__scopeId`,`data-v-09f26d90`]])})),GIt,KIt=s((()=>{E7e(),tB(),Y_t(),B(),GIt=k({__name:`RequestBodyForm`,props:{example:{},bodySchema:{},compositionSelection:{},selectedContentType:{},environment:{}},emits:[`update:formValue`],setup(e,{emit:t}){let n=t,r=E([]);dr(()=>[e.example,e.bodySchema,e.selectedContentType,e.compositionSelection],([e,t,n,i])=>{r.value=J_t(e,n,t,i)},{immediate:!0});let i=t=>{n(`update:formValue`,t.map(t=>({name:t.name,value:e.selectedContentType===`multipart/form-data`?q_t(t):t.value,isDisabled:t.isDisabled??!1,...t.isDisabledByDefault?{isDisabledByDefault:!0}:{},...e.selectedContentType===`multipart/form-data`&&t.isArray?{isArray:!0}:{}})))},a=(e,t)=>{e>=r.value.length?(r.value=[...r.value,{name:``,value:``,...t,isDisabled:!1}],i(r.value)):(r.value=r.value.map((n,r)=>{if(r!==e)return n;let i=`value`in t&&t.value!==n.value,a=t.isDisabled!==void 0&&t.isDisabled!==n.isDisabled;return{...n,...t,...i&&t.value!==void 0&&n.isDisabledByDefault?{isDisabled:!1}:{},isDisabledByDefault:n.isDisabledByDefault&&!i&&!a}}),i(r.value))},o=e=>{r.value=r.value.filter((t,n)=>n!==e),i(r.value)},s=e=>{let{open:t}=T7e({onChange:t=>{let n=t?.[0];if(n){let t=r.value[e];a(e,{name:t?.name||n.name,value:n})}},multiple:!1,accept:`*/*`});t()};return(t,n)=>e.selectedContentType===`multipart/form-data`?(j(),N(eB,{key:0,data:r.value,deferKeyUpdates:``,environment:e.environment,showUploadButton:``,onDeleteRow:o,onRemoveFile:n[0]||=e=>a(e,{value:void 0}),onUploadFile:s,onUpsertRow:a},null,8,[`data`,`environment`])):(j(),N(eB,{key:1,data:r.value,deferKeyUpdates:``,environment:e.environment,onDeleteRow:o,onUpsertRow:a},null,8,[`data`,`environment`]))}})})),qIt,JIt=s((()=>{KIt(),qIt=GIt})),YIt,XIt=s((()=>{rS(),Rb(),YIt=(e,t)=>{let n=Ov(t),r={};for(let i of e){if(i.isDisabled||!i.name)continue;let e=i.value;if(typeof e!=`string`||e===``)continue;let a=n(i.name,e)?i.name.split(`.`):[i.name],o=Ev(t,a),s=o&&`type`in o&&o.type!=null?Dv(e,o):cHe(e);Lb(r,a,s)}return r}})),ZIt,QIt=s((()=>{Y_t(),js(),a_(),Tv(),ZIt=(e,t)=>{let n=t&&bv(t)?t:void 0;if(!V(e)&&!n)return[];let r=new Map;if(n)for(let e of hI(n))r.set(e.path.join(`.`),e);let i=new Set(n?.required??[]);return gI(V(e)?e:{},n).map(({path:e,value:t})=>{let a=e.join(`.`),o={name:a,value:t==null?``:mI(t),isDisabled:!1,arrayEncoding:`json`},s=r.get(a),c=s?.schema??(n?i_.schema(n.properties?.[a]):void 0);return o.schema=c,o.description=c?.description,o.isRequired=s?.isRequired??i.has(a),o})}})),$It,eLt=s((()=>{Fs(),tB(),XIt(),QIt(),S7e(),B(),$It=k({__name:`RequestBodyStructured`,props:{parsedValue:{},bodySchema:{},contentType:{},environment:{}},emits:[`update:value`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=z(()=>Ow(e.contentType)),a=E([]),o;dr(()=>[e.parsedValue,e.bodySchema,e.contentType],([e,t])=>{if(o!==void 0&&i.value)try{if(i.value.stringify(e)===o)return}catch{}o=void 0,a.value=ZIt(e,t)},{immediate:!0});let s=()=>{if(!i.value)return;let t=i.value.stringify(YIt(a.value,e.bodySchema));o=t,n(`update:value`,t)},c=(e,t)=>{e>=a.value.length?(a.value=[...a.value,{name:``,value:``,...t,isDisabled:!1}],s()):(a.value=a.value.map((n,r)=>r===e?{...n,...t}:n),s())},l=e=>{a.value=a.value.filter((t,n)=>n!==e),s()};return(t,n)=>(j(),N(eB,{data:a.value,deferKeyUpdates:``,environment:e.environment,label:D(r)(`apiClient.requestBodyStructured.body`),onDeleteRow:l,onUpsertRow:c},null,8,[`data`,`environment`,`label`]))}})})),tLt,nLt=s((()=>{eLt(),tLt=$It})),rLt,iLt,aLt,oLt,sLt,cLt=s((()=>{Fs(),B(),rLt={class:`text-c-3 text-xxs -my-1 mr-2 flex justify-center gap-0.5 rounded p-0.5`},iLt=[`aria-pressed`,`disabled`,`title`],aLt=[`aria-pressed`],oLt=[`aria-pressed`],sLt=k({__name:`RequestBodyViewToggle`,props:{modelValue:{},showForm:{type:Boolean,default:!0},showSchema:{type:Boolean,default:!1},rawLabel:{},disabled:{type:Boolean}},emits:[`update:modelValue`],setup(e){let{translate:t}=Ps();return(n,r)=>(j(),M(`div`,rLt,[e.showForm?(j(),M(`button`,{key:0,"aria-pressed":e.modelValue===`form`,class:lt([`rounded px-1`,e.disabled?`cursor-not-allowed opacity-50`:{"bg-b-3 text-c-1 cursor-default":e.modelValue===`form`,"hover:bg-b-3":e.modelValue!==`form`}]),disabled:e.disabled,title:e.disabled?D(t)(`apiClient.requestBodyViewToggle.fixBody`):void 0,type:`button`,onClick:r[0]||=Ka(e=>n.$emit(`update:modelValue`,`form`),[`stop`])},T(D(t)(`apiClient.requestBodyViewToggle.form`)),11,iLt)):I(``,!0),P(`button`,{"aria-pressed":e.modelValue===`raw`,class:lt([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue===`raw`}]),type:`button`,onClick:r[1]||=Ka(e=>n.$emit(`update:modelValue`,`raw`),[`stop`])},T(e.rawLabel??D(t)(`apiClient.requestBodyViewToggle.raw`)),11,aLt),e.showSchema?(j(),M(`button`,{key:1,"aria-pressed":e.modelValue===`schema`,class:lt([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue===`schema`}]),type:`button`,onClick:r[2]||=Ka(e=>n.$emit(`update:modelValue`,`schema`),[`stop`])},T(D(t)(`apiClient.requestBodyViewToggle.schema`)),11,oLt)):I(``,!0)]))}})})),lLt,uLt=s((()=>{cLt(),lLt=sLt})),dLt,fLt=s((()=>{B(),dLt=k({name:`ValueEmitter`,props:{value:{}},emits:[`change`,`unmount`],setup(e,{emit:t}){let n=t;return dr(()=>e.value,e=>n(`change`,e),{immediate:!0}),Ri(()=>n(`unmount`)),(e,t)=>null}})})),nB,rB=s((()=>{fLt(),nB=dLt})),pLt,mLt,hLt,gLt,_Lt,vLt,yLt,bLt=s((()=>{Fs(),w7e(),rB(),B(),gS(),Ts(),pLt=[`aria-labelledby`,`role`],mLt={class:`contents`},hLt={key:0,class:`sr-only`},gLt={key:0,class:`bg-b-2 text-c-2 inline-flex h-5 w-5 items-center justify-center rounded-full border text-xs font-semibold`},_Lt={class:`sr-only`},vLt={key:0,class:`ui-not-open:hidden flex items-center gap-2 pr-0.75`},yLt=k({name:`CollapsibleSection`,props:{defaultOpen:{type:Boolean,default:!0},heading:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=lr(C7e,2),a=z(()=>e.heading?`h${wn(i)}`:`span`),o=xr();return(t,i)=>(j(),N(D(_s),{as:`div`,class:lt([`group/collapse text-c-2 focus-within:text-c-1 last:ui-open:border-b-0`,{"last-of-type:first-of-type:border-b-0":e.isStatic,"border-b":!e.isStatic}]),defaultOpen:e.defaultOpen,static:e.isStatic},{default:O(({open:s})=>[R(nB,{value:s,onChange:i[0]||=e=>n(`update:modelValue`,e)},null,8,[`value`]),P(`section`,{"aria-labelledby":e.heading?void 0:D(o),class:`contents`,role:e.heading?void 0:`group`},[P(`div`,{class:lt([`bg-b-2 flex items-center`,e.isStatic&&`rounded-t-xl border-x border-t`])},[R(D(vs),{class:lt([`hover:text-c-1 group box-content flex max-h-8 flex-1 items-center gap-2.5 overflow-hidden px-1 py-1.5 text-base font-medium outline-none md:px-1.5 xl:pr-0.5 xl:pl-2`,e.isStatic&&`!pl-3`]),disabled:e.isStatic},{default:O(()=>[e.isStatic?I(``,!0):(j(),N(D(fS),{key:0,class:`text-c-3 group-hover:text-c-1 rounded-px ui-open:rotate-90 ui-not-open:rotate-0 outline-offset-2 group-focus-visible:outline`,icon:`ChevronRight`,size:`md`})),(j(),N(Ar(a.value),{id:e.heading?void 0:D(o),class:`text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]`},{default:O(()=>[P(`span`,mLt,[A(t.$slots,`title`,{open:s}),s?I(``,!0):(j(),M(`span`,hLt,T(D(r)(`apiClient.collapsibleSection.collapsed`)),1))]),!s&&e.itemCount?(j(),M(`span`,gLt,[F(T(e.itemCount)+` `,1),P(`span`,_Lt,T(e.itemCount===1?D(r)(`apiClient.collapsibleSection.item`):D(r)(`apiClient.collapsibleSection.items`)),1)])):I(``,!0)]),_:2},1032,[`id`]))]),_:2},1032,[`class`,`disabled`]),t.$slots.actions?(j(),M(`div`,vLt,[A(t.$slots,`actions`,{open:s})])):I(``,!0)],2),R(D(ys),oi(t.$attrs,{class:`diclosure-panel h-full max-h-fit rounded-b`}),{default:O(()=>[A(t.$slots,`default`,{open:s})]),_:2},1040)],8,pLt)]),_:3},8,[`class`,`defaultOpen`,`static`]))}})})),iB,aB=s((()=>{bLt(),iB=yLt})),xLt,SLt=s((()=>{Pw(),Kl(),B(),Ts(),xLt=k({__name:`ScalarListboxItem`,props:{option:{},multiselect:{type:Boolean}},setup(e){let t=Ul({base:[`group/item`,`flex min-w-0 items-center gap-1.5 rounded-md px-2 py-1.5 text-left`,`truncate bg-transparent text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{selected:{true:`text-c-1`},active:{true:`bg-b-2`},disabled:{true:`pointer-events-none opacity-50`}}});return(n,r)=>(j(),N(D(Rse),{as:`template`,disabled:e.option.disabled,value:e.option},{default:O(({active:n,selected:r})=>[P(`li`,{class:lt(D(Wl)(D(t)({active:n,selected:r,disabled:e.option.disabled})))},[R(Nw,{multiselect:e.multiselect,selected:r},null,8,[`multiselect`,`selected`]),P(`span`,{class:lt([`inline-block min-w-0 flex-1 truncate`,e.option.color?e.option.color:`text-c-1`])},T(e.option.label),3)],2)]),_:1},8,[`disabled`,`value`]))}})})),CLt,wLt=s((()=>{SLt(),CLt=xLt})),TLt,ELt,DLt=s((()=>{uT(),wLt(),Kl(),B(),Ts(),TLt={class:`custom-scroll min-h-0 flex-1 rounded-[inherit]`},ELt=k({inheritAttrs:!1,__name:`ScalarListbox`,props:{options:{},id:{},label:{},multiple:{type:Boolean},modelValue:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},emits:[`update:modelValue`],setup(e){let{cx:t}=Gl();return(n,r)=>(j(),N(D(Pse),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||=e=>n.$emit(`update:modelValue`,e)},{default:O(({open:r})=>[e.label?(j(),N(D(Fse),{key:0,class:`sr-only`},{default:O(()=>[F(T(e.label),1)]),_:1})):I(``,!0),R(D(lT),oi(n.$props,{placement:e.placement??`bottom-start`}),{floating:O(({width:n})=>[r?(j(),M(`div`,oi({key:0,style:{width:n}},D(t)(`relative flex max-h-[inherit] w-40 max-w-[inherit] rounded-xl bg-b-1 dark:bg-b-1.5 text-sm shadow-md inset-shadow-border`)),[P(`div`,TLt,[R(D(Lse),{class:`flex flex-col gap-0.75 p-0.75 -outline-offset-1`},{default:O(()=>[(j(!0),M(L,null,jr(e.options,t=>(j(),N(CLt,{key:t.id,multiselect:e.multiple,option:t},null,8,[`multiselect`,`option`]))),128))]),_:1})])],16)):I(``,!0)]),default:O(()=>[R(D(Ise),{id:e.id,as:`template`},{default:O(()=>[A(n.$slots,`default`,{open:r})]),_:2},1032,[`id`])]),_:2},1040,[`placement`])]),_:3},8,[`modelValue`,`multiple`]))}})})),oB,OLt=s((()=>{DLt(),oB=ELt})),sB,kLt,ALt,jLt=s((()=>{B(),sB=Symbol(),kLt=()=>lr(sB,!1),ALt=()=>{cr(sB,!0)}})),MLt,NLt=s((()=>{jLt(),Kl(),B(),MLt=k({inheritAttrs:!1,__name:`ScalarFormInput`,props:{is:{default:`button`}},setup(e){let{cx:t}=Gl(),n=kLt(),r=Ul({base:[`bg-b-1.5 flex items-center text-c-2 gap-0.75 p-3 text-base`,`outline-offset-[-1px] has-[:focus-visible]:outline`],variants:{grouped:{true:`first:rounded-t-[inherit] last:rounded-b-[inherit]`,false:`rounded shadow-border`},button:{true:`cursor-pointer hover:bg-b-2`}}});return(i,a)=>(j(),N(Ar(e.is),oi({type:e.is===`button`?`button`:void 0},D(t)(D(r)({button:e.is===`button`,grouped:D(n)}))),{default:O(()=>[A(i.$slots,`default`)]),_:3},16,[`type`]))}})})),cB,lB=s((()=>{NLt(),cB=MLt})),uB=s((()=>{Pw(),OLt()})),dB,fB=s((()=>{dB=Symbol(`schema-discriminator`)})),pB,PLt,FLt,mB=s((()=>{ic(),pB=e=>{if(!e)return null;let t=e.match(rc.REF_NAME);return t?t[1]:null},PLt=/^#\/components\/schemas\/([^/]+)$/,FLt=e=>{if(!e)return null;let t=e.match(PLt);return t?.[1]?decodeURIComponent(t[1]):null}})),hB,ILt=s((()=>{hB=[`oneOf`,`anyOf`,`allOf`,`not`]})),LLt,gB,_B,RLt,vB,yB=s((()=>{iu(),Tv(),LLt=[`allOf`,`oneOf`,`anyOf`],gB=e=>`type`in e&&e.type?Array.isArray(e.type)?e.type.includes(`object`):e.type===`object`:`properties`in e,_B=e=>`$ref`in e||`discriminator`in e||LLt.some(t=>t in e),RLt=e=>{if(!xv(e))return!1;if(typeof e.items==`boolean`)return!0;if(typeof e.items!=`object`)return!1;if(`$ref`in e.items)return!0;let t=H(e.items);return t?gB(t)||_B(t)||xv(t):!1},vB=e=>{if(!e||!xv(e))return!1;if(typeof e.items==`boolean`)return!0;if(typeof e.items!=`object`)return!1;if(`$ref`in e.items)return!0;let t=H(e.items);return t?_B(t)||gB(t)?!0:RLt(t):!1}})),zLt,BLt=s((()=>{yB(),Tv(),zLt=(e,t)=>{if(!e||!xv(e))return!1;let n=e.items;return!n||typeof n!=`object`||!(t in n)?!1:!vB(e)}})),bB,xB=s((()=>{B(),vCe(),bB=e=>ku(xn(e))})),VLt,SB,HLt,CB=s((()=>{mB(),ILt(),BLt(),xB(),Zl(),du(),a_(),Tv(),VLt=e=>e.startsWith(`#/`)||e.includes(`/`)?e:`#/components/schemas/${e}`,SB=(e,t,n)=>{if(e.oneOf||e.anyOf)return null;let r=e.discriminator?.mapping;if(!r)return null;let i=bB(t);if(!i?.components?.schemas)return null;let a=(n??Object.values(r)).filter(e=>typeof e==`string`).map(e=>{let t=VLt(e),n=pB(t),r=n?i_.schema(i.components?.schemas?.[uu(n)]):void 0;if(r)return{$ref:t,"$ref-value":r}}).filter(Xl);return a.length===0?null:{...i_.schema(e),oneOf:a}},HLt=(e,t,n=e?SB(e,t):null)=>e?hB.map(t=>t===`oneOf`&&n?{composition:t,value:n}:zLt(e,t)&&xv(e)&&e.items?{composition:t,value:i_.schema(e.items)}:e[t]&&!(xv(e)&&e.items&&typeof e.items==`object`&&t in e.items)?{composition:t,value:i_.schema(e)}:null).filter(Xl):[]})),wB,TB=s((()=>{wB=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}}));function ULt(e,t){return j(),M(`button`,GLt,[A(e.$slots,`default`)])}var WLt,GLt,EB,DB=s((()=>{TB(),B(),WLt={},GLt={class:`text-c-2 hover:text-c-1 underline`,type:`button`},EB=wB(WLt,[[`render`,ULt]])})),KLt,qLt=s((()=>{KLt={schema:{variants:`المتغيرات`,discriminatorValue:`قيمة المميز`,noAllowedValues:`لا توجد قيم تستوفي قيد التعداد هذا.`,example:`مثال`,examples:`أمثلة`,default:`الافتراضي`,schema:`المخطط`,emptyObject:`كائن فارغ`,showAdditionalProperties:`إظهار الخصائص الإضافية`,showOneMoreProperty:`إظهار خاصية إضافية واحدة`,showMoreProperties:`إظهار المزيد من الخصائص ({count})`,forName:`لـ {name}`,showSchemaDetails:`إظهار تفاصيل المخطط`,oneOf:`واحد من`,anyOf:`أي من`,allOf:`كل من`,not:`ليس`,unknownType:`نوع غير معروف`,propertyCount:`الخصائص: {count}`,headerCount:`الترويسات: {count}`,recursiveReference:`مرجع تكراري إلى {name}`,recursive:`تكراري`,additionalProperties:`خصائص إضافية`,const:`ثابت`,deprecated:`مهمل`,discriminator:`المميّز`,enum:`تعداد`,format:`التنسيق`,greaterThan:`أكبر من`,keys:`المفاتيح`,lessThan:`أقل من`,max:`الحد الأقصى`,min:`الحد الأدنى`,maxLength:`أقصى طول`,minLength:`أدنى طول`,multipleOf:`مضاعف لـ`,nullable:`يقبل null`,propertyNames:`أسماء الخصائص`,pattern:`النمط`,copyPattern:`نسخ النمط`,readOnly:`قراءة فقط`,required:`مطلوب`,hideValues:`إخفاء القيم`,showAllValues:`عرض كل القيم`,type:`النوع`,unique:`فريد`,values:`القيم`,writeOnly:`كتابة فقط`,typeInteger:`أعداد صحيحة.`,formatInt32:`أعداد صحيحة بإشارة بطول 32 بت (نوع الأعداد الصحيحة الشائع).`,formatInt64:`أعداد صحيحة بإشارة بطول 64 بت (النوع long).`,formatDate:`تدوين full-date وفق RFC 3339، القسم 5.6، مثلًا 2017-07-21`,formatDateTime:`تدوين date-time وفق RFC 3339، القسم 5.6، مثلًا 2017-07-21T17:32:28Z`,formatPassword:`تلميح للواجهات بإخفاء الإدخال`,formatBase64:`أحرف بترميز base64، مثلًا U3dhZ2dlciByb2Nrcw==`,formatBinary:`بيانات ثنائية لوصف الملفات`},common:{copyDefault:`نسخ القيمة الافتراضية`,copyExample:`نسخ القيمة النموذجية`},actions:{copyLinkTo:`نسخ الرابط إلى {name}`}}})),JLt,YLt=s((()=>{JLt={schema:{variants:`Varianten`,discriminatorValue:`Diskriminatorwert`,noAllowedValues:`Keine Werte erfüllen diese Enum-Bedingung.`,example:`Beispiel`,examples:`Beispiele`,default:`Standard`,schema:`Schema`,emptyObject:`Leeres Objekt`,showAdditionalProperties:`Zusätzliche Eigenschaften anzeigen`,showOneMoreProperty:`1 weitere Eigenschaft anzeigen`,showMoreProperties:`{count} weitere Eigenschaften anzeigen`,forName:`für {name}`,showSchemaDetails:`Schema-Details anzeigen`,oneOf:`Eines von`,anyOf:`Beliebiges von`,allOf:`Alle von`,not:`Nicht`,unknownType:`unbekannter Typ`,propertyCount:`Eigenschaften: {count}`,headerCount:`Header: {count}`,recursiveReference:`Rekursiver Verweis auf {name}`,recursive:`rekursiv`,additionalProperties:`zusätzliche Eigenschaften`,const:`Konstante`,deprecated:`veraltet`,discriminator:`Diskriminator`,enum:`enum`,format:`Format`,greaterThan:`größer als`,keys:`Schlüssel`,lessThan:`kleiner als`,max:`max.`,min:`min.`,maxLength:`max. Länge`,minLength:`min. Länge`,multipleOf:`Vielfaches von`,nullable:`nullable`,propertyNames:`Eigenschaftsnamen`,pattern:`Muster`,copyPattern:`Muster kopieren`,readOnly:`nur lesbar`,required:`erforderlich`,hideValues:`Werte ausblenden`,showAllValues:`Alle Werte anzeigen`,type:`Typ`,unique:`eindeutig`,values:`Werte`,writeOnly:`nur schreibbar`,typeInteger:`Ganzzahlen.`,formatInt32:`Vorzeichenbehaftete 32-Bit-Ganzzahlen (üblicher Ganzzahltyp).`,formatInt64:`Vorzeichenbehaftete 64-Bit-Ganzzahlen (Typ long).`,formatDate:`full-date-Notation gemäß RFC 3339, Abschnitt 5.6, zum Beispiel 2017-07-21`,formatDateTime:`date-time-Notation gemäß RFC 3339, Abschnitt 5.6, zum Beispiel 2017-07-21T17:32:28Z`,formatPassword:`Hinweis an Oberflächen, die Eingabe zu maskieren`,formatBase64:`Base64-kodierte Zeichen, zum Beispiel U3dhZ2dlciByb2Nrcw==`,formatBinary:`Binärdaten zur Beschreibung von Dateien`},common:{copyDefault:`Standardwert kopieren`,copyExample:`Beispielwert kopieren`},actions:{copyLinkTo:`Link zu {name} kopieren`}}})),XLt,ZLt=s((()=>{XLt={schema:{noAllowedValues:`No values satisfy this enum constraint.`,example:`Example`,examples:`Examples`,default:`Default`,schema:`Schema`,emptyObject:`Empty object`,showAdditionalProperties:`Show additional properties`,showOneMoreProperty:`Show 1 more property`,showMoreProperties:`Show {count} more properties`,forName:`for {name}`,showSchemaDetails:`Show Schema Details`,oneOf:`One of`,variants:`Variants`,discriminatorValue:`Discriminator value`,anyOf:`Any of`,allOf:`All of`,not:`Not`,unknownType:`unknown type`,propertyCount:`Properties: {count}`,headerCount:`Headers: {count}`,recursiveReference:`Recursive reference to {name}`,recursive:`recursive`,additionalProperties:`additional properties`,const:`const`,deprecated:`deprecated`,discriminator:`Discriminator`,enum:`enum`,format:`Format`,greaterThan:`greater than`,keys:`keys`,lessThan:`less than`,max:`max`,min:`min`,maxLength:`max length`,minLength:`min length`,multipleOf:`multiple of`,nullable:`nullable`,propertyNames:`property names`,pattern:`Pattern`,copyPattern:`Copy pattern`,readOnly:`read-only`,required:`required`,hideValues:`Hide values`,showAllValues:`Show all values`,type:`Type`,unique:`unique`,values:`values`,writeOnly:`write-only`,typeInteger:`Integer numbers.`,formatInt32:`Signed 32-bit integers (commonly used integer type).`,formatInt64:`Signed 64-bit integers (long type).`,formatDate:`full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21`,formatDateTime:`the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z`,formatPassword:`a hint to UIs to mask the input`,formatBase64:`base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==`,formatBinary:`binary data, used to describe files`},common:{copyDefault:`Copy default value`,copyExample:`Copy example value`},actions:{copyLinkTo:`Copy link to {name}`}}})),QLt,$Lt=s((()=>{QLt={schema:{variants:`Variantes`,discriminatorValue:`Valor del discriminador`,noAllowedValues:`Ningún valor satisface esta restricción enum.`,example:`Ejemplo`,examples:`Ejemplos`,default:`Predeterminado`,schema:`Esquema`,emptyObject:`Objeto vacío`,showAdditionalProperties:`Mostrar propiedades adicionales`,showOneMoreProperty:`Mostrar 1 propiedad más`,showMoreProperties:`Mostrar {count} propiedades más`,forName:`para {name}`,showSchemaDetails:`Mostrar detalles del esquema`,oneOf:`Uno de`,anyOf:`Cualquiera de`,allOf:`Todos de`,not:`No`,unknownType:`tipo desconocido`,propertyCount:`Propiedades: {count}`,headerCount:`Encabezados: {count}`,recursiveReference:`Referencia recursiva a {name}`,recursive:`recursivo`,additionalProperties:`propiedades adicionales`,const:`constante`,deprecated:`obsoleto`,discriminator:`Discriminador`,enum:`enum`,format:`Formato`,greaterThan:`mayor que`,keys:`claves`,lessThan:`menor que`,max:`máx.`,min:`mín.`,maxLength:`longitud máx.`,minLength:`longitud mín.`,multipleOf:`múltiplo de`,nullable:`admite null`,propertyNames:`nombres de propiedades`,pattern:`Patrón`,copyPattern:`Copiar patrón`,readOnly:`solo lectura`,required:`obligatorio`,hideValues:`Ocultar valores`,showAllValues:`Mostrar todos los valores`,type:`Tipo`,unique:`único`,values:`valores`,writeOnly:`solo escritura`,typeInteger:`Números enteros.`,formatInt32:`Enteros de 32 bits con signo (tipo entero de uso común).`,formatInt64:`Enteros de 64 bits con signo (tipo long).`,formatDate:`notación full-date definida en RFC 3339, sección 5.6, por ejemplo, 2017-07-21`,formatDateTime:`notación date-time definida en RFC 3339, sección 5.6, por ejemplo, 2017-07-21T17:32:28Z`,formatPassword:`indica a las interfaces que oculten la entrada`,formatBase64:`caracteres codificados en base64, por ejemplo, U3dhZ2dlciByb2Nrcw==`,formatBinary:`datos binarios, usados para describir archivos`},common:{copyDefault:`Copiar valor por defecto`,copyExample:`Copiar valor de ejemplo`},actions:{copyLinkTo:`Copiar enlace a {name}`}}})),eRt,tRt=s((()=>{eRt={schema:{variants:`Variantes`,discriminatorValue:`Valeur du discriminateur`,noAllowedValues:`Aucune valeur ne satisfait cette contrainte enum.`,example:`Exemple`,examples:`Exemples`,default:`Par défaut`,schema:`Schéma`,emptyObject:`Objet vide`,showAdditionalProperties:`Afficher les propriétés supplémentaires`,showOneMoreProperty:`Afficher 1 propriété supplémentaire`,showMoreProperties:`Afficher {count} propriétés supplémentaires`,forName:`pour {name}`,showSchemaDetails:`Afficher les détails du schéma`,oneOf:`Un parmi`,anyOf:`N’importe lequel parmi`,allOf:`Tous parmi`,not:`Non`,unknownType:`type inconnu`,propertyCount:`Propriétés : {count}`,headerCount:`En-têtes : {count}`,recursiveReference:`Référence récursive vers {name}`,recursive:`récursif`,additionalProperties:`propriétés supplémentaires`,const:`constante`,deprecated:`obsolète`,discriminator:`Discriminateur`,enum:`enum`,format:`Format`,greaterThan:`supérieur à`,keys:`clés`,lessThan:`inférieur à`,max:`max.`,min:`min.`,maxLength:`longueur max.`,minLength:`longueur min.`,multipleOf:`multiple de`,nullable:`nullable`,propertyNames:`noms des propriétés`,pattern:`Motif`,copyPattern:`Copier le motif`,readOnly:`lecture seule`,required:`obligatoire`,hideValues:`Masquer les valeurs`,showAllValues:`Afficher toutes les valeurs`,type:`Type`,unique:`unique`,values:`valeurs`,writeOnly:`écriture seule`,typeInteger:`Nombres entiers.`,formatInt32:`Entiers signés sur 32 bits (type entier courant).`,formatInt64:`Entiers signés sur 64 bits (type long).`,formatDate:`notation full-date définie par la RFC 3339, section 5.6, par exemple 2017-07-21`,formatDateTime:`notation date-time définie par la RFC 3339, section 5.6, par exemple 2017-07-21T17:32:28Z`,formatPassword:`indique aux interfaces de masquer la saisie`,formatBase64:`caractères encodés en base64, par exemple U3dhZ2dlciByb2Nrcw==`,formatBinary:`données binaires, utilisées pour décrire des fichiers`},common:{copyDefault:`Copier la valeur par défaut`,copyExample:`Copier la valeur d’exemple`},actions:{copyLinkTo:`Copier le lien vers {name}`}}})),nRt,rRt=s((()=>{nRt={schema:{variants:`Variantes`,discriminatorValue:`Valor do discriminador`,noAllowedValues:`Nenhum valor satisfaz esta restrição enum.`,example:`Exemplo`,examples:`Exemplos`,default:`Padrão`,schema:`Schema`,emptyObject:`Objeto vazio`,showAdditionalProperties:`Mostrar propriedades adicionais`,showOneMoreProperty:`Mostrar mais 1 propriedade`,showMoreProperties:`Mostrar mais {count} propriedades`,forName:`para {name}`,showSchemaDetails:`Mostrar Detalhes do Schema`,oneOf:`Um de`,anyOf:`Qualquer um de`,allOf:`Todos de`,not:`Não`,unknownType:`tipo desconhecido`,propertyCount:`Propriedades: {count}`,headerCount:`Cabeçalhos: {count}`,recursiveReference:`Referência recursiva a {name}`,recursive:`recursivo`,additionalProperties:`propriedades adicionais`,const:`const`,deprecated:`obsoleto`,discriminator:`Discriminador`,enum:`enum`,format:`Formato`,greaterThan:`maior que`,keys:`chaves`,lessThan:`menor que`,max:`máx`,min:`mín`,maxLength:`tamanho máximo`,minLength:`tamanho mínimo`,multipleOf:`múltiplo de`,nullable:`aceita nulo`,propertyNames:`nomes de propriedades`,pattern:`Padrão`,copyPattern:`Copiar padrão`,readOnly:`somente leitura`,required:`obrigatório`,hideValues:`Ocultar valores`,showAllValues:`Mostrar todos os valores`,type:`Tipo`,unique:`único`,values:`valores`,writeOnly:`somente escrita`,typeInteger:`Números inteiros.`,formatInt32:`Inteiros de 32 bits com sinal (tipo inteiro mais comum).`,formatInt64:`Inteiros de 64 bits com sinal (tipo long).`,formatDate:`notação full-date definida pela RFC 3339, seção 5.6, por exemplo, 2017-07-21`,formatDateTime:`notação date-time definida pela RFC 3339, seção 5.6, por exemplo, 2017-07-21T17:32:28Z`,formatPassword:`indica às interfaces que ocultem a entrada`,formatBase64:`caracteres codificados em base64, por exemplo, U3dhZ2dlciByb2Nrcw==`,formatBinary:`dados binários, usados para descrever arquivos`},common:{copyDefault:`Copiar valor padrão`,copyExample:`Copiar valor de exemplo`},actions:{copyLinkTo:`Copiar link para {name}`}}})),iRt,aRt=s((()=>{iRt={schema:{variants:`Варианты`,discriminatorValue:`Значение дискриминатора`,noAllowedValues:`Ни одно значение не удовлетворяет этому ограничению enum.`,example:`Пример`,examples:`Примеры`,default:`Значение по умолчанию`,schema:`Схема`,emptyObject:`Пустой объект`,showAdditionalProperties:`Показать дополнительные свойства`,showOneMoreProperty:`Показать ещё 1 свойство`,showMoreProperties:`Показать ещё свойства: {count}`,forName:`для {name}`,showSchemaDetails:`Показать детали схемы`,oneOf:`Один из`,anyOf:`Любой из`,allOf:`Все из`,not:`Не`,unknownType:`неизвестный тип`,propertyCount:`Свойства: {count}`,headerCount:`Заголовки: {count}`,recursiveReference:`Рекурсивная ссылка на {name}`,recursive:`рекурсивно`,additionalProperties:`дополнительные свойства`,const:`константа`,deprecated:`устарело`,discriminator:`Дискриминатор`,enum:`enum`,format:`Формат`,greaterThan:`больше чем`,keys:`ключи`,lessThan:`меньше чем`,max:`макс.`,min:`мин.`,maxLength:`макс. длина`,minLength:`мин. длина`,multipleOf:`кратно`,nullable:`может быть null`,propertyNames:`имена свойств`,pattern:`Шаблон`,copyPattern:`Скопировать шаблон`,readOnly:`только чтение`,required:`обязательно`,hideValues:`Скрыть значения`,showAllValues:`Показать все значения`,type:`Тип`,unique:`уникально`,values:`значения`,writeOnly:`только запись`,typeInteger:`Целые числа.`,formatInt32:`Знаковые 32-битные целые числа (обычный целочисленный тип).`,formatInt64:`Знаковые 64-битные целые числа (тип long).`,formatDate:`нотация full-date по RFC 3339, раздел 5.6, например 2017-07-21`,formatDateTime:`нотация date-time по RFC 3339, раздел 5.6, например 2017-07-21T17:32:28Z`,formatPassword:`подсказка интерфейсу скрывать ввод`,formatBase64:`символы в кодировке base64, например U3dhZ2dlciByb2Nrcw==`,formatBinary:`двоичные данные, описывают файлы`},common:{copyDefault:`Скопировать значение по умолчанию`,copyExample:`Скопировать пример значения`},actions:{copyLinkTo:`Скопировать ссылку на {name}`}}})),oRt,sRt=s((()=>{oRt={schema:{variants:`变体`,discriminatorValue:`鉴别器值`,noAllowedValues:`没有值满足此枚举约束。`,example:`示例`,examples:`示例`,default:`默认值`,schema:`架构`,emptyObject:`空对象`,showAdditionalProperties:`显示附加属性`,showOneMoreProperty:`再显示 1 个属性`,showMoreProperties:`再显示 {count} 个属性`,forName:`对于 {name}`,showSchemaDetails:`显示架构详情`,oneOf:`其中一个`,anyOf:`任意一个`,allOf:`全部`,not:`非`,unknownType:`未知类型`,propertyCount:`属性:{count}`,headerCount:`标头:{count}`,recursiveReference:`递归引用 {name}`,recursive:`递归`,additionalProperties:`附加属性`,const:`常量`,deprecated:`已弃用`,discriminator:`鉴别器`,enum:`枚举`,format:`格式`,greaterThan:`大于`,keys:`键`,lessThan:`小于`,max:`最大值`,min:`最小值`,maxLength:`最大长度`,minLength:`最小长度`,multipleOf:`倍数`,nullable:`可为 null`,propertyNames:`属性名称`,pattern:`模式`,copyPattern:`复制模式`,readOnly:`只读`,required:`必填`,hideValues:`隐藏值`,showAllValues:`显示所有值`,type:`类型`,unique:`唯一`,values:`值`,writeOnly:`只写`,typeInteger:`整数。`,formatInt32:`有符号 32 位整数(常用整数类型)。`,formatInt64:`有符号 64 位整数(long 类型)。`,formatDate:`RFC 3339 第 5.6 节定义的 full-date 表示法,例如 2017-07-21`,formatDateTime:`RFC 3339 第 5.6 节定义的 date-time 表示法,例如 2017-07-21T17:32:28Z`,formatPassword:`提示界面遮蔽输入内容`,formatBase64:`base64 编码的字符,例如 U3dhZ2dlciByb2Nrcw==`,formatBinary:`二进制数据,用于描述文件`},common:{copyDefault:`复制默认值`,copyExample:`复制示例值`},actions:{copyLinkTo:`复制指向 {name} 的链接`}}})),cRt,lRt=s((()=>{cRt={schema:{variants:`變體`,discriminatorValue:`鑑別器值`,noAllowedValues:`沒有值滿足此列舉限制。`,example:`範例`,examples:`範例`,default:`預設值`,schema:`結構描述`,emptyObject:`空物件`,showAdditionalProperties:`顯示附加屬性`,showOneMoreProperty:`再顯示 1 個屬性`,showMoreProperties:`再顯示 {count} 個屬性`,forName:`對於 {name}`,showSchemaDetails:`顯示結構描述詳細資訊`,oneOf:`其中一個`,anyOf:`任意一個`,allOf:`全部`,not:`非`,unknownType:`未知類型`,propertyCount:`屬性:{count}`,headerCount:`標頭:{count}`,recursiveReference:`遞迴參照 {name}`,recursive:`遞迴`,additionalProperties:`附加屬性`,const:`常數`,deprecated:`已棄用`,discriminator:`鑑別器`,enum:`列舉`,format:`格式`,greaterThan:`大於`,keys:`鍵`,lessThan:`小於`,max:`最大值`,min:`最小值`,maxLength:`最大長度`,minLength:`最小長度`,multipleOf:`倍數`,nullable:`可為 null`,propertyNames:`屬性名稱`,pattern:`模式`,copyPattern:`複製模式`,readOnly:`唯讀`,required:`必填`,hideValues:`隱藏值`,showAllValues:`顯示所有值`,type:`類型`,unique:`唯一`,values:`值`,writeOnly:`唯寫`,typeInteger:`整數。`,formatInt32:`有號 32 位元整數(常用的整數型別)。`,formatInt64:`有號 64 位元整數(long 型別)。`,formatDate:`RFC 3339 第 5.6 節定義的 full-date 表示法,例如 2017-07-21`,formatDateTime:`RFC 3339 第 5.6 節定義的 date-time 表示法,例如 2017-07-21T17:32:28Z`,formatPassword:`提示介面遮蔽輸入內容`,formatBase64:`base64 編碼的字元,例如 U3dhZ2dlciByb2Nrcw==`,formatBinary:`二進位資料,用於描述檔案`},common:{copyDefault:`複製預設值`,copyExample:`複製範例值`},actions:{copyLinkTo:`複製指向 {name} 的連結`}}})),OB,uRt=s((()=>{qLt(),YLt(),ZLt(),$Lt(),tRt(),rRt(),aRt(),sRt(),lRt(),OB={en:XLt,de:JLt,es:QLt,fr:eRt,pt:nRt,ru:iRt,ar:KLt,"zh-CN":oRt,"zh-TW":cRt}})),kB,dRt=s((()=>{kB=Symbol()})),fRt,pRt=s((()=>{B(),Qs(),fRt=k({__name:`SchemaGlyphPuck`,props:{open:{type:Boolean},floating:{type:Boolean,default:!0},anchor:{default:`middle`}},setup(e){return(t,n)=>(j(),M(`span`,{"aria-hidden":`true`,class:lt([`schema-glyph tree-control-hover:bg-b-1 tree-control-hover:text-c-1 tree-control-hover:border-(--scalar-border-color) print:bg-transparent [&_svg]:size-[var(--schema-glyph-icon,16px)]`,e.floating?[`absolute start-[calc(0px_-_var(--schema-glyph-half,9px)_-_var(--schema-gutter,16px))] -translate-y-1/2`,e.anchor===`line`?`top-[0.5lh]`:`top-1/2`]:void 0])},[A(t.$slots,`default`,{},()=>[e.open?(j(),N(D(Vge),{key:0,weight:`light`})):(j(),N(D(qs),{key:1,weight:`light`}))])],2))}})})),AB,jB=s((()=>{pRt(),AB=fRt})),mRt,hRt=s((()=>{B(),mRt=k({__name:`SchemaRailPanel`,props:{depth:{},closeOnRail:{type:Boolean,default:!1},as:{default:`div`}},emits:[`close`],setup(e,{emit:t}){let n=t,r=null,i=()=>{r?.panel.removeAttribute(`data-rail-hovered`),r?.row?.removeAttribute(`data-child-rail-hovered`),r=null},a=(e,t)=>{if(i(),!t)return;let n=e.currentTarget instanceof HTMLElement?e.currentTarget.parentElement:null;if(!n)return;let a=n.parentElement;n.setAttribute(`data-rail-hovered`,``),a?.setAttribute(`data-child-rail-hovered`,``),r={panel:n,row:a}},o=()=>{i(),n(`close`)};return Ri(i),(t,n)=>(j(),N(Ar(e.as),{class:`schema-rail-panel schema-rail rail-hover:border-s-c-1 relative ps-[var(--schema-gutter,16px)]`,style:ct({"--schema-depth":e.depth})},{default:O(()=>[e.closeOnRail?(j(),M(`div`,{key:0,"aria-hidden":`true`,class:`rail-hit z-[1]`,"data-rail-hit":``,onClick:Ka(o,[`stop`]),onPointerenter:n[0]||=e=>a(e,!0),onPointerleave:n[1]||=e=>a(e,!1)},null,32)):I(``,!0),A(t.$slots,`default`)]),_:3},8,[`style`]))}})})),MB,NB=s((()=>{hRt(),MB=mRt})),gRt,_Rt,vRt=s((()=>{jB(),B(),gRt=[`aria-controls`,`aria-describedby`,`aria-expanded`,`aria-label`,`aria-labelledby`],_Rt=k({__name:`SchemaGutterToggle`,props:{open:{type:Boolean},panelId:{},panelRendered:{type:Boolean},nameId:{},fallbackLabel:{},countId:{}},emits:[`toggle`],setup(e,{emit:t}){let n=t;return(t,r)=>(j(),M(`button`,{"aria-controls":e.panelRendered?e.panelId:void 0,"aria-describedby":e.countId,"aria-expanded":e.open,"aria-label":e.nameId?void 0:e.fallbackLabel,"aria-labelledby":e.nameId,class:`property-toggle group/tree-control flex size-[var(--schema-toggle-size,24px)] shrink-0 cursor-pointer items-center justify-center rounded-[999px] border-none bg-transparent p-0 text-[color:var(--schema-glyph-color,var(--scalar-color-2))]`,"data-schema-toggle":``,type:`button`,onClick:r[0]||=e=>n(`toggle`)},[R(AB,{class:`property-glyph`,floating:!1,open:e.open},null,8,[`open`])],8,gRt))}})})),PB,FB=s((()=>{vRt(),PB=_Rt})),IB,LB=s((()=>{uRt(),Bce(),{useLocalization:IB}=Ns({localeTranslations:OB,defaultLocale:`en`,rtlLocales:new Set([`ar`,`fa`,`he`,`ur`]),logPrefix:`[@scalar/blocks/schema]`})}));function yRt(e){let t=e.trim();return t===``?e:t}function RB(e){return Array.isArray(e)?`[${e.map(e=>typeof e==`string`?`"${yRt(e)}"`:typeof e==`object`?JSON.stringify(e):e===void 0?`undefined`:e===null?`null`:e).join(`, `)}]`:e===null?`null`:typeof e==`object`?JSON.stringify(e):e===void 0?`undefined`:yRt(typeof e==`string`?e:e.toString())}var bRt=s((()=>{}));function xRt(e,t){let n=t?.id||VB++;return HB.create({message:e,id:n,type:`default`,...t}),n}function zB(e){return e.label!==void 0}function SRt(){let e=E(!1);return ur(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}function BB(...e){return e.filter(Boolean).join(` `)}function CRt(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}function wRt(e,t){let n={};return[e,t].forEach((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?GB:WB;function o(e){[`top`,`right`,`bottom`,`left`].forEach(t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e})}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach(t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]}):o(a)}),n}function TRt(e,t){return j(),M(`svg`,GRt,t[0]||=[P(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),P(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}function ERt(e,t){return j(),M(`svg`,ZRt,t[0]||=[P(`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)])}function DRt(e,t){return j(),M(`svg`,ezt,t[0]||=[P(`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)])}function ORt(e,t){return j(),M(`svg`,rzt,t[0]||=[P(`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)])}function kRt(e,t){return j(),M(`svg`,ozt,t[0]||=[P(`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)])}function ARt(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}var VB,jRt,HB,MRt,NRt,PRt,FRt,UB,IRt,WB,GB,KB,LRt,RRt,zRt,BRt,VRt,HRt,URt,qB,WRt,GRt,KRt,qRt,JRt,YRt,XRt,ZRt,QRt,$Rt,ezt,tzt,nzt,rzt,izt,azt,ozt,szt,czt,lzt,uzt,dzt,fzt=s((()=>{B(),VB=1,jRt=class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)});publish=e=>{this.subscribers.forEach(t=>t(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:VB++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0||e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e);message=(e,t)=>this.create({...t,message:e,type:`default`});error=(e,t)=>this.create({...t,type:`error`,message:e});success=(e,t)=>this.create({...t,type:`success`,message:e});info=(e,t)=>this.create({...t,type:`info`,message:e});warning=(e,t)=>this.create({...t,type:`warning`,message:e});loading=(e,t)=>this.create({...t,type:`loading`,message:e});promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],Qr(e))i=!1,this.create({id:n,type:`default`,message:e});else if(MRt(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,o=typeof r==`object`&&!Qr(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(e instanceof Error){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!Qr(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!Qr(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`success`,description:a,...o})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!Qr(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally?.()}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})};custom=(e,t)=>{let n=t?.id||VB++,r=this.toasts.find(e=>e.id===n),i=t?.dismissible===void 0||t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(r=>r.id===n?(this.publish({...r,component:e,dismissible:i,id:n,...t}),{...r,component:e,dismissible:i,id:n,...t}):r):this.addToast({component:e,dismissible:i,id:n,...t}),n};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))},HB=new jRt,MRt=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,NRt=xRt,PRt=()=>HB.toasts,FRt=()=>HB.getActiveToasts(),UB=Object.assign(NRt,{success:HB.success,info:HB.info,warning:HB.warning,error:HB.error,custom:HB.custom,message:HB.message,promise:HB.promise,dismiss:HB.dismiss,loading:HB.loading},{getHistory:PRt,getToasts:FRt}),IRt=3,WB=`24px`,GB=`16px`,KB=4e3,LRt=356,RRt=14,zRt=45,BRt=200,VRt=[`data-rich-colors`,`data-styled`,`data-mounted`,`data-promise`,`data-swiped`,`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-swipe-direction`,`data-expanded`,`data-testid`],HRt=[`aria-label`,`data-disabled`,`data-close-button-position`],URt=k({__name:`Toast`,props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:[`update:heights`,`update:height`,`removeToast`],setup(e,{emit:t}){let n=e,r=t,i=E(null),a=E(null),o=E(!1),s=E(!1),c=E(!1),l=E(!1),u=E(!1),d=E(0),f=E(0),p=E(n.toast.duration||n.duration||KB),m=E(null),h=E(null),g=z(()=>n.index===0),_=z(()=>n.index+1<=n.visibleToasts),v=z(()=>n.toast.type),y=z(()=>n.toast.dismissible!==!1),b=z(()=>n.toast.class||``),x=z(()=>n.descriptionClass||``),ee=z(()=>{let e=n.toast.position||n.position,t=n.heights.filter(t=>t.position===e).findIndex(e=>e.toastId===n.toast.id);return t>=0?t:0}),te=z(()=>{let e=n.toast.position||n.position;return n.heights.filter(t=>t.position===e).reduce((e,t,n)=>n>=ee.value?e:e+t.height,0)}),ne=z(()=>ee.value*n.gap+te.value||0),re=z(()=>n.toast.closeButton??n.closeButton),ie=z(()=>n.toast.duration||n.duration||KB),ae=E(0),oe=E(0),se=E(null),ce=z(()=>n.position.split(`-`)),le=z(()=>ce.value[0]),S=z(()=>ce.value[1]),ue=z(()=>typeof n.toast.title!=`string`),de=z(()=>typeof n.toast.description!=`string`),{isDocumentHidden:fe}=SRt(),pe=z(()=>v.value&&v.value===`loading`);Ii(()=>{o.value=!0,p.value=ie.value}),ur(async()=>{if(!o.value||!h.value)return;await nr();let e=h.value,t=e.style.height;e.style.height=`auto`;let i=e.getBoundingClientRect().height;e.style.height=t,f.value=i,r(`update:height`,{toastId:n.toast.id,height:i,position:n.toast.position||n.position})});function me(){s.value=!0,d.value=ne.value,setTimeout(()=>{r(`removeToast`,n.toast)},BRt)}function he(){if(pe.value||!y.value)return{};me(),n.toast.onDismiss?.(n.toast)}function ge(e){e.button!==2&&!pe.value&&y.value&&(m.value=new Date,d.value=ne.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(c.value=!0,se.value={x:e.clientX,y:e.clientY}))}function C(){if(l.value||!y.value)return;se.value=null;let e=Number(h.value?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(h.value?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),r=new Date().getTime()-(m.value?.getTime()||0),o=i.value===`x`?e:t,s=Math.abs(o)/r;Math.abs(o)>=zRt||s>.11?(d.value=ne.value,n.toast.onDismiss?.(n.toast),i.value===`x`?a.value=e>0?`right`:`left`:a.value=t>0?`down`:`up`,me(),l.value=!0):(h.value?.style.setProperty(`--swipe-amount-x`,`0px`),h.value?.style.setProperty(`--swipe-amount-y`,`0px`),u.value=!1,c.value=!1,i.value=null)}function _e(e){if(!se.value||!y.value||(window?.getSelection()?.toString()?.length??!1))return;let t=e.clientY-se.value.y,r=e.clientX-se.value.x,a=n.swipeDirections??CRt(n.position);!i.value&&(Math.abs(r)>1||Math.abs(t)>1)&&(i.value=Math.abs(r)>Math.abs(t)?`x`:`y`);let o={x:0,y:0},s=e=>1/(1.5+Math.abs(e)/20);if(i.value===`y`){if(a.includes(`top`)||a.includes(`bottom`)){if(a.includes(`top`)&&t<0||a.includes(`bottom`)&&t>0)o.y=t;else{let e=t*s(t);o.y=Math.abs(e)<Math.abs(t)?e:t}}}else if(i.value===`x`&&(a.includes(`left`)||a.includes(`right`))){if(a.includes(`left`)&&r<0||a.includes(`right`)&&r>0)o.x=r;else{let e=r*s(r);o.x=Math.abs(e)<Math.abs(r)?e:r}}(Math.abs(o.x)>0||Math.abs(o.y)>0)&&(u.value=!0),h.value?.style.setProperty(`--swipe-amount-x`,`${o.x}px`),h.value?.style.setProperty(`--swipe-amount-y`,`${o.y}px`)}Ii(()=>{if(o.value=!0,!h.value)return;let e=h.value.getBoundingClientRect().height;f.value=e;let t=[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights];r(`update:heights`,t)}),Ri(()=>{h.value&&r(`removeToast`,n.toast)}),ur(e=>{if(n.toast.promise&&v.value===`loading`||n.toast.duration===1/0||n.toast.type===`loading`)return;let t;n.expanded||n.interacting||fe.value?(()=>{if(oe.value<ae.value){let e=new Date().getTime()-ae.value;p.value-=e}oe.value=new Date().getTime()})():p.value!==1/0&&(ae.value=new Date().getTime(),t=setTimeout(()=>{n.toast.onAutoClose?.(n.toast),me()},p.value)),e(()=>{clearTimeout(t)})}),dr(()=>n.toast.delete,e=>{e!==void 0&&e&&(me(),n.toast.onDismiss?.(n.toast))},{deep:!0});function ve(){c.value=!1,i.value=null,se.value=null}return(e,t)=>(j(),M(`li`,{tabindex:`0`,ref_key:`toastRef`,ref:h,class:lt(D(BB)(n.class,b.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[v.value],e.toast?.classes?.[v.value])),"data-sonner-toast":``,"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||e.toast?.unstyled||e.unstyled),"data-mounted":o.value,"data-promise":!!e.toast.promise,"data-swiped":u.value,"data-removed":s.value,"data-visible":_.value,"data-y-position":le.value,"data-x-position":S.value,"data-index":e.index,"data-front":g.value,"data-swiping":c.value,"data-dismissible":y.value,"data-type":v.value,"data-invert":e.toast.invert||e.invert,"data-swipe-out":l.value,"data-swipe-direction":a.value,"data-expanded":!!(e.expanded||e.expandByDefault&&o.value),"data-testid":e.toast.testId,style:ct({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${s.value?d.value:ne.value}px`,"--initial-height":e.expandByDefault?`auto`:`${f.value}px`,...e.style,...n.toast.style}),onDragend:ve,onPointerdown:ge,onPointerup:C,onPointermove:_e},[re.value&&!e.toast.component&&v.value!==`loading`?(j(),M(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":pe.value,"data-close-button":`true`,"data-close-button-position":e.closeButtonPosition,class:lt(D(BB)(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:he},[e.icons?.close?(j(),N(Ar(e.icons?.close),{key:0})):A(e.$slots,`close-icon`,{key:1})],10,HRt)):I(`v-if`,!0),e.toast.component?(j(),N(Ar(e.toast.component),oi({key:1},e.toast.componentProps,{onCloseToast:he,isPaused:e.$props.expanded||e.$props.interacting||D(fe)}),null,16,[`isPaused`])):(j(),M(L,{key:2},[v.value!=="default"||e.toast.icon||e.toast.promise?(j(),M(`div`,{key:0,"data-icon":``,class:lt(D(BB)(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?(j(),N(Ar(e.toast.icon),{key:0})):(j(),M(L,{key:1},[v.value===`loading`?A(e.$slots,`loading-icon`,{key:0}):v.value===`success`?A(e.$slots,`success-icon`,{key:1}):v.value===`error`?A(e.$slots,`error-icon`,{key:2}):v.value===`warning`?A(e.$slots,`warning-icon`,{key:3}):v.value===`info`?A(e.$slots,`info-icon`,{key:4}):I(`v-if`,!0)],64))],2)):I(`v-if`,!0),P(`div`,{"data-content":``,class:lt(D(BB)(e.classes?.content,e.toast?.classes?.content))},[P(`div`,{"data-title":``,class:lt(D(BB)(e.classes?.title,e.toast.classes?.title))},[ue.value?(j(),N(Ar(e.toast.title),ut(oi({key:0},e.toast.componentProps)),null,16)):(j(),M(L,{key:1},[F(T(e.toast.title),1)],64))],2),e.toast.description?(j(),M(`div`,{key:0,"data-description":``,class:lt(D(BB)(e.descriptionClass,x.value,e.classes?.description,e.toast.classes?.description))},[de.value?(j(),N(Ar(e.toast.description),ut(oi({key:0},e.toast.componentProps)),null,16)):(j(),M(L,{key:1},[F(T(e.toast.description),1)],64))],2)):I(`v-if`,!0)],2),e.toast.cancel?(j(),M(`button`,{key:1,style:ct(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:lt(D(BB)(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=t=>{D(zB)(e.toast.cancel)&&y.value&&(e.toast.cancel.onClick?.(t),me())}},T(D(zB)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):I(`v-if`,!0),e.toast.action?(j(),M(`button`,{key:2,style:ct(e.toast.actionButtonStyle||e.actionButtonStyle),class:lt(D(BB)(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,"data-action":``,onClick:t[1]||=t=>{D(zB)(e.toast.action)&&(e.toast.action.onClick?.(t),!t.defaultPrevented&&me())}},T(D(zB)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):I(`v-if`,!0)],64))],46,VRt))}}),qB=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},WRt={},GRt={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`},KRt=qB(WRt,[[`render`,TRt]]),qRt=[`data-visible`],JRt={class:`sonner-spinner`},YRt=k({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>(j(),M(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[P(`div`,JRt,[(j(!0),M(L,null,jr(D(t),e=>(j(),M(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,qRt))}}),XRt={},ZRt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},QRt=qB(XRt,[[`render`,ERt]]),$Rt={},ezt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},tzt=qB($Rt,[[`render`,DRt]]),nzt={},rzt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`},izt=qB(nzt,[[`render`,ORt]]),azt={},ozt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},szt=qB(azt,[[`render`,kRt]]),czt=[`aria-label`],lzt=[`data-sonner-theme`,`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`],uzt=typeof window<`u`&&typeof document<`u`,dzt=k({name:`Toaster`,inheritAttrs:!1,__name:`Toaster`,props:{id:{},invert:{type:Boolean,default:!1},theme:{default:`light`},position:{default:`bottom-right`},closeButtonPosition:{default:`top-left`},hotkey:{default:()=>[`altKey`,`KeyT`]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:RRt},visibleToasts:{default:IRt},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{},offset:{default:WB},mobileOffset:{default:GB},dir:{default:`auto`},swipeDirections:{},icons:{},containerAriaLabel:{default:`Notifications`}},setup(e){let t=e,n=Fr(),r=E([]),i=z(()=>t.id?r.value.filter(e=>e.toasterId===t.id):r.value.filter(e=>!e.toasterId));function a(e,t){return i.value.filter(n=>!n.position&&t===0||n.position===e)}let o=z(()=>{let e=i.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),s=z(()=>{let e={};return o.value.forEach(t=>{e[t]=r.value.filter(e=>e.position===t)}),e}),c=E([]),l=E({}),u=E(!1);ur(()=>{o.value.forEach(e=>{e in l.value||(l.value[e]=!1)})});let d=E(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),f=E(null),p=E(null),m=E(!1),h=t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function g(e){r.value.find(t=>t.id===e.id)?.delete||HB.dismiss(e.id),r.value=r.value.filter(({id:t})=>t!==e.id),setTimeout(()=>{r.value.find(t=>t.id===e.id)||(c.value=c.value.filter(t=>t.toastId!==e.id))},250)}function _(e){m.value&&!e.currentTarget?.contains?.(e.relatedTarget)&&(m.value=!1,p.value&&=(p.value.focus({preventScroll:!0}),null))}function v(e){e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||m.value||(m.value=!0,p.value=e.relatedTarget)}function y(e){e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(u.value=!0)}ur(e=>{e(HB.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{r.value=r.value.map(t=>t.id===e.id?{...t,delete:!0}:t)}):nr(()=>{let t=r.value.findIndex(t=>t.id===e.id);t===-1?r.value=[e,...r.value]:r.value=[...r.value.slice(0,t),{...r.value[t],...e},...r.value.slice(t+1)]})}))}),ur(e=>{if(typeof window>`u`)return;if(t.theme!==`system`){d.value=t.theme;return}let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=e=>{d.value=e?`dark`:`light`};r(n.matches);let i=e=>{r(e.matches)};try{n.addEventListener(`change`,i)}catch{n.addListener(i)}e(()=>{try{n.removeEventListener(`change`,i)}catch{n.removeListener(i)}})}),ur(()=>{f.value&&p.value&&(p.value.focus({preventScroll:!0}),p.value=null,m.value=!1)}),ur(()=>{r.value.length<=1&&Object.keys(l.value).forEach(e=>{l.value[e]=!1})}),ur(e=>{function n(e){let n=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(f.value)?f.value[0]:f.value;n&&(o.value.forEach(e=>{l.value[e]=!0}),r?.focus());let i=document.activeElement===f.value||r?.contains(document.activeElement);e.code===`Escape`&&i&&o.value.forEach(e=>{l.value[e]=!1})}uzt&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))});function b(e){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!0}function x(e){if(!u.value){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!1}}function ee(){Object.keys(l.value).forEach(e=>{l.value[e]=!1})}function te(){u.value=!1}function ne(e){c.value=e}function re(e){let t=c.value.findIndex(t=>t.toastId===e.toastId);if(t!==-1)c.value[t]=e;else{let t=c.value.findIndex(t=>t.position===e.position);t===-1?c.value.unshift(e):c.value.splice(t,0,e)}}return(e,r)=>(j(),M(L,null,[I(` Remove item from normal navigation flow, only available via hotkey `),P(`section`,{"aria-label":`${e.containerAriaLabel} ${D(h)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[(j(!0),M(L,null,jr(o.value,(r,i)=>(j(),M(`ol`,oi({key:r,ref_for:!0,ref_key:`listRef`,ref:f,"data-sonner-toaster":``,"data-sonner-theme":d.value,class:t.class,dir:e.dir===`auto`?ARt():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":r.split(`-`)[0],"data-x-position":r.split(`-`)[1],style:{"--front-toast-height":`${c.value[0]?.height||0}px`,"--width":`${D(LRt)}px`,"--gap":`${e.gap}px`,...e.style,...D(n).style,...D(wRt)(e.offset,e.mobileOffset)}},{ref_for:!0},e.$attrs,{onBlur:_,onFocus:v,onMouseenter:b,onMousemove:b,onMouseleave:x,onDragend:ee,onPointerdown:y,onPointerup:te}),[(j(!0),M(L,null,jr(a(r,i),(n,i)=>(j(),N(URt,{key:n.id,heights:c.value,icons:e.icons,index:i,toast:n,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:lt(e.toastOptions?.class??``),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:u.value,position:r,closeButtonPosition:e.toastOptions?.closeButtonPosition??e.closeButtonPosition,style:ct(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,"close-button-aria-label":e.toastOptions?.closeButtonAriaLabel,toasts:s.value[r],expandByDefault:e.expand,gap:e.gap,expanded:l.value[r]||!1,swipeDirections:t.swipeDirections,"onUpdate:heights":ne,"onUpdate:height":re,onRemoveToast:g},{"close-icon":O(()=>[A(e.$slots,`close-icon`,{},()=>[R(KRt)])]),"loading-icon":O(()=>[A(e.$slots,`loading-icon`,{},()=>[R(YRt,{visible:n.type===`loading`},null,8,[`visible`])])]),"success-icon":O(()=>[A(e.$slots,`success-icon`,{},()=>[R(QRt)])]),"error-icon":O(()=>[A(e.$slots,`error-icon`,{},()=>[R(szt)])]),"warning-icon":O(()=>[A(e.$slots,`warning-icon`,{},()=>[R(izt)])]),"info-icon":O(()=>[A(e.$slots,`info-icon`,{},()=>[R(tzt)])]),_:2},1032,[`heights`,`icons`,`index`,`toast`,`defaultRichColors`,`duration`,`class`,`descriptionClass`,`invert`,`visibleToasts`,`closeButton`,`interacting`,`position`,`closeButtonPosition`,`style`,`unstyled`,`classes`,`cancelButtonStyle`,`actionButtonStyle`,`close-button-aria-label`,`toasts`,`expandByDefault`,`gap`,`expanded`,`swipeDirections`]))),128))],16,lzt))),128))],8,czt)],2112))}})}));function pzt(e){YB.toast=e}function JB(){return{initializeToasts:pzt,toast:(e,t=`info`,n={timeout:3e3})=>{YB.toast(e,t,n)}}}var YB,XB,ZB=s((()=>{B(),fzt(),(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`html[dir='ltr'],
+[data-sonner-toaster][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;
+}
+html[dir='rtl'],
+[data-sonner-toaster][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;
+}
+[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: none;
+ z-index: 999999999;
+ transition: transform 400ms ease;
+}
+@media (hover: none) and (pointer: coarse) {
+[data-sonner-toaster][data-lifted='true'] {
+ transform: none;
+}
+}
+[data-sonner-toaster][data-x-position='right'] {
+ right: var(--offset-right);
+}
+[data-sonner-toaster][data-x-position='left'] {
+ left: var(--offset-left);
+}
+[data-sonner-toaster][data-x-position='center'] {
+ left: 50%;
+ transform: translateX(-50%);
+}
+[data-sonner-toaster][data-y-position='top'] {
+ top: var(--offset-top);
+}
+[data-sonner-toaster][data-y-position='bottom'] {
+ bottom: var(--offset-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;
+ transition: transform 400ms, opacity 400ms, height 400ms, box-shadow 200ms;
+ box-sizing: border-box;
+ outline: none;
+ 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: 0px 4px 12px rgba(0, 0, 0, 0.1);
+ width: var(--width);
+ font-size: 13px;
+ display: flex;
+ align-items: center;
+ gap: 6px;
+}
+[data-sonner-toast]:focus-visible {
+ box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(0, 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-styled='true'] [data-description] {
+ font-weight: 400;
+ line-height: 1.4;
+ color: #3f3f3f;
+}
+[data-rich-colors='true'][data-sonner-toast][data-styled='true'] [data-description] {
+ color: inherit;
+}
+[data-sonner-toaster][data-sonner-theme='dark'] [data-description] {
+ color: hsl(0, 0%, 91%);
+}
+[data-sonner-toast][data-styled='true'] [data-title] {
+ font-weight: 500;
+ line-height: 1.5;
+ color: inherit;
+}
+[data-sonner-toast][data-styled='true'] [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(0.8);
+ transform-origin: center;
+ animation: sonner-fade-in 300ms ease forwards;
+}
+[data-sonner-toast][data-styled='true'] [data-icon] > * {
+ flex-shrink: 0;
+}
+[data-sonner-toast][data-styled='true'] [data-icon] svg {
+ margin-left: var(--toast-svg-margin-start);
+ margin-right: var(--toast-svg-margin-end);
+}
+[data-sonner-toast][data-styled='true'] [data-content] {
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
+}
+[data-sonner-toast][data-styled='true'] [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;
+ font-weight: 500;
+ cursor: pointer;
+ outline: none;
+ display: flex;
+ align-items: center;
+ flex-shrink: 0;
+ transition: opacity 400ms, box-shadow 200ms;
+}
+[data-sonner-toast][data-styled='true'] [data-button]:focus-visible {
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
+}
+[data-sonner-toast][data-styled='true'] [data-button]:first-of-type {
+ margin-left: var(--toast-button-margin-start);
+ margin-right: var(--toast-button-margin-end);
+}
+[data-sonner-toast][data-styled='true'] [data-cancel] {
+ color: var(--normal-text);
+ background: rgba(0, 0, 0, 0.08);
+}
+[data-sonner-toaster][data-sonner-theme='dark'] [data-sonner-toast][data-styled='true'] [data-cancel] {
+ background: rgba(255, 255, 255, 0.3);
+}
+[data-sonner-toaster] [data-close-button-position='top-left'] {
+ --toast-close-button-left: 0;
+ --toast-close-button-right: unset;
+ --toast-close-button-top: 0;
+ --toast-close-button-bottom: unset;
+ --toast-close-button-transform: translate(-35%, -35%);
+}
+[data-sonner-toaster] [data-close-button-position='top-right'] {
+ --toast-close-button-left: unset;
+ --toast-close-button-right: 0;
+ --toast-close-button-top: 0;
+ --toast-close-button-bottom: unset;
+ --toast-close-button-transform: translate(35%, -35%);
+}
+[data-sonner-toaster] [data-close-button-position='bottom-left'] {
+ --toast-close-button-left: 0;
+ --toast-close-button-right: unset;
+ --toast-close-button-top: unset;
+ --toast-close-button-bottom: 0;
+ --toast-close-button-transform: translate(-35%, 35%);
+}
+[data-sonner-toaster] [data-close-button-position='bottom-right'] {
+ --toast-close-button-left: unset;
+ --toast-close-button-right: 0;
+ --toast-close-button-top: unset;
+ --toast-close-button-bottom: 0;
+ --toast-close-button-transform: translate(35%, 35%);
+}
+[data-sonner-toast][data-styled='true'] [data-close-button] {
+ position: absolute;
+ left: var(--toast-close-button-left);
+ right: var(--toast-close-button-right);
+ top: var(--toast-close-button-top);
+ bottom: var(--toast-close-button-bottom);
+ height: 20px;
+ width: 20px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 0;
+ color: var(--gray12);
+ background: var(--normal-bg);
+ border: 1px solid var(--gray4);
+ transform: var(--toast-close-button-transform);
+ border-radius: 50%;
+ cursor: pointer;
+ z-index: 1;
+ transition: opacity 100ms, background 200ms, border-color 200ms;
+}
+[data-sonner-toast][data-styled='true'] [data-close-button]:focus-visible {
+ box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(0, 0, 0, 0.2);
+}
+[data-sonner-toast][data-styled='true'] [data-disabled='true'] {
+ cursor: not-allowed;
+}
+[data-sonner-toast][data-styled='true']:hover [data-close-button]:hover {
+ background: var(--gray2);
+ border-color: var(--gray5);
+}
+[data-sonner-toast][data-swiping='true']::before {
+ content: '';
+ position: absolute;
+ left: -100%;
+ right: -100%;
+ 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][data-expanded='true']::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(--toasts-before) * 0.05 + 1));
+ height: var(--front-toast-height);
+}
+[data-sonner-toast] > * {
+ transition: opacity 400ms;
+}
+[data-sonner-toast][data-x-position='right'] {
+ right: 0;
+}
+[data-sonner-toast][data-x-position='left'] {
+ left: 0;
+}
+[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 500ms, opacity 200ms;
+}
+[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-y, 0px)) translateX(var(--swipe-amount-x, 0px));
+ transition: none;
+}
+[data-sonner-toast][data-swiped='true'] {
+ user-select: none;
+}
+[data-sonner-toast][data-swipe-out='true'][data-y-position='bottom'],
+[data-sonner-toast][data-swipe-out='true'][data-y-position='top'] {
+ animation-duration: 200ms;
+ animation-timing-function: ease-out;
+ animation-fill-mode: forwards;
+}
+[data-sonner-toast][data-swipe-out='true'][data-swipe-direction='left'] {
+ animation-name: swipe-out-left;
+}
+[data-sonner-toast][data-swipe-out='true'][data-swipe-direction='right'] {
+ animation-name: swipe-out-right;
+}
+[data-sonner-toast][data-swipe-out='true'][data-swipe-direction='up'] {
+ animation-name: swipe-out-up;
+}
+[data-sonner-toast][data-swipe-out='true'][data-swipe-direction='down'] {
+ animation-name: swipe-out-down;
+}
+@keyframes swipe-out-left {
+from {
+ transform: var(--y) translateX(var(--swipe-amount-x));
+ opacity: 1;
+}
+to {
+ transform: var(--y) translateX(calc(var(--swipe-amount-x) - 100%));
+ opacity: 0;
+}
+}
+@keyframes swipe-out-right {
+from {
+ transform: var(--y) translateX(var(--swipe-amount-x));
+ opacity: 1;
+}
+to {
+ transform: var(--y) translateX(calc(var(--swipe-amount-x) + 100%));
+ opacity: 0;
+}
+}
+@keyframes swipe-out-up {
+from {
+ transform: var(--y) translateY(var(--swipe-amount-y));
+ opacity: 1;
+}
+to {
+ transform: var(--y) translateY(calc(var(--swipe-amount-y) - 100%));
+ opacity: 0;
+}
+}
+@keyframes swipe-out-down {
+from {
+ transform: var(--y) translateY(var(--swipe-amount-y));
+ opacity: 1;
+}
+to {
+ transform: var(--y) translateY(calc(var(--swipe-amount-y) + 100%));
+ opacity: 0;
+}
+}
+@media (max-width: 600px) {
+[data-sonner-toaster] {
+ position: fixed;
+ right: var(--mobile-offset-right);
+ left: var(--mobile-offset-left);
+ width: 100%;
+}
+[data-sonner-toaster][dir='rtl'] {
+ left: calc(var(--mobile-offset-left) * -1);
+}
+[data-sonner-toaster] [data-sonner-toast] {
+ left: 0;
+ right: 0;
+ width: calc(100% - var(--mobile-offset-left) * 2);
+}
+[data-sonner-toaster][data-x-position='left'] {
+ left: var(--mobile-offset-left);
+}
+[data-sonner-toaster][data-y-position='bottom'] {
+ bottom: calc(var(--mobile-offset-bottom) + max(env(safe-area-inset-bottom), 0px));
+}
+[data-sonner-toaster][data-y-position='top'] {
+ top: calc(var(--mobile-offset-top) + max(env(safe-area-inset-top), 0px));
+}
+[data-sonner-toaster][data-x-position='center'] {
+ left: var(--mobile-offset-left);
+ right: var(--mobile-offset-right);
+ transform: none;
+}
+}
+[data-sonner-toaster][data-sonner-theme='light'] {
+ --normal-bg: #fff;
+ --normal-border: var(--gray4);
+ --normal-text: var(--gray12);
+
+ --success-bg: hsl(143, 85%, 96%);
+ --success-border: hsl(145, 92%, 87%);
+ --success-text: hsl(140, 100%, 27%);
+
+ --info-bg: hsl(208, 100%, 97%);
+ --info-border: hsl(221, 91%, 93%);
+ --info-text: hsl(210, 92%, 45%);
+
+ --warning-bg: hsl(49, 100%, 97%);
+ --warning-border: hsl(49, 91%, 84%);
+ --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-sonner-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-sonner-theme='dark'] [data-sonner-toast][data-invert='true'] {
+ --normal-bg: #fff;
+ --normal-border: var(--gray3);
+ --normal-text: var(--gray12);
+}
+[data-sonner-toaster][data-sonner-theme='dark'] {
+ --normal-bg: #000;
+ --normal-bg-hover: hsl(0, 0%, 12%);
+ --normal-border: hsl(0, 0%, 20%);
+ --normal-border-hover: hsl(0, 0%, 25%);
+ --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, 43%, 17%);
+ --info-text: hsl(216, 87%, 65%);
+
+ --warning-bg: hsl(64, 100%, 6%);
+ --warning-border: hsl(60, 100%, 9%);
+ --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-sonner-toaster][data-sonner-theme='dark'] [data-sonner-toast] [data-close-button] {
+ background: var(--normal-bg);
+ border-color: var(--normal-border);
+ color: var(--normal-text);
+}
+[data-sonner-toaster][data-sonner-theme='dark'] [data-sonner-toast] [data-close-button]:hover {
+ background: var(--normal-bg-hover);
+ border-color: var(--normal-border-hover);
+}
+[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 0.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:nth-child(1) {
+ animation-delay: -1.2s;
+ transform: rotate(0.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: -0.9s;
+ transform: rotate(90deg) translate(146%);
+}
+.sonner-loading-bar:nth-child(5) {
+ animation-delay: -0.8s;
+ transform: rotate(120deg) translate(146%);
+}
+.sonner-loading-bar:nth-child(6) {
+ animation-delay: -0.7s;
+ transform: rotate(150deg) translate(146%);
+}
+.sonner-loading-bar:nth-child(7) {
+ animation-delay: -0.6s;
+ transform: rotate(180deg) translate(146%);
+}
+.sonner-loading-bar:nth-child(8) {
+ animation-delay: -0.5s;
+ transform: rotate(210deg) translate(146%);
+}
+.sonner-loading-bar:nth-child(9) {
+ animation-delay: -0.4s;
+ transform: rotate(240deg) translate(146%);
+}
+.sonner-loading-bar:nth-child(10) {
+ animation-delay: -0.3s;
+ transform: rotate(270deg) translate(146%);
+}
+.sonner-loading-bar:nth-child(11) {
+ animation-delay: -0.2s;
+ transform: rotate(300deg) translate(146%);
+}
+.sonner-loading-bar:nth-child(12) {
+ animation-delay: -0.1s;
+ transform: rotate(330deg) translate(146%);
+}
+@keyframes sonner-fade-in {
+0% {
+ opacity: 0;
+ transform: scale(0.8);
+}
+100% {
+ opacity: 1;
+ transform: scale(1);
+}
+}
+@keyframes sonner-fade-out {
+0% {
+ opacity: 1;
+ transform: scale(1);
+}
+100% {
+ opacity: 0;
+ transform: scale(0.8);
+}
+}
+@keyframes sonner-spin {
+0% {
+ opacity: 1;
+}
+100% {
+ opacity: 0.15;
+}
+}
+@media (prefers-reduced-motion) {
+[data-sonner-toast],
+ [data-sonner-toast] > *,
+ .sonner-loading-bar {
+ transition: none !important;
+ animation: none !important;
+}
+}
+.sonner-loader {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ transform-origin: center;
+ transition: opacity 200ms, transform 200ms;
+}
+.sonner-loader[data-visible='false'] {
+ opacity: 0;
+ transform: scale(0.8) translate(-50%, -50%);
+}
+/**
+* We need to be explicit to avoid !important. :)
+*
+* Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103
+*/
+.scalar-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);
+}
+.scalar-toaster [data-sonner-toast] [data-icon] {
+ align-self: flex-start;
+ position: relative;
+ top: 2px;
+}
+.scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] {
+ height: auto;
+}
+.scalar-toaster [data-sonner-toast][data-type='error'] {
+ background: var(--scalar-background-1);
+}
+.scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] {
+ color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1));
+}
+.scalar-toaster [data-sonner-toast][data-type='warning'] {
+ background: var(--scalar-background-1);
+}
+.scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] {
+ color: color-mix(
+ in srgb,
+ var(--scalar-color-orange) 90%,
+ var(--scalar-color-1)
+ );
+}
+/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})(),YB={toast:()=>null},XB=k({__name:`ScalarToasts`,setup(e){let t=E(!1);Ii(()=>t.value=!0);let n={success:UB.success,error:UB.error,warn:UB.warning,info:UB},{initializeToasts:r}=JB();return r((e,t=`info`,r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,n)=>t.value?(j(),N(D(dzt),{key:0,class:`scalar-toaster`})):I(``,!0)}})}));function QB(e={}){let{notify:t=e=>n(e,`info`)}=e,{toast:n}=JB();async function r(e){try{let n=mzt(e);await navigator.clipboard.writeText(n),t(`Copied to the clipboard`)}catch(e){console.error(e.message),t(`Failed to copy to clipboard`)}}return{copyToClipboard:r}}var mzt,hzt=s((()=>{ZB(),mzt=e=>e===void 0?`undefined`:typeof e==`string`?e:JSON.stringify(e)})),$B=s((()=>{hzt()})),gzt,_zt,vzt,yzt,bzt,xzt,Szt=s((()=>{DB(),LB(),bRt(),B(),js(),gS(),$B(),jT(),gzt=[`id`],_zt=[`aria-label`],vzt=[`id`],yzt=[`aria-label`,`onClick`],bzt=500,xzt=k({__name:`SchemaPropertyExamples`,props:{align:{default:`center`},examples:{},example:{}},setup(e){let{copyToClipboard:t}=QB(),{translate:n}=IB(),r=z(()=>e.example!==void 0),i=z(()=>As(e.examples)?e.examples:{}),a=z(()=>Object.keys(i.value).length>0),o=z(()=>Object.keys(i.value).length===1?n(`schema.example`):n(`schema.examples`));function s(e){if(V(e)){if(`value`in e)return e.value;if(`externalValue`in e)return e.externalValue}return e}let c=E(null),l=E(null),u=E(!1),d=xr(),f=E(null),p=E(null),m=E(!1),h=xr(),g=!1,_=0,v=!1,y=()=>{g=!0,window.clearTimeout(_),_=window.setTimeout(()=>{g=!1},bzt)},b=(e,t)=>{let n=e.relatedTarget;return!(n instanceof Node)||!t?.contains(n)},x=()=>{!g&&!v&&(u.value=!0)},ee=e=>{b(e,c.value)&&(u.value=!1)},te=()=>{!g&&!v&&(m.value=!0)},ne=e=>{b(e,f.value)&&(m.value=!1)};CT(c,()=>{u.value=!1}),CT(f,()=>{m.value=!1});let re=(e,t,n)=>{if(!e.value)return;let r=t.value?.contains(document.activeElement);if(e.value=!1,r){let e=n.value,t=e instanceof HTMLElement?e:e?.$el;v=!0,t?.focus?.(),v=!1}};return TT(`Escape`,()=>{re(u,c,l),re(m,f,p)}),(g,_)=>(j(),M(L,null,[r.value?(j(),M(`div`,{key:0,ref_key:`singleRootRef`,ref:c,class:lt([`property-example`,{"is-open":u.value}]),onFocusin:x,onFocusout:ee},[R(EB,{ref_key:`singleTriggerRef`,ref:l,"aria-controls":D(d),"aria-expanded":u.value,class:`decoration-dotted`,onClick:_[0]||=e=>u.value=!u.value,onPointerdown:y},{default:O(()=>[F(T(D(n)(`schema.example`)),1)]),_:1},8,[`aria-controls`,`aria-expanded`]),P(`div`,{id:D(d),class:lt([`property-example-value-list`,{"flex!":u.value,"property-example-value-list-start":e.align===`start`}])},[P(`button`,{"aria-label":`${D(n)(`common.copyExample`)}: ${D(RB)(e.example)}`,class:`property-example-value group`,type:`button`,onClick:_[1]||=n=>D(t)(D(RB)(e.example))},[P(`span`,null,T(D(RB)(e.example)),1),R(D(fS),{"aria-hidden":`true`,class:`group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3`,icon:`Clipboard`,size:`xs`})],8,_zt)],10,gzt)],34)):I(``,!0),a.value?(j(),M(`div`,{key:1,ref_key:`multipleRootRef`,ref:f,class:lt([`property-example`,{"is-open":m.value}]),onFocusin:te,onFocusout:ne},[R(EB,{ref_key:`multipleTriggerRef`,ref:p,"aria-controls":D(h),"aria-expanded":m.value,class:`decoration-dotted`,onClick:_[2]||=e=>m.value=!m.value,onPointerdown:y},{default:O(()=>[F(T(o.value),1)]),_:1},8,[`aria-controls`,`aria-expanded`]),P(`div`,{id:D(h),class:lt([`property-example-value-list`,{"flex!":m.value,"property-example-value-list-start":e.align===`start`}])},[(j(!0),M(L,null,jr(i.value,(e,r)=>(j(),M(`button`,{key:r,"aria-label":`${D(n)(`common.copyExample`)}: ${D(RB)(s(e))}`,class:`property-example-value group`,type:`button`,onClick:n=>D(t)(D(RB)(s(e)))},[P(`span`,null,T(D(RB)(s(e))),1),R(D(fS),{"aria-hidden":`true`,class:`text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3`,icon:`Clipboard`,size:`xs`})],8,yzt))),128))],10,vzt)],34)):I(``,!0)],64))}})})),eV,Czt=s((()=>{TB(),Szt(),eV=wB(xzt,[[`__scopeId`,`data-v-1380dfca`]])})),wzt,Tzt,Ezt,Dzt,tV,nV=s((()=>{wzt=new Set([`http:`,`https:`,`mailto:`,`tel:`,`ftp:`,`ftps:`,`sms:`]),Tzt=/^([a-z][a-z0-9+.-]*):/i,Ezt=/[\u0000-\u0020\u007f-\u009f]/g,Dzt=e=>{if(!e)return!1;let t=e.replace(Ezt,``);if(!t)return!1;let n=Tzt.exec(t)?.[1];return!n||wzt.has(`${n.toLowerCase()}:`)},tV=e=>Dzt(e)?e:void 0})),Ozt,kzt,Azt,jzt,Mzt=s((()=>{B(),Qs(),iu(),nV(),Ozt={key:0,class:`group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0`},kzt={key:0,class:`ml-1 empty:hidden`},Azt={key:1,class:`ml-1 empty:hidden`},jzt=k({__name:`ExternalDocs`,props:{value:{}},setup(e){let t=z(()=>{let t=H(e.value);return t&&typeof t.url==`string`&&t.url?t:void 0}),n=z(()=>tV(t.value?.url));return(e,r)=>t.value?(j(),M(`div`,Ozt,[(j(),N(Ar(n.value?`a`:`span`),{"aria-label":t.value.description||t.value.url,class:`text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0`,href:n.value,rel:n.value?`noopener noreferrer`:void 0,target:n.value?`_blank`:void 0},{default:O(()=>[R(D(pue),{class:`size-3 text-current`,weight:`bold`}),t.value.description?(j(),M(`span`,kzt,T(t.value.description),1)):(j(),M(`span`,Azt,T(t.value.url),1))]),_:1},8,[`aria-label`,`href`,`rel`,`target`]))])):I(``,!0)}})})),rV,iV=s((()=>{Mzt(),rV=jzt})),aV,Nzt,oV,sV,Pzt=s((()=>{B(),x_(),aV=Symbol(`schema-dynamic-scope`),Nzt=[],oV=()=>lr(aV,Nzt),sV=(e,t)=>g_(e)?b_(e.$dynamicRef,t)??e:e})),cV,lV=s((()=>{cV=e=>{if(typeof e!=`object`||!e||Array.isArray(e)||`oneOf`in e||`anyOf`in e||`allOf`in e||`not`in e)return!1;let t=`type`in e;if(t&&Array.isArray(e.type))return e.type.includes(`object`);let n=t&&e.type===`object`;if(n)return!0;if(t&&!n)return!1;let r=`properties`in e,i=`additionalProperties`in e,a=`patternProperties`in e;return r||i||a}})),uV,dV=s((()=>{js(),uV=(e,t)=>{if(Object.is(e,t))return!0;if(!As(e)||!As(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n+=1)if(!uV(e[n],t[n]))return!1;return!0}if(Array.isArray(t))return!1;let n=e,r=t,i=0;for(let e in n)if(Object.hasOwn(n,e)&&(i+=1,!Object.hasOwn(r,e)||!uV(n[e],r[e])))return!1;let a=0;for(let e in r)Object.hasOwn(r,e)&&(a+=1);return i===a}})),Fzt,Izt,fV,pV,mV,hV,Lzt,Rzt,gV,zzt=s((()=>{iu(),a_(),Tv(),dV(),wx(),Fzt=new Set([`description`,`title`]),Izt=[`x-enum-varnames`,`x-enumNames`,`x-enum-descriptions`,`x-enumDescriptions`],fV=(e,t,n=!1)=>{let r=e.enum?.filter(e=>t.enum===void 0||t.enum.some(t=>uV(e,t)))??t.enum?.slice();if(r===void 0)return{};let i={enum:r};for(let a of Izt){let o=t[a]!==void 0&&(n||e[a]===void 0)?t:e,s=o[a],c=o.enum;Array.isArray(s)?i[a]=c===void 0?s:r.map(e=>s[c.findIndex(t=>uV(e,t))]??``):s!==void 0&&(a===`x-enum-descriptions`||a===`x-enumDescriptions`)&&(i[a]=s)}return i},pV=(e,t,n=new Set)=>{if(!e?.allOf?.length||!Array.isArray(e.allOf))return t||{};let r={},{allOf:i,...a}=e;for(let t of e.allOf){if(typeof t!=`boolean`&&(!t||typeof t!=`object`))continue;let e=i_.schema(t);e.allOf?mV(r,pV(e,void 0,n),!1,n):mV(r,e,!1,n)}Object.keys(a).length>0&&mV(r,a,!0,n),t&&typeof t==`object`&&(t.allOf?mV(r,pV(t,void 0,n),!0,n):mV(r,t,!0,n));let o=`discriminator`in a||!!(t&&typeof t==`object`&&`discriminator`in t);return`discriminator`in r&&!o&&delete r.discriminator,r},mV=(e,t,n=!1,r=new Set)=>{let i=Cx(t);if(i.length===0)return;let a=fV(e,t,n);for(let a of i){let i=a,o=H(t[a]);if(o!==void 0){if(i===`required`)Array.isArray(o)&&o.length>0&&(e.required=e.required?.length?[...new Set([...e.required,...o])]:o.slice());else if(i===`properties`)o&&typeof o==`object`&&(e.properties||={},hV(e.properties,o,r));else if(i===`items`){let n=i_.schema(o);if(n){if(xv(t)){if(e.items||={},n.allOf){let t=pV(n,void 0,r);Object.assign(e.items,t)}else Lzt(H(e.items),n,r)}else if(n.allOf){let t=pV(n,void 0,r);`properties`in t&&(`properties`in e||(e.properties={}),`properties`in e&&hV(e.properties,t.properties,r))}else`items`in e||(e.items=n)}}else if(a===`enum`)continue;else if(a===`oneOf`||a===`anyOf`)Array.isArray(o)&&o.length>0&&(n||e[a]===void 0)&&(e[a]=o);else if(a===`allOf`)continue;else(n||Fzt.has(i)||e[a]===void 0)&&(e[a]=o)}}Object.assign(e,a)},hV=(e,t,n=new Set)=>{let r=Object.keys(t??{});if(t&&e&&r.length!==0)for(let i of r){let r=i_.schema(t[i]);if(!r){delete e[i];continue}if(typeof r!=`object`){e[i]=r;continue}if(!e[i]){let a=t[i],o=a?.$ref;if(a&&typeof o==`string`&&n.has(o)){e[i]=a;continue}let s=typeof o==`string`?new Set(n).add(o):n;r.allOf?e[i]=pV(r,void 0,s):xv(r)&&i_.schema(r.items)?.allOf?e[i]={...r,items:pV(i_.schema(r.items),void 0,n)}:t[i]&&(e[i]=t[i]);continue}let a=i_.schema(e[i]),o=r.$ref;if(typeof o==`string`&&n.has(o)){e[i]=a;continue}let s=typeof o==`string`?new Set(n).add(o):n;if(r.allOf)e[i]=pV({allOf:[a,r]},void 0,s);else if(xv(r)&&xv(a)&&r.items){let t=i_.schema(a.items);e[i]={...a,type:`array`,items:t?Rzt(t,i_.schema(r.items),s):i_.schema(r.items)}}else if(`properties`in a&&`properties`in r){let t={...a,...r};t.properties={...a.properties},hV(t.properties,r.properties,s),e[i]=t}else e[i]={...r,...a,...fV(a,r)}}},Lzt=(e,t,n=new Set)=>{if(t.allOf||e.allOf){let r=[];if(e.allOf)for(let t of e.allOf)r.push(i_.schema(t));else r.push(e);if(t.allOf)for(let e of t.allOf)r.push(i_.schema(e));else r.push(t);let i=pV({allOf:r},void 0,n);Object.assign(e,i)}else Object.assign(e,t),`properties`in e&&`properties`in t&&hV(e.properties,t.properties,n)},Rzt=(e,t,n=new Set)=>{let r=t.$ref;return typeof r==`string`?n.has(r)?e:gV(e,t,new Set(n).add(r)):gV(e,t,n)},gV=(e,t,n=new Set)=>{if(e.allOf||t.allOf){let r=[];if(e.allOf)for(let t of e.allOf)r.push(i_.schema(t));else r.push(e);if(t.allOf)for(let e of t.allOf)r.push(i_.schema(e));else r.push(t);return pV({allOf:r},void 0,n)}if(`properties`in e&&`properties`in t){let r={...e,...t,properties:{...e.properties}};return hV(r.properties,t.properties,n),r}return{...e,...t}}})),Bzt,_V,vV,yV=s((()=>{zzt(),iu(),a_(),Bzt=[`oneOf`,`anyOf`],_V=(e,t,n)=>{let r=H(e);if(typeof r==`boolean`){t.push({kind:`boolean`,schema:i_.schema(r)});return}let{allOf:i,oneOf:a,anyOf:o,not:s,if:c,then:l,else:u,...d}=i_.schema(e);Object.keys(d).length>0&&t.push({kind:`object`,schema:d});for(let e of Bzt){let r=e===`oneOf`?a:o,i=Array.isArray(r)&&r.some(e=>{let t=e&&typeof e==`object`&&`$ref`in e?e.$ref:void 0;return typeof t==`string`&&n.has(t)});Array.isArray(r)&&r.length>0&&t.push({kind:`choice`,composition:e,value:{[e]:r},inheritedSelection:i})}if(Array.isArray(i)){for(let e of i)if(typeof e==`boolean`||e&&typeof e==`object`){let r=i_.schema(e).$ref;if(typeof r==`string`){if(n.has(r))continue;_V(e,t,new Set(n).add(r))}else _V(e,t,n)}}},vV=e=>{if(!e)return{segments:[]};let{allOf:t,oneOf:n,anyOf:r,not:i,if:a,then:o,else:s,...c}=e;if(!Array.isArray(t))return{segments:[{kind:`object`,schema:e}]};let l=[];Object.keys(c).length>0&&l.push({kind:`object`,schema:c});let u=`$ref`in e?e.$ref:void 0,d=new Set(typeof u==`string`?[u]:[]);for(let e of t)if(typeof e==`boolean`||e&&typeof e==`object`){let t=i_.schema(e).$ref;_V(e,l,typeof t==`string`?new Set(d).add(t):d)}let f=[],p=[],m=0,h=()=>{if(p.length===0)return;let e=p.length===1?p[0]:pV({allOf:p});f.push({kind:`object`,schema:e}),p=[]};for(let e of l)e.kind===`object`?p.push(e.schema):e.kind===`boolean`?(h(),f.push({kind:`object`,schema:e.schema})):e.inheritedSelection?m++:(h(),f.push({kind:`choice`,composition:e.composition,value:e.value,choiceIndex:m++}));return h(),{segments:f}}})),bV,xV,SV=s((()=>{bV=Symbol(`schema-ancestors`),xV=e=>{if(e&&typeof e==`object`)return`$ref`in e&&typeof e.$ref==`string`?e.$ref:e}})),CV,Vzt=s((()=>{CV=(e,t)=>!!(e&&t&&(t===e||t.startsWith(`${e}.`)))})),wV,TV,Hzt,Uzt,EV,DV,OV=s((()=>{Vzt(),B(),wV=(e,t)=>t===``||e===t||e.startsWith(`${t}.`),TV=e=>e?.join(`.`)??``,Hzt=300,Uzt=(e=Cn(``))=>{let t=pn(new Map),n=pn(new Map),r=Cn(`default`),i=e=>{if(n.size===0)return;let t=e;for(;;){let e=n.get(t);if(e!==void 0)return e;let r=t.lastIndexOf(`.`);if(r===-1)return n.get(``);t=t.slice(0,r)}},a=e=>{for(let n of[...t.keys()])wV(n,e)&&t.delete(n)},o=!1,s=e=>{o=!0,e(),nr(()=>{o=!1})},c=(e,t)=>{if(a(e),e===``)n.clear(),r.value=t?`expanded`:`collapsed`;else{for(let t of[...n.keys()])wV(t,e)&&n.delete(t);n.set(e,t)}},l=(n,a={})=>{let o=t.get(n);if(o!==void 0)return o;if(!a.cyclic){let e=i(n);if(e!==void 0)return e;if(r.value===`expanded`)return!0;if(r.value===`collapsed`)return!1}return CV(a.anchorPath??n,e.value)?!0:a.defaultOpen??!1},u=(e,n)=>{t.set(e,n)};return{isExpanded:l,setExpanded:u,toggle:(e,t)=>u(e,!l(e,t)),expandAll:(e=``)=>c(e,!0),collapseAll:(e=``)=>s(()=>c(e,!1)),commitPath:e=>{if(!e)return;let n=e.split(`.`);for(let e=1;e<=n.length;e++){let r=n.slice(0,e).join(`.`);t.set(r,!0);let i=r.lastIndexOf(`.`);i!==-1&&t.set(`${r.slice(0,i)}.~${r.slice(i+1)}`,!0)}},baseline:r,pauseRetentionFor:s,untilFound:(()=>{let e=0;return{acquire:()=>o||e>=Hzt?!1:(e+=1,!0),release:()=>{e=Math.max(0,e-1)}}})()}},EV=Symbol(`schema-tree-root`),DV=(e=Cn(``))=>{let t=Uzt(e);return Ii(()=>{dr(e,e=>{e&&t.commitPath(e)},{immediate:!0});let n=null,r=()=>{n=t.baseline.value,t.baseline.value=`expanded`},i=()=>{if(n!==null){let e=n;t.pauseRetentionFor(()=>{t.baseline.value=e}),n=null}};window.addEventListener(`beforeprint`,r),window.addEventListener(`afterprint`,i),Ri(()=>{window.removeEventListener(`beforeprint`,r),window.removeEventListener(`afterprint`,i)})}),t}})),Wzt,Gzt=s((()=>{Wzt=(e,t)=>!e||!t?[]:Object.entries(t).filter(([,t])=>t===e||`#/components/schemas/${t}`===e).map(([e])=>e)})),Kzt,kV,AV,jV=s((()=>{a_(),Tv(),Kzt=e=>e?`array ${e.includes(` | `)?`(${e})`:e}[]`:`array`,kV=(e,t=!1)=>{if(!e.items)return`array`;let n=Kzt(AV(i_.schema(e.items)));return t?n:e.nullable?`${n} | null`:n},AV=e=>{if(!e)return``;let t=i_.schema(e);if(t.const!==void 0)return`const`;if(`type`in t&&Array.isArray(t.type)){if(t.type.includes(`array`)&&t.items){let e=kV(t,!0),n=t.type.filter(e=>e!==`array`);return n.length>0?`${e} | ${n.join(` | `)}`:e}return t.type.join(` | `)}return xv(t)?kV(t,!1):`type`in t&&t.type&&t.contentEncoding?`${t.type} • ${t.contentEncoding}`:`type`in t?t.type:``}})),MV,NV,PV=s((()=>{mB(),a_(),Tv(),MV=e=>{if(!e||typeof e!=`object`)return null;let t=i_.schema(e),n=`$ref`in e?FLt(e.$ref):null;if(t.title)return{schemaKey:n,label:t.title};if(t.name)return{schemaKey:n,label:t.name};if(`$ref`in e){let t=pB(e.$ref);if(t)return{schemaKey:n,label:t}}return null},NV=e=>{let t=MV(e);if(t)return t;let n=i_.schema(e);if(xv(n)&&n.items){let e=MV(n.items);if(e)return{schemaKey:e.schemaKey,label:`${e.label}[]`}}return null}})),qzt,Jzt,Yzt=s((()=>{B(),qzt={key:0,class:`screenreader-only`},Jzt=k({__name:`ScreenReader`,props:{if:{type:Boolean,default:!0}},setup(e){return(e,t)=>e.$props.if?(j(),M(`span`,qzt,[A(e.$slots,`default`)])):A(e.$slots,`default`,{},void 0,void 0,1)}})})),FV,IV=s((()=>{Yzt(),FV=Jzt})),Xzt,Zzt=s((()=>{lV(),Xzt=e=>{if(!cV(e))return!1;let t=Object.keys(e.properties??{}).length===0,n=e.additionalProperties===void 0||e.additionalProperties===!1,r=Object.keys(e.patternProperties??{}).length===0;return t&&n&&r}})),Qzt,$zt,eBt,LV,tBt=s((()=>{Qzt=e=>[...e.querySelectorAll(`[data-schema-toggle]`)].filter(e=>e.offsetParent!==null&&!e.closest(`[hidden]`)),$zt=e=>e.closest(`.property-children`)?.closest(`.property--tree`)?.querySelector(`:scope > [data-schema-toggle]`)??null,eBt=e=>e.closest(`.property--tree`)?.querySelector(`:scope > .property-children [data-schema-toggle]`)??null,LV=e=>{let t=e.target;if(e.defaultPrevented||!(t instanceof HTMLElement)||!t.hasAttribute(`data-schema-toggle`)||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return;let n=e.currentTarget instanceof HTMLElement?e.currentTarget:null;if(!n)return;let r=Qzt(n),i=r.indexOf(t);if(i===-1)return;let a=t.getAttribute(`aria-expanded`)===`true`;switch(e.key){case`ArrowDown`:r[i+1]?.focus();break;case`ArrowUp`:r[i-1]?.focus();break;case`ArrowRight`:a?eBt(t)?.focus():t.click();break;case`ArrowLeft`:a?t.click():$zt(t)?.focus();break;case`Home`:r[0]?.focus();break;case`End`:r[r.length-1]?.focus();break;default:return}e.preventDefault()}})),RV,nBt,zV,rBt,BV,VV=s((()=>{lV(),a_(),RV=(e,t)=>e.reduce((e,n)=>{let r=t?.[n];return r&&(e[n]=r),e},{}),nBt=new Intl.Collator(void 0),zV=new WeakMap,rBt=Object.freeze([]),BV=(e,t,{hideReadOnly:n=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:i=`alpha`,orderRequiredPropertiesFirst:a=!0}={})=>{if(!cV(e)||!e.properties)return rBt;let o=e.properties,s=e.required,c=t?.propertyName,l=[c===void 0?``:`!${c}`,n,r,i,a].join(`|`),u=zV.get(o),d=u?.get(l);if(d&&d.required===s)return d.names;let f=new Set(s||[]),p=n||r,m=[];for(let e of Object.keys(o)){let t=o[e];if(p){let e=i_.schema(t);if(n&&e?.readOnly===!0||r&&e?.writeOnly===!0)continue}m.push({name:e,order:t&&typeof t==`object`&&`x-order`in t?t[`x-order`]:void 0,required:f.has(e),discriminator:e===c})}m.sort((e,t)=>{if(e.discriminator&&!t.discriminator)return-1;if(!e.discriminator&&t.discriminator)return 1;if(e.order!==void 0&&t.order!==void 0)return Number(e.order)-Number(t.order);if(e.order!==void 0&&t.order===void 0)return-1;if(e.order===void 0&&t.order!==void 0)return 1;if(a){if(e.required&&!t.required)return-1;if(!e.required&&t.required)return 1}return i===`alpha`?nBt.compare(e.name,t.name):0});let h=Object.freeze(m.map(e=>e.name));return typeof o==`object`&&o&&(u?u.set(l,{required:s,names:h}):zV.set(o,new Map([[l,{required:s,names:h}]]))),h}})),iBt,aBt=s((()=>{lV(),SV(),VV(),yH(),B(),a_(),iBt=k({__name:`SchemaObjectProperties`,props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{type:Boolean},level:{},depth:{},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=z(()=>BV(e.schema,e.discriminator,e.options)),n=(e,t)=>{let n=typeof e==`boolean`?e:i_.schema(e);if(typeof n==`object`&&typeof n[`x-additionalPropertiesName`]==`string`&&n[`x-additionalPropertiesName`].trim().length>0)return`${n[`x-additionalPropertiesName`].trim()}`;if(t){let e=i_.schema(t);if(e?.title)return e.title}return`propertyName`},r=e=>{if(!e)return;let t=i_.schema(e);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},i=z(()=>{if(cV(e.schema)&&e.schema.additionalProperties)return r(e.schema.propertyNames)}),a=z(()=>{if(cV(e.schema)&&e.schema.additionalProperties)return e.schema.propertyNames?i_.schema(e.schema.propertyNames):void 0}),o=e=>{if(e!==void 0)return i_.schema(e)},s=e=>{if(e)return typeof e.description==`string`?e.description:void 0},c=z(()=>{if(!cV(e.schema)||!e.schema.properties)return[];let{properties:n}=e.schema,r=new Set(e.schema.required??[]);return t.value.map(e=>{let t=n[e];return{name:e,cycleKey:xV(t),description:s(t),required:r.has(e),schema:o(t)}})}),l=e=>{let t=typeof e==`boolean`?e:i_.schema(e);return t===!0||typeof t==`object`&&Object.keys(t).length===0||typeof t!=`object`||!(`type`in t)?{type:`anything`,...typeof t==`object`?t:{}}:t};return(t,r)=>(j(),M(L,null,[D(cV)(e.schema)&&e.schema.properties?(j(!0),M(L,{key:0},jr(c.value,t=>(j(),N(vH,{key:t.name,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t.name,cycleKey:t.cycleKey,depth:e.depth,description:t.description,discriminator:e.discriminator,eventBus:e.eventBus,expansion:e.expansion,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t.name,options:e.options,required:t.required,schema:t.schema,schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`compositionPath`,`compositionPathSegment`,`cycleKey`,`depth`,`description`,`discriminator`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`required`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`]))),128)):I(``,!0),D(cV)(e.schema)&&e.schema.patternProperties?(j(!0),M(L,{key:1},jr(Object.entries(e.schema.patternProperties),([t,n])=>(j(),N(vH,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,cycleKey:D(xV)(n),depth:e.depth,description:s(n),discriminator:e.discriminator,eventBus:e.eventBus,expansion:e.expansion,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t,options:e.options,schema:o(n),schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`compositionPath`,`compositionPathSegment`,`cycleKey`,`depth`,`description`,`discriminator`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`]))),128)):I(``,!0),D(cV)(e.schema)&&e.schema.additionalProperties?(j(),N(vH,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:n(e.schema.additionalProperties,e.schema.propertyNames),cycleKey:D(xV)(e.schema.additionalProperties),depth:e.depth,discriminator:e.discriminator,eventBus:e.eventBus,expansion:e.expansion,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:n(e.schema.additionalProperties,e.schema.propertyNames),noncollapsible:``,options:e.options,propertyNamesEnum:i.value,propertyNamesSchema:a.value,schema:l(e.schema.additionalProperties),schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension,variant:`additionalProperties`},null,8,[`breadcrumb`,`compact`,`compositionPath`,`compositionPathSegment`,`cycleKey`,`depth`,`discriminator`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`propertyNamesEnum`,`propertyNamesSchema`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`])):I(``,!0)],64))}})})),oBt,sBt=s((()=>{aBt(),oBt=iBt})),cBt,lBt,uBt,dBt,fBt,pBt,mBt,hBt=s((()=>{xB(),CB(),iV(),IV(),Pzt(),lV(),Zzt(),Vzt(),zzt(),yV(),SV(),OV(),tBt(),LB(),jB(),CBt(),yH(),sBt(),B(),a_(),Xz(),x_(),cBt={key:1,class:`schema-card-description [.schema-card--level-0:nth-of-type(1)>&]:has-[+.schema-properties]:mb-0! [.schema-card--level-0:nth-of-type(1)>&]:has-[+.schema-properties]:border-b-0! [.schema-card--level-0:nth-of-type(1)>&]:has-[+.schema-properties]:pb-0!`},lBt={key:2,class:`text-c-2 py-1.5`},uBt={key:0,class:`schema-properties w-full! rounded-none! border-0!`},dBt=[`id`,`aria-controls`,`aria-expanded`],fBt={class:`additional-toggle-label`},pBt=[`id`,`role`],mBt=k({__name:`Schema`,props:{schema:{},level:{default:0},depth:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean,default:!1},hideHeading:{type:Boolean},hideDescription:{type:Boolean,default:!1},additionalProperties:{type:Boolean},additionalPropertyCount:{},hideModelNames:{type:Boolean,default:!1},discriminator:{},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{},cycleKey:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let{translate:t}=IB(),n=z(()=>e.additionalPropertyCount===void 0?t(`schema.showAdditionalProperties`):t(e.additionalPropertyCount===1?`schema.showOneMoreProperty`:`schema.showMoreProperties`,{count:e.additionalPropertyCount})),r=z(()=>e.hideModelNames||!!e.options.hideModelNames),i=oV(),a=z(()=>bB(e.schema)),o=z(()=>{let e=a.value;if(!e||typeof e!=`object`)return e;let t=sV(e,i);return`$ref`in t?i_.schema(t):t}),s=a.value?sV(a.value,i):void 0;cr(aV,s?y_(i,s):i);let c=lr(bV,void 0),l=z(()=>e.cycleKey!=null&&!!c?.has(e.cycleKey)),u=new Set(c??[]);e.cycleKey!=null&&u.add(e.cycleKey),cr(bV,u);let d=z(()=>!!e.options.expandAllSchemaProperties&&!l.value),f=z(()=>CV(TV(e.breadcrumb),e.scrollTargetId??``)),p=z(()=>e.noncollapsible||d.value||f.value),m=z(()=>{let t=o.value;if(e.hideDescription)return null;let n=a.value;return n?.allOf&&n.allOf.length>0&&e.name===`Request Body`?pV(n)?.description||null:!t?.description||typeof t.description!=`string`||t.enum||!(`properties`in t)&&!(`patternProperties`in t)&&!(`additionalProperties`in t)&&!(`allOf`in t)||n?.allOf&&vV(n).segments.some(e=>e.kind===`object`&&e.schema.description===t.description&&(`properties`in e.schema||`patternProperties`in e.schema||`additionalProperties`in e.schema)&&!e.schema.enum)?null:t.description}),h=z(()=>a.value&&!e.discriminator&&cV(a.value)?SB(a.value,e.options.document):null),g=z(()=>!h.value&&cV(o.value)),_=lr(EV,!1),v=z(()=>e.depth===0&&!_);cr(EV,!0);let y=t=>{v.value&&e.options.schemaKeyboardNav&&LV(t)},b=e.expansion??DV(Tn(()=>e.scrollTargetId??``)),x=xr(),ee=z(()=>TV(e.breadcrumb)||`~anonymous-${x}`),te=z(()=>e.noncollapsible||b.isExpanded(ee.value,{cyclic:l.value,defaultOpen:p.value})),ne=z(()=>!e.additionalProperties||te.value),re=xr(),ie=xr(),ae=()=>{e.noncollapsible||b.setExpanded(ee.value,!te.value)};return(i,s)=>o.value&&Object.keys(o.value).length?(j(),M(`div`,{key:0,class:lt([`schema-card`,[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":te.value},{"additional-card--tree":e.additionalProperties},`schema-card--tree`,{"schema-tree [--schema-glyph-background:var(--scalar-background-1)] [--schema-glyph-color:var(--scalar-color-2)]":v.value}]]),onKeydown:y},[D(cV)(o.value)?(j(),N(rV,{key:0,class:`my-2`,value:o.value.externalDocs},null,8,[`value`])):I(``,!0),m.value?(j(),M(`div`,cBt,[R(D(Jz),{value:m.value},null,8,[`value`])])):I(``,!0),D(Xzt)(o.value)?(j(),M(`div`,lBt,T(D(t)(`schema.emptyObject`)),1)):I(``,!0),P(`div`,{class:lt([`schema-properties`,[{"schema-properties-open":te.value},`w-full! rounded-none! border-0! [.schema-card--level-0:nth-of-type(1)>.schema-card-description+&]:mt-0! [.schema-card-description+&]:mt-1.5!`]])},[e.additionalProperties?or((j(),M(`div`,uBt,[P(`button`,{id:D(re),"aria-controls":ne.value?D(ie):void 0,"aria-expanded":te.value,class:`schema-card-title schema-card-title--compact group/tree-control additional-toggle--tree font-code text-c-1! relative flex h-auto min-h-8 items-center gap-0! px-0! py-[var(--schema-row-pad,6px)]! text-sm! font-bold!`,type:`button`,onClick:ae},[R(AB,{class:`additional-toggle-glyph`}),P(`span`,fBt,[F(T(n.value)+` `,1),e.name?(j(),N(FV,{key:0},{default:O(()=>[F(T(D(t)(`schema.forName`,{name:e.name})),1)]),_:1})):I(``,!0)])],8,dBt)],512)),[[za,!te.value]]):I(``,!0),ne.value?(j(),M(`ul`,{key:1,id:D(ie),role:g.value?`list`:`presentation`},[h.value?(j(),N(WV,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,composition:`oneOf`,compositionPath:e.compositionPath,depth:e.depth,discriminator:a.value?.discriminator,eventBus:e.eventBus,expansion:D(b),hideHeading:e.hideHeading,hideModelNames:r.value,level:e.level,name:e.name,options:e.options,schema:h.value,schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`compositionPath`,`depth`,`discriminator`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`])):D(cV)(o.value)?(j(),N(oBt,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,depth:e.depth,discriminator:e.discriminator??o.value?.discriminator,eventBus:e.eventBus,expansion:D(b),hideHeading:e.hideHeading,hideModelNames:r.value,level:e.level+1,options:e.options,schema:o.value,schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`compositionPath`,`depth`,`discriminator`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`options`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`])):(j(),M(L,{key:2},[o.value?(j(),N(vH,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,depth:e.depth,discriminator:e.discriminator,eventBus:e.eventBus,expansion:D(b),hideHeading:e.hideHeading,hideModelNames:r.value,level:e.level,options:e.options,schema:o.value,schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`compositionPath`,`depth`,`discriminator`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`options`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`])):I(``,!0)],64))],8,pBt)):I(``,!0)],2)],34)):I(``,!0)}})})),HV,UV=s((()=>{TB(),hBt(),HV=wB(mBt,[[`__scopeId`,`data-v-86862f28`]])})),gBt,_Bt,vBt,yBt,bBt,xBt,SBt=s((()=>{fB(),dRt(),yV(),SV(),LB(),Gzt(),jV(),PV(),jB(),NB(),UV(),B(),uB(),Qs(),Zl(),a_(),gBt={class:`property-rule [.children+&]:mt-1.5!`},_Bt={class:`composition-selector composition-selector--tree group/tree-control font-code relative flex w-fit max-w-full cursor-pointer items-start gap-1.5 py-1 text-sm`,type:`button`},vBt={class:`text-c-1 shrink-0 [font-weight:var(--scalar-bold)] whitespace-nowrap`},yBt=[`title`],bBt={key:0,class:`text-red`},xBt=k({__name:`SchemaComposition`,props:{composition:{},discriminator:{},name:{},schema:{},level:{},depth:{default:0},compact:{type:Boolean,default:!1},hideHeading:{type:Boolean,default:!1},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=e,{translate:n}=IB(),r=z(()=>t.composition===`allOf`?vV(t.schema).segments:[]),i=z(()=>[t.schema[t.composition]].flat().map(e=>({value:i_.schema(e),original:e})).filter(e=>Xl(e.value))),a=z(()=>i.value.map((e,r)=>{let i=i_.schema(e.original),a=(NV(i)?.label??AV(i))||n(`schema.schema`),o=(t.schema.discriminator??t.discriminator)?.mapping,s=Wzt(i.$ref,o),c=i.discriminator?.[dB]?.value,l=s.length?s:c===void 0?[]:[c];return{id:String(r),label:l.length&&l.join(`, `)!==a?`${l.join(`, `)} · ${a}`:a}})),o=z(()=>t.compositionPath?.length?[...t.compositionPath,t.composition].join(`.`):``),s=lr(kB,void 0),c=z(()=>{if(t.schemaContext!==`requestBody`||!s?.value||!o.value)return 0;let e=s.value[o.value];return typeof e!=`number`||Number.isNaN(e)?0:Math.max(0,Math.min(e,a.value.length-1))}),l=E();dr([a,c],([e,t])=>{(!l.value||!e.some(e=>e.id===l.value?.id))&&(l.value=e[t]??e[0])},{immediate:!0});let u=e=>t.schema[dB]?.inheritedVariants?n(`schema.variants`):n(`schema.${e}`),d=z(()=>i.value[Number(l.value?.id??`0`)]?.value),f=z(()=>{let e=d.value?.discriminator;return e?.[dB]?e:t.discriminator}),p=z(()=>t.schemaContext===`requestBody`&&t.compositionPath?.length===1),m=z(()=>xV(i.value[Number(l.value?.id??`0`)]?.original)),h=E(!!t.options.expandAllSchemaProperties);return s&&t.schemaContext===`requestBody`&&o.value&&dr(l,e=>{let t=e?Number(e.id):0;Number.isNaN(t)||(s.value={...s.value,[o.value]:t})},{immediate:!0}),(i,o)=>{let s=kr(`SchemaComposition`,!0);return j(),M(`div`,gBt,[t.composition===`allOf`?(j(!0),M(L,{key:0},jr(r.value,(t,n)=>(j(),M(L,{key:n},[t.kind===`object`?(j(),N(HV,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,depth:e.depth,discriminator:e.schema.discriminator??e.discriminator,eventBus:e.eventBus,expansion:e.expansion,hideDescription:p.value,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:t.schema,schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`compositionPath`,`depth`,`discriminator`,`eventBus`,`expansion`,`hideDescription`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`])):(j(),N(s,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,composition:t.composition,compositionPath:[...e.compositionPath??[],String(t.choiceIndex)],depth:e.depth,eventBus:e.eventBus,expansion:e.expansion,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:t.value,schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`composition`,`compositionPath`,`depth`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`options`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`]))],64))),128)):(j(),N(MB,{key:1,class:`composition-panel composition-panel--tree mt-1 mb-0.5`,depth:e.depth+1},{default:O(()=>[R(D(oB),{modelValue:l.value,"onUpdate:modelValue":o[0]||=e=>l.value=e,class:`w-fit max-w-full min-w-40`,options:a.value},{default:O(()=>[P(`button`,_Bt,[R(AB,{anchor:`line`,class:`composition-selector-icon mt-1`},{default:O(()=>[R(D(Lde))]),_:1}),P(`span`,vBt,T(u(t.composition)),1),o[2]||=P(`span`,{"aria-hidden":`true`,class:`text-c-3 shrink-0`},`·`,-1),P(`span`,{class:lt([`composition-selector-label text-c-1 min-w-0 truncate [font-weight:var(--scalar-bold)]`,{"line-through":d.value?.deprecated}]),title:l.value?.label||D(n)(`schema.schema`)},T(l.value?.label||D(n)(`schema.schema`)),11,yBt),d.value?.deprecated?(j(),M(`div`,bBt,T(D(n)(`schema.deprecated`)),1)):I(``,!0)])]),_:1},8,[`modelValue`,`options`]),!h.value&&e.level>2?(j(),M(`button`,{key:0,class:`composition-details-toggle group/tree-control font-code text-c-1 relative flex w-fit cursor-pointer items-center py-1.5 text-sm font-normal`,type:`button`,onClick:o[1]||=e=>h.value=!0},[R(AB),F(` `+T(D(n)(`schema.showSchemaDetails`)),1)])):(j(),N(HV,{key:l.value?.id??`0`,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,cycleKey:m.value,depth:e.depth+1,discriminator:f.value,eventBus:e.eventBus,expansion:e.expansion,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:d.value,schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`compositionPath`,`cycleKey`,`depth`,`discriminator`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`]))]),_:1},8,[`depth`]))])}}})})),WV,CBt=s((()=>{TB(),SBt(),WV=wB(xBt,[[`__scopeId`,`data-v-e22666da`]])})),wBt,TBt,EBt=s((()=>{LB(),B(),Qs(),wBt={class:`sr-only`},TBt=k({__name:`CopyLinkButton`,props:{anchorId:{},eventBus:{}},setup(e){let{translate:t}=IB(),n=z(()=>t(`actions.copyLinkTo`,{name:e.anchorId.split(`.`).pop()??``}));return(t,r)=>(j(),M(`button`,{class:`copy-link-trailing text-c-3 hover:text-c-1 -my-1.25 ms-1.25! -me-1.25! flex shrink-0 cursor-pointer items-center justify-center self-center p-1.25 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 pointer-coarse:hidden`,type:`button`,onClick:r[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.anchorId})},[R(D(lhe),{"aria-hidden":`true`,class:`size-3.5`}),P(`span`,wBt,[A(t.$slots,`sr-label`,{},()=>[F(T(n.value),1)])])]))}})})),DBt,OBt=s((()=>{EBt(),DBt=TBt})),kBt,ABt,jBt=s((()=>{B(),kBt=[`id`],ABt=k({__name:`WithBreadcrumb`,props:{breadcrumb:{}},setup(e){return(t,n)=>e.breadcrumb&&e.breadcrumb.length>0?(j(),M(`div`,{key:0,id:e.breadcrumb.join(`.`),class:`static scroll-mt-24`,tabindex:`-1`},[A(t.$slots,`default`)],8,kBt)):A(t.$slots,`default`,{},void 0,void 0,1)}})})),MBt,NBt=s((()=>{jBt(),MBt=ABt})),PBt,FBt=s((()=>{a_(),Tv(),PBt=e=>{if(!e)return[];if(e.enum)return e.enum;if(xv(e)&&typeof e.items==`object`){let t=i_.schema(e.items);if(t&&`enum`in t&&t.enum)return t.enum}return[]}})),IBt,LBt,RBt=s((()=>{Tv(),IBt={integer:{_default:`schema.typeInteger`,int32:`schema.formatInt32`,int64:`schema.formatInt64`},string:{date:`schema.formatDate`,"date-time":`schema.formatDateTime`,password:`schema.formatPassword`,base64:`schema.formatBase64`,byte:`schema.formatBase64`,binary:`schema.formatBinary`}},LBt=e=>{if(!aHe(e))return null;let t=Array.isArray(e.type)?e.type[0]:e.type;if(!t)return null;let n=IBt[t];return n?n[`format`in e&&e.format||`contentEncoding`in e&&e.contentEncoding||`_default`]??null:null}})),GV,KV,qV,JV,YV,XV,zBt,ZV,QV,$V,BBt,VBt,eH,tH=s((()=>{mB(),iu(),a_(),GV=3,KV=[`x-enumDescriptions`,`x-enum-descriptions`,`x-enum-varnames`,`x-enumNames`],qV=e=>typeof e==`object`&&e?JSON.stringify(e):typeof e==`string`?`"${e}"`:String(e),JV=e=>({kind:`word`,text:e}),YV=e=>({kind:`ident`,text:e}),XV=e=>({kind:`literal`,text:e}),zBt=()=>({kind:`punctuation`,text:`|`}),ZV=(e,t)=>e.flatMap((e,n)=>n===0?e:[...t(),...e]),QV=(e,t={},n=!1)=>{if(!e||typeof e!=`object`||`$ref`in e&&typeof e.$ref==`string`&&!t.hideModelNames&&pB(e.$ref))return!1;let r=t.hideModelNames?i_.schema(e):H(e);if(!r||typeof r!=`object`||r.const!==void 0)return!1;if(!KV.some(e=>r[e])&&Array.isArray(r.enum)&&r.enum.length>0&&r.enum.length<=GV)return!0;if(!n&&!(`type`in r))return!1;let i=`type`in r?r.type:void 0,a=i===`array`||Array.isArray(i)&&i.includes(`array`),o=`items`in r?r.items:void 0;return a&&o&&typeof o==`object`?QV(o,t,!0):!1},$V=(e,t={},n=0)=>{if(!e||typeof e!=`object`)return[];if(`$ref`in e&&typeof e.$ref==`string`){let n=t.hideModelNames?null:pB(e.$ref);if(n)return[YV(n)]}let r=t.hideModelNames?i_.schema(e):H(e);return!r||typeof r!=`object`?[]:r.const===void 0?Array.isArray(r.enum)&&r.enum.length>0&&r.enum.length<=GV&&!KV.some(e=>r[e])?ZV(r.enum.map(e=>[XV(qV(e))]),()=>[JV(`or`)]):`type`in r&&Array.isArray(r.type)?ZV(r.type.map(e=>e===`array`?eH(r,t,n):[YV(String(e))]),()=>[zBt()]):`type`in r&&r.type===`array`?eH(r,t,n):`type`in r&&r.type&&r.contentEncoding?[YV(String(r.type)),JV(`•`),YV(r.contentEncoding)]:`type`in r&&r.type?[YV(String(r.type))]:[]:[XV(qV(r.const))]},BBt=(e,t={})=>{let n=$V(e,{hideModelNames:t.hideModelNames}),r=t.modelName;if(t.hideModelNames||!r)return n;let i=e=>!!e&&typeof e==`object`&&`$ref`in e;if(n.length===0||n.length===1&&n[0]?.text===`object`||i(e)&&n.length===1&&n[0]?.kind===`ident`&&n[0]?.text!==r)return[YV(r)];let a=e&&typeof e==`object`&&`items`in e?e.items:void 0,o=n[0],s=n[1];if(i(a)&&n.length===2&&o?.kind===`word`&&s?.kind===`ident`&&r.endsWith(`[]`)){let e=r.slice(0,-2);if(e&&e!==s.text)return[o,YV(e)]}return n},VBt=8,eH=(e,t,n)=>{let r=`items`in e?e.items:void 0;if(!r||n>=VBt)return[YV(`array`)];let i=$V(r,t,n+1);return i.length===0?[YV(`array`)]:[JV(`array of`),...i]}})),HBt,UBt=s((()=>{lV(),yV(),HBt=(e,t)=>{if(!t||!e?.allOf||e.oneOf||e.anyOf||e.not)return e;let{segments:n}=vV(e),r=n[0];if(n.length!==1||r?.kind!==`object`||!cV(r.schema))return e;let i={...r.schema};`$ref`in i&&delete i.$ref;let a={title:e.title,description:e.description,deprecated:e.deprecated,readOnly:e.readOnly,writeOnly:e.writeOnly,example:e.example,examples:e.examples,nullable:e.nullable};return{...i,...a,...`$ref`in e&&typeof e.$ref==`string`?{$ref:e.$ref}:{}}}}));function nH(...e){let t={},n={},r=new Set,i=!1,a=!1;for(let o of e)if(o)for(let[e,s]of Object.entries(o))if(e===`properties`&&s&&typeof s==`object`)Object.assign(n,s),i=!0;else if(e===`required`&&Array.isArray(s)){for(let e of s)r.add(e);a=!0}else t[e]=s;return i&&(t.properties=n),a&&(t.required=[...r]),t}function rH(e){if(!e||typeof e!=`object`||e[dB]?.inheritedVariants)return e;let t=hB.find(t=>t in e&&t!==`not`);if(!t)return{...e};let n=e[t];if(!Array.isArray(n))return{...e};let{[t]:r,nullable:i,...a}=e,o=Object.keys(a).length>0,{filteredSchemas:s,hasNullSchema:c}=n.reduce((e,t)=>{let n=i_.schema(t);return`type`in n&&n.type===`null`?e.hasNullSchema=!0:e.filteredSchemas.push(n),e},{filteredSchemas:[],hasNullSchema:!1}),l=c||i===!0;if(s.length===1){let e=nH(s[0],a);return l&&(e.nullable=!0),e}if((t===`oneOf`||t===`anyOf`)&&(o||s.some(e=>e.allOf))){let{discriminator:n,...r}=a,i=s.map(e=>{let t=i_.schema(e);if(t.allOf?.length===1){let{allOf:e,...n}=t,i=i_.schema(e[0]);if(`properties`in n||`required`in n||`$ref`in n){let{$ref:e,title:t,name:a,...o}=i;return nH(r,n,o)}return nH(r,n,i)}return nH(r,t)}),o={[t]:i};return typeof e.description==`string`&&(o.description=e.description),l&&(o.nullable=!0),o}if(s.length!==n.length){let n={...e,[t]:s};return l&&(n.nullable=!0),n}return{...e}}var iH=s((()=>{fB(),ILt(),a_()})),WBt,GBt=s((()=>{WBt=(e,t)=>!e||e.allOf?null:t&&e.description?t===e.description?t:`${t}\n\n${e.description}`:t||e.description||null})),KBt,qBt=s((()=>{KBt=(e,t,n=!1)=>t||n?!0:e?e.deprecated===!0||e.const!==void 0||e.enum?.length===1||`type`in e&&e.type!==void 0||`nullable`in e&&e.nullable===!0||e.writeOnly===!0||e.readOnly===!0:!1})),JBt,YBt,XBt=s((()=>{B(),iu(),JBt={key:0,class:`property-collapsed-preview font-code text-c-1 max-w-max min-w-0 flex-1 basis-0 truncate text-(length:--scalar-mini)`},YBt=k({__name:`SchemaCollapsedPreview`,props:{schema:{},propertyNames:{},limit:{default:3}},setup(e){let t=z(()=>{if(!e.schema||typeof e.schema!=`object`)return null;let t=`properties`in e.schema?e.schema:H(e.schema)??e.schema,n=e.propertyNames??(t&&`properties`in t&&t.properties?Object.keys(t.properties):[]);if(n.length===0)return null;let r=n.slice(0,e.limit),i=n.length-r.length;return`{ ${(i>0?[...r,`+${i}`]:r).join(`, `)} }`});return(e,n)=>t.value?(j(),M(`span`,JBt,T(t.value),1)):I(``,!0)}})})),ZBt,QBt=s((()=>{XBt(),ZBt=YBt})),$Bt,eVt=s((()=>{$Bt={path:/[\/\.-]/,property:/[A-Z\_\.-]/}})),tVt,nVt,rVt=s((()=>{eVt(),B(),tVt={key:0},nVt=k({inheritAttrs:!1,__name:`ScalarWrappingText`,props:{text:{default:``},preset:{default:`path`},regex:{}},setup(e){let t=z(()=>{let t=new RegExp(e.regex??$Bt[e.preset],`g`);return e.text.replace(t,`⁠$&`).split(`⁠`).filter(Boolean)});return(e,n)=>(j(!0),M(L,null,jr(t.value,(e,t)=>(j(),M(L,{key:t},[t===0?I(``,!0):(j(),M(`wbr`,tVt)),F(T(e),1)],64))),128))}})})),aH,iVt=s((()=>{rVt(),aH=nVt})),oH=s((()=>{iVt()})),aVt,oVt,sVt,cVt,lVt=s((()=>{B(),oH(),Xz(),aVt={class:`property-enum-row flex flex-col gap-0.5 border-t px-3 py-2`},oVt={class:`property-enum-row-label font-code text-c-1 text-sm`},sVt={key:0,class:`property-enum-row-description text-c-2 text-(length:--scalar-small) [&_.markdown]:-mb-0.5`},cVt=k({__name:`SchemaEnumPropertyItem`,props:{label:{},description:{}},setup(e){return(t,n)=>(j(),M(`li`,aVt,[P(`span`,oVt,[R(D(aH),{preset:`property`,text:e.label},null,8,[`text`])]),e.description?(j(),M(`span`,sVt,[R(D(Jz),{value:e.description},null,8,[`value`])])):I(``,!0)]))}})})),sH,uVt=s((()=>{lVt(),sH=cVt})),dVt,fVt,pVt,mVt,hVt,gVt,_Vt,vVt,yVt,cH,bVt,xVt=s((()=>{LB(),jB(),uVt(),B(),a_(),Tv(),dVt={key:0,class:`property-enum property-enum--tree mt-2 rounded-(--scalar-radius-lg) border`},fVt={class:`property-enum-header text-c-2 px-3 py-2 text-sm capitalize`},pVt={key:0,class:`text-c-2 border-t px-3 py-2 text-sm`},mVt={key:1,class:`property-enum-chip-list flex flex-wrap gap-1 border-t px-3 py-2`,role:`list`},hVt={key:2,class:`property-enum-values-card`,role:`list`},gVt={key:1,class:`border-t`},_Vt=12,vVt=8,yVt=24,cH=` `,bVt=k({__name:`SchemaEnums`,props:{value:{},propertyNames:{type:Boolean,default:!1}},setup(e){let{translate:t}=IB(),n=z(()=>{if(e.value)return e.value.enum?e.value:xv(e.value)?i_.schema(e.value.items):void 0}),r=z(()=>n.value?.enum??[]),i=z(()=>r.value.length>_Vt),a=z(()=>i.value?vVt:r.value.length),o=z(()=>!e.propertyNames&&r.value.length>0&&!i.value&&r.value.every((e,t)=>d(e,t).length<=yVt)&&!s.value),s=z(()=>r.value.some((e,t)=>u(e,t)!==void 0)),c=z(()=>r.value.slice(0,a.value)),l=z(()=>r.value.slice(a.value)),u=(e,t)=>{let r=n.value,i=r?.[`x-enumDescriptions`]??r?.[`x-enum-descriptions`];if(i){if(Array.isArray(i))return i[t]||void 0;if(typeof i==`object`&&i)return i[String(e)]||void 0}},d=(e,t)=>{let r=n.value?.[`x-enum-varnames`]??n.value?.[`x-enumNames`],i=Array.isArray(r)?r[t]:void 0;return i?`${e}${cH}=${cH}${i}`:String(e)},f=E(!1),p=()=>{f.value=!f.value};return(s,m)=>n.value?.enum===void 0?I(``,!0):(j(),M(`div`,dVt,[P(`div`,fVt,T(e.propertyNames?D(t)(`schema.propertyNames`):D(t)(`schema.values`)),1),r.value.length===0?(j(),M(`p`,pVt,T(D(t)(`schema.noAllowedValues`)),1)):o.value?(j(),M(`div`,mVt,[(j(!0),M(L,null,jr(r.value,(e,t)=>(j(),M(`span`,{key:t,class:`property-enum-chip font-code text-c-2 rounded-(--scalar-radius-lg) border px-1.5 py-px text-(length:--scalar-mini)`,role:`listitem`},T(d(e,t)),1))),128))])):(j(),M(`ul`,hVt,[(j(!0),M(L,null,jr(c.value,(e,t)=>(j(),N(sH,{key:t,description:u(e,t),label:d(e,t)},null,8,[`description`,`label`]))),128)),i.value&&f.value?(j(!0),M(L,{key:0},jr(l.value,(e,t)=>(j(),N(sH,{key:a.value+t,description:u(e,a.value+t),label:d(e,a.value+t)},null,8,[`description`,`label`]))),128)):I(``,!0),i.value?(j(),M(`li`,gVt,[P(`button`,{class:`enum-toggle-button group/tree-control text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1.5 px-3 py-2 text-sm`,type:`button`,onClick:p},[R(AB,{floating:!1,open:f.value},null,8,[`open`]),F(` `+T(f.value?D(t)(`schema.hideValues`):D(t)(`schema.showAllValues`)),1)])])):I(``,!0)]))]))}})})),lH,SVt=s((()=>{TB(),xVt(),lH=wB(bVt,[[`__scopeId`,`data-v-1b21ab2e`]])})),CVt,wVt=s((()=>{B(),Kl(),CVt=k({inheritAttrs:!1,__name:`Badge`,props:{color:{}},setup(e){let{cx:t}=Gl(),n=z(()=>e.color?{"--badge-color":e.color}:void 0);return(r,i)=>(j(),M(`div`,oi(D(t)(`badge inline-block rounded-2xl border bg-b-2 px-1.5 py-0.5 text-c-2 text-sm`,{"badge-colored":!!e.color}),{style:n.value}),[A(r.$slots,`default`,{},void 0,!0)],16))}})})),uH,dH=s((()=>{TB(),wVt(),uH=wB(CVt,[[`__scopeId`,`data-v-2a7101e8`]])})),fH,pH=s((()=>{fH=e=>!!(e?.[`x-internal`]||e?.[`x-scalar-ignore`])})),mH,TVt=s((()=>{xB(),iu(),pH(),mH=(e,{hideModels:t,document:n})=>{if(!e||t)return!1;let r=bB(n)?.components?.schemas?.[e];return!fH(H(r,ru))}})),EVt,DVt=s((()=>{B(),EVt=k({__name:`RenderString`,props:{value:{}},setup(e){let t=z(()=>e.value===``?`''`:e.value===null?`null`:e.value===void 0?`undefined`:e.value);return(e,n)=>T(t.value)}})})),hH,OVt=s((()=>{DVt(),hH=EVt}));function gH(e){return Array.isArray(e)?`[${e.map(e=>typeof e==`string`?`"${e.toString().trim()}"`:typeof e==`object`?JSON.stringify(e):e===void 0?`undefined`:e===null?`null`:e).join(`, `)}]`:e===null?`null`:typeof e==`object`?JSON.stringify(e):e===void 0?`undefined`:typeof e==`string`?e.trim():e.toString().trim()}var kVt=s((()=>{})),AVt,jVt,MVt,NVt,PVt,FVt=s((()=>{LB(),kVt(),B(),gS(),$B(),jT(),AVt=[`aria-controls`,`aria-expanded`],jVt=[`id`],MVt=[`aria-label`],NVt=500,PVt=k({__name:`SchemaPropertyDefault`,props:{value:{}},setup(e){let{copyToClipboard:t}=QB(),{translate:n}=IB(),r=E(null),i=E(null),a=E(!1),o=xr(),s=()=>{a.value=!a.value},c=()=>{!u&&!l&&(a.value=!0)},l=!1,u=!1,d=0,f=()=>{u=!0,window.clearTimeout(d),d=window.setTimeout(()=>{u=!1},NVt)},p=e=>{let t=e.relatedTarget;(!(t instanceof Node)||!r.value?.contains(t))&&(a.value=!1)},m=()=>{let e=r.value?.contains(document.activeElement);a.value=!1,e&&(l=!0,i.value?.focus(),l=!1)};return CT(r,m),TT(`Escape`,()=>{a.value&&m()}),(l,u)=>e.value===void 0?I(``,!0):(j(),M(`div`,{key:0,ref_key:`rootRef`,ref:r,class:lt([`property-default`,{"is-open":a.value}]),onFocusin:c,onFocusout:p},[P(`button`,{ref_key:`labelRef`,ref:i,"aria-controls":D(o),"aria-expanded":a.value,class:`property-default-label`,type:`button`,onClick:s,onPointerdown:f},[P(`span`,null,T(D(n)(`schema.default`)),1)],40,AVt),P(`div`,{id:D(o),class:lt([`property-default-value-list`,{"flex!":a.value}])},[P(`button`,{"aria-label":`${D(n)(`common.copyDefault`)}: ${D(gH)(e.value)}`,class:`property-default-value group`,type:`button`,onClick:u[0]||=n=>D(t)(D(gH)(e.value))},[P(`span`,null,T(D(gH)(e.value)),1),R(D(fS),{"aria-hidden":`true`,class:`group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3`,icon:`Clipboard`,size:`xs`})],8,MVt)],10,jVt)],34))}})})),IVt,LVt=s((()=>{TB(),FVt(),IVt=wB(PVt,[[`__scopeId`,`data-v-46973243`]])})),RVt,zVt,BVt,VVt,HVt=s((()=>{B(),RVt={key:0,class:`property-detail-prefix`},zVt={key:1,class:`property-detail-value`},BVt={key:2,class:`property-detail-value`},VVt=k({__name:`SchemaPropertyDetail`,props:{truncate:{type:Boolean},code:{type:Boolean}},setup(e){return(t,n)=>(j(),M(`span`,{class:lt([`property-detail`,{"property-detail-truncate":e.truncate}])},[t.$slots.prefix?(j(),M(`div`,RVt,[A(t.$slots,`prefix`,{},void 0,!0),n[0]||=F(`\xA0 `,-1)])):I(``,!0),e.code?(j(),M(`code`,zVt,[A(t.$slots,`default`,{},void 0,!0)])):(j(),M(`span`,BVt,[A(t.$slots,`default`,{},void 0,!0)]))],2))}})})),_H,UVt=s((()=>{TB(),HVt(),_H=wB(VVt,[[`__scopeId`,`data-v-8b57daa7`]])})),WVt,GVt,KVt,qVt=s((()=>{DB(),LB(),B(),gS(),$B(),jT(),WVt={class:`property-pattern-popup`},GVt=[`aria-label`],KVt=k({__name:`SchemaPropertyPattern`,props:{pattern:{}},setup(e){let{copyToClipboard:t}=QB(),{translate:n}=IB(),r=E(null),i=E(!1),a=()=>{i.value=!i.value},o=()=>{i.value=!1};return CT(r,o),TT(`Escape`,()=>{i.value&&o()}),(o,s)=>(j(),M(`div`,{ref_key:`rootRef`,ref:r,class:lt([`property-pattern`,{"is-open":i.value}])},[R(EB,{class:`decoration-dotted`,onClick:a},{default:O(()=>[F(T(D(n)(`schema.pattern`)),1)]),_:1}),P(`div`,WVt,[P(`button`,{"aria-label":`${D(n)(`schema.copyPattern`)}: ${e.pattern}`,class:`property-pattern-value group`,type:`button`,onClick:s[0]||=n=>D(t)(e.pattern)},[P(`code`,null,T(e.pattern),1),R(D(fS),{"aria-hidden":`true`,class:`group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3`,icon:`Clipboard`,size:`xs`})],8,GVt)])],2))}})})),JVt,YVt=s((()=>{TB(),qVt(),JVt=wB(KVt,[[`__scopeId`,`data-v-e8f7b07b`]])})),XVt,ZVt,QVt,$Vt,eHt,tHt,nHt,rHt,iHt,aHt,oHt,sHt,cHt,lHt,uHt,dHt=s((()=>{LB(),jV(),PV(),tH(),dH(),TVt(),OVt(),LVt(),UVt(),Czt(),YVt(),B(),Zl(),a_(),Tv(),XVt={class:`property-heading [&>.property-detail:has(+.property-detail)]:mr-0`},ZVt={key:1,class:`property-discriminator`},QVt={class:`font-code text-c-accent`},$Vt={class:`screenreader-only`},eHt={key:0,class:`property-type-signature text-c-2 text-(length:--scalar-mini)`},tHt={key:1,class:`property-type-signature text-c-2 text-(length:--scalar-mini)`},nHt={key:0,class:`screenreader-only`},rHt={key:3,class:`property-additional`},iHt={key:4,class:`property-deprecated`},aHt={key:5,class:`text-c-2`},oHt={key:6,class:`property-const`},sHt={key:8,class:`property-write-only`},cHt={key:9,class:`property-read-only`},lHt={key:10,class:`property-required`},uHt=k({__name:`SchemaPropertyHeading`,props:{value:{},enum:{type:Boolean},isDiscriminator:{type:Boolean,default:!1},discriminatorValue:{},required:{type:Boolean,default:!1},additional:{type:Boolean},withExamples:{type:Boolean,default:!0},hideModelNames:{type:Boolean,default:!1},modelLinkOptions:{},modelName:{},propertyNames:{},eventBus:{default:null},keyKind:{},recursiveTo:{}},setup(e){let t=e,{translate:n}=IB(),r=Tn(t,`value`),i=z(()=>{if(!r.value)return;let e=r.value;if(e.const!==void 0)return e.const;if(e.enum?.length===1)return e.enum[0];if(xv(e)&&e.items){let t=i_.schema(e.items);if(Xl(t.const))return t.const;if(t.enum?.length===1)return t.enum[0]}}),a=e=>{let t=[];return Sv(e)&&(e.minLength&&t.push({key:`min-length`,prefix:`${n(`schema.minLength`)}: `,value:e.minLength}),e.maxLength&&t.push({key:`max-length`,prefix:`${n(`schema.maxLength`)}: `,value:e.maxLength})),(Sv(e)||Cv(e))&&e.format&&t.push({key:`format`,value:e.format,truncate:!0}),Cv(e)&&(Xl(e.exclusiveMinimum)&&t.push({key:`exclusive-minimum`,prefix:`${n(`schema.greaterThan`)}: `,value:e.exclusiveMinimum}),Xl(e.minimum)&&t.push({key:`minimum`,prefix:`${n(`schema.min`)}: `,value:e.minimum}),Xl(e.exclusiveMaximum)&&t.push({key:`exclusive-maximum`,prefix:`${n(`schema.lessThan`)}: `,value:e.exclusiveMaximum}),Xl(e.maximum)&&t.push({key:`maximum`,prefix:`${n(`schema.max`)}: `,value:e.maximum}),Xl(e.multipleOf)&&t.push({key:`multiple-of`,prefix:`${n(`schema.multipleOf`)}: `,value:e.multipleOf})),t},o=z(()=>{if(!r.value)return[];let e=r.value,t=[];return xv(e)&&((e.minItems||e.maxItems)&&t.push({key:`array-range`,value:`${e.minItems||``}…${e.maxItems||``}`}),e.uniqueItems&&t.push({key:`unique-items`,value:`${n(`schema.unique`)}!`})),t.push(...a(e)),xv(e)&&e.items&&t.push(...a(i_.schema(e.items))),t}),s=z(()=>!t.value||t.hideModelNames?null:t.modelName?{schemaKey:t.modelName,label:t.modelName}:NV(t.value)),c=z(()=>mH(s.value?.schemaKey,t.modelLinkOptions??{})),l=z(()=>BBt(t.value,{hideModelNames:t.hideModelNames,modelName:s.value?.label})),u=z(()=>!t.value||!(`type`in t.value)?!1:t.value.type===`array`||!i.value),d=z(()=>{let e=t.propertyNames;if(!e)return;let n=[AV(e)];`format`in e&&typeof e.format==`string`&&n.push(e.format);let r=n.filter(Boolean).join(` · `);return r.length>0?r:void 0}),f=z(()=>{if(t.value&&`example`in t.value&&t.value.example!==void 0)return t.value.example;if(t.value&&xv(t.value)){let e=i_.schema(t.value.items);if(e&&`example`in e&&e.example!==void 0)return e.example}}),p=z(()=>{if(f.value!==void 0)return!0;let e=t.value?.examples;return!!e&&typeof e==`object`&&Object.keys(e).length>0}),m=z(()=>{let e=r.value;if(e){if(Sv(e)&&e.pattern)return e.pattern;if(xv(e)&&e.items){let t=i_.schema(e.items);if(Sv(t)&&t.pattern)return t.pattern}}});return(r,a)=>(j(),M(`div`,XVt,[r.$slots.name?(j(),M(`div`,{key:0,class:lt([`property-name`,{deprecated:t.value?.deprecated}])},[A(r.$slots,`name`,{},void 0,!0)],2)):I(``,!0),t.isDiscriminator?(j(),M(`div`,ZVt,T(D(n)(`schema.discriminator`)),1)):I(``,!0),t.value?(j(),M(L,{key:2},[t.keyKind?(j(),N(_H,{key:0,class:`property-key-kind`},{default:O(()=>[P(`span`,QVt,T(t.keyKind===`pattern`?`patternProperty`:`additionalProperty`),1)]),_:1})):I(``,!0),u.value?(j(),N(_H,{key:1,truncate:``},{default:O(()=>[P(`span`,$Vt,T(D(n)(`schema.type`))+`: `,1),t.eventBus&&s.value?.schemaKey&&c.value?(j(),M(`button`,{key:0,class:`text-c-2 hover:text-c-1 underline`,type:`button`,onClick:a[0]||=e=>t.eventBus.emit(`scroll-to:model-by-name`,{name:s.value.schemaKey})},[l.value.length?(j(),M(`span`,eHt,[(j(!0),M(L,null,jr(l.value,(e,t)=>(j(),M(L,{key:t},[F(T(t>0?` `:``),1),P(`span`,{class:lt([`property-type-token`,[`property-type-token--${e.kind}`,e.kind===`word`?`font-sans`:``,e.kind===`ident`||e.kind===`literal`?`font-code`:``,e.kind===`punctuation`?`text-c-2`:``]])},T(e.text),3)],64))),128))])):I(``,!0)])):l.value.length?(j(),M(`span`,tHt,[(j(!0),M(L,null,jr(l.value,(e,t)=>(j(),M(L,{key:t},[F(T(t>0?` `:``),1),P(`span`,{class:lt([`property-type-token`,[`property-type-token--${e.kind}`,e.kind===`word`?`font-sans`:``,e.kind===`ident`||e.kind===`literal`?`font-code`:``,e.kind===`punctuation`?`text-c-2`:``]])},T(e.text),3)],64))),128))])):I(``,!0)]),_:1})):I(``,!0),t.recursiveTo?(j(),N(_H,{key:2,class:`property-recursive`,title:D(n)(`schema.recursiveReference`,{name:t.recursiveTo})},{default:O(()=>[F(T(D(n)(`schema.recursive`)),1)]),_:1},8,[`title`])):I(``,!0),d.value?(j(),N(_H,{key:3,truncate:``},{prefix:O(()=>[F(T(D(n)(`schema.keys`))+`:`,1)]),default:O(()=>[F(` `+T(d.value),1)]),_:1})):I(``,!0),(j(!0),M(L,null,jr(o.value,e=>(j(),N(_H,{key:e.key,code:e.code,truncate:e.truncate},Mr({default:O(()=>[e.key===`format`?(j(),M(`span`,nHt,T(D(n)(`schema.format`))+`: `,1)):I(``,!0),F(` `+T(e.value),1)]),_:2},[e.prefix?{name:`prefix`,fn:O(()=>[F(T(e.prefix),1)]),key:`0`}:void 0]),1032,[`code`,`truncate`]))),128)),t.enum?(j(),N(_H,{key:4},{default:O(()=>[F(T(D(n)(`schema.enum`)),1)]),_:1})):I(``,!0)],64)):I(``,!0),t.additional?(j(),M(`div`,rHt,[t.value?.[`x-additionalPropertiesName`]?(j(),M(L,{key:0},[F(T(t.value[`x-additionalPropertiesName`]),1)],64)):(j(),M(L,{key:1},[F(T(D(n)(`schema.additionalProperties`)),1)],64))])):I(``,!0),t.value?.deprecated?(j(),M(`div`,iHt,[R(uH,null,{default:O(()=>[F(T(D(n)(`schema.deprecated`)),1)]),_:1})])):I(``,!0),e.discriminatorValue===void 0?I(``,!0):(j(),M(`span`,aHt,[F(T(D(n)(`schema.discriminatorValue`))+`: `,1),R(hH,{value:e.discriminatorValue},null,8,[`value`])])),i.value===void 0?(j(),M(L,{key:7},[t.value?.nullable===!0?(j(),N(_H,{key:0},{default:O(()=>[F(T(D(n)(`schema.nullable`)),1)]),_:1})):I(``,!0)],64)):(j(),M(`div`,oHt,[R(_H,{truncate:``},{prefix:O(()=>[F(T(D(n)(`schema.const`))+`: `,1)]),default:O(()=>[R(hH,{value:i.value},null,8,[`value`])]),_:1})])),t.value?.writeOnly?(j(),M(`div`,sHt,T(D(n)(`schema.writeOnly`)),1)):t.value?.readOnly?(j(),M(`div`,cHt,T(D(n)(`schema.readOnly`)),1)):I(``,!0),t.required?(j(),M(`div`,lHt,T(D(n)(`schema.required`)),1)):I(``,!0),t.value?.default===void 0?I(``,!0):(j(),N(IVt,{key:11,value:t.value?.default},null,8,[`value`])),m.value?(j(),N(JVt,{key:12,pattern:m.value},null,8,[`pattern`])):I(``,!0),t.withExamples&&p.value?(j(),N(eV,{key:13,example:f.value,examples:t.value?.examples},null,8,[`example`,`examples`])):I(``,!0),A(r.$slots,`preview`,{},void 0,!0),A(r.$slots,`trailing`,{},void 0,!0)]))}})})),fHt,pHt=s((()=>{TB(),dHt(),fHt=wB(uHt,[[`__scopeId`,`data-v-d9e2f10e`]])})),mHt,hHt,gHt,_Ht,vHt,yHt,bHt,xHt,SHt,CHt,wHt,THt=s((()=>{fB(),mB(),yB(),xB(),CB(),iV(),Pzt(),lV(),yV(),SV(),OV(),LB(),NB(),CBt(),VV(),OBt(),NBt(),FBt(),RBt(),tH(),UBt(),iH(),GBt(),qBt(),QBt(),SVt(),FB(),pHt(),UV(),B(),oH(),a_(),Tv(),Xz(),x_(),mHt=[`id`],hHt={key:0,class:`property-name-pattern-properties text-c-1! border-0! p-0! before:hidden!`},gHt={key:1,class:`property-name-additional-properties text-c-1! border-0! p-0! before:hidden!`},_Ht=[`id`],vHt={key:0,class:`property-name-pattern-properties text-c-1! border-0! p-0! before:hidden!`},yHt={key:1,class:`property-name-additional-properties text-c-1! border-0! p-0! before:hidden!`},bHt={key:2,class:`property-description mt-1! has-[+.property-rule]:mb-1.5!`},xHt=[`id`],SHt={key:7,class:`children [.property-description+&]:mt-1.5!`},CHt=Object.freeze({}),wHt=k({__name:`SchemaProperty`,props:{is:{},schema:{},extensionSource:{},noncollapsible:{type:Boolean},level:{default:0},depth:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},discriminator:{},description:{},hideModelNames:{type:Boolean,default:!1},hideHeading:{type:Boolean},modelName:{},variant:{},breadcrumb:{},eventBus:{},options:{},propertyNamesEnum:{},propertyNamesSchema:{},schemaContext:{},compositionPath:{},compositionPathSegment:{},cycleKey:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=e,n=[`oneOf`,`anyOf`,`allOf`],r=oV(),i=z(()=>HBt(rH(sV(bB(t.schema),r)),t.name)),a=z(()=>{let{name:e}=t,n=i.value;return!!e&&!!n?.allOf&&vV(n).segments.some(e=>e.kind===`object`&&cV(e.schema))}),o=z(()=>t.breadcrumb?t.name?[...t.breadcrumb,t.name]:t.breadcrumb:void 0),s=z(()=>t.compositionPathSegment?[...t.compositionPath??[],t.compositionPathSegment]:t.compositionPath??[]),c=z(()=>[...s.value,`items`]),l=z(()=>{let e=t.options.linkablePropertyPath,n=o.value;return t.level<=2||!!(e&&n&&e.length===n.length&&e.every((e,t)=>e===n[t]))}),u=z(()=>l.value&&(o.value?.length??0)>0),d=z(()=>{let e=i.value;if(!e||!xv(e)||!g_(e.items))return e;let t=b_(e.items.$dynamicRef,r);return t?{...e,items:t}:e}),f=z(()=>vB(d.value)),p=z(()=>_.value.length>0),m=z(()=>i.value?SB(i.value,t.options.document):null),h=z(()=>{let e=i.value;if(!e||!(`properties`in e||`additionalProperties`in e)||`allOf`in e||!(t.schema&&typeof t.schema==`object`&&`allOf`in t.schema)&&m.value)return!1;let n=`type`in e?e.type:void 0,r=typeof n==`string`&&n!==`object`;return cV(e)||!r}),g=z(()=>{let e=i.value;return!e||!xv(e)||e.items===void 0?!1:f.value}),_=z(()=>PBt(i.value)),v=z(()=>{let e=LBt(i.value);return e?fe(e):null}),y=z(()=>WBt(i.value,t.description)),b=z(()=>{let e=i.value;if(!e)return e;let{oneOf:t,anyOf:n,allOf:r,not:a,discriminator:o,externalDocs:s,...c}=e;if(y.value&&`description`in c){let{description:e,...t}=c;return t}return c}),x=z(()=>KBt(i.value,t.name,t.required)),ee=z(()=>C.value||a.value?[]:HLt(i.value,t.options.document,m.value)),te=z(()=>t.extensionSource?{...t.extensionSource,...i.value}:i.value),ne=z(()=>{let e=te.value;if(!e||typeof e!=`object`)return!1;for(let t in e)if(t.startsWith(`x-`))return!0;return!1}),re=e=>e===`allOf`?t.schema?.discriminator??t.discriminator:t.schema?.discriminator,ie=z(()=>{let e=d.value;if(!e||!xv(e)||e.items===void 0)return;let t=i_.schema(e.items);return n.some(e=>Array.isArray(t?.[e])&&t[e]?.length===1)?rH(t):t}),ae=z(()=>{let e=i.value;if(e&&xv(e))return xV(e.items)}),oe=z(()=>({compact:t.compact,eventBus:t.eventBus,hideModelNames:pe.value,level:t.level+1,name:t.name,options:t.options,schemaContext:t.schemaContext})),se=z(()=>h.value?{...oe.value,breadcrumb:o.value,compositionPath:s.value,cycleKey:t.cycleKey,schema:b.value,discriminator:i.value?.discriminator??t.discriminator}:null),ce=z(()=>g.value&&ie.value?{...oe.value,compositionPath:c.value,cycleKey:ae.value,schema:i_.schema(ie.value)}:null),le=z(()=>{let{cycleKey:e}=t;return a.value?{...oe.value,breadcrumb:o.value,compositionPath:s.value,cycleKey:e,schema:i.value}:se.value??ce.value}),S=z(()=>!se.value&&!!ce.value),ue=z(()=>t.name===t.discriminator?.propertyName?t.discriminator?.[dB]?.value:void 0),de=z(()=>!!(t.name&&t.discriminator?.propertyName===t.name)),{translate:fe}=IB(),pe=z(()=>t.hideModelNames||!!t.options.hideModelNames),me=z(()=>a.value||h.value||g.value),he=lr(bV,void 0),ge=z(()=>S.value?ae.value:t.cycleKey),C=z(()=>ge.value!=null&&!!he?.has(ge.value)),_e=z(()=>{let e=ge.value;if(typeof e==`string`){let t=pB(e);if(t)return t}return t.modelName||t.name||fe(`schema.schema`)}),ve=t.expansion??DV(Tn(()=>t.scrollTargetId??``)),w=xr(),ye=z(()=>TV(o.value)||`~anonymous-${w}`),be=z(()=>me.value&&!t.noncollapsible&&x.value&&!C.value),xe=z(()=>me.value&&!!t.noncollapsible&&!!t.name&&x.value&&!C.value),Se=z(()=>be.value&&ve.isExpanded(ye.value,{cyclic:C.value,defaultOpen:!!t.options.expandAllSchemaProperties})),Ce=E(!1);dr(Se,(e,t)=>{e?Ce.value&&=(ve.untilFound.release(),!1):t&&(Ce.value=we()&&ve.untilFound.acquire())}),Zt(()=>{Ce.value&&=(ve.untilFound.release(),!1)});let we=()=>typeof document<`u`&&`onbeforematch`in document.body,Te=z(()=>xe.value||be.value&&(Se.value||Ce.value)),Ee=z(()=>xe.value||Se.value?void 0:`until-found`),De=z(()=>me.value&&!C.value&&!be.value&&!xe.value),Oe=xr(),ke=xr(),Ae=xr(),je=Cr(`treePanel`),Me=Cr(`treeToggle`),Ne=null,Pe=()=>{Ne?.removeAttribute(`data-heading-hovered`),Ne=null},Fe={pointerenter:e=>{Pe();let t=e.currentTarget instanceof HTMLElement?e.currentTarget.parentElement:null;t&&(t.setAttribute(`data-heading-hovered`,``),Ne=t)},pointerleave:Pe};dr(be,e=>{e||Pe()}),Ri(Pe),dr(Se,e=>{if(e)return;let t=je.value?.$el;t?.removeAttribute(`data-rail-hovered`),t?.parentElement?.removeAttribute(`data-child-rail-hovered`)});let Ie=z(()=>S.value?ie.value:b.value),Le=z(()=>Ie.value?BV(Ie.value,void 0,t.options):[]),Re=z(()=>{if(!me.value)return null;let e=Ie.value;if(!e)return null;let n=t.options.hideReadOnly||t.options.hideWriteOnly?Le.value.length:cV(e)&&e.properties?Object.keys(e.properties).length:0,r=`patternProperties`in e&&e.patternProperties?Object.keys(e.patternProperties).length:0,i=`additionalProperties`in e&&e.additionalProperties?1:0,a=n+r+i;return a===0?null:fe(`schema.propertyCount`,{count:String(a)})}),ze=z(()=>QV(i.value,{hideModelNames:pe.value})),Be=z(()=>t.modelName||fe(`schema.schema`)),Ve=()=>{let e=!Se.value;if(!e){let e=document.activeElement,t=Me.value instanceof HTMLElement?Me.value:Me.value?.$el;e&&je.value?.$el.contains(e)&&t?.focus()}ve.setExpanded(ye.value,e)},He=e=>{if(!be.value)return;let t=e.target;t instanceof Element&&t.closest(`a, button, [role="button"], input, select, label`)||window.getSelection()?.toString()||Ve()},Ue=()=>{ve.setExpanded(ye.value,!0)};return(t,n)=>(j(),N(Ar(e.is??`li`),{class:lt([`property`,[`property--level-${e.level}`,{"property--compact":e.compact,"property--deprecated":i.value?.deprecated},`property--tree grid! grid-cols-[minmax(0,1fr)] border-b-0! px-0! py-[var(--schema-row-pad,6px)]!`,{"property--tree-container":!be.value&&!C.value&&(me.value||!x.value)},`property--depth-${e.depth}`]])},{default:O(()=>[be.value?(j(),N(PB,{key:0,ref:`treeToggle`,class:`absolute start-[calc(0px_-_var(--schema-toggle-half,12px)_-_var(--schema-gutter,16px))] top-2.5 z-[1] col-start-1 row-start-1 -translate-y-1/2 print:hidden`,countId:Re.value?D(Ae):void 0,fallbackLabel:Be.value,nameId:e.name?D(ke):void 0,open:Se.value,panelId:D(Oe),panelRendered:Te.value,onToggle:Ve},null,8,[`countId`,`fallbackLabel`,`nameId`,`open`,`panelId`,`panelRendered`])):I(``,!0),x.value?(j(),N(fHt,oi({key:1,class:[`group`,[{"cursor-pointer":be.value},`relative row-start-1 min-h-5 content-center [&>*:has(+.copy-link-trailing)]:me-0!`]],discriminatorValue:ue.value,enum:p.value,eventBus:e.eventBus,hideModelNames:pe.value,isDiscriminator:de.value,keyKind:e.variant===`additionalProperties`?`additional`:e.variant===`patternProperties`?`pattern`:void 0,modelLinkOptions:{hideModels:e.options.hideModels,document:e.options.document},modelName:e.modelName,propertyNames:e.propertyNamesSchema,recursiveTo:C.value?_e.value:void 0,required:e.required,value:i.value},Nr(be.value?Fe:D(CHt)),{onClick:He}),Mr({_:2},[e.name?{name:`name`,fn:O(()=>[u.value?(j(),N(MBt,{key:0,breadcrumb:o.value},{default:O(()=>[P(`span`,{id:D(ke)},[e.variant===`patternProperties`?(j(),M(`span`,hHt,[R(D(aH),{preset:`property`,text:e.name},null,8,[`text`])])):e.variant===`additionalProperties`?(j(),M(`span`,gHt,[R(D(aH),{preset:`property`,text:e.name},null,8,[`text`])])):(j(),N(D(aH),{key:2,preset:`property`,text:e.name},null,8,[`text`]))],8,mHt)]),_:1},8,[`breadcrumb`])):(j(),M(`span`,{key:1,id:D(ke)},[e.variant===`patternProperties`?(j(),M(`span`,vHt,[R(D(aH),{preset:`property`,text:e.name},null,8,[`text`])])):e.variant===`additionalProperties`?(j(),M(`span`,yHt,[R(D(aH),{preset:`property`,text:e.name},null,8,[`text`])])):(j(),N(D(aH),{key:2,preset:`property`,text:e.name},null,8,[`text`]))],8,_Ht))]),key:`0`}:void 0,i.value?.example===void 0?void 0:{name:`example`,fn:O(()=>[F(` Example: `+T(i.value.example),1)]),key:`1`},be.value&&!Se.value?{name:`preview`,fn:O(()=>[R(ZBt,{"aria-hidden":`true`,class:`mr-0!`,propertyNames:Le.value,schema:Ie.value},null,8,[`propertyNames`,`schema`])]),key:`2`}:void 0,e.name&&l.value&&o.value?{name:`trailing`,fn:O(()=>[R(DBt,{anchorId:o.value.join(`.`),eventBus:e.eventBus},null,8,[`anchorId`,`eventBus`])]),key:`3`}:void 0]),1040,[`class`,`discriminatorValue`,`enum`,`eventBus`,`hideModelNames`,`isDiscriminator`,`keyKind`,`modelLinkOptions`,`modelName`,`propertyNames`,`recursiveTo`,`required`,`value`])):I(``,!0),R(rV,{class:`my-2`,value:i.value?.externalDocs},null,8,[`value`]),y.value||v.value?(j(),M(`div`,bHt,[R(D(Jz),{value:y.value||v.value||``},null,8,[`value`])])):I(``,!0),e.propertyNamesEnum&&e.propertyNamesEnum.length>0?(j(),N(lH,{key:3,propertyNames:``,value:{enum:e.propertyNamesEnum}},null,8,[`value`])):I(``,!0),_.value.length>0&&!g.value&&!ze.value?(j(),N(lH,{key:4,value:i.value},null,8,[`value`])):I(``,!0),be.value&&Re.value?(j(),M(`span`,{key:5,id:D(Ae),class:`screenreader-only`},T(Re.value),9,xHt)):I(``,!0),Te.value?(j(),N(MB,{key:6,id:D(Oe),ref:`treePanel`,class:`property-children mt-1.5 mb-0.5 [&_.schema-card]:mb-0! [&_.schema-card]:pb-0! [&_.schema-properties]:mb-0! [&_.schema-properties]:pb-0! [&_ul]:my-0! [&_ul]:py-0! [&[hidden=until-found]]:my-0 [&[hidden=until-found]]:border-s-0 [&[hidden]:not([hidden=until-found])]:hidden`,closeOnRail:be.value,depth:e.depth+1,hidden:Ee.value,onBeforematch:Ue,onClose:Ve},{default:O(()=>[le.value?(j(),N(HV,oi({key:0},le.value,{depth:e.depth+1,expansion:D(ve),noncollapsible:``,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension}),null,16,[`depth`,`expansion`,`scrollTargetId`,`specificationExtension`])):I(``,!0)]),_:1},8,[`id`,`closeOnRail`,`depth`,`hidden`])):I(``,!0),De.value?(j(),M(`div`,SHt,[le.value?(j(),N(HV,oi({key:0},le.value,{depth:e.depth,expansion:D(ve),noncollapsible:``,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension}),null,16,[`depth`,`expansion`,`scrollTargetId`,`specificationExtension`])):I(``,!0)])):I(``,!0),(j(!0),M(L,null,jr(ee.value,t=>(j(),N(WV,{key:t.composition,breadcrumb:o.value,compact:e.compact,composition:t.composition,compositionPath:s.value,depth:e.depth,discriminator:re(t.composition),eventBus:e.eventBus,expansion:D(ve),hideHeading:e.hideHeading,hideModelNames:pe.value,level:e.level,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:t.value,schemaContext:e.schemaContext,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`compact`,`composition`,`compositionPath`,`depth`,`discriminator`,`eventBus`,`expansion`,`hideHeading`,`hideModelNames`,`level`,`name`,`noncollapsible`,`options`,`schema`,`schemaContext`,`scrollTargetId`,`specificationExtension`]))),128)),ne.value&&e.specificationExtension?(j(),N(Ar(e.specificationExtension),{key:8,showExtensions:e.options.showExtensions,value:te.value},null,8,[`showExtensions`,`value`])):I(``,!0)]),_:1},8,[`class`]))}})})),vH,yH=s((()=>{TB(),THt(),vH=wB(wHt,[[`__scopeId`,`data-v-00f22f7c`]])})),EHt,DHt,OHt,kHt=s((()=>{lV(),LB(),B(),oH(),Tv(),EHt={key:0,class:`schema-type`},DHt=[`title`],OHt=k({__name:`SchemaHeading`,props:{value:{},name:{}},setup(e){let{translate:t}=IB(),n=z(()=>`type`in e.value?e.value.type:e.value.enum?`enum`:xv(e.value)&&e.value.items?`array`:cV(e.value)&&(e.value.properties||e.value.additionalProperties)?`object`:`unknown`);return(r,i)=>typeof e.value==`object`?(j(),M(`span`,EHt,[P(`span`,{class:`schema-type-icon`,title:`type`in e.value&&typeof e.value.type==`string`?e.value.type:`type`in e.value&&Array.isArray(e.value.type)?e.value.type.join(` | `):D(t)(`schema.unknownType`)},[D(cV)(e.value)?(j(),M(L,{key:0},[F(` {} `)],64)):I(``,!0),D(xv)(e.value)?(j(),M(L,{key:1},[F(` [] `)],64)):I(``,!0),e.value.enum?(j(),M(L,{key:2},[F(` enum `)],64)):I(``,!0)],8,DHt),e.name?(j(),N(D(aH),{key:0,preset:`property`,text:e.name},null,8,[`text`])):(j(),M(L,{key:1},[F(T(n.value),1)],64))])):I(``,!0)}})})),bH,AHt=s((()=>{TB(),kHt(),bH=wB(OHt,[[`__scopeId`,`data-v-39d4fd7f`]])})),jHt,MHt,NHt=s((()=>{B(),Mw(),uB(),Qs(),jHt={class:`min-w-0 flex-1 truncate`},MHt=k({inheritAttrs:!1,__name:`ExamplePicker`,props:Lr({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Hr(e,`modelValue`),n=z(()=>Object.entries(e.examples).map(([e,t])=>({id:e,label:t?.summary??e}))),r=z({get:()=>n.value.find(({id:e})=>e===t.value),set:e=>t.value=e?.id??``});return(e,t)=>(j(),N(D(oB),{modelValue:r.value,"onUpdate:modelValue":t[0]||=e=>r.value=e,class:`w-fit min-w-32`,options:n.value,placement:`bottom-start`,teleport:``},{default:O(()=>[R(D(jw),oi({class:`text-c-2 hover:text-c-1 flex h-full w-fit min-w-0 gap-1.5 px-1.5 py-0.75 text-base font-normal`,"data-testid":`example-picker`,variant:`ghost`},e.$attrs),{default:O(()=>[P(`div`,jHt,T(r.value?.label??`Select an example`),1),R(D(zs),{class:`ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100`,weight:`bold`})]),_:1},16)]),_:1},8,[`modelValue`,`options`]))}})})),xH,SH=s((()=>{NHt(),xH=MHt})),CH,PHt,FHt,IHt=s((()=>{B(),CH=Symbol(),PHt=e=>{let t=lr(CH,void 0);t&&(t.value=e)},FHt=()=>{let e=E();return cr(CH,e),{id:e}}})),LHt,RHt=s((()=>{IHt(),Kl(),B(),LHt=k({inheritAttrs:!1,__name:`ScalarCard`,props:{label:{}},setup(e){let{id:t}=FHt(),n=z(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:r}=Gl();return(e,t)=>(j(),M(`div`,oi({role:`group`},{...n.value,...D(r)(`scalar-card bg-b-2 flex flex-col divide-y rounded-xl border`)}),[A(e.$slots,`default`)],16))}})})),wH,zHt=s((()=>{RHt(),wH=LHt})),BHt,VHt=s((()=>{Kl(),B(),BHt=k({inheritAttrs:!1,__name:`ScalarCardSection`,setup(e){let{cx:t}=Gl();return(e,n)=>(j(),M(`div`,ut(ei(D(t)(`scalar-card-content flex overflow-auto first:rounded-t-[inherit] last:rounded-b-[inherit]`))),[A(e.$slots,`default`)],16))}})})),TH,EH=s((()=>{VHt(),TH=BHt})),HHt,UHt=s((()=>{EH(),Kl(),B(),HHt=k({inheritAttrs:!1,__name:`ScalarCardFooter`,setup(e){let{cx:t}=Gl();return(e,n)=>(j(),N(TH,ut(ei(D(t)(`scalar-card-footer`))),{default:O(()=>[A(e.$slots,`default`)]),_:3},16))}})})),DH,WHt=s((()=>{UHt(),DH=HHt})),GHt,KHt,qHt,JHt=s((()=>{IHt(),EH(),Kl(),B(),GHt=[`id`],KHt={key:0,class:`flex`},qHt=k({inheritAttrs:!1,__name:`ScalarCardHeader`,setup(e){let{cx:t}=Gl(),n=xr();return PHt(n),(e,r)=>(j(),N(TH,ut(ei(D(t)(`scalar-card-header flex-wrap gap-y-1 leading-[22px] font-medium py-[6.75px] px-3 shrink-0`))),{default:O(()=>[P(`div`,{id:D(n),class:`scalar-card-header-title min-w-0 flex-auto`},[A(e.$slots,`default`)],8,GHt),e.$slots.actions?(j(),M(`div`,KHt,[A(e.$slots,`actions`)])):I(``,!0)]),_:3},16))}})})),OH,YHt=s((()=>{JHt(),OH=qHt})),kH=s((()=>{zHt(),EH(),WHt(),YHt()})),XHt,ZHt=s((()=>{Kl(),B(),XHt=k({inheritAttrs:!1,__name:`ScalarCopyBackdrop`,setup(e){let{cx:t}=Gl();return(e,n)=>(j(),M(`div`,ut(ei(D(t)(`absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded`))),null,16))}})})),AH,jH=s((()=>{ZHt(),AH=XHt})),QHt,$Ht,eUt,tUt,nUt,rUt=s((()=>{jH(),Kl(),B(),Qs(),QHt={"aria-hidden":`true`,class:`flex items-center mask-y-from-[calc(100%-8px)] mask-y-to-100% py-1.5`},$Ht={key:0,class:`px-1.5 whitespace-nowrap`},eUt={key:0,class:`sr-only`,role:`alert`},tUt={key:1,class:`sr-only`},nUt=k({inheritAttrs:!1,__name:`ScalarCopyButton`,props:Lr({showLabel:{type:Boolean},placement:{default:`right`}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=Hr(e,`copied`),{cx:n}=Gl(),r=z(()=>t.value?Vs:Hs);return(i,a)=>(j(),M(`button`,oi({type:`button`},D(n)(`group/copy-button relative z-0 flex items-center justify-center`,`size-6 p-1.25 -m-1 rounded text-xs bg-b-2`,t.value?`text-c-1`:`text-c-2 hover:text-c-1`)),[R(Ia,{enterActiveClass:`transition-transform`,enterFromClass:`scale-0`,enterToClass:`scale-100`,leaveActiveClass:`transition-transform`,leaveFromClass:`scale-100`,leaveToClass:`scale-0`,mode:`out-in`},{default:O(()=>[(j(),N(Ar(r.value),{class:`size-full`}))]),_:1}),a[4]||=P(`div`,{class:`absolute inset-0 -z-1 rounded-[inherit] bg-inherit`},null,-1),P(`div`,{class:lt([`group/copy-label absolute -inset-y-0.5 flex items-center rounded`,{"left-0 pl-[100%]":e.placement===`right`,"right-0 pr-[100%]":e.placement===`left`}])},[P(`div`,QHt,[R(Ia,{enterActiveClass:`transition-transform ease-out`,enterFromClass:`translate-y-1.5`,enterToClass:`translate-y-0`,leaveActiveClass:`transition-transform ease-in`,leaveFromClass:`translate-y-0`,leaveToClass:`-translate-y-1.5`,mode:`out-in`},{default:O(()=>[t.value?(j(),M(`div`,$Ht,[A(i.$slots,`copied`,{},()=>[a[0]||=F(`Copied`,-1)])])):(j(),M(`div`,{key:1,class:lt([`px-1.5 whitespace-nowrap`,{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[A(i.$slots,`copy`,{},()=>[a[1]||=F(`Copy`,-1)])],2))]),_:3})]),t.value?(j(),M(`div`,eUt,[A(i.$slots,`copied`,{},()=>[a[2]||=F(`Copied`,-1)])])):(j(),M(`div`,tUt,[A(i.$slots,`copy`,{},()=>[a[3]||=F(`Copy`,-1)])])),A(i.$slots,`backdrop`,{},()=>[R(AH)])],2)],16))}})})),MH,iUt=s((()=>{rUt(),MH=nUt})),aUt,oUt=s((()=>{iUt(),B(),jT(),aUt=k({__name:`ScalarCopy`,props:Lr({content:{default:``},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=Hr(e,`copied`);Ii(()=>{e.immediate&&n(e.content)});let{copy:n,copied:r}=Ntt({legacy:!0,copiedDuring:e.duration});return dr(r,e=>t.value=e),(i,a)=>(j(),N(MH,{copied:t.value||D(r),placement:e.placement,showLabel:e.showLabel,onClick:a[0]||=t=>D(n)(e.content)},Mr({_:2},[i.$slots.copy?{name:`copy`,fn:O(()=>[A(i.$slots,`copy`)]),key:`0`}:void 0,i.$slots.copied?{name:`copied`,fn:O(()=>[A(i.$slots,`copied`)]),key:`1`}:void 0,i.$slots.backdrop?{name:`backdrop`,fn:O(()=>[A(i.$slots,`backdrop`)]),key:`2`}:void 0]),1032,[`copied`,`placement`,`showLabel`]))}})})),NH,sUt=s((()=>{oUt(),NH=aUt})),PH,cUt=s((()=>{PH={bash:`Bash`,c:`C`,clojure:`Clojure`,cpp:`C++`,csharp:`C#`,css:`CSS`,curl:`cURL`,dart:`Dart`,diff:`Diff`,docker:`Docker`,dockerfile:`Dockerfile`,elixir:`Elixir`,fsharp:`F#`,go:`Go`,graphql:`GraphQL`,haskell:`Haskell`,html:`HTML`,http:`HTTP`,ini:`INI`,java:`Java`,javascript:`JavaScript`,json:`JSON`,julia:`Julia`,kotlin:`Kotlin`,less:`Less`,lua:`Lua`,makefile:`Makefile`,markdown:`Markdown`,matlab:`MATLAB`,mojo:`Mojo`,nginx:`Nginx`,objectivec:`Objective-C`,ocaml:`OCaml`,perl:`Perl`,php:`PHP`,plaintext:`Plain Text`,powershell:`PowerShell`,properties:`Properties`,python:`Python`,r:`R`,ruby:`Ruby`,rust:`Rust`,scala:`Scala`,scss:`SCSS`,shell:`Shell`,sql:`SQL`,swift:`Swift`,toml:`TOML`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`}})),lUt,uUt,dUt=s((()=>{sUt(),cUt(),Kl(),B(),lUt={class:`group-hocus-within/code-block:inline hidden`},uUt=k({inheritAttrs:!1,__name:`ScalarCodeBlockCopy`,props:Lr({showLang:{type:Boolean},content:{},lang:{},copyLabel:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=Hr(e,`copied`),n=z(()=>typeof e.content==`string`?e.content:JSON.stringify(e.content,null,2)),r=e=>e in PH,i=z(()=>{if(e.lang)return r(e.lang)?PH[e.lang]:e.lang}),a=z(()=>e.copyLabel?e.copyLabel:e.showLang&&i.value?`Copy ${i.value} code`:`Copy code`),{cx:o}=Gl();return(s,c)=>(j(),N(D(NH),oi({copied:t.value,"onUpdate:copied":c[0]||=e=>t.value=e,"aria-label":a.value,content:n.value,placement:`left`,showLabel:``},{...D(o)(t.value?`opacity-100`:`opacity-0 group-hocus-within/code-block:opacity-100`)}),Mr({backdrop:O(()=>[A(s.$slots,`backdrop`)]),_:2},[e.lang?{name:`copy`,fn:O(()=>[P(`span`,lUt,[e.showLang?(j(),M(`span`,{key:0,class:lt([`group-hocus/copy-button:sr-only`,{capitalize:!r(e.lang)}])},T(i.value),3)):I(``,!0),P(`span`,{class:lt({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},`Copy`,2)])]),key:`0`}:void 0]),1040,[`copied`,`aria-label`,`content`]))}})})),FH,IH=s((()=>{dUt(),FH=uUt}));function fUt(e){let t=[],n=0;return JSON.stringify(e,function(e,r){if(n+=1,n>mUt)throw RH;if(typeof r!=`object`||!r)return r;for(;t.length>0&&t[t.length-1]!==this;)t.pop();return t.includes(r)?`[Circular]`:(t.push(r),r)},2)}function pUt(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if(typeof n==`object`&&n){if(t.has(n))return`[Circular]`;t.add(n)}return n},2)}var LH,mUt,RH,zH=s((()=>{LH=e=>{if(typeof e==`string`)try{let t=JSON.parse(e);return typeof t==`object`&&t?JSON.stringify(t,null,2):e}catch{return e}if(typeof e==`object`)try{return fUt(e)}catch(t){if(t===RH)return pUt(e);throw t}return e?.toString()??``},mUt=1e5,RH=Error(`Expanded JSON exceeded the node limit`)})),BH,VH=s((()=>{BH=`{{remembered}}`})),hUt,gUt,_Ut,vUt,HH,yUt,UH,bUt,xUt,SUt,WH=s((()=>{VH(),hUt=/\\(?:[1-9]|k<)/,gUt=e=>{let t=0,n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===92)r++;else if(n)i===93&&(n=!1);else if(i===91)n=!0;else if(i===40){if(e.charCodeAt(r+1)!==63)t++;else if(e.charCodeAt(r+2)===60){let n=e.charCodeAt(r+3);n!==61&&n!==33&&t++}}}return t},_Ut=e=>{let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e[r];i===`\\`?(t+=i+(e[r+1]??``),r++):n?(n=i!==`]`,t+=i):i===`[`?(n=!0,t+=i):i===`(`?e[r+1]===`?`?e[r+2]===`<`&&e[r+3]!==`=`&&e[r+3]!==`!`&&e.includes(`>`,r)?(r=e.indexOf(`>`,r),t+=`(?:`):t+=i:t+=`(?:`:t+=i}return t},vUt=e=>typeof e==`string`?e:e.source,HH=e=>{let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e[r];i===`\\`?(t+=i+(e[r+1]??``),r++):n?(n=i!==`]`,t+=i):i===`[`?(n=!0,t+=i):t+=i===`.`?`[^\\r\\n]`:i===`$`?`(?=\\r?\\n|(?![\\s\\S]))`:i}return t},yUt=e=>e.replace(/[\\^$.*+?()[\]{}|]/g,`\\$&`),UH=(e,t,n,r)=>{if(r.has(n))throw Error(`[${e}] circular include of state "${n}"`);r.add(n);let i=Object.hasOwn(t,n)?t[n]:void 0;if(!i)throw Error(`[${e}] include of unknown state "${n}"`);let a=[];for(let n of i.rules)`include`in n?a.push(...UH(e,t,n.include,r)):a.push(n);return r.delete(n),a},bUt=(e,t)=>{let n=e.states[t],r=UH(e.name,e.states,t,new Set),i=[],a=[],o=1,s=n.ignoreCase?`i`:``,c=!1,l=[];for(let n of r){let r=vUt(n.match);if(hUt.test(r))throw Error(`[${e.name}:${t}] backreferences are not supported (group numbers shift when rules are merged): ${r}`);let u=HH(r),d=u.includes(BH);c||=d;let f=Array.isArray(n.scope)?n.scope:null,p=gUt(u);if(f&&f.length>p)throw Error(`[${e.name}:${t}] rule scopes ${f.length} groups but the pattern has ${p}: ${u}`);if(n.remember!==void 0&&(!(n.push||n.set)||n.remember<1||n.remember>p))throw Error(`[${e.name}:${t}] remember ${n.remember} needs a push or set and one of ${p} groups: ${r}`);i.push({scope:typeof n.scope==`string`?n.scope:null,captures:f,own:(f||n.remember)&&!d?new RegExp(u,`ymd${s}`):null,rest:n.rest??null,group:o,push:n.push??null,set:n.set??null,pop:n.pop===!0?1:n.pop??0,remember:n.remember??0,rememberIndent:n.rememberAs===`indent`}),l.push((f||n.remember)&&d?u:null),a.push(`(${_Ut(u)})`),o+=1}let u=`gm${s}`,d=a.length?a.join(`|`):`(?!)`;return{name:t,re:new RegExp(c?d.split(BH).join(``):d,u),rules:i,default:n.default??null,dynamic:c?{source:d,flags:u,own:l,cache:new Map}:null,embed:n.embed?{language:n.embed.language,boundary:new RegExp(HH(n.embed.holes?`(${n.embed.holes})|(?:${n.embed.until})`:n.embed.until),`gm${s}`),holes:n.embed.holes?new RegExp(HH(n.embed.holes),`gm${s}`):null}:null}},xUt=(e,t)=>{let n=e.dynamic,r=n.cache.get(t);if(r===void 0){let e=yUt(t),i=t=>t.split(BH).join(e),a=n.flags.includes(`i`)?`i`:``;r={re:new RegExp(i(n.source),n.flags),own:n.own.map(e=>e===null?null:new RegExp(i(e),`ymd${a}`))},n.cache.size>64&&n.cache.clear(),n.cache.set(t,r)}return r},SUt=e=>{if(!Object.hasOwn(e.states,`root`))throw Error(`[${e.name}] grammar has no "root" state`);if(e.states.root?.embed)throw Error(`[${e.name}] the "root" state cannot embed another language`);let t=Object.create(null);for(let n of Object.keys(e.states))t[n]=bUt(e,n);for(let n of Object.values(t))for(let r of n.rules)for(let i of[r.push,r.set])if(i&&!t[i])throw Error(`[${e.name}:${n.name}] transition to unknown state "${i}"`);return{name:e.name,aliases:e.aliases??[],states:t,root:t.root}}})),GH,KH,qH,JH,YH=s((()=>{WH(),GH=new Map,KH=new Map,qH=(...e)=>{for(let t of e){let e=t.name.toLowerCase(),n=[e,...t.aliases??[]].map(e=>e.toLowerCase());if(n.every(e=>GH.get(e)===t))continue;let r=GH.get(e);if(r)for(let e of[r.name,...r.aliases??[]]){let t=e.toLowerCase();GH.get(t)===r&&GH.delete(t),KH.delete(t)}for(let e of n)GH.set(e,t),KH.delete(e)}},JH=e=>{let t=e.toLowerCase(),n=KH.get(t);if(n)return n;let r=GH.get(t);if(!r)return;let i=SUt(r);for(let e of[r.name,...r.aliases??[]])KH.set(e.toLowerCase(),i);return i}})),XH,CUt,ZH,wUt,TUt,EUt,QH=s((()=>{WH(),YH(),VH(),XH=(e,t,n)=>{let r=e.length,i=[t.root],a=[``],o=t.root,s=0,c=0;for(;s<r;){if(o.embed!==null){s=wUt(e,s,o,a[a.length-1],t,n),i.length>1?(--i.length,--a.length):(i[0]=t.root,a[0]=``),o=i[i.length-1];continue}let r=o.dynamic===null?null:xUt(o,a[a.length-1]),l=r===null?o.re:r.re;l.lastIndex=s;let u=l.exec(e);if(u===null)break;let d=u.index;d>s&&(n(o.default,s,d),s=d);let f=o.rules,p,m=0;for(;m<f.length;m++)if(u[f[m].group]!==void 0){p=f[m];break}if(p===void 0)break;let h=d+u[0].length;h>d&&(p.captures===null?n(p.scope??o.default,d,h):EUt(e,d,p,r?.own[m]??p.own,o,n));let g=a[a.length-1];if(p.remember>0){let t=r?.own[m]??p.own;t.lastIndex=d;let n=t.exec(e)?.[p.remember]??``;g=p.rememberIndent?` `.repeat(n.length):n}if(p.pop>0){let e=Math.min(p.pop,i.length-1);i.length-=e,a.length-=e,p.remember===0&&(g=a[a.length-1])}if(p.set!==null&&(i[i.length-1]=t.states[p.set],a[a.length-1]=g),p.push!==null&&(i.push(t.states[p.push]),a.push(g)),o=i[i.length-1],h>s)s=h,c=0;else if(++c>32){let t=e.codePointAt(s)>65535?2:1;n(o.default,s,s+t),s+=t,c=0}}s<r&&n(o.default,s,r)},CUt=8,ZH=0,wUt=(e,t,n,r,i,a)=>{let o=n.embed.boundary;o.lastIndex=t;let s=o.exec(e);for(;n.embed.holes!==null&&s?.[1]!==void 0;)s[0].length===0&&(o.lastIndex+=e.codePointAt(o.lastIndex)>65535?2:1),s=o.exec(e);let c=s===null?e.length:s.index;if(c===t)return t;let l=n.embed.language,u=JH(l===`{{remembered}}`?r:l);if(u===void 0||ZH>=CUt)a(n.default,t,c);else{ZH+=1;try{TUt(e.slice(t,c),t,u,n.embed.holes,i,a)}finally{--ZH}}return c},TUt=(e,t,n,r,i,a)=>{let o=[],s=[],c=0;if(r!==null){r.lastIndex=0;for(let t of e.matchAll(r)){let n=t.index,r=n+t[0].length;n!==r&&(o.push(n,r),s.push(e.slice(c,n),t[0].replace(/[^\r\n]/g,`_`)),c=r)}}let l=o.length===0?e:s.join(``)+e.slice(c),u=0,d=0;XH(l,n,(n,r,s)=>{for(let c=Math.max(r,d);c<s;c=d){let r=o[u]??s;if(r<=c){let n=o[u+1];XH(e.slice(r,n),i,(e,n,i)=>a(e,n+r+t,i+r+t)),u+=2,d=n}else d=Math.min(s,r),a(n,c+t,d+t)}})},EUt=(e,t,n,r,i,a)=>{r.lastIndex=t;let o=r.exec(e);if(o===null)return;let s=o.indices,c=s[0],l=n.captures,u=n.rest??i.default,d=c[0],f=c[1];for(let e=0;e<l.length;e++){let t=s[e+1];if(t===void 0)continue;let n=t[1]>f?f:t[1];if(n<=d)continue;let r=t[0]>d?t[0]:d;r>d&&a(u,d,r),n>r&&a(l[e]??u,r,n),d=n}f>d&&a(u,d,f)}})),DUt,OUt,kUt=s((()=>{DUt={comment:`cm`,"comment.doc":`cd`,string:`s`,"string.escape":`se`,"string.special":`ss`,interpolation:`ip`,regexp:`rx`,number:`n`,boolean:`bo`,constant:`c`,"constant.builtin":`cb`,variable:`v`,"variable.builtin":`vb`,"variable.parameter":`vp`,"variable.member":`vm`,"variable.special":`vs`,symbol:`sy`,keyword:`k`,"keyword.control":`kc`,"keyword.declaration":`kd`,"keyword.import":`ki`,"keyword.operator":`ko`,function:`f`,"function.call":`fc`,"function.builtin":`fb`,"function.method":`fm`,type:`t`,"type.builtin":`tb`,class:`cl`,namespace:`ns`,decorator:`dc`,operator:`o`,punctuation:`p`,"punctuation.bracket":`pb`,"punctuation.delimiter":`pd`,tag:`tg`,"tag.attribute":`ta`,property:`pr`,selector:`sl`,unit:`u`,heading:`h`,link:`ln`,emphasis:`em`,strong:`sg`,quote:`q`,list:`li`,"diff.plus":`dp`,"diff.minus":`dm`,invalid:`iv`},Object.keys(DUt),OUt=e=>{let t=[e],n=e.lastIndexOf(`.`);for(;n>0;)t.push(e.slice(0,n)),n=e.lastIndexOf(`.`,n-1);return t}})),$H,AUt,jUt=s((()=>{kUt(),$H={comment:`hljs-comment`,"comment.doc":`hljs-comment`,string:`hljs-string`,"string.escape":`hljs-string`,"string.special":`hljs-string`,interpolation:`hljs-subst`,regexp:`hljs-regexp`,number:`hljs-number`,boolean:`hljs-literal`,constant:`hljs-variable`,"constant.builtin":`hljs-literal`,variable:`hljs-variable`,"variable.builtin":`hljs-variable`,"variable.parameter":`hljs-params`,"variable.member":`hljs-property`,"variable.special":`hljs-variable`,symbol:`hljs-symbol`,keyword:`hljs-keyword`,"keyword.control":`hljs-keyword`,"keyword.declaration":`hljs-keyword`,"keyword.import":`hljs-keyword`,"keyword.operator":`hljs-keyword`,function:`hljs-title function_`,"function.call":`hljs-title function_`,"function.builtin":`hljs-built_in`,"function.method":`hljs-title function_`,type:`hljs-title class_`,"type.builtin":`hljs-built_in`,class:`hljs-title class_`,namespace:`hljs-title class_`,decorator:`hljs-meta`,operator:null,punctuation:`hljs-punctuation`,"punctuation.bracket":`hljs-punctuation`,"punctuation.delimiter":`hljs-punctuation`,tag:`hljs-name`,"tag.attribute":`hljs-attr`,property:`hljs-attr`,selector:`hljs-selector-tag`,unit:`hljs-number`,heading:`hljs-section`,link:`hljs-link`,emphasis:`hljs-emphasis`,strong:`hljs-strong`,quote:`hljs-quote`,list:`hljs-bullet`,"diff.plus":`hljs-addition`,"diff.minus":`hljs-deletion`,invalid:null},AUt=e=>{for(let t of OUt(e))if(Object.hasOwn($H,t))return $H[t]??null;return null}})),eU,tU,nU,MUt,NUt,PUt=s((()=>{YH(),eU={ts:`typescript`,js:`javascript`,py:`python`,py3:`python`,"c#":`csharp`,"c++":`cpp`,node:`javascript`},tU={bash:`bash`,c:`c`,"c#":`csharp`,"c++":`cpp`,cc:`cpp`,cjs:`javascript`,clj:`clojure`,clojure:`clojure`,console:`bash`,cpp:`cpp`,cs:`csharp`,csharp:`csharp`,css:`css`,curl:`curl`,cxx:`cpp`,dart:`dart`,diff:`diff`,docker:`dockerfile`,dockerfile:`dockerfile`,elixir:`elixir`,ex:`elixir`,exs:`elixir`,"f#":`fsharp`,fs:`fsharp`,fsharp:`fsharp`,go:`go`,golang:`go`,gql:`graphql`,graphql:`graphql`,h:`c`,"h++":`cpp`,haskell:`haskell`,hpp:`cpp`,hs:`haskell`,html:`html`,http:`http`,https:`http`,hxx:`cpp`,ini:`ini`,java:`java`,javascript:`javascript`,js:`javascript`,json:`json`,json5:`json`,jl:`julia`,jsonc:`json`,jsx:`javascript`,julia:`julia`,kotlin:`kotlin`,kt:`kotlin`,less:`css`,lua:`lua`,make:`makefile`,makefile:`makefile`,markdown:`markdown`,matlab:`matlab`,md:`markdown`,mdx:`markdown`,mjs:`javascript`,mk:`makefile`,ml:`ocaml`,mojo:`mojo`,mysql:`sql`,nginx:`nginx`,nginxconf:`nginx`,"obj-c":`objectivec`,objc:`objectivec`,objectivec:`objectivec`,ocaml:`ocaml`,octave:`matlab`,patch:`diff`,perl:`perl`,php:`php`,pl:`perl`,pm:`perl`,posh:`powershell`,postgres:`sql`,postgresql:`sql`,powershell:`powershell`,properties:`ini`,ps:`powershell`,ps1:`powershell`,pwsh:`powershell`,py:`python`,py3:`python`,python:`python`,python3:`python`,r:`r`,rb:`ruby`,rs:`rust`,ruby:`ruby`,rust:`rust`,sbt:`scala`,scala:`scala`,scss:`css`,sh:`bash`,shell:`bash`,sql:`sql`,sqlite:`sql`,svg:`html`,swift:`swift`,toml:`ini`,ts:`javascript`,tsx:`javascript`,typescript:`javascript`,vue:`html`,xml:`html`,yaml:`yaml`,yml:`yaml`,zsh:`bash`},nU=`bash.c.clojure.cpp.csharp.css.curl.dart.diff.docker.dockerfile.elixir.fsharp.go.graphql.haskell.html.http.ini.java.javascript.json.julia.kotlin.less.lua.makefile.markdown.matlab.mojo.nginx.objectivec.ocaml.perl.php.plaintext.powershell.properties.python.r.ruby.rust.scala.scss.shell.sql.swift.toml.typescript.xml.yaml`.split(`.`),Object.fromEntries(nU.map(e=>[e,tU[e]??null])),nU.filter(e=>!tU[e]),MUt=e=>Object.hasOwn(eU,e)?eU[e]??e:e,NUt=e=>{let t=e.toLowerCase();return JH(Object.hasOwn(tU,t)?tU[t]??t:t)}})),rU,iU,FUt,aU,IUt,LUt=s((()=>{rU=38,iU=60,FUt=62,aU=e=>{let t=``,n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i!==rU&&i!==iU&&i!==FUt)continue;let a=i===iU?`&lt;`:`&gt;`;t+=e.slice(n,r)+(i===rU?`&amp;`:a),n=r+1}return n===0?e:t+e.slice(n)},IUt=e=>aU(e).replace(/"/g,`&quot;`)})),oU,RUt,zUt,BUt,VUt,HUt,UUt,WUt,GUt=s((()=>{LUt(),QH(),jUt(),PUt(),oU=new Map,RUt=e=>{let t=oU.get(e);return t===void 0&&(t=`<span class="${e}">`,oU.set(e,t)),t},zUt=3,BUt=(e,t)=>{let n=(typeof t==`string`?[t]:t??[]).filter(e=>e.length>=zUt),r=[];for(let t of n){let n=e.indexOf(t);for(;n!==-1;)r.push({start:n,end:n+t.length}),n=e.indexOf(t,n+t.length)}r.sort((e,t)=>e.start-t.start||t.end-e.end);let i=[];for(let e of r){let t=i[i.length-1];t&&e.start<t.end||i.push(e)}return i},VUt=`<span class="credential"><span class="credential-value">`,HUt=`</span></span>`,UUt=(e,t,n,r)=>{let i=[],a=``,o=null,s=0,c=0,l=0,u=null,d=0,f=(t,n)=>{for(;d<r.length&&r[d].end<=t;)d++;let i=``,a=t;for(let o=d;o<r.length;o++){let s=r[o];if(s.start>=n)break;let c=Math.max(t,s.start),l=Math.min(n,s.end);i+=aU(e.slice(a,c))+VUt+aU(e.slice(c,l))+HUt,a=l}return i+aU(e.slice(a,n))},p=()=>{if(c>s){let t=r.length?f(s,c):aU(e.slice(s,c));a+=o===null?t:`${RUt(o)}${t}</span>`}s=c},m=()=>{p(),i.push(a),a=``},h=(t,r,i)=>{let a=r;for(;a<i;){let r=n?e.indexOf(`
+`,a):-1,l=r===-1||r>=i?i:r;if(l>a&&((t!==o||a!==c)&&(p(),o=t,s=a),c=l),l===i)break;m(),a=l+1,o=null,s=a,c=a}},g=(e,t,n)=>{let i=e===null?null:AUt(e),a=t;for(;a<n;){for(;l<r.length&&r[l].end<=a;)l++;let e=r[l];if(e===void 0||e.start>=n){h(i,a,n);return}a<e.start&&(h(i,a,e.start),a=e.start),a===e.start&&(u=i);let t=e.end<n?e.end:n;h(u,a,t),a=t}};if(t?XH(e,t,g):g(null,0,e.length),m(),!n)return{html:i.join(``),count:i.length};let _=``;for(let e of i)_+=`<span class="line">${e}\n</span>`;return{html:_,count:i.length}},WUt=(e,t)=>{let n=MUt(t.lang),r=NUt(n),i=t.lineNumbers===!0,a=BUt(e,t.maskCredentials),{html:o,count:s}=UUt(e,r,i,a),c=i?` style="--line-count: ${s}; --line-digits: ${s.toString().length};"`:``;return`<pre><code class="hljs language-${IUt(n)}"${c}>${o}</code></pre>`}})),KUt=s((()=>{QH(),jUt(),PUt(),GUt()})),qUt,JUt=s((()=>{qUt={name:`bash`,aliases:[`sh`,`shell`,`zsh`,`console`],states:{root:{rules:[{match:`^#!.*`,scope:`comment`},{match:`(?:^|[ \\t])#[^\\n]*`,scope:`comment`},{include:`expansion`},{match:`\\\\[^\\r\\n]`,scope:`string.escape`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`\\$'`,scope:`string`,push:`string-ansi`},{match:"`",scope:`string`,push:`backtick`},{match:`(<<-?)([ \\t]*)(['"])([A-Za-z_]\\w*)(['"])`,scope:[`operator`,null,`string`,`string.special`,`string`],push:`heredoc-literal`,remember:4},{match:`(<<-?)([ \\t]*)([A-Za-z_]\\w*)`,scope:[`operator`,null,`string.special`],push:`heredoc`,remember:3},{match:`\\b(?:if|then|else|elif|fi|for|while|until|do|done|case|esac|select|break|continue|return|exit)\\b`,scope:`keyword.control`},{match:`\\b(?:local|declare|typeset|readonly|export)\\b`,scope:`keyword.declaration`,push:`declared-name`},{match:`\\b(?:function|alias|unset)\\b`,scope:`keyword.declaration`},{match:`\\b(?:in|then)\\b`,scope:`keyword.operator`},{match:`\\b(?:echo|printf|read|cd|pwd|source|eval|exec|test|trap|set|shift|wait|kill|jobs|getopts|command|type|hash|umask|ulimit)\\b`,scope:`function.builtin`},{match:"[A-Za-z_./~](?<=(?:^(?<!\\\\\\r?\\n)(?:[ \\t]*\\$(?=[ \\t]))?|[|&;(`{]|\\$\\(|\\b(?:then|do|else|elif|sudo|time|exec|xargs|nohup|env)\\b|!)[ \\t]*[A-Za-z_./~])[\\w./~+-]{0,128}(?=[ \\t]|$|[;|&)`])",scope:`function.call`},{match:`^([ \\t]*)([A-Za-z_]\\w*)(\\s*)(\\(\\))`,scope:[null,`function`,null,`punctuation.bracket`]},{match:`^([ \\t]*)([A-Za-z_]\\w*)(?==)`,scope:[null,`variable`]},{match:`(?:^|\\s)(--?[A-Za-z][\\w-]*)`,scope:[`constant`]},{match:`\\b\\d+\\b`,scope:`number`},{match:`[^\\s$'"\`\\\\|&;()<>{}\\[\\]#=-][^\\s$'"\`\\\\|&;()<>{}]{0,256}`,scope:`string`},{match:`&&|\\|\\||[|&;]|[<>]{1,2}|[-+*%!=]=?|=~`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`}]},"declared-name":{rules:[{match:`(?:^|\\s)(--?[A-Za-z][\\w-]*)`,scope:[`constant`]},{match:`[A-Za-z_]\\w*`,scope:`variable`,pop:!0},{match:`(?=[^ \\t])`,pop:!0}]},expansion:{rules:[{match:`\\$\\{`,scope:`variable`,push:`brace-expansion`},{match:`\\$\\(\\(`,scope:`operator`,push:`arithmetic`},{match:`\\$\\(`,scope:`operator`,push:`subshell`},{match:`\\$(?:[A-Za-z_]\\w*|[0-9!@#?*$-])`,scope:`variable`}]},"brace-expansion":{default:`variable`,rules:[{match:`\\}`,scope:`variable`,pop:!0},{match:`[:#%/^,!*@-]+`,scope:`operator`}]},arithmetic:{rules:[{match:`\\)\\)`,scope:`operator`,pop:!0},{include:`expansion`},{match:`\\b\\d+\\b`,scope:`number`},{match:`[-+*/%<>=!&|^]+`,scope:`operator`}]},subshell:{rules:[{match:`\\)`,scope:`operator`,pop:!0},{include:`root`}]},"string-double":{default:`string`,rules:[{match:'\\\\(?:[\\\\$`"\\n]|\\r\\n)',scope:`string.escape`},{include:`expansion`},{match:"`",scope:`string`,push:`backtick`},{match:`"`,scope:`string`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`'`,scope:`string`,pop:!0}]},"string-ansi":{default:`string`,rules:[{match:`\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[0-7]{1,3}|.)`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0}]},backtick:{rules:[{match:"`",scope:`string`,pop:!0},{include:`root`}]},heredoc:{default:`string`,rules:[{include:`heredoc-end`},{include:`expansion`}]},"heredoc-literal":{default:`string`,rules:[{include:`heredoc-end`}]},"heredoc-end":{rules:[{match:`^[ \\t]*{{remembered}}[ \\t]*$`,scope:`string.special`,pop:!0}]}}}})),sU,YUt,XUt,cU,lU,ZUt,QUt=s((()=>{sU=`[A-Za-z_]\\w*`,YUt=`\\\\(?:x[0-9a-fA-F]+|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|[0-7]{1,3}|\\r?\\n|.)`,XUt=`%[-+ #0']*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?(?:hh|ll|[hljztL])?[diouxXeEfFgGaAcspn%]`,cU=`(?:[uU](?:ll|LL|[lL])?|(?:ll|LL|[lL])[uU]?|[fF])?`,lU=`(?:u8|[uUL])?`,ZUt={name:`c`,aliases:[`h`],states:{root:{rules:[{match:`/\\*[*!](?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[/!][^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`^([ \\t]*)(#[ \\t]*include(?:_next)?)([ \\t]*)(<[^>\\n]*>|"[^"\\n]*")`,scope:[null,`keyword.import`,null,`string`]},{match:`^([ \\t]*)(#[ \\t]*define)([ \\t]+)(${sU})(?=\\()`,scope:[null,`keyword.declaration`,null,`function`]},{match:`^([ \\t]*)(#[ \\t]*(?:define|undef))([ \\t]+)(${sU})`,scope:[null,`keyword.declaration`,null,`constant`]},{match:`^([ \\t]*)(#[ \\t]*(?:ifdef|ifndef|elifdef|elifndef|if|elif|else|endif))\\b`,scope:[null,`keyword.control`]},{match:`^([ \\t]*)(#[ \\t]*[a-z_]+)`,scope:[null,`keyword`]},{match:`\\\\(?=\\r?\\n)`,scope:`operator`},{match:`${lU}(")`,scope:[`string`],rest:`string.special`,push:`string`},{match:`${lU}('(?:[^'\\\\\\n]|\\\\[^\\n]){1,8}')`,scope:[`string`],rest:`string.special`},{match:`\\b(struct|union|enum)([ \\t]+)(${sU})`,scope:[`keyword.declaration`,null,`type`]},{match:`\\b(?:if|else|for|while|do|switch|case|default|break|continue|return|goto)\\b`,scope:`keyword.control`},{match:`\\b(?:struct|union|enum|typedef|static|extern|const|volatile|inline|register|auto|restrict|constexpr|_Atomic|_Noreturn|_Thread_local|thread_local)\\b`,scope:`keyword.declaration`},{match:`\\b(?:sizeof|alignof|_Alignof|typeof|typeof_unqual|_Generic|defined)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:NULL|nullptr|EOF)\\b`,scope:`constant.builtin`},{match:`\\b(?:stdin|stdout|stderr|errno)\\b`,scope:`variable.builtin`},{match:`\\b(?:void|char|short|int|long|float|double|signed|unsigned|_Bool|bool|size_t|ssize_t|ptrdiff_t|wchar_t|char16_t|char32_t|FILE|va_list|u?int(?:8|16|32|64|ptr|max)_t)\\b`,scope:`type.builtin`},{match:`\\b__\\w+`,scope:`variable.special`},{match:`(->)(${sU})(?=[ \\t]*\\()`,scope:[`operator`,`function.method`]},{match:`(->)(${sU})`,scope:[`operator`,`variable.member`]},{match:`(\\.)(${sU})(?=[ \\t]*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${sU})`,scope:[`punctuation`,`variable.member`]},{match:`\\b${sU}(?=[ \\t]*\\([^;(){}]{0,120}\\)[ \\t]*(?:\\r?\\n[ \\t]*)?\\{)`,scope:`function`},{match:`\\b(?:printf|fprintf|sprintf|snprintf|scanf|sscanf|puts|fputs|putchar|getchar|perror|fflush|fopen|fclose|fread|fwrite|malloc|calloc|realloc|free|memcpy|memmove|memset|memcmp|strlen|strcmp|strncmp|strcpy|strncpy|strcat|strchr|strstr|strtol|strtod|atoi|abort|exit|assert|qsort|bsearch|va_start|va_arg|va_end)\\b(?=[ \\t]*\\()`,scope:`function.builtin`},{match:`\\b${sU}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b${sU}_t\\b`,scope:`type`},{match:`\\b[A-Z]\\w*\\b`,scope:`type`},{match:`\\b0[xX][0-9a-fA-F]+(?:\\.[0-9a-fA-F]*)?(?:[pP][-+]?\\d+)?${cU}\\b`,scope:`number`},{match:`\\b0[bB][01]+${cU}\\b`,scope:`number`},{match:`\\b\\d+(?:\\.\\d*)?(?:[eE][-+]?\\d+)?${cU}\\b`,scope:`number`},{match:`\\.\\d+(?:[eE][-+]?\\d+)?${cU}\\b`,scope:`number`},{match:`->|\\+\\+|--|<<=?|>>=?|&&|\\|\\||\\.{3}|[-+*/%&|^!=<>]=?|[?~]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{match:YUt,scope:`string.escape`},{match:XUt,scope:`string.special`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]}}}})),uU,dU,fU,pU,mU,hU,gU,$Ut,eWt=s((()=>{uU=`[\\w*+!?<>=&%$|.'#-]`,dU=`[A-Za-z*+!_?<>=&%$|.-]${uU}*`,fU=`(?<![\\w*+!?<>=&%$|.'#:/-])`,pU=`(?![\\w*+!?<>=&%$|.'#:/-])`,mU=`(?:(\\^:?${uU}+)(\\s+))?`,hU=`(?:(\\s+)("(?:[^"\\\\]|\\\\[\\s\\S])*"))?`,gU=`String|Integer|Long|Double|Boolean|Object|Number|Class|Exception|Throwable|Math|System|Thread`,$Ut={name:`clojure`,aliases:[`clj`,`cljs`,`cljc`,`edn`],states:{root:{rules:[{match:`^#!.*`,scope:`comment`},{match:`;[^\\n]*`,scope:`comment`},{match:`#_`,scope:`comment`},{match:`\\\\(?:newline|space|tab|formfeed|backspace|return|u[0-9a-fA-F]{4}|o[0-7]{1,3}|\\S)`,scope:`string`},{match:`#"`,scope:`regexp`,push:`regexp`},{match:`"`,scope:`string`,push:`string`},{match:`#\\?@?`,scope:`keyword`},{match:`(#')(${dU})`,scope:[`operator`,`variable`]},{match:`#[({]`,scope:`punctuation.bracket`},{match:`#[A-Za-z]${uU}*`,scope:`type`},{match:`\\^:?${uU}+`,scope:`decorator`},{match:`\\^`,scope:`operator`},{match:`##(?:-?Inf|NaN)`,scope:`number`},{match:`${fU}[-+]?(?:\\d+[rR][0-9a-zA-Z]+|0[xX][0-9a-fA-F]+N?|\\d+/\\d+|(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][-+]?\\d+)?[MN]?)`,scope:`number`},{match:`(:as)(\\s+)(${dU})`,scope:[`constant`,null,`namespace`]},{match:`${fU}::?${uU}+(?:/${uU}+)?`,scope:`constant`},{match:`(?<=\\()(def(?:record|type|protocol|interface|struct))(\\s+)${mU}(${dU})`,scope:[`keyword.declaration`,null,`decorator`,null,`class`]},{match:`(?<=\\()(def(?:n-?|m(?:acro|ulti|ethod)|test))(\\s+)${mU}(${dU})${hU}`,scope:[`keyword.declaration`,null,`decorator`,null,`function`,null,`comment.doc`]},{match:`(?<=\\()(def(?:once)?)(\\s+)${mU}(${dU})`,scope:[`keyword.declaration`,null,`decorator`,null,`variable`]},{match:`(?<=\\()(ns)(\\s+)${mU}(${dU})${hU}`,scope:[`keyword.import`,null,`decorator`,null,`namespace`,null,`comment.doc`]},{match:`(?<=\\()def${uU}*${pU}`,scope:`keyword.declaration`},{match:`(?<=\\()(\\.-)(${dU})`,scope:[`punctuation`,`variable.member`]},{match:`(?<=\\()(\\.)(${dU})`,scope:[`punctuation`,`function.method`]},{match:`${fU}nil${pU}`,scope:`constant.builtin`},{match:`${fU}(?:true|false)${pU}`,scope:`boolean`},{match:`${fU}(?:if(?:-not|-let|-some)?|when(?:-not|-let|-some|-first)?|condp?|case|do(?:seq|times|all|run)?|for|loop|recur|while|try|catch|finally|throw)${pU}`,scope:`keyword.control`},{match:`${fU}(?:fn|let(?:fn)?|binding|reify|proxy|declare|set!|var|new|extend-(?:type|protocol))${pU}`,scope:`keyword.declaration`},{match:`${fU}(?:(?:some|cond)?->>?|as->|and|or|not)${pU}`,scope:`keyword.operator`},{match:`${fU}(?:require|import|use|refer(?:-clojure)?|in-ns|load)${pU}`,scope:`keyword.import`},{match:`${fU}(?:not=|[<>]=?|=|[-+*/]|rem|quot|mod)${pU}`,scope:`operator`},{match:`${fU}(?:mapv?|filter|reduce|apply|into|conj|assoc(?:-in)?|dissoc|get(?:-in)?|update(?:-in)?|merge|count|first|second|rest|last|nth|take|drop|range|str|keyword|name|println|vec|vector|list|set|seq|sort(?:-by)?|concat|empty\\?|nil\\?|some|every\\?|contains\\?|inc|dec|swap!|reset!|atom|partial|comp|juxt)${pU}`,scope:`function.builtin`},{match:`${fU}(${gU})(/)(${dU})`,scope:[`type.builtin`,`punctuation.delimiter`,`function.method`]},{match:`${fU}([A-Z]${uU}*)(/)(${dU})`,scope:[`type`,`punctuation.delimiter`,`function.method`]},{match:`${fU}(?:${gU})${pU}`,scope:`type.builtin`},{match:`${fU}[A-Z]${uU}*`,scope:`type`},{match:`${fU}[a-z][\\w-]*(?:\\.[\\w-]+)+`,scope:`namespace`},{match:`(?<=\\()(?:(${dU})(/))?(${dU})`,scope:[`namespace`,`punctuation.delimiter`,`function.call`]},{match:`${fU}(${dU})(/)`,scope:[`namespace`,`punctuation.delimiter`]},{match:`${fU}%(?:\\d+|&)?`,scope:`variable.parameter`},{match:`${fU}&${pU}`,scope:`operator`},{match:`${fU}(?:~@|[~@'\`])`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`,`,scope:`punctuation.delimiter`}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|[\\s\\S])`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0}]},regexp:{default:`regexp`,rules:[{match:`\\\\[\\s\\S]`,scope:`string.escape`},{match:`"`,scope:`regexp`,pop:!0},{match:`$`,pop:!0}]}}}})),_U,tWt,nWt,vU,yU,bU,xU,rWt,iWt=s((()=>{_U=`[A-Za-z_]\\w*`,tWt=`\\\\(?:x[0-9a-fA-F]+|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|[0-7]{1,3}|\\r?\\n|.)`,nWt=`%[-+ #0']{0,8}(?:\\d{1,10}|\\*)?(?:\\.(?:\\d{1,10}|\\*)?)?(?:hh|ll|[hljztL])?[diouxXeEfFgGaAcspn%]`,vU=`(?:[A-Za-z_]\\w*)?`,yU=`(?:u8|[uUL])?`,bU=`(?:const|noexcept|override|final|try|&&?)`,xU=`[ \\t\\r\\n]{0,32}`,rWt={name:`cpp`,aliases:[`c++`,`cc`,`cxx`,`hpp`,`hxx`,`h++`,`cppm`],states:{root:{rules:[{match:`/\\*[*!](?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[/!][^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`^([ \\t]*)(#[ \\t]*include(?:_next)?)([ \\t]*)(<[^>\\n]*>|"[^"\\n]*")`,scope:[null,`keyword.import`,null,`string`]},{match:`^([ \\t]*)(#[ \\t]*define)([ \\t]+)(${_U})(?=\\()`,scope:[null,`keyword.declaration`,null,`function`]},{match:`^([ \\t]*)(#[ \\t]*(?:define|undef))([ \\t]+)(${_U})`,scope:[null,`keyword.declaration`,null,`constant`]},{match:`^([ \\t]*)(#[ \\t]*(?:ifdef|ifndef|elifdef|elifndef|if|elif|else|endif))\\b`,scope:[null,`keyword.control`]},{match:`^([ \\t]*)(#[ \\t]*[a-z_]+)`,scope:[null,`keyword`]},{match:`\\\\(?=\\r?\\n)`,scope:`operator`},{match:`\\[\\[[^\\[\\]\\n]{0,120}\\]\\]`,scope:`decorator`},{match:`(${yU}R)("[^()\\\\\\s]{0,16}\\()`,scope:[`string.special`,`string`],push:`raw-string`},{match:`${yU}(")`,scope:[`string`],rest:`string.special`,push:`string`},{match:`${yU}('(?:[^'\\\\\\n]|\\\\[^\\n]){1,8}')`,scope:[`string`],rest:`string.special`},{match:`\\b(class|struct|union|enum(?:[ \\t]+(?:class|struct))?)([ \\t]+)(${_U})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(namespace)([ \\t]+)(${_U}(?:::${_U})*)`,scope:[`keyword.declaration`,null,`namespace`]},{match:`\\b(using)([ \\t]+)(namespace)([ \\t]+)(${_U}(?:::${_U})*)`,scope:[`keyword.import`,null,`keyword.import`,null,`namespace`]},{match:`\\b(using)([ \\t]+)(namespace)\\b`,scope:[`keyword.import`,null,`keyword.import`]},{match:`\\b(?:if|else|for|while|do|switch|case|default|break|continue|return|goto|try|catch|throw|co_await|co_return|co_yield)\\b`,scope:`keyword.control`},{match:`\\b(?:class|struct|union|enum|typedef|using|template|typename|namespace|auto|const|constexpr|consteval|constinit|static|static_assert|extern|inline|virtual|override|final|explicit|friend|mutable|volatile|thread_local|public|private|protected|operator|concept)\\b`,scope:`keyword.declaration`},{match:`\\b(?:sizeof|alignof|alignas|typeid|decltype|noexcept|requires|new|delete|static_cast|dynamic_cast|const_cast|reinterpret_cast|and|or|not|xor|defined)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:nullptr|NULL|EOF)\\b`,scope:`constant.builtin`},{match:`\\b(?:this|cout|cerr|clog|cin|endl|stdin|stdout|stderr|errno)\\b`,scope:`variable.builtin`},{match:`\\b(?:void|bool|char|char(?:8|16|32)_t|wchar_t|short|int|long|float|double|signed|unsigned|size_t|ssize_t|ptrdiff_t|nullptr_t|u?int(?:8|16|32|64|ptr|max)_t|string|string_view|vector|unordered_map|unordered_set|shared_ptr|unique_ptr|weak_ptr|optional|variant|tuple|ostream)\\b`,scope:`type.builtin`},{match:`\\b__\\w+`,scope:`variable.special`},{match:`(->)(${_U})(?=[ \\t]*\\()`,scope:[`operator`,`function.method`]},{match:`(->)(${_U})`,scope:[`operator`,`variable.member`]},{match:`(\\.)(${_U})(?=[ \\t]*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${_U})`,scope:[`punctuation`,`variable.member`]},{match:`(,)(${xU})(${_U})(?=[ \\t]*\\()`,scope:[`punctuation.delimiter`,null,`function.call`]},{match:`\\)(?=${`(?:${xU}${bU}){0,4}${xU}`}:${xU}${_U}[ \\t]*\\()`,scope:`punctuation.bracket`,push:`member-init`},{match:`\\b${_U}(?=[ \\t]*\\([^;(){}]{0,120}\\)${`(?:[ \\t]*${bU}){0,4}[ \\t]*(?:->[^;{}\\n]{0,60})?(?:${xU}:[^;{}]{0,158}\\)[ \\t\\r\\n]{0,4})?(?:\\r?\\n[ \\t]*)?\\{`})`,scope:`function`},{match:`\\b(?:move|forward|make_shared|make_unique|swap|begin|end|to_string|printf|snprintf|memcpy|strlen|malloc|free|exit|assert)\\b(?=[ \\t]*\\()`,scope:`function.builtin`},{match:`\\b${_U}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b${_U}(?=<[^<>;(){}\\n]{0,80}(?:<[^<>;(){}\\n]{0,80}>[^<>;(){}\\n]{0,40})?>[ \\t]*\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b${_U}_t\\b`,scope:`type`},{match:`\\b[A-Z]\\w*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=::)`,scope:`namespace`},{match:`\\b0[xX][0-9a-fA-F']+(?:\\.[0-9a-fA-F']*)?(?:[pP][-+]?\\d+)?${vU}\\b`,scope:`number`},{match:`\\b0[bB][01']+${vU}\\b`,scope:`number`},{match:`\\b\\d[\\d']*(?:\\.[\\d']*)?(?:[eE][-+]?\\d+)?${vU}\\b`,scope:`number`},{match:`\\.\\d[\\d']*(?:[eE][-+]?\\d+)?${vU}\\b`,scope:`number`},{match:`<=>|->\\*|\\.\\*|->|::|\\+\\+|--|<<=?|>>=?|&&|\\|\\||\\.{3}|[-+*/%&|^!=<>]=?|[?~]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"member-init":{rules:[{match:`\\b(?:const|override|final)\\b(?![ \\t]*\\()`,scope:`keyword.declaration`},{match:`\\bnoexcept\\b`,scope:`keyword.operator`},{match:`\\btry\\b`,scope:`keyword.control`},{match:`&&?`,scope:`operator`},{match:`:`,scope:`punctuation.delimiter`},{match:`${_U}(?=[ \\t]*\\()`,scope:`function.call`,pop:!0},{match:`(?=[{;])`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{match:tWt,scope:`string.escape`},{match:nWt,scope:`string.special`},{match:`(")(${_U})?`,scope:[`string`,`string.special`],pop:!0},{match:`$`,pop:!0}]},"raw-string":{default:`string`,rules:[{match:`(\\)[^()\\\\\\s]{0,16}")(${_U})?`,scope:[`string`,`string.special`],pop:!0}]}}}})),SU,CU,wU,TU,aWt,oWt=s((()=>{SU=`[A-Za-z_]\\w*`,CU=`${SU}(?:\\.${SU})*`,wU=`<[^<>()\\n]{0,120}>`,TU=`\\\\(?:u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|x[0-9a-fA-F]{1,4}|[0abfnrtve'"\\\\])`,aWt={name:`csharp`,aliases:[`cs`,`c#`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`///[^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`^([ \\t]*)(#[ \\t]*[a-z]+)`,scope:[null,`decorator`]},{include:`strings`},{match:`(^[ \\t]*)(\\[)(${CU})`,scope:[null,`punctuation.bracket`,`decorator`]},{include:`numbers`},{match:`\\.\\.`,scope:`operator`},{match:`(\\??\\.)([ \\t]*)(${SU})(?=[ \\t]*(?:${wU})?[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\??\\.)([ \\t]*)(${SU})`,scope:[`punctuation`,null,`variable.member`]},{match:`\\b(using)([ \\t]+)(?:(static)([ \\t]+))?(${CU})(?=[ \\t]*;)`,scope:[`keyword.import`,null,`keyword.declaration`,null,`namespace`]},{match:`\\b(namespace)([ \\t]+)(${CU})`,scope:[`keyword.declaration`,null,`namespace`]},{match:`\\b((?:record[ \\t]+)?(?:class|struct|interface|enum|delegate|record))([ \\t]+)(${SU})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(new)([ \\t]+)(${CU})`,scope:[`keyword.operator`,null,`type`]},{match:`\\b(?:if|else|for|foreach|while|do|switch|case|default|break|continue|return|goto|throw|try|catch|finally|yield|await|lock|when|from|select|orderby|join|into)\\b`,scope:`keyword.control`},{match:`\\b(var)([ \\t]+)(${SU})(?=[ \\t]*[=;])`,scope:[`keyword.declaration`,null,`variable`]},{match:`\\b(?:class|struct|interface|enum|record|delegate|namespace|var|const|readonly|volatile|static|public|private|protected|internal|abstract|sealed|virtual|override|partial|async|event|extern|unsafe|fixed|implicit|explicit|operator|params|ref|out|where|get|set|init|required|global)\\b`,scope:`keyword.declaration`},{match:`\\busing\\b`,scope:`keyword.import`},{match:`\\b(?:is|as|in|new|typeof|sizeof|nameof|stackalloc|checked|unchecked|with|and|or|not)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b(?:this|base)\\b`,scope:`variable.builtin`},{match:`\\b(?:bool|byte|sbyte|char|decimal|double|float|int|uint|long|ulong|short|ushort|nint|nuint|object|string|void|dynamic)\\b`,scope:`type.builtin`},{match:`@${SU}`,scope:`variable`},{match:`\\b${SU}(?=(?:${wU})?(?:\\[\\])*\\??[ \\t]+(?!(?:is|as|in|when|and|or|not|switch|with)\\b)${SU}[ \\t]*[=;,){(])`,scope:`type`},{match:`(?<=[\\w>\\]?][ \\t])(?<!=>[ \\t])(?<!\\b(?:return|new|await|throw|yield|is|as|in|out|ref|case|when|and|or|not|else|do|using|typeof|nameof|default)[ \\t])(?:(${SU})(?=[ \\t]*(?:${wU})?[ \\t]*\\()|(${SU})(?=[ \\t]*(?:\\{|=>))|(?<![ \\t]>[ \\t])(${SU})(?=[ \\t]*(?:=(?![=>])|;)))`,scope:[`function`,`variable.member`,`variable`]},{match:`\\b${SU}(?=[ \\t]*(?:${wU})?[ \\t]*\\()`,scope:`function.call`},{match:`\\b${SU}(?=[ \\t]*=>)`,scope:`variable.parameter`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z]\\w*(?=\\.)`,scope:`type`},{match:`=>|\\?\\?=?|\\?\\.|::|\\+\\+|--|&&|\\|\\||<<=?|>>=?|[-+*/%&|^!=<>]=?|[?~^]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX](?:_?[0-9a-fA-F])+(?:[uU][lL]?|[lL][uU]?)?\\b`,scope:`number`},{match:`\\b0[bB](?:_?[01])+(?:[uU][lL]?|[lL][uU]?)?\\b`,scope:`number`},{match:`\\b\\d(?:_?\\d)*\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?[fFdDmM]?|\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?[fFdDmM]?|\\b\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?(?:[fFdDmM]|[uU][lL]?|[lL][uU]?)?\\b`,scope:`number`}]},strings:{rules:[{match:`(\\$(?<!\\$\\$)\\$*)("{3,})`,scope:[`string.special`,`string`],push:`raw-interpolated`,remember:2},{match:`("{3,})`,scope:`string`,push:`raw`,remember:1},{match:`(\\$@|@\\$)(")`,scope:[`string.special`,`string`],push:`verbatim-interpolated`},{match:`(@)(")`,scope:[`string.special`,`string`],push:`verbatim`},{match:`(\\$)(")`,scope:[`string.special`,`string`],push:`interpolated`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\\\n]|${TU})'`,scope:`string`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{match:TU,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},interpolated:{default:`string`,rules:[{match:TU,scope:`string.escape`},{include:`holes`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},verbatim:{default:`string`,rules:[{match:`""`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0}]},"verbatim-interpolated":{default:`string`,rules:[{match:`""`,scope:`string.escape`},{include:`holes`},{match:`"`,scope:`string`,pop:!0}]},raw:{default:`string`,rules:[{match:`{{remembered}}`,scope:`string`,pop:!0}]},"raw-interpolated":{default:`string`,rules:[{include:`holes`},{match:`{{remembered}}`,scope:`string`,pop:!0}]},holes:{rules:[{match:`\\{\\{|\\}\\}`,scope:`string.escape`},{match:`\\{`,scope:`interpolation`,push:`interpolation`}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`,[ \\t]*-?\\d+(?=[:}])`,scope:`string.special`},{match:`:[^{}()"\\n]{0,120}(?=\\})`,scope:`string.special`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]}}}})),EU,DU,sWt,cWt=s((()=>{EU=`-{0,2}[A-Za-z_\\u0080-\\uFFFF][\\w-\\u0080-\\uFFFF]*`,DU=`@(?:media|supports|container|import)\\b`,sWt={name:`css`,aliases:[`scss`,`less`],states:{root:{rules:[{include:`comments`},{include:`strings`},{match:DU,scope:`keyword`,push:`condition`},{include:`variable-definition`},{match:`@[A-Za-z-]+`,scope:`keyword`},{match:`\\$${EU}`,scope:`variable`},{match:`\\{`,scope:`punctuation.bracket`,push:`declarations`},{match:`[.#]${EU}`,scope:`selector`},{match:`::?[A-Za-z-]+`,scope:`selector`},{match:`\\[[^[\\]]*\\]`,scope:`selector`},{match:`\\b[a-z][\\w-]*\\b(?![\\w-]*\\s*:)`,scope:`tag`},{match:`[>~+*,]`,scope:`operator`},{match:`[{}();]`,scope:`punctuation`}]},declarations:{rules:[{include:`comments`},{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`declarations`},{match:`;`,scope:`punctuation.delimiter`},{match:DU,scope:`keyword`,push:`condition`},{include:`variable-definition`},{match:`@[A-Za-z-]+`,scope:`keyword`},{match:`(${EU})(\\s*)(:)`,scope:[`property`,null,`punctuation.delimiter`],push:`value`},{match:`\\$${EU}`,scope:`variable`},{match:`[.#&]${EU}`,scope:`selector`},{match:`::?[A-Za-z-]+`,scope:`selector`},{match:EU},{include:`strings`}]},value:{rules:[{match:`(?=[;}])`,pop:!0},{include:`comments`},{include:`strings`},{match:`!important\\b`,scope:`keyword`},{match:`#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b`,scope:`number`},{match:`var\\(\\s*(--[\\w-]+)`,scope:[`property`],rest:`function.builtin`},{match:`--[\\w-]+`,scope:`property`},{match:`[$@]${EU}`,scope:`variable`},{include:`value-tokens`},{match:`\\b[a-zA-Z-]+\\b`,scope:`constant`},{match:`[(),/]`,scope:`punctuation`},{match:`;`,scope:`punctuation.delimiter`,pop:!0}]},condition:{rules:[{match:`(?=[{;}])`,pop:!0},{include:`comments`},{include:`strings`},{match:`\\b(?:and|or|not|only)\\b`,scope:`keyword`},{match:`(${EU})(\\s*)(:)`,scope:[`property`,null,`punctuation.delimiter`]},{include:`value-tokens`},{match:`\\$${EU}`,scope:`variable`},{match:EU,scope:`constant`},{match:`[(),/<>=]`,scope:`punctuation`}]},"variable-definition":{rules:[{match:`@page(?=:(?:first|left|right|blank)\\b)`,scope:`keyword`},{match:`(\\$${EU})(\\s*)(:)`,scope:[`variable`,null,`punctuation.delimiter`],push:`value`},{match:`(@${EU})(:)`,scope:[`variable`,`punctuation.delimiter`],push:`value`}]},"value-tokens":{rules:[{match:`\\b(url)(\\()(?=[ \\t]*[^\\s"'])`,scope:[`function.builtin`,`punctuation`],push:`url`},{match:`\\b(${EU})(?=\\()`,scope:`function.call`},{match:`(-?\\d*\\.?\\d+)((?:e[-+]?\\d+)?(?:%|[a-zA-Z]+)?)`,scope:[`number`,`unit`]}]},url:{default:`string`,rules:[{match:`\\\\.`,scope:`string.escape`},{match:`\\)`,scope:`punctuation`,pop:!0},{match:`(?=[;}\\n])`,pop:!0}]},comments:{rules:[{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`(?<!:)//[^\\n]*`,scope:`comment`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]},strings:{rules:[{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`}]},"string-double":{default:`string`,rules:[{match:`\\\\(?:\\r\\n|[\\s\\S])`,scope:`string`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\(?:\\r\\n|[\\s\\S])`,scope:`string`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]}}}})),lWt,uWt=s((()=>{lWt={name:`curl`,states:{root:{ignoreCase:!0,rules:[{match:`\\bcurl\\b`,scope:`keyword`},{match:`(^|\\s)(--request|-X)(\\s+)(get|post|put|patch|delete|head|options|trace|connect)\\b`,scope:[null,`constant.builtin`,null,`symbol`]},{match:`(^|\\s)(--[A-Za-z][\\w-]*)`,scope:[null,`constant.builtin`]},{match:`(^|\\s)(-[A-Za-z])(?![\\w-])`,scope:[null,`constant.builtin`]},{match:`\\\\"`,scope:`string`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`\\b\\d+(?:\\.\\d+)?\\b`,scope:`number`}]},"string-double":{default:`string`,rules:[{match:`\\\\.`,scope:`string.escape`},{match:`\\$\\(`,scope:`variable`,push:`subshell`},{match:`"`,scope:`string`,pop:!0}]},subshell:{default:`variable`,rules:[{match:`\\)`,scope:`variable`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`'`,scope:`string`,pop:!0}]}}}})),OU,dWt,fWt=s((()=>{OU=`[A-Za-z_$][\\w$]{0,128}`,dWt={name:`dart`,states:{root:{rules:[{match:`^#!.*`,scope:`comment`},{include:`expression`}]},expression:{rules:[{match:`///[^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`comment-doc`},{match:`/\\*`,scope:`comment`,push:`comment-block`},{include:`strings`},{include:`numbers`},{match:`@${OU}(?:\\.${OU})*`,scope:`decorator`},{match:`\\.\\.\\.\\??`,scope:`operator`},{match:`(\\?\\.\\.|\\.\\.)([ \\t]*)(${OU})(?=[ \\t]*\\()`,scope:[`operator`,null,`function.method`]},{match:`(\\?\\.\\.|\\.\\.)([ \\t]*)(${OU})`,scope:[`operator`,null,`variable.member`]},{match:`(\\?\\.|\\.)([ \\t]*)(${OU})(?=[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\?\\.|\\.)([ \\t]*)(${OU})`,scope:[`punctuation`,null,`variable.member`]},{match:`\\b(?:if|else|for|while|do|switch|case|default|break|continue|return|yield|await|throw|rethrow|try|catch|finally|assert)\\b`,scope:`keyword.control`},{match:`\\b(?:abstract|async|base|class|const|covariant|enum|extends|extension|external|factory|final|get|implements|interface|late|mixin|operator|required|sealed|set|static|sync|typedef|var|with|on)\\b`,scope:`keyword.declaration`},{match:`\\b(?:import|export|library|part|deferred|show|hide|of)\\b`,scope:`keyword.import`},{match:`\\b(?:is|as|in|new)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:int|double|num|bool|String|List|Map|Set|Iterable|Future|Stream|Object|Function|Never|Null|dynamic|void)\\b`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_$]*\\b`,scope:`type`},{match:`\\bprint\\b(?=[ \\t]*\\()`,scope:`function.builtin`},{match:`(?<=[\\w>]\\??[ \\t])(?<!=>[ \\t])(?<!\\b(?:return|await|yield|throw|new|const|case|else|in|is|as)[ \\t])[a-z_$][\\w$]{0,128}(?=[ \\t]*[(<])`,scope:`function`},{match:`\\b${OU}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b${OU}(?=:)`,scope:`variable.parameter`},{match:`=>|\\?\\?=?|~/=?|\\+\\+|--|&&|\\|\\||<<=?|>>>?=?|[!=]=|[-+*/%&|^]=?|[<>]=?|[?!~=]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`}]},strings:{rules:[{match:`\\b(r)(''')`,scope:[`string.special`,`string`],push:`raw-triple-single`},{match:`\\b(r)(""")`,scope:[`string.special`,`string`],push:`raw-triple-double`},{match:`\\b(r)('[^'\\n]*')`,scope:[`string.special`,`string`]},{match:`\\b(r)("[^"\\n]*")`,scope:[`string.special`,`string`]},{match:`'''`,scope:`string`,push:`triple-single`},{match:`"""`,scope:`string`,push:`triple-double`},{match:`'`,scope:`string`,push:`single`},{match:`"`,scope:`string`,push:`double`}]},"string-body":{rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|.)`,scope:`string.escape`},{match:`\\$\\{`,scope:`interpolation`,push:`interpolation`},{match:`(\\$)(${OU})`,scope:[`interpolation`,`variable`]}]},single:{default:`string`,rules:[{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},double:{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"triple-single":{default:`string`,rules:[{include:`string-body`},{match:`'''`,scope:`string`,pop:!0}]},"triple-double":{default:`string`,rules:[{include:`string-body`},{match:`"""`,scope:`string`,pop:!0}]},"raw-triple-single":{default:`string`,rules:[{match:`'''`,scope:`string`,pop:!0}]},"raw-triple-double":{default:`string`,rules:[{match:`"""`,scope:`string`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},"comment-block":{default:`comment`,rules:[{match:`/\\*`,push:`comment-block`},{match:`\\*/`,pop:!0}]},"comment-doc":{default:`comment.doc`,rules:[{match:`/\\*`,push:`comment-doc`},{match:`\\*/`,pop:!0}]}}}})),pWt,mWt=s((()=>{pWt={name:`diff`,aliases:[`patch`],states:{root:{rules:[{match:`^(?:(?:diff|index|new file|deleted file|old mode|new mode|similarity index|rename|Index:|Only in|Binary files) |={3,}|#|\\\\)[^\\n]*`,scope:`comment`},{match:`^(?:@@|\\*{15}|\\*{3} \\d+(?:,\\d+)? \\*{4}|-{3} \\d+(?:,\\d+)? -{4}|\\d+(?:,\\d+)?[acd]\\d+(?:,\\d+)?$)[^\\n]*`,scope:`keyword`},{match:`^(?:---|\\+\\+\\+|\\*\\*\\*)[^\\n]*`,scope:`heading`},{match:`^[+>][^\\n]*`,scope:`diff.plus`},{match:`^[-<][^\\n]*`,scope:`diff.minus`}]}}}})),kU,AU,hWt,gWt,_Wt=s((()=>{kU=`^[ \\t]*(?:(ONBUILD)([ \\t]+))?`,AU=[`keyword`,null],hWt=`RUN|CMD|ENTRYPOINT|COPY|ADD|EXPOSE|USER|WORKDIR|VOLUME|SHELL|STOPSIGNAL|MAINTAINER`,gWt={name:`dockerfile`,aliases:[`docker`,`containerfile`],states:{root:{ignoreCase:!0,rules:[{match:`^(#)([ \\t]*)(syntax|escape|check)(=)([^\\n]*)`,scope:[`comment`,null,`keyword`,`operator`,`string`]},{match:`#[^\\n]*`,scope:`comment`},{match:`${kU}(FROM)\\b`,scope:[...AU,`keyword.import`],push:`from`},{match:`${kU}(ARG|ENV)\\b([ \\t]*)([A-Za-z_]\\w*)?`,scope:[...AU,`keyword.declaration`,null,`variable`],push:`env`},{match:`${kU}(LABEL)\\b([ \\t]*)([\\w.-]+)?`,scope:[...AU,`keyword.declaration`,null,`property`],push:`label`},{match:`${kU}(HEALTHCHECK)\\b`,scope:[...AU,`keyword`],push:`healthcheck`},{match:`${kU}(${hWt})\\b`,scope:[...AU,`keyword`],push:`args`}]},args:{rules:[{match:`(<<-?)(['"]?)([A-Za-z_]\\w*)(['"]?)`,scope:[`operator`,`string`,`string.special`,`string`],push:`heredoc-head`},{match:`(?:^|[ \\t])(--from)(=)([\\w.-]+)`,scope:[`constant`,`operator`,`type`]},{match:`(?:^|[ \\t])(--?[A-Za-z][\\w-]*)`,scope:[`constant`]},{match:`(=)([\\w.-]+)(?==)`,scope:[`operator`,`variable.parameter`]},{match:`(,)([\\w.-]+)(?==)`,scope:[`punctuation.delimiter`,`variable.parameter`]},{match:`\\\\\\r?\\n`,scope:`operator`},{match:`\\\\[\\\\$"'\`]`,scope:`string.escape`},{include:`expansion`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`(?:^|[ \\t])#[^\\n]*`,scope:`comment`},{match:`(?:^|[ \\t:])(\\d+)(ms|[smh])?(?![\\w.-])`,scope:[`number`,`unit`]},{match:`([;=&<>|])(\\d+)(ms|[smh])?(?![\\w.-])`,scope:[`operator`,`number`,`unit`]},{match:`&&|\\|\\|?|>>?|[;=&<]`,scope:`operator`},{match:`[[\\]{}]`,scope:`punctuation.bracket`},{match:`,`,scope:`punctuation.delimiter`},{match:`$`,pop:!0}]},from:{rules:[{match:`(?:^|[ \\t])([Aa][Ss])([ \\t]+)([\\w.-]+)`,scope:[`keyword.operator`,null,`type`]},{match:`(?:^|[ \\t])(?!--)(?=[\\w.:/@$-])`,push:`image`},{include:`args`}]},image:{default:`string`,rules:[{match:`(?=\\s)`,pop:!0},{include:`expansion`}]},env:{rules:[{match:`(?:^|[ \\t])([A-Za-z_]\\w*)(?==)`,scope:[`variable`]},{include:`args`}]},label:{rules:[{match:`(?:^|[ \\t])([\\w.-]+)(?==)`,scope:[`property`]},{include:`args`}]},healthcheck:{rules:[{match:`(?:^|[ \\t])([Cc][Mm][Dd])\\b`,scope:[`keyword`],set:`args`},{match:`(?:^|[ \\t])([Nn][Oo][Nn][Ee])\\b`,scope:[`constant.builtin`],set:`args`},{include:`args`}]},expansion:{rules:[{match:`\\$\\{`,scope:`interpolation`,push:`expansion-brace`},{match:`\\$[A-Za-z_]\\w*`,scope:`variable`}]},"expansion-brace":{default:`variable`,rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`:[-+?]|#{1,2}|%{1,2}`,scope:`operator`,push:`expansion-value`},{match:`$`,pop:!0}]},"expansion-value":{default:`string`,rules:[{match:`(?=\\})`,pop:!0},{include:`expansion`},{match:`$`,pop:!0}]},"string-double":{default:`string`,rules:[{match:`\\\\\\r?\\n`,scope:`operator`},{match:`\\\\.`,scope:`string.escape`},{include:`expansion`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\\\r?\\n`,scope:`operator`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"heredoc-head":{rules:[{match:`\\r?\\n`,set:`heredoc`},{include:`args`}]},heredoc:{default:`string`,rules:[{match:`^[ \\t]*[A-Za-z_]\\w*[ \\t]*$`,scope:`string.special`,pop:2},{include:`expansion`}]}}}})),jU,MU,vWt,NU,yWt,bWt=s((()=>{jU=`[a-z_]\\w*`,MU=`${jU}[?!]?`,vWt=`\\{\\}|\\[\\]|\\.\\.\\.?|<>|<=|>=|[=!]==?|=~|\\+\\+?|--?|\\*\\*?|\\|\\||&&|[<>/|]`,NU=`~(?:[A-Z]{1,6}|[a-z])`,yWt={name:`elixir`,aliases:[`ex`,`exs`],states:{root:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`(@(?:module|type|short)?doc)([ \\t]*)(""")`,scope:[`decorator`,null,`comment.doc`],push:`doc-heredoc`},{match:`@${jU}`,scope:`decorator`},{match:`(${NU})(""")`,scope:[`string.special`,`string`],push:`heredoc-double`},{match:`(${NU})(''')`,scope:[`string.special`,`string`],push:`heredoc-single`},{match:`"""`,scope:`string`,push:`heredoc-double`},{match:`'''`,scope:`string`,push:`heredoc-single`},{match:`(${NU})(\\()`,scope:[`string.special`,`string`],push:`sigil-paren`},{match:`(${NU})(\\[)`,scope:[`string.special`,`string`],push:`sigil-bracket`},{match:`(${NU})(\\{)`,scope:[`string.special`,`string`],push:`sigil-brace`},{match:`(${NU})(<)`,scope:[`string.special`,`string`],push:`sigil-angle`},{match:`(${NU})(/)`,scope:[`string.special`,`string`],push:`sigil-slash`},{match:`(${NU})(\\|)`,scope:[`string.special`,`string`],push:`sigil-pipe`},{match:`(${NU})(")`,scope:[`string.special`,`string`],push:`string`},{match:`(${NU})(')`,scope:[`string.special`,`string`],push:`charlist`},{match:`"`,scope:`string`,push:`string`},{match:`'`,scope:`string`,push:`charlist`},{match:`:"(?:[^"\\\\\\n]|\\\\.)*"`,scope:`constant`},{match:`:[A-Za-z_]\\w*[?!]?`,scope:`constant`},{match:`:(?:${vWt})(?=[\\s,)\\]}])`,scope:`constant`},{match:`\\b${MU}(?=:(?![:=]))`,scope:`property`},{match:`(\\b(?:defmodule|defprotocol|defimpl)\\b)([ \\t]+)([A-Z]\\w*(?:\\.[A-Z]\\w*)*)`,scope:[`keyword.declaration`,null,`namespace`]},{match:`(\\b(?:defp?|defmacrop?|defguardp?|defdelegate)\\b)([ \\t]+)(${MU})`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(?:def(?:p|macrop?|guardp?|delegate|struct|exception|overridable|impl|protocol|module)?|fn)\\b`,scope:`keyword.declaration`},{match:`\\b(?:after|case|catch|cond|do|else|end|for|if|raise|receive|rescue|throw|try|unless|when|with)\\b`,scope:`keyword.control`},{match:`\\b(?:alias|import|require|use)\\b`,scope:`keyword.import`},{match:`\\b(?:and|in|not|or)\\b`,scope:`keyword.operator`},{match:`\\b(?:quote|unquote|unquote_splicing|super)\\b`,scope:`keyword`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnil\\b`,scope:`constant.builtin`},{match:`\\b__\\w+__\\b`,scope:`variable.special`},{match:`&\\d+`,scope:`variable.parameter`},{match:`(&)(${MU})(?=/\\d)`,scope:[`operator`,`function.call`]},{match:`\\bis_[a-z_]+(?=\\()`,scope:`function.builtin`},{match:`\\b(?:abs|apply|byte_size|div|elem|hd|inspect|length|map_size|max|min|rem|round|self|send|spawn|tl|to_string|tuple_size)\\b`,scope:`function.builtin`},{match:`(\\b[A-Z]\\w*)(\\.)(${MU})`,scope:[`namespace`,`punctuation`,`function.method`]},{match:`(\\.)(${MU})(?=\\(|/\\d)`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${MU})`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Z]\\w*(?=\\.)`,scope:`namespace`},{match:`\\b[A-Z]\\w*`,scope:`type`},{match:`\\b${MU}(?=\\()`,scope:`function.call`},{match:`\\b${jU}[?!](?![=~])`,scope:`function.call`},{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO][0-7_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`\\?(?:\\\\x\\{?[0-9a-fA-F]+\\}?|\\\\.|[^\\s\\\\])`,scope:`number`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`\\|\\|\\||&&&|<<<|>>>|\\^\\^\\^|~~~|\\+\\+\\+|---|\\|>|<-|->|=>|<>|<<|>>|\\.\\.\\.|\\.\\.|::|\\|\\||&&|\\+\\+|--|=~|[=!]==?|[<>]=?|\\\\\\\\|[-+*/^&|=!%]`,scope:`operator`},{match:`[()\\[\\]}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`},{match:`\\.`,scope:`punctuation`}]},"interp-body":{rules:[{match:`\\\\(?:x\\{[0-9a-fA-F]+\\}|x[0-9a-fA-F]{1,2}|u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|.)`,scope:`string.escape`},{match:`#\\{`,scope:`interpolation`,push:`interpolation`}]},string:{default:`string`,rules:[{include:`interp-body`},{match:`"[a-zA-Z]*`,pop:!0},{match:`$`,pop:!0}]},charlist:{default:`string`,rules:[{include:`interp-body`},{match:`'[a-zA-Z]*`,pop:!0},{match:`$`,pop:!0}]},"heredoc-double":{default:`string`,rules:[{match:`"""`,pop:!0},{include:`interp-body`}]},"heredoc-single":{default:`string`,rules:[{match:`'''`,pop:!0},{include:`interp-body`}]},"doc-heredoc":{default:`comment.doc`,rules:[{match:`"""`,pop:!0}]},"sigil-paren":{default:`string`,rules:[{match:`\\(`,push:`sigil-paren`},{match:`\\)[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-bracket":{default:`string`,rules:[{match:`\\[`,push:`sigil-bracket`},{match:`\\][a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-brace":{default:`string`,rules:[{match:`\\{`,push:`sigil-brace`},{match:`\\}[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-angle":{default:`string`,rules:[{match:`<`,push:`sigil-angle`},{match:`>[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-slash":{default:`string`,rules:[{match:`/[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-pipe":{default:`string`,rules:[{match:`\\|[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`root`}]}}}})),PU,FU,IU,xWt,LU,RU,zU,SWt,CWt=s((()=>{PU=`[A-Za-z_][\\w']*`,FU=`(?:${PU}|\`\`[^\`\\n]*\`\`)`,IU=`((?:(?:rec|inline|mutable|private|internal|public|static|member|val)[ \\t]+)*)`,xWt=`(?!(?:rec|inline|mutable|private|internal|public|static|member|val)\\b)`,LU=`\\\\(?:u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|x[0-9a-fA-F]{2}|[0-9]{3}|\\r?\\n|[\\\\"'ntbrafv0])`,RU=`%[-+ 0]*(?:\\d+|\\*)?(?:\\.\\d+)?[bscdiuxXoeEfFgGMOAat%]`,zU=`(?:[uU][yslLnN]?|[yslLnNIfFmM])?`,SWt={name:`fsharp`,aliases:[`fs`,`fsx`,`fsi`,`f#`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`\\(\\*\\)`,scope:`operator`},{match:`///[^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`\\(\\*`,scope:`comment`,push:`block-comment`},{match:`^([ \\t]*)(#[a-zA-Z]+)`,scope:[null,`keyword`]},{match:`\\[<[^[\\]\\n]*>\\]`,scope:`decorator`},{include:`strings`},{match:`(?<![\\w'])'(?:[^'\\\\\\n]|${LU})'B?`,scope:`string`},{match:`(?<![\\w'])'${PU}`,scope:`type`},{match:`(?<![\\w')\\]])\\^${PU}`,scope:`type`},{match:"``[^`\\n]*``",scope:`variable`},{match:`\\(\\|[A-Za-z_][\\w'|]*\\|_?\\)`,scope:`function`},{match:`\\([!%&*+\\-./<=>@^|~?]+\\)`,scope:`operator`},{match:`\\b(open)([ \\t]+)([A-Za-z_][\\w'.]*)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(namespace|module)([ \\t]+)((?:rec|global)[ \\t]+)?([A-Za-z_][\\w'.]*)`,scope:[`keyword.declaration`,null,`keyword.declaration`,`namespace`]},{match:`\\b(type)([ \\t]+)${IU}(${FU})`,scope:[`keyword.declaration`,null,`keyword.declaration`,`class`]},{match:`\\b(let|use|and)([ \\t]+)${IU}(${FU})(?=[ \\t]*[:=,](?!=))`,scope:[`keyword.declaration`,null,`keyword.declaration`,`variable`]},{match:`\\b(let|use|and)([ \\t]+)${IU}${xWt}(${FU})`,scope:[`keyword.declaration`,null,`keyword.declaration`,`function`]},{match:`\\b(member|override|abstract|default|val)([ \\t]+)${IU}(?:(${PU})(\\.))?(${FU})`,scope:[`keyword.declaration`,null,`keyword.declaration`,`variable.builtin`,`punctuation`,`function`]},{match:`\\b(?:return|yield|match|do)!`,scope:`keyword.control`},{match:`\\b(?:let|use|and)!`,scope:`keyword.declaration`},{match:`\\b(?:if|then|elif|else|match|when|with|try|finally|for|to|downto|while|do|done|return|yield|assert)\\b`,scope:`keyword.control`},{match:`\\b(?:let|rec|and|use|fun|function|type|member|override|abstract|default|static|val|mutable|new|inherit|interface|class|struct|begin|end|module|exception|delegate|inline|private|public|internal|extern|lazy|global|fixed)\\b`,scope:`keyword.declaration`},{match:`\\b(?:open|namespace)\\b`,scope:`keyword.import`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:null|None|Some|Ok|Error|ValueNone|ValueSome|nan|infinity)\\b`,scope:`constant.builtin`},{match:`\\b(?:not|in|as|of|mod|land|lor|lxor|lsl|lsr|asr|upcast|downcast|box|unbox|typeof|nameof|sizeof)\\b`,scope:`keyword.operator`},{match:`\\b(?:this|base)\\b`,scope:`variable.builtin`},{match:`\\b(?:u?int(?:8|16|32|64)?|u?nativeint|s?byte|float(?:32)?|double|single|decimal|bigint|char|string|bool|unit|obj|exn|list|array|seq|v?option|Result|Option|Map|Set|Async|Task)\\b`,scope:`type.builtin`},{match:`\\b(?:e?printfn?|sprintf|failwithf?|raise|ignore|id|fst|snd)\\b`,scope:`function.builtin`},{match:`(\\.)(${PU})(?=[ \\t]*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${PU})`,scope:[`punctuation`,`variable.member`]},{match:`^([ \\t]*)([A-Z][\\w']*)(?=[ \\t]*[:=](?!=))`,scope:[null,`property`]},{match:`(\\{)([ \\t]*)([A-Z][\\w']*)(?=[ \\t]*[:=](?!=))`,scope:[`punctuation.bracket`,null,`property`]},{match:`\\b[A-Z][\\w']*`,scope:`type`},{match:`(\\()([ \\t]*)([a-z_][\\w']*)(?=[ \\t]*:)`,scope:[`punctuation.bracket`,null,`variable.parameter`]},{match:`\\b0[xX][0-9a-fA-F_]+${zU}\\b`,scope:`number`},{match:`\\b0[bBoO][0-9_]+${zU}\\b`,scope:`number`},{match:`\\b\\d[\\d_]*\\.(?!\\.)(?:\\d[\\d_]*)?(?:[eE][-+]?\\d+)?[fFmM]?|\\b\\d[\\d_]*(?:[eE][-+]?\\d+)[fFmM]?|\\b\\d[\\d_]*${zU}\\b`,scope:`number`},{match:`\\[\\||\\|\\]|\\{\\||\\|\\}`,scope:`punctuation.bracket`},{match:`::|:\\?>|:>|:\\?|:=|\\.\\.|[-+*/%@^&|!~<>=?]=?`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[;,:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`\\(\\*`,push:`block-comment`},{match:`\\*\\)`,pop:!0}]},strings:{rules:[{match:`(\\$)(""")`,scope:[`string.special`,`string`],push:`interp-triple`},{match:`"""`,scope:`string`,push:`triple`},{match:`(\\$@|@\\$)(")`,scope:[`string.special`,`string`],push:`interp-verbatim`},{match:`(@)(")`,scope:[`string.special`,`string`],push:`verbatim`},{match:`(\\$)(")`,scope:[`string.special`,`string`],push:`interp`},{match:`"`,scope:`string`,push:`string`}]},"interp-body":{rules:[{match:`\\{\\{|\\}\\}`,scope:`string.escape`},{match:`\\{`,scope:`interpolation`,push:`interp-expr`}]},"string-body":{rules:[{match:LU,scope:`string.escape`},{match:RU,scope:`string.special`}]},"verbatim-body":{rules:[{match:`""`,scope:`string.escape`},{match:RU,scope:`string.special`}]},string:{default:`string`,rules:[{include:`string-body`},{match:`"B?`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},interp:{default:`string`,rules:[{include:`string-body`},{include:`interp-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},verbatim:{default:`string`,rules:[{include:`verbatim-body`},{match:`"`,scope:`string`,pop:!0}]},"interp-verbatim":{default:`string`,rules:[{include:`verbatim-body`},{include:`interp-body`},{match:`"`,scope:`string`,pop:!0}]},triple:{default:`string`,rules:[{match:RU,scope:`string.special`},{match:`"""`,scope:`string`,pop:!0}]},"interp-triple":{default:`string`,rules:[{match:RU,scope:`string.special`},{include:`interp-body`},{match:`"""`,scope:`string`,pop:!0}]},"interp-expr":{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`:(?![:=])[^{}"\\n]{0,120}(?=\\})`,scope:`string.special`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]}}}})),wWt,TWt=s((()=>{wWt={name:`go`,aliases:[`golang`],states:{root:{rules:[{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:"`[^`]*`",scope:`string`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\]|\\\\(?:u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|.))'`,scope:`string`},{match:`\\b(?:if|else|for|range|switch|case|default|break|continue|return|goto|fallthrough|select|defer|go)\\b`,scope:`keyword.control`},{match:`(func)(\\s+)(\\([^)\\n]*\\))?(\\s*)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,null,null,`function`]},{match:`(package)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`namespace`]},{match:`\\b(var)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`variable`]},{match:`\\b(?:func|var|const|type|struct|interface|map|chan|package)\\b`,scope:`keyword.declaration`},{match:`\\bimport\\b`,scope:`keyword.import`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:nil|iota)\\b`,scope:`constant.builtin`},{match:`\\b(?:append|cap|clear|close|complex|copy|delete|imag|len|make|max|min|new|panic|print|println|real|recover)\\b(?=\\s*\\()`,scope:`function.builtin`},{match:`\\b(?:bool|byte|complex64|complex128|error|float32|float64|int|int8|int16|int32|int64|rune|string|uint|uint8|uint16|uint32|uint64|uintptr|any)\\b`,scope:`type.builtin`},{match:`\\b([a-z]\\w*)(\\.)([A-Z]\\w*)\\b(?![ \\t]*\\()(?:(?=\\{)|(?<=(?:(?<![\\w)\\]])\\*|\\]|\\.\\(|\\)[ \\t]+|\\b(?!(?:return|case|go|defer|if|else|for|range|switch|select|goto|break|continue)\\b)[A-Za-z_]\\w*[ \\t]+)[a-z]\\w*\\.[A-Z]\\w*))`,scope:[null,`punctuation`,`type`]},{match:`(\\.)([A-Za-z_]\\w*)(?=\\s*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)([A-Za-z_]\\w*)`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Za-z_]\\w*\\b(?=(?:\\s*,\\s*[A-Za-z_]\\w*){0,7}\\s*:=)`,scope:`variable`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=\\s*\\()`,scope:`function.call`},{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bo][0-9_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?i?\\b`,scope:`number`},{match:`:=|\\.{3}|<-|&&|\\|\\||[-+*/%!&|^<>=]=?|\\+\\+|--`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|x[0-9a-fA-F]{2}|[0-7]{3}|.)`,scope:`string.escape`},{match:`%[-+ #0]*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?[vTtbcdoOqxXUeEfFgGsp%]`,scope:`string.special`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]}}}})),BU,EWt,DWt=s((()=>{BU=`[_A-Za-z][_0-9A-Za-z]*`,EWt={name:`graphql`,aliases:[`gql`],states:{root:{rules:[{match:`(^[ \\t]*)(""")`,scope:[null,`comment.doc`],push:`description`},{match:`(^[ \\t]*)("(?:[^"\\\\\\n]|\\\\.)*")`,scope:[null,`comment.doc`]},{include:`common`},{match:`\\b${BU}\\b`,scope:`property`}]},args:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`args`},{match:`\\$${BU}`,scope:`variable`},{match:`\\b${BU}(?=[ \\t]*:)`,scope:`variable.parameter`},{include:`common`}]},common:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`"""`,scope:`string`,push:`block-string`},{match:`"`,scope:`string`,push:`string`},{match:`\\b(type|interface|input|enum|union|scalar)([ \\t]+)(${BU})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\bextend\\b(?=[ \\t]+[a-z])`,scope:`keyword.declaration`},{match:`\\bschema\\b(?=[ \\t]*[{@])`,scope:`keyword.declaration`},{match:`\\bdirective\\b(?=[ \\t]*@)`,scope:`keyword.declaration`},{match:`\\b(query|mutation|subscription|fragment)([ \\t]+)(${BU})`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(?:query|mutation|subscription)\\b(?=[ \\t]*[{(@])`,scope:`keyword.declaration`},{match:`(\\.\\.\\.)([ \\t]*)(on)\\b`,scope:[`operator`,null,`keyword`]},{match:`(\\.\\.\\.)([ \\t]*)(${BU})`,scope:[`operator`,null,`function.call`]},{match:`\\b(?:on|implements)\\b(?=[ \\t]+[A-Z_])`,scope:`keyword`},{match:`\\brepeatable\\b(?=[ \\t]+on\\b)`,scope:`keyword`},{match:`@${BU}`,scope:`decorator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b__(?:typename|schema|type)\\b`,scope:`variable.special`},{match:`\\b(?:Int|Float|String|Boolean|ID)\\b`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${BU}(?=[ \\t]*:)`,scope:`property`},{match:`\\b${BU}(?=[ \\t]*\\([^()]{0,300}\\)[ \\t]*:)`,scope:`property`},{match:`-?\\b\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`\\(`,scope:`punctuation.bracket`,push:`args`},{match:`[{}\\[\\]()]`,scope:`punctuation.bracket`},{match:`\\.\\.\\.|[!=|&]`,scope:`operator`},{match:`[,:]`,scope:`punctuation.delimiter`}]},string:{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|["\\\\/bfnrt])`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"block-string":{default:`string`,rules:[{match:`\\\\"""`,scope:`string.escape`},{match:`"""`,scope:`string`,pop:!0}]},description:{default:`comment.doc`,rules:[{match:`\\\\"""`},{match:`"""`,pop:!0}]}}}})),VU,HU,UU,WU,GU,KU,qU,OWt,kWt=s((()=>{VU=`!#$%&*+./<=>?@\\\\^|~:-`,HU=`[a-z_][A-Za-z0-9_']{0,128}`,UU=`[A-Z][A-Za-z0-9_']{0,128}`,WU=`${UU}(?:\\.${UU}){0,32}`,GU=`(?<![\\w'])`,KU=`(?![\\w'])`,qU=`\\\\(?:\\^[\\x40-\\x5F]|x[0-9a-fA-F]+|o[0-7]+|\\d+|[A-Z]{2,3}|&|[^\\n])`,OWt={name:`haskell`,aliases:[`hs`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{include:`comments`},{include:`literals`},{match:`${GU}(module)([ \\t]+)(${WU})`,scope:[`keyword.declaration`,null,`namespace`],push:`exports`},{match:`${GU}(import)([ \\t]+)(?:(qualified)([ \\t]+))?(${WU})`,scope:[`keyword.import`,null,`keyword`,null,`namespace`],push:`import-tail`},{match:`${GU}(as)([ \\t]+)(${WU})`,scope:[`keyword`,null,`namespace`]},{match:`${GU}(?:hiding|qualified)${KU}`,scope:`keyword`},{match:`${GU}(data|newtype)([ \\t]+)(?:(family|instance)([ \\t]+))?(${WU})`,scope:[`keyword.declaration`,null,`keyword.declaration`,null,`type`],push:`data-body`},{match:`${GU}(type)([ \\t]+)(?:(family|instance)([ \\t]+))?(${WU})`,scope:[`keyword.declaration`,null,`keyword.declaration`,null,`type`],push:`signature`},{match:`${GU}(?:class|instance|deriving)${KU}`,scope:`keyword.declaration`,push:`signature`},{match:`${GU}(?:if|then|else|case|of|do)${KU}`,scope:`keyword.control`},{match:`${GU}(?:let|in|where|module|forall|family|foreign|pattern|default|infix[lr]?|via|stock|anyclass)${KU}`,scope:`keyword.declaration`},{match:`${GU}import${KU}`,scope:`keyword.import`},{match:`^([ \\t]*)(${HU})(?=[ \\t]*::)`,scope:[null,`function`]},{match:`^(${HU})(?=[ \\t]*=(?![${VU}])|[ \\t]+[^\\s=${VU}])`,scope:`function`},{match:`${GU}(?:True|False)${KU}`,scope:`boolean`},{match:`${GU}(?:Nothing|Just|Left|Right|LT|EQ|GT|otherwise|undefined|mempty)${KU}`,scope:`constant.builtin`},{match:`${GU}(?:putStrLn|putStr|print|show|read|error|mapM_?|map|filter|foldr|foldl'?|length|head|tail|reverse|concatMap|concat|zipWith|zip|elem|null|maybe|either|fromMaybe|forM_?|when|unless|return|pure|fmap|traverse|lookup|const|id|not|fst|snd|take|drop|sum|product|maximum|minimum|abs|div|mod|replicate|unwords|words|unlines|lines|flip)${KU}`,scope:`function.builtin`},{include:`type-names`},{match:`${GU}${UU}`,scope:`constant`},{match:`::(?![${VU}])`,scope:`operator`,push:`signature`},{include:`operators`}]},comments:{rules:[{match:`\\{-#`,scope:`decorator`,push:`pragma`},{match:`\\{-[|^]`,scope:`comment.doc`,push:`block-doc`},{match:`\\{-`,scope:`comment`,push:`block-comment`},{match:`--+[ \\t]+[|^][^\\n]*`,scope:`comment.doc`},{match:`--+(?![${VU}])[^\\n]*`,scope:`comment`}]},"block-comment":{default:`comment`,rules:[{match:`\\{-`,push:`block-comment`},{match:`-\\}`,pop:!0}]},"block-doc":{default:`comment.doc`,rules:[{match:`\\{-`,push:`block-doc`},{match:`-\\}`,pop:!0}]},pragma:{default:`decorator`,rules:[{match:`#-\\}`,pop:!0}]},literals:{rules:[{match:`"`,scope:`string`,push:`string`},{match:`${GU}'(?:[^'\\\\\\n]|${qU})'`,scope:`string`},{match:`${GU}0[xX][0-9a-fA-F_]+(?:\\.[0-9a-fA-F_]+)?(?:[pP][-+]?\\d+)?`,scope:`number`},{match:`${GU}0[oO][0-7_]+`,scope:`number`},{match:`${GU}0[bB][01_]+`,scope:`number`},{match:`${GU}\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d[\\d_]*)?`,scope:`number`}]},string:{default:`string`,rules:[{match:`\\\\\\s+\\\\`,scope:`string.escape`},{match:qU,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"type-names":{rules:[{match:`${GU}(${WU})(\\.)`,scope:[`namespace`,`punctuation`]},{match:`${GU}(?:Int(?:eger|8|16|32|64)?|Word(?:8|16|32|64)?|Float|Double|Char|String|Bool|Maybe|Either|Ordering|IO|Rational|FilePath|Text|ByteString|Map|Set)${KU}`,scope:`type.builtin`}]},"type-body":{rules:[{include:`comments`},{include:`literals`},{match:`${GU}forall${KU}`,scope:`keyword.declaration`},{include:`type-names`},{match:`${GU}${UU}`,scope:`type`},{include:`operators`}]},"import-tail":{rules:[{match:`\\s+`},{include:`comments`},{match:`${GU}(as)([ \\t]+)(${WU})`,scope:[`keyword`,null,`namespace`]},{match:`${GU}(?:hiding|qualified)${KU}`,scope:`keyword`},{match:`\\(`,scope:`punctuation.bracket`,set:`import-names`},{match:`(?=\\S)`,pop:!0}]},"import-names":{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`import-names`},{include:`comments`},{match:`${GU}(?:type|pattern)${KU}`,scope:`keyword`},{match:UU,scope:`type`},{match:HU,scope:`function`},{match:`,`,scope:`punctuation.delimiter`},{match:`\\.\\.`,scope:`punctuation`},{match:`[${VU}]+`,scope:`operator`}]},exports:{rules:[{match:`${GU}where${KU}`,scope:`keyword.declaration`,pop:!0},{include:`type-body`}]},signature:{rules:[{match:`\\n(?![ \\t]*(?:->|=>|--))`,pop:!0},{include:`exports`}]},"data-body":{rules:[{match:`\\n(?=[^ \\t\\n])`,pop:!0},{include:`comments`},{include:`literals`},{match:`([=|])([ \\t]*)(${UU})`,scope:[`operator`,null,`constant`]},{match:`${GU}(${HU})(?=[ \\t]*::)`,scope:`property`},{match:`${GU}(?:deriving|where|forall|via|stock|anyclass|instance)${KU}`,scope:`keyword.declaration`},{include:`type-names`},{match:`${GU}${UU}`,scope:`type`},{include:`operators`}]},operators:{rules:[{match:`\`(?:${WU}\\.)?${HU}\``,scope:`operator`},{match:`[${VU}]+`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`}]}}}})),JU,AWt,jWt=s((()=>{JU={match:`&(?:#x?[0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*);`,scope:`string.escape`},AWt={name:`html`,aliases:[`xml`,`svg`,`vue`],states:{root:{ignoreCase:!0,rules:[{match:`<!--`,scope:`comment`,push:`comment`},{match:`<!\\[CDATA\\[`,scope:`string`,push:`cdata`},{match:`(<!)(DOCTYPE)([^>]*)(>)`,scope:[`punctuation.bracket`,`keyword`,null,`punctuation.bracket`]},{match:`<\\?`,scope:`decorator`,push:`processing-instruction`},{match:`(<)(script)(?=[\\s/>])`,scope:[`punctuation.bracket`,`tag`],push:`script-tag`},{match:`(<)(style)(?=[\\s/>])`,scope:[`punctuation.bracket`,`tag`],push:`style-tag`},{match:`(</?)([A-Za-z_][\\w:.-]*)`,scope:[`punctuation.bracket`,`tag`],push:`tag`},JU]},comment:{default:`comment`,rules:[{match:`-->`,scope:`comment`,pop:!0}]},cdata:{default:`string`,rules:[{match:`\\]\\]>`,scope:`string`,pop:!0}]},"processing-instruction":{default:`decorator`,rules:[{match:`\\?>`,scope:`decorator`,pop:!0}]},tag:{ignoreCase:!0,rules:[{match:`/?>`,scope:`punctuation.bracket`,pop:!0},{include:`attributes`}]},"script-tag":{ignoreCase:!0,rules:[{match:`/>`,scope:`punctuation.bracket`,pop:!0},{match:`>`,scope:`punctuation.bracket`,set:`script-body`},{include:`attributes`}]},"style-tag":{ignoreCase:!0,rules:[{match:`/>`,scope:`punctuation.bracket`,pop:!0},{match:`>`,scope:`punctuation.bracket`,set:`style-body`},{include:`attributes`}]},"script-body":{ignoreCase:!0,embed:{language:`javascript`,until:`<\/script(?=[\\s/>])`},rules:[]},"style-body":{ignoreCase:!0,embed:{language:`css`,until:`</style(?=[\\s/>])`},rules:[]},attributes:{ignoreCase:!0,rules:[{match:`(=)([ \\t]*)([^\\s"'=<>\`]+)`,scope:[`operator`,null,`string`]},{match:`[@:#v-]?[A-Za-z_][\\w:.-]*`,scope:`tag.attribute`},{match:`=`,scope:`operator`},{match:`"`,scope:`string`,push:`attr-double`},{match:`'`,scope:`string`,push:`attr-single`},{match:`[^\\s>]+`,scope:`string`}]},"attr-double":{default:`string`,rules:[JU,{match:`"`,scope:`string`,pop:!0}]},"attr-single":{default:`string`,rules:[JU,{match:`'`,scope:`string`,pop:!0}]}}}})),YU,XU,MWt,ZU,NWt,PWt=s((()=>{YU=`GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS|TRACE|CONNECT`,XU=`###|HTTP/\\d|(?:${YU})[ \\t]`,MWt=`^(?:${XU}|[ \\t]*(?://|#)[^\\n]*\\n(?:${XU}))`,ZU=`(HTTP)(/)(\\d(?:\\.\\d)?)`,NWt={name:`http`,aliases:[`https`],states:{root:{rules:[{match:`^[ \\t]*(?:#|//)[^\\n]*`,scope:`comment`},{match:`^(${YU})([ \\t]+)`,scope:[`keyword.control`,null],push:`target`},{match:`^${ZU}([ \\t]+)(\\d{3})([ \\t]*)([^\\r\\n]*)`,scope:[`keyword`,`punctuation.delimiter`,`number`,null,`number`,null,`constant`]},{match:ZU,scope:[`keyword`,`punctuation.delimiter`,`number`]},{match:`^([A-Za-z][\\w-]*)([ \\t]*)(:)([ \\t]*)`,scope:[`property`,null,`punctuation.delimiter`,null],push:`header-value`},{match:`\\r?\\n[ \\t]*\\r?\\n`,set:`body`}]},target:{default:`link`,rules:[{match:`([?&])([^?&=\\s]*)(=)`,scope:[`punctuation.delimiter`,`variable.parameter`,`operator`]},{match:`[?&#]`,scope:`punctuation.delimiter`},{match:`(?=[ \\t])`,pop:!0},{match:`$`,pop:!0}]},"header-value":{default:`string`,rules:[{match:`$`,pop:!0},{match:`(?<=[ \\t;,:])([\\w.-]+)(=)`,scope:[`variable.parameter`,`operator`]},{match:`https?://[^\\s;,]+`,scope:`link`},{match:`(?<![\\w.-])\\d+(?:\\.\\d+)*(?![\\w-])`,scope:`number`},{match:`[;,]`,scope:`punctuation.delimiter`}]},body:{rules:[{match:`^(?=${XU})`,set:`root`},{match:`^(?=[ \\t]*(?://|#)[^\\n]*\\n(?:${XU}))`,set:`root`},{match:`^(?=[ \\t]*<)`,push:`markup`},{match:`("(?:[^"\\\\\\n]|\\\\.)*")([ \\t]*)(:)`,scope:[`property`,null,`punctuation.delimiter`]},{match:`"`,scope:`string`,push:`string`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`-?\\b\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`[{}\\[\\]]`,scope:`punctuation.bracket`},{match:`[,:]`,scope:`punctuation.delimiter`}]},markup:{embed:{language:`html`,until:MWt},rules:[]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|["\\\\/bfnrt])`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]}}}})),FWt,QU,IWt,LWt,RWt,zWt,BWt,$U,VWt,HWt=s((()=>{FWt=`[\\w.:+\\-/']+`,QU=`(?![\\w.:+\\-/])`,IWt=`\\\\(?:[btnfr"\\\\]|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})`,LWt=`\\\\(?:[btnfr"\\\\]|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|\\r?\\n)`,RWt=`\\d{4}-\\d{2}-\\d{2}(?:[Tt ]\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:[Zz]|[-+]\\d{2}:\\d{2})?)?|\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?`,zWt=`0[xX][0-9a-fA-F](?:_?[0-9a-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*|[-+]?(?:\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:[eE][-+]?\\d(?:_?\\d)*)?|inf|nan)`,BWt=`(?=(?:[\\w.\\- \\t]|"[^"\\n]{0,128}"|'[^'\\n]{0,128}'){1,256}[=:])`,$U=`[\\w.\\-]{1,64}|"[^"\\n]{0,128}"|'[^'\\n]{0,128}'`,VWt={name:`ini`,aliases:[`toml`,`cfg`,`conf`,`properties`],states:{root:{rules:[{include:`comment`},{match:`^[ \\t]*(\\[\\[?)`,scope:[`punctuation.bracket`],push:`header`},{match:`^${BWt}`,push:`key`}]},comment:{rules:[{match:`^[ \\t]*([!#;][^\\n]*)`,scope:[`comment`]},{match:`([ \\t])([#;][^\\n]*)`,scope:[null,`comment`]}]},header:{rules:[{match:`\\]{1,2}`,scope:`punctuation.bracket`,pop:!0},{match:`"[^"\\n]{0,128}"|'[^'\\n]{0,128}'`,scope:`namespace`},{match:`[\\w\\-]+`,scope:`namespace`},{match:`\\.`,scope:`punctuation.delimiter`},{match:`$`,pop:!0}]},key:{rules:[{match:`[=:]`,scope:`operator`,set:`value`},{match:`"[^"\\n]{0,128}"|'[^'\\n]{0,128}'`,scope:`property`},{match:`[\\w\\-]+`,scope:`property`},{match:`\\.`,scope:`punctuation.delimiter`},{match:`$`,pop:!0}]},value:{rules:[{include:`comment`},{match:`$`,pop:!0},{include:`literals`}]},literals:{rules:[{match:`"""`,scope:`string`,push:`ml-basic`},{match:`'''`,scope:`string`,push:`ml-literal`},{match:`"`,scope:`string`,push:`basic`},{match:`'[^'\\n]*'`,scope:`string`},{match:`(?:${RWt}|${zWt})${QU}`,scope:`number`},{match:`(?:true|false|yes|no|on|off)${QU}`,scope:`boolean`},{match:`\\[`,scope:`punctuation.bracket`,push:`array`},{match:`(\\{)([ \\t]*)(${$U})([ \\t]*)([=:])`,scope:[`punctuation.bracket`,null,`property`,null,`operator`],push:`inline-table`},{match:`\\{`,scope:`punctuation.bracket`,push:`inline-table`},{match:`,`,scope:`punctuation.delimiter`},{match:FWt}]},array:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`comment`},{include:`literals`}]},"inline-table":{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`(,)([ \\t\\r\\n]*)(${$U})([ \\t]*)([=:])`,scope:[`punctuation.delimiter`,null,`property`,null,`operator`]},{include:`literals`},{match:`$`,pop:!0}]},basic:{default:`string`,rules:[{match:IWt,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"ml-basic":{default:`string`,rules:[{match:LWt,scope:`string.escape`},{match:`"""`,scope:`string`,pop:!0}]},"ml-literal":{default:`string`,rules:[{match:`'''`,scope:`string`,pop:!0}]}}}})),eW,tW,UWt,WWt=s((()=>{eW=`[A-Za-z_$\\u0080-\\uFFFF][\\w$\\u0080-\\uFFFF]{0,128}`,tW=`\\\\(?:u+[0-9a-fA-F]{4}|[0-7]{1,3}|.)`,UWt={name:`java`,states:{root:{rules:[{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[^\\n]*`,scope:`comment`},{match:`"""`,scope:`string`,push:`text-block`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\\\n]|${tW})'`,scope:`string`},{match:`\\b(import|package)([ \\t]+)(?:(static)([ \\t]+))?((?:${eW}\\.)*(?:${eW}|\\*))`,scope:[`keyword.import`,null,`keyword.declaration`,null,`namespace`]},{match:`\\b(?:import|package)\\b`,scope:`keyword.import`},{match:`(?<![\\w$@])(@?(?:class|interface|enum|record)\\b)([ \\t]+)(${eW})`,scope:[`keyword.declaration`,null,`class`]},{match:`(@${eW}(?:\\.${eW})*)`,scope:`decorator`},{match:`\\b(?:assert|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while|yield)\\b`,scope:`keyword.control`},{match:`\\b(?:abstract|class|const|enum|extends|final|implements|interface|native|non-sealed|permits|private|protected|public|sealed|static|strictfp|synchronized|throws|transient|var|volatile)\\b`,scope:`keyword.declaration`},{match:`\\b(?:instanceof|new)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:boolean|byte|char|double|float|int|long|short|void|String|Object|Integer|Long|Double|Float|Short|Byte|Character|Boolean|Number|CharSequence|Class|Math|System|Exception|RuntimeException|Throwable|List|Map|Set|Optional|Stream)\\b`,scope:`type.builtin`},{match:`(\\.)([ \\t]*)(${eW})(?=[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\.)([ \\t]*)(${eW})`,scope:[`punctuation`,null,`variable.member`]},{match:`(::)([ \\t]*)(${eW})`,scope:[`operator`,null,`function.method`]},{match:`(?<=[\\w$>\\]])(?<![ \\t]>)(?<!->)(?<!\\b(?:return|new|throw|else|yield|assert|do|case|break|continue))([ \\t]+)(?:(${eW})(?=[ \\t]*\\()|(${eW})(?=[ \\t]*(?:=(?!=)|;|:(?!:))))`,scope:[null,`function`,`variable`]},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_$]*\\b`,scope:`type`},{match:`\\b${eW}(?=[ \\t]*->)`,scope:`variable.parameter`},{match:`\\b[a-z_$][\\w$\\u0080-\\uFFFF]{0,128}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b0[xX][0-9a-fA-F][0-9a-fA-F_]*[lL]?\\b`,scope:`number`},{match:`\\b0[bB][01][01_]*[lL]?\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.[\\d_]*)?(?:[eE][-+]?\\d+)?[fFdDlL]?\\b|\\.\\d[\\d_]*(?:[eE][-+]?\\d+)?[fFdDlL]?`,scope:`number`},{match:`->|::|\\.{3}|\\+\\+|--|>>>?=?|<<=?|&&|\\|\\||[-+*/%&|^!=<>]=?|[~?]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"string-body":{rules:[{match:tW,scope:`string.escape`},{match:`%(?:\\d{1,3}\\$)?[-#+ 0,(]{0,6}\\d{0,6}(?:\\.\\d{1,6})?[bBhHsScCdoxXeEfgGaAtTn%]`,scope:`string.special`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"text-block":{default:`string`,rules:[{include:`string-body`},{match:`"""`,scope:`string`,pop:!0}]}}}})),nW,GWt,rW,KWt,iW,aW,oW,sW,cW,qWt,JWt=s((()=>{nW=`[A-Za-z_$\\u0080-\\uFFFF][\\w$\\u0080-\\uFFFF]{0,128}`,GWt=`(?:[=(,:;\\[!&|?{}+\\-*%^~<>]|=>|\\breturn|\\bcase|\\btypeof|\\bin|\\bof|\\bnew|\\bdo|\\byield|\\bawait|\\belse)`,rW=`(?:^|[=(,?:{\\[;!&|]|=>|\\breturn|\\byield|\\bdefault|\\bawait)`,KWt=`(?!>[ \\t]*\\()(?!\\s+(?:extends\\b|=))(?!>(?![ \\t]*$)(?![^\\n]{0,512}(?:<\\/|(?<![\\w$)\\]])<[A-Za-z>])))`,iW=`(?!\\??:)`,aW=`[A-Z][\\w.]*|[a-z][\\w-]*(?:[.:][\\w-]+)*`,oW=`(?:[^;=(){}\\n]|=>|\\([^(){}\\n]{0,128}\\)|\\{[^{}()\\n]{0,128}\\}){1,512}>[ \\t]*\\(`,sW=`[ \\t]*=[ \\t]*(?:async[ \\t]*)?(?:function\\b|(?:<[^<>()=]{0,128}>[ \\t]*)?\\([^()]{0,512}\\)[ \\t]*(?::[^=;\\n]{0,256})?=>|${nW}[ \\t]*=>)`,cW=`/(?![/*])(?:[^/\\\\\\n\\[]|\\\\.|\\[(?:[^\\]\\\\\\n]|\\\\.)*\\])+/[dgimsuvy]*`,qWt={name:`javascript`,aliases:[`js`,`jsx`,`mjs`,`cjs`,`ts`,`tsx`,`typescript`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[^\\n]*`,scope:`comment`},{match:`^#!.*`,scope:`comment`},{include:`strings`},{match:`(${GWt})(\\s*)(${cW})`,scope:[`operator`,null,`regexp`]},{match:`/(?<=(?<![\\w$.])(?:if|while|for)[ \\t]*\\([^()\\n]{0,256}\\)[ \\t]*/)${cW.slice(1)}`,scope:`regexp`},{match:`^([ \\t]*)(${cW})`,scope:[null,`regexp`]},{include:`numbers`},{include:`jsx`},{match:`(@)(${nW}(?:\\.${nW})*)`,scope:[`decorator`,`decorator`]},{match:`(\\.)([ \\t]*)(#?${nW})(?=[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\?\\.|\\.)([ \\t]*)(#?${nW})`,scope:[`punctuation`,null,`variable.member`]},{match:`#${nW}`,scope:`variable.member`},{match:`\\b${nW}(?=${sW})`,scope:`function`},{match:`\\bdefault\\b(?=[ \\t]*:[ \\t]*(?:$|\\/[/*]|\\b(?:return|break|continue|throw|case)\\b))|\\bdefault\\b(?!\\??:)`,scope:`keyword.control`},{match:`\\b(?:if|else|for|while|do|switch|case|break|continue|return|throw|try|catch|finally|await|yield)\\b${iW}`,scope:`keyword.control`},{match:`\\bconst\\b(?<=\\bas\\s+const)`,scope:`keyword.declaration`},{match:`\\b(?:const|let|var)\\b`,scope:`keyword.declaration`,push:`declared-name`},{match:`(\\bfunction\\b)([ \\t]*\\*?[ \\t]*)(?:(${nW})([ \\t]*))?(\\()`,scope:[`keyword.declaration`,null,`function`,null,`punctuation.bracket`],push:`params`},{match:`\\((?=[^()"'\`/]{0,512}\\)[ \\t]*(?::[^=;\\n"'\`/]{0,256})?=>)`,scope:`punctuation.bracket`,push:`params`},{match:`\\b(?:function|class|interface|enum|namespace|module|declare|abstract|implements|extends|constructor|static|readonly|override|public|private|protected|async|get(?!\\()|set(?!\\()|type(?!\\())\\b${iW}`,scope:`keyword.declaration`},{match:`\\b(?:import|export|from(?!\\()|require)\\b${iW}`,scope:`keyword.import`},{match:`\\bwith(?=[ \\t]*\\{)`,scope:`keyword.import`},{match:`\\b(?:typeof|instanceof|in|of(?!\\()|new|delete(?!\\()|void|satisfies|keyof|infer|asserts|as)\\b${iW}`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:null|undefined|NaN|Infinity)\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super|arguments|globalThis)\\b`,scope:`variable.builtin`},{match:`\\b(?:console|window|document|process|module|exports)\\b${iW}`,scope:`variable.builtin`},{match:`\\b(?:string|number|boolean|symbol|bigint|object|unknown|never|any|void|readonly)\\b(?=[^\\w$]|$)${iW}`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b(?![\\w$])`,scope:`constant`},{match:`\\b[A-Z][\\w$]{0,128}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Za-z0-9_$]*\\b`,scope:`type`},{match:`\\b${nW}(?=\\??:)`,scope:`property`},{match:`\\b${nW}(?=\\s*=>)`,scope:`variable.parameter`},{match:`\\b${nW}(?=[ \\t]*\\(|\`)`,scope:`function.call`},{match:`\\b${nW}(?=[ \\t]*<${oW})`,scope:`function.call`},{match:`=>|\\?\\?=?|\\?\\.|\\.{3}|&&=?|\\|\\|=?|\\*\\*=?|[-+*/%&|^]=?|[!=]==?|[<>]=?|<<=?|>>>?=?|[?~!]|=`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"declared-name":{rules:[{match:`\\benum\\b`,scope:`keyword.declaration`,pop:!0},{match:`${nW}(?=${sW})`,scope:`function`,pop:!0},{match:nW,scope:`variable`,pop:!0},{match:`(?=\\S)`,pop:!0}]},params:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`param-pattern`}]},"param-pattern":{rules:[{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[^\\n]*`,scope:`comment`},{match:`:`,scope:`punctuation.delimiter`,push:`param-type`},{match:`(?==(?!>))`,push:`param-default`},{match:`\\{`,scope:`punctuation.bracket`,push:`param-object`},{match:`\\[`,scope:`punctuation.bracket`,push:`param-array`},{match:`\\.{3}|\\?`,scope:`operator`},{match:`\\bthis\\b`,scope:`variable.builtin`},{match:`\\b(?:public|private|protected|readonly|override)\\b(?=[ \\t]+[\\w$\\[{])`,scope:`keyword.declaration`},{match:`@${nW}`,scope:`decorator`},{match:nW,scope:`variable.parameter`},{match:`,`,scope:`punctuation.delimiter`}]},"param-object":{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{match:`:`,scope:`punctuation.delimiter`},{include:`numbers`},{match:`("(?:[^"\\\\\\r\\n]|\\\\.)*"|'(?:[^'\\\\\\r\\n]|\\\\.)*')([ \\t]*)(:)`,scope:[`string`,null,`punctuation.delimiter`]},{match:`(${nW})([ \\t]*)(:)`,scope:[`property`,null,`punctuation.delimiter`]},{include:`param-pattern`}]},"param-array":{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`param-pattern`}]},"param-type":{rules:[{match:`(?=[,)}\\]]|=(?!>))`,pop:!0},{match:`<`,scope:`punctuation.bracket`,push:`type-angle`},{include:`nesting`},{include:`expression`}]},"type-angle":{rules:[{match:`=>`,scope:`operator`},{match:`>`,scope:`punctuation.bracket`,pop:!0},{match:`<`,scope:`punctuation.bracket`,push:`type-angle`},{include:`nesting`},{include:`expression`}]},"param-default":{rules:[{match:`(?=[,)}\\]])`,pop:!0},{include:`nesting`},{include:`expression`}]},nesting:{rules:[{match:`(\\()(\\s*)(${cW})`,scope:[`punctuation.bracket`,null,`regexp`],push:`paren`},{match:`(\\[)(\\s*)(${cW})`,scope:[`punctuation.bracket`,null,`regexp`],push:`bracket`},{match:`<(?=${oW})`,scope:`punctuation.bracket`,push:`type-angle`},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`nesting`},{include:`expression`}]},bracket:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`nesting`},{include:`expression`}]},numbers:{rules:[{match:`\\b0[xX](?:_?[0-9a-fA-F])+n?\\b`,scope:`number`},{match:`\\b0[oO](?:_?[0-7])+n?\\b`,scope:`number`},{match:`\\b0[bB](?:_?[01])+n?\\b`,scope:`number`},{match:`\\b\\d(?:_?\\d)*\\.(?:\\d(?:_?\\d)*)?(?:[eE][-+]?\\d+)?|\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?|\\b\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?n?\\b`,scope:`number`}]},strings:{rules:[{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`",scope:`string`,push:`template`}]},"string-double":{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|\\r?\\n|.)`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|\\r?\\n|.)`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},template:{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|.)`,scope:`string.escape`},{match:`\\$\\{`,scope:`interpolation`,push:`template-expression`},{match:"`",scope:`string`,pop:!0}]},"template-expression":{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},jsx:{rules:[{match:`(<)(?<=${rW}\\s*<)(${aW})(?=[\\s/>])${KWt}`,scope:[`punctuation.bracket`,`tag`],push:`jsx-open-tag`},{match:`<(?<=${rW}\\s*<)>`,scope:`punctuation.bracket`,push:`jsx-children`},{match:`(</)(${aW})?([ \\t]*)(>)`,scope:[`punctuation.bracket`,`tag`,null,`punctuation.bracket`]}]},"jsx-open-tag":{rules:[{match:`/>`,scope:`punctuation.bracket`,pop:!0},{match:`>`,scope:`punctuation.bracket`,set:`jsx-children`},{match:`\\{`,scope:`interpolation`,push:`jsx-expression`},{match:`\\b${nW}(?:[-:]${nW})*`,scope:`tag.attribute`},{match:`=`,scope:`operator`},{include:`strings`}]},"jsx-children":{rules:[{match:`(</)(${aW})?([ \\t]*)(>)`,scope:[`punctuation.bracket`,`tag`,null,`punctuation.bracket`],pop:!0},{match:`(<)(${aW})(?=[\\s/>])`,scope:[`punctuation.bracket`,`tag`],push:`jsx-open-tag`},{match:`<>`,scope:`punctuation.bracket`,push:`jsx-children`},{match:`\\{`,scope:`interpolation`,push:`jsx-expression`},{match:`&(?:#\\d{1,8}|#x[0-9a-fA-F]{1,8}|[A-Za-z][A-Za-z0-9]{1,32});`,scope:`string.escape`}]},"jsx-expression":{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,scope:`comment.doc`,pop:!0}]}}}})),YWt,XWt=s((()=>{YWt={name:`json`,aliases:[`jsonc`,`json5`],states:{root:{rules:[{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`("(?:[^"\\\\\\n]|\\\\.)*")(\\s*)(:)`,scope:[`property`,null,`punctuation.delimiter`]},{match:`"`,scope:`string`,push:`string`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`-?\\b\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`[{}\\[\\]]`,scope:`punctuation.bracket`},{match:`[,:]`,scope:`punctuation.delimiter`},{match:`[^\\s{}\\[\\],:"]+`,scope:`invalid`}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|["\\\\/bfnrt])`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]}}}})),lW,ZWt,QWt=s((()=>{lW=`[A-Za-z_\\u00A1-\\uFFFF][\\w!\\u00A1-\\uFFFF]{0,128}`,ZWt={name:`julia`,aliases:[`jl`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`#=`,scope:`comment`,push:`block-comment`},{match:`#[^\\n]*`,scope:`comment`},{match:`"""`,scope:`string`,push:`string-triple`},{match:`(${lW})(""")`,scope:[`string.special`,`string`],push:`string-raw-triple`},{match:`(${lW})(")`,scope:[`string.special`,`string`],push:`string-raw`},{match:`"`,scope:`string`,push:`string`},{match:"`",scope:`string`,push:`command`},{match:`'(?<![\\w)\\]}'.\\u00A1-\\uFFFF]')(?:[^'\\\\\\n]|\\\\(?:x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{1,4}|U[0-9a-fA-F]{1,8}|[0-7]{1,3}|[^\\n]))'`,scope:`string`},{match:`\\b0x[0-9a-fA-F_]+(?:p[-+]?\\d+)?\\b`,scope:`number`},{match:`\\b0b[01_]+\\b`,scope:`number`},{match:`\\b0o[0-7_]+\\b`,scope:`number`},{match:`(?:\\b\\d[\\d_]*(?:\\.(?!\\.)[\\d_]*)?|\\.\\d[\\d_]*)(?:[eEf][-+]?\\d+)?(?:im\\b)?`,scope:`number`},{match:`@${lW}(?:\\.${lW})*`,scope:`decorator`},{match:`(:(?<![\\w)\\]}:'".\\u00A1-\\uFFFF]:))(${lW})`,scope:[`constant`,`constant`]},{match:`(::|<:|>:)([ \\t]*)(${lW}(?:\\.${lW})*)`,scope:[`operator`,null,`type`]},{match:`\\b(function|macro)([ \\t]+)(${lW}(?:\\.${lW})*)`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b((?:mutable[ \\t]+)?struct|abstract[ \\t]+type|primitive[ \\t]+type)([ \\t]+)(${lW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b((?:bare)?module)([ \\t]+)(${lW})`,scope:[`keyword.declaration`,null,`namespace`]},{match:`^([ \\t]*)(${lW})(?=\\([^()\\n]{0,256}\\)[ \\t]*(?:where[^=\\n]{0,256})?=(?!=))`,scope:[null,`function`]},{match:`\\b(?:if|elseif|else|end|for|while|break|continue|return|try|catch|finally|do|begin|let|quote)\\b`,scope:`keyword.control`},{match:`\\b(?:function|macro|struct|mutable|abstract|primitive|type|module|baremodule|const|global|local|where|outer)\\b`,scope:`keyword.declaration`},{match:`\\b(?:using|import|export|public|as)\\b`,scope:`keyword.import`},{match:`\\b(?:in|isa)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:nothing|missing|NaN|Inf|NaN32|Inf32|undef|stdout|stderr|stdin)\\b`,scope:`constant.builtin`},{match:`\\b(?:println|print|show|display|string|length|size|push!|pop!|append!|map|filter|reduce|sum|prod|maximum|minimum|collect|typeof|isa|convert|parse|zeros|ones|rand|round|floor|ceil|abs|sqrt|exp|log|error|throw|isempty|haskey|get|keys|values|pairs|enumerate|zip|sort|sort!|occursin|replace|split|join|startswith|endswith|open|read|write|close|eachline|readline|readlines|sprint|repr|Dict|Vector|Array|Tuple)(?=\\.?\\()`,scope:`function.builtin`},{match:`(\\.)(${lW})(?=\\.?\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${lW})`,scope:[`punctuation`,`variable.member`]},{match:`${lW}(?=\\.?\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\.?(?:===|!==|==|!=|<=|>=|=>|->|\\|\\||&&|\\|>|<\\||\\.\\.\\.|[-+*/\\\\^%÷<>=!&|~⊻∈∉≤≥≠]=?)|'`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`},{match:`[.:?]`,scope:`punctuation`}]},"block-comment":{default:`comment`,rules:[{match:`#=`,scope:`comment`,push:`block-comment`},{match:`=#`,scope:`comment`,pop:!0}]},string:{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:`"`,scope:`string`,pop:!0}]},"string-triple":{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:`"""`,scope:`string`,pop:!0}]},"string-raw":{default:`string`,rules:[{match:`\\\\"`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0}]},"string-raw-triple":{default:`string`,rules:[{match:`"""`,scope:`string`,pop:!0}]},command:{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:"`",scope:`string`,pop:!0}]},escapes:{rules:[{match:`\\\\(?:x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{1,4}|U[0-9a-fA-F]{1,8}|[0-7]{1,3}|[\\s\\S])`,scope:`string.escape`}]},interpolation:{rules:[{match:`\\$\\(`,scope:`interpolation`,push:`interpolation-body`},{match:`(\\$)(${lW})`,scope:[`interpolation`,`variable`]}]},"interpolation-body":{rules:[{match:`\\)`,scope:`interpolation`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`parens`},{include:`expression`}]},parens:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`parens`},{include:`expression`}]}}}})),uW,$Wt,eGt=s((()=>{uW=`[A-Za-z_\\u0080-\\uFFFF][A-Za-z0-9_\\u0080-\\uFFFF]{0,128}`,$Wt={name:`kotlin`,aliases:[`kt`,`kts`],states:{root:{rules:[{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`"""`,scope:`string`,push:`raw-string`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\\\n]|\\\\(?:u[0-9a-fA-F]{4}|.))'`,scope:`string`},{match:`(\\b(?:return|break|continue))(@)(${uW})`,scope:[`keyword.control`,`operator`,`variable.special`]},{match:`(\\b(?:this|super))(@)(${uW})`,scope:[`variable.builtin`,`operator`,`variable.special`]},{match:`@${uW}(?::${uW})?`,scope:`decorator`},{match:`\\b(${uW})(@)(?=[\\s{])`,scope:[`variable.special`,`operator`]},{match:`(fun)(\\s+)(?:<[^<>\\n]{0,80}>\\s*)?(?:(${uW})(\\.))?(${`(?:\`[^\`\\n]*\`|${uW})`})`,scope:[`keyword.declaration`,null,`type`,`punctuation`,`function`]},{match:`(\\b(?:class|interface|object))(\\s+)(${uW})`,scope:[`keyword.declaration`,null,`class`]},{match:"(\\b(?:val|var))(\\s+)(`[^`\\n]*`|[a-z_]\\w*)",scope:[`keyword.declaration`,null,`variable`]},{match:`\\b(?:if|else|when|while|do|for|return|break|continue|throw|try|catch|finally)\\b`,scope:`keyword.control`},{match:`\\b(?:fun|val|var|class|interface|object|typealias|const(?:ructor)?|init|companion|enum|data|sealed|annotation|inner|open|override|abstract|final|private|protected|public|internal|lateinit|(?:no|cross)?inline|reified|vararg|suspend|operator|infix|actual|expect|by|where|get|set|out|tailrec|external)\\b`,scope:`keyword.declaration`},{match:`\\bvalue(?=\\s+class\\b)`,scope:`keyword.declaration`},{match:`\\b(package|import)(\\s+)([A-Za-z_]\\w*(?:\\.[A-Za-z_]\\w*)*(?:\\.\\*)?)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:package|import)\\b`,scope:`keyword.import`},{match:`\\bas\\?|\\b(?:as|in|is)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super|it)\\b`,scope:`variable.builtin`},{match:`\\b(?:Int|Long|Short|Byte|Double|Float|Char|Boolean|String|Unit|Any|Nothing|Array|Pair|(?:Mutable)?(?:List|Map|Set)|Sequence)\\b`,scope:`type.builtin`},{match:`(\\?\\.|\\.)(let|run|apply|also|takeIf|takeUnless|use)\\b`,scope:[`punctuation`,`function.builtin`]},{match:`\\b(?:print(?:ln)?|readLine|arrayOf|(?:mutableL|l)istOf|(?:mutableM|m)apOf|(?:mutableS|s)etOf|emptyList|buildString|require|check|error|TODO|repeat|lazy|with)\\b(?=\\s*[({<])`,scope:`function.builtin`},{match:`(\\?\\.|\\.)([A-Z][A-Z0-9_]+)\\b`,scope:[`punctuation`,`constant`]},{match:`(\\?\\.|\\.)([A-Z]\\w*)`,scope:[`punctuation`,`type`]},{match:`(\\?\\.|\\.)(${uW})(?=\\s*[({])`,scope:[`punctuation`,`function.method`]},{match:`(\\?\\.|\\.)(${uW})`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${uW}(?=:)`,scope:`variable.parameter`},{match:`\\b[a-z_]\\w*(?=\\s*[({])`,scope:`function.call`},{match:"`[^`\\n]*`",scope:`variable`},{match:`\\b0[xX][0-9a-fA-F_]+[uU]?[lL]?\\b`,scope:`number`},{match:`\\b0[bB][01_]+[uU]?[lL]?\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?[uU]?[lLfF]?\\b`,scope:`number`},{match:`\\?[.:]|!!|\\+\\+|--|->|::|\\.\\.<?|&&|\\|\\||[!=]==?|[-+*/%<>]=?|[?=!&|]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`/\\*`,push:`block-comment`},{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`/\\*`,push:`doc-comment`},{match:`\\*/`,pop:!0}]},template:{rules:[{match:`(\\$)(${uW})`,scope:[`interpolation`,`variable`]},{match:`\\$\\{`,scope:`interpolation`,push:`interpolation`}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|.)`,scope:`string.escape`},{include:`template`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"raw-string":{default:`string`,rules:[{include:`template`},{match:`"""`,scope:`string`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`root`}]}}}})),dW,fW,pW,mW,tGt,nGt=s((()=>{dW=`[A-Za-z_]\\w*`,fW=`(?=[ \\t]*(?:[({"']|\\[=*\\[))`,pW=`(?:coroutine|debug|io|math|os|package|string|table|utf8)`,mW=`\\\\(?:x[0-9a-fA-F]{2}|u\\{[0-9a-fA-F]+\\}|z\\s*|\\d{1,3}|\\r?\\n|[abfnrtv\\\\"'])`,tGt={name:`lua`,states:{root:{rules:[{match:`^#![^\\n]*`,scope:`comment`},{match:`(---(?!-)[ \\t]*)(@\\w+)([^\\n]*)`,scope:[`comment.doc`,`decorator`,`comment.doc`]},{match:`---(?!-)[^\\n]*`,scope:`comment.doc`},{match:`--\\[\\[`,scope:`comment`,push:`long-comment-0`},{match:`--\\[=\\[`,scope:`comment`,push:`long-comment-1`},{match:`--\\[==\\[`,scope:`comment`,push:`long-comment-2`},{match:`--\\[={3,}\\[`,scope:`comment`,push:`long-comment-n`},{match:`--[^\\n]*`,scope:`comment`},{match:`\\[\\[`,scope:`string`,push:`long-string-0`},{match:`\\[=\\[`,scope:`string`,push:`long-string-1`},{match:`\\[==\\[`,scope:`string`,push:`long-string-2`},{match:`\\[={3,}\\[`,scope:`string`,push:`long-string-n`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`\\b0[xX](?:[0-9a-fA-F]+(?:\\.[0-9a-fA-F]*)?|\\.[0-9a-fA-F]+)(?:[pP][-+]?\\d+)?`,scope:`number`},{match:`(?:\\b\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][-+]?\\d+)?`,scope:`number`},{match:`\\.\\.\\.`,scope:`variable.builtin`},{match:`(::)(${dW})(::)`,scope:[`punctuation.delimiter`,`variable.special`,`punctuation.delimiter`]},{match:`\\b(goto)([ \\t]+)(${dW})`,scope:[`keyword.control`,null,`variable.special`]},{match:`\\bfunction(?=[ \\t]+[A-Za-z_])`,scope:`keyword.declaration`,push:`definition`},{match:`\\b(?:if|elseif|else|then|end|do|while|repeat|until|for|in|break|goto|return)\\b`,scope:`keyword.control`},{match:`\\b(?:function|local)\\b`,scope:`keyword.declaration`},{match:`\\b(?:and|or|not)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnil\\b`,scope:`constant.builtin`},{match:`<(?:const|close)>`,scope:`decorator`},{match:`\\b(?:self|_G|_ENV|_VERSION)\\b`,scope:`variable.builtin`},{match:`\\b(${pW})(\\.)(${dW})${fW}`,scope:[`namespace`,`punctuation`,`function.builtin`]},{match:`\\b(${pW})(\\.)(${dW})`,scope:[`namespace`,`punctuation`,`variable.builtin`]},{match:`(:)(${dW})`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${dW})${fW}`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${dW})`,scope:[`punctuation`,`variable.member`]},{match:`\\b(?:assert|collectgarbage|dofile|error|getmetatable|ipairs|load|loadfile|loadstring|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setmetatable|tonumber|tostring|type|unpack|xpcall)\\b`,scope:`function.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${dW}${fW}`,scope:`function.call`},{match:`\\.\\.|//|<<|>>|[=~<>]=|[-+*/%^#&|~<>=]`,scope:`operator`},{match:`(\\{)([ \\t\\r\\n]*)(${dW})(?=[ \\t]*=(?!=))`,scope:[`punctuation.bracket`,null,`property`],push:`table-constructor`},{match:`\\{`,scope:`punctuation.bracket`,push:`table-constructor`},{match:`[()\\[\\]}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`},{match:`\\.`,scope:`punctuation`}]},definition:{rules:[{match:`(:)([ \\t]*)(${dW})`,scope:[`punctuation`,null,`function.method`],pop:!0},{match:`(\\.)([ \\t]*)(${dW})(?=[ \\t]*[.:])`,scope:[`punctuation`,null,`variable.member`]},{match:`(\\.)([ \\t]*)(${dW})`,scope:[`punctuation`,null,`function`],pop:!0},{match:`\\b${dW}\\b(?![ \\t]*[.:])`,scope:`function`,pop:!0},{match:`$`,pop:!0},{include:`root`}]},"table-constructor":{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\blocal\\b(?=[ \\t]+(?!function\\b)${dW}[ \\t]*,)`,scope:`keyword.declaration`,push:`local-list`},{match:`(,)([ \\t\\r\\n]*)(${dW})(?=[ \\t]*=(?!=))`,scope:[`punctuation.delimiter`,null,`property`]},{include:`root`}]},"local-list":{rules:[{match:`,(?=[ \\t\\r\\n]*${dW}[ \\t\\r\\n]*,)`,scope:`punctuation.delimiter`},{match:`,`,scope:`punctuation.delimiter`,pop:!0},{include:`root`}]},"string-double":{default:`string`,rules:[{match:mW,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:mW,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"long-string-0":{default:`string`,rules:[{match:`\\]\\]`,pop:!0}]},"long-string-1":{default:`string`,rules:[{match:`\\]=\\]`,pop:!0}]},"long-string-2":{default:`string`,rules:[{match:`\\]==\\]`,pop:!0}]},"long-string-n":{default:`string`,rules:[{match:`\\]={3,}\\]`,pop:!0}]},"long-comment-0":{default:`comment`,rules:[{match:`\\]\\]`,pop:!0}]},"long-comment-1":{default:`comment`,rules:[{match:`\\]=\\]`,pop:!0}]},"long-comment-2":{default:`comment`,rules:[{match:`\\]==\\]`,pop:!0}]},"long-comment-n":{default:`comment`,rules:[{match:`\\]={3,}\\]`,pop:!0}]}}}})),hW,gW,_W,rGt,iGt=s((()=>{hW=`[A-Za-z_.][\\w.-]{0,120}`,gW=`abspath|addprefix|addsuffix|and|basename|call|dir|error|eval|file|filter-out|filter|findstring|firstword|flavor|foreach|info|if|join|lastword|notdir|origin|or|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|wordlist|words|word`,_W=`[@<^*?%+|]`,rGt={name:`makefile`,aliases:[`make`,`mk`,`bsdmake`],states:{root:{rules:[{match:`^(\\t[ \\t]*)([-@+]*)`,scope:[null,`operator`],push:`recipe`},{match:`#[^\\n]*`,scope:`comment`},{match:`^([ \\t]*)(?:(export|override|private|unexport)([ \\t]+))?(${hW})([ \\t]*)(:{1,3}=|[+?!]?=)`,scope:[null,`keyword`,null,`variable`,null,`operator`]},{match:`^[ \\t]*(?:else[ \\t]+)?ifn?eq\\b(?![ \\t]*:)`,scope:`keyword.control`,push:`condition`},{match:`^[ \\t]*(?:else[ \\t]+)?(?:ifn?def|else|endif)\\b(?![ \\t]*:)`,scope:`keyword.control`},{match:`^[ \\t]*[-s]?include\\b(?![ \\t]*:)`,scope:`keyword.import`},{match:`^([ \\t]*)(define)([ \\t]+)(${hW})`,scope:[null,`keyword.declaration`,null,`variable`],push:`define`},{match:`^[ \\t]*(?:unexport|override|export|private|undefine|vpath)\\b(?![ \\t]*:)`,scope:`keyword`},{match:`^(?=[ \\t]*[^\\s:#=][^:#=\\n]{0,120}:)`,push:`target`},{include:`common`}]},target:{default:`function`,rules:[{match:`^\\.[A-Z][A-Z_]+`,scope:`function.builtin`},{match:`%`,scope:`operator`},{match:`::?`,scope:`punctuation.delimiter`,set:`prereqs`},{include:`common`},{match:`$`,pop:!0}]},prereqs:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`[%|]`,scope:`operator`},{match:`;`,scope:`punctuation.delimiter`,set:`recipe`},{include:`common`},{match:`$`,pop:!0}]},condition:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`[()]`,scope:`punctuation.bracket`},{match:`,`,scope:`punctuation.delimiter`},{include:`common`},{match:`$`,pop:!0}]},recipe:{rules:[{match:`(?:^|[ \\t])#[^\\n]*`,scope:`comment`},{include:`common`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`$`,pop:!0}]},"string-double":{default:`string`,rules:[{match:'\\\\[\\\\$`"]',scope:`string.escape`},{include:`common`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{include:`common`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},define:{rules:[{match:`^[ \\t]*endef\\b`,scope:`keyword.declaration`,pop:!0},{match:`#[^\\n]*`,scope:`comment`},{include:`common`}]},common:{rules:[{match:`\\$\\$`,scope:`string.escape`},{match:`\\$[({]${_W}[DF][)}]`,scope:`variable.builtin`},{match:`\\$${_W}`,scope:`variable.builtin`},{match:`(\\$\\()(${gW})(?=[ \\t])`,scope:[`punctuation.bracket`,`function.builtin`],push:`args-paren`},{match:`(\\$\\{)(${gW})(?=[ \\t])`,scope:[`punctuation.bracket`,`function.builtin`],push:`args-brace`},{match:`\\$\\(`,scope:`variable`,push:`ref-paren`},{match:`\\$\\{`,scope:`variable`,push:`ref-brace`},{match:`\\$[A-Za-z_]`,scope:`variable`},{match:`(\\\\\\r?\\n)[ \\t]*`,scope:[`operator`]}]},"ref-paren":{default:`variable`,rules:[{match:`\\)`,scope:`variable`,pop:!0},{match:`[:=%]`,scope:`operator`},{include:`common`},{match:`$`,pop:!0}]},"ref-brace":{default:`variable`,rules:[{match:`\\}`,scope:`variable`,pop:!0},{match:`[:=%]`,scope:`operator`},{include:`common`},{match:`$`,pop:!0}]},"args-paren":{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`,`,scope:`punctuation.delimiter`},{match:`%`,scope:`operator`},{include:`common`},{match:`$`,pop:!0}]},"args-brace":{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`,`,scope:`punctuation.delimiter`},{match:`%`,scope:`operator`},{include:`common`},{match:`$`,pop:!0}]}}}})),vW,aGt,oGt,yW,sGt,cGt=s((()=>{vW=`script|pre|style|textarea`,aGt=vW.replace(/[a-z]/g,e=>`[${e}${e.toUpperCase()}]`),oGt=`(?<=<\\/?[A-Za-z][\\w-]{0,64}(?:[^<>"'\\n]|"[^"\\n]{0,512}"|'[^'\\n]{0,512}'){0,512}>)`,yW=(e,t)=>{let n=`^[ \\t]*${t}[ \\t]*$`;return{[`${e}-code`]:{default:`string`,rules:[{match:n,scope:`punctuation`,pop:!0},{match:`^`,push:`${e}-body`}]},[`${e}-body`]:{default:`string`,embed:{language:`{{remembered}}`,until:n},rules:[]}}},sGt={name:`markdown`,aliases:[`md`,`mdx`],states:{root:{rules:[{match:"^([ \\t]*)(```(?!`))([ \\t]*)([A-Za-z][\\w+#.-]*)([^\\n]*)$",scope:[null,`punctuation`,null,`type`,`type`],push:`backtick-code`,remember:4},{match:`^([ \\t]*)(~~~(?!~))([ \\t]*)([A-Za-z][\\w+#.-]*)([^\\n]*)$`,scope:[null,`punctuation`,null,`type`,`type`],push:`tilde-code`,remember:4},{match:"^([ \\t]*)(```+|~~~+)([^\\n]*)$",scope:[null,`punctuation`,`type`],push:`fence`,remember:2},{match:`<!--`,scope:`comment`,push:`html-comment`},{match:`(?<![\\s\\S])---(?=[ \\t]*\\r?\\n[\\s\\S]*?^(?:---|\\.\\.\\.)[ \\t]*$)`,scope:`punctuation`,push:`front-matter`},{match:`^(?=[ \\t]*<(?:${aGt})(?:[\\s>]|$))`,push:`html-raw`},{match:`^(?=[ \\t]*<\\/?[A-Za-z][\\w-]*(?:[\\s/>]|$))`,push:`html-line`},{match:`^#{1,6}[ \\t][^\\n]*`,scope:`heading`},{match:`^[^\\r\\n]+\\r?\\n(?:={2,}|-{2,})[ \\t]*$`,scope:`heading`},{match:`^[ \\t]*(?:\\*[ \\t]*){3,}$|^[ \\t]*(?:-[ \\t]*){3,}$|^[ \\t]*(?:_[ \\t]*){3,}$`,scope:`punctuation`},{match:`^[ \\t]*>[ \\t]?`,scope:`quote`},{match:`^([ \\t]*)([-*+]|\\d+[.)])(?=[ \\t])`,scope:[null,`list`]},{match:"`+[^`\\n]+`+",scope:`string`},{match:`(!?\\[)([^[\\]\\n]*)(\\])(\\()([^)\\n]*)(\\))`,scope:[`punctuation`,`link`,`punctuation`,`punctuation`,`string`,`punctuation`]},{match:`(!?\\[)([^[\\]\\n]*)(\\])(\\[)([^[\\]\\n]*)(\\])`,scope:[`punctuation`,`link`,`punctuation`,`punctuation`,`variable`,`punctuation`]},{match:`<https?://[^>\\n]+>`,scope:`link`},{match:`^(\\[)([^\\]\\n]+)(\\]:)([^\\n]*)`,scope:[`punctuation`,`variable`,`punctuation`,`string`]},{match:`\\*\\*\\*[^*\\n]+\\*\\*\\*|___[^_\\n]+___`,scope:`strong`},{match:`\\*\\*[^*\\n]+\\*\\*|__[^_\\n]+__`,scope:`strong`},{match:`\\*[^*\\n]+\\*|(?:^|[\\s(])_[^_\\n]+_`,scope:`emphasis`},{match:`~~[^~\\n]+~~`,scope:`comment`},{match:`^([ \\t]*)(\\|)`,scope:[null,`punctuation`]},{match:`\\|`,scope:`punctuation`},{match:`</?[A-Za-z][\\w:-]*(?:[ \\t][^<>\\n]*)?/?>`,scope:`tag`}]},fence:{default:`string`,rules:[{match:"^[ \\t]*{{remembered}}[`~]*[ \\t]*$",scope:`punctuation`,pop:!0}]},"front-matter":{rules:[{match:`^(?:---|\\.\\.\\.)[ \\t]*$`,scope:`punctuation`,pop:!0},{match:`^`,push:`front-matter-body`}]},"front-matter-body":{embed:{language:`yaml`,until:`^(?:---|\\.\\.\\.)[ \\t]*$`},rules:[]},"html-raw":{ignoreCase:!0,embed:{language:`html`,until:`(?=\\n|(?![\\s\\S]))(?<=<\\/(?:${vW})[ \\t]*>[^\\n]*)`},rules:[]},"html-line":{embed:{language:`html`,until:`$|${oGt}(?![ \\t]*(?:<|$))`},rules:[]},...yW(`backtick`,"`{3,}"),...yW(`tilde`,`~{3,}`),"html-comment":{default:`comment`,rules:[{match:`-->`,scope:`comment`,pop:!0}]}}}})),bW,lGt,uGt=s((()=>{bW=`[A-Za-z]\\w{0,63}`,lGt={name:`matlab`,aliases:[`m`,`octave`],states:{root:{rules:[{include:`statement`},{include:`expression`},{include:`brackets`}]},statement:{rules:[{match:`^([ \\t]*)(arguments|properties|methods|events|enumeration)\\b(?=[ \\t]*(?:\\([^)\\n]{0,120}\\)[ \\t]*)?(?:[%#][^\\n]*)?$)`,scope:[null,`keyword.declaration`]},{match:`\\b(classdef)([ \\t]+)(${bW})`,scope:[`keyword.declaration`,null,`class`],push:`superclass`},{match:`\\bclassdef\\b`,scope:`keyword.declaration`},{match:`\\bfunction\\b`,scope:`keyword.declaration`,push:`func-decl`},{match:`\\bimport\\b`,scope:`keyword.import`}]},expression:{rules:[{include:`comments`},{match:`(?<=[\\w)\\]}'"])'`,scope:`operator`},{match:`'`,scope:`string`,push:`char-array`},{match:`"`,scope:`string`,push:`string-double`},{match:`(?<![\\w.])(?:0[xX][0-9a-fA-F]+|0[bB][01]+|(?:\\d+(?:\\.(?:\\d+|(?![*/\\\\^'])))?|\\.\\d+)(?:[eE][-+]?\\d+)?[ijIJ]?)(?!\\w)`,scope:`number`},{match:`(\\.)(${bW})(?=\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${bW})`,scope:[`punctuation`,`variable.member`]},{match:`(@)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`params`},{match:`\\b(?:if|elseif|else|end|switch|case|otherwise|for|parfor|while|do|until|break|continue|return|try|catch)\\b`,scope:`keyword.control`},{match:`\\b(?:global|persistent)\\b`,scope:`keyword.declaration`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:pi|Inf|inf|NaN|nan|NaT|eps)\\b`,scope:`constant.builtin`},{match:`\\b(?:nargin|nargout|varargin|varargout|ans)\\b`,scope:`variable.builtin`},{match:`\\b(?:double|single|u?int(?:8|16|32|64)|logical|char|string|cell|struct|table|datetime)\\b`,scope:`type.builtin`},{match:`\\b(?:zeros|ones|eye|rand[in]?|linspace|size|numel|length|reshape|repmat|sum|prod|mean|std|min|max|abs|sqrt|exp|log(?:2|10)?|sin|cos|tan|floor|ceil|round|mod|sort|unique|find|any|all|is(?:empty|nan|inf|a|field|char|numeric|logical|string|struct|cell|equal|member)|class|cellfun|arrayfun|disp|fprintf|sprintf|error|warning|assert|str(?:cmpi?|rep|split|join|trim|cat|2double|2func)|(?:num|mat)2str|regexp(?:rep)?|contains|upper|lower|inv|diff|plot|figure|tic|toc)\\b`,scope:`function.builtin`},{match:`(?<=@)${bW}`,scope:`function.call`},{match:`\\b${bW}(?=\\()`,scope:`function.call`},{match:`\\.[*/\\\\^']|&&|\\|\\||[-+*/\\\\^~<>=]=?|[&|:@.]`,scope:`operator`}]},brackets:{rules:[{match:`[(\\[{]`,scope:`punctuation.bracket`,push:`group`},{match:`[)\\]}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`}]},group:{rules:[{match:`[)\\]}]`,scope:`punctuation.bracket`,pop:!0},{match:`~(?=[ \\t]*[,\\]])`,scope:`variable.parameter`},{include:`nested`}]},nested:{rules:[{match:`\\bend\\b`,scope:`constant.builtin`},{include:`expression`},{include:`brackets`}]},"func-decl":{rules:[{include:`comments`},{match:`$`,pop:!0},{match:`[,;]`,scope:`punctuation.delimiter`,pop:!0},{match:`\\[`,scope:`punctuation.bracket`,push:`params`},{match:`(${bW})(?=[ \\t]*=(?!=))`,scope:[`variable.parameter`]},{match:`=`,scope:`operator`},{match:`(${bW})([ \\t]*)(\\()`,scope:[`function`,null,`punctuation.bracket`],push:`params`},{match:bW,scope:`function`},{match:`\\(`,scope:`punctuation.bracket`,push:`params`}]},params:{rules:[{match:`[)\\]]`,scope:`punctuation.bracket`,pop:!0},{include:`comments`},{match:`[~]|${bW}`,scope:`variable.parameter`},{match:`,`,scope:`punctuation.delimiter`},{match:`$`,pop:!0}]},superclass:{rules:[{include:`comments`},{match:`$`,pop:!0},{match:`[,;]`,scope:`punctuation.delimiter`,pop:!0},{match:`[<&]`,scope:`operator`},{match:`${bW}(?:\\.${bW}){0,8}`,scope:`type`}]},comments:{rules:[{match:`^([ \\t]*)([%#]\\{[ \\t]*)$`,scope:[null,`comment`],push:`block-comment`},{match:`^([ \\t]*)((?:%%|##)[^\\n]*)`,scope:[null,`comment.doc`]},{match:`[%#][^\\n]*`,scope:`comment`},{match:`(\\.\\.\\.)([^\\n]*)(\\n?)`,scope:[`punctuation`,`comment`,null]}]},"block-comment":{default:`comment`,rules:[{match:`^[ \\t]*[%#]\\}[ \\t]*$`,pop:!0}]},"string-body":{rules:[{match:`\\\\(?:x[0-9a-fA-F]{1,2}|[0-7]{1,3}|[nrtfvab0\\\\'"%])`,scope:`string.escape`},{match:`%[-+ #0]{0,8}(?:\\d{1,6}|\\*)?(?:\\.(?:\\d{1,6}|\\*))?[diouxXeEfgGcs%]`,scope:`string.special`}]},"char-array":{default:`string`,rules:[{match:`''`,scope:`string.escape`},{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-double":{default:`string`,rules:[{match:`""`,scope:`string.escape`},{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]}}}})),xW,dGt,fGt=s((()=>{xW=`[A-Za-z_\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF]*`,dGt={name:`mojo`,aliases:[`🔥`],states:{root:{rules:[{include:`statement`},{include:`expression`}]},statement:{rules:[{match:`^#!.*`,scope:`comment`},{match:`^[ \\t]*"""`,scope:`comment.doc`,push:`docstring-double`},{match:`^[ \\t]*'''`,scope:`comment.doc`,push:`docstring-single`},{match:`^([ \\t]*)(@${xW}(?:\\.${xW})*)`,scope:[null,`decorator`]},{match:`\\b(fn|def)([ \\t]+)(${xW})`,scope:[`keyword.declaration`,null,`function`],push:`signature`},{match:`\\b(struct|trait)([ \\t]+)(${xW})([ \\t]*)(\\[)`,scope:[`keyword.declaration`,null,`class`,null,`punctuation.bracket`],push:`params`},{match:`\\b(struct|trait)([ \\t]+)(${xW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(from|import)([ \\t]+)(${xW}(?:\\.${xW})*)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:import|from)\\b`,scope:`keyword.import`}]},signature:{rules:[{match:`\\[`,scope:`punctuation.bracket`,push:`params`},{match:`\\(`,scope:`punctuation.bracket`,set:`return-type`,push:`params`},{match:`:`,scope:`punctuation.delimiter`,pop:!0},{match:`$`,pop:!0}]},"return-type":{rules:[{match:`:`,scope:`punctuation.delimiter`,pop:!0},{match:`$`,pop:!0},{include:`expression`}]},expression:{rules:[{match:`#[^\\n]*`,scope:`comment`},{include:`strings`},{include:`numbers`},{match:`\\.\\.\\.`,scope:`constant.builtin`},{match:`(\\.)([ \\t]*)(${xW})(?=[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\.)([ \\t]*)(__\\w+__)`,scope:[`punctuation`,null,`variable.special`]},{match:`(\\.)([ \\t]*)(${xW})`,scope:[`punctuation`,null,`variable.member`]},{match:`\\bNone\\b`,scope:`constant.builtin`},{match:`\\b(?:True|False)\\b`,scope:`boolean`},{match:`\\b(?:self|cls)\\b`,scope:`variable.builtin`},{match:`\\b(?:if|elif|else|for|while|break|continue|return|yield|await|raise|try|except|finally|with|pass|assert|del)\\b`,scope:`keyword.control`},{match:`\\b(?:fn|def|struct|trait|alias|var|let|async|global|nonlocal|lambda)\\b`,scope:`keyword.declaration`},{match:`\\b(?:raises|capturing|as)\\b`,scope:`keyword`},{match:`\\b(?:and|or|not|in|is)\\b`,scope:`keyword.operator`},{match:`\\b__\\w+__\\b`,scope:`variable.special`},{match:`\\b(?:abs|align_?of|all|any|bin|chr|constrained|debug_assert|enumerate|hex|isinstance|len|max|min|oct|open|ord|pow|print|range|rebind|repr|reversed|round|simd_?width_?of|size_?of|sorted|str|sum|swap|zip)\\b`,scope:`function.builtin`},{match:`\\b(?:U?Int(?:8|16|32|64)?|Float(?:16|32|64)|SIMD|Scalar|DType|Bool|String(?:Literal|Slice)?|List|Dict|Set|Tuple|Optional|UnsafePointer|Pointer|AnyType|Error|Self)\\b`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${xW}(?==(?!=))`,scope:`variable.parameter`},{match:`\\b${xW}(?=[ \\t]*\\()`,scope:`function.call`},{match:`->|:=|\\*\\*=?|//=?|<<=?|>>=?|[-+*/%@&|^~<>!=]=?`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX](?:_?[0-9a-fA-F])+\\b`,scope:`number`},{match:`\\b0[oO](?:_?[0-7])+\\b`,scope:`number`},{match:`\\b0[bB](?:_?[01])+\\b`,scope:`number`},{match:`\\b\\d(?:_?\\d)*\\.(?:\\d(?:_?\\d)*)?(?:[eE][-+]?\\d(?:_?\\d)*)?|\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d(?:_?\\d)*)?|\\b\\d(?:_?\\d)*(?:[eE][-+]?\\d(?:_?\\d)*)?\\b`,scope:`number`}]},strings:{rules:[{match:`[rRfF]{0,2}(""")`,scope:[`string`],rest:`string.special`,push:`string-triple-double`},{match:`[rRfF]{0,2}(''')`,scope:[`string`],rest:`string.special`,push:`string-triple-single`},{match:`[rRfF]{0,2}(")`,scope:[`string`],rest:`string.special`,push:`string-double`},{match:`[rRfF]{0,2}(')`,scope:[`string`],rest:`string.special`,push:`string-single`}]},"string-body":{rules:[{match:`\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|[0-7]{1,3}|\\r?\\n|[\\\\'"abfnrtv0])`,scope:`string.escape`},{match:`\\{\\{|\\}\\}`,scope:`string.escape`},{match:`\\{`,scope:`interpolation`,push:`interpolation`}]},"string-double":{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-triple-double":{default:`string`,rules:[{include:`string-body`},{match:`"""`,scope:`string`,pop:!0}]},"string-triple-single":{default:`string`,rules:[{include:`string-body`},{match:`'''`,scope:`string`,pop:!0}]},"docstring-double":{default:`comment.doc`,rules:[{match:`"""`,pop:!0}]},"docstring-single":{default:`comment.doc`,rules:[{match:`'''`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`:[^{}\\n]{0,120}(?=\\})`,scope:`string.special`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{include:`expression`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},bracket:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},nested:{rules:[{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},params:{rules:[{match:`[)\\]]`,scope:`punctuation.bracket`,pop:!0},{match:`\\b(?:owned|borrowed|inout|mut|read|out|ref)\\b(?=[ \\t]+[*A-Za-z_])`,scope:`keyword`},{match:`\\b(?:self|cls)\\b`,scope:`variable.builtin`},{match:`:`,scope:`punctuation.delimiter`,push:`param-value`},{match:`=(?!=)`,scope:`operator`,push:`param-value`},{match:`(?:(\\*{1,2})|(?<![\\w\\u0080-\\uFFFF]))(${xW})(?=[ \\t]*[,:=)\\]])`,scope:[`operator`,`variable.parameter`]},{include:`nested`}]},"param-value":{rules:[{match:`(?=[,)\\]]|=(?!=))`,pop:!0},{include:`nested`}]}}}})),SW,CW,wW,pGt,mGt=s((()=>{SW=`[A-Za-z_]\\w*\\b`,CW=`(?:^|(?<=[;{]))[ \\t]*`,wW=`(?=[^;{\\n]{0,300}(?:\\{[^;{\\n]{0,300}){0,3}\\{[ \\t\\r]*(?:#[^\\n]*)?$)`,pGt={name:`nginx`,aliases:[`nginxconf`,`nginx-conf`],states:{root:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`${CW}(rewrite)\\b`,scope:[`property`],push:`regex`},{match:`${CW}(map)\\b${wW}`,scope:[`keyword`],push:`map-arguments`},{match:`${CW}(?:(upstream)([ \\t]+)([$\\w.-]+)|(${SW}))${wW}`,scope:[`keyword`,null,`type`,`keyword`]},{match:`${CW}(${SW})`,scope:[`property`]},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{include:`variables`},{match:`!?~\\*?`,scope:`operator`,push:`regex`},{match:`\\^~|!?=`,scope:`operator`},{match:`\\B-!?[fdex]\\b`,scope:`keyword.operator`},{match:`\\b(?:on|off)\\b`,scope:`boolean`},{match:`\\b(?:(debug|info|notice|warn|error|crit|alert|emerg|main|combined|epoll|kqueue|eventport|devpoll)(?![\\w/.-])|(last|break|redirect|permanent)(?=[ \\t]*;))(?<![/.$-][a-z]*)`,scope:[`constant.builtin`,`keyword`]},{match:`\\b[a-z][a-z0-9+.-]{0,15}://[^\\s;{}$]*`,scope:`string`},{match:`(?<!\\w)/[^\\s;{}$]*`,scope:`string`},{match:`(?<![\\w.])(\\d+(?:\\.\\d+)*)([a-zA-Z]*)`,scope:[`number`,`unit`]},{match:`\\{`,scope:`punctuation.bracket`,push:`block`},{match:`[()\\[\\]]`,scope:`punctuation.bracket`},{match:`[;:,]`,scope:`punctuation.delimiter`}]},block:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`root`}]},"map-arguments":{rules:[{match:`\\$\\w+(?=[ \\t]*\\{)`,scope:`type`,pop:!0},{match:`(?=[;{}\\n])`,pop:!0},{include:`root`}]},variables:{rules:[{match:`\\$\\{[A-Za-z_]\\w*\\}`,scope:`variable`},{match:`\\$\\w+`,scope:`variable`}]},regex:{rules:[{match:`(?=[;{#\\n])`,pop:!0},{match:`"[^"\\n]{0,512}"`,scope:`regexp`,pop:!0},{match:`'[^'\\n]{0,512}'`,scope:`regexp`,pop:!0},{match:`[^\\s;{](?:[^\\s;)]|\\)(?=[^\\s;]))*`,scope:`regexp`,pop:!0}]},"string-double":{default:`string`,rules:[{match:`\\\\[\\s\\S]`,scope:`string.escape`},{include:`variables`},{match:`"`,scope:`string`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\[\\s\\S]`,scope:`string.escape`},{include:`variables`},{match:`'`,scope:`string`,pop:!0}]}}}})),TW,hGt,gGt=s((()=>{TW=`[A-Za-z_]\\w*`,hGt={name:`objectivec`,aliases:[`objc`,`obj-c`,`objective-c`],states:{root:{rules:[{include:`code`}]},code:{rules:[{match:`//[/!][^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*[*!](?!/)`,scope:`comment.doc`,push:`block-doc`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`^[ \\t]*(#[ \\t]*(?:import|include))([ \\t]*)(<[^>\\n]*>|"[^"\\n]*")`,scope:[`keyword.import`,null,`string`]},{match:`^[ \\t]*#[ \\t]*\\w+`,scope:`keyword`},{match:`^[ \\t]*([-+])([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`method-return`},{match:`(@(?:interface|implementation|protocol|class))([ \\t]+)(${TW})`,scope:[`keyword.declaration`,null,`class`]},{match:`(@property)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`property-attrs`},{match:`(@selector)([ \\t]*)(\\()([^)\\n]*)(\\))`,scope:[`keyword.operator`,null,`punctuation.bracket`,`function.method`,`punctuation.bracket`]},{match:`@(?:try|catch|finally|throw|synchronized|autoreleasepool)\\b`,scope:`keyword.control`},{match:`@(?:interface|implementation|protocol|end|property|synthesize|dynamic|class|public|private|protected|optional|required)\\b`,scope:`keyword.declaration`},{match:`@import\\b`,scope:`keyword.import`},{match:`@(?:selector|encode|available)\\b`,scope:`keyword.operator`},{match:`(@)(")`,scope:[`string.special`,`string`],push:`string`},{match:`"`,scope:`string`,push:`string`},{match:`@(?=[\\[({\\d]|YES\\b|NO\\b)`,scope:`operator`},{match:`'(?:[^'\\\\\\n]|\\\\.){1,8}'`,scope:`string`},{match:`\\b0(?:[xX][0-9a-fA-F]+|[bB][01]+)[uUlL]*\\b`,scope:`number`},{match:`\\b\\d+\\.?\\d*(?:[eE][-+]?\\d+)?[uUlLfF]*\\b`,scope:`number`},{match:`\\.\\d+(?:[eE][-+]?\\d+)?[fF]?`,scope:`number`},{match:`\\b(?:break|case|continue|default|do|else|for|goto|if|return|switch|while)\\b`,scope:`keyword.control`},{match:`\\b(?:auto|const|enum|extern|inline|static|struct|typedef|union|volatile|nullable|nonnull|_Nullable|_Nonnull|__block|__weak|__strong|__kindof|__bridge(?:_retained|_transfer)?)\\b`,scope:`keyword.declaration`},{match:`\\b(?:sizeof|typeof|__typeof__)\\b`,scope:`keyword.operator`},{match:`\\b(?:YES|NO)\\b`,scope:`boolean`},{match:`\\b(?:nil|Nil|NULL)\\b`,scope:`constant.builtin`},{match:`\\b(?:self|super|_cmd)\\b`,scope:`variable.builtin`},{match:`\\b(?:id|instancetype|Class|SEL|IMP|BOOL|void|char|short|int|long|float|double|signed|unsigned|size_t|u?int(?:8|16|32|64)_t|NSInteger|NSUInteger|NSTimeInterval|CGFloat)\\b`,scope:`type.builtin`},{match:`(\\.)(${TW})(?=[ \\t]*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${TW})`,scope:[`punctuation`,`variable.member`]},{match:`\\b${TW}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\.{3}|->|\\+\\+|--|<<=?|>>=?|&&|\\|\\||[-+*/%!&|^<>=]=?|[~?]`,scope:`operator`},{match:`\\[`,scope:`punctuation.bracket`,push:`message`},{match:`[()\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"block-doc":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|x[0-9a-fA-F]+|[0-7]{1,3}|.)`,scope:`string.escape`},{match:`%(?:\\d{1,3}\\$)?[-+ #0]{0,6}(?:\\d{1,6}|\\*)?(?:\\.(?:\\d{1,6}|\\*))?(?:hh?|ll?|[Lzjtq])?[@%a-zA-Z]`,scope:`string.special`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},message:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`code`},{match:`\\b${TW}(?=:(?![:=]))`,scope:`function.method`},{match:`(?<=[\\w\\]"\\)])[ \\t]+(${TW})(?=[ \\t]*\\])`,scope:[`function.method`]}]},"method-return":{rules:[{match:`\\)`,scope:`punctuation.bracket`,set:`method-name`},{include:`code`}]},"method-name":{rules:[{match:TW,scope:`function`,set:`method-sig`},{match:`\\n`,pop:!0}]},"method-sig":{rules:[{match:`\\{`,scope:`punctuation.bracket`,pop:!0},{match:`;`,scope:`punctuation.delimiter`,pop:!0},{match:`\\b${TW}(?=:)`,scope:`function`},{match:`(?<=\\))[ \\t]*(${TW})`,scope:[`variable.parameter`]},{include:`code`}]},"property-attrs":{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\b(?:nonatomic|atomic|strong|weak|copy|assign|retain|readonly|readwrite|class|getter|setter)\\b`,scope:`keyword`},{match:`(=)([ \\t]*)(${TW}:?)`,scope:[`operator`,null,`function.method`]},{include:`code`}]}}}})),EW,DW,OW,kW,_Gt,vGt=s((()=>{EW=`[a-z_][A-Za-z0-9_']{0,128}`,DW=`[A-Z][A-Za-z0-9_']{0,128}`,OW=`(?![\\w'])`,kW=`\\\\(?:[0-9]{3}|x[0-9a-fA-F]{2}|o[0-3][0-7]{2}|u\\{[0-9a-fA-F]{1,6}\\}|\\r?\\n[ \\t]*|[\\s\\S])`,_Gt={name:`ocaml`,aliases:[`ml`,`mli`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{include:`atoms`},{match:`\\[(?:@{1,3}|%{1,2})[A-Za-z_][\\w.']{0,64}`,scope:`decorator`},{include:`definitions`},{match:`(${DW})(\\.)`,scope:[`namespace`,`punctuation`]},{match:`(\\.)(${EW})`,scope:[`punctuation`,`variable.member`]},{match:`[~?]${EW}`,scope:`variable.parameter`},{match:"`[A-Za-z_][\\w']{0,128}",scope:`constant`},{match:`\\b(?:if|then|else|match|when|with|for|to|downto|while|do|done|begin|end|try|assert)${OW}`,scope:`keyword.control`},{match:`\\b(?:let|rec|and|in|fun|function|type|val|external|module|struct|sig|object|class|method|inherit|initializer|constraint|mutable|private|virtual|nonrec|exception|new|lazy)${OW}`,scope:`keyword.declaration`},{match:`\\b(?:open|include)${OW}`,scope:`keyword.import`},{match:`\\b(?:mod|land|lor|lxor|lsl|lsr|asr|or)${OW}`,scope:`keyword.operator`},{match:`\\b(?:as|of)${OW}`,scope:`keyword`},{include:`types`},{match:`\\b(?:printf|sprintf|eprintf|fprintf|print_endline|print_string|print_newline|prerr_endline|failwith|invalid_arg|raise|ignore|ref|incr|decr|not|fst|snd|compare|min|max|exit)${OW}`,scope:`function.builtin`},{match:`\\b(?:int|float|string|char|bool|bytes)_of_(?:int|float|string|char|bool|bytes)${OW}`,scope:`function.builtin`},{match:`\\b${DW}`,scope:`constant`},{match:`(?<![\\w'\\)\\]] )\\b${EW}(?=[ \\t]*\\()`,scope:`function.call`},{match:`[,;]`,scope:`punctuation.delimiter`},{match:`:(?![:=>])`,scope:`punctuation.delimiter`},{match:`[!$%&*+\\-./:<>=?@^|~]+`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`}]},atoms:{rules:[{include:`comments`},{include:`strings`},{include:`numbers`},{match:`\\b(?:true|false)${OW}`,scope:`boolean`},{match:`\\b(?:None|Some|Ok|Error)${OW}`,scope:`constant.builtin`}]},comments:{rules:[{match:`\\(\\*\\*(?!\\))`,scope:`comment.doc`,push:`comment-doc`},{match:`\\(\\*`,scope:`comment`,push:`comment`}]},comment:{default:`comment`,rules:[{match:`\\(\\*`,push:`comment`},{match:`\\*\\)`,pop:!0},{match:`"`,push:`comment-string`}]},"comment-doc":{default:`comment.doc`,rules:[{match:`\\(\\*`,push:`comment-doc`},{match:`\\*\\)`,pop:!0},{match:`"`,push:`comment-string`}]},"comment-string":{default:`comment`,rules:[{match:`\\\\[\\s\\S]`,scope:`comment`},{match:`"`,scope:`comment`,pop:!0}]},strings:{rules:[{match:`\\{([a-z_]*)\\|`,scope:`string`,push:`quoted-string`,remember:1},{match:`"`,scope:`string`,push:`string`},{match:`(?<![\\w'])'(?:[^'\\\\\\n]|${kW})'`,scope:`string`}]},string:{default:`string`,rules:[{match:kW,scope:`string.escape`},{match:`%[-0+ #]*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?[hlLn]?[diuxXosScCfFeEgGbBaltT%!,]`,scope:`string.special`},{match:`"`,scope:`string`,pop:!0}]},"quoted-string":{default:`string`,rules:[{match:`\\|{{remembered}}\\}`,scope:`string`,pop:!0}]},numbers:{rules:[{match:`\\b0[xX][0-9a-fA-F_]+(?:\\.[0-9a-fA-F_]*)?(?:[pP][-+]?\\d+)?[lLn]?`,scope:`number`},{match:`\\b0[oO][0-7_]+[lLn]?`,scope:`number`},{match:`\\b0[bB][01_]+[lLn]?`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.[\\d_]*)?(?:[eE][-+]?\\d[\\d_]*)?[lLn]?`,scope:`number`}]},types:{rules:[{match:`(?<![\\w'])'${EW}`,scope:`type`},{match:`\\b(?:int|float|string|char|bool|unit|list|array|option|result|bytes|exn|int32|int64|nativeint)${OW}`,scope:`type.builtin`},{match:`(?<=: )${EW}`,scope:`type`}]},definitions:{rules:[{match:`\\b(let|and)([ \\t]+)(?:(rec)([ \\t]+))?(?!(?:open|module|exception)${OW})(${EW})(?=[ \\t]*[=:])`,scope:[`keyword.declaration`,null,`keyword.declaration`,null,`variable`]},{match:`\\b(let|and)([ \\t]+)(?:(rec)([ \\t]+))?(?!(?:open|module|exception)${OW})(${EW})`,scope:[`keyword.declaration`,null,`keyword.declaration`,null,`function`],push:`params`},{match:`\\bfun${OW}`,scope:`keyword.declaration`,push:`params`},{match:`\\b(val|external)([ \\t]+)(${EW})(?=[ \\t]*:[^\\n]{0,200}->)`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(val|external)([ \\t]+)(${EW})`,scope:[`keyword.declaration`,null,`variable`]},{match:`\\b(type)([ \\t]+)('${EW})?([ \\t]*)(${EW})`,scope:[`keyword.declaration`,null,`type`,null,`type`]},{match:`\\b(module)([ \\t]+)(?:(type)([ \\t]+))?(${DW})`,scope:[`keyword.declaration`,null,`keyword.declaration`,null,`namespace`]},{match:`\\b(open!?|include)([ \\t]+)(${DW}(?:\\.${DW})*)`,scope:[`keyword.import`,null,`namespace`]}]},params:{rules:[{match:`=(?![=<>|&])`,scope:`operator`,pop:!0},{match:`->`,scope:`operator`,pop:!0},{include:`param-atoms`}]},"params-paren":{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`param-atoms`}]},"param-atoms":{rules:[{match:`\\(`,scope:`punctuation.bracket`,push:`params-paren`},{include:`atoms`},{include:`types`},{match:`[~?]?${EW}`,scope:`variable.parameter`},{include:`expression`}]}}}})),AW,jW,MW,NW,PW,yGt,FW,IW,bGt,xGt=s((()=>{AW=`[A-Za-z_]\\w*(?:::\\w+)*`,jW="\\${0,8}",MW=`(?:[^/\\\\\\n]|\\\\.){0,240}`,NW=`[a-z]*`,PW=`/(?:[^/\\\\\\n]|\\\\.){1,240}/${NW}`,yGt=`=~|!~|=>|&&|\\|\\||[=!]=|[=!?~]`,FW=`\\b(?:qq|qw|qx|qr|q|m)`,IW=`\\b(?:s|tr|y)`,bGt={name:`perl`,aliases:[`pl`,`pm`],states:{root:{rules:[{match:`^#!.*`,scope:`comment`},{match:`^=[a-zA-Z]\\w*`,scope:`comment.doc`,push:`pod`},{match:`^__(?:END|DATA)__`,scope:`keyword`,push:`data`},{match:`#[^\\n]*`,scope:`comment`},{match:`(<<~?)(")(\\w+)(")`,scope:[`operator`,`string`,`string.special`,`string`],push:`heredoc-line`},{match:`(<<~?)(')(\\w+)(')`,scope:[`operator`,`string`,`string.special`,`string`],push:`heredoc-line-raw`},{match:`(<<~)(\\w+)`,scope:[`operator`,`string.special`],push:`heredoc-line`},{match:`(<<)([A-Z_]\\w*)`,scope:[`operator`,`string.special`],push:`heredoc-line`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`",scope:`string`,push:`backtick`},{match:`(${FW})(\\()`,scope:[`keyword.operator`,`string`],push:`q-paren`},{match:`(${FW})(\\{)`,scope:[`keyword.operator`,`string`],push:`q-brace`},{match:`(${FW})(\\[)`,scope:[`keyword.operator`,`string`],push:`q-bracket`},{match:`(${IW})\\{`,scope:[`keyword.operator`],rest:`string`,push:`subst`},{match:`(${IW})(/${MW}/${MW}/${NW})`,scope:[`keyword.operator`,`regexp`]},{match:`(\\b(?:qr|m))(/${MW}/${NW})`,scope:[`keyword.operator`,`regexp`]},{match:`([(\\[])(\\s*)(${PW})`,scope:[`punctuation.bracket`,null,`regexp`]},{match:`(\\{)(\\s*)(${PW})`,scope:[`punctuation.bracket`,null,`regexp`],push:`brace`},{match:`([,;:])(\\s*)(${PW})`,scope:[`punctuation.delimiter`,null,`regexp`]},{match:`(\\b(?:return|if|elsif|unless|while|until|when)\\b)(\\s*)(${PW})`,scope:[`keyword.control`,null,`regexp`]},{match:`(\\b(?:split|grep|map|push|join|print|die)\\b)(\\s*)(${PW})`,scope:[`function.builtin`,null,`regexp`]},{match:`(\\b(?:and|or|not)\\b)(\\s*)(${PW})`,scope:[`keyword.operator`,null,`regexp`]},{match:`(${yGt})(\\s*)(${PW})`,scope:[`operator`,null,`regexp`]},{match:`\\$#\\{`,scope:`variable`,push:`deref`},{match:`\\$#${jW}${AW}`,scope:`variable`},{match:`[$@%]_(?!\\w)`,scope:`variable.builtin`},{match:`(?:[@%](?:ARGV|ENV|INC)|\\$(?:0|ARGV))(?!\\w)`,scope:`variable.builtin`},{match:`[$@%]\\{\\^?\\w+\\}`,scope:`variable`},{match:`[$@%&]${jW}\\{`,scope:`variable`,push:`deref`},{match:`[$@%]${jW}${AW}`,scope:`variable`},{match:`\\$(?:\\d+|\\^\\w|[!@/\\\\,;.&+])`,scope:`variable.builtin`},{match:`&(?<![\\w$)\\]}&]&)${jW}${AW}`,scope:`function.call`},{match:`<\\$?\\w*>`,scope:`variable.builtin`},{match:`(->)(${AW})(?=[ \\t]*\\()`,scope:[`operator`,`function.method`]},{match:`(->)(${AW})`,scope:[`operator`,`variable.member`]},{match:`(\\{)(-?\\w+)(\\})`,scope:[`punctuation.bracket`,`property`,`punctuation.bracket`]},{match:`\\b[A-Za-z_]\\w*(?=[ \\t]*=>)`,scope:`property`},{match:`(\\bpackage)([ \\t]+)(${AW})`,scope:[`keyword.declaration`,null,`namespace`]},{match:`(\\b(?:use|no|require))([ \\t]+)((?!v\\d)${AW})`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:use|no|require)\\b`,scope:`keyword.import`},{match:`(\\bsub)([ \\t]+)(${AW})`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(?:if|elsif|else|unless|while|until|foreach|for|do|last|next|redo|return|goto|given|when|eval)\\b`,scope:`keyword.control`},{match:`\\b(?:sub|my|our|local|state|package)\\b`,scope:`keyword.declaration`},{match:`\\b(?:BEGIN|END|AUTOLOAD|DESTROY)\\b`,scope:`keyword`},{match:`\\b(?:xor|cmp|and|or|not|eq|ne|lt|gt|le|ge|x)\\b`,scope:`keyword.operator`},{match:`\\bundef\\b`,scope:`constant.builtin`},{match:`\\b__(?:PACKAGE|FILE|LINE|SUB)__\\b`,scope:`variable.special`},{match:`\\b(?:STDIN|STDOUT|STDERR)\\b`,scope:`variable.builtin`},{match:`\\b(?:sprintf|printf|print|say|push|pop|shift|unshift|splice|keys|values|each|exists|delete|defined|ref|bless|die|warn|join|split|grep|map|sort|reverse|scalar|wantarray|chomp|lcfirst|ucfirst|lc|uc|length|substr|index|open|close|abs|int|sqrt|time|localtime|exit)\\b`,scope:`function.builtin`},{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO]?[0-7_]+\\b`,scope:`number`},{match:`\\bv\\d+(?:\\.\\d+)+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`\\b[A-Za-z_]\\w*(?=::)`,scope:`namespace`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z]\\w*`,scope:`type`},{match:`\\b[a-z_]\\w*(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`<=>|=~|!~|->|=>|\\+\\+|--|\\*\\*=?|\\|\\|=?|&&=?|//=?|<<=?|>>=?|\\.\\.\\.?|::|[-+*/%.^&|]=|[<>!=]=|[-+*/%.!~\\\\^&|<>=?]`,scope:`operator`},{match:`[()\\[\\]}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},pod:{default:`comment.doc`,rules:[{match:`^=cut[^\\n]*`,pop:!0}]},data:{default:`comment`,rules:[]},interp:{rules:[{match:`\\\\(?:x\\{[0-9a-fA-F]{1,8}\\}|x[0-9a-fA-F]{1,2}|[0-7]{1,3}|N\\{[^}\\n]{0,60}\\}|.)`,scope:`string.escape`},{match:`%[-+ 0#]{0,8}(?:\\d{1,6}|\\*)?(?:\\.\\d{1,6})?[sdfgeExXobcu%]`,scope:`string.special`},{match:`\\$#${jW}${AW}`,scope:`variable`},{match:`[$@]\\{\\^?\\w+\\}`,scope:`variable`},{match:`[$@]${jW}\\{`,scope:`variable`,push:`deref`},{match:`[$@]${jW}(?:${AW}|\\d+)(?:(?:->)?(?:\\[[^\\]\\n]{0,80}\\]|\\{[^}\\n]{0,80}\\})){0,6}`,scope:`variable`}]},"string-double":{default:`string`,rules:[{include:`interp`},{match:`"`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\['\\\\]`,scope:`string.escape`},{match:`'`,pop:!0}]},backtick:{default:`string`,rules:[{include:`interp`},{match:"`",pop:!0}]},"q-paren":{default:`string`,rules:[{match:`\\(`,push:`q-paren`},{match:`\\)`,pop:!0},{include:`interp`}]},"q-brace":{default:`string`,rules:[{match:`\\{`,push:`q-brace`},{match:`\\}`,pop:!0},{include:`interp`}]},"q-bracket":{default:`string`,rules:[{match:`\\[`,push:`q-bracket`},{match:`\\]`,pop:!0},{include:`interp`}]},subst:{default:`string`,rules:[{match:`\\{`,push:`q-brace`},{match:`\\}`,set:`subst-mid`},{include:`interp`}]},"subst-mid":{rules:[{match:`([ \\t\\n]*)(\\{)`,scope:[null,`string`],set:`subst-2`},{match:`(?=[\\s\\S])`,pop:!0}]},"subst-2":{default:`string`,rules:[{match:`\\{`,push:`q-brace`},{match:`\\}${NW}`,pop:!0},{include:`interp`}]},"heredoc-line":{rules:[{match:`\\n`,set:`heredoc`},{include:`root`}]},"heredoc-line-raw":{rules:[{match:`\\n`,set:`heredoc-raw`},{include:`root`}]},heredoc:{default:`string`,rules:[{match:`^[ \\t]*\\w+[ \\t]*$`,scope:`string.special`,pop:!0},{include:`interp`}]},"heredoc-raw":{default:`string`,rules:[{match:`^[ \\t]*\\w+[ \\t]*$`,scope:`string.special`,pop:!0}]},deref:{rules:[{match:`\\}`,scope:`variable`,pop:!0},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`root`}]}}}})),LW,RW,zW,BW,SGt,CGt=s((()=>{LW=`[A-Za-z_\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF]*`,RW=`\\\\?${LW}(?:\\\\${LW})*`,zW=`[A-Za-z_][\\w:.-]*`,BW=String.raw`<\?(?:php\b|=)(?:"(?:\\[\s\S]|[^"\\])*(?:"|(?![\s\S]))|'(?:\\[\s\S]|[^'\\])*(?:'|(?![\s\S]))|/\*[^*]*(?:\*(?!/)[^*]*)*(?:\*/|(?![\s\S]))|(?:\/\/|#(?!\[))(?:(?!\?>)[^\n])*|[^"'/?#]|/(?![/*])|\?(?!>)|#(?=\[))*(?:\?>|(?![\s\S]))`,SGt={name:`php`,aliases:[`php3`,`php4`,`php5`,`php8`],states:{root:{rules:[{match:`(?=\\s*<(?!<<))`,set:`markup`},{match:`(?=[\\s\\S])`,set:`code`}]},markup:{ignoreCase:!0,rules:[{match:`<\\?(?:php\\b|=)`,scope:`tag`,push:`php`},{match:`<!--`,scope:`comment`,push:`html-comment`},{match:`(<)(script)(?=[\\s/>])`,scope:[`punctuation.bracket`,`tag`],push:`script-tag`},{match:`(<)(style)(?=[\\s/>])`,scope:[`punctuation.bracket`,`tag`],push:`style-tag`},{match:`(</?)(${zW})`,scope:[`punctuation.bracket`,`tag`],push:`html-tag`}]},"script-tag":{ignoreCase:!0,rules:[{match:`/>`,scope:`punctuation.bracket`,pop:!0},{match:`>`,scope:`punctuation.bracket`,set:`script-body`},{include:`html-tag`}]},"script-body":{ignoreCase:!0,embed:{language:`javascript`,until:`<\/script(?=[\\s/>])`,holes:BW},rules:[]},"style-tag":{ignoreCase:!0,rules:[{match:`/>`,scope:`punctuation.bracket`,pop:!0},{match:`>`,scope:`punctuation.bracket`,set:`style-body`},{include:`html-tag`}]},"style-body":{ignoreCase:!0,embed:{language:`css`,until:`</style(?=[\\s/>])`,holes:BW},rules:[]},"html-comment":{default:`comment`,rules:[{match:`-->`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},"html-tag":{ignoreCase:!0,rules:[{match:`/?>`,scope:`punctuation.bracket`,pop:!0},{match:`<\\?(?:php\\b|=)`,scope:`tag`,push:`php`},{match:`"[^"<]*"|'[^'<]*'`,scope:`string`},{match:`[@:#]?${zW}`,scope:`tag.attribute`},{match:`=`,scope:`operator`}]},php:{rules:[{match:`\\?>`,scope:`tag`,pop:!0},{include:`expression`}]},code:{rules:[{match:`\\?>`,scope:`tag`,set:`markup`},{include:`expression`}]},expression:{rules:[{match:`(#\\[)(${RW})`,scope:[`decorator`,`decorator`]},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`(?://|#)[^?\\n]*(?:\\?(?!>)[^?\\n]*)*`,scope:`comment`},{include:`strings`},{include:`numbers`},{match:`(\\?->|->)([ \\t]*)(${LW})(?=[ \\t]*\\()`,scope:[`operator`,null,`function.method`]},{match:`(\\?->|->)([ \\t]*)(${LW})`,scope:[`operator`,null,`variable.member`]},{match:`(::)([ \\t]*)(${LW})(?=[ \\t]*\\()`,scope:[`operator`,null,`function.method`]},{match:`(function)([ \\t]+)(&?)(${LW})([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`operator`,`function`,null,`punctuation.bracket`],push:`params`},{match:`\\b(function|fn)([ \\t]*)(&?)(\\()`,scope:[`keyword.declaration`,null,`operator`,`punctuation.bracket`],push:`params`},{match:`\\b(class|interface|trait|enum)([ \\t]+)(${LW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(namespace|use)([ \\t]+)(${RW})`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:if|else|elseif|while|do|for|foreach|switch|case|default|break|continue|return|goto|throw|try|catch|finally|yield|match|declare|end(?:if|while|for|foreach|switch|declare))\\b`,scope:`keyword.control`},{match:`\\b(?:abstract|final|public|private|protected|static|readonly|const|var|global|function|fn|class|interface|trait|enum|extends|implements)\\b`,scope:`keyword.declaration`},{match:`\\b(?:namespace|use|require_once|require|include_once|include)\\b`,scope:`keyword.import`},{match:`\\b(?:new|clone|instanceof|insteadof|as|and|or|xor)\\b`,scope:`keyword.operator`},{match:`\\b(?:echo|print)\\b`,scope:`keyword`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b|\\b__[A-Z]+__\\b`,scope:`constant.builtin`},{match:`\\$this\\b`,scope:`variable.builtin`},{match:`\\$(?:GLOBALS|_(?:GET|POST|REQUEST|SERVER|SESSION|COOKIE|FILES|ENV))\\b`,scope:`variable.builtin`},{match:`\\$\\$?${LW}`,scope:`variable`},{match:`\\b(?:array_(?:map|filter|merge|keys|values|slice|sum)|in_array|count|is_(?:array|string|int|null|numeric)|str_(?:replace|repeat|contains|pad)|strlen|strtolower|strtoupper|substr|strpos|trim|sprintf|printf|number_format|implode|explode|json_(?:encode|decode)|preg_(?:match|replace|split)|var_dump|usort|isset|unset|empty|list|compact|exit|die)\\b`,scope:`function.builtin`},{match:`\\b(?:int|float|string|bool|array|object|mixed|void|never|callable|iterable|resource|self|parent)\\b`,scope:`type.builtin`},{match:`\\b${LW}(?=\\\\)`,scope:`namespace`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\*\\*=?|\\?\\?=?|\\?->|<=>|<<=?|>>=?|===?|!==?|<>|=>|->|::|&&|\\|\\||\\+\\+|--|[-+*/%.&|^!]=?|[<>]=?|=|[?~@]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]|\\\\`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO][0-7_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*\\.[\\d_]*(?:[eE][-+]?\\d+)?|\\.\\d[\\d_]*(?:[eE][-+]?\\d+)?|\\b\\d[\\d_]*(?:[eE][-+]?\\d+)?\\b`,scope:`number`}]},strings:{rules:[{match:`<<<[ \\t]*'(${LW})'`,scope:`string.special`,push:`nowdoc`,remember:1},{match:`<<<[ \\t]*"?(${LW})"?`,scope:`string.special`,push:`heredoc`,remember:1},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`",scope:`string`,push:`shell`}]},escapes:{rules:[{match:'\\\\(?:x[0-9a-fA-F]{1,2}|u\\{[0-9a-fA-F]+\\}|[0-7]{1,3}|[nrtvef\\\\$"`])',scope:`string.escape`}]},interpolation:{rules:[{match:`\\{(?=\\$)`,scope:`interpolation`,push:`interp`},{match:`\\$\\{[^}\\n]*\\}`,scope:`variable`},{match:`\\$${LW}(?:->${LW}|\\[[^\\[\\]\\n]*\\])?`,scope:`variable`}]},interp:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{include:`expression`}]},"string-double":{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:`"`,scope:`string`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\['\\\\]`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0}]},shell:{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:"`",scope:`string`,pop:!0}]},"heredoc-end":{rules:[{match:`^([ \\t]*)({{remembered}})(?![\\w\\u0080-\\uFFFF])`,scope:[null,`string.special`],pop:!0}]},heredoc:{default:`string`,rules:[{include:`heredoc-end`},{include:`escapes`},{include:`interpolation`}]},nowdoc:{default:`string`,rules:[{include:`heredoc-end`}]},params:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\$${LW}`,scope:`variable.parameter`},{include:`expression`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`expression`}]}}}})),VW,HW,wGt,TGt=s((()=>{VW=`[a-z_]\\w*`,HW=`[a-z_][\\w.]*`,wGt={name:`powershell`,aliases:[`ps`,`ps1`,`pwsh`,`posh`],states:{root:{ignoreCase:!0,rules:[{match:`<#`,scope:`comment`,push:`block-comment`},{match:`(?<=^|[ \\t;(])#[^\\n]*`,scope:`comment`},{match:`@"[ \\t]*\\r?$`,scope:`string.special`,push:`heredoc-double`},{match:`@'[ \\t]*\\r?$`,scope:`string.special`,push:`heredoc-single`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`[\\s\\S]",scope:`string.escape`},{match:`[$@]\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`@\\{`,scope:`punctuation.bracket`},{include:`variables`},{match:`@${VW}`,scope:`variable`},{match:`(\\[)(${HW})(?=\\()`,scope:[`punctuation.bracket`,`decorator`]},{match:`(\\[)((?:string|char|byte|int|int32|int64|long|bool|boolean|double|float|decimal|object|array|hashtable|pscustomobject|psobject|scriptblock|switch|datetime|regex|xml|void|version)(?:\\[[^\\][\\n]*\\])?)(\\])`,scope:[`punctuation.bracket`,`type.builtin`,`punctuation.bracket`]},{match:`(\\[)(${`${HW}(?:\\[[^\\][\\n]*\\])?`})(\\])`,scope:[`punctuation.bracket`,`type`,`punctuation.bracket`]},{match:`(::)(${VW})(?=[ \\t]*\\()`,scope:[`operator`,`function.method`]},{match:`(::)(${VW})`,scope:[`operator`,`variable.member`]},{match:`(\\.)(${VW})(?=\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${VW})`,scope:[`punctuation`,`variable.member`]},{match:`\\b(function|filter|workflow)([ \\t]+)([a-z_][\\w-]*)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`function`,null,`punctuation.bracket`],push:`params`},{match:`\\b(function|filter|workflow)([ \\t]+)([a-z_][\\w-]*)`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(class|enum)([ \\t]+)(${VW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(param)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`params`},{match:`\\b(using)([ \\t]+)(namespace|module|assembly)([ \\t]+)([\\w.]+)`,scope:[`keyword.import`,null,`keyword.import`,null,`namespace`]},{match:`\\b(?:if|elseif|else|switch|default|foreach|for|while|do|until|break|continue|return|throw|exit|try|catch|finally|trap)\\b`,scope:`keyword.control`},{match:`\\b(?:begin|process|end|clean|dynamicparam|param|hidden|static|data)\\b`,scope:`keyword.declaration`},{match:`\\busing\\b`,scope:`keyword.import`},{match:`\\bin\\b`,scope:`keyword.operator`},{match:`\\b[a-z]\\w*-[a-z]\\w*\\b`,scope:`function.call`},{match:`-[ci]?(?:eq|ne|gt|ge|lt|le|like|notlike|match|notmatch|contains|notcontains|in|notin|replace|split|join|isnot|is|as|and|or|xor|not|band|bor|bxor|bnot|shl|shr|f)\\b`,scope:`keyword.operator`},{match:`(?<![\\w)\\]}'"])-[a-z]\\w*`,scope:`constant`},{match:`\\b${VW}(?=\\()`,scope:`function.call`},{match:`\\b0x[0-9a-f]+(?:kb|mb|gb|tb|pb)?[ldu]?\\b`,scope:`number`},{match:`\\b0b[01]+[ldu]?\\b`,scope:`number`},{match:`\\b\\d+(?:\\.\\d+)?(?:e[-+]?\\d+)?(?:kb|mb|gb|tb|pb)?[ldu]?\\b`,scope:`number`},{match:`\\+\\+|--|\\.\\.|::|&&|\\|\\||\\?\\?=?|[-+*/%]=?|[!<>=]=?|[|&]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"special-variables":{ignoreCase:!0,rules:[{match:`\\$(?:true|false)\\b`,scope:`boolean`},{match:`\\$null\\b`,scope:`constant.builtin`},{match:`\\$(?:_|this|args|input|matches|error|host|pwd|psitem|pscmdlet|psscriptroot|psboundparameters|psversiontable|lastexitcode|myinvocation|erroractionpreference)\\b`,scope:`variable.builtin`},{match:`\\$[$?^]`,scope:`variable.builtin`},{match:`\\$((?:env|global|script|local|private|using|variable|function):)${VW}`,scope:[`namespace`],rest:`variable`}]},variables:{ignoreCase:!0,rules:[{include:`special-variables`},{match:`\\$\\{[^{}\\n]*\\}`,scope:`variable`},{match:`\\$${VW}`,scope:`variable`}]},interpolated:{ignoreCase:!0,rules:[{match:"`[\\s\\S]",scope:`string.escape`},{match:`\\$\\(`,scope:`interpolation`,push:`subexpression`},{include:`variables`}]},"string-double":{default:`string`,ignoreCase:!0,rules:[{match:`""`,scope:`string.escape`},{include:`interpolated`},{match:`"`,scope:`string`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`''`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0}]},"heredoc-double":{default:`string`,ignoreCase:!0,rules:[{match:`^[ \\t]*"@`,scope:`string.special`,pop:!0},{include:`interpolated`}]},"heredoc-single":{default:`string`,rules:[{match:`^[ \\t]*'@`,scope:`string.special`,pop:!0}]},subexpression:{ignoreCase:!0,rules:[{match:`\\)`,scope:`interpolation`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`root`}]},paren:{ignoreCase:!0,rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`root`}]},params:{ignoreCase:!0,rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`special-variables`},{match:`\\$${VW}`,scope:`variable.parameter`},{include:`root`}]},"block-comment":{default:`comment`,ignoreCase:!0,rules:[{match:`#>`,pop:!0},{match:`^([ \\t]*)(\\.[a-z]+)\\b`,scope:[null,`comment.doc`]}]}}}})),UW,WW,EGt,DGt=s((()=>{UW=`[A-Za-z_\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF]*`,WW=`\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|N\\{[^}\\n]*\\}|[0-7]{1,3}|\\r?\\n|[\\\\'"abfnrtv0])`,EGt={name:`python`,aliases:[`py`,`python3`],states:{root:{rules:[{include:`statement`},{include:`expression`}]},statement:{rules:[{match:`^#!.*`,scope:`comment`},{match:`^[ \\t]*"""`,scope:`comment.doc`,push:`docstring-double`},{match:`^[ \\t]*'''`,scope:`comment.doc`,push:`docstring-single`},{match:`^([ \\t]*)(@${UW}(?:\\.${UW})*)`,scope:[null,`decorator`]},{match:`\\b(def)([ \\t]+)(${UW})([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`function`,null,`punctuation.bracket`],push:`params`},{match:`\\b(class)([ \\t]+)(${UW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(from|import)([ \\t]+)(${UW}(?:\\.${UW})*)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:import|from)\\b`,scope:`keyword.import`},{match:`^([ \\t]*)(match)\\b(?=[^\\n]*:[ \\t]*(?:#[^\\n]*)?$)`,scope:[null,`keyword.control`]},{match:`^([ \\t]*)(case)\\b(?![ \\t]*(?::|(?:\\*\\*|//|<<|>>|[-+*/%@&|^])?=))(?=[ \\t]+[^\\n]*:)`,scope:[null,`keyword.control`]}]},expression:{rules:[{match:`#[^\\n]*`,scope:`comment`},{include:`strings`},{include:`numbers`},{match:`\\.\\.\\.`,scope:`constant.builtin`},{match:`(\\.)([ \\t]*)(${UW})(?=[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\.)([ \\t]*)(__\\w+__)`,scope:[`punctuation`,null,`variable.special`]},{match:`(\\.)([ \\t]*)(${UW})`,scope:[`punctuation`,null,`variable.member`]},{match:`\\b(?:None|True|False|NotImplemented|Ellipsis)\\b`,scope:`constant.builtin`},{match:`\\b(?:self|cls|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:if|elif|else|for|while|break|continue|return|yield|await|raise|try|except|finally|with|pass|assert|del)\\b`,scope:`keyword.control`},{match:`\\blambda\\b`,scope:`keyword.declaration`,push:`lambda-params`},{match:`\\b(?:def|class|async|global|nonlocal)\\b`,scope:`keyword.declaration`},{match:`\\b(?:and|or|not|in|is)\\b`,scope:`keyword.operator`},{match:`\\bas\\b`,scope:`keyword`},{match:`\\b__\\w+__\\b`,scope:`variable.special`},{match:`\\b(?:abs|aiter|anext|all|any|ascii|bin|breakpoint|callable|chr|classmethod|compile|delattr|dir|divmod|enumerate|eval|exec|filter|format|getattr|globals|hasattr|hash|help|hex|id|input|isinstance|issubclass|iter|len|locals|map|max|min|next|oct|open|ord|pow|print|property|range|repr|reversed|round|setattr|slice|sorted|staticmethod|sum|vars|zip)\\b`,scope:`function.builtin`},{match:`\\b(?:bool|bytearray|bytes|complex|dict|float|frozenset|int|list|memoryview|object|set|str|tuple|type)\\b`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${UW}(?==(?!=))`,scope:`variable.parameter`},{match:`\\b${UW}(?=[ \\t]*\\()`,scope:`function.call`},{match:`->|:=|\\*\\*=?|//=?|<<=?|>>=?|[-+*/%@&|^~<>!=]=?`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX](?:_?[0-9a-fA-F])+\\b`,scope:`number`},{match:`\\b0[oO](?:_?[0-7])+\\b`,scope:`number`},{match:`\\b0[bB](?:_?[01])+\\b`,scope:`number`},{match:`\\b\\d(?:_?\\d)*\\.(?:\\d(?:_?\\d)*)?(?:[eE][-+]?\\d(?:_?\\d)*)?[jJ]?|\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d(?:_?\\d)*)?[jJ]?|\\b\\d(?:_?\\d)*(?:[eE][-+]?\\d(?:_?\\d)*)?[jJ]?\\b`,scope:`number`}]},strings:{rules:[{match:`(?:[rR][fF]|[fF][rR]?)(""")`,scope:[`string`],rest:`string.special`,push:`fstring-triple-double`},{match:`(?:[rR][fF]|[fF][rR]?)(''')`,scope:[`string`],rest:`string.special`,push:`fstring-triple-single`},{match:`(?:[rR][fF]|[fF][rR]?)(")`,scope:[`string`],rest:`string.special`,push:`fstring-double`},{match:`(?:[rR][fF]|[fF][rR]?)(')`,scope:[`string`],rest:`string.special`,push:`fstring-single`},{match:`(?:[rRbBuU]|[rR][bB]|[bB][rR])?(""")`,scope:[`string`],rest:`string.special`,push:`string-triple-double`},{match:`(?:[rRbBuU]|[rR][bB]|[bB][rR])?(''')`,scope:[`string`],rest:`string.special`,push:`string-triple-single`},{match:`(?:[rRbBuU]|[rR][bB]|[bB][rR])?(")`,scope:[`string`],rest:`string.special`,push:`string-double`},{match:`(?:[rRbBuU]|[rR][bB]|[bB][rR])?(')`,scope:[`string`],rest:`string.special`,push:`string-single`}]},"string-body":{rules:[{match:WW,scope:`string.escape`},{match:`%[-+ #0]*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?[hlL]?[diouxXeEfFgGcrsa%]`,scope:`string.special`}]},"string-double":{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-triple-double":{default:`string`,rules:[{include:`string-body`},{match:`"""`,scope:`string`,pop:!0}]},"string-triple-single":{default:`string`,rules:[{include:`string-body`},{match:`'''`,scope:`string`,pop:!0}]},"docstring-double":{default:`comment.doc`,rules:[{match:`"""`,pop:!0}]},"docstring-single":{default:`comment.doc`,rules:[{match:`'''`,pop:!0}]},"fstring-body":{rules:[{match:WW,scope:`string.escape`},{match:`\\{\\{|\\}\\}`,scope:`string.escape`},{match:`\\{`,scope:`interpolation`,push:`interpolation`}]},"fstring-double":{default:`string`,rules:[{include:`fstring-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"fstring-single":{default:`string`,rules:[{include:`fstring-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"fstring-triple-double":{default:`string`,rules:[{include:`fstring-body`},{match:`"""`,scope:`string`,pop:!0}]},"fstring-triple-single":{default:`string`,rules:[{include:`fstring-body`},{match:`'''`,scope:`string`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`=(?=[!:}])`,scope:`string.special`},{match:`![rsa](?=[:}])`,scope:`string.special`},{match:`:[^{}\\n]{0,120}(?=\\})`,scope:`string.special`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{include:`expression`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},bracket:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},nested:{rules:[{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},params:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\b(?:self|cls)\\b`,scope:`variable.builtin`},{match:`:`,scope:`punctuation.delimiter`,push:`param-value`},{match:`=(?!=)`,scope:`operator`,push:`param-value`},{match:`(?:(\\*{1,2})[ \\t]*|(?<![\\w\\u0080-\\uFFFF]))(${UW})(?=[ \\t]*[,:=)])`,scope:[`operator`,`variable.parameter`]},{include:`nested`}]},"param-value":{rules:[{match:`(?=[,)]|=(?!=))`,pop:!0},{include:`nested`}]},"lambda-params":{rules:[{match:`:`,scope:`punctuation.delimiter`,pop:!0},{match:`=(?!=)`,scope:`operator`,push:`param-value`},{match:`(?:(\\*{1,2})[ \\t]*|(?<![\\w\\u0080-\\uFFFF]))(${UW})(?=[ \\t]*[,:=])`,scope:[`operator`,`variable.parameter`]},{match:`$`,pop:!0},{include:`nested`}]}}}})),GW,KW,qW,JW,OGt,kGt=s((()=>{GW=`[A-Za-z.][\\w.]{0,64}`,KW="`[^`\\n]*`",qW=`(?<![\\w.])`,JW=`(?![\\w.])`,OGt={name:`r`,states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`#'`,scope:`comment.doc`,push:`roxygen`},{match:`#[^\\n]*`,scope:`comment`},{include:`strings`},{match:`${qW}(?:0[xX][0-9a-fA-F]+|(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][-+]?\\d+)?)[Li]?${JW}`,scope:`number`},{match:`${qW}(${GW}|${KW})([ \\t]*)(<<-|<-|=)([ \\t]*)(?=function${JW}|\\\\[ \\t]*\\()`,scope:[`function`,null,`operator`]},{match:`${qW}(function)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`params`},{match:`(\\\\)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`params`},{match:`${qW}function${JW}`,scope:`keyword.declaration`},{match:`${qW}(library|require)([ \\t]*)(\\()([ \\t]*)(${GW})`,scope:[`keyword.import`,null,`punctuation.bracket`,null,`namespace`],push:`args`},{match:`${qW}(?:library|require|requireNamespace)${JW}`,scope:`keyword.import`},{match:`([$@])([ \\t]*)(${GW})([ \\t]*)(\\()`,scope:[`punctuation`,null,`function.method`,null,`punctuation.bracket`],push:`args`},{match:`([$@])([ \\t]*)(${GW}|${KW})`,scope:[`punctuation`,null,`variable.member`]},{match:`${qW}(${GW})(:::?)`,scope:[`namespace`,`operator`]},{match:`${qW}(?:if|else|for|while|repeat|break|next|return)${JW}`,scope:`keyword.control`},{match:`%in%`,scope:`keyword.operator`},{match:`${qW}in${JW}`,scope:`keyword.operator`},{match:`${qW}(?:TRUE|FALSE)${JW}`,scope:`boolean`},{match:`${qW}(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|NaN)${JW}`,scope:`constant.builtin`},{match:`\\.\\.\\.`,scope:`variable.parameter`},{match:`${qW}(?:numeric|character|logical|integer|double|complex|factor|data\\.frame)${JW}`,scope:`type.builtin`},{match:`${qW}(?:(?:is|as)\\.[A-Za-z][\\w.]{0,32}|Sys\\.[a-z]\\w{0,32}|c|length|n(?:row|col|ames|char)|seq(?:_len|_along)?|rep|paste0?|sprintf|print|cat|message|warning|stop(?:ifnot)?|sum|mean|min|max|round|sqrt|log|[lsvm]apply|apply|do\\.call|head|tail|g?sub|grepl?|strsplit|to(?:upper|lower)|unlist|which|sort|unique|[rc]bind|ifelse|invisible|list|vector|matrix|tryCatch|Map|Reduce|Filter|file\\.(?:exists|path))${JW}`,scope:`function.builtin`},{match:KW,scope:`variable`},{match:`${qW}${GW}(?=[ \\t]*\\()`,scope:`function.call`},{match:`${qW}[A-Z][A-Z0-9_]+${JW}`,scope:`constant`},{match:`${qW}[A-Z][\\w.]{1,64}${JW}`,scope:`type`},{match:`<<-|<-|->>|->|\\|>|:::?|%[^%\\n]*%|&&|\\|\\||[-+*/^!<>=]=?|[~?:@$]|[&|]`,scope:`operator`},{match:`\\(`,scope:`punctuation.bracket`,push:`args`},{match:`[)\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`}]},args:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`${qW}(${GW}|${KW})([ \\t]*)(=)(?!=)`,scope:[`variable.parameter`,null,`operator`]},{include:`expression`}]},params:{rules:[{match:`${qW}(${GW}|${KW})([ \\t]*)(=)(?!=)`,scope:[`variable.parameter`,null,`operator`],push:`default-value`},{match:`${qW}(?:${GW}|${KW})(?=[ \\t]*[,)])`,scope:`variable.parameter`},{include:`args`}]},"default-value":{rules:[{match:`(?=[,)])`,pop:!0},{include:`expression`}]},roxygen:{default:`comment.doc`,rules:[{match:`@\\w+`,scope:`decorator`},{match:`$`,pop:!0}]},strings:{rules:[{match:`([rR])(["'](-*)[(\\[{])`,scope:[`string.special`,`string`],push:`raw-string`,remember:3},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`}]},"string-body":{rules:[{match:`\\\\(?:x[0-9a-fA-F]{1,2}|[uU]\\{[0-9a-fA-F]{1,8}\\}|u[0-9a-fA-F]{1,4}|U[0-9a-fA-F]{1,8}|[0-7]{1,3}|.)`,scope:`string.escape`},{match:`%[-+ #0]*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?[diouxXeEfgGsaA%]`,scope:`string.special`}]},"string-double":{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`\\n[ \\t\\r]*\\n`,pop:!0}]},"string-single":{default:`string`,rules:[{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`\\n[ \\t\\r]*\\n`,pop:!0}]},"raw-string":{default:`string`,rules:[{match:`[)\\]}]{{remembered}}["']`,pop:!0}]}}}})),YW,XW,ZW,QW,AGt,$W,jGt,MGt=s((()=>{YW=`[A-Za-z_]\\w*`,XW=`\\[\\]=?|<=>|===?|=~|<<|>>|\\*\\*|[<>]=?|[-+*/%&|^~]`,ZW=`(?:${YW}[?!=]?|${XW}|![=~]?)`,QW=`%[qQwWiIrsx]`,AGt=`(?:=~|!~|=>|&&|\\|\\||==|!=|[=,;|&!?:])`,$W=`/(?![/=])(?:[^/\\\\\\n\\[]|\\\\.|\\[(?:[^\\]\\\\\\n]|\\\\.){0,120}\\]){1,400}/[imxounse]*`,jGt={name:`ruby`,aliases:[`rb`,`gemspec`,`rake`],states:{root:{rules:[{match:`^=begin`,scope:`comment`,push:`block-comment`},{match:`#[^\\n]*`,scope:`comment`},{match:`\\?(?:\\\\\\w|[^\\s\\\\])(?![\\w?!])`,scope:`string`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`",scope:`string`,push:`command`},{match:`(${QW})(\\[)`,scope:[`string.special`,`string`],push:`pct-bracket`},{match:`(${QW})(\\{)`,scope:[`string.special`,`string`],push:`pct-brace`},{match:`(${QW})(\\()`,scope:[`string.special`,`string`],push:`pct-paren`},{match:`(<<[-~]?)(['"])(\\w+)(['"])`,scope:[`operator`,`string`,`string.special`,`string`],push:`heredoc-line`},{match:`(<<[-~])(\\w+)`,scope:[`operator`,`string.special`],push:`heredoc-line`},{match:`(<<)([A-Z_]\\w*)`,scope:[`operator`,`string.special`],push:`heredoc-line`},{match:`([(\\[])([ \\t]*)(${$W})`,scope:[`punctuation.bracket`,null,`regexp`]},{match:`(\\{)([ \\t]*)(${$W})`,scope:[`punctuation.bracket`,null,`regexp`],push:`brace`},{match:`(\\b(?:when|if|elsif|unless|while|until|case|return|then)\\b)([ \\t]*)(${$W})`,scope:[`keyword.control`,null,`regexp`]},{match:`(${AGt})([ \\t]*)(${$W})`,scope:[`operator`,null,`regexp`]},{match:`:(?:${YW}[?!=]?|${XW})`,scope:`constant`},{match:`@@?${YW}`,scope:`variable`},{match:`\\$(?:${YW}|[0-9!@&*$?:~])`,scope:`variable`},{match:`(\\bdo)([ \\t]*)(\\|)`,scope:[`keyword.control`,null,`punctuation.delimiter`],push:`do-params`},{match:`(\\{)([ \\t]*)(\\|)`,scope:[`punctuation.bracket`,null,`punctuation.delimiter`],push:`brace-params`},{match:`\\bdef\\b`,scope:`keyword.declaration`,push:`def`},{match:`(\\bclass)([ \\t]+)([A-Z]\\w*(?:::[A-Z]\\w*)*)`,scope:[`keyword.declaration`,null,`class`]},{match:`(\\bmodule)([ \\t]+)([A-Z]\\w*(?:::[A-Z]\\w*)*)`,scope:[`keyword.declaration`,null,`namespace`]},{match:`\\b${YW}(?=:(?![:=]))`,scope:`property`},{match:`\\b(?:if|elsif|else|unless|case|when|while|until|for|break|next|redo|retry|return|yield|begin|rescue|ensure|end|do|then)\\b`,scope:`keyword.control`},{match:`\\b(?:def|class|module|alias|undef|private|public|protected|module_function)\\b`,scope:`keyword.declaration`},{match:`\\b(?:require|require_relative|load|autoload|include|extend|prepend|using)\\b`,scope:`keyword.import`},{match:`\\b(?:and|or|not|in|defined\\?)(?![\\w?!])`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnil\\b`,scope:`constant.builtin`},{match:`\\b(?:self|super)\\b`,scope:`variable.builtin`},{match:`\\b__(?:FILE|LINE|ENCODING|dir|method)__\\b`,scope:`variable.special`},{match:`\\b(?:puts|pp|print|printf|putc|warn|raise|fail|abort|loop|lambda|proc|format|sprintf|gets|readlines?|sleep|rand|srand|exit|at_exit|freeze|attr_accessor|attr_reader|attr_writer|define_method|block_given\\?)(?![\\w?!])`,scope:`function.builtin`},{match:`\\bp(?=\\(|[ \\t]+[\\w"':\\[@$])`,scope:`function.builtin`},{match:`(&?\\.)([ \\t]*)(${YW}[?!]?)(?=[ \\t]*(?:\\(|\\{|do\\b))`,scope:[`punctuation`,null,`function.method`]},{match:`(&?\\.)([ \\t]*)(${YW}[?!]?)`,scope:[`punctuation`,null,`function.method`]},{match:`\\b[A-Z]\\w*(?=::)`,scope:`namespace`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z]\\w*`,scope:`type`},{match:`\\b[a-z_]\\w*[?!]?(?=\\()`,scope:`function.call`},{match:`\\b[a-z_]\\w*[?!](?![=~\\w?!])`,scope:`function.call`},{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO]?[0-7_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?[ri]?\\b`,scope:`number`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`<=>|=~|!~|\\.\\.\\.?|::|=>|\\*\\*=?|\\|\\|=?|&&=?|<<=?|>>=?|[-+*/%^&|]=?|[<>!=]=?=?|[?~]`,scope:`operator`},{match:`[()\\[\\]}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`^=end[^\\n]*`,pop:!0}]},"interp-body":{rules:[{match:`\\\\(?:u\\{[0-9a-fA-F ]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2}|[0-7]{1,3}|.)`,scope:`string.escape`},{match:`#\\{`,scope:`interpolation`,push:`interpolation`}]},"string-double":{default:`string`,rules:[{include:`interp-body`},{match:`"`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\['\\\\]`,scope:`string.escape`},{match:`'`,pop:!0}]},command:{default:`string`,rules:[{include:`interp-body`},{match:"`",pop:!0}]},"pct-bracket":{default:`string`,rules:[{match:`\\[`,push:`pct-bracket`},{match:`\\][imxounse]*`,pop:!0},{include:`interp-body`}]},"pct-brace":{default:`string`,rules:[{match:`\\{`,push:`pct-brace`},{match:`\\}[imxounse]*`,pop:!0},{include:`interp-body`}]},"pct-paren":{default:`string`,rules:[{match:`\\(`,push:`pct-paren`},{match:`\\)[imxounse]*`,pop:!0},{include:`interp-body`}]},"heredoc-line":{rules:[{match:`\\n`,set:`heredoc`},{include:`root`}]},heredoc:{default:`string`,rules:[{match:`^[ \\t]*${YW}[ \\t]*$`,scope:`string.special`,pop:!0},{include:`interp-body`}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`root`}]},def:{rules:[{match:`(self)(\\.)`,scope:[`variable.builtin`,`punctuation`]},{match:`(${ZW})([ \\t]+)(${YW})`,scope:[`function`,null,`variable.parameter`],set:`params`},{match:ZW,scope:`function`,set:`params`},{match:`$`,pop:!0}]},params:{rules:[{match:`(\\()(\\s*)([&*]{0,2})(${YW})`,scope:[`punctuation.bracket`,null,`operator`,`variable.parameter`]},{match:`(,)(\\s*)([&*]{0,2})(${YW})`,scope:[`punctuation.delimiter`,null,`operator`,`variable.parameter`]},{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`(?<![,(\\\\])$`,pop:!0},{include:`root`}]},"do-params":{rules:[{match:`\\|`,scope:`punctuation.delimiter`,pop:!0},{include:`block-params`}]},"brace-params":{rules:[{match:`\\|`,scope:`punctuation.delimiter`,set:`brace`},{include:`block-params`}]},"block-params":{rules:[{match:YW,scope:`variable.parameter`},{match:`[(),]`,scope:`punctuation.delimiter`},{match:`[&*]`,scope:`operator`},{match:`$`,pop:!0}]}}}})),NGt,PGt=s((()=>{NGt={name:`rust`,aliases:[`rs`],states:{root:{rules:[{match:`//[/!][^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`(b?r)(#*)(")`,scope:[`string.special`,`string.special`,`string`],push:`raw-string`,remember:2},{match:`(b?)(")`,scope:[`string.special`,`string`],push:`string`},{match:`'(?:[^'\\\\]|\\\\(?:u\\{[0-9a-fA-F]{1,6}\\}|x[0-9a-fA-F]{2}|.))'`,scope:`string`},{match:`'(?:static|_|[a-z][\\w]*)\\b`,scope:`variable.special`},{match:`#!?\\[[^[\\]]*\\]`,scope:`decorator`},{match:`\\b(?:if|else|match|loop|while|for|break|continue|return|await|yield)\\b`,scope:`keyword.control`},{match:`(fn)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(let)(\\s+)(?:(mut)(\\s+))?((?:r#)?[a-z_]\\w*)`,scope:[`keyword.declaration`,null,`keyword.declaration`,null,`variable`]},{match:`\\b(?:fn|let|const|static|struct|enum|trait|impl|type|mod|union|async|move|dyn|pub|crate|unsafe|extern|ref|mut|where)\\b`,scope:`keyword.declaration`},{match:`r#[A-Za-z_]\\w*`},{match:`\\b(?:use|as|super)\\b`,scope:`keyword.import`},{match:`\\bself\\b`,scope:`variable.builtin`},{match:`\\bSelf\\b`,scope:`type`},{match:`\\b(?:in|box)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:None|Some|Ok|Err)\\b`,scope:`constant.builtin`},{match:`\\b(?:i8|i16|i32|i64|i128|isize|u8|u16|u32|u64|u128|usize|f32|f64|bool|char|str|String|Vec|Option|Result|Box|Rc|Arc)\\b`,scope:`type.builtin`},{match:`\\b([A-Za-z_]\\w*)(!)`,scope:[`function.builtin`,`function.builtin`]},{match:`(\\.)(await)\\b`,scope:[`punctuation`,`keyword.control`]},{match:`(\\.)([A-Za-z_]\\w*)(?=\\s*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)([A-Za-z_]\\w*)`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=\\s*\\()`,scope:`function.call`},{match:`\\b[a-z_]\\w*(?=::)`,scope:`namespace`},{match:`\\b0[xX][0-9a-fA-F_]+(?:[iu](?:8|16|32|64|128|size))?\\b`,scope:`number`},{match:`\\b0[bo][0-9_]+(?:[iu](?:8|16|32|64|128|size))?\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?(?:[iuf](?:8|16|32|64|128|size))?\\b`,scope:`number`},{match:`->|=>|::|\\.\\.=?|&&|\\|\\||[-+*/%!&|^<>=]=?|[?@]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},string:{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]{1,6}\\}|x[0-9a-fA-F]{2}|.)`,scope:`string.escape`},{match:`\\{[^{}\\n]*\\}`,scope:`string.special`},{match:`"`,scope:`string`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`\\*/`,scope:`comment`,pop:!0}]},"raw-string":{default:`string`,rules:[{match:`"{{remembered}}`,scope:`string`,pop:!0}]}}}})),eG,tG,nG,rG,iG,FGt,IGt=s((()=>{eG=`[A-Za-z0-9_\\u0080-\\uFFFF]{0,128}`,tG=`[A-Za-z_\\u0080-\\uFFFF]${eG}`,nG=`(?:\`[^\`\\n]*\`|${tG})`,rG=`(?:[!#%&*+\\-:<=>?@^|~]|/(?![/*]))`,iG=`\\\\(?:u[0-9a-fA-F]{4}|.)`,FGt={name:`scala`,aliases:[`sc`,`sbt`],states:{root:{rules:[{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`\\b(${tG})(""")`,scope:[`string.special`,`string`],push:`interp-triple`},{match:`\\b(raw)(")`,scope:[`string.special`,`string`],push:`interp-raw`},{match:`\\b(${tG})(")`,scope:[`string.special`,`string`],push:`interp-string`},{match:`"""`,scope:`string`,push:`triple-string`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\\\n]|${iG})'`,scope:`string`},{match:`'[A-Za-z_]\\w{0,128}`,scope:`string.special`},{match:`\\b(import|package|export)([ \\t]+)((?:${tG}\\.)*(?:${tG}|\\*|_))`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:import|package|export)\\b`,scope:`keyword.import`},{match:`(\\b${tG})(@)`,scope:[`variable`,`operator`]},{match:`@${tG}(?:\\.${tG})*`,scope:`decorator`},{match:`(\\bdef)([ \\t]+)(${nG}|${rG}{1,16})`,scope:[`keyword.declaration`,null,`function`]},{match:`(\\b(?:class|trait|object|enum))([ \\t]+)(${nG})`,scope:[`keyword.declaration`,null,`class`]},{match:`(\\btype)([ \\t]+)(${nG})`,scope:[`keyword.declaration`,null,`type`]},{match:`(\\b(?:val|var))([ \\t]+)([A-Z]${eG})(?=[ \\t]*[:=])`,scope:[`keyword.declaration`,null,`constant`]},{match:`(\\b(?:val|var))([ \\t]+)(\`[^\`\\n]*\`|[a-z_\\u0080-\\uFFFF]${eG})`,scope:[`keyword.declaration`,null,`variable`]},{match:`\\bcase(?=[ \\t]+(?:class|object)\\b)`,scope:`keyword.declaration`},{match:`\\b(?:if|else|then|match|case|for|while|do|yield|try|catch|finally|throw|return)\\b`,scope:`keyword.control`},{match:`\\b(?:def|val|var|class|trait|object|enum|type|given|using|extension|implicit|lazy|sealed|abstract|final|override|private|protected|extends|with|derives|opaque|inline|transparent|infix|open)\\b`,scope:`keyword.declaration`},{match:`\\bnew\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:null|None|Nil)\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:Int|Long|Short|Byte|Char|Float|Double|Boolean|Unit|String|Any(?:Ref|Val)?|Nothing|Null|Option|Some|Either|Left|Right|List|Seq|Vector|Array|Set|Map|Future|Try|Success|Failure)\\b`,scope:`type.builtin`},{match:`\\b(?:print(?:ln|f)?|require|assert|implicitly|summon)\\b`,scope:`function.builtin`},{match:`(\\.)([A-Z][A-Z0-9_]{0,128})\\b`,scope:[`punctuation`,`constant`]},{match:`(\\.)([A-Z][A-Za-z0-9_]{0,128})`,scope:[`punctuation`,`type`]},{match:`(\\.)(${tG})(?=[ \\t]*[({])`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${tG})`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${tG}(?=:(?![:=]))`,scope:`variable.parameter`},{match:`\\b[a-z_]${eG}(?=[ \\t]*[({])`,scope:`function.call`},{match:"`[^`\\n]*`",scope:`variable`},{match:`\\b0[xX][0-9a-fA-F][0-9a-fA-F_]*[lL]?\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?[fFdDlL]?\\b`,scope:`number`},{match:`:(?![!#%&*+\\-/:<=>?@^|~])`,scope:`punctuation.delimiter`},{match:`${rG}+`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`/\\*`,push:`block-comment`},{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`/\\*`,push:`doc-comment`},{match:`\\*/`,pop:!0}]},"interp-body":{rules:[{match:`\\$\\$`,scope:`string.escape`},{match:`\\$\\{`,scope:`interpolation`,push:`interpolation`},{match:`(\\$)(${tG})`,scope:[`interpolation`,`variable`]},{match:`%[-#+0,(]{0,6}\\d{0,6}(?:\\.\\d{1,6})?[sSdxXeEfgGn%]`,scope:`string.special`}]},string:{default:`string`,rules:[{match:iG,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"interp-string":{default:`string`,rules:[{match:iG,scope:`string.escape`},{include:`interp-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"interp-raw":{default:`string`,rules:[{include:`interp-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"triple-string":{default:`string`,rules:[{match:`"""`,scope:`string`,pop:!0}]},"interp-triple":{default:`string`,rules:[{include:`interp-body`},{match:`"""`,scope:`string`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`root`}]}}}})),LGt,RGt=s((()=>{LGt={name:`sql`,aliases:[`postgres`,`postgresql`,`mysql`,`sqlite`],states:{root:{ignoreCase:!0,rules:[{match:`--[^\\n]*`,scope:`comment`},{match:`#[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`'(?:[^']|'')*'`,scope:`string`},{match:`"(?:[^"]|"")*"`,scope:`variable.member`},{match:"`[^`]*`",scope:`variable.member`},{match:`\\[[^[\\]]*\\]`,scope:`variable.member`},{match:`\\b(?:select|from|where|group|by|order|having|limit|offset|join|inner|left|right|full|outer|cross|lateral|on|using|union|intersect|except|with|recursive|case|when|then|else|end|distinct|returning|fetch|next|rows?|only|declare|print|go|exec|execute|return|returns|while|loop|for|call|connect|prior|merge|matched|raise|exception|elsif|immediate)\\b`,scope:`keyword.control`},{match:`\\b(?:insert|into|values|update|set|delete|create|alter|drop|truncate|table|view|index|sequence|schema|database|function|procedure|trigger|constraint|primary|foreign|key|references|unique|check|default|cascade|column|add|rename|grant|revoke|begin|commit|rollback|transaction|explain|analyze|vacuum|copy|temporary|temp|if|exists|replace|materialized)\\b`,scope:`keyword.declaration`},{match:`\\b(?:and|or|not|in|is|like|ilike|between|exists|any|all|some|as|asc|desc|nulls|first|last)\\b`,scope:`keyword.operator`},{match:`\\b(?:null)\\b`,scope:`constant.builtin`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:int|integer|bigint|smallint|serial|bigserial|decimal|numeric|real|double|precision|float|money|char|varchar|text|bytea|timestamp|timestamptz|date|time|interval|boolean|bool|uuid|json|jsonb|array|enum|blob|varchar2|nvarchar2?|nchar|number|binary|varbinary|tinyint|datetime2?|bit|clob|nclob|character|dec|xml)\\b`,scope:`type.builtin`},{match:`\\b(?:count|sum|avg|min|max|coalesce|nullif|cast|greatest|least|now|current_date|current_timestamp|extract|date_trunc|concat|substring|trim|upper|lower|length|round|abs|row_number|rank|dense_rank|lag|lead|over|partition|array_agg|string_agg|json_build_object|generate_series)\\b`,scope:`function.builtin`},{match:`\\b[A-Za-z_]\\w*(?=\\s*\\()`,scope:`function.call`},{match:`\\b\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`\\$\\d+|[:@][A-Za-z_]\\w*|\\?`,scope:`variable`},{match:`::|<>|!=|>=|<=|\\|\\||[-+*/%<>=]`,scope:`operator`},{match:`[()]`,scope:`punctuation.bracket`},{match:`[,;.]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]}}}})),zGt,BGt=s((()=>{zGt={name:`swift`,states:{root:{rules:[{include:`expression`}]},expression:{rules:[{include:`comments`},{include:`strings`},{include:`regex`},{match:`@[A-Za-z_]\\w*`,scope:`decorator`},{match:`#[A-Za-z_]\\w*`,scope:`keyword`},{include:`labels`},{match:`(\\??\\.)([A-Za-z_]\\w*)(?=\\s*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\??\\.)([A-Za-z_]\\w*)`,scope:[`punctuation`,`variable.member`]},{match:`(func)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`function`]},{match:`(class|struct|enum|protocol|extension|actor)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`class`]},{match:`(import)(\\s+)([A-Za-z_][\\w.]*)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\bimport\\b`,scope:`keyword.import`},{match:`\\b(?:if|else|guard|switch|case|default|for|while|repeat|break|continue|return|fallthrough|throw|try|catch|defer|do|where|await)\\b`,scope:`keyword.control`},{match:`\\b(?:func|var|let|class|struct|enum|protocol|extension|actor|init|deinit|subscript|typealias|associatedtype|operator|precedencegroup|static|final|lazy|weak|unowned|mutating|nonmutating|override|open|public|internal|fileprivate|private|package|required|convenience|indirect|inout|dynamic|async|throws|rethrows|some|any|get|set|willSet|didSet|nonisolated|isolated|distributed|borrowing|consuming|sending|macro)\\b`,scope:`keyword.declaration`},{match:`\\b(?:is|as|in)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnil\\b`,scope:`constant.builtin`},{match:`\\b(?:self|Self|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:U?Int(?:8|16|32|64)?|Float|Double|Bool|String|Character|Array|Dictionary|Set|Optional|Result|AnyObject|AnyHashable|Any|Void|Never|Error)\\b`,scope:`type.builtin`},{match:`\\b(?:print|debugPrint|dump|assert|assertionFailure|precondition|preconditionFailure|fatalError|abs|min|max|zip|stride|swap|type)\\b(?=\\s*\\()`,scope:`function.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z]\\w*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=\\s*\\()`,scope:`function.call`},{match:`\\$\\w+`,scope:`variable.special`},{include:`numbers`},{match:`->|\\.\\.[.<]|\\?\\?|&&|\\|\\||[!=]==?|<<=?|>>=?|[-+*/%&|^]=?|[<>]=?|[?!~=]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},labels:{rules:[{match:`(?<=[(,])\\s*([a-z_]\\w*)(\\s+)([a-z_]\\w*)(?=\\s*:)`,scope:[`variable.parameter`,null,`variable.parameter`]},{match:`(?<=[(,])\\s*([a-z_]\\w*)(?=\\s*:)`,scope:[`variable.parameter`]}]},comments:{rules:[{match:`///[^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`comment-doc`},{match:`/\\*`,scope:`comment`,push:`comment-block`}]},"comment-block":{default:`comment`,rules:[{match:`/\\*`,push:`comment-block`},{match:`\\*/`,pop:!0}]},"comment-doc":{default:`comment.doc`,rules:[{match:`/\\*`,push:`comment-doc`},{match:`\\*/`,pop:!0}]},strings:{rules:[{match:`(#)(""")`,scope:[`string.special`,`string`],push:`raw-multiline`},{match:`(#)(")`,scope:[`string.special`,`string`],push:`raw-string`},{match:`"""`,scope:`string`,push:`multiline`},{match:`"`,scope:`string`,push:`string`}]},regex:{rules:[{match:`(?<!#)(#+)/`,scope:`regexp`,push:`regex-extended`,remember:1},{match:`/(?<=(?:[=(,:\\[!&|?{]|\\breturn|\\bcase)[ \\t]*/)(?![\\s/*])(?:[^/\\\\\\n]|\\\\.)+(?<!\\s)/`,scope:`regexp`}]},"regex-extended":{default:`regexp`,rules:[{match:`\\\\.`,scope:`regexp`},{match:`/{{remembered}}`,scope:`regexp`,pop:!0}]},"string-body":{rules:[{match:`\\\\\\(`,scope:`interpolation`,push:`interpolation`},{match:`\\\\(?:u\\{[0-9a-fA-F]{1,8}\\}|.)`,scope:`string.escape`}]},string:{default:`string`,rules:[{include:`string-body`},{match:`"`,pop:!0},{match:`$`,pop:!0}]},multiline:{default:`string`,rules:[{include:`string-body`},{match:`"""`,pop:!0}]},"raw-body":{rules:[{match:`\\\\#\\(`,scope:`interpolation`,push:`interpolation`},{match:`\\\\#(?:u\\{[0-9a-fA-F]{1,8}\\}|.)`,scope:`string.escape`}]},"raw-string":{default:`string`,rules:[{include:`raw-body`},{match:`(")(#)`,scope:[`string`,`string.special`],pop:!0},{match:`$`,pop:!0}]},"raw-multiline":{default:`string`,rules:[{include:`raw-body`},{match:`(""")(#)`,scope:[`string`,`string.special`],pop:!0}]},interpolation:{rules:[{match:`\\)`,scope:`interpolation`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`expression`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`expression`}]},numbers:{rules:[{match:`\\b0[xX][0-9a-fA-F_]+(?:\\.[0-9a-fA-F_]+)?(?:[pP][-+]?\\d[\\d_]*)?\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO][0-7_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d[\\d_]*)?\\b`,scope:`number`}]}}}})),aG,VGt,oG,sG,cG,HGt,UGt=s((()=>{aG=`(?:"[^"\\n]*"|'[^'\\n]*'|[^\\s#:\\[\\]{},"'][^:\\n]{0,256}?)`,VGt=`(?:"[^"\\n]*"|'[^'\\n]*'|[^\\s#:,\\[\\]{}][^:,\\[\\]{}\\n]{0,256}?)`,oG=`[|>][-+1-9]{0,2}`,sG=`(?:([ \\t]+)(#[^\\n]*))?(?=[ \\t]*$)`,cG={match:`(?<![^\\s])#[^\\n]*`,scope:`comment`},HGt={name:`yaml`,aliases:[`yml`],states:{root:{rules:[cG,{match:`^(?:---|\\.\\.\\.)(?=[ \\t]|$)`,scope:`punctuation.delimiter`},{match:`^([ \\t]*-[ \\t]+)(${aG})([ \\t]*)(:)([ \\t]+)(${oG})${sG}`,scope:[`punctuation.delimiter`,`property`,null,`punctuation.delimiter`,null,`operator`,null,`comment`],push:`block-scalar`,remember:1,rememberAs:`indent`},{match:`^([ \\t]*)(-)([ \\t]+)(${oG})${sG}`,scope:[null,`punctuation.delimiter`,null,`operator`,null,`comment`],push:`block-scalar`,remember:1,rememberAs:`indent`},{match:`^([ \\t]*)(?!-[ \\t])(${aG})([ \\t]*)(:)([ \\t]+)(${oG})${sG}`,scope:[null,`property`,null,`punctuation.delimiter`,null,`operator`,null,`comment`],push:`block-scalar`,remember:1,rememberAs:`indent`},{match:`^([ \\t]*)(-)(?=[ \\t]|$)`,scope:[null,`punctuation.delimiter`],push:`value`},{match:`^([ \\t]+)(?!${aG}[ \\t]*:(?:[ \\t]|$)|[-?:][ \\t]|-$)([^\\s#\\[\\]{}"'&*!|>%@\`][^\\s]*(?:[ \\t]+[^\\s#][^\\s]*)*)`,scope:[null,`string`]},{match:`(${aG})([ \\t]*)(:)(?=[ \\t]|$)`,scope:[`property`,null,`punctuation.delimiter`],push:`value`},{match:`[&*][\\w-]+`,scope:`variable.special`},{match:`!!?[\\w/-]+`,scope:`type`},{match:`(${oG})([ \\t]*)$`,scope:[`operator`,null],push:`block-scalar-loose`},{include:`strings`},{match:`\\b(?:true|false|yes|no|on|off|True|False|Yes|No|On|Off)\\b`,scope:`boolean`},{match:`\\b(?:null|Null|NULL)\\b|~`,scope:`constant.builtin`},{match:`(?:^|[\\s,\\[{])(-?\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?)\\b`,scope:[`number`]},{match:`[\\[{]`,scope:`punctuation.bracket`,push:`flow`},{match:`[\\]}]`,scope:`punctuation.bracket`},{match:`,`,scope:`punctuation.delimiter`}]},value:{rules:[cG,{match:`(${oG})([ \\t]*)$`,scope:[`operator`,null],set:`block-scalar-loose`},{match:`(${aG})([ \\t]*)(:)(?=[ \\t]|$)`,scope:[`property`,null,`punctuation.delimiter`]},{include:`strings`},{match:`[&*][\\w-]+`,scope:`variable.special`},{match:`!!?[\\w/-]+`,scope:`type`},{match:`(?:true|false|yes|no|on|off|True|False|Yes|No|On|Off)(?=[ \\t]*(?:#|$))`,scope:`boolean`},{match:`(?:null|Null|NULL|~)(?=[ \\t]*(?:#|$))`,scope:`constant.builtin`},{match:`-?\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?(?=[ \\t]*(?:#|$))`,scope:`number`},{match:`[\\[{]`,scope:`punctuation.bracket`,push:`flow`},{match:`[^\\s#\\[\\]{}][^\\s]*(?:[ \\t]+[^\\s#][^\\s]*)*`,scope:`string`},{match:`$`,pop:!0}]},flow:{rules:[cG,{match:`[\\[{]`,scope:`punctuation.bracket`,push:`flow`},{match:`[\\]}]`,scope:`punctuation.bracket`,pop:!0},{match:`,`,scope:`punctuation.delimiter`},{match:`(${VGt})([ \\t]*)(:)(?=[ \\t]|$|[,\\]}])`,scope:[`property`,null,`punctuation.delimiter`]},{include:`strings`},{match:`[&*][\\w-]+`,scope:`variable.special`},{match:`!!?[\\w/-]+`,scope:`type`},{match:`(?:true|false|yes|no|on|off|True|False|Yes|No|On|Off)(?=[ \\t]*(?:[,\\]}]|#|$))`,scope:`boolean`},{match:`(?:null|Null|NULL|~)(?=[ \\t]*(?:[,\\]}]|#|$))`,scope:`constant.builtin`},{match:`-?\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?(?=[ \\t]*(?:[,\\]}]|#|$))`,scope:`number`},{match:`[^\\s#,\\[\\]{}][^,\\[\\]{}\\n#]*`,scope:`string`}]},strings:{rules:[{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`}]},"string-double":{default:`string`,rules:[{match:`\\\\.`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`''`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"block-scalar":{default:`string`,rules:[{match:`^(?!{{remembered}}[ \\t])(?=[ \\t]*\\S)`,pop:!0}]},"block-scalar-loose":{default:`string`,rules:[{match:`^(?=[ \\t]*(?:[^\\s#-][^:\\n]*:(?:[ \\t]|$)|-{3}|\\.{3}))`,pop:!0}]}}}})),lG,WGt=s((()=>{YH(),JUt(),QUt(),eWt(),iWt(),oWt(),cWt(),uWt(),fWt(),mWt(),_Wt(),bWt(),CWt(),TWt(),DWt(),kWt(),jWt(),PWt(),HWt(),WWt(),JWt(),XWt(),QWt(),eGt(),nGt(),iGt(),cGt(),uGt(),fGt(),mGt(),gGt(),vGt(),xGt(),CGt(),TGt(),DGt(),kGt(),MGt(),PGt(),IGt(),RGt(),BGt(),UGt(),WH(),LUt(),kUt(),QH(),VH(),lG=[qUt,ZUt,$Ut,rWt,aWt,sWt,lWt,dWt,pWt,gWt,yWt,SWt,wWt,EWt,OWt,AWt,NWt,VWt,UWt,qWt,YWt,ZWt,$Wt,tGt,rGt,sGt,lGt,dGt,pGt,hGt,_Gt,bGt,SGt,wGt,EGt,OGt,jGt,NGt,FGt,LGt,zGt,HGt],qH(...lG)})),GGt,KGt,qGt,JGt=s((()=>{jH(),IH(),Kl(),B(),zH(),KUt(),WGt(),GGt=[`aria-label`],KGt=[`id`,`innerHTML`],qH(...lG),qGt=k({inheritAttrs:!1,__name:`ScalarCodeBlock`,props:{content:{},prettyPrintedContent:{},lang:{default:`plaintext`},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:`hover`},label:{default:`Code sample`},copyLabel:{}},setup(e){let t=xr(),n=z(()=>e.prettyPrintedContent||LH(e.content??``)),r=z(()=>WUt(n.value,{lang:e.lang.trim(),lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),i=z(()=>!n.value.includes(`
+`)),a=z(()=>n.value!==null&&n.value!==`null`&&n.value!==`404 Not Found`),o=z(()=>e.copy&&a.value),s=z(()=>i.value&&o.value),{cx:c}=Gl();return(a,l)=>(j(),M(`div`,ut(ei(D(c)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0 focus-visible:outline`))),[P(`div`,{"aria-label":e.label,class:`custom-scroll min-h-0 min-w-0 flex-1 overflow-x-auto rounded-[inherit] p-2 -outline-offset-2`,role:`group`,tabindex:`0`},[P(`pre`,{id:D(t),class:lt([`m-0 w-fit border-0 bg-transparent p-0 text-nowrap whitespace-pre`,{"pr-6":s.value}]),innerHTML:r.value},null,10,KGt)],8,GGt),o.value?(j(),N(D(FH),{key:0,"aria-controls":D(t),class:lt([`scalar-code-copy absolute`,[i.value?`top-1/2 right-1 m-0 -translate-y-1/2`:`top-2.5 right-2.5`,{"opacity-100":e.copy===`always`}]]),content:n.value,copyLabel:e.copyLabel,lang:e.lang,showLang:!i.value},{backdrop:O(()=>[R(AH,{class:lt([`scalar-code-copy-backdrop`,[i.value?`group-hocus-within/code-block:-left-0.5 -inset-y-0.75 -right-1 left-3`:`-top-1 -right-1.5`]])},null,8,[`class`])]),_:1},8,[`aria-controls`,`class`,`content`,`copyLabel`,`lang`,`showLang`])):I(``,!0)],16))}})})),uG,YGt=s((()=>{JGt(),uG=qGt})),dG=s((()=>{YGt(),IH()})),fG=s((()=>{fB(),CB(),DB(),uRt(),dRt(),jB(),NB(),FB(),Czt(),yH(),UV(),AHt()})),XGt=s((()=>{jH(),sUt()})),pG,ZGt=s((()=>{pG={"multipart/form-data":`Multipart Form`,"application/x-www-form-urlencoded":`Form URL Encoded`,"application/octet-stream":`Binary File`,"application/json":`JSON`,"application/xml":`XML`,"application/yaml":`YAML`,"application/edn":`EDN`,other:`Other`,none:`None`}})),QGt,$Gt,eKt,tKt,nKt,rKt,iKt,aKt=s((()=>{Fs(),E7e(),N_t(),oI(),uI(),fI(),K_t(),Y_t(),JIt(),S7e(),nLt(),uLt(),aB(),B(),Mw(),uB(),Qs(),Tb(),gS(),nI(),rS(),yc(),Fu(),fG(),dG(),XGt(),ZGt(),tu(),js(),su(),a_(),Tv(),QGt={class:`flex items-center gap-1`},$Gt={key:0,class:`min-w-0 border-t py-3 ps-10 pe-6`},eKt={key:1,class:`text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm`},tKt={key:2,class:`flex items-center justify-center overflow-hidden border-t p-1.5`},nKt={class:`text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap`},rKt={key:1,class:`group/code-block relative min-w-0 border-t`},iKt=k({__name:`RequestBody`,props:{requestBody:{},exampleKey:{},title:{},environment:{},openapiVersion:{},requestBodyCompositionSelection:{},defaultView:{default:`raw`}},emits:[`update:contentType`,`update:value`,`update:formValue`,`generate:example`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i={"application/json":`json`,"application/xml":`xml`,"application/yaml":`yaml`},a=z(()=>hv(e.requestBody,e.exampleKey)??`none`),o=z(()=>eu(a.value)?`xml`:i[a.value]??`plaintext`),s=e=>vc(e).essence,c=z(()=>({...pG,"multipart/form-data":r(`apiClient.requestBody.multipartForm`),"application/x-www-form-urlencoded":r(`apiClient.requestBody.formUrlEncoded`),"application/octet-stream":r(`apiClient.requestBody.binaryFile`),other:r(`apiClient.requestBody.other`),none:r(`apiClient.requestBody.none`)})),l=z(()=>{let t=wb(c.value).map(([e,t])=>({id:e,label:t})),n=Object.keys(e.requestBody?.content??{}).filter(e=>e in pG?!1:!(s(e)in pG)).map(e=>({id:e,label:s(e)}));return[...t,...n]}),u=z({get:()=>{let e=l.value.find(e=>e.id===a.value);if(e)return e;let t=s(a.value),n=c.value[t]??t;return{id:a.value,label:n}},set:e=>{n(`update:contentType`,{value:e.id})}});function d(e){let{open:t}=T7e({onChange:t=>{let n=t?.[0];n&&e(n)},multiple:!1,accept:`*/*`});t()}let f=z(()=>e.requestBody&&mv(e.requestBody,a.value,e.exampleKey,e.requestBodyCompositionSelection,e.openapiVersion)),p=z(()=>{if(!f.value)return``;let e=au(f.value),t=ou(e,a.value,2);if(t!==void 0)return t;let n=e?.value;return typeof n==`string`?n:JSON.stringify(n,null,2)}),m=z(()=>i_.schema(e.requestBody?.content?.[a.value]?.schema??e.requestBody?.content?.[a.value]?.itemSchema)),h=z(()=>a.value===`none`?void 0:Ow(a.value)),g=z(()=>{let e=h.value;if(!e)return{ok:!1};let t=au(f.value??void 0);if(f.value?.dataValue!==void 0)return{ok:!0,value:f.value.dataValue};let n=t?.value;if(n==null||n===``)return{ok:!0,value:{}};if(typeof n==`string`)try{return{ok:!0,value:e.parse(n)}}catch{return{ok:!1}}return{ok:!0,value:n}});dr([()=>e.requestBody,()=>e.exampleKey,z(()=>JSON.stringify(e.requestBodyCompositionSelection??{}))],([,,t],[r,i,o])=>{if(e.requestBody!==r||e.exampleKey!==i||t===o||o===`{}`||Object.keys(e.requestBodyCompositionSelection??{}).length===0)return;let s=h.value,c=eu(a.value),l=a.value===`multipart/form-data`||a.value===`application/x-www-form-urlencoded`;if(!e.requestBody||!s&&!c&&!l)return;let u=pv(e.requestBody,a.value,e.requestBodyCompositionSelection,e.openapiVersion);if(l){let t=J_t({value:u},a.value,m.value,e.requestBodyCompositionSelection);n(`update:formValue`,{contentType:a.value,payload:t.map(e=>({name:e.name,value:a.value===`multipart/form-data`?q_t(e):e.value??void 0,isDisabled:e.isDisabled??!1,...e.isDisabledByDefault?{isDisabledByDefault:!0}:{},...e.isArray?{isArray:!0}:{}}))});return}let d=``;u!=null&&(d=c?String(u):s.stringify(u)),n(`update:value`,{payload:d,contentType:a.value})});let _=z(()=>g.value.ok&&V(g.value.value)),v=z(()=>!!h.value&&(_.value||!!(m.value&&bv(m.value)))),y=E(e.defaultView),b=z(()=>a.value!==`none`&&m.value!==void 0);dr(()=>e.requestBody,()=>{y.value===`schema`&&(y.value=_.value?e.defaultView:`raw`)}),dr(b,e=>{!e&&y.value===`schema`&&(y.value=`raw`)}),dr(_,e=>{!e&&y.value===`form`&&(y.value=`raw`)},{immediate:!0});let x=z(()=>!!(h.value&&m.value));return(t,i)=>(j(),N(D(iB),null,{title:O(()=>[F(T(e.title),1)]),default:O(()=>[R(D(aI),{columns:[``],presentational:``},{default:O(()=>[R(D(lI),{class:`relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0`},{default:O(()=>[R(D(oB),{modelValue:u.value,"onUpdate:modelValue":i[0]||=e=>u.value=e,options:l.value,teleport:``},{default:O(()=>[R(D(jw),{class:`text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal`,fullWidth:``,variant:`ghost`},{default:O(()=>[P(`span`,null,T(u.value.label),1),R(D(fS),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`]),P(`div`,QGt,[x.value?(j(),N(D(eI),{key:0,"aria-label":`Generate example from schema`,icon:D(Sge),label:`Generate example from schema`,size:`sm`,tooltip:``,onClick:i[1]||=Ka(e=>n(`generate:example`,{contentType:a.value}),[`stop`])},null,8,[`icon`])):I(``,!0),v.value||b.value?(j(),N(lLt,{key:1,disabled:!_.value,modelValue:y.value,rawLabel:h.value?void 0:D(r)(`apiClient.requestBodyStructured.body`),showForm:v.value,showSchema:b.value,"onUpdate:modelValue":i[2]||=e=>y.value=e},null,8,[`disabled`,`modelValue`,`rawLabel`,`showForm`,`showSchema`])):I(``,!0)])]),_:1}),R(D(dI),null,{default:O(()=>[y.value===`schema`&&b.value?(j(),M(`div`,$Gt,[(j(),N(D(HV),{key:a.value,eventBus:null,options:{hideReadOnly:!0,hideModels:!0,schemaKeyboardNav:!0},schema:m.value},null,8,[`schema`]))])):a.value===`none`?(j(),M(`div`,eKt,[P(`span`,null,T(D(r)(`apiClient.requestBody.noBody`)),1)])):a.value===`application/octet-stream`?(j(),M(`div`,tKt,[D(pI)(D(Pu)(f.value?.value))===void 0?(j(),N(D(jw),{key:1,class:`bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none`,size:`sm`,variant:`outlined`,onClick:i[4]||=()=>d(e=>n(`update:value`,{payload:e,contentType:a.value}))},{default:O(()=>[P(`span`,null,T(D(r)(`apiClient.requestBody.selectFile`)),1),R(D(fS),{class:`ml-1`,icon:`Upload`,size:`xs`,thickness:`2.5`})]),_:1})):(j(),M(L,{key:0},[P(`span`,nKt,T(D(pI)(D(Pu)(f.value?.value))),1),R(D(jw),{class:`bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none`,size:`sm`,variant:`outlined`,onClick:i[3]||=e=>n(`update:value`,{payload:void 0,contentType:a.value})},{default:O(()=>[F(T(D(r)(`apiClient.requestBody.delete`)),1)]),_:1})],64))])):a.value===`multipart/form-data`||a.value===`application/x-www-form-urlencoded`?(j(),N(qIt,{key:3,bodySchema:m.value,compositionSelection:e.requestBodyCompositionSelection,environment:e.environment,example:f.value,selectedContentType:a.value,"onUpdate:formValue":i[5]||=e=>n(`update:formValue`,{payload:e,contentType:a.value})},null,8,[`bodySchema`,`compositionSelection`,`environment`,`example`,`selectedContentType`])):(j(),M(L,{key:4},[y.value===`form`&&_.value?(j(),N(tLt,{key:0,bodySchema:m.value,contentType:a.value,environment:e.environment,parsedValue:g.value.value,"onUpdate:value":i[6]||=e=>n(`update:value`,{payload:e,contentType:a.value})},null,8,[`bodySchema`,`contentType`,`environment`,`parsedValue`])):(j(),M(`div`,rKt,[R(D(M_t),{class:`px-3`,content:``,environment:e.environment,language:o.value,lineNumbers:``,lint:``,modelValue:p.value,withFakeData:``,"onUpdate:modelValue":i[7]||=e=>n(`update:value`,{payload:e,contentType:a.value})},null,8,[`environment`,`language`,`modelValue`]),p.value?(j(),N(D(FH),{key:0,class:`absolute top-1.5 right-1.5`,content:p.value,lang:o.value,showLang:``},{backdrop:O(()=>[R(D(AH),{class:`-top-1 -right-1.5`})]),_:1},8,[`content`,`lang`])):I(``,!0)]))],64))]),_:1})]),_:1})]),_:1}))}})})),oKt,sKt=s((()=>{Ds(),aKt(),oKt=Es(iKt,[[`__scopeId`,`data-v-ec7e5b86`]])})),mG,hG=s((()=>{js(),mG=e=>{let t=new Set,n=e;for(;V(n)&&typeof n.$ref==`string`;){if(t.has(n))return;t.add(n),n=n[`$ref-value`]}return n}})),cKt,lKt,uKt,dKt,fKt=s((()=>{js(),hG(),cKt=new Set([`properties`,`patternProperties`,`definitions`,`$defs`,`dependentSchemas`]),lKt=new Set([`allOf`,`anyOf`,`oneOf`,`prefixItems`]),uKt=new Set([`items`,`additionalItems`,`additionalProperties`,`contains`,`propertyNames`,`not`,`if`,`then`,`else`,`unevaluatedItems`,`unevaluatedProperties`]),dKt=(e,t)=>{if(t&&!/^application\/(?:vnd\.aai\.asyncapi(?:\+json|\+yaml)?(?:;|$)|schema\+(?:json|yaml)(?:;version=draft-07)?$)/i.test(t))return e;let n=new WeakMap,r=e=>{if(!V(e))return e;let t=n.get(e);if(t)return t;let a={};if(n.set(e,a),typeof e.$ref==`string`){a.$ref=e.$ref;for(let t of[`$global`,`$status`])Object.hasOwn(e,t)&&(a[t]=e[t]);return Object.defineProperty(a,"$ref-value",{value:r(mG(e)),enumerable:!0}),a}for(let[t,n]of Object.entries(e))Object.defineProperty(a,t,{value:i(t,n),enumerable:!0,configurable:!0,writable:!0});return a},i=(e,t)=>cKt.has(e)&&V(t)?Object.fromEntries(Object.entries(t).map(([e,t])=>[e,r(t)])):e===`dependencies`&&V(t)?Object.fromEntries(Object.entries(t).map(([e,t])=>[e,Array.isArray(t)?t:r(t)])):(lKt.has(e)||e===`items`)&&Array.isArray(t)?t.map(r):uKt.has(e)?r(t):t;return r(e)}})),gG,_G,vG=s((()=>{js(),fKt(),sNe(),hG(),gG=e=>{if(e===void 0)return!0;if(typeof e!=`string`)return!1;let t=e.split(`;`)[0]?.trim().toLowerCase();return[`application/schema+json`,`application/schema+yaml`,`application/vnd.aai.asyncapi`,`application/vnd.aai.asyncapi+json`,`application/vnd.aai.asyncapi+yaml`,`application/vnd.oai.openapi`,`application/vnd.oai.openapi+json`,`application/vnd.oai.openapi+yaml`].includes(t??``)},_G=e=>{let t=mG(e),n=V(t)&&`schemaFormat`in t,r=n?mG(t.schema):t;if(r===void 0)return;if(n&&!gG(t.schemaFormat))return{kind:`source`,format:String(t.schemaFormat),value:r};if(typeof r==`boolean`)return{kind:`schema`,schema:vh(r)};let i=dKt(r,n?String(t.schemaFormat):void 0);return V(i)?{kind:`schema`,schema:i}:void 0}})),yG,bG,pKt=s((()=>{hG(),js(),vG(),Lu(),rS(),yG=(e,t=new Set)=>{let n=mG(e);return n===!1?!0:!V(n)||t.has(n)?!1:(t.add(n),Array.isArray(n.allOf)&&n.allOf.some(e=>yG(e,t)))},bG=e=>{if(e.examples?.some(e=>mG(e)?.payload!==void 0))return;let t=mG(e.payload);if(typeof t==`boolean`||V(t)&&`schemaFormat`in t&&typeof mG(t.schema)==`boolean`)return;let n=_G(e.payload),r=n?.kind===`schema`?n.schema:void 0;if(!r||yG(r))return;let i=Iu(r);return nv(i,{emptyString:`string`,includeDeprecated:!0})}})),xG,mKt=s((()=>{js(),p_(),tu(),yc(),zH(),xG=(e,t)=>{if(e===void 0)return;let n=t===void 0||f_(t),r=Array.isArray(e)||V(e),i=!n&&r,{subtype:a}=vc(t),o=n||i?`json`:eu(t)?`xml`:a===`yaml`||a===`x-yaml`||a.endsWith(`+yaml`)?`yaml`:`plaintext`;if(e===null||typeof e==`boolean`)return{content:String(e),lang:o,structural:i};if(typeof e==`string`)return{content:n?LH(e):e,lang:o,structural:i};if(typeof e==`number`||Array.isArray(e)||V(e))return{content:LH(e),lang:o,structural:i}}})),hKt,SG,CG,wG,gKt,_Kt,TG,EG,DG,OG,vKt,yKt,kG,AG,bKt,jG=s((()=>{js(),Tb(),qv(),uc(),hG(),hKt=[`ws`,`wss`],SG=e=>e?.variables?wb(e.variables).reduce((e,[t,n])=>{let r=mG(n);return r?.default!=null&&(e[String(t)]=String(r.default)),e},{}):{},CG=(e,t)=>{let n=e;return t.serverVariables&&(n=Gv(n,t.serverVariables)),t.environmentVariables&&(n=Kv(n,t.environmentVariables)),t.pathParameters&&(n=Gv(n,t.pathParameters)),n},wG=e=>e?.trim().toLowerCase()||void 0,gKt=e=>e.trim().toLowerCase(),_Kt=e=>hKt.some(t=>t===e.trim().toLowerCase()),TG=(e,t)=>{let n=SG(e),r=`${gKt(e.protocol)}://${CG(e.host,{serverVariables:n,environmentVariables:t})}`;if(!e.pathname)return r;let i=CG(e.pathname,{serverVariables:n,environmentVariables:t});return cc(r,i)},EG=e=>{if(e)return mG(e)?.ws},DG=(e,t)=>{let n=EG(e.bindings),r=t?EG(t.bindings):void 0;if(n||r)return{...n,...r,query:vKt(n?.query,r?.query)}},OG=e=>{if(!e)return;let t=mG(e);if(t!==!0&&t!==!1&&V(t))return t},vKt=(e,t)=>{let n=OG(e),r=OG(t);if(!n&&!r)return;if(!n)return t;if(!r)return e;let i=`properties`in n?n.properties:void 0,a=`properties`in r?r.properties:void 0;return Object.assign({},n,r,{properties:{...i,...a}})},yKt=e=>{let t=mG(e);if(t!==!0&&t!==!1&&V(t)){if(`default`in t&&t.default!==void 0)return t.default;if(`example`in t&&t.example!==void 0)return t.example;if(`enum`in t&&Array.isArray(t.enum)&&t.enum[0]!==void 0)return t.enum[0]}},kG=(e,t,n)=>{n!=null&&(Array.isArray(n)?n.forEach(n=>kG(e,t,n)):typeof n==`object`?e.append(t,JSON.stringify(n)):e.append(t,String(n)))},AG=(e,t)=>{let n=new URLSearchParams,r=OG(e?.query),i=r&&`properties`in r?r.properties:void 0;if(V(i))for(let[e,t]of Object.entries(i)){let r=yKt(t);kG(n,e,r)}if(t)for(let[e,r]of wb(t))n.delete(e),kG(n,e,r);return n},bKt=({server:e,channel:t,operation:n=null,pathParameters:r={},queryParameters:i={},environmentVariables:a})=>{let o=SG(e),s=TG(e,a),c=t.address;if(c==null||c===``){let e=AG(DG(t,n),i);return lc(s,``,e,!0)}let l=CG(c,{serverVariables:o,environmentVariables:a,pathParameters:r}),u=AG(DG(t,n),i);return lc(s,l,u,!0)}})),xKt,SKt=s((()=>{Tb(),hG(),xKt=(e,t)=>t.messages?wb(t.messages).map(([e,t])=>({name:e,message:mG(t)})).filter(e=>e.message!=null):[]})),MG,NG=s((()=>{h_(),mu(),$v(),MG=(e,t)=>{let n=`#/${t.map(m_).join(`/`)}/`;if(!e.startsWith(n))return;let r=Zv(()=>pu(e.slice(1)));if(!r.ok)return;let i=r.data;if(i.length!==t.length+1)return;for(let e=0;e<t.length;e++)if(i[e]!==t[e])return;let a=i[t.length];return a&&a.length>0?a:void 0}})),CKt,wKt,PG,TKt=s((()=>{NG(),hG(),CKt=e=>MG(e,[`channels`]),wKt=(e,t)=>{if(e.channels){for(let[n,r]of Object.entries(e.channels))if(mG(r)===t)return n}},PG=(e,t)=>{let n=t.channel;if(!n)return;let r=`$ref`in n?CKt(n.$ref):void 0;if(r&&e.channels?.[r]){let t=mG(e.channels[r]);return t?{channelName:r,channel:t,channelAddress:typeof t.address==`string`&&t.address.length>0?t.address:r}:void 0}let i=mG(n);if(!i)return;let a=r??wKt(e,i)??(typeof i.address==`string`&&i.address.length>0?i.address:void 0);if(a)return{channelName:a,channel:i,channelAddress:typeof i.address==`string`&&i.address.length>0?i.address:a}}})),EKt,DKt,FG,IG,OKt,kKt=s((()=>{Tb(),jG(),NG(),hG(),ax(),EKt=e=>mG(e),DKt=e=>MG(e,[`servers`]),FG=(e,t)=>{if(!t?.servers)return;let n=new Set;for(let r of t.servers){let t=DKt(r.$ref);t&&e.servers?.[t]&&n.add(t)}return n},IG=(e,t={})=>{let{channel:n=null,operation:r=null,pathParameters:i={},queryParameters:a={},environmentVariables:o,webSocketOnly:s=!0}=t,c=e.servers??{},l=FG(e,n);return wb(c).filter(([e])=>l?.has(e)??!0).map(([e,t])=>{let s=EKt(t);if(!s)return;let c=s.protocol.trim().toLowerCase(),l=_Kt(c),u=TG(s,o),d={name:e,server:s,host:s.host,protocol:c,description:s.description,title:s.title,url:u,isWebSocket:l};return n&&(d.connectionUrl=bKt({server:s,channel:n,operation:r,pathParameters:i,queryParameters:a,environmentVariables:o})),d}).filter(e=>e!==void 0&&(!s||e.isWebSocket))},OKt=(e,t,n)=>{if(!nx(e))return t[0]??null;let r=e[`x-scalar-selected-server`];return r==null?t[0]??null:t.find(({name:e})=>e===r)??t[0]??null}})),LG,AKt,jKt,RG,MKt,zG,NKt=s((()=>{Tb(),wx(),hG(),jG(),TKt(),kKt(),LG=e=>{let t=new Map;for(let[n,r]of wb(e.servers??{})){let e=wG(mG(r)?.protocol);e&&t.set(n,e)}return t},AKt=e=>[{id:`all`,label:`All protocols`},...[...new Set(LG(e).values())].sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e.toUpperCase()}))],jKt=e=>[{id:`all`,label:`All servers`},...wb(e.servers??{}).map(([e,t])=>{let n=wG(mG(t)?.protocol);return{id:e,label:n?`${e} (${n})`:e}})],RG=e=>({serverProtocols:LG(e),allServerNames:new Set(Cx(e.servers??{}))}),MKt=(e,t,n=RG(e))=>{let r=PG(e,t)?.channel??null;return zG(e,r,n)},zG=(e,t,n=RG(e))=>{let r=t?.servers?.length?FG(e,t):void 0,i=r?new Set([...r].filter(e=>n.allServerNames.has(e))):new Set(n.allServerNames),a=new Set;for(let[e,t]of n.serverProtocols)i.has(e)&&a.add(t);return{serverNames:i,protocols:a}}})),BG,PKt=s((()=>{BG=e=>{let t=new Set;return e.filter(e=>{let n=JSON.stringify(e);return!t.has(n)&&(t.add(n),!0)})}})),FKt,IKt,LKt,VG,HG,UG=s((()=>{js(),hG(),FKt=new Set([`properties`,`patternProperties`,`$defs`,`definitions`,`dependentSchemas`]),IKt=new Set([`example`,`examples`,`default`,`enum`,`const`,`value`,`dataValue`]),LKt=(e,t)=>e===`data`?`data`:e===`map`?`object`:t===`channel`?`reference`:IKt.has(t)||t.startsWith(`x-`)?`data`:FKt.has(t)?`map`:`object`,VG=(e,t,n=`object`,r=new WeakMap)=>{if(n===`reference`)return t;let i=n===`object`&&V(t)&&typeof t.$ref==`string`?mG(t):t;if(!V(i))return i;if(r.has(i))return r.get(i);let a=n===`object`&&V(e)&&typeof e.$ref==`string`?mG(e):e,o=V(a)?{...a}:{};r.set(i,o);for(let[e,t]of Object.entries(i))if(t===null)delete o[e];else if(t!==void 0){let i=LKt(n,e);Object.defineProperty(o,e,{value:VG(Object.hasOwn(o,e)?o[e]:void 0,t,i,r),enumerable:!0,configurable:!0,writable:!0})}return r.delete(i),o},HG=(e,t)=>{if(t.length===0)return e;let n=t.reduce((e,t)=>{let n=mG(t);return n?VG(e,n):e},{}),r=Object.fromEntries(Object.entries(e).filter(([e])=>Object.hasOwn(n,e))),i=VG(n,r);return{...Object.fromEntries(Object.entries(e).filter(([e])=>!Object.hasOwn(n,e))),...i}}})),WG,GG=s((()=>{UG(),WG=e=>HG(e,e.traits??[])})),RKt,KG,qG,JG,YG,zKt,XG,ZG,BKt,VKt=s((()=>{dV(),NG(),hG(),PKt(),GG(),RKt=e=>MG(e,[`components`,`securitySchemes`]),KG=e=>{let t=mG(e);if(t==null)return;if(!(`scopes`in t))return t;let{scopes:n,...r}=t;return r},qG=(e,t={})=>{let n=e.components?mG(e.components):void 0,r={};for(let[e,t]of Object.entries(n?.securitySchemes??{})){let n=mG(t);n&&(r[e]=n)}let i=(t,n)=>{for(let[i,a]of(t??[]).entries()){let t=mG(a);t&&`type`in t&&JG(e,a)===void 0&&(r[YG(e,t,n,i)]=t)}},a=t.servers??(e.servers?mG(e.servers):void 0);for(let[e,t]of Object.entries(a??{}))i(mG(t)?.security,`Server ${e}`);let o=t.operations??(e.operations?mG(e.operations):void 0);for(let[e,t]of Object.entries(o??{})){let n=mG(t);n&&i(WG(n).security,`Operation ${e}`)}return r},JG=(e,t)=>{if(`$ref`in t){let e=RKt(t.$ref);if(e!==void 0)return e}let n=KG(t);if(!n)return;let r=e.components?mG(e.components):void 0;return Object.entries(r?.securitySchemes??{}).find(([,e])=>uV(KG(e),n))?.[0]},YG=(e,t,n,r)=>{let i=e.components?mG(e.components):void 0,a=e=>Object.hasOwn(i?.securitySchemes??{},e)?a(`${e} (inline)`):e;return a(`${n} · ${t.type} ${r+1}`)},zKt=(e,t,n,r,i)=>{let a=mG(t),o=JG(e,t)??(a&&`type`in a&&r!==void 0?YG(e,a,r,n):Object.entries(i).find(([,e])=>e===a)?.[0]);if(o===void 0)return;let s=a!=null&&`scopes`in a&&Array.isArray(a.scopes)?[...a.scopes]:[];return{[o]:s}},XG=(e,t,n,r)=>t?.length?t.map((t,i)=>zKt(e,t,i,n,r)).filter(e=>e!=null):[],ZG=(e,t,n,r={})=>{let i=t?.security?.length&&r.operationName===void 0||n?.security?.length&&r.serverName===void 0?qG(e):{},a=XG(e,t?.security,r.operationName===void 0?void 0:`Operation ${r.operationName}`,i),o=XG(e,n?.security,r.serverName===void 0?void 0:`Server ${r.serverName}`,i);if(a.length===0)return BG(o);if(o.length===0)return BG(a);let s=a.flatMap(e=>o.map(t=>{let n={...t};for(let[t,r]of Object.entries(e))n[t]=[...new Set([...n[t]??[],...r??[]])];return n}));return BG(s)},BKt=e=>{let t=e.servers?mG(e.servers):void 0;if(!t)return[];let n=Object.entries(t).map(([e,t])=>({name:e,server:mG(t)})),r=n.map(({name:t,server:n})=>ZG(e,null,n,{serverName:t})),i=r.flat(),a=r.some(e=>e.length>0),o=n.some(({server:e})=>!e?.security?.length);return a&&o&&i.push({}),BG(i)}})),QG,$G=s((()=>{ic(),QG=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&rc.PATH,n&&rc.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>e!==void 0):[])})),eK=s((()=>{jG(),SKt(),NKt(),VKt(),hG(),TKt(),GG(),Tb(),$G(),kKt(),BWe(),sx(),Ex(),Ax(),eS(),ax()})),HKt,UKt=s((()=>{hG(),eK(),NG(),UG(),HKt=(e,t)=>{let n=mG(e.operations?.[t]);if(!n)return;let r=WG(n),i=PG(e,r),a=i?.channel,o=(r.messages===void 0?a?xKt(e,a):[]:r.messages.flatMap((e,t)=>{let n=mG(e),r=e.$ref&&i?.channelName?MG(e.$ref,[`channels`,i.channelName,`messages`]):void 0;return n&&!(`$ref`in n)?[{name:r??e.$ref??String(t),message:n}]:[]})).map(({name:e,message:t})=>({name:e,message:HG(t,t.traits??[])}));return{operation:r,channelName:i?.channelName,channel:a,messages:o}}})),WKt,GKt,KKt,qKt,JKt,YKt,XKt,ZKt,QKt,$Kt,eqt=s((()=>{UKt(),pKt(),mKt(),SH(),B(),kH(),dG(),oH(),hG(),WKt={class:`text-c-2 font-code min-w-0 font-semibold break-words`},GKt={key:0,class:`text-c-1 whitespace-nowrap`},KKt={class:`flex w-full flex-col`},qKt={key:0,class:`text-c-2 px-3 py-2 text-sm`},JKt={key:2,class:`text-c-2 p-4`,role:`status`},YKt={class:`flex min-w-0 flex-1 flex-wrap items-center gap-2`},XKt={key:1,class:`text-c-2 min-w-0 truncate px-1.5 py-0.75 text-base`},ZKt={class:`ml-auto flex min-w-0 items-center`},QKt={key:1,class:`text-c-2 min-w-0 truncate px-1.5 py-0.75 text-base`},$Kt=k({__name:`AsyncApiCodeExample`,props:Lr({document:{},operationName:{}},{selectedMessage:{default:``},selectedMessageModifiers:{}}),emits:[`update:selectedMessage`],setup(e){let t=z(()=>HKt(e.document,e.operationName)),n=z(()=>(t.value?.channel?.address??e.operationName).split(/({[^}]+})/)),r=Hr(e,`selectedMessage`),i=E(``),a=z(()=>Object.fromEntries((t.value?.messages??[]).map(({name:e,message:t})=>[e,{summary:t.title||t.name||e}]))),o=z(()=>t.value?.messages.find(({name:e})=>e===r.value)?.message),s=z(()=>(o.value?.examples??[]).flatMap((e,t)=>{let n=mG(e);return n?.payload===void 0?[]:[{key:String(t),...n}]})),c=z(()=>Object.fromEntries(s.value.map((e,t)=>[e.key,{summary:e.name||e.summary||`Example ${t+1}`}]))),l=z(()=>s.value.find(({key:e})=>e===i.value)),u=z(()=>`Message: ${a.value[r.value]?.summary??`Select a message`}`),d=z(()=>`Message example: ${c.value[i.value]?.summary??`Select an example`}`);dr(a,e=>{Object.hasOwn(e,r.value)||(r.value=Object.keys(e)[0]??``)},{immediate:!0}),dr([r,()=>e.operationName],()=>{i.value=Object.keys(c.value)[0]??``}),dr(c,e=>{Object.hasOwn(e,i.value)||(i.value=Object.keys(e)[0]??``)},{immediate:!0});let f=z(()=>xG(l.value?l.value.payload:o.value?bG(o.value):void 0,o.value?.contentType??e.document.defaultContentType));return(e,o)=>(j(),N(D(wH),{class:`request-card dark-mode min-w-0`,label:`Message example`},{default:O(()=>[R(D(OH),{class:`flex-nowrap items-start gap-3 pr-2.5 [&_.scalar-card-header-title]:flex-1 [&_.scalar-card-header-title]:whitespace-normal [&>div:last-child]:shrink-0`},{default:O(()=>[o[2]||=P(`span`,{class:`sr-only`},`Message example for`,-1),P(`span`,{class:lt([`font-code mr-1.5 uppercase`,t.value?.operation.action===`send`?`text-blue`:`text-green`])},T(t.value?.operation.action),3),P(`span`,WKt,[(j(!0),M(L,null,jr(n.value,(e,t)=>(j(),M(L,{key:t},[e.startsWith(`{`)&&e.endsWith(`}`)?(j(),M(`span`,GKt,T(e),1)):(j(),N(D(aH),{key:1,text:e},null,8,[`text`]))],64))),128))])]),_:1}),R(D(TH),{class:`custom-scroll flex flex-1 p-0`},{default:O(()=>[P(`div`,KKt,[f.value?.structural?(j(),M(`p`,qKt,` Structure only; not encoded `)):I(``,!0),f.value?(j(),N(D(uG),{key:1,class:`bg-b-2 h-full`,content:f.value.content,lang:f.value.lang,lineNumbers:``},null,8,[`content`,`lang`])):(j(),M(`p`,JKt,` No message payload example available. `))])]),_:1}),Object.keys(a.value).length||s.value.length?(j(),N(D(DH),{key:0,class:`bg-b-3 relative flex shrink-0 flex-wrap items-center justify-end gap-2 p-1.5`},{default:O(()=>[P(`div`,YKt,[s.value.length>1?(j(),N(xH,{key:0,modelValue:i.value,"onUpdate:modelValue":o[0]||=e=>i.value=e,"aria-label":d.value,examples:c.value},null,8,[`modelValue`,`aria-label`,`examples`])):s.value.length===1?(j(),M(`span`,XKt,T(c.value[i.value]?.summary),1)):I(``,!0),P(`div`,ZKt,[Object.keys(a.value).length>1?(j(),N(xH,{key:0,modelValue:r.value,"onUpdate:modelValue":o[1]||=e=>r.value=e,"aria-label":u.value,examples:a.value},null,8,[`modelValue`,`aria-label`,`examples`])):Object.keys(a.value).length===1?(j(),M(`span`,QKt,T(a.value[r.value]?.summary),1)):I(``,!0)])])]),_:1})):I(``,!0)]),_:1}))}})})),tqt,nqt=s((()=>{eqt(),TB(),tqt=wB($Kt,[[`__scopeId`,`data-v-41f67ce2`]])})),tK,rqt,nK,iqt=s((()=>{tK=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.clientKey.toLowerCase().includes(n)||e.lang.toLowerCase().includes(n)},rqt=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.key.toLowerCase().includes(n)},nK=((e,t,n)=>{if(e===``)return t;let r=e.toLowerCase(),i=n?n.filter(e=>e.label&&e.options.length>0).length:0;if(n&&i>1){let e=[];for(let t of n)rqt(t,r)?e.push(...t.options):e.push(...t.options.filter(e=>tK(e,r)));return e}return t.filter(e=>tK(e,r))})})),rK,iK,aqt=s((()=>{Tb(),rK={c:[`libcurl`],clojure:[`clj_http`],csharp:[`httpclient`,`restsharp`],dart:[`http`],fsharp:[`httpclient`],go:[`native`],http:[`http1.1`],java:[`asynchttp`,`nethttp`,`okhttp`,`unirest`],js:[`axios`,`fetch`,`jquery`,`ofetch`,`xhr`],julia:[`http`],kotlin:[`okhttp`],node:[`axios`,`fetch`,`ofetch`,`undici`],objc:[`nsurlsession`],ocaml:[`cohttp`],php:[`curl`,`guzzle`,`laravel`],powershell:[`restmethod`,`webrequest`],python:[`python3`,`requests`,`aiohttp`,`httpx_sync`,`httpx_async`],r:[`httr2`],ruby:[`native`],rust:[`reqwest`],shell:[`curl`,`httpie`,`wget`],swift:[`nsurlsession`]},iK=wb(rK).flatMap(([e,t])=>t.map(t=>`${e}/${t}`))})),aK=s((()=>{aqt()}));function oqt(e){return{...e,method:sK(e.method)}}function sqt(e){return e?.length?`?${e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`&`)}`:``}function oK(e=[]){return e.reduce((e,{name:t,value:n})=>(dK(e,t,n),e),{})}function cqt(e){let t={};if(e.headers)for(let n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value);return e.cookies&&e.cookies.length>0&&(t.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `)),t}var sK,cK,lK,uK,dK,fK=s((()=>{nc(),sK=e=>e?tc(e)&&e===e.toLowerCase()?e.toUpperCase():e:`GET`,cK=e=>{if(!e)return``;try{let t=new URL(e);return t.pathname===`/`?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},lK=(e,t)=>{let n=sqt(t);if(!n)return e;if(!e)return n;let r=e.indexOf(`#`),i=r===-1?e:e.slice(0,r),a=r===-1?``:e.slice(r);return`${i}${i.includes(`?`)?`&`:`?`}${n.slice(1)}${a}`},uK=(e,t)=>{let n=new Map;if(e?.forEach(e=>{e.name&&n.set(e.name,e.value??``)}),t?.length){let e=t.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);n.set(`Cookie`,e)}return Array.from(n.entries()).map(([e,t])=>({name:e,value:t}))},dK=(e,t,n)=>{let r=e[t];r===void 0?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]}})),pK,lqt,uqt,dqt,mK,hK,fqt,pqt=s((()=>{fK(),pK=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`"`,`\\"`).replaceAll(`
+`,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(` `,`\\t`),lqt=e=>{if(!e)return``;try{let t=new URL(e),n=t.pathname===`/`&&!e.endsWith(`/`)&&!e.includes(`?`)&&!e.includes(`#`)?``:t.pathname;return`${t.protocol}//${t.host}${n}${t.search}${t.hash}`}catch{return e}},uqt=e=>e?.length?e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `):null,dqt=e=>e?.length?e.map(e=>new URLSearchParams([[e.name,e.value??``]]).toString()).join(`&`):null,mK=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},hK=e=>{let t=e.split(`
+`);return t.length<=1?[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${pK(e)}");`]:[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS,`,...t.map((e,n)=>{let r=n===t.length-1;return` "${pK(e)}${r?``:`\\n`}"${r?`);`:``}`})]},fqt={target:`c`,client:`libcurl`,title:`Libcurl`,generate(e,t){if(!e)return``;let n=sK(e.method),r=lqt(e.url??``),i=lK(r,e.queryString),a=!!e.headers?.length,o=!!e.cookies?.length,s=e.postData,c=s?.mimeType===`multipart/form-data`&&!!s.params?.length,l=e.headers??[],u=l.some(e=>e.name.toLowerCase()===`accept-encoding`&&/gzip|deflate/.test(e.value)),d=[`#include <curl/curl.h>`,``,`int main(void) {`,` curl_global_init(CURL_GLOBAL_DEFAULT);`,` CURL *curl = curl_easy_init();`,` if (!curl) {`,` curl_global_cleanup();`,` return 1;`,` }`,``,` curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "${pK(n)}");`,` curl_easy_setopt(curl, CURLOPT_URL, "${pK(i)}");`];if(t?.auth?.username&&t.auth.password&&d.push(` curl_easy_setopt(curl, CURLOPT_USERPWD, "${pK(`${t.auth.username}:${t.auth.password}`)}");`),a&&(d.push(``,` struct curl_slist *headers = NULL;`),l.forEach(e=>{d.push(` headers = curl_slist_append(headers, "${pK(`${e.name}: ${e.value}`)}");`)}),d.push(` curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);`)),o){let t=uqt(e.cookies);t&&d.push(``,` curl_easy_setopt(curl, CURLOPT_COOKIE, "${pK(t)}");`)}if(u&&d.push(``,` curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");`),s){if(c&&s.params)d.push(``,` curl_mime *mime = curl_mime_init(curl);`),s.params.forEach(e=>{d.push(``,` {`,` curl_mimepart *part = curl_mime_addpart(mime);`),e.name&&d.push(` curl_mime_name(part, "${pK(e.name)}");`),e.fileName===void 0?d.push(` curl_mime_data(part, "${pK(e.value??``)}", CURL_ZERO_TERMINATED);`):d.push(` curl_mime_filedata(part, "${pK(e.fileName)}");`),e.contentType&&d.push(` curl_mime_type(part, "${pK(e.contentType)}");`),d.push(` }`)}),d.push(``,` curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);`);else if(s.mimeType===`application/x-www-form-urlencoded`&&s.params?.length){let e=dqt(s.params);e!==null&&d.push(``,` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${pK(e)}");`)}else if(s.mimeType===`application/json`&&s.text!==void 0)d.push(``,...hK(mK(s.text)));else if(s.text!==void 0){let e=s.mimeType===`application/octet-stream`?s.text:mK(s.text);d.push(``,...hK(e))}}return d.push(``,` CURLcode res = curl_easy_perform(curl);`),d.push(` curl_easy_cleanup(curl);`),c&&d.push(` curl_mime_free(mime);`),a&&d.push(` curl_slist_free_all(headers);`),d.push(` curl_global_cleanup();`,``,` return (int)res;`,`}`),d.join(`
+`)}}})),mqt=s((()=>{pqt()})),gK,_K,vK,yK,hqt,bK,gqt,xK,SK,CK,_qt,vqt,yqt=s((()=>{js(),fK(),gK=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\r/g,`\\r`).replace(/\n/g,`\\n`),_K=class{name;constructor(e){this.name=e}toString(){return`:${this.name}`}},vK=class{path;constructor(e){this.path=e}toString(){return`(clojure.java.io/file "${gK(this.path)}")`}},yK=e=>typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof _K)&&!(e instanceof vK)&&Object.keys(e).length===0,hqt=e=>{for(let t of Object.keys(e))yK(e[t])&&delete e[t];return e},bK=(e,t)=>t.replace(/\n/g,`\n${` `.repeat(e)}`),gqt=e=>/^[A-Za-z_*+!?<>=-][A-Za-z0-9_*+!?<>=.-]*$/.test(e)?`:${e}`:`"${gK(e)}"`,xK=e=>{if(e==null)return`nil`;if(e instanceof _K||e instanceof vK)return e.toString();if(typeof e==`string`)return`"${gK(e)}"`;if(Array.isArray(e)){let t=e.reduce((e,t)=>`${e} ${xK(t)}`,``).trim();return`[${bK(1,t)}]`}if(As(e)){let t=Object.keys(e).reduce((t,n)=>{let r=gqt(n);return`${t}${r} ${bK(r.length+1,xK(e[n]))}\n `},``).trim();return`{${bK(1,t)}}`}return String(e)},SK=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),CK=(e,t)=>{let n=SK(e,t);n&&delete e[n]},_qt=[`get`,`post`,`put`,`delete`,`patch`,`head`,`options`],vqt={target:`clojure`,client:`clj_http`,title:`clj-http`,generate(e,t){let n=sK(e?.method).toLowerCase();if(!_qt.includes(n))return`Method not supported`;let r=new URL(e?.url??``),i=r.pathname===`/`?`${r.origin}${r.search}${r.hash}`:r.toString(),a=oK(e?.queryString),o=(e?.headers??[]).reduce((e,t)=>(e[t.name]=t.value??``,e),{});e?.cookies?.length&&(o.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));let s={headers:o,"query-params":a};t?.auth?.username&&t?.auth?.password&&(s[`basic-auth`]=[t.auth.username,t.auth.password]);let c=e?.postData;switch(c?.mimeType){case`application/json`:if(s[`content-type`]=new _K(`json`),c.text)try{s[`form-params`]=JSON.parse(c.text)}catch{s.body=c.text}CK(o,`content-type`);break;case`application/x-www-form-urlencoded`:s[`form-params`]=(c.params??[]).reduce((e,t)=>(t.name&&t.value!==void 0&&(e[t.name]=t.value),e),{}),CK(o,`content-type`);break;case`multipart/form-data`:c.params&&(s.multipart=c.params.map(e=>({name:e.name,content:typeof e.fileName==`string`&&(e.value==null||e.value===``||e.value===`@${e.fileName}`)?new vK(e.fileName):e.value,...typeof e.fileName==`string`?{filename:e.fileName}:{},...e.contentType?{"mime-type":e.contentType}:{}}))),CK(o,`content-type`);break;default:c?.text&&(s.body=c.text,CK(o,`content-type`))}let l=SK(o,`accept`);l&&o[l]===`application/json`&&(s.accept=new _K(`json`),delete o[l]);let u=hqt(s),d=`(require '[clj-http.client :as client])
+`,f=gK(i);if(yK(u))return`${d}\n(client/${n} "${f}")`;let p=11+n.length+f.length;return`${d}\n(client/${n} "${f}" ${bK(p,xK(u))})`}}})),bqt=s((()=>{yqt()}));function xqt(e){switch(e){case`GET`:return`HttpMethod.Get`;case`POST`:return`HttpMethod.Post`;case`PUT`:return`HttpMethod.Put`;case`DELETE`:return`HttpMethod.Delete`;case`PATCH`:return`HttpMethod.Patch`;case`HEAD`:return`HttpMethod.Head`;case`OPTIONS`:return`HttpMethod.Options`;default:return`new HttpMethod("${e}")`}}function Sqt(e,t,n){let r=t.headers||[],i=t.cookies||[],a=r.find(e=>e.name.toLowerCase()===`authorization`);if(a){let[t,n]=a.value.split(` `,2);t&&n&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${TK(t)}", "${TK(n)}");`)}else if(n?.auth?.username&&n?.auth?.password){let t=yy(`${n.auth.username}:${n.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)}let o=new Map;for(let e of r){let t=e.name,n=e.value;t.toLowerCase()!==`authorization`&&o.set(t,n)}for(let[n,r]of o)if(n.toLowerCase()===`accept`&&wqt(r))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${TK(r)}"));`);else if(n.toLowerCase()===`content-type`&&t.postData)continue;else e.push(`request.Headers.TryAddWithoutValidation("${TK(n)}", "${TK(r)}");`);if(i.length>0){let t=TK(i.map(e=>`${e.name}=${e.value}`).join(`; `));e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}}function Cqt(e,t){if(!t.postData)return;let{mimeType:n,text:r,params:i}=t.postData;if(n===`application/json`&&r)try{let t=JSON.parse(r),n=wK(JSON.stringify(t,null,2));e.push(`request.Content = new StringContent(`),e.push(`${n},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}catch{let t=wK(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}else if(n===`application/x-www-form-urlencoded`&&i){let t=i.map(e=>e.name);if(t.length!==new Set(t).size){e.push(`var formParams = new List<KeyValuePair<string, string>>`),e.push(`{`);for(let t of i)e.push(` new("${TK(t.name)}", "${TK(t.value??``)}"),`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}else{e.push(`var formParams = new Dictionary<string, string>`),e.push(`{`);for(let t of i)e.push(` ["${TK(t.name)}"] = "${TK(t.value??``)}",`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}}else if(n===`multipart/form-data`&&i){e.push(`var content = new MultipartFormDataContent();`);let t=0;for(let n of i)if(n.fileName!==void 0){if(n.contentType){let r=`fileContent${t++}`;e.push(`var ${r} = new StreamContent(File.OpenRead("${TK(n.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${TK(n.contentType)}");`),e.push(`content.Add(${r}, "${TK(n.name)}", "${TK(n.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${TK(n.fileName)}")), "${TK(n.name)}", "${TK(n.fileName)}");`)}else if(n.contentType){let r=`stringContent${t++}`;e.push(`var ${r} = new StringContent("${TK(n.value??``)}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${TK(n.contentType)}");`),e.push(`content.Add(${r}, "${TK(n.name)}");`)}else e.push(`content.Add(new StringContent("${TK(n.value??``)}"), "${TK(n.name)}");`);e.push(`request.Content = content;`)}else if(n===`application/octet-stream`&&r)e.push(`var content = new ByteArrayContent(System.Text.Encoding.UTF8.GetBytes("`+TK(r)+`"));`),e.push(`content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");`),e.push(`request.Content = content;`);else if(r){let t=wK(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${TK(n)}");`)}}function wK(e){let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`}function TK(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\r/g,`\\r`).replace(/\n/g,`\\n`)}function wqt(e){return/^[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*\/[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*(\s*;\s*[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*=.*)?$/.test(e)}var Tqt,Eqt=s((()=>{My(),fK(),Tqt={target:`csharp`,client:`httpclient`,title:`HttpClient`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=sK(n.method);let r=lK(n.url??``,n.queryString),i=[];i.push(`using var client = new HttpClient();`),i.push(``);let a=xqt(n.method);return i.push(`var request = new HttpRequestMessage(${a}, "${TK(r)}");`),Sqt(i,n,t),Cqt(i,n),i.push(``),i.push(`using var response = await client.SendAsync(request);`),i.join(`
+`)}}})),Dqt=s((()=>{Eqt()})),Oqt,EK,kqt,Aqt,jqt=s((()=>{p_(),yc(),My(),fK(),Oqt=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,EK=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`),kqt=e=>{let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`},Aqt={target:`csharp`,client:`restsharp`,title:`RestSharp`,generate(e,t){let n={method:`GET`,url:``,...e};if(n.method=sK(n.method),![`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`,`COPY`,`SEARCH`,`MERGE`].includes(n.method))return`// RestSharp does not support this HTTP method. Select HttpClient for a custom method.`;let r=lK(n.url,n.queryString),i=``;try{i=new URL(r).host}catch{}let a=[];a.push(`var client = new RestClient("${EK(r)}");`),a.push(`var request = new RestRequest("", ${Oqt(n.method)});`);let{username:o,password:s}=t?.auth??{},c=!!(o&&s);if(c){let e=yy(`${o}:${s}`);a.push(`request.AddHeader("Authorization", "Basic ${e}");`)}if(n.headers?.forEach(e=>{c&&e.name.toLowerCase()===`authorization`||a.push(`request.AddHeader("${EK(e.name)}", "${EK(e.value)}");`)}),n.cookies?.forEach(e=>{a.push(`request.AddCookie("${EK(e.name)}", "${EK(e.value)}", "/", "${EK(i)}");`)}),n.postData){let{mimeType:e,text:t,params:r}=n.postData,i=e?vc(e).essence:void 0;if(f_(e)){if(t){let e=t;try{e=JSON.stringify(JSON.parse(t),null,2)}catch{}a.push(`request.AddStringBody(${kqt(e)}, ContentType.Json);`)}}else i===`application/x-www-form-urlencoded`&&r?r.forEach(e=>{a.push(`request.AddParameter("${EK(e.name)}", "${EK(e.value??``)}");`)}):i===`multipart/form-data`&&r?r.forEach(e=>{e.fileName===void 0?a.push(`request.AddParameter("${EK(e.name)}", "${EK(e.value??``)}");`):e.contentType?a.push(`request.AddFile("${EK(e.name)}", "${EK(e.fileName)}", "${EK(e.contentType)}");`):a.push(`request.AddFile("${EK(e.name)}", "${EK(e.fileName)}");`)}):i===`application/octet-stream`&&t?a.push(`request.AddParameter("application/octet-stream", "${EK(t)}", ParameterType.RequestBody);`):t&&a.push(`request.AddParameter("${EK(e??``)}", "${EK(t)}", ParameterType.RequestBody);`)}return a.push(`var response = await client.ExecuteAsync(request);`),a.join(`
+`)}}})),Mqt=s((()=>{jqt()})),Nqt,Pqt=s((()=>{fK(),Nqt={target:`dart`,client:`http`,title:`Http`,generate(e,t){let n={method:`GET`,...e};n.method=sK(n.method);let r=n.postData?.mimeType===`multipart/form-data`&&n.postData.params,i=e=>JSON.stringify(e).replaceAll(`$`,`\\$`),a=e=>`'${e.replaceAll(`\\`,`\\\\`).replaceAll(`'`,`\\'`).replaceAll(`$`,`\\$`).replaceAll(`
+`,`\\n`).replaceAll(`\r`,`\\r`)}'`,o=`import 'package:http/http.dart' as http;
+
+void main() async {
+`;Array.isArray(r)&&r.some(e=>e.contentType)&&(o=`import 'package:http_parser/http_parser.dart';\n${o}`);let s=``,c=``;n.cookies&&n.cookies.length>0&&(c=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `),s=` "Cookie": "${c}",\n`);let l=n.headers?.reduce((e,t)=>(t.value&&!/[; ]/.test(t.name)&&!(r&&t.name.toLowerCase()===`content-type`)&&(e[t.name]=t.value),e),{})||{};if(t?.auth){let{username:e,password:n}=t.auth;e&&n&&(l.Authorization=`'Basic ' + base64Encode(utf8.encode('${`${e}:${n}`}'))`)}if(s&&(l.Cookie=c),Object.keys(l).length>0){o+=` final headers = <String,String>{
+`;for(let[e,t]of Object.entries(l))t.includes(`utf8.encode`)?o+=` '${e}': ${t},\n`:o+=` ${a(e)}: ${a(t)},\n`;o+=` };
+
+`}let u=lK(n.url??``,n.queryString),d=``;if(n.postData){if(n.postData.mimeType===`application/json`){let e=n.postData.text??``;d=/['\r\n]/.test(e)?` final body = ${a(e)};\n\n`:` final body = r'${e}';\n\n`}else n.postData.mimeType===`application/x-www-form-urlencoded`?d=` final body = ${a(n.postData.params?.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`)||``)};\n\n`:n.postData.mimeType===`application/octet-stream`?d=` final body = ${a(n.postData.text??``)};\n\n`:n.postData.text&&(d=` final body = ${a(n.postData.text)};\n\n`)}if(d&&(o+=d),r){o+=` final request = http.MultipartRequest(${i(n.method)}, Uri.parse(${i(u)}));\n`,Object.keys(l).length&&(o+=` request.headers.addAll(headers);
+`);for(let e of r){let t=e.contentType?`, contentType: MediaType.parse(${i(e.contentType)})`:``;o+=e.fileName===void 0?` request.files.add(http.MultipartFile.fromString(${i(e.name)}, ${i(e.value??``)}${t}));\n`:` request.files.add(await http.MultipartFile.fromPath(${i(e.name)}, ${i(e.fileName)}${t}));\n`}return o+=` final response = await http.Response.fromStream(await request.send());
+`,o+=` print(response.body);
+}`,o}let f=n.method.toLowerCase(),p=Object.keys(l).length>0?`, headers: headers`:``,m=d?`, body: body`:``;if([`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`].includes(n.method)&&!(d&&[`GET`,`HEAD`].includes(n.method)))o+=` final response = await http.${f}(Uri.parse('${u}')${p}${m});\n`;else{let e=n.method.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`).replace(/\$/g,`\\$`);o+=` final request = http.Request('${e}', Uri.parse('${u}'));\n`,Object.keys(l).length>0&&(o+=` request.headers.addAll(headers);
+`),d&&(o+=n.postData?.mimeType===`multipart/form-data`?` request.bodyFields = body;
+`:` request.body = body;
+`),o+=` final response = await http.Response.fromStream(await request.send());
+`}return o+=` print(response.body);
+`,o+=`}`,o}}})),Fqt=s((()=>{Pqt()}));function Iqt(e,t){return`let httpRequestMessage = new HttpRequestMessage(
+ HttpMethod("${e}"),
+ new Uri("${DK(t)}")
+)\n\n`}function Lqt(e){let t=``;for(let n of e)t+=`httpRequestMessage.Headers.Add("${DK(n.name??``)}", "${DK(n.value??``)}")\n`;return t+=`
+`,t}function Rqt(e,t){let n=`let cookieContainer = CookieContainer()
+`;for(let r of e)n+=`cookieContainer.Add(Uri("${DK(t)}"), Cookie("${DK(r.name??``)}", "${DK(r.value??``)}"))\n`;return n+=`use handler = new HttpClientHandler()
+`,n+=`handler.CookieContainer <- cookieContainer
+
+`,n}function zqt(e){if(!e)return``;let t=``;switch(e.mimeType){case`multipart/form-data`:t+=Vqt(e);break;case`application/x-www-form-urlencoded`:t+=Uqt(e);break;case`application/json`:t+=Hqt(e);break;default:t+=Bqt(e,e.mimeType)}return t+=`httpRequestMessage.Content <- content
+
+`,t}function Bqt(e,t){let n=`let content = new StringContent("${DK(e.text??``)}", Encoding.UTF8, "${DK(t??``)}")\n`;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${DK(t??``)}")\n`,n}function Vqt(e){let t=`let content = new MultipartFormDataContent()
+`,n=0,r=0;for(let i of e.params??[])if(i.fileName!==void 0){let e=DK(i.fileName??``);t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${e}"))\n`,i.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${DK(i.contentType)}")\n`),t+=`content.Add(fileStreamContent_${n}, "${DK(i.name)}", "${e}")\n`,n++}else{let e=DK(i.name??``),n=DK(i.value??``);i.contentType?(t+=`let stringContent_${r} = new StringContent("${n}")\n`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${DK(i.contentType)}")\n`,t+=`content.Add(stringContent_${r}, "${e}")\n`,r++):t+=`content.Add(new StringContent("${n}"), "${e}")\n`}return t}function Hqt(e){let t;try{t=JSON.stringify(JSON.parse(e.text??`{}`),null,2)}catch{t=e.text??`{}`}return`let content = new StringContent("""${t}""", Encoding.UTF8, "application/json")\n`}function Uqt(e){let t=`let formUrlEncodedContentDictionary = new Dictionary<string, string>()
+`;for(let n of e.params??[])t+=`formUrlEncodedContentDictionary.Add("${DK(n.name??``)}", "${DK(n.value??``)}")\n`;return t+=`let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)
+`,t}function DK(e){return e==null?``:e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}var Wqt,Gqt=s((()=>{fK(),Wqt={target:`fsharp`,client:`httpclient`,title:`HttpClient`,generate:(e,t)=>{if(!e)return``;let n=lK(e.url??``,e.queryString),r=``;return r+=Iqt(e.method,n),e.headers&&e.headers.length>0&&(r+=Lqt(e.postData?.mimeType===`multipart/form-data`&&e.postData.params?e.headers.filter(({name:e})=>e.toLowerCase()!==`content-type`):e.headers)),e.postData&&(r+=zqt(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=Rqt(e.cookies,e.url),r+=`let client = new HttpClient(handler)
+`):r+=`let client = new HttpClient()
+`,r+=`let! result = client.SendAsync(httpRequestMessage)
+`,r}}})),Kqt=s((()=>{Gqt()})),qqt,OK,Jqt,Yqt,Xqt,Zqt,Qqt,$qt,eJt=s((()=>{fK(),qqt=e=>e.includes(` `)?e:OK(e),OK=e=>JSON.stringify(e),Jqt=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},Yqt=e=>!e.includes("`"),Xqt=(e,t=!1)=>t&&Yqt(e)?`\`${e}\``:OK(e),Zqt=e=>{let t=new Set;if(!e)return{imports:t,setupLines:[],requestBody:`nil`,needsMultipartContentTypeHeader:!1};if(e.mimeType===`application/x-www-form-urlencoded`&&e.params?.length)return t.add(`neturl "net/url"`),t.add(`strings`),{imports:t,setupLines:[`postData := neturl.Values{}`,...e.params.map(e=>`postData.Set(${OK(e.name)}, ${OK(e.value??``)})`)],requestBody:`strings.NewReader(postData.Encode())`,needsMultipartContentTypeHeader:!1};if(e.mimeType===`multipart/form-data`&&e.params?.length){t.add(`bytes`),t.add(`mime/multipart`);let n=[`payload := &bytes.Buffer{}`,`writer := multipart.NewWriter(payload)`],r=e.params.some(e=>e.fileName!==void 0),i=!1,a=!1;return r&&(t.add(`os`),t.add(`io`)),e.params.forEach(e=>{n.push(``),e.fileName===void 0?n.push(`_ = writer.WriteField(${OK(e.name)}, ${OK(e.value??``)})`):(n.push(`part, _ ${i?`=`:`:=`} writer.CreateFormFile(${OK(e.name)}, ${OK(e.fileName)})`),n.push(``),n.push(`f, _ ${a?`=`:`:=`} os.Open(${OK(e.fileName)})`),n.push(`defer f.Close()`),n.push(``),n.push(`_, _ = io.Copy(part, f)`),i=!0,a=!0)}),n.push(`writer.Close()`),{imports:t,setupLines:n,requestBody:`payload`,needsMultipartContentTypeHeader:!0}}t.add(`strings`);let n=e.mimeType===`application/json`?Jqt(e.text):e.text??``;return{imports:t,setupLines:[`payload := strings.NewReader(${Xqt(n,e.mimeType===`application/json`)})`],requestBody:`payload`,needsMultipartContentTypeHeader:!1}},Qqt=e=>Array.from(new Set([`fmt`,`io`,`net/http`,...e])).sort(),$qt={target:`go`,client:`native`,title:`NewRequest`,generate(e,t){if(!e)return``;let n=sK(e.method),r=cK(lK(e.url??``,e.queryString)),i=uK(e.headers,e.cookies),a=Zqt(e.postData),o=[`package main`,``,`import (`,...Qqt(a.imports).map(e=>`\t${qqt(e)}`),`)`,``,`func main() {`,`\trequestUrl := ${OK(r)}`,``,...a.setupLines.map(e=>e?`\t${e}`:``)];return a.setupLines.length&&o.push(``),o.push(`\treq, _ := http.NewRequest(${OK(n)}, requestUrl, ${a.requestBody})`),o.push(``),a.needsMultipartContentTypeHeader&&o.push(` req.Header.Set("Content-Type", writer.FormDataContentType())`),t?.auth?.username&&t?.auth?.password&&o.push(`\treq.SetBasicAuth(${OK(t.auth.username)}, ${OK(t.auth.password)})`),i.forEach(e=>{o.push(`\treq.Header.Add(${OK(e.name)}, ${OK(e.value)})`)}),(a.needsMultipartContentTypeHeader||i.length||t?.auth?.username&&t.auth.password)&&o.push(``),o.push(` res, _ := http.DefaultClient.Do(req)`),o.push(``),o.push(` defer res.Body.Close()`),o.push(` body, _ := io.ReadAll(res.Body)`),o.push(``),o.push(` fmt.Println(res)`),o.push(` fmt.Println(string(body))`),o.push(``),o.push(`}`),o.join(`
+`)}}})),tJt=s((()=>{eJt()})),kK,nJt,AK,jK,MK=s((()=>{My(),fK(),kK=e=>e.replaceAll(`\r`,`%0D`).replaceAll(`
+`,`%0A`).replaceAll(`"`,`%22`),nJt=e=>{let t=JSON.stringify(e),n=`scalar-boundary`;for(;t.includes(n);)n+=`-`;let r=[];for(let t of e){let e=t.fileName===void 0?``:`; filename="${kK(t.fileName)}"`,i=t.contentType??(t.fileName===void 0?void 0:`application/octet-stream`);r.push({text:`--${n}\r\nContent-Disposition: form-data; name="${kK(t.name)}"${e}\r\n${i?`Content-Type: ${i}\r\n`:``}\r\n`}),r.push(t.fileName===void 0?{text:t.value??``}:{file:t.fileName}),r.push({text:`\r
+`})}return r.push({text:`--${n}--\r\n`}),{contentType:`multipart/form-data; boundary=${n}`,body:r}},AK=(e={},t)=>{let n=[...e.headers??[],...uK([],e.cookies)];t?.auth?.username&&t.auth.password&&n.push({name:`Authorization`,value:`Basic ${jy.encode(`${t.auth.username}:${t.auth.password}`)}`});let r=e.postData,i=r?.mimeType===`multipart/form-data`&&r.params?nJt(r.params):void 0,a=i?.body??(r?[{text:r.mimeType===`application/x-www-form-urlencoded`&&r.params?new URLSearchParams(r.params.map(({name:e,value:t})=>[e,t??``])).toString():r.text??``}]:void 0),o=i?.contentType??r?.mimeType,s=i?n.filter(({name:e})=>e.toLowerCase()!==`content-type`):n;return o&&!s.some(({name:e})=>e.toLowerCase()===`content-type`)&&s.push({name:`Content-Type`,value:o}),{url:cK(lK(e.url??``,e.queryString)),method:sK(e.method),headers:s,body:a}},jK=e=>e?.body?.some(e=>`file`in e)?e.headers.find(({name:e})=>e.toLowerCase()===`content-type`)?.value.split(`boundary=`)[1]:void 0})),rJt,iJt=s((()=>{p_(),fK(),MK(),rJt={target:`http`,client:`http1.1`,title:`HTTP/1.1`,generate(e){let t={method:`GET`,headers:[],queryString:[],...e};t.method=sK(t.method);let n,r;try{n=new URL(t.url||`http://`),r=n.pathname+(n.search||``)}catch{r=t.url||`/`}let i=n?.host||`UNKNOWN_HOSTNAME`,a=`${t.method} ${lK(r,t.queryString)} HTTP/1.1\r\n`,o=new Map;o.set(`Host`,i),t.headers.forEach(e=>{o.has(e.name)?o.set(e.name,`${o.get(e.name)}, ${e.value}`):o.set(e.name,e.value)});let s=``;if(t.postData){if(f_(t.postData.mimeType)&&t.postData.text)o.set(`Content-Type`,t.postData.mimeType),s=t.postData.text;else if(t.postData.mimeType===`application/octet-stream`&&t.postData.text)o.set(`Content-Type`,`application/octet-stream`),s=t.postData.text;else if(t.postData.mimeType===`application/x-www-form-urlencoded`&&t.postData.params){let e=t.postData.params.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);o.set(`Content-Type`,`application/x-www-form-urlencoded`),s=e}else if(t.postData.mimeType===`multipart/form-data`&&t.postData.params){let e=`{{boundary}}`;a=`// Files and boundary variables use VS Code REST Client syntax.\r\n@boundary = {{$guid}}\r\n\r\n${a}`,o.set(`Content-Type`,`multipart/form-data; boundary=${e}`),s=t.postData.params.map(t=>{let n=t.contentType?`Content-Type: ${t.contentType}\r\n`:``;return t.fileName===void 0?`--${e}\r\nContent-Disposition: form-data; name="${kK(t.name)}"\r\n${n}\r\n${t.value??``}\r\n`:`--${e}\r\nContent-Disposition: form-data; name="${kK(t.name)}"; filename="${kK(t.fileName)}"\r\n${n}\r\n< ${t.fileName}\r\n`}).join(``)+`--${e}--\r\n`}else t.postData.text&&(t.postData.mimeType&&o.set(`Content-Type`,t.postData.mimeType),s=t.postData.text)}return o.forEach((e,t)=>{a+=`${t}: ${e}\r\n`}),a+=`\r\n${s}`,a}}})),aJt=s((()=>{iJt()})),NK,PK,FK=s((()=>{NK=e=>`"${Array.from(e,e=>{let t=e.charCodeAt(0);return t<32&&![`
+`,`\r`,` `,`\b`,`\f`].includes(e)?`\\${t.toString(8).padStart(3,`0`)}`:JSON.stringify(e).slice(1,-1)}).join(``)}"`,PK=(e,t)=>e?[...t?[`String boundary = java.util.UUID.randomUUID().toString();`]:[],`java.io.ByteArrayOutputStream body = new java.io.ByteArrayOutputStream();`,...e.map(e=>`file`in e?`body.write(java.nio.file.Files.readAllBytes(java.nio.file.Path.of(${NK(e.file)})));`:`body.write(${t?`(${NK(e.text)}.replace(${NK(t)}, boundary))`:NK(e.text)}.getBytes(java.nio.charset.StandardCharsets.UTF_8));`),``]:[]})),oJt,sJt=s((()=>{FK(),MK(),oJt={target:`java`,client:`asynchttp`,title:`AsyncHttp`,generate(e,t){let n=AK(e,t),{url:r,method:i,headers:a,body:o}=n,s=jK(n);return[...PK(o,s),`try (AsyncHttpClient client = new DefaultAsyncHttpClient()) {`,` Response response = client.prepare(${NK(i)}, ${NK(r)})`,...a.map(({name:e,value:t})=>` .addHeader(${NK(e)}, ${s&&e.toLowerCase()===`content-type`?`${NK(t)}.replace(${NK(s)}, boundary)`:NK(t)})`),...o?[` .setBody(body.toByteArray())`]:[],` .execute()`,` .get();`,` System.out.println(response.getResponseBody());`,`}`].join(`
+`)}}})),cJt=s((()=>{sJt()})),lJt,uJt=s((()=>{FK(),MK(),lJt={target:`java`,client:`nethttp`,title:`java.net.http`,generate(e,t){let n=AK(e,t),{url:r,method:i,headers:a,body:o}=n,s=jK(n);return[...PK(o,s),`HttpClient client = HttpClient.newHttpClient();`,`HttpRequest request = HttpRequest.newBuilder()`,` .uri(java.net.URI.create(${NK(r)}))`,...a.map(({name:e,value:t})=>` .header(${NK(e)}, ${s&&e.toLowerCase()===`content-type`?`${NK(t)}.replace(${NK(s)}, boundary)`:NK(t)})`),` .method(${NK(i)}, HttpRequest.BodyPublishers.${o?`ofByteArray(body.toByteArray())`:`noBody()`})`,` .build();`,``,`HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());`,`System.out.println(response.body());`].join(`
+`)}}})),dJt=s((()=>{uJt()})),fJt,pJt=s((()=>{FK(),MK(),fJt={target:`java`,client:`okhttp`,title:`OkHttp`,generate(e,t){let{url:n,method:r,headers:i}=AK(e,t),a=[`GET`,`HEAD`].includes(r)?void 0:e?.postData,o=a?.mimeType===`multipart/form-data`&&a.params,s=a?.mimeType===`application/x-www-form-urlencoded`&&a.params,c=[`OkHttpClient client = new OkHttpClient();`,``];if(o){c.push(`RequestBody body = new MultipartBody.Builder()`,` .setType(MultipartBody.FORM)`);for(let e of o){let t=NK(e.name),n=NK(e.value??``);e.fileName===void 0?e.contentType?c.push(` .addFormDataPart(${t}, null, RequestBody.create(MediaType.parse(${NK(e.contentType)}), ${n}))`):c.push(` .addFormDataPart(${t}, ${n})`):c.push(` .addFormDataPart(${t}, ${NK(e.fileName)}, RequestBody.create(MediaType.parse(${NK(e.contentType??`application/octet-stream`)}), new java.io.File(${NK(e.fileName)})))`)}c.push(` .build();`,``)}else if(s){c.push(`RequestBody body = new FormBody.Builder()`);for(let e of s)c.push(` .add(${NK(e.name)}, ${NK(e.value??``)})`);c.push(` .build();`,``)}else a&&c.push(`RequestBody body = RequestBody.create(${a.mimeType?`MediaType.parse(${NK(a.mimeType)})`:`null`}, ${NK(a.text??``)});`,``);let l=[`POST`,`PUT`,`PATCH`,`PROPPATCH`,`REPORT`].includes(r)?`RequestBody.create(null, "")`:`null`,u=a?`body`:l;c.push(`Request request = new Request.Builder()`,` .url(${NK(n)})`,` .method(${NK(r)}, ${u})`);for(let{name:e,value:t}of i)(!o||e.toLowerCase()!==`content-type`)&&c.push(` .addHeader(${NK(e)}, ${NK(t)})`);return c.push(` .build();`,``,`try (Response response = client.newCall(request).execute()) {`,` System.out.println(response.body().string());`,`}`),c.join(`
+`)}}})),mJt=s((()=>{pJt()})),hJt,gJt=s((()=>{FK(),MK(),hJt={target:`java`,client:`unirest`,title:`Unirest`,generate(e,t){let n=AK(e,t),{url:r,method:i,headers:a,body:o}=n,s=jK(n);return[...PK(o,s),`HttpResponse<String> response = Unirest.request(${NK(i)}, ${NK(r)})`,...a.map(({name:e,value:t})=>` .header(${NK(e)}, ${s&&e.toLowerCase()===`content-type`?`${NK(t)}.replace(${NK(s)}, boundary)`:NK(t)})`),...o?[` .body(body.toByteArray())`]:[],` .asString();`,`System.out.println(response.getBody());`].join(`
+`)}}})),_Jt=s((()=>{gJt()}));function vJt(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function IK(e,t=0){let n=[],r=` `.repeat(t),i=` `.repeat(t+2);if(Array.isArray(e)){let n=e.map(e=>typeof e==`string`?`'${LK(e)}'`:e&&typeof e==`object`?IK(e):JSON.stringify(e));return n.some(e=>e.includes(`
+`))?`[\n${n.map(e=>yJt(e,t+2)).join(`,
+`)}\n${r}]`:`[${n.join(`, `)}]`}if(Object.keys(e).length===0)return`{}`;for(let[r,a]of Object.entries(e)){let e=vJt(r)?`'${LK(r)}'`:r;if(a instanceof RK){let t=a.value.split(`
+`),r=`${a.value}`;t.length>1&&(r=t.map((e,t)=>t===0?e:`${i}${e}`).join(`
+`)),n.push(`${i}${e}: ${r}`)}else if(a&&typeof a==`object`)n.push(`${i}${e}: ${IK(a,t+2)}`);else if(typeof a==`string`){let t=`'${LK(a)}'`;n.push(`${i}${e}: ${t}`)}else n.push(`${i}${e}: ${a}`)}return`{\n${n.join(`,
+`)}\n${r}}`}function yJt(e,t){let n=` `.repeat(t);return e.split(`
+`).map(e=>`${n}${e}`).join(`
+`)}var LK,RK,zK=s((()=>{LK=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`
+`,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`),RK=class{value;constructor(e){this.value=e}}})),BK,VK,HK,UK=s((()=>{zK(),MK(),BK=e=>e.some(e=>e.fileName===void 0&&!!e.contentType),VK=(e,t,n=`formData`)=>{let r=e.filter(e=>e.fileName!==void 0&&(t===`node`||e.value===void 0||e.value===`@${e.fileName}`)),i=BK(e),a=i?[]:[`const ${n} = new FormData();`];r.length&&(t===`node`?a.unshift(`import { readFileSync } from 'node:fs';`,``):(a.push(`// Select upload files with an <input type="file" multiple> element first.`),a.push(`const files = document.querySelector('input[type="file"]').files;`))),i&&(a.push(`const ${n}Boundary = Array.from(globalThis.crypto.getRandomValues(new Uint8Array(16)), (byte) => byte.toString(16).padStart(2, "0")).join("");`),a.push(`const ${n} = new Blob([`));for(let o of e){let e=JSON.stringify(o.name),s=JSON.stringify(o.value??``),c=r.includes(o)?`files[${r.indexOf(o)}]`:s,l=t===`node`?`readFileSync(${JSON.stringify(o.fileName)})`:c;if(i){let e=o.fileName===void 0?``:`; filename="${kK(o.fileName)}"`,t=o.contentType??(o.fileName===void 0?void 0:`application/octet-stream`),r=`\r\nContent-Disposition: form-data; name="${kK(o.name)}"${e}\r\n${t?`Content-Type: ${t}\r\n`:``}\r\n`,i=o.fileName===void 0?JSON.stringify((o.value??``).replace(/\r\n|\r|\n/g,`\r
+`)):l;a.push(` "--" + ${n}Boundary + ${JSON.stringify(r)},`),a.push(` ${i},`),a.push(` "\\r\\n",`)}else if(o.fileName!==void 0){let t=JSON.stringify(o.fileName),r=l;a.push(`${n}.append(${e}, new File([${r}], ${t}, { type: ${JSON.stringify(o.contentType??`application/octet-stream`)} }));`)}else a.push(`${n}.append(${e}, ${s});`)}return i&&(a.push(` "--" + ${n}Boundary + "--\\r\\n",`),a.push(`], { type: "multipart/form-data; boundary=" + ${n}Boundary });`)),a},HK=(e,t=`formData`)=>{let n=e.postData?.mimeType===`multipart/form-data`?e.postData.params:void 0;if(!n)return e.headers;let r=e.headers?.filter(({name:e})=>e.toLowerCase()!==`content-type`)??[];return BK(n)&&r.push({name:`Content-Type`,value:new RK(`${t}.type`)}),r}})),WK,bJt,xJt,GK,SJt=s((()=>{UK(),fK(),zK(),WK=(e,t,n)=>{n===``?e[t]=n:dK(e,t,n)},bJt=e=>{let t={},n={};if(HK(e??{})?.forEach(e=>{e.value instanceof RK?n[e.name]=e.value:WK(t,e.name,e.value)}),e?.cookies?.length){let n=e.cookies.map(e=>`${e.name}=${e.value}`).join(`; `);WK(t,`Cookie`,n)}return Object.keys(t).length||Object.keys(n).length?{...t,...n}:void 0},xJt=(e,t)=>{let n=[],r=e?.postData;if(!r)return{setup:n};if(r.mimeType===`application/json`){if(!r.text)return{setup:n};try{return{setup:n,data:JSON.parse(r.text)}}catch{return{setup:n,data:r.text}}}return r.mimeType===`application/x-www-form-urlencoded`&&r.params?.length?(n.push(`const encodedParams = new URLSearchParams()`),r.params.forEach(e=>{let t=LK(e.name),r=LK(e.value??``);n.push(`encodedParams.append('${t}', '${r}')`)}),{setup:n,data:new RK(`encodedParams`)}):r.mimeType===`multipart/form-data`&&r.params?.length?(n.push(...VK(r.params,t)),{setup:n,data:new RK(`formData`)}):r.text?{setup:n,data:r.text}:{setup:n}},GK=e=>({target:e,client:`axios`,title:`Axios`,generate(t,n){let r={method:`GET`,...t};r.method=sK(r.method);let i={method:r.method,url:r.url??``},a=oK(r.queryString);Object.keys(a).length&&(i.params=a);let o=bJt(r);o&&(i.headers=o),n?.auth?.username&&n?.auth?.password&&(i.auth={username:n.auth.username,password:n.auth.password});let{setup:s,data:c}=xJt(r,e);return c!==void 0&&(i.data=c),`import axios from 'axios'
+
+${s.length?`${s.join(`
+`)}\n\n`:``}const options = ${IK(i)}
+
+try {
+ const { data } = await axios.request(options)
+ console.log(data)
+} catch (error) {
+ console.error(error)
+}`}})})),CJt,wJt=s((()=>{SJt(),CJt=GK(`js`)})),TJt=s((()=>{wJt()})),EJt,DJt=s((()=>{UK(),fK(),zK(),EJt={target:`js`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=sK(t.method);let r={method:t.method===`GET`?void 0:t.method},i=lK(t.url??``,t.queryString),a=HK(t);if(a?.length&&(r.headers={},a.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers[`Set-Cookie`]=r.headers[`Set-Cookie`]?`${r.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData;if(e===`application/json`&&i)try{r.body=new RK(`JSON.stringify(${IK(JSON.parse(i))})`)}catch{r.body=i}else if(e===`multipart/form-data`&&a)n=`${VK(a,`js`).join(`
+`)}\n\n`,r.body=new RK(`formData`);else if(e===`application/x-www-form-urlencoded`&&a){let e=Object.fromEntries(a.map(e=>[e.name,e.value]));r.body=new RK(`new URLSearchParams(${IK(e)})`)}else r.body=t.postData.text}let o=Object.keys(r).length?`, ${IK(r)}`:``;return`${n}fetch('${i}'${o})`}}})),OJt=s((()=>{DJt()})),KK,kJt=s((()=>{My(),UK(),fK(),KK=(e={},t)=>{let n=[...(e.cookies??[]).map(({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`),...(e.headers??[]).filter(({name:e})=>e.toLowerCase()===`cookie`).flatMap(({value:e})=>(e??``).split(`;`).map(e=>e.trim())).filter(e=>e.includes(`=`))],r=(e.headers??[]).filter(({name:e})=>e.toLowerCase()!==`cookie`);t?.auth?.username&&t.auth.password&&r.push({name:`Authorization`,value:`Basic ${jy.encode(`${t.auth.username}:${t.auth.password}`)}`});let i=[];if(n.length){i.push(`// Run on the request origin; document.cookie writes cookies for the current page's domain.`);for(let e of n)i.push(`document.cookie = ${JSON.stringify(`${e}; path=/`)};`)}let a=e.postData,o=a?.mimeType===`multipart/form-data`&&a.params,s=a?.mimeType===`application/x-www-form-urlencoded`&&a.params;if(o)i.push(...VK(o,`js`,`body`));else if(s){i.push(`const body = new URLSearchParams();`);for(let e of s)i.push(`body.append(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)});`)}a?.mimeType&&!o&&!r.some(({name:e})=>e.toLowerCase()===`content-type`)&&r.push({name:`Content-Type`,value:a.mimeType});let c=a?JSON.stringify(a.text??``):`null`,l=s?`body.toString()`:c;return{url:lK(e.url??``,e.queryString),method:sK(e.method),headers:HK({...e,headers:r},`body`)??[],setup:i,withCredentials:!!n.length,body:o?`body`:l}}})),AJt,jJt=s((()=>{kJt(),zK(),AJt={target:`js`,client:`jquery`,title:`jQuery`,generate(e,t){let{url:n,method:r,headers:i,setup:a,body:o,withCredentials:s}=KK(e,t);return[...a,`$.ajax({`,` url: ${JSON.stringify(n)},`,` method: ${JSON.stringify(r)},`,...s?[` xhrFields: { withCredentials: true },`]:[],` processData: false,`,` contentType: false,`,...i.length?[` beforeSend(xhr) {`,...i.map(({name:e,value:t})=>` xhr.setRequestHeader(${JSON.stringify(e)}, ${t instanceof RK?t.value:JSON.stringify(t)});`),` },`]:[],` data: ${o}`,`}).done((response) => console.log(response));`].join(`
+`)}}})),MJt=s((()=>{jJt()})),NJt,PJt=s((()=>{UK(),fK(),zK(),NJt={target:`js`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=sK(t.method);let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=oK(t.queryString));let r=HK(t);r?.length&&(n.headers={},r.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]});let i=``;t.postData&&(t.postData.mimeType===`multipart/form-data`&&t.postData.params?(i=`${VK(t.postData.params,`js`).join(`
+`)}\n\n`,n.body=new RK(`formData`)):n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let a=Object.keys(n).length?`, ${IK(n)}`:``;return`import { ofetch } from 'ofetch'
+
+${i}ofetch('${t.url}'${a})`}}})),FJt=s((()=>{PJt()})),IJt,LJt=s((()=>{kJt(),zK(),IJt={target:`js`,client:`xhr`,title:`XHR`,generate(e,t){let{url:n,method:r,headers:i,setup:a,body:o}=KK(e,t);return[...a,`const xhr = new XMLHttpRequest();`,`xhr.open(${JSON.stringify(r)}, ${JSON.stringify(n)});`,`xhr.withCredentials = true;`,...i.map(({name:e,value:t})=>`xhr.setRequestHeader(${JSON.stringify(e)}, ${t instanceof RK?t.value:JSON.stringify(t)});`),`xhr.addEventListener("load", () => console.log(xhr.responseText));`,`xhr.send(${o});`].join(`
+`)}}})),RJt=s((()=>{LJt()})),zJt,qK,JK,YK,XK,ZK,QK,BJt=s((()=>{js(),zJt=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\$/g,`\\$`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`),qK=e=>`"${zJt(e)}"`,JK=(e,t)=>`${` `.repeat(e*4)}${t}`,YK=(e,t,n,r)=>{if(e.length===0)return`${t}${n}`;let[i]=e;return e.length===1&&i&&!i.includes(`
+`)?`${t}${i}${n}`:`${t}\n${e.map(e=>JK(r+1,e)).join(`,
+`)}\n${JK(r,n)}`},XK=(e,t)=>YK(e.map(({name:e,value:t})=>`${qK(e)} => ${qK(t)}`),`[`,`]`,t),ZK=(e,t)=>YK(e.map(({name:e,value:t})=>`${qK(e)} => ${qK(t)}`),`Dict(`,`)`,t),QK=(e,t)=>e==null?`nothing`:typeof e==`boolean`?e?`true`:`false`:typeof e==`number`?Number.isFinite(e)?String(e):`nothing`:typeof e==`string`?qK(e):Array.isArray(e)?YK(e.map(e=>QK(e,t+1)),`[`,`]`,t):As(e)?YK(Object.entries(e).map(([e,n])=>`${qK(e)} => ${QK(n,t+1)}`),`Dict(`,`)`,t):qK(String(e))})),VJt,$K,eq,HJt,UJt,WJt,GJt,KJt=s((()=>{fK(),BJt(),VJt=[`POST`,`PUT`,`PATCH`,`DELETE`,`QUERY`],$K=[`GET`,`HEAD`,`OPTIONS`],eq=1,HJt=e=>{let t=qK(e.name);if(e.fileName===void 0)return`${t} => ${qK(e.value??``)}`;let n=qK(e.fileName),r=[n,`open(${n})`];return e.contentType&&r.push(qK(e.contentType)),`${t} => HTTP.Multipart(${r.join(`, `)})`},UJt=e=>{if(!e)return;let{mimeType:t,text:n,params:r}=e;if(t===`application/json`&&n)try{return{value:`JSON.json(${QK(JSON.parse(n),eq)})`,packages:[`JSON`],omitContentType:!1}}catch{}if(t===`multipart/form-data`&&r?.length)return{value:YK(r.map(HJt),`HTTP.Form([`,`])`,eq),packages:[],omitContentType:!0};if(t===`application/x-www-form-urlencoded`&&r?.length)return{value:ZK(r.map(e=>({name:e.name,value:e.value??``})),eq),packages:[],omitContentType:!1};if(n)return{value:qK(n),packages:[],omitContentType:!1}},WJt=(e,t,n,r)=>{let i=[...t,...n];if(n.length===0&&r.length===0)return[`response = ${e}(${i.join(`, `)})`];let a=[`response = ${e}(`];return i.forEach((e,t)=>{let n=t===i.length-1,o=r.length?`;`:``,s=n?o:`,`;a.push(`${JK(eq,e)}${s}`)}),r.forEach((e,t)=>{a.push(`${JK(eq,e)}${t===r.length-1?``:`,`}`)}),a.push(`)`),a},GJt={target:`julia`,client:`http`,title:`HTTP.jl`,generate(e,t){let n={url:`https://example.com`,...e},r=sK(n.method),i=UJt(n.postData),a=new Map;for(let e of n.headers??[])!e.name||i?.omitContentType&&e.name.toLowerCase()===`content-type`||a.set(e.name,e.value??``);let o=[...VJt,...$K].includes(r)?r.toLowerCase():void 0,s=o?`HTTP.${o}`:`HTTP.request`,c=qK(n.url),l=o?[c]:[qK(r),c],u=[],d=[];if(a.size&&u.push(XK([...a].map(([e,t])=>({name:e,value:t})),eq)),i&&($K.includes(r)||a.size===0?d.push(`body = ${i.value}`):u.push(i.value)),n.queryString?.length&&d.push(`query = ${XK(n.queryString,eq)}`),n.cookies?.length&&d.push(`cookies = ${ZK(n.cookies,eq)}`),t?.auth?.username&&t?.auth?.password){let{username:e,password:n}=t.auth;d.push(`basicauth = (${qK(e)}, ${qK(n)})`)}return[...[`HTTP`,...i?.packages??[]].map(e=>`using ${e}`),``,...WJt(s,l,u,d),``,`println(String(response.body))`].join(`
+`)}}})),qJt=s((()=>{KJt()})),JJt,YJt,tq,XJt,ZJt=s((()=>{fK(),JJt=[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`],YJt=[`POST`,`PUT`,`DELETE`,`PATCH`],tq=e=>JSON.stringify(e).replaceAll(`$`,`\\$`),XJt={target:`kotlin`,client:`okhttp`,title:`OkHttp`,generate(e,t){let n=sK(e?.method),r=cK(lK(e?.url??``,e?.queryString)),i=e?.postData,a=[`val client = OkHttpClient()`,``],o=!1;i?.mimeType===`application/x-www-form-urlencoded`&&i.params?(a.push(`val body = FormBody.Builder()`),i.params.forEach(e=>{a.push(` .add(${tq(e.name??``)}, ${tq(e.value??``)})`)}),a.push(` .build()`,``),o=!0):i?.mimeType===`multipart/form-data`&&i.params?(a.push(`val body = MultipartBody.Builder()`,` .setType(MultipartBody.FORM)`),i.params.forEach(e=>{e.fileName===void 0?e.contentType?a.push(` .addFormDataPart(${tq(e.name)}, null, RequestBody.create(MediaType.parse(${tq(e.contentType)}), ${tq(e.value??``)}))`):a.push(` .addFormDataPart(${tq(e.name)}, ${tq(e.value??``)})`):a.push(` .addFormDataPart(${tq(e.name??``)}, ${tq(e.fileName)}, RequestBody.create(MediaType.parse(${tq(e.contentType??`application/octet-stream`)}), File(${tq(e.fileName)})))`)}),a.push(` .build()`,``),o=!0):i&&(a.push(`val mediaType = MediaType.parse(${tq(i.mimeType??``)})`),a.push(`val body = RequestBody.create(mediaType, ${tq(i.text??``)})`),o=!0),a.push(`val request = Request.Builder()`,` .url(${tq(r)})`);let s=[`POST`,`PUT`,`PATCH`,`PROPPATCH`,`REPORT`].includes(n)?`RequestBody.create(null, "")`:`null`,c=o?`body`:s;return JJt.includes(n)?YJt.includes(n)?a.push(` .${n.toLowerCase()}(${c})`):a.push(` .${n.toLowerCase()}()`):a.push(` .method(${tq(n)}, ${c})`),t?.auth?.username&&t?.auth?.password&&a.push(` .addHeader("Authorization", Credentials.basic(${tq(t.auth.username)}, ${tq(t.auth.password)}))`),[...e?.headers??[],...uK([],e?.cookies)].forEach(e=>{a.push(` .addHeader(${tq(e.name)}, ${tq(e.value)})`)}),a.push(` .build()`,``,`val response = client.newCall(request).execute()`),a.join(`
+`)}}})),QJt=s((()=>{ZJt()})),$Jt,eYt=s((()=>{SJt(),$Jt=GK(`node`)})),tYt=s((()=>{eYt()})),nYt,rYt=s((()=>{UK(),fK(),zK(),nYt={target:`node`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=sK(t.method);let r={method:t.method===`GET`?void 0:t.method},i=lK(t.url??``,t.queryString),a=HK(t);if(a?.length&&(r.headers={},a.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers[`Set-Cookie`]=r.headers[`Set-Cookie`]?`${r.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData;if(e===`application/json`&&i)try{r.body=new RK(`JSON.stringify(${IK(JSON.parse(i))})`)}catch{r.body=i}else if(e===`multipart/form-data`&&a)n=`${VK(a,`node`).join(`
+`)}\n\n`,r.body=new RK(`formData`);else if(e===`application/x-www-form-urlencoded`&&a){let e=Object.fromEntries(a.map(e=>[e.name,e.value]));r.body=new RK(`new URLSearchParams(${IK(e)})`)}else r.body=t.postData.text}let o=Object.keys(r).length?`, ${IK(r)}`:``;return`${n}fetch('${i}'${o})`}}})),iYt=s((()=>{rYt()})),aYt,oYt=s((()=>{UK(),fK(),zK(),aYt={target:`node`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=sK(t.method);let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=oK(t.queryString));let r=HK(t);r?.length&&(n.headers={},r.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]});let i=``;t.postData&&(t.postData.mimeType===`multipart/form-data`&&t.postData.params?(i=`${VK(t.postData.params,`node`).join(`
+`)}\n\n`,n.body=new RK(`formData`)):n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let a=Object.keys(n).length?`, ${IK(n)}`:``;return`import { ofetch } from 'ofetch'
+
+${i}ofetch('${t.url}'${a})`}}})),sYt=s((()=>{oYt()})),cYt,lYt=s((()=>{UK(),fK(),zK(),cYt={target:`node`,client:`undici`,title:`undici`,generate(e){let t={method:`GET`,...e};t.method=sK(t.method);let n={method:t.method===`GET`?void 0:t.method},r=lK(t.url??``,t.queryString),i=HK(t);i?.length&&(n.headers={},i.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]});let a=``;t.postData&&(t.postData.mimeType===`multipart/form-data`&&t.postData.params?(a=`${VK(t.postData.params,`node`).join(`
+`)}\n\n`,n.body=new RK(`formData`)):n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=new RK(`JSON.stringify(${IK(JSON.parse(n.body))})`)));let o=Object.keys(n).length?`, ${IK(n)}`:``;return`import { ${a?`request, FormData`:`request`} } from 'undici'
+
+${a}const { statusCode, body } = await request('${r}'${o})`}}})),uYt=s((()=>{lYt()})),nq,rq,iq,dYt,fYt=s((()=>{fK(),MK(),nq=e=>`@"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}"`,rq=(e,t)=>{let n=t===void 0?`, `:`,\n ${` `.repeat(t)}`;switch(Object.prototype.toString.call(e)){case`[object Number]`:return`@${e}`;case`[object Array]`:return`@[ ${e.map(e=>rq(e)).join(n)} ]`;case`[object Object]`:return`@{ ${Object.entries(e).map(([e,t])=>`@"${e}": ${rq(t)}`).join(n)} }`;case`[object Boolean]`:return e?`@YES`:`@NO`;default:return e==null?`[NSNull null]`:nq(e.toString())}},iq=(e,t,n)=>{let r=`${e} *${t} = `;return`${r}${rq(n,r.length)};`},dYt={target:`objc`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=sK(e.method),r=cK(lK(e.url??``,e.queryString)),i=e.postData?.mimeType===`multipart/form-data`&&e.postData.params?AK(e):void 0,a=i?.headers??uK(e.headers,e.cookies),o=jK(i),s=e=>o?`[${nq(e)} stringByReplacingOccurrencesOfString:${nq(o)} withString:boundary]`:nq(e),c=[`#import <Foundation/Foundation.h>`];o&&c.push(``,`NSString *boundary = [[NSUUID UUID] UUIDString];`);let l=a.length>0;if(l){let e=Object.fromEntries(a.map(e=>[e.name,e.value]));c.push(``,iq(`NSDictionary`,`headers`,e))}let u=!1;if(e.postData){let{mimeType:t,text:n,params:r}=e.postData;if(t===`application/json`&&n!==void 0)try{let e=JSON.parse(n);c.push(``,iq(`NSDictionary`,`parameters`,e)),c.push(``,`NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];`),u=!0}catch{c.push(``,`NSData *postData = [${nq(n)} dataUsingEncoding:NSUTF8StringEncoding];`),u=!0}else if(t===`application/x-www-form-urlencoded`&&r?.length){u=!0;let[e,...t]=r;c.push(``,`NSMutableData *postData = [[NSMutableData alloc] initWithData:[${nq(`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),t.forEach(e=>{c.push(`[postData appendData:[${nq(`&${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else if(t===`multipart/form-data`&&r?.length){u=!0,c.push(``,`NSMutableData *postData = [NSMutableData data];`);for(let e of i?.body??[])`file`in e?c.push(`[postData appendData:[NSData dataWithContentsOfFile:${nq(e.file)}]];`):c.push(`[postData appendData:[${s(e.text)} dataUsingEncoding:NSUTF8StringEncoding]];`)}else t===`application/octet-stream`?(u=!0,c.push(``,`NSData *postData = [${nq(n??``)} dataUsingEncoding:NSUTF8StringEncoding];`)):n!==void 0&&(u=!0,c.push(``,`NSData *postData = [${nq(n)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(c.push(``,`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${nq(r)}]`,` cachePolicy:NSURLRequestUseProtocolCachePolicy`,` timeoutInterval:10.0];`,`[request setHTTPMethod:@"${n}"];`),l&&(c.push(`[request setAllHTTPHeaderFields:headers];`),o&&c.push(`[request setValue:[@"multipart/form-data; boundary=" stringByAppendingString:boundary] forHTTPHeaderField:@"Content-Type"];`)),u&&c.push(`[request setHTTPBody:postData];`),t?.auth?.username&&t?.auth?.password){let e=nq(`${t.auth.username}:${t.auth.password}`);c.push(`NSData *authData = [${e} dataUsingEncoding:NSUTF8StringEncoding];`,`NSString *authValue = [NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]];`,`[request setValue:authValue forHTTPHeaderField:@"Authorization"];`)}return c.push(``,`NSURLSession *session = [NSURLSession sharedSession];`,`NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request`,`completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {`,` if (error) {`,` NSLog(@"%@", error);`,` } else {`,` NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;`,` NSLog(@"%@", httpResponse);`,` }`,`}];`,`[dataTask resume];`),c.join(`
+`)}}})),pYt=s((()=>{fYt()})),aq,mYt,hYt=s((()=>{MK(),aq=e=>`"${Array.from(e,e=>{if(e===`\\`||e===`"`)return`\\${e}`;let t=e.charCodeAt(0);return t<32||t===127?`\\${t.toString().padStart(3,`0`)}`:e}).join(``)}"`,mYt={target:`ocaml`,client:`cohttp`,title:`Cohttp`,generate(e,t){let n=AK(e,t),{url:r,method:i,headers:a,body:o}=n,s=jK(n),c=e=>s?`(${e.split(s).map(aq).join(` ^ boundary ^ `)})`:aq(e),l=[`open Lwt.Infix`,``,`let () =`,...s?[` Random.self_init ();`]:[],` Lwt_main.run (`,...s?[` let boundary = Printf.sprintf "%08x%08x%08x%08x" (Random.bits ()) (Random.bits ()) (Random.bits ()) (Random.bits ()) in`]:[],` let uri = Uri.of_string ${aq(r)} in`,` let headers = Cohttp.Header.of_list [`,...a.map(({name:e,value:t})=>` (${aq(e)}, ${e.toLowerCase()===`content-type`?c(t):aq(t)});`),` ] in`];if(o){for(let[e,t]of o.entries())l.push(`file`in t?` Lwt_io.with_file ~mode:Lwt_io.Input ${aq(t.file)} Lwt_io.read >>= fun part${e} ->`:` let part${e} = ${c(t.text)} in`);l.push(` let body = Cohttp_lwt.Body.of_string (String.concat "" [${o.map((e,t)=>`part${t}`).join(`; `)}]) in`)}return l.push(` Cohttp_lwt_unix.Client.call ~headers ${o?`~body `:``}(Cohttp.Code.method_of_string ${aq(i)}) uri`,` >>= fun (_response, body) ->`,` Cohttp_lwt.Body.to_string body >>= Lwt_io.printl`,` )`),l.join(`
+`)}}})),gYt=s((()=>{hYt()}));function oq(e){return` `.repeat(e*2)}function sq(e,t=0){if(e==null)return`null`;if(e instanceof cq){let n=e.value.split(`
+`);if(n.length>1){let e=oq(t+1);return n.map((t,n)=>n===0?t:`${e}${t}`).join(`
+`)}return e.value}if(typeof e==`string`)return`'${e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`)}'`;if(typeof e==`number`||typeof e==`boolean`)return String(e);if(Array.isArray(e)){if(e.length===0)return`[]`;let n=e.map(e=>sq(e,t+1)).join(`,
+`+oq(t+1));return`[\n${oq(t+1)}${n}\n${oq(t)}]`}if(typeof e==`object`){let n=Object.entries(e);if(n.length===0)return`[]`;let r=n.map(([e,n])=>`'${e}' => ${sq(n,t+1)}`).join(`,
+`+oq(t+1));return`[\n${oq(t+1)}${r}\n${oq(t)}]`}return`null`}var cq,lq=s((()=>{cq=class{value;constructor(e){this.value=e}}})),_Yt,vYt=s((()=>{fK(),lq(),MK(),_Yt={target:`php`,client:`curl`,title:`cURL`,generate(e,t){let n={method:`GET`,...e};n.method=sK(n.method);let r=[],i=n.postData?.mimeType===`multipart/form-data`&&n.postData.params?AK(n):void 0,a=jK(i),o=e=>a?`str_replace(${sq(a)}, $boundary, ${sq(e)})`:sq(e);a&&r.push(`$boundary = bin2hex(random_bytes(16));`);let s=lK(n.url??``,n.queryString);r.push(`$ch = curl_init("${s}");`),r.push(``),n.method===`POST`?r.push(`curl_setopt($ch, CURLOPT_POST, true);`):n.method!==`GET`&&r.push(`curl_setopt($ch, CURLOPT_CUSTOMREQUEST, '${n.method}');`),t?.auth?.username&&t?.auth?.password&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);let c=i?.headers??[...n.headers||[]],l=()=>c.some(e=>e.name.toLowerCase()===`content-type`);if(n.postData&&(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params&&!l()?c.push({name:`Content-Type`,value:`application/x-www-form-urlencoded`}):n.postData.mimeType===`application/octet-stream`&&!l()&&c.push({name:`Content-Type`,value:`application/octet-stream`})),c.length){let e=c.map(e=>e.name.toLowerCase()===`content-type`?o(`${e.name}: ${e.value}`):sq(`${e.name}: ${e.value}`));r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(`, `)}]);`);let t=c.find(e=>e.name.toLowerCase()===`accept-encoding`);t&&/gzip|deflate/.test(t.value)&&r.push(`curl_setopt($ch, CURLOPT_ENCODING, '');`)}if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(n.postData){if(n.postData.mimeType===`application/json`){if(n.postData.text)try{let e=sq(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, ${sq(n.postData.text)});`)}}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params){r.push(`$body = '';`);for(let e of i?.body??[])r.push(`file`in e?`$body .= file_get_contents(${sq(e.file)});`:`$body .= ${o(e.text)};`);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, $body);`)}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e=n.postData.params.map(e=>`${encodeURIComponent(e.name)}=${e.value?encodeURIComponent(e.value):``}`).join(`&`);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if(n.postData.mimeType===`application/octet-stream`)r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, ${sq(n.postData.text||``)});`);else if(n.postData.text)try{let e=sq(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, ${sq(n.postData.text)});`)}}return r.push(``),r.push(`curl_exec($ch);`),r.push(``),r.push(`curl_close($ch);`),r.join(`
+`).replace(/\n\n\n/g,`
+
+`)}}})),yYt=s((()=>{vYt()})),bYt,xYt=s((()=>{fK(),lq(),bYt={target:`php`,client:`guzzle`,title:`Guzzle`,generate(e,t){if(!e)return``;let n={},r=sK(e.method),i=e.url||``;if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){let t={};e.headers.forEach(e=>{t[e.name]===void 0?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]}),n.headers=t}if(e.queryString&&e.queryString.length>0&&(n.query=oK(e.queryString)),e.cookies&&e.cookies.length>0){let t={};e.cookies.forEach(e=>{t[e.name]=e.value}),n.cookies=t}if(t?.auth?.username&&t.auth.password&&(n.auth=[t.auth.username,t.auth.password]),e.postData){if(e.postData.mimeType===`application/json`)try{n.json=JSON.parse(e.postData.text||`{}`)}catch{n.body=e.postData.text}else if(e.postData.mimeType===`multipart/form-data`){if(e.postData.params)n.multipart=e.postData.params.map(e=>{let t={name:e.name,contents:e.fileName?new cq(`fopen('${e.fileName}', 'rb')`):e.value||``};return e.contentType&&(t.headers={"Content-Type":e.contentType}),t});else if(e.postData.text)try{n.form_params=JSON.parse(e.postData.text)}catch{n.body=e.postData.text}}else if(e.postData.mimeType===`application/x-www-form-urlencoded`){if(e.postData.params){let t={};if(e.postData.params.forEach(e=>{dK(t,e.name,e.value||``)}),Object.values(t).some(Array.isArray)){n.body=new URLSearchParams(e.postData.params.map(({name:e,value:t})=>[e,t??``])).toString();let t=n.headers??{};Object.keys(t).some(e=>e.toLowerCase()===`content-type`)||(t[`Content-Type`]=`application/x-www-form-urlencoded`),n.headers=t}else n.form_params=t}}else n.body=e.postData.text}e.headers&&Array.isArray(e.headers)&&e.headers.some(e=>e.name===`Accept-Encoding`&&e.value.includes(`gzip`))&&(n.decode_content=!0);let a=`$client = new GuzzleHttp\\Client();
+
+`;if(Object.keys(n).length>0){let e=sq(n);a+=`$response = $client->request('${r}', '${i}', ${e});`}else a+=`$response = $client->request('${r}', '${i}');`;return a}}})),SYt=s((()=>{xYt()})),uq,dq,CYt,fq,wYt,TYt,EYt=s((()=>{js(),fK(),lq(),uq=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),dq=e=>`'${uq(e)}'`,CYt=uq,fq=e=>Array.isArray(e)?e.map(e=>fq(e)):As(e)?Object.entries(e).reduce((e,[t,n])=>(e[CYt(t)]=fq(n),e),{}):e,wYt=e=>{if(!e)return`localhost`;try{return new URL(e).hostname||`localhost`}catch{return`localhost`}},TYt={target:`php`,client:`laravel`,title:`Laravel HTTP Client`,generate(e,t){let n={method:`GET`,...e};n.method=sK(n.method);let r=lK(n.url??``,n.queryString),i=[];if(t?.auth?.username&&t.auth.password&&i.push(`withBasicAuth(${dq(t.auth.username)}, ${dq(t.auth.password)})`),n.headers?.length){let e={};n.headers.forEach(t=>{dK(e,t.name,t.value)}),i.push(`withHeaders(${sq(fq(e))})`)}if(n.cookies?.length){let e={};n.cookies.forEach(t=>{dK(e,t.name,t.value)}),i.push(`withCookies(${sq(fq(e))}, ${dq(wYt(n.url??``))})`)}let a;if(n.postData){if(n.postData.mimeType===`application/json`){if(n.postData.text)try{a=JSON.parse(n.postData.text)}catch{i.push(`withBody(${dq(n.postData.text)}, 'application/json')`)}}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e={};n.postData.params.forEach(t=>{dK(e,t.name,t.value??``)}),i.push(`asForm()`),a=e}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params){let e={};n.postData.params.forEach(t=>{if(t.fileName!==void 0){let e=[dq(t.name),`file_get_contents(${dq(t.fileName)})`,dq(t.fileName)];t.contentType&&e.push(sq(fq({"Content-Type":t.contentType}))),i.push(`attach(${e.join(`, `)})`)}else t.contentType?i.push(`attach(${dq(t.name)}, ${dq(t.value??``)}, null, ${sq(fq({"Content-Type":t.contentType}))})`):dK(e,t.name,t.value??``)}),Object.keys(e).length>0&&(a=e)}else if(n.postData.mimeType===`application/octet-stream`)i.push(`withBody(${dq(n.postData.text??``)}, 'application/octet-stream')`);else if(n.postData.text)try{a=JSON.parse(n.postData.text)}catch{i.push(`withBody(${dq(n.postData.text)}, ${dq(n.postData.mimeType||`text/plain`)})`)}}let o=n.method.toLowerCase(),s=[`delete`,`get`,`head`,`patch`,`post`,`put`].includes(o),c;return c=s?a!==void 0&&o!==`head`?`${o}(${dq(r)}, ${sq(fq(a),1)})`:`${o}(${dq(r)})`:a===void 0?`send(${dq(n.method)}, ${dq(r)})`:`send(${dq(n.method)}, ${dq(r)}, ${sq(fq(a),1)})`,`use Illuminate\\Support\\Facades\\Http;\n\n$response = ${i.length>0?[`Http::${i[0]}`,...i.slice(1).map(e=>` ->${e}`),` ->${c}`].join(`
+`):`Http::${c}`};`}}})),DYt=s((()=>{EYt()})),pq,mq,OYt=s((()=>{MK(),pq=e=>`'${e.replace(/['\u2018-\u201b]/g,e=>e+e)}'`,mq=(e,t={},n)=>{let r=AK(t,n),{url:i,method:a,headers:o,body:s}=r,c=jK(r),l=e=>c?`(${pq(e)}).Replace(${pq(c)}, $boundary)`:pq(e),u=c?[`$boundary = [guid]::NewGuid().ToString('N')`]:[],d=[...new Set(o.map(({name:e})=>e.toLowerCase()))];if(o.length){u.push(`$headers = @{`);for(let e of d){let t=o.filter(t=>t.name.toLowerCase()===e),n=t.map(e=>e.value).join(e===`cookie`?`; `:`, `);u.push(` ${pq(t[0]?.name??e)} = ${e===`content-type`?l(n):pq(n)}`)}u.push(`}`,``)}if(s){u.push(`$body = [System.IO.MemoryStream]::new()`);for(let e of s)u.push(`file`in e?`$bytes = [System.IO.File]::ReadAllBytes(${pq(e.file)})`:`$bytes = [System.Text.Encoding]::UTF8.GetBytes(${l(e.text)})`),u.push(`$body.Write($bytes, 0, $bytes.Length)`);u.push(``)}let f=[`GET`,`HEAD`,`POST`,`PUT`,`DELETE`,`TRACE`,`OPTIONS`,`MERGE`,`PATCH`].includes(a)?`-Method`:`-CustomMethod`;return u.push(`$response = ${e} -Uri ${pq(i)} ${f} ${pq(a)}${o.length?` -Headers $headers`:``}${s?` -Body $body.ToArray()`:``}`),s&&u.push(`$body.Dispose()`),u.push(`$response`),u.join(`
+`)}})),kYt,AYt=s((()=>{OYt(),kYt={target:`powershell`,client:`restmethod`,title:`Invoke-RestMethod`,generate(e,t){return mq(`Invoke-RestMethod`,e,t)}}})),jYt=s((()=>{AYt()})),MYt,NYt=s((()=>{OYt(),MYt={target:`powershell`,client:`webrequest`,title:`Invoke-WebRequest`,generate(e,t){return mq(`Invoke-WebRequest`,e,t)}}})),PYt=s((()=>{NYt()}));function hq(e){let t=[[`true`,`True`],[`false`,`False`],[`null`,`None`]],n=e;for(let[e,r]of t){let t=[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`];for(let e of t)n=n.replace(new RegExp(e,`gm`),`$1${r}`)}return n}function gq(e,t=4){return hq(JSON.stringify(e,null,2).split(`
+`).map((e,n)=>n===0?e:` `.repeat(t)+e).join(`
+`))}function _q(e,t,n,r=`requests`){let i={url:`https://example.com`,method:`get`,...t},a=sK(i.method),o=a.toLowerCase(),s={};if(i.headers?.length&&(s.headers=i.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})),i.queryString?.length&&(s.params=oK(i.queryString)),i.cookies?.length&&(s.cookies=Object.fromEntries(i.cookies.map(e=>[e.name,e.value]))),n?.auth?.username&&n?.auth?.password&&(s.auth=[n.auth.username,n.auth.password]),i.postData){let{mimeType:e,text:t,params:n}=i.postData;if(f_(e)&&t)try{s.json=JSON.parse(t)}catch{s.data=t}else if(e===`application/octet-stream`&&t)s.data=t;else if(e===`multipart/form-data`&&n){let e=[],t={};n.forEach(n=>{if(n.fileName!==void 0){let t=JSON.stringify(n.name),r=JSON.stringify(n.fileName),i=`open(${r}, "rb")`;if(n.contentType){let a=JSON.stringify(n.contentType);e.push(`(${t}, (${r}, ${i}, ${a}))`)}else e.push(`(${t}, ${i})`)}else if(n.value!==void 0){if(n.contentType){let t=JSON.stringify(n.name),r=JSON.stringify(n.value),i=JSON.stringify(n.contentType);e.push(`(${t}, (None, ${r}, ${i}))`)}else dK(t,n.name,n.value)}}),e.length&&(s.files=e),Object.keys(t).length&&(s.data=t)}else if(e===`application/x-www-form-urlencoded`&&n){let e={};n.forEach(t=>{dK(e,t.name,t.value??``)}),s.data=e}else t&&(s.data=t)}r===`httpx`&&typeof s.data==`string`&&(s.content=s.data,delete s.data);let c=[],l=`"${i.url}"`;i.url.length>40?c.push(l):c.push(``);for(let[e,t]of Object.entries(s))if(e===`auth`)c.push(`${e}=(${hq(JSON.stringify(t[0]))}, ${hq(JSON.stringify(t[1]))})`);else if(e===`files`){let n=`[
+`+t.map(e=>` ${e}`).join(`,
+`)+`
+ ]`;c.push(`${e}=${n}`)}else if(e===`json`){let n=gq(t);c.push(`${e}=${n}`)}else if((e===`data`||e===`content`)&&i.postData?.mimeType===`application/octet-stream`)c.push(`${e}=b"${t}"`);else{let n=gq(t);c.push(`${e}=${n}`)}return r===`httpx`&&[`GET`,`DELETE`,`HEAD`,`OPTIONS`].includes(a)&&[`json`,`data`,`content`,`files`].some(e=>e in s)||![`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(a)?`${e}.request(${[JSON.stringify(a),l,...c.slice(1)].join(`, `)})`:i.url.length>40?`${e}.${o}(\n ${c.join(`,
+ `)}\n)`:c.length<=1?`${e}.${o}(${l})`:`${e}.${o}(${l}${c.length>1?`,`:``}\n ${c.slice(1).join(`,
+ `)}\n)`}var vq=s((()=>{p_(),fK()})),FYt,IYt,LYt,RYt=s((()=>{fK(),vq(),FYt=(e,t=` `)=>e.split(`
+`).map(e=>e.trim()===``?e:`${t}${e}`).join(`
+`),IYt=(e,t,n,r)=>{let i=JSON.stringify(n);if(![`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(t))return`${e}.request(${[JSON.stringify(t),i,...r].join(`, `)})`;let a=t.toLowerCase();return n.length>40?`${e}.${a}(\n ${[i,...r].join(`,
+ `)}\n)`:r.length===0?`${e}.${a}(${i})`:`${e}.${a}(${i},\n ${r.join(`,
+ `)}\n)`},LYt={target:`python`,client:`aiohttp`,title:`aiohttp`,generate(e,t){let n={url:`https://example.com`,method:`get`,...e},r=sK(n.method),i=[],a=[],o=[];if(n.headers?.length){let e=n.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{});i.push(`headers=${gq(e)}`)}if(n.queryString?.length&&i.push(`params=${gq(oK(n.queryString))}`),n.cookies?.length){let e=Object.fromEntries(n.cookies.map(e=>[e.name,e.value]));a.push(`cookies=${gq(e)}`)}if(t?.auth?.username&&t?.auth?.password&&a.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t)try{i.push(`json=${gq(JSON.parse(t))}`)}catch{i.push(`data=${JSON.stringify(t)}`)}else if(e===`application/octet-stream`&&t)i.push(`data=b"${t}"`);else if(e===`multipart/form-data`&&r)o.push(`data = aiohttp.FormData()`),r.forEach(e=>{if(e.fileName!==void 0){let t=[JSON.stringify(e.name),`open(${JSON.stringify(e.fileName)}, "rb")`,`filename=${JSON.stringify(e.fileName)}`];e.contentType&&t.push(`content_type=${JSON.stringify(e.contentType)}`),o.push(`data.add_field(${t.join(`, `)})`)}else e.contentType?o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)}, content_type=${JSON.stringify(e.contentType)})`):o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)})`)}),i.push(`data=data`);else if(e===`application/x-www-form-urlencoded`&&r){let e={};r.forEach(t=>{dK(e,t.name,t.value??``)}),i.push(`data=${gq(e)}`)}else t&&i.push(`data=${JSON.stringify(t)}`)}let s=a.length===0?`async with aiohttp.ClientSession() as session:`:`async with aiohttp.ClientSession(\n ${a.join(`,
+ `)}\n) as session:`,c=IYt(`await session`,r,n.url??``,i),l=[...o,c];return`${s}\n${FYt(l.join(`
+`))}`}}})),zYt=s((()=>{RYt()})),BYt,VYt=s((()=>{vq(),BYt={target:`python`,client:`httpx_async`,title:`HTTPX (Async)`,generate(e,t){let n=_q(`await client`,e,t,`httpx`);return n=n.split(`
+`).map(e=>e.trim()===``?e:` `+e).join(`
+`),`async with httpx.AsyncClient() as client:\n${n}`}}})),HYt,UYt=s((()=>{vq(),HYt={target:`python`,client:`httpx_sync`,title:`HTTPX (Sync)`,generate(e,t){return _q(`httpx`,e,t,`httpx`)}}})),WYt=s((()=>{VYt(),UYt()})),GYt,KYt,qYt,JYt,YYt,XYt,ZYt=s((()=>{fK(),MK(),vq(),GYt=e=>{if(typeof globalThis.btoa==`function`)return globalThis.btoa(e);if(typeof Buffer<`u`)return Buffer.from(e,`utf-8`).toString(`base64`);throw Error(`Could not encode basic auth credentials`)},KYt=e=>{if(!e)return new URL(`https://example.com`);try{return new URL(e)}catch{return new URL(e,`https://example.com`)}},qYt=(e,t=[])=>{if(!t.length)return e.search;let n=sqt(t);return e.search?`${e.search}&${n.slice(1)}`:n},JYt=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,YYt=(e,t,n)=>{let r=e.postData;if(!r)return{payloadLines:[]};let{mimeType:i,text:a,params:o}=r;if(i===`application/json`&&a)try{let e=JSON.parse(a);return n.add(`import json`),{payloadLines:[`payload = json.dumps(${gq(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}if(i===`application/octet-stream`&&a)return{payloadLines:[`payload = ${JYt(a)}`],payloadVariable:`payload`};if(i===`application/x-www-form-urlencoded`&&o){n.add(`import urllib.parse`);let e={};return o.forEach(t=>{dK(e,t.name,t.value??``)}),t[`Content-Type`]||=`application/x-www-form-urlencoded`,{payloadLines:[`payload = urllib.parse.urlencode(${gq(e,0)}, doseq=True)`],payloadVariable:`payload`}}if(i===`multipart/form-data`&&o){n.add(`import uuid`);let e=[`boundary = uuid.uuid4().hex`,`data_list = []`];o.forEach(t=>{e.push(`data_list.append(("--" + boundary).encode("utf-8"))`),t.fileName===void 0?e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${kK(t.name)}"`)}.encode("utf-8"))`):e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${kK(t.name)}"; filename="${kK(t.fileName)}"`)}.encode("utf-8"))`),t.contentType&&e.push(`data_list.append(${JSON.stringify(`Content-Type: ${t.contentType}`)}.encode("utf-8"))`),e.push(`data_list.append(b"")`),t.fileName===void 0?e.push(`data_list.append(${JSON.stringify(t.value??``)}.encode("utf-8"))`):e.push(`data_list.append(open(${JSON.stringify(t.fileName)}, "rb").read())`)}),e.push(`data_list.append(("--" + boundary + "--").encode("utf-8"))`),e.push(`data_list.append(b"")`),e.push(`payload = b"\\r\\n".join(data_list)`);for(let e of Object.keys(t))e.toLowerCase()===`content-type`&&delete t[e];return t[`Content-Type`]=`multipart/form-data`,{payloadLines:e,payloadVariable:`payload`}}if(a)try{let e=JSON.parse(a);return n.add(`import json`),{payloadLines:[`payload = json.dumps(${gq(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}return{payloadLines:[]}},XYt={target:`python`,client:`python3`,title:`http.client`,generate(e,t){let n=oqt({url:`https://example.com`,...e}),r=n.url??`https://example.com`,i=KYt(r),a=qYt(i,n.queryString),o=`${i.pathname||`/`}${a}`,s=n.headers?.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})??{};if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);s.Cookie=s.Cookie?`${s.Cookie}; ${e}`:e}t?.auth?.username&&t.auth.password&&(s.Authorization=`Basic ${GYt(`${t.auth.username}:${t.auth.password}`)}`);let c=new Set([`import http.client`]),l=[],u=YYt(n,s,c);l.push(...u.payloadLines),Object.keys(s).length&&(l.push(`headers = ${gq(s,0)}`),n.postData?.mimeType===`multipart/form-data`&&n.postData.params&&l.push(`headers["Content-Type"] = "multipart/form-data; boundary=" + boundary`));let d=[JSON.stringify(n.method),JSON.stringify(o)];u.payloadVariable&&d.push(`body=${u.payloadVariable}`),Object.keys(s).length&&d.push(`headers=headers`);let f=d.length<=2?`conn.request(${d.join(`, `)})`:`conn.request(\n ${d.join(`,
+ `)},\n)`;return[...c,``,`conn = http.client.${i.protocol===`https:`?`HTTPSConnection`:`HTTPConnection`}(${JSON.stringify(i.host)})`,...l.length?[``,...l]:[],``,f,``,`response = conn.getresponse()`,`print(response.read().decode())`,``,`conn.close()`].join(`
+`)}}})),QYt=s((()=>{ZYt()})),$Yt,eXt=s((()=>{vq(),$Yt={target:`python`,client:`requests`,title:`Requests`,generate(e,t){return _q(`requests`,e,t)}}})),tXt=s((()=>{eXt()})),yq,nXt,bq,rXt,iXt=s((()=>{js(),fK(),yq=e=>`"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`,nXt=(e,t)=>{try{let n=JSON.parse(e);return bq(n,t)}catch{return yq(e)}},bq=(e,t)=>{if(e==null)return`NULL`;if(typeof e==`boolean`)return e?`TRUE`:`FALSE`;if(typeof e==`number`)return String(e);if(typeof e==`string`)return yq(e);if(Array.isArray(e))return e.length===0?`list()`:`list(\n${e.map(e=>`${t} ${bq(e,t+` `)}`).join(`,
+`)}\n${t})`;if(As(e)){let n=Object.entries(e);return n.length===0?`list()`:`list(\n${n.map(([e,n])=>`${t} ${e} = ${bq(n,t+` `)}`).join(`,
+`)}\n${t})`}return String(e)},rXt={target:`r`,client:`httr2`,title:`httr2`,generate(e,t){let n={url:`https://example.com`,method:`GET`,...e},r=sK(n.method),i=[`library(httr2)`,``];i.push(`response <- request(${yq(n.url)}) |>`);let a=[];r!==`GET`&&a.push(` req_method(${yq(r)})`);let o={};if(n.headers?.length)for(let e of n.headers)o[e.name]=e.value;if(n.cookies?.length&&(o.Cookie=n.cookies.map(e=>`${e.name}=${e.value}`).join(`; `)),t?.auth?.username&&t?.auth?.password&&a.push(` req_auth_basic(${yq(t.auth.username)}, ${yq(t.auth.password)})`),Object.keys(o).length){let e=Object.entries(o);if(e.length===1){let[t,n]=e[0];a.push(` req_headers(${yq(t)} = ${yq(n)})`)}else{let t=e.map(([e,t])=>` ${yq(e)} = ${yq(t)}`).join(`,
+`);a.push(` req_headers(\n${t}\n )`)}}if(n.queryString?.length){let e=oK(n.queryString),t=Object.entries(e);if(t.length===1){let[e,n]=t[0];if(Array.isArray(n)){let t=n.map(yq).join(`, `);a.push(` req_url_query(${yq(e)} = c(${t}))`)}else a.push(` req_url_query(${yq(e)} = ${yq(n)})`)}else{let e=t.map(([e,t])=>{if(Array.isArray(t)){let n=t.map(yq).join(`, `);return` ${yq(e)} = c(${n})`}return` ${yq(e)} = ${yq(t)}`}).join(`,
+`);a.push(` req_url_query(\n${e}\n )`)}}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t){let e=nXt(t,` `);a.push(` req_body_json(${e})`)}else if(e===`multipart/form-data`&&r){let e=r.map(e=>e.fileName===void 0?e.contentType?` ${JSON.stringify(e.name)} = curl::form_data(${JSON.stringify(e.value??``)}, type = ${JSON.stringify(e.contentType)})`:` ${JSON.stringify(e.name)} = ${JSON.stringify(e.value??``)}`:` ${JSON.stringify(e.name)} = curl::form_file(${JSON.stringify(e.fileName)}${e.contentType?`, type = ${JSON.stringify(e.contentType)}`:``})`).join(`,
+`);a.push(` req_body_multipart(\n${e}\n )`)}else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>` ${yq(e.name)} = ${yq(e.value??``)}`).join(`,
+`);a.push(` req_body_form(\n${e}\n )`)}else t&&a.push(` req_body_raw(${yq(t)}, type = ${yq(e??`application/octet-stream`)})`)}return a.push(` req_perform()`),i[i.length-1]=`response <- request(${yq(n.url)}) |>`,i.push(a.join(` |>
+`)),i.push(``),i.push(`resp_body_string(response)`),i.join(`
+`)}}})),aXt=s((()=>{iXt()})),xq,Sq,Cq,wq,Tq,oXt,sXt,cXt,lXt=s((()=>{fK(),xq=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),Sq=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),Cq=e=>encodeURIComponent(e).replace(/'/g,`%27`),wq=new Set([`GET`,`POST`,`HEAD`,`DELETE`,`PATCH`,`PUT`,`OPTIONS`,`COPY`,`LOCK`,`UNLOCK`,`MOVE`,`TRACE`]),Tq=e=>wq.has(e)?e.charAt(0)+e.slice(1).toLowerCase():`CustomRequest`,oXt=(e,t,n)=>{if(wq.has(t))return;let r=Tq(t);e.push(`class Net::HTTP::${r} < Net::HTTPRequest`),e.push(` METHOD = '${Sq(t)}'`),e.push(` REQUEST_HAS_BODY = '${n?`true`:`false`}'`),e.push(` RESPONSE_HAS_BODY = true`),e.push(`end`),e.push(``)},sXt=e=>{try{let t=new URL(e),n=t.pathname.replace(/%[0-9a-f]{2}|[\s\S]/giu,e=>/^%[0-9a-f]{2}$/i.test(e)||e===`[`||e===`]`?e:encodeURI(e));return t.pathname===`/`?`${t.origin}${t.search}${t.hash}`:`${t.origin}${n}${t.search}${t.hash}`}catch{return e}},cXt={target:`ruby`,client:`native`,title:`net::http`,generate(e,t){let n={method:`GET`,...e};n.method=sK(n.method);let r=lK(n.url??``,n.queryString),i=sXt(r),a=[`require 'uri'`,`require 'net/http'`,``];oXt(a,n.method,!!n.postData?.text),a.push(`url = URI("${xq(i)}")`,``),a.push(`http = Net::HTTP.new(url.host, url.port)`),i.startsWith(`https://`)&&a.push(`http.use_ssl = true`),a.push(``);let o=Tq(n.method);if(a.push(`request = Net::HTTP::${o}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=xq(t.auth.username),n=xq(t.auth.password);a.push(`request.basic_auth("${e}", "${n}")`)}if(n.headers?.length&&n.headers.forEach(e=>{a.push(`request["${xq(e.name)}"] = '${Sq(e.value)}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${Cq(e.name)}=${Cq(e.value)}`).join(`; `);a.push(`request["Cookie"] = '${Sq(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t!==void 0)try{let e=JSON.parse(t),n=JSON.stringify(e,null,2);a.push(`request.body = <<~JSON`),a.push(n),a.push(`JSON`)}catch{a.push(`request.body = ${JSON.stringify(t)}`)}else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>`${Cq(e.name)}=${Cq(e.value??``)}`).join(`&`);a.push(`request.body = '${Sq(e)}'`)}else e===`multipart/form-data`&&r?(a.push(`form_data = []`),r.forEach(e=>{let t=Sq(e.name);if(e.fileName!==void 0){let n=Sq(e.fileName);if(e.contentType){let r=Sq(e.contentType);a.push(`form_data << ['${t}', File.open('${n}', 'rb'), { filename: '${n}', content_type: '${r}' }]`)}else a.push(`form_data << ['${t}', File.open('${n}', 'rb')]`)}else if(e.contentType){let n=Sq(e.value??``),r=Sq(e.contentType);a.push(`form_data << ['${t}', '${n}', { content_type: '${r}' }]`)}else{let n=Sq(e.value??``);a.push(`form_data << ['${t}', '${n}']`)}}),a.push(`request.set_form(form_data, 'multipart/form-data')`)):e===`application/octet-stream`?a.push(`request.body = ${JSON.stringify(t??``)}`):t!==void 0&&a.push(`request.body = ${JSON.stringify(t)}`)}return a.push(``,`response = http.request(request)`,`puts response.read_body`),a.join(`
+`)}}})),uXt=s((()=>{lXt()}));function dXt(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`).replace(/\0/g,`\\0`)}function Eq(e){return`"${dXt(e)}"`}function Dq(e,t){return`${` `.repeat(e*4)}${t}`}function Oq(e,...t){return Dq(1,`.${e}(${t.join(`, `)})`)}function fXt(e){try{let t=JSON.parse(e),n=JSON.stringify(t,null,4).split(`
+`);return n.map((e,t)=>t===0?e:(n.length-1,Dq(1,e))).join(`
+`)}catch{return e}}var pXt=s((()=>{})),mXt,hXt,gXt,_Xt,vXt,yXt,bXt=s((()=>{fK(),pXt(),mXt={target:`rust`,client:`reqwest`,title:`reqwest`,generate(e,t){if(!e)return``;let n=oqt(e),r=lK(n.url??``,n.queryString),i=cqt(n),a=[],o=gXt(t?.auth);o&&a.push(o),a.push(..._Xt(i));let s=vXt(n.postData);return s&&a.push(s),yXt(r,n.method,a)}},hXt=e=>{if(e.fileName!==void 0){let t=[Dq(2,`let part = reqwest::multipart::Part::bytes(std::fs::read(${Eq(e.fileName)})?)`),Dq(3,`.file_name(${Eq(e.fileName)})`)];return e.contentType?(t.push(Dq(3,`.mime_str(${Eq(e.contentType)})`)),t.push(Dq(3,`.unwrap();`))):t[t.length-1]+=`;`,t.push(Dq(2,`form = form.part(${Eq(e.name)}, part);`)),t.join(`
+`)}return e.contentType?[Dq(2,`let part = reqwest::multipart::Part::text(${Eq(e.value||``)})`),Dq(3,`.mime_str(${Eq(e.contentType)})`),Dq(3,`.unwrap();`),Dq(2,`form = form.part(${Eq(e.name)}, part);`)].join(`
+`):Dq(2,`form = form.text(${Eq(e.name)}, ${Eq(e.value||``)});`)},gXt=e=>!e?.username||!e?.password?null:Oq(`basic_auth`,Eq(e.username),Eq(e.password)),_Xt=e=>Object.entries(e).map(([e,t])=>Oq(`header`,Eq(e),Eq(t))),vXt=e=>{if(!e)return null;let{mimeType:t,text:n,params:r}=e;switch(t){case`application/json`:return Oq(`json`,`&serde_json::json!(${fXt(n)})`);case`application/x-www-form-urlencoded`:return Oq(`form`,`&[${r?.map(e=>`(${Eq(e.name)}, ${Eq(e.value||``)})`).join(`, `)||``}]`);case`multipart/form-data`:{let e=r?.map(hXt).join(`
+`)||``;return Dq(1,[`.multipart({`,Dq(2,`let mut form = reqwest::multipart::Form::new();`),e,Dq(3,`form`),Dq(2,`})`)].join(`
+`))}default:return Oq(`body`,Eq(n||``))}},yXt=(e,t,n)=>{let r=[`let client = reqwest::Client::new();`,``],i=[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`].includes(t)?`${t.toLowerCase()}(${Eq(e)})`:`request(reqwest::Method::from_bytes(${Eq(t)}.as_bytes())?, ${Eq(e)})`;n.length>0?(r.push(`let request = client`),r.push(Dq(1,`.${i}`)),r.push(...n)):r.push(`let request = client.${i}`);let a=r[r.length-1];return r[r.length-1]=a+`;`,r.push(``),r.push(`let response = request.send().await?;`),r.join(`
+`)}})),xXt=s((()=>{bXt()})),kq,Aq=s((()=>{kq=e=>e.replace(/'/g,`'\\''`)})),jq,Mq,Nq,Pq=s((()=>{Aq(),jq=(e,t)=>[`{`,...e.map(e=>`file`in e?` cat -- '${kq(e.file)}'`:(t?e.text.split(t):[e.text]).map(e=>{let t=Array.from(e,e=>{if(e===`\\`)return`\\\\`;let t=e.charCodeAt(0);return t<32?`\\0${t.toString(8).padStart(3,`0`)}`:e}).join(``);return` printf '%b' '${kq(t)}'`}).join(`
+ printf '%s' "$boundary"
+`)),`}`].join(`
+`),Mq=`boundary=scalar-$(od -An -N16 -tx1 /dev/urandom | tr -d '[:space:]')
+`,Nq=(e,t)=>(t?e.split(t):[e]).map(e=>`'${kq(e)}'`).join(`"$boundary"`)})),SXt,CXt=s((()=>{p_(),Dc(),fK(),MK(),Aq(),Pq(),SXt={target:`shell`,client:`curl`,title:`Curl`,generate(e,t){let n={method:`GET`,...e};n.method=sK(n.method);let r=[`curl`],i=lK(n.url??``,n.queryString);r[0]=`curl ${/^[A-Za-z0-9._~:/%@+,=-]*$/.test(i)?i:`'${kq(i)}'`}`;let a=i.indexOf(`?`),o=a===-1?``:i.slice(a);if((/[[\]]/.test(i)||/[{}]/.test(o))&&r.push(`--globoff`),n.method!==`GET`&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){let e=kq(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}let s=n.postData?.mimeType===`multipart/form-data`&&n.postData.params?.some(e=>/[;=",\r\n]/.test(e.name)||(e.fileName===void 0?!!e.contentType&&(/^[@<"]/.test(e.value??``)||/[;]/.test(e.value??``)):/[;,"\\\r\n]/.test(e.fileName)))?AK(n):void 0,c=jK(s),l=s?.headers??n.headers;if(l?.length){l.forEach(e=>{let t=Nq(`${e.name}: ${e.value}`,e.name.toLowerCase()===`content-type`?c:void 0);r.push(`--header ${t}`)});let e=l.find(e=>e.name.toLowerCase()===`accept-encoding`);e&&/gzip|deflate/.test(e.value)&&r.push(`--compressed`)}if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `),t=kq(e);r.push(`--cookie '${t}'`)}if(n.postData){if(f_(n.postData.mimeType)){if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=JSON.stringify(e,null,2),i=kq(t);r.push(`--data '${i}'`)}catch{let e=kq(n.postData.text??``);r.push(`--data '${e}'`)}}else if(Ec(n.postData.mimeType??``)){let e=kq(n.postData.text??``);r.push(`--data-binary '${e}'`)}else if(n.postData.mimeType===`application/octet-stream`){let e=kq(n.postData.text??``);r.push(`--data-binary '${e}'`)}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params)n.postData.params.forEach(e=>{let t=kq(e.value??``),n=encodeURIComponent(e.name),i=kq(n);r.push(`--data-urlencode '${i}=${t}'`)});else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)s?r.push(`--data-binary @-`):n.postData.params.forEach(e=>{let t=kq(e.name),n=e.contentType?`;type=${e.contentType}`:``;if(e.fileName!==void 0){let i=kq(`${e.fileName}${n}`);r.push(`--form '${t}=@${i}'`)}else{let i=e.value??``,a=f_(e.contentType),o=i;if(a&&i)try{o=JSON.stringify(JSON.parse(i),null,2)}catch{}let s=kq(`${o}${n}`);!e.contentType&&(o.startsWith(`@`)||o.startsWith(`<`)||o.includes(`;`))?r.push(`--form-string '${t}=${kq(o)}'`):r.push(`--form '${t}=${s}'`)}});else try{let e=JSON.parse(n.postData.text??``),t=JSON.stringify(e,null,2),i=kq(t);r.push(`--data '${i}'`)}catch{let e=kq(n.postData.text??``);r.push(`--data '${e}'`)}}let u=r.join(` \\
+ `);return s?.body?`${c?Mq:``}${jq(s.body,c)} | ${u}`:u}}})),wXt=s((()=>{CXt()})),Fq,TXt,EXt=s((()=>{MK(),Aq(),Pq(),Fq=e=>`'${kq(e)}'`,TXt={target:`shell`,client:`httpie`,title:`HTTPie`,generate(e,t){let n=AK(e,t),{url:r,method:i,headers:a,body:o}=n,s=jK(n),c=o?.length===1&&o[0]&&`text`in o[0]&&!o[0].text.includes(`\0`)?o[0].text:void 0,l=[`http${!o||c!==void 0?` --ignore-stdin`:``} ${Fq(i)} ${Fq(r)}`];for(let{name:e,value:t}of a){let n=e.replaceAll(`\\`,`\\\\`).replaceAll(`:`,`\\:`).replaceAll(`;`,`\\;`);l.push(Nq(t?`${n}:${t}`:`${n};`,e.toLowerCase()===`content-type`?s:void 0))}let u=l.join(` \\
+ `);return o?c===void 0?`${s?Mq:``}${jq(o,s)} | ${u}`:`${u} \\\n --raw=${Fq(c)}`:u}}})),DXt=s((()=>{EXt()})),Iq,OXt,kXt=s((()=>{p_(),fK(),MK(),Aq(),Pq(),Iq=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},OXt={target:`shell`,client:`wget`,title:`Wget`,generate(e,t){let n={...e,method:sK(e?.method)},r=lK(n.url??``,n.queryString),i=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(r)?r:`'${kq(r)}'`,a=[`wget --quiet`,`--method ${n.method}`];t?.auth?.username&&t?.auth?.password&&(a.push(`--user '${kq(t.auth.username)}'`),a.push(`--password '${kq(t.auth.password)}'`));let o=n.postData?.mimeType===`multipart/form-data`&&n.postData.params?AK(n):void 0,s=jK(o),c=o?.headers??n.headers;if(c?.length&&c.forEach(e=>{let t=Nq(`${e.name}: ${e.value}`,e.name.toLowerCase()===`content-type`?s:void 0);a.push(`--header ${t}`)}),n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);a.push(`--header 'Cookie: ${kq(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(f_(e))t&&a.push(`--body-data '${kq(Iq(t))}'`);else if(e===`application/octet-stream`)a.push(`--body-data '${kq(t??``)}'`);else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);a.push(`--body-data '${kq(e)}'`)}else e===`multipart/form-data`&&r?a.push(`--body-file="$multipart_body"`):t&&a.push(`--body-data '${kq(Iq(t))}'`)}a.push(`--output-document`,`- ${i}`);let l=a.join(` \\
+ `);return o?.body?`${s?Mq:``}multipart_body=$(mktemp)\ntrap 'rm -f "$multipart_body"' EXIT\n${jq(o.body,s)} > "$multipart_body"\n${l}`:l}}})),AXt=s((()=>{kXt()})),Lq,jXt,MXt,Rq,zq,NXt,PXt,FXt=s((()=>{fK(),Lq=e=>JSON.stringify(e),jXt=e=>{let t=1;for(;e.includes(`"""${`#`.repeat(t)}`);)t+=1;return`#`.repeat(t)},MXt=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},Rq=e=>encodeURIComponent(e),zq=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),NXt=e=>{let t=[`let boundary = UUID().uuidString`,`var body = Data()`,``,`func appendToBody(_ value: String) {`,` body.append(value.data(using: .utf8)!)`,`}`,``];return e.forEach(e=>{let n=zq(e.name),r=zq(e.fileName??``),i=e.contentType?zq(e.contentType):void 0;t.push(`appendToBody("--\\(boundary)\\r\\n")`),e.fileName===void 0?(t.push(`appendToBody(${Lq(`Content-Disposition: form-data; name="${n}"\r\n`)})`),i&&t.push(`appendToBody(${Lq(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${Lq(e.value??``)})`),t.push(`appendToBody("\\r\\n")`)):(t.push(`appendToBody(${Lq(`Content-Disposition: form-data; name="${n}"; filename="${r}"\r\n`)})`),i&&t.push(`appendToBody(${Lq(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`body.append(try Data(contentsOf: URL(fileURLWithPath: ${Lq(e.fileName)})))`),t.push(`appendToBody("\\r\\n")`)),t.push(``)}),t.push(`appendToBody("--\\(boundary)--\\r\\n")`),t},PXt={target:`swift`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=sK(e.method),r=cK(lK(e.url??``,e.queryString)),i=uK(e.headers,e.cookies),a=[`import Foundation`,``,`var request = URLRequest(url: URL(string: ${Lq(r)})!)`];if(a.push(`request.httpMethod = ${Lq(n)}`),i.forEach(e=>{a.push(`request.setValue(${Lq(e.value)}, forHTTPHeaderField: ${Lq(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(a.push(`let credentials = ${Lq(`${t.auth.username}:${t.auth.password}`)}`),a.push(`let encodedCredentials = Data(credentials.utf8).base64EncodedString()`),a.push(`request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")`)),e.postData){let{mimeType:t,text:n,params:r}=e.postData;if(t===`application/json`&&n!==void 0){let e=MXt(n),t=jXt(e);a.push(`let jsonBody = ${t}"""`),a.push(e),a.push(`"""${t}`),a.push(`request.httpBody = jsonBody.data(using: .utf8)`)}else if(t===`application/x-www-form-urlencoded`&&r?.length){let e=r.map(e=>`${Rq(e.name)}=${Rq(e.value??``)}`).join(`&`);a.push(`let formBody = ${Lq(e)}`),a.push(`request.httpBody = formBody.data(using: .utf8)`)}else t===`multipart/form-data`&&r?.length?(a.push(...NXt(r)),a.push(`request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")`),a.push(`request.httpBody = body`)):t===`application/octet-stream`?(a.push(`let binaryBody = Data(${Lq(n??``)}.utf8)`),a.push(`request.httpBody = binaryBody`)):n!==void 0&&(a.push(`let rawBody = ${Lq(n)}`),a.push(`request.httpBody = rawBody.data(using: .utf8)`))}return a.push(``),a.push(`let (data, response) = try await URLSession.shared.data(for: request)`),a.push(``),a.push(`guard let httpResponse = response as? HTTPURLResponse,`),a.push(` 200..<300 ~= httpResponse.statusCode else {`),a.push(` throw URLError(.badServerResponse)`),a.push(`}`),a.push(``),a.push(`print(String(data: data, encoding: .utf8) ?? "")`),a.join(`
+`)}}})),IXt=s((()=>{FXt()})),Bq,LXt=s((()=>{mqt(),bqt(),Dqt(),Mqt(),Fqt(),Kqt(),tJt(),aJt(),cJt(),dJt(),mJt(),_Jt(),TJt(),OJt(),MJt(),FJt(),RJt(),qJt(),QJt(),tYt(),iYt(),sYt(),uYt(),pYt(),gYt(),yYt(),SYt(),DYt(),jYt(),PYt(),zYt(),WYt(),QYt(),tXt(),aXt(),uXt(),xXt(),wXt(),DXt(),AXt(),IXt(),Bq=[{key:`c`,title:`C`,default:`libcurl`,clients:[fqt]},{key:`csharp`,title:`C#`,default:`restsharp`,clients:[Tqt,Aqt]},{key:`clojure`,title:`Clojure`,default:`clj_http`,clients:[vqt]},{key:`dart`,title:`Dart`,default:`http`,clients:[Nqt]},{key:`fsharp`,title:`F#`,default:`httpclient`,clients:[Wqt]},{key:`go`,title:`Go`,default:`native`,clients:[$qt]},{key:`http`,title:`HTTP`,default:`http1.1`,clients:[rJt]},{key:`java`,title:`Java`,default:`unirest`,clients:[oJt,lJt,fJt,hJt]},{key:`js`,title:`JavaScript`,default:`fetch`,clients:[EJt,CJt,NJt,AJt,IJt]},{key:`julia`,title:`Julia`,default:`http`,clients:[GJt]},{key:`kotlin`,title:`Kotlin`,default:`okhttp`,clients:[XJt]},{key:`node`,title:`Node.js`,default:`fetch`,clients:[nYt,$Jt,aYt,cYt]},{key:`objc`,title:`Objective-C`,default:`nsurlsession`,clients:[dYt]},{key:`ocaml`,title:`OCaml`,default:`cohttp`,clients:[mYt]},{key:`php`,title:`PHP`,default:`curl`,clients:[_Yt,bYt,TYt]},{key:`powershell`,title:`PowerShell`,default:`webrequest`,clients:[MYt,kYt]},{key:`python`,title:`Python`,default:`python3`,clients:[XYt,$Yt,LYt,HYt,BYt]},{key:`r`,title:`R`,default:`httr2`,clients:[rXt]},{key:`ruby`,title:`Ruby`,default:`native`,clients:[cXt]},{key:`rust`,title:`Rust`,default:`reqwest`,clients:[mXt]},{key:`shell`,title:`Shell`,default:`curl`,clients:[SXt,OXt,TXt]},{key:`swift`,title:`Swift`,default:`nsurlsession`,clients:[PXt]}]}));function Vq(){function e(e,t){return Bq.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print(t,n,r){return e(t,n)?.generate(r)},clients(){return Bq},plugins(){return Bq.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client})))},findPlugin:e,hasPlugin(t,n){return!!e(t,n)}}}var RXt=s((()=>{LXt()})),Hq=s((()=>{aK(),RXt()})),Uq,Wq,zXt,Gq,BXt=s((()=>{Hq(),Uq=`shell/curl`,Wq=e=>iK.includes(e),zXt=e=>Wq(e)||typeof e==`string`&&e.startsWith(`custom/`),Gq=(e,t)=>{let n=t=>{for(let n of e){let e=n.options.find(e=>e.id===t);if(e)return e}},r=e.find(e=>e.key===`custom`)?.options[0];if(t?.startsWith(`custom`))return n(t)??r??n(`shell/curl`)??e[0]?.options[0];if(t){let e=n(t);if(e)return e}return r||(n(`shell/curl`)??e[0]?.options[0])}})),Kq,qq,Jq=s((()=>{B(),Hq(),Kq=e=>{let t=new Map,n=new Map;return e.map(e=>{let r=(e.lang||`plaintext`).toLowerCase(),i=JSON.stringify([r,e.label??``]),a=e.example===void 0?void 0:n.get(i);if(a)return a;let o=t.get(r)??0;t.set(r,o+1);let s=o===0?`custom/${r}`:`custom/${r}/${o}`;return e.example!==void 0&&n.set(i,s),s})},qq=(e=iK)=>{let t=new Set(e);return Vq().clients().flatMap(e=>{let n=e.clients.flatMap(n=>{let r=`${e.key}/${n.client}`;return t.has(r)?{id:r,lang:n.client===`curl`?`curl`:e.key,title:`${zt(e.title)} ${n.title}`,label:n.title,targetKey:e.key,targetTitle:e.title,clientKey:n.client}:[]});return n.length===0?[]:{label:e.title,key:e.key,options:n}})}})),VXt,HXt=s((()=>{VXt=`1.76.0`})),Yq,UXt,WXt,Xq,GXt,KXt=s((()=>{Lu(),rS(),tu(),iu(),su(),lu(),Fu(),Yq=(e,t,n)=>({name:e,value:`@${t}`,fileName:t,...n?{contentType:n}:{}}),UXt=e=>!!e&&`type`in e&&e.type===`string`&&`format`in e&&e.format===`binary`,WXt=(e,t)=>typeof e==`string`&&e.startsWith(`@`)&&UXt(t)?e.slice(1):void 0,Xq=(e,t,n,r=!1,i)=>{let a=[],o=Array.isArray(e)?e.filter(e=>!e.isDisabled).map(e=>[String(e.name),e.value]):Object.entries(e);for(let[s,c]of o){if(c==null)continue;let o=n?void 0:t?.[s];if(r&&!n){let t=Array.isArray(e)?Dv(c,Ev(i,[s])):c,n=Wv(s,Array.isArray(t)?t:c,o);if(n){for(let e of n)e.value instanceof File?a.push(Yq(e.key,e.value.name,e.contentType??e.value.type)):a.push({name:e.key,value:e.value,...e.contentType?{contentType:e.contentType}:{}});continue}}let l=o&&(o.style!==void 0||o.explode!==void 0||o.allowReserved!==void 0),u=l||!r?void 0:o?.contentType,d=r&&!n?WXt(c,Ev(i,[s])):void 0,f=n?null:Hv(s,c,o);if(f)for(let e of f)a.push({name:e.key,value:e.value});else if(c instanceof File){let e=Pu(c);a.push(Yq(s,e.name,u??(r?e.type:void 0)))}else if(d!==void 0)a.push(Yq(s,d,u));else if(u&&typeof c==`object`)a.push({name:s,value:JSON.stringify(Pu(c)),contentType:u});else if(r&&!n&&!l&&typeof c==`object`&&!Array.isArray(c))a.push({name:s,value:JSON.stringify(Pu(c)),contentType:`application/json`});else if(Array.isArray(c))for(let e of c)if(e instanceof File){let t=Pu(e);a.push(Yq(s,t.name,r?t.type:void 0))}else a.push({name:s,value:String(e)});else if(typeof c==`object`){let e=Xq(c,void 0,s);for(let t of e)a.push({name:`${s}.${t.name}`,value:t.value})}else a.push({name:s,value:String(c),...u?{contentType:u}:{}})}return a},GXt=({requestBody:e,contentType:t,example:n,openapiVersion:r,requestBodyCompositionSelection:i})=>{let a=t||Object.keys(e.content)[0]||``,o=a===`other`?``:a,s=e=>`@${Pu(e).name||`filename`}`,c=e.content[a]?.encoding,l=e.content[a];if(l&&Vb(a,l)){let t=n??Object.keys(l.examples??{})[0]??`default`,r=qb({...e,"x-scalar-selected-content-type":{[t]:a}},t,i);if(r?.mode===`multipart`){let e=Py(r.value,r.contentType);return{mimeType:e.contentType,text:e.chunks.map(e=>e instanceof File?s(e):e instanceof Blob?`BINARY`:String(e)).join(``)}}}let u=a===`multipart/form-data`||a===`application/x-www-form-urlencoded`;if(eu(a)){let t=mv(e,a,n??``,i,r);return t?{mimeType:o,text:t.value}:void 0}let d=au(u_(e,n,t)),f=ou(d,a);if(f!==void 0)return{mimeType:o,text:f};let p=d?.value;if(p!==void 0){let t=typeof p==`object`&&p?Pu(p):p;return u&&typeof t==`object`&&t?{mimeType:o,params:Xq(t,c,void 0,a===`multipart/form-data`,H(e.content[a]?.schema,ru))}:t instanceof File?{mimeType:o,text:s(t)}:{mimeType:o,text:typeof t==`string`?t:cu(t,a,!1)??JSON.stringify(t)}}let m=e.content[a],h=H(m?.schema??m?.itemSchema);if(h!==void 0){let e=nv(Iu(h),{compositionSelection:i,mode:`write`,binaryAsFile:a===`multipart/form-data`},{schemaPath:[`requestBody`]});if(e!==void 0)return u&&typeof e==`object`&&e?{mimeType:o,params:Xq(e,c,void 0,a===`multipart/form-data`,h)}:{mimeType:o,text:cu(e,a,m?.schema===void 0)??(typeof e==`string`?e:JSON.stringify(e))}}}})),Zq,qXt,JXt,YXt,XXt,ZXt,QXt,$Xt=s((()=>{js(),rS(),iu(),rGe(),zHe(),Zb(),Ky(),Zq=class extends Error{},qXt=e=>(e??[]).map(e=>H(e)).filter(e=>e!==void 0),JXt=e=>`allowReserved`in e&&e.allowReserved!==void 0?e.allowReserved:`schema`in e&&e.schema&&typeof e.schema==`object`&&`allowReserved`in e.schema?e.schema.allowReserved===!0:!1,YXt=e=>{if(e.in===`header`)return{style:`simple`,explode:`explode`in e&&e.explode!==void 0&&e.explode};if(e.in===`cookie`){let t=`explode`in e&&e.explode!==void 0?e.explode:!0;return{style:`style`in e&&e.style===`cookie`?`cookie`:`form`,explode:t}}let t={path:`simple`,query:`form`,querystring:`form`,header:`simple`,cookie:`form`}[e.in],n=`style`in e&&e.style?e.style:t;return{style:n,explode:`explode`in e&&e.explode!==void 0?e.explode:n===`form`}},XXt=(e,t,n)=>{let r=Xb(e,t),i=r.example,a=e.in===`query`&&!r.serialized&&!r.mediaSerialized?i?.[`x-scalar-disabled-properties`]:void 0;if(a)return Sb(yb(r.value,e),a,Hy(e,i,n));if(Hy(e,i,n))return;if(r.value!==void 0)return yb(r.value,e);if(!(`schema`in e)||!e.schema)return;let o=e.in===`path`?{emptyString:`{${e.name}}`}:{},s=H(e.schema);return s?nv(s,o):void 0},ZXt=({harRequest:e,parameters:t,example:n,defaultDisabled:r,openapiVersion:i})=>{let a=[...e.headers],o=[...e.queryString],s=[...e.cookies],c=[],l=e.url,u=!1,d=[],f=[],p=(e,t,n)=>{JXt(n)?d.push(`${encodeURIComponent(e)}=${t}`):o.push({name:e,value:t})},m=qXt(t);for(let e of m){if(!e.in||!e.name)continue;if(e.in===`querystring`){let t=Wy(e,n,{defaultDisabled:r});if(t){let e=l.indexOf(`#`),n=e===-1?``:l.slice(e),r=(e===-1?l:l.slice(0,e)).split(`?`)[0],i=Gy(t);l=`${r}${i?`?${i}`:``}${n}`}continue}let t=Xb(e,n);if(t.serialized&&!Hy(e,t.example,r)){let n=String(t.value);switch(e.in){case`path`:l=l.replaceAll(`{${e.name}}`,()=>n);break;case`query`:d.push(n);break;case`header`:a.push({name:e.name,value:n});break;case`cookie`:f.push(n)}continue}if(t.mediaSerialized&&!Hy(e,t.example,r)){let n=String(t.value);switch(e.in){case`query`:p(e.name,n,e);break;case`header`:a.push({name:e.name,value:n});break;case`path`:l=l.replaceAll(`{${e.name}}`,()=>encodeURIComponent(n));break;case`cookie`:s.push({name:e.name,value:n})}continue}let o=XXt(e,n,r);if(o===void 0)continue;let{style:m,explode:h}=YXt(e);switch(e.in){case`path`:{let t=i?.startsWith(`3.2.`)&&`schema`in e&&e.allowReserved===!0;u||=!!t;let n=t?zy(e.name,{value:o,style:m,explode:h}):void 0;l=n===void 0?QXt(l,e,o,m,h):l.replaceAll(`{${e.name}}`,()=>n);break}case`query`:if(`content`in e&&e.content){let t=Object.keys(e.content)[0]??`application/json`,n=Av(o,t);p(e.name,n,e);break}switch(m){case`form`:{let t=Mv(o,h);if(Array.isArray(t))for(let n of t)p(n.key||e.name,String(n.value),e);else p(e.name,String(t),e);break}case`spaceDelimited`:{let t=Pv(o);p(e.name,t,e);break}case`pipeDelimited`:{let t=Fv(o);p(e.name,t,e);break}case`deepObject`:if(Array.isArray(o)){let t=Mv(o,!0);if(Array.isArray(t))for(let n of t)p(n.key||e.name,String(n.value),e);else p(e.name,String(t),e)}else{let t=Iv(e.name,o);for(let n of t)p(n.key,n.value,e)}break;default:p(e.name,String(o),e)}break;case`header`:{let t=jv(o,h);a.push({name:e.name,value:String(t)});break}case`cookie`:{let[t,n]=(i??``).split(`.`),r=t===`3`&&n===`2`&&!(`content`in e)?Yb(e,o):void 0;if(r)throw new Zq(r);if(m===`cookie`){c.push(...Rv(e.name,o,h));break}let a=Nv(o,h);if(Array.isArray(a))for(let t of a){let n=t.key||e.name,r=t.value===null?`null`:String(t.value);s.push({name:n,value:r})}else{let t=a===null?`null`:String(a);s.push({name:e.name,value:t})}break}}}if(c.length||f.length){let e=[...s.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`),...c.map(e=>`${e.name}=${e.value}`),...f].join(`; `),t=a.find(e=>e.name.toLowerCase()===`cookie`);t?a.splice(a.indexOf(t),1,{...t,value:t.value?`${t.value}; ${e}`:e}):a.push({name:`Cookie`,value:e})}if(d.length){let e=l.indexOf(`#`),t=e<0?``:l.slice(e),n=e<0?l:l.slice(0,e);l=`${n}${n.includes(`?`)?`&`:`?`}${d.join(`&`)}${t}`}return u&&By(l),{url:l,headers:a,queryString:o,cookies:c.length||f.length?[]:s,hasCookieStyleEntries:c.length>0||f.length>0,...d.length?{hasSerializedQuery:!0}:{}}},QXt=(e,t,n,r,i)=>{switch(r){case`matrix`:if(i){if(Array.isArray(n)){let r=n.map(e=>`${t.name}=${e}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}if(As(n)){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}if(Array.isArray(n))return e.replace(`{;${t.name}}`,`;${t.name}=${n.join(`,`)}`);if(As(n)){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`);case`label`:if(i){if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`.`)}`);if(As(n)){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`.`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`)}if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`,`)}`);if(As(n)){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`);case`simple`:{let r=jv(n,i);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(n))}}})),eZt,tZt=s((()=>{My(),eZt=e=>{let t={headers:[],queryString:[],cookies:[]};for(let n of e)if(n.type===`apiKey`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;if(!n.name)continue;let r={name:n.name,value:e};switch(n.in){case`header`:t.headers.push(r);break;case`query`:t.queryString.push(r);break;case`cookie`:t.cookies.push(r)}}else if(n.type===`http`){if(n.scheme===`basic`){let e=`${n[`x-scalar-secret-username`]||``}:${n[`x-scalar-secret-password`]||``}`,r=e===`:`?`username:password`:yy(e);t.headers.push({name:`Authorization`,value:`Basic ${r}`})}else if(n.scheme===`bearer`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}}else if(n.type===`oauth2`&&n.flows){let e=Object.values(n.flows).find(e=>e[`x-scalar-secret-token`])?.[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}return t}})),nZt,rZt=s((()=>{qv(),uc(),nZt=(e,t)=>{if(!e?.url)return t;let n=e.url;if(e.variables){let r=uHe(n,Object.entries(e.variables).reduce((e,[t,n])=>(n.default!==void 0&&(e[t]=n.default),e),{}));return lc(r,t)}return lc(n,t)}})),Qq,iZt=s((()=>{HXt(),KXt(),$Xt(),tZt(),rZt(),rS(),iu(),Ic(),Qq=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:i,server:a=null,example:o,securitySchemes:s,globalCookies:c,openapiVersion:l,requestBodyCompositionSelection:u,defaultDisabledParameters:d=!1})=>{let f=e?jb({method:r,operation:t,exampleName:o??`default`,hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:Fc(),appVersion:VXt}}):{},p=KWe(f),m=t[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[o??`default`]??{},h={method:r,url:nZt(a,i),headers:Object.entries(p).map(([e,t])=>({name:e,value:t})),queryString:[],postData:void 0,httpVersion:`HTTP/1.1`,cookies:[],headersSize:-1,bodySize:-1},g=!1,_=!1;if(t.parameters){let{url:e,headers:n,queryString:r,cookies:i,hasCookieStyleEntries:a,hasSerializedQuery:s}=ZXt({harRequest:h,parameters:t.parameters,openapiVersion:l,example:o,defaultDisabled:d}),u=c?.filter(t=>Iy({cookie:t,url:e,disabledGlobalCookies:m}))?.map(e=>({name:e.name,value:e.value}))??[];g=a,_=s??!1,h.url=e,h.headers=n,h.queryString=r,h.cookies=[...u,...i]}let v=H(t.requestBody);if(v?.content){let e=GXt({requestBody:v,contentType:n,example:o,openapiVersion:l,requestBodyCompositionSelection:u});if(e&&(h.postData=e,h.bodySize=e.text?.length??-1,e.mimeType)){let t=h.headers.find(e=>e.name.toLowerCase()===`content-type`);t&&(!t.value||e.mimeType.startsWith(`multipart/`)&&e.mimeType.includes(`boundary=`)&&e.text!==void 0)?t.value=e.mimeType:t||h.headers.push({name:`Content-Type`,value:e.mimeType})}}let y=_||t.parameters?.some(e=>H(e)?.in===`querystring`);if(s){let{headers:e,queryString:t,cookies:n}=eZt(s);h.headers.push(...e),h.queryString.push(...t),h.cookies.push(...n)}let b=h.headers.find(e=>e.name.toLowerCase()===`cookie`);if(g&&b&&h.cookies.length){let e=h.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);b.value=b.value?`${b.value}; ${e}`:e,h.cookies=[]}if(y&&h.queryString.length){let e=h.url.indexOf(`#`),t=e===-1?``:h.url.slice(e),n=e===-1?h.url:h.url.slice(0,e),r=h.queryString.map(({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join(`&`);h.url=`${n}${n.includes(`?`)?`&`:`?`}${r}${t}`,h.queryString=[]}h.postData?.mimeType===`multipart/form-data`&&h.postData.params?.some(e=>e.fileName!==void 0)&&(h.headers=h.headers.filter(e=>e.name.toLowerCase()!==`content-type`));let x=0;for(let e of h.headers)x+=(e.name?.length??0)+2+(e.value?.length??0)+2;return h.headersSize=x,h}})),$q,aZt,oZt=s((()=>{Hq(),$q=`ws://replace.me`,aZt=(e,t,n)=>{try{if(!n.url)return[Error(`Please enter a URL to see a code snippet`),null];let r=n.url.startsWith(`/`)?``:`/`;try{new URL(n.url)}catch{n.url=`${$q}${r}${n.url}`}if(n.postData?.mimeType===`application/json`)try{JSON.parse(n.postData.text||`{}`)}catch(e){return console.error(`[getSnippet] Invalid JSON body`,e),[Error(`Invalid JSON body`),null]}let i=e.replace(`javascript`,`js`);if(Vq().hasPlugin(i,t)){let e=Vq().print(i,t,n);return e?[null,e.replace(`${$q}${r}`,``)]:[Error(`Error generating snippet`),null]}}catch(e){return console.error(`[getSnippet] Error generating snippet`,e),[Error(`Error generating snippet`),null]}return[Error(`No snippet found`),null]}})),eJ,sZt=s((()=>{Jq(),oZt(),$Xt(),iZt(),iu(),eJ=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:r,method:i,path:a,example:o,contentType:s,server:c,securitySchemes:l,globalCookies:u,openapiVersion:d,requestBodyCompositionSelection:f,defaultDisabledParameters:p})=>{try{if(!e)return``;if(e.startsWith(`custom`)){let n=Kq(t),i=t.filter((t,r)=>n[r]===e);if(!i.some(e=>e.example!==void 0))return i[0]?.source??`Custom example not found`;let a=H(r.requestBody)?.content??{},c=s??Object.keys(a)[0],l=o??Object.keys(a[c??``]?.examples??{})[0];return(i.find(e=>e.example===l&&e.contentType===c)??i.find(e=>e.example===l&&e.contentType===void 0))?.source??null}let m=Qq({operation:r,contentType:s,method:i,path:a,server:c,securitySchemes:l,example:o,globalCookies:u,includeDefaultHeaders:n,openapiVersion:d,requestBodyCompositionSelection:f,defaultDisabledParameters:p}),[h,g]=e.split(`/`),[_,v]=aZt(h,g,m);return _?(console.error(`[generateCodeSnippet]`,_),_.message??`Error generating code snippet`):v}catch(e){return console.error(`[generateCodeSnippet]`,e),e instanceof Zq?e.message:`Error generating code snippet`}}})),tJ,cZt,lZt,nJ,rJ,iJ,aJ=s((()=>{tJ=(e,t)=>Object.entries(e??{}).map(([e,n])=>({lang:e,source:n,...t?{label:t}:{}})),cZt=e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>tJ(e.request,e.title)):[],lZt=e=>(e??[]).map(e=>({lang:e.language,source:e.code,...e.name?{label:e.name}:{}})),nJ=`SDK`,rJ=`Code Examples`,iJ=e=>{let t=e[`x-scalar-examples`]??[];if(t.length)return{label:nJ,samples:t};let n=tJ(e[`x-stainless-snippets`]);if(n.length)return{label:nJ,samples:n};let r=cZt(e[`x-stainless-examples`]);if(r.length)return{label:nJ,samples:r};let i=lZt(e[`x-readme`]?.[`code-samples`]);return i.length?{label:rJ,samples:i}:{label:rJ,samples:[`x-custom-examples`,`x-codeSamples`,`x-code-samples`].flatMap(t=>e[t]??[])}}})),uZt,dZt=s((()=>{uZt=(e=``)=>(e[0]?.toUpperCase()??``)+e.slice(1)})),fZt,pZt,mZt=s((()=>{dZt(),fZt={c:`C`,clojure:`Clojure`,cpp:`C++`,"c++":`C++`,csharp:`C#`,"c#":`C#`,css:`CSS`,curl:`cURL`,dart:`Dart`,fsharp:`F#`,"f#":`F#`,go:`Go`,golang:`Go`,graphql:`GraphQL`,html:`HTML`,http:`HTTP`,java:`Java`,javascript:`JavaScript`,js:`JavaScript`,json:`JSON`,jl:`Julia`,julia:`Julia`,kotlin:`Kotlin`,node:`Node.js`,nodejs:`Node.js`,objc:`Objective-C`,"objective-c":`Objective-C`,ocaml:`OCaml`,php:`PHP`,powershell:`PowerShell`,py:`Python`,python:`Python`,r:`R`,ruby:`Ruby`,rust:`Rust`,scala:`Scala`,sh:`Shell`,shell:`Shell`,bash:`Shell`,sql:`SQL`,swift:`Swift`,ts:`TypeScript`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`,yml:`YAML`},pZt=e=>{if(e)return fZt[e.toLowerCase()]??uZt(e)}})),oJ,hZt=s((()=>{Jq(),mZt(),aJ(),oJ=(e,t,n=rJ)=>{if(e.length){let r=Kq(e);return[{label:n,key:`custom`,options:e.flatMap((e,t)=>{let n=r[t]??`custom/${t}`;if(r.indexOf(n)!==t)return[];let i=e.label||pZt(e.lang)||n;return{id:n,lang:e.lang||`plaintext`,title:i,label:i,clientKey:`custom`}})},...t]}return t}})),sJ,gZt=s((()=>{My(),sJ=e=>e.flatMap(e=>e.type===`apiKey`?e[`x-scalar-secret-token`]:e?.type===`http`?[e[`x-scalar-secret-token`],e[`x-scalar-secret-username`],e[`x-scalar-secret-password`],yy(`${e[`x-scalar-secret-username`]}:${e[`x-scalar-secret-password`]}`)]:e.type===`oauth2`?Object.values(e.flows).map(e=>e[`x-scalar-secret-token`]):[]).filter(Boolean)})),cJ,lJ,uJ=s((()=>{cJ={get:{short:`GET`,colorClass:`text-blue`,colorVar:`var(--scalar-color-blue)`,backgroundColor:`bg-blue/10`},query:{short:`QUERY`,colorClass:`text-query`,colorVar:`var(--scalar-color-query)`,backgroundColor:`bg-query/10`},post:{short:`POST`,colorClass:`text-green`,colorVar:`var(--scalar-color-green)`,backgroundColor:`bg-green/10`},put:{short:`PUT`,colorClass:`text-orange`,colorVar:`var(--scalar-color-orange)`,backgroundColor:`bg-orange/10`},patch:{short:`PATCH`,colorClass:`text-yellow`,colorVar:`var(--scalar-color-yellow)`,backgroundColor:`bg-yellow/10`},delete:{short:`DEL`,colorClass:`text-red`,colorVar:`var(--scalar-color-red)`,backgroundColor:`bg-red/10`},options:{short:`OPTS`,colorClass:`text-purple`,colorVar:`var(--scalar-color-purple)`,backgroundColor:`bg-purple/10`},head:{short:`HEAD`,colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2/10`},trace:{short:`TRACE`,colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2/10`}},lJ=e=>{let t=e.trim().toLowerCase();return Object.hasOwn(cJ,t)?cJ[t]:{short:e.trim(),colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2`}}})),_Zt,vZt=s((()=>{B(),uJ(),nc(),_Zt=k({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=z(()=>lJ(String(t.method||``))),r=z(()=>{if(typeof t.method!=`string`||!t.method.trim())return`get`;let e=t.method.trim();return tc(e.toLowerCase())?e.toLowerCase():e});return(t,i)=>(j(),N(Ar(e.as??`span`),{class:lt({uppercase:D(tc)(r.value)}),style:ct({[e.property||`color`]:n.value.colorVar})},{default:O(()=>[A(t.$slots,`default`),F(` `+T(e.short?n.value.short:r.value),1)]),_:3},8,[`class`,`style`]))}})})),dJ,yZt=s((()=>{vZt(),dJ=_Zt})),bZt,xZt,SZt,CZt,wZt=s((()=>{B(),Qs(),bZt={key:0,class:`text-c-3 shrink-0 text-xs whitespace-nowrap tabular-nums`},xZt=[`disabled`],SZt=[`disabled`],CZt=k({__name:`ScalarVirtualTextSearch`,props:{query:{},matchCount:{},activeMatchIndex:{}},emits:[`update:query`,`next`,`prev`,`close`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=E(null),o=E(r.query);dr(()=>r.query,e=>{o.value=e}),dr(o,e=>{i(`update:query`,e)});let s=()=>{nr(()=>a.value?.focus())},c=e=>{e.key===`Enter`&&(e.preventDefault(),e.shiftKey?i(`prev`):i(`next`)),e.key===`Escape`&&(e.preventDefault(),i(`close`))};return t({focus:s}),(t,n)=>(j(),M(`div`,{class:`scalar-virtual-text-search bg-b-2 mt-2 mr-2 ml-auto flex h-fit w-fit items-center gap-1 overflow-visible rounded-lg px-2 py-1 shadow-md`,onClick:n[4]||=Ka(()=>{},[`stop`])},[R(D(Ks),{class:`text-c-3 pointer-events-none size-3.5 shrink-0`}),or(P(`input`,{ref_key:`searchInputRef`,ref:a,"onUpdate:modelValue":n[0]||=e=>o.value=e,"aria-label":`Search in text`,autocomplete:`off`,class:`scalar-virtual-text-search-input text-c-1 w-36 min-w-0 appearance-none border-none bg-transparent px-1 py-0.5 text-xs outline-none`,placeholder:`Find...`,spellcheck:`false`,type:`search`,onKeydown:c},null,544),[[Ga,o.value]]),o.value?(j(),M(`span`,bZt,T(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:`No results`),1)):I(``,!0),n[5]||=P(`span`,{class:`bg-b-3 mx-0.5 h-3.5 w-px`},null,-1),P(`button`,{"aria-label":`Previous match`,class:`text-c-3 hover:bg-b-3 hover:text-c-1 flex size-5 items-center justify-center rounded disabled:pointer-events-none disabled:opacity-30`,disabled:e.matchCount===0,title:`Previous match (Shift+Enter)`,type:`button`,onClick:n[1]||=e=>i(`prev`)},[R(D(Dde),{class:`size-3`})],8,xZt),P(`button`,{"aria-label":`Next match`,class:`text-c-3 hover:bg-b-3 hover:text-c-1 flex size-5 items-center justify-center rounded disabled:pointer-events-none disabled:opacity-30`,disabled:e.matchCount===0,title:`Next match (Enter)`,type:`button`,onClick:n[2]||=e=>i(`next`)},[R(D(zs),{class:`size-3`})],8,SZt),P(`button`,{"aria-label":`Close search`,class:`text-c-3 hover:bg-b-3 hover:text-c-1 flex size-5 items-center justify-center rounded`,title:`Close (Escape)`,type:`button`,onClick:n[3]||=e=>i(`close`)},[R(D(Zs),{class:`size-3`})])]))}})})),TZt,EZt=s((()=>{aS(),wZt(),TZt=iS(CZt,[[`__scopeId`,`data-v-b843dc7d`]])})),DZt,OZt,kZt=s((()=>{EZt(),B(),DZt={key:0,class:`sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible`},OZt=k({__name:`ScalarVirtualText`,props:{text:{},lineHeight:{default:20},containerClass:{default:``},contentClass:{default:``},lineClass:{default:``},searchable:{type:Boolean,default:!1}},setup(e){let t=e,n=E(null),r=E(null),i=E(0),a=E(0),o=E(``),s=E(!1),c=E(0),l=z(()=>t.text.split(`
+`)),u=z(()=>l.value.length*t.lineHeight),d=z(()=>Math.floor(i.value/t.lineHeight)),f=z(()=>Math.min(Math.ceil((i.value+a.value)/t.lineHeight),l.value.length)),p=z(()=>Math.max(0,d.value-10)),m=z(()=>{let e=Math.min(l.value.length,f.value+10);return l.value.slice(p.value,e)}),h=z(()=>p.value*t.lineHeight),g=z(()=>{let e=o.value;if(!e)return[];let t=e.toLowerCase(),n=[];for(let r=0;r<l.value.length;r++){let i=l.value[r];if(!i)continue;let a=i.toLowerCase(),o=0;for(;o<a.length;){let i=a.indexOf(t,o);if(i===-1)break;n.push({line:r,start:i,end:i+e.length}),o=i+t.length}}return n}),_=z(()=>{let e=new Set;for(let t of g.value)e.add(t.line);return e});dr(()=>g.value.length,e=>{e===0?c.value=0:c.value>=e&&(c.value=e-1)});let v=e=>{if(!n.value)return;let r=e.line*t.lineHeight,i=n.value.scrollTop,a=i+n.value.clientHeight;(r<i||r+t.lineHeight>a)&&(n.value.scrollTop=r-n.value.clientHeight/2)},y=e=>{let t=g.value[e];t&&(c.value=e,v(t))},b=()=>{g.value.length!==0&&y((c.value+1)%g.value.length)},x=()=>{g.value.length!==0&&y((c.value-1+g.value.length)%g.value.length)},ee=()=>{s.value=!0,nr(()=>r.value?.focus())},te=()=>{s.value=!1,o.value=``,c.value=0},ne=e=>{t.searchable&&((e.metaKey||e.ctrlKey)&&e.key===`f`&&(e.preventDefault(),e.stopPropagation(),ee()),e.key===`Escape`&&s.value&&(e.preventDefault(),te()))};dr(o,()=>{c.value=0;let e=g.value[0];e&&v(e)});let re=()=>n.value&&(i.value=n.value.scrollTop),ie=()=>n.value&&(a.value=n.value.clientHeight);Ii(()=>{ie(),window.addEventListener(`resize`,ie)}),Ri(()=>{window.removeEventListener(`resize`,ie)});let ae=e=>{let t=l.value[e]??``;if(!o.value||!_.value.has(e))return[{text:t,highlight:!1,active:!1}];let n=g.value.filter(t=>t.line===e),r=[],i=0;for(let e of n){e.start>i&&r.push({text:t.slice(i,e.start),highlight:!1,active:!1});let n=g.value.indexOf(e)===c.value;r.push({text:t.slice(e.start,e.end),highlight:!0,active:n}),i=e.end}return i<t.length&&r.push({text:t.slice(i),highlight:!1,active:!1}),r},oe=e=>p.value+e;return(i,a)=>(j(),M(`div`,{ref_key:`containerRef`,ref:n,class:lt([`scalar-virtual-text relative overflow-auto`,e.containerClass]),tabindex:`0`,onKeydown:ne,onScroll:re},[e.searchable&&s.value?(j(),M(`div`,DZt,[R(TZt,{ref_key:`searchRef`,ref:r,query:o.value,"onUpdate:query":a[0]||=e=>o.value=e,activeMatchIndex:c.value,matchCount:g.value.length,onClose:te,onNext:b,onPrev:x},null,8,[`query`,`activeMatchIndex`,`matchCount`])])):I(``,!0),P(`div`,{style:ct({height:`${u.value}px`})},null,4),P(`code`,{class:lt([`scalar-virtual-text-content absolute top-0 right-0 left-0`,e.contentClass]),style:ct({transform:`translateY(${h.value}px)`})},[(j(!0),M(L,null,jr(m.value,(n,r)=>(j(),M(`div`,{key:p.value+r,class:lt([`scalar-virtual-text-line`,e.lineClass]),style:ct({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},[o.value&&_.value.has(oe(r))?(j(!0),M(L,{key:0},jr(ae(oe(r)),(e,t)=>(j(),M(L,{key:t},[e.highlight?(j(),M(`mark`,{key:0,class:lt([`scalar-virtual-text-highlight`,e.active?`scalar-virtual-text-highlight-active`:``])},T(e.text),3)):(j(),M(L,{key:1},[F(T(e.text),1)],64))],64))),128)):(j(),M(L,{key:1},[F(T(n),1)],64))],6))),128))],6)],34))}})})),fJ,AZt=s((()=>{aS(),kZt(),fJ=iS(OZt,[[`__scopeId`,`data-v-50a0b01e`]])})),jZt=s((()=>{AZt()})),pJ,MZt=s((()=>{pJ=e=>{if(!e)return()=>null;let t=e.getBoundingClientRect().top,n=null,r=new MutationObserver(r=>{r.some(e=>e.type===`childList`||e.type===`attributes`&&(e.attributeName===`style`||e.attributeName===`class`))&&(n!==null&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{let r=e.getBoundingClientRect().top;if(r!==t){let e=r-t;window.scrollBy(0,e)}n=null}))});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`style`,`class`],characterData:!1}),()=>{n!==null&&cancelAnimationFrame(n),r.disconnect()}}})),mJ,hJ,NZt=s((()=>{iu(),d_(),mJ=(e,t,n)=>{let r=H(e.requestBody);return[r?u_(r,t,n):void 0,...(e.parameters??[]).map(e=>{let n=H(e);return n?u_(n,t,void 0):void 0})]},hJ=(e,t,n,r)=>{let i=e=>{let n=t||Object.keys(e.examples??{})[0],i=n?H(e.examples?.[n]):void 0,a=r(i);return n&&a&&a!==i?{...e,examples:{...e.examples,[n]:a}}:e},a=H(e.requestBody),o=n??Object.keys(a?.content??{})[0];return{...e,...a&&o&&a.content[o]?{requestBody:{...a,content:{...a.content,[o]:i(a.content[o])}}}:{},parameters:e.parameters?.map(e=>{let t=H(e);if(!t)return e;let n=`content`in t?t.content:void 0,r=Object.keys(n??{})[0];if(r&&n?.[r]){let a=i(n[r]);return a===n[r]?e:{...t,content:{...n,[r]:a}}}let a=i(t);return a===t?e:{...t,...a}})}}}));function gJ(e=``){return e&&e.replace(/\\/g,`/`).replace(IZt,e=>e.toUpperCase())}function PZt(){return typeof process<`u`&&typeof process.cwd==`function`?process.cwd().replace(/\\/g,`/`):`/`}function _J(e,t){let n=``,r=0,i=-1,a=0,o=null;for(let s=0;s<=e.length;++s){if(s<e.length)o=e[s];else if(o===`/`)break;else o=`/`;if(o===`/`){if(i!==s-1&&a!==1){if(a===2){if(n.length<2||r!==2||n[n.length-1]!==`.`||n[n.length-2]!==`.`){if(n.length>2){let e=n.lastIndexOf(`/`);e===-1?(n=``,r=0):(n=n.slice(0,e),r=n.length-1-n.lastIndexOf(`/`)),i=s,a=0;continue}if(n.length>0){n=``,r=0,i=s,a=0;continue}}t&&(n+=n.length>0?`/..`:`..`,r=2)}else n.length>0?n+=`/${e.slice(i+1,s)}`:n=e.slice(i+1,s),r=s-i-1}i=s,a=0}else o===`.`&&a!==-1?++a:a=-1}return n}var vJ,yJ,FZt,IZt,LZt,RZt,bJ,xJ,zZt,BZt,SJ,VZt,CJ,wJ,HZt,TJ,UZt,EJ,WZt,DJ,GZt,KZt,OJ,qZt=s((()=>{vJ=()=>{var e=(()=>{var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i=(t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})},a=(i,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(let c of n(a))!r.call(i,c)&&c!==o&&e(i,c,{get:()=>a[c],enumerable:!(s=t(a,c))||s.enumerable});return i},o=t=>a(e({},`__esModule`,{value:!0}),t),s={};i(s,{default:()=>Ke});var c=e=>Array.isArray(e),l=e=>typeof e==`function`,u=e=>e.length===0,d=e=>typeof e==`number`,f=e=>typeof e==`object`&&!!e,p=e=>e instanceof RegExp,m=e=>typeof e==`string`,h=e=>e===void 0,g=e=>{let t=new Map;return n=>{let r=t.get(n);if(r)return r;let i=e(n);return t.set(n,i),i}},_=(e,t,n={})=>{let r={cache:{},input:e,index:0,indexMax:0,options:n,output:[]};if(le(t)(r)&&r.index===e.length)return r.output;throw Error(`Failed to parse at index ${r.indexMax}`)},v=(e,t)=>c(e)?y(e,t):m(e)?x(e,t):b(e,t),y=(e,t)=>{let n={};for(let t of e){if(t.length!==1)throw Error(`Invalid character: "${t}"`);let e=t.charCodeAt(0);n[e]=!0}return e=>{let r=e.index,i=e.input;for(;e.index<i.length&&i.charCodeAt(e.index)in n;)e.index+=1;let a=e.index;if(a>r){if(!h(t)&&!e.options.silent){let n=e.input.slice(r,a),o=l(t)?t(n,i,String(r)):t;h(o)||e.output.push(o)}e.indexMax=Math.max(e.indexMax,e.index)}return!0}},b=(e,t)=>{let n=e.source,r=e.flags.replace(/y|$/,`y`),i=new RegExp(n,r);return se(e=>{i.lastIndex=e.index;let n=i.exec(e.input);if(n){if(!h(t)&&!e.options.silent){let r=l(t)?t(...n,e.input,String(e.index)):t;h(r)||e.output.push(r)}return e.index+=n[0].length,e.indexMax=Math.max(e.indexMax,e.index),!0}return!1})},x=(e,t)=>n=>{if(n.input.startsWith(e,n.index)){if(!h(t)&&!n.options.silent){let r=l(t)?t(e,n.input,String(n.index)):t;h(r)||n.output.push(r)}return n.index+=e.length,n.indexMax=Math.max(n.indexMax,n.index),!0}return!1},ee=(e,t,n,r)=>{let i=le(e);return se(oe(ae(e=>{let r=0;for(;r<n;){let t=e.index;if(!i(e)||(r+=1,e.index===t))break}return r>=t})))},te=(e,t)=>ee(e,0,1),ne=(e,t)=>ee(e,0,1/0),re=(e,t)=>{let n=e.map(le);return se(oe(ae(e=>{for(let t=0,r=n.length;t<r;t++)if(!n[t](e))return!1;return!0})))},ie=(e,t)=>{let n=e.map(le);return se(oe(e=>{for(let t=0,r=n.length;t<r;t++)if(n[t](e))return!0;return!1}))},ae=(e,t=!1)=>{let n=le(e);return e=>{let r=e.index,i=e.output.length,a=n(e);return(!a||t)&&(e.index=r,e.output.length!==i&&(e.output.length=i)),a}},oe=(e,t)=>le(e),se=(()=>{let e=0;return t=>{let n=le(t),r=e+=1;return e=>{var t;if(e.options.memoization===!1)return n(e);let i=e.index,a=(t=e.cache)[r]||(t[r]=new Map),o=a.get(i);if(o===!1)return!1;if(d(o))return e.index=o,!0;if(o)return e.index=o.index,o.output?.length&&e.output.push(...o.output),!0;{let t=e.output.length;if(n(e)){let n=e.index,r=e.output.length;if(r>t){let o=e.output.slice(t,r);a.set(i,{index:n,output:o})}else a.set(i,n);return!0}return a.set(i,!1),!1}}}})(),ce=e=>{let t;return n=>(t||=le(e()),t(n))},le=g(e=>{if(l(e))return u(e)?ce(e):e;if(m(e)||p(e))return v(e);if(c(e))return re(e);if(f(e))return ie(Object.values(e));throw Error(`Invalid rule`)}),S=`abcdefghijklmnopqrstuvwxyz`,ue=e=>{let t=``;for(;e>0;)t=S[(e-1)%26]+t,e=Math.floor((e-1)/26);return t},de=e=>{let t=0;for(let n=0,r=e.length;n<r;n++)t=t*26+S.indexOf(e[n])+1;return t},fe=(e,t)=>{if(t<e)return fe(t,e);let n=[];for(;e<=t;)n.push(e++);return n},pe=(e,t,n)=>fe(e,t).map(e=>String(e).padStart(n,`0`)),me=(e,t)=>fe(de(e),de(t)).map(ue),he=e=>e,ge=e=>C(t=>_(t,e,{memoization:!1}).join(``)),C=e=>{let t={};return n=>t[n]??(t[n]=e(n))},_e=v(/^\*\*\/\*$/,`.*`),ve=v(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(e,t,n)=>`.*${t?``:`(?:^|/)`}${n.replaceAll(`.`,`\\.`)}`),w=v(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/,(e,t,n,r)=>`.*${t?``:`(?:^|/)`}${n.replaceAll(`.`,`\\.`)}(?:${r.replaceAll(`,`,`|`).replaceAll(`.`,`\\.`)})`),ye=v(/\\./,he),be=v(/[$.*+?^(){}[\]\|]/,e=>`\\${e}`),xe=v(/./,he),Se=ie([v(/^(?:!!)*!(.*)$/,(e,t)=>`(?!^${Ve(t)}$).*?`),v(/^(!!)+/,``)]),Ce=ie([v(/\/(\*\*\/)+/,`(?:/.+/|/)`),v(/^(\*\*\/)+/,`(?:^|.*/)`),v(/\/(\*\*)$/,`(?:/.*|$)`),v(/\*\*/,`.*`)]),we=ie([v(/\*\/(?!\*\*\/)/,`[^/]*/`),v(/\*/,`[^/]*`)]),Te=v(`?`,`[^/]`),Ee=v(`[`,he),De=v(`]`,he),Oe=v(/[!^]/,`^/`),ke=v(/[a-z]-[a-z]|[0-9]-[0-9]/i,he),Ae=ie([ye,v(/[$.*+?^(){}[\|]/,e=>`\\${e}`),ke,v(/[^\]]/,he)]),je=re([Ee,te(Oe),ne(Ae),De]),Me=v(`{`,`(?:`),Ne=v(`}`,`)`),Pe=re([Me,ie([v(/(\d+)\.\.(\d+)/,(e,t,n)=>pe(+t,+n,Math.min(t.length,n.length)).join(`|`)),v(/([a-z]+)\.\.([a-z]+)/,(e,t,n)=>me(t,n).join(`|`)),v(/([A-Z]+)\.\.([A-Z]+)/,(e,t,n)=>me(t.toLowerCase(),n.toLowerCase()).join(`|`).toUpperCase())]),Ne]),Fe=v(`{`,`(?:`),Ie=v(`}`,`)`),Le=v(`,`,`|`),Re=v(/[$.*+?^(){[\]\|]/,e=>`\\${e}`),ze=v(/[^}]/,he),Be=re([Fe,ne(ie([Ce,we,Te,je,Pe,ce(()=>Be),ye,Re,Le,ze])),Ie]),Ve=ge(ne(ie([_e,ve,w,Se,Ce,we,Te,je,Pe,Be,ye,be,xe]))),He=v(/\\./,he),Ue=v(/./,he),We=ge(ne(ie([He,v(/\*\*\*+/,`*`),v(/([^/{[(!])\*\*/,(e,t)=>`${t}*`),v(/(^|.)\*\*(?=[^*/)\]}])/,(e,t)=>`${t}*`),Ue]))),Ge=(e,t)=>{let n=Array.isArray(e)?e:[e];if(!n.length)return!1;let r=n.map(Ge.compile),i=n.every(e=>/(\/(?:\*\*)?|\[\/\])$/.test(e)),a=t.replace(/[\\\/]+/g,`/`).replace(/\/$/,i?`/`:``);return r.some(e=>e.test(a))};Ge.compile=e=>RegExp(`^${Ve(We(e))}$`,`s`);var Ke=Ge;return o(s)})();return e.default||e},FZt=(e,t)=>(yJ||(yJ=vJ(),vJ=null),yJ(e,t)),IZt=/^[A-Za-z]:\//,LZt=/^[/\\]{2}/,RZt=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,bJ=/^[A-Za-z]:$/,xJ=/^\/([A-Za-z]:)?$/,zZt=/.(\.[^./]+|\.)$/,BZt=/^[/\\]|^[a-zA-Z]:[/\\]/,SJ=function(e){if(e.length===0)return`.`;e=gJ(e);let t=e.match(LZt),n=wJ(e),r=e[e.length-1]===`/`;return e=_J(e,!n),e.length===0?n?`/`:r?`./`:`.`:(r&&(e+=`/`),bJ.test(e)&&(e+=`/`),t?n?`//${e}`:`//./${e}`:n&&!wJ(e)?`/${e}`:e)},VZt=function(...e){let t=``;for(let n of e)if(n){if(t.length>0){let e=t[t.length-1]===`/`,r=n[0]===`/`;t+=e&&r?n.slice(1):e||r?n:`/${n}`}else t+=n}return SJ(t)},CJ=function(...e){e=e.map(e=>gJ(e));let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:PZt();i&&i.length!==0&&(t=`${i}/${t}`,n=wJ(i))}return t=_J(t,!n),n&&!wJ(t)?`/${t}`:t.length>0?t:`.`},wJ=function(e){return RZt.test(e)},HZt=function(e){return gJ(e)},TJ=function(e){if(e===`..`)return``;let t=zZt.exec(gJ(e));return t&&t[1]||``},UZt=function(e,t){let n=CJ(e).replace(xJ,`$1`).split(`/`),r=CJ(t).replace(xJ,`$1`).split(`/`);if(r[0][1]===`:`&&n[0][1]===`:`&&n[0]!==r[0])return r.join(`/`);let i=[...n];for(let e of i){if(r[0]!==e)break;n.shift(),r.shift()}return[...n.map(()=>`..`),...r].join(`/`)},EJ=function(e){let t=gJ(e).replace(/\/$/,``).split(`/`).slice(0,-1);return t.length===1&&bJ.test(t[0])&&(t[0]+=`/`),t.join(`/`)||(wJ(e)?`/`:`.`)},WZt=function(e){let t=e.ext?e.ext.startsWith(`.`)?e.ext:`.${e.ext}`:``,n=[e.root,e.dir,e.base??(e.name??``)+t].filter(Boolean);return gJ(e.root?CJ(...n):n.join(`/`))},DJ=function(e,t){let n=gJ(e).split(`/`),r=``;for(let e=n.length-1;e>=0;e--){let t=n[e];if(t){r=t;break}}return t&&r.endsWith(t)?r.slice(0,-t.length):r},GZt=function(e){let t=BZt.exec(e)?.[0]?.replace(/\\/g,`/`)||``,n=DJ(e),r=TJ(n);return{root:t,dir:EJ(e),base:n,ext:r,name:n.slice(0,n.length-r.length)}},KZt=(e,t)=>FZt(t,SJ(e)),OJ={__proto__:null,basename:DJ,dirname:EJ,extname:TJ,format:WZt,isAbsolute:wJ,join:VZt,matchesGlob:KZt,normalize:SJ,normalizeString:_J,parse:GZt,relative:UZt,resolve:CJ,sep:`/`,toNamespacedPath:HZt}})),JZt,YZt,kJ,AJ,XZt,ZZt=s((()=>{qZt(),JZt=globalThis.process?.platform===`win32`?`;`:`:`,YZt={posix:void 0,win32:void 0},kJ=(e=JZt)=>new Proxy(OJ,{get(t,n){return n===`delimiter`?e:n===`posix`?AJ:n===`win32`?XZt:YZt[n]||OJ[n]}}),AJ=kJ(`:`),XZt=kJ(`;`)})),jJ,MJ,NJ=s((()=>{ZZt(),jJ=e=>/^[a-z][a-z0-9+.-]*:/i.test(e)&&!/^[a-z]:[\\/]/i.test(e),MJ=(e,t)=>{if(jJ(t))return t;if(jJ(e))return new URL(t,e).href;if(!t)return e;let n=/[\\/]$/.test(e)?e:AJ.dirname(e),r=AJ.resolve(n,t);return/[\\/]$/.test(t)&&!r.endsWith(`/`)?`${r}/`:r}}));function PJ(e){try{let t=new URL(e);return t.protocol===`http:`||t.protocol===`https:`}catch{return!1}}var FJ=s((()=>{}));function QZt(e){if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{let t=JSON.parse(e);return V(t)}catch{return!1}}var $Zt=s((()=>{js()}));function eQt(e){return/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)}var tQt=s((()=>{}));function nQt(e){return!PJ(e)&&!eQt(e)&&!QZt(e)}var rQt=s((()=>{FJ(),$Zt(),tQt()}));function iQt(e){return decodeURI(e.replace(/~1/g,`/`).replace(/~0/g,`~`))}var aQt=s((()=>{}));function IJ(e){return e.split(`/`).slice(1).map(iQt)}var LJ=s((()=>{aQt()}));function RJ(e,t,n){if(t===``)throw Error(`Cannot set value at root ('') pointer`);let r=IJ(t);r.forEach(e=>Pb(e));let i=e;for(let e=0;e<r.length;e++){let t=r[e],a=e===r.length-1,o=r[e+1],s=/^\d+$/.test(o??``);a?i[t]=n:((!(t in i)||typeof i[t]!=`object`)&&(i[t]=s?[]:{}),i=i[t])}}var oQt=s((()=>{Ib(),LJ()})),zJ,sQt=s((()=>{ZZt(),FJ(),zJ=(e,t)=>{if(URL.canParse(e)&&!PJ(e)&&!/^[a-z]:[\\/]/i.test(e))return e;if(PJ(e)&&PJ(t)){let n=new URL(e),r=new URL(t);if(n.origin!==r.origin)return e;let i=r.pathname.endsWith(`/`)?r.pathname:AJ.dirname(r.pathname),a=AJ.posix.resolve(`/`,n.pathname),o=AJ.posix.relative(i,a),s=`${o}${o&&n.pathname.endsWith(`/`)?`/`:``}${n.search}${n.hash}`;return new URL(s,t).href===n.href?s:e}if(PJ(t)){let n=new URL(t),r=AJ.dirname(AJ.posix.resolve(`/`,n.pathname));return n.pathname=AJ.posix.relative(r,AJ.posix.resolve(`/`,e)),n.toString()}if(PJ(e))return e;let n=t.endsWith(`/`)?AJ.resolve(t):AJ.dirname(AJ.resolve(t)),r=AJ.resolve(e);return AJ.relative(n,r)}})),cQt,lQt=s((()=>{js(),lx(),yu(),LJ(),xu(),NJ(),cQt=(e,t,n=!1)=>{let r=new Map,i=new Map,a=new WeakMap,o=new Map;return{identity:e=>r.get(e),register:(s,c,l=[])=>{let u=t?.(s,c),d=u===void 0?c:MJ(c,u.baseUri);u!==void 0&&r.set(s,{...u,baseUri:d});let f={value:s,path:l,schema:!1,embedded:l.length>0,document:s,documentPath:l};i.set(c,f),i.set(d,f),l.length>1&&o.set(l[1],f);let p=new WeakSet,m=(t,r,o,c=``)=>{if(typeof t!=`object`||!t||p.has(t))return;p.add(t);let u=gu(t),d=u??c,f=u===void 0?r:MJ(r,u);a.set(t,f),n&&u!==void 0&&V(t)&&(t.$id=f);let h=V(t)&&typeof t.$anchor==`string`?t.$anchor:void 0;if(u!==void 0||h!==void 0){let e={value:t,path:o,schema:!0,identifier:d,embedded:l.length>0,document:s,documentPath:l};u!==void 0&&i.set(f,e),h!==void 0&&i.set(`${f}#${h}`,e)}for(let[n,r]of Object.entries(t))n!==e&&m(r,f,[...o,n],d)};m(s,d,l)},isSchemaResource:e=>i.get(e)?.schema===!0,origin:e=>a.get(e),resolve:(t,n)=>{let[r,a=``]=t.split(`#`,2),s=r?MJ(n,r):n,c=a.startsWith(`/`)?IJ(a):[],l=(!r||i.get(s)?.path.length===0)&&c[0]===e?o.get(c[1]):void 0,u=l??i.get(a&&!a.startsWith(`/`)?`${s}#${a}`:s);if(!u)return;let d=l?c.slice(2):c,f=[...u.path,...d],p=bu(u.value,d).value,m=p===void 0,h=u.schema&&!r,g=!u.embedded&&u.schema&&!!r&&r===u.identifier,_=!u.embedded&&!u.schema&&!r;return{path:f.map(cx).join(`/`),value:p,document:u.document,documentPath:u.documentPath,preserveReference:m||h||g||_}}}}})),BJ,VJ=s((()=>{BJ=e=>{let t=0,n=0,r=e.length,i=r&15,a=r-i,o=2277735313,s=1291169091,c=1390208809,l=944331445;for(let r=0;r<a;r+=16){let i=e.charCodeAt(r)&255|(e.charCodeAt(r+1)&255)<<8|(e.charCodeAt(r+2)&255)<<16|(e.charCodeAt(r+3)&255)<<24,a=e.charCodeAt(r+4)&255|(e.charCodeAt(r+5)&255)<<8|(e.charCodeAt(r+6)&255)<<16|(e.charCodeAt(r+7)&255)<<24,u=e.charCodeAt(r+8)&255|(e.charCodeAt(r+9)&255)<<8|(e.charCodeAt(r+10)&255)<<16|(e.charCodeAt(r+11)&255)<<24,d=e.charCodeAt(r+12)&255|(e.charCodeAt(r+13)&255)<<8|(e.charCodeAt(r+14)&255)<<16|(e.charCodeAt(r+15)&255)<<24;i=Math.imul(i,o),i=i<<15|i>>>17,i=Math.imul(i,s),t^=i,t=t<<13|t>>>19,t=Math.imul(t,5)+3864292196,a=Math.imul(a,s),a=a<<16|a>>>16,a=Math.imul(a,c),n^=a,n=n<<17|n>>>15,n=Math.imul(n,5)+461845907,u=Math.imul(u,c),u=u<<17|u>>>15,u=Math.imul(u,l),t^=u,t=t<<15|t>>>17,t=Math.imul(t,5)+1390208809,d=Math.imul(d,l),d=d<<18|d>>>14,d=Math.imul(d,o),n^=d,n=n<<13|n>>>19,n=Math.imul(n,5)+944331445}if(i>0){let r=0,u=0,d=0,f=0;i>=15&&(f^=(e.charCodeAt(a+14)&255)<<16),i>=14&&(f^=(e.charCodeAt(a+13)&255)<<8),i>=13&&(f^=e.charCodeAt(a+12)&255,f=Math.imul(f,l),f=f<<18|f>>>14,f=Math.imul(f,o),n^=f),i>=12&&(d^=(e.charCodeAt(a+11)&255)<<24),i>=11&&(d^=(e.charCodeAt(a+10)&255)<<16),i>=10&&(d^=(e.charCodeAt(a+9)&255)<<8),i>=9&&(d^=e.charCodeAt(a+8)&255,d=Math.imul(d,c),d=d<<17|d>>>15,d=Math.imul(d,l),t^=d),i>=8&&(u^=(e.charCodeAt(a+7)&255)<<24),i>=7&&(u^=(e.charCodeAt(a+6)&255)<<16),i>=6&&(u^=(e.charCodeAt(a+5)&255)<<8),i>=5&&(u^=e.charCodeAt(a+4)&255,u=Math.imul(u,s),u=u<<16|u>>>16,u=Math.imul(u,c),n^=u),i>=4&&(r^=(e.charCodeAt(a+3)&255)<<24),i>=3&&(r^=(e.charCodeAt(a+2)&255)<<16),i>=2&&(r^=(e.charCodeAt(a+1)&255)<<8),i>=1&&(r^=e.charCodeAt(a)&255,r=Math.imul(r,o),r=r<<15|r>>>17,r=Math.imul(r,s),t^=r)}return t^=r,n^=r,t+=n,n+=t,t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16,n^=n>>>16,n=Math.imul(n,2246822507),n^=n>>>13,n=Math.imul(n,3266489909),n^=n>>>16,t+=n,n+=t,(t>>>0).toString(16).padStart(8,`0`)+(n>>>0).toString(16).padStart(8,`0`)}}));function uQt(e){let t=BJ(e).substring(0,7);return t.match(/^\d+$/)?`a`+t.substring(1):t}async function dQt(e,t,n,r,i=0){if(i>=100)throw`Can not generate unique compressed values`;let a=await e(r??t);return n[a]!==void 0&&n[a]!==t?dQt(e,t,n,a,i+1):(n[a]=t,a)}var fQt,pQt=s((()=>{VJ(),fQt=(e,t)=>{let n=new Map(Object.entries(t).map(([e,t])=>[t,e]));return{generate:async r=>{let i=n.get(r);if(i)return i;let a=await dQt(e,r,t),o=a.match(/^\d+$/)?`a${a}`:a;return n.set(r,o),o}}}}));function mQt(e){return e.startsWith(`#`)}function hQt(e,t){let n=t.find(t=>t.validate(e));return n?n.exec(e):Promise.resolve({ok:!1})}function gQt(e,t){if(!mQt(e))throw`Please provide an internal ref`;return`#/${t.map(cx).join(`/`)}${e.substring(1)}`}async function HJ(e,t){t.externalDocumentsKey=t.externalDocumentsKey??WJ.externalDocuments,t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??WJ.externalDocumentsMappings,Pb(t.externalDocumentsKey),Pb(t.externalDocumentsMappingsKey);let n=t.cache??new Map,r=t.plugins.filter(e=>e.type===`loader`),i=t.plugins.filter(e=>e.type===`lifecycle`),a=await(async()=>{if(typeof e!=`string`)return e;let t=await hQt(e,r);if(t.ok&&typeof t.data==`object`)return t.data;throw Error(`Failed to resolve input: Please provide a valid string value or pass a loader to process the input`)})(),o=t.root??a,s=t.root!==void 0&&t.root!==a||t.depth!==void 0,c=t.visitedNodes??new Set,l=()=>t.origin?t.origin:typeof e==`string`&&(PJ(e)||nQt(e))?e:`/`,u=cQt(t.externalDocumentsKey,(e,n)=>{for(let r of[t.hooks?.resolveDocument,...i.map(e=>e.resolveDocument)]){let t=r?.(e,n);if(t!==void 0)return t}},t.preserveReference!==void 0);u.register(o,l());let d=u.origin(o)??l(),f=u.identity(o)!==void 0||gu(o)!==void 0,p=(e,t)=>f&&u.isSchemaResource(t)&&t!==d?`${d}${e}`:e,m=Object.hasOwn(o,t.externalDocumentsMappingsKey)?o[t.externalDocumentsMappingsKey]:void 0,h=V(m)?Object.fromEntries(Object.entries(m).filter(e=>typeof e[1]==`string`)):{};Object.defineProperty(o,t.externalDocumentsMappingsKey,{value:h,enumerable:!0,configurable:!0,writable:!0});let{generate:g}=fQt(t.compress??uQt,h),_=o[t.externalDocumentsKey];if(V(_))for(let[e,n]of Object.entries(_)){let r=MJ(d,o[t.externalDocumentsMappingsKey][e]??e);u.register(n,r,[t.externalDocumentsKey,e])}for(let[e,r]of n){let n=await r;if(n.ok){let r=MJ(d,e),i=await g(zJ(r,d));u.register(n.data,r,[t.externalDocumentsKey,i])}}let v=async(e,...n)=>{let r=t.hooks?.[e];r&&await r(...n);for(let t of i){let r=t[e];r&&await r(...n)}},y=async(e,i=d,a=!1,l=0,m=[],h=null,_)=>{if(t.depth!==void 0&&l>t.depth||!V(e)&&!Array.isArray(e)||c.has(e))return;c.add(e);let b=gu(e),x=u.origin(e)??(b?MJ(i,b):i),ee={path:m,referencedFromPath:_,resolutionCache:n,parentNode:h,rootNode:o,loaders:r,origin:x};if(await v(`onBeforeNodeProcess`,e,ee),_Qt(e)&&!t.preserveReference?.(e.$ref,{origin:x})){let c=e.$ref,h=`$global`in e&&typeof e.$global==`boolean`&&e.$global,b=u.resolve(c,x),te=b?.path;if(te!==void 0){let n=!f&&b.document===o&&u.isSchemaResource(x)&&x!==d;if(!b.preserveReference&&!n&&(e.$ref=p(te?`#/${te}`:`#`,x)),s){let e=IJ(`/${te}`),t=e.length>0?bu(o,e.slice(0,-1)).value:void 0,n={value:b.value,context:V(b.value)?u.origin(b.value):x};await y(n.value,n.context||d,a,l+1,e,t,_)}if(b.documentPath.length>0){let e=V(b.document)||Array.isArray(b.document)?u.origin(b.document):x;if(await y(b.document,e,a,l+1,b.documentPath),t.treeShake){let[e,t]=b.documentPath;UJ(o,{[e]:{[t]:b.document}},`/${te}`,e,t,!1,new Set,u.identity(b.document)?.metadata)}else{let e=u.identity(b.document)?.metadata;RJ(o,`/${b.documentPath.map(cx).join(`/`)}`,V(b.document)&&e?{...b.document,...e}:b.document)}}await v(`onAfterNodeProcess`,e,ee);return}let[ne,re=``]=c.split(`#`,2),ie=MJ(x,ne),ae=zJ(ie,d),oe=await g(ae),se=n.has(ae);se||n.set(ae,hQt(ie,r)),await v(`onResolveStart`,e);let ce=await n.get(ae);if(ce.ok){if(se||(h||u.register(ce.data,ie,[t.externalDocumentsKey,oe]),await y(ce.data,h?i:ie,h,l+1,[t.externalDocumentsKey,oe],null,_?[..._,...m.slice(2)]:m),RJ(o,`/${t.externalDocumentsMappingsKey}/${cx(oe)}`,ae)),t.treeShake===!0)UJ(o,{[t.externalDocumentsKey]:{[oe]:ce.data}},gQt(`#${re}`,[t.externalDocumentsKey,oe]).substring(1),t.externalDocumentsKey,oe,!1,new Set,u.identity(ce.data)?.metadata);else if(!se){let e=u.identity(ce.data)?.metadata;RJ(o,`/${t.externalDocumentsKey}/${oe}`,V(ce.data)&&e?{...ce.data,...e}:ce.data)}e.$ref=p(gQt(`#${re}`,[t.externalDocumentsKey,oe]),x),await v(`onResolveSuccess`,e),await v(`onAfterNodeProcess`,e,ee);return}return await v(`onResolveError`,e),await v(`onAfterNodeProcess`,e,ee),console.warn(`Failed to resolve external reference "${ie}". The reference may be invalid, inaccessible, or missing a loader for this type of reference.`)}for(let n in e)n!==t.externalDocumentsKey&&n!==t.externalDocumentsMappingsKey&&await y(e[n],x,a,l+1,[...m,n],e,_);await v(`onAfterNodeProcess`,e,ee)};if(await y(a),t.preserveReference){let e=o[t.externalDocumentsKey],n=Object.fromEntries(Object.entries(o[t.externalDocumentsMappingsKey]).filter(([t])=>V(e)&&Object.hasOwn(e,t)));Object.defineProperty(o,t.externalDocumentsMappingsKey,{value:n,enumerable:!0,configurable:!0,writable:!0})}return!t.urlMap&&!s&&delete o[t.externalDocumentsMappingsKey],a}var _Qt,vQt,UJ,WJ,yQt=s((()=>{js(),Ib(),yu(),xu(),rQt(),FJ(),NJ(),oQt(),sQt(),lx(),LJ(),lQt(),pQt(),_Qt=e=>V(e)&&`$ref`in e&&typeof e.$ref==`string`,vQt=(e,t,n,r)=>{if(n.length===0)throw Error(`Cannot set value at root ('') pointer`);n.forEach(e=>Pb(e));let i=e,a=t;for(let[e,t]of n.entries()){if(e===n.length-1){i[t]=r;return}a=V(a)||Array.isArray(a)?a[t]:void 0,(typeof i[t]!=`object`||i[t]===null)&&(i[t]=Array.isArray(a)?[]:{}),i=i[t]}},UJ=(e,t,n,r,i,a=!1,o=new Set,s={})=>{let c=bu(t,IJ(n)).value;if(o.has(c))return;o.add(c);let l=IJ(n),u=l.length===2&&V(c)&&Object.keys(s).length>0?{...c,...s}:c;vQt(e,t,l,u);for(let n=2;n<l.length;n++){let r=l.slice(0,n),i=bu(t,r).value;if(V(i)){if(n===2)for(let[t,n]of Object.entries(s))RJ(e,`/${[...r,t].map(cx).join(`/`)}`,n);typeof i.$id==`string`&&RJ(e,`/${[...r,`$id`].map(cx).join(`/`)}`,i.$id)}}let d=n=>{if(n&&typeof n==`object`){`$ref`in n&&typeof n.$ref==`string`&&(n.$ref.startsWith(`#/${r}/${cx(i)}`)||a)&&UJ(e,t,n.$ref.substring(1),r,i,a,o,s);for(let e of Object.values(n))d(e)}};d(c)},WJ={externalDocuments:`x-ext`,externalDocumentsMappings:`x-ext-urls`}})),GJ=s((()=>{NJ(),yQt()})),bQt,KJ,xQt=s((()=>{bQt=class{data;next;constructor(e){this.data=e,this.next=null}},KJ=class{front;rear;size;constructor(){this.front=null,this.rear=null,this.size=0}enqueue(e){let t=new bQt(e);this.isEmpty()||!this.rear?(this.front=t,this.rear=t):(this.rear.next=t,this.rear=t),this.size++}dequeue(){if(this.isEmpty()||!this.front)return null;let e=this.front;return this.front=this.front.next,this.front===null&&(this.rear=null),this.size--,e.data}peek(){return this.isEmpty()||!this.front?null:this.front.data}isEmpty(){return this.size===0}getSize(){return this.size}toString(){let e=this.front,t=[];for(;e;)t.push(e.data),e=e.next;return t.join(` -> `)}}}));function SQt(e){let t=0,n=new KJ,r=()=>{if(n.isEmpty()||t>=e)return;let r=n.dequeue();r&&r()};return async i=>{t>=e&&await new Promise(e=>n.enqueue(e)),t++;try{return await i()}finally{t--,r()}}}var CQt=s((()=>{xQt()}));function wQt(e){if(e!==null){if(typeof e==`string`){let t=TQt(e);if(t.trim()===``)return;try{return JSON.parse(t)}catch{let e=/^[^:]+:/.test(t),n=t.slice(0,50).trimStart(),r=n.startsWith(`{`)||n.startsWith(`[`);return!e||r?void 0:Tw(t,{maxAliasCount:1e4,merge:!0})}}return e}}var TQt,EQt=s((()=>{Dw(),TQt=e=>e.startsWith(``)?e.slice(1):e})),DQt,OQt,qJ,kQt=s((()=>{CQt(),FJ(),EQt(),DQt=e=>{try{return new URL(e).host}catch{return null}},OQt=async(e,t,n)=>{try{let r=DQt(e),i=n?.headers?.find(e=>e.domains.find(e=>e===r)!==void 0)?.headers,a=n?.fetch??fetch,o=await t(()=>a(e,{headers:i}));if(o.ok){let e=await o.text();return{ok:!0,data:wQt(e),raw:e}}let s=o.headers.get(`Content-Type`)??``;return[`text/html`,`application/xml`].includes(s)&&console.warn(`[WARN] We only support JSON/YAML formats, received ${s}`),console.warn(`[WARN] Fetch failed with status ${o.status} ${o.statusText} for URL: ${e}`),{ok:!1}}catch{return console.warn(`[WARN] Failed to parse JSON/YAML from URL: ${e}`),{ok:!1}}},qJ=e=>{let t=e?.limit?SQt(e.limit):e=>e();return{type:`loader`,validate:PJ,exec:n=>OQt(n,t,e)}}})),JJ=s((()=>{kQt(),$Zt(),Dw()})),YJ,AQt=s((()=>{GJ(),JJ(),B(),YJ=(e={})=>{let t=qJ({...e,limit:10}),n=new Map;return r=>{if(r.value!==void 0||!r.externalValue)return{status:`loaded`,value:r.value,load:()=>Promise.resolve()};let i=MJ(e.origin??``,r.externalValue)??r.externalValue,a=n.get(i);if(a)return a;let o,s=pn({status:`idle`,load:()=>o||(s.status===`loaded`?Promise.resolve():(s.status=`loading`,o=(async()=>{try{let n=await[t,e.fileLoader].find(e=>e?.validate(i))?.exec(i);n?.ok?(s.serializedValue=typeof n.raw==`string`?n.raw:void 0,s.value=n.data===void 0?n.raw:n.data,s.status=`loaded`):s.status=`error`}catch{s.status=`error`}finally{o=void 0}})(),o))});return n.set(i,s),s}}})),XJ,ZJ,QJ,$J=s((()=>{B(),AQt(),XJ=Symbol(`external-examples`),ZJ=e=>{let t=E(!1),n;return dr(e,e=>{n?.disconnect(),t.value=!1;let r=e&&(`$el`in e?e.$el:e);typeof Element<`u`&&r instanceof Element&&(typeof IntersectionObserver>`u`?t.value=!0:(n=new IntersectionObserver(([e])=>{t.value=e?.isIntersecting??!1}),n.observe(r)))},{flush:`post`}),Zt(()=>n?.disconnect()),t},QJ=(e,t=()=>!0,n)=>{let r=YJ(),i=n??lr(XJ,()=>r),a=z(()=>e().filter(e=>e!==void 0&&e.value===void 0&&!!e.externalValue).map(e=>i()(e)));return ur(()=>{if(t())for(let e of a.value)e.status===`idle`&&e.load()}),{pending:z(()=>a.value.some(e=>e.status!==`loaded`)),failed:z(()=>a.value.some(e=>e.status===`error`)),resolve:e=>{if(!e||e.value!==void 0||!e.externalValue)return e;let t=i()(e);return t.status===`loaded`?e.dataValue!==void 0&&t.serializedValue!==void 0?{...e,serializedValue:t.serializedValue}:{...e,value:t.value}:e},retry:async()=>{await Promise.all(a.value.map(e=>e.load()))}}}})),jQt,MQt,NQt,PQt,FQt,IQt,LQt,RQt,zQt,BQt=s((()=>{SH(),iqt(),BXt(),iZt(),sZt(),aJ(),hZt(),gZt(),yZt(),B(),kH(),dG(),Mw(),Qs(),fT(),jZt(),MZt(),iu(),NZt(),$J(),jQt=[`innerHTML`],MQt={key:1,class:`text-c-2 flex h-full w-fit items-center px-0.5 py-0 text-base font-normal`,"data-testid":`client-picker`},NQt={key:0,class:`text-c-2 p-4`,role:`status`},PQt={key:1,class:`text-c-2 p-4`,role:`status`},FQt=[`id`],IQt={key:0,class:`request-card-footer-addon`},LQt={key:1,class:`request-card-footer-start`},RQt={class:`request-header`},zQt=k({__name:`CodeExample`,props:{codeSampleUnavailable:{default:`No code sample available for this example.`},clientPickerLabel:{default:`Change code sample language`},clientSearchLabel:{default:`Search clients`},codeSampleLabel:{default:`Code sample`},integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{default:()=>[]},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},openapiVersion:{},requestBodyCompositionSelection:{}},emits:[`update:exampleKey`],setup(e,{emit:t}){let n=t,r=z(()=>{let t=H(e.operation.requestBody)?.content??{},n=e.selectedContentType||Object.keys(t)[0];return n?t[n]?.examples??{}:{}}),i=E(``),a=e=>{let t=Object.keys(r.value);return e&&t.includes(e)?e:i.value&&t.includes(i.value)?i.value:t[0]??``};Fi(()=>{i.value=a(e.selectedExample)}),dr(()=>e.selectedExample,e=>{i.value=a(e)}),dr(()=>e.selectedContentType,()=>{Object.keys(r.value).includes(i.value)||(i.value=a(e.selectedExample))}),ur(()=>{n(`update:exampleKey`,i.value)});let o=t=>{i.value=t,e.eventBus.emit(`workspace:update:selected-example`,t)},s=z(()=>iJ(e.operation)),c=z(()=>oJ(s.value.samples,e.clientOptions,s.value.label)),l=z(()=>c.value.reduce((e,t)=>e+t.options.length,0)),u=E(Gq(c.value,e.selectedClient));dr([()=>e.selectedClient,c],([e])=>{let t=Gq(c.value,e);t&&(u.value=t)});let d=z(()=>[e.clientPickerLabel,u.value?.title].filter(Boolean).join(`: `)),f=z(()=>[e.codeSampleLabel,u.value?.title].filter(Boolean).join(`: `)),p=E(null),m=ZJ(p),h=QJ(()=>mJ(e.operation,i.value,e.selectedContentType),()=>m.value),g=z(()=>hJ(e.operation,i.value,e.selectedContentType,h.resolve)),_=z(()=>Object.keys(r.value).length>1),v=z(()=>{if(!e.isWebhook)return null;try{return Qq({operation:g.value,method:e.method,path:e.path,example:i.value,openapiVersion:e.openapiVersion,requestBodyCompositionSelection:e.requestBodyCompositionSelection,defaultDisabledParameters:!0})}catch(e){return console.error(`[webhookHar]`,e),null}}),y=z(()=>e.isWebhook?v.value?.postData?.text??``:eJ({defaultDisabledParameters:!0,includeDefaultHeaders:e.integration===`client`,clientId:u.value?.id,customCodeSamples:s.value.samples,operation:g.value,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:i.value,globalCookies:e.globalCookies,openapiVersion:e.openapiVersion,requestBodyCompositionSelection:e.requestBodyCompositionSelection})),b=z(()=>e.isWebhook?x.value:u.value?.lang),x=z(()=>{if(!v.value?.postData)return`json`;let e=v.value.postData.mimeType;return e?.includes(`json`)?`json`:e?.includes(`xml`)?`xml`:e?.includes(`yaml`)||e?.includes(`yml`)?`yaml`:e?.includes(`text/plain`)?`text`:`json`}),ee=z(()=>sJ(e.securitySchemes)),te=t=>{if(p.value){let e=pJ(p.value.$el);setTimeout(()=>{e()},300)}u.value=t,t&&e.eventBus.emit(`workspace:update:selected-client`,t.id)},ne=z(()=>(y.value?.length??0)>2e4),re=xr();return(t,n)=>y.value===null||y.value||D(h).pending.value?(j(),N(D(wH),{key:0,ref_key:`elem`,ref:p,class:`request-card dark-mode`},{default:O(()=>[R(D(OH),{class:`pr-2.5`},Mr({default:O(()=>[n[1]||=P(`span`,{class:`sr-only`},`Request Example for`,-1),R(dJ,{as:`span`,class:`request-method`,method:e.method},null,8,[`method`]),e.generateLabel?(j(),M(`span`,{key:0,innerHTML:e.generateLabel()},null,8,jQt)):I(``,!0),A(t.$slots,`header`,{},void 0,!0)]),_:2},[!e.isWebhook&&l.value?{name:`actions`,fn:O(()=>[l.value>1?(j(),N(D(dT),{key:0,class:`max-h-80`,filterFn:D(nK),inputLabel:e.clientSearchLabel,modelValue:u.value,options:c.value,placement:`bottom-end`,teleport:``,"onUpdate:modelValue":n[0]||=e=>te(e)},{default:O(()=>[R(D(jw),{"aria-label":d.value,class:`text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5 py-0 text-base font-normal`,"data-testid":`client-picker`,variant:`ghost`},{default:O(()=>[F(T(u.value?.title)+` `,1),R(D(zs),{class:`ui-open:rotate-180 mt-px size-3 transition-transform duration-100`,weight:`bold`})]),_:1},8,[`aria-label`])]),_:1},8,[`filterFn`,`inputLabel`,`modelValue`,`options`])):(j(),M(`span`,MQt,T(u.value?.title),1))]),key:`0`}:void 0]),1024),R(D(TH),{class:`request-editor-section custom-scroll p-0`},{default:O(()=>[D(h).pending.value?(j(),M(`div`,NQt,[D(h).failed.value?(j(),M(L,{key:0},[n[3]||=F(` Could not load this example. `,-1),R(D(jw),{size:`sm`,variant:`ghost`,onClick:D(h).retry},{default:O(()=>[...n[2]||=[F(` Retry `,-1)]]),_:1},8,[`onClick`])],64)):(j(),M(L,{key:1},[F(`Loading example…`)],64))])):y.value===null?(j(),M(`div`,PQt,T(e.codeSampleUnavailable),1)):(j(),M(`div`,{key:2,id:`${D(re)}-example`,class:`code-snippet`},[ne.value?(j(),N(D(fJ),{key:1,"aria-label":`Request code sample`,containerClass:`custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen`,contentClass:`language-plaintext whitespace-pre font-code text-base p-2`,lineHeight:20,role:`region`,text:y.value},null,8,[`text`])):(j(),N(D(uG),{key:0,class:`bg-b-2 h-full`,content:y.value,hideCredentials:ee.value,label:f.value,lang:b.value,lineNumbers:``},null,8,[`content`,`hideCredentials`,`label`,`lang`]))],8,FQt))]),_:1}),_.value||t.$slots.footer||t.$slots[`footer-start`]?(j(),N(D(DH),{key:0,class:lt([`request-card-footer bg-b-3`,{"request-card-footer--wraps":!_.value&&t.$slots[`footer-start`]}])},{default:O(()=>[_.value?(j(),M(`div`,IQt,[Object.keys(r.value).length?(j(),N(xH,{key:0,examples:r.value,modelValue:i.value,"onUpdate:modelValue":o},null,8,[`examples`,`modelValue`])):I(``,!0)])):t.$slots[`footer-start`]?(j(),M(`div`,LQt,[A(t.$slots,`footer-start`,{},void 0,!0)])):I(``,!0),A(t.$slots,`footer`,{exampleName:i.value},void 0,!0)]),_:3},8,[`class`])):I(``,!0)]),_:3},512)):e.fallback?(j(),N(D(wH),{key:1,class:`request-card dark-mode`},{default:O(()=>[R(D(TH),{class:`request-card-simple`},{default:O(()=>[P(`div`,RQt,[R(dJ,{as:`span`,class:`request-method`,method:e.method},null,8,[`method`]),A(t.$slots,`header`,{},void 0,!0)]),A(t.$slots,`footer`,{exampleName:i.value},void 0,!0)]),_:3})]),_:3})):I(``,!0)}})})),eY,VQt=s((()=>{TB(),BQt(),eY=wB(zQt,[[`__scopeId`,`data-v-5374efff`]])})),tY,nY=s((()=>{tY=(e={})=>{let{delay:t=328,maxWait:n}=e,r=new Map,i=new Map,a=new Map,o=()=>{r.forEach(clearTimeout),i.forEach(clearTimeout),r.clear(),i.clear(),a.clear()},s=e=>{let t=a.get(e),n=r.get(e);n!==void 0&&(clearTimeout(n),r.delete(e));let o=i.get(e);if(o!==void 0&&(clearTimeout(o),i.delete(e)),a.delete(e),t!==void 0)try{Promise.resolve(t()).catch(()=>void 0)}catch{}};return{execute:(e,o)=>{a.set(e,o);let c=r.get(e);c!==void 0&&clearTimeout(c),r.set(e,setTimeout(()=>s(e),t)),n!==void 0&&!i.has(e)&&i.set(e,setTimeout(()=>s(e),n))},cleanup:o,flush:e=>{a.has(e)&&s(e)},flushAll:()=>{let e=[...a.keys()];for(let t of e)s(t)}}}})),rY,HQt=s((()=>{nY(),Fu(),rY=(e={})=>{let{debug:t=!1}=e,n=new Map,r=new Set,i=[],a=null,{execute:o,flushAll:s}=tY({delay:328}),c=e=>{let t=n.get(e)??new Set;return n.set(e,t),t},l=()=>{if(i.length!==0){if(t){if(i.length===1){let e=i[0];e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{console.groupCollapsed(`[EventBus] ${i.length} operations`);for(let{message:e,args:t}of i)console.log(e,...t);console.groupEnd()}}i.length=0,a=null}},u=(e,...n)=>{t&&(i.push({message:e,args:n}),a&&clearTimeout(a),a=setTimeout(l,500))},d=(e,t)=>{let n=r=>{p(e,n),t(r)};return f(e,n)},f=(e,t)=>{let n=c(e);return n.add(t),u(`Added listener for "${String(e)}" (${n.size} total)`),()=>p(e,t)},p=(e,t)=>{let r=n.get(e);r&&(r.delete(t),u(`Removed listener for "${String(e)}" (${r.size} remaining)`),r.size===0&&n.delete(e))},m=e=>(r.add(e),u(`Added wildcard listener (${r.size} total)`),()=>h(e)),h=e=>{r.delete(e),u(`Removed wildcard listener (${r.size} remaining)`)},g=(e,t,i)=>{let a=i?.skipUnpackProxy?t:Pu(t,{depth:5}),o=n.get(e),s=o!==void 0&&o.size>0;if(!s&&r.size===0)u(`🛑 No listeners for "${String(e)}"`);else{if(s&&o){u(`Emitting "${String(e)}" to ${o.size} listener(s)`,t);let n=Array.from(o);for(let t of n)try{t(a)}catch(t){console.error(`[EventBus] Error in listener for "${String(e)}":`,t)}}if(r.size>0){u(`Emitting "${String(e)}" to ${r.size} wildcard listener(s)`,t);let n={event:e,payload:a},i=Array.from(r);for(let t of i)try{t(n)}catch(t){console.error(`[EventBus] Error in wildcard listener for "${String(e)}":`,t)}}}};return{on:f,once:d,off:p,onAny:m,offAny:h,emit:(...e)=>{let[t,n,r]=e;if(!r?.debounceKey){g(t,n,r);return}let i=`${t}-${r.debounceKey}`;o(i,()=>g(t,n,r))},flushDebouncedEmits:()=>{s()}}}})),iY=s((()=>{HQt(),B()})),UQt,WQt=s((()=>{iu(),UQt=(...e)=>{for(let t of e)if(t){if(Array.isArray(t))for(let e of t){let t=H(e);if(t?.url)return t}else{let e=H(t);if(e?.url)return e}}return null}}));async function GQt({defaultValue:e,validation:t,transformation:n,maxRetries:r=5}){let i=n?.(e)??e;return await t(i)?i:KQt({value:[i,1],validation:t,maxRetries:r,transformation:n})}async function KQt({value:e,validation:t,maxRetries:n,attempts:r=0,transformation:i}){if(r>=n)return;let a=e.join(` `),o=i?.(a)??a;return await t(o)?o:KQt({value:[e[0],e[1]+1],validation:t,maxRetries:n,transformation:i,attempts:r+1})}var qQt=s((()=>{})),aY,JQt=s((()=>{aY=e=>e!==void 0&&Object.keys(e).length>0})),oY,sY,cY,YQt,XQt,lY,uY,ZQt,QQt,$Qt,e$t,t$t,dY,fY,n$t,r$t,i$t,a$t,o$t=s((()=>{Vx(),Mx(),yx(),qQt(),iu(),JQt(),Px(),Fu(),Ax(),AGe(),ax(),oY=e=>{if(tx(e)||nx(e))return e[`x-scalar-navigation`]?.name||void 0},sY=e=>tx(e)?e.components?.securitySchemes??{}:nx(e)?(e.components?H(e.components):void 0)?.securitySchemes??{}:{},cY=e=>nx(e)?`availableScopes`:`scopes`,YQt=async(e,t,{selectedRequirements:n,newSchemes:r,meta:i})=>{let a=oY(t);if(!a)return;let o=()=>i.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:a}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:a,path:i.path,method:i.method}),s=[];if(tx(t)){let e=await Promise.all(r.map(async e=>{let n=await GQt({defaultValue:e.name,validation:e=>!t.components?.securitySchemes?.[e],maxRetries:100});if(n)return t.components||={},t.components.securitySchemes||(t.components.securitySchemes={}),t.components.securitySchemes[n]=e.scheme,{[n]:[]}}));s.push(...e.filter(e=>e!==void 0))}let c=o(),l=[...n,...s],u=()=>c?.selectedIndex?c.selectedIndex>=l.length?l.length-1:c.selectedIndex:0;return i.type===`document`?e?.auth.setAuthSelectedSchemas({type:`document`,documentName:a},{selectedIndex:u(),selectedSchemes:l}):e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:a,path:i.path,method:i.method},{selectedIndex:u(),selectedSchemes:l})},XQt=(e,t,{meta:n})=>{let r=oY(t);if(r)return n.type===`document`?e?.auth.clearAuthSelectedSchemas({type:`document`,documentName:r}):e?.auth.clearAuthSelectedSchemas({type:`operation`,documentName:r,path:n.path,method:n.method})},lY=(e,{payload:t,name:n})=>{if(!tx(e)&&!nx(e))return;let r=H(sY(e)[n]);if(!r){console.error(`Security scheme ${n} not found`);return}let i=r.type;if(i===t.type||i===`httpApiKey`&&t.type===`apiKey`){let e=r.type;Nx(r,t),r.type=e}return r},uY=(e,t,{payload:n,name:r,overwrite:i=!1})=>{let a=oY(t);if(!a)return;if(i){e?.auth.setAuthSecrets(a,r,n);return}let o=e?.auth.getAuthSecrets(a,r),s=o?Pu(o,{depth:1}):{...n};Nx(s,n),Rx(s,n),e?.auth.setAuthSecrets(a,r,s)},ZQt=(e,t,{name:n,flow:r,field:i})=>{let a=oY(t);if(!a||!e)return;let o=e.auth.getAuthSecrets(a,n);if(!o)return;let s=jx(o);if(r){if(s.type!==`oauth2`&&s.type!==`openIdConnect`)return;let e=s[r];if(!e)return;zx(e,i)}else zx(s,i);e.auth.setAuthSecrets(a,n,s)},QQt=(e,t,{name:n})=>{let r=oY(t);r&&e?.auth.clearAuthSecrets(r,n)},$Qt=(e,t,{index:n,meta:r})=>{let i=oY(t);if(!i||r.type===`operation`&&(!tx(t)||px(t.paths?.[r.path],r.method)===void 0))return;let a=r.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:i}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:i,path:r.path,method:r.method});if(!a)return r.type===`document`?e?.auth.setAuthSelectedSchemas({type:`document`,documentName:i},{selectedIndex:n,selectedSchemes:[]}):e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:i,path:r.path,method:r.method},{selectedIndex:n,selectedSchemes:[]});e?.auth.setAuthSelectedSchemas(r.type===`document`?{type:`document`,documentName:i}:{type:`operation`,documentName:i,path:r.path,method:r.method},{selectedIndex:n,selectedSchemes:Pu(a.selectedSchemes,{depth:null})??[]})},e$t=(e,t)=>{let n=[...Object.keys(e)].sort((e,t)=>e.localeCompare(t)),r=[...t].sort((e,t)=>e.localeCompare(t));return JSON.stringify(n)===JSON.stringify(r)},t$t=(e,t,{id:n,name:r,scopes:i,scope:a,selected:o,meta:s})=>{let c=oY(t);if(!c)return;let l=(s.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:c}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:c,path:s.path,method:s.method}))??kx(void 0,void 0,[],sY(t),n.length===1?n[0]:n),u=Pu(l.selectedSchemes,{depth:1})??[],d=u.find(e=>e$t(e,n));if(!aY(d))return;let f=(()=>{if(a!==void 0&&o!==void 0){let e=Array.isArray(d[r])?d[r]:[];return o?Array.from(new Set([...e,a])):e.filter(e=>e!==a)}return i})();if(f===void 0)return;let p=u.map(e=>e===d?{...d,[r]:f}:e);e?.auth.setAuthSelectedSchemas(s.type===`document`?{type:`document`,documentName:c}:{type:`operation`,documentName:c,path:s.path,method:s.method},{selectedIndex:l.selectedIndex,selectedSchemes:p})},dY=(e,t,n)=>{let r=H(sY(e)[t]);if(!r||r.type!==`oauth2`&&r.type!==`openIdConnect`)return null;let i=r.flows?.[n];return i?H(i):null},fY=(e,t,n)=>{let r=oY(t);if(!e||!r)return;let i=t=>{let r=e.auth.getAuthSelectedSchemas(t);if(!r)return;let i=Pu(r.selectedSchemes,{depth:1})??[];n(i),e.auth.setAuthSelectedSchemas(t,{selectedIndex:r.selectedIndex,selectedSchemes:i})};i({type:`document`,documentName:r}),tx(t)&&Object.entries(t.paths??{}).forEach(([e,t])=>{gx(t,t=>{i({type:`operation`,documentName:r,path:e,method:t})})})},n$t=(e,t,{name:n,flowType:r,scope:i,description:a,oldScope:o,enable:s})=>{if(!tx(t)&&!nx(t))return;let c=dY(t,n,r);if(!c)return;let l=cY(t);c[l]||(c[l]={});let u=c[l],d=!!o&&o!==i;if(d){if(!(o in u))return;delete u[o]}u[i]=a,(d||s)&&fY(e,t,e=>{e.forEach(e=>{if(!aY(e))return;let t=e[n];if(!Array.isArray(t))return;let r=t;d&&r.includes(o)&&(r=r.map(e=>e===o?i:e)),s&&!r.includes(i)&&(r=[...r,i]),r!==t&&(e[n]=r)})})},r$t=(e,t,{name:n,flowType:r,scope:i})=>{if(!tx(t)&&!nx(t))return;let a=dY(t,n,r)?.[cY(t)];a&&(delete a[i],fY(e,t,e=>{e.forEach(e=>{if(!aY(e))return;let t=e[n];Array.isArray(t)&&t.includes(i)&&(e[n]=t.filter(e=>e!==i))})}))},i$t=(e,t,{names:n})=>{if(!tx(t))return;let r=t[`x-scalar-navigation`]?.name;if(!r)return;let i=H(t.components?.securitySchemes);if(!i)return;n.forEach(e=>{delete i[e]});let a=(e,t)=>Math.max(0,Math.min(e,t-1)),o=e=>(Pu(e,{depth:1})??[]).filter(e=>!n.some(t=>Object.keys(e).includes(t))),s=e?.auth.getAuthSelectedSchemas({type:`document`,documentName:r});if(s){let t=o(s.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:`document`,documentName:r},{selectedIndex:a(s.selectedIndex,t.length),selectedSchemes:t})}t.security&&=o(t.security),Object.entries(t.paths??{}).forEach(([t,n])=>{gx(n,(n,i)=>{let s=H(i);if(!s)return;`security`in s&&s.security&&(s.security=o(s.security));let c=e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:r,path:t,method:n});if(c){let i=o(c.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:r,path:t,method:n},{selectedIndex:a(c.selectedIndex,i.length),selectedSchemes:i})}})})},a$t=({document:e,store:t})=>({updateSelectedSecuritySchemes:n=>YQt(t,e,n),clearSelectedSecuritySchemes:n=>XQt(t,e,n),updateSecurityScheme:(n,r={})=>{let{payload:i,name:a}=n;if(i.type!==`apiKey`||i.name===void 0)return lY(e,n);let o=Object.hasOwn(r,a)?r[a]:void 0,s=H(sY(e)[a]);if(!o||!Zx(o,s)){let r=lY(e,n),i=oY(e),o=i?t?.auth.getAuthSecrets(i,a):void 0;return r&&o?.type===`apiKey`&&o.name!==void 0&&uY(t,e,{name:a,payload:{type:`apiKey`,name:void 0}}),r}let c=(`name`in o?o.name:void 0)??(s&&typeof s==`object`&&`name`in s?s.name:void 0);uY(t,e,{name:a,payload:{type:`apiKey`,name:i.name===c?void 0:i.name}})},updateSecuritySchemeSecrets:n=>uY(t,e,n),resetSecuritySchemeSecret:n=>ZQt(t,e,n),clearSecuritySchemeSecrets:n=>QQt(t,e,n),updateSelectedAuthTab:n=>$Qt(t,e,n),updateSelectedScopes:n=>t$t(t,e,n),upsertScope:n=>n$t(t,e,n),deleteScope:n=>r$t(t,e,n),deleteSecurityScheme:n=>i$t(t,e,n)})})),s$t,c$t,pY,l$t=s((()=>{Xh(),ax(),Gh(),s$t=(e,{payload:t,index:n})=>{if(!e||nx(e))return;if(e[`x-scalar-cookies`]||=[],n!==void 0){if(n<0||n>=e[`x-scalar-cookies`].length)return;let r=Wh(Yh,{...e[`x-scalar-cookies`][n],...t});return e[`x-scalar-cookies`][n]=r,r}let r=Wh(Yh,t);return e[`x-scalar-cookies`].push(r),r},c$t=(e,{index:t})=>!e||nx(e)||!e[`x-scalar-cookies`]||t<0||t>=e[`x-scalar-cookies`].length?!1:(e[`x-scalar-cookies`].splice(t,1),!0),pY=({collection:e})=>({upsertCookie:t=>s$t(e,t),deleteCookie:t=>c$t(e,t)})})),u$t,d$t,f$t,p$t,m$t,h$t,g$t,_$t=s((()=>{Px(),ax(),u$t=(e,t)=>{tx(e)&&Nx(e,t)},d$t=(e,t)=>{tx(e)&&(e[`x-scalar-watch-mode`]=t)},f$t=(e,t)=>{tx(e)&&(Nx(e.info,t),e[`x-scalar-navigation`]&&t.title!==void 0&&(e[`x-scalar-navigation`].title=t.title?.trim()||`Untitled Document`))},p$t=(e,t)=>{tx(e)&&e[`x-scalar-navigation`]&&(e[`x-scalar-icon`]=t,e[`x-scalar-navigation`].icon=t)},m$t=async(e,t)=>{e&&(e.workspace.documents[t.name]?t.callback?.(!1):(await e.addDocument({name:t.name,document:{openapi:`3.1.0`,info:{title:t.name,version:`1.0.0`},paths:{"/":{get:{}}},"x-scalar-icon":t.icon}}),t.callback?.(!0)))},h$t=(e,t)=>{e&&e.deleteDocument(t.name)},g$t=({document:e,store:t})=>({updateDocumentExtension:t=>u$t(e,t),updateDocumentInfo:t=>f$t(e,t),updateWatchMode:t=>d$t(e,t),updateDocumentIcon:t=>p$t(e,t),createEmptyDocument:e=>m$t(t,e),deleteDocument:e=>h$t(t,e)})})),v$t,y$t,b$t,x$t,mY,S$t=s((()=>{Fu(),Jh(),ax(),Gh(),v$t=(e,t,{environmentName:n,payload:r,oldEnvironmentName:i})=>{if(!t||!e||nx(t))return;t[`x-scalar-environments`]||={};let a=!t[`x-scalar-environments`][i??n],o=Wh(qh,{...Pu(t[`x-scalar-environments`][i??n],{depth:1}),...r});return t[`x-scalar-environments`][n]=o,i&&i!==n&&(delete t[`x-scalar-environments`][i],e[`x-scalar-active-environment`]===i&&(e[`x-scalar-active-environment`]=n)),a&&(e[`x-scalar-active-environment`]=n),o},y$t=(e,t,{environmentName:n})=>{t&&e&&!nx(t)&&delete t[`x-scalar-environments`]?.[n]},b$t=(e,{environmentName:t,variable:n,index:r})=>{if(!e||nx(e))return;if(!e[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}let i=Wh($Ie,n);if(r!==void 0){if(i.name===``){e[`x-scalar-environments`][t].variables.splice(r,1);return}e[`x-scalar-environments`][t].variables[r]=i}else e[`x-scalar-environments`][t].variables.push(i);return i},x$t=(e,{environmentName:t,index:n})=>{e&&!nx(e)&&(e[`x-scalar-environments`]?.[t]?e[`x-scalar-environments`][t]?.variables?.splice(n,1):console.error(`Environment not found`,t))},mY=({workspace:e,collection:t})=>({upsertEnvironment:n=>v$t(e,t,n),deleteEnvironment:n=>y$t(e,t,n),upsertEnvironmentVariable:e=>b$t(t,e),deleteEnvironmentVariable:e=>x$t(t,e)})})),C$t,w$t=s((()=>{C$t=(e,t)=>e&&e.workspace.documents[t]||null})),hY,gY,T$t,E$t,D$t,O$t=s((()=>{yx(),iu(),Fu(),ax(),hY=(e,t)=>{delete e.serializedValue,delete e.dataValue,delete e.externalValue,e.value=t},gY=(e,t,n)=>{if(!tx(e))return null;let r=H(px(e.paths?.[n.path],n.method));if(!r)return null;let i=H(r.requestBody);return i||=(r.requestBody={content:{}},r.requestBody),i.content[t]||={},i.content[t].examples||={},i.content[t].examples[n.exampleKey]||={},H(i.content[t].examples?.[n.exampleKey])??null},T$t=(e,{meta:t,payload:n})=>{if(!tx(e))return;let r=H(px(e.paths?.[t.path],t.method));if(!r)return;let i=H(r.requestBody);i||=(r.requestBody={content:{}},r.requestBody),i[`x-scalar-selected-content-type`]||(i[`x-scalar-selected-content-type`]={}),i[`x-scalar-selected-content-type`][t.exampleKey]=n.contentType},E$t=(e,{meta:t,payload:n,contentType:r})=>{let i=gY(e,r,t);i?hY(i,n):console.error(`Example not found`,t.exampleKey)},D$t=(e,{meta:t,payload:n,contentType:r})=>{let i=gY(e,r,t);i?hY(i,Pu(n,{depth:3})):console.error(`Example not found`,t.exampleKey)}})),k$t,A$t=s((()=>{yx(),iu(),Px(),ax(),k$t=(e,{meta:t,payload:n})=>{if(!tx(e))return;let r=H(px(e.paths?.[t.path],t.method));r&&Nx(r,n)}})),j$t,M$t,_Y,N$t,P$t,F$t,I$t=s((()=>{j$t=async({requestPayload:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let[i,a]=e,o=globalThis.location?.origin,s=new URL(i,o&&o!==`null`?o:`http://localhost`),c=Array.from(s.searchParams.entries()).map(([e,t])=>({name:e,value:t})),l=new Headers(a.headers),u=l.get(`content-type`)?.split(`;`)[0]?.trim()??`text/plain`,{headers:d,headersSize:f,cookies:p}=P$t(l),m=await(async()=>{if(t&&a.body!=null){let e=await M$t(a.body,l.get(`content-type`)??u,r);if(e.size<=r)return e}return{text:``,size:-1}})();return{method:a.method??`GET`,url:i,httpVersion:n,headers:d,cookies:p,queryString:c,headersSize:f,bodySize:m.size,postData:`params`in m?{mimeType:u,params:m.params}:{mimeType:u,text:m.text}}},M$t=async(e,t,n)=>{if(e instanceof Blob&&t.toLowerCase().startsWith(`multipart/form-data;`)){if(e.size>n)return{text:``,size:-1};let r=await new Response(e,{headers:{"content-type":t}}).formData().catch(()=>void 0);return r?{..._Y(r),size:e.size}:{text:``,size:-1}}return e instanceof FormData?_Y(e):e instanceof URLSearchParams?N$t(e):t.includes(`application/octet-stream`)?{text:``,size:-1}:typeof e==`string`?{text:e,size:new TextEncoder().encode(e).byteLength}:e instanceof Blob?{text:await e.text(),size:e.size}:e instanceof ArrayBuffer||ArrayBuffer.isView(e)?{text:new TextDecoder().decode(e),size:e.byteLength}:{text:``,size:-1}},_Y=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if(n instanceof File){let r=`@${n.name}`;return e.params.push({name:t,value:r}),e.size+=r.length,e}return e.params.push({name:t,value:n}),e.size+=n.length,e},{params:[],size:0}),N$t=e=>Array.from(e.entries()).reduce((e,[t,n])=>(e.params.push({name:t,value:n}),e.size+=t.length+n.length,e),{params:[],size:0}),P$t=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if(t.toLowerCase()===`cookie`){let t=F$t(n);e.cookies.push(...t.cookies)}else e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2;return e},{headers:[],headersSize:0,cookies:[]}),F$t=e=>e.split(`;`).reduce((e,t)=>{let n=t.trim(),r=n.indexOf(`=`);if(r===-1)return e;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();return e.cookies.push({name:i,value:a}),e.size+=i.length+2+a.length+2,e},{cookies:[],size:0})})),L$t,R$t,z$t,B$t,V$t,H$t=s((()=>{L$t=async({response:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let{headers:i,headersSize:a,cookies:o}=R$t(e),s=e.headers.get(`location`)||``,c=e.headers.get(`content-type`)??`text/plain`,l=await(async()=>{if(t&&e.body){let t=await z$t(e.clone());if(t.size<=r)return t}return{text:``,size:-1,encoding:void 0}})();return{status:e.status,statusText:e.statusText,httpVersion:n,headers:i,cookies:o,content:{size:l.size,mimeType:c,text:l.text,encoding:l.encoding},redirectURL:s,headersSize:a,bodySize:l.size}},R$t=e=>Array.from(e.headers.entries()).reduce((e,[t,n])=>{if(e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2,t.toLowerCase()===`set-cookie`){let t=V$t(n);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),z$t=async e=>{let t=e.headers.get(`content-type`);if(!t||!B$t(t))return{text:``,size:-1,encoding:void 0};try{let t=await e.arrayBuffer(),n=t.byteLength;return{text:new TextDecoder(`utf-8`).decode(t),size:n,encoding:void 0}}catch{return{text:``,size:-1,encoding:void 0}}},B$t=e=>{let t=e.toLowerCase();return!!(t.startsWith(`text/`)||t.includes(`application/json`)||t.includes(`+json`)||t.includes(`application/xml`)||t.includes(`text/xml`)||t.includes(`+xml`)||t.includes(`application/javascript`)||t.includes(`application/x-javascript`)||t.includes(`application/x-www-form-urlencoded`)||t.includes(`application/graphql`))},V$t=e=>{let t=e.split(`;`);if(t.length===0||!t[0])return null;let n=t[0].trim(),r=n.indexOf(`=`);return r===-1?null:{name:n.substring(0,r).trim(),value:n.substring(r+1).trim()}}})),U$t,W$t,G$t,vY,K$t=s((()=>{iu(),Tv(),U$t=(e,t,n)=>{e.forEach(e=>{let r=H(e);r&&!wv(r)&&(G$t(r,n,!0),r.in===`path`&&(r.examples||={},r.examples[n]={value:t[r.name]??``,"x-disabled":!1}))})},W$t=({harRequest:e,exampleKey:t,baseOperation:n={},pathVariables:r={}})=>{if(n.parameters||=[],U$t(n.parameters,r,t),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=vY(n.parameters,r.name,`query`);e&&!wv(e)&&(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.headers&&e.headers.length>0)for(let r of e.headers){let e=vY(n.parameters,r.name,`header`);e&&!wv(e)&&(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.cookies&&e.cookies.length>0)for(let r of e.cookies){let e=vY(n.parameters,r.name,`cookie`);e&&!wv(e)&&(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.postData){let{mimeType:r,text:i,params:a}=e.postData;n.requestBody||={content:{}};let o=H(n.requestBody);if(!o)return n;o.content[r]||(o.content[r]={schema:{type:`object`}});let s=o.content[r];if(!s)return n;s.examples||={};let c;if(a&&a.length>0){c=[];for(let e of a)c.push({name:e.name,value:e.value,"x-disabled":!1})}else c=i;s.examples[t]={value:c,"x-disabled":!1},o[`x-scalar-selected-content-type`]||={},o[`x-scalar-selected-content-type`][t]=r}return n},G$t=(e,t,n)=>{if(wv(e)||!e.examples?.[t])return;let r=H(e.examples[t]);r&&(r[`x-disabled`]=n)},vY=(e,t,n)=>{for(let r of e){let e=H(r);if(e&&!wv(e)&&e.in===n&&(n===`header`?e.name.toLowerCase()===t.toLowerCase():e.name===t))return e}let r={name:t,in:n,schema:{type:`string`}};return e.push(r),r}})),q$t,J$t,Y$t=s((()=>{yx(),iu(),ax(),Tv(),I$t(),H$t(),K$t(),q$t=async(e,t,{payload:n,meta:r})=>{if(!tx(t))return;let i=t[`x-scalar-navigation`]?.name;if(!i||!n)return;let a=H(px(t.paths?.[r.path],r.method));if(!a)return;let o=(a.parameters??[]).reduce((e,t)=>{let n=H(t);return!n||wv(n)||n.in===`path`&&(e[n.name]=H(n.examples?.[r.exampleKey])?.value??``),e},{}),s=await j$t({requestPayload:n.requestPayload}),c=await L$t({response:n.response});e?.history.addHistory(i,r.path,r.method,{response:c,request:s,meta:{example:r.exampleKey},time:n.duration,timestamp:n.timestamp,requestMetadata:{variables:o}})},J$t=(e,t,{meta:n,index:r,callback:i})=>{if(!tx(t)){console.error(`Document not found`,n.path,n.method);return}let a=H(px(t.paths?.[n.path],n.method));if(!a){console.error(`Operation not found`,n.path,n.method);return}let o=e?.history.getHistory(t[`x-scalar-navigation`]?.name??``,n.path,n.method)?.[r];o?(W$t({harRequest:o.request,exampleKey:`draft`,baseOperation:a,pathVariables:o.requestMetadata.variables}),i(`success`)):console.error(`History item not found`,r)}})),yY,X$t=s((()=>{yY=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n}})),bY,Z$t=s((()=>{$G(),Fu(),X$t(),bY=(e,t,n,r)=>{let i=QG(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=QG(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),o=yY(t,i),s=yY(e,a),c=Object.create(null);for(let e of n){let t=r(e);t?.in===`path`&&(c[t.name]=e)}let l=new Set,u=new Set,d=[];for(let e of a){if(c[e]){l.add(e),u.add(c[e]);continue}let t=s[e],n=i.find(e=>o[e]===t&&!l.has(e));if(n&&c[n]!==void 0){let t=c[n];t&&(r(t).name=e,u.add(t)),l.add(n)}else d.push({in:`path`,name:e})}let f=[];for(let e of n){let t=r(e),n=Pu(e,{depth:1});t?.in===`path`?u.has(e)&&f.push(n):f.push(n)}return f.concat(d)}})),xY,SY=s((()=>{xY=(e,t)=>{if(t)return t.type===e?t:xY(e,t.parent)}})),Q$t,$$t,e1t=s((()=>{yx(),iu(),ax(),SY(),Q$t=e=>e.type===`document`||e.type===`tag`||e.type===`operation`,$$t=({store:e,entry:t})=>{let n=xY(`document`,t);if(!n)return null;let r=e.workspace.documents[n.name];return r?t.type===`document`?r:tx(r)?t.type===`tag`?r.tags?.find(e=>e.name===t.name)??null:t.type===`operation`?H(px(r.paths?.[t.path],t.method))??null:null:null:null}})),CY,t1t=s((()=>{CY=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let i of e)if(i.type===`operation`){let e=`${i.path}|${i.method}`;n(e,{...i,parent:t})}else if(i.type===`webhook`){let e=`${i.name}|${i.method}`;n(e,{...i,parent:t})}else`children`in i&&i.children&&r(i.children,{...i,parent:t})};return r(e.children,e),t}})),n1t,r1t=s((()=>{n1t=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let i of e)i.type===`tag`?(n(i.name,{...i,parent:t}),r(i.children,{...i,parent:t})):`children`in i&&i.children&&r(i.children,{...i,parent:t})};return r(e.children,e),t}}));function wY(e,t,n){let r=new Map;t.forEach((e,t)=>r.set(e,t));let i=[],a=[];return e.forEach(e=>{let t=r.get(n(e));t===void 0?a.push(e):i[t]=e}),[...i.filter(e=>e!==void 0),...a]}var i1t=s((()=>{})),a1t,o1t,s1t,c1t,TY,EY,DY=s((()=>{a1t=/[^\p{L}\p{M}\p{N}\s_-]/gu,o1t=/[\s_-]+/g,s1t=/^-+|-+$/g,c1t=/\p{M}/gu,TY=new Map,EY=(e,t={})=>{let{allowedSpecialChars:n=``,preserveCase:r=!1,normalizationForm:i=`NFC`,stripAccents:a=!1}=t,o=(()=>{if(n.length===0)return a1t;let e=TY.get(n);if(e)return e;let t=n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),r=RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${t}]`,`gu`);return TY.set(n,r),r})(),s=e.slice(0,255).trim(),c=a?s.normalize(`NFD`).replace(c1t,``):s.normalize(i);return(r?c:c.toLowerCase()).replace(o,``).replace(o1t,`-`).replace(s1t,``)}})),OY,kY,AY=s((()=>{nc(),DY(),h(),OY=e=>tc(e)?e===e.toLowerCase()?e.toUpperCase():`additionalOperations/${e}`:e,kY=(e,t)=>{let n=t?.modelsSectionLabel??`Models`,r=EY(n),i=n=>{let a=EY(e);if(n.type===`text`)return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:n.slug}):n.slug?`${a}/description/${n.slug}`:`${a}/`;if(n.type===`tag`){let e=n.isTagGroup?`tag-group`:`tag`;return t?.generateTagSlug?`${a}/${e}/${t.generateTagSlug(n.tag)}`:`${a}/${e}/${EY(n.tag.name??``)}`}if(n.type===`asyncapi-channel`)return`${n.parentTag?`${i({type:`tag`,tag:n.parentTag.tag,parentId:n.parentTag.id})}/`:`${a}/`}channel/${EY(n.channelName)}`;if(n.type===`asyncapi-message`)return`${n.parentId}/message/${EY(n.messageName)}`;if(n.type===`asyncapi-operation`)return`${n.parentId}/operation/${EY(n.operationName)}`;if(n.type===`operation`){let e=n.parentTag?`${i({type:`tag`,tag:n.parentTag.tag,parentId:n.parentTag.id})}/`:`${a}/`;return t?.generateOperationSlug?`${e}${t.generateOperationSlug({path:n.path,operationId:n.operation.operationId,method:tc(n.method)&&n.method===n.method.toLowerCase()?n.method.toUpperCase():n.method,summary:n.operation.summary})}`:`${e}${OY(n.method)}${n.path}`}if(n.type===`webhook`){if(!n.name&&n.method===void 0)return`${a}/webhooks`;let e=n.parentTag?`${i({type:`tag`,parentId:n.parentTag.id,tag:n.parentTag.tag})}/`:`${a}/`;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({name:n.name,method:tc(n.method)&&n.method===n.method.toLowerCase()?n.method.toUpperCase():n.method})}`:`${e}webhook/${OY(n.method)}/${EY(n.name,{allowedSpecialChars:`.`})}`}if(n.type===`model`){if(!n.name)return`${a}/${r}`;let e=n.parentTag?`${i({type:`tag`,parentId:n.parentTag.id,tag:n.parentTag.tag})}/`:`${a}/`;return t?.generateModelSlug?`${e}${r}/${t.generateModelSlug({name:n.name})}`:`${e}${r}/${EY(n.name,{preserveCase:!0})}`}return n.type===`example`?`${n.parentId}/example/${EY(n.name)}`:n.type===`document`?a:(console.warn(`[WARNING]: unhandled id generation for navigation item:`,n),`unknown-id`)};return{hideModels:t?.hideModels??!1,modelsSectionLabel:n,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,operationTitleSource:t?.operationTitleSource,generateId:i}}})),jY,MY=s((()=>{jY=({tagsMap:e,name:t,documentId:n,generateId:r})=>(e.get(t)||e.set(t,{id:r({type:`tag`,tag:{name:t},parentId:n}),parentId:n,entries:[],tag:{name:t}}),e.get(t))})),NY,l1t=s((()=>{iu(),NY=e=>{let t=H(e.externalDocs);return t?{url:t.url,description:t.description}:void 0}}));function u1t(e){return e.replace(/!\[([^\]]*)\]\([^)]*\)/g,`$1`).replace(/\[([^\]]*)\]\([^)]*\)/g,`$1`).replace(/(\*{3}|_{3})(.+?)\1/g,`$2`).replace(/(\*{2}|_{2})(.+?)\1/g,`$2`).replace(/(\*|_)(.+?)\1/g,`$2`).replace(/~~(.+?)~~/g,`$1`).replace(/`([^`]+)`/g,`$1`).replace(/<[^>]+>/g,``).replace(/[<>]/g,``).trim()}function d1t(e){let t=e.split(/\r?\n/),n=[],r=!1,i=``,a=0;for(let e=0;e<t.length;e++){let o=t[e]??``,s=o.trimStart();if(r){let e=/^(`{3,}|~{3,})\s*$/.exec(s)?.[1];e&&e[0]===i&&e.length>=a&&(r=!1);continue}{let e=/^(`{3,}|~{3,})/.exec(s)?.[1];if(e){r=!0,i=e.charAt(0),a=e.length;continue}}if(/^(?: {4}|\t)/.test(o))continue;let c=/^(#{1,6})\s+(.+?)(?:\s+#+\s*)?$/.exec(s),l=c?.[1],u=c?.[2];if(l&&u){let e=u1t(u);e&&n.push({depth:l.length,value:e});continue}let d=t[e+1];if(!d||/^(?: {4}|\t)/.test(d))continue;let f=/^(=+|-+)\s*$/.exec(d.trim())?.[1];if(!f)continue;let p=u1t(s);p&&(n.push({depth:f[0]===`=`?1:2,value:p}),e++)}return n}var f1t=s((()=>{})),PY,FY=s((()=>{DY(),PY=(e={})=>{let t=new Map;return{slug(n){let r=EY(n,e),i=t.get(r);if(i===void 0)return t.set(r,0),r;let a=i+1;return t.set(r,a),`${r}-${a}`},reset(){t.clear()}}}}));function p1t(e){let{slug:t}=PY(),n=d1t(e);return m1t(n,t)}var m1t,h1t,g1t=s((()=>{f1t(),FY(),m1t=(e,t)=>e.map(e=>({...e,slug:t(e.value)})),h1t=e=>{let t=Math.min(...e.map(e=>e.depth));return t>=1&&t<=6?t:1}})),IY,LY,RY,_1t=s((()=>{g1t(),IY={TITLE:`Introduction`,SLUG:`introduction`},LY=(e,t,n)=>({id:e({type:`text`,depth:1,slug:IY.SLUG,parentId:t,info:n,value:IY.TITLE}),title:IY.TITLE,type:`text`}),RY=({generateId:e,parentId:t,info:n})=>{let r=n.description?.trim();if(!r)return[LY(e,t,n)];let i=p1t(r),a=h1t(i),o=[],s=null,c=null;if(!r.startsWith(`#`)){let r=LY(e,t,n);o.push(r),s=r}for(let r of i){if(r.depth!==a&&r.depth!==a+1)continue;let i={id:e({type:`text`,depth:r.depth,slug:r.slug,parentId:t,info:n,value:r.value}),title:r.value,type:`text`};r.depth===a?(i.children=[],s?(s.children||(s.children=[]),s.children.push(i)):o.push(i),c=i):c&&c.children?.push(i)}return o}})),zY,BY=s((()=>{zY=(e,t)=>e.openapi.startsWith(`3.2.`)&&(t?.kind===`badge`||t?.kind===`audience`)?t.kind:`nav`})),VY,HY=s((()=>{BY(),VY=(e,t,n)=>t?.filter(t=>zY(e,n.get(t)?.tag)===`nav`)??[]})),UY,WY,v1t=s((()=>{js(),iu(),pH(),HY(),MY(),UY=({ref:e,name:t,generateId:n,parentTag:r,_schema:i,parentId:a})=>{let o=n({name:t,type:`model`,parentTag:r,parentId:a,schema:i}),s=H(i);return{id:o,title:V(s)&&`title`in s&&s.title||t,name:t,ref:e,type:`model`}},WY=({document:e,tagsMap:t,generateId:n,documentId:r})=>{let i=e.components?.schemas??{},a=[];for(let o in i){if(!Object.hasOwn(i,o))continue;let s=H(i[o],ru);if(fH(s))continue;let c=`#/components/schemas/${o}`,l=VY(e,s?.[`x-tags`],t);l.length?l.forEach(e=>{let{tag:a,id:s}=jY({tagsMap:t,name:e,documentId:r,generateId:n});t.get(e)?.entries.push(UY({ref:c,name:o,generateId:n,parentTag:{tag:a,id:s},_schema:H(i[o]),parentId:r}))}):a.push(UY({ref:c,name:o,generateId:n,_schema:H(i[o]),parentId:r}))}return a}})),GY,KY,y1t,b1t,x1t,S1t,C1t,qY,JY,w1t,YY,T1t,XY,E1t,D1t,ZY,O1t,k1t,A1t=s((()=>{i1t(),wx(),GG(),NG(),hG(),pH(),Fu(),AY(),MY(),l1t(),_1t(),v1t(),GY=(...e)=>{for(let t of e){let e=t?.trim();if(e)return e}},KY=(e,t)=>typeof t.address==`string`&&t.address.length>0?t.address:e,y1t=(e,t)=>GY(e.title,e.summary)??KY(t,e),b1t=(e,t)=>GY(e.title,e.summary)??t,x1t=(e,t)=>GY(e.title,e.summary,e.name)??t,S1t=e=>MG(e,[`channels`]),C1t=(e,t)=>{let n=t.channel;if(!n||!(`$ref`in n))return;let r=S1t(n.$ref);if(!r)return;let i=e.channels?.[r];if(!i)return;let a=mG(i);return a?{channelName:r,channel:a}:void 0},qY=(e,t,n)=>{let r=t.messages??{};if(e.messages===void 0)return Cx(r);let i=new Set,a=mG(e.reply)?.messages??[];for(let t of[...e.messages,...a]){if(!(`$ref`in t))continue;let e=MG(t.$ref,[`channels`,n,`messages`]);if(e&&r[e])i.add(e);else for(let[e,n]of Object.entries(r))n&&`$ref`in n&&n.$ref===t.$ref&&i.add(e)}return[...i]},JY=e=>{let t=mG(e);if(!t)return[];let n=mG(t.externalDocs);return[{name:t.name,...t.description===void 0?{}:{description:t.description},...n?{externalDocs:n}:{}}]},w1t=(e,t)=>{t===`alpha`?e.sort((e,t)=>e.title.localeCompare(t.title)):t===`method`?e.sort((e,t)=>e.action.localeCompare(t.action)):typeof t==`function`&&e.sort((e,n)=>t({method:e.action,path:e.operationName,ref:e.operationName,httpVerb:e.action},{method:n.action,path:n.operationName,ref:n.operationName,httpVerb:n.action}))},YY=({channelName:e,channel:t,parentId:n,messageNames:r,generateId:i})=>r.flatMap(r=>{let a=t.messages?.[r];if(!a)return[];let o=mG(a);return!o||fH(o)?[]:[{type:`asyncapi-message`,id:i({type:`asyncapi-message`,messageName:r,channelName:e,parentId:n}),title:x1t(o,r),messageName:r,channelName:e}]}),T1t=({operationName:e,operation:t,channel:n,channelName:r,channelAddress:i,generateId:a,parentId:o})=>{if(fH(t))return;let s=a({type:`asyncapi-operation`,operationName:e,parentId:o}),c=YY({channelName:r,channel:n,parentId:s,messageNames:qY(t,n,r),generateId:a});return{type:`asyncapi-operation`,id:s,title:b1t(t,e),operationName:e,action:t.action,channelName:r,channelAddress:i,children:c.length>0?c:void 0}},XY=({bucket:e,operationEntries:t,generateId:n,parentId:r,parentTag:i,operationsSorter:a,document:o})=>{if(fH(e.channel))return;let s=n({type:`asyncapi-channel`,channelName:e.channelName,parentId:r,parentTag:i}),c=t.flatMap(({operationName:t,operation:r})=>{let i=T1t({operationName:t,operation:r,channel:e.channel,channelName:e.channelName,channelAddress:e.channelAddress,generateId:n,parentId:s});return i?[i]:[]});if(w1t(c,a),c.length===0&&e.operations.length>0)return;let l=new Set(e.operations.flatMap(({operation:t})=>qY(t,e.channel,e.channelName))),u=YY({channelName:e.channelName,channel:e.channel,parentId:s,messageNames:Cx(e.channel.messages??{}).filter(e=>!l.has(e)),generateId:n}),d=[...c,...u],f=o.channels?.[e.channelName];if(f&&!(`$ref`in f)){let e=f;e[`x-scalar-order`]=d.map(e=>e.id)}return{type:`asyncapi-channel`,id:s,title:y1t(e.channel,e.channelName),channelName:e.channelName,channelAddress:e.channelAddress,children:d}},E1t=({tag:e,generateId:t,children:n,parentId:r})=>{let i=t({type:`tag`,tag:e,parentId:r,isGroup:!1}),a=NY(e),o=e[`x-displayName`]??e.name??`Untitled Tag`;return e[`x-scalar-order`]=n.map(e=>e.id),{type:`tag`,id:i,title:o,name:e.name||o,description:e.description,...a?{externalDocs:a}:{},children:n,isGroup:!1,isWebhooks:!1}},D1t=({tagKeys:e,tagsMap:t,documentId:n,options:{tagsSorter:r,generateId:i},sortOrder:a})=>{let o=e.flatMap(e=>{let{tag:r,entries:a}=jY({tagsMap:t,name:e,documentId:n,generateId:i});if(fH(r))return[];let o=r[`x-scalar-order`];return E1t({tag:r,generateId:i,children:o?wY(a,o,e=>e.id):a,parentId:n})});return a?wY(o,a,e=>e.id):(r===`alpha`?o.sort((e,t)=>e.title.localeCompare(t.title)):typeof r==`function`&&o.sort((e,a)=>r(jY({tagsMap:t,name:e.name,documentId:n,generateId:i}).tag,jY({tagsMap:t,name:a.name,documentId:n,generateId:i}).tag)),o)},ZY=(e,t,n)=>{let r=e.get(t);if(r)return r;let i={channelName:t,channel:n,channelAddress:KY(t,n),channelTags:n.tags?.flatMap(JY)??[],operations:[]};return e.set(t,i),i},O1t=e=>{let t=new Map;for(let[n,r]of Object.entries(e.channels??{})){if(!r)continue;let e=mG(r);e&&!fH(e)&&ZY(t,n,e)}for(let[n,r]of Object.entries(e.operations??{})){if(!r)continue;let i=mG(r);if(!i)continue;let a=WG(i),o=C1t(e,a);o&&ZY(t,o.channelName,o.channel).operations.push({operationName:n,operation:a})}return t},k1t=(e,t,n)=>{let{generateId:r,operationsSorter:i,tagsSorter:a,hideModels:o,modelsSectionLabel:s}=kY(e,n),c=r({type:`document`,info:t.info,name:e}),l=O1t(t),u=new Map,d=[];for(let e of(t.info.tags??[]).flatMap(JY)){if(!e.name)continue;let t=jY({tagsMap:u,name:e.name,documentId:c,generateId:r});t.tag=e}for(let e of l.values()){if(e.channelTags.length===0){let n=XY({bucket:e,operationEntries:e.operations,generateId:r,parentId:c,operationsSorter:i,document:t});n&&d.push(n)}for(let n of e.channelTags){let a=n.name??`Untitled Tag`,o=jY({tagsMap:u,name:a,documentId:c,generateId:r});o.tag={...o.tag,...n};let{id:s,entries:l}=o;if(l.some(t=>t.type===`asyncapi-channel`&&t.channelName===e.channelName))continue;let d=XY({bucket:e,operationEntries:e.operations,generateId:r,parentId:s,parentTag:{tag:n,id:s},operationsSorter:i,document:t});d&&l.push(d)}}let f=t.components?mG(t.components):void 0,p=!o&&f?.schemas?WY({documentId:c,document:{components:{...f,schemas:Object.fromEntries(Object.entries(f.schemas).map(([e,t])=>[e,mG(t)]))}},generateId:r,tagsMap:u}):[],m=RY({generateId:r,parentId:c,info:t.info});u.size>0&&m.push(...D1t({tagKeys:[...u.keys()],tagsMap:u,documentId:c,options:{tagsSorter:a,generateId:r},sortOrder:t[`x-scalar-order`]})),i===`alpha`&&d.sort((e,t)=>e.title.localeCompare(t.title)),m.push(...d),p.length&&m.push({type:`models`,id:r({type:`model`,parentId:c}),title:s,name:s,children:p});let h=t[`x-scalar-order`],g=h?wY(m,h,e=>e.id):m;return t[`x-scalar-order`]=Pu(g.map(e=>e.id)),{id:c,type:`document`,title:t.info?.title?.trim()||`Untitled Document`,name:e,children:g,icon:t[`x-scalar-icon`]}}})),QY,j1t,M1t=s((()=>{iu(),QY=e=>{let t=new Set(e[`x-draft-examples`]??[]);if(e.requestBody){let n=H(e.requestBody);Object.values(n?.content??{}).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{t.add(e)})})}return e.parameters&&e.parameters.forEach(e=>{let n=H(e)??{};`content`in n&&n.content&&Object.values(n.content).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{t.add(e)})}),`examples`in n&&n.examples&&Object.keys(n.examples??{}).forEach(e=>{t.add(e)})}),Array.from(t)},j1t=(e,t)=>{let n=new Set(QY(e));if(!n.has(t))return t;let r=2;for(;n.has(`${t} (${r})`);)r++;return`${t} (${r})`}})),N1t=s((()=>{Wze(),Ig(),Hg(),zg()})),$Y,eX,P1t,F1t=s((()=>{lx(),yx(),iu(),pH(),M1t(),N1t(),HY(),MY(),$Y=e=>e.deprecated||e[`x-scalar-stability`]===cBe.Deprecated,eX=({ref:e,operation:t,method:n,path:r,generateId:i,parentId:a,parentTag:o,operationTitleSource:s})=>{let c=i({type:`operation`,operation:t,parentTag:o,method:n,path:r,parentId:a}),l=s!==`path`&&t.summary?.trim()?t.summary:r,u=$Y(t),d=QY(t).map(e=>({type:`example`,id:i({type:`example`,parentId:c,name:e}),title:e,name:e}));return{id:c,title:l,path:r,method:n,ref:e,type:`operation`,isDeprecated:u,children:d.length?d:void 0}},P1t=({document:e,tagsMap:t,generateId:n,documentId:r,operationTitleSource:i})=>{let a=[];return Object.entries(e.paths??{}).forEach(([o,s])=>{gx(s,(s,c)=>{let l=H(c,ru);if(!l||fH(l))return;let u=`#/paths/${cx(o)}/${vx(s)}`,d=VY(e,l.tags,t);d.length?d.forEach(e=>{let{tag:a,id:c}=jY({tagsMap:t,name:e,documentId:r,generateId:n});t.get(e)?.entries.push(eX({ref:u,operation:l,method:s,path:o,parentTag:{tag:a,id:c},generateId:n,parentId:c,operationTitleSource:i}))}):a.push(eX({ref:u,operation:l,method:s,path:o,generateId:n,parentId:r,operationTitleSource:i}))})}),{untaggedOperations:a}}})),I1t,L1t=s((()=>{I1t=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(`x-`))):{}})),tX,nX,rX,iX,R1t,z1t,B1t=s((()=>{i1t(),BY(),pH(),Fu(),l1t(),L1t(),MY(),tX=({tag:e,generateId:t,children:n,isGroup:r=!1,isTagGroup:i=!1,parentId:a})=>{let o=t({type:`tag`,tag:e,parentId:a,isGroup:r,isTagGroup:i}),s=NY(e),c=e[`x-displayName`]??e.summary??e.name??`Untitled Tag`;return e[`x-scalar-order`]=n.map(e=>e.id),{id:o,title:c,name:e.name||c,description:e.description,...s?{externalDocs:s}:{},children:n,isGroup:r,...i?{isTagGroup:!0}:{},isWebhooks:!1,type:`tag`,xKeys:I1t(Pu(e))}},nX=({_keys:e,document:t,tagsMap:n,options:{tagsSorter:r,operationsSorter:i,generateId:a},documentId:o,sortOrder:s})=>{let c=e.flatMap(e=>{let{tag:r,entries:s}=jY({tagsMap:n,name:e,documentId:o,generateId:a});if(fH(r)||zY(t,r)!==`nav`)return[];let c=r[`x-scalar-order`];return c===void 0&&(i===`alpha`?s.sort((e,t)=>e.type===`operation`&&t.type===`operation`?e.title.localeCompare(t.title):0):i===`method`?s.sort((e,t)=>e.type===`operation`&&t.type===`operation`?e.method.localeCompare(t.method):0):typeof i==`function`&&s.sort((e,t)=>{if(e.type!==`operation`&&e.type!==`webhook`||t.type!==`operation`&&t.type!==`webhook`)return 0;let n=e.type===`operation`?e.path:e.name,r=t.type===`operation`?t.path:t.name;return i({method:e.method,path:n,ref:e.ref,httpVerb:e.method},{method:t.method,path:r,ref:t.ref,httpVerb:t.method})})),tX({tag:r,generateId:a,children:c?wY(s,c,e=>e.id):s,parentId:o,isGroup:!1})});return s?wY(c,s,e=>e.id):(r===`alpha`?c.sort((e,t)=>(e.title||`Untitled Tag`).localeCompare(t.title||`Untitled Tag`)):typeof r==`function`&&c.sort((e,t)=>r(jY({tagsMap:n,name:e.name,documentId:o,generateId:a}).tag,jY({tagsMap:n,name:t.name,documentId:o,generateId:a}).tag)),c)},rX=e=>{let t=new Set(e.flatMap(e=>typeof e.name==`string`?e.name:[])),n=new Map;for(let r of e)r.name&&r.parent&&r.parent!==r.name&&t.has(r.parent)&&n.set(r.name,r.parent);return n},iX=(e,t)=>{let n=new Set([t]),r=e.get(t);for(;r;){if(n.has(r))return!0;n.add(r),r=e.get(r)}return!1},R1t=({flatEntries:e,document:t,originalOrders:n})=>{let r=new Map,i=new Map;for(let t of e)t.type===`tag`&&(r.set(t.name,t),i.set(t.name,(t.children?.length??0)>0));let a=rX((t.tags??[]).filter(e=>zY(t,e)===`nav`)),o=new Set,s=new Set;for(let[e,t]of r){let n=a.get(e);if(n===void 0||iX(a,e))continue;let i=r.get(n);i&&(i.children=i.children??[],i.children.push(t),o.add(e),s.add(n))}let c=new Map;for(let e of t.tags??[])e.name&&c.set(e.name,e);for(let e of s){let t=r.get(e);if(!t)continue;let i=n.get(e);i&&(t.children=wY(t.children??[],i,e=>e.id));let a=c.get(e);a&&(a[`x-scalar-order`]=(t.children??[]).map(e=>e.id))}for(let[e,t]of r)(t.children??[]).some(e=>e.type===`tag`)&&!i.get(e)&&(t.isGroup=!0);return e.filter(e=>!(e.type===`tag`&&o.has(e.name)))},z1t=({document:e,tagsMap:t,documentId:n,options:{generateId:r,tagsSorter:i,operationsSorter:a}})=>{let o=rX((e.tags??[]).filter(t=>zY(e,t)===`nav`));if(Array.from(o.keys()).some(e=>!iX(o,e))){let o=new Map;for(let t of e.tags??[])t.name&&t[`x-scalar-order`]&&o.set(t.name,t[`x-scalar-order`]);let s=nX({document:e,_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:i,operationsSorter:a},documentId:n,sortOrder:e[`x-scalar-order`]});return R1t({flatEntries:s,document:e,originalOrders:o})}if(e[`x-tagGroups`])return e[`x-tagGroups`].flatMap(o=>{let s=nX({document:e,_keys:o.tags,tagsMap:t,options:{tagsSorter:i,operationsSorter:a,generateId:r},documentId:n,sortOrder:o[`x-scalar-order`]});return o[`x-scalar-order`]=s.map(e=>e.id),s.length?tX({tag:o,generateId:r,children:s,parentId:n,isGroup:!0,isTagGroup:!0}):[]});let s=Array.from(t.keys());return nX({document:e,_keys:s,tagsMap:t,options:{generateId:r,tagsSorter:i,operationsSorter:a},documentId:n,sortOrder:e[`x-scalar-order`]})}})),aX,V1t,H1t=s((()=>{yx(),iu(),pH(),F1t(),HY(),MY(),aX=({ref:e,method:t,name:n,title:r,generateId:i,parentTag:a,webhook:o,isDeprecated:s,parentId:c})=>({id:i({type:`webhook`,name:n,method:t,webhook:o,parentTag:a,parentId:c}),title:r,name:n,ref:e,method:t,type:`webhook`,isDeprecated:s}),V1t=({document:e,tagsMap:t,generateId:n,untaggedWebhooksParentId:r,documentId:i})=>{let a=[];return Object.entries(e.webhooks??{}).forEach(([o,s])=>{gx(s,(s,c)=>{let l=H(c,ru);if(!l||fH(l))return;let u=`#/webhooks/${o}/${vx(s)}`,d=VY(e,l.tags,t);d.length?d.forEach(e=>{let{tag:r,id:a}=jY({tagsMap:t,name:e,documentId:i,generateId:n});t.get(e)?.entries.push(aX({ref:u,method:s,name:o,title:l.summary??o,webhook:l,generateId:n,parentTag:{tag:r,id:a},parentId:a,isDeprecated:$Y(l)}))}):a.push(aX({ref:u,method:s,name:o,title:l.summary??o,generateId:n,isDeprecated:$Y(l),webhook:l,parentId:r}))})}),a}})),oX,U1t=s((()=>{Fu(),AY(),_1t(),F1t(),v1t(),B1t(),H1t(),oX=(e,t,n)=>{let{hideModels:r,modelsSectionLabel:i,tagsSorter:a,operationsSorter:o,generateId:s,operationTitleSource:c}=kY(e,n),l=s({type:`document`,info:t.info,name:e}),u=new Map(t.tags?.map(e=>[e.name??`Untitled Tag`,{id:s({type:`tag`,tag:e,parentId:l}),parentId:l,tag:e,entries:[]}])??[]),d=RY({generateId:s,parentId:l,info:t.info}),{untaggedOperations:f}=P1t({document:t,tagsMap:u,generateId:s,documentId:l,operationTitleSource:c}),p=s({type:`webhook`,name:``,parentId:l}),m=V1t({document:t,generateId:s,tagsMap:u,untaggedWebhooksParentId:p,documentId:l}),h=z1t({document:t,tagsMap:u,documentId:l,options:{tagsSorter:a,operationsSorter:o,generateId:s}});if(d.push(...h),d.push(...f),m.length&&d.push({type:`tag`,id:p,title:`Webhooks`,name:`Webhooks`,children:m,isGroup:!1,isWebhooks:!0}),!r&&t.components?.schemas){let e=WY({documentId:l,document:t,generateId:s,tagsMap:u});e.length&&d.push({type:`models`,id:s({type:`model`,parentId:l}),title:i,name:i,children:e})}let g=t[`x-scalar-order`];return g&&d.sort((e,t)=>{let n=g.indexOf(e.id),r=g.indexOf(t.id);return(n===-1?1/0:n)-(r===-1?1/0:r)}),t[`x-scalar-order`]=Pu(d.map(e=>e.id)),{id:l,type:`document`,title:t.info?.title?.trim()||`Untitled Document`,name:e,children:d,icon:t[`x-scalar-icon`]}}})),sX=s((()=>{e1t(),t1t(),SY(),r1t(),A1t(),U1t(),M1t()})),cX,W1t=s((()=>{e1t(),SY(),ax(),cX=({store:e,generateId:t,...n})=>{n.entries?.forEach(r=>{if(!Q$t(r.parent))return;let i=$$t({store:e,entry:r.parent});if(!i||!(`x-scalar-order`in i))return;let a=i[`x-scalar-order`],o=a?.indexOf(r.id);if(!Array.isArray(a)||typeof o!=`number`||o<0)return;if(`tag`in n){let i=r.id,s=t({type:`tag`,parentId:r.parent.id,tag:n.tag});if(a[o]=s,i!==s){let t=xY(`document`,r),a=t?e.workspace.documents[t.name]:null,o=tx(a)?a.tags?.find(e=>e.name===n.tag.name):void 0,c=o?.[`x-scalar-order`];if(o&&Array.isArray(c)){let e=`${i}/`,t=`${s}/`;o[`x-scalar-order`]=c.map(n=>n.startsWith(e)?t+n.slice(e.length):n)}}return}let s=r.parent.type===`tag`&&`name`in i?{tag:i,id:r.parent.id}:void 0;a[o]=t({type:`operation`,path:n.path,method:n.method,operation:n.operation,parentId:r.parent.id,parentTag:s})})}})),G1t,K1t,q1t,J1t,Y1t,X1t,Z1t,Q1t=s((()=>{Ib(),$G(),yx(),iu(),Fu(),Z$t(),sX(),AY(),W1t(),ax(),G1t=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!tx(n)){t.callback?.(!1);return}let{path:r,method:i,operation:a}=t,o=r.startsWith(`/`)?r:`/${r}`;n.paths||={},n.paths[o]||(n.paths[o]={}),Pb(o),Pb(i),mx(n.paths[o],i,a);let{servers:s}=a,c=Pu(s?.[0]);for(let e of s??[])n.servers?.some(t=>t.url===e.url)||(n.servers||=[],n.servers.push(Pu(e)));c&&(n[`x-scalar-selected-server`]=c.url);let l=a.parameters,u=bY(o,o,l??[],H);return(l!==void 0||u.length>0)&&(a.parameters=u),t.callback?.(!0),o},K1t=(e,t,{meta:n,payload:r})=>{if(!e||!tx(t))return;let i=t[`x-scalar-navigation`]?.name;if(i===void 0)return;let a=H(px(t.paths?.[n.path],n.method));a?(Object.assign(a,r),e.buildSidebar(i)):console.error(`Operation not found`,{meta:n,document:t})},q1t=(e,t,{meta:n,payload:{method:r,path:i},blurTargetSelector:a,callback:o})=>{let s=n.method!==r,c=n.path!==i;if(!s&&!c){o(`no-change`,a);return}let l=s?r:n.method,u=c?i:n.path;if(!t||!tx(e)){console.error(`Document or workspace not found`,{document:e});return}if(px(e.paths?.[u],l)){o(`conflict`,a);return}let d=e[`x-scalar-navigation`];if(!d){console.error(`Document navigation missing`,{document:e});return}let f=H(px(e.paths?.[n.path],n.method));if(!f){console.error(`Operation not found`,{meta:n,document:e});return}if(c){let e=QG(n.path,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),t=QG(u,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0);if(e.length>0||t.length>0){let e=f.parameters??[];f.parameters=bY(u,n.path,e,H)}}let{generateId:p}=kY(d.name),m=CY(d).get(`${n.path}|${n.method}`);m&&cX({store:t,operation:f,generateId:p,method:l,path:u,entries:m}),e.paths||={},e.paths[u]||(e.paths[u]={}),Pb(u),Pb(n.path),Pb(l),mx(e.paths[u],l,Pu(f)),hx(e.paths[n.path],n.method),_x(e.paths[n.path])&&delete e.paths[n.path],t.history.clearOperationHistory(e[`x-scalar-navigation`]?.name??``,n.path,n.method),o(`success`,a)},J1t=(e,{meta:t,documentName:n})=>{let r=e?.workspace.documents[n];tx(r)&&(Pb(t.path),Pb(t.method),hx(r.paths?.[t.path],t.method),_x(r.paths?.[t.path])&&delete r.paths?.[t.path])},Y1t=(e,{meta:{path:t,method:n},documentName:r,exampleName:i})=>{let a=e?.workspace.documents[r];if(!tx(a)){console.error(`Document not found`,{documentName:r});return}let o=H(px(a.paths?.[t],n));if(!o){console.error(`Operation not found`,{path:t,method:n});return}o[`x-draft-examples`]??=[];let s=new Set(o[`x-draft-examples`]);s.add(i),o[`x-draft-examples`]=Array.from(s)},X1t=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i})=>{let a=e?.workspace.documents[i];if(!tx(a))return;let o=H(px(a.paths?.[t],n));if(!o)return;let s=new Set(o[`x-draft-examples`]??[]);s.delete(r),o[`x-draft-examples`]!==void 0&&(o[`x-draft-examples`]=Array.from(s)),o.parameters?.forEach(e=>{let t=H(e);t&&(`content`in t&&t.content&&Object.values(t.content).forEach(e=>{delete e.examples?.[r]}),`examples`in t&&t.examples&&delete t.examples?.[r])});let c=H(o.requestBody);c&&Object.values(c.content??{}).forEach(e=>{delete e.examples?.[r]})},Z1t=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i,payload:a})=>{let o=e?.workspace.documents[i];if(!tx(o))return;let s=H(px(o.paths?.[t],n));if(!s)return;let c=a.name.trim();if(!c||c===r)return;Pb(c);let l=[];s.parameters?.forEach(e=>{let t=H(e);t&&(`examples`in t&&t.examples&&l.push(t.examples),`content`in t&&t.content&&Object.values(t.content).forEach(e=>{e.examples&&l.push(e.examples)}))});let u=H(s.requestBody);u&&(Object.values(u.content??{}).forEach(e=>{e.examples&&l.push(e.examples)}),u[`x-scalar-selected-content-type`]&&l.push(u[`x-scalar-selected-content-type`])),!(s[`x-draft-examples`]?.includes(c)||l.some(e=>Object.hasOwn(e,c)))&&(s[`x-draft-examples`]&&=s[`x-draft-examples`].map(e=>e===r?c:e),l.forEach(e=>{Object.hasOwn(e,r)&&(e[c]=Pu(e[r]),delete e[r])}))}})),$1t,e0t,t0t,n0t,r0t,i0t=s((()=>{yx(),Zb(),iu(),Ky(),Fu(),Uy(),ax(),Tv(),$1t=e=>{if(!e||typeof e!=`object`)return[];if(`$ref`in e){let t=[],n=e;n.parameters!==void 0&&t.push(n);let r=H(e);return r&&t.push(r),t}return[e]},e0t=(e,{meta:t,type:n,payload:r,originalParameter:i})=>{if(i){let e=Wy(i,t.exampleKey,{includeDisabled:!0}),n=e&&r.value===Gy(e),a=i,o=Xb(a,t.exampleKey),s=Hy(a,o.example),c=a.in!==`querystring`&&!o.serialized&&wv(a)?Object.values(a.content??{})[0]:a;if(!c)return;c!==a&&(c.examples={...c.example===void 0?{}:{default:{value:c.example}},...c.examples,...`example`in a&&a.example!==void 0?{default:{value:a.example}}:{},...`examples`in a?a.examples:{}},delete c.example,`examples`in a&&delete a.examples,`example`in a&&delete a.example),(r.name||!a.name)&&(a.name=r.name),c.examples??={},c.examples[t.exampleKey]??={};let l=H(c.examples[t.exampleKey]);if(!l)return;if(a.in===`querystring`?(delete l.value,delete l.dataValue,delete l.externalValue,delete l.serializedValue,n&&e.kind!==`uri-ready`?e.kind===`serialized`?l.value=e.value:l.dataValue=e.value:l.serializedValue=String(r.value)):(delete l.dataValue,delete l.serializedValue,delete l.externalValue,o.serialized||o.mediaSerialized?(delete l.value,l.serializedValue=String(r.value)):l.value=r.value),r.propertyState){let e={"[]":s,...l[`x-scalar-disabled-properties`]},{path:t,previousPath:n,isDisabled:i}=r.propertyState;n&&delete e[JSON.stringify(n)];let a=JSON.stringify(t);i===void 0?delete e[a]:e[a]=i,l[`x-scalar-disabled-properties`]=e}else l[`x-disabled`]=r.isDisabled,delete l[`x-scalar-disabled-properties`];return}if(!tx(e))return;let a=H(px(e.paths?.[t.path],t.method));a?(a.parameters||=[],a.parameters.push({name:r.name,in:n,required:n===`path`,examples:{[t.exampleKey]:{value:r.value,"x-disabled":!1}}})):console.error(`Operation not found`,{meta:t,document:e})},t0t=(e,{type:t,meta:n,payload:r,in:i})=>{if(!tx(e))return;let a=H(px(e.paths?.[n.path],n.method));if(!a)return;a[`x-scalar-disable-parameters`]||={};let o={global:{cookie:`global-cookies`},default:{header:`default-headers`}}[t]?.[i];o&&(a[`x-scalar-disable-parameters`][o]||(a[`x-scalar-disable-parameters`][o]={}),a[`x-scalar-disable-parameters`][o][n.exampleKey]={...a[`x-scalar-disable-parameters`][o][n.exampleKey]??{},[n.name]:r.isDisabled??!1})},n0t=(e,{meta:t,originalParameter:n})=>{if(!tx(e))return;let r=H(px(e.paths?.[t.path],t.method)),i=r?.parameters?.findIndex(e=>H(e)===n)??-1;if(r&&i>=0)r.parameters=Pu(r.parameters?.filter((e,t)=>t!==i),{depth:1});else for(let r of $1t(e.paths?.[t.path])){let e=r.parameters?.findIndex(e=>H(e)===n)??-1;if(e>=0){r.parameters=Pu(r.parameters?.filter((t,n)=>n!==e),{depth:1});return}}},r0t=(e,{meta:t,type:n})=>{if(!tx(e))return;let r=H(px(e.paths?.[t.path],t.method));r&&(r.parameters=r.parameters?.filter(e=>H(e)?.in!==n&&(n!==`query`||H(e)?.in!==`querystring`))??[])}})),a0t,o0t=s((()=>{O$t(),A$t(),Y$t(),Q1t(),i0t(),a0t=({document:e,store:t})=>({createOperation:e=>G1t(t,e),updateOperationMeta:n=>K1t(t,e,n),updateOperationPathMethod:n=>q1t(e,t,n),deleteOperation:e=>J1t(t,e),createOperationDraftExample:e=>Y1t(t,e),deleteOperationExample:e=>X1t(t,e),renameOperationExample:e=>Z1t(t,e),updateOperationExtension:t=>k$t(e,t),updateOperationExtraParameters:t=>t0t(e,t),upsertOperationParameter:t=>e0t(e,t),deleteOperationParameter:t=>n0t(e,t),deleteAllOperationParameters:t=>r0t(e,t),updateOperationRequestBodyContentType:t=>T$t(e,t),updateOperationRequestBodyExample:t=>E$t(e,t),updateOperationRequestBodyFormValue:t=>D$t(e,t),addResponseToHistory:n=>q$t(t,e,n),reloadOperationHistory:n=>J$t(t,e,n)})})),lX,s0t,c0t,uX,l0t,u0t,d0t,f0t,p0t,m0t,h0t,g0t,_0t,v0t=s((()=>{$G(),yx(),iu(),Fu(),ax(),Gh(),r_(),lX=(e,t)=>tx(e)?t.type===`document`?e:H(px(e.paths?.[t.path],t.method))??null:null,s0t=(e,{meta:t})=>{let n=lX(e,t);if(!n)console.error(`Target not found`,t);else return n.servers=[],n.servers},c0t=(e,{url:t,select:n,meta:r})=>{let i=lX(e,r);if(!i){console.error(`Target not found`,r);return}let a=Wh(t_,{url:t});return i.servers||=[],i.servers.push(a),n&&(i[`x-scalar-selected-server`]=a.url),a},uX=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},l0t=(e,t,n)=>{let r=QG(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),i=QG(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=uX(t,r),o=uX(e,i),s=new Set,c={};for(let e of i){if(n[e]){c[e]=n[e],s.add(e);continue}let t=o[e],i=r.find(e=>a[e]===t&&!s.has(e));i&&n[i]?(c[e]=n[i],s.add(i)):c[e]={default:``}}return c},u0t=(e,{index:t,server:n,meta:r})=>{let i=lX(e,r);if(!i)return;let a=Pu(i.servers?.[t],{depth:1});if(!a){console.error(`Server not found at index:`,t);return}let o=a.url,s=Wh(t_,{...a,...n});if(o&&o!==s.url){let e=s.variables??{};s.variables=l0t(s.url,o,e),i[`x-scalar-selected-server`]===o&&(i[`x-scalar-selected-server`]=s.url)}return i.servers?i.servers[t]=s:i.servers=[s],s},d0t=(e,{index:t,meta:n})=>{let r=lX(e,n);if(!r?.servers)return;let i=r.servers[t]?.url;r.servers.splice(t,1),r[`x-scalar-selected-server`]===i&&(r[`x-scalar-selected-server`]=r.servers[0]?.url??void 0)},f0t=(e,{meta:t})=>{let n=lX(e,t);n&&(n.servers=void 0,n[`x-scalar-selected-server`]=void 0)},p0t=(e,{index:t,key:n,value:r,meta:i})=>{let a=lX(e,i)?.servers?.[t]?.variables?.[n];if(!a)console.error(`Variable not found`,n,t);else return a.default=r,a},m0t=(e,{url:t,meta:n})=>{let r=lX(e,n);if(r)return t===``?(r[`x-scalar-selected-server`]=``,``):(r[`x-scalar-selected-server`]=r[`x-scalar-selected-server`]===t?``:t,r[`x-scalar-selected-server`])},h0t=(e,{name:t})=>{if(nx(e))return e[`x-scalar-selected-server`]=t,e[`x-scalar-selected-server`]},g0t=(e,{name:t,key:n,value:r})=>{if(!nx(e))return;let i=H(e.servers?.[t]),a=i?.variables?.[n]?H(i.variables[n]):void 0;if(!a)console.error(`Variable not found`,n,t);else return a.default=r,a},_0t=({document:e})=>({initializeServers:t=>s0t(e,t),addServer:t=>c0t(e,t),updateServer:t=>u0t(e,t),deleteServer:t=>d0t(e,t),clearServers:t=>f0t(e,t),updateServerVariables:t=>p0t(e,t),updateSelectedServer:t=>m0t(e,t),updateSelectedAsyncApiServer:t=>h0t(e,t),updateAsyncApiServerVariables:t=>g0t(e,t)})})),y0t,dX,fX,pX,b0t,x0t,S0t,C0t,w0t,T0t,E0t,D0t,O0t,k0t=s((()=>{Fu(),y0t=1,dX=e=>e!==null&&e[`x-scalar-tabs`]!==void 0,fX=e=>Pu(e[`x-scalar-tabs`],{depth:y0t}),pX=e=>e[`x-scalar-active-tab`]??0,b0t=(e,t)=>{e&&(t[`x-scalar-tabs`]&&(e[`x-scalar-tabs`]=t[`x-scalar-tabs`]),t[`x-scalar-active-tab`]!==void 0&&(e[`x-scalar-active-tab`]=t[`x-scalar-active-tab`]))},x0t=(e,t)=>{if(!dX(e))return!1;let n=fX(e),r=n[pX(e)];if(!r)return!1;let i=[...n,{...r}];return e[`x-scalar-tabs`]=i,e[`x-scalar-active-tab`]=i.length-1,!0},S0t=(e,t)=>{let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index;if(!dX(e))return!1;let r=n(),i=pX(e),a=fX(e).filter((e,t)=>t!==r);return a.length<=0?!1:(e[`x-scalar-tabs`]=a,e[`x-scalar-active-tab`]=r<i?i-1:Math.min(i,a.length-1),!0)},C0t=(e,t)=>{if(!dX(e))return!1;let n=fX(e);return n.length<=1?!1:(e[`x-scalar-tabs`]=n.filter((e,n)=>n===t.index),e[`x-scalar-active-tab`]=0,!0)},w0t=(e,t)=>{if(!dX(e))return!1;let n=pX(e);return n<=0?!1:(e[`x-scalar-active-tab`]=n-1,!0)},T0t=(e,t)=>{if(!dX(e))return!1;let n=fX(e),r=pX(e);return r>=n.length-1?!1:(e[`x-scalar-active-tab`]=r+1,!0)},E0t=(e,t)=>{if(!dX(e))return!1;let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index,r=fX(e),i=n();return Number.isNaN(i)||i<0||i>=r.length?!1:(e[`x-scalar-active-tab`]=i,!0)},D0t=(e,t)=>{if(!dX(e))return!1;let n=fX(e);return n.length<=1?!1:(e[`x-scalar-active-tab`]=n.length-1,!0)},O0t=({workspace:e})=>({updateTabs:t=>b0t(e,t),addTab:t=>x0t(e,t),closeTab:t=>S0t(e,t),closeOtherTabs:t=>C0t(e,t),navigatePreviousTab:t=>w0t(e,t),navigateNextTab:t=>T0t(e,t),focusTab:t=>E0t(e,t),focusLastTab:t=>D0t(e,t)})})),A0t,j0t,M0t,N0t,P0t=s((()=>{yx(),iu(),Fu(),AY(),r1t(),W1t(),ax(),A0t=(e,t)=>{let n=e?.workspace.documents[t.documentName];tx(n)?(n.tags||=[],n.tags.push({name:t.name})):console.error(`Document not found`,{payload:t,store:e})},j0t=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!e||!tx(n)){console.error(`Document not found`,{payload:t,store:e});return}let r=n[`x-scalar-navigation`];if(!r){console.error(`Document navigation missing`,{payload:t,store:e});return}let i=t.tag.name,a=t.newName;n.tags?.length&&(n.tags=n.tags.map(e=>{let t=Pu(e);return t.name===i?{...t,name:a}:t})),t.tag.children?.forEach(e=>{if(e.type===`operation`){let t=H(px(n.paths?.[e.path],e.method));t&&`tags`in t&&(t.tags=Pu(t.tags,{depth:null})?.map(e=>e===i?a:e))}else if(e.type===`webhook`){let t=H(px(n.webhooks?.[e.name],e.method));t&&`tags`in t&&(t.tags=Pu(t.tags,{depth:null})?.map(e=>e===i?a:e))}}),n[`x-tagGroups`]&&=Pu(n[`x-tagGroups`],{depth:null}).map(e=>({...e,tags:e.tags.map(e=>e===i?a:e)}));let{generateId:o}=kY(r.name),s=n1t(r).get(i);s&&cX({store:e,tag:{name:a},generateId:o,entries:s})},M0t=(e,t)=>{let n=e?.workspace.documents[t.documentName];tx(n)&&(Object.values(n.paths??{}).forEach(e=>{gx(e,(e,n)=>{let r=H(n);r&&`tags`in r&&(r.tags=Pu(r.tags,{depth:1})?.filter(e=>e!==t.name))})}),Object.values(n.webhooks??{}).forEach(e=>{gx(e,(e,n)=>{let r=H(n);r&&(r.tags=Pu(r.tags,{depth:1})?.filter(e=>e!==t.name))})}),n.tags=Pu(n.tags,{depth:null})?.filter(e=>e.name!==t.name))},N0t=({store:e})=>({createTag:t=>A0t(e,t),editTag:t=>j0t(e,t),deleteTag:t=>M0t(e,t)})})),F0t,I0t,L0t,R0t,z0t,B0t,V0t,H0t=s((()=>{F0t=(e,t)=>{e&&(e[`x-scalar-active-proxy`]=t)},I0t=(e,t)=>{e&&(e[`x-scalar-color-mode`]=t)},L0t=(e,t)=>{e&&(e[`x-scalar-theme`]=t)},R0t=(e,t)=>{e&&(e[`x-scalar-active-environment`]=t??void 0)},z0t=(e,t)=>{e&&(e[`x-scalar-default-client`]=t)},B0t=(e,t)=>{e&&(e[`x-scalar-default-example`]=t)},V0t=({workspace:e})=>({updateActiveProxy:t=>F0t(e,t),updateColorMode:t=>I0t(e,t),updateTheme:t=>L0t(e,t),updateSelectedClient:t=>z0t(e,t),updateSelectedExample:t=>B0t(e,t),updateActiveEnvironment:t=>R0t(e,t)})}));function U0t(e){let t=t=>({auth:a$t({store:e,document:t}),cookie:pY({collection:t}),document:g$t({document:t,store:e}),operation:a0t({document:t,store:e}),server:_0t({document:t}),tag:N0t({store:e}),environment:mY({workspace:e?.workspace??null,collection:t})}),n=()=>({cookie:pY({collection:e?.workspace??null}),tabs:O0t({workspace:e?.workspace??null}),workspace:V0t({workspace:e?.workspace??null}),environment:mY({workspace:e?.workspace??null,collection:e?.workspace??null})});return{workspace:()=>n(),active:()=>t(e?.workspace.activeDocument??null),doc:n=>t(C$t(e,n))}}var W0t=s((()=>{o$t(),l$t(),_$t(),S$t(),w$t(),o0t(),v0t(),k0t(),P0t(),H0t()})),mX,G0t=s((()=>{js(),iu(),Fu(),mX=e=>{let t=new WeakSet,n=new WeakMap,r=e=>{if(!V(e)&&!Array.isArray(e))return e;let i=Nu(e);if(n.has(i))return n.get(i);if(t.has(i))return`[circular]`;if(t.add(i),`$ref`in e){let t=H(e),a=r(t),o;if(V(a))for(let t of Object.keys(e))t!==`$ref`&&t!==`$ref-value`&&(o??={...a},o[t]=r(e[t]));let s=o??a;return n.set(i,s),s}if(Array.isArray(e)){let t=Array(e.length);for(let n=0;n<e.length;n++)t[n]=r(e[n]);return n.set(i,t),t}let a={};for(let t of Object.keys(e))a[t]=r(e[t]);return n.set(i,a),a};return r(e)}})),hX=s((()=>{pKt(),mKt(),SH(),nqt(),iqt(),BXt(),Jq(),sZt(),aJ(),hZt(),gZt(),VQt(),G0t()})),K0t,q0t,J0t,Y0t=s((()=>{B(),K0t={key:1,class:`bg-b-2 rounded border p-3 text-sm`},q0t={key:0,class:`bg-b-1 font-code text-c-2 mt-2 rounded border p-2`},J0t=k({__name:`ScalarErrorBoundary`,setup(e){let t=E(!1),n=E();return bne((e,r,i)=>(console.error(`[ERROR]`,e,i),t.value=!0,n.value=e,!1)),(e,r)=>t.value?(j(),M(`div`,K0t,[r[0]||=P(`div`,{class:`p-2`},`Oops, something went wrong here.`,-1),n.value?(j(),M(`div`,q0t,T(n.value?.name)+`: `+T(n.value?.message),1)):I(``,!0)])):A(e.$slots,`default`,{},void 0,void 0,0)}})})),gX,X0t=s((()=>{Y0t(),gX=J0t})),_X=s((()=>{X0t()})),Z0t,Q0t,$0t,e2t,t2t=s((()=>{Fs(),oI(),fI(),aB(),B(),Mw(),Qs(),fT(),hX(),_X(),dG(),Z0t={class:`flex flex-1`},Q0t={class:`overflow-hidden`},$0t={key:0,class:`text-c-2 p-4`,role:`status`},e2t=k({__name:`RequestCodeSnippet`,props:{codeSampleUnavailable:{},clientPickerLabel:{},clientSearchLabel:{},codeSampleLabel:{},integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},openapiVersion:{},requestBodyCompositionSelection:{}},setup(e){let{translate:t}=Ps(),n=z(()=>iJ(e.operation)),r=z(()=>oJ(n.value.samples,e.clientOptions,n.value.label)),i=E(Gq(r.value,e.selectedClient));dr([()=>e.selectedClient,r],([e])=>{let t=Gq(r.value,e);t&&(i.value=t)});let a=z(()=>sJ(e.securitySchemes??[])),o=t=>{i.value=t,t&&e.eventBus.emit(`workspace:update:selected-client`,t.id)},s=z(()=>eJ({defaultDisabledParameters:!0,clientId:i.value?.id,customCodeSamples:n.value.samples,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:e.selectedExample,globalCookies:e.globalCookies,openapiVersion:e.openapiVersion,requestBodyCompositionSelection:e.requestBodyCompositionSelection,includeDefaultHeaders:e.integration===`client`})),c=z(()=>r.value.some(e=>e.options.length>0));return(e,n)=>c.value?(j(),N(D(iB),{key:0,class:`group/preview w-full border-t`,defaultOpen:!1},{title:O(()=>[F(T(D(t)(`apiClient.requestCodeSnippet.codeSnippet`)),1)]),actions:O(()=>[P(`div`,Z0t,[R(D(dT),{modelValue:i.value,options:r.value,placement:`bottom-end`,"onUpdate:modelValue":n[0]||=e=>o(e)},{default:O(({open:e})=>[R(D(jw),{class:`text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5 py-0 text-base font-normal`,"data-testid":`client-picker`,variant:`ghost`},{default:O(()=>[F(T(i.value?.title)+` `,1),R(D(zs),{class:lt([`mt-0.25 size-3 transition-transform duration-100`,e&&`rotate-180`]),weight:`bold`},null,8,[`class`])]),_:2},1024)]),_:1},8,[`modelValue`,`options`])])]),default:O(()=>[R(D(gX),null,{default:O(()=>[R(D(aI),{columns:[``],presentational:``},{default:O(()=>[R(D(dI),null,{default:O(()=>[P(`div`,Q0t,[s.value===null?(j(),M(`div`,$0t,T(D(t)(`apiClient.requestCodeSnippet.unavailable`)),1)):(j(),N(D(uG),{key:1,class:`text-base`,content:s.value,hideCredentials:a.value,label:D(t)(`apiClient.requestCodeSnippet.codeSnippet`),lang:i.value?.lang??`plaintext`,lineNumbers:``},null,8,[`content`,`hideCredentials`,`label`,`lang`]))])]),_:1})]),_:1})]),_:1})]),_:1})):I(``,!0)}})})),n2t,r2t=s((()=>{t2t(),n2t=e2t})),i2t,a2t,o2t,s2t,c2t,l2t,u2t,d2t=s((()=>{Fs(),tB(),aB(),B(),Mw(),Qs(),fT(),PE(),i2t={class:`text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100`},a2t={key:0,class:`text-c-2 px-3 py-2 text-sm`},o2t={key:1,class:`border-t py-1`},s2t={class:`min-w-0`},c2t={class:`block break-all`},l2t={key:0,class:`text-c-2 block text-xs`},u2t=k({__name:`RequestParams`,props:{rows:{},exampleKey:{},title:{},label:{},description:{},invalidParams:{},globalRoute:{},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{},eventBus:{},selectExpandedParameters:{type:Boolean,default:!1}},emits:[`upsert`,`delete`,`deleteAll`,`selectPreset`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=z(()=>e.rows.length>1),a=Cr(`table`),o=Cr(`pickerContainer`),s=E(new Set),c=(e,t=e.name)=>JSON.stringify([e.originalParameter?.in,e.originalParameter?.name,t]),l=z(()=>{let t=new Map;for(let n of e.rows)n.originalParameter?.in===`query`&&n.sourceParameterValuePath&&t.set(n.originalParameter,(t.get(n.originalParameter)??0)+1);return new Set([...t].filter(([,e])=>e>1).map(([e])=>e))}),u=t=>e.selectExpandedParameters&&!!t.sourceParameterValuePath&&l.value.has(t.originalParameter),d=z(()=>e.rows.map((e,t)=>({row:e,index:t}))),f=z(()=>d.value.filter(({row:e})=>!u(e)||e.isRequired||e.value!==``&&e.value!==null||s.value.has(c(e)))),p=z(()=>f.value.map(({row:e})=>e)),m=z(()=>d.value.filter(e=>!f.value.some(({index:t})=>t===e.index)).map(({row:e,index:t})=>({id:c(e),label:e.name,description:e.description,index:t}))),h=async e=>{e&&(s.value.add(e.id),await nr(),a.value?.focusValue(f.value.findIndex(({index:t})=>t===e.index)))},g=t=>f.value[t]?.index??e.rows.length+t-f.value.length,_=e=>{let t=g(e),r=f.value[e];r&&s.value.delete(c(r.row)),n(`delete`,{index:t})},v=()=>{s.value.clear(),n(`deleteAll`)},y=(e,t)=>{let{value:r,...i}=t;if(r instanceof File)return;let a=f.value[e];a&&u(a.row)&&s.value.add(c(a.row,t.shouldRenameExpandedRow?t.name:a.row.name)),n(`upsert`,g(e),{...i,value:r??``})};return(t,s)=>(j(),N(D(iB),{class:`group/params`,itemCount:p.value.length},{title:O(()=>[F(T(e.title),1)]),actions:O(()=>[P(`div`,i2t,[i.value?(j(),N(D(NE),{key:0,content:D(r)(`apiClient.requestParams.clearOptionalParameters`),placement:`left`},{default:O(()=>[R(D(jw),{"aria-label":D(r)(`apiClient.requestParams.clearAll`,{title:e.title}),class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ka(v,[`stop`])},{default:O(()=>[F(T(D(r)(`apiClient.requestParams.clear`)),1)]),_:1},8,[`aria-label`])]),_:1},8,[`content`])):I(``,!0)])]),default:O(()=>[e.description?(j(),M(`p`,a2t,T(e.description),1)):I(``,!0),R(eB,{ref_key:`table`,ref:a,class:`flex-1`,columns:[`32px`,``,``],data:p.value,environment:e.environment,exampleKey:e.exampleKey,globalRoute:e.globalRoute,invalidParams:e.invalidParams,label:e.label,showAddRowPlaceholder:e.showAddRowPlaceholder,onDeleteRow:_,onNavigate:s[0]||=t=>e.eventBus.emit(`ui:navigate`,t),onSelectPreset:s[1]||=(e,t)=>n(`selectPreset`,e,t),onUpsertRow:y},null,8,[`data`,`environment`,`exampleKey`,`globalRoute`,`invalidParams`,`label`,`showAddRowPlaceholder`]),m.value.length?(j(),M(`div`,o2t,[P(`div`,{ref_key:`pickerContainer`,ref:o,class:`mx-2`},[R(D(dT),{inputLabel:D(r)(`apiClient.requestParams.searchParameters`),noResults:D(r)(`apiClient.requestParams.noParametersFound`),options:m.value,placeholder:D(r)(`apiClient.requestParams.searchParameters`),placement:`bottom-start`,resize:``,target:o.value??void 0,"onUpdate:modelValue":h},{option:O(({option:e})=>[P(`span`,s2t,[P(`span`,c2t,T(e.label),1),e.description?(j(),M(`span`,l2t,T(e.description),1)):I(``,!0)])]),default:O(()=>[R(D(jw),{class:`gap-1.5`,size:`sm`,variant:`ghost`},{default:O(()=>[R(D(qs),{class:`size-3.5`}),F(` `+T(D(r)(`apiClient.requestParams.addParameter`)),1)]),_:1})]),_:1},8,[`inputLabel`,`noResults`,`options`,`placeholder`,`target`])],512)])):I(``,!0)]),_:1},8,[`itemCount`]))}})})),vX,f2t=s((()=>{d2t(),vX=u2t})),p2t,yX,m2t,bX,xX,SX,h2t=s((()=>{rS(),Rb(),p2t=e=>e==null||e===``,yX=e=>e.endsWith(`][]`),m2t=e=>{let t=yX(e)?e.slice(0,-2):e,n=[],r=t.match(/^[^[\]]*/)?.[0]??``;r&&n.push(r);for(let e of t.matchAll(/\[([^\]]*)\]/g))n.push(e[1]??``);return n},bX=(e,t,n)=>{let r=m2t(e);return r.length===0?n:t&&r[0]===t&&r.length>1?r.slice(1):r},xX=(e,t,n)=>{let r={},i=e.originalParameter,a=!!(i&&`style`in i&&i.style===`deepObject`);for(let i of t){if(i.originalParameter!==e.originalParameter||!i.sourceParameterValuePath||i===e&&!n)continue;let t=i===e&&n!==void 0,o=t?n.value:i.value;if(p2t(o))continue;let s=t&&n.shouldRenameExpandedRow?bX(n.name,e.originalParameter?.name,i.sourceParameterValuePath):i.sourceParameterValuePath,c=t&&!!n.shouldRenameExpandedRow,l=yX(c?n.name:i.name),u=c?void 0:i.schema,d=l?{type:`array`}:u,f=a&&d?xb(o,d):o;Lb(r,s,f)}return{name:e.originalParameter?.name??n?.name??e.name,value:r,isDisabled:n?.isDisabled??e.isDisabled??!1,propertyState:{path:n?.shouldRenameExpandedRow?bX(n.name,e.originalParameter?.name,e.sourceParameterValuePath??[]):e.sourceParameterValuePath??[],...n?{isDisabled:n.isDisabled}:{},...n?.shouldRenameExpandedRow?{previousPath:e.sourceParameterValuePath}:{}}}},SX=(e,t,n,{context:r,defaultParameters:i=0,globalParameters:a=0,onDeleteExpandedRow:o,onRenameExpandedRow:s})=>{let c=i+a;return{delete:i=>{let a=r[i.index];if(a?.originalParameter){if(a.sourceParameterValuePath)return o?.(a),t.emit(`operation:upsert:parameter`,{type:e,payload:xX(a,r),originalParameter:a.originalParameter,meta:n},{skipUnpackProxy:!0});t.emit(`operation:delete:parameter`,{originalParameter:a.originalParameter,meta:n},{skipUnpackProxy:!0})}},deleteAll:()=>t.emit(`operation:delete-all:parameters`,{type:e,meta:n}),upsert:(o,l)=>{let u=r[o],{shouldRenameExpandedRow:d,...f}=l;if(o<i+a){let r=o<i?`default`:`global`;return t.emit(`operation:update:extra-parameters`,{type:r,in:e,meta:{...n,name:u?.name?.toLowerCase?.()??`NON_VALID`},payload:{isDisabled:l.isDisabled??!1}})}if(o>=c){let i=!!(u?.sourceParameterValuePath&&u.originalParameter);if(i&&u&&d&&l.name!==u.name){let e=bX(l.name,u.originalParameter?.name,u.sourceParameterValuePath??[]);s?.(u,e)}let a=i&&u?xX(u,r,l):f;return t.emit(`operation:upsert:parameter`,{type:e,payload:a,originalParameter:u?.originalParameter??null,meta:n},{skipUnpackProxy:!0,debounceKey:`update:parameter-${e}-${o-c}`})}}}}})),g2t,_2t=s((()=>{g2t=e=>{if(`content`in e&&e.content){let t=Object.keys(e.content);return t.length===1?e.content[t[0]]:void 0}}})),v2t,y2t=s((()=>{_2t(),iu(),v2t=e=>`schema`in e&&e.schema?H(e.schema):H(g2t(e)?.schema)})),b2t,x2t,S2t,C2t,w2t,CX,wX,TX,EX,DX,OX,T2t,E2t,D2t,O2t=s((()=>{y2t(),ks(),rS(),iu(),js(),Tv(),Zb(),Ky(),b2t=e=>`schema`in e&&e.schema!==void 0,x2t=e=>H(e),S2t=e=>{let t=`style`in e&&e.style?e.style:`form`;return{style:t,explode:`explode`in e&&e.explode!==void 0?e.explode:t===`form`}},C2t=(e,t)=>{if(e.in!==`query`||!b2t(e)||!t||!bv(t))return null;let{style:n,explode:r}=S2t(e);return r?n===`form`?`form`:n===`deepObject`?`deepObject`:null:null},w2t=e=>e==null?``:Array.isArray(e)?e.join(`,`):typeof e==`object`?JSON.stringify(e):String(e),CX=e=>e.join(`\0`),wX=({parameter:e,name:t,value:n,description:r,schema:i,isRequired:a,isDisabled:o,isDisabledByDefault:s,sourceParameterValuePath:c})=>({name:t,value:w2t(n),description:r,schema:i,isRequired:a,isDisabled:o,...s?{isDisabledByDefault:!0}:{},originalParameter:e,sourceParameterValuePath:c}),TX=(e,t,n)=>n===`deepObject`?`${e.name}${t.map(e=>`[${e}]`).join(``)}`:t[0]??``,EX=(e,t,n)=>t===`deepObject`&&n?`${e}[]`:e,DX=(e,t,n,r,i)=>wX({parameter:e,name:e.name,value:n,description:e.description,schema:t,isRequired:e.required,isDisabled:r,isDisabledByDefault:i}),OX=({parameter:e,schema:t,value:n,pathPrefix:r,namePrefix:i,mode:a,isDisabled:o,isDisabledByDefault:s,hiddenValuePaths:c,renamedValuePaths:l,renameTargetPaths:u})=>{if(!t.properties)return[];let d=new Set(t.required??[]);return Object.entries(t.properties).flatMap(([t,f])=>{let p=x2t(f);if(!p)return[];let m=[...r,t],h=i?`${i}[${t}]`:t,g=l.get(CX(m)),_=g??m;if(c.has(CX(_)))return[];if(g){let t=Os(n,g),r=t===void 0?Os(n,m):t;return[wX({parameter:e,name:EX(TX(e,g,a),a,Array.isArray(r)),value:r,description:e.description,schema:void 0,isRequired:!1,isDisabled:o,isDisabledByDefault:s,sourceParameterValuePath:g})]}if(u.has(CX(m)))return[];if(a===`deepObject`&&bv(p)&&p.properties)return OX({parameter:e,schema:p,value:n,pathPrefix:m,namePrefix:h,mode:a,isDisabled:o,isDisabledByDefault:s,hiddenValuePaths:c,renamedValuePaths:l,renameTargetPaths:u});let v=Os(n,m);return[wX({parameter:e,name:EX(h,a,xv(p)||Array.isArray(v)),value:v,description:p.description??e.description,schema:p,isRequired:d.has(t),isDisabled:o,isDisabledByDefault:s,sourceParameterValuePath:m})]})},T2t=(e,t)=>{if(!V(e))return[];let n=[],r=(e,i)=>{for(let[a,o]of Object.entries(e)){let e=[...i,a];t===`deepObject`&&V(o)?r(o,e):n.push(e)}};return r(e,[]),n},E2t=({parameter:e,value:t,schemaRows:n,mode:r,isDisabled:i,isDisabledByDefault:a,renamedValuePaths:o})=>{let s=new Set([...n.map(e=>CX(e.sourceParameterValuePath??[])),...o.keys()]);return T2t(t,r).filter(e=>!s.has(CX(e))).map(n=>{let o=Os(t,n);return wX({parameter:e,name:EX(TX(e,n,r),r,Array.isArray(o)),value:o,description:e.description,schema:void 0,isRequired:!1,isDisabled:i,isDisabledByDefault:a,sourceParameterValuePath:n})})},D2t=(e,t,n={})=>{let r=Xb(e,t),{example:i}=r,a=r.value===null&&i?.dataValue===null?`null`:r.value,o=Hy(e,i),s=!e.required&&e.in!==`path`&&i?.[`x-disabled`]===void 0,c=v2t(e);if(e.in===`querystring`){let n=Wy(e,t,{includeDisabled:!0});return[DX(e,void 0,n?Gy(n):``,o,s)]}let l=r.serialized?null:C2t(e,c);if(l===null||!c||!bv(c))return[DX(e,r.serialized?void 0:c,a,o,s)];let u=r.value===void 0?void 0:yb(r.value,e);if(!c.properties)return[DX(e,r.serialized?void 0:c,a,o,s)];let d=new Set(n.hiddenValuePaths?.map(CX)??[]),f=new Map((n.renamedValuePaths??[]).map(({from:e,to:t})=>[CX(e),t])),p=new Set((n.renamedValuePaths??[]).map(({to:e})=>CX(e))),m=OX({parameter:e,schema:c,value:u,pathPrefix:[],namePrefix:l===`deepObject`?e.name:``,mode:l,isDisabled:o,isDisabledByDefault:s,hiddenValuePaths:d,renamedValuePaths:f,renameTargetPaths:p}),h=E2t({parameter:e,value:u,schemaRows:m,mode:l,isDisabled:o,isDisabledByDefault:s,renamedValuePaths:f});return[...m,...h].map(e=>{let t=i?.[`x-scalar-disabled-properties`],n=e.sourceParameterValuePath??[],r=n.map((e,r)=>t?.[JSON.stringify(n.slice(0,r+1))]).reverse().find(e=>e!==void 0);return{...e,isDisabled:r??t?.[`[]`]??e.isDisabled,...r===void 0?{}:{isDisabledByDefault:!1}}})}}));function k2t(e,t,n){let r={};Object.setPrototypeOf(r,null);for(let i of e){let e=i[t],a=n?n(i):i,o=r[e];o?o.push(a):r[e]=[a]}return r}var A2t=s((()=>{})),j2t,M2t=s((()=>{j2t=({sources:e,shouldInclude:t})=>{let n=[],r=new Map;for(let{location:i,cookies:a}of e)a.forEach((e,a)=>{e.name&&t(e)&&(r.has(e.name)||(r.set(e.name,[]),n.push(e.name)),r.get(e.name)?.push({location:i,value:e.value,isDisabled:e.isDisabled??!1,index:a}))});let i=[];for(let e of n){let t=r.get(e)??[],n=t[0];if(!n)continue;let a=t.filter(e=>!e.isDisabled),o=[...new Set(t.map(e=>e.value))],s=o.length>1;(s||a.length!==0)&&i.push({name:e,selectedValue:(a[0]??n).value,options:s?o:[],isPreset:s,location:n.location,siblings:t.map(({location:e,index:t,value:n})=>({location:e,index:t,value:n}))})}return i}}));function kX(){return fn({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var N2t,P2t,F2t,I2t=s((()=>{tI(),Kl(),B(),Qs(),Ts(),N2t={key:0,class:`close-button fixed top-2 right-2 z-10`},P2t={},F2t=k({...P2t,__name:`ScalarModal`,props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:`md`},variant:{}},emits:[`close`],setup(e,{emit:t}){let n=t,r=Ul({base:[`scalar-modal`,`flex flex-col relative mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 opacity-0 w-[calc(100vw-12px)] md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]`].join(` `),variants:{size:{xxs:`mt-[20svh] max-h-[60svh] max-w-[360px]`,xs:`mt-[20svh] max-h-[60svh] max-w-[480px]`,sm:`mt-[20svh] max-h-[60svh] max-w-[540px]`,md:`mt-[20svh] max-h-[60svh] max-w-[640px]`,lg:`m-auto max-h-[80svh] max-w-[800px]`,xl:`m-auto max-h-[90svh] max-w-[1000px]`,full:`full-size-styles max-h-dvh mt-0 lg:w-full`},variant:{form:`scalar-modal-form`,search:`scalar-modal-search mt-[15svh] max-h-[60svh] max-w-[540px]`,error:`scalar-modal-error`}}}),i=Ul({base:[`scalar-modal-body`,`relative flex-1 min-h-0 p-3`].join(` `),variants:{variant:{form:`overflow-visible`,search:`flex flex-col !m-0 overflow-hidden p-0`,error:`overflow-y-scroll`},size:{xxs:``,xs:``,sm:``,md:``,lg:``,xl:`m-0 p-0`,full:` rounded-none`}}});return(t,a)=>(j(),N(D(gse),{open:e.state.open,onClose:a[1]||=()=>{e.state.hide(),n(`close`)}},{default:O(()=>[P(`div`,{class:lt(D(Wl)(e.size===`full`?`scalar-modal-layout-full`:`scalar-modal-layout`,`fixed top-0 left-0 flex items-start justify-center`,`z-overlay h-dvh w-dvw`,`bg-backdrop dark:bg-backdrop-dark opacity-0`,e.size===`full`&&`flex`))},[R(D(_se),{class:lt(D(r)({size:e.size,variant:e.variant})),style:ct({maxWidth:e.maxWidth})},{default:O(()=>[e.title?(j(),N(D(ps),{key:0,class:`scalar-modal-header text-c-1 m-0 -mb-1 rounded-lg px-3 pt-3 text-left text-sm font-medium`},{default:O(()=>[F(T(e.title),1)]),_:1})):I(``,!0),e.size===`full`?(j(),M(`div`,{key:1,class:lt(e.bodyClass)},[A(t.$slots,`default`,{},void 0,!0)],2)):(j(),M(`div`,{key:2,class:lt(D(Wl)(D(i)({size:e.size,variant:e.variant}),e.bodyClass))},[A(t.$slots,`default`,{},void 0,!0)],2))]),_:3},8,[`class`,`style`]),e.size===`full`?(j(),M(`div`,N2t,[R(D(eI),{class:`hover:bg-b-3 focus:outline-none`,icon:D(Zs),label:`Close modal`,onClick:a[0]||=t=>e.state.hide()},null,8,[`icon`])])):I(``,!0)],2)]),_:3},8,[`open`]))}})})),AX,L2t=s((()=>{aS(),I2t(),AX=iS(F2t,[[`__scopeId`,`data-v-b002945c`]])})),jX=s((()=>{I2t(),L2t()})),R2t,z2t,B2t,V2t=s((()=>{Fs(),B(),Mw(),jX(),R2t={class:`text-c-2 mb-4 text-sm leading-normal`},z2t={class:`flex justify-between gap-2`},B2t=k({__name:`DeleteRequestAuthModal`,props:{state:{},label:{}},emits:[`close`,`delete`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=()=>{n(`delete`)};return(t,a)=>(j(),N(D(AX),{size:`xxs`,state:e.state,title:D(r)(`apiClient.deleteRequestAuthModal.deleteSecurityScheme`)},{default:O(()=>[P(`p`,R2t,T(D(r)(`apiClient.deleteRequestAuthModal.confirmation`,{name:e.label})),1),P(`div`,z2t,[R(D(jw),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`button`,variant:`outlined`,onClick:a[0]||=e=>n(`close`)},{default:O(()=>[F(T(D(r)(`apiClient.deleteRequestAuthModal.cancel`)),1)]),_:1}),R(D(jw),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`submit`,onClick:i},{default:O(()=>[F(T(D(r)(`apiClient.deleteRequestAuthModal.delete`))+` `+T(e.label),1)]),_:1})])]),_:1},8,[`state`,`title`]))}})})),H2t,U2t=s((()=>{V2t(),H2t=B2t})),W2t,G2t=s((()=>{W2t={apiKeyCookie:{label:`API Key in Cookies`,payload:{type:`apiKey`,in:`cookie`,name:`apiKeyCookie`}},apiKeyHeader:{label:`API Key in Headers`,payload:{type:`apiKey`,in:`header`,name:`apiKeyHeader`}},apiKeyQuery:{label:`API Key in Query Params`,payload:{type:`apiKey`,in:`query`,name:`apiKeyQuery`}},httpBasic:{label:`HTTP Basic`,payload:{type:`http`,scheme:`basic`}},httpBearer:{label:`HTTP Bearer`,payload:{type:`http`,scheme:`bearer`}},oauth2DeviceAuthorization:{label:`OAuth2 Device Authorization`,payload:{type:`oauth2`,flows:{deviceAuthorization:{deviceAuthorizationUrl:``,tokenUrl:``,refreshUrl:``,scopes:{}}}}},oauth2Implicit:{label:`Oauth2 Implicit Flow`,payload:{type:`oauth2`,flows:{implicit:{authorizationUrl:``,refreshUrl:``,scopes:{}}}}},oauth2Password:{label:`Oauth2 Password Flow`,payload:{type:`oauth2`,flows:{password:{tokenUrl:``,refreshUrl:``,scopes:{}}}}},oauth2ClientCredentials:{label:`Oauth2 Client Credentials`,payload:{type:`oauth2`,flows:{clientCredentials:{tokenUrl:``,refreshUrl:``,scopes:{}}}}},oauth2AuthorizationFlow:{label:`Oauth2 Authorization Code`,payload:{type:`oauth2`,flows:{authorizationCode:{authorizationUrl:``,tokenUrl:``,refreshUrl:``,"x-usePkce":`no`,scopes:{}}}}}}})),MX,NX,PX,FX,K2t,q2t,J2t=s((()=>{Ice(),G2t(),Tb(),iu(),VJ(),pH(),MX=e=>JSON.stringify(Object.keys(e)),NX=({name:e,value:t})=>({id:BJ(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),PX=e=>NX({name:Object.keys(e).join(` & `),value:e}),FX=(e,t)=>{let n=Object.keys(e);if(n.length>1)return n.some(e=>{let n=H(t[e]);return n?fH(n):!1})?void 0:PX(e);if(n[0]){let r=H(t[n[0]]);return!r||fH(r)?void 0:NX({name:n[0],value:e})}},K2t=e=>{let t=null;for(let[n,r]of Object.entries(e)){let e=H(r);if(e?.type!==`oauth2`||fH(e))continue;let i=e.flows;if(!i)continue;let a=e[`x-default-scopes`]??[];if(i.authorizationCode&&!fH(i.authorizationCode))return{name:n,flows:i,flowType:`authorizationCode`,scopes:a};i.implicit&&!fH(i.implicit)&&!t&&(t={name:n,flows:i,flowType:`implicit`,scopes:a})}return t},q2t=(e,t,n,r=!1,i=Fce)=>{let a=new Map(n.map(e=>[MX(e),e])),{requiredFormatted:o,requiredSchemeNames:s,existingIds:c}=e.reduce((e,n)=>{let r=FX(a.get(MX(n))??n,t);r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id));for(let t of Object.keys(n))e.requiredSchemeNames.add(t);return e},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),l=[];for(let[e,n]of Object.entries(t)){if(s.has(e))continue;let t=H(n);if(t&&!fH(t)){let n=NX({name:e,value:a.get(MX({[e]:[]}))??{[e]:t.type===`oauth2`?[...t[`x-default-scopes`]??[]]:[]}});l.push(n),c.add(n.id)}}for(let e of n){let n=FX(e,t);n&&!c.has(n.id)&&(l.push(n),c.add(n.id))}let u=[{label:i.authSelector.requiredGroup,options:o},{label:i.authSelector.availableGroup,options:l}];return r?(u.push({label:i.authSelector.addGroup,options:wb(W2t).map(([e,t])=>({id:e,label:i.authOptions[e],value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),u):o.length?u:l}})),Y2t,IX,LX,X2t=s((()=>{Y2t=e=>{let t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},IX=(e,t,n)=>{let r=e.get(n);if(r!==null)return{params:e,value:r};let i=t.get(n);return i===null?{params:null,value:null}:{params:t,value:i}},LX=(e,t=`access_token`)=>{try{let{searchParams:n,hashParams:r}=Y2t(e()),i=IX(n,r,t),a=IX(n,r,`code`);return{accessToken:i.value,accessTokenParams:i.params,code:a.value,codeParams:a.params,error:n.get(`error`)??r.get(`error`),errorDescription:n.get(`error_description`)??r.get(`error_description`),refreshToken:n.get(`refresh_token`)??r.get(`refresh_token`)}}catch{return{accessToken:null,accessTokenParams:null,code:null,codeParams:null,error:null,errorDescription:null,refreshToken:null}}}})),RX,Z2t=s((()=>{My(),RX=(e,t)=>{let n=e=>new URLSearchParams({value:e}).toString().slice(6);return`Basic ${yy(`${n(e)}:${n(t)}`)}`}})),zX,BX=s((()=>{ty(),zX=e=>e.protocol===`https:`||e.protocol===`http:`&&ey(e.href)})),VX,Q2t,$2t,HX,e4t,t4t=s((()=>{Z2t(),JX(),fc(),qv(),js(),BX(),iy(),VX=3e4,Q2t=2147483647,$2t=(e,t)=>new Promise((n,r)=>{t.throwIfAborted();let i=()=>{clearTimeout(a),r(t.reason)},a=setTimeout(()=>{t.removeEventListener(`abort`,i),n()},e);t.addEventListener(`abort`,i,{once:!0})}),HX=e=>{if(typeof e!=`string`)throw Error(`Missing device verification URL`);let t=new URL(e);if(!zX(t))throw Error(`Device verification URL must use HTTPS or HTTP for local development URLs`);return t.href},e4t=async(e,t,n,r,i,a=fetch,o)=>{try{if(!o)throw Error(`Device authorization requires a verification prompt`);let s=e=>Kv(e,i),c=e=>ny(r,dc(s(e),WX(n,i))),l=e[`x-scalar-secret-token-url`]??e.tokenUrl;if(!l.trim())throw Error(`Token URL is required`);let u=s(e[`x-scalar-secret-client-id`]),d=s(e[`x-scalar-secret-client-secret`]),f={"Content-Type":`application/x-www-form-urlencoded`},p=new URLSearchParams;d&&e[`x-scalar-credentials-location`]!==`body`?f.Authorization=RX(u,d):(p.set(`client_id`,u),d&&p.set(`client_secret`,d));let m=new URLSearchParams(p);t.length&&m.set(`scope`,t.join(` `));let h=await a(c(e.deviceAuthorizationUrl),{method:`POST`,headers:f,body:m,signal:AbortSignal.any([o.signal,AbortSignal.timeout(VX)])}),g=await h.json();if(o.signal.throwIfAborted(),!V(g))throw Error(`Invalid device authorization response`);if(!h.ok)throw Error(String(g.error_description??g.error??`Device authorization failed`));if(typeof g.device_code!=`string`||!g.device_code||typeof g.user_code!=`string`||!g.user_code||typeof g.expires_in!=`number`||!Number.isFinite(g.expires_in)||g.expires_in<=0||g.interval!==void 0&&(typeof g.interval!=`number`||!Number.isFinite(g.interval)||g.interval<0))throw Error(`Invalid device authorization response`);let _=Math.min(g.expires_in*1e3,Q2t),v=Date.now()+_,y=AbortSignal.timeout(_),b=AbortSignal.any([o.signal,y]);o.onPrompt({userCode:g.user_code,verificationUri:HX(g.verification_uri),...g.verification_uri_complete?{verificationUriComplete:HX(g.verification_uri_complete)}:{}});let x=new URLSearchParams(p);for(let[t,n]of Object.entries(e[`x-scalar-security-body`]??{}))x.set(t,s(n));x.set(`grant_type`,`urn:ietf:params:oauth:grant-type:device_code`),x.set(`device_code`,g.device_code);let ee=typeof g.interval==`number`?Math.max(1e3,g.interval*1e3):5e3;try{for(;Date.now()<v;){if(await $2t(Math.min(ee,v-Date.now()),b),b.throwIfAborted(),Date.now()>=v)throw Error(`Device authorization expired`);let t=await a(c(l),{method:`POST`,headers:f,body:x,signal:AbortSignal.any([b,AbortSignal.timeout(VX)])}).catch(e=>{if(b.throwIfAborted(),e instanceof Error&&e.name===`TimeoutError`)return null;throw e});if(!t){ee=Math.min(ee*2,v-Date.now());continue}let n=await t.json();if(!V(n))throw Error(`Invalid device token response`);if(n.error===`authorization_pending`)continue;if(n.error===`slow_down`){ee=Math.min(ee+5e3,v-Date.now());continue}let r=n[e[`x-tokenName`]||`access_token`];if(t.ok&&typeof r==`string`&&r)return[null,{accessToken:r,...typeof n.refresh_token==`string`?{refreshToken:n.refresh_token}:{}}];throw Error(String(n.error_description??n.error??`Failed to get an access token`))}throw Error(`Device authorization expired`)}catch(e){throw y.aborted&&!o.signal.aborted?Error(`Device authorization expired`):e}}catch(e){return[e instanceof Error?e:Error(`Device authorization failed`,{cause:e}),null]}}})),UX,WX,n4t,r4t,GX,KX,qX,JX=s((()=>{X2t(),Z2t(),t4t(),rS(),fc(),qv(),BX(),oc(),iy(),My(),UX=(e,t={})=>Kv(Gv(e?.url??``,Eb(e)),t),WX=(e,t={})=>{let n=UX(e,t);return n?ac(n)?typeof window>`u`?{}:{basePath:n}:{baseUrl:n}:{}},n4t=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),gy(e,!0)},r4t=async(e,t)=>{if(t===`plain`)return e;if(typeof crypto?.subtle?.digest!=`function`)return console.warn(`SHA-256 is only supported when using https, using a plain text code challenge instead.`),e;let n=new TextEncoder().encode(e),r=await crypto.subtle.digest(`SHA-256`,n);return gy(new Uint8Array(r),!0)},GX=async(e,t,n,r,i,a={},o,s,c)=>{let l=e[t];try{if(!l)return[Error(`Flow not found`),null];if(t===`deviceAuthorization`&&e.deviceAuthorization)return e4t(e.deviceAuthorization,n,r,i,a,o,c);if(t===`deviceAuthorization`)return[Error(`Flow not found`),null];let u=n.join(` `);if(t===`clientCredentials`||t===`password`)return KX(e,t,u,{proxyUrl:i,customFetch:o},r,a);let d=(Math.random()+1).toString(36).substring(2,10),f=e[t][`x-scalar-secret-auth-url`]??e[t].authorizationUrl;if(!f.trim())return[Error(`Authorization URL is required`),null];let p=dc(f,WX(r,a)),m=new URL(p);if(!zX(m))return[Error(`Authorization URL must use HTTPS or HTTP for local development URLs`),null];let h=null;if(t===`implicit`)m.searchParams.set(`response_type`,`token`);else if(t===`authorizationCode`){let n=e[t];if(m.searchParams.set(`response_type`,`code`),n[`x-usePkce`]!==`no`){let e=n4t(),t=await r4t(e,n[`x-usePkce`]);h={codeVerifier:e,codeChallenge:t,codeChallengeMethod:n[`x-usePkce`]===`SHA-256`?`S256`:`plain`},m.searchParams.set(`code_challenge`,t),m.searchParams.set(`code_challenge_method`,h.codeChallengeMethod)}}let g=e[t];if(!s){if(g[`x-scalar-secret-redirect-uri`].startsWith(`/`)){let e=UX(r,a)||window.location.origin+window.location.pathname,t=new URL(g[`x-scalar-secret-redirect-uri`],e).toString();m.searchParams.set(`redirect_uri`,t)}else m.searchParams.set(`redirect_uri`,g[`x-scalar-secret-redirect-uri`])}if(l[`x-scalar-security-query`]&&Object.keys(l[`x-scalar-security-query`]).forEach(e=>{let t=l[`x-scalar-security-query`]?.[e];t&&m.searchParams.set(e,t)}),m.searchParams.set(`client_id`,Kv(l[`x-scalar-secret-client-id`],a).trim()),m.searchParams.set(`state`,d),u&&m.searchParams.set(`scope`,u),s){let[n,c]=await s({authorizationUrl:m.toString()});if(n||!c)return[n??Error(`Failed to capture the OAuth2 redirect`),null];let{accessToken:f,accessTokenParams:p,code:g,codeParams:_,error:v,errorDescription:y,refreshToken:b}=LX(()=>c.callbackUrl,l[`x-tokenName`]||`access_token`);return v?[Error(`OAuth error: ${v}${y?` (${y})`:``}`),null]:f?(p?.get(`state`)??null)===d?[null,{accessToken:f,...b?{refreshToken:b}:{}}]:[Error(`State mismatch`),null]:g&&t===`authorizationCode`?(_?.get(`state`)??null)===d?KX(e,t,u,{code:g,pkce:h,proxyUrl:i,customFetch:o,redirectUri:c.redirectUri},r,a):[Error(`State mismatch`),null]:[Error(`No authorization code or access token was returned`),null]}let _=window.open(m,`openAuth2Window`,`left=100,top=100,width=800,height=600`);return _?new Promise(n=>{let s=setInterval(()=>{let{accessToken:c,accessTokenParams:f,code:p,codeParams:m,error:g,errorDescription:v,refreshToken:y}=LX(()=>_.location.href,l[`x-tokenName`]||`access_token`);if(_.closed||c||p||g){if(clearInterval(s),_.close(),g){n([Error(`OAuth error: ${g}${v?` (${v})`:``}`),null]);return}if(c){(f?.get(`state`)??null)===d?n([null,{accessToken:c,...y?{refreshToken:y}:{}}]):n([Error(`State mismatch`),null]);return}if(p&&t===`authorizationCode`){(m?.get(`state`)??null)===d?KX(e,t,u,{code:p,pkce:h,proxyUrl:i,customFetch:o},r,a).then(n).catch(e=>{n([e instanceof Error?e:Error(`Failed to get an access token`,{cause:e}),null])}):n([Error(`State mismatch`),null]);return}n([Error(`Window was closed without granting authorization`),null])}},200)}):[Error(`Failed to open auth window`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to authorize oauth2 flow`,{cause:e}),null]}},KX=async(e,t,n,{code:r,pkce:i,proxyUrl:a,customFetch:o=fetch,redirectUri:s}={},c,l={})=>{let u=e[t];if(!u)return[Error(`OAuth2 flow was not defined`),null];let d=new URLSearchParams;n&&(t===`clientCredentials`||t===`password`)&&d.set(`scope`,n);let f=Kv(u[`x-scalar-secret-client-id`],l).trim(),p=Kv(u[`x-scalar-secret-client-secret`],l).trim(),m=u[`x-scalar-credentials-location`]===`body`,h=!!p;if((m||(t===`authorizationCode`||t===`deviceAuthorization`)&&!h)&&d.set(`client_id`,f),m&&h&&d.set(`client_secret`,p),s?d.set(`redirect_uri`,s):`x-scalar-secret-redirect-uri`in u&&u[`x-scalar-secret-redirect-uri`]&&d.set(`redirect_uri`,u[`x-scalar-secret-redirect-uri`]),r)d.set(`code`,r),d.set(`grant_type`,`authorization_code`),i&&d.set(`code_verifier`,i.codeVerifier);else if(t===`password`){let n=e[t];d.set(`grant_type`,`password`),d.set(`username`,n[`x-scalar-secret-username`]),d.set(`password`,n[`x-scalar-secret-password`])}else d.set(`grant_type`,`client_credentials`);u[`x-scalar-security-body`]&&Object.entries(u[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&d.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!m&&h&&(e.Authorization=RX(f,p));let t=u[`x-scalar-secret-token-url`]??u.tokenUrl;if(!t.trim())return[Error(`Token URL is required`),null];let n=dc(t,WX(c,l)),r=await(await o(ry(a,n)?`${a}?${new URLSearchParams([[`scalar_url`,n]]).toString()}`:n,{method:`POST`,headers:e,body:d})).json(),i=r[u[`x-tokenName`]||`access_token`],s=r.refresh_token;return i?[null,{accessToken:i,...typeof s==`string`?{refreshToken:s}:{}}]:[Error(r.error_description??r.error??`Failed to get an access token`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to get an access token. Please check your credentials.`,{cause:e}),null]}},qX=async(e,t,n,r,i={},a=fetch)=>{let o=e[t];if(!o)return[Error(`OAuth2 flow was not defined`),null];let s=o[`x-scalar-secret-refresh-token`];if(!s)return[Error(`No refresh token available`),null];let c=new URLSearchParams;c.set(`grant_type`,`refresh_token`),c.set(`refresh_token`,s);let l=Kv(o[`x-scalar-secret-client-id`],i).trim(),u=Kv(o[`x-scalar-secret-client-secret`],i).trim(),d=o[`x-scalar-credentials-location`]===`body`,f=!!u;(d||(t===`authorizationCode`||t===`deviceAuthorization`)&&!f)&&c.set(`client_id`,l),d&&f&&c.set(`client_secret`,u),o[`x-scalar-security-body`]&&Object.entries(o[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&c.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!d&&f&&(e.Authorization=RX(l,u));let t=o.refreshUrl||(o[`x-scalar-secret-token-url`]??o.tokenUrl);if(!t.trim())return[Error(`Token URL is required`),null];let p=dc(t,WX(r,i)),m=await(await a(ry(n,p)?`${n}?${new URLSearchParams([[`scalar_url`,p]]).toString()}`:p,{method:`POST`,headers:e,body:c})).json(),h=m[o[`x-tokenName`]||`access_token`],g=m.refresh_token;return h?[null,{accessToken:h,...typeof g==`string`?{refreshToken:g}:{refreshToken:s}}]:[Error(m.error_description??m.error??`Token refresh failed`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to refresh the access token. Please re-authorize.`,{cause:e}),null]}}})),YX,i4t=s((()=>{pH(),YX=e=>e?Object.entries(e).filter(e=>e[1]!==void 0&&!fH(e[1])).map(([e,t],n)=>({key:e,order:t[`x-order`],index:n})).sort((e,t)=>e.order!==void 0&&t.order!==void 0?e.order-t.order:e.order===void 0?t.order===void 0?e.index-t.index:1:-1).map(e=>e.key):[]})),XX,a4t=s((()=>{XX=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>`u`||window.location.protocol===`file:`?``:window.location.origin+window.location.pathname})),ZX,o4t,s4t=s((()=>{JX(),a4t(),rS(),ZX=(e,t)=>{let{bearerSchemeName:n,oauth2Name:r,flowType:i,tokens:a}=t;e.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,"x-scalar-secret-token":a.accessToken},name:n}),a.refreshToken&&e.emit(`auth:update:security-scheme-secrets`,{payload:{type:`oauth2`,[i]:{"x-scalar-secret-refresh-token":a.refreshToken}},name:r})},o4t=async e=>{let{eventBus:t,bearerSchemeName:n,oauth2Name:r,flows:i,flowType:a,scopes:o,server:s,proxyUrl:c,environment:l,options:u}=e,d=i[a],f=d&&(a===`authorizationCode`||a===`implicit`)?{...i,[a]:{...d,"x-scalar-secret-redirect-uri":d[`x-scalar-secret-redirect-uri`]||XX(u??{})||``}}:i,p=await GX(f,a,o,s,c,Cb(l),u?.customFetch,u?.captureOAuth2Callback),m=p[1];return m?.accessToken&&ZX(t,{bearerSchemeName:n,oauth2Name:r,flowType:a,tokens:m}),p}})),c4t,l4t,u4t,d4t=s((()=>{Fs(),zT(),uvt(),cI(),B(),Qs(),nI(),c4t=[`readOnly`,`type`,`value`],l4t={key:1,class:`centered-y text-orange absolute right-7 text-xs`},u4t=k({inheritAttrs:!1,__name:`DataTableInput`,props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},environment:{},description:{},withFakeData:{type:Boolean,default:!0}},emits:[`update:modelValue`,`inputFocus`,`inputBlur`,`selectVariable`],setup(e,{expose:t,emit:n}){let r=e,i=n,{translate:a}=Ps(),o=E(!0),s=E(!1),c=Cr(`codeInput`),l=Cr(`maskedInput`),u=E(!1),d=z(()=>r.type===`password`&&!!r.modelValue);dr(()=>r.modelValue,e=>{!e&&!u.value&&(o.value=!0)});let f=()=>{u.value=!1,r.modelValue||(o.value=!0)},p=()=>!s.value&&i(`inputBlur`),m=z(()=>r.type===`password`?`text`:r.type??`text`),h=()=>{c.value?.focus(),l.value?.focus()},g=()=>{!r.enum?.length&&!r.readOnly&&h()},_=async()=>{o.value=!0,i(`update:modelValue`,``),await nr(),h()};return t({focus:h}),(t,n)=>(j(),N(sI,{class:lt([`relative flex`,e.containerClass])},{default:O(()=>[t.$slots.default?(j(),M(`div`,{key:0,class:`text-c-1 flex items-center pr-0 pl-3`,onClick:g},[A(t.$slots,`default`,{},void 0,!0),n[6]||=F(`: `,-1)])):I(``,!0),P(`div`,{class:`relative flex min-w-0 flex-1`,onFocusin:n[4]||=e=>u.value=!0,onFocusout:f},[r.enum&&r.enum.length?(j(),N(RT,{key:0,canAddCustomValue:r.canAddCustomEnumValue,modelValue:r.modelValue,value:r.enum,"onUpdate:modelValue":n[0]||=e=>i(`update:modelValue`,e)},null,8,[`canAddCustomValue`,`modelValue`,`value`])):(j(),M(L,{key:1},[o.value&&e.type===`password`?(j(),M(`input`,oi({key:0},e.id?{...t.$attrs,id:e.id}:t.$attrs,{ref_key:`maskedInput`,ref:l,autocomplete:`off`,class:[`text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none px-2 py-1.25 -outline-offset-1`,{"scalar-password-input":e.type===`password`}],"data-1p-ignore":``,readOnly:e.readOnly,spellcheck:`false`,type:m.value,value:e.modelValue,onInput:n[1]||=e=>i(`update:modelValue`,e.target.value??``)}),null,16,c4t)):(j(),N(D(yI),oi({key:1},t.$attrs,{id:e.id,ref_key:`codeInput`,ref:c,class:[`text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1`,[e.type===`password`&&e.description&&`pr-12`,e.description&&`pr-8`,e.type===`password`&&`scalar-password-input`]],environment:e.environment,modelValue:e.modelValue??``,readOnly:e.readOnly,required:!!e.required,type:m.value,withFakeData:e.withFakeData,onBlur:p,onFocus:n[2]||=e=>i(`inputFocus`),"onUpdate:modelValue":n[3]||=e=>i(`update:modelValue`,e)}),null,16,[`id`,`class`,`environment`,`modelValue`,`readOnly`,`required`,`type`,`withFakeData`]))],64))],32),t.$slots.warning?(j(),M(`div`,l4t,[A(t.$slots,`warning`,{},void 0,!0)])):I(``,!0),A(t.$slots,`icon`,{},void 0,!0),e.modelValue&&!e.readOnly?(j(),N(D(eI),{key:2,class:`-ml-.25 h-6 w-6 self-center p-1.25`,icon:D(Zs),label:D(a)(`apiClient.dataTableInput.clearValue`),onClick:_},null,8,[`icon`,`label`])):I(``,!0),d.value?(j(),N(D(eI),{key:3,"aria-pressed":!o.value,class:`-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25`,"data-testid":`data-table-password-toggle`,icon:o.value?D(Zfe):D(spe),label:D(a)(`apiClient.dataTableInput.showPassword`),onClick:n[5]||=e=>o.value=!o.value},null,8,[`aria-pressed`,`icon`,`label`])):I(``,!0)]),_:3},8,[`class`]))}})})),f4t,p4t=s((()=>{Ds(),d4t(),f4t=Es(u4t,[[`__scopeId`,`data-v-029a43f5`]])})),m4t,h4t=s((()=>{Fs(),p4t(),B(),Qs(),nI(),m4t=k({__name:`RequestAuthDataTableInput`,props:Lr({canReset:{type:Boolean,default:!1},containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:``,required:!0},modelModifiers:{}}),emits:Lr([`reset`,`inputFocus`,`inputBlur`,`selectVariable`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=Hr(e,`modelValue`),i=xr(),{translate:a}=Ps(),o=`${i}-label`,s=Cr(`field`),c=()=>{s.value?.focus(),n(`reset`)};return(t,l)=>(j(),N(D(f4t),oi({id:D(i),ref_key:`field`,ref:s},t.$attrs,{modelValue:r.value,"onUpdate:modelValue":l[0]||=e=>r.value=e,"aria-labelledby":o,canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:l[1]||=e=>n(`inputBlur`),onInputFocus:l[2]||=e=>n(`inputFocus`),onSelectVariable:l[3]||=e=>n(`selectVariable`,e)}),{default:O(()=>[P(`label`,{id:o},[A(t.$slots,`default`)])]),icon:O(()=>[A(t.$slots,`icon`),e.canReset&&!e.readOnly?(j(),N(D(eI),{key:0,class:`h-6 w-6 self-center p-1.25`,icon:D(Qce),label:D(a)(`apiClient.dataTableInput.resetValue`),onClick:c},null,8,[`icon`,`label`])):I(``,!0)]),_:3},16,[`id`,`modelValue`,`canAddCustomEnumValue`,`containerClass`,`environment`,`readOnly`,`required`,`type`]))}})})),QX,$X=s((()=>{h4t(),QX=m4t})),g4t,_4t,v4t,y4t=s((()=>{Fs(),B(),Mw(),Kl(),g4t={class:`flex gap-2`},_4t={class:`flex max-h-8 flex-1`},v4t=k({name:`CommandActionForm`,props:{loader:{},disabled:{type:Boolean,default:!1}},emits:[`submit`,`cancel`,`back`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),{cx:i}=Gl(),a=()=>{e.disabled||n(`submit`)};return(t,n)=>(j(),M(`form`,{class:`flex w-full flex-col gap-3`,onKeydown:n[0]||=qa(Ka(()=>{},[`stop`]),[`enter`]),onSubmit:Ka(a,[`prevent`,`stop`])},[P(`div`,ut(ei(D(i)(`relative flex min-h-20 flex-col rounded`))),[A(t.$slots,`default`)],16),P(`div`,g4t,[P(`div`,_4t,[A(t.$slots,`options`)]),R(D(jw),{class:`max-h-8 px-3 text-xs`,disabled:e.disabled,loader:e.loader,type:`submit`},{default:O(()=>[A(t.$slots,`submit`,{},()=>[F(T(D(r)(`apiClient.commandActionForm.continue`)),1)])]),_:3},8,[`disabled`,`loader`])])],32))}})})),b4t,x4t=s((()=>{y4t(),b4t=v4t})),S4t,C4t,w4t=s((()=>{B(),S4t=[`placeholder`],C4t=k({name:`CommandActionInput`,inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:[`update:modelValue`,`delete`],setup(e,{emit:t}){let n=t,r=E(null),i=z({get:()=>e.modelValue??``,set:e=>n(`update:modelValue`,e)});Ii(()=>{nr(()=>{e.autofocus&&r.value?.focus()})});let a=e=>{if(e.shiftKey||!(e.target instanceof HTMLTextAreaElement))return;e.preventDefault();let t=e.target,n=new Event(`submit`,{cancelable:!0});t.form?.dispatchEvent(n)},o=e=>{i.value===``&&(e.preventDefault(),e.stopPropagation(),n(`delete`,e))};return(t,n)=>or((j(),M(`textarea`,oi({id:`command-action-input`,ref_key:`input`,ref:r,"onUpdate:modelValue":n[0]||=e=>i.value=e,class:`min-h-8 w-full flex-1 resize-none border border-transparent py-1.5 pl-8.5 text-sm outline-none focus:border-b-1`,placeholder:e.placeholder??``,wrap:`hard`},t.$attrs,{onKeydown:[qa(o,[`delete`]),qa(a,[`enter`])]}),null,16,S4t)),[[Ga,i.value]])}})})),eZ,T4t=s((()=>{w4t(),eZ=C4t})),E4t,D4t,O4t,k4t,A4t=s((()=>{Fs(),x4t(),T4t(),B(),jX(),E4t={class:`flex min-h-8 items-start gap-2 text-sm`},D4t={class:`flex min-h-8 items-start gap-2 text-sm`},O4t={key:0,class:`text-red text-xs`,role:`alert`},k4t=k({__name:`OAuthScopesAddModal`,props:{state:{},scopes:{},scope:{default:null}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=z(()=>e.scope!==null),a=z(()=>i.value?r(`apiClient.oauthScopesAddModal.edit`):r(`apiClient.oauthScopesAddModal.add`)),o=z(()=>i.value?r(`apiClient.oauthScopesAddModal.save`):r(`apiClient.oauthScopesAddModal.add`)),s=E({name:``,description:``}),c=E(!1);dr(()=>s.value.name,()=>{c.value=!0});let l=z(()=>s.value.name.trim()),u=z(()=>!l.value||i.value&&l.value===e.scope?.name?!1:e.scopes.includes(l.value)),d=z(()=>u.value?r(`apiClient.oauthScopesAddModal.duplicate`,{name:l.value}):c.value&&!l.value?r(`apiClient.oauthScopesAddModal.required`):null),f=z(()=>!l.value||u.value),p=()=>{f.value||(n(`submit`,{name:l.value,description:s.value.description,...i.value&&e.scope?{oldName:e.scope.name}:{}}),e.state.hide())};return dr(()=>e.state.open,t=>{t&&(s.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:``,description:``},nr(()=>{c.value=!1}))}),(t,i)=>(j(),N(D(AX),{bodyClass:`overflow-y-auto`,size:`xs`,state:e.state,title:a.value},{default:O(()=>[R(D(b4t),{disabled:f.value,onCancel:i[2]||=e=>n(`cancel`),onSubmit:p},{submit:O(()=>[F(T(o.value),1)]),default:O(()=>[P(`div`,E4t,[F(T(D(r)(`apiClient.oauthScopesAddModal.name`)),1),R(D(eZ),{modelValue:s.value.name,"onUpdate:modelValue":i[0]||=e=>s.value.name=e,autofocus:``,class:`field-sizing-content !p-0`,placeholder:`read:user`},null,8,[`modelValue`])]),P(`div`,D4t,[F(T(D(r)(`apiClient.oauthScopesAddModal.description`)),1),R(D(eZ),{modelValue:s.value.description,"onUpdate:modelValue":i[1]||=e=>s.value.description=e,autofocus:!1,class:`field-sizing-content !p-0`,placeholder:D(r)(`apiClient.oauthScopesAddModal.readUserData`)},null,8,[`modelValue`,`placeholder`])]),d.value?(j(),M(`div`,O4t,T(d.value),1)):I(``,!0)]),_:1},8,[`disabled`])]),_:1},8,[`state`,`title`]))}})})),j4t,M4t=s((()=>{A4t(),j4t=k4t})),N4t,P4t,F4t=s((()=>{Aw(),tI(),Kl(),B(),Qs(),N4t=[`aria-label`,`placeholder`],P4t=k({inheritAttrs:!1,__name:`ScalarSearchInput`,props:Lr({loader:{},label:{},placeholder:{},clearLabel:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Hr(e,`modelValue`),n=E(null);function r(){t.value=``,n.value&&n.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=Gl();return(o,s)=>(j(),M(`label`,ut(ei(D(i)(`flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25`))),[R(D(Ks),{class:`text-sidebar-c-search size-4`}),or(P(`input`,oi({ref_key:`inputRef`,ref:n},D(a),{"onUpdate:modelValue":s[0]||=e=>t.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:e.placeholder??`Search...`,spellcheck:`false`,type:`search`}),null,16,N4t),[[Ga,t.value]]),e.loader&&e.loader.isActive?(j(),N(D(kw),{key:0,class:`mr-1`,loader:e.loader,size:`lg`},null,8,[`loader`])):t.value?(j(),N(D(eI),{key:1,class:`-my-1`,icon:D(Zs),label:e.clearLabel??`Clear Search`,size:`sm`,weight:`bold`,onClick:Ka(r,[`stop`,`prevent`])},null,8,[`icon`,`label`])):I(``,!0)],16))}})})),tZ,I4t=s((()=>{F4t(),tZ=P4t})),nZ=s((()=>{I4t()})),L4t,R4t,z4t,B4t,V4t,H4t,U4t,W4t,G4t,K4t=s((()=>{Fs(),cI(),hvt(),fI(),M4t(),B(),Mw(),Qs(),jX(),gS(),nI(),Ts(),nZ(),L4t={class:`flex h-fit w-full`},R4t={class:`group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left`},z4t={class:`flex shrink-0 items-center gap-1.75`},B4t={class:`grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto`,style:{gridTemplateColumns:`1fr auto`}},V4t={class:`contents`},H4t={class:`no-scrollbar text-c-2 group-hover/scope-row:text-c-1 flex min-h-8 min-w-0 flex-1 items-center gap-1 overflow-x-auto px-3 py-1.5 pr-20 text-xs text-nowrap`},U4t={class:`font-code shrink-0 text-xs`},W4t={class:`whitespace-nowrap`},G4t=k({__name:`OAuthScopesInput`,props:{flowType:{},flow:{},selectedScopes:{}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=E(``),a=E(null),o=z(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),s=z(()=>Object.keys(e.flow?.scopes??{}).length),c=z(()=>s.value>=10),l=z(()=>{let e=c.value?i.value:``;if(!e)return o.value;let t=new RegExp(e.split(``).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`.*`),`i`);return o.value.filter(({label:e,description:n})=>t.test(`${e} ${n}`))}),u=z(()=>Object.keys(e.flow?.scopes??{}).length>0),d=z(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),f=(e,t)=>{n(`update:selectedScopes`,{scope:e,selected:t})},p=()=>n(`update:selectedScopes`,{scopes:Object.keys(e.flow?.scopes??{})}),m=()=>n(`update:selectedScopes`,{scopes:[]}),h=kX(),g=E(0),_=E(!1);dr(u,(e,t)=>{t&&!e&&(_.value=!1,g.value+=1)});let v=()=>{a.value=null,h.show()},y=e=>{a.value={name:e.id,description:e.description??``},h.show()},b=async t=>{let r=!t.oldName;n(`upsert:scope`,{scope:t.name,description:t.description,flowType:e.flowType,...t.oldName?{oldScope:t.oldName}:{},...r?{enable:!0}:{}}),r&&(_.value=!0,g.value+=1,await nr(),_.value=!1)},x=t=>{n(`delete:scope`,{scope:t,flowType:e.flowType})};return(t,n)=>(j(),N(D(sI),{class:`h-auto !max-h-[initial] min-h-8 items-center`},{default:O(()=>[P(`div`,L4t,[n[4]||=P(`div`,{class:`text-c-1 h-full items-center`},null,-1),(j(),N(D(_s),{key:g.value,as:`div`,class:`bl flex w-full flex-col`,defaultOpen:_.value},{default:O(()=>[P(`div`,R4t,[R(D(vs),{class:lt([`min-w-0 flex-1 text-left`,u.value?`hover:text-c-1 cursor-pointer`:`cursor-default`,(e.selectedScopes.length||0)>0?`text-c-1`:`text-c-3`]),disabled:!u.value},{default:O(()=>[u.value?(j(),M(L,{key:0},[F(T(D(r)(`apiClient.oauthScopesInput.selectedScopes`,{count:e.selectedScopes.length,total:Object.keys(e.flow?.scopes??{}).length})),1)],64)):(j(),M(L,{key:1},[F(T(D(r)(`apiClient.oauthScopesInput.noScopesDefined`)),1)],64))]),_:1},8,[`class`,`disabled`]),P(`div`,z4t,[R(D(jw),{class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ka(v,[`stop`])},{default:O(()=>[F(T(D(r)(`apiClient.oauthScopesInput.addScope`)),1)]),_:1}),u.value&&d.value?(j(),N(D(jw),{key:0,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ka(m,[`stop`])},{default:O(()=>[F(T(D(r)(`apiClient.oauthScopesInput.deselectAll`)),1)]),_:1})):I(``,!0),u.value&&!d.value?(j(),N(D(jw),{key:1,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ka(p,[`stop`])},{default:O(()=>[F(T(D(r)(`apiClient.oauthScopesInput.selectAll`)),1)]),_:1})):I(``,!0),u.value?(j(),N(D(vs),{key:2,class:`text-c-3 hover:text-c-2 -m-0.5 flex shrink-0 items-center justify-center rounded p-0.5 focus-visible:outline-offset-2`},{default:O(({open:e})=>[R(D(fS),{class:`group-hover/scopes-accordion:text-c-2`,icon:e?`ChevronDown`:`ChevronRight`,size:`md`},null,8,[`icon`])]),_:1})):I(``,!0)])]),R(D(ys),{as:`template`},{default:O(()=>[P(`div`,null,[c.value?(j(),N(D(tZ),{key:0,modelValue:i.value,"onUpdate:modelValue":n[0]||=e=>i.value=e,class:`flex items-center text-xs`},null,8,[`modelValue`])):I(``,!0),P(`table`,B4t,[P(`tbody`,V4t,[(j(!0),M(L,null,jr(l.value,({id:t,label:i,description:a})=>(j(),N(D(dI),{key:t,class:`text-c-2 group/scope-row`,onClick:n=>f(t,!e.selectedScopes.includes(t))},{default:O(()=>[R(D(sI),{class:`box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0`},{default:O(()=>[P(`div`,H4t,[P(`span`,U4t,T(i),1),String(a??``).trim()?(j(),M(L,{key:0},[n[3]||=P(`span`,{class:`shrink-0`},`–`,-1),P(`span`,W4t,T(a),1)],64)):I(``,!0)]),P(`div`,{class:`oauth-scope-row-action-rail absolute top-0 right-0 z-[1] flex h-full min-w-[4.5rem] items-center justify-end gap-0.5 py-1 pr-2 pl-4 opacity-0 transition-opacity group-focus-within/scope-row:opacity-100 group-hover/scope-row:opacity-100`,onClick:n[1]||=Ka(()=>{},[`stop`])},[R(D(eI),{icon:D(__e),label:D(r)(`apiClient.oauthScopesInput.editScope`,{name:i}),size:`sm`,onClick:Ka(e=>y({id:t,description:a??``}),[`stop`])},null,8,[`icon`,`label`,`onClick`]),R(D(eI),{icon:D(Ys),label:D(r)(`apiClient.oauthScopesInput.deleteScope`,{name:i}),size:`sm`,onClick:Ka(e=>x(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])])]),_:2},1024),R(D(mvt),{ariaLabel:D(r)(`apiClient.oauthScopesInput.selectScope`,{name:i}),modelValue:e.selectedScopes.includes(t),onClick:n[2]||=Ka(()=>{},[`stop`]),"onUpdate:modelValue":e=>f(t,e)},null,8,[`ariaLabel`,`modelValue`,`onUpdate:modelValue`])]),_:2},1032,[`onClick`]))),128))])])])]),_:1})]),_:1},8,[`defaultOpen`]))]),R(j4t,{scope:a.value,scopes:Object.keys(e.flow.scopes??{}),state:D(h),onSubmit:b},null,8,[`scope`,`scopes`,`state`])]),_:1}))}})})),q4t,J4t=s((()=>{K4t(),q4t=G4t}));function rZ(){return fn({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1},validate(e={}){let{duration:t=1100,persist:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>setTimeout(n?()=>e():()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>setTimeout(n?()=>e():()=>this.clear().then(()=>e()),r))},clear(e={}){let{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(e=>{setTimeout(()=>{this.isActive=!1,e()},t)})}})}var Y4t=s((()=>{B()})),iZ=s((()=>{Aw(),Y4t()}));function aZ(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function X4t(e,t=`|`){return e.map(e=>o3t(e)).join(t)}function oZ(e,t){return typeof t==`bigint`?t.toString():t}function sZ(e){return new T3t(e)}function Z4t(e){return e==null}function cZ(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function Q4t(e,t){let n=e/t,r=Math.round(n),i=4*2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function $4t(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==jZ)return r===void 0&&(r=jZ,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function lZ(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function uZ(e){let t=Object.getOwnPropertyDescriptor(e,`shape`);return t?.get?t.get.raw:t?.value}function dZ(e){return uZ(e._zod.def)??e._zod.def.shape}function e3t(e,t,n){Object.defineProperty(e,t,{get(){let e=n();return lZ(this,t,e),e},enumerable:!0,configurable:!0})}function t3t(e,t,n){t in e?lZ(e,t,n):e[t]=n}function fZ(e,t,n,r){let i=dZ(t);for(let a of n){let n=Object.getOwnPropertyDescriptor(i,a);n.enumerable&&(n.get?e3t(e,a,()=>{let e=t._zod.def.shape[a];return r?r(e,a):e}):t3t(e,a,r?r(n.value,a):n.value))}}function n3t(e,t){for(let n of Reflect.ownKeys(t)){let r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?e3t(e,n,()=>t[n]):t3t(e,n,r.value))}}function pZ(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function r3t(e){return JSON.stringify(e)}function i3t(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}function mZ(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function hZ(e){if(mZ(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return mZ(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function a3t(e){return hZ(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function gZ(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function _Z(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function vZ(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function o3t(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function s3t(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===`optional`)}function c3t(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);let i={};return fZ(i,e,yZ(e,t)),_Z(e,pZ(n,{shape:i,checks:[]}))}function yZ(e,t){let n=dZ(e),r=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&r.push(e)}return r}function l3t(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);let i=new Set(yZ(e,t)),a={};return fZ(a,e,Reflect.ownKeys(dZ(e)).filter(e=>!i.has(e))),_Z(e,pZ(n,{shape:a,checks:[]}))}function u3t(e,t){if(!hZ(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=dZ(e);for(let e of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return _Z(e,pZ(e._zod.def,{shape:d3t(e,t)}))}function d3t(e,t){let n={};return fZ(n,e,Reflect.ownKeys(dZ(e))),n3t(n,t),n}function f3t(e,t){if(!hZ(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return _Z(e,pZ(e._zod.def,{shape:d3t(e,t)}))}function p3t(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);let n={};return fZ(n,e,Reflect.ownKeys(dZ(e))),fZ(n,t,Reflect.ownKeys(dZ(t))),_Z(e,pZ(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function m3t(e,t,n,r=`partial`){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${r}() cannot be used on object schemas containing refinements`);let a=n?new Set(yZ(t,n)):void 0,o={};return fZ(o,t,Reflect.ownKeys(dZ(t)),e&&((t,n)=>a&&!a.has(n)?t:new e({type:`optional`,innerType:t}))),_Z(t,pZ(t._zod.def,{shape:o,checks:[]}))}function h3t(e,t,n){let r=n?new Set(yZ(t,n)):void 0,i={};return fZ(i,t,Reflect.ownKeys(dZ(t)),(t,n)=>r&&!r.has(n)?t:new e({type:`nonoptional`,innerType:t})),_Z(t,pZ(t._zod.def,{shape:i}))}function bZ(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function g3t(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function xZ(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function SZ(e){return typeof e==`string`?e:e?.message}function _3t(e){let t=[];for(let n of e??[]){let e=n._zod.def;if(!/_(length|size)$|_equals$/.test(e.check))break;let r=e.maximum??e.length??e.size;r>=0&&t.push([r,n])}return t}function CZ(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function wZ(e,t,n){var r;let i=e.inst?._zod?.traits;i?.has(`$ZodType`)&&(i.has(`$ZodCheck`)?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let a=e.schema===e.inst?void 0:e.schema?._zod.def?.error,o=e.message?e.message:SZ(e.inst?._zod.def?.error?.(e))??SZ(a?.(e))??SZ(t?.error?.(e))??SZ(n.customError?.(e))??SZ(n.localeError?.(e))??`Invalid input`,s={};for(let t of Object.keys(e))t!==`inst`&&t!==`schema`&&t!==`continue`&&t!==`input`&&t!==`__proto__`&&(s[t]=e[t]);return s.path??=[],s.message=o,t?.reportInput&&(s.input=e.input),s}function TZ(e){let t=e.length;if(!k3t.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320&&(n--,r++);return n}function EZ(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function v3t(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function DZ(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function y3t(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):x3t(e,n,r.value)}}function OZ(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function kZ(e,t,n){return OZ(e,t,n,!1)}function b3t(e,t){for(let n in e){let r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return OZ(this,n,r(this))},set(e){OZ(this,n,e)}})}return t}function x3t(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:OZ(this,t,n.bind(this))},set(e){OZ(this,t,e)}})}function S3t(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}function AZ(e,t,n){let r=Object.getPrototypeOf(e._zod);t in r&&PZ!==e._zod?PZ=void 0:(PZ=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,A3t);let e=FZ;FZ=!1;try{let r=n(this);return FZ?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r}),FZ||=e,r}catch(n){throw delete this[t],FZ||=e,n}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}}))}function C3t(e,t,n,r){let i=S3t(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,e),e.value=n(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:e})}})}function w3t(e){let t=()=>e;return t[j3t]=!0,t}var T3t,jZ,MZ,E3t,D3t,NZ,O3t,k3t,PZ,FZ,A3t,j3t,IZ=s((()=>{WZ(),T3t=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}},jZ=Symbol(`evaluating`),MZ=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{},E3t=sZ(()=>{if(UZ.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}}),D3t=new Set([`string`,`number`,`symbol`]),NZ={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},O3t={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]},k3t=/[\uD800-\uDBFF]/,FZ=!1,A3t={configurable:!0,get(){FZ=!0}},j3t=`~constantCatch`}));function M3t(e){let t=BZ;if(t){let n=t.stackTraceLimit;if(typeof n==`number`){try{t.stackTraceLimit=0}catch{return BZ=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function LZ(e,t,n,r){let i={};function a(e){this.def=e,this.constr=d,this.traits=new Set}a.prototype=i;let o=n,s=o&&new WeakSet;function c(n,r){if(!n._zod){zZ.value=new a(r);try{Object.defineProperty(n,"_zod",zZ)}finally{zZ.value=void 0}}else if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,r),s){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,r=e;for(;r&&r!==t;)r=Object.getPrototypeOf(r);let i=r??e;s.has(i)||(s.add(i),y3t(i,o))}let i=d.prototype;for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in n||(n[e]=i[e].bind(n)))}let l=r?.Parent??Object;class u extends l{}Object.defineProperty(u,"name",{value:e});function d(e){let t=r?.Parent?M3t(u):this;c(t,e);let n=t._zod.deferred;if(n){for(let e of n)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:t=>r?.Parent&&t instanceof r.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}function RZ(e){return e&&Object.assign(UZ,e),UZ}var N3t,zZ,BZ,VZ,HZ,UZ,WZ=s((()=>{IZ(),zZ={value:void 0,enumerable:!1},BZ=`captureStackTrace`in Error?Error:null,VZ=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},HZ=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},(N3t=globalThis).__zod_globalConfig??(N3t.__zod_globalConfig={}),UZ=globalThis.__zod_globalConfig}));function P3t(){let e=this._zod;return e.message??=JSON.stringify(e.def,oZ,2),e.message}function F3t(e){this._zod.message=e}function I3t(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===`__proto__`?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function L3t(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?I3t(n,i.path[0],()=>[]).push(t(i)):r.push(t(i));return{formErrors:r,fieldErrors:n}}function R3t(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i],o=i===e.length-1;if(n===`_errors`){o&&r._errors.push(t(a)),i++;continue}Object.prototype.hasOwnProperty.call(r,n)||Object.defineProperty(r,n,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let s=r[n];o&&s._errors.push(t(a)),r=s,i++}}}};return r(e),n}var z3t,GZ,KZ,B3t,V3t,H3t=s((()=>{WZ(),IZ(),z3t={get:P3t,set:F3t,enumerable:!0,configurable:!0},GZ={value:void 0,enumerable:!1},KZ=new WeakSet([Object.prototype,Error.prototype]),B3t=(e,t)=>{e.name=`$ZodError`,GZ.value=t,Object.defineProperty(e,"issues",GZ),GZ.value=void 0,Object.defineProperty(e,"message",z3t);let n=Object.getPrototypeOf(e);KZ.has(n)||(KZ.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let e=()=>this.message;return Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0})}}))},V3t=LZ(`$ZodError`,B3t)}));function qZ(e,t){return{callee:t?.callee??e,Err:t?.Err}}function U3t(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(e=>wZ(e,n,RZ()))),t=void 0,n=void 0),r},set error(e){r=e,t=void 0,n=void 0}}}function W3t(e,t,n){let r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},i=e._zod.bag.fallbackRun,a;if(i?(r[K3t]=!0,a=i({value:t,issues:[]},r)):a=e._zod.run({value:t,issues:[]},r),a instanceof Promise)throw new VZ;return a.issues.length===0}var JZ,YZ,XZ,ZZ,G3t,K3t,q3t,J3t,Y3t,X3t,Z3t,Q3t,$3t,e6t,t6t,n6t,r6t=s((()=>{WZ(),IZ(),JZ=e=>{let t=(n,r,i,a)=>{let o=i?{...i,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new VZ;if(s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>wZ(e,o,RZ())));throw MZ(n,a?.callee??t),n}return s.value};return t},YZ=e=>{let t=async(n,r,i,a)=>{let o=i?{...i,async:!0}:{async:!0},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>wZ(e,o,RZ())));throw MZ(n,a?.callee??t),n}return s.value};return t},XZ=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new VZ;return a.issues.length?U3t(e,a.issues,i):{success:!0,data:a.value}},ZZ=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?U3t(e,a.issues,i):{success:!0,data:a.value}},G3t=Symbol.for(`zod.compile.invalid`),K3t=Symbol.for(`zod.compile.fallback`),q3t=((e,t,n)=>{let r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==G3t)return!0;if(r.definite===!0&&n===void 0)return!1}return W3t(e,t,n)}),J3t=async(e,t,n)=>{let r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},i=e._zod.run({value:t,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length===0},Y3t=e=>{let t=JZ(e),n=(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return t(e,r,o,qZ(n,a))};return n},X3t=e=>{let t=JZ(e),n=(e,r,i,a)=>t(e,r,i,qZ(n,a));return n},Z3t=e=>{let t=YZ(e),n=async(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return await t(e,r,o,qZ(n,a))};return n},Q3t=e=>{let t=YZ(e),n=async(e,r,i,a)=>await t(e,r,i,qZ(n,a));return n},$3t=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return XZ(e)(t,n,i)},e6t=e=>(t,n,r)=>XZ(e)(t,n,r),t6t=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return ZZ(e)(t,n,i)},n6t=e=>async(t,n,r)=>ZZ(e)(t,n,r)}));function i6t(e){return RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}function a6t(){return new RegExp(v6t,`u`)}function o6t(e){return RegExp(`^${e}$`)}function QZ(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function s6t(e){return RegExp(`^${QZ(e)}$`)}function c6t(e){let t=[`Z`];e.offset&&t.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let n=`${QZ({precision:e.precision,seconds:!0})}(?:${t.join(`|`)})`,r=e.local?`${n}|${QZ({precision:e.precision})}`:n;return RegExp(`^${eQ}T(?:${r})$`)}var l6t,u6t,d6t,f6t,p6t,m6t,h6t,g6t,$Z,_6t,v6t,y6t,b6t,x6t,S6t,C6t,w6t,T6t,E6t,eQ,D6t,O6t,k6t,tQ,A6t,j6t,M6t,N6t,nQ=s((()=>{l6t=/^[cC][0-9a-z]{6,}$/,u6t=/^[0-9a-z]+$/,d6t=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,f6t=/^[0-9a-vA-V]{20}$/,p6t=/^[A-Za-z0-9]{27}$/,m6t=/^[a-zA-Z0-9_-]{21}$/,h6t=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,g6t=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,$Z=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,_6t=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,v6t=`^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`,y6t=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,b6t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,x6t=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,S6t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,C6t=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,w6t=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,T6t=/^https?$/,E6t=/^\+[1-9]\d{6,14}$/,eQ=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,D6t=o6t(eQ),O6t=/^[\s\S]{0,}$/,k6t=/^-?\d+$/,tQ=/^-?\d+(?:\.\d+)?$/,A6t=/^(?:true|false)$/i,j6t=/^null$/i,M6t=/^[^A-Z]*$/,N6t=/^[^a-z]*$/}));function P6t(e,t,n){e.issues.length&&t.issues.push(...xZ(n,e.issues))}var rQ,iQ,aQ,oQ,sQ,F6t,I6t,L6t,R6t,z6t,cQ,B6t,V6t,H6t,U6t,W6t,G6t,K6t,q6t,lQ=s((()=>{WZ(),nQ(),IZ(),rQ=LZ(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),iQ=e=>{let t=e.value;return!Z4t(t)&&t.length!==void 0},aQ={number:`number`,bigint:`bigint`,object:`date`},oQ=LZ(`$ZodCheckLessThan`,(e,t)=>{rQ.init(e,t);let n=aQ[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:aQ[typeof r.value]??n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),sQ=LZ(`$ZodCheckGreaterThan`,(e,t)=>{rQ.init(e,t);let n=aQ[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:aQ[typeof r.value]??n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),F6t=LZ(`$ZodCheckMultipleOf`,(e,t)=>{rQ.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):Q4t(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),I6t=LZ(`$ZodCheckNumberFormat`,(e,t)=>{rQ.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=NZ[t.format];e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),L6t=LZ(`$ZodCheckMaxLength`,(e,t)=>{var n;rQ.init(e,t),(n=e._zod.def).when??(n.when=iQ),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>t.maximum?TZ(r):i)<=t.maximum)return;let a=EZ(r);n.issues.push({origin:a,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),R6t=LZ(`$ZodCheckMinLength`,(e,t)=>{var n;rQ.init(e,t),(n=e._zod.def).when??(n.when=iQ),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>=t.minimum&&i<t.minimum*2?TZ(r):i)>=t.minimum)return;let a=EZ(r);n.issues.push({origin:a,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),z6t=LZ(`$ZodCheckLengthEquals`,(e,t)=>{var n;rQ.init(e,t),(n=e._zod.def).when??(n.when=iQ),e._zod.check=n=>{let r=n.value,i=r.length,a=typeof r==`string`&&i>=t.length&&i<=t.length*2?TZ(r):i;if(a===t.length)return;let o=EZ(r),s=a>t.length;n.issues.push({origin:o,...s?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),cQ=LZ(`$ZodCheckStringFormat`,(e,t)=>{var n,r;rQ.init(e,t),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),B6t=LZ(`$ZodCheckRegex`,(e,t)=>{cQ.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),V6t=LZ(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=M6t,cQ.init(e,t)}),H6t=LZ(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=N6t,cQ.init(e,t)}),U6t=LZ(`$ZodCheckIncludes`,(e,t)=>{rQ.init(e,t);let n=gZ(t.includes);t.pattern=new RegExp(typeof t.position==`number`?`^.{${t.position},}${n}`:n),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),W6t=LZ(`$ZodCheckStartsWith`,(e,t)=>{rQ.init(e,t);let n=RegExp(`^${gZ(t.prefix)}.*`);t.pattern??=n,e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),G6t=LZ(`$ZodCheckEndsWith`,(e,t)=>{rQ.init(e,t);let n=RegExp(`.*${gZ(t.suffix)}$`);t.pattern??=n,e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),K6t=LZ(`$ZodCheckProperties`,(e,t)=>{rQ.init(e,t),kZ(e,Symbol.iterator,function*(){yield e});let n;e._zod.check=r=>{if(r.value==null){r.issues.push({expected:`object`,code:`invalid_type`,input:r.value,inst:e});return}n??=Reflect.ownKeys(t.shape).map(e=>[e,t.shape[e]]);let i=r.value,a;for(let[e,t]of n){let n=t._zod.run({value:i[e],issues:[]},{});n instanceof Promise?(a??=[],a.push(n.then(t=>P6t(t,r,e)))):P6t(n,r,e)}if(a)return Promise.all(a).then(()=>void 0)}}),q6t=LZ(`$ZodCheckOverwrite`,(e,t)=>{rQ.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}})})),J6t,Y6t=s((()=>{J6t=class{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{--this.indent}}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
+`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.content??[``];return new e(...Object.keys(this.closed),`return function (${this.args.join(`, `)}) {\n${t.join(`
+`)}\n};`)(...Object.values(this.closed))}}})),X6t,Z6t=s((()=>{X6t={major:4,minor:6,patch:7}}));async function Q6t(e,t){let n={async:!0};return mQ(await e._zod.run({value:t,issues:[]},n),n)}function $6t(e){return{validate:t=>{let n={async:!1};try{let r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return mQ(r,n)}catch{}return Q6t(e,t)},vendor:`zod`,version:1}}function e8t(e){try{return typeof URL<`u`&&typeof URL.canParse==`function`?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function t8t(e,t){return!(`normalize`in t)&&!(`hostname`in t)&&!(`protocol`in t)?e8t(e)||2:n8t(e,t)}function n8t(e,t){if(!t.normalize&&t.protocol?.source===T6t.source&&!/^https?:\/\//i.test(e))return 1;try{if(typeof URL<`u`){let t=URL;if(typeof t.parse==`function`)return t.parse(e)??2}return new URL(e)}catch{return 2}}function r8t(e){return e.replace(D8t,``)}function i8t(e,t){return t.lastIndex=0,t.test(e.hostname)}function a8t(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(`:`)?e.protocol.slice(0,-1):e.protocol)}function o8t(e){return V8t.test(e)?e8t(`http://[${e}]`):!1}function s8t(e){let t=e.split(`/`);if(t.length!==2)return!1;let[n,r]=t;if(!r)return!1;let i=Number(r);return`${i}`!==r||i<0||i>128?!1:o8t(n)}function c8t(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}function l8t(e){if(!vQ.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return c8t(t.padEnd(Math.ceil(t.length/4)*4,`=`))}function u8t(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}function d8t(e,t){let n=_3t(e._zod.def.checks);if(!n.length)return;let r=Math.min(...n.map(e=>e[0])),i=e._zod.parse;e._zod.parse=(n,a)=>{let o=t(n.value);if(o>r&&!a?.skipChecks&&a?.direction!==`backward`){for(let[t,r]of _3t(e._zod.def.checks))if(o>t&&r._zod.def.when(n)){let t=n.issues.length;return r._zod.check(n),n.issues[t].continue=!1,CZ(n.issues,t,e),n}}return i(n,a)}}function f8t(e,t,n){e.issues.length&&t.issues.push(...xZ(n,e.issues)),t.value[n]=e.value}function uQ(e,t,n,r,i,a){let o=n in r,s=a===`optional`;if(o||!s||i!==`optional`){if(e.issues.length){if(i!==void 0&&s&&!o)return;t.issues.push(...xZ(n,e.issues))}!o&&i===void 0?e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]}):e.value===void 0?(o||i===`defaulted`&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}function p8t(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:n5t,i=r.length?[...t,...r]:t;for(let t of i)if(!e.shape?.[t]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${String(t)}": expected a Zod schema`);let a=s3t(e.shape);return{...e,allKeys:i,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(a)}}function m8t(e,t,n,r,i,a,o){let s=[],c=i.keySet,l=i.catchall._zod,u=l.def.type,d=l.optin,f=l.optout,p=0;for(let i in t){if(o&&n.issues.length!==p){if(bZ(n,p))break;p=n.issues.length}if(c.has(i))continue;if(i===`__proto__`){u===`never`&&s.push(i);continue}if(u===`never`){s.push(i);continue}let a=l.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>uQ(e,n,i,t,d,f))):uQ(a,n,i,t,d,f)}return s.length&&n.issues.push({code:`unrecognized_keys`,keys:s,input:t,inst:a,continue:!0}),e.length?Promise.all(e).then(()=>n):n}function h8t(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!bZ(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>wZ(e,r,RZ())))}),t)}function g8t(e){let t=new Map;for(let n of e.options){let r=n._zod.propValues?.[e.discriminator];if(!r||r.size===0)throw Error(`Invalid discriminated union option at index "${e.options.indexOf(n)}"`);for(let e of r)if(t.has(e)){if(e!==void 0)throw Error(`Duplicate discriminator value "${String(e)}"`);t.set(e,null)}else t.set(e,n)}return t}function dQ(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(hZ(e)&&hZ(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};Object.prototype.hasOwnProperty.call(i,`__proto__`)&&delete i.__proto__;for(let n of r){if(n===`__proto__`)continue;let r=dQ(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=dQ(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function _8t(e,t,n){let r=new Map,i,a=new Map,o=(e,t)=>{let n;if(e.code===`unrecognized_keys`&&!e.path?.length)i??=e,n=e.keys;else if(e.code===`invalid_key`&&e.origin===`record`&&e.path?.length===1){let t=String(e.path[0]);a.has(t)||a.set(t,e),n=[t]}else return!1;for(let e of n)r.has(e)||r.set(e,{}),r.get(e)[t]=!0;return!0};for(let n of t.issues)o(n,`l`)||e.issues.push(n);for(let t of n.issues)o(t,`r`)||e.issues.push(t);let s=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(s.length){let t=i?s.filter(e=>i.keys.includes(e)):[];t.length&&e.issues.push({...i,keys:t});for(let n of s)!t.includes(n)&&a.has(n)&&e.issues.push(a.get(n))}let c=dQ(t.value,n.value);if(!c.valid){if(bZ(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}function v8t(e,t){return e.value=t.issues.length?void 0:t.value,e}function y8t(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function b8t(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function x8t(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(e=>wZ(e,r,RZ()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}function fQ(e,t,n){return e.issues.some(e=>e.code!==`unrecognized_keys`)?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}function S8t(e){return e.memo||(e.value=Object.freeze(e.value)),e}function C8t(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(DZ(e))}}var pQ,mQ,hQ,gQ,w8t,T8t,E8t,D8t,O8t,k8t,A8t,j8t,M8t,N8t,P8t,F8t,I8t,L8t,R8t,z8t,B8t,V8t,H8t,U8t,W8t,_Q,G8t,vQ,K8t,q8t,J8t,yQ,Y8t,X8t,Z8t,Q8t,$8t,e5t,t5t,n5t,r5t,i5t,bQ,a5t,o5t,s5t,c5t,l5t,u5t,xQ,d5t,f5t,p5t,m5t,h5t,g5t,_5t,v5t,y5t,b5t,SQ=s((()=>{lQ(),WZ(),Y6t(),nQ(),IZ(),Z6t(),pQ=LZ(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=X6t;let r=e._zod.def.checks,i=e._zod.traits.has(`$ZodCheck`)?[e,...r??[]]:r?.length?[...r]:[];for(let t of i)for(let n of t._zod.onattach)n(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(t,n,r)=>{if(t.memo)return t;let i=bZ(t),a;for(let o of n){if(o._zod.def.when){if(g3t(t)||!o._zod.def.when(t))continue}else if(i)continue;let n=t.issues.length,s=o._zod.check(t);if(s instanceof Promise&&r?.async===!1)throw new VZ;if(a||s instanceof Promise)a=(a??Promise.resolve()).then(async()=>{await s,t.issues.length!==n&&(CZ(t.issues,n,e),i||=bZ(t,n))});else{if(t.issues.length===n)continue;CZ(t.issues,n,e),i||=bZ(t,n)}}return a?a.then(()=>t):t},n=(n,r,a)=>{if(bZ(n))return n.aborted=!0,n;let o=t(r,i,a);if(o instanceof Promise){if(a.async===!1)throw new VZ;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(r,a)=>{if(a.skipChecks)return e._zod.parse(r,a);if(a.direction===`backward`){let t=e._zod.parse({value:r.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,r,a)):n(t,r,a)}let o=e._zod.parse(r,a);if(o instanceof Promise){if(a.async===!1)throw new VZ;return o.then(e=>t(e,i,a))}return t(o,i,a)}}},{get"~standard"(){return kZ(this,`~standard`,$6t(this))},set"~standard"(e){OZ(this,`~standard`,e)}}),mQ=(e,t)=>e.issues.length?{issues:e.issues.map(e=>wZ(e,t,RZ()))}:{value:e.value},hQ=LZ(`$ZodString`,(e,t)=>{pQ.init(e,t),e._zod.pattern=t.pattern??O6t,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),gQ=LZ(`$ZodStringFormat`,(e,t)=>{cQ.init(e,t),hQ.init(e,t)}),w8t=LZ(`$ZodGUID`,(e,t)=>{t.pattern??=g6t,gQ.init(e,t)}),T8t=LZ(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=$Z(e)}else t.pattern??=$Z();gQ.init(e,t)}),E8t=LZ(`$ZodEmail`,(e,t)=>{t.pattern??=_6t,gQ.init(e,t)}),D8t=/[\t\n\r]/g,O8t=LZ(`$ZodURL`,(e,t)=>{gQ.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=t8t(r,t);if(i===1){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}if(i===2){n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort});return}if(i===!0){n.value=r8t(r);return}t.hostname&&!i8t(i,t.hostname)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!a8t(i,t.protocol)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?i.href:r8t(r);return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),k8t=LZ(`$ZodEmoji`,(e,t)=>{t.pattern??=a6t(),gQ.init(e,t)}),A8t=LZ(`$ZodNanoID`,(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??=t.length===void 0?m6t:i6t(t.length),gQ.init(e,t)}),j8t=LZ(`$ZodCUID`,(e,t)=>{t.pattern??=l6t,gQ.init(e,t)}),M8t=LZ(`$ZodCUID2`,(e,t)=>{t.pattern??=u6t,gQ.init(e,t)}),N8t=LZ(`$ZodULID`,(e,t)=>{t.pattern??=d6t,gQ.init(e,t)}),P8t=LZ(`$ZodXID`,(e,t)=>{t.pattern??=f6t,gQ.init(e,t)}),F8t=LZ(`$ZodKSUID`,(e,t)=>{t.pattern??=p6t,gQ.init(e,t)}),I8t=LZ(`$ZodISODateTime`,(e,t)=>{t.pattern??=c6t(t),gQ.init(e,t)}),L8t=LZ(`$ZodISODate`,(e,t)=>{t.pattern??=D6t,gQ.init(e,t)}),R8t=LZ(`$ZodISOTime`,(e,t)=>{t.pattern??=s6t(t),gQ.init(e,t)}),z8t=LZ(`$ZodISODuration`,(e,t)=>{t.pattern??=h6t,gQ.init(e,t)}),B8t=LZ(`$ZodIPv4`,(e,t)=>{t.pattern??=y6t,gQ.init(e,t)}),V8t=/^[0-9a-fA-F:.]+$/,H8t=LZ(`$ZodIPv6`,(e,t)=>{t.pattern??=b6t,gQ.init(e,t),e._zod.check=n=>{o8t(n.value)||n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}),U8t=LZ(`$ZodCIDRv4`,(e,t)=>{t.pattern??=x6t,gQ.init(e,t)}),W8t=LZ(`$ZodCIDRv6`,(e,t)=>{t.pattern??=S6t,gQ.init(e,t),e._zod.check=n=>{s8t(n.value)||n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}),_Q=/^[0-9a-zA-Z+/]*={0,2}$/,G8t=LZ(`$ZodBase64`,(e,t)=>{t.pattern??=_Q,gQ.init(e,t),e._zod.check=n=>{c8t(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),vQ=/^[A-Za-z0-9_-]*$/,K8t=LZ(`$ZodBase64URL`,(e,t)=>{t.pattern??=vQ,gQ.init(e,t),e._zod.check=n=>{l8t(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),q8t=LZ(`$ZodE164`,(e,t)=>{t.pattern??=E6t,gQ.init(e,t)}),J8t=LZ(`$ZodJWT`,(e,t)=>{gQ.init(e,t),e._zod.check=n=>{u8t(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),yQ=LZ(`$ZodNumber`,(e,t)=>{pQ.init(e,t),e._zod.pattern=tQ,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:String(i):void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),Y8t=LZ(`$ZodNumberFormat`,(e,t)=>{I6t.init(e,t),yQ.init(e,t)}),X8t=LZ(`$ZodBoolean`,(e,t)=>{pQ.init(e,t),e._zod.pattern=A6t,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),Z8t=LZ(`$ZodNull`,(e,t)=>{pQ.init(e,t),e._zod.pattern=j6t,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),Q8t=LZ(`$ZodUnknown`,(e,t)=>{pQ.init(e,t),e._zod.parse=e=>e}),$8t=LZ(`$ZodNever`,(e,t)=>{pQ.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)}),e5t=e=>Array.isArray(e)?e.length:-1,t5t=LZ(`$ZodArray`,(e,t)=>{pQ.init(e,t);let n=UZ.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({expected:`array`,code:`invalid_type`,input:a,inst:e}),r;r.value=n?n.alloc(e,r,Array(a.length),i):Array(a.length);let o=[],s=i?.abortEarly;for(let e=0;e<a.length;e++){let n=a[e],c=t.element._zod.run({value:n,issues:[]},i);if(c instanceof Promise)o.push(c.then(t=>f8t(t,r,e)));else if(f8t(c,r,e),s&&c.issues.length!==0&&bZ(c))break}return o.length?Promise.all(o).then(()=>r):r},d8t(e,e5t)}),n5t=[],r5t=LZ(`$ZodObject`,(e,t)=>{pQ.init(e,t);let n=Object.getOwnPropertyDescriptor(t,`shape`),r=n?.get?n.get.raw:t.shape??{};if(r){let e=()=>{let n={...r};return Object.defineProperty(t,"shape",{value:n}),e.raw=n,n};e.raw=r,Object.defineProperty(t,"shape",{get:e})}let i=sZ(()=>p8t(t));AZ(e,`propValues`,e=>{let t=e.def.shape,n={};for(let e in t){let r=t[e]._zod;if(r.values){Object.prototype.hasOwnProperty.call(n,e)||lZ(n,e,new Set);for(let t of r.values)n[e].add(t);r.optin!==void 0&&n[e].add(void 0)}}return n});let a=mZ,o=t.catchall,s,c=UZ.memoizer;c?.attach(e),e._zod.parse=(t,n)=>{s??=i.value;let r=t.value;if(!a(r))return t.issues.push({expected:`object`,code:`invalid_type`,input:r,inst:e}),t;t.value=c?c.alloc(e,t,{},n):{};let l=[],u=s.shape,d=n?.abortEarly,f=t.issues.length;for(let e of s.allKeys){if(d&&t.issues.length!==f){if(bZ(t,f))break;f=t.issues.length}if(e===`__proto__`)continue;let i=u[e],a=i._zod.optin,o=i._zod.optout,s=i._zod.run({value:r[e],issues:[]},n);s instanceof Promise?l.push(s.then(n=>uQ(n,t,e,r,a,o))):uQ(s,t,e,r,a,o)}return o?m8t(l,r,t,n,i.value,e,d===!0):l.length?Promise.all(l).then(()=>t):t}}),i5t=LZ(`$ZodObjectJIT`,(e,t)=>{r5t.init(e,t);let n=e._zod.parse,r=sZ(()=>p8t(t)),i=UZ.memoizer,a=t=>{let n=r.value,a=n.symbolKeys,o=new J6t([`payload`,`ctx`],{shape:t,inst:e,memo:i,syms:a}),s=e=>`shape[${e}]._zod.run({ value: input[${e}], issues: [] }, ctx)`,c=(e,t)=>`
+ let ${e}_ab = false;
+ for (let i = 0; i < ${e}.issues.length; i++) {
+ const iss = ${e}.issues[i];
+ iss.path = iss.path ? [${t}, ...iss.path] : [${t}];
+ payload.issues.push(iss);
+ if (iss.continue !== true) ${e}_ab = true;
+ }
+ if (${e}_ab && ctx && ctx.abortEarly) {
+ payload.value = newResult;
+ return payload;
+ }`;o.write(`const input = payload.value;`);let l=Object.create(null),u=0;for(let e of n.allKeys)l[e]=`key_${u++}`;o.write(i?`const newResult = memo.alloc(inst, payload, {}, ctx);`:`const newResult = {};`);for(let e of n.allKeys){if(e===`__proto__`)continue;let n=l[e],r=typeof e==`symbol`?`syms[${a.indexOf(e)}]`:r3t(e),i=`${r} in input`,u=t[e],d=u?._zod?.optin,f=d!==void 0,p=u?._zod?.optout===`optional`;if(o.write(`const ${n} = ${s(r)};`),f&&p){let e=d===`optional`?`${n}_present`:`${n}.value !== undefined || ${n}_present`;o.write(`
+ const ${n}_present = ${i};
+ if (!${n}.issues.length || ${n}_present) {
+ if (${n}.issues.length) {${c(n,r)}
+ }
+
+ if (${e}) {
+ newResult[${r}] = ${n}.value;
+ }
+ }
+
+ `)}else f?(o.write(`
+ if (${n}.issues.length) {${c(n,r)}
+ }
+ `),d===`defaulted`?o.write(`newResult[${r}] = ${n}.value;`):o.write(`
+ if (${n}.value !== undefined || ${i}) {
+ newResult[${r}] = ${n}.value;
+ }
+ `)):o.write(`
+ const ${n}_present = ${i};
+ if (${n}.issues.length) {${c(n,r)}
+ }
+ if (!${n}_present && !${n}.issues.length) {
+ payload.issues.push({
+ code: "invalid_type",
+ expected: "nonoptional",
+ input: undefined,
+ path: [${r}]
+ });
+ if (ctx && ctx.abortEarly) {
+ payload.value = newResult;
+ return payload;
+ }
+ }
+
+ if (${n}_present) {
+ newResult[${r}] = ${n}.value;
+ }
+
+ `)}return o.write(`payload.value = newResult;`),o.write(`return payload;`),o.compile()},o,s=mZ,c=!UZ.jitless,l=c&&E3t.value,u=t.catchall,d;e._zod.parse=(i,f)=>{d??=r.value;let p=i.value;return s(p)?c&&l&&f?.async===!1&&f.jitless!==!0?(o||=a(t.shape),i=o(i,f),u?m8t([],p,i,f,d,e,f?.abortEarly===!0):i):n(i,f):(i.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),i)}}),bQ=LZ(`$ZodUnion`,(e,t)=>{pQ.init(e,t),AZ(e,`optin`,e=>e.def.options.some(e=>e._zod.optin===`defaulted`)?`defaulted`:e.def.options.some(e=>e._zod.optin!==void 0)?`optional`:void 0),AZ(e,`optout`,e=>e.def.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),AZ(e,`values`,e=>{if(e.def.options.every(e=>e._zod.values))return new Set(e.def.options.flatMap(e=>Array.from(e._zod.values)))}),AZ(e,`pattern`,e=>{if(e.def.options.every(e=>e._zod.pattern)){let t=e.def.options.map(e=>e._zod.pattern);return RegExp(`^(${t.map(e=>cZ(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>h8t(t,r,e,i)):h8t(o,r,e,i)}}),a5t=LZ(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,bQ.init(e,t);let n=e._zod.parse;AZ(e,`propValues`,e=>{let t={},n=0;for(let r of e.def.options){let i=r._zod.propValues;if(!i||Object.keys(i).length===0)throw Error(`Invalid discriminated union option at index "${e.def.options.indexOf(r)}"`);i[e.def.discriminator]?.has(void 0)&&n++;for(let[e,n]of Object.entries(i)){Object.prototype.hasOwnProperty.call(t,e)||lZ(t,e,new Set);for(let r of n)t[e].add(r)}}return!e.def.unionFallback&&n>1&&t[e.def.discriminator]?.delete(void 0),t}),t.options.forEach((e,n)=>{let r=uZ(e._zod.def);if(r&&!Object.prototype.hasOwnProperty.call(r,t.discriminator))throw Error(`Invalid discriminated union option at index "${n}"`)});let r=sZ(()=>g8t(t));e._zod.parse=(i,a)=>{let o=i.value;if(!mZ(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=o?.[t.discriminator],c=r.value.get(s);return c&&(s!==void 0||a.direction!==`backward`)?c._zod.run(i,a):t.unionFallback||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()).filter(e=>r.value.get(e)!==null),input:o,path:[t.discriminator],inst:e}),i)}}),o5t=LZ(`$ZodIntersection`,(e,t)=>{pQ.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>_8t(e,t,n)):_8t(e,i,a)}}),s5t=LZ(`$ZodRecord`,(e,t)=>{pQ.init(e,t);let n=UZ.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!hZ(a))return r.issues.push({expected:`record`,code:`invalid_type`,input:a,inst:e}),r;let o=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},i):{};let c=new Set;for(let n of s)if(typeof n==`string`||typeof n==`number`||typeof n==`symbol`){if(c.add(typeof n==`number`?n.toString():n),n===`__proto__`)continue;let s=t.keyType._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(s.issues.length){r.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>wZ(e,i,RZ())),input:n,path:[n],inst:e});continue}let l=s.value;if(l===`__proto__`)continue;let u=t.valueType._zod.run({value:a[n],issues:[]},i);u instanceof Promise?o.push(u.then(e=>{e.issues.length&&r.issues.push(...xZ(n,e.issues)),r.value[l]=e.value})):(u.issues.length&&r.issues.push(...xZ(n,u.issues)),r.value[l]=u.value)}let l;for(let e in a)if(!c.has(e)){if(t.mode===`loose`){if(e===`__proto__`)continue;r.value[e]=a[e]}else l??=[],l.push(e)}l&&l.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:l,continue:!0})}else{r.value=n?n.alloc(e,r,{},i):{};let c;for(let n of Reflect.ownKeys(a)){if(n===`__proto__`||!Object.prototype.propertyIsEnumerable.call(a,n))continue;let l=t.keyType._zod.run({value:n,issues:[]},i);if(l instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof n==`string`&&tQ.test(n)&&l.issues.length){let e=t.keyType._zod.run({value:Number(n),issues:[]},i);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(l=e)}if(l.issues.length){t.mode===`loose`?r.value[n]=a[n]:s?(c??=[],c.push(n)):r.issues.push({code:`invalid_key`,origin:`record`,issues:l.issues.map(e=>wZ(e,i,RZ())),input:n,path:[n],inst:e});continue}let u=l.value;if(u===`__proto__`)continue;let d=t.valueType._zod.run({value:a[n],issues:[]},i);d instanceof Promise?o.push(d.then(e=>{e.issues.length&&r.issues.push(...xZ(n,e.issues)),r.value[u]=e.value})):(d.issues.length&&r.issues.push(...xZ(n,d.issues)),r.value[u]=d.value)}c&&c.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:c,continue:!0})}return o.length?Promise.all(o).then(()=>r):r}}),c5t=LZ(`$ZodEnum`,(e,t)=>{pQ.init(e,t);let n=aZ(t.entries),r=new Set(n);e._zod.values=r,AZ(e,`pattern`,e=>{let t=aZ(e.def.entries).filter(e=>D3t.has(typeof e));return RegExp(t.length?`^(${t.map(e=>gZ(e.toString())).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),l5t=LZ(`$ZodLiteral`,(e,t)=>{pQ.init(e,t);let n=new Set(t.values);e._zod.values=n,AZ(e,`pattern`,e=>{let t=e.def.values;return RegExp(t.length?`^(${t.map(e=>typeof e==`string`?gZ(e):e?gZ(e.toString()):String(e)).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),u5t=LZ(`$ZodTransform`,(e,t)=>{pQ.init(e,t),e._zod.optin=`optional`,UZ.memoizer?.guard(e),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new HZ(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new VZ;return n.value=i,n}}),xQ=LZ(`$ZodOptional`,(e,t)=>{pQ.init(e,t),AZ(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),e._zod.optout=`optional`,AZ(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t,void 0]):void 0}),AZ(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${cZ(t.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(e.value===void 0){if(t.innerType._zod.optin!==`defaulted`)return e;let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(t=>v8t(e,t)):v8t(e,r)}return t.innerType._zod.run(e,n)}}),d5t=LZ(`$ZodExactOptional`,(e,t)=>{xQ.init(e,t),AZ(e,`values`,e=>e.def.innerType._zod.values),AZ(e,`pattern`,e=>e.def.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),f5t=LZ(`$ZodNullable`,(e,t)=>{pQ.init(e,t),AZ(e,`optin`,e=>e.def.innerType._zod.optin),AZ(e,`optout`,e=>e.def.innerType._zod.optout),AZ(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${cZ(t.source)}|null)$`):void 0}),AZ(e,`values`,e=>e.def.innerType._zod.values?new Set([...e.def.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),p5t=LZ(`$ZodDefault`,(e,t)=>{pQ.init(e,t),e._zod.optin=`defaulted`,AZ(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>y8t(e,t)):y8t(r,t)}}),m5t=LZ(`$ZodPrefault`,(e,t)=>{pQ.init(e,t),e._zod.optin=`defaulted`,AZ(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),h5t=LZ(`$ZodNonOptional`,(e,t)=>{pQ.init(e,t),AZ(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>b8t(t,e)):b8t(i,e)}}),g5t=LZ(`$ZodCatch`,(e,t)=>{pQ.init(e,t),AZ(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),AZ(e,`optout`,e=>e.def.innerType._zod.optout),AZ(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(r=>x8t(e,r,t,n)):x8t(e,r,t,n)}}),_5t=LZ(`$ZodPipe`,(e,t)=>{pQ.init(e,t),AZ(e,`values`,e=>e.def.in._zod.values),AZ(e,`optin`,e=>e.def.in._zod.optin),AZ(e,`optout`,e=>e.def.out._zod.optout),AZ(e,`propValues`,e=>e.def.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>fQ(e,t.in,n)):fQ(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>fQ(e,t.out,n)):fQ(r,t.out,n)}}),v5t=LZ(`$ZodReadonly`,(e,t)=>{pQ.init(e,t),AZ(e,`propValues`,e=>e.def.innerType._zod.propValues),AZ(e,`values`,e=>e.def.innerType._zod.values),AZ(e,`optin`,e=>e.def.innerType?._zod?.optin),AZ(e,`optout`,e=>e.def.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(S8t):S8t(r)}}),y5t=LZ(`$ZodLazy`,(e,t)=>{pQ.init(e,t),$4t(e._zod,`innerType`,()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),AZ(e,`pattern`,e=>e.innerType?._zod?.pattern),AZ(e,`propValues`,e=>e.innerType?._zod?.propValues),AZ(e,`optin`,e=>e.innerType?._zod?.optin??void 0),AZ(e,`optout`,e=>e.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),b5t=LZ(`$ZodCustom`,(e,t)=>{rQ.init(e,t),pQ.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>C8t(t,n,r,e));C8t(i,n,r,e)}})}));function x5t(e){return typeof e==`object`&&!!e}function CQ(e){return e.map(e=>e.path?{...e,path:e.path.slice()}:{...e})}function wQ(e,t,n){let r=DQ.get(e);if(r!==void 0)return r?AQ:OQ;if(t.has(e))return AQ;t.add(e);let i=OQ,a=e=>{if(i!==AQ&&e?._zod){let r=wQ(e,t,n);r>i&&(i=r)}},o=(e,r)=>{let i=OQ;for(let a of Reflect.ownKeys(e)){let o=Object.getOwnPropertyDescriptor(e,a);if(r&&!o.enumerable)continue;let s=o.get?kQ:o.value?._zod?wQ(o.value,t,n):OQ;s>i&&(i=s)}return i},s=e=>{e>i&&(i=e)},c=e._zod.def;switch(c.type){case`object`:{let e=uZ(c);s(e?o(e,!0):kQ),a(c.catchall);break}case`array`:a(c.element);break;case`tuple`:for(let e of c.items)a(e);a(c.rest);break;case`record`:case`map`:a(c.keyType),a(c.valueType);break;case`set`:a(c.valueType);break;case`union`:for(let e of c.options)a(e);break;case`intersection`:a(c.left),a(c.right);break;case`optional`:case`nullable`:case`default`:case`prefault`:case`catch`:case`readonly`:case`nonoptional`:case`promise`:case`success`:a(c.innerType);break;case`pipe`:a(c.in),a(c.out);break;case`function`:a(c.input),a(c.output);break;case`lazy`:{let r=c._cachedInner??(n?e._zod.innerType:void 0);s(r?wQ(r,t,!1):kQ);break}case`template_literal`:case`string`:case`number`:case`int`:case`boolean`:case`bigint`:case`symbol`:case`undefined`:case`null`:case`void`:case`never`:case`any`:case`unknown`:case`date`:case`nan`:case`enum`:case`literal`:case`file`:case`transform`:case`custom`:break;default:for(let e in c){let t=Object.getOwnPropertyDescriptor(c,e);if(!t||t.get)continue;let n=t.value;if(n&&typeof n==`object`){if(n._zod)a(n);else if(Array.isArray(n))for(let e of n)a(e)}}}return t.delete(e),S5t(e,i)}function S5t(e,t){return t!==kQ&&DQ.set(e,t===AQ),t}function C5t(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}function w5t(){return D5t}function T5t(e,t){let n=e[TQ]?.backEdges;return n!==void 0&&x5t(t)&&n.has(t)}var E5t,TQ,EQ,DQ,OQ,kQ,AQ,jQ,MQ,D5t,O5t=s((()=>{IZ(),E5t=class extends Error{constructor(){super(`Cannot parse a reference cycle that closes through a transform`),this.name=`ZodCyclicError`}},TQ=`~memo`,EQ=[],DQ=new WeakMap,OQ=0,kQ=1,AQ=2,MQ=[],D5t={alloc(e,t,n){let r=jQ;if(!r)return n;jQ=void 0;let i={value:n,issues:null};return r.set(t.value,i),MQ.push(i),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,n=(e,n)=>{if(n.direction!==`backward`&&T5t(n,e.value))throw new E5t;return t(e,n)};e._zod.parse=n,e._zod.run===t&&(e._zod.run=n)})},attach(e){var t;let n,r=!1,i,a;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,o=(s,c)=>{if(n===void 0){let i=wQ(e,new Set,!1);if(i===OQ)return e._zod.parse=t,e._zod.run===o&&(e._zod.run=t),t(s,c);i===AQ||r?n=!0:r=!0}let l=s.value;if(!x5t(l))return t(s,c);let u=c[TQ];u||(u={buckets:new WeakMap,backEdges:void 0},c[TQ]=u);let d;i===c?d=a:(d=C5t(u,e),i=c,a=d);let f=d.get(l);if(f)return s.value=f.value,f.issues?f.issues.length&&s.issues.push(...CQ(f.issues)):(s.memo=!0,u.backEdges??(u.backEdges=new WeakSet),u.backEdges.add(f.value)),s;jQ=d;let p=MQ.length,m=t(s,c);jQ=void 0;let h=MQ.length>p?MQ.pop():void 0;return m instanceof Promise?m.then(e=>(h&&(h.issues=e.issues.length?CQ(e.issues):EQ),e)):(h&&(h.issues=m.issues.length?CQ(m.issues):EQ),m)};e._zod.parse=o,e._zod.run===t&&(e._zod.run=o)})}}}));function k5t(){return{localeError:A5t()}}var A5t,NQ=s((()=>{IZ(),A5t=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,currency_code:`currency code`,credit_card:`credit card number`,iban:`IBAN`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};function i(e,t){return e===`number`&&typeof t==`number`&&!Number.isFinite(t)?String(t):r[e]??e}return e=>{switch(e.code){case`invalid_type`:return`Invalid input: expected ${i(e.expected)}, received ${i(v3t(e.input),e.input)}`;case`invalid_value`:return e.values.length===1?`Invalid input: expected ${o3t(e.values[0])}`:`Invalid option: expected one of ${X4t(e.values,`|`)}`;case`too_big`:{let n=e.exact?`exactly `:e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.exact?`exactly `:e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with "${t.prefix}"`:t.format===`ends_with`?`Invalid string: must end with "${t.suffix}"`:t.format===`includes`?`Invalid string: must include "${t.includes}"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${X4t(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(e=>`'${e}'`).join(` | `)}`:e.inclusive===!1?`Invalid input: more than one option matched`:`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}}}));function j5t(){return new N5t}var M5t,N5t,PQ,FQ=s((()=>{N5t=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}},(M5t=globalThis).__zod_globalRegistry??(M5t.__zod_globalRegistry=j5t()),PQ=globalThis.__zod_globalRegistry})),P5t=s((()=>{}));function F5t(e){return e.checks&&=[...e.checks],e}function I5t(e,t){return new e(F5t({type:`string`,...vZ(t)}))}function L5t(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...vZ(t)})}function R5t(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...vZ(t)})}function z5t(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...vZ(t)})}function B5t(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...vZ(t)})}function V5t(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...vZ(t)})}function H5t(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...vZ(t)})}function U5t(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...vZ(t)})}function W5t(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...vZ(t)})}function G5t(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...vZ(t)})}function K5t(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...vZ(t)})}function q5t(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...vZ(t)})}function J5t(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...vZ(t)})}function Y5t(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...vZ(t)})}function X5t(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...vZ(t)})}function Z5t(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...vZ(t)})}function Q5t(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...vZ(t)})}function $5t(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...vZ(t)})}function e7t(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...vZ(t)})}function t7t(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...vZ(t)})}function n7t(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...vZ(t)})}function r7t(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...vZ(t)})}function i7t(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...vZ(t)})}function a7t(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...vZ(t)})}function o7t(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...vZ(t)})}function s7t(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...vZ(t)})}function c7t(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...vZ(t)})}function l7t(e,t){return new e(F5t({type:`number`,checks:[],...vZ(t)}))}function u7t(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...vZ(t)})}function d7t(e,t){return new e({type:`boolean`,...vZ(t)})}function f7t(e,t){return new e({type:`null`,...vZ(t)})}function p7t(e){return new e({type:`unknown`})}function m7t(e,t){return new e({type:`never`,...vZ(t)})}function h7t(e,t){return new oQ({check:`less_than`,...vZ(t),value:e,inclusive:!1})}function IQ(e,t){return new oQ({check:`less_than`,...vZ(t),value:e,inclusive:!0})}function g7t(e,t){return new sQ({check:`greater_than`,...vZ(t),value:e,inclusive:!1})}function LQ(e,t){return new sQ({check:`greater_than`,...vZ(t),value:e,inclusive:!0})}function _7t(e,t){return new F6t({check:`multiple_of`,...vZ(t),value:e})}function v7t(e,t){return new L6t({check:`max_length`,...vZ(t),maximum:e})}function RQ(e,t){return new R6t({check:`min_length`,...vZ(t),minimum:e})}function y7t(e,t){return new z6t({check:`length_equals`,...vZ(t),length:e})}function b7t(e,t){return new B6t({check:`string_format`,format:`regex`,...vZ(t),pattern:e})}function x7t(e){return new V6t({check:`string_format`,format:`lowercase`,...vZ(e)})}function S7t(e){return new H6t({check:`string_format`,format:`uppercase`,...vZ(e)})}function C7t(e,t){return new U6t({check:`string_format`,format:`includes`,...vZ(t),includes:e})}function w7t(e,t){return new W6t({check:`string_format`,format:`starts_with`,...vZ(t),prefix:e})}function T7t(e,t){return new G6t({check:`string_format`,format:`ends_with`,...vZ(t),suffix:e})}function E7t(e,t){return new K6t({check:`properties`,shape:e,...vZ(t)})}function zQ(e){return new q6t({check:`overwrite`,tx:e})}function D7t(e){return zQ(t=>t.normalize(e))}function O7t(){return zQ(e=>e.trim())}function k7t(){return zQ(e=>e.toLowerCase())}function A7t(){return zQ(e=>e.toUpperCase())}function j7t(){return zQ(e=>i3t(e))}function M7t(e,t,n){return new e({type:`array`,element:t,...vZ(n)})}function N7t(e,t,n){let r=vZ(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function P7t(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...vZ(n)})}function F7t(e,t){let n=I7t(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(DZ(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,`input`in r||(r.input=t.value),r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(DZ(r))}},e(t.value,t)),t);return n}function I7t(e,t){let n=new rQ({check:`custom`,...vZ(t)});return n._zod.check=e,n}var L7t=s((()=>{lQ(),IZ()}));function BQ(e,...t){for(let n of t)for(let t of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,t)&&lZ(e,t,n[t]);return e}function VQ(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??PQ,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,intersections:[],deferred:[],external:e?.external??void 0}}function HQ(e,t,n,r,i){let a=typeof t.unrepresentable==`function`?t.unrepresentable({zodSchema:e,path:r.path,message:i}):t.unrepresentable;if(a===`any`)return!1;if(a===void 0||a===`throw`)throw Error(i);return Object.assign(n,a),!0}function UQ(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,UQ(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&BQ(o.schema,c),t.io===`input`&&qQ(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function R7t(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function WQ(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);if(e.external&&e.sharedDefsExtractedFor===e.external)return;let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${R7t(a)}`}}let i=`#/${r}/`;if(t[1]===n&&!t[1].schema.id)return{ref:`#`};let a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+R7t(a)}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
+
+Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function z7t(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;z7t(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}function B7t(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function GQ(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!JQ.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??B7t(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}lZ(n,r,e.length===1?e[0]:GQ(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=B7t(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function V7t(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of JQ)if(t in e)return;let n=t.filter(e=>YQ.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=GQ(t);else{let e=n[0],i=YQ.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>GQ([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,BQ(e,r))}function KQ(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):BQ(i,s),BQ(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())z7t(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])V7t(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}BQ(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,lZ(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:XQ(t,`input`,e.processors),output:XQ(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function qQ(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return qQ(r.element,n);if(r.type===`set`)return qQ(r.valueType,n);if(r.type===`lazy`)return qQ(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return qQ(r.innerType,n);if(r.type===`intersection`)return qQ(r.left,n)||qQ(r.right,n);if(r.type===`record`||r.type===`map`)return qQ(r.keyType,n)||qQ(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:qQ(r.in,n)||qQ(r.out,n);if(r.type===`object`){for(let e in r.shape)if(qQ(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(qQ(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(qQ(e,n))return!0;return!!(r.rest&&qQ(r.rest,n))}return!1}var JQ,YQ,H7t,XQ,ZQ=s((()=>{FQ(),IZ(),JQ=new Set([`type`,`properties`,`required`,`additionalProperties`]),YQ=[`oneOf`,`anyOf`],H7t=(e,t={})=>n=>{let r=VQ({...n,processors:t});return UQ(e,r),WQ(r,e),KQ(r,e)},XQ=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=VQ({...i??{},target:a,io:t,processors:n});return UQ(e,o),WQ(o,e),KQ(o,e)}}));function QQ(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)K7t[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&t$(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&t$(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&n$(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&n$(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&i$(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&o$(t,i.mime);for(let e of i.patterns??[])a$(t,e);return t}function $Q(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?$Q(t.out):t.type===`catch`?$Q(t.innerType):e._zod.optin}function e$(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let r=e.get(t)?.def;if(!r)return t;let i=e$(e,r,n);return i===r?t:i}for(let r of[`anyOf`,`oneOf`]){let i=t[r];if(!Array.isArray(i))continue;let a=i.map(t=>e$(e,t,n));a.some((e,t)=>e!==i[t])&&(t={...t,[r]:a})}let r=Array.isArray(t.type)?t.type:[t.type],i=!r.includes(`string`)&&r.some(e=>e===`number`||e===`integer`),a=t.enum??(t.const===void 0?void 0:[t.const]);if(!i&&!a?.some(e=>typeof e==`number`))return t;let{minimum:o,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:u,format:d,id:f,...p}=t;return p.enum?p.enum=p.enum.map(e=>typeof e==`number`?String(e):e):typeof p.const==`number`&&(p.const=String(p.const)),i&&(p.type=`string`,a||(p.pattern=(r.includes(`number`)?tQ:k6t).source)),p}function U7t(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let n=new Map;for(let r of E$.get(e)??[]){let i=e.seen.get(r),a=(i?.def??i?.schema)?.propertyNames;if(!a||a===!0||n.has(a))continue;let o=e$(t,a,new Set);o!==a&&n.set(a,o)}if(n.size)for(let t of e.seen.values())for(let e of[t.schema,t.def]){let t=e&&n.get(e.propertyNames);t&&(e.propertyNames=t)}}function W7t(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(HQ(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),A$):JSON.parse(o)}function G7t(e,t){if(`_idmap`in e){let n=e,r=VQ({...t,processors:R$}),i={};for(let e of n._idmap.entries()){let[t,n]=e;UQ(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;WQ(r,n),lZ(a,t,KQ(r,n))}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=VQ({...t,processors:R$});return UQ(e,n),WQ(n,e),KQ(n,e)}var t$,n$,r$,i$,a$,o$,s$,c$,l$,u$,K7t,q7t,J7t,d$,f$,p$,m$,Y7t,X7t,h$,Z7t,Q7t,g$,$7t,_$,e9t,v$,y$,t9t,n9t,r9t,i9t,b$,a9t,x$,o9t,s9t,S$,C$,w$,T$,c9t,E$,D$,O$,k$,A$,j$,M$,N$,P$,F$,l9t,I$,L$,R$,z$=s((()=>{nQ(),SQ(),ZQ(),IZ(),t$=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},n$=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},r$=(e,t)=>{t$(e,`minimum`,t),n$(e,`maximum`,t)},i$=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},a$=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},o$=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},s$=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},c$=(e,t)=>t$(e,`minimum`,t.minimum),l$=(e,t)=>n$(e,`maximum`,t.maximum),u$=e=>(t,n)=>{s$(t,n.format);let[r,i]=e[n.format];t$(t,`minimum`,r),n$(t,`maximum`,i)},K7t={greater_than:(e,t)=>t$(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>n$(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>i$(e,t.value),number_format:u$(NZ),bigint_format:u$(O3t),min_length:c$,max_length:l$,length_equals:(e,t)=>r$(e,t.length),min_size:c$,max_size:l$,size_equals:(e,t)=>r$(e,t.size),string_format:(e,t)=>{s$(e,t.format),t.pattern&&a$(e,t.pattern),(t.format===`base64`||t.format===`base64url`)&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>o$(e,t.mime)},q7t={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},J7t=new Map([[_Q,C6t],[vQ,w6t]]),d$=e=>J7t.get(e)??e,f$=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=QQ(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=q7t[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(d$);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},p$=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:u}=QQ(e);i.type=u?`integer`:`number`;let d=typeof l==`number`&&l>=(a??-1/0),f=typeof c==`number`&&c<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;if(d?p?(i.minimum=l,i.exclusiveMinimum=!0):i.exclusiveMinimum=l:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c:typeof o==`number`&&(i.maximum=o),s){let n=new Set;for(let a of s)Number.isFinite(a)&&a!==0?n.add(Math.abs(a)):HQ(e,t,i,r,`A multipleOf divisor of ${a} cannot be represented in JSON Schema`);let[a,...o]=n;a!==void 0&&(i.multipleOf=a),o.length&&(i.allOf=[...i.allOf??[],...o.map(e=>({multipleOf:e}))])}},m$=(e,t,n,r)=>{n.type=`boolean`},Y7t=(e,t,n,r)=>{HQ(e,t,n,r,`BigInt cannot be represented in JSON Schema`)},X7t=(e,t,n,r)=>{HQ(e,t,n,r,`Symbols cannot be represented in JSON Schema`)},h$=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},Z7t=(e,t,n,r)=>{HQ(e,t,n,r,`Undefined cannot be represented in JSON Schema`)},Q7t=(e,t,n,r)=>{HQ(e,t,n,r,`Void cannot be represented in JSON Schema`)},g$=(e,t,n,r)=>{n.not={}},$7t=(e,t,n,r)=>{},_$=(e,t,n,r)=>{},e9t=(e,t,n,r)=>{HQ(e,t,n,r,`Date cannot be represented in JSON Schema`)},v$=(e,t,n,r)=>{let i=e._zod.def,a=aZ(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},y$=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(HQ(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(HQ(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},t9t=(e,t,n,r)=>{HQ(e,t,n,r,`NaN cannot be represented in JSON Schema`)},n9t=(e,t,n,r)=>{let i=n,a=e._zod.pattern;if(!a)throw Error(`Pattern not found in template literal`);i.type=`string`,i.pattern=a.source},r9t=(e,t,n,r)=>{let i=n;i.type=`string`,i.format=`binary`,i.contentEncoding=`binary`;let{minimum:a,maximum:o,mime:s}=QQ(e);a!==void 0&&(i.minLength=a),o!==void 0&&(i.maxLength=o),s&&(s.length===0?i.not={}:s.length===1?i.contentMediaType=s[0]:i.anyOf=s.map(e=>({contentMediaType:e})))},i9t=(e,t,n,r)=>{n.type=`boolean`},b$=(e,t,n,r)=>{HQ(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},a9t=(e,t,n,r)=>{HQ(e,t,n,r,`Function types cannot be represented in JSON Schema`)},x$=(e,t,n,r)=>{HQ(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},o9t=(e,t,n,r)=>{HQ(e,t,n,r,`Map cannot be represented in JSON Schema`)},s9t=(e,t,n,r)=>{HQ(e,t,n,r,`Set cannot be represented in JSON Schema`)},S$=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=QQ(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=UQ(a.element,t,{...r,path:[...r.path,`items`]})},C$=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&HQ(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)lZ(i.properties,e,UQ(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?$Q(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=UQ(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},w$=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>UQ(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},T$=(e,t,n,r)=>{let i=e._zod.def,a=UQ(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=UQ(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)},c9t=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>UQ(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?UQ(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null,u=a.items.length;for(;u>0;){let e=a.items[u-1];if(!(t.io===`input`?$Q(e)!==void 0:e._zod.optout===`optional`))break;u--}let d=a.items.length,f=!a.rest;t.target===`draft-2020-12`?(i.prefixItems=c,f?i.items=!1:l&&(i.items=l),u>0&&(i.minItems=u),f&&(i.maxItems=d)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),u>0&&(i.minItems=u),f&&(i.maxItems=d)):(i.items=c,f?i.additionalItems=!1:l&&(i.additionalItems=l),u>0&&(i.minItems=u),f&&(i.maxItems=d));let{minimum:p,maximum:m}=QQ(e);typeof p==`number`&&(i.minItems=p),typeof m==`number`&&(i.maxItems=m)},E$=new WeakMap,D$=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=QQ(o).patterns;if(a.mode===`loose`&&s&&s.size>0){let e=UQ(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)lZ(i.patternProperties,d$(t).source,e)}else{if(t.target===`draft-07`||t.target===`draft-2020-12`){i.propertyNames=UQ(a.keyType,t,{...r,path:[...r.path,`propertyNames`]});let n=E$.get(t);n||(n=[],E$.set(t,n),t.deferred.push(()=>U7t(t))),n.push(e)}i.additionalProperties=UQ(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]})}let c=o._zod.values,l=t.io===`input`&&$Q(a.valueType)!==void 0;if(c&&!a.partial&&!l){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e.map(String))}},O$=(e,t,n,r)=>{let i=e._zod.def,a=UQ(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},k$=(e,t,n,r)=>{let i=e._zod.def;UQ(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},A$=Symbol(),j$=(e,t,n,r)=>{let i=e._zod.def;UQ(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=W7t(i.defaultValue,e,t,n,r);o!==A$&&(n.default=o)},M$=(e,t,n,r)=>{let i=e._zod.def;UQ(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=W7t(i.defaultValue,e,t,n,r);o!==A$&&(n._prefault=o)},N$=(e,t,n,r)=>{let i=e._zod.def;UQ(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{HQ(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},P$=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;UQ(o,t,r);let s=t.seen.get(e);s.ref=o},F$=(e,t,n,r)=>{let i=e._zod.def;UQ(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},l9t=(e,t,n,r)=>{let i=e._zod.def;UQ(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},I$=(e,t,n,r)=>{let i=e._zod.def;UQ(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},L$=(e,t,n,r)=>{let i=e._zod.innerType;UQ(i,t,r);let a=t.seen.get(e);a.ref=i},R$={string:f$,number:p$,boolean:m$,bigint:Y7t,symbol:X7t,null:h$,undefined:Z7t,void:Q7t,never:g$,any:$7t,unknown:_$,date:e9t,enum:v$,literal:y$,nan:t9t,template_literal:n9t,file:r9t,success:i9t,custom:b$,function:a9t,transform:x$,map:o9t,set:s9t,array:S$,object:C$,union:w$,intersection:T$,tuple:c9t,record:D$,nullable:O$,nonoptional:k$,default:j$,prefault:M$,catch:N$,pipe:P$,readonly:F$,promise:l9t,optional:I$,lazy:L$}})),B$=s((()=>{WZ(),r6t(),H3t(),SQ(),O5t(),lQ(),Z6t(),IZ(),nQ(),NQ(),FQ(),Y6t(),P5t(),L7t(),ZQ(),z$(),ZQ()})),V$=s((()=>{B$()}));function H$(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var U$,u9t,W$,d9t=s((()=>{B$(),IZ(),U$=new WeakSet([Object.prototype,Error.prototype]),u9t=(e,t)=>{V3t.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);U$.has(n)||(U$.add(n),H$(n,`format`,e=>t=>R3t(e,t)),H$(n,`flatten`,e=>t=>L3t(e,t)),H$(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,oZ,2)}),H$(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,oZ,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},W$=LZ(`ZodError`,u9t,void 0,{Parent:Error})})),f9t,p9t,m9t,G$,h9t,g9t,_9t,v9t,y9t,b9t,x9t,S9t,C9t=s((()=>{B$(),d9t(),f9t=JZ(W$),p9t=YZ(W$),m9t=XZ(W$),G$=ZZ(W$),h9t=Y3t(W$),g9t=X3t(W$),_9t=Z3t(W$),v9t=Q3t(W$),y9t=$3t(W$),b9t=e6t(W$),x9t=t6t(W$),S9t=n6t(W$)}));function w9t(){UZ.localeError||RZ(k5t())}function K$(){UZ.memoizer||RZ({memoizer:w5t()})}function q$(e){return I5t(q9t,e)}function T9t(e){return l7t(o1,e)}function E9t(e){return u7t(gen,e)}function J$(e){return d7t(_en,e)}function D9t(e){return f7t(ven,e)}function Y$(){return p7t(yen)}function O9t(e){return m7t(ben,e)}function X$(e,t){return M7t(xen,e,t)}function Z$(e,t){let n={type:`object`,shape:e??{},...vZ(t)};return new s1(n)}function k9t(e,t){return new s1({type:`object`,shape:e,catchall:Y$(),...vZ(t)})}function Q$(e,t){return new c1({type:`union`,options:e,...vZ(t)})}function A9t(e,t,n){return new Sen({type:`union`,options:t,discriminator:e,...vZ(n)})}function j9t(e,t){return new Cen({type:`intersection`,left:e,right:t})}function $$(e,t,n){return!t||!t._zod?new l1({type:`record`,keyType:q$(),valueType:e,...vZ(t)}):new l1({type:`record`,keyType:e,valueType:t,...vZ(n)})}function e1(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e;return new u1({type:`enum`,entries:n,...vZ(t)})}function t1(e,t){return new wen({type:`literal`,values:Array.isArray(e)?e:[e],...vZ(t)})}function M9t(e){return new Ten({type:`transform`,transform:e})}function N9t(e){return new d1({type:`optional`,innerType:e})}function P9t(e){return new f1({type:`optional`,innerType:e})}function F9t(e){return new Een({type:`nullable`,innerType:e})}function I9t(e,t){return new Den({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():a3t(t)}})}function L9t(e,t){return new Oen({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():a3t(t)}})}function R9t(e,t){return new p1({type:`nonoptional`,innerType:e,...vZ(t)})}function z9t(e,t){return new ken({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:w3t(t)})}function B9t(e,t){return new Aen({type:`pipe`,in:e,out:t})}function V9t(e){return new jen({type:`readonly`,innerType:e})}function H9t(e){return new Men({type:`lazy`,getter:e})}function U9t(e,t){return N7t(m1,e??(()=>!0),t)}function W9t(e,t={}){return P7t(m1,e,t)}function G9t(e,t){return F7t(e,t)}function K9t(e,t={}){let n=new Nen({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...vZ(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}var n1,r1,q9t,i1,J9t,Y9t,X9t,Z9t,Q9t,$9t,a1,een,ten,nen,ren,ien,aen,oen,sen,cen,len,uen,den,fen,pen,men,hen,o1,gen,_en,ven,yen,ben,xen,s1,c1,Sen,Cen,l1,u1,wen,Ten,d1,f1,Een,Den,Oen,p1,ken,Aen,jen,Men,m1,Nen,Pen=s((()=>{B$(),z$(),ZQ(),NQ(),V$(),C9t(),n1=LZ(`ZodType`,(e,t)=>(w9t(),pQ.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(pZ(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return _Z(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(W9t(e,t))},superRefine(e,t){return this.check(G9t(e,t))},overwrite(e){return this.check(zQ(e))},optional(){return N9t(this)},exactOptional(){return P9t(this)},nullable(){return F9t(this)},nullish(){return N9t(F9t(this))},nonoptional(e){return R9t(this,e)},array(){return X$(this)},or(e){return Q$([this,e])},and(e){return j9t(this,e)},transform(e){return B9t(this,M9t(e))},default(e){return I9t(this,e)},prefault(e){return L9t(this,e)},catch(e){return z9t(this,e)},pipe(e){return B9t(this,e)},readonly(){return V9t(this)},describe(e){let t=this.clone();return PQ.add(t,{description:e}),t},meta(...e){if(e.length===0)return PQ.get(this);let t=this.clone();return PQ.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return kZ(this,`~standard`,{...$6t(this),jsonSchema:{input:XQ(this,`input`),output:XQ(this,`output`)}})},set"~standard"(e){OZ(this,`~standard`,e)},parse:function e(t,n){return f9t(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await p9t(this,t,n,{callee:e})},safeParse(e,t){return m9t(this,e,t)},async safeParseAsync(e,t){return G$(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){OZ(this,`spa`,e)},validate(e,t){return q3t(this,e,t)},validateAsync(e,t){return J3t(this,e,t)},encode:function e(t,n){return h9t(this,t,n,{callee:e})},decode:function e(t,n){return g9t(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await _9t(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await v9t(this,t,n,{callee:e})},safeEncode(e,t){return y9t(this,e,t)},safeDecode(e,t){return b9t(this,e,t)},async safeEncodeAsync(e,t){return x9t(this,e,t)},async safeDecodeAsync(e,t){return S9t(this,e,t)},toJSONSchema(e){return H7t(this,{})(e)},get description(){return PQ.get(this)?.description},get _def(){return this._zod.def}}),r1=LZ(`_ZodString`,(e,t)=>{hQ.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>f$(e,t,n,r)},b3t({format:e=>QQ(e).format??null,minLength:e=>QQ(e).minimum??null,maxLength:e=>QQ(e).maximum??null},{regex(...e){return this.check(b7t(...e))},includes(...e){return this.check(C7t(...e))},startsWith(...e){return this.check(w7t(...e))},endsWith(...e){return this.check(T7t(...e))},min(...e){return this.check(RQ(...e))},max(...e){return this.check(v7t(...e))},length(...e){return this.check(y7t(...e))},nonempty(...e){return this.check(RQ(1,...e))},lowercase(e){return this.check(x7t(e))},uppercase(e){return this.check(S7t(e))},trim(){return this.check(O7t())},normalize(...e){return this.check(D7t(...e))},toLowerCase(){return this.check(k7t())},toUpperCase(){return this.check(A7t())},slugify(){return this.check(j7t())}})),q9t=LZ(`ZodString`,(e,t)=>{hQ.init(e,t),r1.init(e,t)},{email(e){return this.check(L5t(Q9t,e))},url(e){return this.check(U5t(een,e))},jwt(e){return this.check(i7t(hen,e))},emoji(e){return this.check(W5t(ten,e))},guid(e){return this.check(R5t($9t,e))},uuid(e){return this.check(z5t(a1,e))},uuidv4(e){return this.check(B5t(a1,e))},uuidv6(e){return this.check(V5t(a1,e))},uuidv7(e){return this.check(H5t(a1,e))},nanoid(e){return this.check(G5t(nen,e))},cuid(e){return this.check(K5t(ren,e))},cuid2(e){return this.check(q5t(ien,e))},ulid(e){return this.check(J5t(aen,e))},base64(e){return this.check(t7t(fen,e))},base64url(e){return this.check(n7t(pen,e))},xid(e){return this.check(Y5t(oen,e))},ksuid(e){return this.check(X5t(sen,e))},ipv4(e){return this.check(Z5t(cen,e))},ipv6(e){return this.check(Q5t(len,e))},cidrv4(e){return this.check($5t(uen,e))},cidrv6(e){return this.check(e7t(den,e))},e164(e){return this.check(r7t(men,e))},datetime(e){return this.check(a7t(J9t,e))},date(e){return this.check(o7t(Y9t,e))},time(e){return this.check(s7t(X9t,e))},duration(e){return this.check(c7t(Z9t,e))}}),i1=LZ(`ZodStringFormat`,(e,t)=>{gQ.init(e,t),r1.init(e,t)}),J9t=LZ(`ZodISODateTime`,(e,t)=>{I8t.init(e,t),i1.init(e,t)}),Y9t=LZ(`ZodISODate`,(e,t)=>{L8t.init(e,t),i1.init(e,t)}),X9t=LZ(`ZodISOTime`,(e,t)=>{R8t.init(e,t),i1.init(e,t)}),Z9t=LZ(`ZodISODuration`,(e,t)=>{z8t.init(e,t),i1.init(e,t)}),Q9t=LZ(`ZodEmail`,(e,t)=>{E8t.init(e,t),i1.init(e,t)}),$9t=LZ(`ZodGUID`,(e,t)=>{w8t.init(e,t),i1.init(e,t)}),a1=LZ(`ZodUUID`,(e,t)=>{T8t.init(e,t),i1.init(e,t)}),een=LZ(`ZodURL`,(e,t)=>{O8t.init(e,t),i1.init(e,t)}),ten=LZ(`ZodEmoji`,(e,t)=>{k8t.init(e,t),i1.init(e,t)}),nen=LZ(`ZodNanoID`,(e,t)=>{A8t.init(e,t),i1.init(e,t)}),ren=LZ(`ZodCUID`,(e,t)=>{j8t.init(e,t),i1.init(e,t)}),ien=LZ(`ZodCUID2`,(e,t)=>{M8t.init(e,t),i1.init(e,t)}),aen=LZ(`ZodULID`,(e,t)=>{N8t.init(e,t),i1.init(e,t)}),oen=LZ(`ZodXID`,(e,t)=>{P8t.init(e,t),i1.init(e,t)}),sen=LZ(`ZodKSUID`,(e,t)=>{F8t.init(e,t),i1.init(e,t)}),cen=LZ(`ZodIPv4`,(e,t)=>{B8t.init(e,t),i1.init(e,t)}),len=LZ(`ZodIPv6`,(e,t)=>{H8t.init(e,t),i1.init(e,t)}),uen=LZ(`ZodCIDRv4`,(e,t)=>{U8t.init(e,t),i1.init(e,t)}),den=LZ(`ZodCIDRv6`,(e,t)=>{W8t.init(e,t),i1.init(e,t)}),fen=LZ(`ZodBase64`,(e,t)=>{G8t.init(e,t),i1.init(e,t)}),pen=LZ(`ZodBase64URL`,(e,t)=>{K8t.init(e,t),i1.init(e,t)}),men=LZ(`ZodE164`,(e,t)=>{q8t.init(e,t),i1.init(e,t)}),hen=LZ(`ZodJWT`,(e,t)=>{J8t.init(e,t),i1.init(e,t)}),o1=LZ(`ZodNumber`,(e,t)=>{yQ.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>p$(e,t,n,r),e.isFinite=!0},b3t({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=QQ(e);return Math.max(t??-1/0,n??-1/0)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=QQ(e);return Math.min(t??1/0,n??1/0)},isInt:e=>{let{isInt:t,multipleOf:n}=QQ(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>QQ(e).format??null},{gt(e,t){return this.check(g7t(e,t))},gte(e,t){return this.check(LQ(e,t))},min(e,t){return this.check(LQ(e,t))},lt(e,t){return this.check(h7t(e,t))},lte(e,t){return this.check(IQ(e,t))},max(e,t){return this.check(IQ(e,t))},int(e){return this.check(E9t(e))},safe(e){return this.check(E9t(e))},positive(e){return this.check(g7t(0,e))},nonnegative(e){return this.check(LQ(0,e))},negative(e){return this.check(h7t(0,e))},nonpositive(e){return this.check(IQ(0,e))},multipleOf(e,t){return this.check(_7t(e,t))},step(e,t){return this.check(_7t(e,t))},finite(){return this}})),gen=LZ(`ZodNumberFormat`,(e,t)=>{Y8t.init(e,t),o1.init(e,t)}),_en=LZ(`ZodBoolean`,(e,t)=>{X8t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>m$(e,t,n,r)}),ven=LZ(`ZodNull`,(e,t)=>{Z8t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>h$(e,t,n,r)}),yen=LZ(`ZodUnknown`,(e,t)=>{Q8t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_$(e,t,n,r)}),ben=LZ(`ZodNever`,(e,t)=>{$8t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>g$(e,t,n,r)}),xen=LZ(`ZodArray`,(e,t)=>{K$(),t5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>S$(e,t,n,r),e.element=t.element},{min(e,t){return this.check(RQ(e,t))},nonempty(e){return this.check(RQ(1,e))},max(e,t){return this.check(v7t(e,t))},length(e,t){return this.check(y7t(e,t))},unwrap(){return this.element}}),s1=LZ(`ZodObject`,(e,t)=>{K$(),i5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>C$(e,t,n,r),C3t(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return e1(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(pZ(this._zod.def,{catchall:e}))},passthrough(){return this.clone(pZ(this._zod.def,{catchall:Y$()}))},loose(){return this.clone(pZ(this._zod.def,{catchall:Y$()}))},strict(){return this.clone(pZ(this._zod.def,{catchall:O9t()}))},strip(){return this.clone(pZ(this._zod.def,{catchall:void 0}))},extend(e){return u3t(this,e)},safeExtend(e){return f3t(this,e)},merge(e){return p3t(this,e)},pick(e){return c3t(this,e)},omit(e){return l3t(this,e)},partial(...e){return m3t(d1,this,e[0])},exactPartial(...e){return m3t(f1,this,e[0],`exactPartial`)},required(...e){return h3t(p1,this,e[0])}}),c1=LZ(`ZodUnion`,(e,t)=>{bQ.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>w$(e,t,n,r),e.options=t.options}),Sen=LZ(`ZodDiscriminatedUnion`,(e,t)=>{c1.init(e,t),a5t.init(e,t)}),Cen=LZ(`ZodIntersection`,(e,t)=>{o5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>T$(e,t,n,r)}),l1=LZ(`ZodRecord`,(e,t)=>{K$(),s5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>D$(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType}),u1=LZ(`ZodEnum`,(e,t)=>{c5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>v$(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new u1({...t,checks:[],...vZ(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new u1({...t,checks:[],...vZ(r),entries:i})}}),wen=LZ(`ZodLiteral`,(e,t)=>{l5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>y$(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})}),Ten=LZ(`ZodTransform`,(e,t)=>{K$(),u5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>x$(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new HZ(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(DZ(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(DZ(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}}),d1=LZ(`ZodOptional`,(e,t)=>{xQ.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>I$(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),f1=LZ(`ZodExactOptional`,(e,t)=>{d5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>I$(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Een=LZ(`ZodNullable`,(e,t)=>{f5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>O$(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Den=LZ(`ZodDefault`,(e,t)=>{p5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>j$(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),Oen=LZ(`ZodPrefault`,(e,t)=>{m5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>M$(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),p1=LZ(`ZodNonOptional`,(e,t)=>{h5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>k$(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),ken=LZ(`ZodCatch`,(e,t)=>{g5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>N$(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),Aen=LZ(`ZodPipe`,(e,t)=>{_5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>P$(e,t,n,r),e.in=t.in,e.out=t.out}),jen=LZ(`ZodReadonly`,(e,t)=>{v5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>F$(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Men=LZ(`ZodLazy`,(e,t)=>{y5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>L$(e,t,n,r),e.unwrap=()=>e._zod.def.getter()}),m1=LZ(`ZodCustom`,(e,t)=>{b5t.init(e,t),n1.init(e,t),e._zod.processJSONSchema=(t,n,r)=>b$(e,t,n,r)}),Nen=LZ(`ZodInstanceOf`,(e,t)=>{m1.init(e,t)},{properties(e,t){return this.check(E7t(e,t))}})})),Fen=s((()=>{B$()})),h1=s((()=>{B$(),Pen(),V$(),d9t(),C9t(),Fen(),z$(),FQ(),IZ(),V$(),Pen(),SQ(),NQ()})),Ien=s((()=>{h1(),h1()})),Len,Ren=s((()=>{iI(),Ien(),Len=q$().min(7).default(()=>rI())})),g1,_1,v1,zen,Ben,y1,Ven,Hen,b1,Uen,x1,Wen,S1,C1,w1,T1,E1,D1,O1,Gen,Ken=s((()=>{Ien(),Ren(),g1=Z$({description:q$().optional(),"x-scalar-ignore":J$().optional()}),_1=Z$({uid:Len.brand(),nameKey:q$().optional().default(``)}),v1=g1.extend({type:t1(`apiKey`),name:q$().optional().default(``),in:e1([`query`,`header`,`cookie`]).optional().default(`header`).catch(`header`)}),zen=Z$({value:q$().default(``)}),Ben=v1.merge(_1).merge(zen),y1=g1.extend({type:t1(`http`),scheme:q$().toLowerCase().pipe(e1([`basic`,`bearer`])).optional().default(`basic`),bearerFormat:Q$([t1(`JWT`),q$()]).optional().default(`JWT`)}),Ven=Z$({username:q$().default(``),password:q$().default(``),token:q$().default(``)}),Hen=y1.merge(_1).merge(Ven),b1=g1.extend({type:t1(`mutualTLS`)}),Uen=b1.merge(_1),x1=g1.extend({type:t1(`openIdConnect`),openIdConnectUrl:q$().optional().default(``)}),Wen=x1.merge(_1),S1=q$().default(``),C1=q$().default(``),w1=Z$({refreshUrl:q$().optional().default(``),scopes:$$(q$(),q$().optional().default(``)).optional().default({}).catch({}),selectedScopes:X$(q$()).optional().default([]),"x-scalar-client-id":q$().optional().default(``),token:q$().default(``),"x-scalar-security-query":$$(q$(),q$()).optional(),"x-scalar-security-body":$$(q$(),q$()).optional(),"x-tokenName":q$().optional(),"x-order":T9t().optional(),"x-scalar-ignore":J$().optional()}),T1=typeof window<`u`?window.location.origin+window.location.pathname:``,E1=[`SHA-256`,`plain`,`no`],D1=e1([`header`,`body`]).optional(),O1=g1.extend({type:t1(`oauth2`),"x-default-scopes":X$(q$()).optional(),flows:Z$({deviceAuthorization:w1.extend({type:t1(`deviceAuthorization`).default(`deviceAuthorization`),deviceAuthorizationUrl:q$().default(``),tokenUrl:C1,clientSecret:q$().default(``),"x-scalar-credentials-location":D1}),implicit:w1.extend({type:t1(`implicit`).default(`implicit`),authorizationUrl:S1,"x-scalar-redirect-uri":q$().optional().default(T1)}),password:w1.extend({type:t1(`password`).default(`password`),tokenUrl:C1,clientSecret:q$().default(``),username:q$().default(``),password:q$().default(``),"x-scalar-credentials-location":D1}),clientCredentials:w1.extend({type:t1(`clientCredentials`).default(`clientCredentials`),tokenUrl:C1,clientSecret:q$().default(``),"x-scalar-credentials-location":D1}),authorizationCode:w1.extend({type:t1(`authorizationCode`).default(`authorizationCode`),authorizationUrl:S1,"x-usePkce":e1(E1).optional().default(`no`),"x-scalar-redirect-uri":q$().optional().default(T1),tokenUrl:C1,clientSecret:q$().default(``),"x-scalar-credentials-location":D1})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":``,refreshUrl:``,token:``,type:`implicit`,authorizationUrl:`http://localhost:8080`,"x-scalar-redirect-uri":T1}})}),Gen=O1.merge(_1),$$(q$(),X$(q$()).optional().default([])),Q$([v1,y1,b1,O1,x1]),A9t(`type`,[Ben,Hen,Uen,Wen,Gen]).transform(e=>(e.type===`oauth2`&&e[`x-default-scopes`]?.length&&Object.keys(e.flows).forEach(t=>{e.flows[t]?.selectedScopes&&e[`x-default-scopes`]&&(e.flows[t].selectedScopes=[e[`x-default-scopes`]].flat())}),e))})),qen=s((()=>{Ken()})),Jen,Yen,Xen,Zen,Qen,$en,etn,ttn,ntn,rtn,itn=s((()=>{Fs(),fI(),JX(),a4t(),J4t(),$X(),B(),Mw(),rS(),ZB(),iZ(),Vx(),qen(),Jen={class:`flex h-8 items-center justify-end gap-2 border-t`},Yen={class:`w-full p-2`},Xen={class:`bg-b-2 flex flex-col gap-3 rounded-lg border p-3 text-sm`,role:`status`},Zen={class:`text-c-2 text-xs leading-normal`},Qen={class:`bg-b-1 font-code w-fit max-w-full rounded border px-3 py-2 text-base font-medium tracking-widest break-all select-all`},$en=[`href`],etn={class:`flex items-center justify-between gap-3`},ttn={class:`text-c-2 text-xs`},ntn={class:`flex h-8 w-full items-center justify-end border-t`},rtn=k({__name:`OAuth2`,props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})},hideActions:{type:Boolean}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=E(null),i,a=()=>{i?.abort(),r.value=null};Ri(a),dr(()=>[e.type,e.name,e.flows],a);let{translate:o}=Ps(),s=rZ(),{toast:c}=JB(),l=z(()=>e.flows[e.type]),u=z(()=>{let t=l.value.scopes;return t?e.selectedScopes.filter(e=>Object.hasOwn(t,e)):[]}),d=z(()=>`x-scalar-secret-client-secret`in l.value),f=z(()=>l.value[`x-scalar-secret-client-secret`]??``),p=t=>{if(e.scheme.type===`openIdConnect`)return m(t);e.scheme.type===`oauth2`&&e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:e.scheme.type,flows:{[e.type]:t}},name:e.name})},m=t=>{(e.scheme.type===`oauth2`||e.scheme.type===`openIdConnect`)&&e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:e.scheme.type,[e.type]:t},name:e.name})},h=t=>{t===`x-scalar-secret-redirect-uri`&&(x.value=!1),e.eventBus.emit(`auth:reset:security-scheme-secret`,{name:e.name,flow:e.type,field:t})},g=(t,n)=>{let r=t===`x-scalar-secret-redirect-uri`&&!e.options.captureOAuth2Callback?XX(e.options):``;return Bx(l.value,t,n,r)},_=e=>{(e===`SHA-256`||e===`plain`||e===`no`)&&p({"x-usePkce":e})},v=()=>{s.isLoading||e.eventBus.emit(`auth:clear:security-scheme-secrets`,{name:e.name})},y=()=>{s.isLoading||m({"x-scalar-secret-token":``,"x-scalar-secret-refresh-token":``})},b=E(null),x=E(!1),ee=t=>JSON.stringify({type:e.type,authorizationUrl:t&&`authorizationUrl`in t?t.authorizationUrl:``,tokenUrl:t&&`tokenUrl`in t?t.tokenUrl:``,refreshUrl:t?.refreshUrl??``,scopes:Object.keys(t?.scopes??{})});dr(()=>l.value,t=>{if(!t||!(`x-scalar-secret-redirect-uri`in t))return;let n=ee(t);if(b.value!==n&&(b.value=n,x.value=!1),x.value)return;let r=t[`x-scalar-secret-redirect-uri`],i=XX(e.options);x.value=!0,!(Lx(t,`x-scalar-secret-redirect-uri`)||r||!i||e.options.captureOAuth2Callback)&&m({"x-scalar-secret-redirect-uri":i})},{immediate:!0});let te=async()=>{if(s.isLoading)return;s.start();let t=new AbortController;i=t;let[n,a]=await GX(e.flows,e.type,u.value,e.server,e.proxyUrl,Cb(e.environment),e.options.customFetch,e.options.captureOAuth2Callback,{signal:t.signal,onPrompt:e=>{r.value=e}});r.value=null,await s.clear(),!t.signal.aborted&&(a?.accessToken?m({"x-scalar-secret-token":a.accessToken,...a.refreshToken?{"x-scalar-secret-refresh-token":a.refreshToken}:{}}):(console.error(n),c(n?.message??o(`apiClient.oauth2.failedToauthorize`),`error`)))},ne=z(()=>e.type!==`implicit`&&!!l.value[`x-scalar-secret-refresh-token`]),re=z(()=>`tokenUrl`in l.value&&l.value.tokenUrl?l.value.tokenUrl:`https://galaxy.scalar.com/oauth/refresh`),ie=async()=>{if(s.isLoading||e.type===`implicit`||!ne.value)return;s.start();let[t,n]=await qX(e.flows,e.type,e.proxyUrl,e.server,Cb(e.environment),e.options.customFetch);await s.clear(),n?.accessToken?m({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),c(t?.message??o(`apiClient.oauth2.failedToRefreshToken`),`error`))},ae=t=>{if(t!==`body`&&t!==`header`)return;let n=t;e.scheme.type!==`openIdConnect`&&p({"x-scalar-credentials-location":n}),m({"x-scalar-credentials-location":n})};return(t,i)=>l.value[`x-scalar-secret-token`]?(j(),M(L,{key:0},[R(D(dI),null,{default:O(()=>[R(QX,{canReset:g(`x-scalar-secret-token`,l.value[`x-scalar-secret-token`]),class:`border-r-transparent`,environment:e.environment,modelValue:l.value[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,onReset:i[0]||=e=>h(`x-scalar-secret-token`),"onUpdate:modelValue":i[1]||=e=>m({"x-scalar-secret-token":e})},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.accessToken`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`])]),_:1}),ne.value?(j(),N(D(dI),{key:0},{default:O(()=>[R(QX,{class:`border-r-transparent`,environment:e.environment,modelValue:l.value.refreshUrl??``,placeholder:re.value,"onUpdate:modelValue":i[2]||=e=>p({refreshUrl:e})},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.refreshUrl`)),1)]),_:1},8,[`environment`,`modelValue`,`placeholder`])]),_:1})):I(``,!0),e.hideActions?I(``,!0):(j(),N(D(dI),{key:1,class:`min-w-full`},{default:O(()=>[P(`div`,Jen,[ne.value?(j(),N(D(jw),{key:0,class:`p-0 px-2 py-0.5`,loader:D(s),size:`sm`,variant:`outlined`,onClick:ie},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.refresh`)),1)]),_:1},8,[`loader`])):I(``,!0),R(D(jw),{class:`mr-1 p-0 px-2 py-0.5`,disabled:D(s).isLoading,size:`sm`,variant:`outlined`,onClick:y},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.clearTokens`)),1)]),_:1},8,[`disabled`])])]),_:1}))],64)):(j(),M(L,{key:1},[`deviceAuthorizationUrl`in l.value?(j(),N(D(dI),{key:0},{default:O(()=>[R(QX,{environment:e.environment,modelValue:l.value.deviceAuthorizationUrl,"onUpdate:modelValue":i[3]||=e=>p({deviceAuthorizationUrl:e})},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.deviceAuthorizationUrl`)),1)]),_:1},8,[`environment`,`modelValue`])]),_:1})):I(``,!0),r.value?(j(),N(D(dI),{key:1},{default:O(()=>[P(`div`,Yen,[P(`div`,Xen,[P(`p`,Zen,T(D(o)(`apiClient.oauth2.deviceVerificationPrompt`)),1),P(`strong`,Qen,T(r.value.userCode),1),P(`a`,{class:`text-c-accent w-fit max-w-full text-xs break-all underline underline-offset-2`,href:r.value.verificationUriComplete||r.value.verificationUri,rel:`noopener noreferrer`,target:`_blank`},T(r.value.verificationUri),9,$en),P(`div`,etn,[P(`p`,ttn,T(D(o)(`apiClient.oauth2.waitingForAuthorization`)),1),R(D(jw),{size:`xs`,variant:`outlined`,onClick:a},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.cancelDeviceAuthorization`)),1)]),_:1})])])])]),_:1})):I(``,!0),R(D(dI),null,{default:O(()=>[`authorizationUrl`in l.value?(j(),N(QX,{key:0,canReset:g(`x-scalar-secret-auth-url`,l.value[`x-scalar-secret-auth-url`]??``),containerClass:`border-r-0`,environment:e.environment,modelValue:l.value[`x-scalar-secret-auth-url`]??``,placeholder:`https://galaxy.scalar.com/authorize`,onReset:i[4]||=e=>h(`x-scalar-secret-auth-url`),"onUpdate:modelValue":i[5]||=e=>{m({"x-scalar-secret-auth-url":e}),e&&p({authorizationUrl:e})}},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.authUrl`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`])):I(``,!0),`tokenUrl`in l.value?(j(),N(QX,{key:1,canReset:g(`x-scalar-secret-token-url`,l.value[`x-scalar-secret-token-url`]??``),environment:e.environment,modelValue:l.value[`x-scalar-secret-token-url`]??``,placeholder:`https://galaxy.scalar.com/token`,onReset:i[6]||=e=>h(`x-scalar-secret-token-url`),"onUpdate:modelValue":i[7]||=e=>{m({"x-scalar-secret-token-url":e}),e&&p({tokenUrl:e})}},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.tokenUrl`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`])):I(``,!0)]),_:1}),`x-scalar-secret-redirect-uri`in l.value?(j(),N(D(dI),{key:2},{default:O(()=>[R(QX,{canReset:g(`x-scalar-secret-redirect-uri`,l.value[`x-scalar-secret-redirect-uri`]),environment:e.environment,modelValue:l.value[`x-scalar-secret-redirect-uri`],placeholder:e.options.captureOAuth2Callback?`${D(XX)(e.options)||`http://127.0.0.1`} (handled automatically)`:D(o)(`apiClient.oauth2.optionalRedirectUrl`),onReset:i[8]||=e=>h(`x-scalar-secret-redirect-uri`),"onUpdate:modelValue":i[9]||=e=>{x.value=!0,m({"x-scalar-secret-redirect-uri":e})}},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.redirectUrl`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`,`placeholder`])]),_:1})):I(``,!0),`x-scalar-secret-username`in l.value&&`x-scalar-secret-password`in l.value?(j(),M(L,{key:3},[R(D(dI),null,{default:O(()=>[R(QX,{canReset:g(`x-scalar-secret-username`,l.value[`x-scalar-secret-username`]),class:`text-c-2`,environment:e.environment,modelValue:l.value[`x-scalar-secret-username`],placeholder:`janedoe`,onReset:i[10]||=e=>h(`x-scalar-secret-username`),"onUpdate:modelValue":i[11]||=e=>m({"x-scalar-secret-username":e})},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.username`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`])]),_:1}),R(D(dI),null,{default:O(()=>[R(QX,{canReset:g(`x-scalar-secret-password`,l.value[`x-scalar-secret-password`]),environment:e.environment,modelValue:l.value[`x-scalar-secret-password`],placeholder:`********`,type:`password`,onReset:i[12]||=e=>h(`x-scalar-secret-password`),"onUpdate:modelValue":i[13]||=e=>m({"x-scalar-secret-password":e})},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.password`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`])]),_:1})],64)):I(``,!0),R(D(dI),null,{default:O(()=>[R(QX,{canReset:g(`x-scalar-secret-client-id`,l.value[`x-scalar-secret-client-id`]),environment:e.environment,modelValue:l.value[`x-scalar-secret-client-id`],placeholder:`12345`,onReset:i[14]||=e=>h(`x-scalar-secret-client-id`),"onUpdate:modelValue":i[15]||=e=>m({"x-scalar-secret-client-id":e})},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.clientID`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`])]),_:1}),d.value?(j(),N(D(dI),{key:4},{default:O(()=>[R(QX,{canReset:g(`x-scalar-secret-client-secret`,f.value),environment:e.environment,modelValue:f.value,placeholder:`XYZ123`,type:`password`,onReset:i[16]||=e=>h(`x-scalar-secret-client-secret`),"onUpdate:modelValue":i[17]||=e=>m({"x-scalar-secret-client-secret":e})},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.clientSecret`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`])]),_:1})):I(``,!0),`x-usePkce`in l.value?(j(),N(D(dI),{key:5},{default:O(()=>[R(QX,{enum:D(E1),environment:e.environment,modelValue:l.value[`x-usePkce`],readOnly:``,"onUpdate:modelValue":_},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.usePKCE`)),1)]),_:1},8,[`enum`,`environment`,`modelValue`])]),_:1})):I(``,!0),e.type===`implicit`?I(``,!0):(j(),N(D(dI),{key:6},{default:O(()=>[R(QX,{enum:[`header`,`body`],environment:e.environment,modelValue:l.value[`x-scalar-credentials-location`]||`header`,placeholder:`header`,readOnly:``,"onUpdate:modelValue":i[18]||=e=>ae(e)},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.credentialsLocation`)),1)]),_:1},8,[`environment`,`modelValue`])]),_:1})),R(D(dI),null,{default:O(()=>[R(q4t,{flow:l.value,flowType:e.type,selectedScopes:u.value,"onDelete:scope":i[19]||=e=>n(`delete:scope`,e),"onUpdate:selectedScopes":i[20]||=e=>n(`update:selectedScopes`,e),"onUpsert:scope":i[21]||=e=>n(`upsert:scope`,e)},null,8,[`flow`,`flowType`,`selectedScopes`])]),_:1}),e.hideActions?I(``,!0):(j(),N(D(dI),{key:7,class:`min-w-full`},{default:O(()=>[P(`div`,ntn,[e.scheme.type===`openIdConnect`?(j(),N(D(jw),{key:0,class:`mr-1 p-0 px-2 py-0.5`,disabled:D(s).isLoading,size:`sm`,variant:`outlined`,onClick:v},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.resetDiscovery`)),1)]),_:1},8,[`disabled`])):I(``,!0),R(D(jw),{class:`mr-0.75 p-0 px-2 py-0.5`,loader:D(s),size:`sm`,variant:`outlined`,onClick:te},{default:O(()=>[F(T(D(o)(`apiClient.oauth2.authorize`)),1)]),_:1},8,[`loader`])])]),_:1}))],64))}})})),k1,atn=s((()=>{itn(),k1=rtn})),A1,otn,stn=s((()=>{iy(),Gh(),_h(),A1=U.Object({authorization_endpoint:U.Optional(U.String()),device_authorization_endpoint:U.Optional(U.String()),token_endpoint:U.Optional(U.String()),scopes_supported:U.Optional(U.Array(U.String())),grant_types_supported:U.Optional(U.Array(U.String())),code_challenge_methods_supported:U.Optional(U.Array(U.String()))}),otn=async(e,t,n=fetch)=>{try{let r=e.trim();if(!r)return[Error(`URL cannot be empty`),null];r.endsWith(`/`)&&(r=r.slice(0,-1)),r.includes(`/.well-known/openid-configuration`)||(r=`${r}/.well-known/openid-configuration`);let i=await n(ny(t,r));if(!i.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${i.status} ${i.statusText}`),null];let a=Wh(A1,await i.json());return!a.authorization_endpoint&&!a.token_endpoint?[Error(`Invalid OpenID Connect discovery document: missing required endpoints`),null]:[null,a]}catch(e){return e instanceof Error?[e,null]:[Error(`Failed to fetch OpenID Connect discovery document`),null]}}})),ctn,ltn=s((()=>{stn(),BX(),iy(),Gh(),ctn=async(e,t,n=fetch)=>{try{let r=new URL(e.trim());if(!zX(r))return[Error(`OAuth2 metadata URL must use HTTPS or HTTP for local development URLs`),null];let i=await n(ny(t,r.href));if(!i.ok)return[Error(`Failed to fetch OAuth2 metadata: ${i.status} ${i.statusText}`),null];let a=Wh(A1,await i.json());if(!a.authorization_endpoint&&!a.token_endpoint&&!a.device_authorization_endpoint)return[Error(`Invalid OAuth2 metadata: missing or invalid endpoints`),null];for(let e of[a.authorization_endpoint,a.token_endpoint,a.device_authorization_endpoint])if(e&&!zX(new URL(e)))return[Error(`OAuth2 metadata endpoints must use HTTPS or HTTP for local development URLs`),null];return[null,a]}catch(e){return[e instanceof Error?e:Error(`Failed to fetch OAuth2 metadata`),null]}}})),utn,dtn=s((()=>{utn=(e,t)=>{let n=Object.fromEntries((e.scopes_supported??[]).map(e=>[e,``])),r=new Set(e.grant_types_supported??[`authorization_code`,`implicit`]),i=e.authorization_endpoint,a=e.token_endpoint,o=e.device_authorization_endpoint,s={...r.has(`urn:ietf:params:oauth:grant-type:device_code`)&&o&&a?{deviceAuthorization:{deviceAuthorizationUrl:o,tokenUrl:a,scopes:n}}:{},...r.has(`implicit`)&&i?{implicit:{authorizationUrl:i,scopes:n}}:{},...r.has(`password`)&&a?{password:{tokenUrl:a,scopes:n}}:{},...r.has(`client_credentials`)&&a?{clientCredentials:{tokenUrl:a,scopes:n}}:{},...r.has(`authorization_code`)&&i&&a?{authorizationCode:{authorizationUrl:i,tokenUrl:a,scopes:n}}:{}};return Object.keys(t).length?Object.fromEntries(Object.entries(t).filter(([,e])=>e).map(([e,t])=>[e,{...`authorizationUrl`in t&&!t.authorizationUrl&&i?{authorizationUrl:i}:{},...`deviceAuthorizationUrl`in t&&!t.deviceAuthorizationUrl&&o?{deviceAuthorizationUrl:o}:{},...`tokenUrl`in t&&!t.tokenUrl&&a?{tokenUrl:a}:{}}]).filter(([,e])=>Object.keys(e).length>0)):s}})),ftn,ptn,mtn=s((()=>{fI(),$X(),ltn(),dtn(),B(),Mw(),ZB(),iZ(),ftn={class:`flex h-8 w-full items-center justify-end border-t`},ptn=k({__name:`OAuth2Metadata`,props:{scheme:{},name:{},environment:{},eventBus:{},proxyUrl:{},customFetch:{}},setup(e){let t=rZ(),{toast:n}=JB(),r=t=>e.eventBus.emit(`auth:update:security-scheme`,{name:e.name,payload:{type:`oauth2`,oauth2MetadataUrl:t}}),i=async()=>{let r=e.scheme.oauth2MetadataUrl,i=e.name;if(!r||t.isLoading)return;t.start();let[a,o]=await ctn(r,e.proxyUrl,e.customFetch);await t.clear(),e.name===i&&e.scheme.oauth2MetadataUrl===r&&(a?n(a.message,`error`):e.eventBus.emit(`auth:update:security-scheme`,{name:e.name,payload:{type:`oauth2`,flows:utn(o,e.scheme.flows)}}))};return(n,a)=>(j(),M(L,null,[R(D(dI),null,{default:O(()=>[R(QX,{environment:e.environment,modelValue:e.scheme.oauth2MetadataUrl??``,placeholder:`https://example.com/.well-known/oauth-authorization-server`,"onUpdate:modelValue":r},{default:O(()=>[...a[0]||=[F(` Metadata URL `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),e.scheme.oauth2MetadataUrl?(j(),N(D(dI),{key:0,class:`min-w-full`},{default:O(()=>[P(`div`,ftn,[R(D(jw),{class:`mr-0.75 p-0 px-2 py-0.5`,loader:D(t),size:`sm`,variant:`outlined`,onClick:i},{default:O(()=>[...a[1]||=[F(` Fetch Configuration `,-1)]]),_:1},8,[`loader`])])]),_:1})):I(``,!0)],64))}})})),htn,gtn=s((()=>{mtn(),htn=ptn})),j1,_tn,vtn,M1,N1,ytn,btn,P1,xtn,Stn,Ctn,wtn,F1,Ttn,I1,L1,Etn,Dtn=s((()=>{_h(),bh(),cze(),Tze(),Lze(),r_(),j1=U.Object({"x-scalar-secret-cleared-fields":U.Optional(U.Array(U.String()))}),_tn=yh(U.Object({type:U.Literal(`apiKey`),name:U.Optional(U.String())}),Tg,j1),vtn=yh(U.Object({type:U.Literal(`http`)}),Tg,Eg,j1),M1=yh(gze,vze,j1,bze,Tg,hze),N1=U.Partial(xze),ytn=U.Object({deviceAuthorization:U.Optional(yh(M1,Dg,Cg)),implicit:U.Optional(yh(M1,N1)),password:U.Optional(yh(M1,Eg,Dg,Cg)),clientCredentials:U.Optional(yh(M1,Dg,Cg)),authorizationCode:U.Optional(yh(M1,Dg,N1,Cg))}),btn=yh(U.Object({type:U.Literal(`oauth2`)}),ytn),P1=U.Object({deviceAuthorization:U.Optional(yh(Ize,M1,Dg,Cg)),type:U.Literal(`openIdConnect`),implicit:U.Optional(yh(Mze,M1,N1)),password:U.Optional(yh(Nze,M1,Eg,Dg,Cg)),clientCredentials:U.Optional(yh(Pze,M1,Dg,Cg)),authorizationCode:U.Optional(yh(Fze,M1,Dg,N1,Cg))}),xtn=yh(U.Object({type:U.Union([U.Literal(`userPassword`),U.Literal(`plain`),U.Literal(`scramSha256`),U.Literal(`scramSha512`)])}),Eg,j1),Stn=yh(U.Object({type:U.Literal(`X509`)}),Sze,Cze,j1),Ctn=yh(U.Object({type:U.Union([U.Literal(`symmetricEncryption`),U.Literal(`asymmetricEncryption`)])}),Tg,j1),wtn=yh(U.Object({type:U.Literal(`gssapi`)}),wze,j1),F1=U.Union([_tn,vtn,btn,P1,xtn,Stn,Ctn,wtn]),Ttn=U.Record(U.String(),F1),I1=U.Object({selectedIndex:U.Number(),selectedSchemes:U.Array(kVe)}),L1=U.Object({secrets:Ttn,selected:U.Object({document:U.Optional(I1),path:U.Optional(U.Record(U.String(),U.Record(U.String(),U.Optional(I1))))})}),Etn=U.Record(U.String(),L1)}));function Otn(e){return e.startsWith(`#`)}var R1,z1=s((()=>{R1=(e,t)=>{Object.assign(e,t)}})),ktn,B1=s((()=>{Ib(),B(),Dtn(),z1(),Fu(),Gh(),ktn=({hooks:e}={})=>{let t=fn({});return{clearAuthSelectedSchemas:n=>{let r=t[n.documentName];if(!r)return;if(n.type===`document`){delete r.selected.document,e?.onAuthChange?.(n.documentName);return}Pb(n.method),Pb(n.path);let i=r.selected.path?.[n.path];i&&(delete i[n.method],e?.onAuthChange?.(n.documentName))},getAuthSecrets:(e,n)=>t[e]?.secrets?.[n],setAuthSecrets:(n,r,i)=>{t[n]||={secrets:{},selected:{document:void 0,path:void 0}},t[n].secrets[r]=Wh(F1,i),e?.onAuthChange?.(n)},clearAuthSecrets:(n,r)=>{delete t[n]?.secrets?.[r],e?.onAuthChange?.(n)},getAuthSelectedSchemas:e=>e.type===`document`?t[e.documentName]?.selected?.document:t[e.documentName]?.selected?.path?.[e.path]?.[e.method],setAuthSelectedSchemas:(n,r)=>{t[n.documentName]||={secrets:{},selected:{document:void 0,path:void 0}};let i=t[n.documentName];if(n.type===`document`)i.selected.document=r;else{Pb(n.path),Pb(n.method),i.selected.path||={},i.selected.path[n.path]||={};let e=i.selected.path[n.path];e[n.method]=r}e?.onAuthChange?.(n.documentName)},clearDocumentAuth:n=>{delete t[n],e?.onAuthChange?.(n)},load:n=>{R1(t,Wh(Etn,n)),Object.keys(n).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>Pu(t)}}})),Atn,jtn=s((()=>{Gh(),B1(),Atn=e=>{let t=Object.fromEntries((e.scopes_supported??[]).map(e=>[e,``])),n=new Set(e.grant_types_supported??[`authorization_code`,`implicit`]),r=e.authorization_endpoint,i=e.token_endpoint,a=e.code_challenge_methods_supported?.includes(`plain`)?`plain`:`no`,o=e.code_challenge_methods_supported?.includes(`S256`)?`SHA-256`:a,s={};return n.has(`urn:ietf:params:oauth:grant-type:device_code`)&&e.device_authorization_endpoint&&i&&(s.deviceAuthorization={deviceAuthorizationUrl:e.device_authorization_endpoint,tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`implicit`)&&r&&(s.implicit={authorizationUrl:r,refreshUrl:r,scopes:t}),n.has(`password`)&&i&&(s.password={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`client_credentials`)&&i&&(s.clientCredentials={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`authorization_code`)&&r&&i&&(s.authorizationCode={authorizationUrl:r,tokenUrl:i,refreshUrl:i,"x-usePkce":o,scopes:t}),Wh(P1,s)}})),Mtn,Ntn,Ptn=s((()=>{Fs(),fI(),$X(),stn(),jtn(),B(),Mw(),ZB(),iZ(),Mtn={class:`flex h-8 w-full items-center justify-end border-t`},Ntn=k({__name:`OpenIDConnect`,props:{environment:{},eventBus:{},getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){let{translate:t}=Ps(),n=rZ(),{toast:r}=JB(),i=async()=>{if(n.isLoading||!e.scheme.openIdConnectUrl)return;n.start();let[i,a]=await otn(e.scheme.openIdConnectUrl,e.proxyUrl,e.customFetch);if(await n.clear(),i){console.error(i),r(i?.message??t(`apiClient.openIdConnect.failedToFetchConfiguration`),`error`);return}let o=Atn(a);e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:o,name:e.name,overwrite:!0})},a=t=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`openIdConnect`,openIdConnectUrl:t},name:e.name});return(r,o)=>(j(),M(L,null,[R(D(dI),null,{default:O(()=>[R(QX,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:`https://example.com/.well-known/openid-configuration`,required:``,"onUpdate:modelValue":a},{default:O(()=>[F(T(D(t)(`apiClient.openIdConnect.discoveryUrl`)),1)]),_:1},8,[`containerClass`,`environment`,`modelValue`])]),_:1}),R(D(dI),{class:`min-w-full`},{default:O(()=>[P(`div`,Mtn,[R(D(jw),{class:`mr-0.75 p-0 px-2 py-0.5`,disabled:!e.scheme.openIdConnectUrl,loader:D(n),size:`sm`,variant:`outlined`,onClick:i},{default:O(()=>[F(T(D(t)(`apiClient.openIdConnect.fetchConfiguration`)),1)]),_:1},8,[`disabled`,`loader`])])]),_:1})],64))}})})),Ftn,Itn=s((()=>{Ptn(),Ftn=Ntn})),Ltn,Rtn,ztn,Btn,Vtn,Htn,Utn,Wtn,Gtn,Ktn,qtn,Jtn,Ytn,Xtn,Ztn=s((()=>{Fs(),oI(),cI(),fI(),J2t(),JX(),i4t(),s4t(),$X(),atn(),gtn(),Itn(),B(),Mw(),Qs(),jX(),nI(),rS(),ZB(),iu(),Xz(),iZ(),Vx(),ax(),Ltn={class:`bg-b-1 min-w-0 flex-1 px-3 py-1.25`},Rtn={class:`text-c-1 leading-5.5 font-medium`},ztn={class:`flex h-8 items-center gap-2 border-t pr-1 pl-3 text-base`},Btn={class:`text-c-1 mr-auto`},Vtn={class:`flex min-h-8 border-t text-base`},Htn={class:`flex h-8 max-w-full gap-2.5 overflow-x-auto px-3`},Utn=[`onClick`],Wtn={class:`relative z-10`},Gtn={key:5,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},Ktn={key:6,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},qtn={key:7,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},Jtn={key:8,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},Ytn={class:`flex h-8 items-center justify-end gap-2 border-t`},Xtn=k({__name:`RequestAuthTab`,props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{},documentType:{default:`openapi`}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=z(()=>ix(e.documentType)),a=z(()=>Object.entries(e.selectedSecuritySchemas).map(([t,n=[]])=>{let r=H(e.securitySchemes[t]);return{scheme:r,name:t,scopes:n,visibleFlowKeys:r?.type===`oauth2`||r?.type===`openIdConnect`?YX(r.flows):[]}})),o=E(``),s=z(()=>a.value.flatMap(e=>e.visibleFlowKeys).some(e=>e===o.value)?o.value:``),c=e=>{o.value=e},l=z(()=>a.value.length>1),u=(e,t)=>{let n=zt(e);switch(t.type){case`apiKey`:return`${n}: ${t.in}`;case`openIdConnect`:case`oauth2`:{let e=YX(t.flows)[0],r=s.value||e;return r?`${n}: ${r}`:n}case`http`:return`${n}: ${t.scheme}`;default:return n}},d=e=>e.in!==`user`&&e.in!==`password`,f=e=>e?.type,p=(e,t)=>s.value===e||t===0&&!s.value,m=()=>e.isStatic&&`border-t`,h=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,...t},name:n}),g=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`apiKey`,...t},name:n}),_=(t,n)=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`apiKey`,...t},name:n}),v=(t,r)=>{n(`update:selectedScopes`,{id:Object.keys(e.selectedSecuritySchemas),name:t,...r})},y=(e,t)=>{n(`upsert:scope`,{...t,name:e})},b=(e,t)=>{n(`delete:scope`,{...t,name:e})},x=(t,n)=>{let r=`floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium`;return p(t,n)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?`opacity-100`:``}`:r},ee=z(()=>K2t(e.securitySchemes)),te=z(()=>ee.value?H(e.securitySchemes[ee.value.name]):void 0),ne=rZ(),{toast:re}=JB(),ie=kX(),ae=E(),oe=async t=>{let n=ee.value;if(!n||ne.isLoading)return;ne.start();let[i]=await o4t({eventBus:e.eventBus,bearerSchemeName:t,oauth2Name:n.name,flows:n.flows,flowType:n.flowType,scopes:n.scopes,server:e.server,proxyUrl:e.proxyUrl,environment:e.environment,options:e.options});await ne.clear(),i&&re(i?.message??r(`apiClient.requestAuthTab.failedToauthorize`),`error`)},se=async t=>{let n=ee.value;if(n?.flowType!==`authorizationCode`||ne.isLoading)return;ne.start();let[i,a]=await qX(n.flows,n.flowType,e.proxyUrl,e.server,Cb(e.environment),e.options?.customFetch);await ne.clear(),a?.accessToken?ZX(e.eventBus,{bearerSchemeName:t,oauth2Name:n.name,flowType:n.flowType,tokens:a}):i&&re(i?.message??r(`apiClient.requestAuthTab.failedToRefresh`),`error`)},ce=e=>{ae.value=e,ie.show()},le=()=>{let e=ae.value;ie.hide(),e&&oe(e)};return(t,n)=>(j(),M(L,null,[(j(!0),M(L,null,jr(a.value,({scheme:t,name:n,scopes:a,visibleFlowKeys:o})=>(j(),M(L,{key:n},[l.value&&t?(j(),N(D(dI),{key:0},{default:O(()=>[R(D(sI),{"aria-label":u(n,t),class:`max-h-[auto]`},{default:O(()=>[P(`div`,Ltn,[P(`p`,Rtn,T(u(n,t)),1),t.description?(j(),N(D(Yz),{key:0,class:`auth-description text-c-2 w-full`,value:t.description},null,8,[`value`])):I(``,!0)])]),_:2},1032,[`aria-label`])]),_:2},1024)):I(``,!0),t?.description&&!l.value?(j(),N(D(dI),{key:1},{default:O(()=>[R(D(sI),{"aria-label":t.description,class:`max-h-[auto]`},{default:O(()=>[R(D(Yz),{class:`auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25`,value:t.description},null,8,[`value`])]),_:2},1032,[`aria-label`])]),_:2},1024)):I(``,!0),t?.type===`http`?(j(),M(L,{key:2},[t.scheme===`bearer`?(j(),N(D(dI),{key:0},{default:O(()=>[R(QX,{canReset:D(Bx)(t,`x-scalar-secret-token`,t[`x-scalar-secret-token`]),containerClass:m(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:D(r)(`apiClient.requestAuthTab.token`),type:`password`,onReset:t=>e.eventBus.emit(`auth:reset:security-scheme-secret`,{name:n,field:`x-scalar-secret-token`}),"onUpdate:modelValue":e=>h({"x-scalar-secret-token":e},n)},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.bearerToken`)),1)]),_:1},8,[`canReset`,`containerClass`,`environment`,`modelValue`,`placeholder`,`onReset`,`onUpdate:modelValue`])]),_:2},1024)):I(``,!0),t.scheme===`bearer`&&ee.value?(j(),N(D(dI),{key:1},{default:O(()=>[P(`div`,ztn,[P(`span`,Btn,T(D(r)(`apiClient.requestAuthTab.getAToken`)),1),R(D(eI),{class:`h-6 w-6 p-1.25`,icon:D(rme),label:D(r)(`apiClient.requestAuthTab.configure`,{name:ee.value.name}),onClick:e=>ce(n)},null,8,[`icon`,`label`,`onClick`]),t[`x-scalar-secret-token`]&&ee.value.flowType===`authorizationCode`?(j(),N(D(jw),{key:0,class:`px-3 py-1`,disabled:D(ne).isLoading,size:`sm`,type:`button`,variant:`outlined`,onClick:e=>se(n)},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.refresh`)),1)]),_:1},8,[`disabled`,`onClick`])):I(``,!0),R(D(jw),{class:`text-c-1 px-3 py-1`,loader:D(ne),size:`sm`,type:`button`,variant:`gradient`,onClick:e=>oe(n)},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.authorizeVia`,{name:ee.value.name})),1)]),_:2},1032,[`loader`,`onClick`])])]),_:2},1024)):t?.scheme===`basic`?(j(),M(L,{key:2},[R(D(dI),null,{default:O(()=>[R(QX,{canReset:D(Bx)(t,`x-scalar-secret-username`,t[`x-scalar-secret-username`]),class:`text-c-2`,environment:e.environment,modelValue:t[`x-scalar-secret-username`],placeholder:`janedoe`,required:``,onReset:t=>e.eventBus.emit(`auth:reset:security-scheme-secret`,{name:n,field:`x-scalar-secret-username`}),"onUpdate:modelValue":e=>h({"x-scalar-secret-username":e},n)},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.username`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`,`onReset`,`onUpdate:modelValue`])]),_:2},1024),R(D(dI),null,{default:O(()=>[R(QX,{canReset:D(Bx)(t,`x-scalar-secret-password`,t[`x-scalar-secret-password`]),environment:e.environment,modelValue:t[`x-scalar-secret-password`],placeholder:`********`,type:`password`,onReset:t=>e.eventBus.emit(`auth:reset:security-scheme-secret`,{name:n,field:`x-scalar-secret-password`}),"onUpdate:modelValue":e=>h({"x-scalar-secret-password":e},n)},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.password`)),1)]),_:1},8,[`canReset`,`environment`,`modelValue`,`onReset`,`onUpdate:modelValue`])]),_:2},1024)],64)):I(``,!0)],64)):t?.type===`apiKey`?(j(),M(L,{key:3},[d(t)?(j(),N(D(dI),{key:0},{default:O(()=>[R(QX,{containerClass:m(),environment:e.environment,modelValue:t.name??``,placeholder:`api-key`,"onUpdate:modelValue":e=>_({name:e},n)},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.name`)),1)]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):I(``,!0),R(D(dI),null,{default:O(()=>[R(QX,{canReset:D(Bx)(t,`x-scalar-secret-token`,t[`x-scalar-secret-token`]),containerClass:d(t)?void 0:m(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,onReset:t=>e.eventBus.emit(`auth:reset:security-scheme-secret`,{name:n,field:`x-scalar-secret-token`}),"onUpdate:modelValue":e=>g({"x-scalar-secret-token":e},n)},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.value`)),1)]),_:1},8,[`canReset`,`containerClass`,`environment`,`modelValue`,`onReset`,`onUpdate:modelValue`])]),_:2},1024)],64)):t?.type===`oauth2`||t?.type===`openIdConnect`?(j(),M(L,{key:4},[t.type===`oauth2`&&(!e.isStatic||t.oauth2MetadataUrl)?(j(),N(htn,{key:0,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,name:n,proxyUrl:e.proxyUrl,scheme:t},null,8,[`customFetch`,`environment`,`eventBus`,`name`,`proxyUrl`,`scheme`])):I(``,!0),t?.type===`openIdConnect`&&!o.length?(j(),N(Ftn,{key:1,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:m,name:n,proxyUrl:e.proxyUrl,scheme:t},null,8,[`customFetch`,`environment`,`eventBus`,`name`,`proxyUrl`,`scheme`])):I(``,!0),o.length>1?(j(),N(D(dI),{key:2},{default:O(()=>[P(`div`,Vtn,[P(`div`,Htn,[(j(!0),M(L,null,jr(o,(e,t)=>(j(),M(`button`,{key:e,class:lt(x(e,t)),type:`button`,onClick:t=>c(e)},[P(`span`,Wtn,T(e),1)],10,Utn))),128))])])]),_:2},1024)):I(``,!0),(j(!0),M(L,null,jr(o,(r,i)=>(j(),M(L,{key:r},[t.flows&&p(r,i)?(j(),N(k1,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:n,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:a,server:e.server,type:r,"onDelete:scope":e=>b(n,e),"onUpdate:selectedScopes":e=>v(n,e),"onUpsert:scope":e=>y(n,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`options`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`,`onDelete:scope`,`onUpdate:selectedScopes`,`onUpsert:scope`])):I(``,!0)],64))),128))],64)):t?.type===`userPassword`||t?.type===`plain`||t?.type===`scramSha256`||t?.type===`scramSha512`||t?.type===`X509`||t?.type===`symmetricEncryption`||t?.type===`asymmetricEncryption`||t?.type===`gssapi`?(j(),M(`div`,Gtn,T(D(r)(`apiClient.requestAuthTab.unsupportedCredentials`)),1)):t?.type===`mutualTLS`?(j(),M(`div`,Ktn,T(D(r)(`apiClient.requestAuthTab.mutualTlsHint`)),1)):f(t)?(j(),M(`div`,qtn,T(D(r)(`apiClient.requestAuthTab.unsupportedType`,{type:f(t)??``})),1)):(j(),M(`div`,Jtn,T(D(r)(`apiClient.requestAuthTab.missingType`,{type:i.value})),1))],64))),128)),ee.value&&te.value?(j(),N(D(AX),{key:0,size:`sm`,state:D(ie),title:D(r)(`apiClient.requestAuthTab.configure`,{name:ee.value.name})},{default:O(()=>[R(D(aI),{columns:[``],presentational:``},{default:O(()=>[R(k1,{environment:e.environment,eventBus:e.eventBus,flows:ee.value.flows,hideActions:``,name:ee.value.name,options:e.options,proxyUrl:e.proxyUrl,scheme:te.value,selectedScopes:ee.value.scopes,server:e.server,type:ee.value.flowType,"onDelete:scope":n[0]||=e=>b(ee.value.name,e),"onUpdate:selectedScopes":n[1]||=e=>v(ee.value.name,e),"onUpsert:scope":n[2]||=e=>y(ee.value.name,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`options`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`])]),_:1}),P(`div`,Ytn,[R(D(jw),{class:`p-0 px-2 py-0.5`,size:`sm`,variant:`outlined`,onClick:n[3]||=e=>D(ie).hide()},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.cancel`)),1)]),_:1}),R(D(jw),{class:`p-0 px-2 py-0.5`,loader:D(ne),size:`sm`,onClick:le},{default:O(()=>[F(T(D(r)(`apiClient.requestAuthTab.authorize`)),1)]),_:1},8,[`loader`])])]),_:1},8,[`state`,`title`])):I(``,!0)],64))}})})),Qtn,$tn=s((()=>{Ztn(),Qtn=Xtn})),enn,tnn,nnn,rnn,inn=s((()=>{Fs(),oI(),$tn(),B(),enn=[`onClick`],tnn={class:`relative z-10 font-medium whitespace-nowrap`},nnn={key:0,class:`absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current`},rnn=k({__name:`RequestAuthDataTable`,props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{},documentType:{}},setup(e,{expose:t}){let{translate:n}=Ps(),r=z(()=>e.selectedSchemeOptions[e.activeAuthIndex]),i=z(()=>e.selectedSchemeOptions.length>1),a=t=>e.eventBus.emit(`auth:update:active-index`,{index:t,meta:e.meta}),o=t=>e.eventBus.emit(`auth:update:selected-scopes`,{...t,meta:e.meta}),s=t=>e.eventBus.emit(`auth:upsert:scopes`,t),c=t=>e.eventBus.emit(`auth:delete:scopes`,t),l=t=>e.activeAuthIndex===t;return t({activeScheme:r}),(t,u)=>(j(),M(`form`,{onSubmit:u[0]||=Ka(()=>{},[`prevent`])},[i.value?(j(),M(`div`,{key:0,class:lt([`box-content flex flex-wrap gap-x-2.5 overflow-hidden border-x border-t px-3`,{"border-x-0":!e.isStatic}]),"data-testid":`auth-tabs`},[(j(!0),M(L,null,jr(e.selectedSchemeOptions,(e,t)=>(j(),M(`div`,{key:e.id,class:`relative z-1 -mb-[var(--scalar-border-width)] flex h-8`},[P(`button`,{class:lt([`floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors`,l(t)?`text-c-1`:`text-c-3`]),type:`button`,onClick:e=>a(t)},[P(`span`,tnn,T(e.label),1)],10,enn),l(t)?(j(),M(`div`,nnn)):I(``,!0)]))),128))],2)):I(``,!0),r.value?(j(),N(D(aI),{key:1,class:lt([`flex-1`,{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[``],presentational:``},{default:O(()=>[R(Qtn,{documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:r.value.value,server:e.server,"onDelete:scope":c,"onUpdate:selectedScopes":o,"onUpsert:scope":s},null,8,[`documentType`,`environment`,`eventBus`,`isStatic`,`options`,`proxyUrl`,`securitySchemes`,`selectedSecuritySchemas`,`server`])]),_:1},8,[`class`])):(j(),M(`div`,{key:2,class:lt([`bg-b-1 text-c-3 flex min-h-16 items-center justify-center border-t px-4 text-sm`,{"min-h-[calc(4rem+0.5px)] rounded-b-lg border":e.isStatic}])},T(D(n)(`apiClient.requestAuthDataTable.noauthenticationSelected`)),3))],32))}})})),ann,onn=s((()=>{inn(),ann=rnn})),snn,cnn,lnn,unn=s((()=>{Fs(),aB(),U2t(),J2t(),onn(),B(),Mw(),uB(),Qs(),jX(),nI(),rS(),fT(),iu(),Fu(),snn=[`id`],cnn={class:`min-w-0 flex-1 truncate`},lnn=k({__name:`AuthSelector`,props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},canDeleteSchemes:{type:Boolean,default:!0},defaultOpen:{type:Boolean,default:!0},heading:{type:Boolean,default:!0},hideSingleRequiredScheme:{type:Boolean,default:!1},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{},documentType:{}},setup(e,{expose:t}){let{translate:n,translations:r}=Ps(),i=xr(),a=E(null),o=E(!1),s=kX(),c=E(null),l=z(()=>{if(!e.securityRequirements?.length)return null;let t=Dx(e.securityRequirements);return{icon:t?`Unlock`:`Lock`,text:n(t?`apiClient.authSelector.optional`:`apiClient.authSelector.required`)}}),u=z(()=>q2t(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme,r.value.apiClient)),d=z(()=>{let t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap(t=>{let n=Object.keys(t);if(n.length===0)return[];if(n.length>1)return PX(t);let r=n[0];return!r||!H(e.securitySchemes?.[r])?[]:NX({name:r,value:t})}):[]}),f=z(()=>{if(!e.hideSingleRequiredScheme||e.createAnySecurityScheme||e.securityRequirements?.length!==1||Object.keys(e.securityRequirements[0]??{}).length===0)return!0;let t=u.value.flatMap(e=>`options`in e?e.options:[e]);return t.length!==1||d.value.length!==1||d.value[0]?.id!==t[0]?.id}),p=e=>{f.value&&(o.value&&e.stopPropagation(),a.value?.$el.click())},m=t=>{let n=t.filter(e=>e.payload===void 0).map(e=>Pu(e.value,{depth:2})),r=t.filter(e=>e.payload!==void 0).map(e=>({name:e.label,scheme:e.payload}));e.eventBus.emit(`auth:update:selected-security-schemes`,{selectedRequirements:n,newSchemes:r,meta:e.meta})},h=e=>{c.value={label:e.label,payload:e.value},s.show()},g=()=>{c.value&&(e.eventBus.emit(`auth:delete:security-scheme`,{names:Object.keys(c.value.payload)}),c.value=null,s.hide())};return t({authIndicator:l,selectedSchemeOptions:d,schemeOptions:u}),(t,r)=>(j(),N(D(iB),{class:`group/params relative`,defaultOpen:e.defaultOpen,heading:e.heading,isStatic:e.isStatic,itemCount:d.value.length,"onUpdate:modelValue":r[1]||=e=>o.value=e},Mr({title:O(()=>[P(`div`,{id:D(i),class:`inline-flex items-center gap-0.5 leading-[20px]`},[P(`span`,null,T(e.title),1),l.value?(j(),M(`span`,{key:0,class:lt([`text-c-3 -my-0.5 -mr-1 rounded px-1 py-0.5 leading-[normal] font-normal`,{"text-c-1":l.value.icon===`Lock`,"hover:bg-b-3 hover:text-c-1 cursor-pointer":f.value}]),"data-testid":`auth-indicator`,onClick:p},T(l.value.text),3)):I(``,!0)],8,snn)]),default:O(()=>[R(ann,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:d.value,server:e.server},null,8,[`activeAuthIndex`,`documentType`,`environment`,`eventBus`,`isStatic`,`meta`,`options`,`proxyUrl`,`securitySchemes`,`selectedSchemeOptions`,`server`]),c.value?(j(),N(H2t,{key:0,label:c.value.label,scheme:c.value,state:D(s),onClose:r[0]||=e=>D(s).hide(),onDelete:g},null,8,[`label`,`scheme`,`state`])):I(``,!0)]),_:2},[f.value?{name:`actions`,fn:O(()=>[R(D(rtt),{class:`w-72 text-xs`,modelValue:d.value,multiple:``,options:u.value,placement:`bottom-end`,teleport:``,onDelete:h,"onUpdate:modelValue":m},{option:O(({option:t,selected:r})=>[R(D(Nw),{multiselect:``,selected:r},null,8,[`selected`]),P(`div`,cnn,T(t.label),1),t.isDeletable&&e.canDeleteSchemes?(j(),N(D(eI),{key:0,class:`-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100`,icon:D(Ys),label:D(n)(`apiClient.authSelector.deleteScheme`,{name:t.label}),size:`xs`,onClick:Ka(e=>h(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])):I(``,!0)]),default:O(()=>[R(D(jw),{ref_key:`comboboxButtonRef`,ref:a,"aria-describedby":D(i),class:`group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal`,variant:`ghost`},{default:O(()=>[d.value.length===1?(j(),M(L,{key:0},[F(T(D(n)(`apiClient.authSelector.selectedType`,{type:d.value[0]?.label??``})),1)],64)):d.value.length>1?(j(),M(L,{key:1},[F(T(D(n)(`apiClient.authSelector.multipleTypes`)),1)],64)):(j(),M(L,{key:2},[F(T(D(n)(`apiClient.authSelector.selectType`)),1)],64)),R(D(zs),{class:`size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180`,weight:`bold`})]),_:1},8,[`aria-describedby`])]),_:1},8,[`modelValue`,`options`])]),key:`0`}:void 0]),1032,[`defaultOpen`,`heading`,`isStatic`,`itemCount`]))}})})),V1,dnn=s((()=>{unn(),V1=lnn})),fnn,pnn,mnn,hnn,gnn,_nn,vnn,ynn,bnn=s((()=>{Fs(),Jl(),Q3e(),S7e(),w7e(),sKt(),r2t(),f2t(),h2t(),O2t(),A2t(),M2t(),dnn(),B(),rS(),ic(),Bc(),iu(),_X(),qv(),Fu(),sX(),fnn={class:`group pointer-events-none flex flex-1 items-center gap-1 lg:pe-24`},pnn=[`for`],mnn=[`id`,`placeholder`,`value`],hnn={key:2,class:`text-c-1 flex h-8 items-center`},gnn={key:3,class:`text-c-1 flex h-8 items-center`},_nn=[`id`,`role`],vnn=`Generated from schema`,ynn=k({__name:`RequestBlock`,props:{authMeta:{default:()=>({type:`document`})},clientOptions:{},environment:{},eventBus:{},exampleKey:{},workspaceCookies:{},documentCookies:{},documentSlug:{},layout:{},method:{},operation:{},sourceOperation:{},path:{},plugins:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},openapiVersion:{},requestBodyCompositionSelection:{},selectedClient:{},selectedSecurity:{},selectedSecuritySchemes:{},server:{},defaultHeaders:{},defaultRequestBodyView:{default:`raw`},options:{}},setup(e){let{translate:t}=Ps(),n=z(()=>({method:e.method,path:e.path,exampleKey:e.exampleKey})),r=E({}),i=E({}),a=e=>`${e.in}:${e.name}`,o=e=>r.value[a(e)]??[],s=e=>{if(!e.originalParameter||!e.sourceParameterValuePath||(f.value.query?.filter(t=>t.originalParameter===e.originalParameter)??[]).length>1)return;let t=a(e.originalParameter);r.value={...r.value,[t]:[...r.value[t]??[],e.sourceParameterValuePath]}},c=e=>i.value[a(e)]??[],l=(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),u=(e,t)=>{if(!e.originalParameter||!e.sourceParameterValuePath)return;let n=e.sourceParameterValuePath,r=a(e.originalParameter),o=i.value[r]??[],s=o.find(e=>l(e.to,n)),c=s?o.map(e=>e===s?{from:e.from,to:t}:e):[...o,{from:n,to:t}];i.value={...i.value,[r]:c}},d=z(()=>e.operation.parameters?.some(e=>H(e)?.in===`querystring`)??!1),f=z(()=>k2t(e.operation.parameters?.flatMap((t,n)=>{let r=H(t);return r?D2t(r,e.exampleKey,{hiddenValuePaths:r.in===`query`?o(r):[],renamedValuePaths:r.in===`query`?c(r):[]}).map(t=>({...t,originalParameter:H(e.sourceOperation?.parameters?.[n])??r,in:r.in===`querystring`?`query`:r.in})):[]})??[],`in`,({in:e,...t})=>t)),p=z(()=>k2t(f.value.header?.map(e=>({...e,name:e.name.toLowerCase()}))??[],`name`)),m=z(()=>{let t=e.operation[`x-scalar-disable-parameters`]?.[`default-headers`]?.[e.exampleKey]??{},n=e=>{let t=p.value[e.toLowerCase()]?.[0];return t?!t.isDisabled:!1};return Object.entries(e.defaultHeaders).map(([e,r])=>({name:e,value:r,schema:void 0,isOverridden:n(e),isReadonly:!0,isDisabled:t[e.toLowerCase()]??!1}))}),h=z(()=>[...m.value,...f.value.header??[]]),g=z(()=>{let t=Cb(e.environment),n=Ob({server:e.server,path:e.path});return Kv(n,t)}),_=z(()=>j2t({sources:[{location:`workspace`,cookies:e.workspaceCookies},{location:`document`,cookies:e.documentCookies}],shouldInclude:e=>Iy({cookie:{...e,isDisabled:!1},url:g.value,disabledGlobalCookies:{}})})),v=z(()=>{let t=e.operation[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[e.exampleKey]??{};return _.value.map(e=>({name:e.name,value:e.selectedValue,globalRoute:{page:e.location,path:`cookies`},isReadonly:!0,isDisabled:t[e.name.toLowerCase()]??!1,presetOptions:e.isPreset?e.options:void 0}))}),y=(t,n)=>{let r=_.value[t];if(r)for(let t of r.siblings)e.eventBus.emit(`cookie:upsert:cookie`,{collectionType:t.location,index:t.index,payload:{isDisabled:t.value!==n}})},b=z(()=>[...v.value??[],...f.value.cookie??[]]),x=E(`All`),ee=[`Auth`,`Variables`,`Cookies`,`Headers`,`Query`,`Body`],te={All:xr(),Auth:xr(),Variables:xr(),Cookies:xr(),Headers:xr(),Query:xr(),Body:xr()},ne=z(()=>{let t=new Set([`All`,...ee]);return f.value.path?.length||t.delete(`Variables`),Rc(e.method)||t.delete(`Body`),ie.value&&t.delete(`Auth`),[...t]}),re=z(()=>ne.value.reduce((e,t)=>(e[t]=te[t],e),{})),ie=z(()=>e.layout===`modal`&&!Object.keys(e.securitySchemes??{}).length),ae=z(()=>e.layout!==`modal`||!!(e.securityRequirements?.length||e.selectedSecurity.selectedSchemes.length)),oe=z(()=>e.operation.summary?e.operation.summary:e.path.replace(rc.PROTOCOL,``)||t(`apiClient.requestBlock.requestName`)),se=e=>x.value===`All`||x.value===e;dr(()=>e.method,e=>{x.value===`Body`&&!Rc(e)&&(x.value=`All`)}),dr(()=>[e.method,e.path,e.exampleKey],()=>{r.value={},i.value={}});let ce=t=>{if(!(t.target instanceof HTMLInputElement))return;let r=t.target.value;e.eventBus.emit(`operation:update:meta`,{meta:n.value,payload:{summary:r.trim()}})},le=z(()=>({path:SX(`path`,e.eventBus,n.value,{context:f.value.path??[]}),cookie:{...SX(`cookie`,e.eventBus,n.value,{context:b.value??[],globalParameters:v.value.length}),selectPreset:y},header:SX(`header`,e.eventBus,n.value,{context:h.value,defaultParameters:m.value.length}),query:SX(`query`,e.eventBus,n.value,{context:f.value.query??[],onDeleteExpandedRow:s,onRenameExpandedRow:u})})),S=t=>e.eventBus.emit(`operation:update:requestBody:contentType`,{payload:{contentType:t.value},meta:n.value}),ue=({payload:t,contentType:r})=>{let i=typeof t==`string`?`update:requestBody:value-${r}`:void 0;e.eventBus.emit(`operation:update:requestBody:value`,{payload:t,contentType:r,meta:n.value},{debounceKey:i})},de=({payload:t,contentType:r})=>{let i=`update:requestBody:${r}-form-value`;e.eventBus.emit(`operation:update:requestBody:formValue`,{payload:t.map(e=>Pu(e,{depth:1})),contentType:r,meta:n.value},{debounceKey:i})},fe=({contentType:t})=>{let n=H(e.operation.requestBody),r=Ow(t);if(!n||!r)return;let i=pv(n,t,e.requestBodyCompositionSelection);if(i==null)return;let a=j1t(e.operation,vnn),o={path:e.path,method:e.method,exampleKey:a};e.eventBus.emit(`operation:create:draft-example`,{documentName:e.documentSlug,meta:{path:e.path,method:e.method},exampleName:a}),e.eventBus.emit(`operation:update:requestBody:contentType`,{payload:{contentType:t},meta:o}),e.eventBus.emit(`operation:update:requestBody:value`,{payload:r.stringify(i),contentType:t,meta:o}),e.layout!==`modal`&&e.eventBus.emit(`ui:navigate`,{page:`example`,documentSlug:e.documentSlug,path:e.path,method:e.method,exampleName:a})},pe=xr();cr(C7e,z(()=>e.layout===`modal`&&e.operation.summary?3:2));let me=z(()=>[...e.workspaceCookies,...e.documentCookies]),he=t=>e.eventBus.emit(`operation:update:extension`,{payload:t,meta:n.value}),ge=z(()=>({All:t(`apiClient.sectionFilter.all`),Auth:t(`apiClient.sectionFilter.auth`),Variables:t(`apiClient.sectionFilter.variables`),Cookies:t(`apiClient.sectionFilter.cookies`),Headers:t(`apiClient.sectionFilter.headers`),Query:t(`apiClient.sectionFilter.query`),Body:t(`apiClient.sectionFilter.body`)}));return(n,r)=>(j(),N(ql,{"aria-label":D(t)(`apiClient.requestBlock.label`,{name:e.operation.summary??``})},{title:O(()=>[P(`div`,fnn,[e.layout===`modal`?I(``,!0):(j(),M(`label`,{key:0,class:`pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0`,for:D(pe)},null,8,pnn)),e.layout===`modal`?e.operation.summary?(j(),M(`h2`,hnn,T(e.operation.summary),1)):(j(),M(`span`,gnn)):(j(),M(`input`,{key:1,id:D(pe),class:`text-c-1 group-hover-input pointer-events-auto relative z-10 -ml-0.5 h-8 w-full rounded pl-1.25 has-[:focus-visible]:outline md:-ml-1.25`,placeholder:oe.value,value:e.operation.summary,onBlur:ce},null,40,mnn))]),R(_S,{modelValue:x.value,"onUpdate:modelValue":r[0]||=e=>x.value=e,filters:ne.value,labels:ge.value},null,8,[`modelValue`,`filters`,`labels`])]),default:O(()=>[P(`div`,{id:re.value.All,class:`request-section-content custom-scroll relative flex flex-1 flex-col`,role:x.value===`All`?`tabpanel`:`none`},[or(R(D(V1),{id:re.value.Auth,createAnySecurityScheme:e.layout!==`modal`,defaultOpen:ae.value,environment:e.environment,eventBus:e.eventBus,meta:e.authMeta,options:e.options,proxyUrl:e.proxyUrl,securityRequirements:e.securityRequirements,securitySchemes:e.securitySchemes,selectedSecurity:e.selectedSecurity,selectedSecuritySchemes:e.selectedSecuritySchemes,server:e.server,title:D(t)(`apiClient.requestBlock.authentication`)},null,8,[`id`,`createAnySecurityScheme`,`defaultOpen`,`environment`,`eventBus`,`meta`,`options`,`proxyUrl`,`securityRequirements`,`securitySchemes`,`selectedSecurity`,`selectedSecuritySchemes`,`server`,`title`]),[[za,se(`Auth`)&&!ie.value]]),or(R(vX,oi({id:re.value.Variables,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:f.value.path??[],showAddRowPlaceholder:!1,title:D(t)(`apiClient.requestBlock.variables`)},Nr(le.value.path)),null,16,[`id`,`environment`,`eventBus`,`exampleKey`,`rows`,`title`]),[[za,se(`Variables`)&&f.value.path?.length]]),or(R(vX,oi({id:re.value.Cookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:b.value??[],showAddRowPlaceholder:!0,title:D(t)(`apiClient.requestBlock.cookies`)},Nr(le.value.cookie)),null,16,[`id`,`environment`,`eventBus`,`exampleKey`,`rows`,`title`]),[[za,se(`Cookies`)]]),or(R(vX,oi({id:re.value.Headers,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:h.value??[],title:D(t)(`apiClient.requestBlock.headers`)},Nr(le.value.header)),null,16,[`id`,`environment`,`eventBus`,`exampleKey`,`rows`,`title`]),[[za,se(`Headers`)]]),or((j(),N(vX,oi({id:re.value.Query,key:JSON.stringify([e.documentSlug,e.method,e.path,e.exampleKey]),description:d.value?D(t)(`apiClient.requestBlock.queryStringDescription`):void 0,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:f.value.query??[],selectExpandedParameters:``,showAddRowPlaceholder:!d.value,title:d.value?D(t)(`apiClient.requestBlock.queryString`):D(t)(`apiClient.requestBlock.queryParameters`)},Nr(le.value.query)),null,16,[`id`,`description`,`environment`,`eventBus`,`exampleKey`,`rows`,`showAddRowPlaceholder`,`title`])),[[za,se(`Query`)]]),or(R(oKt,{id:re.value.Body,defaultView:e.defaultRequestBodyView,environment:e.environment,exampleKey:e.exampleKey,openapiVersion:e.openapiVersion,requestBody:D(H)(e.operation.requestBody),requestBodyCompositionSelection:e.requestBodyCompositionSelection,title:D(t)(`apiClient.requestBlock.requestBody`),"onGenerate:example":fe,"onUpdate:contentType":S,"onUpdate:formValue":de,"onUpdate:value":ue},null,8,[`id`,`defaultView`,`environment`,`exampleKey`,`openapiVersion`,`requestBody`,`requestBodyCompositionSelection`,`title`]),[[za,se(`Body`)&&D(Rc)(e.method)]]),(j(!0),M(L,null,jr(e.plugins,(t,n)=>(j(),N(D(gX),{key:n},{default:O(()=>[t?.components?.request?or((j(),N(Ar(t.components.request.component),oi({key:0,operation:e.operation},{ref_for:!0},t.components.request.additionalProps,{"onOperation:update:extension":he}),null,16,[`operation`])),[[za,x.value===`All`]]):I(``,!0)]),_:2},1024))),128)),r[1]||=P(`div`,{class:`flex grow`},null,-1),or(R(n2t,{clientOptions:e.clientOptions,eventBus:e.eventBus,globalCookies:me.value,integration:`client`,method:e.method,openapiVersion:e.openapiVersion,operation:e.operation,path:e.path,requestBodyCompositionSelection:e.requestBodyCompositionSelection,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:D(H)(e.operation.requestBody)?.[`x-scalar-selected-content-type`]?.[e.exampleKey],selectedExample:e.exampleKey,selectedServer:e.server??void 0},null,8,[`clientOptions`,`eventBus`,`globalCookies`,`method`,`openapiVersion`,`operation`,`path`,`requestBodyCompositionSelection`,`securitySchemes`,`selectedClient`,`selectedContentType`,`selectedExample`,`selectedServer`]),[[za,x.value===`All`]])],8,_nn)]),_:1},8,[`aria-label`]))}})})),xnn,Snn=s((()=>{Ds(),bnn(),xnn=Es(ynn,[[`__scopeId`,`data-v-87ab23d9`]])})),Cnn,wnn,Tnn=s((()=>{cI(),B(),Cnn={class:`flex-1 px-2 py-1.5 whitespace-nowrap`},wnn=k({__name:`DataTableText`,props:{text:{}},setup(e){return(t,n)=>(j(),N(sI,{class:`relative flex`},{default:O(()=>[P(`span`,Cnn,[A(t.$slots,`default`,{},()=>[F(T(e.text),1)])])]),_:3}))}})})),H1,Enn=s((()=>{Tnn(),H1=wnn})),Dnn,Onn,knn=s((()=>{B(),Dnn=[`href`],Onn=k({__name:`HelpfulLink`,props:{href:{}},setup(e){return(t,n)=>(j(),M(`a`,{class:`decoration-c-3 cursor-help underline underline-offset-2`,href:e.href,rel:`noopener noreferrer`,target:`_blank`},[A(t.$slots,`default`)],8,Dnn))}})})),U1,Ann=s((()=>{knn(),U1=Onn})),jnn,Mnn=s((()=>{jnn={accept:{name:`Accept`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept`},"accept-ch":{name:`Accept-CH`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH`},"accept-ch-lifetime":{name:`Accept-CH-Lifetime`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime`},"accept-charset":{name:`Accept-Charset`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset`},"accept-encoding":{name:`Accept-Encoding`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding`},"accept-language":{name:`Accept-Language`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language`},"accept-patch":{name:`Accept-Patch`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Patch`},"accept-post":{name:`Accept-Post`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Post`},"accept-ranges":{name:`Accept-Ranges`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges`},"access-control-allow-credentials":{name:`Access-Control-Allow-Credentials`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials`},"access-control-allow-headers":{name:`Access-Control-Allow-Headers`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers`},"access-control-allow-methods":{name:`Access-Control-Allow-Methods`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods`},"access-control-allow-origin":{name:`Access-Control-Allow-Origin`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin`},"access-control-expose-headers":{name:`Access-Control-Expose-Headers`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers`},"access-control-max-age":{name:`Access-Control-Max-Age`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age`},"access-control-request-headers":{name:`Access-Control-Request-Headers`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers`},"access-control-request-method":{name:`Access-Control-Request-Method`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method`},age:{name:`Age`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Age`},allow:{name:`Allow`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow`},"alt-svc":{name:`Alt-Svc`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc`},"alt-used":{name:`Alt-Used`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Used`},authorization:{name:`Authorization`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization`},"cache-control":{name:`Cache-Control`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control`},"clear-site-data":{name:`Clear-Site-Data`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data`},connection:{name:`Connection`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection`},"content-disposition":{name:`Content-Disposition`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition`},"content-dpr":{name:`Content-DPR`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-DPR`},"content-encoding":{name:`Content-Encoding`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding`},"content-language":{name:`Content-Language`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language`},"content-length":{name:`Content-Length`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length`},"content-location":{name:`Content-Location`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location`},"content-range":{name:`Content-Range`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range`},"content-security-policy":{name:`Content-Security-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy`},"content-security-policy-report-only":{name:`Content-Security-Policy-Report-Only`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only`},"content-type":{name:`Content-Type`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type`},cookie:{name:`Cookie`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie`},"critical-ch":{name:`Critical-CH`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Critical-CH`},"cross-origin-embedder-policy":{name:`Cross-Origin-Embedder-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy`},"cross-origin-opener-policy":{name:`Cross-Origin-Opener-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy`},"cross-origin-resource-policy":{name:`Cross-Origin-Resource-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy`},date:{name:`Date`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date`},"device-memory":{name:`Device-Memory`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Device-Memory`},digest:{name:`Digest`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest`},dnt:{name:`DNT`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT`},downlink:{name:`Downlink`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Downlink`},dpr:{name:`DPR`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DPR`},"early-data":{name:`Early-Data`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Early-Data`},ect:{name:`ECT`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ECT`},etag:{name:`ETag`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag`},expect:{name:`Expect`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect`},"expect-ct":{name:`Expect-CT`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT`},expires:{name:`Expires`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires`},forwarded:{name:`Forwarded`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded`},from:{name:`From`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/From`},host:{name:`Host`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host`},"if-match":{name:`If-Match`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match`},"if-modified-since":{name:`If-Modified-Since`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since`},"if-none-match":{name:`If-None-Match`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match`},"if-range":{name:`If-Range`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range`},"if-unmodified-since":{name:`If-Unmodified-Since`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since`},"keep-alive":{name:`Keep-Alive`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive`},"large-allocation":{name:`Large-Allocation`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation`},"last-modified":{name:`Last-Modified`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified`},link:{name:`Link`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link`},location:{name:`Location`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location`},"max-forwards":{name:`Max-Forwards`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards`},nel:{name:`NEL`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/NEL`},origin:{name:`Origin`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin`},"permissions-policy":{name:`Permissions-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy`},pragma:{name:`Pragma`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma`},"proxy-authenticate":{name:`Proxy-Authenticate`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authenticate`},"proxy-authorization":{name:`Proxy-Authorization`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization`},range:{name:`Range`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range`},referer:{name:`Referer`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer`},"referrer-policy":{name:`Referrer-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy`},"retry-after":{name:`Retry-After`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After`},rtt:{name:`RTT`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/RTT`},"save-data":{name:`Save-Data`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data`},"sec-ch-prefers-reduced-motion":{name:`Sec-CH-Prefers-Reduced-Motion`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion`},"sec-ch-prefers-reduced-transparency":{name:`Sec-CH-Prefers-Reduced-Transparency`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Transparency`},"sec-ch-ua":{name:`Sec-CH-UA`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA`},"sec-ch-ua-arch":{name:`Sec-CH-UA-Arch`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Arch`},"sec-ch-ua-bitness":{name:`Sec-CH-UA-Bitness`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Bitness`},"sec-ch-ua-full-version":{name:`Sec-CH-UA-Full-Version`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version`},"sec-ch-ua-full-version-list":{name:`Sec-CH-UA-Full-Version-List`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version-List`},"sec-ch-ua-mobile":{name:`Sec-CH-UA-Mobile`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Mobile`},"sec-ch-ua-model":{name:`Sec-CH-UA-Model`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Model`},"sec-ch-ua-platform":{name:`Sec-CH-UA-Platform`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform`},"sec-ch-ua-platform-version":{name:`Sec-CH-UA-Platform-Version`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform-Version`},"sec-fetch-dest":{name:`Sec-Fetch-Dest`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest`},"sec-fetch-mode":{name:`Sec-Fetch-Mode`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode`},"sec-fetch-site":{name:`Sec-Fetch-Site`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site`},"sec-fetch-user":{name:`Sec-Fetch-User`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User`},"sec-gpc":{name:`Sec-GPC`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-GPC`},"sec-purpose":{name:`Sec-Purpose`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Purpose`},"sec-websocket-accept":{name:`Sec-WebSocket-Accept`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept`},server:{name:`Server`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server`},"server-timing":{name:`Server-Timing`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing`},"service-worker-navigation-preload":{name:`Service-Worker-Navigation-Preload`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Service-Worker-Navigation-Preload`},"set-cookie":{name:`Set-Cookie`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie`},sourcemap:{name:`SourceMap`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap`},"strict-transport-security":{name:`Strict-Transport-Security`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security`},te:{name:`TE`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/TE`},"timing-allow-origin":{name:`Timing-Allow-Origin`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin`},tk:{name:`Tk`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Tk`},trailer:{name:`Trailer`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer`},"transfer-encoding":{name:`Transfer-Encoding`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding`},upgrade:{name:`Upgrade`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade`},"upgrade-insecure-requests":{name:`Upgrade-Insecure-Requests`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests`},"user-agent":{name:`User-Agent`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent`},vary:{name:`Vary`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary`},via:{name:`Via`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via`},"viewport-width":{name:`Viewport-Width`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width`},"want-digest":{name:`Want-Digest`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest`},warning:{name:`Warning`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning`},width:{name:`Width`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width`},"www-authenticate":{name:`WWW-Authenticate`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate`},"x-content-type-options":{name:`X-Content-Type-Options`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options`},"x-dns-prefetch-control":{name:`X-DNS-Prefetch-Control`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control`},"x-forwarded-for":{name:`X-Forwarded-For`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For`},"x-forwarded-host":{name:`X-Forwarded-Host`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host`},"x-forwarded-proto":{name:`X-Forwarded-Proto`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto`},"x-frame-options":{name:`X-Frame-Options`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options`},"x-xss-protection":{name:`X-XSS-Protection`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection`},"cf-cache-status":{name:`Cf-Cache-Status`,url:`https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#cloudflare-cache-responses`},"cf-ray":{name:`Cf-Ray`,url:`https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-ray`},"report-to":{name:`Report-To`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to`},"x-cloud-trace-context":{name:`X-Cloud-Trace-Context`,url:`https://cloud.google.com/trace/docs/trace-context#legacy-http-header`},"speculation-rules":{name:`Speculation-Rules`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Speculation-Rules`}}})),Nnn,Pnn,Fnn,Inn=s((()=>{Fs(),oI(),uI(),fI(),Enn(),aB(),Ann(),B(),Mnn(),Nnn={key:0,class:`max-h-[calc(100%-32px)] overflow-y-auto`},Pnn={key:1,class:`text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm`},Fnn=k({__name:`Headers`,props:{headers:{}},setup(e){let{translate:t}=Ps(),n=e=>jnn[e.toLowerCase()];return(r,i)=>(j(),N(D(iB),{class:`overflow-auto`,defaultOpen:!1,itemCount:e.headers.length},{title:O(()=>[A(r.$slots,`title`)]),default:O(()=>[e.headers.length?(j(),M(`div`,Nnn,[R(D(aI),{columns:[`minmax(auto, min-content)`,`minmax(50%, 1fr)`],scroll:``},{default:O(()=>[R(D(dI),{class:`sr-only !block`},{default:O(()=>[R(D(lI),null,{default:O(()=>[F(T(D(t)(`apiClient.headers.headerKey`)),1)]),_:1}),R(D(lI),null,{default:O(()=>[F(T(D(t)(`apiClient.headers.headerValue`)),1)]),_:1})]),_:1}),(j(!0),M(L,null,jr(e.headers,e=>(j(),N(D(dI),{key:e.name,class:`group/row text-c-1`},{default:O(()=>[R(D(H1),{class:`bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0`},{default:O(()=>[typeof n(e.name)?.url==`string`?(j(),N(U1,{key:0,class:`decoration-c-3`,href:n(e.name).url},{default:O(()=>[F(T(e.name),1)]),_:2},1032,[`href`])):(j(),M(L,{key:1},[F(T(e.name),1)],64))]),_:2},1024),R(D(H1),{class:`z-0 group-first/row:border-t-0`,text:e.value},null,8,[`text`])]),_:2},1024))),128))]),_:1})])):(j(),M(`div`,Pnn,T(D(t)(`apiClient.headers.noHeaders`)),1))]),_:3},8,[`itemCount`]))}})})),W1,Lnn=s((()=>{Inn(),W1=Fnn}));function Rnn(e){let t=``;if(e){let n=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];n&&(t=znn(n.trim()))}return t}var znn,Bnn=s((()=>{znn=e=>{try{return decodeURIComponent(e)}catch{return e}}}));function Vnn({data:e,headers:t}){let n=t.find(e=>e.name.toLowerCase()===`content-type`),r=xc(n?.value);return{mimeType:r,attachmentFilename:Rnn(t.find(e=>e.name.toLowerCase()===`content-disposition`)?.value??``),dataUrl:Hnn(e)?URL.createObjectURL(e):typeof e==`string`?URL.createObjectURL(new Blob([e],{type:r?r.toString():void 0})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{type:r?r.toString():void 0})):``}}var Hnn,Unn=s((()=>{Fbe(),Bnn(),Hnn=e=>e instanceof Blob})),Wnn,Gnn,Knn,qnn=s((()=>{Fs(),Mc(),B(),gS(),Wnn=[`aria-label`,`download`,`href`],Gnn={class:`sr-only`},Knn=k({__name:`ResponseBodyDownload`,props:{href:{},type:{},filename:{}},setup(e){let t=e,{translate:n}=Ps(),r=z(()=>{let e=Ac(t.type??``)?.extension??`.unknown`;return t.filename?t.filename:`response${e}`});return(t,i)=>(j(),M(`a`,{"aria-label":D(n)(`apiClient.responseBodyDownload.download`),class:`text-c-3 text-xxs hover:bg-b-3 flex items-center gap-1 rounded px-1.5 py-0.5 no-underline`,download:`${r.value}`,href:e.href,onClick:i[0]||=Ka(()=>{},[`stop`])},[R(D(fS),{icon:`Download`,size:`xs`}),P(`span`,null,[P(`span`,null,T(D(n)(`apiClient.responseBodyDownload.label`)),1),P(`span`,Gnn,T(D(n)(`apiClient.responseBodyDownload.body`)),1)])],8,Wnn))}})})),G1,Jnn=s((()=>{qnn(),G1=Knn}));function Ynn(e,t){return j(),M(`div`,Znn,[P(`div`,Qnn,[A(e.$slots,`default`)])])}var Xnn,Znn,Qnn,K1,$nn=s((()=>{Ds(),B(),Xnn={},Znn={class:`flex justify-center px-2 py-3`},Qnn={class:`text-c-3 p-2 text-sm`},K1=Es(Xnn,[[`render`,Ynn]])}));function ern(e,t=!1){let n=e.length,r=0,i=``,a=0,o=16,s=0,c=0,l=0,u=0,d=0;function f(t,n){let i=0,a=0;for(;i<t||!n;){let t=e.charCodeAt(r);if(t>=48&&t<=57)a=a*16+t-48;else if(t>=65&&t<=70)a=a*16+t-65+10;else if(t>=97&&t<=102)a=a*16+t-97+10;else break;r++,i++}return i<t&&(a=-1),a}function p(e){r=e,i=``,a=0,o=16,d=0}function m(){let t=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&Y1(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46){if(r++,r<e.length&&Y1(e.charCodeAt(r)))for(r++;r<e.length&&Y1(e.charCodeAt(r));)r++;else return d=3,e.substring(t,r)}let n=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101)){if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&Y1(e.charCodeAt(r))){for(r++;r<e.length&&Y1(e.charCodeAt(r));)r++;n=r}else d=3}return e.substring(t,n)}function h(){let t=``,i=r;for(;;){if(r>=n){t+=e.substring(i,r),d=2;break}let a=e.charCodeAt(r);if(a===34){t+=e.substring(i,r),r++;break}if(a===92){if(t+=e.substring(i,r),r++,r>=n){d=2;break}switch(e.charCodeAt(r++)){case 34:t+=`"`;break;case 92:t+=`\\`;break;case 47:t+=`/`;break;case 98:t+=`\b`;break;case 102:t+=`\f`;break;case 110:t+=`
+`;break;case 114:t+=`\r`;break;case 116:t+=` `;break;case 117:let e=f(4,!0);e>=0?t+=String.fromCharCode(e):d=4;break;default:d=5}i=r}else{if(a>=0&&a<=31){if(J1(a)){t+=e.substring(i,r),d=2;break}d=6}r++}}return t}function g(){if(i=``,d=0,a=r,c=s,u=l,r>=n)return a=n,o=17;let t=e.charCodeAt(r);if(q1(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(q1(t));return o=15}if(J1(t))return r++,i+=String.fromCharCode(t),t===13&&e.charCodeAt(r)===10&&(r++,i+=`
+`),s++,l=r,o=14;switch(t){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,i=h(),o=10;case 47:let c=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!J1(e.charCodeAt(r));)r++;return i=e.substring(c,r),o=12}if(e.charCodeAt(r+1)===42){r+=2;let t=n-1,a=!1;for(;r<t;){let t=e.charCodeAt(r);if(t===42&&e.charCodeAt(r+1)===47){r+=2,a=!0;break}r++,J1(t)&&(t===13&&e.charCodeAt(r)===10&&r++,s++,l=r)}return a||(r++,d=1),i=e.substring(c,r),o=13}return i+=String.fromCharCode(t),r++,o=16;case 45:if(i+=String.fromCharCode(t),r++,r===n||!Y1(e.charCodeAt(r)))return o=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=m(),o=11;default:for(;r<n&&_(t);)r++,t=e.charCodeAt(r);if(a!==r){switch(i=e.substring(a,r),i){case`true`:return o=8;case`false`:return o=9;case`null`:return o=7}return o=16}return i+=String.fromCharCode(t),r++,o=16}}function _(e){if(q1(e)||J1(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function v(){let e;do e=g();while(e>=12&&e<=15);return e}return{setPosition:p,getPosition:()=>r,scan:t?v:g,getToken:()=>o,getTokenValue:()=>i,getTokenOffset:()=>a,getTokenLength:()=>r-a,getTokenStartLine:()=>c,getTokenStartCharacter:()=>a-u,getTokenError:()=>d}}function q1(e){return e===32||e===9}function J1(e){return e===10||e===13}function Y1(e){return e>=48&&e<=57}var trn,nrn=s((()=>{(function(e){e[e.lineFeed=10]=`lineFeed`,e[e.carriageReturn=13]=`carriageReturn`,e[e.space=32]=`space`,e[e._0=48]=`_0`,e[e._1=49]=`_1`,e[e._2=50]=`_2`,e[e._3=51]=`_3`,e[e._4=52]=`_4`,e[e._5=53]=`_5`,e[e._6=54]=`_6`,e[e._7=55]=`_7`,e[e._8=56]=`_8`,e[e._9=57]=`_9`,e[e.a=97]=`a`,e[e.b=98]=`b`,e[e.c=99]=`c`,e[e.d=100]=`d`,e[e.e=101]=`e`,e[e.f=102]=`f`,e[e.g=103]=`g`,e[e.h=104]=`h`,e[e.i=105]=`i`,e[e.j=106]=`j`,e[e.k=107]=`k`,e[e.l=108]=`l`,e[e.m=109]=`m`,e[e.n=110]=`n`,e[e.o=111]=`o`,e[e.p=112]=`p`,e[e.q=113]=`q`,e[e.r=114]=`r`,e[e.s=115]=`s`,e[e.t=116]=`t`,e[e.u=117]=`u`,e[e.v=118]=`v`,e[e.w=119]=`w`,e[e.x=120]=`x`,e[e.y=121]=`y`,e[e.z=122]=`z`,e[e.A=65]=`A`,e[e.B=66]=`B`,e[e.C=67]=`C`,e[e.D=68]=`D`,e[e.E=69]=`E`,e[e.F=70]=`F`,e[e.G=71]=`G`,e[e.H=72]=`H`,e[e.I=73]=`I`,e[e.J=74]=`J`,e[e.K=75]=`K`,e[e.L=76]=`L`,e[e.M=77]=`M`,e[e.N=78]=`N`,e[e.O=79]=`O`,e[e.P=80]=`P`,e[e.Q=81]=`Q`,e[e.R=82]=`R`,e[e.S=83]=`S`,e[e.T=84]=`T`,e[e.U=85]=`U`,e[e.V=86]=`V`,e[e.W=87]=`W`,e[e.X=88]=`X`,e[e.Y=89]=`Y`,e[e.Z=90]=`Z`,e[e.asterisk=42]=`asterisk`,e[e.backslash=92]=`backslash`,e[e.closeBrace=125]=`closeBrace`,e[e.closeBracket=93]=`closeBracket`,e[e.colon=58]=`colon`,e[e.comma=44]=`comma`,e[e.dot=46]=`dot`,e[e.doubleQuote=34]=`doubleQuote`,e[e.minus=45]=`minus`,e[e.openBrace=123]=`openBrace`,e[e.openBracket=91]=`openBracket`,e[e.plus=43]=`plus`,e[e.slash=47]=`slash`,e[e.formFeed=12]=`formFeed`,e[e.tab=9]=`tab`})(trn||={})})),X1,Z1,Q1,rrn,irn=s((()=>{X1=Array(20).fill(0).map((e,t)=>` `.repeat(t)),Z1=200,Q1={" ":{"\n":Array(Z1).fill(0).map((e,t)=>`
+`+` `.repeat(t)),"\r":Array(Z1).fill(0).map((e,t)=>`\r`+` `.repeat(t)),"\r\n":Array(Z1).fill(0).map((e,t)=>`\r
+`+` `.repeat(t))}," ":{"\n":Array(Z1).fill(0).map((e,t)=>`
+`+` `.repeat(t)),"\r":Array(Z1).fill(0).map((e,t)=>`\r`+` `.repeat(t)),"\r\n":Array(Z1).fill(0).map((e,t)=>`\r
+`+` `.repeat(t))}},rrn=[`
+`,`\r`,`\r
+`]}));function arn(e,t,n){let r,i,a,o,s;if(t){for(o=t.offset,s=o+t.length,a=o;a>0&&!crn(e,a-1);)a--;let c=s;for(;c<e.length&&!crn(e,c);)c++;i=e.substring(a,c),r=orn(i,n)}else i=e,r=0,a=0,o=0,s=e.length;let c=srn(n,e),l=rrn.includes(c),u=0,d=0,f;f=n.insertSpaces?X1[n.tabSize||4]??$1(X1[1],n.tabSize||4):` `;let p=f===` `?` `:` `,m=ern(i,!1),h=!1;function g(){if(u>1)return $1(c,u)+$1(f,r+d);let e=f.length*(r+d);return!l||e>Q1[p][c].length?c+$1(f,r+d):e<=0?c:Q1[p][c][e]}function _(){let e=m.scan();for(u=0;e===15||e===14;)e===14&&n.keepLines?u+=1:e===14&&(u=1),e=m.scan();return h=e===16||m.getTokenError()!==0,e}let v=[];function y(n,r,i){!h&&(!t||r<s&&i>o)&&e.substring(r,i)!==n&&v.push({offset:r,length:i-r,content:n})}let b=_();if(n.keepLines&&u>0&&y($1(c,u),0,0),b!==17){let e=m.getTokenOffset()+a;y(f.length*r<20&&n.insertSpaces?X1[f.length*r]:$1(f,r),a,e)}for(;b!==17;){let e=m.getTokenOffset()+m.getTokenLength()+a,t=_(),r=``,i=!1;for(;u===0&&(t===12||t===13);){let n=m.getTokenOffset()+a;y(X1[1],e,n),e=m.getTokenOffset()+m.getTokenLength()+a,i=t===12,r=i?g():``,t=_()}if(t===2)b!==1&&d--,n.keepLines&&u>0||!n.keepLines&&b!==1?r=g():n.keepLines&&(r=X1[1]);else if(t===4)b!==3&&d--,n.keepLines&&u>0||!n.keepLines&&b!==3?r=g():n.keepLines&&(r=X1[1]);else{switch(b){case 3:case 1:d++,r=n.keepLines&&u>0||!n.keepLines?g():X1[1];break;case 5:r=n.keepLines&&u>0||!n.keepLines?g():X1[1];break;case 12:r=g();break;case 13:u>0?r=g():i||(r=X1[1]);break;case 6:n.keepLines&&u>0?r=g():i||(r=X1[1]);break;case 10:n.keepLines&&u>0?r=g():t===6&&!i&&(r=``);break;case 7:case 8:case 9:case 11:case 2:case 4:n.keepLines&&u>0?r=g():(t===12||t===13)&&!i?r=X1[1]:t!==5&&t!==17&&(h=!0);break;case 16:h=!0}u>0&&(t===12||t===13)&&(r=g())}t===17&&(r=n.keepLines&&u>0?g():n.insertFinalNewline?c:``);let o=m.getTokenOffset()+a;y(r,e,o),b=t}return v}function $1(e,t){let n=``;for(let r=0;r<t;r++)n+=e;return n}function orn(e,t){let n=0,r=0,i=t.tabSize||4;for(;n<e.length;){let t=e.charAt(n);if(t===X1[1])r++;else if(t===` `)r+=i;else break;n++}return Math.floor(r/i)}function srn(e,t){for(let e=0;e<t.length;e++){let n=t.charAt(e);if(n===`\r`)return e+1<t.length&&t.charAt(e+1)===`
+`?`\r
+`:`\r`;if(n===`
+`)return`
+`}return e&&e.eol||`
+`}function crn(e,t){return`\r
+`.indexOf(e.charAt(t))!==-1}var lrn=s((()=>{nrn(),irn()}));function urn(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}var drn=s((()=>{}));function frn(e,t,n){return arn(e,t,n)}function prn(e,t){let n=t.slice(0).sort((e,t)=>{let n=e.offset-t.offset;return n===0?e.length-t.length:n}),r=e.length;for(let t=n.length-1;t>=0;t--){let i=n[t];if(i.offset+i.length<=r)e=urn(e,i);else throw Error(`Overlapping edit`);r=i.offset}return e}var mrn,hrn,grn,_rn=s((()=>{lrn(),drn(),(function(e){e[e.None=0]=`None`,e[e.UnexpectedEndOfComment=1]=`UnexpectedEndOfComment`,e[e.UnexpectedEndOfString=2]=`UnexpectedEndOfString`,e[e.UnexpectedEndOfNumber=3]=`UnexpectedEndOfNumber`,e[e.InvalidUnicode=4]=`InvalidUnicode`,e[e.InvalidEscapeCharacter=5]=`InvalidEscapeCharacter`,e[e.InvalidCharacter=6]=`InvalidCharacter`})(mrn||={}),(function(e){e[e.OpenBraceToken=1]=`OpenBraceToken`,e[e.CloseBraceToken=2]=`CloseBraceToken`,e[e.OpenBracketToken=3]=`OpenBracketToken`,e[e.CloseBracketToken=4]=`CloseBracketToken`,e[e.CommaToken=5]=`CommaToken`,e[e.ColonToken=6]=`ColonToken`,e[e.NullKeyword=7]=`NullKeyword`,e[e.TrueKeyword=8]=`TrueKeyword`,e[e.FalseKeyword=9]=`FalseKeyword`,e[e.StringLiteral=10]=`StringLiteral`,e[e.NumericLiteral=11]=`NumericLiteral`,e[e.LineCommentTrivia=12]=`LineCommentTrivia`,e[e.BlockCommentTrivia=13]=`BlockCommentTrivia`,e[e.LineBreakTrivia=14]=`LineBreakTrivia`,e[e.Trivia=15]=`Trivia`,e[e.Unknown=16]=`Unknown`,e[e.EOF=17]=`EOF`})(hrn||={}),(function(e){e[e.InvalidSymbol=1]=`InvalidSymbol`,e[e.InvalidNumberFormat=2]=`InvalidNumberFormat`,e[e.PropertyNameExpected=3]=`PropertyNameExpected`,e[e.ValueExpected=4]=`ValueExpected`,e[e.ColonExpected=5]=`ColonExpected`,e[e.CommaExpected=6]=`CommaExpected`,e[e.CloseBraceExpected=7]=`CloseBraceExpected`,e[e.CloseBracketExpected=8]=`CloseBracketExpected`,e[e.EndOfFileExpected=9]=`EndOfFileExpected`,e[e.InvalidCommentToken=10]=`InvalidCommentToken`,e[e.UnexpectedEndOfComment=11]=`UnexpectedEndOfComment`,e[e.UnexpectedEndOfString=12]=`UnexpectedEndOfString`,e[e.UnexpectedEndOfNumber=13]=`UnexpectedEndOfNumber`,e[e.InvalidUnicode=14]=`InvalidUnicode`,e[e.InvalidEscapeCharacter=15]=`InvalidEscapeCharacter`,e[e.InvalidCharacter=16]=`InvalidCharacter`})(grn||={})}));function vrn(e){try{let t=frn(e,void 0,yrn);if(t.length>0)return prn(e,t)}catch{}return e}var yrn,brn=s((()=>{_rn(),yrn={tabSize:2,insertSpaces:!0,eol:`
+`}})),xrn,Srn,Crn,wrn,Trn=s((()=>{brn(),B(),Qs(),nI(),$F(),dG(),xrn={class:`scalar-code-block group/code-block relative grid min-h-0 overflow-hidden p-px outline-none has-focus-visible:outline`,"data-testid":`response-body-raw`},Srn={class:`custom-scroll relative pr-1`,tabindex:`0`},Crn={key:0,class:`absolute top-2 right-2 flex items-center gap-1.5 opacity-0 transition-opacity duration-150 group-hover/code-block:opacity-100 group-has-focus-visible/code-block:opacity-100`},wrn=k({__name:`ResponseBodyRaw`,props:{content:{},language:{},prettyPrintJson:{type:Boolean}},setup(e){let t=e,n=E(null),r=xr(),i=E(!1),a=z(()=>{let{content:e,language:n,prettyPrintJson:r=!1}=t;return typeof e==`string`?r&&n===`json`?vrn(e):e:e==null?``:String(e)}),o=z(()=>i.value?[XA.lineWrapping]:[]),{codeMirror:s}=c_t({codeMirrorRef:n,readOnly:!0,lineNumbers:!0,content:Tn(a),language:Tn(()=>t.language),forceFoldGutter:!0,extensions:o}),c=()=>s.value?.state.doc.toString()||``,l=()=>{i.value=!i.value};return(e,t)=>(j(),M(`div`,xrn,[P(`div`,Srn,[P(`div`,{ref_key:`codeMirrorRef`,ref:n},null,512)]),c()?(j(),M(`div`,Crn,[R(D(eI),{"aria-label":i.value?`Disable line wrap`:`Wrap lines`,"aria-pressed":i.value,class:`bg-b-2 text-c-2 hover:text-c-1 absolute right-18`,icon:D(vle),label:i.value?`Disable line wrap`:`Wrap lines`,size:`sm`,tooltip:``,variant:`ghost`,onClick:l},null,8,[`aria-label`,`aria-pressed`,`icon`,`label`]),R(D(FH),{"aria-controls":D(r),content:c()},null,8,[`aria-controls`,`content`])])):I(``,!0)]))}})})),e0,Ern=s((()=>{Ds(),Trn(),e0=Es(wrn,[[`__scopeId`,`data-v-973d48ca`]])}));function Drn(e){return e.split(`
+`).map(e=>e.trim()).filter(e=>e.length>0).map(e=>vrn(e)).join(`
+
+`)}var Orn=s((()=>{brn()})),krn,Arn,jrn,Mrn,Nrn,Prn=s((()=>{Fs(),$nn(),Orn(),Ern(),B(),krn=[`src`],Arn=[`src`,`type`],jrn=[`src`,`type`],Mrn=[`sandbox`,`src`],Nrn=k({__name:`ResponseBodyPreview`,props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1},content:{}},setup(e){let{translate:t}=Ps(),n=z(()=>{let t=e.content;return typeof t==`string`?t:t==null?``:String(t)}),r=z(()=>Drn(n.value)),i=z(()=>{if(!e.src)return``;if(/^data:/i.test(e.src))return/^data:(?:(?:image|video|audio)\/[a-z0-9.+-]+|application\/pdf|application\/octet-stream)[;,]/i.test(e.src)?e.src:``;try{let t=new URL(e.src);if(t.protocol===`blob:`||t.protocol===`http:`||t.protocol===`https:`)return e.src}catch{}return``}),a=E(!1),o=z(()=>e.type.trim().toLowerCase()===`application/pdf`);return dr(()=>e.src,()=>a.value=!1),(s,c)=>e.mode===`json`?(j(),N(e0,{key:0,content:n.value,language:`json`,prettyPrintJson:``},null,8,[`content`])):e.mode===`ndjson`?(j(),N(e0,{key:1,content:r.value,language:`json`},null,8,[`content`])):!a.value&&i.value?(j(),M(`div`,{key:2,class:lt([`flex justify-center overflow-auto rounded-b`,{"bg-preview p-2":e.alpha}])},[e.mode===`image`?(j(),M(`img`,{key:0,class:lt([`h-full max-w-full`,{rounded:e.alpha}]),referrerpolicy:`no-referrer`,src:i.value,onError:c[0]||=e=>a.value=!0},null,42,krn)):e.mode===`video`?(j(),M(`video`,{key:1,autoplay:``,controls:``,referrerpolicy:`no-referrer`,width:`100%`,onError:c[1]||=e=>a.value=!0},[P(`source`,{src:i.value,type:e.type},null,8,Arn)],32)):e.mode===`audio`?(j(),M(`audio`,{key:2,class:`my-12`,controls:``,referrerpolicy:`no-referrer`,onError:c[2]||=e=>a.value=!0},[P(`source`,{src:i.value,type:e.type},null,8,jrn)],32)):(j(),M(`iframe`,{key:3,class:`aspect-[4/3] w-full border-0`,referrerpolicy:`no-referrer`,sandbox:o.value?void 0:``,src:i.value},null,8,Mrn))],2)):(j(),N(K1,{key:3},{default:O(()=>[F(T(D(t)(`apiClient.responseBodyPreview.previewUnavailable`)),1)]),_:1}))}})})),Frn,Irn=s((()=>{Ds(),Prn(),Frn=Es(Nrn,[[`__scopeId`,`data-v-a9193a63`]])})),Lrn,Rrn,zrn=s((()=>{Fs(),B(),Lrn={class:`text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5`},Rrn=k({__name:`ResponseBodyToggle`,props:{modelValue:{type:Boolean}},emits:[`update:modelValue`],setup(e){let{translate:t}=Ps();return(n,r)=>(j(),M(`div`,Lrn,[P(`button`,{class:lt([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:`button`,onClick:r[0]||=Ka(e=>n.$emit(`update:modelValue`,!0),[`stop`])},T(D(t)(`apiClient.responseBodyToggle.preview`)),3),P(`button`,{class:lt([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:`button`,onClick:r[1]||=Ka(e=>n.$emit(`update:modelValue`,!1),[`stop`])},T(D(t)(`apiClient.responseBodyToggle.raw`)),3)]))}})})),Brn,Vrn=s((()=>{zrn(),Brn=Rrn})),Hrn,Urn,Wrn,Grn,Krn=s((()=>{Fs(),Mbe(),Mc(),aB(),Unn(),Jnn(),$nn(),Ern(),Irn(),Vrn(),B(),Hrn={key:0,class:`bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden`},Urn={class:`box-content flex min-h-8 items-center justify-between border-y px-3`},Wrn={class:`text-xxs font-code leading-5`},Grn=k({__name:`ResponseBody`,props:{title:{},layout:{},data:{},headers:{},plugins:{default:()=>[]}},setup(e){let{translate:t}=Ps(),n=E(!0),r=z(()=>Vnn({data:e.data,headers:e.headers})),i=z(()=>r.value.mimeType.essence),a=z(()=>Ac(i.value)),o=z(()=>hc(i.value,e.plugins)),s=z(()=>!!o.value?.rawComponent||!!o.value?.decode||!!a.value?.raw),c=z(()=>!!o.value?.previewComponent||!!a.value?.preview),l=z(()=>s.value&&c.value),u=z(()=>n.value||!l.value),d=z(()=>!n.value||!l.value),f=z(()=>o.value?.language??a.value?.language);return(p,m)=>(j(),N(D(iB),{class:`max-h-content overflow-y-hidden`,isStatic:e.layout===`reference`},Mr({title:O(()=>[F(T(e.title),1)]),default:O(()=>[e.data?(j(),M(`div`,Hrn,[P(`div`,Urn,[P(`span`,Wrn,T(i.value),1),l.value?(j(),N(Brn,{key:0,modelValue:n.value,"onUpdate:modelValue":m[0]||=e=>n.value=e},null,8,[`modelValue`])):I(``,!0)]),o.value?.previewComponent&&c.value&&u.value?(j(),N(Ar(o.value.previewComponent),{key:`plugin-preview-${r.value.dataUrl}`,content:e.data,contentType:i.value,dataUrl:r.value.dataUrl},null,8,[`content`,`contentType`,`dataUrl`])):a.value?.preview&&u.value?(j(),N(Frn,{key:`preview-${r.value.dataUrl}`,alpha:a.value.alpha,content:e.data,mode:a.value.preview,src:r.value.dataUrl,type:i.value},null,8,[`alpha`,`content`,`mode`,`src`,`type`])):I(``,!0),o.value?.rawComponent&&s.value&&d.value?(j(),N(Ar(o.value.rawComponent),{key:`plugin-raw-${r.value.dataUrl}`,content:e.data,contentType:i.value},null,8,[`content`,`contentType`])):s.value&&d.value&&!o.value?.rawComponent?(j(),N(e0,{key:`raw-${r.value.dataUrl}`,content:e.data,language:f.value},null,8,[`content`,`language`])):I(``,!0),!s.value&&!c.value?(j(),N(K1,{key:4},{default:O(()=>[F(T(D(t)(`apiClient.responseBody.binaryFile`)),1)]),_:1})):I(``,!0)])):I(``,!0)]),_:2},[e.data&&r.value.dataUrl?{name:`actions`,fn:O(()=>[R(G1,{filename:r.value.attachmentFilename,href:r.value.dataUrl,type:r.value.mimeType?.essence},null,8,[`filename`,`href`,`type`])]),key:`0`}:void 0]),1032,[`isStatic`]))}})})),qrn,Jrn=s((()=>{Ds(),Krn(),qrn=Es(Grn,[[`__scopeId`,`data-v-f09bb250`]])})),t0,n0,Yrn=s((()=>{t0=[`B`,`kB`,`MB`,`GB`,`TB`,`PB`,`EB`,`ZB`,`YB`],n0=(e,t=3)=>{if(!Number.isFinite(e)||e<=0)return`0 B`;let n=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),t0.length-1));return Number((e/1e3**n).toPrecision(t))>=1e3&&n<t0.length-1&&(n+=1),`${Number((e/1e3**n).toPrecision(t))} ${t0[n]}`}})),Xrn,Zrn,Qrn,$rn,ein,tin,nin,rin,iin=s((()=>{Fs(),Vbe(),aB(),B(),Mw(),Rbe(),$B(),iZ(),Yrn(),Xrn={class:`flex w-full items-center justify-between`},Zrn={class:`text-c-2 ml-2 text-xs`},Qrn={key:0,class:`mr-2 flex items-center gap-2`},$rn={class:`text-c-2`},ein={key:0,class:`text-red bg-b-danger sticky top-0 border-b p-2`},tin={key:1,class:`p-2`},nin=16777216,rin=k({__name:`ResponseBodyStreaming`,props:{reader:{},contentType:{default:`text/event-stream`}},setup(e){let{translate:t}=Ps(),n=rZ(),r=E(``),i=E(0),{copyToClipboard:a}=QB(),o,s=()=>{o&&=(URL.revokeObjectURL(o),void 0)},c=()=>{s(),o=URL.createObjectURL(new Blob([r.value],{type:`text/plain;charset=utf-8`}));let e=document.createElement(`a`);e.href=o,e.download=`response-stream.txt`,e.click()},l=E(null),u=E(null),d=null;dr(r,async()=>{await nr(),u.value&&(u.value.scrollTop=u.value.scrollHeight)});let f=e=>{Promise.resolve(e.cancel()).catch(()=>{})},p=async t=>{try{let a=0,o=Bbe(e.contentType,e=>{if(a+=Oc(e),a>nin)throw Error(`Stream display reached its 16 MiB limit. Cancelled further reading.`);r.value+=e});for(;d===t;){let{done:e,value:r}=await t.read();if(d!==t)return;if(e){o.finish(),n.clear();return}i.value+=r.byteLength,o.push(r)}}catch(e){d===t&&(console.error(`Error reading stream:`,e),l.value=e instanceof Error?e:Error(String(e)),f(t),n.clear())}finally{t.releaseLock()}},m=()=>{let e=d;d=null,e&&f(e),n.clear()};return dr(()=>e.reader,()=>{m(),d=e.reader,n.start(),s(),i.value=0,r.value=``,l.value=null,p(e.reader)},{immediate:!0}),Ri(()=>{m(),s()}),(e,o)=>(j(),N(D(iB),{class:`max-h-content overflow-y-hidden`},{title:O(()=>[P(`div`,Xrn,[P(`div`,null,[F(T(D(t)(`apiClient.responseBodyStreaming.body`))+` `,1),P(`span`,Zrn,T(D(n0)(i.value))+` received `,1)]),D(n).isLoading?(j(),M(`div`,Qrn,[R(D(kw),{loadingState:D(n),size:`xs`},null,8,[`loadingState`]),P(`span`,$rn,T(D(t)(`apiClient.responseBodyStreaming.listening`)),1)])):I(``,!0)])]),actions:O(()=>[D(n).isLoading?(j(),N(D(jw),{key:0,size:`sm`,variant:`ghost`,onClick:m},{default:O(()=>[F(T(D(t)(`apiClient.responseBodyStreaming.cancel`)),1)]),_:1})):I(``,!0),r.value?(j(),N(D(jw),{key:1,size:`sm`,variant:`ghost`,onClick:o[0]||=e=>D(a)(r.value)},{default:O(()=>[...o[1]||=[F(` Copy text `,-1)]]),_:1})):I(``,!0),r.value?(j(),N(D(jw),{key:2,size:`sm`,variant:`ghost`,onClick:c},{default:O(()=>[...o[2]||=[F(` Download text `,-1)]]),_:1})):I(``,!0)]),default:O(()=>[P(`div`,{ref_key:`contentContainer`,ref:u,class:`text-xxs font-code h-full overflow-auto leading-6 whitespace-pre-wrap`},[l.value?(j(),M(`div`,ein,T(l.value.message),1)):I(``,!0),r.value?(j(),M(`div`,tin,T(r.value),1)):I(``,!0)],512)]),_:1}))}})})),ain,oin=s((()=>{iin(),ain=rin})),sin,r0,cin,lin=s((()=>{sin=(e,t)=>t.on?e.onAny(t.on):()=>{},r0=async(e,t,n)=>{let r=e;for(let e of n){let n=e.hooks?.[t];n&&(r=await n(r)??r)}return r},cin=async(e,t)=>{let n=e;for(let e of t){let t=e.hooks?.responseReceived;if(t){let e=n.response,r=e.clone(),i;try{i=await t({...n,response:r})??e,n={...n,response:i}}finally{for(let t of[e.body,r.body])t&&t!==i?.body&&!t.locked&&t.cancel().catch(()=>{})}}}return n}}));function uin(e){let t=e.trim();if(t[0]!==`{`&&t[0]!==`[`)return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}var i0,a0,din,fin=s((()=>{Dw(),i0={parse:e=>{let t=Tw(e,{merge:!0,maxAliasCount:1e4});if(typeof t!=`object`)throw Error(`Invalid YAML object`);return t},parseSafe(e,t){try{return i0.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:Ew},a0={parse:e=>{let t=JSON.parse(e);if(typeof t!=`object`)throw Error(`Invalid JSON object`);return t},parseSafe(e,t){try{return a0.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:e=>JSON.stringify(e)},din=e=>{if(typeof e!=`string`)return e;let t=a0.parseSafe(e,null);if(t)return t;if(e.length>0&&[`{`,`[`].includes(e[0]??``))throw Error(`Invalid JSON or YAML`);return i0.parseSafe(e,e=>{throw Error(e)})}})),o0=s((()=>{lin(),fin()})),pin,min,hin=s((()=>{Fs(),aB(),Unn(),Jnn(),B(),o0(),jZt(),pin={class:`font-code text-xxs rounded-t border-x border-t px-2.5 py-1.5`},min=k({__name:`ResponseBodyVirtual`,props:{content:{},data:{},headers:{}},setup(e){let{translate:t}=Ps(),n=z(()=>uin(e.content)),r=z(()=>Vnn({data:e.data,headers:e.headers}));return(e,i)=>(j(),N(D(iB),{class:`!max-h-100% response-body-virtual overflow-x-auto`},Mr({title:O(()=>[F(T(D(t)(`apiClient.responseBodyVirtual.body`)),1)]),default:O(()=>[P(`div`,pin,T(D(t)(`apiClient.responseBodyVirtual.largeBodyHint`)),1),R(D(fJ),{containerClass:`custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen`,contentClass:`language-plaintext whitespace-pre font-code text-base`,lineHeight:20,searchable:``,text:n.value},null,8,[`text`])]),_:2},[r.value.dataUrl?{name:`actions`,fn:O(()=>[R(G1,{filename:r.value.attachmentFilename,href:r.value.dataUrl,type:r.value.mimeType?.essence},null,8,[`filename`,`href`,`type`])]),key:`0`}:void 0]),1024))}})})),gin,_in=s((()=>{hin(),gin=min})),vin,yin,bin,xin=s((()=>{Fs(),oI(),uI(),fI(),Enn(),aB(),B(),vin={key:0,class:`max-h-[calc(100%-32px)] overflow-y-auto`},yin={key:1,class:`text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm`},bin=k({__name:`ResponseCookies`,props:{cookies:{}},setup(e){let{translate:t}=Ps();return(n,r)=>(j(),N(D(iB),{class:`overflow-auto`,defaultOpen:!1,itemCount:e.cookies.length},{title:O(()=>[F(T(D(t)(`apiClient.responseCookies.cookies`)),1)]),default:O(()=>[e.cookies.length?(j(),M(`div`,vin,[R(D(aI),{columns:[`minmax(auto, min-content)`,`minmax(50%, 1fr)`],scroll:``},{default:O(()=>[R(D(dI),{class:`sr-only !block`},{default:O(()=>[R(D(lI),null,{default:O(()=>[F(T(D(t)(`apiClient.responseCookies.cookieName`)),1)]),_:1}),R(D(lI),null,{default:O(()=>[F(T(D(t)(`apiClient.responseCookies.cookieValue`)),1)]),_:1})]),_:1}),(j(!0),M(L,null,jr(e.cookies,(e,t)=>(j(),N(D(dI),{key:e.name,class:`group/row text-c-1`},{default:O(()=>[R(D(H1),{class:lt([`bg-b-1 sticky left-0 z-1 max-w-full`,{"border-t-0":t===0}]),text:e.name},null,8,[`class`,`text`]),R(D(H1),{class:lt([`z-0`,{"border-t-0":t===0}]),text:e.value},null,8,[`class`,`text`])]),_:2},1024))),128))]),_:1})])):(j(),M(`div`,yin,T(D(t)(`apiClient.responseCookies.noCookies`)),1))]),_:1},8,[`itemCount`]))}})})),Sin,Cin=s((()=>{xin(),Sin=bin})),s0,c0,win,Tin=s((()=>{B(),s0=500,c0=100,win=k({__name:`ScalarAsciiArt`,props:{art:{},animate:{type:Boolean}},setup(e){let t=e,n=z(()=>t.art.split(`
+`)),r=(e,t)=>({animationDuration:`${e*c0}ms, ${s0}ms`,animationTimingFunction:`steps(${e}), step-end`,animationDelay:`${t*c0}ms, 0ms`,animationIterationCount:`1, ${((n.value?.length??0)+(n.value?.[n.value?.length-1]?.length??0)+5)*c0/s0}`});return(t,i)=>(j(),M(`div`,{"aria-hidden":`true`,class:lt([`ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]`,{"ascii-art-animate":e.animate}]),inert:``,role:`presentation`},[(j(!0),M(L,null,jr(n.value,(e,t)=>(j(),M(`span`,{key:t,class:`inline-block`,style:ct({width:`calc(${e.length+1}ch)`})},[P(`span`,{class:`inline-block whitespace-pre overflow-hidden`,style:ct(r(e.length,t))},T(e),5)],4))),128))],2))}})})),Ein,Din=s((()=>{Ds(),Tin(),Ein=Es(win,[[`__scopeId`,`data-v-4f827089`]])})),Oin,kin=s((()=>{Oin=` .,,uod8B8bou,,.
+ ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.
+ ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,
+ |||| '""^^!!||||||||||TFPRBBBVT!:...!
+ |||| '""^^!!|||||?!:.......!
+ |||| ||||.........!
+ |||| ||||.........!
+ |||| ||||.........!
+ |||| ||||.........!
+ |||| ||||.........!
+ |||| ||||.........!
+ ||||, ||||.........\`
+ |||||!!-._ ||||.......;.
+ ':!|||||||||!!-._ ||||.....bBBBBWdou,.
+ bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!
+ ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!
+ :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!
+ :::;\`"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!
+ ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!
+ .ob86foi;::::::::::::::::::::::::!?TFPRBY..........\`
+ .b888888888886foi;:::::::::::::::::::::::..........\`
+ .b888888888888888888886foi;::::::::::::::::..........
+.b888888888888888888888888888886foi;:::::::::......\`
+!Tf998888888888888888888888888888888886foi;:::....\`
+ '"^!|Tf9988888888888888888888888888888888!::..\`
+ '"^!|Tf998888888888888888888888889!! '\`
+ '"^!|Tf9988888888888888888!!\` iBBbo.
+ '"^!|Tf998888888889!\` WBBBBbo.
+ '"^!|Tf9989!\` YBBBP^'
+ '"^!\` \`
+`})),Ain=s((()=>{Jrt()})),jin,Min,Nin,Pin,Fin,Iin,Lin,Rin,zin=s((()=>{Fs(),Din(),kin(),B(),Ain(),jin={class:`flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize`},Min={key:0,class:`scalar-version-number`},Nin={class:`mt-2`},Pin={href:`https://github.com/scalar/scalar/issues/2669`,target:`_blank`},Fin={class:`gitbook-show scalar-version-number`,href:`https://www.scalar.com`,target:`_blank`},Iin={class:`text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm`},Lin=[`disabled`],Rin=k({__name:`ResponseEmpty`,props:{executionDisabled:{type:Boolean},layout:{},totalPerformedRequests:{},appVersion:{}},emits:[`addRequest`,`sendRequest`,`openCommandPalette`],setup(e,{emit:t}){let n=t,{translate:r}=Ps();return(t,i)=>(j(),M(`div`,jin,[P(`div`,{class:lt([`flex h-[calc(100%_-_50px)] flex-col items-center justify-center`,{"hidden opacity-0":e.totalPerformedRequests>0&&e.layout!==`modal`}])},[e.layout===`modal`?I(``,!0):(j(),M(`div`,Min,[F(T(D(r)(`apiClient.responseEmpty.version`,{version:e.appVersion}))+` `,1),P(`div`,Nin,[P(`a`,Pin,T(D(r)(`apiClient.responseEmpty.roadmap`)),1)])])),P(`a`,Fin,T(D(r)(`apiClient.responseEmpty.poweredByScalarcom`)),1),R(D(Ein),{art:D(Oin),class:`text-c-3`},null,8,[`art`])],2),P(`div`,Iin,[e.layout===`modal`?I(``,!0):(j(),M(`button`,{key:0,class:`flex items-center gap-1.5`,type:`button`,onClick:i[0]||=e=>n(`openCommandPalette`)},[F(T(D(r)(`apiClient.responseEmpty.getStarted`)),1),R(D(ME),{hotkey:`k`,modifier:[`default`]})])),e.layout===`desktop`?(j(),M(`button`,{key:1,class:`flex items-center gap-1.5`,type:`button`,onClick:i[1]||=e=>n(`addRequest`)},[F(T(D(r)(`apiClient.responseEmpty.newRequest`)),1),R(D(ME),{hotkey:`N`})])):I(``,!0),P(`button`,{class:`flex items-center gap-1.5`,disabled:e.executionDisabled,type:`button`,onClick:i[2]||=e=>n(`sendRequest`)},[F(T(D(r)(`apiClient.responseEmpty.sendRequest`)),1),R(D(ME),{hotkey:`↵`})],8,Lin)])]))}})})),Bin,Vin=s((()=>{Ds(),zin(),Bin=Es(Rin,[[`__scopeId`,`data-v-8ed574de`]])})),Hin,Uin,Win=s((()=>{Fs(),B(),Mw(),iZ(),Hin={key:0,class:`bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6`},Uin=k({__name:`ResponseLoadingOverlay`,props:{eventBus:{}},setup(e){let{translate:t}=Ps(),n=rZ(),r=E(),i=()=>{clearTimeout(r.value),r.value=setTimeout(()=>n.start(),1e3)},a=()=>{clearTimeout(r.value),r.value=void 0,n.clear()};return Ii(()=>{e.eventBus.on(`hooks:on:request:sent`,i),e.eventBus.on(`hooks:on:request:complete`,a)}),Ri(()=>{e.eventBus.off(`hooks:on:request:sent`,i),e.eventBus.off(`hooks:on:request:complete`,a),a()}),(r,i)=>(j(),N(Ia,null,{default:O(()=>[D(n).isActive?(j(),M(`div`,Hin,[R(D(kw),{class:`text-c-3`,loader:D(n),size:`3xl`},null,8,[`loader`]),R(D(jw),{variant:`ghost`,onClick:i[0]||=t=>e.eventBus.emit(`operation:cancel:request`)},{default:O(()=>[F(T(D(t)(`apiClient.responseLoadingOverlay.cancel`)),1)]),_:1})])):I(``,!0)]),_:1}))}})})),Gin,Kin=s((()=>{Ds(),Win(),Gin=Es(Uin,[[`__scopeId`,`data-v-28d73262`]])})),l0,qin=s((()=>{Yrn(),l0=e=>{let t=Number.parseInt(e.headers?.[`Content-Length`]||e.headers?.[`content-length`]||`0`,10);if(!(isNaN(t)||t<=0))return n0(t)}}));function Jin(e,t){if(typeof e!=`bigint`&&!Number.isFinite(e))throw TypeError(`Expected a finite number or bigint`);t={...t};let n=e<0?`-`:``;e=e<0?-e:e,t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1,t.unitCount=void 0),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let r=[],i=(e,n,i,a)=>{if(t.colonNotation&&(i===`m`||i===`h`&&t.hideSeconds)||r.length!==0&&t.colonNotation||!Yin(e)){if(a??=String(e),t.colonNotation){let e=a.includes(`.`)?a.split(`.`,1)[0].length:a.length,t=1;r.length>0&&(t=i===`d`?3:2),a=`0`.repeat(Math.max(0,t-e))+a}else a+=t.verbose?` `+Xin(n,e):i;r.push(a)}},{value:a,scale:o}=$in(e),s=u0*o,c=d0*o,l=f0*o,u=Zin*o,d=a/u,f=a%u/l,p=a%l/c;t.hideYearAndDays?i(d*24n+f,`hour`,`h`):(t.hideYear?i(d,`day`,`d`):(i(d/365n,`year`,`y`),i(d%365n,`day`,`d`)),i(f,`hour`,`h`)),i(p,`minute`,`m`);let m=p0(t.secondsDecimalDigits,1),h=10n**BigInt(m),g=t.hideSeconds&&a>=c,_=t.subSecondsAsDecimals&&!g&&a*h>=s;if(!g){let e=a%c;if(t.separateMilliseconds||t.formatSubMilliseconds||!_&&!t.colonNotation&&a<s){if(i(e/s,`second`,`s`),t.formatSubMilliseconds){let e=a%o*1000000n/o;i(a%s/o,`millisecond`,`ms`),i(e/1000n,`microsecond`,`µs`),i(e%1000n,`nanosecond`,`ns`)}else{let e=p0(t.millisecondsDecimalDigits,0),n=10n**BigInt(e),r=(a%s*2n*n+o)/(2n*o);r===0n&&a>0n&&a<s&&(r=1n);let c=1000n*n-1n;r>c&&(r=c);let l=m0(r,e);i(Number(l),`millisecond`,`ms`,l)}}else{let n=m0(e*h/s,m),r=t.keepDecimalsOnWholeSeconds?n:n.replace(RegExp(`\\.0+$`,`v`),``);i(Number(r),`second`,`s`,r)}}let v=t.colonNotation?`:`:` `;typeof t.unitCount==`number`&&(r=r.slice(0,Math.max(t.unitCount,1)||1/0));let y=r.length===0?`0`+(t.verbose?` milliseconds`:`ms`):r.join(v);return RegExp(`[1-9]`,`v`).test(y)?n+y:y}var Yin,Xin,u0,d0,f0,Zin,Qin,p0,$in,m0,ean=s((()=>{Yin=e=>e===0||e===0n,Xin=(e,t)=>t===1||t===1n?e:`${e}s`,u0=1000n,d0=60n*u0,f0=60n*d0,Zin=24n*f0,Qin=100,p0=(e,t)=>typeof e==`number`&&!Number.isNaN(e)?Math.min(Math.max(Math.trunc(e),0),Qin):t,$in=e=>{if(typeof e==`bigint`||Number.isInteger(e))return{value:BigInt(e),scale:1n};let[t,n=`0`]=e.toPrecision(15).split(`e`,2),[r,i=``]=t.split(`.`,2),a=BigInt(r+i),o=i.length-Number(n);return o<0?{value:a*10n**BigInt(-o),scale:1n}:{value:a,scale:10n**BigInt(o)}},m0=(e,t)=>{if(t===0)return String(e);let n=String(e).padStart(t+1,`0`);return`${n.slice(0,-t)}.${n.slice(-t)}`}})),tan,nan,ran,ian,aan,oan,san,can,lan=s((()=>{Fs(),Ann(),qin(),B(),Hc(),ean(),tan={class:`text-c-1 flex gap-1.5`},nan={key:0},ran={class:`sr-only`},ian={key:0},aan={class:`sr-only`},oan={class:`sr-only`},san={key:1},can=k({__name:`ResponseMetaInformation`,props:{response:{},eventBus:{}},setup(e){let{translate:t}=Ps(),n=E(),r=E(0),i=()=>{clearInterval(n.value),n.value=void 0,r.value=0},a=()=>{n.value=setInterval(()=>r.value+=1e3,1e3)};Ii(()=>{e.eventBus.on(`hooks:on:request:sent`,a),e.eventBus.on(`hooks:on:request:complete`,i)}),Ri(()=>{e.eventBus.off(`hooks:on:request:sent`,a),e.eventBus.off(`hooks:on:request:complete`,i),i()});let o=z(()=>{let t=e.response?.status;if(t)return Vc[t]??void 0});return(i,a)=>(j(),M(`div`,tan,[n.value&&r.value?(j(),M(`span`,nan,T(D(Jin)(r.value)),1)):(j(),M(L,{key:1},[P(`span`,null,[P(`span`,ran,T(D(t)(`apiClient.responseMetaInformation.duration`)),1),F(` `+T(D(Jin)(e.response.duration)),1)]),D(l0)(e.response)?(j(),M(`span`,ian,[P(`span`,aan,T(D(t)(`apiClient.responseMetaInformation.size`)),1),F(` `+T(D(l0)(e.response)),1)])):I(``,!0),o.value?(j(),M(L,{key:1},[P(`span`,oan,T(D(t)(`apiClient.responseMetaInformation.status`)),1),o.value.url?(j(),N(U1,{key:0,class:`flex items-center gap-1.5`,href:o.value.url},{default:O(()=>[F(T(e.response.status)+` `+T(o.value.name)+` `,1),P(`span`,{class:`block h-1.5 w-1.5 rounded-full`,style:ct({backgroundColor:o.value.color})},null,4)]),_:1},8,[`href`])):(j(),M(`span`,san,[F(T(e.response.status)+` `+T(o.value.name)+` `,1),P(`span`,{class:`block h-1.5 w-1.5 rounded-full`,style:ct({backgroundColor:o.value.color})},null,4)]))],64)):I(``,!0)],64))]))}})})),uan,dan=s((()=>{lan(),uan=can})),fan,pan=s((()=>{fan=e=>{if(!e||typeof e!=`string`)return null;let t=e.indexOf(`=`);if(t===-1)return null;let n=e.substring(0,t).trim(),r=e.substring(t+1).trim();return n?{name:n,value:r}:null}})),man,han,gan,_an,van,yan,ban,h0,xan,San=s((()=>{Fs(),Jl(),Mc(),Q3e(),Lnn(),Jrn(),oin(),_in(),Cin(),Vin(),Kin(),dan(),pan(),B(),Zl(),Ic(),_X(),man={class:`flex h-8 flex-1 items-center`},han={class:`response-heading pointer-events-none absolute`},gan=[`id`,`role`],_an={key:0,class:`flex flex-col gap-3 p-4 text-sm`,role:`alert`},van={class:`text-c-1 font-medium`},yan={class:`text-c-2 break-words`},ban={key:0,class:`text-c-2 leading-relaxed`},h0=2e5,xan=k({__name:`ResponseBlock`,props:{executionDisabled:{type:Boolean},requestError:{},response:{},requestPayload:{},layout:{},totalPerformedRequests:{},appVersion:{},plugins:{},eventBus:{}},setup(e,{expose:t}){let{translate:n}=Ps(),r=z(()=>!Fc()&&e.requestError?.name===`TypeError`&&[`Failed to fetch`,`Load failed`,`NetworkError when attempting to fetch resource.`].includes(e.requestError.message)),i=z(()=>{let t=e.response?.headers;return t?Object.keys(t).map(e=>({name:e,value:t[e]??``})):[]}),a=z(()=>e.response?.headers[`content-type`]??e.response?.headers[`Content-Type`]),o=z(()=>e.response?.cookieHeaderKeys.map(e=>fan(e)).filter(Xl)??[]),s=[`Cookies`,`Headers`,`Body`],c=E(`All`),l=z(()=>[`All`,...s]),u=z(()=>({All:xr(),Cookies:xr(),Headers:xr(),Body:xr()})),d=z(()=>{if(!e.response||!(`size`in e.response))return!1;let t=e.response.headers?.[`content-type`]||e.response.headers?.[`Content-Type`];return!t||(e.response.size??0)<=h0||t.includes(`text/html`)?!1:Ube.some(e=>t.includes(e))&&(e.response.size??0)>h0}),f=z(()=>{let t=e.requestPayload?.[1]?.headers;return t?[...new Headers(t)].map(([e,t])=>({name:e,value:t,required:!1})):[]}),p=e=>c.value===`All`||c.value===e;t({responseHeaders:i,responseCookies:o,requestHeaders:f,shouldVirtualize:d,activeFilter:c,filters:l});let m=z(()=>({All:n(`apiClient.sectionFilter.all`),Auth:n(`apiClient.sectionFilter.auth`),Variables:n(`apiClient.sectionFilter.variables`),Cookies:n(`apiClient.sectionFilter.cookies`),Headers:n(`apiClient.sectionFilter.headers`),Query:n(`apiClient.sectionFilter.query`),Body:n(`apiClient.sectionFilter.body`)}));return(t,s)=>(j(),N(ql,{"aria-label":D(n)(`apiClient.responseBlock.response`),class:`max-xl:max-h-full`},{title:O(()=>[P(`div`,man,[P(`div`,{"aria-live":`polite`,class:lt([`flex items-center`,{"animate-response-heading":e.response}])},[P(`span`,han,T(D(n)(`apiClient.responseBlock.response`)),1),e.response?(j(),N(uan,{key:0,class:`animate-response-children`,eventBus:e.eventBus,response:e.response},null,8,[`eventBus`,`response`])):I(``,!0)],2),R(_S,{modelValue:c.value,"onUpdate:modelValue":s[0]||=e=>c.value=e,filters:l.value,labels:m.value},null,8,[`modelValue`,`filters`,`labels`])])]),default:O(()=>[P(`div`,{id:u.value.All,class:lt([`custom-scroll response-section-content relative grid h-full justify-stretch`,{"content-start":e.response}]),role:c.value===`All`&&e.response?`tabpanel`:`none`},[e.requestError?(j(),M(`div`,_an,[P(`h3`,van,T(D(n)(`apiClient.responseBlock.requestFailed`)),1),P(`p`,yan,T(e.requestError.message),1),r.value?(j(),M(`p`,ban,T(D(n)(`apiClient.responseBlock.networkErrorHelp`)),1)):I(``,!0)])):e.response?(j(),M(L,{key:2},[p(`Cookies`)?(j(),N(Sin,{key:0,id:u.value.Cookies,class:`response-section-content-cookies`,cookies:o.value,role:c.value===`All`?`none`:`tabpanel`},null,8,[`id`,`cookies`,`role`])):I(``,!0),p(`Headers`)?(j(),N(W1,{key:1,id:u.value.Headers,class:`response-section-content-headers`,headers:f.value,role:c.value===`All`?`none`:`tabpanel`},{title:O(()=>[F(T(D(n)(`apiClient.responseBlock.requestHeaders`)),1)]),_:1},8,[`id`,`headers`,`role`])):I(``,!0),p(`Headers`)?(j(),N(W1,{key:2,id:u.value.Headers,class:`response-section-content-headers`,headers:i.value,role:c.value===`All`?`none`:`tabpanel`},{title:O(()=>[F(T(D(n)(`apiClient.responseBlock.responseHeaders`)),1)]),_:1},8,[`id`,`headers`,`role`])):I(``,!0),(j(!0),M(L,null,jr(e.plugins,(e,t)=>(j(),N(D(gX),{key:t},{default:O(()=>[e?.components?.response?or((j(),N(Ar(e.components.response.component),oi({key:0,ref_for:!0},e.components.response.additionalProps),null,16)),[[za,c.value===`All`]]):I(``,!0)]),_:2},1024))),128)),c.value===`All`||c.value===`Body`?(j(),M(L,{key:3},[`reader`in e.response?(j(),N(ain,{key:0,id:u.value.Body,class:`response-section-content-body`,contentType:a.value,reader:e.response.reader},null,8,[`id`,`contentType`,`reader`])):d.value&&typeof e.response?.data==`string`?(j(),N(gin,{key:1,id:u.value.Body,content:e.response.data,data:e.response?.data,headers:i.value,role:c.value===`All`?`none`:`tabpanel`},null,8,[`id`,`content`,`data`,`headers`,`role`])):(j(),N(qrn,{key:2,id:u.value.Body,active:!0,class:`response-section-content-body`,data:e.response?.data,headers:i.value,layout:`client`,plugins:e.plugins,role:c.value===`All`?`none`:`tabpanel`,title:D(n)(`apiClient.responseBlock.body`)},null,8,[`id`,`data`,`headers`,`plugins`,`role`,`title`]))],64)):I(``,!0)],64)):(j(),N(Bin,{key:1,appVersion:e.appVersion,executionDisabled:e.executionDisabled,layout:e.layout,totalPerformedRequests:e.totalPerformedRequests,onAddRequest:s[1]||=t=>e.eventBus.emit(`ui:open:command-palette`,{action:`create-request`,payload:void 0}),onOpenCommandPalette:s[2]||=t=>e.eventBus.emit(`ui:open:command-palette`),onSendRequest:s[3]||=t=>e.eventBus.emit(`operation:send:request:hotkey`)},null,8,[`appVersion`,`executionDisabled`,`layout`,`totalPerformedRequests`])),R(Gin,{eventBus:e.eventBus},null,8,[`eventBus`])],10,gan)]),_:1},8,[`aria-label`]))}})})),Can,wan=s((()=>{Ds(),San(),Can=Es(xan,[[`__scopeId`,`data-v-7f122fc4`]])})),Tan,Ean=s((()=>{B(),uB(),uJ(),Tb(),Kl(),Tan=k({__name:`HttpMethod`,props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=z(()=>lJ(n.method)),a=z(()=>{let e=wb(cJ).map(([e])=>({id:String(e),label:e.toUpperCase(),color:lJ(e).colorClass}));return e.some(({id:e})=>e===n.method)||e.push({id:n.method,label:n.method,color:i.value.colorClass}),e}),o=z({get:()=>a.value.find(({id:e})=>e===n.method),set:e=>e?.id&&r(`change`,e.id)}),s=Ul({base:`text-center font-code text-3xs justify-center items-center flex`,variants:{isSquare:{true:`px-2.5 whitespace-nowrap font-bold border-r h-fit m-auto`,false:`rounded-full`},isEditable:{true:`http-bg-gradient rounded-md border`,false:`cursor-auto`}}}),c=z(()=>i.value.short);return(t,n)=>e.isEditable?(j(),N(D(oB),{key:0,modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,class:`font-code scalar-client mt-1 text-sm`,options:a.value},{default:O(()=>[P(`div`,{class:lt([`h-full`,{"pointer-events-none":!e.isEditable}])},[P(`button`,{class:lt([`relative h-full`,D(Wl)(D(s)({isSquare:e.isSquare,isEditable:e.isEditable}),i.value.colorClass)]),type:`button`},[P(`span`,null,T(c.value),1)],2)],2)]),_:1},8,[`modelValue`,`options`])):(j(),M(`div`,{key:1,class:lt([`relative gap-1 whitespace-nowrap`,D(Wl)(D(s)({isSquare:e.isSquare,isEditable:e.isEditable}),i.value.colorClass)]),type:`button`},T(i.value.short),3))}})})),g0,Dan=s((()=>{Ean(),Ds(),g0=Es(Tan,[[`__scopeId`,`data-v-e7883636`]])})),Oan,kan,Aan=s((()=>{Oan=/^\/_scalar_temp[a-f0-9]*$/i,kan=(e,t)=>t.toLowerCase()===`drafts`&&e===`/`||Oan.test(e)})),_0,jan=s((()=>{_0=e=>{if(!e)return;let t=document.querySelector(e);t instanceof HTMLButtonElement?t.click():(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.getAttribute(`contenteditable`)===`true`)&&t.focus()}})),v0,y0,Man,Nan,Pan,Fan,Ian,Lan=s((()=>{B(),v0=20,y0=100,Man=0,Nan=15,Pan=60,Fan=400/v0,Ian=()=>{let e=E(y0),t=E(0),n=E(!1),r=E(),i=()=>{clearInterval(r.value),r.value=void 0,e.value=y0,n.value=!1},a=()=>{n.value?e.value-=(e.value-Nan)/Pan:e.value-=t.value/Fan,e.value<=Man&&i()};return{startLoading:()=>{r.value?n.value=!0:(n.value=!0,r.value=setInterval(a,v0))},stopLoading:()=>{t.value=e.value,n.value=!1},percentage:e,isLoading:n}}})),Ran,zan=s((()=>{B(),Ran=({isReady:e,operationKey:t,shouldMask:n,onMask:r})=>{dr([e,t],([e])=>{e&&n()&&r()},{flush:`post`})}})),Ban,Van,Han=s((()=>{Fs(),B(),Mw(),uB(),Qs(),Ban={key:0,class:`sr-only`},Van=k({__name:`ServerVariablesSelect`,props:{enum:{},value:{},controls:{},describedBy:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,{translate:i}=Ps(),a=z(()=>n.enum.map(e=>({id:e,label:e}))),o=z({get:()=>a.value.find(e=>e.id===n.value),set:e=>r(`change`,e?.id??``)});return(t,n)=>(j(),N(D(oB),{modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,options:a.value},{default:O(()=>[R(D(jw),{"aria-controls":e.controls,"aria-describedby":e.describedBy,class:`group/button h-8 gap-1.5 p-1.5 text-base font-normal`,variant:`ghost`},{default:O(()=>[P(`span`,{class:lt({"text-c-1":e.value})},[e.value?(j(),M(`span`,Ban,T(D(i)(`apiClient.serverVariablesSelect.selected`)),1)):I(``,!0),F(` `+T(e.value||`Select value`),1)],2),R(D(zs),{class:`mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180`,weight:`bold`})]),_:1},8,[`aria-controls`,`aria-describedby`])]),_:1},8,[`modelValue`,`options`]))}})})),Uan,Wan=s((()=>{Han(),Uan=Van})),Gan,Kan,qan=s((()=>{Fs(),B(),Gan=[`placeholder`],Kan=k({__name:`ServerVariablesTextbox`,props:{value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,{translate:i}=Ps(),a=z({get:()=>n.value,set:e=>r(`change`,e)});return(t,n)=>or((j(),M(`input`,oi({"onUpdate:modelValue":n[0]||=e=>a.value=e},e.controls?{...t.$attrs,"aria-controls":e.controls}:{},{autocomplete:`off`,class:`text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg`,placeholder:D(i)(`apiClient.serverVariablesTextbox.value`),spellcheck:`false`,type:`text`}),null,16,Gan)),[[Ga,a.value]])}})})),Jan,Yan=s((()=>{qan(),Jan=Kan})),Xan,Zan,Qan,$an,eon=s((()=>{Wan(),Yan(),B(),Xan={class:`flex h-8 w-full items-center`},Zan=[`for`],Qan=[`id`],$an=k({__name:`ServerVariablesForm`,props:{variables:{},values:{},controls:{},layout:{default:`client`}},emits:[`update:variable`],setup(e,{emit:t}){let n=t,r=Pr(),i=xr();function a(e,t){n(`update:variable`,e,t)}let o=t=>(e.values?.[t]??e.variables?.[t]?.default??``).toString();return(t,n)=>e.variables&&Object.keys(e.variables??{}).length?(j(!0),M(L,{key:0},jr(Object.keys(e.variables),n=>(j(),M(`div`,{key:n,class:lt([`group/label w-full`,e.layout===`reference`&&`border-x border-b last:rounded-b-lg`])},[P(`div`,Xan,[P(`label`,{class:`flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']`,for:`${D(i)}-${n}`},T(n),9,Zan),e.variables?.[n]?.enum?.length?(j(),N(Uan,{key:0,id:`${D(i)}-${n}`,controls:e.controls,describedBy:r[`hint-${n}`]?`${D(i)}-${n}-hint`:void 0,enum:e.variables[n]?.enum?.map(e=>`${e}`)??[],value:o(n),onChange:e=>a(n,e)},null,8,[`id`,`controls`,`describedBy`,`enum`,`value`,`onChange`])):(j(),N(Jan,{key:1,id:`${D(i)}-${n}`,"aria-describedby":r[`hint-${n}`]?`${D(i)}-${n}-hint`:void 0,controls:e.controls,value:o(n),onChange:e=>a(n,e)},null,8,[`id`,`aria-describedby`,`controls`,`value`,`onChange`]))]),r[`hint-${n}`]?(j(),M(`div`,{key:0,id:`${D(i)}-${n}-hint`,class:`text-c-2 px-3 pb-2 text-sm`},[A(t.$slots,`hint-${n}`)],8,Qan)):I(``,!0)],2))),128)):I(``,!0)}})})),b0,ton=s((()=>{eon(),b0=$an})),non,ron,ion,aon,oon,son,con=s((()=>{ton(),B(),uB(),Xz(),non=[`aria-expanded`],ron={class:`overflow-hidden text-ellipsis whitespace-nowrap`},ion=[`id`],aon={key:0},oon={class:`description text-c-3 px-3 py-1.5`},son=k({__name:`ServerDropdownItem`,props:{server:{},serverOption:{}},emits:[`update:variable`,`update:selectedServer`],setup(e,{emit:t}){let n=t,r=xr(),i=()=>Object.keys(e.server?.variables??{}).length>0,a=z(()=>e.serverOption.id===e.server?.url),o=z(()=>a.value&&i());return(t,i)=>(j(),M(`div`,{class:lt([`group/item flex min-h-fit flex-col rounded border`,{"border-transparent":!a.value}])},[P(`button`,oi(o.value?{"aria-controls":D(r)}:{},{"aria-expanded":o.value,class:[`flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5`,a.value?`text-c-1 bg-b-2`:`hover:bg-b-2`],type:`button`,onClick:i[0]||=e=>n(`update:selectedServer`)}),[R(D(Nw),{selected:a.value},null,8,[`selected`]),P(`span`,ron,T(e.serverOption.label),1)],16,non),o.value?(j(),M(`div`,{key:0,id:D(r),class:`bg-b-2 divide divide-y rounded-b border-t *:pl-4`,onClick:i[2]||=Ka(()=>{},[`stop`])},[R(b0,{variables:e.server?.variables,"onUpdate:variable":i[1]||=(e,t)=>n(`update:variable`,e,t)},null,8,[`variables`]),e.server?.description?(j(),M(`div`,aon,[P(`div`,oon,[R(D(Jz),{value:e.server.description},null,8,[`value`])])])):I(``,!0)],8,ion)):I(``,!0)],2))}})})),lon,uon=s((()=>{Ds(),con(),lon=Es(son,[[`__scopeId`,`data-v-9775eaaf`]])})),don,fon,pon,mon,hon,gon=s((()=>{Fs(),rB(),uon(),B(),Mw(),Qs(),Qz(),don={class:`sr-only`},fon={class:`sr-only`},pon=[`onClick`],mon={class:`flex items-center justify-center`},hon=k({name:`ServerDropdown`,props:{meta:{},servers:{},server:{},target:{},layout:{}},emits:[`update:selectedServer`,`update:variable`,`update:servers`,`update:open`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=z(()=>e.servers.map(e=>({id:e.url,label:e.name||e.url||r(`apiClient.serverDropdown.unknownServer`)}))),a=z(()=>e.server?.url?.endsWith(`/`)?e.server.url.slice(0,-1):e.server?.url||``);return(t,o)=>(j(),N(D(Zz),{class:`max-h-[inherit] rounded-none rounded-b-lg border border-t-0 p-0 text-base inset-shadow-none`,focus:``,offset:0,placement:`bottom`,resize:``,target:e.target,teleport:`#${e.target}`},{popover:O(({close:t,open:a})=>[R(nB,{value:a,onChange:o[0]||=e=>n(`update:open`,e),onUnmount:o[1]||=e=>n(`update:open`,!1)},null,8,[`value`]),P(`div`,{class:`custom-scroll flex max-h-[inherit] flex-col gap-1 p-1`,onClick:t},[(j(!0),M(L,null,jr(i.value,(t,r)=>(j(),N(lon,{key:t.id,server:e.server,serverOption:t,type:`request`,"onUpdate:selectedServer":r=>n(`update:selectedServer`,{url:t.id,meta:e.meta}),"onUpdate:variable":(t,i)=>n(`update:variable`,{index:r,key:t,value:i,meta:e.meta})},null,8,[`server`,`serverOption`,`onUpdate:selectedServer`,`onUpdate:variable`]))),128)),e.layout===`modal`?I(``,!0):(j(),M(`button`,{key:0,class:`text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75`,type:`button`,onClick:o[2]||=e=>n(`update:servers`)},[P(`div`,mon,[R(D(__e),{class:`size-4`})]),P(`span`,null,T(D(r)(`apiClient.serverDropdown.updateServers`)),1)]))],8,pon)]),default:O(()=>[R(D(jw),{class:`hover:bg-b-2 font-code text-c-2 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap @3xl:ml-0.75`,variant:`ghost`},{default:O(()=>[e.server?(j(),M(L,{key:0},[P(`span`,don,T(D(r)(`apiClient.serverDropdown.server`)),1),F(` `+T(a.value),1)],64)):(j(),M(L,{key:1},[P(`span`,fon,T(D(r)(`apiClient.serverDropdown.addServer`)),1),R(D(qs),{class:`size-3`})],64))]),_:1})]),_:1},8,[`target`,`teleport`]))}})})),_on,von=s((()=>{gon(),_on=hon})),yon,bon,xon=s((()=>{yon={100:{color:`text-yellow`},200:{color:`text-green`},202:{color:`text-green`},300:{color:`text-blue`},304:{color:`text-blue`},400:{color:`text-red`},401:{color:`text-orange`},422:{color:`text-yellow`},423:{color:`text-purple`},505:{color:`text-orange`}},bon=e=>yon[e]||{color:`text-grey`}})),Son=s((()=>{uT()})),Con,won=s((()=>{Con=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+`s`:e.toFixed(t)+`ms`})),Ton,Eon,Don,Oon,kon=s((()=>{Fs(),Dan(),rB(),xon(),B(),gS(),Hc(),Ts(),Son(),won(),Ton={class:`sr-only`},Eon={class:`min-w-0`},Don={class:`text-c-1 min-w-0 truncate`},Oon=k({__name:`AddressBarHistory`,props:{target:{},history:{}},emits:[`select:history:item`,`update:open`],setup(e,{emit:t}){let n=t,{translate:r}=Ps();return(t,i)=>(j(),N(D(Wse),{as:`div`},{default:O(({open:t})=>[R(nB,{value:t,onChange:i[0]||=e=>n(`update:open`,e),onUnmount:i[1]||=e=>n(`update:open`,!1)},null,8,[`value`]),R(D(lT),{offset:0,resize:``,target:e.target},Mr({default:O(()=>[e.history.length?(j(),N(D(Gse),{key:0,class:`address-bar-history-button text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5`},{default:O(()=>[R(D(fS),{icon:`History`,size:`sm`,thickness:`2.25`}),P(`span`,Ton,T(D(r)(`apiClient.addressBarHistory.requestHistory`)),1)]),_:1})):I(``,!0)]),_:2},[t?{name:`floating`,fn:O(({width:t})=>[R(D(Kse),{class:`custom-scroll bg-b-1 dark:bg-b-1.5 grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center rounded-b-lg border border-t-0 p-0.75 shadow-md`,static:``,style:ct({width:t})},{default:O(()=>[(j(!0),M(L,null,jr(e.history,(e,t)=>(j(),N(D(qse),{key:t,as:`button`,class:`font-code ui-active:*:bg-b-2 text-c-2 contents text-sm font-medium *:flex *:h-8 *:cursor-pointer *:items-center *:rounded-none *:px-1.5 *:first:rounded-l *:last:rounded-r`,value:t,onClick:e=>n(`select:history:item`,{index:t})},{default:O(()=>[R(D(g0),{class:`text-[11px]`,method:e.method},null,8,[`method`]),P(`div`,Eon,[P(`div`,Don,T(e.path),1)]),P(`div`,null,T(D(Con)(e.duration)),1),P(`div`,{class:lt([D(bon)(e.status).color])},T(e.status),3),P(`div`,null,T(D(Vc)[e.status]?.name),1)]),_:2},1032,[`value`,`onClick`]))),128))]),_:1},8,[`style`])]),key:`0`}:void 0]),1032,[`target`])]),_:1}))}})})),Aon,jon=s((()=>{Ds(),kon(),Aon=Es(Oon,[[`__scopeId`,`data-v-04d27531`]])})),Mon,Non=s((()=>{Mon=e=>{if(!e||!(e instanceof Element))return null;let t=[],n=e;for(;n instanceof Element;){let e=n.localName,r=1,i=n.previousElementSibling;for(;i;)i.localName===e&&r++,i=i.previousElementSibling;t.unshift(r>1?`${e}:nth-of-type(${r})`:e),n=n.parentElement}return t.join(` > `)}})),Pon,Fon=s((()=>{Pon=(e=``)=>{if(!e.trim())return null;if(!e.startsWith(`/`)&&!/^[a-z][a-z0-9+\-.]*:\/\//i.test(e)){let t=e.search(/[/?#]/),n=t===-1?e:e.slice(0,t);if(n.includes(`.`))try{let t=new URL(`https://${e}`);if(t.origin===`null`)return null;let r=t.host,i=n.match(/:(\d+)$/);i&&!t.port&&(r=`${t.hostname}:${i[1]}`);let a=decodeURIComponent(t.pathname)+t.search+t.hash;return[r,a]}catch{return null}}if(e.startsWith(`//`))try{let t=new URL(`https:${e}`);return t.origin===`null`?null:[t.origin.replace(/^https?:/,``),decodeURIComponent(t.pathname)+t.search+t.hash]}catch{return null}try{let t=new URL(e);if(t.origin===`null`)return null;let n=decodeURIComponent(t.pathname)+t.search+t.hash;return[t.origin,n]}catch{return null}}})),Ion,Lon,Ron,zon,Bon,Von,Hon,Uon,Won,Gon,Kon,qon,Jon,Yon,Xon,Zon=s((()=>{Fs(),Dan(),N_t(),eCe(),Aan(),jan(),Lan(),zan(),von(),jon(),B(),Mw(),Qs(),uJ(),gS(),$F(),Non(),Fon(),Ion={class:`order-last flex h-auto w-full max-w-3xl grow-3 flex-wrap items-stretch [--scalar-address-bar-height:32px] @3xl:order-0 @3xl:flex-nowrap`},Lon=[`id`],Ron={class:`flex`},zon={class:`scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal`,dir:`ltr`},Bon={class:`sr-only`},Von={key:0,class:`z-context absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6`},Hon={class:`text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1`},Uon={class:`min-w-0 flex-1`},Won={"aria-hidden":`true`,class:`inline-flex items-center gap-1`},Gon={class:`text-xxs flex`},Kon={class:`sr-only`},qon={"aria-hidden":`true`,class:`inline-flex items-center gap-1`},Jon={class:`text-xxs`},Yon={class:`sr-only`},Xon=k({name:`AddressBar`,props:{executionDisabled:{type:Boolean},path:{},method:{},isWebhook:{type:Boolean,default:!1},documentSlug:{},exampleKey:{},server:{},servers:{},history:{},layout:{},eventBus:{},environment:{},serverMeta:{}},emits:[`execute`,`select:history:item`,`update:webhook-url`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Ps(),a=xr(),o=Cr(`sendButtonRef`),s=Cr(`mobileSendButtonRef`),c=Cr(`addressBarRef`),{percentage:l,startLoading:u,stopLoading:d,isLoading:f}=Ian(),p=E(null),m=E(null),h=E(!1),g=E(!1),_=E(!1),v=XA.scrollMargins.of(()=>({right:24})),y=z(()=>({backgroundColor:`color-mix(in srgb, transparent 90%, ${lJ(e.method).colorVar})`,transform:`translate3d(-${l.value}%,0,0)`})),b=z(()=>m.value||p.value),x=z(()=>e.server?``:e.isWebhook?i(`apiClient.addressBar.webhookUrlPlaceholder`):i(`apiClient.addressBar.urlPlaceholder`)),ee=z(()=>g.value||_.value),te=z(()=>Ql(e.method,e.path,e.exampleKey,e.documentSlug));dr(te,()=>{p.value=null,m.value=null});let ne=()=>{let e=o.value?.$el,t=s.value?.$el;e&&e.offsetParent!==null?e.focus():t?.focus()},re=t=>{c.value?.isFocused&&e.layout!==`desktop`||(c.value?.focus(`end`),t&&`clear`in t&&t.clear&&c.value?.setCodeMirrorContent(``),t&&`event`in t&&t.event.preventDefault())};Ran({isReady:()=>c.value?.codeMirror,operationKey:()=>te.value,shouldMask:()=>kan(e.path,e.documentSlug),onMask:()=>requestAnimationFrame(()=>{let t=c.value?.codeMirror?.state.doc.toString();t&&t!==e.path||re({clear:!0})})});let ie=t=>{let n=Pon(t);if(!n)return t;let[r,i]=n;return r===e.server?.url||(e.servers.find(e=>e.url===r)?e.eventBus.emit(`server:update:selected`,{url:r,meta:e.serverMeta}):e.eventBus.emit(`server:add:server`,{url:r,select:!0,meta:{type:`operation`,path:e.path,method:e.method}})),i},ae=e=>e.startsWith(`/`)?e:`/${e}`,oe=(t,n,i=null)=>{if(e.isWebhook){let e=n.trim();c.value?.setCodeMirrorContent(e),r(`update:webhook-url`,e),m.value=null,p.value=null,nr(()=>_0(i));return}let a=ie(n),o=ae(a);c.value?.setCodeMirrorContent(o),e.eventBus.emit(`operation:update:pathMethod`,{meta:{method:e.method,path:e.path},blurTargetSelector:i,payload:{method:t,path:o},callback:(n,r)=>{if(n===`success`||n===`no-change`)m.value=null,p.value=null;else if(n===`conflict`){t!==e.method&&(m.value=t),o!==e.path&&(p.value=o);return}let i=c.value?.codeMirrorRef?.textContent;n===`no-change`&&i&&i!==a&&c.value?.setCodeMirrorContent(a),nr(()=>_0(r))}})},se=t=>oe(t,p.value??e.path),ce=(t,n)=>{let r=n.relatedTarget instanceof Element?n.relatedTarget:null,i=h.value||`sourceCapabilities`in n&&n.sourceCapabilities===null?null:Mon(r);h.value=!1,oe(m.value??e.method,t,i)},le=(t,n)=>{n.stopPropagation(),oe(m.value??e.method,t,`[data-addressbar-action="send"]`)},S=t=>{if(t.target instanceof HTMLElement&&t.target.innerText===`
+`){if(e.isWebhook)return;e.eventBus.emit(`server:update:selected`,{url:``,meta:e.serverMeta})}},ue=t=>{e.eventBus.emit(`server:update:selected`,t)},de=t=>{e.eventBus.emit(`server:update:variables`,t)},fe=()=>{e.eventBus.emit(`copy-url:address-bar`)},pe=()=>{e.serverMeta.type===`operation`?e.eventBus.emit(`ui:navigate`,{page:`operation`,path:`servers`,operationPath:e.serverMeta.path,method:e.serverMeta.method}):e.eventBus.emit(`ui:navigate`,{page:`document`,path:`servers`})},me=[];return Ii(()=>{me.push(e.eventBus.on(`ui:focus:address-bar`,re),e.eventBus.on(`ui:focus:send-button`,ne),e.eventBus.on(`hooks:on:request:sent`,u),e.eventBus.on(`hooks:on:request:complete`,d))}),Ri(()=>{for(let e of me)e();d()}),t({methodConflict:m,pathConflict:p}),(t,n)=>(j(),M(`div`,Ion,[P(`div`,{id:D(a),class:lt([`address-bar-bg-states text-xxs group relative flex h-(--scalar-address-bar-height) w-full flex-1 flex-row items-stretch rounded-lg p-0.75`,{"outline-c-danger outline":b.value,"rounded-b-none":ee.value}])},[P(`div`,{class:lt([`pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border`,{"rounded-b-none":ee.value}])},[P(`div`,{class:`absolute top-0 left-0 h-full w-full`,style:ct(y.value)},null,4)],2),P(`div`,Ron,[R(D(g0),{isEditable:e.layout!==`modal`&&!e.isWebhook,isSquare:``,method:m.value??e.method,teleport:``,onChange:se},null,8,[`isEditable`,`method`])]),P(`div`,zon,[e.servers.length?(j(),N(D(_on),{key:0,layout:e.isWebhook?`modal`:e.layout,meta:e.serverMeta,server:e.server,servers:e.servers,target:D(a),"onUpdate:open":n[0]||=e=>g.value=e,"onUpdate:selectedServer":ue,"onUpdate:servers":pe,"onUpdate:variable":de},null,8,[`layout`,`meta`,`server`,`servers`,`target`])):I(``,!0),R(D(M_t),{ref_key:`addressBarRef`,ref:c,alwaysEmitChange:``,"aria-label":D(i)(`apiClient.addressBar.path`),class:`ml-1 min-w-fit pl-px outline-none`,disableCloseBrackets:``,disabled:e.layout===`modal`&&!e.isWebhook,disableEnter:``,disableTabIndent:``,emitOnBlur:!1,environment:e.environment,extensions:[D(v)],importCurl:``,layout:e.layout,modelValue:e.path,placeholder:x.value,server:``,onBlur:ce,onKeydown:[qa(S,[`delete`]),n[1]||=qa(e=>h.value=!0,[`tab`])],onSubmit:le},null,8,[`aria-label`,`disabled`,`environment`,`extensions`,`layout`,`modelValue`,`placeholder`])]),R(D(jw),{class:`hover:bg-b-3 mx-1 flex`,size:`xs`,variant:`ghost`,onClick:fe},{default:O(()=>[R(D(Hs)),P(`span`,Bon,T(D(i)(`apiClient.addressBar.copyUrl`)),1)]),_:1}),R(Aon,{history:e.history,target:D(a),"onSelect:history:item":n[2]||=e=>r(`select:history:item`,e),"onUpdate:open":n[3]||=e=>_.value=e},null,8,[`history`,`target`]),b.value?(j(),M(`div`,Von,[P(`div`,Hon,[R(D(Iye),{size:`sm`}),P(`div`,Uon,T(D(i)(`apiClient.addressBar.duplicateRequest`,{method:(m.value??e.method).toUpperCase(),path:p.value??e.path})),1)])])):I(``,!0),R(D(jw),{ref_key:`sendButtonRef`,ref:o,class:`relative hidden h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold @3xl:flex`,"data-addressbar-action":`send`,disabled:D(f)||e.executionDisabled,onClick:n[4]||=e=>r(`execute`)},{default:O(()=>[P(`span`,Won,[R(D(fS),{class:`relative shrink-0 fill-current`,icon:`Play`,size:`xs`}),P(`span`,Gon,T(D(i)(`apiClient.addressBar.send`)),1)]),P(`span`,Kon,T(D(i)(`apiClient.addressBar.sendRequest`,{method:e.method,url:`${e.server?.url??``}${e.path}`})),1)]),_:1},8,[`disabled`])],10,Lon),R(D(jw),{ref_key:`mobileSendButtonRef`,ref:s,class:`relative mt-2 h-(--scalar-address-bar-height) w-full shrink-0 justify-center overflow-hidden py-1 font-bold @3xl:hidden`,"data-addressbar-action":`send`,disabled:D(f)||e.executionDisabled,onClick:n[5]||=e=>r(`execute`)},{default:O(()=>[P(`span`,qon,[R(D(fS),{class:`relative shrink-0 fill-current`,icon:`Play`,size:`xs`}),P(`span`,Jon,T(D(i)(`apiClient.addressBar.send`)),1)]),P(`span`,Yon,T(D(i)(`apiClient.addressBar.sendRequest`,{method:e.method,url:`${e.server?.url??``}${e.path}`})),1)]),_:1},8,[`disabled`])]))}})})),Qon,$on=s((()=>{Ds(),Zon(),Qon=Es(Xon,[[`__scopeId`,`data-v-6edfa5a3`]])})),esn,tsn,nsn,rsn,isn,asn,osn,ssn,csn,lsn,usn,dsn,fsn,psn=s((()=>{Fs(),B(),Mw(),gS(),LT(),esn={class:`relative flex items-center`},tsn={class:`flex max-w-[220px] min-w-0 items-center gap-1.5`},nsn={class:`text-xxs block max-w-[160px] min-w-0 truncate text-left font-medium`},rsn={class:`text-c-2`},isn={class:`min-w-0 flex-1 truncate`},asn={class:`bg-c-accent text-b-1 mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded-full p-[3px]`},osn={class:`min-w-0 flex-1 text-left`},ssn={class:`block truncate`},csn={class:`text-c-3 block truncate text-xs`},lsn={class:`flex h-4 w-4 items-center justify-center`},usn={key:5,class:`text-c-3 px-2 py-1.5 text-xs`},dsn={class:`mb-1`},fsn=k({__name:`EnvironmentSelector`,props:{environments:{default:()=>[]},activeEnvironment:{}},emits:[`select:environment`,`add:environment`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=z(()=>!!e.activeEnvironment),a=z(()=>e.environments.length>0),o=z(()=>e.activeEnvironment?e.environments.includes(e.activeEnvironment):!1),s=z(()=>i.value&&!o.value),c=z(()=>s.value?r(`apiClient.environmentSelector.unavailable`,{name:e.activeEnvironment??``}):i.value?e.activeEnvironment:a.value?r(`apiClient.environmentSelector.select`):r(`apiClient.environmentSelector.add`)),l=z(()=>s.value?`hover:bg-b-2 text-c-2 border-transparent`:i.value?`bg-c-accent/10 text-c-accent hover:bg-c-accent/20 border-c-accent/30`:a.value?`hover:bg-b-2 text-c-2 border-transparent`:`hover:bg-b-2 text-c-3 border-transparent`),u=()=>{n(`add:environment`)},d=e=>{n(`select:environment`,e)};return(t,n)=>(j(),M(`div`,esn,[R(D(MT),null,{items:O(()=>[i.value?(j(),N(D(IT),{key:0,class:`group/item flex w-full items-center gap-1.5`,onClick:n[0]||=e=>d(``)},{default:O(()=>[P(`div`,{class:lt([`flex h-4 w-4 items-center justify-center rounded-full p-[3px]`,e.activeEnvironment?`shadow-border text-transparent`:`bg-c-accent text-b-1`])},[R(D(fS),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),P(`span`,rsn,T(D(r)(`apiClient.environmentSelector.noEnvironment`)),1)]),_:1})):I(``,!0),i.value&&a.value?(j(),N(D(FT),{key:1})):I(``,!0),(j(!0),M(L,null,jr(e.environments,t=>(j(),N(D(IT),{key:t,class:`group/item flex w-full min-w-0 items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,onClick:e=>d(t)},{default:O(()=>[P(`div`,{class:lt([`flex h-4 w-4 items-center justify-center rounded-full p-[3px]`,e.activeEnvironment===t?`bg-c-accent text-b-1`:`shadow-border text-transparent`])},[R(D(fS),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),P(`span`,isn,T(t),1)]),_:2},1032,[`onClick`]))),128)),s.value?(j(),N(D(FT),{key:2})):I(``,!0),s.value?(j(),N(D(IT),{key:3,class:`group/item flex h-auto w-full min-w-0 items-start gap-1.5 overflow-hidden`,disabled:``},{default:O(()=>[P(`div`,asn,[R(D(fS),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})]),P(`div`,osn,[P(`span`,ssn,T(e.activeEnvironment),1),P(`span`,csn,T(D(r)(`apiClient.environmentSelector.notAvailableInThisContext`)),1)])]),_:1})):I(``,!0),a.value?(j(),N(D(FT),{key:4})):I(``,!0),R(D(IT),{class:`text-c-accent flex items-center gap-1.5`,onClick:u},{default:O(()=>[P(`div`,lsn,[R(D(fS),{icon:`Add`,size:`sm`})]),P(`span`,null,T(a.value?`New Environment`:`Create Environment`),1)]),_:1}),!a.value&&!i.value?(j(),M(`div`,usn,[P(`p`,dsn,T(D(r)(`apiClient.environmentSelector.environmentHint`)),1)])):I(``,!0)]),default:O(()=>[R(D(jw),{"aria-label":D(r)(`apiClient.environmentSelector.current`,{name:c.value??``}),class:lt([`line-clamp-1 h-full w-fit justify-start border px-2 py-1 font-normal transition-colors`,l.value]),size:`sm`,variant:`ghost`},{default:O(()=>[P(`div`,tsn,[R(D(fS),{class:lt([`shrink-0`,i.value&&!s.value?`text-c-accent`:`text-c-3`]),icon:`Globe`,size:`sm`},null,8,[`class`]),P(`span`,nsn,T(c.value),1),R(D(fS),{class:`shrink-0`,icon:`ChevronDown`,size:`xs`})])]),_:1},8,[`aria-label`,`class`])]),_:1})]))}})})),msn,hsn=s((()=>{psn(),msn=fsn})),gsn,_sn,vsn,ysn,bsn,xsn=s((()=>{Fs(),kbe(),$on(),hsn(),B(),Qs(),gS(),nI(),gsn={class:`lg:min-h-header t-app__top-container @container flex w-full flex-wrap items-center justify-center p-2`},_sn={class:`mb-2 flex flex-1 items-center justify-end gap-2 @3xl:mb-0`},vsn={class:`sr-only`},ysn={class:`sr-only`},bsn=k({__name:`Header`,props:{executionDisabled:{type:Boolean},path:{},method:{},isWebhook:{type:Boolean},layout:{},hideClientButton:{type:Boolean,default:!1},integration:{},documentSlug:{},exampleKey:{},documentUrl:{},source:{},server:{},servers:{},history:{},eventBus:{},environments:{},activeEnvironment:{},environment:{},serverMeta:{}},emits:[`execute`,`select:history:item`,`add:environment`,`navigate:settings`,`update:webhook-url`],setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=t=>{e.eventBus.emit(`workspace:update:active-environment`,t)},a=()=>{e.eventBus.emit(`ui:navigate`,{page:`document`,path:`environment`})};return(t,o)=>(j(),M(`div`,gsn,[o[7]||=P(`div`,{class:`flex flex-1`},null,-1),R(D(Qon),{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,executionDisabled:e.executionDisabled,history:e.history,isWebhook:e.isWebhook,layout:e.layout,method:e.method,path:e.path,server:e.server,serverMeta:e.serverMeta,servers:e.servers,"onAdd:environment":o[0]||=e=>n(`add:environment`),onExecute:o[1]||=e=>n(`execute`),"onSelect:history:item":o[2]||=e=>n(`select:history:item`,e),"onUpdate:webhookUrl":o[3]||=e=>n(`update:webhook-url`,e)},null,8,[`activeEnvironment`,`documentSlug`,`environment`,`environments`,`eventBus`,`exampleKey`,`executionDisabled`,`history`,`isWebhook`,`layout`,`method`,`path`,`server`,`serverMeta`,`servers`]),P(`div`,_sn,[e.layout===`modal`?I(``,!0):(j(),N(msn,{key:0,activeEnvironment:e.activeEnvironment,environments:e.environments,"onAdd:environment":a,"onSelect:environment":i},null,8,[`activeEnvironment`,`environments`])),e.layout!==`modal`&&!e.isWebhook?(j(),N(D(eI),{key:1,icon:D(pme),label:D(r)(`apiClient.header.operationSettings`),size:`sm`,weight:`bold`,onClick:o[4]||=e=>n(`navigate:settings`)},null,8,[`icon`,`label`])):I(``,!0),e.layout===`modal`&&e.documentUrl&&!e.hideClientButton?(j(),N(pc,{key:2,buttonSource:`modal`,class:`!w-fit lg:-mr-1`,integration:e.integration??null,operationMethod:e.method,operationPath:e.path,source:e.source??`api-reference`,url:e.documentUrl},null,8,[`integration`,`operationMethod`,`operationPath`,`source`,`url`])):I(``,!0),e.layout===`modal`&&e.source!==`gitbook`?(j(),M(`button`,{key:3,class:`app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2`,"data-modal-initial-focus":``,type:`button`,onClick:o[5]||=t=>e.eventBus.emit(`ui:close:client-modal`)},[R(D(fS),{icon:`Close`,size:`lg`,thickness:`2`}),P(`span`,vsn,T(D(r)(`apiClient.header.closeClient`)),1)])):I(``,!0),e.layout===`modal`&&e.source===`gitbook`?(j(),M(`button`,{key:4,class:`text-c-1 hover:bg-b-2 active:text-c-1 -mr-1.5 rounded p-2`,"data-modal-initial-focus":``,type:`button`,onClick:o[6]||=t=>e.eventBus.emit(`ui:close:client-modal`)},[R(D(fS),{icon:`Close`,size:`md`,thickness:`1.75`}),P(`span`,ysn,T(D(r)(`apiClient.header.closeClient`)),1)])):I(``,!0)])]))}})})),Ssn,Csn=s((()=>{Ds(),xsn(),Ssn=Es(bsn,[[`__scopeId`,`data-v-3a29d7a0`]])})),wsn,Tsn,Esn,Dsn,Osn=s((()=>{Fs(),OSe(),NSe(),Jl(),Cxe(),BSe(),USe(),YSe(),QSe(),eCe(),GGe(),Snn(),wan(),Csn(),B(),Mw(),rS(),qbe(),Ic(),Bc(),hX(),Xbe(),o0(),aK(),$B(),ZB(),wsn={class:`bg-b-1 flex h-full min-w-0 flex-col`},Tsn={class:`lg:min-h-header flex w-full flex-wrap items-center justify-center p-2 lg:p-0`},Esn={class:`text-c-2 p-4`,role:`status`},Dsn=k({name:`OperationBlock`,props:{externalExamplesPending:{type:Boolean,default:!1},externalExamplesFailed:{type:Boolean,default:!1},eventBus:{},appVersion:{},document:{},documentSlug:{},workspaceCookies:{default:()=>[]},documentCookies:{default:()=>[]},path:{},method:{},isWebhook:{type:Boolean,default:!1},httpClients:{default:()=>iK},history:{default:()=>[]},layout:{},server:{},selectedClient:{},servers:{},serverMeta:{},hideClientButton:{type:Boolean},integration:{},documentUrl:{},source:{},operation:{},sourceOperation:{},exampleKey:{},authMeta:{},securitySchemes:{},plugins:{default:()=>[]},environments:{},activeEnvironment:{},environment:{},proxyUrl:{},selectedSecurity:{},selectedSecuritySchemes:{},securityRequirements:{},defaultHeaders:{},requestBodyCompositionSelection:{},options:{}},emits:[`retry:externalExamples`],setup(e){let{translate:t}=Ps(),n=z(()=>qq(e.httpClients)),{toast:r}=JB(),{copyToClipboard:i}=QB(),a=E(null),o=E(null),s=E(null),c=E(null),l=E(``);dr([()=>e.path,()=>e.method,()=>e.isWebhook],()=>{l.value=``},{immediate:!0});let u=z(()=>e.isWebhook?l.value:e.path),d=z(()=>e.isWebhook?null:e.server),f=()=>a.value?.abort(Nc.REQUEST_ABORTED),p=t=>{let n=JSe({cookieHeaderKeys:t.response.cookieHeaderKeys??[],documentCookies:e.documentCookies,requestUrl:WSe(String(t.requestPayload[0]))});for(let t of n)t.type===`delete`?e.eventBus.emit(`cookie:delete:cookie`,{collectionType:`document`,cookieName:t.cookieName,index:t.index}):e.eventBus.emit(`cookie:upsert:cookie`,{collectionType:`document`,payload:t.cookie,...t.index===void 0?{}:{index:t.index}})},m=async()=>{let{request:t}=ex({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:[...e.workspaceCookies,...e.documentCookies],method:e.method,operation:e.operation,path:u.value,proxyUrl:e.proxyUrl,server:d.value,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:Fc(),openapiVersion:e.document.openapi,requestBodyCompositionSelection:e.requestBodyCompositionSelection});await i(NWe(t,Cb(e.environment)))},h=async()=>{if(e.externalExamplesPending)return;if(s.value=null,e.eventBus.flushDebouncedEmits?.(),await nr(),e.isWebhook&&!u.value.trim()){r(t(`apiClient.operationBlock.webhookUrlRequired`),`error`);return}if(WGe(e.operation.parameters??[],e.exampleKey).ok===!1){r(t(`apiClient.operationBlock.pathParametersRequired`),`error`);return}let n=[...e.workspaceCookies,...e.documentCookies],{request:i}=ex({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:n,method:e.method,operation:e.operation,path:u.value,proxyUrl:e.proxyUrl,server:d.value,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:Fc(),openapiVersion:e.document.openapi,requestBodyCompositionSelection:e.requestBodyCompositionSelection});o.value&&`reader`in o.value&&o.value.reader.cancel();let l=VGe(),f=Cb(e.environment);l.setEnvironment?.(Object.entries(f).map(([e,t])=>({key:e,value:t})));let m=e.activeEnvironment?{environmentName:e.activeEnvironment,mergedVariables:[...e.environment.variables],documentVariables:[...e.document[`x-scalar-environments`]?.[e.activeEnvironment]?.variables??[]],environmentExistsOnDocument:!!e.document[`x-scalar-environments`]?.[e.activeEnvironment]}:null;await r0({requestBuilder:i,document:e.document,operation:e.operation,variablesStore:l,server:d.value,customFetch:wn(e.options)?.customFetch},`beforeRequest`,e.plugins);let h=()=>{if(!m)return;let t=ZSe({...m,seededVariables:f,scriptVariables:l.getEnvironment()});for(let n of t)n.type===`delete`?e.eventBus.emit(`environment:delete:environment-variable`,{environmentName:n.environmentName,index:n.index,collectionType:n.collectionType}):e.eventBus.emit(`environment:upsert:environment-variable`,{environmentName:n.environmentName,variable:n.variable,index:n.index,collectionType:n.collectionType})},g=l.getVariables(),_=vb(i,{envVariables:g,allowMissingRequestServerBase:e.layout===`modal`});if(!_.ok){h(),r(_.message??_.error,`error`);return}let v=_.data.requestPayload[1].method??`GET`;if(Lc(v)){h(),r(t(`apiClient.operationBlock.forbiddenMethod`,{method:v.toUpperCase()}),`error`);return}a.value=_.data.controller;let y=zc(..._.data.requestPayload);await r0({request:y,requestBuilder:i,document:e.document,operation:e.operation,variablesStore:l},`requestBuilt`,e.plugins),e.eventBus.emit(`hooks:on:request:sent`,{meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}});let[b,x]=await bxe({isUsingProxy:_.data.isUsingProxy,requestPayload:_.data.requestPayload,request:y,plugins:e.plugins,customFetch:wn(e.options)?.customFetch,onResponseReceived:async(t,n)=>(await cin({response:t,responseDuration:n,requestBuilder:i,request:zc(..._.data.requestPayload),document:e.document,operation:e.operation,variablesStore:l},e.plugins)).response});if(h(),e.eventBus.emit(`hooks:on:request:complete`,{payload:x?{response:x.originalResponse.clone(),requestPayload:x.requestPayload,duration:x.response.duration,timestamp:x.timestamp}:void 0,meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}}),b){if(_.data.controller.signal.aborted){a.value===_.data.controller&&(a.value=null);return}s.value=b,o.value=null,c.value=null,a.value=null,r(b.message,`error`)}else o.value=x.response,c.value=x.requestPayload,p(x),$Se(x.response)||$l.set(Ql(e.method,e.path,e.exampleKey),{response:x.response,requestPayload:x.requestPayload})};Ii(()=>{e.eventBus.on(`operation:send:request:hotkey`,h),e.eventBus.on(`operation:cancel:request`,f),e.eventBus.on(`copy-url:address-bar`,m),r0({document:e.document,operation:e.operation},`onRequestMount`,e.plugins)}),Ri(()=>{e.eventBus.off(`operation:send:request:hotkey`,h),e.eventBus.off(`operation:cancel:request`,f),e.eventBus.off(`copy-url:address-bar`,m)});let g=z(()=>e.history.map(e=>({method:e.request.method,path:e.request.url,duration:e.time,status:e.response.status})).reverse()),_=({index:t})=>{let n=(e.history.length??0)-t-1,r=e.history[n];r&&e.eventBus.emit(`operation:reload:history`,{meta:{path:e.path,method:e.method},index:n,callback:()=>e.eventBus.emit(`ui:navigate`,{page:`example`,method:e.method,path:e.path,exampleName:`draft`,callback:t=>{if(t!==`success`)return;let n=Yl({harResponse:r.response,url:r.request.url,method:e.method,path:e.path,duration:r.time}),i=LSe({harRequest:r.request});s.value=null,o.value=n,c.value=i}})})},v=()=>{e.eventBus.emit(`ui:navigate`,{page:`operation`,path:`overview`,operationPath:e.path,method:e.method})};return dr([()=>e.path,()=>e.method,()=>e.exampleKey],([t,n,r])=>{s.value=null;let i=$l.get(Ql(n,t,r));if(i)o.value=i.response,c.value=i.requestPayload;else{let i=(()=>{for(let t=e.history.length-1;t>=0;t--){let n=e.history[t];if(n?.meta.example===r)return n}})();i?(o.value=Yl({harResponse:i.response,url:i.request.url,method:n,path:t,duration:i.time}),c.value=null):(o.value=null,c.value=null)}f()},{immediate:!0}),Ri(()=>{f()}),(t,r)=>(j(),M(`div`,wsn,[P(`div`,Tsn,[R(Ssn,{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,documentUrl:e.documentUrl,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,executionDisabled:e.externalExamplesPending,hideClientButton:e.hideClientButton,history:g.value,integration:e.integration,isWebhook:e.isWebhook,layout:e.layout,method:e.method,path:u.value,server:d.value,serverMeta:e.serverMeta,servers:e.servers,source:e.source,onExecute:h,"onNavigate:settings":v,"onSelect:history:item":_,"onUpdate:webhookUrl":r[0]||=e=>l.value=e},null,8,[`activeEnvironment`,`documentSlug`,`documentUrl`,`environment`,`environments`,`eventBus`,`exampleKey`,`executionDisabled`,`hideClientButton`,`history`,`integration`,`isWebhook`,`layout`,`method`,`path`,`server`,`serverMeta`,`servers`,`source`])]),R(DSe,{class:`border-t`},{default:O(()=>[R(MSe,{class:`flex-1`},{default:O(()=>[e.externalExamplesPending?(j(),N(ql,{key:0,"aria-label":`Request`},{title:O(()=>[...r[2]||=[F(`Request`,-1)]]),default:O(()=>[P(`div`,Esn,[e.externalExamplesFailed?(j(),M(L,{key:0},[r[4]||=F(` Could not load this example. `,-1),R(D(jw),{size:`sm`,variant:`ghost`,onClick:r[1]||=e=>t.$emit(`retry:externalExamples`)},{default:O(()=>[...r[3]||=[F(` Retry `,-1)]]),_:1})],64)):(j(),M(L,{key:1},[F(`Loading example…`)],64))])]),_:1})):(j(),N(D(xnn),{key:1,authMeta:e.authMeta,clientOptions:n.value,defaultHeaders:e.defaultHeaders,defaultRequestBodyView:e.document[`x-scalar-default-request-body-view`],documentCookies:e.documentCookies,documentSlug:e.documentSlug,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,layout:e.layout,method:e.method,openapiVersion:e.document.openapi,operation:e.operation,options:wn(e.options),path:u.value,plugins:e.plugins,proxyUrl:e.proxyUrl,requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:e.securityRequirements,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedSecurity:e.selectedSecurity,selectedSecuritySchemes:e.selectedSecuritySchemes,server:d.value,sourceOperation:e.sourceOperation,workspaceCookies:e.workspaceCookies},null,8,`authMeta.clientOptions.defaultHeaders.defaultRequestBodyView.documentCookies.documentSlug.environment.eventBus.exampleKey.layout.method.openapiVersion.operation.options.path.plugins.proxyUrl.requestBodyCompositionSelection.securityRequirements.securitySchemes.selectedClient.selectedSecurity.selectedSecuritySchemes.server.sourceOperation.workspaceCookies`.split(`.`))),R(D(Can),{appVersion:e.appVersion,eventBus:e.eventBus,executionDisabled:e.externalExamplesPending,layout:e.layout,plugins:e.plugins,requestError:s.value,requestPayload:c.value,response:o.value,totalPerformedRequests:g.value.length},null,8,[`appVersion`,`eventBus`,`executionDisabled`,`layout`,`plugins`,`requestError`,`requestPayload`,`response`,`totalPerformedRequests`])]),_:1})]),_:1})]))}})})),ksn,Asn=s((()=>{Osn(),ksn=Dsn})),x0,jsn=s((()=>{B(),x0=({eventBus:e,load:t,status:n=Cn(`idle`)})=>{let r=Xt(),i=Cn(null),a=!1,o=!1,s=null,c=e.on(`ui:open:client-modal`,u=>{s={payload:u},n.value=`loading`,!o&&(o=!0,t().then(t=>{!a&&s&&(i.value=(r?r.run(t):t())??null,i.value&&(c(),l(),e.emit(`ui:open:client-modal`,s.payload)))}).catch(e=>{!a&&s&&(n.value=`error`),console.error(`[@scalar/api-client] Could not load the API client modal.`,e)}).finally(()=>{s=null,o=!1,n.value===`loading`&&(n.value=`idle`)}))}),l=e.on(`ui:close:client-modal`,()=>{s=null,n.value=`idle`});return Zt(()=>{a=!0,n.value=`idle`,s=null,c(),l(),i.value?.app.unmount()},!0),i}}));function S0({eventBus:e,store:t,hooks:n,getConfiguredSecuritySchemes:r}){let i=[],a={on:(t,n)=>{let r=e.on(t,n);return i.push(r),r}},o=z(()=>U0t(t.value)),s=({collectionType:e})=>e===`document`?o.value.active():o.value.workspace();return a.on(`workspace:update:active-proxy`,e=>C0(`workspace:update:active-proxy`,o.value.workspace().workspace.updateActiveProxy,n)(e)),a.on(`workspace:update:color-mode`,e=>C0(`workspace:update:color-mode`,o.value.workspace().workspace.updateColorMode,n)(e)),a.on(`workspace:update:theme`,e=>C0(`workspace:update:theme`,o.value.workspace().workspace.updateTheme,n)(e)),a.on(`workspace:update:selected-client`,e=>C0(`workspace:update:selected-client`,o.value.workspace().workspace.updateSelectedClient,n)(e)),a.on(`workspace:update:selected-example`,e=>C0(`workspace:update:selected-example`,o.value.workspace().workspace.updateSelectedExample,n)(e)),a.on(`workspace:update:active-environment`,e=>C0(`workspace:update:active-environment`,o.value.workspace().workspace.updateActiveEnvironment,n)(e)),a.on(`document:update:extension`,e=>C0(`document:update:extension`,o.value.active().document.updateDocumentExtension,n)(e)),a.on(`document:update:icon`,e=>C0(`document:update:icon`,o.value.active().document.updateDocumentIcon,n)(e)),a.on(`document:update:info`,e=>C0(`document:update:info`,o.value.active().document.updateDocumentInfo,n)(e)),a.on(`document:update:watch-mode`,e=>C0(`document:update:watch-mode`,o.value.active().document.updateWatchMode,n)(e)),a.on(`document:create:empty-document`,e=>C0(`document:create:empty-document`,o.value.active().document.createEmptyDocument,n)(e)),a.on(`document:delete:document`,e=>C0(`document:delete:document`,o.value.active().document.deleteDocument,n)(e)),a.on(`environment:upsert:environment`,e=>C0(`environment:upsert:environment`,s(e).environment.upsertEnvironment,n)(e)),a.on(`environment:delete:environment`,e=>C0(`environment:delete:environment`,s(e).environment.deleteEnvironment,n)(e)),a.on(`environment:upsert:environment-variable`,e=>C0(`environment:upsert:environment-variable`,s(e).environment.upsertEnvironmentVariable,n)(e)),a.on(`environment:delete:environment-variable`,e=>C0(`environment:delete:environment-variable`,s(e).environment.deleteEnvironmentVariable,n)(e)),a.on(`cookie:upsert:cookie`,async e=>{await C0(`cookie:upsert:cookie`,s(e).cookie.upsertCookie,n)(e)}),a.on(`cookie:delete:cookie`,async e=>{await C0(`cookie:delete:cookie`,s(e).cookie.deleteCookie,n)(e)}),a.on(`auth:delete:security-scheme`,e=>C0(`auth:delete:security-scheme`,o.value.active().auth.deleteSecurityScheme,n)(e)),a.on(`auth:update:active-index`,e=>C0(`auth:update:active-index`,o.value.active().auth.updateSelectedAuthTab,n)(e)),a.on(`auth:update:security-scheme`,e=>C0(`auth:update:security-scheme`,e=>o.value.active().auth.updateSecurityScheme(e,r?.()),n)(e)),a.on(`auth:update:selected-scopes`,e=>C0(`auth:update:selected-scopes`,o.value.active().auth.updateSelectedScopes,n)(e)),a.on(`auth:upsert:scopes`,e=>C0(`auth:upsert:scopes`,o.value.active().auth.upsertScope,n)(e)),a.on(`auth:delete:scopes`,e=>C0(`auth:delete:scopes`,o.value.active().auth.deleteScope,n)(e)),a.on(`auth:update:selected-security-schemes`,e=>C0(`auth:update:selected-security-schemes`,o.value.active().auth.updateSelectedSecuritySchemes,n)(e)),a.on(`auth:clear:selected-security-schemes`,e=>C0(`auth:clear:selected-security-schemes`,o.value.active().auth.clearSelectedSecuritySchemes,n)(e)),a.on(`auth:update:security-scheme-secrets`,e=>C0(`auth:update:security-scheme-secrets`,o.value.active().auth.updateSecuritySchemeSecrets,n)(e)),a.on(`auth:reset:security-scheme-secret`,e=>C0(`auth:reset:security-scheme-secret`,o.value.active().auth.resetSecuritySchemeSecret,n)(e)),a.on(`auth:clear:security-scheme-secrets`,e=>C0(`auth:clear:security-scheme-secrets`,o.value.active().auth.clearSecuritySchemeSecrets,n)(e)),a.on(`server:initialize:servers`,e=>C0(`server:initialize:servers`,o.value.active().server.initializeServers,n)(e)),a.on(`server:add:server`,e=>C0(`server:add:server`,o.value.active().server.addServer,n)(e)),a.on(`server:update:server`,e=>C0(`server:update:server`,o.value.active().server.updateServer,n)(e)),a.on(`server:delete:server`,e=>C0(`server:delete:server`,o.value.active().server.deleteServer,n)(e)),a.on(`server:clear:servers`,e=>C0(`server:clear:servers`,o.value.active().server.clearServers,n)(e)),a.on(`server:update:variables`,e=>C0(`server:update:variables`,o.value.active().server.updateServerVariables,n)(e)),a.on(`server:update:selected`,e=>C0(`server:update:selected`,o.value.active().server.updateSelectedServer,n)(e)),a.on(`asyncapi-server:update:selected`,e=>C0(`asyncapi-server:update:selected`,o.value.active().server.updateSelectedAsyncApiServer,n)(e)),a.on(`asyncapi-server:update:variables`,e=>C0(`asyncapi-server:update:variables`,o.value.active().server.updateAsyncApiServerVariables,n)(e)),a.on(`operation:create:operation`,e=>C0(`operation:create:operation`,o.value.active().operation.createOperation,n)(e)),a.on(`operation:update:pathMethod`,e=>C0(`operation:update:pathMethod`,o.value.active().operation.updateOperationPathMethod,n)(e)),a.on(`operation:update:meta`,e=>C0(`operation:update:meta`,o.value.active().operation.updateOperationMeta,n)(e)),a.on(`operation:delete:operation`,e=>C0(`operation:delete:operation`,o.value.active().operation.deleteOperation,n)(e)),a.on(`operation:create:draft-example`,e=>C0(`operation:create:draft-example`,o.value.active().operation.createOperationDraftExample,n)(e)),a.on(`operation:delete:example`,e=>C0(`operation:delete:example`,o.value.active().operation.deleteOperationExample,n)(e)),a.on(`operation:rename:example`,e=>C0(`operation:rename:example`,o.value.active().operation.renameOperationExample,n)(e)),a.on(`operation:upsert:parameter`,e=>C0(`operation:upsert:parameter`,o.value.active().operation.upsertOperationParameter,n)(e)),a.on(`operation:update:extra-parameters`,e=>C0(`operation:update:extra-parameters`,o.value.active().operation.updateOperationExtraParameters,n)(e)),a.on(`operation:delete:parameter`,e=>C0(`operation:delete:parameter`,o.value.active().operation.deleteOperationParameter,n)(e)),a.on(`operation:delete-all:parameters`,e=>C0(`operation:delete-all:parameters`,o.value.active().operation.deleteAllOperationParameters,n)(e)),a.on(`operation:update:extension`,e=>C0(`operation:update:extension`,o.value.active().operation.updateOperationExtension,n)(e)),a.on(`operation:update:requestBody:contentType`,e=>C0(`operation:update:requestBody:contentType`,o.value.active().operation.updateOperationRequestBodyContentType,n)(e)),a.on(`operation:update:requestBody:value`,e=>C0(`operation:update:requestBody:value`,o.value.active().operation.updateOperationRequestBodyExample,n)(e)),a.on(`operation:update:requestBody:formValue`,e=>C0(`operation:update:requestBody:formValue`,o.value.active().operation.updateOperationRequestBodyFormValue,n)(e)),a.on(`operation:reload:history`,e=>C0(`operation:reload:history`,o.value.active().operation.reloadOperationHistory,n)(e)),a.on(`tag:create:tag`,e=>C0(`tag:create:tag`,o.value.active().tag.createTag,n)(e)),a.on(`tag:edit:tag`,e=>C0(`tag:edit:tag`,o.value.active().tag.editTag,n)(e)),a.on(`tag:delete:tag`,e=>C0(`tag:delete:tag`,o.value.active().tag.deleteTag,n)(e)),a.on(`tabs:add:tab`,e=>C0(`tabs:add:tab`,o.value.workspace().tabs.addTab,n)(e)),a.on(`tabs:close:tab`,e=>C0(`tabs:close:tab`,o.value.workspace().tabs.closeTab,n)(e)),a.on(`tabs:close:other-tabs`,e=>C0(`tabs:close:other-tabs`,o.value.workspace().tabs.closeOtherTabs,n)(e)),a.on(`tabs:focus:tab`,e=>C0(`tabs:focus:tab`,o.value.workspace().tabs.focusTab,n)(e)),a.on(`tabs:focus:tab-last`,e=>C0(`tabs:focus:tab-last`,o.value.workspace().tabs.focusLastTab,n)(e)),a.on(`tabs:navigate:previous`,e=>C0(`tabs:navigate:previous`,o.value.workspace().tabs.navigatePreviousTab,n)(e)),a.on(`tabs:navigate:next`,e=>C0(`tabs:navigate:next`,o.value.workspace().tabs.navigateNextTab,n)(e)),a.on(`tabs:update:tabs`,e=>C0(`tabs:update:tabs`,o.value.workspace().tabs.updateTabs,n)(e)),a.on(`hooks:on:request:complete`,e=>C0(`hooks:on:request:complete`,o.value.active().operation.addResponseToHistory,n)(e)),()=>i.splice(0).forEach(e=>e())}var C0,w0=s((()=>{B(),W0t(),C0=(e,t,n)=>async r=>{let i=await n[e]?.onBeforeExecute?.(r)??r;return await t(i),await n[e]?.onAfterExecute?.(i),i}})),Msn,Nsn=s((()=>{Kl(),B(),Msn=k({inheritAttrs:!1,__name:`ScalarColorModeToggleIcon`,props:{is:{default:`button`},mode:{default:`light`}},setup(e){let{cx:t}=Gl(),n=z(()=>e.mode===`dark`?`Set light mode`:`Set dark mode`);return(r,i)=>(j(),N(Ar(e.is),oi({"aria-label":n.value,class:`toggle-icon-${e.mode}`,type:e.is===`button`?`button`:void 0},D(t)(`size-3 flex items-center justify-center text-c-1`)),{default:O(()=>[...i[0]||=[P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-ellipse`},[P(`span`,{class:`toggle-icon-moon-mask`})],-1)]]),_:1},16,[`aria-label`,`class`,`type`]))}})})),T0,E0=s((()=>{aS(),Nsn(),T0=iS(Msn,[[`__scopeId`,`data-v-8f507267`]])})),Psn,Fsn,Isn=s((()=>{E0(),Kl(),B(),Psn=[`aria-pressed`],Fsn=k({inheritAttrs:!1,__name:`ScalarColorModeToggleButton`,props:{modelValue:{type:Boolean},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let{cx:t}=Gl(),n=Hr(e,`modelValue`);return(e,r)=>(j(),M(`button`,oi({"aria-pressed":n.value,type:`button`},D(t)(`group/toggle flex h-6 w-[38px] -mx-px items-center py-1.5 -my-1.5 relative outline-none`),{onClick:r[0]||=e=>n.value=!n.value}),[r[1]||=P(`div`,{class:`bg-border mx-px h-3 w-full rounded-xl -outline-offset-1 group-focus-visible/toggle:outline`},null,-1),P(`div`,{class:lt([`left-border bg-b-1 dark:bg-b-1.5 absolute flex size-[23px] items-center justify-center rounded-full border -outline-offset-1 transition-transform duration-300 ease-in-out group-focus-visible/toggle:outline`,{"translate-x-[14px]":n.value}])},[R(T0,{is:`div`,mode:n.value?`dark`:`light`},null,8,[`mode`])],2)],16,Psn))}})})),D0,Lsn=s((()=>{Isn(),D0=Fsn})),O0,Rsn,zsn,Bsn=s((()=>{O0={light:`light-mode`,dark:`dark-mode`},Rsn=(e,t=document.body)=>{t.classList.toggle(O0.dark,e===`dark`),t.classList.toggle(O0.light,e===`light`)},zsn=()=>typeof window>`u`?`light`:typeof window.matchMedia==`function`?window.matchMedia(`(prefers-color-scheme: dark)`)?.matches?`dark`:`light`:`dark`}));function Vsn(e={}){let{initialColorMode:t=`system`,overrideColorMode:n}=e;function r(){k0.value=o.value===`dark`?`light`:`dark`,typeof window<`u`&&window?.localStorage?.setItem(`colorMode`,k0.value)}function i(e){k0.value=e,typeof window<`u`&&window?.localStorage?.setItem(`colorMode`,k0.value)}function a(){return zsn()}let o=z({get:()=>k0.value===`system`?A0.value:k0.value,set:i}),s=z({get:()=>o.value===`dark`,set:e=>i(e?`dark`:`light`)});function c(){if(typeof document>`u`||typeof window>`u`)return;let e=n??(k0.value===`system`?A0.value:k0.value);Rsn(e===`dark`?`dark`:`light`)}let l=typeof window>`u`?`system`:window?.localStorage?.getItem(`colorMode`),u=y(Hsn,l)?l:null;k0.value=n??u??t,dr([k0,A0],c,{immediate:!0});let d=()=>{A0.value=a()},f=E(null);return Ii(()=>{A0.value=a(),typeof window<`u`&&typeof window?.matchMedia==`function`&&(f.value=window.matchMedia(`(prefers-color-scheme: dark)`),f.value?.addEventListener(`change`,d))}),zi(()=>{f.value?.removeEventListener(`change`,d)}),{colorMode:z({get:()=>k0.value,set:i}),darkLightMode:o,isDarkMode:s,toggleColorMode:r,setColorMode:i,getSystemModePreference:a}}var k0,A0,Hsn,Usn=s((()=>{Bsn(),Ce(),B(),k0=E(`dark`),A0=E(`light`),Hsn=_e([ye(`system`),ye(`dark`),ye(`light`)])})),Wsn=s((()=>{Usn()})),Gsn,Ksn=s((()=>{E0(),Lsn(),B(),Wsn(),Gsn=k({__name:`ScalarColorModeToggle`,props:{variant:{default:`switch`}},setup(e){let{isDarkMode:t,toggleColorMode:n,darkLightMode:r}=Vsn(),i=z(()=>t.value?`Set light mode`:`Set dark mode`);return(a,o)=>e.variant===`switch`?(j(),N(D0,{key:0,modelValue:D(t),"onUpdate:modelValue":o[0]||=e=>Sn(t)?t.value=e:null,"aria-label":i.value},null,8,[`modelValue`,`aria-label`])):(j(),N(T0,{key:1,"aria-label":i.value,mode:D(r),onClick:D(n)},null,8,[`aria-label`,`mode`,`onClick`]))}})})),j0,qsn=s((()=>{Ksn(),j0=Gsn})),Jsn=s((()=>{E0(),Lsn(),qsn()})),M0,N0,Ysn,P0,F0,Xsn=s((()=>{M0=`scalar-app`,N0=`headlessui-portal-root`,Ysn=e=>e!==null&&e instanceof HTMLElement,P0=e=>{e&&!e.classList.contains(M0)&&e.classList.add(M0)},F0=()=>{P0(document.getElementById(N0));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{Ysn(e)&&e.id===N0&&P0(e)})));return e.observe(document.body,{childList:!0}),e}})),Zsn=s((()=>{Xsn()})),Qsn,$sn=s((()=>{Kl(),B(),Qsn=k({inheritAttrs:!1,__name:`ScalarSidebar`,setup(e){let{cx:t}=Gl();return(e,n)=>(j(),M(`aside`,ut(ei(D(t)(`flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72`))),[A(e.$slots,`default`)],16))}})})),ecn,tcn=s((()=>{$sn(),ecn=Qsn})),ncn,rcn=s((()=>{Kl(),B(),ncn=k({inheritAttrs:!1,__name:`ScalarSidebarIndent`,props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=z(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=Gl();return(r,i)=>(j(),M(`div`,ut(ei(D(n)(`scalar-sidebar-indent flex justify-center`,{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(j(!0),M(L,null,jr(t.value,(n,r)=>(j(),M(`div`,{key:n,class:`relative w-[var(--scalar-sidebar-indent)]`},[i[0]||=P(`div`,{class:`scalar-sidebar-indent-border w-border bg-sidebar-indent-border absolute inset-y-0 left-2`},null,-1),r===t.value.length-1?(j(),M(`div`,{key:0,class:lt([`w-border absolute inset-y-0 left-2`,e.disabled?``:e.selected?`bg-sidebar-indent-border-active`:`group-hover/button:bg-sidebar-indent-border-hover`])},null,2)):I(``,!0)]))),128))],16))}})})),I0,L0=s((()=>{aS(),rcn(),I0=iS(ncn,[[`__scopeId`,`data-v-b2388a0c`]])})),icn,acn,ocn,scn=s((()=>{hS(),L0(),Kl(),B(),icn={key:0,class:`mr-1 flex h-lh items-center *:size-4`},acn={class:`group/button-label min-w-0 flex-1`},ocn=k({inheritAttrs:!1,__name:`ScalarSidebarButton`,props:{is:{default:`a`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){let t=Ul({base:[`group/button peer/button flex items-stretch rounded p-2`,`font-sidebar text-base/4 text-sidebar-c-2 no-underline wrap-break-word`],variants:{active:{true:`text-sidebar-c-active font-sidebar-active`},disabled:{true:`cursor-auto`},selected:{true:`cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active`}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`},{selected:!1,disabled:!1,active:!0,class:`hover:bg-sidebar-b-hover`}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:n}=Gl();return(r,i)=>(j(),N(Ar(e.is),oi({"aria-current":e.selected?`page`:void 0,type:e.is===`button`?`button`:void 0},D(n)(D(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:O(()=>[A(r.$slots,`indent`,{},()=>[R(I0,{class:`-my-2`,disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,[`disabled`,`indent`,`selected`])]),e.icon||r.$slots.icon?(j(),M(`div`,icn,[A(r.$slots,`icon`,{},()=>[e.icon?(j(),N(D(mS),{key:0,icon:e.icon},null,8,[`icon`])):I(``,!0)])])):I(``,!0),P(`div`,acn,[A(r.$slots,`default`)]),A(r.$slots,`aside`)]),_:3},16,[`aria-current`,`type`]))}})})),R0,z0=s((()=>{scn(),R0=ocn})),ccn,B0,lcn=s((()=>{ccn=`https://scalar.com/`,B0=e=>{let t=new URL(ccn);t.searchParams.set(`utm_source`,`powered-by`),t.searchParams.set(`utm_medium`,`api-reference`);let n=typeof e==`string`?e.trim():``;return n.length&&t.searchParams.set(`utm_campaign`,n),t.toString()}})),ucn,dcn,fcn,pcn,mcn=s((()=>{qsn(),Kl(),B(),lcn(),ucn={class:`flex items-center`},dcn={class:`text-sidebar-c-2 flex min-w-0 flex-1 items-center text-sm`},fcn=[`href`],pcn=k({inheritAttrs:!1,__name:`ScalarSidebarFooter`,setup(e){let{cx:t}=Gl(),n=B0();return(e,r)=>(j(),M(`div`,ut(ei(D(t)(`flex flex-col gap-3 px-3 pb-3 border-sidebar-border`))),[A(e.$slots,`default`),P(`div`,ucn,[P(`div`,dcn,[A(e.$slots,`description`,{},()=>[P(`a`,{class:`no-underline hover:underline`,href:D(n),rel:`noopener`,target:`_blank`},` Powered by Scalar `,8,fcn)])]),A(e.$slots,`toggle`,{},()=>[R(D(j0))])])],16))}})})),hcn,gcn=s((()=>{mcn(),hcn=pcn})),_cn,vcn,ycn=s((()=>{hS(),Kl(),B(),Qs(),_cn={class:`sr-only`},vcn=k({inheritAttrs:!1,__name:`ScalarSidebarGroupToggle`,props:{is:{default:`div`},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=Ul({base:`size-4 flex items-center justify-center transition-transform duration-100`,variants:{open:{true:`rotate-90`}},defaultVariants:{open:!1}}),{cx:n}=Gl();return(r,i)=>(j(),N(Ar(e.is),oi({type:e.is===`button`?`button`:void 0},D(n)(D(t)({open:e.open}))),{default:O(()=>[A(r.$slots,`default`,{open:e.open},()=>[e.icon?(j(),N(D(mS),{key:0,icon:e.icon},null,8,[`icon`])):(j(),N(D(Bs),{key:1,class:`size-3`,weight:`bold`}))]),P(`span`,_cn,[A(r.$slots,`label`,{open:e.open},()=>[F(T(e.open?`Close`:`Open`)+` Group `,1)])])]),_:3},16,[`type`]))}})})),V0,H0=s((()=>{ycn(),V0=vcn})),bcn,xcn,Scn=s((()=>{H0(),Kl(),B(),bcn=[`aria-expanded`],xcn=k({inheritAttrs:!1,__name:`ScalarSidebarGroupToggleButton`,props:{open:{type:Boolean,default:!1},selected:{type:Boolean}},setup(e){let t=Ul({base:[`absolute top-[1lh] right-1 -translate-y-1/2`,`rounded p-1 text-sidebar-c-2`],variants:{selected:{true:`hover:bg-sidebar-b-1 hover:text-sidebar-c-1`,false:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`}},defaultVariants:{selected:!1}}),{cx:n}=Gl();return(r,i)=>(j(),M(`button`,oi({"aria-expanded":e.open,type:`button`},D(n)(D(t)({selected:e.selected}))),[A(r.$slots,`default`,{open:e.open},()=>[R(V0,{open:e.open},Mr({_:2},[r.$slots.label?{name:`label`,fn:O(()=>[A(r.$slots,`label`,{open:e.open})]),key:`0`}:void 0]),1032,[`open`])])],16,bcn))}})})),U0,Ccn=s((()=>{Scn(),U0=xcn})),wcn,Tcn=s((()=>{Kl(),B(),wcn=k({inheritAttrs:!1,__name:`ScalarSidebarGroupToggleSpacer`,setup(e){let{cx:t}=Gl();return(e,n)=>(j(),M(`div`,ut(ei(D(t)(`h-4 w-5`))),null,16))}})})),W0,Ecn=s((()=>{Tcn(),W0=wcn})),G0,K0,q0=s((()=>{B(),G0=Symbol(),K0=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=lr(G0,0);return n?cr(G0,0):t&&r<6?cr(G0,r+1):cr(G0,r),{level:r}}})),Dcn,Ocn=s((()=>{z0(),q0(),Kl(),B(),Dcn=k({inheritAttrs:!1,__name:`ScalarSidebarItem`,props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let t=e,{level:n}=K0(),{cx:r}=Gl();return(i,a)=>(j(),M(`li`,ut(ei(D(r)(`group/item flex flex-col text-base`))),[A(i.$slots,`before`),A(i.$slots,`button`,{level:D(n)},()=>[R(R0,oi(t,{indent:e.indent??D(n)}),Mr({_:2},[i.$slots.default?{name:`default`,fn:O(()=>[A(i.$slots,`default`)]),key:`0`}:void 0,i.$slots.icon?{name:`icon`,fn:O(()=>[A(i.$slots,`icon`)]),key:`1`}:void 0,i.$slots.aside?{name:`aside`,fn:O(()=>[A(i.$slots,`aside`)]),key:`2`}:void 0]),1040,[`indent`])]),A(i.$slots,`after`)],16))}})})),J0,kcn=s((()=>{Ocn(),J0=Dcn})),Acn,jcn=s((()=>{kcn(),B(),Acn=k({__name:`ScalarSidebarLoading`,props:{items:{default:4}},setup(e){return(t,n)=>(j(!0),M(L,null,jr(e.items,e=>(j(),N(J0,{key:e,class:`pointer-events-none`},{default:O(()=>[...n[0]||=[P(`div`,{class:`group/button-loading bg-sidebar-c-2/15 -my-px box-content h-lh w-full animate-pulse rounded-lg py-px`},null,-1)]]),_:1}))),128))}})})),Y0,Mcn=s((()=>{jcn(),Y0=Acn})),Ncn,Pcn,Fcn,Icn=s((()=>{L0(),z0(),H0(),Ccn(),Ecn(),q0(),Mcn(),Kl(),B(),Ncn={class:`group/group-button relative flex flex-col text-base`},Pcn={key:0,class:`group/items flex flex-col gap-px`},Fcn=k({inheritAttrs:!1,__name:`ScalarSidebarGroup`,props:Lr({is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean},loading:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:Lr([`click`,`toggle`],[`update:open`]),setup(e,{emit:t}){let n=t,r=Hr(e,`open`),{level:i}=K0({increment:!0}),{cx:a}=Gl(),o=t=>{n(`click`,t),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=t=>{n(`toggle`,t),!e.controlled&&e.discrete&&(r.value=!r.value)};return(t,n)=>(j(),N(Ar(e.is),ut(ei(D(a)(`group/item flex flex-col gap-px`))),{default:O(()=>[P(`div`,Ncn,[A(t.$slots,`before`,{open:r.value}),A(t.$slots,`button`,{level:D(i),open:r.value},()=>[R(R0,{is:`button`,active:e.active,"aria-expanded":e.discrete?void 0:r.value,disabled:e.disabled,icon:e.icon,indent:D(i),selected:e.selected,onClick:o},Mr({indent:O(()=>[R(I0,{class:`-my-2 mr-0`,indent:D(i),selected:e.selected},null,8,[`indent`,`selected`])]),aside:O(()=>[A(t.$slots,`aside`,{open:r.value}),e.discrete?(j(),N(W0,{key:0})):A(t.$slots,`toggle`,{open:r.value},()=>[R(V0,{class:`text-sidebar-c-2`,open:r.value},null,8,[`open`])],void 0,1)]),default:O(()=>[A(t.$slots,`default`,{open:r.value})]),_:2},[t.$slots.icon?{name:`icon`,fn:O(()=>[A(t.$slots,`icon`,{open:r.value})]),key:`0`}:void 0]),1032,[`active`,`aria-expanded`,`disabled`,`icon`,`indent`,`selected`]),e.discrete?(j(),N(U0,{key:0,open:r.value,selected:e.selected,onClick:s},{default:O(()=>[A(t.$slots,`toggle`,{open:r.value},()=>[R(V0,{open:r.value},{label:O(()=>[F(T(r.value?`Close`:`Open`)+` `,1),A(t.$slots,`default`,{open:r.value})]),_:3},8,[`open`])])]),_:3},8,[`open`,`selected`])):I(``,!0)]),A(t.$slots,`after`,{open:r.value})]),r.value?(j(),M(`ul`,Pcn,[e.loading?(j(),N(Y0,{key:0})):A(t.$slots,`items`,{open:r.value},void 0,void 0,1)])):I(``,!0)]),_:3},16))}})})),Lcn,Rcn=s((()=>{Icn(),Lcn=Fcn})),zcn,Bcn,Vcn=s((()=>{B(),zcn=Symbol(),Bcn=()=>{let e=pn(new Set),t=z(()=>{for(let t of e)if(t())return!0;return!1});return cr(zcn,e),{open:t}}})),Hcn,Ucn=s((()=>{Vcn(),Kl(),B(),Hcn=k({inheritAttrs:!1,__name:`ScalarSidebarItems`,props:{is:{default:`ul`}},setup(e){let{open:t}=Bcn(),{cx:n}=Gl();return(r,i)=>(j(),N(Ar(e.is),ut(ei(D(n)(`group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300`,D(t)?`-translate-x-full`:`translate-x-0`))),{default:O(()=>[A(r.$slots,`default`)]),_:3},16))}})})),Wcn,Gcn=s((()=>{Ucn(),Wcn=Hcn})),Kcn,qcn=s((()=>{L0(),Kl(),B(),Kcn=k({inheritAttrs:!1,__name:`ScalarSidebarSpacer`,props:{indent:{default:0}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),M(`div`,ut(ei(D(t)(`flex shrink-0 px-2 h-1`))),[R(I0,{indent:e.indent},null,8,[`indent`])],16))}})})),X0,Jcn=s((()=>{qcn(),X0=Kcn})),Ycn,Xcn,Zcn,Qcn,$cn,eln=s((()=>{Kl(),B(),Qs(),Ycn={class:`flex-1 text-start leading-none`},Xcn={key:0,class:`text-sidebar-c-2 rounded border px-1.25 py-1 text-xs leading-none font-medium uppercase`},Zcn={class:`sr-only`},Qcn={dir:`ltr`},$cn=k({inheritAttrs:!1,__name:`ScalarSidebarSearchButton`,props:{shortcutLabel:{default:`Keyboard Shortcut:`}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),M(`button`,oi({type:`button`},D(t)(`flex items-center rounded border text-base h-8 gap-1 pl-2 pr-1`,`bg-sidebar-b-search border-sidebar-border-search text-sidebar-c-search`)),[R(D(Ks),{"aria-hidden":`true`,class:`size-4`}),P(`span`,Ycn,[A(n.$slots,`default`,{},()=>[r[0]||=F(`Search...`,-1)])]),n.$slots.shortcut?(j(),M(`span`,Xcn,[P(`span`,Zcn,T(e.shortcutLabel),1),P(`kbd`,Qcn,[A(n.$slots,`shortcut`)])])):I(``,!0)],16))}})})),tln,nln=s((()=>{eln(),tln=$cn})),rln,iln,aln=s((()=>{Aw(),tI(),Kl(),B(),Qs(),rln=[`aria-label`],iln=k({inheritAttrs:!1,__name:`ScalarSidebarSearchInput`,props:Lr({autofocus:{type:Boolean},loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=E(null),n=Hr(e,`modelValue`);function r(){n.value=``,t.value&&t.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=Gl();return Ii(()=>e.autofocus&&t.value?.focus()),(o,s)=>(j(),M(`label`,ut(ei(D(i)(`flex items-center rounded border text-base has-[:focus-visible]:bg-sidebar-b-1 has-[:focus-visible]:outline h-8 gap-1 pl-2 pr-1.5`,`bg-sidebar-b-search border-sidebar-border-search`,n.value?`text-sidebar-c-1`:`text-sidebar-c-search`))),[R(D(Ks),{class:`text-sidebar-c-search size-4`}),or(P(`input`,oi({ref_key:`inputRef`,ref:t,"onUpdate:modelValue":s[0]||=e=>n.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:`Search...`,spellcheck:`false`,type:`search`},D(a)),null,16,rln),[[Ga,n.value]]),e.loader&&e.loader.isActive?(j(),N(D(kw),{key:0,class:`mr-3 self-center`,loader:e.loader,size:`md`},null,8,[`loader`])):n.value?(j(),N(D(eI),{key:1,class:`size-4 p-px`,icon:D(Zs),label:`Clear Search`,weight:`bold`,onClick:Ka(r,[`stop`,`prevent`])},null,8,[`icon`])):I(``,!0)],16))}})})),oln,sln=s((()=>{aln(),oln=iln})),cln,lln,uln=s((()=>{z0(),q0(),Mcn(),Jcn(),Kl(),B(),cln={class:`flex flex-col gap-px`},lln=k({inheritAttrs:!1,__name:`ScalarSidebarSection`,props:{is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},loading:{type:Boolean}},setup(e){let{level:t}=K0({increment:!1}),{cx:n}=Gl();return(r,i)=>(j(),N(Ar(e.is),ut(ei(D(n)(`group/item group/sidebar-section contents`))),{default:O(()=>[R(X0,{class:`group/spacer-before h-3`,indent:D(t)},null,8,[`indent`]),r.$slots.default?(j(),N(R0,{key:0,is:`div`,class:`py-1.75 text-sm/4 font-bold`,disabled:``,icon:e.icon,indent:D(t)},{default:O(()=>[A(r.$slots,`default`)]),_:3},8,[`icon`,`indent`])):I(``,!0),P(`ul`,cln,[e.loading?(j(),N(Y0,{key:0})):A(r.$slots,`items`,{},void 0,void 0,1)]),R(X0,{class:`group/spacer-after h-3`,indent:D(t)},null,8,[`indent`])]),_:3},16))}})})),Z0,dln=s((()=>{uln(),Z0=lln})),Q0=s((()=>{tcn(),L0(),z0(),gcn(),H0(),Ccn(),Ecn(),kcn(),Rcn(),Gcn(),nln(),sln(),dln()}));jsn(),w0(),Jsn(),Zsn(),Q0(),h_(),xQt();var fln=(e,t={})=>{let{prefix:n=``,cache:r=new WeakMap}=t,i=e=>({$ref:`#${e??``}`});if(typeof e!=`object`||!e)return e;let a=n;r.set(e,a);let o=Array.isArray(e)?Array(e.length):{},s=new KJ;for(s.enqueue({node:e,result:o,path:a});!s.isEmpty();){let e=s.dequeue();if(!e)continue;let{node:t,result:n,path:a}=e;if(Array.isArray(t)){let e=t,o=n;for(let t=0;t<e.length;t++){if(!(t in e))continue;let n=e[t],c=`${a}/${t}`;if(typeof n!=`object`||!n){o[t]=n;continue}let l=r.get(n);if(l!==void 0){o[t]=i(l);continue}r.set(n,c);let u=Array.isArray(n)?Array(n.length):{};o[t]=u,s.enqueue({node:n,result:u,path:c})}continue}let o=n,c=Object.entries(t);for(let[e,t]of c){let n=`${a}/${m_(e)}`;if(typeof t!=`object`||!t){o[e]=t;continue}let c=r.get(t);if(c!==void 0){o[e]=i(c);continue}r.set(t,n);let l=Array.isArray(t)?Array(t.length):{};o[e]=l,s.enqueue({node:t,result:l,path:n})}}return o},pln,mln=s((()=>{B(),uJ(),nc(),pln=k({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=z(()=>lJ(String(t.method||``))),r=z(()=>{if(typeof t.method!=`string`||!t.method.trim())return`get`;let e=t.method.trim();return tc(e.toLowerCase())?e.toLowerCase():e});return(t,i)=>(j(),N(Ar(e.as??`span`),{class:lt({uppercase:D(tc)(r.value)}),style:ct({[e.property||`color`]:n.value.colorVar})},{default:O(()=>[A(t.$slots,`default`),F(` `+T(e.short?n.value.short:r.value),1)]),_:3},8,[`class`,`style`]))}})})),$0,hln=s((()=>{mln(),$0=pln})),gln,e2,t2=s((()=>{gln=new Set([`document`,`operation`,`example`,`tag`,`webhook`]),e2=(e,t,n)=>n&&t.length===1&&t[0]?.type===`example`&&t[0]?.name==="default"?[]:e===`reference`?t.filter(e=>e.type===`asyncapi-message`?!1:e.type===`asyncapi-channel`?e.children?.some(e=>e.type===`asyncapi-operation`)??!1:!0):t.filter(e=>gln.has(e.type))}));function _ln(e){let{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:i=!0,parentIds:a=[],id:o,onDragStart:s,onDragEnd:c}=e,l=z(()=>a.at(-1)??null),u=e=>typeof i==`function`?i(n2.value,{id:o,parentId:l.value,offset:e}):wn(i),d=e=>{if(!wn(r)||!e.dataTransfer||!(e.target instanceof HTMLElement))return;e.target.setAttribute(`data-dragging`,`true`),e.dataTransfer.dropEffect=`move`,e.dataTransfer.effectAllowed=`move`;let t={id:o,parentId:l.value};n2.value=t,s?.(t)},f=vln(e=>{if(!n2.value||n2.value.id===o||a.includes(n2.value?.id??``))return;let r=r2.value?.offset,i=e.target.offsetHeight,s=n*i,c=t*i,d=null;e.offsetY<=0&&r&&r!==`after`?d=r:e.offsetY<=s?d=`before`:e.offsetY>=c?d=`after`:e.offsetY>s&&e.offsetY<c&&(d=`into`),u(d)&&(r2.value={id:o,parentId:l.value,offset:d})},25),p=()=>{if(!r2.value||!n2.value)return;let e={...n2.value},t={...r2.value};n2.value=null,r2.value=null,document.querySelectorAll(`[data-dragging]`).forEach(e=>e.removeAttribute(`data-dragging`)),e.id!==t.id&&c?.(e,t)},m=z(()=>{let e=o===r2.value?.id?r2.value.offset:void 0;return e?yln({position:e}):``});return{draggableAttrs:z(()=>({class:m.value||void 0,draggable:wn(r)?!0:void 0})),draggableEvents:{dragend:p,dragover:e=>{e.preventDefault(),e.stopPropagation(),f(e)},dragstart:e=>{e.stopPropagation(),d(e)}},draggingItem:n2,hoveredItem:r2}}var vln,yln,n2,r2,bln=s((()=>{B(),Kl(),vln=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},yln=Ul({base:`relative after:absolute after:inset-x-0 after:block after:bg-blue after:opacity-15 after:pointer-events-none after:rounded`,variants:{position:{before:`after:-top-0.5 after:h-0.75`,after:`after:-bottom-0.5 after:h-0.75`,into:`after:inset-0`}}}),n2=E(null),r2=E(null)})),i2,xln=s((()=>{i2=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}})),Sln,Cln,wln=s((()=>{hln(),B(),uJ(),Qs(),Sln={class:`sr-only`},Cln=k({__name:`SidebarHttpBadge`,props:{method:{},active:{type:Boolean},label:{},webhook:{type:Boolean}},setup(e){return(t,n)=>(j(),N($0,{class:lt([`sidebar-heading-type`,`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:`--method-color`,short:``},{default:O(()=>[P(`span`,Sln,T(e.label??`HTTP Method`)+`:\xA0`,1),A(t.$slots,`default`,{},()=>[e.webhook?(j(),N(D(Xs),{key:0,style:ct({color:D(lJ)(e.method).colorVar}),weight:`bold`},null,8,[`style`])):I(``,!0)],!0)]),_:3},8,[`class`,`method`]))}})})),a2,Tln=s((()=>{xln(),wln(),a2=i2(Cln,[[`__scopeId`,`data-v-5edae08d`]])}));function Eln(e,t){return j(),M(`div`,Oln,[A(e.$slots,`default`)])}var Dln,Oln,o2,kln=s((()=>{xln(),B(),Dln={},Oln={class:`absolute top-[1lh] right-0.75 flex -translate-y-1/2 opacity-0 peer-hover/button:opacity-100 peer-focus-visible/button:opacity-100 focus-within:opacity-100 hover:opacity-100 has-[&[aria-expanded=true]]:opacity-100`},o2=i2(Dln,[[`render`,Eln]])})),s2,Aln=s((()=>{s2=e=>`children`in e&&Array.isArray(e.children)&&e.children.length>0})),jln,Mln=s((()=>{Aln(),jln=(e,t,n,r)=>s2(t)?r&&t.type===`operation`&&t.children?.length===1&&t.children[0]?.type===`example`&&t.children[0]?.name==="default"?!1:e===`client`||e===`reference`&&t.type!==`operation`&&t.type!==`webhook`&&t.type!==`asyncapi-operation`:e===`client`&&n?t.type===`document`||t.type===`tag`:!1})),Nln,Pln=s((()=>{B(),oH(),Nln=k({__name:`SidebarItemLabel`,props:{item:{},operationTitleSource:{}},setup(e){return(t,n)=>e.item.type===`model`||e.item.type===`example`?(j(),N(D(aH),{key:0,preset:`property`,text:e.item.title},null,8,[`text`])):(j(),N(D(aH),{key:1,text:e.operationTitleSource===`path`&&`path`in e.item?e.item.path:e.item.title},null,8,[`text`]))}})})),c2,Fln=s((()=>{Pln(),c2=Nln})),l2,u2=s((()=>{l2=e=>e.button===0&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey})),d2,Iln,Lln=s((()=>{d2=Object.defineProperty,Iln=(e,t)=>{let n={};for(var r in e)d2(n,r,{get:e[r],enumerable:!0});return t||d2(n,Symbol.toStringTag,{value:`Module`}),n}})),Rln=l({default:()=>m2,interface_content_folder_exports:()=>p2,render:()=>f2});function f2(e,t){return j(),M(`svg`,zln,[...t[0]||=[P(`path`,{d:`M216 72h-85.33l-27.74-20.8a16.12 16.12 0 0 0-9.6-3.2H40a16 16 0 0 0-16 16v136a16 16 0 0 0 16 16h176.89A15.13 15.13 0 0 0 232 200.89V88a16 16 0 0 0-16-16m0 128H40V64h53.33l29.87 22.4A8 8 0 0 0 128 88h88Z`},null,-1)]])}var p2,zln,m2,Bln=s((()=>{Lln(),B(),p2=Iln({default:()=>m2,render:()=>f2}),zln={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},m2={render:f2}})),Vln=l({default:()=>Wln,render:()=>Hln});function Hln(e,t){return j(),M(`svg`,Uln,[...t[0]||=[P(`path`,{d:`m246 98.73-56-64a8 8 0 0 0-6-2.73H72a8 8 0 0 0-6 2.73l-56 64a8 8 0 0 0 .17 10.73l112 120a8 8 0 0 0 11.7 0l112-120a8 8 0 0 0 .13-10.73M222.37 96H180l-36-48h36.37ZM74.58 112l30.13 75.33L34.41 112Zm89.6 0L128 202.46 91.82 112ZM96 96l32-42.67L160 96Zm85.42 16h40.17l-70.3 75.33ZM75.63 48H112L76 96H33.63Z`},null,-1)]])}var Uln,Wln,Gln=s((()=>{B(),Uln={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Wln={render:Hln}})),Kln=l({default:()=>Yln,render:()=>qln});function qln(e,t){return j(),M(`svg`,Jln,[...t[0]||=[P(`path`,{d:`m223.68 66.15-88-48.15a15.88 15.88 0 0 0-15.36 0l-88 48.17a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03M216 175.82 128 224l-88-48.18V80.18L128 32l88 48.17Z`},null,-1)]])}var Jln,Yln,Xln=s((()=>{B(),Jln={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Yln={render:qln}})),Zln=l({default:()=>eun,render:()=>Qln});function Qln(e,t){return j(),M(`svg`,$ln,[...t[0]||=[P(`path`,{d:`M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88`},null,-1)]])}var $ln,eun,tun=s((()=>{B(),$ln={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},eun={render:Qln}})),nun=l({default:()=>aun,render:()=>run});function run(e,t){return j(),M(`svg`,iun,[...t[0]||=[P(`path`,{d:`M208 96a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v8H96v-8a16 16 0 0 0-16-16H48a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h8v64h-8a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-8h64v8a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-8V96Zm-32-48h32v32h-32ZM48 48h32v15.9a.5.5 0 0 0 0 .2V80H48Zm32 160H48v-32h32v15.9a.5.5 0 0 0 0 .2zm128 0h-32v-32h32Zm-24-48h-8a16 16 0 0 0-16 16v8H96v-8a16 16 0 0 0-16-16h-8V96h8a16 16 0 0 0 16-16v-8h64v8a16 16 0 0 0 16 16h8Z`},null,-1)]])}var iun,aun,oun=s((()=>{B(),iun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},aun={render:run}})),sun=l({default:()=>uun,render:()=>cun});function cun(e,t){return j(),M(`svg`,lun,[...t[0]||=[P(`path`,{d:`M208 40H48a16 16 0 0 0-16 16v56c0 52.72 25.52 84.67 46.93 102.19 23.06 18.86 46 25.27 47 25.53a8 8 0 0 0 4.2 0c1-.26 23.91-6.67 47-25.53C198.48 196.67 224 164.72 224 112V56a16 16 0 0 0-16-16m0 16v56c0 2.71-.08 5.37-.23 8H136V56ZM48 56h72v64H48.23c-.15-2.63-.23-5.29-.23-8Zm2.06 80H120v84.55a131 131 0 0 1-30.93-18.74c-21.15-17.3-34.2-39.37-38.99-65.81Zm117.34 65.42a131.3 131.3 0 0 1-31.4 19.11V136h69.91c-4.75 26.24-17.64 48.18-38.51 65.42`},null,-1)]])}var lun,uun,dun=s((()=>{B(),lun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},uun={render:cun}})),fun=l({default:()=>hun,render:()=>pun});function pun(e,t){return j(),M(`svg`,mun,[...t[0]||=[P(`path`,{d:`M216 64h-68.69l34.35-34.34a8 8 0 1 0-11.32-11.32L128 60.69 85.66 18.34a8 8 0 0 0-11.32 11.32L108.69 64H40a16 16 0 0 0-16 16v120a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16M40 80h104v120H40Zm176 120h-56V80h56zm-16-84a12 12 0 1 1-12-12 12 12 0 0 1 12 12m0 48a12 12 0 1 1-12-12 12 12 0 0 1 12 12`},null,-1)]])}var mun,hun,gun=s((()=>{B(),mun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},hun={render:pun}})),_un=l({default:()=>bun,render:()=>vun});function vun(e,t){return j(),M(`svg`,yun,[...t[0]||=[P(`path`,{d:`M224 72h-16v-8a24 24 0 0 0-24-24H40a24 24 0 0 0-24 24v96a24 24 0 0 0 24 24h112v8a24 24 0 0 0 24 24h48a24 24 0 0 0 24-24V96a24 24 0 0 0-24-24M40 168a8 8 0 0 1-8-8V64a8 8 0 0 1 8-8h144a8 8 0 0 1 8 8v8h-16a24 24 0 0 0-24 24v72Zm192 24a8 8 0 0 1-8 8h-48a8 8 0 0 1-8-8V96a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8Zm-96 16a8 8 0 0 1-8 8H88a8 8 0 0 1 0-16h40a8 8 0 0 1 8 8m80-96a8 8 0 0 1-8 8h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 8 8`},null,-1)]])}var yun,bun,xun=s((()=>{B(),yun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},bun={render:vun}})),Sun=l({default:()=>Tun,render:()=>Cun});function Cun(e,t){return j(),M(`svg`,wun,[...t[0]||=[P(`path`,{d:`M232 168h-8V72a24 24 0 0 0-24-24H56a24 24 0 0 0-24 24v96h-8a8 8 0 0 0-8 8v16a24 24 0 0 0 24 24h176a24 24 0 0 0 24-24v-16a8 8 0 0 0-8-8M48 72a8 8 0 0 1 8-8h144a8 8 0 0 1 8 8v96H48Zm176 120a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8v-8h192ZM152 88a8 8 0 0 1-8 8h-32a8 8 0 0 1 0-16h32a8 8 0 0 1 8 8`},null,-1)]])}var wun,Tun,Eun=s((()=>{B(),wun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Tun={render:Cun}})),Dun=l({default:()=>Aun,render:()=>Oun});function Oun(e,t){return j(),M(`svg`,kun,[...t[0]||=[P(`path`,{d:`M176 148a12 12 0 1 1-12-12 12 12 0 0 1 12 12m-84-12a12 12 0 1 0 12 12 12 12 0 0 0-12-12m148 24v24a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-22.87a113.38 113.38 0 0 1 35.4-82.41L26.34 53.66a8 8 0 0 1 11.32-11.32L63.82 68.5a111.43 111.43 0 0 1 128.55-.19l26-26a8 8 0 0 1 11.32 11.32L204.82 78.5c.75.71 1.5 1.43 2.24 2.17A111.25 111.25 0 0 1 240 160m-16 0a96 96 0 0 0-96-96h-.34C74.91 64.18 32 107.75 32 161.13V184h192Z`},null,-1)]])}var kun,Aun,jun=s((()=>{B(),kun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Aun={render:Oun}})),Mun=l({default:()=>Fun,render:()=>Nun});function Nun(e,t){return j(),M(`svg`,Pun,[...t[0]||=[P(`path`,{d:`M168 72v128a8 8 0 0 1-16 0V72a8 8 0 0 1 16 0m32-48a8 8 0 0 0-8 8v168a8 8 0 0 0 16 0V32a8 8 0 0 0-8-8m-80 80a8 8 0 0 0-8 8v88a8 8 0 0 0 16 0v-88a8 8 0 0 0-8-8m-40 40a8 8 0 0 0-8 8v48a8 8 0 0 0 16 0v-48a8 8 0 0 0-8-8m-40 40a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-8a8 8 0 0 0-8-8`},null,-1)]])}var Pun,Fun,Iun=s((()=>{B(),Pun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Fun={render:Nun}})),Lun=l({default:()=>Bun,render:()=>Run});function Run(e,t){return j(),M(`svg`,zun,[...t[0]||=[P(`path`,{d:`m64.34 196.07-9.45 16a8 8 0 1 1-13.78-8.14l9.46-16a8 8 0 1 1 13.77 8.14M232 152h-47.8l-30.73-52a8 8 0 1 0-13.77 8.14l61.41 103.93a8 8 0 0 0 13.78-8.14L193.66 168H232a8 8 0 0 0 0-16m-89.53 0H90.38l68.51-115.93a8 8 0 0 0-13.78-8.14L128 56.89l-17.11-29a8 8 0 1 0-13.78 8.14l21.6 36.55L71.8 152H24a8 8 0 0 0 0 16h118.47a8 8 0 1 0 0-16`},null,-1)]])}var zun,Bun,Vun=s((()=>{B(),zun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Bun={render:Run}})),Hun=l({default:()=>Gun,render:()=>Uun});function Uun(e,t){return j(),M(`svg`,Wun,[...t[0]||=[P(`path`,{d:`M180 144h-20v-32h20a36 36 0 1 0-36-36v20h-32V76a36 36 0 1 0-36 36h20v32H76a36 36 0 1 0 36 36v-20h32v20a36 36 0 1 0 36-36m-20-68a20 20 0 1 1 20 20h-20ZM56 76a20 20 0 0 1 40 0v20H76a20 20 0 0 1-20-20m40 104a20 20 0 1 1-20-20h20Zm16-68h32v32h-32Zm68 88a20 20 0 0 1-20-20v-20h20a20 20 0 0 1 0 40`},null,-1)]])}var Wun,Gun,Kun=s((()=>{B(),Wun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Gun={render:Uun}})),qun=l({default:()=>Xun,render:()=>Jun});function Jun(e,t){return j(),M(`svg`,Yun,[...t[0]||=[P(`path`,{d:`M237.33 106.21 61.41 41l-.16-.05a16 16 0 0 0-20.35 20.3 1 1 0 0 0 .05.16l65.26 175.92A15.77 15.77 0 0 0 121.28 248h.3a15.77 15.77 0 0 0 15-11.29l.06-.2 21.84-78 78-21.84.2-.06a16 16 0 0 0 .62-30.38Zm-87.49 38.09a8 8 0 0 0-5.54 5.54l-23 82.16-.06-.17L56 56l175.82 65.22.16.06Z`},null,-1)]])}var Yun,Xun,Zun=s((()=>{B(),Yun={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Xun={render:Jun}})),Qun=l({default:()=>tdn,render:()=>$un});function $un(e,t){return j(),M(`svg`,edn,[...t[0]||=[P(`path`,{d:`M176 16H80a24 24 0 0 0-24 24v176a24 24 0 0 0 24 24h96a24 24 0 0 0 24-24V40a24 24 0 0 0-24-24M72 64h112v128H72Zm8-32h96a8 8 0 0 1 8 8v8H72v-8a8 8 0 0 1 8-8m96 192H80a8 8 0 0 1-8-8v-8h112v8a8 8 0 0 1-8 8`},null,-1)]])}var edn,tdn,ndn=s((()=>{B(),edn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},tdn={render:$un}})),rdn=l({default:()=>odn,render:()=>idn});function idn(e,t){return j(),M(`svg`,adn,[...t[0]||=[P(`path`,{d:`M237.66 18.34a8 8 0 0 0-11.32 0l-52.4 52.41-5.37-5.38a32.05 32.05 0 0 0-45.26 0L100 88.69l-6.34-6.35a8 8 0 0 0-11.32 11.32l6.35 6.34-23.32 23.31a32 32 0 0 0 0 45.26l5.38 5.37-52.41 52.4a8 8 0 0 0 11.32 11.32l52.4-52.41 5.37 5.38a32 32 0 0 0 45.26 0L156 167.31l6.34 6.35a8 8 0 0 0 11.32-11.32l-6.35-6.34 23.32-23.31a32 32 0 0 0 0-45.26l-5.38-5.37 52.41-52.4a8 8 0 0 0 0-11.32m-116.29 161a16 16 0 0 1-22.62 0l-22.06-22.09a16 16 0 0 1 0-22.62L100 111.31 144.69 156Zm57.94-57.94L156 144.69 111.31 100l23.32-23.31a16 16 0 0 1 22.62 0l22.06 22a16 16 0 0 1 0 22.68ZM88.57 35a8 8 0 0 1 14.86-6l8 20a8 8 0 0 1-14.86 6Zm-64 58A8 8 0 0 1 35 88.57l20 8a8 8 0 0 1-6 14.86l-20-8A8 8 0 0 1 24.57 93m206.86 70a8 8 0 0 1-10.4 4.46l-20-8a8 8 0 1 1 5.97-14.89l20 8a8 8 0 0 1 4.43 10.43m-64 58.06a8 8 0 0 1-14.86 5.94l-8-20a8 8 0 0 1 14.86-6Z`},null,-1)]])}var adn,odn,sdn=s((()=>{B(),adn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},odn={render:idn}})),cdn=l({default:()=>ddn,render:()=>ldn});function ldn(e,t){return j(),M(`svg`,udn,[...t[0]||=[P(`path`,{d:`M128 24a104 104 0 1 0 104 104A104.12 104.12 0 0 0 128 24m88 104a87.6 87.6 0 0 1-3.33 24h-38.51a157.4 157.4 0 0 0 0-48h38.51a87.6 87.6 0 0 1 3.33 24m-114 40h52a115.1 115.1 0 0 1-26 45 115.3 115.3 0 0 1-26-45m-3.9-16a140.8 140.8 0 0 1 0-48h59.88a140.8 140.8 0 0 1 0 48ZM40 128a87.6 87.6 0 0 1 3.33-24h38.51a157.4 157.4 0 0 0 0 48H43.33A87.6 87.6 0 0 1 40 128m114-40h-52a115.1 115.1 0 0 1 26-45 115.3 115.3 0 0 1 26 45m52.33 0h-35.62a135.3 135.3 0 0 0-22.3-45.6A88.29 88.29 0 0 1 206.37 88Zm-98.74-45.6A135.3 135.3 0 0 0 85.29 88H49.63a88.29 88.29 0 0 1 57.96-45.6M49.63 168h35.66a135.3 135.3 0 0 0 22.3 45.6A88.29 88.29 0 0 1 49.63 168m98.78 45.6a135.3 135.3 0 0 0 22.3-45.6h35.66a88.29 88.29 0 0 1-57.96 45.6`},null,-1)]])}var udn,ddn,fdn=s((()=>{B(),udn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ddn={render:ldn}})),pdn=l({default:()=>gdn,render:()=>mdn});function mdn(e,t){return j(),M(`svg`,hdn,[...t[0]||=[P(`path`,{d:`M140 204a12 12 0 1 1-12-12 12 12 0 0 1 12 12m97.08-117a172 172 0 0 0-218.16 0 8 8 0 0 0 10.16 12.37 156 156 0 0 1 197.84 0A8 8 0 0 0 237.08 87M205 122.77a124 124 0 0 0-153.94 0A8 8 0 0 0 61 135.31a108 108 0 0 1 134.06 0 8 8 0 0 0 11.24-1.3 8 8 0 0 0-1.3-11.24m-32.26 35.76a76.05 76.05 0 0 0-89.42 0 8 8 0 0 0 9.42 12.94 60 60 0 0 1 70.58 0 8 8 0 1 0 9.42-12.94`},null,-1)]])}var hdn,gdn,_dn=s((()=>{B(),hdn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},gdn={render:mdn}})),vdn=l({default:()=>xdn,render:()=>ydn});function ydn(e,t){return j(),M(`svg`,bdn,[...t[0]||=[P(`path`,{d:`M128 88a40 40 0 1 0 40 40 40 40 0 0 0-40-40m0 64a24 24 0 1 1 24-24 24 24 0 0 1-24 24m73.71 7.14a80 80 0 0 1-14.08 22.2 8 8 0 0 1-11.92-10.67 63.95 63.95 0 0 0 0-85.33 8 8 0 1 1 11.92-10.67 80.08 80.08 0 0 1 14.08 84.47M69 103.09a64 64 0 0 0 11.26 67.58 8 8 0 0 1-11.92 10.67 79.93 79.93 0 0 1 0-106.67 8 8 0 1 1 11.95 10.67A63.8 63.8 0 0 0 69 103.09M248 128a119.58 119.58 0 0 1-34.29 84 8 8 0 1 1-11.42-11.2 103.9 103.9 0 0 0 0-145.56A8 8 0 1 1 213.71 44 119.58 119.58 0 0 1 248 128M53.71 200.78A8 8 0 1 1 42.29 212a119.87 119.87 0 0 1 0-168 8 8 0 1 1 11.42 11.2 103.9 103.9 0 0 0 0 145.56Z`},null,-1)]])}var bdn,xdn,Sdn=s((()=>{B(),bdn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},xdn={render:ydn}})),Cdn=l({default:()=>Edn,render:()=>wdn});function wdn(e,t){return j(),M(`svg`,Tdn,[...t[0]||=[P(`path`,{d:`M221.69 199.77 160 96.92V40h8a8 8 0 0 0 0-16H88a8 8 0 0 0 0 16h8v56.92L34.31 199.77A16 16 0 0 0 48 224h160a16 16 0 0 0 13.72-24.23Zm-110.83-96.52a7.93 7.93 0 0 0 1.14-4.11V40h32v59.14a7.93 7.93 0 0 0 1.14 4.11L183.36 167c-12 2.37-29.07 1.37-51.75-10.11-15.91-8.05-31.05-12.32-45.22-12.81ZM48 208l28.54-47.58c14.25-1.74 30.31 1.85 47.82 10.72 19 9.61 35 12.88 48 12.88a69.9 69.9 0 0 0 19.55-2.7L208 208Z`},null,-1)]])}var Tdn,Edn,Ddn=s((()=>{B(),Tdn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Edn={render:wdn}})),Odn=l({default:()=>jdn,render:()=>kdn});function kdn(e,t){return j(),M(`svg`,Adn,[...t[0]||=[P(`path`,{d:`M215.79 118.17a8 8 0 0 0-5-5.66L153.18 90.9l14.66-73.33a8 8 0 0 0-13.69-7l-112 120a8 8 0 0 0 3 13l57.63 21.61-14.62 73.25a8 8 0 0 0 13.69 7l112-120a8 8 0 0 0 1.94-7.26M109.37 214l10.47-52.38a8 8 0 0 0-5-9.06L62 132.71l84.62-90.66-10.46 52.38a8 8 0 0 0 5 9.06l52.8 19.8Z`},null,-1)]])}var Adn,jdn,Mdn=s((()=>{B(),Adn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},jdn={render:kdn}})),Ndn=l({default:()=>Idn,render:()=>Pdn});function Pdn(e,t){return j(),M(`svg`,Fdn,[...t[0]||=[P(`path`,{d:`M210.35 129.36c-.81-.47-1.7-.92-2.62-1.36.92-.44 1.81-.89 2.62-1.36a40 40 0 1 0-40-69.28c-.81.47-1.65 1-2.48 1.59.08-1 .13-2 .13-3a40 40 0 0 0-80 0c0 .94 0 1.94.13 3-.83-.57-1.67-1.12-2.48-1.59a40 40 0 1 0-40 69.28c.81.47 1.7.92 2.62 1.36-.92.44-1.81.89-2.62 1.36a40 40 0 1 0 40 69.28c.81-.47 1.65-1 2.48-1.59-.08 1-.13 2-.13 2.95a40 40 0 0 0 80 0c0-.94-.05-1.94-.13-2.95.83.57 1.67 1.12 2.48 1.59a39.8 39.8 0 0 0 19.94 5.36 40.4 40.4 0 0 0 10.42-1.38 40 40 0 0 0 9.64-73.28ZM104 128a24 24 0 1 1 24 24 24 24 0 0 1-24-24m74.35-56.79a24 24 0 1 1 24 41.57c-6.27 3.63-18.61 6.13-35.16 7.19a40 40 0 0 0-12.66-21.87c9.2-13.82 17.55-23.26 23.82-26.89M128 32a24 24 0 0 1 24 24c0 7.24-4 19.19-11.36 34.06a39.8 39.8 0 0 0-25.28 0C108 75.19 104 63.24 104 56a24 24 0 0 1 24-24M44.86 80a24 24 0 0 1 32.79-8.79c6.27 3.63 14.62 13.07 23.82 26.89A40 40 0 0 0 88.81 120c-16.55-1.06-28.89-3.56-35.16-7.18A24 24 0 0 1 44.86 80m32.79 104.79a24 24 0 1 1-24-41.57c6.27-3.63 18.61-6.13 35.16-7.19a40 40 0 0 0 12.66 21.87c-9.2 13.82-17.55 23.26-23.82 26.89M128 224a24 24 0 0 1-24-24c0-7.24 4-19.19 11.36-34.06a39.8 39.8 0 0 0 25.28 0C148 180.81 152 192.76 152 200a24 24 0 0 1-24 24m83.14-48a24 24 0 0 1-32.79 8.79c-6.27-3.63-14.62-13.07-23.82-26.89a40 40 0 0 0 12.66-21.9c16.55 1.06 28.89 3.56 35.16 7.18a24 24 0 0 1 8.79 32.82`},null,-1)]])}var Fdn,Idn,Ldn=s((()=>{B(),Fdn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Idn={render:Pdn}})),Rdn=l({default:()=>Vdn,render:()=>zdn});function zdn(e,t){return j(),M(`svg`,Bdn,[...t[0]||=[P(`path`,{d:`M128 72a8 8 0 0 1 8 8v56a8 8 0 0 1-16 0V80a8 8 0 0 1 8-8m-12 100a12 12 0 1 0 12-12 12 12 0 0 0-12 12m124-44a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128m-16 0-96-96-96 96 96 96Z`},null,-1)]])}var Bdn,Vdn,Hdn=s((()=>{B(),Bdn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Vdn={render:zdn}})),Udn=l({default:()=>Kdn,render:()=>Wdn});function Wdn(e,t){return j(),M(`svg`,Gdn,[...t[0]||=[P(`path`,{d:`M236.8 188.09 149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19 23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2 7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12 12 12 0 0 1 12 12`},null,-1)]])}var Gdn,Kdn,qdn=s((()=>{B(),Gdn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Kdn={render:Wdn}})),Jdn=l({default:()=>Zdn,render:()=>Ydn});function Ydn(e,t){return j(),M(`svg`,Xdn,[...t[0]||=[P(`path`,{d:`M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88m16-40a8 8 0 0 1-8 8 16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16 16 16 0 0 1 16 16v40a8 8 0 0 1 8 8m-32-92a12 12 0 1 1 12 12 12 12 0 0 1-12-12`},null,-1)]])}var Xdn,Zdn,Qdn=s((()=>{B(),Xdn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Zdn={render:Ydn}})),$dn=l({default:()=>nfn,render:()=>efn});function efn(e,t){return j(),M(`svg`,tfn,[...t[0]||=[P(`path`,{d:`M248 80a28 28 0 1 0-51.12 15.77l-26.79 33L146 73.4a28 28 0 1 0-36.06 0l-24.03 55.34-26.79-33a28 28 0 1 0-26.6 12L47 194.63A16 16 0 0 0 62.78 208h130.44A16 16 0 0 0 209 194.63l14.47-86.85A28 28 0 0 0 248 80M128 40a12 12 0 1 1-12 12 12 12 0 0 1 12-12M24 80a12 12 0 1 1 12 12 12 12 0 0 1-12-12m169.22 112H62.78l-13.92-83.48L81.79 149a8 8 0 0 0 6.21 3 8 8 0 0 0 1.08-.07 8 8 0 0 0 6.26-4.74l29.3-67.4a27 27 0 0 0 6.72 0l29.3 67.4a8 8 0 0 0 6.26 4.74 8 8 0 0 0 1.08.07 8 8 0 0 0 6.21-3l32.93-40.52ZM220 92a12 12 0 1 1 12-12 12 12 0 0 1-12 12`},null,-1)]])}var tfn,nfn,rfn=s((()=>{B(),tfn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},nfn={render:efn}})),ifn=l({default:()=>sfn,render:()=>afn});function afn(e,t){return j(),M(`svg`,ofn,[...t[0]||=[P(`path`,{d:`M184 32H72a16 16 0 0 0-16 16v176a8 8 0 0 0 12.24 6.78L128 193.43l59.77 37.35A8 8 0 0 0 200 224V48a16 16 0 0 0-16-16m0 177.57-51.77-32.35a8 8 0 0 0-8.48 0L72 209.57V48h112Z`},null,-1)]])}var ofn,sfn,cfn=s((()=>{B(),ofn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},sfn={render:afn}})),lfn=l({default:()=>ffn,render:()=>ufn});function ufn(e,t){return j(),M(`svg`,dfn,[...t[0]||=[P(`path`,{d:`M184 32H72a16 16 0 0 0-16 16v176a8 8 0 0 0 12.24 6.78L128 193.43l59.77 37.35A8 8 0 0 0 200 224V48a16 16 0 0 0-16-16m0 177.57-51.77-32.35a8 8 0 0 0-8.48 0L72 209.57V48h112Z`},null,-1)]])}var dfn,ffn,pfn=s((()=>{B(),dfn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ffn={render:ufn}})),mfn=l({default:()=>_fn,render:()=>hfn});function hfn(e,t){return j(),M(`svg`,gfn,[...t[0]||=[P(`path`,{d:`M208 32h-24v-8a8 8 0 0 0-16 0v8H88v-8a8 8 0 0 0-16 0v8H48a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16M72 48v8a8 8 0 0 0 16 0v-8h80v8a8 8 0 0 0 16 0v-8h24v32H48V48Zm136 160H48V96h160zm-96-88v64a8 8 0 0 1-16 0v-51.06l-4.42 2.22a8 8 0 0 1-7.16-14.32l16-8A8 8 0 0 1 112 120m59.16 30.45L152 176h16a8 8 0 0 1 0 16h-32a8 8 0 0 1-6.4-12.8l28.78-38.37a8 8 0 1 0-13.31-8.83 8 8 0 1 1-13.85-8A24 24 0 0 1 176 136a23.76 23.76 0 0 1-4.84 14.45`},null,-1)]])}var gfn,_fn,vfn=s((()=>{B(),gfn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},_fn={render:hfn}})),yfn=l({default:()=>Sfn,render:()=>bfn});function bfn(e,t){return j(),M(`svg`,xfn,[...t[0]||=[P(`path`,{d:`M232 48h-72a40 40 0 0 0-32 16 40 40 0 0 0-32-16H24a8 8 0 0 0-8 8v144a8 8 0 0 0 8 8h72a24 24 0 0 1 24 24 8 8 0 0 0 16 0 24 24 0 0 1 24-24h72a8 8 0 0 0 8-8V56a8 8 0 0 0-8-8M96 192H32V64h64a24 24 0 0 1 24 24v112a39.8 39.8 0 0 0-24-8m128 0h-64a39.8 39.8 0 0 0-24 8V88a24 24 0 0 1 24-24h64Z`},null,-1)]])}var xfn,Sfn,Cfn=s((()=>{B(),xfn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Sfn={render:bfn}})),wfn=l({default:()=>Dfn,render:()=>Tfn});function Tfn(e,t){return j(),M(`svg`,Efn,[...t[0]||=[P(`path`,{d:`M208 24H72a32 32 0 0 0-32 32v168a8 8 0 0 0 8 8h144a8 8 0 0 0 0-16H56a16 16 0 0 1 16-16h136a8 8 0 0 0 8-8V32a8 8 0 0 0-8-8m-88 16h48v72l-19.21-14.4a8 8 0 0 0-9.6 0L120 112Zm80 144H72a31.8 31.8 0 0 0-16 4.29V56a16 16 0 0 1 16-16h32v88a8 8 0 0 0 12.8 6.4L144 114l27.21 20.4A8 8 0 0 0 176 136a8 8 0 0 0 8-8V40h16Z`},null,-1)]])}var Efn,Dfn,Ofn=s((()=>{B(),Efn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Dfn={render:Tfn}})),kfn=l({default:()=>Mfn,render:()=>Afn});function Afn(e,t){return j(),M(`svg`,jfn,[...t[0]||=[P(`path`,{d:`m213.66 82.34-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v176a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V88a8 8 0 0 0-2.34-5.66M160 51.31 188.69 80H160ZM200 216H56V40h88v48a8 8 0 0 0 8 8h48z`},null,-1)]])}var jfn,Mfn,Nfn=s((()=>{B(),jfn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Mfn={render:Afn}})),Pfn=l({default:()=>Lfn,render:()=>Ffn});function Ffn(e,t){return j(),M(`svg`,Ifn,[...t[0]||=[P(`path`,{d:`M200 32h-36.26a47.92 47.92 0 0 0-71.48 0H56a16 16 0 0 0-16 16v168a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16m-72 0a32 32 0 0 1 32 32H96a32 32 0 0 1 32-32m72 184H56V48h26.75A47.9 47.9 0 0 0 80 64v8a8 8 0 0 0 8 8h80a8 8 0 0 0 8-8v-8a47.9 47.9 0 0 0-2.75-16H200Z`},null,-1)]])}var Ifn,Lfn,Rfn=s((()=>{B(),Ifn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Lfn={render:Ffn}})),zfn=l({default:()=>Hfn,render:()=>Bfn});function Bfn(e,t){return j(),M(`svg`,Vfn,[...t[0]||=[P(`path`,{d:`M209.66 122.34a8 8 0 0 1 0 11.32l-82.05 82a56 56 0 0 1-79.2-79.21l99.26-100.72a40 40 0 1 1 56.61 56.55L105 193a24 24 0 1 1-34-34l83.3-84.62a8 8 0 1 1 11.4 11.22l-83.31 84.71a8 8 0 1 0 11.27 11.36L192.93 81A24 24 0 1 0 159 47L59.76 147.68a40 40 0 1 0 56.53 56.62l82.06-82a8 8 0 0 1 11.31.04`},null,-1)]])}var Vfn,Hfn,Ufn=s((()=>{B(),Vfn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Hfn={render:Bfn}})),Wfn=l({default:()=>qfn,render:()=>Gfn});function Gfn(e,t){return j(),M(`svg`,Kfn,[...t[0]||=[P(`path`,{d:`M237.2 151.87a47 47 0 0 0-2.35-5.45L193.26 51.8a7.8 7.8 0 0 0-1.66-2.44 32 32 0 0 0-45.26 0A8 8 0 0 0 144 55v25h-32V55a8 8 0 0 0-2.34-5.66 32 32 0 0 0-45.26 0 7.8 7.8 0 0 0-1.66 2.44L21.15 146.4a47 47 0 0 0-2.35 5.45A48 48 0 1 0 112 168V96h32v72a48 48 0 1 0 93.2-16.13M76.71 59.75a16 16 0 0 1 19.29-1v73.51a47.9 47.9 0 0 0-46.79-9.92ZM64 200a32 32 0 1 1 32-32 32 32 0 0 1-32 32m96-141.26a16 16 0 0 1 19.29 1l27.5 62.58a47.9 47.9 0 0 0-46.79 9.93ZM192 200a32 32 0 1 1 32-32 32 32 0 0 1-32 32`},null,-1)]])}var Kfn,qfn,Jfn=s((()=>{B(),Kfn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},qfn={render:Gfn}})),Yfn=l({default:()=>Qfn,render:()=>Xfn});function Xfn(e,t){return j(),M(`svg`,Zfn,[...t[0]||=[P(`path`,{d:`M48 64a8 8 0 0 1 8-8h16V40a8 8 0 0 1 16 0v16h16a8 8 0 0 1 0 16H88v16a8 8 0 0 1-16 0V72H56a8 8 0 0 1-8-8m136 128h-8v-8a8 8 0 0 0-16 0v8h-8a8 8 0 0 0 0 16h8v8a8 8 0 0 0 16 0v-8h8a8 8 0 0 0 0-16m56-48h-16v-16a8 8 0 0 0-16 0v16h-16a8 8 0 0 0 0 16h16v16a8 8 0 0 0 16 0v-16h16a8 8 0 0 0 0-16m-20.69-64L80 219.31a16 16 0 0 1-22.62 0l-20.7-20.68a16 16 0 0 1 0-22.63L176 36.69a16 16 0 0 1 22.63 0l20.68 20.68a16 16 0 0 1 0 22.63m-54.63 32L144 91.31l-96 96L68.68 208ZM208 68.69 187.31 48l-32 32L176 100.69Z`},null,-1)]])}var Zfn,Qfn,$fn=s((()=>{B(),Zfn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Qfn={render:Xfn}})),epn=l({default:()=>rpn,render:()=>tpn});function tpn(e,t){return j(),M(`svg`,npn,[...t[0]||=[P(`path`,{d:`M232 88h-16V64a16 16 0 0 0-16-16H48a16 16 0 0 0-16 16v24H16a8 8 0 0 0 0 16h16v24a16 16 0 0 0 16 16h152a16 16 0 0 0 16-16v-24h16v50l-100.4 28.65A16.07 16.07 0 0 0 120 198v34a8 8 0 0 0 16 0v-34l100.4-28.68A16.07 16.07 0 0 0 248 154v-50a16 16 0 0 0-16-16m-32 40H48V64h152z`},null,-1)]])}var npn,rpn,ipn=s((()=>{B(),npn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},rpn={render:tpn}})),apn=l({default:()=>cpn,render:()=>opn});function opn(e,t){return j(),M(`svg`,spn,[...t[0]||=[P(`path`,{d:`M253.93 154.63c-1.32-1.46-24.09-26.22-61-40.56-1.72-18.42-8.46-35.17-19.41-47.92C158.87 49 137.58 40 112 40c-51.52 0-85.11 46.18-86.51 48.15a8 8 0 0 0 13 9.31C38.8 97.05 68.81 56 112 56c20.77 0 37.86 7.11 49.41 20.57 7.42 8.64 12.44 19.69 14.67 32A141 141 0 0 0 140.6 104c-26.06 0-47.93 6.81-63.26 19.69C63.78 135.09 56 151 56 167.25a47.6 47.6 0 0 0 13.87 34.05c9.66 9.62 23.06 14.7 38.73 14.7 51.81 0 81.18-42.13 84.49-84.42a161.4 161.4 0 0 1 49 33.79 8 8 0 1 0 11.86-10.74Zm-94.46 21.64C150.64 187.09 134.66 200 108.6 200 83.32 200 72 183.55 72 167.25 72 144.49 93.47 120 140.6 120a124.3 124.3 0 0 1 36.78 5.68c-.45 18.76-6.92 37.1-17.91 50.59`},null,-1)]])}var spn,cpn,lpn=s((()=>{B(),spn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},cpn={render:opn}})),upn=l({default:()=>ppn,render:()=>dpn});function dpn(e,t){return j(),M(`svg`,fpn,[...t[0]||=[P(`path`,{d:`M216 96a88 88 0 1 0-144 67.83V240a8 8 0 0 0 11.58 7.16L128 225l44.43 22.21a8.1 8.1 0 0 0 3.57.79 8 8 0 0 0 8-8v-76.17A87.85 87.85 0 0 0 216 96M56 96a72 72 0 1 1 72 72 72.08 72.08 0 0 1-72-72m112 131.06-36.43-18.21a8 8 0 0 0-7.16 0L88 227.06v-52.69a87.89 87.89 0 0 0 80 0ZM128 152a56 56 0 1 0-56-56 56.06 56.06 0 0 0 56 56m0-96a40 40 0 1 1-40 40 40 40 0 0 1 40-40`},null,-1)]])}var fpn,ppn,mpn=s((()=>{B(),fpn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ppn={render:dpn}})),hpn=l({default:()=>vpn,render:()=>gpn});function gpn(e,t){return j(),M(`svg`,_pn,[...t[0]||=[P(`path`,{d:`M42.76 50A8 8 0 0 0 40 56v168a8 8 0 0 0 16 0v-44.23c26.79-21.16 49.87-9.75 76.45 3.41 16.4 8.11 34.06 16.85 53 16.85 13.93 0 28.54-4.75 43.82-18a8 8 0 0 0 2.76-6V56a8 8 0 0 0-13.27-6c-28 24.23-51.72 12.49-79.21-1.12C111.07 34.76 78.78 18.79 42.76 50M216 172.25c-26.79 21.16-49.87 9.74-76.45-3.41-25-12.35-52.81-26.13-83.55-8.4V59.79c26.79-21.16 49.87-9.75 76.45 3.4 25 12.35 52.82 26.13 83.55 8.4Z`},null,-1)]])}var _pn,vpn,ypn=s((()=>{B(),_pn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},vpn={render:gpn}})),bpn=l({default:()=>Cpn,render:()=>xpn});function xpn(e,t){return j(),M(`svg`,Spn,[...t[0]||=[P(`path`,{d:`M178 40c-20.65 0-38.73 8.88-50 23.89C116.73 48.88 98.65 40 78 40a62.07 62.07 0 0 0-62 62c0 70 103.79 126.66 108.21 129a8 8 0 0 0 7.58 0C136.21 228.66 240 172 240 102a62.07 62.07 0 0 0-62-62m-50 174.8c-18.26-10.64-96-59.11-96-112.8a46.06 46.06 0 0 1 46-46c19.45 0 35.78 10.36 42.6 27a8 8 0 0 0 14.8 0c6.82-16.67 23.15-27 42.6-27a46.06 46.06 0 0 1 46 46c0 53.61-77.76 102.15-96 112.8`},null,-1)]])}var Spn,Cpn,wpn=s((()=>{B(),Spn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Cpn={render:xpn}})),Tpn=l({default:()=>Opn,render:()=>Epn});function Epn(e,t){return j(),M(`svg`,Dpn,[...t[0]||=[P(`path`,{d:`M239.18 97.26A16.38 16.38 0 0 0 224.92 86l-59-4.76-22.78-55.09a16.36 16.36 0 0 0-30.27 0L90.11 81.23 31.08 86a16.46 16.46 0 0 0-9.37 28.86l45 38.83L53 211.75a16.38 16.38 0 0 0 24.5 17.82l50.5-31.08 50.53 31.08A16.4 16.4 0 0 0 203 211.75l-13.76-58.07 45-38.83a16.43 16.43 0 0 0 4.94-17.59m-15.34 5.47-48.7 42a8 8 0 0 0-2.56 7.91l14.88 62.8a.37.37 0 0 1-.17.48c-.18.14-.23.11-.38 0l-54.72-33.65a8 8 0 0 0-8.38 0l-54.72 33.67c-.15.09-.19.12-.38 0a.37.37 0 0 1-.17-.48l14.88-62.8a8 8 0 0 0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16a8 8 0 0 0 6.72-4.94l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153 91.86a8 8 0 0 0 6.75 4.92l63.92 5.16c.15 0 .24 0 .33.29s0 .4-.16.5`},null,-1)]])}var Dpn,Opn,kpn=s((()=>{B(),Dpn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Opn={render:Epn}})),Apn=l({default:()=>Npn,render:()=>jpn});function jpn(e,t){return j(),M(`svg`,Mpn,[...t[0]||=[P(`path`,{d:`M197.58 129.06 146 110l-19-51.62a15.92 15.92 0 0 0-29.88 0L78 110l-51.62 19a15.92 15.92 0 0 0 0 29.88L78 178l19 51.62a15.92 15.92 0 0 0 29.88 0L146 178l51.62-19a15.92 15.92 0 0 0 0-29.88ZM137 164.22a8 8 0 0 0-4.74 4.74L112 223.85 91.78 169a8 8 0 0 0-4.78-4.78L32.15 144 87 123.78a8 8 0 0 0 4.78-4.78L112 64.15 132.22 119a8 8 0 0 0 4.74 4.74L191.85 144ZM144 40a8 8 0 0 1 8-8h16V16a8 8 0 0 1 16 0v16h16a8 8 0 0 1 0 16h-16v16a8 8 0 0 1-16 0V48h-16a8 8 0 0 1-8-8m104 48a8 8 0 0 1-8 8h-8v8a8 8 0 0 1-16 0v-8h-8a8 8 0 0 1 0-16h8v-8a8 8 0 0 1 16 0v8h8a8 8 0 0 1 8 8`},null,-1)]])}var Mpn,Npn,Ppn=s((()=>{B(),Mpn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Npn={render:jpn}})),Fpn=l({default:()=>Rpn,render:()=>Ipn});function Ipn(e,t){return j(),M(`svg`,Lpn,[...t[0]||=[P(`path`,{d:`M160 112h48a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a24 24 0 0 0-24 24v32H72v-8a16 16 0 0 0-16-16H24a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-8h32v32a24 24 0 0 0 24 24h16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a8 8 0 0 1-8-8V88a8 8 0 0 1 8-8h16v16a16 16 0 0 0 16 16M56 144H24v-32h32zm104 16h48v48h-48Zm0-112h48v48h-48Z`},null,-1)]])}var Lpn,Rpn,zpn=s((()=>{B(),Lpn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Rpn={render:Ipn}})),Bpn=l({default:()=>Upn,render:()=>Vpn});function Vpn(e,t){return j(),M(`svg`,Hpn,[...t[0]||=[P(`path`,{d:`m219.31 108.68-80-80a16 16 0 0 0-22.62 0l-80 80A15.87 15.87 0 0 0 32 120v96a8 8 0 0 0 8 8h64a8 8 0 0 0 8-8v-56h32v56a8 8 0 0 0 8 8h64a8 8 0 0 0 8-8v-96a15.87 15.87 0 0 0-4.69-11.32M208 208h-48v-56a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8v56H48v-88l80-80 80 80Z`},null,-1)]])}var Hpn,Upn,Wpn=s((()=>{B(),Hpn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Upn={render:Vpn}})),Gpn=l({default:()=>Jpn,render:()=>Kpn});function Kpn(e,t){return j(),M(`svg`,qpn,[...t[0]||=[P(`path`,{d:`M240 88.23a54.43 54.43 0 0 1-16 37L189.25 160a54.27 54.27 0 0 1-38.63 16h-.05A54.63 54.63 0 0 1 96 119.84a8 8 0 0 1 16 .45A38.62 38.62 0 0 0 150.58 160a38.4 38.4 0 0 0 27.31-11.31l34.75-34.75a38.63 38.63 0 0 0-54.63-54.63l-11 11A8 8 0 0 1 135.7 59l11-11a54.65 54.65 0 0 1 77.3 0 54.86 54.86 0 0 1 16 40.23m-131 97.43-11 11A38.4 38.4 0 0 1 70.6 208a38.63 38.63 0 0 1-27.29-65.94L78 107.31a38.63 38.63 0 0 1 66 28.4 8 8 0 0 0 16 .45A54.86 54.86 0 0 0 144 96a54.65 54.65 0 0 0-77.27 0L32 130.75A54.62 54.62 0 0 0 70.56 224a54.28 54.28 0 0 0 38.64-16l11-11a8 8 0 0 0-11.2-11.34`},null,-1)]])}var qpn,Jpn,Ypn=s((()=>{B(),qpn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Jpn={render:Kpn}})),Xpn=l({default:()=>$pn,render:()=>Zpn});function Zpn(e,t){return j(),M(`svg`,Qpn,[...t[0]||=[P(`path`,{d:`M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0m72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64m-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48M58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32M192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72m5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8m80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8m112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16`},null,-1)]])}var Qpn,$pn,emn=s((()=>{B(),Qpn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},$pn={render:Zpn}})),tmn=l({default:()=>imn,render:()=>nmn});function nmn(e,t){return j(),M(`svg`,rmn,[...t[0]||=[P(`path`,{d:`M208 80h-32V56a48 48 0 0 0-96 0v24H48a16 16 0 0 0-16 16v112a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16M96 56a32 32 0 0 1 64 0v24H96Zm112 152H48V96h160zm-68-56a12 12 0 1 1-12-12 12 12 0 0 1 12 12`},null,-1)]])}var rmn,imn,amn=s((()=>{B(),rmn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},imn={render:nmn}})),omn=l({default:()=>lmn,render:()=>smn});function smn(e,t){return j(),M(`svg`,cmn,[...t[0]||=[P(`path`,{d:`M208 80H96V56a32 32 0 0 1 32-32c15.37 0 29.2 11 32.16 25.59a8 8 0 0 0 15.68-3.18C171.32 24.15 151.2 8 128 8a48.05 48.05 0 0 0-48 48v24H48a16 16 0 0 0-16 16v112a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16m0 128H48V96h160zm-68-56a12 12 0 1 1-12-12 12 12 0 0 1 12 12`},null,-1)]])}var cmn,lmn,umn=s((()=>{B(),cmn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},lmn={render:smn}})),dmn=l({default:()=>mmn,render:()=>fmn});function fmn(e,t){return j(),M(`svg`,pmn,[...t[0]||=[P(`path`,{d:`M216.57 39.43a80 80 0 0 0-132.66 81.35L28.69 176A15.86 15.86 0 0 0 24 187.31V216a16 16 0 0 0 16 16h32a8 8 0 0 0 8-8v-16h16a8 8 0 0 0 8-8v-16h16a8 8 0 0 0 5.66-2.34l9.56-9.57A79.7 79.7 0 0 0 160 176h.1a80 80 0 0 0 56.47-136.57M224 98.1c-1.09 34.09-29.75 61.86-63.89 61.9H160a63.7 63.7 0 0 1-23.65-4.51 8 8 0 0 0-8.84 1.68L116.69 168H96a8 8 0 0 0-8 8v16H72a8 8 0 0 0-8 8v16H40v-28.69l58.83-58.82a8 8 0 0 0 1.68-8.84A63.7 63.7 0 0 1 96 95.92c0-34.14 27.81-62.8 61.9-63.89A64 64 0 0 1 224 98.1M192 76a12 12 0 1 1-12-12 12 12 0 0 1 12 12`},null,-1)]])}var pmn,mmn,hmn=s((()=>{B(),pmn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},mmn={render:fmn}})),gmn=l({default:()=>ymn,render:()=>_mn});function _mn(e,t){return j(),M(`svg`,vmn,[...t[0]||=[P(`path`,{d:`m229.66 218.34-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32M40 112a72 72 0 1 1 72 72 72.08 72.08 0 0 1-72-72`},null,-1)]])}var vmn,ymn,bmn=s((()=>{B(),vmn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ymn={render:_mn}})),xmn=l({default:()=>wmn,render:()=>Smn});function Smn(e,t){return j(),M(`svg`,Cmn,[...t[0]||=[P(`path`,{d:`M128 80a48 48 0 1 0 48 48 48.05 48.05 0 0 0-48-48m0 80a32 32 0 1 1 32-32 32 32 0 0 1-32 32m88-29.84q.06-2.16 0-4.32l14.92-18.64a8 8 0 0 0 1.48-7.06 107.2 107.2 0 0 0-10.88-26.25 8 8 0 0 0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186 40.54a8 8 0 0 0-3.94-6 107.7 107.7 0 0 0-26.25-10.87 8 8 0 0 0-7.06 1.49L130.16 40h-4.32L107.2 25.11a8 8 0 0 0-7.06-1.48 107.6 107.6 0 0 0-26.25 10.88 8 8 0 0 0-3.93 6l-2.64 23.76q-1.56 1.49-3 3L40.54 70a8 8 0 0 0-6 3.94 107.7 107.7 0 0 0-10.87 26.25 8 8 0 0 0 1.49 7.06L40 125.84v4.32L25.11 148.8a8 8 0 0 0-1.48 7.06 107.2 107.2 0 0 0 10.88 26.25 8 8 0 0 0 6 3.93l23.72 2.64q1.49 1.56 3 3L70 215.46a8 8 0 0 0 3.94 6 107.7 107.7 0 0 0 26.25 10.87 8 8 0 0 0 7.06-1.49L125.84 216q2.16.06 4.32 0l18.64 14.92a8 8 0 0 0 7.06 1.48 107.2 107.2 0 0 0 26.25-10.88 8 8 0 0 0 3.93-6l2.64-23.72q1.56-1.48 3-3l23.78-2.8a8 8 0 0 0 6-3.94 107.7 107.7 0 0 0 10.87-26.25 8 8 0 0 0-1.49-7.06Zm-16.1-6.5a74 74 0 0 1 0 8.68 8 8 0 0 0 1.74 5.48l14.19 17.73a91.6 91.6 0 0 1-6.23 15l-22.6 2.56a8 8 0 0 0-5.1 2.64 74 74 0 0 1-6.14 6.14 8 8 0 0 0-2.64 5.1l-2.51 22.58a91.3 91.3 0 0 1-15 6.23l-17.74-14.19a8 8 0 0 0-5-1.75h-.48a74 74 0 0 1-8.68 0 8 8 0 0 0-5.48 1.74l-17.78 14.2a91.6 91.6 0 0 1-15-6.23L82.89 187a8 8 0 0 0-2.64-5.1 74 74 0 0 1-6.14-6.14 8 8 0 0 0-5.1-2.64l-22.58-2.52a91.3 91.3 0 0 1-6.23-15l14.19-17.74a8 8 0 0 0 1.74-5.48 74 74 0 0 1 0-8.68 8 8 0 0 0-1.74-5.48L40.2 100.45a91.6 91.6 0 0 1 6.23-15L69 82.89a8 8 0 0 0 5.1-2.64 74 74 0 0 1 6.14-6.14A8 8 0 0 0 82.89 69l2.51-22.57a91.3 91.3 0 0 1 15-6.23l17.74 14.19a8 8 0 0 0 5.48 1.74 74 74 0 0 1 8.68 0 8 8 0 0 0 5.48-1.74l17.77-14.19a91.6 91.6 0 0 1 15 6.23L173.11 69a8 8 0 0 0 2.64 5.1 74 74 0 0 1 6.14 6.14 8 8 0 0 0 5.1 2.64l22.58 2.51a91.3 91.3 0 0 1 6.23 15l-14.19 17.74a8 8 0 0 0-1.74 5.53Z`},null,-1)]])}var Cmn,wmn,Tmn=s((()=>{B(),Cmn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},wmn={render:Smn}})),Emn=l({default:()=>kmn,render:()=>Dmn});function Dmn(e,t){return j(),M(`svg`,Omn,[...t[0]||=[P(`path`,{d:`M155.51 24.81a8 8 0 0 0-8.42.88L77.25 80H32a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h45.25l69.84 54.31A8 8 0 0 0 160 224V32a8 8 0 0 0-4.49-7.19M32 96h40v64H32Zm112 111.64-56-43.55V91.91l56-43.55Zm54-106.08a40 40 0 0 1 0 52.88 8 8 0 0 1-12-10.58 24 24 0 0 0 0-31.72 8 8 0 0 1 12-10.58M248 128a79.9 79.9 0 0 1-20.37 53.34 8 8 0 0 1-11.92-10.67 64 64 0 0 0 0-85.33 8 8 0 1 1 11.92-10.67A79.83 79.83 0 0 1 248 128`},null,-1)]])}var Omn,kmn,Amn=s((()=>{B(),Omn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},kmn={render:Dmn}})),jmn=l({default:()=>Pmn,render:()=>Mmn});function Mmn(e,t){return j(),M(`svg`,Nmn,[...t[0]||=[P(`path`,{d:`M223.85 47.12a16 16 0 0 0-15-15c-12.58-.75-44.73.4-71.41 27.07L132.69 64H74.36A15.9 15.9 0 0 0 63 68.68L28.7 103a16 16 0 0 0 9.07 27.16l38.47 5.37 44.21 44.21 5.37 38.49a15.94 15.94 0 0 0 10.78 12.92 16.1 16.1 0 0 0 5.1.83 15.9 15.9 0 0 0 11.3-4.68l34.32-34.3a15.9 15.9 0 0 0 4.68-11.36v-58.33l4.77-4.77c26.68-26.68 27.83-58.83 27.08-71.42M74.36 80h42.33l-39.53 39.52L40 114.34Zm74.41-9.45a76.65 76.65 0 0 1 59.11-22.47 76.46 76.46 0 0 1-22.42 59.16L128 164.68 91.32 128ZM176 181.64 141.67 216l-5.19-37.17L176 139.31Zm-74.16 9.5C97.34 201 82.29 224 40 224a8 8 0 0 1-8-8c0-42.29 23-57.34 32.86-61.85a8 8 0 0 1 6.64 14.56c-6.43 2.93-20.62 12.36-23.12 38.91 26.55-2.5 36-16.69 38.91-23.12a8 8 0 1 1 14.56 6.64Z`},null,-1)]])}var Nmn,Pmn,Fmn=s((()=>{B(),Nmn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Pmn={render:Mmn}})),Imn=l({default:()=>zmn,render:()=>Lmn});function Lmn(e,t){return j(),M(`svg`,Rmn,[...t[0]||=[P(`path`,{d:`M245.11 60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93 95.93 0 0 0 32 128a98 98 0 0 0 .78 12.31C5.09 169 5.49 186 10.9 195.32 16 204.16 26.64 208 40.64 208a124 124 0 0 0 28.79-4A95.93 95.93 0 0 0 224 128a97 97 0 0 0-.77-12.25c12.5-13 20.82-25.35 23.65-35.92 1.95-7.32 1.36-13.76-1.77-19.15M128 48a80.11 80.11 0 0 1 78 62.2c-17.06 16.06-40.15 32.53-62.07 45.13-27.55 15.81-51.45 25.67-70.51 31.07A79.94 79.94 0 0 1 128 48M24.74 187.29c-1.46-2.51-.65-7.24 2.22-13a79 79 0 0 1 10.29-15.05 96 96 0 0 0 18 31.32c-17.25 2.9-28.01 1.05-30.51-3.27M128 208a79.45 79.45 0 0 1-38.56-9.94 370 370 0 0 0 62.43-28.86c21.58-12.39 40.68-25.82 56.07-39.08A80.07 80.07 0 0 1 128 208M231.42 75.69c-1.7 6.31-6.19 13.53-12.63 21.13a95.7 95.7 0 0 0-18-31.35c14.21-2.35 27.37-2.17 30.5 3.24.9 1.57.95 3.92.13 6.98`},null,-1)]])}var Rmn,zmn,Bmn=s((()=>{B(),Rmn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},zmn={render:Lmn}})),Vmn=l({default:()=>Wmn,render:()=>Hmn});function Hmn(e,t){return j(),M(`svg`,Umn,[...t[0]||=[P(`path`,{d:`M183.59 213.47a8 8 0 0 1-15.18 5.06l-8-24a8 8 0 0 1 15.18-5.06ZM128 184a8 8 0 0 0-8 8v32a8 8 0 0 0 16 0v-32a8 8 0 0 0-8-8m-37.47.41a8 8 0 0 0-10.12 5.06l-8 24a8 8 0 0 0 15.18 5.06l8-24a8 8 0 0 0-5.06-10.12M248 112c0 16.22-13.37 30.89-37.65 41.29C188.22 162.78 159 168 128 168s-60.22-5.22-82.35-14.71C21.37 142.89 8 128.22 8 112c0-8.37 3.67-20.79 21.17-32.5 11.37-7.61 26.94-13.76 45.18-17.85A63.64 63.64 0 0 1 173 50.45a64.8 64.8 0 0 1 9.11 11.3C223.43 71.09 248 89.74 248 112M80 96.83v3a7.92 7.92 0 0 0 6.13 7.76A188.2 188.2 0 0 0 128 112a188 188 0 0 0 41.85-4.37 7.93 7.93 0 0 0 6.15-7.76V96a48 48 0 0 0-48.64-48C101.25 48.34 80 70.25 80 96.83M232 112c0-11.7-16.63-23.89-41.9-31.59A64.7 64.7 0 0 1 192 96v3.92a23.86 23.86 0 0 1-18.56 23.3A204 204 0 0 1 128 128a204 204 0 0 1-45.44-4.78A23.86 23.86 0 0 1 64 99.92v-3.06a65.3 65.3 0 0 1 2.13-16.52C40.72 88 24 100.25 24 112c0 18.92 42.71 40 104 40s104-21.08 104-40`},null,-1)]])}var Umn,Wmn,Gmn=s((()=>{B(),Umn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Wmn={render:Hmn}})),Kmn=l({default:()=>Ymn,render:()=>qmn});function qmn(e,t){return j(),M(`svg`,Jmn,[...t[0]||=[P(`path`,{d:`M176 160a39.9 39.9 0 0 0-28.62 12.09l-46.1-29.63a39.8 39.8 0 0 0 0-28.92l46.1-29.63a40 40 0 1 0-8.66-13.45l-46.1 29.63a40 40 0 1 0 0 55.82l46.1 29.63A40 40 0 1 0 176 160m0-128a24 24 0 1 1-24 24 24 24 0 0 1 24-24M64 152a24 24 0 1 1 24-24 24 24 0 0 1-24 24m112 72a24 24 0 1 1 24-24 24 24 0 0 1-24 24`},null,-1)]])}var Jmn,Ymn,Xmn=s((()=>{B(),Jmn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Ymn={render:qmn}})),Zmn=l({default:()=>ehn,render:()=>Qmn});function Qmn(e,t){return j(),M(`svg`,$mn,[...t[0]||=[P(`path`,{d:`M240 128a8 8 0 0 1-8 8h-27.06l-37.78 75.58A8 8 0 0 1 160 216h-.4a8 8 0 0 1-7.08-5.14L95.35 60.76l-32.07 70.55A8 8 0 0 1 56 136H24a8 8 0 0 1 0-16h26.85l37.87-83.31a8 8 0 0 1 14.76.46l57.51 151 31.85-63.71A8 8 0 0 1 200 120h32a8 8 0 0 1 8 8`},null,-1)]])}var $mn,ehn,thn=s((()=>{B(),$mn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ehn={render:Qmn}})),nhn=l({default:()=>ahn,render:()=>rhn});function rhn(e,t){return j(),M(`svg`,ihn,[...t[0]||=[P(`path`,{d:`M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88m64-88a8 8 0 0 1-8 8h-56a8 8 0 0 1-8-8V72a8 8 0 0 1 16 0v48h48a8 8 0 0 1 8 8`},null,-1)]])}var ihn,ahn,ohn=s((()=>{B(),ihn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ahn={render:rhn}})),shn=l({default:()=>uhn,render:()=>chn});function chn(e,t){return j(),M(`svg`,lhn,[...t[0]||=[P(`path`,{d:`M184 24H72a16 16 0 0 0-16 16v36a16.07 16.07 0 0 0 6.4 12.8l52.27 39.2-52.27 39.2A16.07 16.07 0 0 0 56 180v36a16 16 0 0 0 16 16h112a16 16 0 0 0 16-16v-35.64a16.09 16.09 0 0 0-6.35-12.77L141.27 128l52.38-39.6A16.05 16.05 0 0 0 200 75.64V40a16 16 0 0 0-16-16m0 16v16H72V40Zm0 176H72v-36l56-42 56 42.35Zm-56-98L72 76v-4h112v3.64Z`},null,-1)]])}var lhn,uhn,dhn=s((()=>{B(),lhn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},uhn={render:chn}})),fhn=l({default:()=>hhn,render:()=>phn});function phn(e,t){return j(),M(`svg`,mhn,[...t[0]||=[P(`path`,{d:`M117.25 157.92a60 60 0 1 0-66.5 0 95.83 95.83 0 0 0-47.22 37.71 8 8 0 1 0 13.4 8.74 80 80 0 0 1 134.14 0 8 8 0 0 0 13.4-8.74 95.83 95.83 0 0 0-47.22-37.71M40 108a44 44 0 1 1 44 44 44.05 44.05 0 0 1-44-44m210.14 98.7a8 8 0 0 1-11.07-2.33A79.83 79.83 0 0 0 172 168a8 8 0 0 1 0-16 44 44 0 1 0-16.34-84.87 8 8 0 1 1-5.94-14.85 60 60 0 0 1 55.53 105.64 95.83 95.83 0 0 1 47.22 37.71 8 8 0 0 1-2.33 11.07`},null,-1)]])}var mhn,hhn,ghn=s((()=>{B(),mhn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},hhn={render:phn}})),_hn=l({default:()=>bhn,render:()=>vhn});function vhn(e,t){return j(),M(`svg`,yhn,[...t[0]||=[P(`path`,{d:`M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.1 103.1 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98m-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4`},null,-1)]])}var yhn,bhn,xhn=s((()=>{B(),yhn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},bhn={render:vhn}})),Shn=l({default:()=>Thn,render:()=>Chn});function Chn(e,t){return j(),M(`svg`,whn,[...t[0]||=[P(`path`,{d:`M216 48H40a16 16 0 0 0-16 16v160a15.84 15.84 0 0 0 9.25 14.5A16.05 16.05 0 0 0 40 240a15.9 15.9 0 0 0 10.25-3.78l.09-.07L83 208h133a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16m0 144H80a8 8 0 0 0-5.23 1.95L40 224V64h176Z`},null,-1)]])}var whn,Thn,Ehn=s((()=>{B(),whn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Thn={render:Chn}})),Dhn=l({default:()=>Ahn,render:()=>Ohn});function Ohn(e,t){return j(),M(`svg`,khn,[...t[0]||=[P(`path`,{d:`M227.32 28.68a16 16 0 0 0-15.66-4.08h-.15L19.57 82.84a16 16 0 0 0-2.49 29.8L102 154l41.3 84.87a15.86 15.86 0 0 0 14.44 9.13q.69 0 1.38-.06a15.88 15.88 0 0 0 14-11.51l58.2-191.94v-.15a16 16 0 0 0-4-15.66m-69.49 203.17-.05.14v-.07l-40.06-82.3 48-48a8 8 0 0 0-11.31-11.31l-48 48-82.33-40.06h-.07.14L216 40Z`},null,-1)]])}var khn,Ahn,jhn=s((()=>{B(),khn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Ahn={render:Ohn}})),Mhn=l({default:()=>Fhn,render:()=>Nhn});function Nhn(e,t){return j(),M(`svg`,Phn,[...t[0]||=[P(`path`,{d:`M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8m-96 85.15L52.57 64h150.86ZM98.71 128 40 181.81V74.19Zm11.84 10.85 12 11.05a8 8 0 0 0 10.82 0l12-11.05 58 53.15H52.57ZM157.29 128 216 74.18v107.64Z`},null,-1)]])}var Phn,Fhn,Ihn=s((()=>{B(),Phn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Fhn={render:Nhn}})),Lhn=l({default:()=>Bhn,render:()=>Rhn});function Rhn(e,t){return j(),M(`svg`,zhn,[...t[0]||=[P(`path`,{d:`M96 104a8 8 0 0 1 8-8h64a8 8 0 0 1 0 16h-64a8 8 0 0 1-8-8m8 40h64a8 8 0 0 0 0-16h-64a8 8 0 0 0 0 16m128 48a32 32 0 0 1-32 32H88a32 32 0 0 1-32-32V64a16 16 0 0 0-32 0c0 5.74 4.83 9.62 4.88 9.66A8 8 0 0 1 24 88a7.9 7.9 0 0 1-4.79-1.61C18.05 85.54 8 77.61 8 64a32 32 0 0 1 32-32h136a32 32 0 0 1 32 32v104h8a8 8 0 0 1 4.8 1.6c1.2.86 11.2 8.79 11.2 22.4M96.26 173.48A8.07 8.07 0 0 1 104 168h88V64a16 16 0 0 0-16-16H67.69A31.7 31.7 0 0 1 72 64v128a16 16 0 0 0 32 0c0-5.74-4.83-9.62-4.88-9.66a7.82 7.82 0 0 1-2.86-8.86M216 192a12.58 12.58 0 0 0-3.23-8h-94a27 27 0 0 1 1.21 8 31.8 31.8 0 0 1-4.29 16H200a16 16 0 0 0 16-16`},null,-1)]])}var zhn,Bhn,Vhn=s((()=>{B(),zhn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Bhn={render:Rhn}})),Hhn=l({default:()=>Ghn,render:()=>Uhn});function Uhn(e,t){return j(),M(`svg`,Whn,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 2v20m5-17H9.5a3.5 3.5 0 1 0 0 7h5a3.5 3.5 0 1 1 0 7H6`},null,-1)]])}var Whn,Ghn,Khn=s((()=>{B(),Whn={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Ghn={render:Uhn}})),qhn=l({default:()=>Xhn,render:()=>Jhn});function Jhn(e,t){return j(),M(`svg`,Yhn,[...t[0]||=[P(`path`,{d:`M152 120h-16V56h8a32 32 0 0 1 32 32 8 8 0 0 0 16 0 48.05 48.05 0 0 0-48-48h-8V24a8 8 0 0 0-16 0v16h-8a48 48 0 0 0 0 96h8v64h-16a32 32 0 0 1-32-32 8 8 0 0 0-16 0 48.05 48.05 0 0 0 48 48h16v16a8 8 0 0 0 16 0v-16h16a48 48 0 0 0 0-96m-40 0a32 32 0 0 1 0-64h8v64Zm40 80h-16v-64h16a32 32 0 0 1 0 64`},null,-1)]])}var Yhn,Xhn,Zhn=s((()=>{B(),Yhn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Xhn={render:Jhn}})),Qhn=l({default:()=>tgn,render:()=>$hn});function $hn(e,t){return j(),M(`svg`,egn,[...t[0]||=[P(`path`,{d:`M216 40h-80V24a8 8 0 0 0-16 0v16H40a16 16 0 0 0-16 16v120a16 16 0 0 0 16 16h39.36l-21.61 27a8 8 0 0 0 12.5 10l29.59-37h56.32l29.59 37a8 8 0 1 0 12.5-10l-21.61-27H216a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 136H40V56h176zm-112-56v24a8 8 0 0 1-16 0v-24a8 8 0 0 1 16 0m32-16v40a8 8 0 0 1-16 0v-40a8 8 0 0 1 16 0m32-16v56a8 8 0 0 1-16 0V88a8 8 0 0 1 16 0`},null,-1)]])}var egn,tgn,ngn=s((()=>{B(),egn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},tgn={render:$hn}})),rgn=l({default:()=>ogn,render:()=>ign});function ign(e,t){return j(),M(`svg`,agn,[...t[0]||=[P(`path`,{d:`M223.45 40.07a8 8 0 0 0-7.52-7.52C139.8 28.08 78.82 51 52.82 94a87.1 87.1 0 0 0-12.76 49c.57 15.92 5.21 32 13.79 47.85l-19.51 19.5a8 8 0 0 0 11.32 11.32l19.5-19.51C81 210.73 97.09 215.37 113 215.94q1.67.06 3.33.06A86.93 86.93 0 0 0 162 203.18c43-26 65.93-86.97 61.45-163.11m-69.7 149.43c-22.75 13.78-49.68 14-76.71.77l88.63-88.62a8 8 0 0 0-11.32-11.32L65.73 179c-13.19-27-13-54 .77-76.71 22.09-36.47 74.6-56.44 141.31-54.06 2.39 66.66-17.59 119.18-54.06 141.27`},null,-1)]])}var agn,ogn,sgn=s((()=>{B(),agn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ogn={render:ign}})),cgn=l({default:()=>dgn,render:()=>lgn});function lgn(e,t){return j(),M(`svg`,ugn,[...t[0]||=[P(`path`,{d:`m222.37 158.46-47.11-21.11-.13-.06a16 16 0 0 0-15.17 1.4 8 8 0 0 0-.75.56L134.87 160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16 16 0 0 0 1.32-15.06v-.12L97.54 33.64a16 16 0 0 0-16.62-9.52A56.26 56.26 0 0 0 32 80c0 79.4 64.6 144 144 144a56.26 56.26 0 0 0 55.88-48.92 16 16 0 0 0-9.51-16.62M176 208A128.14 128.14 0 0 1 48 80a40.2 40.2 0 0 1 34.87-40 .6.6 0 0 0 0 .12l21 47-20.67 24.74a6 6 0 0 0-.57.77 16 16 0 0 0-1 15.7c9.06 18.53 27.73 37.06 46.46 46.11a16 16 0 0 0 15.75-1.14 8 8 0 0 0 .74-.56L168.89 152l47 21.05h.11A40.21 40.21 0 0 1 176 208`},null,-1)]])}var ugn,dgn,fgn=s((()=>{B(),ugn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},dgn={render:lgn}})),pgn=l({default:()=>ggn,render:()=>mgn});function mgn(e,t){return j(),M(`svg`,hgn,[...t[0]||=[P(`path`,{d:`M208 152h16a8 8 0 0 0 0-16h-16v-16h16a8 8 0 0 0 0-16h-16.4a79.76 79.76 0 0 0-21.44-46.85l19.5-19.49a8 8 0 0 0-11.32-11.32l-20.29 20.3a79.74 79.74 0 0 0-92.1 0l-20.29-20.3a8 8 0 0 0-11.32 11.32l19.5 19.49A79.76 79.76 0 0 0 48.4 104H32a8 8 0 0 0 0 16h16v16H32a8 8 0 0 0 0 16h16v8c0 2.7.14 5.37.4 8H32a8 8 0 0 0 0 16h19.68a80 80 0 0 0 152.64 0H224a8 8 0 0 0 0-16h-16.4c.26-2.63.4-5.3.4-8ZM128 48a64.07 64.07 0 0 1 63.48 56h-127A64.07 64.07 0 0 1 128 48m8 175.48V144a8 8 0 0 0-16 0v79.48A64.07 64.07 0 0 1 64 160v-40h128v40a64.07 64.07 0 0 1-56 63.48`},null,-1)]])}var hgn,ggn,_gn=s((()=>{B(),hgn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ggn={render:mgn}})),vgn=l({default:()=>xgn,render:()=>ygn});function ygn(e,t){return j(),M(`svg`,bgn,[...t[0]||=[P(`path`,{d:`M160 40a88.09 88.09 0 0 0-78.71 48.67A64 64 0 1 0 72 216h88a88 88 0 0 0 0-176m0 160H72a48 48 0 0 1 0-96c1.1 0 2.2 0 3.29.11A88 88 0 0 0 72 128a8 8 0 0 0 16 0 72 72 0 1 1 72 72`},null,-1)]])}var bgn,xgn,Sgn=s((()=>{B(),bgn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},xgn={render:ygn}})),Cgn=l({default:()=>Egn,render:()=>wgn});function wgn(e,t){return j(),M(`svg`,Tgn,[...t[0]||=[P(`path`,{d:`M208 136H48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16m0 64H48v-48h160zm0-160H48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 64H48V56h160zm-16-24a12 12 0 1 1-12-12 12 12 0 0 1 12 12m0 96a12 12 0 1 1-12-12 12 12 0 0 1 12 12`},null,-1)]])}var Tgn,Egn,Dgn=s((()=>{B(),Tgn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Egn={render:wgn}})),Ogn=l({default:()=>jgn,render:()=>kgn});function kgn(e,t){return j(),M(`svg`,Agn,[...t[0]||=[P(`path`,{d:`M128 24c-53.83 0-96 24.6-96 56v96c0 31.4 42.17 56 96 56s96-24.6 96-56V80c0-31.4-42.17-56-96-56m80 104c0 9.62-7.88 19.43-21.61 26.92C170.93 163.35 150.19 168 128 168s-42.93-4.65-58.39-13.08C55.88 147.43 48 137.62 48 128v-16.64c17.06 15 46.23 24.64 80 24.64s62.94-9.68 80-24.64ZM69.61 53.08C85.07 44.65 105.81 40 128 40s42.93 4.65 58.39 13.08C200.12 60.57 208 70.38 208 80s-7.88 19.43-21.61 26.92C170.93 115.35 150.19 120 128 120s-42.93-4.65-58.39-13.08C55.88 99.43 48 89.62 48 80s7.88-19.43 21.61-26.92m116.78 149.84C170.93 211.35 150.19 216 128 216s-42.93-4.65-58.39-13.08C55.88 195.43 48 185.62 48 176v-16.64c17.06 15 46.23 24.64 80 24.64s62.94-9.68 80-24.64V176c0 9.62-7.88 19.43-21.61 26.92`},null,-1)]])}var Agn,jgn,Mgn=s((()=>{B(),Agn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},jgn={render:kgn}})),Ngn=l({default:()=>Ign,render:()=>Pgn});function Pgn(e,t){return j(),M(`svg`,Fgn,[...t[0]||=[P(`path`,{d:`M104 40H56a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 64H56V56h48zm96-64h-48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 64h-48V56h48zm-96 32H56a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16m0 64H56v-48h48zm96-64h-48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16m0 64h-48v-48h48z`},null,-1)]])}var Fgn,Ign,Lgn=s((()=>{B(),Fgn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Ign={render:Pgn}})),Rgn=l({default:()=>Vgn,render:()=>zgn});function zgn(e,t){return j(),M(`svg`,Bgn,[...t[0]||=[P(`path`,{d:`M192 32H64a32 32 0 0 0-32 32v128a32 32 0 0 0 32 32h128a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32m16 160a16 16 0 0 1-16 16H64a16 16 0 0 1-16-16V64a16 16 0 0 1 16-16h128a16 16 0 0 1 16 16ZM104 92a12 12 0 1 1-12-12 12 12 0 0 1 12 12m36 36a12 12 0 1 1-12-12 12 12 0 0 1 12 12m36 36a12 12 0 1 1-12-12 12 12 0 0 1 12 12`},null,-1)]])}var Bgn,Vgn,Hgn=s((()=>{B(),Bgn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Vgn={render:zgn}})),Ugn=l({default:()=>Kgn,render:()=>Wgn});function Wgn(e,t){return j(),M(`svg`,Ggn,[...t[0]||=[P(`path`,{d:`m223.68 66.15-88-48.15a15.88 15.88 0 0 0-15.36 0l-88 48.17a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03M128 32l80.34 44L128 120 47.66 76ZM40 90l80 43.78v85.79l-80-43.75Zm96 129.57v-85.75L216 90v85.78Z`},null,-1)]])}var Ggn,Kgn,qgn=s((()=>{B(),Ggn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Kgn={render:Wgn}})),Jgn=l({default:()=>Zgn,render:()=>Ygn});function Ygn(e,t){return j(),M(`svg`,Xgn,[...t[0]||=[P(`path`,{d:`M128 128a8 8 0 0 1-3 6.25l-40 32a8 8 0 1 1-10-12.5L107.19 128 75 102.25a8 8 0 1 1 10-12.5l40 32a8 8 0 0 1 3 6.25m48 24h-40a8 8 0 0 0 0 16h40a8 8 0 0 0 0-16m56-96v144a16 16 0 0 1-16 16H40a16 16 0 0 1-16-16V56a16 16 0 0 1 16-16h176a16 16 0 0 1 16 16m-16 144V56H40v144z`},null,-1)]])}var Xgn,Zgn,Qgn=s((()=>{B(),Xgn={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Zgn={render:Ygn}})),$gn=l({default:()=>n_n,render:()=>e_n});function e_n(e,t){return j(),M(`svg`,t_n,[...t[0]||=[P(`path`,{d:`M104 216a16 16 0 1 1-16-16 16 16 0 0 1 16 16m88-16a16 16 0 1 0 16 16 16 16 0 0 0-16-16m47.71-125.86-25.64 92.28A24.06 24.06 0 0 1 191 184H92.16A24.06 24.06 0 0 1 69 166.42L33.92 40H16a8 8 0 0 1 0-16h24a8 8 0 0 1 7.71 5.86L57.19 64H232a8 8 0 0 1 7.71 10.14M221.47 80H61.64l22.81 82.14a8 8 0 0 0 7.71 5.86H191a8 8 0 0 0 7.71-5.86Z`},null,-1)]])}var t_n,n_n,r_n=s((()=>{B(),t_n={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},n_n={render:e_n}})),i_n=l({default:()=>s_n,render:()=>a_n});function a_n(e,t){return j(),M(`svg`,o_n,[...t[0]||=[P(`path`,{d:`M216 72h-35.08c.39-.33.79-.65 1.17-1A29.53 29.53 0 0 0 192 49.57 32.62 32.62 0 0 0 158.44 16 29.53 29.53 0 0 0 137 25.91a55 55 0 0 0-9 14.48 55 55 0 0 0-9-14.48A29.53 29.53 0 0 0 97.56 16 32.62 32.62 0 0 0 64 49.57 29.53 29.53 0 0 0 73.91 71c.38.33.78.65 1.17 1H40a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16v64a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16v-64a16 16 0 0 0 16-16V88a16 16 0 0 0-16-16m-67-35.49a13.7 13.7 0 0 1 10-4.5h.49A16.62 16.62 0 0 1 176 49.08a13.7 13.7 0 0 1-4.5 10c-9.49 8.4-25.24 11.36-35 12.4 1.2-10.59 4.5-25.98 12.5-34.97m-64.09.36A16.63 16.63 0 0 1 96.59 32h.49a13.7 13.7 0 0 1 10 4.5c8.39 9.48 11.35 25.2 12.39 34.92-9.72-1-25.44-4-34.92-12.39a13.7 13.7 0 0 1-4.5-10 16.6 16.6 0 0 1 4.82-12.16ZM40 88h80v32H40Zm16 48h64v64H56Zm144 64h-64v-64h64Zm16-80h-80V88h80z`},null,-1)]])}var o_n,s_n,c_n=s((()=>{B(),o_n={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},s_n={render:a_n}})),l_n=l({default:()=>f_n,render:()=>u_n});function u_n(e,t){return j(),M(`svg`,d_n,[...t[0]||=[P(`path`,{d:`m223.68 66.15-88-48.15a15.88 15.88 0 0 0-15.36 0l-88 48.17a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03M128 32l80.34 44-29.77 16.3-80.35-44Zm0 88L47.66 76l33.9-18.56 80.34 44ZM40 90l80 43.78v85.79l-80-43.75Zm176 85.78-80 43.79v-85.75l32-17.51V152a8 8 0 0 0 16 0v-44.45L216 90v85.77Z`},null,-1)]])}var d_n,f_n,p_n=s((()=>{B(),d_n={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},f_n={render:u_n}})),m_n=l({default:()=>__n,render:()=>h_n});function h_n(e,t){return j(),M(`svg`,g_n,[...t[0]||=[P(`path`,{d:`M232 208h-18.31L153.42 34.75A16 16 0 0 0 138.31 24h-20.62a16 16 0 0 0-15.11 10.74L42.31 208H24a8 8 0 0 0 0 16h208a8 8 0 0 0 0-16M95.43 104h65.14l16.7 48H78.73Zm22.26-64h20.62L155 88h-54ZM73.17 168h109.66l13.92 40H59.25Z`},null,-1)]])}var g_n,__n,v_n=s((()=>{B(),g_n={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},__n={render:h_n}})),y_n=l({default:()=>S_n,render:()=>b_n});function b_n(e,t){return j(),M(`svg`,x_n,[...t[0]||=[P(`path`,{d:`M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m88 104a87.6 87.6 0 0 1-6.4 32.94l-44.7-27.49a15.9 15.9 0 0 0-6.24-2.23l-22.82-3.08a16.11 16.11 0 0 0-16 7.86h-8.72l-3.8-7.86a15.91 15.91 0 0 0-11-8.67l-8-1.73L96.14 104h16.71a16.06 16.06 0 0 0 7.73-2l12.25-6.76a16.6 16.6 0 0 0 3-2.14l26.91-24.34A15.93 15.93 0 0 0 166 49.1l-.36-.65A88.11 88.11 0 0 1 216 128m-72.69-86.66L152 56.9l-26.91 24.34L112.85 88H96.14a16 16 0 0 0-13.88 8l-8.73 15.23-10.15-27.04 10.94-25.87a87.87 87.87 0 0 1 69-17ZM40 128a87.5 87.5 0 0 1 8.54-37.8l11.34 30.27a16 16 0 0 0 11.62 10l21.43 4.61 3.81 7.92a16.09 16.09 0 0 0 14.4 9h1.48l-7.23 16.23a16 16 0 0 0 2.86 17.37l.14.14 19.61 20.2-1.94 10A88.11 88.11 0 0 1 40 128m102.58 86.78 1.13-5.81a16.09 16.09 0 0 0-4-13.9 2 2 0 0 1-.14-.14L120 174.74 133.7 144l22.82 3.08 45.72 28.12a88.18 88.18 0 0 1-59.66 39.58`},null,-1)]])}var x_n,S_n,C_n=s((()=>{B(),x_n={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},S_n={render:b_n}}));async function w_n(e){let t=_2.get(e);if(t)return t;let n=h2[`./icons/${e}.svg`];if(!n)return;let r=await n(),i=fte(r.default??r);return _2.set(e,i),i}var h2,g2,_2,T_n=s((()=>{Bln(),B(),h2=Object.assign({"./icons/basic-shape-diamond.svg":()=>Promise.resolve().then(()=>(Gln(),Vln)),"./icons/basic-shape-hexagon.svg":()=>Promise.resolve().then(()=>(Xln(),Kln)),"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>Promise.resolve().then(()=>(tun(),Zln)),"./icons/basic-shape-primary-square-rectangle.svg":()=>Promise.resolve().then(()=>(oun(),nun)),"./icons/basic-shape-shield.svg":()=>Promise.resolve().then(()=>(dun(),sun)),"./icons/computer-device-desktop-monitor.svg":()=>Promise.resolve().then(()=>(gun(),fun)),"./icons/computer-device-desktop.svg":()=>Promise.resolve().then(()=>(xun(),_un)),"./icons/computer-device-laptop.svg":()=>Promise.resolve().then(()=>(Eun(),Sun)),"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>Promise.resolve().then(()=>(jun(),Dun)),"./icons/computer-device-mobile-phone-android-samsung.svg":()=>Promise.resolve().then(()=>(Iun(),Mun)),"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>Promise.resolve().then(()=>(Vun(),Lun)),"./icons/computer-device-mobile-phone-iphone-x.svg":()=>Promise.resolve().then(()=>(Kun(),Hun)),"./icons/computer-device-mobile-tablet-touch.svg":()=>Promise.resolve().then(()=>(Zun(),qun)),"./icons/computer-device-mobile-tablet.svg":()=>Promise.resolve().then(()=>(ndn(),Qun)),"./icons/computer-device-network-ethernet-cat6.svg":()=>Promise.resolve().then(()=>(sdn(),rdn)),"./icons/computer-device-network-lan-www.svg":()=>Promise.resolve().then(()=>(fdn(),cdn)),"./icons/computer-device-network-wifi-connection.svg":()=>Promise.resolve().then(()=>(_dn(),pdn)),"./icons/computer-device-network-wifi-router.svg":()=>Promise.resolve().then(()=>(Sdn(),vdn)),"./icons/ecology-science-erlenmeyer-flask.svg":()=>Promise.resolve().then(()=>(Ddn(),Cdn)),"./icons/image-flash-lightning.svg":()=>Promise.resolve().then(()=>(Mdn(),Odn)),"./icons/image-picture-flower.svg":()=>Promise.resolve().then(()=>(Ldn(),Ndn)),"./icons/interface-alert-exclamation-diamond.svg":()=>Promise.resolve().then(()=>(Hdn(),Rdn)),"./icons/interface-alert-exclamation-triangle-warning.svg":()=>Promise.resolve().then(()=>(qdn(),Udn)),"./icons/interface-alert-information-circle.svg":()=>Promise.resolve().then(()=>(Qdn(),Jdn)),"./icons/interface-award-crown.svg":()=>Promise.resolve().then(()=>(rfn(),$dn)),"./icons/interface-bookmark-tag.svg":()=>Promise.resolve().then(()=>(cfn(),ifn)),"./icons/interface-bookmark.svg":()=>Promise.resolve().then(()=>(pfn(),lfn)),"./icons/interface-calendar-date-one.svg":()=>Promise.resolve().then(()=>(vfn(),mfn)),"./icons/interface-content-book-open-pages.svg":()=>Promise.resolve().then(()=>(Cfn(),yfn)),"./icons/interface-content-book-page.svg":()=>Promise.resolve().then(()=>(Ofn(),wfn)),"./icons/interface-content-file.svg":()=>Promise.resolve().then(()=>(Nfn(),kfn)),"./icons/interface-content-folder.svg":()=>Promise.resolve().then(()=>(Bln(),Rln)),"./icons/interface-copy-clipboard.svg":()=>Promise.resolve().then(()=>(Rfn(),Pfn)),"./icons/interface-edit-attachment.svg":()=>Promise.resolve().then(()=>(Ufn(),zfn)),"./icons/interface-edit-binocular.svg":()=>Promise.resolve().then(()=>(Jfn(),Wfn)),"./icons/interface-edit-magic-wand.svg":()=>Promise.resolve().then(()=>($fn(),Yfn)),"./icons/interface-edit-tool-paint-roller.svg":()=>Promise.resolve().then(()=>(ipn(),epn)),"./icons/interface-edit-tool-pencil.svg":()=>Promise.resolve().then(()=>(lpn(),apn)),"./icons/interface-favorite-award.svg":()=>Promise.resolve().then(()=>(mpn(),upn)),"./icons/interface-favorite-flag.svg":()=>Promise.resolve().then(()=>(ypn(),hpn)),"./icons/interface-favorite-heart.svg":()=>Promise.resolve().then(()=>(wpn(),bpn)),"./icons/interface-favorite-star.svg":()=>Promise.resolve().then(()=>(kpn(),Tpn)),"./icons/interface-favorite-stars-sparkles.svg":()=>Promise.resolve().then(()=>(Ppn(),Apn)),"./icons/interface-hierarchy-flowchart.svg":()=>Promise.resolve().then(()=>(zpn(),Fpn)),"./icons/interface-home-house.svg":()=>Promise.resolve().then(()=>(Wpn(),Bpn)),"./icons/interface-hyperlink.svg":()=>Promise.resolve().then(()=>(Ypn(),Gpn)),"./icons/interface-lighting-brightness.svg":()=>Promise.resolve().then(()=>(emn(),Xpn)),"./icons/interface-lock-closed.svg":()=>Promise.resolve().then(()=>(amn(),tmn)),"./icons/interface-lock-open-unlock.svg":()=>Promise.resolve().then(()=>(umn(),omn)),"./icons/interface-login-key.svg":()=>Promise.resolve().then(()=>(hmn(),dmn)),"./icons/interface-search.svg":()=>Promise.resolve().then(()=>(bmn(),gmn)),"./icons/interface-setting-cog.svg":()=>Promise.resolve().then(()=>(Tmn(),xmn)),"./icons/interface-share-megaphone-bullhorn.svg":()=>Promise.resolve().then(()=>(Amn(),Emn)),"./icons/interface-share-rocket.svg":()=>Promise.resolve().then(()=>(Fmn(),jmn)),"./icons/interface-share-satellite.svg":()=>Promise.resolve().then(()=>(Bmn(),Imn)),"./icons/interface-share-space-ship.svg":()=>Promise.resolve().then(()=>(Gmn(),Vmn)),"./icons/interface-share.svg":()=>Promise.resolve().then(()=>(Xmn(),Kmn)),"./icons/interface-signal-square.svg":()=>Promise.resolve().then(()=>(thn(),Zmn)),"./icons/interface-time-clock-circle.svg":()=>Promise.resolve().then(()=>(ohn(),nhn)),"./icons/interface-time-hour-glass.svg":()=>Promise.resolve().then(()=>(dhn(),shn)),"./icons/interface-users-multiple.svg":()=>Promise.resolve().then(()=>(ghn(),fhn)),"./icons/interface-weather-moon.svg":()=>Promise.resolve().then(()=>(xhn(),_hn)),"./icons/mail-chat-bubble-square.svg":()=>Promise.resolve().then(()=>(Ehn(),Shn)),"./icons/mail-send-email-paper-airplane.svg":()=>Promise.resolve().then(()=>(jhn(),Dhn)),"./icons/mail-send-envelope.svg":()=>Promise.resolve().then(()=>(Ihn(),Mhn)),"./icons/money-cashier-receipt.svg":()=>Promise.resolve().then(()=>(Vhn(),Lhn)),"./icons/money-currency-dollar-pay.svg":()=>Promise.resolve().then(()=>(Khn(),Hhn)),"./icons/money-graph-arrow-increase.svg":()=>Promise.resolve().then(()=>(Zhn(),qhn)),"./icons/money-graph-bar-chart-increase.svg":()=>Promise.resolve().then(()=>(ngn(),Qhn)),"./icons/nature-ecology-leaf.svg":()=>Promise.resolve().then(()=>(sgn(),rgn)),"./icons/phone-telephone.svg":()=>Promise.resolve().then(()=>(fgn(),cgn)),"./icons/programming-bug.svg":()=>Promise.resolve().then(()=>(_gn(),pgn)),"./icons/programming-cloud.svg":()=>Promise.resolve().then(()=>(Sgn(),vgn)),"./icons/programming-computer-database-server.svg":()=>Promise.resolve().then(()=>(Dgn(),Cgn)),"./icons/programming-computer-database.svg":()=>Promise.resolve().then(()=>(Mgn(),Ogn)),"./icons/programming-module-four-layout.svg":()=>Promise.resolve().then(()=>(Lgn(),Ngn)),"./icons/programming-module-three.svg":()=>Promise.resolve().then(()=>(Hgn(),Rgn)),"./icons/programming-module.svg":()=>Promise.resolve().then(()=>(qgn(),Ugn)),"./icons/programming-script-code.svg":()=>Promise.resolve().then(()=>(Qgn(),Jgn)),"./icons/shopping-cart.svg":()=>Promise.resolve().then(()=>(r_n(),$gn)),"./icons/shopping-gift-present.svg":()=>Promise.resolve().then(()=>(c_n(),i_n)),"./icons/shopping-shipping-box-parcel-package.svg":()=>Promise.resolve().then(()=>(p_n(),l_n)),"./icons/tag-new-circle.svg":()=>Promise.resolve().then(()=>(v_n(),m_n)),"./icons/travel-map-earth-globe.svg":()=>Promise.resolve().then(()=>(C_n(),y_n))}),g2=Object.assign({"./icons/interface-content-folder.svg":p2})[`./icons/interface-content-folder.svg`],Object.keys(h2).map(e=>e.replace(`./icons/`,``).replace(`.svg`,``)).map(e=>({src:e,title:e.replaceAll(`-`,` `),tags:[]})),_2=new Map,g2?.default&&_2.set(`interface-content-folder`,fte(g2.default))})),E_n,D_n=s((()=>{T_n(),B(),E_n=k({__name:`LibraryIcon`,props:{src:{}},setup(e){let t=e,n=Cn();return ur(async()=>{n.value=await w_n(t.src)}),(e,t)=>n.value?(j(),N(Ar(n.value),{key:0})):I(``,!0)}})})),O_n,k_n=s((()=>{D_n(),O_n=E_n})),A_n=s((()=>{k_n()})),j_n,M_n,N_n,P_n=s((()=>{t2(),kln(),Aln(),Mln(),bln(),Tln(),Fln(),B(),u2(),A_n(),j_n={key:0,class:`line-through`},M_n={key:0,class:`line-through`},N_n=k({__name:`SidebarItem`,props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:[`selectItem`,`onDragEnd`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=Pr(),i=e=>`isGroup`in e&&e.isGroup,a=e=>(`isDeprecated`in e&&e.isDeprecated)??!1,o=(e,t)=>{n(`onDragEnd`,e,t)},{draggableAttrs:s,draggableEvents:c}=_ln({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:o}),l=z(()=>s2(e.item)?e2(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]),u=z(()=>e.isSelected(e.item.id)&&!(s2(e.item)&&e.item.children.some(t=>e.isSelected(t.id)))),d=z(()=>e.getHref?.(e.item)||void 0),f=z(()=>!!d.value||e.layout===`reference`&&e.item.type===`text`),p=t=>{let n=t?e.options?.labels?.closeGroup??`Close Group`:e.options?.labels?.openGroup??`Open Group`;return e.item.title?`${n} - ${e.item.title}`:n},m=t=>{if(d.value){if((t.target instanceof Element?t.target.closest(`a`):null)?.getAttribute(`href`)!==d.value||t.defaultPrevented||!l2(t))return;t.preventDefault()}n(`selectItem`,e.item.id)};return(t,h)=>{let g=kr(`SidebarItem`,!0);return e.layout===`client`&&l.value.length>0&&i(e.item)?(j(),N(D(Z0),oi({key:0,"data-sidebar-id":e.item.id},D(s),Nr(D(c))),{items:O(()=>[(j(!0),M(L,null,jr(l.value,i=>(j(),N(g,{key:i.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,onOnDragEnd:o,onSelectItem:h[0]||=e=>n(`selectItem`,e),onToggleGroup:h[1]||=e=>n(`toggleGroup`,e)},Mr({_:2},[r.decorator?{name:`decorator`,fn:O(e=>[A(t.$slots,`decorator`,oi({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:O(e=>[A(t.$slots,`empty`,oi({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:O(e=>[A(t.$slots,`icon`,oi({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`getHref`,`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),default:O(()=>[F(T(e.item.title)+` `,1)]),_:3},16,[`data-sidebar-id`])):D(jln)(e.layout,e.item,r.empty!==void 0,e.options?.hideOperationDefaultExamples??!1)?(j(),N(D(Lcn),oi({key:1,active:e.isSelected(e.item.id),class:`relative`,controlled:``,"data-sidebar-id":e.item.id},D(s),{discrete:f.value,open:e.isExpanded(e.item.id)},Nr(D(c))),Mr({button:O(({open:i,level:o})=>[R(D(R0),{is:d.value?`a`:`button`,active:e.isSelected(e.item.id),"aria-current":u.value?`page`:void 0,"aria-expanded":f.value?void 0:i,href:d.value,indent:o,onClick:m},Mr({indent:O(()=>[R(D(I0),{class:`-my-2 mr-0`,indent:o},null,8,[`indent`])]),aside:O(()=>[`method`in e.item?(j(),N(a2,{key:0,active:e.isSelected(e.item.id),class:lt([`ml-2 h-4 self-start`,{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`label`,`method`,`webhook`])):I(``,!0),f.value?(j(),N(D(W0),{key:1})):`method`in e.item?I(``,!0):(j(),N(D(V0),{key:2,class:`text-sidebar-c-2`,open:i},{label:O(()=>[F(T(i?e.options?.labels?.closeGroup??`Close Group`:e.options?.labels?.openGroup??`Open Group`),1)]),_:2},1032,[`open`]))]),default:O(()=>[a(e.item)?(j(),M(`span`,j_n,[R(c2,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(j(),N(c2,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[e.item.type===`document`?{name:`icon`,fn:O(()=>[A(t.$slots,`icon`,{item:e.item,open:i},()=>[R(D(O_n),{class:`block`,src:`icon`in e.item&&e.item.icon||`interface-content-folder`},null,8,[`src`])])]),key:`0`}:void 0]),1032,[`is`,`active`,`aria-current`,`aria-expanded`,`href`,`indent`]),f.value?(j(),N(D(U0),{key:0,open:i,onClick:h[2]||=()=>n(`toggleGroup`,e.item.id)},{label:O(()=>[F(T(p(i)),1)]),_:2},1032,[`open`])):I(``,!0)]),items:O(()=>[(j(!0),M(L,null,jr(l.value,i=>(j(),N(g,{key:i.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:o,onSelectItem:h[3]||=e=>n(`selectItem`,e),onToggleGroup:h[4]||=e=>n(`toggleGroup`,e)},Mr({_:2},[r.decorator?{name:`decorator`,fn:O(e=>[A(t.$slots,`decorator`,oi({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:O(e=>[A(t.$slots,`empty`,oi({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:O(e=>[A(t.$slots,`icon`,oi({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`getHref`,`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128)),r.empty&&(e.item.children?.length??0)===0?A(t.$slots,`empty`,{item:e.item},void 0,void 0,0):I(``,!0)]),_:2},[r.decorator?{name:`after`,fn:O(()=>[R(o2,null,{default:O(()=>[A(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`0`}:void 0]),1040,[`active`,`data-sidebar-id`,`discrete`,`open`])):(j(),N(D(J0),oi({key:2},D(s),{class:`relative`,"data-sidebar-id":e.item.id},Nr(D(c)),{onClick:m}),Mr({button:O(({level:n})=>[R(D(R0),{is:d.value?`a`:`button`,href:d.value,indent:n,selected:e.isSelected(e.item.id)},Mr({default:O(()=>[a(e.item)?(j(),M(`span`,M_n,[R(c2,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(j(),N(c2,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[r.icon?{name:`icon`,fn:O(()=>[A(t.$slots,`icon`,{item:e.item,open:!0})]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:O(()=>[R(a2,{active:e.isSelected(e.item.id),class:lt([`ml-2 h-4 self-start`,{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`label`,`method`,`webhook`])]),key:`1`}:void 0]),1032,[`is`,`href`,`indent`,`selected`])]),_:2},[r.decorator?{name:`after`,fn:O(()=>[R(o2,null,{default:O(()=>[A(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`0`}:void 0]),1040,[`data-sidebar-id`]))}}})})),F_n,I_n=s((()=>{P_n(),F_n=N_n})),L_n,R_n=s((()=>{t2(),I_n(),B(),Q0(),L_n=k({__name:`ScalarSidebar`,props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:[`reorder`,`selectItem`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=Pr(),i=(e,t)=>{n(`reorder`,e,t)};return(t,a)=>(j(),N(D(ecn),{class:`flex min-h-0 flex-col`,style:ct({"--scalar-sidebar-indent":e.indent+`px`})},{default:O(()=>[A(t.$slots,`header`),A(t.$slots,`default`,{},()=>[R(D(Wcn),{class:`custom-scroll`},{default:O(()=>[A(t.$slots,`before`),(j(!0),M(L,null,jr(D(e2)(e.layout,e.items),o=>(j(),N(F_n,{key:o.id,getHref:e.getHref,isDraggable:e.isDraggable??e.layout===`client`,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:o,layout:e.layout,options:e.options,onOnDragEnd:i,onSelectItem:a[0]||=e=>n(`selectItem`,e),onToggleGroup:a[1]||=e=>n(`toggleGroup`,e)},Mr({_:2},[r.decorator?{name:`decorator`,fn:O(e=>[A(t.$slots,`decorator`,oi({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:O(e=>[A(t.$slots,`empty`,oi({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:O(e=>[A(t.$slots,`icon`,oi({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`getHref`,`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),_:3}),A(t.$slots,`spacer`,{},()=>[a[2]||=P(`div`,{class:`flex-1`},null,-1)])]),A(t.$slots,`footer`)]),_:3},8,[`style`]))}})})),v2,z_n=s((()=>{R_n(),v2=L_n})),y2,B_n=s((()=>{y2=({items:e,nestedKey:t=`children`,filter:n=()=>!0,getId:r=e=>e.id})=>{let i=new Map,a=e=>{n(e)&&i.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach(t=>a({...t,parent:e}))};return e.forEach(a),i}})),b2,V_n=s((()=>{B_n(),B(),b2=(e,t)=>{let n=z(()=>y2({items:wn(e),nestedKey:t?.key??`children`})),r=E({}),i=E({}),a=E(null);return{items:z(()=>wn(e)),index:n,selectedItems:r,expandedItems:i,selectedItem:a,setSelected:e=>{let i=e=>{e&&(r.value[e.id]=!0,`parent`in e&&e.parent&&i(e.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),r.value={},a.value=e,e!==null&&i(n.value.get(e)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{let a=e=>{e&&(i.value[e.id]=!0,`parent`in e&&e.parent&&a(e.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),r===!1?i.value[e]=!1:a(n.value.get(e)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>i.value[e]??!1,isSelected:e=>r.value[e]??!1,getEntryById:e=>n.value.get(e),reset:()=>{r.value={},i.value={}}}}})),x2,H_n=s((()=>{x2=(e,t)=>{if(t.type===e)return t;if(`children`in t)for(let n of t.children??[]){let t=x2(e,n);if(t)return t}return null}})),U_n,W_n,G_n,K_n,q_n,J_n=s((()=>{U_n=100,W_n=e=>{if(window.getComputedStyle(e).display!==`contents`)return e;for(let t of e.children)if(t instanceof HTMLElement&&t.offsetParent!==null)return t;return e},G_n=e=>e.dataset.sidebarType===`heading`?e.querySelector(`.sidebar-heading`)?.offsetHeight??0:0,K_n=(e,t)=>{let n=e.offsetTop,r=e.offsetParent;for(;r&&r!==t;)n+=r.offsetTop,r=r.offsetParent;return n},q_n=(e,t=U_n)=>{if(typeof window>`u`)return;let n=document.querySelector(`[data-sidebar-id="${e}"]`),r=n?.closest(`.custom-scroll, .custom-scrollbar`)??null;if(!n||!r)return;let i=K_n(W_n(n),r)+G_n(n)-t;r.scrollTo({top:i>0?i:0})}})),S2=s((()=>{hln(),t2(),z_n(),B_n(),V_n(),H_n(),J_n()}));S2();var Y_n=`/* Inter (--scalar-font) *//* cyrillic-ext */
+@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;
+}
+/* cyrillic */
+@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;
+}
+/* greek-ext */
+@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;
+}
+/* greek */
+@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;
+}
+/* vietnamese */
+@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;
+}
+/* latin-ext */
+@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;
+}
+/* latin */
+@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;
+}
+
+/* keyboard symbols (←↑→↓↵⇧⇪⌘⌥) */
+@font-face {
+ font-family: "Inter";
+ font-style: normal;
+ font-weight: 100 900;
+ font-display: swap;
+ src: url(https://fonts.scalar.com/inter-symbols.woff2) format("woff2");
+ unicode-range: U+2190-2193, U+21B5, U+21E7, U+21EA, U+2318, U+2325;
+}
+/* JetBrains Mono (--scalar-font-code) */
+/* cyrillic-ext */
+@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;
+}
+/* cyrillic */
+@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;
+}
+/* greek */
+@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;
+}
+/* vietnamese */
+@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;
+}
+/* latin-ext */
+@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;
+}
+/* latin */
+@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;
+}
+`,X_n=`/* basic theme */
+:root,
+:host {
+ --scalar-text-decoration: underline;
+ --scalar-text-decoration-hover: underline;
+}
+
+.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, 0.9);
+ --scalar-color-2: rgba(255, 255, 255, 0.62);
+ --scalar-color-3: rgba(255, 255, 255, 0.44);
+
+ --scalar-color-accent: var(--scalar-color-1);
+ --scalar-background-accent: var(--scalar-background-3);
+
+ --scalar-border-color: #2a2b2a;
+}
+
+.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: #1b1b1b;
+ --scalar-color-2: #6d6d6d;
+ --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, 0.1);
+}
+
+/* Document Sidebar */
+.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);
+ --scalar-color-query: 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-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);
+}
+/* advanced */
+.light-mode .dark-mode,
+.light-mode {
+ --scalar-color-green: #069061;
+ --scalar-color-red: #ef0006;
+ --scalar-color-yellow: #edbe20;
+ --scalar-color-blue: #0071bb;
+ --scalar-color-orange: #fb892c;
+ --scalar-color-purple: #5203d1;
+ --scalar-color-query: #007b80;
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+}
+/* biome-ignore lint/style/noDescendingSpecificity: Nested light-mode scopes override this palette by specificity; retain the cascade for elements with both mode classes. */
+.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-color-query: #65d4cf;
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.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);
+}
+
+.light-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);
+}
+.dark-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);
+}
+`,Z_n=`/* basic theme */
+:root,
+:host {
+ --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(213 213 213);
+
+ --scalar-color-1: rgb(9, 9, 11);
+ --scalar-color-2: rgb(105, 105, 112);
+ --scalar-color-3: rgba(25, 25, 28, 0.5);
+
+ --scalar-color-accent: var(--scalar-color-1);
+ --scalar-background-accent: #8ab4f81f;
+}
+.light-mode .scalar-card.dark-mode,
+.dark-mode {
+ --scalar-background-1: #000e23;
+ --scalar-background-2: #01132e;
+ --scalar-background-3: #03193b;
+ --scalar-border-color: #2e394c;
+
+ --scalar-color-1: #fafafa;
+ --scalar-color-2: rgb(161, 161, 170);
+ --scalar-color-3: rgba(255, 255, 255, 0.533);
+
+ --scalar-color-accent: var(--scalar-color-1);
+ --scalar-background-accent: #8ab4f81f;
+
+ --scalar-code-language-color-supersede: var(--scalar-color-1);
+}
+/* Document Sidebar */
+.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, 0.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;
+}
+/* advanced */
+.light-mode {
+ --scalar-color-green: #069061;
+ --scalar-color-red: #ef0006;
+ --scalar-color-yellow: #edbe20;
+ --scalar-color-blue: #006db5;
+ --scalar-color-orange: #fb892c;
+ --scalar-color-purple: #5203d1;
+ --scalar-color-query: #007b80;
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+}
+.dark-mode {
+ --scalar-color-green: rgba(69, 255, 165, 0.823);
+ --scalar-color-red: #ff8589;
+ --scalar-color-yellow: #ffcc4d;
+ --scalar-color-blue: #6bc1fe;
+ --scalar-color-orange: #f98943;
+ --scalar-color-purple: #b191f9;
+ --scalar-color-query: #79e2da;
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.9);
+ --scalar-button-1-color: black;
+}
+/* Custom theme */
+/* Document header */
+@keyframes headerbackground {
+ from {
+ background: transparent;
+ backdrop-filter: none;
+ }
+ to {
+ background: var(--scalar-header-background-1);
+ backdrop-filter: blur(12px);
+ }
+}
+
+.light-mode .t-doc__header,
+.dark-mode .t-doc__header {
+ animation: headerbackground forwards;
+ animation-timeline: scroll();
+ animation-range: 0px 200px;
+}
+
+/* Document Layout */
+.dark-mode .t-doc .layout-content {
+ background: transparent;
+}
+
+.dark-mode h2.t-editor__heading,
+.dark-mode .t-editor__page-title h1,
+.dark-mode h1.section-header:not(::selection),
+.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, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
+ -webkit-background-clip: text;
+ background-clip: text;
+}
+/* Hero Section Flare */
+.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: 0.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%;
+ 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;
+ overflow-x: hidden;
+}
+.light-mode .section-flare {
+ display: none;
+}
+.light-mode .scalar-card {
+ --scalar-background-1: #fff;
+ --scalar-background-2: #fff;
+ --scalar-background-3: #fff;
+}
+
+*::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 60%);
+}
+
+@media (max-width: 1000px) {
+ .light-mode .t-doc__sidebar,
+ .dark-mode .t-doc__sidebar {
+ --scalar-sidebar-background-1: var(--scalar-background-1);
+ }
+ .light-mode .t-doc__header,
+ .dark-mode .t-doc__header {
+ animation: none;
+ background: var(--scalar-header-background-1);
+ backdrop-filter: blur(12px);
+ }
+}
+`,Q_n=`/* basic theme */
+:root,
+:host {
+ --scalar-text-decoration: underline;
+ --scalar-text-decoration-hover: underline;
+}
+.light-mode {
+ --scalar-color-1: rgb(9, 9, 11);
+ --scalar-color-2: rgb(109, 109, 117);
+ --scalar-color-3: rgba(25, 25, 28, 0.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, 0.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, 0.16);
+ --scalar-code-language-color-supersede: var(--scalar-color-1);
+}
+
+/* Document Sidebar */
+.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);
+}
+/* advanced */
+.light-mode {
+ --scalar-color-green: #069061;
+ --scalar-color-red: #ef0006;
+ --scalar-color-yellow: #edbe20;
+ --scalar-color-blue: #0072bd;
+ --scalar-color-orange: #fb892c;
+ --scalar-color-purple: #5203d1;
+ --scalar-color-query: #007b80;
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+}
+.dark-mode {
+ --scalar-color-green: rgba(69, 255, 165, 0.823);
+ --scalar-color-red: #ff8589;
+ --scalar-color-yellow: #ffcc4d;
+ --scalar-color-blue: #6bc1fe;
+ --scalar-color-orange: #f98943;
+ --scalar-color-purple: #b191f9;
+ --scalar-color-query: #79e2da;
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.9);
+ --scalar-button-1-color: black;
+}
+/* Custom theme */
+.dark-mode h2.t-editor__heading,
+.dark-mode .t-editor__page-title h1,
+.dark-mode h1.section-header:not(::selection),
+.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, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
+ -webkit-background-clip: text;
+ background-clip: text;
+}
+.examples .scalar-card-footer {
+ --scalar-background-3: transparent;
+ padding-top: 0;
+}
+/* Hero section flare */
+.section-flare {
+ width: 100vw;
+ height: 550px;
+ position: absolute;
+}
+.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: 0.07;
+}
+.dark-mode .section-flare-item:nth-of-type(1) {
+ background-image: var(--stripesDark), var(--rainbow);
+ filter: opacity(50%) saturate(200%);
+ opacity: 0.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;
+ mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
+ opacity: 0.2;
+}
+.light-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);
+}
+.dark-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);
+}
+
+/* document header */
+.light-mode .t-doc__header,
+.dark-mode .t-doc__header {
+ animation: headerbackground forwards;
+ animation-timeline: scroll();
+ animation-range: 0px 200px;
+}
+@keyframes headerbackground {
+ from {
+ background: transparent;
+ backdrop-filter: none;
+ }
+ to {
+ background: var(--scalar-header-background-1);
+ backdrop-filter: blur(12px);
+ }
+}
+/* remove flare on safari to prevent dropped frames on scroll */
+@supports (-webkit-hyphens: none) {
+ .section-flare {
+ display: none;
+ }
+}
+
+/* document background */
+.light-mode .t-doc .layout-content,
+.dark-mode .t-doc .layout-content {
+ background: transparent;
+}
+`,$_n=`/* basic theme */
+:root,
+:host {
+ --scalar-text-decoration: underline;
+ --scalar-text-decoration-hover: underline;
+}
+.light-mode {
+ --scalar-background-1: #fff;
+ --scalar-background-2: #f6f6f6;
+ --scalar-background-3: #e7e7e7;
+ --scalar-background-accent: #8ab4f81f;
+
+ --scalar-color-1: #1b1b1b;
+ --scalar-color-2: #707070;
+ --scalar-color-3: #8e8e8e;
+
+ --scalar-color-accent: #0099ff;
+ --scalar-border-color: #dfdfdf;
+}
+.dark-mode {
+ --scalar-background-1: #0f0f0f;
+ --scalar-background-2: #1a1a1a;
+ --scalar-background-3: #272727;
+
+ --scalar-color-1: #e7e7e7;
+ --scalar-color-2: #a4a4a4;
+ --scalar-color-3: #797979;
+
+ --scalar-color-accent: #00aeff;
+ --scalar-background-accent: #3ea6ff1f;
+
+ --scalar-border-color: #2d2d2d;
+}
+/* Document Sidebar */
+.light-mode,
+.dark-mode {
+ --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: var(--scalar-sidebar-color-2);
+
+ --scalar-sidebar-item-active-background: var(--scalar-background-2);
+ --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);
+
+ --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);
+
+ --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));
+ --scalar-sidebar-search-color: var(--scalar-color-3);
+ --scalar-sidebar-search-border-color: var(--scalar-border-color);
+}
+/* advanced */
+.light-mode {
+ --scalar-color-green: #069061;
+ --scalar-color-red: #ef0006;
+ --scalar-color-yellow: #edbe20;
+ --scalar-color-blue: #0072bd;
+ --scalar-color-orange: #ff5800;
+ --scalar-color-purple: #5203d1;
+ --scalar-color-query: #007b80;
+
+ --scalar-link-color: var(--scalar-color-1);
+ --scalar-link-color-hover: var(--scalar-link-color);
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+
+ --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), transparent 10%);
+ --scalar-tooltip-color: var(--scalar-color-1);
+
+ --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);
+ --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);
+
+ --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);
+ --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);
+}
+.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-color-query: #65d4cf;
+
+ --scalar-link-color: var(--scalar-color-1);
+ --scalar-link-color-hover: var(--scalar-link-color);
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.9);
+ --scalar-button-1-color: black;
+
+ --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);
+ --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);
+
+ --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);
+
+ --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);
+ --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);
+}
+@supports (color: color(display-p3 1 1 1)) {
+ .light-mode {
+ --scalar-color-accent: color(display-p3 0 0.6 1 / 1);
+ --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);
+ --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);
+ --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);
+ --scalar-color-blue: color(display-p3 0 0.447059 0.741176 / 1);
+ --scalar-color-orange: color(display-p3 1 0.4 0.02);
+ --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);
+ }
+ .dark-mode {
+ --scalar-color-accent: color(display-p3 0.07 0.67 1);
+ --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);
+ --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);
+ --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);
+ --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);
+ --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);
+ --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);
+ }
+}
+`,evn=`.light-mode {
+ --scalar-color-1: #1b1b1b;
+ --scalar-color-2: #707070;
+ --scalar-color-3: #8e8e8e;
+ --scalar-color-accent: #f06292;
+
+ --scalar-background-1: #fff;
+ --scalar-background-2: #f6f6f6;
+ --scalar-background-3: #e7e7e7;
+
+ --scalar-border-color: rgba(0, 0, 0, 0.1);
+}
+.dark-mode {
+ --scalar-color-1: rgba(255, 255, 255, 0.9);
+ --scalar-color-2: rgba(156, 163, 175, 1);
+ --scalar-color-3: rgba(255, 255, 255, 0.44);
+ --scalar-color-accent: #f06292;
+
+ --scalar-background-1: #111728;
+ --scalar-background-2: #1e293b;
+ --scalar-background-3: #334155;
+ --scalar-background-accent: #f062921f;
+
+ --scalar-border-color: rgba(255, 255, 255, 0.1);
+}
+
+/* Document Sidebar */
+.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: #f062921f;
+ --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);
+}
+
+/* advanced */
+.light-mode {
+ --scalar-button-1: rgb(49 53 56);
+ --scalar-button-1-color: #fff;
+ --scalar-button-1-hover: rgb(28 31 33);
+
+ --scalar-color-green: #069061;
+ --scalar-color-red: #ef0006;
+ --scalar-color-yellow: #edbe20;
+ --scalar-color-blue: #0072bd;
+ --scalar-color-orange: #fb892c;
+ --scalar-color-purple: #5203d1;
+ --scalar-color-query: #007b80;
+
+ --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
+ --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
+}
+.dark-mode {
+ --scalar-button-1: #f6f6f6;
+ --scalar-button-1-color: #000;
+ --scalar-button-1-hover: #e7e7e7;
+
+ --scalar-color-green: #a3ffa9;
+ --scalar-color-red: #ffa3a3;
+ --scalar-color-yellow: #fffca3;
+ --scalar-color-blue: #a5d6ff;
+ --scalar-color-orange: #e2ae83;
+ --scalar-color-purple: #d2a8ff;
+ --scalar-color-query: #a5f3df;
+
+ --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
+ --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
+}
+.section-flare {
+ width: 100%;
+ height: 400px;
+ position: absolute;
+}
+.section-flare-item:first-of-type:before {
+ content: "";
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ --stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 0%, transparent 2%, transparent 12%, #fff 17%);
+ --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 0%, transparent 10%, transparent 12%, #000 17%);
+ --rainbow: repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 16%, #5eead4 22%, #60a5fa 30%);
+ contain: strict;
+ contain-intrinsic-size: 100vw 40vh;
+ background-image: var(--stripesDark), var(--rainbow);
+ background-size: 300%, 200%;
+ background-position:
+ 50% 50%,
+ 50% 50%;
+ filter: opacity(20%) saturate(200%);
+ -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;
+}
+.section-flare-item:first-of-type:after {
+ content: "";
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ background-image: var(--stripes), var(--rainbow);
+ background-size: 200%, 100%;
+ background-attachment: fixed;
+ mix-blend-mode: difference;
+ background-image: var(--stripesDark), var(--rainbow);
+ pointer-events: none;
+}
+.light-mode .section-flare-item:first-of-type:after,
+.light-mode .section-flare-item:first-of-type:before {
+ background-image: var(--stripes), var(--rainbow);
+ filter: opacity(4%) saturate(200%);
+}
+`,tvn=`.light-mode {
+ color-scheme: light;
+ --scalar-color-1: #1c1e21;
+ --scalar-color-2: #707070;
+ --scalar-color-3: #8e8e8e;
+ --scalar-color-disabled: #b4b1b1;
+ --scalar-color-ghost: #a7a7a7;
+ --scalar-color-accent: #2f8555;
+ --scalar-background-1: #fff;
+ --scalar-background-2: #f5f5f5;
+ --scalar-background-3: #ededed;
+ --scalar-background-4: rgba(0, 0, 0, 0.06);
+ --scalar-background-accent: #2f85551f;
+
+ --scalar-border-color: rgba(0, 0, 0, 0.1);
+ --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
+ --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
+ --scalar-backdrop-brightness: 1;
+
+ --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
+ --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 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-green: #007300;
+ --scalar-color-red: #af272b;
+ --scalar-color-yellow: #b38200;
+ --scalar-color-blue: #33788f;
+ --scalar-color-orange: #fb892c;
+ --scalar-color-purple: #5203d1;
+ --scalar-color-query: #00766f;
+}
+
+.dark-mode {
+ color-scheme: dark;
+ --scalar-color-1: rgba(255, 255, 255, 0.9);
+ --scalar-color-2: rgba(255, 255, 255, 0.62);
+ --scalar-color-3: rgba(255, 255, 255, 0.44);
+ --scalar-color-disabled: rgba(255, 255, 255, 0.34);
+ --scalar-color-ghost: rgba(255, 255, 255, 0.26);
+ --scalar-color-accent: #27c2a0;
+ --scalar-background-1: #1b1b1d;
+ --scalar-background-2: #242526;
+ --scalar-background-3: #3b3b3b;
+ --scalar-background-4: rgba(255, 255, 255, 0.06);
+ --scalar-background-accent: #27c2a01f;
+
+ --scalar-border-color: rgba(255, 255, 255, 0.1);
+ --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
+ --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
+ --scalar-backdrop-brightness: 0.5;
+
+ --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);
+ --scalar-shadow-2:
+ rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);
+
+ --scalar-button-1: #f6f6f6;
+ --scalar-button-1-color: #000;
+ --scalar-button-1-hover: #e7e7e7;
+
+ --scalar-color-green: #26b226;
+ --scalar-color-red: #fb565b;
+ --scalar-color-yellow: #ffc426;
+ --scalar-color-blue: #6ecfef;
+ --scalar-color-orange: #ff8d4d;
+ --scalar-color-purple: #b191f9;
+ --scalar-color-query: #5fdbc5;
+}
+`,nvn=`/* basic theme */
+.light-mode {
+ --scalar-color-1: #1b1b1b;
+ --scalar-color-2: #707070;
+ --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, 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: #313245;
+ --scalar-code-language-color-supersede: var(--scalar-color-3);
+}
+/* Document Sidebar */
+.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, 0.05);
+ --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05);
+ --scalar-sidebar-search-color: var(--scalar-color-3);
+ --scalar-background-2: rgba(0, 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, 0.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, 0.1);
+ --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05);
+ --scalar-sidebar-search-color: var(--scalar-color-3);
+}
+/* advanced */
+.light-mode {
+ --scalar-color-green: #069061;
+ --scalar-color-red: #ef0006;
+ --scalar-color-yellow: #edbe20;
+ --scalar-color-blue: #0072bd;
+ --scalar-color-orange: #fb892c;
+ --scalar-color-purple: #5203d1;
+ --scalar-color-query: #007b80;
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+}
+.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-color-query: #65d4cf;
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.9);
+ --scalar-button-1-color: black;
+}
+/* Custom Theme */
+.dark-mode h2.t-editor__heading,
+.dark-mode .t-editor__page-title h1,
+.dark-mode h1.section-header:not(::selection),
+.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, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
+ -webkit-background-clip: text;
+ background-clip: text;
+}
+.sidebar-search {
+ backdrop-filter: blur(12px);
+}
+@keyframes headerbackground {
+ from {
+ background: transparent;
+ backdrop-filter: none;
+ }
+ to {
+ background: var(--scalar-header-background-1);
+ backdrop-filter: blur(12px);
+ }
+}
+.dark-mode .scalar-card {
+ background: rgba(255, 255, 255, 0.05) !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;
+}
+/* Hero Section Flare */
+.section-flare {
+ width: 100vw;
+ background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent);
+ height: 100vh;
+}
+.light-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);
+}
+.dark-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);
+}
+
+/* document layout */
+.light-mode .t-doc .layout-content,
+.dark-mode .t-doc .layout-content {
+ background: transparent;
+}
+`,rvn=`/* basic theme */
+.light-mode {
+ color-scheme: light;
+ --scalar-color-1: #322b3b;
+ --scalar-color-2: #645676;
+ --scalar-color-3: #9789a9;
+ --scalar-color-accent: #40b4c4;
+
+ --scalar-background-1: #fff;
+ --scalar-background-2: #f4f2f7;
+ --scalar-background-3: #cfc7dc;
+ --scalar-background-accent: #f3fafb;
+
+ --scalar-border-color: #e4e0eb;
+}
+.dark-mode {
+ color-scheme: dark;
+ --scalar-color-1: #fff;
+ --scalar-color-2: #b8b6ba;
+ --scalar-color-3: #706c74;
+ --scalar-color-accent: #ed78c2;
+
+ --scalar-background-1: #27212e;
+ --scalar-background-2: #322c39;
+ --scalar-background-3: #4c4059;
+ --scalar-background-accent: #eb64b91f;
+
+ --scalar-border-color: rgba(255, 255, 255, 0.1);
+}
+
+/* Sidebar */
+.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-border-color);
+ --scalar-sidebar-search--color: var(--scalar-color-3);
+}
+.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: 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: #514c56;
+ --scalar-sidebar-search--color: var(--scalar-color-3);
+}
+/* advanced */
+.light-mode {
+ --scalar-button-1: rgb(49 53 56);
+ --scalar-button-1-color: #fff;
+ --scalar-button-1-hover: rgb(28 31 33);
+
+ --scalar-color-green: #74dfc4;
+ --scalar-color-red: #d887f5;
+ --scalar-color-yellow: #ffe261;
+ --scalar-color-blue: #40b4c4;
+ --scalar-color-orange: #ff52bf;
+ --scalar-color-purple: #91889b;
+ --scalar-color-query: #7860a8;
+
+ --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
+ --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
+}
+.dark-mode {
+ --scalar-button-1: #f6f6f6;
+ --scalar-button-1-color: #27212e;
+ --scalar-button-1-hover: #e7e7e7;
+
+ --scalar-color-green: #74dfc4;
+ --scalar-color-red: #d887f5;
+ --scalar-color-yellow: #ffe261;
+ --scalar-color-blue: #40b4c4;
+ --scalar-color-orange: #ff52bf;
+ --scalar-color-purple: #91889b;
+ --scalar-color-query: #b8a2e3;
+
+ --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
+ --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
+}
+/* Radius */
+:root,
+:host {
+ --scalar-radius: 2px;
+ --scalar-radius-lg: 3px;
+ --scalar-radius-xl: 4px;
+}
+/* P3 color support */
+@supports (color: color(display-p3 1 1 1)) {
+ .light-mode {
+ --scalar-color-accent: color(display-p3 0.25098 0.705882 0.768627 / 1);
+ --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);
+ --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);
+ --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);
+ --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);
+ --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);
+ --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);
+ --scalar-color-query: color(display-p3 0.470588 0.376471 0.658824 / 1);
+ }
+ .dark-mode {
+ --scalar-color-accent: color(display-p3 0.929412 0.470588 0.760784 / 1);
+ --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);
+ --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);
+ --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);
+ --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);
+ --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);
+ --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);
+ --scalar-color-query: color(display-p3 0.721569 0.635294 0.890196 / 1);
+ }
+}
+`,ivn=`/* basic theme */
+:root,
+:host {
+ --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, 0.6);
+
+ --scalar-color-1: #b24c41;
+ --scalar-color-2: #b24c41;
+ --scalar-color-3: #b24c41;
+
+ --scalar-color-accent: #b24c41;
+ --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: #3c3031;
+
+ --scalar-color-1: rgba(255, 255, 255, 0.9);
+ --scalar-color-2: rgba(255, 255, 255, 0.62);
+ --scalar-color-3: rgba(255, 255, 255, 0.44);
+
+ --scalar-color-accent: rgba(255, 255, 255, 0.9);
+ --scalar-background-accent: #441313;
+
+ --scalar-code-language-color-supersede: var(--scalar-color-1);
+}
+
+/* Document Sidebar */
+.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, 0.1);
+ --scalar-sidebar-search-color: var(--scalar-color-3);
+ --scalar-sidebar-search-border-color: var(--scalar-border-color);
+ z-index: 1;
+}
+/* advanced */
+.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-color-query: #086566;
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+}
+.dark-mode {
+ --scalar-color-green: rgba(69, 255, 165, 0.823);
+ --scalar-color-red: #ff8589;
+ --scalar-color-yellow: #ffcc4d;
+ --scalar-color-blue: #6bc1fe;
+ --scalar-color-orange: #f98943;
+ --scalar-color-purple: #b191f9;
+ --scalar-color-query: #79e2da;
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.9);
+ --scalar-button-1-color: black;
+}
+/* Custom Theme */
+.dark-mode h2.t-editor__heading,
+.dark-mode .t-editor__page-title h1,
+.dark-mode h1.section-header:not(::selection),
+.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, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
+ -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;
+}
+/* Hero section flare */
+.section-flare {
+ overflow-x: hidden;
+ height: 100vh;
+ left: initial;
+}
+.section-flare-item:nth-of-type(1) {
+ background: #d25019;
+ position: relative;
+ top: -150px;
+ right: -400px;
+ width: 80vw;
+ height: 500px;
+ margin-top: -150px;
+ border-radius: 50%;
+ filter: blur(100px);
+ z-index: 0;
+}
+.light-mode .section-flare {
+ display: none;
+}
+*::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-red), transparent 75%);
+}
+
+/* document layout */
+.dark-mode .t-doc .layout-content {
+ background: transparent;
+}
+`,avn=`.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, 0.2);
+ --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
+ --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
+ --scalar-backdrop-brightness: 1;
+
+ --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
+ --scalar-shadow-2:
+ rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 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: #1841b5;
+ --scalar-color-orange: #c2410c;
+ --scalar-color-purple: #6d28d9;
+ --scalar-color-query: #0f766e;
+}
+
+.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: #505452;
+ --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
+ --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
+ --scalar-backdrop-brightness: 0.5;
+
+ --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
+ --scalar-shadow-2:
+ rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.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;
+ --scalar-color-query: #5eead4;
+}
+
+/* Sidebar */
+.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: transparent;
+ --scalar-sidebar-search-color: var(--scalar-color-3);
+ --scalar-sidebar-search-border-color: var(--scalar-border-color);
+}
+*::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 80%);
+}
+`,ovn=`/* basic theme */
+.light-mode {
+ --scalar-background-1: #fff;
+ --scalar-background-2: #f5f6f8;
+ --scalar-background-3: #eceef1;
+
+ --scalar-color-1: #1b1b1b;
+ --scalar-color-2: #707070;
+ --scalar-color-3: #8e8e8e;
+
+ --scalar-color-accent: #5469d4;
+ --scalar-background-accent: #5469d41f;
+
+ --scalar-border-color: rgba(215, 215, 206, 0.68);
+}
+.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: #3f4145;
+}
+/* Document Sidebar */
+.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);
+}
+
+/* advanced */
+.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-color-query: #147873;
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+}
+.dark-mode {
+ --scalar-color-green: #30a159;
+ --scalar-color-red: #dc1b19;
+ --scalar-color-yellow: #eec644;
+ --scalar-color-blue: #468bc7;
+ --scalar-color-orange: #f07528;
+ --scalar-color-purple: #7a59b1;
+ --scalar-color-query: #4ac6b7;
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.9);
+ --scalar-button-1-color: black;
+}
+.light-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);
+}
+.dark-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);
+}
+`,svn=`/* basic theme */
+.light-mode {
+ --scalar-background-1: #f3f3ee;
+ --scalar-background-2: #e8e8e3;
+ --scalar-background-3: #e4e4df;
+ --scalar-border-color: rgba(215, 215, 206, 0.85);
+
+ --scalar-color-1: #1b1b1b;
+ --scalar-color-2: #676767;
+ --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, 0.17);
+
+ --scalar-color-1: #fafafa;
+ --scalar-color-2: rgb(161, 161, 170);
+ --scalar-color-3: rgba(255, 255, 255, 0.533);
+
+ --scalar-color-accent: #4eb3ec;
+ --scalar-background-accent: #8ab4f81f;
+}
+/* Document Sidebar */
+.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);
+}
+
+/* advanced */
+.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-color-query: #147873;
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+}
+.dark-mode {
+ --scalar-color-green: #30a159;
+ --scalar-color-red: #dc1b19;
+ --scalar-color-yellow: #eec644;
+ --scalar-color-blue: #3e86c5;
+ --scalar-color-orange: #f07528;
+ --scalar-color-purple: #7a59b1;
+ --scalar-color-query: #4ac6b7;
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.9);
+ --scalar-button-1-color: black;
+}
+.dark-mode h2.t-editor__heading,
+.dark-mode .t-editor__page-title h1,
+.dark-mode h1.section-header:not(::selection),
+.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, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
+ -webkit-background-clip: text;
+ background-clip: text;
+}
+.light-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);
+}
+.dark-mode *::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);
+}
+`,cvn=`.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, 0.18);
+ --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
+ --scalar-backdrop-brightness: 1;
+
+ --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
+ --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 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;
+ --scalar-color-query: #007f78;
+}
+
+.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: #2f4851;
+ --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
+ --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
+ --scalar-backdrop-brightness: 0.5;
+
+ --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);
+ --scalar-shadow-2:
+ rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.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;
+ --scalar-color-query: #7bdac7;
+}
+
+/* Sidebar */
+.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 .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-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);
+}
+*::selection {
+ background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);
+}
+`;function lvn(){if(typeof window>`u`)return!1;let e=document.createElement(`div`);e.setAttribute(`style`,`width:30px;height:30px;overflow-y:scroll;`),e.classList.add(`scrollbar-test`);let t=document.createElement(`div`);t.setAttribute(`style`,`width:100%;height:40px`),e.appendChild(t),document.body.appendChild(e);let n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}var uvn=[`alternate`,`default`,`moon`,`purple`,`solarized`,`bluePlanet`,`deepSpace`,`saturn`,`kepler`,`elysiajs`,`fastify`,`mars`,`laserwave`,`none`],dvn={default:`Default`,alternate:`Alternate`,moon:`Moon`,purple:`Purple`,solarized:`Solarized`,elysiajs:`Elysia.js`,fastify:`Fastify`,bluePlanet:`Blue Planet`,saturn:`Saturn`,kepler:`Kepler-11e`,mars:`Mars`,deepSpace:`Deep Space`,laserwave:`Laserwave`,none:`None`},C2={default:{uid:`qTQR9jSM8E-LihpyZzPOi`,name:`Default`,description:`Default Scalar theme`,theme:$_n,slug:`default`},alternate:{uid:`2skUDSH4S8HYFF9yXysr-`,name:`Alternate`,description:`Alternate Scalar theme`,theme:X_n,slug:`alternate`},moon:{uid:`DG9ZUNp5lJhDeX_kPX4Bl`,name:`Moon`,description:`Lunar styles`,theme:avn,slug:`moon`},purple:{uid:`pE_1ysxcZ-y2LM1GGNBUv`,name:`Purple`,description:`Purple Scalar theme`,theme:ovn,slug:`purple`},solarized:{uid:`BdGVG1vf-4nYl3wJKyj8l`,name:`Solarized`,description:`Solarized Scalar theme`,theme:cvn,slug:`solarized`},bluePlanet:{uid:`X12IfAvl7ue-42V2lW40S`,name:`Blue Planet`,description:`Blue Planet Scalar theme`,theme:Z_n,slug:`blue-planet`},deepSpace:{uid:`K8b38NWQiicq4-zXGXKdI`,name:`Deep Space`,description:`Deep Space Scalar theme`,theme:Q_n,slug:`deep-space`},saturn:{uid:`1jyAjmbIZQG-RUU4Ugk9o`,name:`Saturn`,description:`Saturn Scalar theme`,theme:svn,slug:`saturn`},kepler:{uid:`jZ6dnWbtqQ0Hz3s9jLPH0`,name:`Kepler-11e`,description:`Kepler-11e Scalar theme`,theme:nvn,slug:`kepler-11e`},mars:{uid:`YY4LQgwiXix55-TmMz9qd`,name:`Mars`,description:`Mars Scalar theme`,theme:ivn,slug:`mars`},laserwave:{uid:`c5fZEi-K-hP-xXf885dkf`,name:`Laserwave`,description:`Laserwave Scalar theme`,theme:rvn,slug:`laserwave`},elysiajs:{uid:`nEVZkRmCylPkT0o9YJa7y`,name:`Elysia.js`,description:`Elysia.js theme`,theme:evn,slug:`elysiajs`},fastify:{uid:`nTZcdcM2_yHFZFxTQe9Kk`,name:`Fastify`,description:`Fastify theme`,theme:tvn,slug:`fastify`}};Object.values(C2);var fvn=(e,t)=>{let{fonts:n=!0,layer:r=`scalar-theme`}=t??{},i=[C2[e||`default`]?.theme??`/* basic theme */
+:root,
+:host {
+ --scalar-text-decoration: underline;
+ --scalar-text-decoration-hover: underline;
+}
+.light-mode {
+ --scalar-background-1: #fff;
+ --scalar-background-2: #f6f6f6;
+ --scalar-background-3: #e7e7e7;
+ --scalar-background-accent: #8ab4f81f;
+
+ --scalar-color-1: #1b1b1b;
+ --scalar-color-2: #707070;
+ --scalar-color-3: #8e8e8e;
+
+ --scalar-color-accent: #0099ff;
+ --scalar-border-color: #dfdfdf;
+}
+.dark-mode {
+ --scalar-background-1: #0f0f0f;
+ --scalar-background-2: #1a1a1a;
+ --scalar-background-3: #272727;
+
+ --scalar-color-1: #e7e7e7;
+ --scalar-color-2: #a4a4a4;
+ --scalar-color-3: #797979;
+
+ --scalar-color-accent: #00aeff;
+ --scalar-background-accent: #3ea6ff1f;
+
+ --scalar-border-color: #2d2d2d;
+}
+/* Document Sidebar */
+.light-mode,
+.dark-mode {
+ --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: var(--scalar-sidebar-color-2);
+
+ --scalar-sidebar-item-active-background: var(--scalar-background-2);
+ --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);
+
+ --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);
+
+ --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));
+ --scalar-sidebar-search-color: var(--scalar-color-3);
+ --scalar-sidebar-search-border-color: var(--scalar-border-color);
+}
+/* advanced */
+.light-mode {
+ --scalar-color-green: #069061;
+ --scalar-color-red: #ef0006;
+ --scalar-color-yellow: #edbe20;
+ --scalar-color-blue: #0072bd;
+ --scalar-color-orange: #ff5800;
+ --scalar-color-purple: #5203d1;
+ --scalar-color-query: #007b80;
+
+ --scalar-link-color: var(--scalar-color-1);
+ --scalar-link-color-hover: var(--scalar-link-color);
+
+ --scalar-button-1: rgba(0, 0, 0, 1);
+ --scalar-button-1-hover: rgba(0, 0, 0, 0.8);
+ --scalar-button-1-color: #fff;
+
+ --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), transparent 10%);
+ --scalar-tooltip-color: var(--scalar-color-1);
+
+ --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);
+ --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);
+
+ --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);
+ --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);
+}
+.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-color-query: #65d4cf;
+
+ --scalar-link-color: var(--scalar-color-1);
+ --scalar-link-color-hover: var(--scalar-link-color);
+
+ --scalar-button-1: rgba(255, 255, 255, 1);
+ --scalar-button-1-hover: rgba(255, 255, 255, 0.9);
+ --scalar-button-1-color: black;
+
+ --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);
+ --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);
+
+ --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);
+
+ --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);
+ --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);
+}
+@supports (color: color(display-p3 1 1 1)) {
+ .light-mode {
+ --scalar-color-accent: color(display-p3 0 0.6 1 / 1);
+ --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);
+ --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);
+ --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);
+ --scalar-color-blue: color(display-p3 0 0.447059 0.741176 / 1);
+ --scalar-color-orange: color(display-p3 1 0.4 0.02);
+ --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);
+ }
+ .dark-mode {
+ --scalar-color-accent: color(display-p3 0.07 0.67 1);
+ --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);
+ --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);
+ --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);
+ --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);
+ --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);
+ --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);
+ }
+}
+`,n?Y_n:``].join(``);return r?`@layer ${r} {\n${i}}`:i};function pvn(e){let t=e;return!V(t)||typeof t.asyncapi!=`string`||!t.asyncapi.startsWith(`1.`)||(t.asyncapi=bvn,mvn(t),gvn(t),vvn(t),yvn(t)),t}function mvn(e){if(!Array.isArray(e.servers))return;let t={},n=new Set;for(let[r,i]of e.servers.entries()){if(!V(i))continue;let e={};for(let[t,n]of Object.entries(i))t===`scheme`?e.protocol=n:t===`schemeVersion`?e.protocolVersion=n:e[t]=n;let a=hvn(typeof i.description==`string`?i.description:``,r,n);n.add(a),t[a]=e}e.servers=t}function hvn(e,t,n){let r=EY(e)||`server-${t}`;if(!n.has(r))return r;let i=2;for(;n.has(`${r}-${i}`);)i+=1;return`${r}-${i}`}function gvn(e){if(!V(e.topics)){typeof e.baseTopic==`string`&&delete e.baseTopic;return}let t=typeof e.baseTopic==`string`?e.baseTopic:``,n={};for(let[r,i]of Object.entries(e.topics)){if(!V(i))continue;let e=t?`${t}.${r}`:r,a={};for(let[e,t]of Object.entries(i))if(e===`parameters`){let e=_vn(t);e&&(a.parameters=e)}else a[e]=e===`publish`||e===`subscribe`?{message:t}:t;n[e]=a}e.channels=n,delete e.topics,delete e.baseTopic}function _vn(e){if(!Array.isArray(e))return;let t={};for(let n of e){if(!V(n))continue;if(typeof n.$ref==`string`){let e=n.$ref.split(`/`).pop()??``;e&&(t[e]={$ref:n.$ref});continue}if(typeof n.name!=`string`)continue;let{name:e,...r}=n;t[e]=r}return t}function vvn(e){if(!V(e.stream))return;let t={};Array.isArray(e.stream.read)&&(t.subscribe={message:{oneOf:e.stream.read}}),Array.isArray(e.stream.write)&&(t.publish={message:{oneOf:e.stream.write}});let n=V(e.channels)?e.channels:{};n[xvn]=t,e.channels=n,delete e.stream}function yvn(e){if(!V(e.events))return;let t={};Array.isArray(e.events.receive)&&(t.subscribe={message:{oneOf:e.events.receive}}),Array.isArray(e.events.send)&&(t.publish={message:{oneOf:e.events.send}});let n=V(e.channels)?e.channels:{};n[xvn]=t,e.channels=n,delete e.events}var bvn,xvn,Svn=s((()=>{js(),DY(),bvn=`2.6.0`,xvn=`/`})),Cvn=s((()=>{Svn()}));function wvn(e){let t=e;return!V(t)||typeof t.asyncapi!=`string`||!t.asyncapi.startsWith(`2.`)||(t.asyncapi=Lvn,V(t.info)&&V(t.externalDocs)&&(t.info.externalDocs??=t.externalDocs),Avn(t),Tvn(t),jvn(t)),t}function Tvn(e){if(!V(e.servers))return;let t=kvn(e);for(let n of Object.values(e.servers))if(V(n)){if(typeof n.url==`string`){let{host:e,pathname:t}=Evn(n.url);n.host=e,t&&(n.pathname=t),delete n.url}Array.isArray(n.security)&&(n.security=Dvn(n.security,t))}}function Evn(e){let t=e.match(/^[a-zA-Z][a-zA-Z0-9+\-.]*:\/\/(.*)$/),n=t?t[1]:e,r=n.indexOf(`/`);return r===-1?{host:n,pathname:``}:{host:n.slice(0,r),pathname:n.slice(r)}}function Dvn(e,t){return e.map(e=>Ovn(e,t)).filter(e=>e!==void 0)}function Ovn(e,t){if(!V(e))return;let[n]=Object.entries(e);if(!n)return;let[r,i]=n,a=t[r];return V(a)&&a.type===`oauth2`&&Array.isArray(i)?{...a,scopes:i}:{$ref:`#/components/securitySchemes/${r}`}}function kvn(e){if(!V(e.components)||!V(e.components.securitySchemes))return{};let t={};for(let[n,r]of Object.entries(e.components.securitySchemes))V(r)&&(t[n]=r);return t}function Avn(e){if(V(e.components)&&V(e.components.securitySchemes)){for(let t of Object.values(e.components.securitySchemes))if(V(t)&&t.type===`oauth2`&&V(t.flows))for(let e of Object.values(t.flows))V(e)&&`scopes`in e&&(e.availableScopes=e.scopes,delete e.scopes)}}function jvn(e){if(!V(e.channels))return;let t=kvn(e),n={},r={},i=new Set,a=new Set;for(let[o,s]of Object.entries(e.channels)){if(!V(s))continue;let e=w2(Ivn(o),i),c={address:o},l={};for(let[e,t]of Object.entries(s))e!==`publish`&&e!==`subscribe`&&e!==`parameters`&&(e===`servers`&&Array.isArray(t)?c.servers=t.map(e=>({$ref:`#/servers/${e}`})):c[e]=t);V(s.parameters)&&(c.parameters=s.parameters);let u=Mvn(s.publish,l),d=Mvn(s.subscribe,l);if(c.messages=l,n[e]=c,V(s.publish)){let n=w2(Pvn(s.publish,`receive`,e),a);r[n]=Fvn(s.publish,`receive`,e,u,t)}if(V(s.subscribe)){let n=w2(Pvn(s.subscribe,`send`,e),a);r[n]=Fvn(s.subscribe,`send`,e,d,t)}}e.channels=n,e.operations=r}function Mvn(e,t){if(!V(e)||!V(e.message))return[];let n=e.message,r=Array.isArray(n.oneOf)?n.oneOf:[n],i=[];for(let e of r){if(!V(e))continue;let n=Nvn(e,t);t[n]=e,i.push(n)}return i}function Nvn(e,t){if(typeof e.$ref==`string`){let t=e.$ref.split(`/`).pop();if(t)return t}if(typeof e.name==`string`&&e.name)return e.name;let n=0;for(;`message-${n}`in t;)n+=1;return`message-${n}`}function Pvn(e,t,n){return typeof e.operationId==`string`&&e.operationId?e.operationId:`${t}-${n}`}function Fvn(e,t,n,r,i){let a={action:t,channel:{$ref:`#/channels/${n}`}};for(let[t,n]of Object.entries(e))t!==`message`&&t!==`operationId`&&(t===`security`&&Array.isArray(n)?a.security=Dvn(n,i):a[t]=n);return a.messages=r.map(e=>({$ref:`#/channels/${n}/messages/${e}`})),a}function Ivn(e){return EY(e.replace(/[^a-zA-Z0-9]+/g,` `))}function w2(e,t){if(!t.has(e))return t.add(e),e;let n=2;for(;t.has(`${e}-${n}`);)n+=1;let r=`${e}-${n}`;return t.add(r),r}var Lvn,Rvn=s((()=>{js(),DY(),Lvn=`3.0.0`})),zvn=s((()=>{Rvn()}));function Bvn(e){let t=e;return!V(t)||typeof t.asyncapi!=`string`||!t.asyncapi.startsWith(`3.0`)||(t.asyncapi=Kvn,Vvn(t)),t}function Vvn(e){if(!V(e.operations)||!V(e.channels))return;let t=e.channels;for(let n of Object.values(e.operations))V(n)&&(Hvn(n.messages,n.channel,t),V(n.reply)&&Hvn(n.reply.messages,n.reply.channel??n.channel,t))}function Hvn(e,t,n){if(!Array.isArray(e))return;let r=Wvn(t);if(!r)return;let i=n[r];if(V(i)){for(let t=0;t<e.length;t+=1){let n=e[t];if(!V(n)||typeof n.$ref!=`string`)continue;let[,a]=n.$ref.match(qvn)??[];a&&(Gvn(i,a,n.$ref),e[t]={$ref:`#/channels/${r}/messages/${a}`})}Uvn(e)}}function Uvn(e){let t=new Set,n=0;for(let r of e){if(V(r)&&typeof r.$ref==`string`){if(t.has(r.$ref))continue;t.add(r.$ref)}e[n]=r,n+=1}e.length=n}function Wvn(e){if(!V(e)||typeof e.$ref!=`string`)return;let t=e.$ref.match(/^#\/channels\/([^/]+)$/);return t?t[1]:void 0}function Gvn(e,t,n){V(e.messages)||(e.messages={});let r=e.messages;t in r||(r[t]={$ref:n})}var Kvn,qvn,Jvn=s((()=>{js(),Kvn=`3.1.0`,qvn=/^#\/components\/messages\/(.+)$/})),Yvn=s((()=>{Jvn()}));function Xvn(e){return Bvn(wvn(pvn(e)))}var Zvn=s((()=>{Cvn(),zvn(),Yvn()})),Qvn=s((()=>{Zvn()})),$vn,eyn,tyn=s((()=>{$vn=(e,t)=>{let n=performance.now(),r=t(),i=performance.now(),a=Math.round(i-n);return console.info(`${e}: ${a} ms`),r},eyn=async(e,t)=>{let n=performance.now(),r=await t(),i=performance.now(),a=Math.round(i-n);return console.info(`${e}: ${a} ms`),r}})),T2,nyn,ryn=s((()=>{Ib(),T2=class extends Error{constructor(e){super(e),this.name=`InvalidChangesDetectedError`}},nyn=(e,t)=>{let n=(e,t,r,i=0)=>{if(t[i]===void 0)throw new T2(`Process aborted. Path ${t.join(`.`)} at depth ${i} is undefined, check diff object`);if(i>=t.length-1)r.type===`add`||r.type===`update`?e[t[i]]=r.changes:Array.isArray(e)?e.splice(Number.parseInt(t[i]),1):delete e[t[i]];else{if(e[t[i]]===void 0||typeof e[t[i]]!=`object`)throw new T2(`Process aborted, check diff object`);n(e[t[i]],t,r,i+1)}};for(let e of t){if(e.path.length===0)throw new T2(`Process aborted. Root-level replacement is not supported, the change targets the document itself instead of a property inside it`);let t=e.path.find(Fb);if(t!==void 0)throw new T2(`Process aborted. Path ${e.path.join(`.`)} contains the unsafe segment "${t}", which can modify the prototype chain`)}for(let r of t)n(e,r.path,r);return e}})),E2,iyn=s((()=>{Ib(),E2=(e,t)=>{let n=[],r=(e,t,i=[])=>{if(typeof e!=typeof t){if(e===void 0){n.push({path:i,changes:t,type:`add`});return}if(t===void 0){n.push({path:i,changes:e,type:`delete`});return}n.push({path:i,changes:t,type:`update`})}else if(typeof e==`object`&&typeof t==`object`&&e!==null&&t!==null){if(Array.isArray(e)!==Array.isArray(t)){n.push({path:i,changes:t,type:`update`});return}let a=[...new Set([...Object.keys(e),...Object.keys(t)])].filter(e=>!Fb(e)),o=Array.isArray(e)&&Array.isArray(t)&&e.length>=t.length?a.reverse():a;for(let n of o)r(e[n],t[n],[...i,n])}else e!==t&&n.push({path:i,changes:t,type:`update`})};return r(e,t),n}})),D2,ayn,oyn=s((()=>{D2=class{value;children=Object.create(null);constructor(e){this.value=e}},ayn=class{root;constructor(){this.root=new D2(null)}addPath(e,t){let n=this.root;for(let t of e)n.children[t]||(n.children[t]=new D2(null)),n=n.children[t];n.value=t}findMatch(e,t){let n=this.root;for(let r of e){n.value!==null&&t(n.value);let e=n.children[r];if(!e)return;n=e}let r=e=>{for(let t of Object.keys(e?.children??{}))e&&Object.hasOwn(e.children,t)&&r(e?.children[t]);e?.value&&t(e.value)};r(n)}}})),O2,k2,syn,cyn=s((()=>{js(),Ib(),O2=(e,t)=>{if(typeof e!=typeof t)return!0;if(typeof e==`object`&&typeof t==`object`&&e!==null&&t!==null){if(Array.isArray(e)!==Array.isArray(t))return!0;let n=new Set([...Object.keys(e),...Object.keys(t)]);for(let r of n)if(!Fb(r)&&e[r]!==void 0&&t[r]!==void 0&&O2(e[r],t[r]))return!0;return!1}return e!==t},k2=(e,t)=>{for(let n in t)if(!Fb(n)){if(!(n in e))e[n]=t[n];else{let r=e[n],i=t[n];As(r)&&As(i)&&(e[n]=k2(r,i))}}return e},syn=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<=e.length;++n)if(e[n]!==t[n])return!1;return!0}})),lyn,uyn=s((()=>{oyn(),cyn(),lyn=(e,t)=>{let n=new ayn;for(let[t,r]of e.entries())n.addPath(r.path,{index:t,changes:r});let r=new Set,i=new Set,a=new Map,o=new Map;for(let[e,s]of t.entries())n.findMatch(s.path,t=>{if(s.type===`delete`){if(t.changes.type===`delete`)t.changes.path.length>s.path.length?r.add(t.index):i.add(e);else{r.add(t.index),i.add(e);let n=o.get(e);n===void 0?o.set(e,[[t.changes],[s]]):n[0].push(t.changes)}}if(s.type===`add`||s.type===`update`){if(syn(s.path,t.changes.path)&&t.changes.type!==`delete`&&!O2(s.changes,t.changes.changes)){r.add(t.index),typeof s.changes==`object`&&k2(s.changes,t.changes.changes);return}r.add(t.index),i.add(e);let n=a.get(t.index);n===void 0?a.set(t.index,[[t.changes],[s]]):n[1].push(s)}});let s=[...a.values(),...o.values()];return{diffs:[...e.filter((e,t)=>!r.has(t)),...t.filter((e,t)=>!i.has(t))],conflicts:s}}})),dyn=s((()=>{ryn(),iyn(),uyn()})),fyn,pyn,A2,myn=s((()=>{js(),fyn=1e5,pyn=10,A2=e=>{let t=new WeakSet,n={sourceEntries:0,copiedEntries:0,sizes:new Map},r=e=>{if(e===null||typeof e==`string`||typeof e==`number`||typeof e==`boolean`||e===void 0)return e;if(!Array.isArray(e)&&!V(e))return structuredClone(e);if(t.has(e))throw Error(`Cannot upgrade to OpenAPI 3.2: cyclic objects cannot be represented in JSON. Use $ref instead.`);let i=n.sizes.get(e)??1+(Array.isArray(e)?e.length:Object.keys(e).length);if(n.sizes.has(e)||(n.sizes.set(e,i),n.sourceEntries+=i),n.copiedEntries+=i,n.copiedEntries>fyn&&n.copiedEntries>n.sourceEntries*pyn)throw Error(`Cannot upgrade to OpenAPI 3.2: excessive YAML alias expansion. Use $ref for shared schemas.`);t.add(e);let a=Array.isArray(e)?e.map(r):Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)]));return t.delete(e),a};return r(e)}})),j2,M2=s((()=>{j2=class extends AggregateError{errors;constructor(e){super(e,e.map(e=>e.message).join(`
+`)),this.errors=e,this.name=`UpgradeIncompatibilityError`}}})),hyn,gyn,_yn,vyn,yyn=s((()=>{h_(),mu(),js(),M2(),hyn=[`properties`,`patternProperties`,`$defs`,`dependentSchemas`],gyn=[`allOf`,`anyOf`,`oneOf`,`prefixItems`],_yn=[`items`,`contains`,`additionalProperties`,`unevaluatedProperties`,`unevaluatedItems`,`propertyNames`,`not`,`if`,`then`,`else`,`contentSchema`],vyn=(e,t=`throw`)=>{let n=new WeakMap,r=(e,t)=>{let r=n.get(e)??new Map(Object.entries(Object.getOwnPropertyDescriptors(e)).filter(([,e])=>Object.hasOwn(e,`value`)).map(([e,t])=>[e,t.value]));return n.set(e,r),r.get(t)},i=new Set,a=[],o=new WeakMap,s=new WeakSet,c={evaluations:0},l=new WeakSet,u=[],d=e=>{V(e)&&!l.has(e)&&(l.add(e),d(e.items),Array.isArray(e.prefixItems)&&e.prefixItems.forEach(d))},f=new WeakMap,p=new WeakMap,m=(e,t)=>{a.push(Error(`Cannot upgrade to OpenAPI 3.2 at ${e}: ${t}`))},h=(t,n=!1)=>{if(typeof t==`string`&&t.startsWith(`#/`))try{return pu(decodeURIComponent(t.slice(1))).reduce((e,t)=>{if((!n||!V(e)||e.$id===void 0&&e.$schema===void 0)&&(!Array.isArray(e)||/^(0|[1-9]\d*)$/.test(t))&&(V(e)||Array.isArray(e))&&Object.hasOwn(e,t))return r(e,t)},e)}catch{return}},g=(e,t)=>{if(typeof e!=`string`)return;let n=[...e.matchAll(/\{([^{}]+)\}/g)].map(e=>e[1]);new Set(n).size!==n.length&&m(t,`Template variables must not be repeated. Rename the repeated variable and define it separately.`)},_=(e,t,n=new Set)=>{if(e===!1)return!0;if(e===!0)return!1;if(!V(e)||e.$id!==void 0||e.$schema!==void 0)return;if(n.has(e)){for(let e of n)s.add(e);return}let r=o.get(e)??new Map;if(r.has(t))return r.get(t);if(++c.evaluations>1e5){c.evaluations===100001&&m(`#`,`Discriminator requiredness analysis was truncated after 100,000 evaluations.`);return}let i=n=>((n!==void 0||!s.has(e))&&(r.set(t,n),o.set(e,r)),n);if(Array.isArray(e.required)&&e.required.includes(t))return i(!0);let a=new Set([...n,e]),l=[];e.$ref!==void 0&&l.push(_(h(e.$ref,!0),t,a)),Array.isArray(e.allOf)&&l.push(...e.allOf.map(e=>_(e,t,a)));for(let n of[`oneOf`,`anyOf`])if(Array.isArray(e[n])){let r=e[n].map(e=>_(e,t,a));r.every(e=>e===!0)?l.push(!0):r.every(e=>e===!1)?l.push(!1):l.push(void 0)}return l.includes(!0)?i(!0):l.includes(void 0)||[`if`,`not`,`$dynamicRef`,`const`,`enum`,`minProperties`,`dependentRequired`,`dependentSchemas`].some(t=>t in e)?i(void 0):i(!1)},v=(e,t,{inferredName:n,propertyName:r,dialect:i,ancestors:a=new Set,baseChanged:o=!1})=>{if(!V(e)||a.has(e)||(e.$schema??i)!==void 0)return;let s=o||e.$id!==void 0,c=[n,r,s].join(`:`),u=f.get(e)??new Set;if(u.has(c))return;let d=V(e.xml)?e.xml:{},p=e.$ref!==void 0||e.$dynamicRef!==void 0||e.type===`array`?`none`:`element`,g=d.wrapped===!0?`element`:p,_=d.nodeType??(d.attribute===!0?`attribute`:g);(_===`element`||_===`attribute`)&&!n&&d.name===void 0&&m(t,`An inline XML element needs an explicit xml.name.`);let y={dialect:i,ancestors:new Set([...a,e]),baseChanged:s};if(!s&&typeof e.$ref==`string`){let t=h(e.$ref,!0);if(V(t)){let n=pu(decodeURIComponent(e.$ref.slice(1))),r=n.length===3&&n[0]===`components`&&n[1]===`schemas`,i=l.has(t);v(t,e.$ref,{...y,inferredName:r||i,propertyName:i})}}for(let n of[`allOf`,`anyOf`,`oneOf`]){let r=e[n];Array.isArray(r)&&r.forEach((e,r)=>v(e,t+`/`+n+`/`+r,{...y,inferredName:!1,propertyName:!1}))}if(v(e.items,t+`/items`,{...y,inferredName:r,propertyName:r}),Array.isArray(e.prefixItems)&&e.prefixItems.forEach((e,n)=>v(e,t+`/prefixItems/`+n,{...y,inferredName:r,propertyName:r})),V(e.properties))for(let[n,r]of Object.entries(e.properties))v(r,t+`/properties/`+m_(n),{...y,inferredName:!0,propertyName:!0});u.add(c),f.set(e,u)},y=(t,n,a,o=e.jsonSchemaDialect,s=!1)=>{if(!V(t))return;let c=n===`schema`?t.$schema??o:o,l=s||n===`schema`&&t.$id!==void 0,f=`${n}:${String(c)}:${l}`,v=p.get(t)??new Set;if(v.has(f))return;v.add(f),p.set(t,v);let b=(e,n)=>y(r(t,e),n,`${a}/${m_(e)}`,c,l),x=(e,n)=>{let i=r(t,e);Array.isArray(i)&&i.forEach((t,r)=>y(t,n,`${a}/${e}/${r}`,c,l))},ee=(e,i)=>{let o=r(t,e);if(V(o))for(let[t,r]of Object.entries(o))e===`responses`&&t.startsWith(`x-`)||(n===`schema`&&e===`properties`&&d(r),y(r,i,`${a}/${e}/${m_(t)}`,c,l))};if(n===`schema`){if(c!==void 0)return;let e=r(t,`xml`);V(e)&&(e.wrapped===!0&&e.attribute===!0&&m(`${a}/xml`,`wrapped and attribute cannot both be true.`),(e.wrapped===!0||e.attribute===!0)&&(e.nodeType=e.attribute===!0?`attribute`:`element`,delete e.wrapped,delete e.attribute)),!l&&t.$ref!==void 0&&y(h(t.$ref,!0),`schema`,String(t.$ref),c);let n=t.discriminator;V(n)&&typeof n.propertyName==`string`&&n.defaultMapping===void 0&&!l&&_(t,n.propertyName)===!1&&m(`${a}/discriminator`,`An optional discriminating property needs an explicit defaultMapping.`);for(let e of hyn)ee(e,`schema`);for(let e of gyn)x(e,`schema`);for(let e of _yn)b(e,`schema`)}else switch(t.$ref!==void 0&&y(h(t.$ref),n,String(t.$ref),c),n){case`document`:{let e=r(t,`paths`);if(V(e))for(let[t,n]of Object.entries(e)){if(!t.startsWith(`/`))continue;let e=`${a}/paths/${m_(t)}`;g(t,e),y(n,`pathItem`,e)}ee(`webhooks`,`pathItem`),x(`servers`,`server`);let n=r(t,`components`);if(V(n))for(let[e,t]of Object.entries({schemas:`schema`,parameters:`parameter`,headers:`header`,requestBodies:`body`,responses:`response`,callbacks:`callback`,pathItems:`pathItem`})){let i=r(n,e);if(V(i))for(let[n,r]of Object.entries(i))y(r,t,`${a}/components/${e}/${m_(n)}`)}break}case`pathItem`:for(let e of[`get`,`put`,`post`,`delete`,`options`,`head`,`patch`,`trace`])b(e,`operation`);x(`parameters`,`parameter`),x(`servers`,`server`);break;case`operation`:if(Array.isArray(t.tags))for(let e of t.tags)typeof e==`string`&&i.add(e);x(`parameters`,`parameter`),x(`servers`,`server`),b(`requestBody`,`body`),ee(`responses`,`response`),ee(`callbacks`,`callback`);break;case`callback`:for(let[e,n]of Object.entries(t))!e.startsWith(`x-`)&&e!==`$ref`&&y(n,`pathItem`,`${a}/${m_(e)}`,c,l);break;case`parameter`:(t.in===`path`||t.in===`cookie`)&&delete t.allowReserved,b(`schema`,`schema`),ee(`content`,`media`);break;case`header`:b(`schema`,`schema`),ee(`content`,`media`);break;case`response`:ee(`headers`,`header`),ee(`content`,`media`);break;case`body`:ee(`content`,`media`);break;case`media`:/\/(?:[^;]+\+)?xml(?:\s*;|$)/i.test(a.slice(a.lastIndexOf(`/`)+1).replace(/~1/g,`/`))&&u.push({schema:t.schema,path:`${a}/schema`,dialect:c}),b(`schema`,`schema`),ee(`encoding`,`encoding`);break;case`encoding`:ee(`headers`,`header`);break;case`server`:g(t.url,`${a}/url`)}};y(e,`document`,`#`);for(let{schema:e,path:t,dialect:n}of u)v(e,t,{inferredName:!1,propertyName:!1,dialect:n});if(a.length>0&&t===`throw`)throw new j2(a);return i}})),byn,xyn=s((()=>{js(),byn=(e,t)=>{let n=e[`x-tagGroups`];if(!Array.isArray(n)||n.length===0||e.tags!==void 0&&!Array.isArray(e.tags))return;let r=e.tags??[];if(!r.every(e=>V(e)&&typeof e.name==`string`))return;let i=new Map(r.map(e=>[e.name,e])),a=new Set,o=new Set;for(let e of n){if(!V(e)||typeof e.name!=`string`||!e.name||!Array.isArray(e.tags)||!e.tags.every(e=>typeof e==`string`)||Object.keys(e).some(e=>e!==`name`&&e!==`tags`)||a.has(e.name)||i.has(e.name)||t.has(e.name))return;a.add(e.name);for(let t of e.tags){if(o.has(t)||i.get(t)?.parent!==void 0)return;o.add(t)}}if([...a].some(e=>o.has(e))||i.size!==r.length)return;let s=[];for(let e of n){s.push({name:e.name,kind:`nav`});for(let t of e.tags)s.push({...i.get(t)??{name:t},parent:e.name})}e.tags=[...s,...r.filter(e=>!o.has(e.name))]}})),Syn,Cyn,wyn=s((()=>{js(),yyn(),xyn(),Syn=e=>{if(!V(e)||typeof e.openapi!=`string`)return!1;if(/^3\.1\.\d+$/.test(e.openapi))return!0;if(/^3\.1(?:\D|$)/.test(e.openapi))throw Error(`Cannot upgrade to OpenAPI 3.2: invalid OpenAPI version "${e.openapi}". Expected 3.1.x with a numeric patch version.`);return!1},Cyn=(e,t=`throw`)=>{if(!Syn(e))return e;let n=vyn(e,t);return byn(e,n),e.openapi=`3.2.0`,e}}));function N2(e,t,n=[]){let r={};for(let[i,a]of Object.entries(e)){let e=[...n,i];r[i]=Array.isArray(a)?a.map((n,r)=>typeof n==`object`&&!Array.isArray(n)&&n!==null?N2(n,t,[...e,r.toString()]):n):As(a)?N2(a,t,e):a}return t(r,n)}var Tyn=s((()=>{js()}));function Eyn(e){let t=e[`x-example`],n=e[`x-examples`];return delete e[`x-example`],delete e[`x-examples`],{xExample:t,xExamples:n}}function P2(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).length>0}function Dyn(e){return P2(e)&&Object.values(e).every(e=>typeof e==`object`&&!!e&&!Array.isArray(e))}function Oyn(e){if(!As(e))return!0;let t=e;return!(t.allOf||t.oneOf||t.anyOf||t.items||t.$ref||`additionalProperties`in t||[`enum`,`const`,`not`,`format`,`multipleOf`,`maximum`,`exclusiveMaximum`,`minimum`,`exclusiveMinimum`,`maxLength`,`minLength`,`pattern`,`maxItems`,`minItems`,`uniqueItems`,`maxProperties`,`minProperties`,`required`].some(e=>e in t)||typeof t.properties==`object`&&t.properties!==null&&Object.keys(t.properties).length>0)}function kyn(e){let t=Object.keys(e);if(t.some(t=>{let n=e[t];return As(n)&&(n.example!==void 0||n.examples!==void 0)}))for(let n of t){let t=e[n];if(!As(t))continue;let r=t.example!==void 0||t.examples!==void 0;t.schema!==void 0&&!r&&Object.keys(t).length===1&&Oyn(t.schema)&&delete e[n]}}function Ayn(e){if(typeof e!=`object`||!e)return!1;let t=e,n=`value`in t||`externalValue`in t,r=Object.keys(t).every(e=>Byn.has(e));return n&&r}function F2(e){return Ayn(e)?e:{value:e}}function jyn(e){return Object.entries(e).reduce((e,[t,n])=>(e[t]={value:n},e),{})}function Myn(e){let t=e;if(typeof t==`object`&&t&&typeof t.swagger==`string`&&t.swagger?.startsWith(`2.0`))t.openapi=`3.0.4`,delete t.swagger;else return t;if(t.host){let e=Array.isArray(t.schemes)&&t.schemes?.length?t.schemes:[`http`];t.servers=e.map(e=>({url:`${e}://${t.host}${t.basePath??``}`})),delete t.basePath,delete t.schemes,delete t.host}else t.basePath&&(t.servers=[{url:t.basePath}],delete t.basePath);if(t.definitions){for(let e of Object.values(t.definitions))B2(e);t.components=Object.assign({},t.components,{schemas:t.definitions}),delete t.definitions,t=N2(t,e=>(typeof e.$ref==`string`&&e.$ref.startsWith(`#/definitions/`)&&(e.$ref=e.$ref.replace(/^#\/definitions\//,`#/components/schemas/`)),e))}if(t=N2(t,e=>(e.type===`file`&&(e.type=`string`,e.format=`binary`),e)),Object.hasOwn(t,`parameters`)){t=N2(t,e=>{if(typeof e.$ref==`string`&&e.$ref.startsWith(`#/parameters/`)){let n=e.$ref.split(`/`)[2];if(!n)return e;let r=As(t.parameters)&&n in t.parameters?t.parameters[n]:void 0;e.$ref=r&&typeof r==`object`&&`in`in r&&(r.in===`body`||r.in===`formData`)?e.$ref.replace(/^#\/parameters\//,`#/components/requestBodies/`):e.$ref.replace(/^#\/parameters\//,`#/components/parameters/`)}return e}),t.components??={};let e={},n={},r=As(t.parameters)?t.parameters:{};for(let[i,a]of Object.entries(r))a&&typeof a==`object`&&(`$ref`in a?e[i]=L2(a):`in`in a&&(a.in===`body`?n[i]=Lyn(a,t.consumes??[R2]):a.in===`formData`?n[i]=Ryn([a],t.consumes):e[i]=L2(a)));Object.keys(e).length>0&&(t.components.parameters=e),Object.keys(n).length>0&&(t.components.requestBodies=n),delete t.parameters}if(Object.hasOwn(t,`responses`)&&typeof t.responses==`object`&&t.responses!==null){t=N2(t,e=>(typeof e.$ref==`string`&&e.$ref.startsWith(`#/responses/`)&&(e.$ref=e.$ref.replace(/^#\/responses\//,`#/components/responses/`)),e)),t.components??={};let e={},n=t.responses;for(let[r,i]of Object.entries(n))if(As(i)){if(`$ref`in i)e[r]=i;else{let n=i,a=t.produces??[R2];if(n.schema){B2(n.schema),typeof n.content!=`object`&&(n.content={});for(let e of a)n.content[e]={schema:n.schema};delete n.schema}if(n.examples&&typeof n.examples==`object`){typeof n.content!=`object`&&(n.content={});let e=a[0]??R2;for(let[t,r]of Object.entries(n.examples))if(z2(t,a))typeof n.content[t]!=`object`&&(n.content[t]={}),n.content[t].example=r;else{typeof n.content[e]!=`object`&&(n.content[e]={});let i=n.content[e];typeof i.examples!=`object`&&(i.examples={}),i.examples[t]=F2(r)}delete n.examples}n.content&&typeof n.content==`object`&&kyn(n.content),As(n.headers)&&(n.headers=Object.entries(n.headers).reduce((e,[t,n])=>n&&typeof n==`object`?{[t]:Pyn(n),...e}:e,{})),e[r]=n}}Object.keys(e).length>0&&(t.components.responses=e),delete t.responses}if(typeof t.paths==`object`){for(let e in t.paths)if(Object.hasOwn(t.paths,e)){let n=As(t.paths)&&e in t.paths?t.paths[e]:void 0;if(!n||typeof n!=`object`)continue;let r;for(let e in n)if(e===`parameters`&&Object.hasOwn(n,e)){let e=zyn(n.parameters,t.consumes??[R2]);n.parameters=e.parameters,r=e.requestBody}else if(Object.hasOwn(n,e)){let i=n[e];if(r&&(i.requestBody=r),i.parameters){let e=zyn(i.parameters,i.consumes??t.consumes??[R2]);i.parameters=e.parameters,e.requestBody&&(i.requestBody=e.requestBody)}if(delete i.consumes,i.responses){for(let e in i.responses)if(Object.hasOwn(i.responses,e)){let n=i.responses[e];if(n.headers&&typeof n.headers==`object`&&(n.headers=Object.entries(n.headers).reduce((e,[t,n])=>n&&typeof n==`object`?{[t]:Pyn(n),...e}:e,{})),n.schema){B2(n.schema);let e=t.produces??i.produces??[R2];typeof n.content!=`object`&&(n.content={});for(let t of e)n.content[t]={schema:n.schema};delete n.schema}if(n.examples&&typeof n.examples==`object`){typeof n.content!=`object`&&(n.content={});let e=t.produces??i.produces??[R2],r=e[0]??R2;for(let[t,a]of Object.entries(n.examples))if(z2(t,i.produces??e))typeof n.content[t]!=`object`&&(n.content[t]={}),n.content[t].example=a;else{typeof n.content[r]!=`object`&&(n.content[r]={});let e=n.content[r];typeof e.examples!=`object`&&(e.examples={}),e.examples[t]=F2(a)}delete n.examples}n.content&&typeof n.content==`object`&&kyn(n.content)}}delete i.produces,i.parameters?.length===0&&delete i.parameters}}}if(t.securityDefinitions){(typeof t.components!=`object`||t.components===null)&&(t.components={}),t.components&&typeof t.components==`object`&&Object.assign(t.components,{securitySchemes:{}});for(let[e,n]of Object.entries(t.securityDefinitions))if(typeof n==`object`){let r=Object.fromEntries(Object.entries(n).filter(([e])=>e===`description`||e.startsWith(`x-`)));if(`type`in n&&n.type===`oauth2`){let{flow:i,authorizationUrl:a,tokenUrl:o,scopes:s}=n;t.components&&typeof t.components==`object`&&`securitySchemes`in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{...r,type:`oauth2`,flows:{[Hyn(i||`implicit`)]:Object.assign({},a&&{authorizationUrl:a},o&&{tokenUrl:o},s&&{scopes:s})}}})}else`type`in n&&n.type===`basic`?t.components&&typeof t.components==`object`&&`securitySchemes`in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{...r,type:`http`,scheme:`basic`}}):t.components&&typeof t.components==`object`&&`securitySchemes`in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:n})}delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}function I2(e){let t=[`type`,`format`,`default`,`items`,`maximum`,`exclusiveMaximum`,`minimum`,`exclusiveMinimum`,`maxLength`,`minLength`,`pattern`,`maxItems`,`minItems`,`uniqueItems`,`enum`,`multipleOf`,`x-nullable`].reduce((t,n)=>(Object.hasOwn(e,n)&&(t[n]=e[n],delete e[n]),t),{});return B2(t),t}function Nyn(e){if(e===`formData`)throw Error(`Encountered a formData parameter which should have been filtered out by the caller`);if(e===`body`)throw Error(`Encountered a body parameter which should have been filtered out by the caller`);return e}function L2(e){if(Object.hasOwn(e,`$ref`)&&typeof e.$ref==`string`)return{$ref:e.$ref};let t=Fyn(e),n=I2(e),{xExample:r,xExamples:i}=Eyn(e);if(P2(r)?e.examples=jyn(r):P2(i)&&(e.examples=Object.entries(i).reduce((e,[t,n])=>(e[t]=F2(n),e),{})),delete e.collectionFormat,delete e.default,!e.in)throw Error(`Parameter object must have an "in" property`);return{schema:n,...t,...e,in:Nyn(e.in)}}function Pyn(e){if(Object.hasOwn(e,`$ref`)&&typeof e.$ref==`string`)return{$ref:e.$ref};let t=I2(e);return{...e,schema:t}}function Fyn(e){if(e.type!==`array`||e.in!==`query`&&e.in!==`path`&&e.in!==`header`)return{};let t=e.collectionFormat??`csv`;return e.in in U2&&t in U2[e.in]?U2[e.in][t]:{}}function Iyn(e){if(e.type!==`array`||typeof e.collectionFormat!=`string`)return;let t=V2[e.collectionFormat];if(t&&Object.keys(t).length!==0)return t}function Lyn(e,t){let{xExample:n,xExamples:r}=Eyn(e);delete e.name,delete e.in;let{schema:i,...a}=e;B2(i);let o={content:{},...a};if(o.content)for(let e of t){if(o.content[e]={schema:i},P2(r)&&e in r){let t=r[e];P2(t)&&Object.values(t).every(e=>Ayn(e))?o.content[e].examples=t:Dyn(t)?o.content[e].examples=Object.entries(t).reduce((e,[t,n])=>(e[t]=F2(n),e),{}):o.content[e].examples={default:F2(t)}}else if(P2(r)){let n=Object.entries(r).filter(([e])=>!z2(e,t));n.length&&(o.content[e].examples=n.reduce((e,[t,n])=>(e[t]=F2(n),e),{}))}!o.content[e].examples&&P2(n)&&e in n&&(o.content[e].example=n[e])}return o}function Ryn(e,t=[`multipart/form-data`]){let n={content:{}},r=t.filter(e=>e===`multipart/form-data`||e===`application/x-www-form-urlencoded`),i=r.length>0?r:[`multipart/form-data`];if(n.content)for(let t of i){n.content[t]={schema:{type:`object`,properties:{},required:[]}};let r=n.content?.[t];if(r?.schema&&typeof r.schema==`object`&&`properties`in r.schema){for(let t of e)if(t.name&&r.schema.properties){let e=structuredClone(t),n=I2(e);r.schema.properties[t.name]={...n,...Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(`x-`))),...t.description===void 0?{}:{description:t.description}};let i=Iyn(t);i&&(r.encoding??={},r.encoding[t.name]=i),t.required&&Array.isArray(r.schema.required)&&r.schema.required.push(t.name)}}}return n}function zyn(e,t){let n={parameters:e.filter(e=>e.in!==`body`&&e.in!==`formData`).map(e=>L2(e))},r=structuredClone(e.find(e=>e.in===`body`)??{});r&&Object.keys(r).length&&(n.requestBody=Lyn(r,t));let i=e.filter(e=>e.in===`formData`);if(i.length>0){let e=Ryn(i,t);n.requestBody=typeof n.requestBody==`object`?{...n.requestBody,content:{...n.requestBody.content,...e.content}}:e,typeof n.requestBody!=`object`&&(n.requestBody={content:{}})}return n}var R2,Byn,Vyn,z2,Hyn,B2,V2,H2,U2,Uyn=s((()=>{js(),Tyn(),R2=`application/json`,Byn=new Set([`summary`,`description`,`value`,`externalValue`]),Vyn=/^(\*|application|audio|example|font|haptics|image|message|model|multipart|text|video)\/[a-zA-Z0-9*+.-]+$/,z2=(e,t)=>t.includes(e)||Vyn.test(e),Hyn=e=>{switch(e){case`application`:return`clientCredentials`;case`accessCode`:return`authorizationCode`;case`implicit`:return`implicit`;case`password`:return`password`;default:return e}},B2=e=>{if(As(e)){if(typeof e[`x-nullable`]==`boolean`&&(e[`x-nullable`]&&(e.nullable=!0),delete e[`x-nullable`]),As(e.properties))for(let t of Object.values(e.properties))B2(t);if(B2(e.items),B2(e.additionalProperties),Array.isArray(e.allOf))for(let t of e.allOf)B2(t)}},V2={ssv:{style:`spaceDelimited`,explode:!1},pipes:{style:`pipeDelimited`,explode:!1},multi:{style:`form`,explode:!0},csv:{style:`form`,explode:!1},tsv:{}},H2={ssv:{},pipes:{},multi:{},csv:{style:`simple`,explode:!1},tsv:{}},U2={header:H2,query:V2,path:H2}})),Wyn=s((()=>{Uyn()})),Gyn,Kyn,W2,G2=s((()=>{Gyn=new Set([`properties`,`items`,`allOf`,`anyOf`,`oneOf`,`not`,`additionalProperties`,`schema`,`schemas`]),Kyn=new Set([`paths`,`webhooks`,`responses`,`content`,`headers`,`examples`,`links`,`encoding`,`variables`,`parameters`,`requestBodies`,`securitySchemes`,`pathItems`,`scopes`]),W2=e=>{if(!e)return!1;let t=e[0]===`x-ext`&&e[1]!==void 0?e.slice(2):e,n=0;for(let e of t)if(n>0)n--;else{if(Gyn.has(e)||e.endsWith(`Schema`))return!0;e===`callbacks`?n=2:Kyn.has(e)&&(n=1)}return!1}}));function K2(e){let t=e?.[e.length-1];return t===void 0?!1:t===`schemas`&&e?.[e.length-2]===`components`||Qyn.has(t)}function qyn(e,t){return e[t]==="default"&&e[t-1]===`responses`&&!K2(e.slice(0,t-1))}function Jyn(e){if(!e)return!1;for(let[t,n]of e.entries())if($yn.has(n)&&!K2(e.slice(0,t))&&!qyn(e,t)||n===`value`&&e[t-2]===`examples`&&!K2(e.slice(0,t-2)))return!0;return!1}function Yyn(e){if(!e||e.length<2||!W2(e.slice(0,-2))||e.some((t,n)=>{let r=e.slice(0,n);return t.startsWith(`x-`)&&W2(r)&&!K2(r)}))return!1;let t=e[e.length-2],n=e[e.length-1];return(t===`oneOf`||t===`anyOf`)&&n!==void 0&&/^\d+$/.test(n)}function Xyn(e){return Object.keys(e).every(e=>e===`nullable`||ebn.has(e)||e.startsWith(`x-`))}function Zyn(e){let t=e;return t===null||typeof t.openapi!=`string`||!t.openapi.startsWith(`3.0`)||(t.openapi=`3.1.1`,t=N2(t,tbn)),t}var Qyn,$yn,ebn,tbn,nbn=s((()=>{G2(),Tyn(),Qyn=new Set([`properties`,`patternProperties`,`$defs`,`definitions`]),$yn=new Set([`example`,`default`,`const`,`enum`]),ebn=new Set([`title`,`description`,`deprecated`,`default`,`example`,`examples`,`externalDocs`,`readOnly`,`writeOnly`]),tbn=(e,t)=>{if(Jyn(t))return e;if(e.type!==void 0&&e.nullable===!0)e.type=[e.type,`null`],delete e.nullable;else if(e.nullable===!0&&e.type===void 0){if(typeof e.$ref==`string`){let{nullable:t,$ref:n,...r}=e;return{...r,anyOf:[{$ref:n},{type:`null`}]}}if(Array.isArray(e.allOf)){let{nullable:t,allOf:n,...r}=e,i=n.length===1?n[0]:{allOf:n};return{...r,anyOf:[i,{type:`null`}]}}Yyn(t)&&Xyn(e)&&(delete e.nullable,e.type=`null`)}e.exclusiveMinimum===!0&&e.minimum!==void 0?(e.exclusiveMinimum=e.minimum,delete e.minimum):typeof e.exclusiveMinimum==`boolean`&&delete e.exclusiveMinimum,e.exclusiveMaximum===!0&&e.maximum!==void 0?(e.exclusiveMaximum=e.maximum,delete e.maximum):typeof e.exclusiveMaximum==`boolean`&&delete e.exclusiveMaximum;let n=t?.some((e,n)=>e===`examples`&&n>0&&!K2(t.slice(0,n)));e.example!==void 0&&!n&&!K2(t)&&(e.examples=W2(t)?[e.example]:{default:{value:e.example}},delete e.example);let{format:r,...i}=e;if(e.type===`string`||Array.isArray(e.type)&&e.type.includes(`string`)){if(e.format===`binary`){let{type:e,...n}=i;return t?.at(-1)===`schema`&&t.at(-3)===`content`?n:{contentMediaType:`application/octet-stream`,...n}}if(e.format===`base64`||e.format===`byte`)return{...i,contentEncoding:`base64`}}return e[`x-webhooks`]!==void 0&&(t===void 0||t.length===0)&&(e.webhooks=e[`x-webhooks`],delete e[`x-webhooks`]),e}})),rbn=s((()=>{nbn()}));function ibn(e,t,n){if(t===`3.2`){let t=Zyn(Myn(A2(e)));try{let e=Cyn(t,n?.onIncompatible===`ignore`?`ignore`:`throw`);return n?.onIncompatible===`collect`?{document:e,diagnostics:[]}:e}catch(t){if(n?.onIncompatible!==`collect`||!(t instanceof j2))throw t;return{document:ibn(A2(e),`3.1`),diagnostics:t.errors}}}let r=Myn(e);return t===`3.0`?r:Zyn(r)}var abn=s((()=>{wyn(),Wyn(),rbn(),myn(),M2()})),obn=s((()=>{abn(),M2()})),q2,sbn,cbn,lbn,ubn,J2,Y2=s((()=>{q2="```",sbn=(e,t)=>`${q2}${e}\n${t.trimEnd()}\n${q2}`,cbn=(e,t)=>`@example\n${sbn(e,t)}`,lbn=e=>`\`${e}\``,ubn=(...e)=>e.join(`
+
+`),J2=(e,t)=>ubn(e,cbn(t.language,t.body))})),dbn,fbn=s((()=>{Ce(),Y2(),dbn=C({"x-internal":w(ue({typeComment:`When true, hides the entity from public documentation`}))},{typeName:`XInternal`,typeComment:J2(`Marks an entity as internal (hidden from external consumers).`,{language:`yaml`,body:`x-internal: true`})})})),pbn,mbn=s((()=>{Ce(),Y2(),pbn=C({"x-original-aas-version":w(S({typeComment:`Original AsyncAPI Specification version the document was loaded with.`}))},{typeName:`XOriginalAasVersion`,typeComment:J2(`Original AsyncAPI Specification version of the source document before ingestion.`,{language:`yaml`,body:`x-original-aas-version: "3.0.0"`})})})),hbn,gbn=s((()=>{Ce(),Y2(),hbn=C({"x-scalar-ignore":w(ue({typeComment:`When true, the entity is hidden or ignored in the UI`}))},{typeName:`XScalarIgnore`,typeComment:J2(`Internal extension to mark an entity as ignored in the Scalar UI.`,{language:`yaml`,body:`x-scalar-ignore: true`})})})),_bn,vbn=s((()=>{Ce(),Y2(),_bn=C({"x-scalar-is-dirty":w(ue({typeComment:`When true, the document has unsaved changes`}))},{typeName:`XScalarIsDirty`,typeComment:J2(`Tracks whether the document has been modified since it was last saved.`,{language:`yaml`,body:`x-scalar-is-dirty: true`})})})),ybn,bbn=s((()=>{Ce(),ybn=C({"x-scalar-navigation":w(fe({typeComment:"Serialized client navigation tree (`TraversedDocument`) for this API description"}))},{typeName:`XScalarNavigation`,typeComment:"Client-side navigation tree persisted on the document. Matches `TraversedDocumentObjectRef` in strict OpenAPI schemas."})})),xbn,Sbn=s((()=>{Ce(),Y2(),xbn=C({"x-scalar-original-document-hash":S({typeComment:`Hash of the document as originally loaded from an external source`})},{typeName:`XScalarOriginalDocumentHash`,typeComment:J2(`Tracks the original document hash when loading from an external source. Used to detect modifications since last save.`,{language:`yaml`,body:`x-scalar-original-document-hash: "abc123"`})})})),Cbn,wbn=s((()=>{Ce(),Y2(),Cbn=C({"x-scalar-original-source-url":w(S({typeComment:`Original document source URL when loaded from an external source`}))},{typeName:`XScalarOriginalSourceUrl`,typeComment:J2(`Original document source URL when the API description was loaded from an external source.`,{language:`yaml`,body:`x-scalar-original-source-url: https://example.com/openapi.yaml`})})})),Tbn,Ebn,Dbn=s((()=>{Ce(),Y2(),Tbn=C({namespace:S({typeComment:`The namespace under which this registry meta is scoped.`}),slug:S({typeComment:`A unique slug identifier for this registry meta within the namespace.`}),version:S({typeComment:`The version of the registry meta.`}),commitHash:w(S({typeComment:`Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved.`})),conflictCheckedAgainstHash:w(S({typeComment:"Registry commit hash that the cached `hasConflict` flag was computed against. When the registry advertises a different hash later, the cached result is stale and the conflict check must be re-run."})),hasConflict:w(ue({typeComment:"Cached outcome of the last conflict check, valid only while `conflictCheckedAgainstHash` matches the registry current hash for this version."}))},{typeName:`XScalarRegistryMetaInner`,typeComment:`Registry meta namespace and slug`}),Ebn=C({"x-scalar-registry-meta":w(Tbn)},{typeName:`XScalarRegistryMeta`,typeComment:J2(`Registry sync metadata for a document published to Scalar Registry.`,{language:`yaml`,body:`x-scalar-registry-meta:
+ namespace: acme
+ slug: public-api
+ version: "1.0.0"`})})})),Obn,kbn=s((()=>{Ce(),Y2(),Obn=C({"x-scalar-watch-mode":w(ue({typeComment:`When true, the document is watched for external file changes`}))},{typeName:`XScalarWatchMode`,typeComment:J2(`Whether the document is in watch mode (reloads when the source file changes).`,{language:`yaml`,body:`x-scalar-watch-mode: true`})})})),Abn,jbn=s((()=>{Ce(),Y2(),Abn=C({"x-tags":w(he(S(),{typeComment:`Ordered list of tag names for this schema object`}))},{typeName:`XTags`,typeComment:J2(`Custom tag ordering hints for schema objects in the sidebar.`,{language:`yaml`,body:`x-tags:
+ - users
+ - admin`})})})),Mbn=s((()=>{fbn(),mbn(),Ce(),Y2(),gbn(),vbn(),bbn(),Sbn(),wbn(),Dbn(),kbn(),jbn()})),Nbn,Pbn=s((()=>{Ce(),Y2(),Nbn=C({"x-scalar-selected-server":w(S({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:`XScalarSelectedServer`,typeComment:J2("The currently selected server for this API description. For OpenAPI documents the value is the server URL; for AsyncAPI documents the value is the server name (key in `document.servers`).",{language:`yaml`,body:`x-scalar-selected-server: https://api.example.com`})})})),Fbn=s((()=>{Pbn()})),Ibn,Lbn=s((()=>{Ce(),Y2(),Ibn=C({"x-additionalPropertiesName":w(S({typeComment:`Human-readable label for additional properties on this schema`}))},{typeName:`XAdditionalPropertiesName`,typeComment:J2(`Display name for additional properties on a schema object.`,{language:`yaml`,body:`x-additionalPropertiesName: metadata`})})})),X2,Rbn,zbn=s((()=>{Ce(),Y2(),X2=_e([ge(S(),S()),he(S())]),Rbn=C({"x-enumDescriptions":w(X2,{typeComment:`Map or list of descriptions keyed by enum value (camelCase spelling)`}),"x-enum-descriptions":w(X2,{typeComment:`Map or list of descriptions keyed by enum value (kebab-case spelling)`})},{typeName:`XEnumDescriptions`,typeComment:J2(`Descriptions for enum values. Keys must match enum values.`,{language:`yaml`,body:`x-enumDescriptions:
+ other: Other reason`})})})),Bbn,Vbn=s((()=>{Ce(),Y2(),Bbn=C({"x-enum-varnames":w(he(S(),{typeComment:"Display names for enum values (same order as `enum`)"})),"x-enumNames":w(he(S(),{typeComment:`Alias for x-enum-varnames — display names for enum values`}))},{typeName:`XEnumVarNames`,typeComment:J2(`Display names for enum values. Must match the order of the ${lbn(`enum`)} array.`,{language:`yaml`,body:`enum: [moon, asteroid]
+x-enum-varnames: [Moon, Asteroid]`})})})),Hbn,Ubn=s((()=>{Ce(),Y2(),Hbn=C({"x-examples":w(ge(S(),fe(),{typeComment:`Map of example name to example value`}))},{typeName:`XExamples`,typeComment:J2(`Named examples attached to a schema. Keys are example names; values are the example payloads.`,{language:`yaml`,body:`x-examples:
+ user:
+ id: 1
+ name: Ada`})})})),Wbn,Gbn=s((()=>{Ce(),Y2(),Wbn=C({"x-variable":w(S({typeComment:`Variable name used for substitution in the API client`}))},{typeName:`XVariable`,typeComment:J2(`References a variable for schema property substitution in the API client.`,{language:`yaml`,body:`x-variable: userId`})})})),Kbn=s((()=>{Lbn(),zbn(),Vbn(),Ubn(),Gbn()})),qbn,Jbn=s((()=>{Ce(),qbn=C({propertyName:S({typeComment:`REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined.`}),mapping:w(ge(S(),S(),{typeComment:`An object to hold mappings between payload values and schema names or URI references.`}))},{typeName:`DiscriminatorObject`})})),Ybn,Xbn=s((()=>{Ce(),Ybn=C({url:S({typeComment:`REQUIRED. The URI for the target documentation. This MUST be in the form of a URI.`}),description:w(S({typeComment:`A description of the target documentation. CommonMark syntax MAY be used for rich text representation.`}))},{typeName:`ExternalDocumentationObject`})})),Zbn,Qbn=s((()=>{Ce(),Zbn=C({$status:w(_e([ye(`loading`),ye(`error`)]),{typeComment:`Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed.`}),$global:w(ue({typeComment:`Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context.`}))},{typeName:`ReferenceObjectExtensions`})})),$bn,Z2,exn=s((()=>{Ce(),$bn=C({$ref:S({typeComment:`REQUIRED. The reference identifier. This MUST be in the form of a URI.`}),summary:w(S({typeComment:`A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect.`})),description:w(S({typeComment:`A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect.`}))},{typeName:`ReferenceObject`}),Z2=e=>_e([$bn,e])})),txn,nxn=s((()=>{Ce(),txn=C({name:w(S({typeComment:`Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.`})),namespace:w(S({typeComment:`The URI of the namespace definition. Value MUST be in the form of a non-relative URI.`})),prefix:w(S({typeComment:`The prefix to be used for the name.`})),attribute:w(ue({typeComment:`Declares whether the property definition translates to an attribute instead of an element. Default value is false.`})),wrapped:w(ue({typeComment:`MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).`}))},{typeName:`XMLObject`})})),Q2,rxn=s((()=>{Ce(),Mbn(),Kbn(),Jbn(),Xbn(),exn(),nxn(),Q2=(e=!1,t=qbn)=>{let n=[hbn,dbn,Wbn,Hbn,Rbn,Bbn,Ibn,Abn],r=C({name:w(S({typeComment:`Schema name (extension).`})),title:w(S({typeComment:`A title for the schema.`})),description:w(S({typeComment:`A description of the schema.`})),default:w(fe({typeComment:`Default value for the schema.`})),enum:w(he(fe(),{typeComment:`Array of allowed values.`,typeName:`JsonSchemaEnum`})),const:w(fe({typeComment:`Constant value that must match exactly.`})),contentMediaType:w(S({typeComment:`Media type for content validation.`})),contentEncoding:w(S({typeComment:`Content encoding.`})),contentSchema:w(Z2(be(()=>g))),deprecated:w(ue({typeComment:`Whether the schema is deprecated.`})),discriminator:w(t),readOnly:w(ue({typeComment:`Whether the schema is read-only.`})),writeOnly:w(ue({typeComment:`Whether the schema is write-only.`})),xml:w(txn),externalDocs:w(Ybn),example:w(fe({typeComment:`A free-form field to include an example of an instance for this schema. Deprecated in favor of the JSON Schema examples keyword.`})),examples:w(he(fe(),{typeComment:`An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.`,typeName:`SchemaExamplesArray`})),allOf:w(he(Z2(be(()=>g)),{typeName:`SchemaObjectAllOf`})),oneOf:w(he(Z2(be(()=>g)),{typeName:`SchemaObjectOneOf`})),anyOf:w(he(Z2(be(()=>g)),{typeName:`SchemaObjectAnyOf`})),not:w(Z2(be(()=>g)))}),i=C({multipleOf:w(le({typeComment:`Number must be a multiple of this value.`})),maximum:w(le({typeComment:`Maximum value (inclusive).`})),exclusiveMaximum:w(le({typeComment:`Maximum value (exclusive).`})),minimum:w(le({typeComment:`Minimum value (inclusive).`})),exclusiveMinimum:w(le({typeComment:`Minimum value (exclusive).`}))}),a=ve([C({type:_e([ye(`number`),ye(`integer`)]),format:w(S({typeComment:`Different subtypes.`}))}),i],{typeName:`NumberSchemaObject`}),o=C({maxLength:w(le({typeComment:`Maximum string length.`})),minLength:w(le({typeComment:`Minimum string length.`})),pattern:w(S({typeComment:`Regular expression pattern.`}))}),s=ve([C({type:ye(`string`),format:w(S({typeComment:`Different subtypes.`}))}),o],{typeName:`StringSchemaObject`}),c=C({maxProperties:w(le({typeComment:`Maximum number of properties.`})),minProperties:w(le({typeComment:`Minimum number of properties.`})),properties:w(ge(S(),Z2(be(()=>g)),{typeName:`SchemaObjectProperties`})),required:w(he(S(),{typeName:`SchemaObjectRequired`})),additionalProperties:w(_e([Z2(be(()=>g)),C({}),ue()],{typeName:`SchemaObjectAdditionalProperties`})),patternProperties:w(ge(S(),Z2(be(()=>g)),{typeName:`SchemaObjectPatternProperties`})),propertyNames:w(Z2(be(()=>g)))}),l=ve([C({type:ye(`object`)}),c],{typeName:`ObjectSchemaObject`}),u=C({maxItems:w(le({typeComment:`Maximum number of items in array.`})),minItems:w(le({typeComment:`Minimum number of items in array.`})),uniqueItems:w(ue({typeComment:`Whether array items must be unique.`})),items:w(Z2(be(()=>g))),prefixItems:w(he(Z2(be(()=>g)),{typeComment:`Schema for tuple validation.`}))}),d=ve([C({type:ye(`array`)}),u],{typeName:`ArraySchemaObject`}),f=_e([ye(`null`),ye(`boolean`),ye(`string`),ye(`number`),ye(`integer`),ye(`object`),ye(`array`)],{typeName:`SchemaObjectMultiTypeKeywords`}),p=C({type:_e([ye(`null`),ye(`boolean`)],{typeName:`SchemaObjectOtherTypeKeyword`})}),m=ve([C({type:he(f,{typeName:`SchemaObjectMultiTypeKeywordArray`}),format:w(S({typeComment:`Different subtypes.`}))}),i,o,u,c],{typeName:`MultiTypeSchemaObject`}),h=ve([r,...n,_e([p,a,s,l,d,m,C({})])],{typeName:`SchemaObject`}),g=e?_e([ue(),h]):h;return h},Q2()})),ixn,axn,$2,e4,t4=s((()=>{js(),Ce(),Qbn(),ixn=C({$ref:S({typeComment:`REQUIRED. The reference string.`})},{typeName:`AsyncApiReferenceObject`,typeComment:`JSON Reference for AsyncAPI components.`}),axn=e=>{let t=new Set,n=e;for(;V(n)&&`$ref`in n&&!t.has(n);)t.add(n),n=n[`$ref-value`];return n},$2=e=>ve([ixn,C({"$ref-value":w(xe(axn,e))}),Zbn]),e4=e=>_e([e,$2(e)])})),oxn,n4,r4,i4,a4=s((()=>{Ce(),rxn(),t4(),oxn=C({schemaFormat:w(S({typeComment:`Media type identifying the schema format. When omitted, defaults to the AsyncAPI JSON Schema vocabulary for the document version.`})),schema:pe({typeComment:`REQUIRED. Schema definition in the format given by schemaFormat.`})},{typeName:`AsyncApiMultiFormatSchemaObject`}),n4=_e([ye(!0),ye(!1),Q2(!0,S())],{typeName:`AsyncApiSchemaJsonShape`}),r4=e4(n4),i4=e4(_e([oxn,n4],{typeName:`AsyncApiMultiFormatSchemaOrSchemaObject`}))})),sxn,cxn=s((()=>{Ce(),a4(),sxn=C({method:w(_e([ye(`GET`),ye(`POST`)],{typeComment:`HTTP method used when establishing the WebSocket connection (typically GET).`})),query:w(r4,{typeComment:`Schema Object describing WebSocket handshake query parameters (type object with properties). May be a Reference Object.`}),headers:w(r4,{typeComment:`Schema Object describing HTTP headers sent during the WebSocket handshake (type object with properties). May be a Reference Object.`}),bindingVersion:w(S({typeComment:`Version of the WebSocket binding. When omitted, "latest" is assumed per the binding spec.`}))},{typeName:`AsyncApiWsBindingObject`,typeComment:`AsyncAPI WebSocket binding for handshake method, query, and headers.`})})),lxn,uxn,dxn,o4,s4,c4,l4,u4,d4=s((()=>{Ce(),cxn(),lxn=[`http`,`ws`,`kafka`,`anypointmq`,`amqp`,`amqp1`,`mqtt`,`mqtt5`,`nats`,`jms`,`sns`,`solace`,`sqs`,`stomp`,`redis`,`mercure`,`ibmmq`,`googlepubsub`,`pulsar`,`ros2`],uxn=()=>w(pe({typeComment:`Protocol-specific binding definition (see AsyncAPI protocol bindings).`})),dxn=()=>{let e={};for(let t of lxn)e[t]=t===`ws`?w(sxn):uxn();return e},o4=(e,t)=>C(dxn(),{typeName:e,typeComment:t}),s4=o4(`AsyncApiServerBindingsObject`,`Map describing protocol-specific definitions for a server (AsyncAPI 3.1.0).`),c4=o4(`AsyncApiChannelBindingsObject`,`Map describing protocol-specific definitions for a channel (AsyncAPI 3.1.0).`),l4=o4(`AsyncApiOperationBindingsObject`,`Map describing protocol-specific definitions for an operation (AsyncAPI 3.1.0).`),u4=o4(`AsyncApiMessageBindingsObject`,`Map describing protocol-specific definitions for a message (AsyncAPI 3.1.0).`)})),f4,p4=s((()=>{Ce(),t4(),f4=e4(C({description:w(S({typeComment:`A short description of the target documentation. CommonMark syntax MAY be used for rich text representation.`})),url:S({typeComment:`REQUIRED. The URL for the target documentation. This MUST be in the form of an absolute URL.`})},{typeName:`AsyncApiExternalDocumentationObject`}))})),m4,h4=s((()=>{Ce(),t4(),m4=e4(C({description:w(S({typeComment:`An optional description of the identifier. CommonMark syntax MAY be used for rich text representation.`})),location:S({typeComment:`REQUIRED. A runtime expression that specifies the location of the correlation ID.`})},{typeName:`AsyncApiCorrelationIdObject`}))})),g4,_4=s((()=>{Ce(),g4=C({headers:w(ge(S(),pe(),{typeComment:`Example headers; MUST validate against the Message Object headers field when present.`})),payload:w(pe({typeComment:`Example payload; MUST validate against the Message Object payload field when present.`})),name:w(S({typeComment:`A machine-friendly name.`})),summary:w(S({typeComment:`A short summary of what the example is about.`}))},{typeName:`AsyncApiMessageExampleObject`})})),v4,y4,b4=s((()=>{Ce(),p4(),t4(),v4=e4(C({name:S({typeComment:`REQUIRED. The name of the tag.`}),description:w(S({typeComment:`A short description for the tag. CommonMark syntax MAY be used for rich text representation.`})),externalDocs:w(f4)},{typeName:`AsyncApiTagObject`})),y4=he(v4,{typeName:`AsyncApiTagsObject`,typeComment:`A list of Tag Objects (entries MAY be Reference Objects).`})})),x4,S4=s((()=>{Ce(),d4(),h4(),p4(),_4(),t4(),a4(),b4(),x4=e4(C({headers:w(i4),correlationId:w(m4),contentType:w(S({typeComment:`The content type to use when encoding/decoding a message payload (for example application/json).`})),name:w(S({typeComment:`A machine-friendly name for the message.`})),title:w(S({typeComment:`A human-friendly title for the message.`})),summary:w(S({typeComment:`A short summary of what the message is about.`})),description:w(S({typeComment:`A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation.`})),tags:w(y4),externalDocs:w(f4),bindings:w(e4(u4)),examples:w(he(e4(g4)))},{typeName:`AsyncApiMessageTraitObject`}))})),C4,fxn,w4=s((()=>{Ce(),d4(),h4(),p4(),_4(),S4(),t4(),a4(),b4(),C4=be(()=>e4(C({headers:w(i4),payload:w(i4),correlationId:w(m4),contentType:w(S({typeComment:`The content type to use when encoding/decoding a message payload (for example application/json).`})),name:w(S({typeComment:`A machine-friendly name for the message.`})),title:w(S({typeComment:`A human-friendly title for the message.`})),summary:w(S({typeComment:`A short summary of what the message is about.`})),description:w(S({typeComment:`A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation.`})),tags:w(y4),externalDocs:w(f4),bindings:w(e4(u4)),examples:w(he(e4(g4))),traits:w(he(x4))},{typeName:`AsyncApiMessageObject`}))),fxn=ge(S(),C4,{typeName:`AsyncApiMessagesObject`,typeComment:`Map of messageId to Message Object or Reference Object.`})})),pxn,mxn=s((()=>{Ce(),t4(),pxn=e4(C({enum:w(he(S(),{typeComment:`An enumeration of string values for substitution.`})),default:w(S({typeComment:`The default value to use for substitution, and to send, if an alternate value is not supplied.`})),description:w(S({typeComment:`An optional description for the parameter. CommonMark syntax MAY be used for rich text representation.`})),examples:w(he(S(),{typeComment:`Examples of the parameter value.`})),location:w(S({typeComment:`A runtime expression that specifies the location of the parameter value.`}))},{typeName:`AsyncApiParameterObject`}))})),hxn,gxn=s((()=>{Ce(),mxn(),hxn=ge(S(),pxn,{typeName:`AsyncApiParametersObject`,typeComment:`Map of parameter name to Parameter Object or Reference Object.`})})),T4,_xn,vxn=s((()=>{Ce(),t4(),T4=C({authorizationUrl:w(S({typeComment:`REQUIRED for implicit and authorizationCode flows. The authorization URL (absolute URL).`})),tokenUrl:w(S({typeComment:`REQUIRED for password, clientCredentials, and authorizationCode flows. The token URL (absolute URL).`})),refreshUrl:w(S({typeComment:`The URL to be used for obtaining refresh tokens. This MUST be in the form of an absolute URL.`})),availableScopes:w(ge(S(),S(),{typeComment:`REQUIRED for OAuth2 flows. Map of scope name to a short description.`}))},{typeName:`AsyncApiOAuthFlowObject`}),_xn=C({implicit:w(e4(T4)),password:w(e4(T4)),clientCredentials:w(e4(T4)),authorizationCode:w(e4(T4))},{typeName:`AsyncApiOAuthFlowsObject`})})),E4,D4=s((()=>{Ce(),vxn(),t4(),E4=e4(C({type:_e([ye(`userPassword`),ye(`apiKey`),ye(`X509`),ye(`symmetricEncryption`),ye(`asymmetricEncryption`),ye(`httpApiKey`),ye(`http`),ye(`oauth2`),ye(`openIdConnect`),ye(`plain`),ye(`scramSha256`),ye(`scramSha512`),ye(`gssapi`)],{typeComment:`REQUIRED. Security scheme type: userPassword, apiKey, X509, symmetricEncryption, asymmetricEncryption, httpApiKey, http, oauth2, openIdConnect, plain, scramSha256, scramSha512, gssapi.`}),description:w(S({typeComment:`A short description for security scheme. CommonMark syntax MAY be used for rich text representation.`})),name:w(S({typeComment:`REQUIRED for httpApiKey. The name of the header, query or cookie parameter.`})),in:w(_e([ye(`user`),ye(`password`),ye(`query`),ye(`header`),ye(`cookie`)],{typeComment:`REQUIRED for apiKey and httpApiKey. Location of the API key: user, password, query, header, or cookie.`})),scheme:w(S({typeComment:`REQUIRED for http. The name of the HTTP Authorization scheme to be used in the Authorization header.`})),bearerFormat:w(S({typeComment:`A hint to the client to identify how the bearer token is formatted.`})),flows:w(e4(_xn)),openIdConnectUrl:w(S({typeComment:`REQUIRED for openIdConnect. OpenId Connect URL to discover OAuth2 configuration values (absolute URL).`})),scopes:w(he(S(),{typeComment:`List of the needed scope names for oauth2 and openIdConnect.`}))},{typeName:`AsyncApiSecuritySchemeObject`}))})),yxn,bxn=s((()=>{Ce(),t4(),yxn=e4(C({enum:w(he(S(),{typeComment:`An enumeration of string values for substitution.`})),default:w(S({typeComment:`The default value to use for substitution, and to send, if an alternate value is not supplied.`})),description:w(S({typeComment:`An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.`})),examples:w(he(S(),{typeComment:`Examples of the server variable.`}))},{typeName:`AsyncApiServerVariableObject`}))})),O4,xxn,k4=s((()=>{Ce(),d4(),p4(),t4(),D4(),bxn(),b4(),O4=e4(C({host:S({typeComment:`REQUIRED. The server host name. It MAY include the port. Supports Server Variables in {braces}.`}),protocol:S({typeComment:`REQUIRED. The protocol this server supports for connection.`}),protocolVersion:w(S({typeComment:`The version of the protocol used for connection (for example 0-9-1 for AMQP).`})),pathname:w(S({typeComment:`The path to a resource in the host. Supports Server Variables in {braces}.`})),description:w(S({typeComment:`An optional string describing the server. CommonMark syntax MAY be used for rich text representation.`})),title:w(S({typeComment:`A human-friendly title for the server.`})),summary:w(S({typeComment:`A short summary of the server.`})),variables:w(ge(S(),yxn,{typeComment:`Map between a variable name and its Server Variable Object or Reference Object.`})),security:w(he(E4,{typeComment:`Alternative security schemes for this server; only one of the security scheme objects need to be satisfied.`})),tags:w(y4),externalDocs:w(f4),bindings:w(e4(s4))},{typeName:`AsyncApiServerObject`})),xxn=ge(S(),O4,{typeName:`AsyncApiServersObject`,typeComment:`Map of server name to Server Object or Reference Object.`})})),A4,Sxn,j4=s((()=>{Ce(),d4(),p4(),w4(),gxn(),t4(),k4(),b4(),A4=be(()=>C({address:w(_e([S(),de()],{typeComment:`Channel address or null when unknown.`})),messages:w(fxn),title:w(S({typeComment:`A human-friendly title for the channel.`})),summary:w(S({typeComment:`A short summary of the channel.`})),description:w(S({typeComment:`An optional description of this channel. CommonMark syntax MAY be used for rich text representation.`})),servers:w(he($2(O4),{typeComment:`References to Server definitions where this channel is available (Reference Objects only in the raw document).`})),parameters:w(hxn),tags:w(y4),externalDocs:w(f4),bindings:w(e4(c4))},{typeName:`AsyncApiChannelObject`})),Sxn=ge(S(),e4(A4),{typeName:`AsyncApiChannelsObject`,typeComment:`Map of channelId to Channel Object or Reference Object.`})})),Cxn,wxn=s((()=>{Ce(),t4(),Cxn=e4(C({description:w(S({typeComment:`An optional description of the address. CommonMark syntax MAY be used for rich text representation.`})),location:S({typeComment:`REQUIRED. A runtime expression that specifies the location of the reply address.`})},{typeName:`AsyncApiOperationReplyAddressObject`}))})),M4,N4=s((()=>{Ce(),j4(),w4(),wxn(),t4(),M4=be(()=>e4(C({address:w(Cxn),channel:w($2(A4)),messages:w(he($2(C4),{typeComment:`List of $ref pointers to Message Objects used as reply payloads (Reference Objects only in the raw document).`}))},{typeName:`AsyncApiOperationReplyObject`})))})),Txn,Exn=s((()=>{Ce(),d4(),p4(),N4(),t4(),D4(),b4(),Txn=e4(C({title:w(S({typeComment:`A human-friendly title for the operation.`})),summary:w(S({typeComment:`A short summary of what the operation is about.`})),description:w(S({typeComment:`A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation.`})),security:w(he(E4,{typeComment:`Security schemes for this operation. Only one of the security scheme objects MUST be satisfied.`})),tags:w(y4),externalDocs:w(f4),bindings:w(e4(l4)),reply:w(M4)},{typeName:`AsyncApiOperationTraitObject`}))})),Dxn,Oxn,kxn=s((()=>{Ce(),d4(),j4(),p4(),w4(),N4(),Exn(),t4(),D4(),b4(),Dxn=be(()=>e4(C({action:_e([ye(`send`),ye(`receive`)],{typeComment:`REQUIRED. send when the application sends to the channel; receive when it receives from the channel.`}),channel:$2(A4),title:w(S({typeComment:`A human-friendly title for the operation.`})),summary:w(S({typeComment:`A short summary of what the operation is about.`})),description:w(S({typeComment:`A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation.`})),security:w(he(E4,{typeComment:`Security schemes for this operation. Only one of the security scheme objects MUST be satisfied.`})),tags:w(y4),externalDocs:w(f4),bindings:w(e4(l4)),traits:w(he(Txn)),messages:w(he($2(C4),{typeComment:`Subset of channel messages as Reference Objects only. Omit to include all channel messages; use [] for none.`})),reply:w(M4)},{typeName:`AsyncApiOperationObject`}))),Oxn=ge(S(),Dxn,{typeName:`AsyncApiOperationsObject`,typeComment:`Map of operationId to Operation Object or Reference Object.`})})),Axn,jxn=s((()=>{Ce(),d4(),j4(),h4(),p4(),w4(),S4(),kxn(),N4(),wxn(),Exn(),mxn(),t4(),a4(),D4(),k4(),bxn(),b4(),Axn=be(()=>C({schemas:w(ge(S(),i4,{typeComment:`Reusable Multi Format Schema, Schema Object, or Reference Object.`})),servers:w(ge(S(),O4)),channels:w(Sxn),operations:w(ge(S(),Dxn)),messages:w(ge(S(),C4)),securitySchemes:w(ge(S(),E4)),serverVariables:w(ge(S(),yxn)),parameters:w(ge(S(),pxn)),correlationIds:w(ge(S(),m4)),replies:w(ge(S(),M4)),replyAddresses:w(ge(S(),Cxn)),externalDocs:w(ge(S(),f4)),tags:w(ge(S(),v4)),operationTraits:w(ge(S(),Txn)),messageTraits:w(ge(S(),x4)),serverBindings:w(ge(S(),e4(s4))),channelBindings:w(ge(S(),e4(c4))),operationBindings:w(ge(S(),e4(l4))),messageBindings:w(ge(S(),e4(u4)))},{typeName:`AsyncApiComponentsObject`,typeComment:`Reusable objects. Definitions here have no effect unless referenced from outside components.`}))})),Mxn,Nxn=s((()=>{Ce(),Mxn=C({name:w(S({typeComment:`The identifying name of the contact person/organization.`})),url:w(S({typeComment:`The URL pointing to the contact information. This MUST be in the form of an absolute URL.`})),email:w(S({typeComment:`The email address of the contact person/organization.`}))},{typeName:`AsyncApiContactObject`})})),Pxn,Fxn=s((()=>{Ce(),t4(),Pxn=e4(C({name:S({typeComment:`REQUIRED. The license name used for the API.`}),url:w(S({typeComment:`A URL to the license used for the API. This MUST be in the form of an absolute URL.`}))},{typeName:`AsyncApiLicenseObject`}))})),Ixn,Lxn=s((()=>{Ce(),Nxn(),p4(),Fxn(),b4(),Ixn=C({title:S({typeComment:`REQUIRED. The title of the application.`}),version:S({typeComment:`REQUIRED. Provides the version of the application API (not to be confused with the AsyncAPI Specification version).`}),description:w(S({typeComment:`A short description of the application. CommonMark syntax MAY be used for rich text representation.`})),termsOfService:w(S({typeComment:`A URL to the Terms of Service for the API (absolute URL).`})),contact:w(Mxn),license:w(Pxn),tags:w(y4),externalDocs:w(f4)},{typeName:`AsyncApiInfoObject`})})),Rxn,zxn,Bxn,Vxn=s((()=>{Ce(),Mbn(),Fbn(),j4(),jxn(),Lxn(),kxn(),t4(),k4(),Rxn=ve([pbn,ybn,Cbn,xbn,_bn,Obn,Ebn,Nbn],{typeName:`AsyncApiExtensions`,typeComment:`AsyncAPI document-level Scalar extensions shared with workspace tooling.`}),zxn=C({asyncapi:S({typeComment:`REQUIRED. AsyncAPI Specification version (major.minor.patch). Patch MAY include a hyphen suffix.`}),id:w(S({typeComment:`Identifier of the application the AsyncAPI document is defining (URI, RFC3986).`})),info:Ixn,servers:w(xxn),defaultContentType:w(S({typeComment:`Default content type when encoding/decoding a message payload (for example application/json).`})),channels:w(Sxn),operations:w(Oxn),components:w(e4(Axn))},{typeName:`AsyncApiDocumentCore`,typeComment:`Root AsyncAPI 3.1.0 document combining resource listing and API declaration.`}),Bxn=ve([zxn,Rxn],{typeName:`AsyncApiObject`,typeComment:`Root AsyncAPI 3.1.0 document including Scalar workspace extensions (AsyncApiExtensionsSchema).`})})),Hxn=s((()=>{Vxn(),d4(),j4(),jxn(),Nxn(),h4(),p4(),Lxn(),Fxn(),w4(),_4(),S4(),vxn(),kxn(),N4(),wxn(),Exn(),mxn(),gxn(),t4(),a4(),D4(),k4(),bxn(),b4(),cxn()})),P4,Uxn,Wxn,Gxn,Kxn,qxn,Jxn=s((()=>{_h(),P4=U.Object({name:U.String(),value:U.String()}),Uxn=U.Object({url:U.String(),method:U.String(),httpVersion:U.String(),headers:U.Array(P4),cookies:U.Array(P4),headersSize:U.Number(),queryString:U.Array(P4),bodySize:U.Number(),postData:U.Optional(U.Union([U.Object({mimeType:U.String(),text:U.String()}),U.Object({mimeType:U.String(),params:U.Array(U.Object({name:U.String(),value:U.Optional(U.String())}))})]))}),Wxn=U.Object({status:U.Number(),statusText:U.String(),headers:U.Array(P4),cookies:U.Array(P4),httpVersion:U.String(),redirectURL:U.String(),headersSize:U.Number(),bodySize:U.Number(),content:U.Object({size:U.Number(),mimeType:U.String(),encoding:U.Optional(U.String()),text:U.Optional(U.String())})}),Gxn=U.Object({time:U.Number(),timestamp:U.Number(),request:Uxn,response:Wxn,meta:U.Object({example:U.String()}),requestMetadata:U.Object({variables:U.Record(U.String(),U.String())})}),Kxn=U.Record(U.String(),U.Record(U.String(),U.Array(Gxn))),qxn=U.Record(U.String(),Kxn)})),Yxn,Xxn,Zxn=s((()=>{B(),Jxn(),z1(),Fu(),Gh(),Yxn=5,Xxn=({hooks:e})=>{let t=fn({});return{getHistory:(e,n,r)=>t[e]?.[n]?.[r],addHistory:(n,r,i,a)=>{t[n]||={},t[n][r]||={},t[n][r][i]||=[],t[n][r][i].length>=Yxn&&(t[n][r][i]=Pu(t[n][r][i].filter((e,t)=>t!==0),{depth:1})),t[n][r][i].push(a),e?.onHistoryChange?.(n)},clearOperationHistory:(n,r,i)=>{delete t[n]?.[r]?.[i],e?.onHistoryChange?.(n)},clearPathHistory:(n,r)=>{delete t[n]?.[r],e?.onHistoryChange?.(n)},clearDocumentHistory:n=>{delete t[n],e?.onHistoryChange?.(n)},load:n=>{let r=Wh(qxn,n);R1(t,r),Object.keys(r).forEach(t=>{e?.onHistoryChange?.(t)})},export:()=>Pu(t)}}})),F4,Qxn=s((()=>{lx(),F4=e=>{let t=cx(e).replace(/[^a-zA-Z0-9_.~{}-]/gu,e=>`~x${e.codePointAt(0)?.toString(16)}~`),n=t.length;for(;n>0&&t[n-1]===`.`;)n--;let r=t.slice(0,n)+`~x2e~`.repeat(t.length-n);return/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(r)||r===``?`~x~${r}`:r}})),$xn,eSn=s((()=>{lx(),Qxn(),$xn=(e,t)=>{let n=e.indexOf(`/asyncapi/components-schemas/`);if(n===-1)return e;let r=e.slice(n).includes(`.json#`);return`${e.slice(0,n)}/asyncapi/models/${r?F4(t):encodeURIComponent(cx(t))}${r?`.json#`:`#`}`}})),I4,tSn,nSn,rSn,L4,iSn,R4,aSn,oSn,sSn=s((()=>{nc(),js(),lx(),Qxn(),I4=`x-scalar-chunk-index`,tSn=/\{\{|\}\}|\{(\w+)\}/g,nSn=(e,t={})=>e.replace(tSn,(e,n)=>n===void 0?e.charAt(0):t[n]??e),rSn=e=>encodeURIComponent(cx(e)),L4=e=>e,iSn={static:{type:F4,name:F4,path:F4,method:L4},ssr:{type:L4,name:rSn,path:cx,method:L4}},R4=e=>({$ref:e,$global:!0}),aSn=e=>V(e)&&(e.mode===`static`||e.mode===`ssr`)&&V(e.refs)&&V(e.components)&&V(e.paths),oSn=e=>{if(!V(e)||e[`x-scalar-chunk-index`]===void 0)return!1;let t=e[I4];if(!aSn(t))return delete e[I4],console.warn(`Ignoring an unreadable "${I4}"; this document's chunks cannot be resolved.`),!1;let n=iSn[t.mode],r=Object.fromEntries(Object.entries(t.components).map(([e,r])=>[e,Object.fromEntries(r.map(r=>[r,R4(nSn(t.refs.components,{type:n.type(e),name:n.name(r)}))]))])),i=Object.fromEntries(Object.entries(t.paths).map(([e,r])=>[e,Object.fromEntries(Object.entries(r).map(([r,i])=>[r,tc(r)?R4(nSn(t.refs.operations,{path:n.path(e),method:n.method(r)})):i]))])),a=V(e.components)?e.components.securitySchemes:void 0;return V(a)&&(r.securitySchemes={...r.securitySchemes,...a}),e.components=r,e.paths=i,delete e[I4],!0}})),cSn,lSn,uSn=s((()=>{Fu(),cSn=new WeakMap,lSn=e=>{let t=Nu(e);typeof t==`object`&&t&&cSn.set(t,(cSn.get(t)??0)+1)}})),dSn,fSn=s((()=>{iy(),dSn=e=>e.fetch?e.fetch:((t,n)=>fetch(ny(e.proxyUrl,t.toString()),n))})),pSn,mSn,hSn,gSn,_Sn,vSn,ySn=s((()=>{mu(),js(),G2(),pSn=new Set([`properties`,`patternProperties`,`$defs`,`definitions`,`dependentSchemas`]),mSn=new Set([`allOf`,`anyOf`,`oneOf`,`prefixItems`]),hSn=new Set([`items`,`not`,`if`,`then`,`else`,`contains`,`propertyNames`,`contentSchema`,`$ref-value`]),gSn=new Set([`paths`,`webhooks`,`responses`,`content`,`headers`,`examples`,`links`,`encoding`,`variables`,`parameters`,`requestBodies`,`securitySchemes`,`pathItems`,`mediaTypes`,`additionalOperations`,`callbacks`,`x-ext`]),_Sn=new Set([`example`,`examples`,`default`,`enum`,`const`,`value`,`dataValue`]),vSn=e=>{let t=new WeakMap,n=new Set,r=new WeakSet,i=new WeakSet,a=[],o=e=>{let n=t.get(e);if(n)return n;let r={source:e};return t.set(e,r),r},s=o(e),c=(e,t,n)=>{let r=o(n);if(!r.parent)r.parent={node:e,key:t};else if(r.parent.node!==e||r.parent.key!==t){let n=r.otherParents??=[];n.some(n=>n.node===e&&n.key===t)||n.push({node:e,key:t})}return r},l=(e,t,r)=>{typeof r==`boolean`?((e.replacements??=new Map).set(t,r?{__scalar_:``}:{__scalar_:``,not:{__scalar_:``}}),n.add(e)):V(r)&&a.push({node:c(e,t,r),kind:`schema`})},u=e=>{let t=pu(e),n=s;for(let[e,r]of t.entries()){if(!Object.hasOwn(n.source,r))return;let i=Reflect.get(n.source,r);if(e===t.length-1)l(n,r,i);else if(typeof i==`object`&&i)n=c(n,r,i);else return}};for(a.push({node:s,kind:`document`,path:[],mapDepth:0});a.length>0;){let e=a.pop();if(!e)break;let{node:t}=e,n=e.kind===`schema`?r:i;if(n.has(t.source))continue;if(n.add(t.source),e.kind===`schema`){let e=t.source;typeof e.$ref==`string`&&e.$ref.startsWith(`#/`)&&u(e.$ref.slice(1));for(let[n,r]of Object.entries(e))if(pSn.has(n)&&V(r)||mSn.has(n)&&Array.isArray(r)){let e=c(t,n,r);for(let[t,n]of Object.entries(r))l(e,t,n)}else(hSn.has(n)||[`additionalProperties`,`unevaluatedProperties`,`unevaluatedItems`].includes(n)&&V(r))&&l(t,n,r);continue}let{path:o}=e;for(let[n,r]of Object.entries(t.source)){let i=[...o,n],s=e.mapDepth>0;if(n===`schemas`&&o.at(-1)===`components`&&V(r)){let e=c(t,n,r);for(let[t,n]of Object.entries(r))l(e,t,n)}else if((n===`schema`||n===`itemSchema`)&&!s&&W2(i))l(t,n,r);else if((s||!_Sn.has(n)&&(!n.startsWith(`x-`)||n===`x-ext`))&&typeof r==`object`&&r){let o=e.mapDepth-1;if(!s){let e=+!!gSn.has(n);o=n===`callbacks`?2:e}a.push({node:c(t,n,r),kind:`document`,path:i,mapDepth:o})}}}let d=(e,t)=>{e.parent&&t(e.parent),e.otherParents?.forEach(t)};for(let e of n)d(e,e=>n.add(e.node));for(let e of n)e.copy=Array.isArray(e.source)?[]:{};for(let e of n)d(e,t=>(t.node.replacements??=new Map).set(t.key,e.copy));for(let e of n)for(let[t,n]of Object.entries(e.source))Object.defineProperty(e.copy,t,{value:e.replacements?.has(t)?e.replacements.get(t):n,enumerable:!0,writable:!0,configurable:!0});return s.copy??e}})),z4,bSn=s((()=>{ks(),LJ(),z4=(e,t)=>{if(e&&typeof e==`object`&&`$ref`in e&&typeof e.$ref==`string`&&e.$ref.startsWith(`#`)){let n=IJ(e.$ref.slice(1));return z4(Os(t.rootNode,n),t)}return e}})),B4,V4,xSn=s((()=>{js(),GJ(),B4=(e,t)=>{if(!V(e)||typeof e.openapi!=`string`||!/^3\.2\.\d+$/.test(e.openapi)||typeof e.$self!=`string`)return;let n=MJ(t,e.$self),r=n.indexOf(`#`);return{baseUri:r===-1?n:n.slice(0,r),metadata:{openapi:e.openapi,$self:n}}},V4=()=>{let e=new WeakMap,t=new WeakMap,n=(e,r)=>{if(typeof e==`object`&&e&&!t.has(e)){t.set(e,r);for(let[t,i]of Object.entries(e))n(i,[...r,t])}};return{type:`lifecycle`,resolveDocument:B4,onBeforeNodeProcess:(t,r)=>{typeof t.$ref==`string`&&B4(r.rootNode,r.origin)&&(n(r.rootNode,[]),e.set(t,t.$ref))},onAfterNodeProcess:(n,r)=>{let i=e.get(n);if(i===void 0||i===n.$ref)return;let a=r.rootNode,o=a[`x-scalar-original-refs`],s=V(o)?o:{},c=JSON.stringify(t.get(n)??r.path),l=s[c];s[c]={original:V(l)&&l.rewritten===i?l.original:i,rewritten:n.$ref},a[`x-scalar-original-refs`]=s}}}})),SSn,CSn,wSn,TSn,ESn,DSn,OSn,kSn,ASn,jSn=s((()=>{ec(),js(),G2(),GJ(),z1(),Z$t(),bSn(),xSn(),SSn=()=>({type:`lifecycle`,onResolveStart:e=>{e.$status=`loading`},onResolveError:e=>{e.$status=`error`},onResolveSuccess:e=>{delete e.$status}}),CSn=e=>({type:`lifecycle`,onAfterNodeProcess:async(t,n)=>{let r=t.externalValue,i=n.resolutionCache;if(typeof r!=`string`||t.value!==void 0)return;let a=MJ(n.origin,r);if(e?.lazy){let e=n.path.at(-2)===`examples`?n.path:n.referencedFromPath??n.path;if(e.at(-2)!==`examples`||W2(e))return;t.externalValue=a;return}let o=n.loaders.find(e=>e.validate(a));if(!o)return;i.has(a)||i.set(a,o.exec(a));let s=await i.get(a);s?.ok&&(t.value=s.data)}}),wSn=()=>({type:`lifecycle`,onBeforeNodeProcess:async(e,t)=>{let{path:n,resolutionCache:r,parentNode:i}=t,a=e.$ref;if(typeof a!=`string`||!i||!n.length)return;let o=t.loaders.find(e=>e.validate(a));if(o&&n[0]===`info`){r.has(a)||r.set(a,o.exec(a));let e=await r.get(a);e?.ok&&(i[n.at(-1)]=e.data)}}}),TSn=()=>({type:`lifecycle`,onAfterNodeProcess:(e,t)=>{let n=e.$ref,r=t.rootNode,i=r[`x-scalar-original-refs`],a=V(i)?i[JSON.stringify(t.path)]:void 0;if(V(a)&&typeof a.original==`string`&&a.rewritten===n){e.$ref=a.original;return}let o=r[`x-ext-urls`];typeof n==`string`&&typeof o==`object`&&o&&Otn(n)&&(e.$ref=o[n.split(`/`).at(-1)??``]??n)}}),ESn=()=>({type:`lifecycle`,onAfterNodeProcess:(e,t)=>{let{path:n}=t;if(n.length===3&&n[0]===`components`&&n[1]===`securitySchemes`){let n=z4(e,t);typeof n==`object`&&n&&`scheme`in n&&typeof n.scheme==`string`&&n.scheme.toLowerCase()!==n.scheme&&(n.scheme=n.scheme.toLowerCase())}}}),DSn=()=>({type:`lifecycle`,onBeforeNodeProcess:(e,t)=>{let{path:n,referencedFromPath:r}=t,i=W2(n)||W2(r);if(typeof e.$ref==`string`&&!i){let t=new Set([`$ref`,`summary`,`description`,`$status`]);Object.keys(e).forEach(n=>{t.has(n)||delete e[n]})}}}),OSn=()=>({type:`lifecycle`,onBeforeNodeProcess:(e,t)=>{let{path:n}=t;if(n.length!==2||n[0]!==`paths`||typeof n[1]!=`string`)return;let r=n[1],i=V(e.additionalOperations)?Object.values(e.additionalOperations):[];for(let n of[...$s.map(t=>e[t]),...i]){let i=z4(n,t);if(!V(i))continue;let a=e=>{let n=z4(e,t);return V(n)&&`name`in n&&typeof n.name==`string`&&`in`in n&&typeof n.in==`string`},o=e=>{let n=z4(e,t);return a(n)&&n.in===`path`},s=(`parameters`in i&&Array.isArray(i.parameters)?i.parameters:[]).filter(a),c=new Set(s.map(e=>z4(e,t)).filter(o).map(e=>e.name)),l=(`parameters`in e&&Array.isArray(e.parameters)?e.parameters:[]).filter(e=>{let n=z4(e,t);if(!o(n))return!1;let r=!c.has(n.name);return r&&c.add(n.name),r}),u=bY(r,r,[...s,...l],e=>z4(e,t));u.length>0&&(i.parameters=u)}}}),kSn=[`__scalar_`,`$status`],ASn=()=>({type:`lifecycle`,onBeforeNodeProcess:e=>{if(V(e))for(let t of kSn)t in e&&delete e[t]}})})),H4,U4,MSn,NSn,PSn,FSn=s((()=>{nc(),js(),Ib(),G2(),GJ(),Du(),JIe(),qQt(),iu(),jSn(),xSn(),r_(),H4=`x-scalar-security-uri-aliases`,U4=`x-scalar-original-security-keys`,MSn=(e,t)=>{let n=e.indexOf(`#`),r=n===-1?e:e.slice(0,n),i=n===-1?``:e.slice(n);return`${r?MJ(t,r):t}${i}`},NSn=async(e,{origin:t=`/`,loaders:n})=>{if(typeof e.openapi!=`string`||!/^3\.2\.\d+$/.test(e.openapi))return;let r=V(e[U4])?e[U4]:{},i=V(e.components)?e.components:{},a=V(i.securitySchemes)?i.securitySchemes:{},o=V(e[H4])?e[H4]:{hadComponents:V(e.components),hadSecuritySchemes:V(i.securitySchemes),schemes:{}},s=V(o.schemes)?o.schemes:{};o.schemes=s;let c=new Set(Object.keys(a).filter(e=>!Object.hasOwn(s,e))),l=new WeakSet,u=new Set,d=new Map,f=async(u,p,m,h)=>{if(typeof u!=`object`||!u||l.has(u)||W2(p))return;l.add(u);let g=p.at(-1)??``,_=tc(g)||p.at(-2)===`additionalOperations`,v=p.length===0||p[0]===`x-ext`&&p.length===2;if(V(u)&&(v||_)&&Array.isArray(u.security)){for(let[l,f]of u.security.entries())if(V(f))for(let[u,g]of Object.entries(f)){if(c.has(u)||!Array.isArray(g))continue;let _=(()=>{try{return Object.hasOwn(s,u)&&typeof s[u]==`string`?s[u]:MSn(u,m)}catch{return}})();if(_===void 0)continue;let v=await GQt({defaultValue:h?_:u,validation:e=>!c.has(e)&&(!Object.hasOwn(s,e)||s[e]===_)&&(!h||e===u||!Object.hasOwn(f,e)),maxRetries:Object.keys(a).length+1});if(v!==void 0){if(!Object.hasOwn(s,v)){let r={$ref:_};await HJ({components:{securitySchemes:{target:r}}},{root:e,origin:t,treeShake:!1,urlMap:!0,cache:d,plugins:[...n,ESn()],hooks:{resolveDocument:B4}});let c=H(Eu({...e,"x-scalar-security-uri-target":r},{documentUri:B4(e,t)?.baseUri})[`x-scalar-security-uri-target`]),l=V(c)&&c.type===`oauth2`&&V(c.flows)?{...c,flows:Object.fromEntries(Object.entries(c.flows).map(([e,t])=>[e,V(t)?{refreshUrl:``,...t}:t]))}:c;if(!Ah(n_,l))continue;Object.defineProperty(a,v,{value:r,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(s,v,{value:_,enumerable:!0,writable:!0,configurable:!0}),i.securitySchemes=a,e.components=i,e[H4]=o}if(h){let t=JSON.stringify([...p,`security`,String(l)]),n=V(r[t])?r[t]:{};if(Object.defineProperty(n,u,{value:v,enumerable:!0,writable:!0,configurable:!0}),r[t]=n,e[U4]=r,v===u)continue;let i=Object.hasOwn(f,v)?f[v]:[];Object.defineProperty(f,v,{value:[...new Set([...Array.isArray(i)?i:[],...g])],enumerable:!0,writable:!0,configurable:!0}),delete f[u]}}}}for(let[e,t]of Object.entries(u))e.startsWith(`x-`)||e===`example`||e===`examples`||e===`security`||await f(t,[...p,e],m,h)},p=B4(e,t)?.baseUri??t;for(await f(e,[],p,!1);V(e[`x-ext`]);){let t=Object.entries(e[`x-ext`]).find(([e])=>!u.has(e));if(!t)break;let[n,r]=t;if(u.add(n),!V(r)||typeof r.openapi==`string`&&!/^3\.2\.\d+$/.test(r.openapi))continue;let i=e[`x-ext-urls`],a=V(i)&&typeof i[n]==`string`?i[n]:n,o=MJ(p,a);await f(r,[`x-ext`,n],B4(r,o)?.baseUri??o,!0)}},PSn=e=>{let t=Object.hasOwn(e,U4)?e[U4]:void 0;if(V(t))for(let[n,r]of Object.entries(t)){let t=(()=>{try{return JSON.parse(n)}catch{return}})();if(!Array.isArray(t)||!t.every(e=>typeof e==`string`&&!Fb(e))||!V(r))continue;let i=t.reduce((e,t)=>{if(typeof e==`object`&&e&&Object.hasOwn(e,t))return Reflect.get(e,t)},e);if(!V(i))continue;let a=Object.entries(r).flatMap(([e,t])=>typeof t==`string`&&Object.hasOwn(i,t)?[{original:e,rewritten:t,scopes:i[t]}]:[]);for(let{rewritten:e}of a)delete i[e];for(let{original:e,scopes:t}of a)Object.defineProperty(i,e,{value:t,enumerable:!0,writable:!0,configurable:!0})}let n=Object.hasOwn(e,H4)?e[H4]:void 0,r=Object.hasOwn(e,`components`)?e.components:void 0;if(V(n)&&V(n.schemes)&&V(r)&&Object.hasOwn(r,`securitySchemes`)&&V(r.securitySchemes)){for(let e of Object.keys(n.schemes))delete r.securitySchemes[e];!n.hadSecuritySchemes&&Object.keys(r.securitySchemes).length===0&&delete r.securitySchemes,!n.hadComponents&&Object.keys(r).length===0&&delete e.components}delete e[H4],delete e[U4]}})),W4,ISn,LSn,RSn,zSn,BSn=s((()=>{Ce(),YIe(),jg(),QIe(),Jh(),oLe(),Sg(),lLe(),GRe(),fLe(),hLe(),bLe(),XRe(),CLe(),NBe(),MRe(),ELe(),kLe(),MLe(),Xh(),$h(),Wze(),Ig(),tBe(),sBe(),Hg(),zg(),mBe(),IBe(),zBe(),HBe(),GBe(),sze(),JBe(),cVe(),cze(),dze(),mze(),Tze(),Oze(),jze(),RLe(),SVe(),ULe(),W4=C({url:S({typeComment:`REQUIRED. The URI for the target documentation. This MUST be in the form of a URI.`}),description:w(S({typeComment:`A description of the target documentation. CommonMark syntax MAY be used for rich text representation.`}))},{typeName:`ExternalDocumentationObject`}),ISn=C({nodeType:w(_e([ye(`element`),ye(`attribute`),ye(`text`),ye(`cdata`),ye(`none`)])),name:w(S({typeComment:`Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.`})),namespace:w(S({typeComment:`The URI of the namespace definition. Value MUST be in the form of a non-relative URI.`})),prefix:w(S({typeComment:`The prefix to be used for the name.`})),attribute:w(ue({typeComment:`Declares whether the property definition translates to an attribute instead of an element. Default value is false.`})),wrapped:w(ue({typeComment:`MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).`}))},{typeName:`XMLObject`}),LSn=C({defaultMapping:w(S({typeComment:`Schema name or URI reference used when the discriminator value is absent or unmapped.`})),propertyName:S({typeComment:`REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined.`}),mapping:w(ge(S(),S(),{typeComment:`An object to hold mappings between payload values and schema names or URI references.`}))},{typeName:`DiscriminatorObject`}),RSn=e=>{let t=[xg,Ag,qBe,WBe,RBe,VBe,FBe,oze,MBe],n=C({name:w(S({typeComment:`Schema name (extension).`})),$id:w(S({typeComment:`JSON Schema 2020-12 schema identifier.`})),$anchor:w(S({typeComment:`JSON Schema 2020-12 plain-name anchor.`})),$dynamicAnchor:w(S({typeComment:"JSON Schema 2020-12 dynamic anchor; the target a matching `$dynamicRef` resolves to."})),$dynamicRef:w(S({typeComment:"JSON Schema 2020-12 dynamic reference, resolved against the active `$dynamicAnchor`."})),title:w(S({typeComment:`A title for the schema.`})),description:w(S({typeComment:`A description of the schema.`})),default:w(fe({typeComment:`Default value for the schema.`})),enum:w(he(fe(),{typeComment:`Array of allowed values.`,typeName:`JsonSchemaEnum`})),const:w(fe({typeComment:`Constant value that must match exactly.`})),contentMediaType:w(S({typeComment:`Media type for content validation.`})),contentEncoding:w(S({typeComment:`Content encoding.`})),contentSchema:w(e(be(()=>h))),deprecated:w(ue({typeComment:`Whether the schema is deprecated.`})),discriminator:w(LSn),readOnly:w(ue({typeComment:`Whether the schema is read-only.`})),writeOnly:w(ue({typeComment:`Whether the schema is write-only.`})),xml:w(ISn),externalDocs:w(W4),example:w(fe({typeComment:`A free-form field to include an example of an instance for this schema. Deprecated in favor of the JSON Schema examples keyword.`})),examples:w(he(fe(),{typeComment:`An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.`,typeName:`SchemaExamplesArray`})),allOf:w(he(e(be(()=>h)),{typeName:`SchemaObjectAllOf`})),oneOf:w(he(e(be(()=>h)),{typeName:`SchemaObjectOneOf`})),anyOf:w(he(e(be(()=>h)),{typeName:`SchemaObjectAnyOf`})),not:w(e(be(()=>h)))}),r=C({__scalar_:S({typeComment:`Internal marker for schema object disambiguation.`})}),i=C({multipleOf:w(le({typeComment:`Number must be a multiple of this value.`})),maximum:w(le({typeComment:`Maximum value (inclusive).`})),exclusiveMaximum:w(le({typeComment:`Maximum value (exclusive).`})),minimum:w(le({typeComment:`Minimum value (inclusive).`})),exclusiveMinimum:w(le({typeComment:`Minimum value (exclusive).`}))}),a=ve([C({type:_e([ye(`number`),ye(`integer`)]),format:w(S({typeComment:`Different subtypes.`}))}),i],{typeName:`NumberSchemaObject`}),o=C({maxLength:w(le({typeComment:`Maximum string length.`})),minLength:w(le({typeComment:`Minimum string length.`})),pattern:w(S({typeComment:`Regular expression pattern.`}))}),s=ve([C({type:ye(`string`),format:w(S({typeComment:`Different subtypes.`}))}),o],{typeName:`StringSchemaObject`}),c=C({maxProperties:w(le({typeComment:`Maximum number of properties.`})),minProperties:w(le({typeComment:`Minimum number of properties.`})),properties:w(ge(S(),e(be(()=>h)),{typeName:`SchemaObjectProperties`})),required:w(he(S(),{typeName:`SchemaObjectRequired`})),additionalProperties:w(_e([ue(),e(be(()=>h))],{typeName:`SchemaObjectAdditionalProperties`})),patternProperties:w(ge(S(),e(be(()=>h)),{typeName:`SchemaObjectPatternProperties`})),propertyNames:w(e(be(()=>h)))}),l=ve([C({type:ye(`object`)}),c],{typeName:`ObjectSchemaObject`}),u=C({maxItems:w(le({typeComment:`Maximum number of items in array.`})),minItems:w(le({typeComment:`Minimum number of items in array.`})),uniqueItems:w(ue({typeComment:`Whether array items must be unique.`})),items:w(e(be(()=>h))),prefixItems:w(he(e(be(()=>h)),{typeComment:`Schema for tuple validation.`}))}),d=ve([C({type:ye(`array`)}),u],{typeName:`ArraySchemaObject`}),f=_e([ye(`null`),ye(`boolean`),ye(`string`),ye(`number`),ye(`integer`),ye(`object`),ye(`array`)],{typeName:`SchemaObjectMultiTypeKeywords`}),p=C({type:_e([ye(`null`),ye(`boolean`)],{typeName:`SchemaObjectOtherTypeKeyword`})}),m=ve([C({type:he(f,{typeName:`SchemaObjectMultiTypeKeywordArray`}),format:w(S({typeComment:`Different subtypes.`}))}),i,o,u,c],{typeName:`MultiTypeSchemaObject`}),h=ve([n,...t,_e([r,p,a,s,l,d,m])],{typeName:`SchemaObject`});return h},zSn=(e,t={})=>{let n=C({name:w(S({typeComment:`The name of the contact.`})),url:w(S({typeComment:`The URI for the contact information. This MUST be in the form of a URI.`})),email:w(S({typeComment:`The email address of the contact person/organization. This MUST be in the form of an email address.`}))},{typeName:`ContactObject`}),r=C({name:w(S({typeComment:`REQUIRED. The license name used for the API.`})),identifier:w(S({typeComment:`An SPDX license expression for the API. The identifier field is mutually exclusive of the url field.`})),url:w(S({typeComment:`A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field.`}))},{typeName:`LicenseObject`}),i=ve([C({title:S({typeComment:`REQUIRED. The title of the API.`}),version:S({typeComment:`REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description).`}),summary:w(S({typeComment:`A short summary of the API.`})),description:w(S({typeComment:`A description of the API. CommonMark syntax MAY be used for rich text representation.`})),termsOfService:w(S({typeComment:`A URI for the Terms of Service for the API. This MUST be in the form of a URI.`})),contact:w(n),license:w(r)},{typeName:`InfoObject`}),YRe,WRe]),a=C({enum:w(he(S(),{typeComment:`An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty.`})),default:w(S({typeComment:`The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data.`})),description:w(S({typeComment:`An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.`}))},{typeName:`ServerVariableObject`}),o=C({name:w(S({typeComment:`A name for the server.`})),url:S({typeComment:`REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}.`}),description:w(S({typeComment:`An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation.`})),variables:w(ge(S(),a,{typeComment:`A map between a variable name and its value. The value is used for substitution in the server's URL template.`}))},{typeName:`ServerObject`}),s=t.schemaObject??RSn(e),c=ve([C({name:S({typeComment:`REQUIRED. The name of the tag.`}),summary:w(S({typeComment:`A short summary of the tag.`})),parent:w(S({typeComment:`The name of the parent tag.`})),kind:w(S({typeComment:`A machine-readable category for the tag.`})),description:w(S({typeComment:`A description for the tag. CommonMark syntax MAY be used for rich text representation.`})),externalDocs:w(W4)},{typeName:`TagObject`}),xVe,Ag,xg,Qh]),l=ge(S(),he(S()),{typeName:`SecurityRequirementObject`,typeComment:`Lists the required security schemes to execute this operation. An empty object ({}) indicates anonymous access is supported.`}),u=C({deprecated:w(ue({typeComment:`Whether the security scheme is deprecated.`})),description:w(S({typeComment:`A description for security scheme. CommonMark syntax MAY be used for rich text representation.`}))}),d=C({...u.properties,type:ye(`apiKey`),name:S({typeComment:`REQUIRED. The name of the header, query or cookie parameter to be used.`}),in:_e([ye(`query`),ye(`header`),ye(`cookie`)],{typeComment:`REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie".`})},{typeName:`ApiKeySecuritySchemeObject`}),f=C({...u.properties,type:ye(`http`),scheme:_e([ye(`basic`),ye(`bearer`)],{typeName:`HttpSecuritySchemeScheme`,typeComment:`REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235.`}),bearerFormat:w(S({typeComment:`A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.`}))},{typeName:`HttpSecuritySchemeObject`}),p=C({...u.properties,type:ye(`mutualTLS`)},{typeName:`MutualTlsSecuritySchemeObject`}),m=[pze,uze,Dze,_ze,yze],h=C({refreshUrl:S({typeComment:`The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`}),scopes:ge(S(),S(),{typeComment:`REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.`,typeName:`OAuthFlowScopes`})},{typeName:`OAuthFlowBaseCore`}),g=ve([h,...m,C({authorizationUrl:S({typeComment:`REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`})},{typeName:`ImplicitOAuthFlowObject`})]),_=ve([h,...m,C({tokenUrl:S({typeComment:`REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`})},{typeName:`PasswordOAuthFlowObject`}),wg]),v=ve([h,...m,C({tokenUrl:S({typeComment:`REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`})},{typeName:`ClientCredentialsOAuthFlowObject`}),wg]),y=ve([h,...m,C({authorizationUrl:S({typeComment:`REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`}),tokenUrl:S({typeComment:`REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.`})},{typeName:`AuthorizationCodeOAuthFlowObject`}),Aze,wg]),b=ve([h,...m,C({deviceAuthorizationUrl:S({typeComment:`The device authorization endpoint URL.`}),tokenUrl:S({typeComment:`The token endpoint URL.`})},{typeName:`DeviceAuthorizationOAuthFlowObject`}),wg]),x=C({implicit:w(g),password:w(_),clientCredentials:w(v),authorizationCode:w(y),deviceAuthorization:w(b)},{typeName:`OAuthFlowsObject`}),ee=ve([C({...u.properties,type:ye(`oauth2`),flows:x,oauth2MetadataUrl:w(S({typeComment:`URL to the OAuth2 authorization server metadata (RFC8414). Use HTTPS, or HTTP for local development URLs.`}))},{typeName:`OAuth2SecuritySchemeObject`}),sVe]),te=C({...u.properties,type:ye(`openIdConnect`),openIdConnectUrl:S({typeComment:`REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.`})},{typeName:`OpenIdConnectSecuritySchemeObject`}),ne=_e([d,f,p,ee,te],{typeName:`SecuritySchemeObject`}),re=C({schemas:w(ge(S(),e(s),{typeName:`ComponentsSchemas`})),mediaTypes:w(ge(S(),e(be(()=>de)),{typeName:`ComponentsMediaTypes`})),responses:w(ge(S(),e(be(()=>we)),{typeName:`ComponentsResponses`})),parameters:w(ge(S(),e(be(()=>xe)),{typeName:`ComponentsParameters`})),examples:w(ge(S(),e(be(()=>ie)),{typeName:`ComponentsExamples`})),requestBodies:w(ge(S(),e(be(()=>Se)),{typeName:`ComponentsRequestBodies`})),headers:w(ge(S(),e(be(()=>ce)),{typeName:`ComponentsHeaders`})),securitySchemes:w(ge(S(),e(be(()=>ne)),{typeName:`ComponentsSecuritySchemes`})),links:w(ge(S(),e(be(()=>Ce)),{typeName:`ComponentsLinks`})),callbacks:w(ge(S(),e(be(()=>Ee)),{typeName:`ComponentsCallbacks`})),pathItems:w(ge(S(),be(()=>Oe),{typeName:`ComponentsPathItems`}))},{typeName:`ComponentsObject`}),ie=ve([C({summary:w(S({typeComment:`Short description for the example.`})),description:w(S({typeComment:`Long description for the example. CommonMark syntax MAY be used for rich text representation.`})),value:w(fe({typeComment:`Embedded literal example. The value field and externalValue field are mutually exclusive.`})),dataValue:w(fe()),serializedValue:w(S()),externalValue:w(S({typeComment:`A URI that identifies the literal example. The value field and externalValue field are mutually exclusive.`}))},{typeName:`ExampleObject`}),jRe]),ae=C({description:w(S({typeComment:`A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`})),required:w(ue({typeComment:`Determines whether this header is mandatory. The default value is false.`})),deprecated:w(ue({typeComment:`Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false.`}))},{typeName:`HeaderBase`}),oe=ve([ae,C({style:w(S({typeComment:`Describes how the header value will be serialized. The default (and only legal value for headers) is "simple".`})),explode:w(ue({typeComment:`When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples.`})),schema:w(e(be(()=>s))),example:w(fe()),examples:w(ge(S(),e(be(()=>ie)),{typeName:`HeaderExamples`}))},{typeName:`HeaderObjectWithSchema`})]),se=ve([ae,C({content:w(ge(S(),e(be(()=>de)),{typeName:`HeaderContent`}))},{typeName:`HeaderObjectWithContent`})]),ce=_e([oe,se],{typeName:`HeaderObject`}),le=C({style:w(S()),explode:w(ue()),allowReserved:w(ue()),encoding:w(ge(S(),be(()=>le))),prefixEncoding:w(he(be(()=>le))),itemEncoding:w(be(()=>le)),contentType:w(S({typeComment:`The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*).`})),headers:w(ge(S(),e(be(()=>ce)),{typeName:`EncodingHeaders`}))},{typeName:`EncodingObject`}),de=C({description:w(S()),prefixEncoding:w(he(le)),itemEncoding:w(le),schema:w(e(be(()=>s))),itemSchema:w(e(be(()=>s))),example:w(fe({typeComment:`Example of the media type.`})),examples:w(ge(S(),e(be(()=>ie)),{typeName:`MediaTypeExamples`})),encoding:w(ge(S(),le,{typeComment:`A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property.`,typeName:`MediaTypeEncoding`}))},{typeName:`MediaTypeObject`}),pe=ve([C({name:S({typeComment:`REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.`}),in:_e([ye(`query`),ye(`header`),ye(`path`),ye(`cookie`),ye(`querystring`)],{typeName:`ParameterLocation`,typeComment:`REQUIRED. The location of the parameter. Possible values are "query", "header", "path", "cookie" or "querystring".`}),description:w(S({typeComment:`A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`})),required:w(ue({typeComment:`Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.`})),deprecated:w(ue({typeComment:`Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false.`})),allowEmptyValue:w(ue({typeComment:`If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters.`})),allowReserved:w(ue({typeComment:`When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false.`})),style:w(S({typeComment:`Describes how the parameter value will be serialized (depending on the schema type).`})),explode:w(ue({typeComment:`When this is true, parameter values of type array or object generate separate parameters for each array item or object property.`})),schema:w(e(be(()=>s))),example:w(fe()),examples:w(ge(S(),e(be(()=>ie)),{typeName:`ParameterExamples`}))},{typeName:`ParameterObjectWithSchema`}),Bg,Ag,xg]),me=ve([C({name:S({typeComment:`REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.`}),in:_e([ye(`query`),ye(`header`),ye(`path`),ye(`cookie`),ye(`querystring`)],{typeName:`ParameterLocation`,typeComment:`REQUIRED. The location of the parameter. Possible values are "query", "header", "path", "cookie" or "querystring".`}),description:w(S({typeComment:`A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`})),required:w(ue({typeComment:`Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.`})),deprecated:w(ue({typeComment:`Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false.`})),allowEmptyValue:w(ue({typeComment:`If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters.`})),allowReserved:w(ue({typeComment:`When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false.`})),example:w(fe()),examples:w(ge(S(),e(ie))),content:w(ge(S(),e(be(()=>de)),{typeName:`ParameterContent`}))},{typeName:`ParameterObjectWithContent`}),Bg,Ag,xg]),xe=_e([pe,me],{typeName:`ParameterObject`}),Se=ve([C({description:w(S({typeComment:`A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`})),content:ge(S(),e(be(()=>de)),{typeComment:`REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it.`,typeName:`RequestBodyContent`}),required:w(ue({typeComment:`Determines if the request body is required in the request. Defaults to false.`}))},{typeName:`RequestBodyObject`}),wBe]),Ce=C({operationRef:w(S({typeComment:`A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object.`})),operationId:w(S({typeComment:`The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field.`})),parameters:w(ge(S(),fe(),{typeComment:`A map representing parameters to pass to an operation as specified with operationId or identified via operationRef.`,typeName:`LinkParameters`})),requestBody:w(fe({typeComment:`A literal value or {expression} to use as a request body when calling the target operation.`})),description:w(S({typeComment:`A description of the link. CommonMark syntax MAY be used for rich text representation.`})),server:w(o)},{typeName:`LinkObject`}),we=C({summary:w(S({typeComment:`A short summary of the response.`})),description:w(S({typeComment:`A description of the response. CommonMark syntax MAY be used for rich text representation.`})),headers:w(ge(S(),e(be(()=>ce)),{typeName:`ResponseHeaders`})),content:w(ge(S(),e(be(()=>de)),{typeName:`ResponseContent`})),links:w(ge(S(),e(be(()=>Ce)),{typeName:`ResponseLinks`}))},{typeName:`ResponseObject`}),Te=ge(S(),e(be(()=>we)),{typeName:`ResponsesObject`}),Ee=ge(S(),e(be(()=>Oe)),{typeName:`CallbackObject`}),De=ve([C({tags:w(he(S(),{typeComment:`A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.`,typeName:`OperationTags`})),summary:w(S({typeComment:`A short summary of what the operation does.`})),description:w(S({typeComment:`A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation.`})),externalDocs:w(W4),operationId:w(S({typeComment:`Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive.`})),parameters:w(he(e(be(()=>xe)),{typeName:`OperationParameters`})),requestBody:w(e(be(()=>Se))),responses:w(be(()=>Te)),deprecated:w(ue({typeComment:`Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false.`})),security:w(he(l,{typeName:`OperationSecurity`})),servers:w(he(o,{typeName:`OperationServers`})),callbacks:w(ge(S(),e(be(()=>Ee)),{typeName:`OperationCallbacks`}))},{typeName:`OperationObject`}),Uze,Ag,xg,Qze,uBe,oBe,TLe,OLe,eBe,LLe]),Oe=C({$ref:w(S({typeComment:`Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object.`})),summary:w(S({typeComment:`An optional string summary, intended to apply to all operations in this path.`})),description:w(S({typeComment:`An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation.`})),get:w(e(be(()=>De))),put:w(e(be(()=>De))),post:w(e(be(()=>De))),delete:w(e(be(()=>De))),patch:w(e(be(()=>De))),connect:w(e(be(()=>De))),options:w(e(be(()=>De))),head:w(e(be(()=>De))),trace:w(e(be(()=>De))),query:w(e(be(()=>De))),additionalOperations:w(ge(S(),e(be(()=>De)),{typeName:`AdditionalOperations`})),servers:w(he(o,{typeName:`PathItemServers`})),parameters:w(he(e(be(()=>xe)),{typeName:`PathItemParameters`}))},{typeName:`PathItemObject`}),ke=C({"x-original-oas-version":w(S({typeComment:`Original OpenAPI Specification version of the source document.`})),[Kh.document.navigation]:w(fe({typeComment:`Client navigation tree (TraversedDocument) for this OpenAPI description. Matches TraversedDocumentObjectRef in strict schemas.`}))},{typeName:`OpenApiExtensionsPartial`}),Ae=C({$self:w(S({typeComment:`The URI identifying this OpenAPI document.`})),openapi:S({typeComment:`REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string.`}),info:i,jsonSchemaDialect:w(S({typeComment:`The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI.`})),servers:w(he(o,{typeComment:`An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /.`,typeName:`OpenApiServers`})),paths:w(ge(S(),Oe,{typeComment:`The available paths and operations for the API.`,typeName:`PathsObject`})),webhooks:w(ge(S(),Oe,{typeComment:`The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement.`,typeName:`WebhooksObject`})),components:w(re),security:w(he(l,{typeComment:`A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request.`,typeName:`OpenApiSecurity`})),tags:w(he(c,{typeComment:`A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools.`})),externalDocs:w(W4)},{typeName:`OpenApiDocumentCore`});return ve([Ae,ke,mLe,HLe,rLe,LLe,aLe,Qh,FLe,dLe,cLe,jLe,SLe,yLe,ZIe,OLe,TLe],{typeName:`OpenApiDocument`,typeComment:`Root OpenAPI 3.2 document including Scalar workspace extensions (OpenApiExtensionsSchema).`})}})),VSn,HSn,USn,WSn,GSn=s((()=>{js(),Ce(),VSn=C({$status:w(_e([ye(`loading`),ye(`error`)]),{typeComment:`Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed.`}),$global:w(ue({typeComment:`Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context.`}))},{typeName:`ReferenceObjectExtensions`}),HSn=C({$ref:S({typeComment:`REQUIRED. The reference identifier. This MUST be in the form of a URI.`}),summary:w(S({typeComment:`A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect.`})),description:w(S({typeComment:`A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect.`}))},{typeName:`ReferenceObject`}),USn=e=>{let t=new Set,n=e;for(;V(n)&&`$ref`in n&&!t.has(n);)t.add(n),n=n[`$ref-value`];return n},WSn=e=>_e([e,ve([HSn,C({"$ref-value":xe(USn,e)}),VSn])])}));function KSn(e){if(`url`in e)return qJ({fetch:e.fetch}).exec(e.url);if(`path`in e){let t=e.fileLoader;return t?t.exec(e.path):(console.error(`No loader provided for loading files`),Promise.resolve({ok:!1}))}return Promise.resolve({ok:!0,data:e.document,raw:JSON.stringify(e.document)})}var G4,qSn,JSn,YSn,XSn,K4,ZSn=s((()=>{Qvn(),ks(),js(),Ib(),VJ(),tyn(),GJ(),JJ(),dyn(),Du(),obn(),Hxn(),JIe(),Ce(),B(),Dw(),B1(),Zxn(),eSn(),sSn(),Mx(),vCe(),uSn(),AQt(),z1(),fSn(),iu(),Px(),ySn(),xCe(),FSn(),Fu(),sX(),jSn(),YIe(),ax(),BSn(),GSn(),r_(),W0t(),G4=10,qSn=e=>{if(`url`in e)return e.url;if(`path`in e)return e.path},JSn=zSn(WSn),YSn=new Set([`x-scalar-is-dirty`,`x-scalar-registry-meta`]),XSn=e=>{let t=jx(e);for(let e of[`x-ext`,`x-ext-urls`,`x-scalar-original-refs`,`x-scalar-navigation`,`x-scalar-navigation-chunk`,`x-scalar-is-dirty`,`x-original-oas-version`,`x-scalar-original-document-hash`,`x-scalar-original-source-url`,`x-scalar-registry-meta`])delete t[e];return t},K4=e=>{let{verbose:t=!1,reactive:n=!0}=e??{},r=(e,n)=>t?$vn(e,n):n(),i=(e,n)=>t?eyn(e,n):n(),a={},o=new WeakMap,s=YJ({fetch:e?.fetch,fileLoader:e?.fileLoader}),c=t=>{e?.plugins?.forEach(e=>e.hooks?.onWorkspaceStateChanges?.(t))},l={...e?.meta,documents:{},get activeDocument(){return u.documents[v()]}},u=n?fn(gCe(l,{hooks:{onAfterChange(e){let t=e[0];if(t===`documents`){if(e.length<2){console.log(`[WARN]: Overriding entire documents object is not supported`);return}let t=e[1],n=u.documents[t]??{openapi:`3.1.0`,info:{title:``,version:``},"x-scalar-original-document-hash":``};lSn(n);let r={type:`documents`,documentName:t,value:Pu(n),path:e.slice(2)};r.path.length>0&&!YSn.has(r.path[0])&&(n[`x-scalar-is-dirty`]=!0),c(r);return}if(t===`activeDocument`){let t=v(),n=u.documents[t]??{openapi:`3.1.0`,info:{title:``,version:``},"x-scalar-original-document-hash":``};lSn(n);let r={type:`documents`,documentName:t,value:Pu(n),path:e.slice(2)};r.path.length>0&&!YSn.has(r.path[0])&&(n[`x-scalar-is-dirty`]=!0),c(r);return}let{activeDocument:n,documents:r,...i}=u,a={type:`meta`,value:Pu(i,{depth:1})};c(a)}}})):l,d={originalDocuments:{},intermediateDocuments:{},overrides:{}},{originalDocuments:f,intermediateDocuments:p,overrides:m}=n?gCe(d,{hooks:{onAfterChange(e){let t=e[0];if(!t||e.length<2)return;let n=e[1];if(t===`originalDocuments`){let r={type:t,documentName:n,value:Pu(f[n]??{}),path:e.splice(2)};c(r)}if(t===`intermediateDocuments`){let r={type:t,documentName:n,value:Pu(p[n]??{}),path:e.splice(2)};c(r)}if(t===`overrides`){let e={type:t,documentName:n,value:Pu(m[n]??{})};c(e)}}}}):d,h=Xxn({hooks:{onHistoryChange:e=>{c({type:`history`,documentName:e,value:h.export()[e]??{}})}}}),g=ktn({hooks:{onAuthChange:e=>{c({type:`auth`,documentName:e,value:g.export()[e]??{secrets:{},selected:{document:{selectedIndex:0,selectedSchemes:[]},path:{}}}})}}}),_=e=>n||V(e)&&Object.keys(e).length>0;function v(){return u[Kh.workspace.activeDocument]??Object.keys(u.documents)[0]??``}function y(e,t,n){let r=f[e];if(r)return t===`json`?n?JSON.stringify(r):JSON.stringify(r,null,2):v7e.stringify(r)}let b=async e=>{let t=u.documents[e],n=await ie(e);return!t||!n?(console.warn(`Failed to save document, active document is missing`),!1):(f[e]=n,p[e]=jx(n),t[`x-scalar-is-dirty`]=!1,!0)};async function x(t,n){let{name:o}=t,s=jx(t.meta),c=r(`deepClone`,()=>jx(t.document));r(`expandChunkIndex`,()=>oSn(c)),r(`initialize`,()=>{t.initialize!==!1&&(f[o]=jx(c),p[o]=jx(c),m[o]=t.overrides??{},a[o]={fetch:t.fetch})});let l=[qJ({fetch:a[o]?.fetch??e?.fetch,limit:G4})];if(e?.fileLoader&&l.push(e.fileLoader),nx(c)){let e=c.asyncapi,a=r(`upgrade`,()=>Xvn(jx(c))),d=Eu({...a,...s,"x-original-aas-version":e,"x-scalar-original-document-hash":t.documentHash,"x-scalar-original-source-url":t.documentSource});if(d[Kh.document.navigation]===void 0){await i(`bundle`,async()=>await HJ(Su(d),{treeShake:!1,plugins:l,urlMap:!0,origin:t.documentSource}));let e=r(`coerceValue`,()=>se(Bxn,jx(Su(d))));r(`mergeObjects`,()=>Nx(d,e))}if(d[Kh.document.navigation]===void 0){let e=k1t(o,d,n);d[Kh.document.navigation]=e}let f=Pu(m[o]);u.documents[o]=_(f)?Mu(d,{overrides:f}):d;return}let d=r(`upgrade`,()=>ibn(jx(c),`3.1`)),h=Eu({...d,...s,"x-original-oas-version":c.openapi??c.swagger,"x-scalar-original-document-hash":t.documentHash,"x-scalar-original-source-url":t.documentSource},{showInternal:!0,documentUri:B4(d,t.documentSource??`/`)?.baseUri});if(h[Kh.document.navigation]===void 0){await i(`bundle`,async()=>await HJ(Su(h),{treeShake:!1,plugins:[...l,V4(),DSn(),CSn({lazy:!0}),wSn(),ESn(),OSn()],urlMap:!0,origin:t.documentSource})),await NSn(Su(h),{origin:t.documentSource,loaders:l});let e=r(`coerceValue`,()=>se(JSn,vSn(jx(h))));r(`mergeObjects`,()=>Nx(h,e))}if(!Ah($g,h)){let e=Array.from(rFe($g,h));console.warn(`document validation errors: `),console.warn(e.map(e=>({message:e.message,path:e.path,schema:e.schema,value:e.value})))}if(h[Kh.document.navigation]===void 0){let e=oX(o,h,n);h[Kh.document.navigation]=e}let g=Pu(m[o]),v=Eu(Su(h),{documentUri:B4(Su(h),t.documentSource??`/`)?.baseUri});u.documents[o]=_(g)?Mu(v,{overrides:g}):v}async function ee(t,n){let{name:r,meta:a}=t,o=dSn({fetch:t.fetch??e?.fetch,proxyUrl:u[`x-scalar-active-proxy`]??void 0}),s=await i(`loadDocument`,async()=>await KSn({...t,fetch:o,fileLoader:e?.fileLoader}));return await i(`addDocument`,async()=>s.ok?V(s.data)?(await x({...t,document:s.data,documentSource:qSn(t),documentHash:BJ(s.raw)},n),!0):(console.error(`Failed to load document '${r}': response data is not a valid object`),u.documents[r]={...a,openapi:`3.1.0`,info:{title:`Document '${r}' could not be loaded`,version:`unknown`},"x-scalar-original-document-hash":`not-a-hash`},!1):(console.error(`Failed to fetch document '${r}': request was not successful`),u.documents[r]={...a,openapi:`3.1.0`,info:{title:`Document '${r}' could not be loaded`,version:`unknown`},"x-scalar-original-document-hash":`not-a-hash`},!1))}let te=e=>Pu(f[e],{depth:1})||null,ne=e=>Pu(p[e],{depth:1})||null,re=e=>!!p[e],ie=async e=>{if(!Object.hasOwn(u.documents,e))return null;Pb(e,`workspace document name`);let t=Pu(u.documents[e],{depth:1});if(!t)return null;let n=jx(t);PSn(n);let r=await HJ(n,{plugins:[V4(),TSn(),ASn()],treeShake:!1,urlMap:!0});return XSn(r)},ae=e=>{let t=u.documents[e];if(!t)return console.error(`Document '${e}' does not exist in the workspace.`),!1;if(!tx(t))return!1;let n=oX(e,t);return t[Kh.document.navigation]=n,!0},oe=async(t,n,r)=>{let i=Eu(R4(n));return await HJ(Su(i),{plugins:[qJ({fetch:a[t]?.fetch??e?.fetch,limit:G4}),...e?.fileLoader?[e.fileLoader]:[]],treeShake:!1,origin:r,depth:0,urlMap:!0}),Su(H(i))},ce=new WeakMap,le=async e=>{if(!Object.hasOwn(u.documents,e))return;let t=u.documents[e];if(!tx(t)&&!nx(t))return;let n=t,r=n[Kh.document.navigationChunk],i=t[Kh.document.navigation];if(r===void 0||i===void 0||!Object.hasOwn(t,Kh.document.navigation))return;let a=ce.get(t);if(a)return a;let o=(async()=>{let a=await oe(e,r,t[`x-scalar-original-source-url`]);a!==void 0&&u.documents[e]===t&&(i.children=a.children??[],delete n[Kh.document.navigationChunk])})();ce.set(t,o);try{await o}finally{ce.delete(t)}},S=new WeakMap;return{externalExamples:t=>{let n=t??v(),r=u.documents[n];if(!r)return s;let i=o.get(r);if(i)return i;let c=YJ({origin:r[`x-scalar-original-source-url`],fileLoader:e?.fileLoader,fetch:a[n]?.fetch??e?.fetch});return o.set(r,c),c},get workspace(){return u},get history(){return h},get auth(){return g},update(e,t){Pb(e),Object.assign(u,{[e]:t})},getEditableDocument:ie,getOriginalDocument:te,getIntermediateDocument:ne,updateDocument(e,t,n){let r=u.documents[e===`active`?v():e];return r?(Pb(t),Object.assign(r,{[t]:n}),!0):!1},async replaceDocument(e,t){let n=Pu(u.documents[e],{depth:1});if(!n)return console.error(`Document '${e}' does not exist in the workspace.`);await x({name:e,document:t,documentSource:n[`x-scalar-original-source-url`],documentHash:n[`x-scalar-original-document-hash`],meta:{"x-scalar-registry-meta":n[`x-scalar-registry-meta`],"x-scalar-is-dirty":!0,"x-scalar-navigation":void 0},initialize:!1})},resolve:async t=>{let n=u.activeDocument;if(t[0]===Kh.document.navigation)return await le(v()),Os(n,t);let r=Os(n,t);if(!V(r))return console.error(`Invalid path provided for resolution. Path: [${t.join(`, `)}]. Found value of type: ${typeof r}. Expected an object.`),Promise.resolve();if(nx(n)&&t.length===3&&t[0]===`components`&&t[1]===`schemas`){let e=Su(r),n=t[2];n&&typeof e.$ref==`string`&&e.$global===!0&&(e.$ref=$xn(e.$ref,n))}let i=n?S.get(n)??new Set:new Set;return n&&S.set(n,i),HJ(r,{root:n,origin:n?.[`x-scalar-original-source-url`],treeShake:!1,plugins:[V4(),qJ({fetch:a[v()]?.fetch??e?.fetch,limit:G4}),...e?.fileLoader?[e.fileLoader]:[],SSn(),CSn({lazy:!0})],urlMap:!0,visitedNodes:i})},addDocument:ee,deleteDocument:e=>{if(!u.documents[e])return;delete u.documents[e],delete f[e],delete p[e],delete m[e],delete a[e],h.clearDocumentHistory(e),g.clearDocumentAuth(e);let t=Object.keys(u.documents);u[`x-scalar-active-document`]===e&&(u[`x-scalar-active-document`]=t[0]??void 0),c({type:`deleteDocument`,documentName:e})},exportDocument:y,exportActiveDocument:(e,t)=>y(v(),e,t),buildSidebar:ae,saveDocument:b,promoteIntermediateToOriginal:re,async revertDocumentChanges(e){let t=Pu(u.documents[e],{depth:1}),n=Pu(f[e],{depth:1});t&&n&&(p[e]=jx(n),await x({name:e,document:n,documentSource:t[`x-scalar-original-source-url`],documentHash:t[`x-scalar-original-document-hash`],initialize:!1,meta:{"x-scalar-registry-meta":t[`x-scalar-registry-meta`]}}))},commitDocument(e){console.warn(`Commit operation for document '${e}' is not implemented yet.`)},exportWorkspace(){let{activeDocument:e,documents:t,...n}=Pu(u);return{documents:{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,Pu(t)]))},meta:Pu(n)??{},originalDocuments:Pu(f),intermediateDocuments:Pu(p),overrides:Pu(m),history:h.export(),auth:g.export()}},loadWorkspace(e){for(let t of Object.values(e.documents))oSn(t);R1(u.documents,Object.fromEntries(Object.entries(e.documents).map(([t,n])=>{let r=Eu(n,{documentUri:B4(n,n[`x-scalar-original-source-url`]??`/`)?.baseUri}),i=e.overrides[t];return[t,_(i)?Mu(r,{overrides:i}):r]}))),R1(f,e.originalDocuments),R1(p,e.intermediateDocuments),R1(m,e.overrides),R1(u,e.meta),h.load(e.history),g.load(e.auth)},importWorkspaceFromSpecification:e=>{let{documents:t,overrides:n,info:r,workspace:i,...a}=e;return R1(u,a),Promise.all(Object.entries(t??{}).map(([e,t])=>ee({url:t.$ref,name:e,overrides:n?.[e]})))},rebaseDocument:async t=>{let{name:n}=t,r=Pu(f[n],{depth:1}),o=Pu(u.documents[n],{depth:1}),s=await ie(n);if(!r||!s||!o)return{ok:!1,type:`CORRUPTED_STATE`,message:`Cannot rebase document '${n}': missing original or active document state`};let c=await i(`loadDocument`,async()=>await KSn({...t,fetch:t.fetch??e?.fetch,fileLoader:e?.fileLoader}));if(!c.ok||!V(c.data))return{ok:!1,type:`FETCH_FAILED`,message:`Failed to fetch document '${n}': request was not successful or returned invalid data`};let l=BJ(c.raw);if(o[`x-scalar-original-document-hash`]===l)return{ok:!1,type:`NO_CHANGES_DETECTED`,message:`No changes detected for document '${n}': document hash matches the active document`};let d=c.data;m[n]=t.overrides??{},a[n]={fetch:t.fetch};let h=E2(r,d);if(h.length===0)return{ok:!1,type:`NO_CHANGES_DETECTED`,message:`No changes detected for document '${n}' after fetching the latest version.`};let g=E2(r,s),_=lyn(h,g);return{ok:!0,conflicts:_.conflicts,changes:_.diffs,applyChanges:async e=>{let i=(()=>{if(`resolvedConflicts`in e){let t=_.diffs.concat(e.resolvedConflicts);return nyn(jx(r),t)}return e.resolvedDocument})(),a=E2(d,i).length>0;f[n]=i,p[n]=jx(i);let s=tx(o),l=s?o[`x-scalar-environments`]:void 0,u=s?o[`x-scalar-order`]:void 0,m=i.servers,h=o.servers,g=Array.isArray(m)&&m.length>0,v=Array.isArray(h)&&h.length>0,y=!nx(i)&&!g&&v?jx(h):void 0;await x({...t,document:{...i,[Kh.document.navigation]:void 0},documentSource:qSn(t),documentHash:BJ(c.raw),initialize:!1,meta:{...t.meta,"x-scalar-registry-meta":o[`x-scalar-registry-meta`],"x-scalar-watch-mode":o[`x-scalar-watch-mode`],"x-scalar-selected-server":o[`x-scalar-selected-server`],...l===void 0?{}:{"x-scalar-environments":l},...u===void 0?{}:{"x-scalar-order":u},...y===void 0?{}:{servers:y},"x-scalar-is-dirty":a}})}}}}}}));iY(),ZSn(),UG();var QSn=e=>HG(e,e.traits??[]);eK(),hG();var q4=(e,t)=>{let n=e.channels?.[t];return n?mG(n):void 0},J4=(e,t,n)=>{let r=q4(e,t)?.messages?.[n],i=mG(r);return i?QSn(i):void 0},Y4=(e,t)=>{let n=e.operations?.[t];if(!n)return;let r=mG(n);if(!r)return;let i=WG(r);return{...i.traits?.reduce((e,t)=>{let n=mG(t);return{...e,...n&&Object.hasOwn(n,`title`)?{title:n.title}:{},...n&&Object.hasOwn(n,`summary`)?{summary:n.summary}:{},...n&&Object.hasOwn(n,`description`)?{description:n.description}:{}}},{}),...i}};iu();var $Sn=e=>(e??[]).flatMap(e=>{let t=H(e);return!t?.name||`x-internal`in t&&t[`x-internal`]||`x-scalar-ignore`in t&&t[`x-scalar-ignore`]?[]:[{name:t.name,description:t.description,externalDocs:t.externalDocs?H(t.externalDocs):void 0}]}),eCn=(e,t)=>{if(e.type===`asyncapi-channel`)return q4(t,e.channelName)?.tags;if(e.type===`asyncapi-operation`)return Y4(t,e.operationName)?.tags;if(e.type===`asyncapi-message`)return J4(t,e.channelName,e.messageName)?.tags};iu();var tCn=(e,t)=>{let n=new Set;for(let t of Object.values(e.servers??{}))for(let e of $Sn(H(t)?.tags))n.add(e.name);let r=t=>{for(let r of $Sn(eCn(t,e)))n.add(r.name);`children`in t&&t.children?.forEach(r)};return t.forEach(r),[{id:``,label:`All tags`},...Array.from(n).sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e}))]};B(),uB(),Q0(),Qs();var nCn={class:`asyncapi-sidebar-filter min-w-0`},rCn={class:`text-c-1 truncate`},iCn=k({__name:`SidebarFilter`,props:{label:{},options:{},modelValue:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=z(()=>n.options.find(e=>e.id===n.modelValue)??n.options[0]);return(t,n)=>(j(),M(`li`,nCn,[R(D(oB),{label:e.label,modelValue:i.value,options:e.options,resize:``,teleport:``,"onUpdate:modelValue":n[0]||=e=>r(`update:modelValue`,e.id)},{default:O(()=>[R(D(R0),{is:`button`,class:`w-full items-center text-left`},{aside:O(()=>[R(D(Lde),{class:`text-c-1 ml-1 size-3 shrink-0 self-center`,weight:`bold`})]),default:O(()=>[P(`span`,rCn,T(i.value?.label),1)]),_:1})]),_:1},8,[`label`,`modelValue`,`options`])]))}});B(),Q0(),eK();var aCn=k({__name:`AsyncApiSidebarFilters`,props:Lr({document:{},entries:{default:()=>[]},is:{default:`li`}},{protocol:{default:``},protocolModifiers:{},server:{default:``},serverModifiers:{},tag:{default:``},tagModifiers:{}}),emits:[`update:protocol`,`update:server`,`update:tag`],setup(e){let t=Hr(e,`protocol`),n=Hr(e,`server`),r=Hr(e,`tag`),i=z(()=>e.document?tCn(e.document,e.entries):[]),a=z(()=>i.value.length>1),o=z(()=>e.document?AKt(e.document):[]),s=z(()=>e.document?jKt(e.document):[]),c=z(()=>o.value.length>2),l=z(()=>s.value.length>2);return(u,d)=>c.value||l.value||a.value?(j(),N(D(Z0),{key:0,is:e.is,class:`asyncapi-sidebar-filters`},{items:O(()=>[a.value?(j(),N(iCn,{key:0,modelValue:r.value,"onUpdate:modelValue":d[0]||=e=>r.value=e,label:`Tag`,options:i.value},null,8,[`modelValue`,`options`])):I(``,!0),c.value?(j(),N(iCn,{key:1,modelValue:t.value,"onUpdate:modelValue":d[1]||=e=>t.value=e,label:`Protocol`,options:o.value},null,8,[`modelValue`,`options`])):I(``,!0),l.value?(j(),N(iCn,{key:2,modelValue:n.value,"onUpdate:modelValue":d[2]||=e=>n.value=e,label:`Server`,options:s.value},null,8,[`modelValue`,`options`])):I(``,!0)]),default:O(()=>[d[3]||=F(` Filters `,-1)]),_:1},8,[`is`])):I(``,!0)}});eK(),hG();var oCn=({protocol:e,server:t})=>(!e||e===`all`)&&(!t||t===`all`),X4=(e,t)=>!t||t===`all`||e.has(t),sCn=(e,t,n,r)=>{if(e.type===`asyncapi-operation`){let i=t.operations?.[e.operationName];if(!i)return e;let a=mG(i);if(!a)return e;let{protocols:o,serverNames:s}=MKt(t,a,r);return X4(o,n.protocol)&&X4(s,n.server)?e:null}if(e.type===`asyncapi-channel`&&!e.children?.some(e=>e.type===`asyncapi-operation`)){let i=t.channels?.[e.channelName];if(i){let a=mG(i);if(!a)return e;let{protocols:o,serverNames:s}=zG(t,a,r);if(!X4(o,n.protocol)||!X4(s,n.server))return null}}if(e.type===`asyncapi-message`){let i=t.channels?.[e.channelName];if(!i)return e;let a=mG(i);if(!a)return e;let{protocols:o,serverNames:s}=zG(t,a,r);return X4(o,n.protocol)&&X4(s,n.server)?e:null}if(e.type===`asyncapi-channel`||e.type===`tag`){let i=e.children??[],a=i.flatMap(e=>{let i=sCn(e,t,n,r);return i?[i]:[]});return i.length>0&&a.length===0?null:{...e,children:a}}return e},cCn=(e,t,n)=>{if(oCn(n)&&!n.tag)return e;let r=RG(t),i=oCn(n)?e:e.flatMap(e=>{let i=sCn(e,t,n,r);return i?[i]:[]});if(!n.tag)return i;let a=e=>$Sn(e).some(e=>e.name===n.tag),o=new Set(Object.entries(t.servers??{}).flatMap(([e,t])=>{let i=mG(t);return a(i?.tags)&&X4(new Set([e]),n.server)&&X4(new Set([r.serverProtocols.get(e)??``]),n.protocol)?[e]:[]})),s=e=>{let n=e.type===`asyncapi-channel`||e.type===`asyncapi-operation`||e.type===`asyncapi-message`;if(!n&&e.type!==`tag`)return e;if(n){let n=q4(t,e.channelName),{serverNames:i}=zG(t,n??null,r);if(a(eCn(e,t))||[...i].some(e=>o.has(e)))return e}if(e.type===`asyncapi-message`)return null;let i=e.children?.flatMap(e=>{let t=s(e);return t?[t]:[]});return i?.length?{...e,children:i}:null};return i.flatMap(e=>{let t=s(e);return t?[t]:[]})},lCn,uCn=s((()=>{fG(),lCn={common:{streamItem:`عنصر التدفق`,description:`الوصف`,httpMethod:`طريقة HTTP`,path:`المسار`,copyDefault:`نسخ القيمة الافتراضية`,copyExample:`نسخ القيمة النموذجية`},search:{label:`بحث`,inputLabel:`أدخل استعلام البحث`,open:`فتح البحث`,placeholder:`بحث...`,clear:`مسح البحث`,noResults:`لم يتم العثور على نتائج`,keyboardShortcut:`اختصار لوحة المفاتيح:`,command:`مفتاح الأوامر`,control:`مفتاح التحكم`,results:`نتائج البحث في المرجع`,navigate:`تنقّل`,select:`اختيار`,instructions:`اضغط السهم للأعلى أو للأسفل للتنقل، Enter للاختيار، واكتب لتصفية النتائج`,entryHeading:`عنوان`,entryOperation:`عملية`,entryTag:`وسم`,entryTagGroup:`مجموعة وسوم`,entryChannel:`قناة`,entryMessage:`رسالة`,entryWebhook:`خطاف ويب`},navigation:{introduction:`المقدمة`,closeGroup:`إغلاق المجموعة`,closeMenu:`إغلاق القائمة`,openGroup:`فتح المجموعة`,openMenu:`فتح القائمة`,operations:`العمليات`,endpoints:`نقاط نهاية {name}`,showAllEndpoints:`إظهار كل نقاط نهاية {name}`,sidebarFor:`الشريط الجانبي لـ {name}`,mainContent:`وثائق واجهة برمجة التطبيقات لـ {name}`,collapsed:`مطوي`,webhooks:`خطافات الويب`,channels:`القنوات`},server:{label:`الخادم`,select:`اختر خادماً`},info:{termsOfService:`شروط الخدمة`},asyncapi:{address:`العنوان`,unknownAddress:`غير معروف`,applicationIdentifier:`معرّف التطبيق`,servers:`الخوادم`,protocols:`البروتوكولات`},clientLibraries:{heading:`مكتبات العملاء`,more:`المزيد`,selectAll:`اختر من جميع العملاء`,searchLabel:`البحث عن العملاء`,changeClient:`تغيير لغة مثال الشيفرة`},operation:{codeSampleUnavailable:`لا يوجد نموذج تعليمات برمجية متاح لهذا المثال.`,codeSample:`مثال على الكود`,body:`الجسم`,cookies:`ملفات تعريف الارتباط`,headers:`الرؤوس`,pathParameters:`معاملات المسار`,queryParameters:`معاملات الاستعلام`,requestBody:`جسم الطلب`,responses:`الاستجابات`,testRequest:`اختبار الطلب`,webhook:`خطاف ويب`,audience:`الجمهور`,selectedContentType:`نوع المحتوى المحدد`,callbacks:`عمليات الاستدعاء`},response:{xmlGenerationLimit:`يتجاوز مثال XML حد الإنشاء. قدّم مثال XML متسلسلاً لعرض المحتوى كاملاً.`,xmlGenerationFailed:`تعذّر إنشاء مثال XML: {message}`,exampleResponses:`أمثلة الاستجابات`,noBody:`لا يوجد جسم`,showSchema:`عرض المخطط`,status:`الحالة`},schema:OB.ar.schema,download:{openapi:`تنزيل مستند OpenAPI`,asyncapi:`تنزيل مستند AsyncAPI`,asFormat:`{label} بصيغة {format}`},models:{label:`النماذج`},actions:{copyAsMarkdown:`نسخ بصيغة Markdown`,copied:`تم النسخ`,copyMarkdownFailed:`تعذر نسخ Markdown`,copyLink:`نسخ الرابط`,copyLinkTo:`نسخ الرابط إلى {name}`,copyToClipboard:`نسخ الرابط إلى الحافظة`,copyEndpointUrl:`نسخ رابط endpoint`,showMore:`عرض المزيد`},agent:{askAi:`اسأل الذكاء الاصطناعي`,askAiAgent:`اسأل وكيل الذكاء الاصطناعي`,close:`إغلاق العميل`},mcp:{generate:`إنشاء MCP`,connect:`ربط MCP`},sdk:{generate:`إنشاء SDK`},developerTools:{title:`أدوات المطورين`,configure:`الإعداد`,share:`مشاركة`,deploy:`نشر`,scalarConfiguration:`إعدادات Scalar`,theme:`السمة`,layout:`التخطيط`,layoutOptions:`خيارات التخطيط`,intro:`تتيح لك أدوات المطورين تخصيص مظهر الوثائق وسلوكها. يمكنك أيضًا مشاركة وثائقك باستخدام Scalar Registry.`,disableToolbarBefore:`لتعطيل شريط الأدوات، عيّن`,disableToolbarAfter:`في الإعدادات.`,localhostOnly:`لن تظهر أدوات المطورين إلا عند التشغيل على localhost.`,layoutModern:`حديث`,layoutClassic:`كلاسيكي`,showSidebar:`إظهار الشريط الجانبي`,defaultOpenFirstTag:`فتح أول وسم افتراضيًا`,defaultOpenAllTags:`فتح كل الوسوم افتراضيًا`,expandAll:`توسيع كل {label}`,expandAllParameters:`توسيع جميع المعلمات`,expandAllSchemaProperties:`توسيع جميع خصائص المخطط`,hideModelNames:`إخفاء أسماء النماذج`,orderRequiredPropertiesFirst:`الخصائص المطلوبة أولاً`,orderSchemaPropertiesBy:`ترتيب خصائص المخطط`,alphabeticalOrder:`أبجدي`,documentOrder:`ترتيب المستند`,expandAllResponses:`توسيع كل الاستجابات`,hideClientButton:`إخفاء زر العميل`,hideDarkModeToggle:`إخفاء مفتاح الوضع الداكن`,hideModels:`إخفاء {label}`,hideSearch:`إخفاء البحث`,showOperationId:`إظهار معرّف العملية`,hideTestRequestButton:`إخفاء زر طلب الاختبار`,scalarDocs:`Scalar Docs`,deployDescription:`انشر وثائقك على Scalar، منصة الوثائق الحديثة لواجهة API الخاصة بك وكل شيء آخر.`,shareTitle:`مشاركة API Reference`,shareDescription:`حمّل مستند OpenAPI لمشاركة API Reference مع الآخرين. الأمر بسيط كضغط زر.`,uploadDocument:`تحميل المستند`,temporaryLinkExpiration:`سيتم حذف المستند تلقائيًا بعد 7 أيام.`,deployOnScalar:`النشر على Scalar`,deployFree:`انشر وثائقك مجانًا.`,additionalFeaturesMightRequire:`قد تتطلب الميزات الإضافية`,generate:`إنشاء`,passwordProtection:`الحماية بكلمة مرور`,customDomains:`نطاقات مخصصة`,freeFormContent:`محتوى حر`,cdnInfrastructure:`بنية CDN التحتية`,pullFromGitHub:`السحب من GitHub`,markdownMdx:`Markdown/MDX`,spectralLinting:`فحص Spectral`,jsonSchemaHosting:`استضافة JSON Schema`,askAi:`اسأل الذكاء الاصطناعي`,mcpServers:`خوادم MCP`,unableToExportDocument:`تعذر تصدير المستند النشط`,unknownError:`حدث خطأ غير معروف`},exploreScalar:{cta:`أنشئ SDK وMCP`,headline:`أنشئ SDKs وMCPs ووثائق لواجهة API الخاصة بك فورًا`,title:`كل ما تحتاجه واجهة API الخاصة بك، من مستند OpenAPI واحد`,generateTitle:`SDKs وخوادم MCP`,generateDescription:`مكتبات عميل مُحدَّدة الأنواع وخادم MCP، يتم إنشاؤها من هذا المستند وتبقى متزامنة.`,platformTitle:`الوثائق وبوابات المطورين والسجل`,platformDescription:`انشر هذا المرجع مع الأدلة، واستضف واجهات API الخاصة بك في سجل، واختبرها في عميل API.`,signUp:`جرّبه مجانًا`,bookDemo:`احجز عرضًا توضيحيًا مع Marc، رئيسنا التنفيذي`,getDemo:`أو احجز عرضًا توضيحيًا مع Marc`,messageMarc:`راسل Marc على X`,dmMarc:`أو راسلني مباشرةً على X!`,close:`إغلاق`,opensInNewTab:`يفتح في علامة تبويب جديدة`,popupBlocked:`حظر متصفحك علامة التبويب الجديدة. انقر على الزر مرة أخرى لفتحها.`,back:`رجوع`,openBookingPage:`افتح صفحة الحجز`},gettingStarted:{swaggerEditor:`Swagger Editor`,description:`مرحبًا بك في Scalar API References + Swagger Editor، أداة مجانية ومفتوحة المصدر تأخذ ملف Swagger/OAS الخاص بك وتنشئ API References جميلة.`,showExample:`إظهار مثال`,uploadFile:`تحميل ملف`,integrations:`التكاملات`,theming:`السمات`,features:`الميزات`,customize:`التخصيص`,customizeDescription:`استخدم الخطوط ولوحات الألوان الخاصة بك، أو استخدم سماتنا!`,testing:`الاختبار`,testingDescription:`REST API Client مدمج بعمق (مجاني ومفتوح المصدر أيضًا)`,search:`البحث`,searchDescription:`بحث مدمج بالكامل (باستخدام fuse.js)`,hosting:`الاستضافة`,hostingDescription:`استضافة مجانية لنطاق فرعي على https://apidocumentation.com`,openApiSwagger:`OpenAPI و Swagger`,openApiSwaggerDescription:`دعم OpenAPI 3.1 و OpenAPI 3.0 و Swagger 2.0`,codeSamples:`أمثلة التعليمات البرمجية`,codeSamplesDescription:`أمثلة تعليمات برمجية لعرض API الخاص بك بأشهر اللغات`},footer:{poweredByScalar:`مدعوم من Scalar`},authentication:{detailsRequired:`المصادقة مطلوبة`,detailsOptional:`المصادقة اختيارية`,apiKey:`مفتاح API`,mutualTLS:`TLS متبادل`,apiKeyCookie:`أرسل مفتاح API في ملف تعريف الارتباط «{name}».`,apiKeyHeader:`أرسل مفتاح API في الترويسة «{name}».`,apiKeyQuery:`أرسل مفتاح API في معامل الاستعلام «{name}».`,title:`المصادقة`,accepts:`يقبل`,allOf:`كل ما يلي:`,authentication:`المصادقة`,optional:`المصادقة اختيارية`,oneOf:`واحد من:`,required:`المصادقة مطلوبة`,requires:`يتطلب`,scopes:`نطاقات OAuth`}}})),dCn,fCn=s((()=>{fG(),dCn={common:{streamItem:`Stream-Element`,description:`Beschreibung`,httpMethod:`HTTP-Methode`,path:`Pfad`,copyDefault:`Standardwert kopieren`,copyExample:`Beispielwert kopieren`},search:{label:`Suchen`,inputLabel:`Suchbegriff eingeben`,open:`Suche öffnen`,placeholder:`Suchen...`,clear:`Suche löschen`,noResults:`Keine Ergebnisse gefunden`,keyboardShortcut:`Tastenkürzel:`,command:`Befehl`,control:`Steuerung`,results:`Suchergebnisse der Referenz`,navigate:`Navigieren`,select:`Auswählen`,instructions:`Drücken Sie Pfeil nach oben oder unten zum Navigieren, Enter zum Auswählen und tippen Sie zum Filtern der Ergebnisse`,entryHeading:`Überschrift`,entryOperation:`Operation`,entryTag:`Tag`,entryTagGroup:`Tag-Gruppe`,entryChannel:`Kanal`,entryMessage:`Nachricht`,entryWebhook:`Webhook`},navigation:{introduction:`Einführung`,closeGroup:`Gruppe schließen`,closeMenu:`Menü schließen`,openGroup:`Gruppe öffnen`,openMenu:`Menü öffnen`,operations:`Operationen`,endpoints:`{name}-Endpunkte`,showAllEndpoints:`Alle {name}-Endpunkte anzeigen`,sidebarFor:`Seitenleiste für {name}`,mainContent:`API-Dokumentation für {name}`,collapsed:`Eingeklappt`,webhooks:`Webhooks`,channels:`Kanäle`},server:{label:`Server`,select:`Server auswählen`},info:{termsOfService:`Nutzungsbedingungen`},asyncapi:{address:`Adresse`,unknownAddress:`Unbekannt`,applicationIdentifier:`Anwendungskennung`,servers:`Server`,protocols:`Protokolle`},clientLibraries:{heading:`Client-Bibliotheken`,more:`Mehr`,selectAll:`Aus allen Clients auswählen`,searchLabel:`Clients suchen`,changeClient:`Sprache des Codebeispiels ändern`},operation:{codeSampleUnavailable:`Für dieses Beispiel ist kein Codebeispiel verfügbar.`,codeSample:`Codebeispiel`,body:`Body`,cookies:`Cookies`,headers:`Header`,pathParameters:`Pfadparameter`,queryParameters:`Query-Parameter`,requestBody:`Request Body`,responses:`Antworten`,testRequest:`Request testen`,webhook:`Webhook`,audience:`Zielgruppe`,selectedContentType:`Ausgewählter Inhaltstyp`,callbacks:`Callbacks`},response:{xmlGenerationLimit:`Das XML-Beispiel überschreitet das Generierungslimit. Geben Sie ein serialisiertes XML-Beispiel an, um den vollständigen Inhalt anzuzeigen.`,xmlGenerationFailed:`XML-Beispiel konnte nicht generiert werden: {message}`,exampleResponses:`Beispielantworten`,noBody:`Kein Body`,showSchema:`Schema anzeigen`,status:`Status`},schema:OB.de.schema,download:{openapi:`OpenAPI-Dokument herunterladen`,asyncapi:`AsyncAPI-Dokument herunterladen`,asFormat:`{label} als {format}`},models:{label:`Modelle`},actions:{copyAsMarkdown:`Als Markdown kopieren`,copied:`Kopiert`,copyMarkdownFailed:`Markdown konnte nicht kopiert werden`,copyLink:`Link kopieren`,copyLinkTo:`Link zu {name} kopieren`,copyToClipboard:`Link in die Zwischenablage kopieren`,copyEndpointUrl:`Endpoint-URL kopieren`,showMore:`Mehr anzeigen`},agent:{askAi:`KI fragen`,askAiAgent:`KI-Agent fragen`,close:`Client schließen`},mcp:{generate:`MCP generieren`,connect:`MCP verbinden`},sdk:{generate:`SDK generieren`},developerTools:{title:`Entwicklertools`,configure:`Konfigurieren`,share:`Teilen`,deploy:`Bereitstellen`,scalarConfiguration:`Scalar-Konfiguration`,theme:`Theme`,layout:`Layout`,layoutOptions:`Layout-Optionen`,intro:`Mit den Entwicklertools kannst du das Aussehen und Verhalten deiner Dokumentation anpassen. Du kannst deine Dokumentation auch über Scalar Registry teilen.`,disableToolbarBefore:`Um die Toolbar zu deaktivieren, setze`,disableToolbarAfter:`in deiner Konfiguration.`,localhostOnly:`Die Entwicklertools werden nur angezeigt, wenn sie auf localhost ausgeführt werden.`,layoutModern:`Modern`,layoutClassic:`Klassisch`,showSidebar:`Seitenleiste anzeigen`,defaultOpenFirstTag:`Ersten Tag standardmäßig öffnen`,defaultOpenAllTags:`Alle Tags standardmäßig öffnen`,expandAll:`Alle {label} erweitern`,expandAllParameters:`Alle Parameter aufklappen`,expandAllSchemaProperties:`Alle Schema-Eigenschaften aufklappen`,hideModelNames:`Modellnamen ausblenden`,orderRequiredPropertiesFirst:`Pflichtfelder zuerst`,orderSchemaPropertiesBy:`Reihenfolge der Schema-Eigenschaften`,alphabeticalOrder:`Alphabetisch`,documentOrder:`Dokumentreihenfolge`,expandAllResponses:`Alle Antworten erweitern`,hideClientButton:`Client-Schaltfläche ausblenden`,hideDarkModeToggle:`Dark-Mode-Umschalter ausblenden`,hideModels:`{label} ausblenden`,hideSearch:`Suche ausblenden`,showOperationId:`Operation-ID anzeigen`,hideTestRequestButton:`Test-Request-Schaltfläche ausblenden`,scalarDocs:`Scalar Docs`,deployDescription:`Veröffentliche deine Dokumentation auf Scalar, der modernen Dokumentationsplattform für deine API und alles Weitere.`,shareTitle:`API Reference teilen`,shareDescription:`Lade dein OpenAPI-Dokument hoch, um deine API Reference mit anderen zu teilen. So einfach wie ein Klick.`,uploadDocument:`Dokument hochladen`,temporaryLinkExpiration:`Dein Dokument wird nach 7 Tagen automatisch gelöscht.`,deployOnScalar:`Auf Scalar veröffentlichen`,deployFree:`Veröffentliche deine Dokumentation kostenlos.`,additionalFeaturesMightRequire:`Zusätzliche Funktionen erfordern möglicherweise`,generate:`Generieren`,passwordProtection:`Passwortschutz`,customDomains:`Eigene Domains`,freeFormContent:`Freiform-Inhalte`,cdnInfrastructure:`CDN-Infrastruktur`,pullFromGitHub:`Von GitHub laden`,markdownMdx:`Markdown/MDX`,spectralLinting:`Spectral-Linting`,jsonSchemaHosting:`JSON-Schema-Hosting`,askAi:`KI fragen`,mcpServers:`MCP-Server`,unableToExportDocument:`Aktives Dokument konnte nicht exportiert werden`,unknownError:`Ein unbekannter Fehler ist aufgetreten`},exploreScalar:{cta:`SDKs & MCP generieren`,headline:`SDKs, MCPs & Docs für deine API sofort generieren`,title:`Alles, was deine API braucht, aus einem OpenAPI-Dokument`,generateTitle:`SDKs & MCP-Server`,generateDescription:`Typisierte Client-Bibliotheken und ein MCP-Server, aus diesem Dokument generiert und synchron gehalten.`,platformTitle:`Docs, Developer Portals & Registry`,platformDescription:`Veröffentliche diese Referenz mit Anleitungen, hoste deine APIs in einer Registry und teste sie im API-Client.`,signUp:`Kostenlos ausprobieren`,bookDemo:`Demo mit Marc, unserem CEO, buchen`,getDemo:`oder eine Demo mit Marc vereinbaren`,messageMarc:`Marc auf X schreiben`,dmMarc:`oder schreib mir einfach auf X!`,close:`Schließen`,opensInNewTab:`Öffnet in einem neuen Tab`,popupBlocked:`Dein Browser hat den neuen Tab blockiert. Klicke erneut auf die Schaltfläche, um ihn zu öffnen.`,back:`Zurück`,openBookingPage:`Buchungsseite öffnen`},gettingStarted:{swaggerEditor:`Swagger Editor`,description:`Willkommen bei Scalar API References + Swagger Editor, einem kostenlosen Open-Source-Tool, das deine Swagger/OAS-Datei in schöne API References verwandelt.`,showExample:`Beispiel anzeigen`,uploadFile:`Datei hochladen`,integrations:`INTEGRATIONEN`,theming:`THEMES`,features:`Funktionen`,customize:`Anpassen`,customizeDescription:`Nutze deine Typografie und Farbpaletten oder unsere Themes!`,testing:`Testen`,testingDescription:`Ein tief integrierter REST API Client (ebenfalls kostenlos und Open Source)`,search:`Suche`,searchDescription:`Vollständig integrierte Suche (mit fuse.js)`,hosting:`Hosting`,hostingDescription:`Kostenloses Subdomain-Hosting auf https://apidocumentation.com`,openApiSwagger:`OpenAPI und Swagger`,openApiSwaggerDescription:`Unterstützung für OpenAPI 3.1, OpenAPI 3.0 und Swagger 2.0`,codeSamples:`Codebeispiele`,codeSamplesDescription:`Codebeispiele, um deine API in den beliebtesten Sprachen zu präsentieren`},footer:{poweredByScalar:`Bereitgestellt von Scalar`},authentication:{detailsRequired:`Authentifizierung erforderlich`,detailsOptional:`Authentifizierung optional`,apiKey:`API-Schlüssel`,mutualTLS:`Gegenseitiges TLS`,apiKeyCookie:`Sende den API-Schlüssel im Cookie „{name}“.`,apiKeyHeader:`Sende den API-Schlüssel im Header „{name}“.`,apiKeyQuery:`Sende den API-Schlüssel im Abfrageparameter „{name}“.`,title:`Authentifizierung`,accepts:`Akzeptiert`,allOf:`alle von:`,authentication:`Authentifizierung`,optional:`Authentifizierung optional`,oneOf:`eines von:`,required:`Authentifizierung erforderlich`,requires:`Erfordert`,scopes:`OAuth-Scopes`}}})),pCn,mCn=s((()=>{fG(),pCn={common:{streamItem:`Stream item`,description:`Description`,httpMethod:`HTTP Method`,path:`Path`,copyDefault:`Copy default value`,copyExample:`Copy example value`},search:{label:`Search`,inputLabel:`Enter search query`,open:`Open Search`,placeholder:`Search...`,clear:`Clear Search`,noResults:`No results found`,keyboardShortcut:`Keyboard Shortcut:`,command:`Command`,control:`Control`,results:`Reference Search Results`,navigate:`Navigate`,select:`Select`,instructions:`Press up arrow / down arrow to navigate, enter to select, type to filter results`,entryHeading:`Heading`,entryOperation:`Operation`,entryTag:`Tag`,entryTagGroup:`Tag Group`,entryChannel:`Channel`,entryMessage:`Message`,entryWebhook:`Webhook`},navigation:{introduction:`Introduction`,closeGroup:`Close Group`,closeMenu:`Close Menu`,openGroup:`Open Group`,openMenu:`Open Menu`,operations:`Operations`,endpoints:`{name} endpoints`,showAllEndpoints:`Show all {name} endpoints`,sidebarFor:`Sidebar for {name}`,mainContent:`API documentation for {name}`,collapsed:`Collapsed`,webhooks:`Webhooks`,channels:`Channels`},server:{label:`Server`,select:`Select a server`},info:{termsOfService:`Terms of Service`},asyncapi:{address:`Address`,unknownAddress:`Unknown`,applicationIdentifier:`Application identifier`,servers:`Servers`,protocols:`Protocols`},clientLibraries:{heading:`Client Libraries`,more:`More`,selectAll:`Select from all clients`,searchLabel:`Search clients`,changeClient:`Change code sample language`},operation:{codeSampleUnavailable:`No code sample available for this example.`,codeSample:`Code sample`,body:`Body`,cookies:`Cookies`,headers:`Headers`,pathParameters:`Path Parameters`,queryParameters:`Query Parameters`,requestBody:`Request Body`,responses:`Responses`,testRequest:`Test Request`,webhook:`Webhook`,audience:`Audience`,selectedContentType:`Selected Content Type`,callbacks:`Callbacks`},response:{xmlGenerationLimit:`The XML example exceeds the generation limit. Supply a serialized XML example to display the complete payload.`,xmlGenerationFailed:`Unable to generate an XML example: {message}`,exampleResponses:`Example Responses`,noBody:`No Body`,showSchema:`Show Schema`,status:`Status`},schema:OB.en.schema,download:{openapi:`Download OpenAPI Document`,asyncapi:`Download AsyncAPI Document`,asFormat:`{label} as {format}`},models:{label:`Models`},actions:{copyAsMarkdown:`Copy as Markdown`,copied:`Copied`,copyMarkdownFailed:`Failed to copy Markdown`,copyLink:`Copy link`,copyLinkTo:`Copy link to {name}`,copyToClipboard:`Copy link to clipboard`,copyEndpointUrl:`Copy endpoint URL`,showMore:`Show More`},agent:{askAi:`Ask AI`,askAiAgent:`Ask AI Agent`,close:`Close Client`},mcp:{generate:`Generate MCP`,connect:`Connect MCP`},sdk:{generate:`Generate SDK`},developerTools:{title:`Developer Tools`,configure:`Configure`,share:`Share`,deploy:`Deploy`,scalarConfiguration:`Scalar Configuration`,theme:`Theme`,layout:`Layout`,layoutOptions:`Layout Options`,intro:`The developer tools allow you to customize the appearance and behavior of your documentation. You can also share your documentation using the Scalar Registry.`,disableToolbarBefore:`To disable the toolbar, set`,disableToolbarAfter:`in your configuration.`,localhostOnly:`The developer tools will only appear when running on localhost.`,layoutModern:`Modern`,layoutClassic:`Classic`,showSidebar:`Show Sidebar`,defaultOpenFirstTag:`Default Open First Tag`,defaultOpenAllTags:`Default Open All Tags`,expandAll:`Expand All {label}`,expandAllParameters:`Expand All Parameters`,expandAllSchemaProperties:`Expand All Schema Properties`,hideModelNames:`Hide Model Names`,orderRequiredPropertiesFirst:`Required Properties First`,orderSchemaPropertiesBy:`Schema Property Order`,alphabeticalOrder:`Alphabetical`,documentOrder:`Document Order`,expandAllResponses:`Expand All Responses`,hideClientButton:`Hide Client Button`,hideDarkModeToggle:`Hide Dark Mode Toggle`,hideModels:`Hide {label}`,hideSearch:`Hide Search`,showOperationId:`Show Operation ID`,hideTestRequestButton:`Hide Test Request Button`,scalarDocs:`Scalar Docs`,deployDescription:`Deploy your documentation on Scalar, the modern documentation platform for your API and everything else.`,shareTitle:`Share your API Reference`,shareDescription:`Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button.`,uploadDocument:`Upload Document`,temporaryLinkExpiration:`Your document will automatically be deleted after 7 days.`,deployOnScalar:`Deploy on Scalar`,deployFree:`Deploy your documentation for free.`,additionalFeaturesMightRequire:`Additional features might require`,generate:`Generate`,passwordProtection:`Password Protection`,customDomains:`Custom Domains`,freeFormContent:`Free-form content`,cdnInfrastructure:`CDN Infrastructure`,pullFromGitHub:`Pull from GitHub`,markdownMdx:`Markdown/MDX`,spectralLinting:`Spectral Linting`,jsonSchemaHosting:`JSON Schema Hosting`,askAi:`Ask AI`,mcpServers:`MCP Servers`,unableToExportDocument:`Unable to export active document`,unknownError:`An unknown error occurred`},exploreScalar:{cta:`Generate SDKs & MCP`,headline:`Instantly generate SDKs, MCPs & docs for your API`,title:`Everything your API needs, from one OpenAPI document`,generateTitle:`SDKs & MCP servers`,generateDescription:`Typed client libraries and an MCP server, generated from this document and kept in sync.`,platformTitle:`Docs, developer portals & registry`,platformDescription:`Publish this reference with guides, host your APIs in a registry and test them in the API client.`,signUp:`Try it out for free`,bookDemo:`Book a demo with Marc, our CEO`,getDemo:`or get a demo with Marc`,messageMarc:`Message Marc on X`,dmMarc:`or just DM me on X!`,close:`Close`,opensInNewTab:`Opens in a new tab`,popupBlocked:`Your browser blocked the new tab. Click the button again to open it.`,back:`Back`,openBookingPage:`Open the booking page`},gettingStarted:{swaggerEditor:`Swagger Editor`,description:`Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references.`,showExample:`Show Example`,uploadFile:`Upload File`,integrations:`INTEGRATIONS`,theming:`THEMING`,features:`Features`,customize:`Customize`,customizeDescription:`Bring your typography & color palettes, or use our themes!`,testing:`Testing`,testingDescription:`A deeply integrated Rest API Client (Also Free & Open-Source)`,search:`Search`,searchDescription:`Fully integrated Search (Using fuse.js)`,hosting:`Hosting`,hostingDescription:`Free subdomain hosting on https://apidocumentation.com`,openApiSwagger:`OpenAPI & Swagger`,openApiSwaggerDescription:`Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0`,codeSamples:`Code Samples`,codeSamplesDescription:`Code samples to show off your API in most popular languages`},footer:{poweredByScalar:`Powered by Scalar`},authentication:{detailsRequired:`Authentication required`,detailsOptional:`Authentication optional`,apiKey:`API key`,mutualTLS:`Mutual TLS`,apiKeyCookie:`Send the API key in the “{name}” cookie.`,apiKeyHeader:`Send the API key in the “{name}” header.`,apiKeyQuery:`Send the API key in the “{name}” query parameter.`,title:`Authentication`,accepts:`Accepts`,allOf:`all of:`,authentication:`authentication`,optional:`Auth Optional`,oneOf:`one of:`,required:`Auth Required`,requires:`Requires`,scopes:`OAuth scopes`}}})),hCn,gCn=s((()=>{fG(),hCn={common:{streamItem:`Elemento del flujo`,description:`Descripción`,httpMethod:`Método HTTP`,path:`Ruta`,copyDefault:`Copiar valor por defecto`,copyExample:`Copiar valor de ejemplo`},search:{label:`Buscar`,inputLabel:`Introduce tu consulta de búsqueda`,open:`Abrir búsqueda`,placeholder:`Buscar...`,clear:`Borrar búsqueda`,noResults:`No se encontraron resultados`,keyboardShortcut:`Atajo de teclado:`,command:`Comando`,control:`Control`,results:`Resultados de búsqueda de la referencia`,navigate:`Navegar`,select:`Seleccionar`,instructions:`Pulsa flecha arriba o abajo para navegar, Enter para seleccionar y escribe para filtrar resultados`,entryHeading:`Encabezado`,entryOperation:`Operación`,entryTag:`Etiqueta`,entryTagGroup:`Grupo de etiquetas`,entryChannel:`Canal`,entryMessage:`Mensaje`,entryWebhook:`Webhook`},navigation:{introduction:`Introducción`,closeGroup:`Cerrar grupo`,closeMenu:`Cerrar menú`,openGroup:`Abrir grupo`,openMenu:`Abrir menú`,operations:`Operaciones`,endpoints:`Endpoints de {name}`,showAllEndpoints:`Mostrar todos los endpoints de {name}`,sidebarFor:`Barra lateral de {name}`,mainContent:`Documentación de la API de {name}`,collapsed:`Contraído`,webhooks:`Webhooks`,channels:`Canales`},server:{label:`Servidor`,select:`Seleccionar un servidor`},info:{termsOfService:`Términos del servicio`},asyncapi:{address:`Dirección`,unknownAddress:`Desconocida`,applicationIdentifier:`Identificador de la aplicación`,servers:`Servidores`,protocols:`Protocolos`},clientLibraries:{heading:`Bibliotecas cliente`,more:`Más`,selectAll:`Seleccionar entre todos los clientes`,searchLabel:`Buscar clientes`,changeClient:`Cambiar el lenguaje del ejemplo de código`},operation:{codeSampleUnavailable:`No hay ninguna muestra de código disponible para este ejemplo.`,codeSample:`Ejemplo de código`,body:`Cuerpo`,cookies:`Cookies`,headers:`Encabezados`,pathParameters:`Parámetros de ruta`,queryParameters:`Parámetros de consulta`,requestBody:`Cuerpo de la solicitud`,responses:`Respuestas`,testRequest:`Probar solicitud`,webhook:`Webhook`,audience:`Audiencia`,selectedContentType:`Tipo de contenido seleccionado`,callbacks:`Callbacks`},response:{xmlGenerationLimit:`El ejemplo XML supera el límite de generación. Proporcione un ejemplo XML serializado para mostrar el contenido completo.`,xmlGenerationFailed:`No se puede generar un ejemplo XML: {message}`,exampleResponses:`Ejemplos de respuesta`,noBody:`Sin cuerpo`,showSchema:`Mostrar esquema`,status:`Estado`},schema:OB.es.schema,download:{openapi:`Descargar documento OpenAPI`,asyncapi:`Descargar documento AsyncAPI`,asFormat:`{label} en {format}`},models:{label:`Modelos`},actions:{copyAsMarkdown:`Copiar como Markdown`,copied:`Copiado`,copyMarkdownFailed:`No se pudo copiar Markdown`,copyLink:`Copiar enlace`,copyLinkTo:`Copiar enlace a {name}`,copyToClipboard:`Copiar enlace al portapapeles`,copyEndpointUrl:`Copiar URL del endpoint`,showMore:`Mostrar más`},agent:{askAi:`Preguntar a IA`,askAiAgent:`Preguntar al agente de IA`,close:`Cerrar cliente`},mcp:{generate:`Generar MCP`,connect:`Conectar MCP`},sdk:{generate:`Generar SDK`},developerTools:{title:`Herramientas de desarrollo`,configure:`Configurar`,share:`Compartir`,deploy:`Desplegar`,scalarConfiguration:`Configuración de Scalar`,theme:`Tema`,layout:`Diseño`,layoutOptions:`Opciones de diseño`,intro:`Las herramientas de desarrollo te permiten personalizar la apariencia y el comportamiento de tu documentación. También puedes compartir tu documentación con Scalar Registry.`,disableToolbarBefore:`Para desactivar la barra de herramientas, configura`,disableToolbarAfter:`en tu configuración.`,localhostOnly:`Las herramientas de desarrollo solo aparecerán al ejecutarse en localhost.`,layoutModern:`Moderno`,layoutClassic:`Clásico`,showSidebar:`Mostrar barra lateral`,defaultOpenFirstTag:`Abrir la primera etiqueta por defecto`,defaultOpenAllTags:`Abrir todas las etiquetas por defecto`,expandAll:`Expandir todo {label}`,expandAllParameters:`Expandir todos los parámetros`,expandAllSchemaProperties:`Expandir todas las propiedades del esquema`,hideModelNames:`Ocultar nombres de modelos`,orderRequiredPropertiesFirst:`Propiedades obligatorias primero`,orderSchemaPropertiesBy:`Orden de propiedades del esquema`,alphabeticalOrder:`Alfabético`,documentOrder:`Orden del documento`,expandAllResponses:`Expandir todas las respuestas`,hideClientButton:`Ocultar botón del cliente`,hideDarkModeToggle:`Ocultar selector de modo oscuro`,hideModels:`Ocultar {label}`,hideSearch:`Ocultar búsqueda`,showOperationId:`Mostrar ID de operación`,hideTestRequestButton:`Ocultar botón de solicitud de prueba`,scalarDocs:`Scalar Docs`,deployDescription:`Despliega tu documentación en Scalar, la plataforma moderna de documentación para tu API y mucho más.`,shareTitle:`Comparte tu API Reference`,shareDescription:`Sube tu documento OpenAPI para compartir tu API Reference con otras personas. Tan fácil como pulsar un botón.`,uploadDocument:`Subir documento`,temporaryLinkExpiration:`Tu documento se eliminará automáticamente después de 7 días.`,deployOnScalar:`Desplegar en Scalar`,deployFree:`Despliega tu documentación gratis.`,additionalFeaturesMightRequire:`Las funciones adicionales pueden requerir`,generate:`Generar`,passwordProtection:`Protección con contraseña`,customDomains:`Dominios personalizados`,freeFormContent:`Contenido libre`,cdnInfrastructure:`Infraestructura CDN`,pullFromGitHub:`Importar desde GitHub`,markdownMdx:`Markdown/MDX`,spectralLinting:`Linting de Spectral`,jsonSchemaHosting:`Alojamiento de JSON Schema`,askAi:`Preguntar a IA`,mcpServers:`Servidores MCP`,unableToExportDocument:`No se pudo exportar el documento activo`,unknownError:`Se produjo un error desconocido`},exploreScalar:{cta:`Genera SDKs y MCP`,headline:`Genera SDKs, MCPs y docs para tu API al instante`,title:`Todo lo que tu API necesita, a partir de un solo documento OpenAPI`,generateTitle:`SDKs y servidores MCP`,generateDescription:`Bibliotecas cliente tipadas y un servidor MCP, generados a partir de este documento y siempre sincronizados.`,platformTitle:`Docs, portales para desarrolladores y registro`,platformDescription:`Publica esta referencia con guías, aloja tus APIs en un registro y pruébalas en el cliente de API.`,signUp:`Pruébalo gratis`,bookDemo:`Reserva una demo con Marc, nuestro CEO`,getDemo:`o consigue una demo con Marc`,messageMarc:`Escribe a Marc en X`,dmMarc:`¡o simplemente escríbeme por X!`,close:`Cerrar`,opensInNewTab:`Se abre en una pestaña nueva`,popupBlocked:`Tu navegador bloqueó la pestaña nueva. Haz clic de nuevo en el botón para abrirla.`,back:`Atrás`,openBookingPage:`Abrir la página de reserva`},gettingStarted:{swaggerEditor:`Swagger Editor`,description:`Bienvenido a Scalar API References + Swagger Editor, una herramienta gratuita y de código abierto que toma tu archivo Swagger/OAS y genera API References elegantes.`,showExample:`Mostrar ejemplo`,uploadFile:`Subir archivo`,integrations:`INTEGRACIONES`,theming:`TEMAS`,features:`Funciones`,customize:`Personalizar`,customizeDescription:`Usa tu tipografía y paletas de colores, o nuestros temas.`,testing:`Pruebas`,testingDescription:`Un REST API Client profundamente integrado (también gratuito y de código abierto)`,search:`Búsqueda`,searchDescription:`Búsqueda completamente integrada (con fuse.js)`,hosting:`Hosting`,hostingDescription:`Hosting gratuito en un subdominio de https://apidocumentation.com`,openApiSwagger:`OpenAPI y Swagger`,openApiSwaggerDescription:`Compatibilidad con OpenAPI 3.1, OpenAPI 3.0 y Swagger 2.0`,codeSamples:`Ejemplos de código`,codeSamplesDescription:`Ejemplos de código para mostrar tu API en los lenguajes más populares`},footer:{poweredByScalar:`Desarrollado por Scalar`},authentication:{detailsRequired:`Autenticación obligatoria`,detailsOptional:`Autenticación opcional`,apiKey:`Clave API`,mutualTLS:`TLS mutuo`,apiKeyCookie:`Envía la clave API en la cookie «{name}».`,apiKeyHeader:`Envía la clave API en la cabecera «{name}».`,apiKeyQuery:`Envía la clave API en el parámetro de consulta «{name}».`,title:`Autenticación`,accepts:`Acepta`,allOf:`todo lo siguiente:`,authentication:`autenticación`,optional:`Autenticación opcional`,oneOf:`uno de:`,required:`Autenticación requerida`,requires:`Requiere`,scopes:`Ámbitos de OAuth`}}})),_Cn,vCn=s((()=>{fG(),_Cn={common:{streamItem:`Élément du flux`,description:`Description`,httpMethod:`Méthode HTTP`,path:`Chemin`,copyDefault:`Copier la valeur par défaut`,copyExample:`Copier la valeur d’exemple`},search:{label:`Rechercher`,inputLabel:`Saisissez votre recherche`,open:`Ouvrir la recherche`,placeholder:`Rechercher...`,clear:`Effacer la recherche`,noResults:`Aucun résultat trouvé`,keyboardShortcut:`Raccourci clavier :`,command:`Commande`,control:`Contrôle`,results:`Résultats de recherche de la référence`,navigate:`Naviguer`,select:`Sélectionner`,instructions:`Appuyez sur flèche haut ou bas pour naviguer, Entrée pour sélectionner, saisissez du texte pour filtrer les résultats`,entryHeading:`Titre`,entryOperation:`Opération`,entryTag:`Balise`,entryTagGroup:`Groupe de balises`,entryChannel:`Canal`,entryMessage:`Message`,entryWebhook:`Webhook`},navigation:{introduction:`Introduction`,closeGroup:`Fermer le groupe`,closeMenu:`Fermer le menu`,openGroup:`Ouvrir le groupe`,openMenu:`Ouvrir le menu`,operations:`Opérations`,endpoints:`Endpoints de {name}`,showAllEndpoints:`Afficher tous les endpoints de {name}`,sidebarFor:`Barre latérale pour {name}`,mainContent:`Documentation de l’API pour {name}`,collapsed:`Réduit`,webhooks:`Webhooks`,channels:`Canaux`},server:{label:`Serveur`,select:`Sélectionner un serveur`},info:{termsOfService:`Conditions d’utilisation`},asyncapi:{address:`Adresse`,unknownAddress:`Inconnue`,applicationIdentifier:`Identifiant de l’application`,servers:`Serveurs`,protocols:`Protocoles`},clientLibraries:{heading:`Bibliothèques clientes`,more:`Plus`,selectAll:`Sélectionner parmi tous les clients`,searchLabel:`Rechercher des clients`,changeClient:`Changer le langage de l’exemple de code`},operation:{codeSampleUnavailable:`Aucun extrait de code disponible pour cet exemple.`,codeSample:`Exemple de code`,body:`Corps`,cookies:`Cookies`,headers:`En-têtes`,pathParameters:`Paramètres de chemin`,queryParameters:`Paramètres de requête`,requestBody:`Corps de la requête`,responses:`Réponses`,testRequest:`Tester la requête`,webhook:`Webhook`,audience:`Public`,selectedContentType:`Type de contenu sélectionné`,callbacks:`Callbacks`},response:{xmlGenerationLimit:`L’exemple XML dépasse la limite de génération. Fournissez un exemple XML sérialisé pour afficher le contenu complet.`,xmlGenerationFailed:`Impossible de générer un exemple XML : {message}`,exampleResponses:`Exemples de réponses`,noBody:`Aucun corps`,showSchema:`Afficher le schéma`,status:`Statut`},schema:OB.fr.schema,download:{openapi:`Télécharger le document OpenAPI`,asyncapi:`Télécharger le document AsyncAPI`,asFormat:`{label} au format {format}`},models:{label:`Modèles`},actions:{copyAsMarkdown:`Copier en Markdown`,copied:`Copié`,copyMarkdownFailed:`Impossible de copier le Markdown`,copyLink:`Copier le lien`,copyLinkTo:`Copier le lien vers {name}`,copyToClipboard:`Copier le lien dans le presse-papiers`,copyEndpointUrl:`Copier l’URL de l’endpoint`,showMore:`Afficher plus`},agent:{askAi:`Demander à l’IA`,askAiAgent:`Demander à l’agent IA`,close:`Fermer le client`},mcp:{generate:`Générer MCP`,connect:`Connecter MCP`},sdk:{generate:`Générer un SDK`},developerTools:{title:`Outils de développement`,configure:`Configurer`,share:`Partager`,deploy:`Déployer`,scalarConfiguration:`Configuration Scalar`,theme:`Thème`,layout:`Mise en page`,layoutOptions:`Options de mise en page`,intro:`Les outils de développement vous permettent de personnaliser l’apparence et le comportement de votre documentation. Vous pouvez aussi partager votre documentation avec Scalar Registry.`,disableToolbarBefore:`Pour désactiver la barre d’outils, définissez`,disableToolbarAfter:`dans votre configuration.`,localhostOnly:`Les outils de développement apparaissent uniquement lors d’une exécution sur localhost.`,layoutModern:`Moderne`,layoutClassic:`Classique`,showSidebar:`Afficher la barre latérale`,defaultOpenFirstTag:`Ouvrir le premier tag par défaut`,defaultOpenAllTags:`Ouvrir tous les tags par défaut`,expandAll:`Tout développer pour {label}`,expandAllParameters:`Développer tous les paramètres`,expandAllSchemaProperties:`Développer toutes les propriétés du schéma`,hideModelNames:`Masquer les noms des modèles`,orderRequiredPropertiesFirst:`Propriétés obligatoires en premier`,orderSchemaPropertiesBy:`Ordre des propriétés du schéma`,alphabeticalOrder:`Alphabétique`,documentOrder:`Ordre du document`,expandAllResponses:`Développer toutes les réponses`,hideClientButton:`Masquer le bouton client`,hideDarkModeToggle:`Masquer le sélecteur de mode sombre`,hideModels:`Masquer {label}`,hideSearch:`Masquer la recherche`,showOperationId:`Afficher l’ID d’opération`,hideTestRequestButton:`Masquer le bouton de requête de test`,scalarDocs:`Scalar Docs`,deployDescription:`Déployez votre documentation sur Scalar, la plateforme moderne de documentation pour votre API et bien plus encore.`,shareTitle:`Partager votre API Reference`,shareDescription:`Téléversez votre document OpenAPI pour partager votre API Reference avec d’autres personnes. Aussi simple qu’un clic.`,uploadDocument:`Téléverser le document`,temporaryLinkExpiration:`Votre document sera automatiquement supprimé après 7 jours.`,deployOnScalar:`Déployer sur Scalar`,deployFree:`Déployez votre documentation gratuitement.`,additionalFeaturesMightRequire:`Les fonctionnalités supplémentaires peuvent nécessiter`,generate:`Générer`,passwordProtection:`Protection par mot de passe`,customDomains:`Domaines personnalisés`,freeFormContent:`Contenu libre`,cdnInfrastructure:`Infrastructure CDN`,pullFromGitHub:`Import depuis GitHub`,markdownMdx:`Markdown/MDX`,spectralLinting:`Linting Spectral`,jsonSchemaHosting:`Hébergement JSON Schema`,askAi:`Demander à l’IA`,mcpServers:`Serveurs MCP`,unableToExportDocument:`Impossible d’exporter le document actif`,unknownError:`Une erreur inconnue est survenue`},exploreScalar:{cta:`Générer SDKs et MCP`,headline:`Générez instantanément des SDKs, des MCPs et des docs pour votre API`,title:`Tout ce dont votre API a besoin, à partir d’un seul document OpenAPI`,generateTitle:`SDKs et serveurs MCP`,generateDescription:`Des bibliothèques clientes typées et un serveur MCP, générés à partir de ce document et maintenus à jour.`,platformTitle:`Docs, portails développeurs et registre`,platformDescription:`Publiez cette référence avec des guides, hébergez vos API dans un registre et testez-les dans le client API.`,signUp:`Essayer gratuitement`,bookDemo:`Réserver une démo avec Marc, notre CEO`,getDemo:`ou obtenir une démo avec Marc`,messageMarc:`Écrire à Marc sur X`,dmMarc:`ou écris-moi simplement sur X !`,close:`Fermer`,opensInNewTab:`S’ouvre dans un nouvel onglet`,popupBlocked:`Votre navigateur a bloqué le nouvel onglet. Cliquez à nouveau sur le bouton pour l’ouvrir.`,back:`Retour`,openBookingPage:`Ouvrir la page de réservation`},gettingStarted:{swaggerEditor:`Swagger Editor`,description:`Bienvenue dans Scalar API References + Swagger Editor, un outil gratuit et open source qui transforme votre fichier Swagger/OAS en belles API References.`,showExample:`Afficher l’exemple`,uploadFile:`Téléverser un fichier`,integrations:`INTÉGRATIONS`,theming:`THÈMES`,features:`Fonctionnalités`,customize:`Personnaliser`,customizeDescription:`Utilisez votre typographie et vos palettes de couleurs, ou nos thèmes !`,testing:`Tests`,testingDescription:`Un REST API Client profondément intégré (également gratuit et open source)`,search:`Recherche`,searchDescription:`Recherche entièrement intégrée (avec fuse.js)`,hosting:`Hébergement`,hostingDescription:`Hébergement gratuit sur un sous-domaine de https://apidocumentation.com`,openApiSwagger:`OpenAPI et Swagger`,openApiSwaggerDescription:`Prise en charge d’OpenAPI 3.1, OpenAPI 3.0 et Swagger 2.0`,codeSamples:`Exemples de code`,codeSamplesDescription:`Des exemples de code pour présenter votre API dans les langages les plus populaires`},footer:{poweredByScalar:`Propulsé par Scalar`},authentication:{detailsRequired:`Authentification requise`,detailsOptional:`Authentification facultative`,apiKey:`Clé API`,mutualTLS:`TLS mutuel`,apiKeyCookie:`Envoyez la clé API dans le cookie « {name} ».`,apiKeyHeader:`Envoyez la clé API dans l’en-tête « {name} ».`,apiKeyQuery:`Envoyez la clé API dans le paramètre de requête « {name} ».`,title:`Authentification`,accepts:`Accepte`,allOf:`tous les éléments :`,authentication:`authentification`,optional:`Authentification optionnelle`,oneOf:`l’un des éléments :`,required:`Authentification requise`,requires:`Requiert`,scopes:`Portées OAuth`}}})),yCn,bCn=s((()=>{fG(),yCn={common:{streamItem:`Item do fluxo`,description:`Descrição`,httpMethod:`Método HTTP`,path:`Caminho`,copyDefault:`Copiar valor padrão`,copyExample:`Copiar valor de exemplo`},search:{label:`Buscar`,inputLabel:`Digite o termo de busca`,open:`Abrir Busca`,placeholder:`Buscar...`,clear:`Limpar Busca`,noResults:`Nenhum resultado encontrado`,keyboardShortcut:`Atalho de Teclado:`,command:`Command`,control:`Control`,results:`Resultados da Busca de Referência`,navigate:`Navegar`,select:`Selecionar`,instructions:`Pressione seta para cima / seta para baixo para navegar, enter para selecionar, digite para filtrar resultados`,entryHeading:`Título`,entryOperation:`Operação`,entryTag:`Tag`,entryTagGroup:`Grupo de Tags`,entryChannel:`Canal`,entryMessage:`Mensagem`,entryWebhook:`Webhook`},navigation:{introduction:`Introdução`,closeGroup:`Fechar Grupo`,closeMenu:`Fechar Menu`,openGroup:`Abrir Grupo`,openMenu:`Abrir Menu`,operations:`Operações`,endpoints:`Endpoints de {name}`,showAllEndpoints:`Mostrar todos os endpoints de {name}`,sidebarFor:`Barra lateral de {name}`,mainContent:`Documentação da API para {name}`,collapsed:`Recolhido`,webhooks:`Webhooks`,channels:`Canais`},server:{label:`Servidor`,select:`Selecione um servidor`},info:{termsOfService:`Termos de Serviço`},asyncapi:{address:`Endereço`,unknownAddress:`Desconhecido`,applicationIdentifier:`Identificador da aplicação`,servers:`Servidores`,protocols:`Protocolos`},clientLibraries:{heading:`Bibliotecas Cliente`,more:`Mais`,selectAll:`Selecionar de todos os clientes`,searchLabel:`Pesquisar clientes`,changeClient:`Alterar a linguagem do exemplo de código`},operation:{codeSampleUnavailable:`Nenhuma amostra de código disponível para este exemplo.`,codeSample:`Exemplo de código`,body:`Corpo`,cookies:`Cookies`,headers:`Cabeçalhos`,pathParameters:`Parâmetros de Caminho`,queryParameters:`Parâmetros de Consulta`,requestBody:`Corpo da Requisição`,responses:`Respostas`,testRequest:`Testar Requisição`,webhook:`Webhook`,audience:`Público`,selectedContentType:`Tipo de Conteúdo Selecionado`,callbacks:`Callbacks`},response:{xmlGenerationLimit:`O exemplo XML excede o limite de geração. Forneça um exemplo XML serializado para exibir o conteúdo completo.`,xmlGenerationFailed:`Não foi possível gerar um exemplo XML: {message}`,exampleResponses:`Exemplos de Respostas`,noBody:`Sem Corpo`,showSchema:`Mostrar Schema`,status:`Status`},schema:OB.pt.schema,download:{openapi:`Baixar Documento OpenAPI`,asyncapi:`Baixar Documento AsyncAPI`,asFormat:`{label} em {format}`},models:{label:`Modelos`},actions:{copyAsMarkdown:`Copiar como Markdown`,copied:`Copiado`,copyMarkdownFailed:`Não foi possível copiar o Markdown`,copyLink:`Copiar link`,copyLinkTo:`Copiar link para {name}`,copyToClipboard:`Copiar link para a área de transferência`,copyEndpointUrl:`Copiar URL do endpoint`,showMore:`Mostrar Mais`},agent:{askAi:`Perguntar à IA`,askAiAgent:`Perguntar ao Agente de IA`,close:`Fechar Cliente`},mcp:{generate:`Gerar MCP`,connect:`Conectar MCP`},sdk:{generate:`Gerar SDK`},developerTools:{title:`Ferramentas de Desenvolvedor`,configure:`Configurar`,share:`Compartilhar`,deploy:`Implantar`,scalarConfiguration:`Configuração do Scalar`,theme:`Tema`,layout:`Layout`,layoutOptions:`Opções de Layout`,intro:`As ferramentas de desenvolvedor permitem personalizar a aparência e o comportamento da sua documentação. Você também pode compartilhar sua documentação usando o Scalar Registry.`,disableToolbarBefore:`Para desativar a barra de ferramentas, defina`,disableToolbarAfter:`na sua configuração.`,localhostOnly:`As ferramentas de desenvolvedor só aparecerão ao rodar em localhost.`,layoutModern:`Moderno`,layoutClassic:`Clássico`,showSidebar:`Mostrar Barra Lateral`,defaultOpenFirstTag:`Abrir Primeira Tag por Padrão`,defaultOpenAllTags:`Abrir Todas as Tags por Padrão`,expandAll:`Expandir Todos {label}`,expandAllParameters:`Expandir todos os parâmetros`,expandAllSchemaProperties:`Expandir todas as propriedades do esquema`,hideModelNames:`Ocultar nomes dos modelos`,orderRequiredPropertiesFirst:`Propriedades obrigatórias primeiro`,orderSchemaPropertiesBy:`Ordem das propriedades do esquema`,alphabeticalOrder:`Alfabética`,documentOrder:`Ordem do documento`,expandAllResponses:`Expandir Todas as Respostas`,hideClientButton:`Ocultar Botão do Cliente`,hideDarkModeToggle:`Ocultar Alternador de Modo Escuro`,hideModels:`Ocultar {label}`,hideSearch:`Ocultar Busca`,showOperationId:`Mostrar ID da Operação`,hideTestRequestButton:`Ocultar Botão de Testar Requisição`,scalarDocs:`Documentação do Scalar`,deployDescription:`Implante sua documentação no Scalar, a plataforma de documentação moderna para sua API e tudo mais.`,shareTitle:`Compartilhe sua Referência de API`,shareDescription:`Envie seu documento OpenAPI para compartilhar sua Referência de API com outras pessoas. Tão fácil quanto apertar um botão.`,uploadDocument:`Enviar Documento`,temporaryLinkExpiration:`Seu documento será excluído automaticamente após 7 dias.`,deployOnScalar:`Implantar no Scalar`,deployFree:`Implante sua documentação gratuitamente.`,additionalFeaturesMightRequire:`Recursos adicionais podem exigir`,generate:`Gerar`,passwordProtection:`Proteção por Senha`,customDomains:`Domínios Personalizados`,freeFormContent:`Conteúdo de formato livre`,cdnInfrastructure:`Infraestrutura de CDN`,pullFromGitHub:`Importar do GitHub`,markdownMdx:`Markdown/MDX`,spectralLinting:`Linting com Spectral`,jsonSchemaHosting:`Hospedagem de JSON Schema`,askAi:`Perguntar à IA`,mcpServers:`Servidores MCP`,unableToExportDocument:`Não foi possível exportar o documento ativo`,unknownError:`Ocorreu um erro desconhecido`},exploreScalar:{cta:`Gerar SDKs e MCP`,headline:`Gere SDKs, MCPs e docs para a sua API instantaneamente`,title:`Tudo o que a sua API precisa, a partir de um único documento OpenAPI`,generateTitle:`SDKs e servidores MCP`,generateDescription:`Bibliotecas cliente tipadas e um servidor MCP, gerados a partir deste documento e mantidos em sincronia.`,platformTitle:`Docs, portais para desenvolvedores e registro`,platformDescription:`Publique esta referência com guias, hospede suas APIs em um registro e teste-as no cliente de API.`,signUp:`Experimente grátis`,bookDemo:`Agende uma demo com Marc, nosso CEO`,getDemo:`ou agende uma demo com Marc`,messageMarc:`Envie uma mensagem para Marc no X`,dmMarc:`ou só me manda uma DM no X!`,close:`Fechar`,opensInNewTab:`Abre em uma nova aba`,popupBlocked:`Seu navegador bloqueou a nova aba. Clique novamente no botão para abri-la.`,back:`Voltar`,openBookingPage:`Abrir a página de agendamento`},gettingStarted:{swaggerEditor:`Editor Swagger`,description:`Bem-vindo às Referências de API Scalar + Editor Swagger, uma ferramenta gratuita e de código aberto que transforma seu arquivo Swagger/OAS em belas referências de API.`,showExample:`Mostrar Exemplo`,uploadFile:`Enviar Arquivo`,integrations:`INTEGRAÇÕES`,theming:`TEMAS`,features:`Recursos`,customize:`Personalizar`,customizeDescription:`Traga sua tipografia e paletas de cores, ou use nossos temas!`,testing:`Testes`,testingDescription:`Um Cliente de API REST profundamente integrado (Também gratuito e de código aberto)`,search:`Busca`,searchDescription:`Busca totalmente integrada (usando fuse.js)`,hosting:`Hospedagem`,hostingDescription:`Hospedagem gratuita de subdomínio em https://apidocumentation.com`,openApiSwagger:`OpenAPI e Swagger`,openApiSwaggerDescription:`Suporte para OpenAPI 3.1, OpenAPI 3.0 e Swagger 2.0`,codeSamples:`Exemplos de Código`,codeSamplesDescription:`Exemplos de código para mostrar sua API nas linguagens mais populares`},footer:{poweredByScalar:`Desenvolvido com Scalar`},authentication:{detailsRequired:`Autenticação obrigatória`,detailsOptional:`Autenticação opcional`,apiKey:`Chave de API`,mutualTLS:`TLS mútuo`,apiKeyCookie:`Envie a chave de API no cookie “{name}”.`,apiKeyHeader:`Envie a chave de API no cabeçalho “{name}”.`,apiKeyQuery:`Envie a chave de API no parâmetro de consulta “{name}”.`,title:`Autenticação`,accepts:`Aceita`,allOf:`todos de:`,authentication:`autenticação`,optional:`Autenticação Opcional`,oneOf:`um de:`,required:`Autenticação Obrigatória`,requires:`Requer`,scopes:`Escopos OAuth`}}})),xCn,SCn=s((()=>{fG(),xCn={common:{streamItem:`Элемент потока`,description:`Описание`,httpMethod:`HTTP-метод`,path:`Путь`,copyDefault:`Скопировать значение по умолчанию`,copyExample:`Скопировать пример значения`},search:{label:`Поиск`,inputLabel:`Введите поисковый запрос`,open:`Открыть поиск`,placeholder:`Поиск...`,clear:`Очистить поиск`,noResults:`Результаты не найдены`,keyboardShortcut:`Сочетание клавиш:`,command:`Command`,control:`Control`,results:`Результаты поиска по документации`,navigate:`Навигация`,select:`Выбрать`,instructions:`Нажмите стрелку вверх или вниз для навигации, Enter для выбора, вводите текст для фильтрации результатов`,entryHeading:`Заголовок`,entryOperation:`Операция`,entryTag:`Тег`,entryTagGroup:`Группа тегов`,entryChannel:`Канал`,entryMessage:`Сообщение`,entryWebhook:`Вебхук`},navigation:{introduction:`Введение`,closeGroup:`Закрыть группу`,closeMenu:`Закрыть меню`,openGroup:`Открыть группу`,openMenu:`Открыть меню`,operations:`Операции`,endpoints:`Эндпоинты {name}`,showAllEndpoints:`Показать все эндпоинты {name}`,sidebarFor:`Боковая панель для {name}`,mainContent:`Документация API для {name}`,collapsed:`Свернуто`,webhooks:`Вебхуки`,channels:`Каналы`},server:{label:`Сервер`,select:`Выберите сервер`},info:{termsOfService:`Условия использования`},asyncapi:{address:`Адрес`,unknownAddress:`Неизвестен`,applicationIdentifier:`Идентификатор приложения`,servers:`Серверы`,protocols:`Протоколы`},clientLibraries:{heading:`Клиентские библиотеки`,more:`Ещё`,selectAll:`Выбрать из всех клиентов`,searchLabel:`Поиск клиентов`,changeClient:`Изменить язык примера кода`},operation:{codeSampleUnavailable:`Для этого примера нет доступного образца кода.`,codeSample:`Пример кода`,body:`Тело`,cookies:`Cookie`,headers:`Заголовки`,pathParameters:`Параметры пути`,queryParameters:`Query-параметры`,requestBody:`Тело запроса`,responses:`Ответы`,testRequest:`Проверить запрос`,webhook:`Вебхук`,audience:`Аудитория`,selectedContentType:`Выбранный тип содержимого`,callbacks:`Обратные вызовы`},response:{xmlGenerationLimit:`Пример XML превышает ограничение генерации. Укажите сериализованный пример XML, чтобы отобразить содержимое полностью.`,xmlGenerationFailed:`Не удалось создать пример XML: {message}`,exampleResponses:`Примеры ответов`,noBody:`Нет тела`,showSchema:`Показать схему`,status:`Статус`},schema:OB.ru.schema,download:{openapi:`Скачать OpenAPI-документ`,asyncapi:`Скачать AsyncAPI-документ`,asFormat:`{label} в формате {format}`},models:{label:`Модели`},actions:{copyAsMarkdown:`Копировать как Markdown`,copied:`Скопировано`,copyMarkdownFailed:`Не удалось скопировать Markdown`,copyLink:`Скопировать ссылку`,copyLinkTo:`Скопировать ссылку на {name}`,copyToClipboard:`Скопировать ссылку в буфер обмена`,copyEndpointUrl:`Скопировать URL endpoint-а`,showMore:`Показать ещё`},agent:{askAi:`Спросить AI`,askAiAgent:`Спросить AI-агента`,close:`Закрыть клиент`},mcp:{generate:`Создать MCP`,connect:`Подключить MCP`},sdk:{generate:`Создать SDK`},developerTools:{title:`Инструменты разработчика`,configure:`Настроить`,share:`Поделиться`,deploy:`Опубликовать`,scalarConfiguration:`Конфигурация Scalar`,theme:`Тема`,layout:`Макет`,layoutOptions:`Параметры макета`,intro:`Инструменты разработчика позволяют настроить внешний вид и поведение документации. Также можно поделиться документацией через Scalar Registry.`,disableToolbarBefore:`Чтобы отключить панель, установите`,disableToolbarAfter:`в конфигурации.`,localhostOnly:`Инструменты разработчика отображаются только при запуске на localhost.`,layoutModern:`Современный`,layoutClassic:`Классический`,showSidebar:`Показать боковую панель`,defaultOpenFirstTag:`Открывать первый тег по умолчанию`,defaultOpenAllTags:`Открывать все теги по умолчанию`,expandAll:`Развернуть все {label}`,expandAllParameters:`Развернуть все параметры`,expandAllSchemaProperties:`Развернуть все свойства схемы`,hideModelNames:`Скрыть имена моделей`,orderRequiredPropertiesFirst:`Обязательные свойства первыми`,orderSchemaPropertiesBy:`Порядок свойств схемы`,alphabeticalOrder:`По алфавиту`,documentOrder:`Порядок документа`,expandAllResponses:`Развернуть все ответы`,hideClientButton:`Скрыть кнопку клиента`,hideDarkModeToggle:`Скрыть переключатель тёмной темы`,hideModels:`Скрыть {label}`,hideSearch:`Скрыть поиск`,showOperationId:`Показать ID операции`,hideTestRequestButton:`Скрыть кнопку тестового запроса`,scalarDocs:`Scalar Docs`,deployDescription:`Опубликуйте документацию на Scalar — современной платформе документации для вашего API и не только.`,shareTitle:`Поделиться API Reference`,shareDescription:`Загрузите документ OpenAPI, чтобы поделиться API Reference с другими. Так же просто, как нажать кнопку.`,uploadDocument:`Загрузить документ`,temporaryLinkExpiration:`Документ будет автоматически удалён через 7 дней.`,deployOnScalar:`Опубликовать на Scalar`,deployFree:`Опубликуйте документацию бесплатно.`,additionalFeaturesMightRequire:`Для дополнительных возможностей может потребоваться`,generate:`Создать`,passwordProtection:`Защита паролем`,customDomains:`Пользовательские домены`,freeFormContent:`Произвольный контент`,cdnInfrastructure:`CDN-инфраструктура`,pullFromGitHub:`Загрузка из GitHub`,markdownMdx:`Markdown/MDX`,spectralLinting:`Линтинг Spectral`,jsonSchemaHosting:`Хостинг JSON Schema`,askAi:`Спросить AI`,mcpServers:`MCP-серверы`,unableToExportDocument:`Не удалось экспортировать активный документ`,unknownError:`Произошла неизвестная ошибка`},exploreScalar:{cta:`Создать SDK и MCP`,headline:`Мгновенно создавайте SDK, MCP и документацию для вашего API`,title:`Всё, что нужно вашему API, из одного документа OpenAPI`,generateTitle:`SDK и MCP-серверы`,generateDescription:`Типизированные клиентские библиотеки и MCP-сервер, созданные из этого документа и всегда актуальные.`,platformTitle:`Документация, порталы для разработчиков и реестр`,platformDescription:`Публикуйте этот справочник с руководствами, размещайте API в реестре и тестируйте их в API-клиенте.`,signUp:`Попробовать бесплатно`,bookDemo:`Записаться на демо с Marc, нашим CEO`,getDemo:`или записаться на демо с Marc`,messageMarc:`Написать Marc в X`,dmMarc:`или просто напишите мне в X!`,close:`Закрыть`,opensInNewTab:`Откроется в новой вкладке`,popupBlocked:`Браузер заблокировал новую вкладку. Нажмите кнопку ещё раз, чтобы открыть её.`,back:`Назад`,openBookingPage:`Открыть страницу бронирования`},gettingStarted:{swaggerEditor:`Swagger Editor`,description:`Добро пожаловать в Scalar API References + Swagger Editor — бесплатный инструмент с открытым исходным кодом, который принимает файл Swagger/OAS и создаёт красивые API Reference.`,showExample:`Показать пример`,uploadFile:`Загрузить файл`,integrations:`ИНТЕГРАЦИИ`,theming:`ТЕМЫ`,features:`Возможности`,customize:`Настройка`,customizeDescription:`Используйте свою типографику и цветовые палитры или наши темы!`,testing:`Тестирование`,testingDescription:`Глубоко интегрированный REST API Client (тоже бесплатный и с открытым исходным кодом)`,search:`Поиск`,searchDescription:`Полностью интегрированный поиск (с использованием fuse.js)`,hosting:`Хостинг`,hostingDescription:`Бесплатный хостинг на поддомене https://apidocumentation.com`,openApiSwagger:`OpenAPI и Swagger`,openApiSwaggerDescription:`Поддержка OpenAPI 3.1, OpenAPI 3.0 и Swagger 2.0`,codeSamples:`Примеры кода`,codeSamplesDescription:`Примеры кода для демонстрации вашего API на самых популярных языках`},footer:{poweredByScalar:`Работает на Scalar`},authentication:{detailsRequired:`Требуется аутентификация`,detailsOptional:`Аутентификация необязательна`,apiKey:`Ключ API`,mutualTLS:`Взаимная аутентификация TLS`,apiKeyCookie:`Передайте ключ API в cookie «{name}».`,apiKeyHeader:`Передайте ключ API в заголовке «{name}».`,apiKeyQuery:`Передайте ключ API в параметре запроса «{name}».`,title:`Аутентификация`,accepts:`Принимает`,allOf:`все из:`,authentication:`аутентификация`,optional:`Аутентификация необязательна`,oneOf:`одно из:`,required:`Требуется аутентификация`,requires:`Требуется`,scopes:`Области OAuth`}}})),CCn,wCn=s((()=>{fG(),CCn={common:{streamItem:`流项目`,description:`描述`,httpMethod:`HTTP 方法`,path:`路径`,copyDefault:`复制默认值`,copyExample:`复制示例值`},search:{label:`搜索`,inputLabel:`输入搜索查询`,open:`打开搜索`,placeholder:`搜索...`,clear:`清除搜索`,noResults:`未找到结果`,keyboardShortcut:`键盘快捷键:`,command:`Command 键`,control:`Control 键`,results:`参考文档搜索结果`,navigate:`导航`,select:`选择`,instructions:`按上/下箭头导航,按 Enter 选择,输入内容筛选结果`,entryHeading:`标题`,entryOperation:`操作`,entryTag:`标签`,entryTagGroup:`标签组`,entryChannel:`通道`,entryMessage:`消息`,entryWebhook:`Webhook`},navigation:{introduction:`简介`,closeGroup:`关闭分组`,closeMenu:`关闭菜单`,openGroup:`打开分组`,openMenu:`打开菜单`,operations:`操作`,endpoints:`{name} 端点`,showAllEndpoints:`显示 {name} 的所有端点`,sidebarFor:`{name} 的侧边栏`,mainContent:`{name} 的 API 文档`,collapsed:`已折叠`,webhooks:`Webhooks`,channels:`频道`},server:{label:`服务器`,select:`选择服务器`},info:{termsOfService:`服务条款`},asyncapi:{address:`地址`,unknownAddress:`未知`,applicationIdentifier:`应用标识符`,servers:`服务器`,protocols:`协议`},clientLibraries:{heading:`客户端库`,more:`更多`,selectAll:`从所有客户端中选择`,searchLabel:`搜索客户端`,changeClient:`更改代码示例语言`},operation:{codeSampleUnavailable:`此示例暂无可用的代码示例。`,codeSample:`代码示例`,body:`请求体`,cookies:`Cookie`,headers:`请求头`,pathParameters:`路径参数`,queryParameters:`查询参数`,requestBody:`请求体`,responses:`响应`,testRequest:`测试请求`,webhook:`Webhook`,audience:`受众`,selectedContentType:`已选内容类型`,callbacks:`回调`},response:{xmlGenerationLimit:`XML 示例超出生成限制。请提供序列化的 XML 示例以显示完整内容。`,xmlGenerationFailed:`无法生成 XML 示例:{message}`,exampleResponses:`响应示例`,noBody:`无内容`,showSchema:`显示 Schema`,status:`状态`},schema:OB[`zh-CN`].schema,download:{openapi:`下载 OpenAPI 文档`,asyncapi:`下载 AsyncAPI 文档`,asFormat:`{label}({format})`},models:{label:`模型`},actions:{copyAsMarkdown:`复制为 Markdown`,copied:`已复制`,copyMarkdownFailed:`无法复制 Markdown`,copyLink:`复制链接`,copyLinkTo:`复制指向 {name} 的链接`,copyToClipboard:`复制链接到剪贴板`,copyEndpointUrl:`复制端点 URL`,showMore:`显示更多`},agent:{askAi:`询问 AI`,askAiAgent:`询问 AI 助手`,close:`关闭客户端`},mcp:{generate:`生成 MCP`,connect:`连接 MCP`},sdk:{generate:`生成 SDK`},developerTools:{title:`开发者工具`,configure:`配置`,share:`分享`,deploy:`部署`,scalarConfiguration:`Scalar 配置`,theme:`主题`,layout:`布局`,layoutOptions:`布局选项`,intro:`开发者工具可用于自定义文档的外观和行为。你也可以通过 Scalar Registry 分享文档。`,disableToolbarBefore:`要禁用工具栏,请在配置中设置`,disableToolbarAfter:`。`,localhostOnly:`开发者工具只会在 localhost 上运行时显示。`,layoutModern:`现代`,layoutClassic:`经典`,showSidebar:`显示侧边栏`,defaultOpenFirstTag:`默认打开第一个标签`,defaultOpenAllTags:`默认打开所有标签`,expandAll:`展开所有 {label}`,expandAllParameters:`展开所有参数`,expandAllSchemaProperties:`展开所有模式属性`,hideModelNames:`隐藏模型名称`,orderRequiredPropertiesFirst:`必填属性优先`,orderSchemaPropertiesBy:`模式属性排序`,alphabeticalOrder:`按字母顺序`,documentOrder:`文档顺序`,expandAllResponses:`展开所有响应`,hideClientButton:`隐藏客户端按钮`,hideDarkModeToggle:`隐藏深色模式开关`,hideModels:`隐藏 {label}`,hideSearch:`隐藏搜索`,showOperationId:`显示操作 ID`,hideTestRequestButton:`隐藏测试请求按钮`,scalarDocs:`Scalar Docs`,deployDescription:`将你的文档部署到 Scalar,这是适用于 API 等内容的现代文档平台。`,shareTitle:`分享你的 API Reference`,shareDescription:`上传 OpenAPI 文档,与其他人分享你的 API Reference。只需点击按钮即可。`,uploadDocument:`上传文档`,temporaryLinkExpiration:`你的文档将在 7 天后自动删除。`,deployOnScalar:`部署到 Scalar`,deployFree:`免费部署你的文档。`,additionalFeaturesMightRequire:`其他功能可能需要`,generate:`生成`,passwordProtection:`密码保护`,customDomains:`自定义域名`,freeFormContent:`自由内容`,cdnInfrastructure:`CDN 基础设施`,pullFromGitHub:`从 GitHub 拉取`,markdownMdx:`Markdown/MDX`,spectralLinting:`Spectral Linting`,jsonSchemaHosting:`JSON Schema 托管`,askAi:`询问 AI`,mcpServers:`MCP 服务器`,unableToExportDocument:`无法导出当前文档`,unknownError:`发生未知错误`},exploreScalar:{cta:`生成 SDK 和 MCP`,headline:`为你的 API 即时生成 SDK、MCP 和文档`,title:`一份 OpenAPI 文档,满足你的 API 所需的一切`,generateTitle:`SDK 与 MCP 服务器`,generateDescription:`基于此文档生成类型化的客户端库和 MCP 服务器,并保持同步。`,platformTitle:`文档、开发者门户与注册表`,platformDescription:`发布带有指南的 API 参考,将你的 API 托管到注册表,并在 API 客户端中进行测试。`,signUp:`免费试用`,bookDemo:`预约与我们的 CEO Marc 的演示`,getDemo:`或预约与 Marc 的演示`,messageMarc:`在 X 上私信 Marc`,dmMarc:`或者直接在 X 上私信我!`,close:`关闭`,opensInNewTab:`在新标签页中打开`,popupBlocked:`浏览器拦截了新标签页。请再次点击该按钮以打开。`,back:`返回`,openBookingPage:`打开预约页面`},gettingStarted:{swaggerEditor:`Swagger Editor`,description:`欢迎使用 Scalar API References + Swagger Editor,这是一款免费开源工具,可将你的 Swagger/OAS 文件生成精美的 API References。`,showExample:`显示示例`,uploadFile:`上传文件`,integrations:`集成`,theming:`主题`,features:`功能`,customize:`自定义`,customizeDescription:`使用你的排版和调色板,或使用我们的主题!`,testing:`测试`,testingDescription:`深度集成的 REST API Client(同样免费且开源)`,search:`搜索`,searchDescription:`完整集成的搜索(使用 fuse.js)`,hosting:`托管`,hostingDescription:`在 https://apidocumentation.com 上免费托管子域名`,openApiSwagger:`OpenAPI 和 Swagger`,openApiSwaggerDescription:`支持 OpenAPI 3.1、OpenAPI 3.0 和 Swagger 2.0`,codeSamples:`代码示例`,codeSamplesDescription:`用最流行语言展示你的 API 的代码示例`},footer:{poweredByScalar:`由 Scalar 提供支持`},authentication:{detailsRequired:`需要身份验证`,detailsOptional:`身份验证可选`,apiKey:`API 密钥`,mutualTLS:`双向 TLS`,apiKeyCookie:`在 Cookie “{name}” 中发送 API 密钥。`,apiKeyHeader:`在请求头 “{name}” 中发送 API 密钥。`,apiKeyQuery:`在查询参数 “{name}” 中发送 API 密钥。`,title:`身份验证`,accepts:`接受`,allOf:`全部:`,authentication:`身份认证`,optional:`身份认证可选`,oneOf:`其中之一:`,required:`需要身份认证`,requires:`需要`,scopes:`OAuth 作用域`}}})),TCn,ECn=s((()=>{fG(),TCn={common:{streamItem:`串流項目`,description:`描述`,httpMethod:`HTTP 方法`,path:`路徑`,copyDefault:`複製預設值`,copyExample:`複製範例值`},search:{label:`搜尋`,inputLabel:`輸入搜尋查詢`,open:`開啟搜尋`,placeholder:`搜尋...`,clear:`清除搜尋`,noResults:`找不到結果`,keyboardShortcut:`鍵盤快速鍵:`,command:`Command 鍵`,control:`Control 鍵`,results:`API 參考文件搜尋結果`,navigate:`導覽`,select:`選擇`,instructions:`按上/下箭頭導覽,按 Enter 選擇,輸入內容篩選結果`,entryHeading:`標題`,entryOperation:`操作`,entryTag:`標籤`,entryTagGroup:`標籤群組`,entryChannel:`通道`,entryMessage:`訊息`,entryWebhook:`Webhook`},navigation:{introduction:`簡介`,closeGroup:`關閉群組`,closeMenu:`關閉選單`,openGroup:`開啟群組`,openMenu:`開啟選單`,operations:`操作`,endpoints:`{name} 端點`,showAllEndpoints:`顯示 {name} 的所有端點`,sidebarFor:`{name} 的側邊欄`,mainContent:`{name} 的 API 文件`,collapsed:`已摺疊`,webhooks:`Webhooks`,channels:`通道`},server:{label:`伺服器`,select:`選擇伺服器`},info:{termsOfService:`服務條款`},asyncapi:{address:`位址`,unknownAddress:`未知`,applicationIdentifier:`應用程式識別碼`,servers:`伺服器`,protocols:`通訊協定`},clientLibraries:{heading:`用戶端函式庫`,more:`更多`,selectAll:`從所有用戶端中選擇`,searchLabel:`搜尋用戶端`,changeClient:`更改程式碼範例語言`},operation:{codeSampleUnavailable:`此範例沒有可用的程式碼範例。`,codeSample:`程式碼範例`,body:`請求主體`,cookies:`Cookie`,headers:`請求標頭`,pathParameters:`路徑參數`,queryParameters:`查詢參數`,requestBody:`請求主體`,responses:`回應`,testRequest:`測試請求`,webhook:`Webhook`,audience:`適用對象`,selectedContentType:`已選內容類型`,callbacks:`回呼`},response:{xmlGenerationLimit:`XML 範例超出產生限制。請提供序列化的 XML 範例以顯示完整內容。`,xmlGenerationFailed:`無法產生 XML 範例:{message}`,exampleResponses:`回應範例`,noBody:`無內容`,showSchema:`顯示結構描述`,status:`狀態`},schema:OB[`zh-TW`].schema,download:{openapi:`下載 OpenAPI 文件`,asyncapi:`下載 AsyncAPI 文件`,asFormat:`{label}({format})`},models:{label:`模型`},actions:{copyAsMarkdown:`複製為 Markdown`,copied:`已複製`,copyMarkdownFailed:`無法複製 Markdown`,copyLink:`複製連結`,copyLinkTo:`複製指向 {name} 的連結`,copyToClipboard:`複製連結到剪貼簿`,copyEndpointUrl:`複製端點 URL`,showMore:`顯示更多`},agent:{askAi:`詢問 AI`,askAiAgent:`詢問 AI 助手`,close:`關閉用戶端`},mcp:{generate:`產生 MCP`,connect:`連線 MCP`},sdk:{generate:`產生 SDK`},developerTools:{title:`開發者工具`,configure:`設定`,share:`分享`,deploy:`部署`,scalarConfiguration:`Scalar 設定`,theme:`主題`,layout:`版面配置`,layoutOptions:`版面配置選項`,intro:`開發者工具可用於自訂文件的外觀和行為。你也可以透過 Scalar Registry 分享文件。`,disableToolbarBefore:`要停用工具列,請在設定中指定`,disableToolbarAfter:`。`,localhostOnly:`開發者工具只會在 localhost 上執行時顯示。`,layoutModern:`現代`,layoutClassic:`經典`,showSidebar:`顯示側邊欄`,defaultOpenFirstTag:`預設開啟第一個標籤`,defaultOpenAllTags:`預設開啟所有標籤`,expandAll:`展開所有 {label}`,expandAllParameters:`展開所有參數`,expandAllSchemaProperties:`展開所有結構描述屬性`,hideModelNames:`隱藏模型名稱`,orderRequiredPropertiesFirst:`必填屬性優先`,orderSchemaPropertiesBy:`結構描述屬性排序`,alphabeticalOrder:`依字母順序`,documentOrder:`文件順序`,expandAllResponses:`展開所有回應`,hideClientButton:`隱藏用戶端按鈕`,hideDarkModeToggle:`隱藏深色模式開關`,hideModels:`隱藏 {label}`,hideSearch:`隱藏搜尋`,showOperationId:`顯示操作 ID`,hideTestRequestButton:`隱藏測試請求按鈕`,scalarDocs:`Scalar Docs`,deployDescription:`將你的文件部署到 Scalar,這是適用於 API 等內容的現代文件平台。`,shareTitle:`分享你的 API Reference`,shareDescription:`上傳 OpenAPI 文件,與其他人分享你的 API Reference。只需點擊按鈕即可。`,uploadDocument:`上傳文件`,temporaryLinkExpiration:`你的文件將在 7 天後自動刪除。`,deployOnScalar:`部署到 Scalar`,deployFree:`免費部署你的文件。`,additionalFeaturesMightRequire:`其他功能可能需要`,generate:`產生`,passwordProtection:`密碼保護`,customDomains:`自訂網域`,freeFormContent:`自由內容`,cdnInfrastructure:`CDN 基礎設施`,pullFromGitHub:`從 GitHub 拉取`,markdownMdx:`Markdown/MDX`,spectralLinting:`Spectral Linting`,jsonSchemaHosting:`JSON Schema 代管`,askAi:`詢問 AI`,mcpServers:`MCP 伺服器`,unableToExportDocument:`無法匯出目前文件`,unknownError:`發生未知錯誤`},exploreScalar:{cta:`產生 SDK 與 MCP`,headline:`為你的 API 即時產生 SDK、MCP 與文件`,title:`一份 OpenAPI 文件,滿足你的 API 所需的一切`,generateTitle:`SDK 與 MCP 伺服器`,generateDescription:`根據此文件產生具型別的用戶端函式庫與 MCP 伺服器,並保持同步。`,platformTitle:`文件、開發者入口網站與註冊中心`,platformDescription:`發布含指南的 API 參考文件,將你的 API 託管在註冊中心,並在 API 用戶端中測試。`,signUp:`免費試用`,bookDemo:`預約與我們的 CEO Marc 進行產品展示`,getDemo:`或預約與 Marc 進行產品展示`,messageMarc:`在 X 上私訊 Marc`,dmMarc:`或直接在 X 上私訊我!`,close:`關閉`,opensInNewTab:`在新分頁中開啟`,popupBlocked:`瀏覽器封鎖了新分頁。請再按一次該按鈕以開啟。`,back:`返回`,openBookingPage:`開啟預約頁面`},gettingStarted:{swaggerEditor:`Swagger Editor`,description:`歡迎使用 Scalar API References + Swagger Editor,這是一款免費的開源工具,可將你的 Swagger/OAS 檔案產生精美的 API References。`,showExample:`顯示範例`,uploadFile:`上傳檔案`,integrations:`整合`,theming:`主題`,features:`功能`,customize:`自訂`,customizeDescription:`使用你的排版和調色盤,或使用我們的主題!`,testing:`測試`,testingDescription:`深度整合的 REST API Client(同樣免費且開源)`,search:`搜尋`,searchDescription:`完整整合的搜尋(使用 fuse.js)`,hosting:`代管`,hostingDescription:`在 https://apidocumentation.com 上免費代管子網域`,openApiSwagger:`OpenAPI 和 Swagger`,openApiSwaggerDescription:`支援 OpenAPI 3.1、OpenAPI 3.0 和 Swagger 2.0`,codeSamples:`程式碼範例`,codeSamplesDescription:`使用最常見的語言展示你的 API 的程式碼範例`},footer:{poweredByScalar:`由 Scalar 提供支援`},authentication:{detailsRequired:`需要身分驗證`,detailsOptional:`身分驗證為選用`,apiKey:`API 金鑰`,mutualTLS:`雙向 TLS`,apiKeyCookie:`在 Cookie 「{name}」 中傳送 API 金鑰。`,apiKeyHeader:`在請求標頭 「{name}」 中傳送 API 金鑰。`,apiKeyQuery:`在查詢參數 「{name}」 中傳送 API 金鑰。`,title:`身分驗證`,accepts:`接受`,allOf:`全部:`,authentication:`身分驗證`,optional:`身分驗證為選用`,oneOf:`其中之一:`,required:`需要身分驗證`,requires:`需要`,scopes:`OAuth 權限範圍`}}})),DCn,OCn,kCn=s((()=>{uCn(),fCn(),mCn(),gCn(),vCn(),bCn(),SCn(),wCn(),ECn(),DCn={en:pCn,ru:xCn,es:hCn,fr:_Cn,de:dCn,"zh-CN":CCn,"zh-TW":TCn,ar:lCn,pt:yCn},OCn=new Set([`ar`,`fa`,`he`,`ur`])})),ACn,jCn,Z4,MCn=s((()=>{Bce(),kCn(),{resolveLocalization:ACn,provideLocalization:jCn,useLocalization:Z4}=Ns({localeTranslations:DCn,defaultLocale:`en`,rtlLocales:OCn,logPrefix:`[@scalar/api-reference]`})})),Q4=s((()=>{MCn()})),NCn={c:`programming-language-c`,clojure:`programming-language-clojure`,csharp:`programming-language-csharp`,"c#":`programming-language-csharp`,cs:`programming-language-csharp`,css:`programming-language-css3`,css3:`programming-language-css3`,dart:`programming-language-dart`,fsharp:`programming-language-fsharp`,"f#":`programming-language-fsharp`,go:`programming-language-go`,golang:`programming-language-go`,html:`programming-language-html5`,html5:`programming-language-html5`,http:`programming-language-http`,java:`programming-language-java`,javascript:`programming-language-javascript`,js:`programming-language-javascript`,json:`programming-language-json`,julia:`programming-language-julia`,jl:`programming-language-julia`,kotlin:`programming-language-kotlin`,node:`programming-language-node`,"node.js":`programming-language-node`,nodejs:`programming-language-node`,objc:`programming-language-objc`,"objective-c":`programming-language-objc`,ocaml:`programming-language-ocaml`,php:`programming-language-php`,powershell:`programming-language-powershell`,python:`programming-language-python`,py:`programming-language-python`,r:`programming-language-r`,ruby:`programming-language-ruby`,rb:`programming-language-ruby`,rust:`programming-language-rust`,rs:`programming-language-rust`,scala:`programming-language-scala`,shell:`programming-language-shell`,bash:`programming-language-shell`,sh:`programming-language-shell`,curl:`programming-language-shell`,swift:`programming-language-swift`,typescript:`programming-language-typescript`,ts:`programming-language-typescript`},PCn=e=>NCn[e.trim().toLowerCase()];ax();var FCn=e=>{let t=Math.max(0,...[...e.matchAll(/`+/g)].map(e=>e[0].length)),n="`".repeat(Math.max(3,t+1));return`${n}\n${e}\n${n}`},ICn=e=>Array.isArray(e)?e.flatMap(e=>{if(typeof e?.lang!=`string`)return[];let t=typeof e.description==`string`&&e.description.trim()?e.description:``,n=typeof e.source==`string`?e.source.trim():``;if(!t&&!n)return[];let r=[t,n&&FCn(n)].filter(Boolean).join(`
+
+`);return[{lang:e.lang,description:r}]}):[],LCn=e=>tx(e)&&ICn(e.info?.[`x-scalar-sdk-installation`]).length>0,RCn=(e,t,n)=>{let r=e.length;if(t<=0)return r;let i=n=>{let r=0,i=0;for(let a of e){if(r+a>t-n)break;r+=a,i++}return i};return i(0)>=r?r:Math.max(1,i(n))};B(),hX(),fT(),gS(),Xz(),Q4();var zCn={key:0},BCn=[`id`],VCn={class:`client-libraries-content`},HCn=[`aria-labelledby`],UCn=[`id`,`aria-selected`,`tabindex`,`onClick`,`onKeydown`],WCn={class:`client-libraries-text`},GCn={class:`client-libraries-text`},KCn={"aria-hidden":`true`,class:`client-libraries-measure-clip`},qCn={class:`client-libraries-text`},JCn={class:`client-libraries`},YCn={class:`client-libraries-text`},XCn=[`aria-labelledby`],ZCn=k({__name:`SdkInstallationInstructions`,props:{xScalarSdkInstallation:{},selectedClient:{},eventBus:{}},setup(e){let t=xr(),n=xr(),r=`${n}-panel`,{translate:i}=Z4(),a=z(()=>ICn(e.xScalarSdkInstallation).map(e=>({...e,icon:PCn(e.lang)}))),o=E(0),s=z(()=>a.value[o.value]),c=z(()=>Kq(a.value.map(e=>({lang:e.lang,source:``})))),l=t=>{o.value=t;let n=c.value[t];n&&e.eventBus?.emit(`workspace:update:selected-client`,n)};dr([()=>e.selectedClient,c],([e,t])=>{let n=e?t.findIndex(t=>t===e):-1;n>=0?o.value=n:o.value>t.length-1&&(o.value=0)},{immediate:!0}),dr(()=>a.value.map(e=>e.lang).join(`
+`),()=>void nr(g));let u=E(),d=E(),f=E(),p=E(0),m=E([]),h=E(0),g=()=>{let e=f.value,t=u.value;if(!e||!t)return;let n=Array.from(e.children).map(e=>e.offsetWidth);m.value=n.slice(0,a.value.length),h.value=n[a.value.length]??0,p.value=t.clientWidth},_=z(()=>!m.value.length||p.value<=0?a.value.length:RCn(m.value,p.value,h.value)),v=z(()=>a.value.slice(0,_.value)),y=z(()=>o.value>=_.value),b=z(()=>a.value.slice(_.value).map((e,t)=>({id:String(_.value+t),label:e.lang}))),x=z(()=>b.value.find(e=>e.id===String(o.value))),ee=e=>{e&&l(Number(e.id))},te=z(()=>y.value?t:`${n}-tab-${o.value}`),ne=z(()=>y.value?-1:o.value),re=e=>{nr(()=>{d.value?.querySelectorAll(`[role="tab"]`).item(e)?.focus()})},ie=(e,t)=>{let n=_.value-1,r;switch(e.key){case`ArrowRight`:case`ArrowDown`:r=t>=n?0:t+1;break;case`ArrowLeft`:case`ArrowUp`:r=t<=0?n:t-1;break;case`Home`:r=0;break;case`End`:r=n;break;default:return}e.preventDefault(),l(r),re(r)},ae,oe=0,se=()=>{typeof requestAnimationFrame>`u`?g():(cancelAnimationFrame(oe),oe=requestAnimationFrame(g))};return Ii(()=>{typeof ResizeObserver<`u`&&(ae=new ResizeObserver(se),u.value&&ae.observe(u.value),f.value&&ae.observe(f.value)),g()}),Ri(()=>{ae?.disconnect(),typeof cancelAnimationFrame<`u`&&cancelAnimationFrame(oe)}),(e,c)=>a.value.length?(j(),M(`div`,zCn,[P(`div`,{id:D(t),class:`client-libraries-heading`},T(D(i)(`clientLibraries.heading`)),9,BCn),P(`div`,VCn,[P(`div`,{ref_key:`rowRef`,ref:u,class:`client-libraries-row`},[P(`div`,{ref_key:`tabsRef`,ref:d,"aria-labelledby":D(t),class:`client-libraries-tabs`,role:`tablist`},[(j(!0),M(L,null,jr(v.value,(e,t)=>(j(),M(`button`,{id:`${D(n)}-tab-${t}`,key:t,"aria-controls":r,"aria-selected":t===o.value,class:lt([`client-libraries`,{"client-libraries__active":t===o.value}]),role:`tab`,tabindex:t===ne.value?0:-1,type:`button`,onClick:e=>l(t),onKeydown:e=>ie(e,t)},[e.icon?(j(),N(D(fS),{key:0,class:`client-libraries-icon`,icon:e.icon},null,8,[`icon`])):I(``,!0),P(`span`,WCn,T(e.lang),1)],42,UCn))),128))],8,HCn),_.value<a.value.length?(j(),N(D(dT),{key:0,modelValue:x.value,options:b.value,placement:`bottom-end`,teleport:``,"onUpdate:modelValue":ee},{default:O(()=>[P(`button`,{class:lt([`client-libraries client-libraries-more`,{"client-libraries__active":y.value}]),type:`button`},[R(D(fS),{class:`client-libraries-icon`,icon:y.value&&s.value?.icon?s.value.icon:`Ellipses`},null,8,[`icon`]),P(`span`,GCn,T(D(i)(`clientLibraries.more`)),1)],2)]),_:1},8,[`modelValue`,`options`])):I(``,!0)],512),P(`div`,KCn,[P(`div`,{ref_key:`measureRef`,ref:f,class:`client-libraries-row client-libraries-row--measure`},[(j(!0),M(L,null,jr(a.value,(e,t)=>(j(),M(`span`,{key:t,class:`client-libraries`},[e.icon?(j(),N(D(fS),{key:0,class:`client-libraries-icon`,icon:e.icon},null,8,[`icon`])):I(``,!0),P(`span`,qCn,T(e.lang),1)]))),128)),P(`span`,JCn,[R(D(fS),{class:`client-libraries-icon`,icon:`Ellipses`}),P(`span`,YCn,T(D(i)(`clientLibraries.more`)),1)])],512)])]),s.value?.description?(j(),M(`div`,{key:0,id:r,"aria-labelledby":te.value,class:`selected-client`,role:`tabpanel`,tabindex:`0`},[R(D(Jz),{value:s.value.description},null,8,[`value`])],8,XCn)):I(``,!0)])):I(``,!0)}}),$4,e3=s((()=>{$4=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}}));e3();var QCn=$4(ZCn,[[`__scopeId`,`data-v-e05ee491`]]);function $Cn(e){let t=E(!1),n=E(``),r={showAgent:t,agentEnabled:e.agentEnabled??z(()=>ey(window.location.href)),prefilledMessage:n,openAgent:e=>{n.value=e??``,t.value=!0},closeAgent:()=>{t.value=!1,n.value=``},toggleAgent:()=>{t.value=!t.value,t.value||(n.value=``)}};return nwn.value=r,r}function ewn(){let e=lr(twn,void 0);return z(()=>e??nwn.value??void 0)}var twn,nwn,t3=s((()=>{ty(),B(),twn=Symbol(),nwn=E(null)}));B(),Qs(),Q4(),t3();var rwn=k({__name:`AgentScalarButton`,setup(e){let t=ewn(),{translate:n}=Z4();return(e,r)=>(j(),M(`button`,{class:`bg-sidebar-b-search text-sidebar-c-2 hover:text-sidebar-c-1 flex items-center gap-1.5 rounded border px-2 text-base whitespace-nowrap`,type:`button`,onClick:r[0]||=e=>D(t)?.toggleAgent()},[R(D(Js)),F(` `+T(D(n)(`agent.askAi`)),1)]))}});function iwn(e){try{return!!new URL(e)}catch{return!1}}var awn=s((()=>{}));function own(e){return!!e&&typeof e==`object`&&`url`in e&&typeof e.url==`string`}async function swn(e,t){let n=JSON.stringify({document:e}),r=`${t.apiBaseUrl}/core/share/upload/apis`,i=await fetch(ny(t.proxyUrl,r),{method:`POST`,headers:{"Content-Type":`application/json`},body:n});if(!i.ok)throw Error(` Failed to generate temporary link, server responded with ${i.status}`);let a=await i.json();if(!own(a))throw Error(`Failed to generate temporary link, invalid response from server`);return a.url}var cwn=s((()=>{iy()})),n3,lwn,uwn=s((()=>{iZ(),ty(),awn(),fc(),ZB(),B(),Q4(),cwn(),n3=(e,t,n={})=>{let r=new URL(`${e.replace(/\/$/,``)}/register`);return r.searchParams.set(`url`,t),Object.entries(n).forEach(([e,t])=>r.searchParams.set(e,t)),r.toString()},lwn=({externalUrls:e,url:t,workspace:n})=>{let{toast:r}=JB(),{translate:i}=Z4(),a=rZ(),o=E(),s=z(()=>{let e=wn(t),n=e?dc(e):void 0;return n&&iwn(n)&&!ey(n)?n:o.value});return{loader:a,href:z(()=>s.value?n3(wn(e).dashboardUrl,s.value):void 0),open:async(t={})=>{if(a.isLoading)return;let c=wn(e).dashboardUrl;if(s.value){window.open(n3(c,s.value,t),`_blank`,`noopener`);return}let l=wn(n)?.exportActiveDocument(`json`);if(!l){r(i(`developerTools.unableToExportDocument`),`error`),a.invalidate();return}let u=window.open(`about:blank`,`_blank`);u&&(u.opener=null),a.start();try{o.value=await swn(l,wn(e));let n=n3(c,o.value,t);if(u)u.location.href=n;else{let e=window.open(n,`_blank`);e?e.opener=null:r(i(`exploreScalar.popupBlocked`),`error`)}a.validate()}catch(e){u?.close(),r(e instanceof Error?e.message:i(`developerTools.unknownError`),`error`),a.invalidate()}}}}}));B(),Qs(),$B(),Q4(),uwn();var dwn={class:`scalar-mcp-layer`},fwn=k({__name:`OpenMCPButton`,props:{config:{},externalUrls:{},url:{},workspace:{}},setup(e){let t=e,{copyToClipboard:n}=QB(),{translate:r}=Z4(),i=t.config?.name||t.config?.url,a=btoa(JSON.stringify(t.config??{})),o=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(t.config?.name??``)}&config=${a}`,s=`vscode:mcp/install?${encodeURIComponent(JSON.stringify(t.config??{}))}`,{open:c}=lwn({externalUrls:()=>t.externalUrls,url:()=>t.url,workspace:()=>t.workspace}),l=()=>c({createMcp:`true`});return(t,a)=>(j(),M(`div`,dwn,[(j(),N(Ar(D(i)?`a`:`button`),{class:`scalar-mcp-layer-link`,href:D(i)?s:void 0,target:D(i)?`_blank`:void 0,type:D(i)?void 0:`button`,onClick:a[0]||=e=>{D(i)||(e.preventDefault(),l())}},{default:O(()=>[a[3]||=P(`svg`,{class:`mcp-logo`,fill:`currentColor`,height:`800`,viewBox:`0 0 32 32`,width:`800`,xmlns:`http://www.w3.org/2000/svg`},[P(`path`,{d:`M30.865 3.448 24.282.281a1.99 1.99 0 0 0-2.276.385L9.397 12.171 3.902 8.004a1.33 1.33 0 0 0-1.703.073L.439 9.681a1.33 1.33 0 0 0-.005 1.969L5.2 15.999.434 20.348a1.33 1.33 0 0 0 .005 1.969l1.76 1.604a1.33 1.33 0 0 0 1.703.073l5.495-4.172 12.615 11.51a1.98 1.98 0 0 0 2.271.385l6.589-3.172a1.99 1.99 0 0 0 1.13-1.802V5.248c0-.766-.443-1.469-1.135-1.802zm-6.86 19.818L14.432 16l9.573-7.266z`})],-1),a[4]||=F(` VS Code `,-1),R(D(Rs),{class:`mcp-nav ml-auto size-4`})]),_:1},8,[`href`,`target`,`type`])),(j(),N(Ar(D(i)?`a`:`button`),{class:`scalar-mcp-layer-link`,href:D(i)?o:void 0,target:D(i)?`_blank`:void 0,type:D(i)?void 0:`button`,onClick:a[1]||=e=>{D(i)||(e.preventDefault(),l())}},{default:O(()=>[a[5]||=P(`svg`,{class:`mcp-logo`,viewBox:`0 0 466.73 532.09`,xmlns:`http://www.w3.org/2000/svg`},[P(`path`,{d:`M457.43 125.94 244.42 2.96a22.13 22.13 0 0 0-22.12 0L9.3 125.94C3.55 129.26 0 135.4 0 142.05v247.99c0 6.65 3.55 12.79 9.3 16.11l213.01 122.98a22.13 22.13 0 0 0 22.12 0l213.01-122.98c5.75-3.32 9.3-9.46 9.3-16.11V142.05c0-6.65-3.55-12.79-9.3-16.11zm-13.38 26.05L238.42 508.15c-1.39 2.4-5.06 1.42-5.06-1.36V273.58c0-4.66-2.49-8.97-6.53-11.31L24.87 145.67c-2.4-1.39-1.42-5.06 1.36-5.06h411.26c5.84 0 9.49 6.33 6.57 11.39h-.01Z`,style:{fill:`currentColor`}})],-1),a[6]||=F(` Cursor `,-1),R(D(Rs),{class:`mcp-nav ml-auto size-4`})]),_:1},8,[`href`,`target`,`type`])),D(i)?(j(),M(`div`,{key:1,class:`scalar-mcp-layer-link`,onClick:a[2]||=t=>D(n)(e.config?.url??``)},[F(T(D(r)(`mcp.connect`))+` `,1),a[8]||=P(`svg`,{class:`mcp-logo ml-auto`,fill:`none`,height:`173`,viewBox:`0 0 156 173`,width:`156`,xmlns:`http://www.w3.org/2000/svg`},[P(`path`,{d:`m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-width":`12`}),P(`path`,{d:`m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l12.606 12.607`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-width":`12`}),P(`path`,{d:`M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-width":`12`})],-1)])):(j(),M(`div`,{key:0,class:`scalar-mcp-layer-link`,onClick:l},[a[7]||=P(`svg`,{class:`mcp-logo`,fill:`none`,height:`173`,viewBox:`0 0 156 173`,width:`156`,xmlns:`http://www.w3.org/2000/svg`},[P(`path`,{d:`m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-width":`12`}),P(`path`,{d:`m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l12.606 12.607`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-width":`12`}),P(`path`,{d:`M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-width":`12`})],-1),F(` `+T(D(r)(`mcp.generate`))+` `,1),R(D(Rs),{class:`mcp-nav ml-auto size-4`})]))]))}});e3();var pwn=$4(fwn,[[`__scopeId`,`data-v-f4109c08`]]);B(),e3();var mwn={},hwn={class:`references-classic-header-container`},gwn={class:`references-classic-header`},_wn={class:`references-classic-header-content`};function vwn(e,t){return j(),M(`div`,hwn,[P(`div`,gwn,[P(`div`,_wn,[A(e.$slots,`default`,{},void 0,!0)]),A(e.$slots,`dark-mode-toggle`,{},void 0,!0)])])}var ywn=$4(mwn,[[`render`,vwn],[`__scopeId`,`data-v-a2078602`]]),r3,bwn=s((()=>{aK(),wx(),r3=e=>{if(e===!0)return[];if(!e||Array.isArray(e)&&e.length===0)return iK;let t=new Set(iK);if(Array.isArray(e))for(let n of e){let e=rK[n];if(e)for(let r of e)t.delete(`${n}/${r}`);else if(n.includes(`/`))t.delete(n);else for(let e of Cx(rK))t.delete(`${e}/${n}`)}else if(typeof e==`object`){for(let[n,r]of Object.entries(e))if(r===!0){let e=rK[n];if(e)for(let r of e)t.delete(`${n}/${r}`)}else if(Array.isArray(r))for(let e of r)t.delete(e),t.delete(`${n}/${e}`)}return Array.from(t)}})),xwn=s((()=>{ton()}));B();var Swn=k({__name:`LinkList`,setup(e){let t=E(),n=E(!1),r=()=>{if(!t.value)return;let{scrollWidth:e,clientWidth:r}=t.value;n.value=e>r},i=null;return Ii(()=>{r(),window.addEventListener(`resize`,r),t.value&&(i=new MutationObserver(()=>{r()}),i.observe(t.value,{childList:!0,subtree:!0}))}),zi(()=>{window.removeEventListener(`resize`,r),i&&=(i.disconnect(),null)}),(e,r)=>(j(),M(`div`,{ref_key:`containerRef`,ref:t,class:lt([`custom-scroll narrow:mb-3 mb-1.5 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap`,{"icons-only":n.value}])},[A(e.$slots,`default`,{},void 0,!0)],2))}});e3();var i3=$4(Swn,[[`__scopeId`,`data-v-dc833d99`]]);hG();var Cwn=e=>{let t=mG(e?.externalDocs),n=e?.tags?.flatMap(e=>{let t=mG(mG(e)?.externalDocs);return t?.url?[t]:[]})??[];return[...t?.url?[t]:[],...n]};B(),iV();var a3=k({__name:`AsyncApiDocumentation`,props:{owner:{}},setup(e){let t=z(()=>Cwn(e.owner));return(e,n)=>t.value.length?(j(),N(D(i3),{key:0},{default:O(()=>[(j(!0),M(L,null,jr(t.value,(e,t)=>(j(),N(D(rV),{key:t,value:e},null,8,[`value`]))),128))]),_:1})):I(``,!0)}}),wwn=e=>({orderRequiredPropertiesFirst:e?.orderRequiredPropertiesFirst??!1,orderSchemaPropertiesBy:e?.orderSchemaPropertiesBy??`preserve`,expandAllSchemaProperties:e?.expandAllSchemaProperties??!1,schemaKeyboardNav:e?.schemaKeyboardNav??!1});js(),vG();var Twn={mqtt:{server:[`sessionExpiryInterval`,`maximumPacketSize`],operation:[`messageExpiryInterval`],message:[`correlationData`,`responseTopic`]},kafka:{operation:[`groupId`,`clientId`],message:[`key`]},ws:{channel:[`query`,`headers`]},http:{operation:[`query`],message:[`headers`]}},Ewn=(e,t,n,r)=>{if(!t||!Twn[e]?.[t]?.includes(n)||!V(r)||`$ref`in r||e===`kafka`&&n===`key`&&typeof r.type==`string`&&![`null`,`boolean`,`object`,`array`,`number`,`integer`,`string`].includes(r.type))return;let i=_G(r);return i?.kind===`schema`?i.schema:void 0};zH(),js(),iu(),Fu();var Dwn=new Set([`example`,`examples`,`default`,`enum`,`const`]),Own=new Set([`properties`,`patternProperties`,`$defs`,`definitions`,`dependentSchemas`]),kwn=new Set([`$ref-value`,`$global`,`$status`]),Awn=(e,t=`object`,n=new WeakMap)=>{if(typeof e!=`object`||!e)return e;let r=Nu(e);if(n.has(r))return n.get(r);if(t===`object`&&V(e)&&typeof e.$ref==`string`){let i=H(e);if(n.set(r,{$ref:e.$ref}),i!==void 0){let e=Awn(i,t,n);return n.set(r,e),e}return{$ref:e.$ref}}let i=Array.isArray(e)?[]:{};n.set(r,i);for(let a of Object.keys(e)){if(kwn.has(a)&&(t!==`data`||!Object.hasOwn(r,a)))continue;let o=t!==`map`&&Own.has(a)?`map`:`object`,s=t===`data`||t!==`map`&&(Dwn.has(a)||a.startsWith(`x-`))?`data`:o;Object.defineProperty(i,a,{value:Awn(Reflect.get(e,a),s,n),enumerable:!0,configurable:!0,writable:!0})}return i},jwn=(e,t)=>{let n=Awn(e);return V(n)?(typeof n.$ref==`string`?[[`Reference`,n]]:Object.entries(n)).filter(([,e])=>e!==void 0).map(([e,n])=>({name:e,fields:(V(n)?Object.entries(n):[[`Value`,n]]).filter(([,e])=>e!==void 0).map(([n,r])=>{let i=Ewn(e,t,n,r);return{name:n,...i?{schema:i}:{},content:typeof r==`object`&&r?LH(r):JSON.stringify(r),nested:typeof r==`object`&&!!r}})})):[]};B(),fG(),dG();var Mwn={key:0,class:`min-w-0 space-y-3 text-sm`},Nwn={class:`text-c-2 font-code text-sm break-all`},Pwn={key:0},Fwn={class:`sr-only`},Iwn={class:`text-c-1 py-1.5 text-(length:--scalar-font-size-4) [font-weight:var(--scalar-bold)] break-all`},Lwn={class:`text-c-2 py-1.5 break-all whitespace-pre-wrap`},Rwn={class:`sr-only`},zwn={class:`text-c-1 font-code cursor-pointer rounded py-1.5 text-(length:--scalar-font-size-4) [font-weight:var(--scalar-bold)] break-all focus-visible:outline`},Bwn={class:`mt-2 max-h-80 overflow-auto`},Vwn={key:1,class:`text-c-2 py-2`},o3=k({__name:`Bindings`,props:{bindings:{},options:{},scope:{}},setup(e){let t=z(()=>({hideReadOnly:!1,...wwn(e.options)})),n=z(()=>jwn(e.bindings,e.scope));return(r,i)=>n.value.length?(j(),M(`div`,Mwn,[P(`div`,{class:lt([`bindings-heading text-c-1 text-base leading-[1.45] font-medium`,{"border-b pb-2":e.scope===`operation`||e.scope===`channel`}])},` Bindings `,2),(j(!0),M(L,null,jr(n.value,e=>(j(),M(`div`,{key:e.name,class:`min-w-0 space-y-2`},[P(`div`,Nwn,T(e.name),1),e.fields.length?(j(),M(`dl`,Pwn,[(j(!0),M(L,null,jr(e.fields,e=>(j(),M(`div`,{key:e.name,class:lt([`min-w-0`,{"font-code flex flex-wrap items-baseline gap-x-[9px] text-(length:--scalar-mini) leading-[1.625]":!e.schema&&!e.nested}])},[e.schema?(j(),M(L,{key:0},[P(`dt`,Fwn,T(e.name),1),P(`dd`,null,[R(D(HV),{compact:``,eventBus:null,name:e.name,noncollapsible:``,options:t.value,schema:{type:`object`,properties:{[e.name]:e.schema}}},null,8,[`name`,`options`,`schema`])])],64)):e.nested?(j(),M(L,{key:2},[P(`dt`,Rwn,T(e.name),1),P(`dd`,null,[P(`details`,null,[P(`summary`,zwn,T(e.name),1),P(`div`,Bwn,[R(D(uG),{content:e.content,lang:`json`},null,8,[`content`])])])])],64)):(j(),M(L,{key:1},[P(`dt`,Iwn,T(e.name),1),P(`dd`,Lwn,T(e.content),1)],64))],2))),128))])):(j(),M(`p`,Vwn,` No additional fields. `))]))),128))])):I(``,!0)}});B(),Mw(),uB(),Qs(),Q4();var Hwn={class:`sr-only`},Uwn={class:`overflow-x-auto`},Wwn={key:1,class:`text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap`},Gwn={class:`sr-only`},Kwn={class:`overflow-x-auto`},qwn=k({__name:`Selector`,props:{selectedServer:{},servers:{},target:{}},emits:[`update:modelValue`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Z4(),a=e=>`${e.title?.trim()||e.name} · ${e.url.replace(/\/$/,``)}`,o=z(()=>e.servers.map(e=>({id:e.name,label:a(e)}))),s=z(()=>e.selectedServer?a(e.selectedServer):``),c=z(()=>o.value.find(t=>t.id===e.selectedServer?.name));return t({servers:e.servers,serverOptions:o,selectedServer:e.selectedServer}),(t,n)=>o.value.length>1?(j(),N(D(oB),{key:0,ref:`elem`,class:`group`,modelValue:c.value,options:o.value,placement:`bottom-start`,resize:``,target:e.target,"onUpdate:modelValue":n[0]||=e=>r(`update:modelValue`,e.id)},{default:O(()=>[R(D(jw),{class:`bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1`,variant:`ghost`},{default:O(()=>[P(`span`,Hwn,T(D(i)(`server.label`))+`:`,1),P(`span`,Uwn,T(s.value||D(i)(`server.select`)),1),R(D(zs),{class:`text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100`,weight:`bold`})]),_:1})]),_:1},8,[`modelValue`,`options`,`target`])):(j(),M(`div`,Wwn,[P(`span`,Gwn,T(D(i)(`server.label`))+`:`,1),P(`span`,Kwn,T(s.value),1)]))}});B(),xwn(),fG(),Xz(),hG(),Q4();var Jwn={class:`bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium`},Ywn=[`id`],Xwn={class:`flex`},Zwn={key:0,class:`text-c-3 flex flex-col gap-1.5 rounded-b-xl border-x border-b px-3 py-1.5`},Qwn={key:0,class:`text-c-2 text-sm`},$wn={key:1},eTn=k({__name:`AsyncApiServerSelector`,props:{eventBus:{},selectedServer:{},servers:{},options:{}},setup(e){let t=xr(),{translate:n}=Z4(),r=z(()=>{let t=e.selectedServer?.server.variables;if(t)return Object.fromEntries(Object.entries(t).flatMap(([e,t])=>{let n=mG(t);return n?[[e,{default:n.default??``,enum:n.enum,description:n.description,...n.examples?.length?{examples:n.examples}:{}}]]:[]}))}),i=z(()=>Object.entries(r.value??{}).filter(([,e])=>e.examples?.length)),a=z(()=>e.selectedServer?.server.summary?.trim()),o=z(()=>{let t=e.selectedServer?.server.protocolVersion?.trim();return t?`${e.selectedServer?.protocol.toUpperCase()} ${t}`:``}),s=z(()=>!!(a.value||o.value||e.selectedServer?.description||jwn(e.selectedServer?.server.bindings).length||e.selectedServer?.server.externalDocs)),c=t=>{e.eventBus.emit(`asyncapi-server:update:selected`,{name:t})},l=(t,n)=>{e.selectedServer&&e.eventBus.emit(`asyncapi-server:update:variables`,{name:e.selectedServer.name,key:t,value:n})};return(u,d)=>(j(),M(L,null,[P(`label`,Jwn,T(D(n)(`server.label`)),1),P(`div`,{id:D(t),class:lt([`border`,{"rounded-b-xl":!s.value&&!r.value}])},[e.servers.length?(j(),N(qwn,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:D(t),"onUpdate:modelValue":c},null,8,[`selectedServer`,`servers`,`target`])):I(``,!0)],10,Ywn),R(D(b0),{layout:`reference`,variables:r.value,"onUpdate:variable":l},Mr({_:2},[jr(i.value,([e,t])=>({name:`hint-${e}`,fn:O(()=>[P(`div`,Xwn,[R(D(eV),{align:`start`,examples:t.examples},null,8,[`examples`])])])}))]),1032,[`variables`]),s.value?(j(),M(`div`,Zwn,[o.value?(j(),M(`p`,Qwn,T(o.value),1)):I(``,!0),a.value?(j(),M(`p`,$wn,T(a.value),1)):I(``,!0),e.selectedServer?.description?(j(),N(D(Jz),{key:2,value:e.selectedServer.description},null,8,[`value`])):I(``,!0),R(o3,{bindings:e.selectedServer?.server.bindings,class:`my-2 [&>.bindings-heading]:-mx-3 [&>.bindings-heading]:px-3`,options:e.options,scope:`server`},null,8,[`bindings`,`options`]),R(a3,{owner:{externalDocs:e.selectedServer?.server.externalDocs}},null,8,[`owner`])])):I(``,!0)],64))}}),tTn=[`shell/curl`,`ruby/native`,`node/undici`,`php/guzzle`,`python/python3`],nTn=(e,t=tTn)=>!!(e&&t.includes(e)),rTn=(e,t=tTn)=>{let n=new Map;for(let t of e)for(let e of t.options)n.set(e.id,e);return t.flatMap(e=>n.get(e)??[])};jX(),ty(),B();var iTn=Symbol(),aTn=e=>{let t=e.enabled??z(()=>typeof window<`u`&&ey(window.location.href)),n=z(()=>!wn(e.disabled)&&t.value&&wn(e.hasDocument)&&!wn(e.hasSdk)),r=kX();return{enabled:n,dialog:r,open:()=>r.show()}},oTn=()=>{let e=lr(iTn,void 0);return z(()=>e)};B(),Mw(),Q4();var sTn=k({__name:`GenerateSdkButton`,props:{variant:{default:`card`}},setup(e){let t=oTn(),{translate:n}=Z4();return(r,i)=>D(t)?.enabled.value&&e.variant===`card`?(j(),N(D(jw),{key:0,"aria-haspopup":`dialog`,class:`generate-sdk-button generate-sdk-button--card text-c-1 px-3 py-1`,size:`sm`,variant:`gradient`,onClick:i[0]||=Ka(e=>D(t).open(),[`stop`])},{default:O(()=>[F(T(D(n)(`sdk.generate`)),1)]),_:1})):D(t)?.enabled.value?(j(),M(`button`,{key:1,"aria-haspopup":`dialog`,class:lt([`generate-sdk-button`,`generate-sdk-button--${e.variant}`]),type:`button`,onClick:i[1]||=Ka(e=>D(t).open(),[`stop`])},T(D(n)(`sdk.generate`)),3)):I(``,!0)}});e3();var s3=$4(sTn,[[`__scopeId`,`data-v-16b2fb9a`]]);B(),hX(),fT(),gS(),MZt(),Q4();var cTn={"aria-hidden":`true`,class:`client-libraries-icon__more`},lTn={key:1,class:`client-libraries-icon`,height:`50`,role:`presentation`,viewBox:`0 0 50 50`,width:`50`,xmlns:`http://www.w3.org/2000/svg`},uTn={key:0,class:`client-libraries-text client-libraries-text-more`},dTn={class:`sr-only`},fTn=k({__name:`ClientDropdown`,props:{clientOptions:{},selectedClient:{},featuredClients:{},eventBus:{}},setup(e){let t=E(),{translate:n}=Z4(),r=e=>`programming-language-${e===`js`?`javascript`:e}`,i=n=>{if(!t.value)return;let r=pJ(t.value);setTimeout(()=>{r()},300),n.clientKey!==`custom`&&e.eventBus.emit(`workspace:update:selected-client`,n.id)},a=z(()=>e.selectedClient?.split(`/`)[0]);return(o,s)=>(j(),M(`div`,{ref_key:`containerRef`,ref:t,class:`client-libraries-more`},[R(D(dT),{filterFn:D(nK),inputLabel:D(n)(`clientLibraries.searchLabel`),modelValue:D(Gq)(e.clientOptions,e.selectedClient),options:e.clientOptions,placement:`bottom-end`,teleport:``,"onUpdate:modelValue":s[0]||=e=>i(e)},{default:O(()=>[P(`button`,{class:lt([`client-libraries client-libraries__select`,{"client-libraries__active":e.selectedClient&&!D(nTn)(e.selectedClient,e.featuredClients)}]),type:`button`},[P(`div`,cTn,[e.selectedClient&&!D(nTn)(e.selectedClient,e.featuredClients)?(j(),M(`div`,{key:0,class:lt(`client-libraries-icon__${a.value}`)},[a.value?(j(),N(D(fS),{key:0,class:`client-libraries-icon`,icon:r(a.value)},null,8,[`icon`])):I(``,!0)],2)):(j(),M(`svg`,lTn,[...s[1]||=[P(`g`,{fill:`currentColor`,"fill-rule":`nonzero`},[P(`path`,{d:`M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0`})],-1)]]))]),e.clientOptions.length?(j(),M(`span`,uTn,T(D(n)(`clientLibraries.more`)),1)):I(``,!0),P(`span`,dTn,T(D(n)(`clientLibraries.selectAll`)),1)],2)]),_:1},8,[`filterFn`,`inputLabel`,`modelValue`,`options`])],512))}});e3();var pTn=$4(fTn,[[`__scopeId`,`data-v-9aa6e406`]]);B(),Ts(),hX(),gS(),Q4();var mTn={key:0,ref:`wrapper-ref`},hTn=[`id`],gTn={class:`client-libraries-list`},_Tn={class:`client-libraries-text`},vTn={class:`selected-client-row card-footer`},yTn=[`id`,`aria-labelledby`],bTn=k({__name:`ClientSelector`,props:{clientOptions:{},selectedClient:{default:()=>Uq},featuredClients:{},eventBus:{}},setup(e,{expose:t}){let n=xr(),r=xr(),{translate:i}=Z4(),a=e=>!!e?.startsWith(`custom/`),o=E(a(e.selectedClient)?Uq:e.selectedClient);dr(()=>e.selectedClient,e=>{a(e)||(o.value=e)});let s=z(()=>e.clientOptions.flatMap(e=>e.options.find(e=>e.id===o.value)??[])[0]),c=z(()=>rTn(e.clientOptions,e.featuredClients)),l=z(()=>c.value.findIndex(e=>e.id===o.value)),u=Cr(`wrapper-ref`),d=e=>`programming-language-${e===`js`?`javascript`:e}`,f=t=>{let n=c.value[t];n&&u.value&&e.eventBus.emit(`workspace:update:selected-client`,n.id)};return t({selectedClientOption:s}),(t,a)=>e.clientOptions.length?(j(),M(`div`,mTn,[R(D(fce),{manual:``,selectedIndex:l.value,onChange:f},{default:O(()=>[P(`div`,{id:D(n),class:`client-libraries-heading`},T(D(i)(`clientLibraries.heading`)),9,hTn),P(`div`,gTn,[R(D(pce),{"aria-labelledby":D(n),class:`client-libraries-tabs`,style:ct({flexGrow:c.value.length})},{default:O(()=>[(j(!0),M(L,null,jr(c.value,(e,t)=>(j(),N(D(mce),{key:e.id,"aria-selected":t===l.value,class:lt([`client-libraries rendered-code-sdks`,{"client-libraries__active":e.id===o.value}])},{default:O(()=>[P(`div`,{class:lt(`client-libraries-icon__${e.targetKey}`)},[R(D(fS),{class:`client-libraries-icon`,icon:d(e.targetKey)},null,8,[`icon`])],2),P(`span`,_Tn,T(e.targetTitle),1)]),_:2},1032,[`aria-selected`,`class`]))),128))]),_:1},8,[`aria-labelledby`,`style`]),R(pTn,{clientOptions:e.clientOptions,eventBus:e.eventBus,featuredClients:e.featuredClients,selectedClient:o.value},null,8,[`clientOptions`,`eventBus`,`featuredClients`,`selectedClient`])]),P(`div`,vTn,[R(D(hce),{class:`selected-client-panels`},{default:O(()=>[l.value>=0?(j(!0),M(L,{key:0},jr(c.value,e=>(j(),N(D(gce),{key:e.id,class:`selected-client -outline-offset-2`},{default:O(()=>[F(T(e.title),1)]),_:2},1024))),128)):(j(),M(`div`,{key:1,id:D(r),"aria-labelledby":D(n),class:`selected-client -outline-offset-2`,role:`tabpanel`,tabindex:`0`},T(s.value?.title),9,yTn))]),_:1}),R(D(s3),{class:`selected-client-action`,variant:`card`})])]),_:1},8,[`selectedIndex`])],512)):I(``,!0)}});e3();var xTn=$4(bTn,[[`__scopeId`,`data-v-4e1f3f02`]]);B(),dH(),nV(),Q4();var STn=[`href`],CTn=[`aria-label`],wTn=[`aria-label`],TTn=k({__name:`DownloadLink`,props:{documentDownloadType:{},eventBus:{},documentUrl:{},documentType:{default:`openapi`}},setup(e){let{translate:t}=Z4(),n=z(()=>e.documentType===`asyncapi`?t(`download.asyncapi`):t(`download.openapi`)),r=e=>t(`download.asFormat`,{label:n.value,format:e}),i=z(()=>tV(e.documentUrl)),a=t=>{e.eventBus.emit(`ui:download:document`,{format:t})};return(t,o)=>[`yaml`,`json`,`both`].includes(e.documentDownloadType)||e.documentDownloadType===`direct`&&i.value?(j(),M(`div`,{key:0,class:lt([`download-container group`,{"download-both":e.documentDownloadType===`both`}])},[e.documentDownloadType===`direct`&&i.value?(j(),M(`a`,{key:0,class:`download-link download-button`,href:i.value},[P(`span`,null,T(n.value),1)],8,STn)):I(``,!0),e.documentDownloadType===`json`||e.documentDownloadType===`both`?(j(),M(`button`,{key:1,"aria-label":r(`JSON`),class:`download-button`,type:`button`,onClick:o[0]||=Ka(()=>a(`json`),[`prevent`])},[P(`span`,null,T(n.value),1),R(D(uH),{class:`extension hidden group-hover:flex`},{default:O(()=>[...o[2]||=[F(`json`,-1)]]),_:1})],8,CTn)):I(``,!0),e.documentDownloadType===`yaml`||e.documentDownloadType===`both`?(j(),M(`button`,{key:2,"aria-label":r(`YAML`),class:`download-button`,type:`button`,onClick:o[1]||=Ka(()=>a(`yaml`),[`prevent`])},[P(`span`,null,T(n.value),1),R(D(uH),{class:`extension hidden group-hover:flex`},{default:O(()=>[...o[3]||=[F(`yaml`,-1)]]),_:1})],8,wTn)):I(``,!0)],2)):I(``,!0)}});e3();var ETn=$4(TTn,[[`__scopeId`,`data-v-539e47de`]]);B();var DTn=k({__name:`IntroductionCard`,props:{row:{type:Boolean}},setup(e){return(t,n)=>(j(),M(`div`,{class:lt([`introduction-card`,{"introduction-card-row":e.row}])},[A(t.$slots,`default`,{},void 0,!0)],2))}});e3();var OTn=$4(DTn,[[`__scopeId`,`data-v-53312fa4`]]);B(),IV(),Mw(),Qs(),Kl(),Q4();var kTn=[`id`],ATn={class:`relative`},jTn=k({__name:`Anchor`,emits:[`copyAnchorUrl`],setup(e,{emit:t}){let n=t,r=xr(),{translate:i}=Z4(),{cx:a}=Gl();return(e,t)=>(j(),M(`span`,ut(ei(D(a)(`group/heading wrap-break-word relative`))),[P(`span`,{id:D(r),class:`contents`},[A(e.$slots,`default`,{},void 0,!0)],8,kTn),P(`span`,ATn,[t[1]||=P(`span`,null,`​`,-1),R(D(jw),{"aria-describedby":D(r),class:`anchor-copy-button absolute top-1/2 left-0 inline-block h-fit -translate-y-1/2 px-1.5 py-1 opacity-0 group-hover/heading:opacity-100 group-has-focus-visible/heading:opacity-100`,variant:`ghost`,onClick:t[0]||=Ka(()=>n(`copyAnchorUrl`),[`stop`])},{default:O(()=>[R(D(lhe),{"aria-hidden":`true`,class:`size-4.5`}),R(D(FV),null,{default:O(()=>[F(T(D(i)(`actions.copyLink`)),1)]),_:1})]),_:1},8,[`aria-describedby`])])],16))}});e3();var c3=$4(jTn,[[`__scopeId`,`data-v-c068a524`]]);bwn(),jT(),B();var MTn=`-49% 0px -49% 0px`,l3=(e,t,n)=>{Ii(()=>{let r={rootMargin:n?.immediate?`0px 0px 0px 0px`:MTn,threshold:0};e.value&&Itt(e,([e])=>{e?.isIntersecting?t():n?.onExit?.()},r)})};B();var NTn=k({__name:`Section`,emits:[`intersecting`],setup(e,{emit:t}){let n=t,r=Cr(`section`);return l3(r,()=>n(`intersecting`)),(e,t)=>(j(),M(`section`,{ref_key:`section`,ref:r,class:`section`},[A(e.$slots,`default`,{},void 0,!0)],512))}});e3();var u3=$4(NTn,[[`__scopeId`,`data-v-8e83ffce`]]);B(),Qs();var PTn=[`aria-label`],FTn=[`id`,`aria-controls`,`aria-expanded`,`aria-labelledby`],ITn=[`id`],LTn=k({__name:`CompactSection`,props:{id:{},label:{},modelValue:{type:Boolean}},emits:[`update:modelValue`,`copyAnchorUrl`],setup(e,{emit:t}){let n=t,r=z(()=>`${e.id}-content`),i=xr();return(t,a)=>(j(),M(`section`,{"aria-label":e.label,class:`collapsible-section`},[P(`div`,{class:lt([`collapsible-section-trigger`,{"collapsible-section-trigger-open":e.modelValue}])},[R(D(c3),{class:`collapsible-section-header`,onCopyAnchorUrl:a[1]||=()=>n(`copyAnchorUrl`)},{default:O(()=>[P(`button`,{id:e.id,"aria-controls":e.modelValue?r.value:void 0,"aria-expanded":e.modelValue,"aria-labelledby":D(i),class:`collapsible-section-toggle -my-2.5 inline cursor-pointer py-2.5 text-start text-inherit [font:inherit]`,type:`button`,onClick:a[0]||=t=>n(`update:modelValue`,!e.modelValue)},[R(D(Bs),{class:lt([`top-1/2 size-3 -translate-y-1/2 transition-transform duration-100`,{"rotate-90":e.modelValue}]),weight:`bold`},null,8,[`class`]),P(`span`,{id:D(i),class:`contents`},[A(t.$slots,`heading`,{},void 0,!0)],8,ITn)],8,FTn)]),_:3})],2),e.modelValue?(j(),N(u3,{key:0,id:r.value,class:`collapsible-section-content`,label:e.label},{default:O(()=>[A(t.$slots,`default`,{},void 0,!0)]),_:3},8,[`id`,`label`])):I(``,!0)],8,PTn))}});e3();var RTn=$4(LTn,[[`__scopeId`,`data-v-9d5fc508`]]);B(),Ts(),Qs(),jT();var zTn=[`id`],BTn={key:0,class:`section-accordion-button-actions pointer-events-none relative`},VTn={key:0,class:`section-accordion-description`},HTn={class:`section-accordion-content-card`},UTn=k({__name:`SectionAccordion`,props:{transparent:{type:Boolean},modelValue:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,r=E(),i=Ftt(r),a=xr();return(t,o)=>(j(),N(D(_s),{as:`section`,class:lt([`section-accordion`,{"section-accordion-transparent":e.transparent}])},{default:O(()=>[P(`div`,{ref_key:`header`,ref:r,class:`section-accordion-header group/heading`},[R(D(vs),{"aria-labelledby":D(a),class:`section-accordion-button absolute inset-0 cursor-pointer border-none bg-transparent p-0`,onClick:o[0]||=()=>n(`update:modelValue`,!e.modelValue)},null,8,[`aria-labelledby`]),P(`div`,{id:D(a),class:`section-accordion-button-content pointer-events-none relative`},[A(t.$slots,`title`,{},void 0,!0)],8,zTn),t.$slots.actions?(j(),M(`div`,BTn,[A(t.$slots,`actions`,{active:D(i)||e.modelValue},void 0,!0)])):I(``,!0),R(D(Bs),{class:lt([`section-accordion-chevron pointer-events-none size-4.5 transition-transform`,{"rotate-90":e.modelValue}])},null,8,[`class`])],512),e.modelValue?(j(),N(D(ys),{key:0,class:`section-accordion-content`,static:``},{default:O(()=>[t.$slots.description?(j(),M(`div`,VTn,[A(t.$slots,`description`,{},void 0,!0)])):I(``,!0),P(`div`,HTn,[A(t.$slots,`default`,{},void 0,!0)])]),_:3})):I(``,!0)]),_:3},8,[`class`]))}});e3();var WTn=$4(UTn,[[`__scopeId`,`data-v-08b79926`]]);B(),e3();var GTn={},KTn={class:`section-column`};function qTn(e,t){return j(),M(`div`,KTn,[A(e.$slots,`default`,{},void 0,!0)])}var d3=$4(GTn,[[`render`,qTn],[`__scopeId`,`data-v-2d36f3b2`]]);B(),e3();var JTn={},YTn={class:`section-columns`};function XTn(e,t){return j(),M(`div`,YTn,[A(e.$slots,`default`,{},void 0,!0)])}var f3=$4(JTn,[[`render`,XTn],[`__scopeId`,`data-v-43abedfd`]]);B();var ZTn={key:1,class:`section-container`},QTn=k({__name:`SectionContainer`,props:{omit:{type:Boolean}},setup(e){return(t,n)=>e.omit?A(t.$slots,`default`,{},void 0,!0,0):(j(),M(`div`,ZTn,[A(t.$slots,`default`,{},void 0,!0)]))}});e3();var p3=$4(QTn,[[`__scopeId`,`data-v-691a7cec`]]);B(),Ts(),Qs();var $Tn={class:`section-accordion-wrapper`},eEn={class:`section-accordion-title`},tEn={key:0,class:`narrow:self-end flex shrink-0 items-center gap-3`},nEn=k({__name:`SectionContainerAccordion`,props:{modelValue:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t;return(t,r)=>(j(),M(`section`,$Tn,[R(D(_s),{as:`div`,class:`section-accordion`},{default:O(()=>[P(`div`,{class:lt(t.$slots.actions?`narrow:flex-col narrow:items-stretch flex items-start gap-3`:`contents`)},[R(D(vs),{class:lt([`section-accordion-button`,{"min-w-0 flex-1":t.$slots.actions}]),onClick:r[0]||=t=>n(`update:modelValue`,!e.modelValue)},{default:O(()=>[R(D(Bs),{class:lt([`section-accordion-chevron size-5 transition-transform`,{"rotate-90":e.modelValue}])},null,8,[`class`]),P(`div`,eEn,[A(t.$slots,`title`,{},void 0,!0)])]),_:3},8,[`class`]),t.$slots.actions?(j(),M(`div`,tEn,[A(t.$slots,`actions`,{},void 0,!0)])):I(``,!0)],2),e.modelValue?(j(),N(D(ys),{key:0,class:`section-accordion-content`,static:``},{default:O(()=>[A(t.$slots,`default`,{},void 0,!0)]),_:3})):I(``,!0)]),_:3})]))}});e3();var rEn=$4(nEn,[[`__scopeId`,`data-v-72fc9cfd`]]);B(),e3();var iEn={},aEn={class:`section-content`};function oEn(e,t){return j(),M(`div`,aEn,[A(e.$slots,`default`,{},void 0,!0)])}var m3=$4(iEn,[[`render`,oEn],[`__scopeId`,`data-v-ade23b3d`]]);B();var sEn={class:`section-header-wrapper narrow:grid-cols-1 narrow:gap-0 grid grid-cols-2 gap-12`},cEn=k({__name:`SectionHeader`,props:{tight:{type:Boolean},removeMargin:{type:Boolean,default:!1}},setup(e){return(t,n)=>(j(),M(`div`,sEn,[P(`div`,{class:lt([`section-header`,{tight:e.tight,"mb-3":!e.removeMargin}])},[A(t.$slots,`default`,{},void 0,!0)],2),t.$slots.links?A(t.$slots,`links`,{},void 0,!0,0):I(``,!0)]))}});e3();var h3=$4(cEn,[[`__scopeId`,`data-v-7607c44e`]]);B();var lEn=k({__name:`SectionHeaderTag`,props:{level:{default:1},rule:{type:Boolean,default:!1}},setup(e){return(t,n)=>(j(),N(Ar(`h${e.level}`),{class:lt([`section-header-label`,{"section-header-label--rule block! border-b pb-3":e.rule}])},{default:O(()=>[A(t.$slots,`default`,{},void 0,!0)]),_:3},8,[`class`]))}});e3();var g3=$4(lEn,[[`__scopeId`,`data-v-9a218f12`]]);B();var uEn={document:1,tag:2,channel:2,modelGroup:2,operation:3,channelMessages:3,asyncApiOperation:3,model:3,channelMessage:4,message:5,operationSection:4},dEn=Symbol(`DOCUMENT_OUTLINE_ROOT`),fEn=e=>Math.min(6,Math.max(1,e)),pEn=e=>cr(dEn,e),_3=e=>{let t=lr(dEn,null);t||cr(dEn,e);let n=t??e;return{level:fEn(uEn[e]-uEn[n]+1)}},v3=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(`x-`))):{};NB(),FB(),B();var mEn=[`id`,`aria-hidden`],hEn=[`id`],gEn={class:`font-code break-words whitespace-pre-wrap`},_En=k({__name:`ExtensionValue`,props:{name:{},value:{},depth:{default:0},arrayItem:{type:Boolean,default:!1},ancestors:{default:()=>[]}},setup(e){let t=xr(),n=xr(),r=E(e.depth===0),i=z(()=>e.ancestors.includes(e.value)),a=z(()=>e.value===null||typeof e.value!=`object`||i.value?[]:Array.isArray(e.value)?e.value.map((e,t)=>[`[${t}]`,e]):Object.entries(e.value)),o=z(()=>a.value.length>0),s=z(()=>e.arrayItem&&o.value?Array.isArray(e.value)?`[…]`:`{…}`:!e.arrayItem&&!o.value?`${e.name}:`:e.name),c=z(()=>i.value?`[Circular]`:typeof e.value==`string`?JSON.stringify(e.value):e.value!==null&&typeof e.value==`object`?Array.isArray(e.value)?`[]`:`{}`:String(e.value));return(i,l)=>{let u=kr(`ExtensionValue`,!0);return j(),M(`div`,{class:lt([`relative min-w-0 py-0.5`,{"ps-8":e.depth===0,"flex items-baseline gap-x-2":!e.arrayItem&&!o.value}])},[P(`dt`,{class:lt(e.arrayItem&&!o.value?`sr-only`:`relative flex min-h-5 min-w-0 flex-wrap items-baseline gap-x-2`)},[o.value?(j(),N(D(PB),{key:0,class:`absolute start-[calc(0px_-_var(--schema-gutter,16px)_-_var(--schema-toggle-half,12px))] top-[0.5lh] -translate-y-1/2`,fallbackLabel:e.name,nameId:D(t),open:r.value,panelId:D(n),panelRendered:r.value,onToggle:l[0]||=e=>r.value=!r.value},null,8,[`fallbackLabel`,`nameId`,`open`,`panelId`,`panelRendered`])):I(``,!0),!e.arrayItem||o.value?(j(),M(`span`,{key:1,id:e.arrayItem?void 0:D(t),"aria-hidden":e.arrayItem||void 0,class:`font-code min-w-0 font-medium break-words`},T(s.value),9,mEn)):I(``,!0),e.arrayItem?(j(),M(`span`,{key:2,id:D(t),class:`sr-only`},`Array item `+T(e.name),9,hEn)):I(``,!0)],2),o.value&&r.value?(j(),N(D(MB),{key:0,id:D(n),as:`dd`,class:`mt-0.5`,depth:e.depth+1},{default:O(()=>[P(`dl`,null,[(j(!0),M(L,null,jr(a.value,([t,n])=>(j(),N(u,{key:t,ancestors:[...e.ancestors,e.value],arrayItem:Array.isArray(e.value),depth:e.depth+1,name:t,value:n},null,8,[`ancestors`,`arrayItem`,`depth`,`name`,`value`]))),128))])]),_:1},8,[`id`,`depth`])):o.value?I(``,!0):(j(),M(`dd`,{key:1,class:lt([`text-c-2 min-w-0`,{"flex-1":!e.arrayItem}])},[P(`code`,gEn,T(c.value),1)],2))],2)}}});B();var vEn={key:0,class:`my-2 min-w-0 text-base`},yEn=k({__name:`SpecificationExtensions`,props:{extensions:{}},setup(e){return(t,n)=>Object.keys(e.extensions).length?(j(),M(`dl`,vEn,[(j(!0),M(L,null,jr(e.extensions,(e,t)=>(j(),N(_En,{key:t,name:t,value:e},null,8,[`name`,`value`]))),128))])):I(``,!0)}}),bEn=()=>({export:()=>({}),getAuthSecrets:()=>void 0,getAuthSelectedSchemas:()=>void 0}),xEn=[`content.start`,`content.end`],SEn=(e,t,n,r)=>`${e}/plugin-view/${t}/${n}/${r}`,CEn=({plugins:e=[],auth:t})=>{let n=new Map,r=t??bEn();return e.forEach(e=>{let t=e();n.set(t.name,t)}),{getMarkdownRenderHooks:()=>Array.from(n.values()).flatMap(e=>e.markdown?[e.markdown]:[]),getSpecificationExtensions:e=>{let t=[];for(let r of n.values())for(let n of r.extensions)n.name===e&&t.push(n);return t},getViewComponents:(e,t)=>{let r=[];for(let i of n.values()){let n=i.views?.[e];n&&n.forEach((n,a)=>{r.push({...n,id:SEn(t,i.name,e,a)})})}return r},notifyInit:e=>{for(let t of n.values())t.hooks?.onInit?.({config:e,auth:r})},notifyConfigChange:e=>{for(let t of n.values())t.hooks?.onConfigChange?.({config:e,auth:r})},getAuthState:()=>r,notifyDestroy:()=>{for(let e of n.values())e.hooks?.onDestroy?.()},getApiClientPlugins:()=>{let e=[];for(let t of n.values())t.apiClientPlugins&&e.push(...t.apiClientPlugins);return e},getSidebarEntries:e=>{let t=[];for(let r of n.values())for(let n of xEn)(r.views?.[n])?.forEach((i,a)=>{i.sidebar?.show&&i.sidebar.label&&t.push({id:SEn(e,r.name,n,a),label:i.sidebar.label,viewName:n})});return t}}};B();var wEn=Symbol(),TEn=()=>lr(wEn)||CEn({}),y3,EEn,DEn=s((()=>{y3={SELECTED_CLIENT:`scalar-reference-selected-client-v2`,AUTH:`scalar-reference-auth`},EEn=()=>typeof window>`u`?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage}));DEn(),B1(),Gh();var b3=EEn(),OEn=()=>{let e=y3.SELECTED_CLIENT;return{get:()=>b3.getItem(e),set:t=>{b3.setItem(e,t)}}},kEn=()=>{let e=e=>`${y3.AUTH}-${e}`;return{getAuth:t=>{let n=JSON.parse(b3.getItem(e(t))??`{}`);return Wh(L1,n)},setAuth:(t,n)=>{b3.setItem(e(t),JSON.stringify(n))}}};nY();var AEn=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:n=!1})=>{let{execute:r}=tY({delay:e,maxWait:t}),i=kEn(),a=OEn(),o=()=>typeof n==`function`?n():n;return{hooks:{onWorkspaceStateChanges(e){if(e.type===`meta`){let t=e.value[`x-scalar-default-client`];t!==void 0&&r(`x-scalar-default-client`,()=>a.set(t))}else o()&&e.type===`auth`&&r(`auth-${e.documentName}`,()=>i.setAuth(e.documentName,e.value))}}}};B(),_X();var jEn={key:0,class:`text-base`},x3=k({__name:`SpecificationExtension`,props:{showExtensions:{default:()=>[]},value:{}},setup(e){let{getSpecificationExtensions:t}=TEn();function n(e){return Object.keys(e??{}).filter(e=>e.startsWith(`x-`))}function r(e){return e.flatMap(e=>t(e)).filter(e=>e.component)}let i=z(()=>n(e.value)),a=z(()=>r(i.value)),o=z(()=>Object.fromEntries([...new Set(e.showExtensions)].filter(t=>t.startsWith(`x-`)&&Object.hasOwn(e.value??{},t)&&!a.value.some(e=>e.name===t)).map(t=>[t,e.value?.[t]])));return(t,n)=>(j(),M(L,null,[R(D(yEn),{extensions:o.value},null,8,[`extensions`]),typeof e.value==`object`&&a.value.length?(j(),M(`div`,jEn,[(j(!0),M(L,null,jr(a.value,(t,n)=>(j(),N(D(gX),{key:n},{default:O(()=>[t.renderer?(j(),N(Ar(t.renderer),oi({key:0,ref_for:!0},{[t.name]:e.value?.[t.name],component:t.component}),null,16)):(j(),N(Ar(t.component),oi({key:1,ref_for:!0},{[t.name]:e.value?.[t.name]}),null,16))]),_:2},1024))),128))])):I(``,!0)],64))}});B(),Xz();var MEn=[`id`],NEn=k({__name:`InfoMarkdownSection`,props:{id:{},content:{},transformHeading:{type:Function},eventBus:{}},setup(e){let t=Cr(`element`);return l3(t,()=>e.id?e.eventBus?.emit(`intersecting:nav-item`,{id:e.id}):void 0),(n,r)=>(j(),M(`div`,{id:e.id,ref_key:`element`,ref:t,class:`introduction-description-heading scroll-mt-16`},[R(D(Jz),{transform:e.transformHeading,transformType:`heading`,value:e.content,withImages:``},null,8,[`transform`,`value`])],8,MEn))}});B(),dIt(),FY();var PEn={key:0,class:`introduction-description mt-6 flex flex-col`},FEn=k({__name:`InfoDescription`,props:{eventBus:{},headingSlugGenerator:{type:Function},description:{}},setup(e){let t=z(()=>{if(!e.description)return[];let{slug:t}=PY();return xPt(e.description).map(n=>{let r=bPt(n)[0];return{id:r?e.headingSlugGenerator({...r,slug:t(r.value)}):void 0,content:n}})}),n=t=>{if(!Uz(t))return t;let{slug:n}=PY(),r=JR(t);return t.data={hProperties:{id:e.headingSlugGenerator({depth:t.depth,value:r,slug:n(r)})}},t};return(r,i)=>e.description?(j(),M(`div`,PEn,[(j(!0),M(L,null,jr(t.value,t=>(j(),N(NEn,{id:t.id,key:t.id,content:t.content,eventBus:e.eventBus,transformHeading:n},null,8,[`id`,`content`,`eventBus`]))),128))])):I(``,!0)}});e3();var IEn=$4(FEn,[[`__scopeId`,`data-v-0370764f`]]);B(),nV(),Qs(),Kl();var LEn={key:0,class:`group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0`},REn=[`href`],zEn={class:`ml-1 empty:hidden`},BEn={key:1,class:`group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0`},VEn=[`href`],HEn={class:`ml-1 empty:hidden`},UEn={key:2,class:`group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0`},WEn=k({__name:`Contact`,props:{value:{}},setup(e){let t=z(()=>tV(e.value?.url)),n=Ul({base:`text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 group-last:mr-0 narrow:border`,variants:{link:{true:`no-underline hover:bg-b-2`}}});return(r,i)=>e.value?(j(),M(L,{key:0},[e.value.email?(j(),M(`div`,LEn,[P(`a`,{class:lt(D(n)({link:!0})),href:`mailto:${e.value.email}`},[R(D(Vfe),{class:`size-3 text-current`,weight:`bold`}),P(`span`,zEn,T(e.value.name),1)],10,REn)])):I(``,!0),t.value?(j(),M(`div`,BEn,[P(`a`,{class:lt(D(n)({link:!0})),href:t.value,rel:`noopener noreferrer`,target:`_blank`},[R(D(Ws),{class:`size-3 text-current`,weight:`bold`}),P(`span`,HEn,T(e.value.email?``:e.value.name),1)],10,VEn)])):!e.value.email&&e.value.name?(j(),M(`div`,UEn,[P(`span`,{class:lt(D(n)({link:!1}))},T(e.value.name),3)])):I(``,!0)],64)):I(``,!0)}});B(),nV(),Qs();var GEn={class:`group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0`},KEn=[`href`],qEn={class:`ml-1 empty:hidden`},JEn={class:`ml-1 empty:hidden`},YEn=k({__name:`InfoLink`,props:{name:{},url:{}},setup(e){let t=z(()=>tV(e.url));return(n,r)=>(j(),M(`div`,GEn,[t.value?(j(),M(`a`,{key:0,class:`text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0`,href:t.value,rel:`noopener noreferrer`,target:`_blank`},[R(D(Ws),{class:`size-3 text-current`,weight:`bold`}),P(`span`,qEn,T(e.name),1)],8,KEn)):(j(),M(L,{key:1},[R(D(Ws),{class:`size-3 text-current`,weight:`bold`}),P(`span`,JEn,T(e.name),1)],64))]))}});B(),nV(),Qs();var XEn={class:`group narrow:border-r-0 narrow:first:ml-0 flex h-fit items-center border-r first:ml-auto last:border-r-0`},ZEn=[`href`],QEn={class:`ml-1 empty:hidden`},$En={class:`ml-1 empty:hidden`},eDn=k({__name:`License`,props:{value:{}},setup(e){let t=z(()=>tV(e.value?.url));return(n,r)=>(j(),M(`div`,XEn,[t.value?(j(),M(`a`,{key:0,class:`text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0`,href:t.value,rel:`noopener noreferrer`,target:`_blank`},[R(D(qpe),{class:`size-3 text-current`,weight:`bold`}),P(`span`,QEn,T(e.value?.name||e.value&&`identifier`in e.value&&e.value.identifier||t.value),1)],8,ZEn)):(j(),M(L,{key:1},[R(D(qpe),{class:`size-3 text-current`,weight:`bold`}),P(`span`,$En,T(e.value?.name),1)],64))]))}});B(),nV(),Qs(),Q4();var tDn={key:0,class:`group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0`},nDn=[`href`],rDn={class:`ml-1 empty:hidden`},iDn=k({__name:`TermsOfService`,props:{value:{}},setup(e){let{translate:t}=Z4(),n=z(()=>tV(e.value));return(e,r)=>n.value?(j(),M(`div`,tDn,[P(`a`,{class:`text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0`,href:n.value,rel:`noopener noreferrer`,target:`_blank`},[R(D(nve),{class:`size-3 text-current`,weight:`bold`}),P(`span`,rDn,T(D(t)(`info.termsOfService`)),1)],8,nDn)])):I(``,!0)}});B(),iu(),iV();var aDn=k({__name:`InfoLinks`,props:{info:{},externalDocs:{}},setup(e){let t=z(()=>{let t=`x-scalar-links`in e.info?e.info[`x-scalar-links`]:void 0;return Array.isArray(t)?t.filter(e=>typeof e?.name==`string`&&typeof e?.url==`string`):[]}),n=z(()=>!!(e.externalDocs||e.info.contact||e.info.license||e.info.termsOfService||t.value.length));return(r,i)=>n.value?(j(),N(D(i3),{key:0},{default:O(()=>[e.externalDocs?(j(),N(D(rV),{key:0,value:e.externalDocs},null,8,[`value`])):I(``,!0),e.info.contact?(j(),N(D(WEn),{key:1,value:e.info.contact},null,8,[`value`])):I(``,!0),e.info.license?(j(),N(D(eDn),{key:2,value:D(H)(e.info.license)},null,8,[`value`])):I(``,!0),e.info.termsOfService?(j(),N(D(iDn),{key:3,value:e.info.termsOfService},null,8,[`value`])):I(``,!0),(j(!0),M(L,null,jr(t.value,e=>(j(),N(D(YEn),{key:e.url,name:e.name,url:e.url},null,8,[`name`,`url`]))),128))]),_:1})):I(``,!0)}});B(),dH();var oDn=k({__name:`InfoVersion`,props:{version:{}},setup(e){let t=z(()=>{if(e.version==null)return e.version;let t=String(e.version);return/^\d/.test(t)?`v${t}`:t});return(e,n)=>t.value?(j(),N(D(uH),{key:0},{default:O(()=>[F(T(t.value),1)]),_:1})):I(``,!0)}});B();var sDn={"aria-hidden":`true`,class:`introduction-loading flex flex-col gap-5`},cDn={key:0,class:`narrow:flex-col narrow:gap-3 flex gap-6`},lDn=k({__name:`IntroductionLoading`,props:{hasAside:{type:Boolean,default:!0}},setup(e){return(t,n)=>(j(),M(`div`,sDn,[n[3]||=ni(`<div class="flex gap-1.5" data-v-41a61989><div class="introduction-skeleton h-6 w-14 rounded-full" data-v-41a61989></div><div class="introduction-skeleton h-6 w-24 rounded-full" data-v-41a61989></div></div><div class="narrow:grid-cols-1 narrow:gap-3 grid grid-cols-2 gap-12" data-v-41a61989><div class="introduction-skeleton h-9 w-3/5 rounded-lg" data-v-41a61989></div><div class="narrow:justify-start flex flex-wrap items-center justify-end gap-2" data-v-41a61989><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-12 rounded" data-v-41a61989></div></div></div>`,2),R(D(f3),null,{default:O(()=>[R(D(d3),null,{default:O(()=>[...n[0]||=[P(`div`,{class:`flex flex-col gap-3`},[P(`div`,{class:`introduction-skeleton mb-2 h-5 w-56 rounded`}),P(`div`,{class:`introduction-skeleton h-4 w-full rounded`}),P(`div`,{class:`introduction-skeleton h-4 w-11/12 rounded`}),P(`div`,{class:`introduction-skeleton h-4 w-4/5 rounded`}),P(`div`,{class:`introduction-skeleton mt-4 h-6 w-40 rounded`}),P(`div`,{class:`introduction-skeleton h-4 w-3/4 rounded`}),P(`div`,{class:`introduction-skeleton h-4 w-2/3 rounded`}),P(`div`,{class:`introduction-skeleton h-4 w-1/2 rounded`})],-1)]]),_:1}),e.hasAside?(j(),N(D(d3),{key:0},{default:O(()=>[...n[1]||=[P(`div`,{class:`sticky-cards gap-3`},[P(`div`,{class:`introduction-skeleton h-20 w-full rounded-lg`}),P(`div`,{class:`introduction-skeleton h-28 w-full rounded-lg`}),P(`div`,{class:`introduction-skeleton h-28 w-full rounded-lg`})],-1)]]),_:1})):I(``,!0)]),_:1}),e.hasAside?I(``,!0):(j(),M(`div`,cDn,[...n[2]||=[P(`div`,{class:`introduction-skeleton h-28 w-full flex-1 rounded-lg`},null,-1),P(`div`,{class:`introduction-skeleton h-28 w-full flex-1 rounded-lg`},null,-1),P(`div`,{class:`introduction-skeleton h-28 w-full flex-1 rounded-lg`},null,-1)]]))]))}});e3();var uDn=$4(lDn,[[`__scopeId`,`data-v-41a61989`]]);B(),ax(),dH();var dDn=k({__name:`SpecificationVersion`,props:{documentType:{default:`openapi`},version:{}},setup(e){let t=z(()=>ix(e.documentType));return(n,r)=>e.version?(j(),N(D(uH),{key:0},{default:O(()=>[F(T(t.value)+` `+T(e.version),1)]),_:1})):I(``,!0)}});B(),Q4();var fDn={class:`flex gap-1.5`},pDn={key:0,class:`text-c-2 mt-6 flex flex-col gap-1 text-sm`},mDn={class:`text-c-1`},hDn={class:`font-code [overflow-wrap:anywhere]`},gDn={class:`sticky-cards`},_Dn=k({__name:`IntroductionLayout`,props:{id:{},applicationIdentifier:{},documentType:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},eventBus:{}},setup(e){let t=z(()=>e.documentType===`asyncapi`&&!!e.applicationIdentifier),{translate:n}=Z4(),{level:r}=_3(`document`);return(i,a)=>(j(),N(D(p3),null,{default:O(()=>[R(D(u3),{id:e.id,"aria-label":D(n)(`navigation.introduction`),class:`introduction-section z-1 gap-12`,onIntersecting:a[0]||=()=>e.id&&e.eventBus?.emit(`intersecting:nav-item`,{id:e.id})},{default:O(()=>[R(D(m3),null,{default:O(()=>[e.info?(j(),M(L,{key:1},[P(`div`,fDn,[R(oDn,{version:e.info?.version},null,8,[`version`]),R(dDn,{documentType:e.documentType,version:e.specificationVersion},null,8,[`documentType`,`version`])]),R(D(h3),{tight:``},{links:O(()=>[P(`div`,{class:lt(i.$slots.actions?`flex flex-wrap items-start justify-end gap-3`:`contents`)},[R(aDn,{externalDocs:e.externalDocs,info:e.info},null,8,[`externalDocs`,`info`]),A(i.$slots,`actions`,{},void 0,!0)],2)]),default:O(()=>[R(D(g3),{level:D(r)},{default:O(()=>[F(T(e.info?.title),1)]),_:1},8,[`level`])]),_:3}),R(D(f3),null,{default:O(()=>[R(D(d3),null,{default:O(()=>[A(i.$slots,`download-link`,{},void 0,!0),R(IEn,{description:e.info?.description,eventBus:e.eventBus,headingSlugGenerator:e.headingSlugGenerator},null,8,[`description`,`eventBus`,`headingSlugGenerator`]),t.value?(j(),M(`dl`,pDn,[P(`dt`,mDn,T(D(n)(`asyncapi.applicationIdentifier`)),1),P(`dd`,hDn,T(e.applicationIdentifier),1)])):I(``,!0)]),_:3}),i.$slots.aside?(j(),N(D(d3),{key:0},{default:O(()=>[P(`div`,gDn,[A(i.$slots,`aside`,{},void 0,!0)])]),_:3})):I(``,!0)]),_:3}),R(D(x3),{value:e.documentExtensions},null,8,[`value`]),R(D(x3),{value:e.infoExtensions},null,8,[`value`])],64)):(j(),N(uDn,{key:0,hasAside:!!i.$slots.aside},null,8,[`hasAside`]))]),_:3}),A(i.$slots,`after`,{},void 0,!0)]),_:3},8,[`id`,`aria-label`])]),_:3}))}});e3();var vDn=$4(_Dn,[[`__scopeId`,`data-v-e3e54d3a`]]);B(),iu();var yDn=k({__name:`InfoBlock`,props:{id:{},applicationIdentifier:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},eventBus:{},headingSlugGenerator:{type:Function},layout:{},documentDownloadType:{default:`both`},documentUrl:{},documentType:{}},setup(e){let t=z(()=>H(e.externalDocs??(e.documentType===`asyncapi`&&e.info&&`externalDocs`in e.info?e.info.externalDocs:void 0))),n=z(()=>e.layout===`classic`?`after`:`aside`);return(r,i)=>(j(),N(vDn,{id:e.id,applicationIdentifier:e.applicationIdentifier,documentExtensions:e.documentExtensions,documentType:e.documentType,eventBus:e.eventBus,externalDocs:t.value,headingSlugGenerator:e.headingSlugGenerator,info:e.info,infoExtensions:e.infoExtensions,specificationVersion:e.specificationVersion},Mr({[n.value]:O(()=>[R(OTn,{row:e.layout===`classic`},{default:O(()=>[A(r.$slots,`selectors`)]),_:3},8,[`row`])]),"download-link":O(()=>[R(ETn,{documentDownloadType:e.documentDownloadType,documentType:e.documentType,documentUrl:e.documentUrl,eventBus:e.eventBus},null,8,[`documentDownloadType`,`documentType`,`documentUrl`,`eventBus`])]),_:2},[r.$slots.actions?{name:`actions`,fn:O(()=>[A(r.$slots,`actions`)]),key:`0`}:void 0]),1032,[`id`,`applicationIdentifier`,`documentExtensions`,`documentType`,`eventBus`,`externalDocs`,`headingSlugGenerator`,`info`,`infoExtensions`,`specificationVersion`]))}});B(),e3();var bDn={},xDn={class:`introduction-card-item`};function SDn(e,t){return j(),M(`div`,xDn,[A(e.$slots,`default`,{},void 0,!0)])}var S3=$4(bDn,[[`render`,SDn],[`__scopeId`,`data-v-dfab866f`]]);B(),Mw(),uB(),Qs(),Q4();var CDn={class:`sr-only`},wDn={class:`overflow-x-auto`},TDn={key:1,class:`text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap`},EDn={class:`sr-only`},DDn={class:`overflow-x-auto`},ODn=k({__name:`Selector`,props:{selectedServer:{},servers:{},target:{}},emits:[`update:modelValue`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Z4(),a=z(()=>e.servers.map(e=>({id:e.url,label:e.name||e.url}))),o=z(()=>e.selectedServer?.url?.replace(/\/$/,``)||``),s=z(()=>a.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:a,selectedServer:e.selectedServer}),(t,n)=>a.value.length>1?(j(),N(D(oB),{key:0,ref:`elem`,class:`group`,modelValue:s.value,options:a.value,placement:`bottom-start`,resize:``,target:e.target,"onUpdate:modelValue":n[0]||=e=>r(`update:modelValue`,e.id)},{default:O(()=>[R(D(jw),{class:`bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1`,variant:`ghost`},{default:O(()=>[P(`span`,CDn,T(D(i)(`server.label`))+`:`,1),P(`span`,wDn,T(o.value||D(i)(`server.select`)),1),R(D(zs),{class:`text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100`,weight:`bold`})]),_:1})]),_:1},8,[`modelValue`,`options`,`target`])):(j(),M(`div`,TDn,[P(`span`,EDn,T(D(i)(`server.label`))+`:`,1),P(`span`,DDn,T(o.value),1)]))}});B(),xwn(),Xz(),Q4();var kDn={class:`bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium`},ADn=[`id`],jDn=k({__name:`ServerSelector`,props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=xr(),{translate:n}=Z4(),r=t=>{e.eventBus.emit(`server:update:selected`,{url:e.selectedServer?.url===t?``:t,meta:{type:`document`}})},i=(t,n)=>{let r=e.servers.findIndex(t=>t.url===e.selectedServer?.url);r!==-1&&e.eventBus.emit(`server:update:variables`,{index:r,key:t,value:n,meta:{type:`document`}})};return(a,o)=>(j(),M(L,null,[P(`label`,kDn,T(D(n)(`server.label`)),1),P(`div`,{id:D(t),class:lt([`border`,{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(j(),N(ODn,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:D(t),"onUpdate:modelValue":r},null,8,[`selectedServer`,`servers`,`target`])):I(``,!0)],10,ADn),R(D(b0),{layout:`reference`,variables:e.selectedServer?.variables,"onUpdate:variable":i},null,8,[`variables`]),e.selectedServer?.description?(j(),N(D(Jz),{key:0,class:`text-c-3 rounded-b-xl border-x border-b px-3 py-1.5`,value:e.selectedServer.description},null,8,[`value`])):I(``,!0)],64))}});B(),fG(),a_();var MDn={key:0,class:`properties`},NDn={key:1},PDn=k({__name:`ClassicLayout`,props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let{level:t}=_3(`model`);return(n,r)=>(j(),N(D(WTn),{"aria-label":e.schema.title??e.name,modelValue:!e.isCollapsed,"onUpdate:modelValue":r[1]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:t})},{title:O(()=>[R(D(c3),{class:`reference-models-anchor`,eventBus:e.eventBus,onCopyAnchorUrl:r[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.id})},{default:O(()=>[R(D(g3),{level:D(t)},{default:O(()=>[R(D(bH),{class:`reference-models-label`,name:e.schema.title??e.name,value:e.schema},null,8,[`name`,`value`])]),_:1},8,[`level`])]),_:1},8,[`eventBus`])]),default:O(()=>[`properties`in e.schema?(j(),M(`div`,MDn,[(j(!0),M(L,null,jr(Object.entries(e.schema.properties??{}),([t,n])=>(j(),N(D(vH),{key:t,breadcrumb:[e.id],discriminator:e.schema.discriminator,eventBus:e.eventBus,expansion:e.expansion,hideModelNames:e.options.hideModels,name:t,options:{...e.options,document:e.document},required:e.schema.required?.includes(t),schema:D(i_).schema(n),scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`discriminator`,`eventBus`,`expansion`,`hideModelNames`,`name`,`options`,`required`,`schema`,`scrollTargetId`,`specificationExtension`]))),128))])):(j(),M(`div`,NDn,[R(D(vH),{breadcrumb:[e.id],eventBus:e.eventBus,expansion:e.expansion,hideModelNames:e.options.hideModels,options:{...e.options,document:e.document},schema:e.schema,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`eventBus`,`expansion`,`hideModelNames`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])]))]),_:1},8,[`aria-label`,`modelValue`]))}});e3();var FDn=$4(PDn,[[`__scopeId`,`data-v-8677fda0`]]);B(),fG(),_X();var IDn=k({__name:`ModernLayout`,props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let{level:t}=_3(`model`);return(n,r)=>(j(),N(D(RTn),{id:e.id,key:e.name,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:r[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.id}),"onUpdate:modelValue":r[1]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:t})},{heading:O(()=>[R(D(g3),{level:D(t)},{default:O(()=>[R(D(bH),{name:e.schema.title??e.name,value:e.schema},null,8,[`name`,`value`])]),_:1},8,[`level`])]),default:O(()=>[R(D(gX),null,{default:O(()=>[R(D(HV),{breadcrumb:[e.id],eventBus:e.eventBus,expansion:e.expansion,hideModelNames:e.options.hideModels,hideHeading:``,level:1,noncollapsible:``,options:{...e.options,document:e.document},schema:e.schema,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`eventBus`,`expansion`,`hideModelNames`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])]),_:1})]),_:1},8,[`id`,`label`,`modelValue`]))}});B();var LDn=k({__name:`Model`,props:{id:{},name:{},options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=Cr(`section`);return l3(t,()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.id})),(n,r)=>e.schema?(j(),M(`div`,{key:0,ref_key:`section`,ref:t},[e.options.layout===`classic`?(j(),N(FDn,{key:0,id:e.id,document:e.document,eventBus:e.eventBus,expansion:e.expansion,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`id`,`document`,`eventBus`,`expansion`,`isCollapsed`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])):(j(),N(IDn,{key:1,id:e.id,document:e.document,eventBus:e.eventBus,expansion:e.expansion,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`id`,`document`,`eventBus`,`expansion`,`isCollapsed`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`]))],512)):I(``,!0)}});B(),Qs(),Q4();var RDn={class:`show-more`,type:`button`},zDn=k({__name:`ShowMoreButton`,setup(e){let{translate:t}=Z4();return(e,n)=>(j(),M(`button`,RDn,[F(T(D(t)(`actions.showMore`))+` `,1),R(D(zs),{class:`text-c-2 mt-0.25 size-3`,weight:`bold`})]))}});e3();var BDn=$4(zDn,[[`__scopeId`,`data-v-43b0e3dd`]]);B(),h();var VDn=k({__name:`ModelTag`,props:{id:{},isCollapsed:{type:Boolean},eventBus:{},layout:{},modelsSectionLabel:{default:()=>f}},setup(e){let{level:t}=_3(`modelGroup`);return(n,r)=>e.layout===`modern`?(j(),N(p3,{key:0},{default:O(()=>[R(D(u3),{id:e.id,"aria-label":e.modelsSectionLabel,onIntersecting:r[1]||=()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.id})},{default:O(()=>[R(D(h3),null,{default:O(()=>[R(g3,{level:D(t)},{default:O(()=>[F(T(e.modelsSectionLabel),1)]),_:1},8,[`level`])]),_:1}),e.isCollapsed?(j(),N(BDn,{key:1,id:e.id,class:`top-0`,onClick:r[0]||=()=>e.eventBus.emit(`toggle:nav-item`,{id:e.id,open:!0})},null,8,[`id`])):A(n.$slots,`default`,{},void 0,void 0,0)]),_:3},8,[`id`,`aria-label`])]),_:3})):(j(),N(rEn,{key:1,"aria-label":e.modelsSectionLabel,class:`pb-12`,modelValue:!e.isCollapsed,"onUpdate:modelValue":r[2]||=()=>e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:e.isCollapsed})},{title:O(()=>[R(D(h3),null,{default:O(()=>[R(g3,{level:D(t)},{default:O(()=>[F(T(e.modelsSectionLabel),1)]),_:1},8,[`level`])]),_:1})]),default:O(()=>[A(n.$slots,`default`)]),_:3},8,[`aria-label`,`modelValue`]))}});B(),Xz(),iV();var HDn=k({__name:`ClassicLayout`,props:{tag:{},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup(e){let{level:t}=_3(`tag`);return(n,r)=>(j(),N(D(rEn),{"aria-label":e.tag.title,class:lt([`tag-section`,{"tag-section-group":e.tag.isGroup,"tag-section-nested":e.nested}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":r[1]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.tag.id,open:t})},Mr({title:O(()=>[R(D(h3),{class:lt([`tag-name`,{"tag-group-name":e.tag.isGroup}])},{default:O(()=>[R(D(c3),{onCopyAnchorUrl:r[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.tag.id})},{default:O(()=>[R(D(g3),{level:D(t)},{default:O(()=>[F(T(e.tag.title),1)]),_:1},8,[`level`])]),_:1})]),_:1},8,[`class`]),R(D(Jz),{class:`tag-description`,value:e.tag?.description,withImages:``},null,8,[`value`])]),default:O(()=>[e.tag.externalDocs?(j(),N(D(i3),{key:0},{default:O(()=>[R(D(rV),{value:e.tag.externalDocs},null,8,[`value`])]),_:1})):I(``,!0),A(n.$slots,`default`,{},void 0,!0)]),_:2},[n.$slots.actions?{name:`actions`,fn:O(()=>[A(n.$slots,`actions`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`aria-label`,`class`,`modelValue`]))}});e3();var UDn=$4(HDn,[[`__scopeId`,`data-v-c48b7c95`]]);B(),uJ(),nc();var WDn=k({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=z(()=>lJ(String(t.method||``))),r=z(()=>{if(typeof t.method!=`string`||!t.method.trim())return`get`;let e=t.method.trim();return tc(e.toLowerCase())?e.toLowerCase():e});return(t,i)=>(j(),N(Ar(e.as??`span`),{class:lt({uppercase:D(tc)(r.value)}),style:ct({[e.property||`color`]:n.value.colorVar})},{default:O(()=>[A(t.$slots,`default`),F(` `+T(e.short?n.value.short:r.value),1)]),_:3},8,[`class`,`style`]))}});B();var GDn=Symbol(`navigation-href`),KDn=()=>lr(GDn,e=>`#${encodeURIComponent(e)}`);B(),u2(),uJ(),Qs();var qDn=[`href`],JDn=k({__name:`OperationsListItem`,props:{operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=z(()=>`path`in e.operation?e.operation.path:e.operation.title),n=e=>e.type===`webhook`,{level:r}=_3(`operation`),i=KDn(),a=t=>{e.eventBus&&l2(t)&&(t.preventDefault(),e.eventBus.emit(`scroll-to:nav-item`,{id:e.operation.id}))};return(o,s)=>(j(),M(`li`,{key:e.operation.id,class:`contents`},[e.isCollapsed?(j(),N(D(g3),{key:0,class:`sr-only`,level:D(r)},{default:O(()=>[F(T(e.operation.title)+` (Hidden) `,1)]),_:1},8,[`level`])):I(``,!0),P(`a`,{class:`endpoint`,href:D(i)(e.operation.id),onClick:a},[R(D(WDn),{class:`endpoint-method items-center justify-end gap-2`,method:e.operation.method},{default:O(()=>[n(e.operation)?(j(),N(D(Xs),{key:0,class:`size-3.5`,style:ct({color:D(lJ)(e.operation.method).colorVar})},null,8,[`style`])):I(``,!0)]),_:1},8,[`method`]),P(`span`,{class:lt([`endpoint-path`,{deprecated:e.operation.isDeprecated}])},T(t.value),3)],8,qDn)]))}});e3();var YDn=$4(JDn,[[`__scopeId`,`data-v-7018bf3f`]]);B(),IV(),kH(),Q4();var XDn=[`aria-label`],ZDn=k({__name:`OperationsList`,props:{tag:{},eventBus:{}},setup(e){let{translate:t}=Z4(),n=z(()=>e.tag.children?.filter(e=>e.type===`operation`||e.type===`webhook`)??[]);return(r,i)=>n.value.length>0?(j(),N(D(wH),{key:0,class:`endpoints-card`},{default:O(()=>[R(D(OH),{muted:``},{default:O(()=>[R(D(FV),null,{default:O(()=>[F(T(e.tag.title),1)]),_:1}),F(` `+T(e.tag.isWebhooks?D(t)(`navigation.webhooks`):D(t)(`navigation.operations`)),1)]),_:1}),R(D(TH),{class:`custom-scroll max-h-[60vh]`},{default:O(()=>[P(`ul`,{"aria-label":D(t)(`navigation.endpoints`,{name:e.tag.title}),class:`endpoints`},[(j(!0),M(L,null,jr(n.value,t=>(j(),N(YDn,{key:t.id,eventBus:e.eventBus,operation:t},null,8,[`eventBus`,`operation`]))),128))],8,XDn)]),_:1})]),_:1})):I(``,!0)}});e3();var QDn=$4(ZDn,[[`__scopeId`,`data-v-8352667b`]]);B(),IV(),Xz(),iV(),Q4();var $Dn={class:`flex items-start justify-end gap-3`},eOn=k({__name:`TagSection`,props:{tag:{},headingLevel:{default:1},headerId:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let{translate:t}=Z4(),n=z(()=>e.tag.children?.some(e=>e.type===`asyncapi-channel`)??!1);return(r,i)=>e.tag?(j(),N(D(u3),{key:0,id:e.tag.id,role:`none`,onIntersecting:i[1]||=()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.tag.id})},{default:O(()=>[R(D(h3),null,Mr({default:O(()=>[R(D(c3),{onCopyAnchorUrl:i[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.tag.id})},{default:O(()=>[R(D(g3),{id:e.headerId,level:e.headingLevel},{default:O(()=>[F(T(e.tag.title)+` `,1),e.isCollapsed?(j(),N(D(FV),{key:0},{default:O(()=>[F(` (`+T(D(t)(`navigation.collapsed`))+`) `,1)]),_:1})):I(``,!0)]),_:1},8,[`id`,`level`])]),_:1})]),_:2},[r.$slots.actions||e.tag.externalDocs?{name:`links`,fn:O(()=>[P(`div`,$Dn,[e.tag.externalDocs?(j(),N(D(i3),{key:0},{default:O(()=>[R(D(rV),{value:e.tag.externalDocs},null,8,[`value`])]),_:1})):I(``,!0),A(r.$slots,`actions`)])]),key:`0`}:void 0]),1024),R(D(m3),null,{default:O(()=>[R(D(f3),null,{default:O(()=>[R(D(d3),null,{default:O(()=>[R(D(Jz),{clamp:e.isCollapsed?7:void 0,value:e.tag?.description??``,withImages:``},null,8,[`clamp`,`value`])]),_:1}),n.value?I(``,!0):(j(),N(D(d3),{key:0},{default:O(()=>[R(D(QDn),{eventBus:e.eventBus,tag:e.tag},null,8,[`eventBus`,`tag`])]),_:1}))]),_:1})]),_:1}),R(D(x3),{value:e.tag.xKeys},null,8,[`value`])]),_:3},8,[`id`])):I(``,!0)}});B(),Q4();var tOn=[`id`],nOn={key:2,class:`contents divide-y`},rOn=k({__name:`ModernLayout`,props:{showDefaultTagHeader:{type:Boolean,default:!1},tag:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean,default:!1}},setup(e){let{translate:t}=Z4(),n=xr(),r=xr(),i=z(()=>e.showDefaultTagHeader||e.moreThanOneTag||e.tag?.title!=="default"||e.tag?.description!==``),a=z(()=>(e.tag?.children?.length??0)>0),o=z(()=>e.moreThanOneTag||e.nested),s=z(()=>e.isCollapsed&&o.value),c=z(()=>s.value&&a.value),l=z(()=>c.value&&!e.nested),{level:u}=_3(`tag`);return(a,o)=>(j(),N(D(p3),{"aria-labelledby":D(n),class:lt([`tag-section-container`,{"tag-section-collapsed":l.value,"tag-section-nested":e.nested}]),role:`region`},{default:O(()=>[i.value?(j(),N(eOn,{key:0,eventBus:e.eventBus,headerId:D(n),headingLevel:D(u),isCollapsed:e.isCollapsed,tag:e.tag},Mr({_:2},[a.$slots.actions?{name:`actions`,fn:O(()=>[A(a.$slots,`actions`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`eventBus`,`headerId`,`headingLevel`,`isCollapsed`,`tag`])):I(``,!0),c.value?(j(),M(L,{key:1},[R(BDn,{id:e.tag.id,"aria-describedby":D(r),onClick:o[0]||=()=>e.eventBus?.emit(`toggle:nav-item`,{id:e.tag.id,open:!0})},null,8,[`id`,`aria-describedby`]),P(`span`,{id:D(r),hidden:``},T(D(t)(`navigation.showAllEndpoints`,{name:e.tag.title})),9,tOn)],64)):I(``,!0),s.value?I(``,!0):(j(),M(`div`,nOn,[A(a.$slots,`default`,{},void 0,!0)]))]),_:3},8,[`aria-labelledby`,`class`]))}});e3();var iOn=$4(rOn,[[`__scopeId`,`data-v-fb0b5363`]]);B();var aOn=k({__name:`Tag`,props:{asyncApiDocument:{},tag:{},layout:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup(e){return(t,n)=>e.layout===`classic`?(j(),N(UDn,{key:0,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,nested:e.nested,tag:e.tag},Mr({default:O(()=>[A(t.$slots,`default`)]),_:2},[t.$slots.actions?{name:`actions`,fn:O(()=>[A(t.$slots,`actions`)]),key:`0`}:void 0]),1032,[`eventBus`,`isCollapsed`,`layout`,`nested`,`tag`])):(j(),N(iOn,{key:1,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,moreThanOneTag:e.moreThanOneTag,nested:e.nested,showDefaultTagHeader:!!e.asyncApiDocument,tag:e.tag},Mr({default:O(()=>[A(t.$slots,`default`)]),_:2},[t.$slots.actions?{name:`actions`,fn:O(()=>[A(t.$slots,`actions`)]),key:`0`}:void 0]),1032,[`eventBus`,`isCollapsed`,`layout`,`moreThanOneTag`,`nested`,`showDefaultTagHeader`,`tag`]))}});nc(),DY();var oOn=e=>{let t=0;for(;t<e.length&&e[t]===`/`;)t+=1;return e.slice(t)},sOn=e=>{let t=e.length;for(;t>0&&e[t-1]===`/`;)--t;return e.slice(0,t)},C3=e=>sOn(oOn(e)),w3=e=>e.startsWith(`#`),T3=e=>sOn(e.replace(/^#+/,``)),cOn=(e,t)=>t?`${t}${e?`/`:``}${e}`:e,lOn=(e,t)=>e===t?``:e.startsWith(`${t}/`)?e.slice(t.length+1):null,uOn=e=>e?`/${e.split(`/`).map(e=>encodeURIComponent(e)).join(`/`)}`:``,dOn=(e,t)=>{let n=typeof e==`string`?new URL(e):e;return cOn(decodeURIComponent(n.hash.slice(1)),t)},fOn=(e,t,n)=>{let r=typeof e==`string`?new URL(e):e,i=uOn(C3(t));if(r.pathname.startsWith(i)){let e=r.pathname.slice(i.length);return cOn(decodeURIComponent(e.startsWith(`/`)?e.slice(1):e),n)}return n??``},pOn=(e,t,n)=>{let r=typeof e==`string`?new URL(e):e,i=lOn(decodeURIComponent(r.hash.slice(1)),T3(t));return i===null?n??``:cOn(i,n)},mOn=(e,t)=>{let n=typeof e==`string`?new URL(e):e;if(w3(t)){let e=decodeURIComponent(n.hash);return e===t||e.startsWith(`${t}/`)}let r=uOn(C3(t));return n.pathname===r||n.pathname.startsWith(`${r}/`)},E3=(e,t,n)=>typeof t==`string`?w3(t)?pOn(e,t,n):fOn(e,t,n):dOn(e,n),hOn=e=>{let t=e.endsWith(`/`),n=e.split(`/`).filter(Boolean).slice(1).join(`/`);return t&&n?`${n}/`:n},D3=(e,t,n)=>{if(typeof window>`u`)return;let r=n?e:hOn(e),i=new URL(window.location.href);return typeof t==`string`?w3(t)?i.hash=[T3(t),r].filter(Boolean).join(`/`):i.pathname=`${C3(t)}/${r}`:i.hash=r,i},gOn=(e,t,n)=>{let r=new Set(Array.from(t,e=>n?e:hOn(e)).filter(Boolean)),{rawId:i}=EOn(e);for(let t=0;t<i.length;t=i.indexOf(`/`,t)+1){if(r.has(i.slice(t)))return t===0?``:e.slice(0,t-1);if(i.indexOf(`/`,t)===-1)break}return e},_On=(e,t,n)=>{let r=n?e:hOn(e),i=new URL(`http://scratch`);return typeof t==`string`?w3(t)?(i.hash=[T3(t),r].filter(Boolean).join(`/`),i.hash||`#`):(i.pathname=`${C3(t)}/${r}`,i.pathname.replace(/^\/+/,`/`)):(i.hash=r,i.hash||`#`)},O3=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),vOn=e=>({value:decodeURIComponent(e.hash.slice(1)),write:t=>{e.hash=t}}),yOn=(e,t)=>{if(typeof t!=`string`)return[vOn(e)];if(w3(t)){let n=T3(t);return[{value:lOn(decodeURIComponent(e.hash.slice(1)),n)??``,write:t=>{e.hash=[n,t].filter(Boolean).join(`/`)}},vOn(e)]}let n=C3(t),r=lOn(e.pathname,uOn(n));return[{value:r===null?``:decodeURIComponent(r),write:t=>{e.pathname=n?`/${n}/${t}`:`/${t}`}},vOn(e)]},bOn=(e,t)=>{for(let{match:n,replace:r}of t){let t=e.replace(n,r);if(t!==e)return t}return e},xOn=`(?:(?:tag-group/[^/]+/)?tag/[^/]+/)?`,SOn=({modelsSectionSlug:e,documentSlug:t,isMultiDocument:n})=>{let r=O3(t),i=n?`${r}/${xOn}`:`(?:${r}/${xOn})?`,a=t=>({match:RegExp(`^(${i})${O3(t)}/`),replace:(t,n)=>`${n}${e}/`}),o=[a(`model`)];return e!==`models`&&o.push(a(`models`)),o},COn=[`.body.`,`.path.`,`.query.`,`.header.`,`.responses.`],wOn=e=>{let t=e.filter(({id:e})=>!e.includes(`/webhook/additionalOperations/`)),n=(e,t)=>`${tc(e)?e.toUpperCase():e}/${t}`,r=new Set,i=new Map;for(let{name:e,method:a,id:o}of t){r.add(n(a,o.slice(o.lastIndexOf(`/`)+1)));let t=EY(e);if(t){let e=n(a,t);i.set(e,(i.get(e)??0)+1)}}let a=`(?=$|/|${COn.map(O3).join(`|`)})`,o=[];for(let{name:e,method:s,id:c}of t){let t=tc(s)?s.toUpperCase():s,l=c.slice(c.lastIndexOf(`/`)+1),u=EY(e),d=n(s,u);!u||u===l||r.has(d)||(i.get(d)??0)>1||o.push({match:RegExp(`(^|/)webhook/${O3(t)}/${O3(u)}${a}`),replace:(e,n)=>`${n}webhook/${t}/${l}`})}return o},TOn=(e,t,n,r,i,a=[])=>{if(!n)return null;let o=new URL(typeof e==`string`?e:e.toString()),s=[...SOn({modelsSectionSlug:t,documentSlug:n,isMultiDocument:r}),...wOn(a)],c=!1;for(let e of yOn(o,i)){let t=bOn(e.value,s);t!==e.value&&(e.write(t),c=!0)}return c?o:null},EOn=e=>{let t=-1;for(let n of COn){let r=e.indexOf(n);r!==-1&&(t===-1||r<t)&&(t=r)}return t===-1?{rawId:e,params:``}:{rawId:e.slice(0,t),params:e.slice(t+1)}};jT(),iI(),B();var k3=fn(new Set),A3=fn(new Set),j3=fn(new Set),M3=E(!1),DOn=3e3,OOn=E(!1),N3=E(``),kOn=e=>{let t=N3.value;return!e||!t?!1:t===e||t.startsWith(`${e}.`)},AOn=e=>{N3.value===e&&(N3.value=``)},jOn=fn(new Set),P3=new Set,MOn=fn(new Map),NOn=e=>MOn.get(e),POn=(e,t)=>{!Number.isFinite(t)||t<=0||MOn.set(e,Math.round(t))},FOn=e=>{e&&P3.add(e)},IOn=()=>{let e=rI();return jOn.add(e),()=>setTimeout(()=>jOn.delete(e),100)},LOn=z(()=>jOn.size===0),ROn=()=>{if(typeof window>`u`||M3.value)return;M3.value=!0;let e=async()=>{let e=[...k3],t=[...A3];if(e.length===0&&t.length===0)P3.forEach(e=>e()),P3.clear(),M3.value=!1,OOn.value=!0;else{for(let t of e)j3.add(t),k3.delete(t);for(let e of t)j3.add(e),A3.delete(e);await nr(),P3.forEach(e=>e()),P3.clear(),M3.value=!1,OOn.value=!0}};window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1500}):nr(e)};Stt([()=>A3.size,()=>k3.size,()=>M3.value],()=>{(A3.size>0||k3.size>0)&&!M3.value&&ROn()},{debounce:300,maxWait:1500});var zOn=e=>{e&&!j3.has(e)&&!k3.has(e)&&A3.add(e)},F3=e=>{e&&!k3.has(e)&&k3.add(e)},BOn=(e,t=!1)=>{e&&!j3.has(e)&&(t?F3(e):zOn(e),M3.value||ROn())},VOn=()=>{typeof window<`u`&&window.setTimeout(()=>ROn(),400)},HOn=e=>{k3.delete(e),A3.delete(e),j3.delete(e),MOn.delete(e)};function UOn(e){return Ri(()=>{HOn(e)}),{isReady:z(()=>typeof window>`u`||k3.has(e)||j3.has(e))}}var WOn=(e,t,n)=>{let r=n(e),i=!j3.has(e)||r?.children?.some(e=>!j3.has(e.id))?YOn(e):void 0;FOn(i);let a=IOn(),{rawId:o}=GOn(e,n);if(N3.value=e,F3(e),F3(o),r?.children&&r.children.slice(0,2).forEach(e=>F3(e.id)),r?.parent){let t=n(r.parent.id),i=t?.children?.findIndex(t=>t.id===e);i!==void 0&&i>=0&&t?.children?.slice(i,i+2).forEach(e=>F3(e.id))}t(o,!0);let s=e=>{let r=n(e)?.parent;r&&(F3(r.id),t(r.id,!0),s(r.id))};s(o),nr(()=>{JOn(e,Date.now()+DOn,a,i,o)})},GOn=(e,t)=>{let{rawId:n}=EOn(e);if(t(n))return{rawId:n};let r=n;for(;;){let e=r.lastIndexOf(`.`);if(e===-1)return{rawId:n};if(r=r.slice(0,e),t(r))return{rawId:r}}},KOn=(e,t=0)=>{let n=e.getBoundingClientRect(),r=n.left+n.width/2,i=Array.from(e.ownerDocument.querySelectorAll(`[data-scalar-scroll-header]`)).flatMap(n=>{if(n===e||n.contains(e)||e.contains(n))return[];let i=n.getBoundingClientRect();if(i.height<=0||i.bottom<=t||i.left>r||i.right<=r)return[];let a=window.getComputedStyle(n);return(a.position===`sticky`||a.position===`fixed`)&&a.visibility!==`hidden`?[i]:[]}).sort((e,t)=>e.top-t.top);if(i.length===0)return 0;let a=Number.parseFloat(window.getComputedStyle(e).scrollMarginTop)||0,o=t+Math.max(0,a);for(let e of i){if(e.top>o+1)break;o=Math.max(o,e.bottom)}return o-t},qOn=e=>{e.scrollIntoView({block:`start`,behavior:`instant`});let t=0;for(let n=e.parentElement;n;n=n.parentElement){let{overflowY:e}=window.getComputedStyle(n);if(/(auto|scroll|hidden)/.test(e)&&n.scrollHeight>n.clientHeight){t=Math.max(0,n.getBoundingClientRect().top+n.clientTop);break}}let n=KOn(e,t);if(n<=(Number.parseFloat(window.getComputedStyle(e).scrollMarginTop)||0))return;let r=e.style.getPropertyValue(`scroll-margin-top`),i=e.style.getPropertyPriority(`scroll-margin-top`);e.style.setProperty(`scroll-margin-top`,`${n}px`,`important`),e.scrollIntoView({block:`start`,behavior:`instant`}),r?e.style.setProperty(`scroll-margin-top`,r,i):e.style.removeProperty(`scroll-margin-top`)},JOn=(e,t,n,r,i)=>{let a=document.getElementById(e);if(a)qOn(a),a instanceof HTMLElement&&N3.value===e&&a.focus({preventScroll:!0}),AOn(e),n();else if(Date.now()<t)requestAnimationFrame(()=>JOn(e,t,n,r,i));else{if(i&&i!==e&&N3.value===e){let e=document.getElementById(i);e&&qOn(e)}AOn(e),n(),r?.()}},YOn=e=>{let t=!1,n=r=>{let i=document.getElementById(e);i&&qOn(i),r||requestAnimationFrame(()=>n(t))};return n(!1),()=>{t=!0}};B(),jT();var XOn=[`id`,`data-placeholder`],ZOn=760,QOn=1200,$On=k({__name:`Lazy`,props:{id:{},expanded:{type:Boolean,default:!1}},setup(e){let t=`${QOn}px 0px`,{isReady:n}=UOn(e.id),r=E(null),i=E(NOn(e.id)??ZOn),a=null,o=z(()=>n.value||e.expanded);return Ii(()=>{typeof window<`u`&&(`IntersectionObserver`in window?Itt(r,([t])=>{t?.isIntersecting&&!n.value&&BOn(e.id,!0)},{rootMargin:t}):BOn(e.id,!0))}),dr(()=>o.value,(t,n)=>{if(n&&!t&&r.value){let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(i.value=t,POn(e.id,t))}},{flush:`pre`}),dr(()=>o.value,t=>{t?nr(()=>{if(!r.value||typeof ResizeObserver>`u`)return;a||=new ResizeObserver(()=>{if(!r.value)return;let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(i.value=t,POn(e.id,t))}),a.observe(r.value);let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(i.value=t,POn(e.id,t))}):(a?.disconnect(),a=null)},{immediate:!0}),Ri(()=>{a?.disconnect()}),(t,n)=>(j(),M(`div`,{id:o.value?void 0:e.id,ref_key:`lazyContainerRef`,ref:r,"data-placeholder":!o.value,"data-testid":`lazy-container`,style:ct({height:o.value?void 0:`${i.value}px`})},[o.value?A(t.$slots,`default`,{},void 0,void 0,0):I(``,!0)],12,XOn))}});fG(),h_(),js(),sNe(),iu(),Fu();var ekn=e=>{let t=H(e.components),n=Object.entries(t?.schemas??{}),r=new Map(n.map(([e,t])=>[`#/components/schemas/${m_(e)}`,t])),i=(e,t=new Set)=>{let n=H(e)??e;return!V(n)||t.has(Nu(n))?n:(t.add(Nu(n)),typeof n.$ref==`string`&&r.has(n.$ref)?i(r.get(n.$ref),t):n)},a=e=>{let t=i(e);return V(t)&&`schemaFormat`in t?i(t.schema):t},o=e=>{let t=i(e);if(!V(t)||typeof t.schemaFormat!=`string`)return!1;let n=t.schemaFormat.split(`;`)[0]?.trim().toLowerCase();return n!==`application/vnd.aai.asyncapi+json`&&n!==`application/vnd.aai.asyncapi+yaml`},s=n.flatMap(([e,t])=>{let n=a(t);return V(n)&&!o(t)?[{name:e,schema:n}]:[]}),c=e=>Array.isArray(e.allOf)?e.allOf.map(a).filter(V):[],l=(e,t=new Set)=>{if(!t.has(Nu(e)))return t.add(Nu(e)),typeof e.discriminator==`string`?e.discriminator:c(e).map(e=>l(e,t)).find(e=>e!==void 0)},u=(e,t,n=new Set)=>Nu(e)===Nu(t)||!n.has(Nu(e))&&(n.add(Nu(e)),c(e).some(e=>u(e,t,n))),d=(e,t,n=new Set)=>{if(n.has(Nu(e)))return;n.add(Nu(e));let r=V(e.properties)?a(e.properties[t]):void 0;if(V(r)){if(typeof r.const==`string`)return r.const;if(Array.isArray(r.enum)&&r.enum.length===1&&typeof r.enum[0]==`string`)return r.enum[0]}let i=Array.isArray(e.allOf)?e.allOf:[];return[...i.filter(e=>!V(e)||!(`$ref`in e)),...i.filter(e=>V(e)&&`$ref`in e)].map(a).filter(V).map(e=>d(e,t,n)).find(e=>e!==void 0)},f=new WeakMap,p=new WeakMap,m=(e,t,r=!1)=>{let i=a(e);if(typeof i==`boolean`)return vh(i);if(!V(i))return;if(o(e))return i;let c=r?p:f,h=V(e)&&typeof e.$ref==`string`?n.find(([t])=>`#/components/schemas/${m_(t)}`===e.$ref)?.[0]:void 0,g=t??h??s.find(e=>Nu(e.schema)===Nu(i))?.name,_=c.get(Nu(i))??new Map,v=_.get(g);if(v)return v;let y={...i};_.set(g,y),c.set(Nu(i),_);let b=l(i);typeof i.discriminator==`string`&&delete y.discriminator,b&&(y.discriminator={propertyName:b});let x=(e,t=!1)=>{let n=m(e,void 0,t);return V(e)&&typeof e.$ref==`string`?{$ref:e.$ref,"$ref-value":n}:n};for(let e of[`properties`,`patternProperties`,`$defs`,`definitions`])V(i[e])&&Object.assign(y,{[e]:Object.fromEntries(Object.entries(i[e]).map(([e,t])=>[e,x(t)]))});for(let e of[`items`,`additionalProperties`,`propertyNames`,`not`,`contains`,`if`,`then`,`else`,`contentSchema`])i[e]!==void 0&&Object.assign(y,{[e]:x(i[e])});for(let e of[`allOf`,`oneOf`,`anyOf`,`prefixItems`]){let t=i[e];Array.isArray(t)&&Object.assign(y,{[e]:t.map(t=>x(t,e===`allOf`))})}if(b&&g){let e=d(i,b)??g;Object.assign(y.discriminator??{},{[dB]:{value:e}})}if(b&&!r&&typeof i.discriminator==`string`&&!i.oneOf&&!i.anyOf){let e=s.filter(e=>u(e.schema,i));if(e.length>1){let t=Object.fromEntries(e.map(e=>[e.name,m(e.schema,e.name,!0)])),n=Object.fromEntries(e.map(e=>[d(e.schema,b)??e.name,`#/components/schemas/${m_(e.name)}`])),r=SB({type:`object`,title:typeof i.title==`string`?i.title:g,description:typeof i.description==`string`?i.description:void 0,discriminator:{propertyName:b,mapping:n},[dB]:{inheritedVariants:!0}},{components:{schemas:t}},e.map(e=>`#/components/schemas/${m_(e.name)}`));Object.keys(y).forEach(e=>Reflect.deleteProperty(y,e)),Object.assign(y,r)}}return y};return m};B(),IV(),Mw(),uB(),Qs(),Kl(),Q4();var tkn=[`aria-label`],nkn=k({inheritAttrs:!1,__name:`ContentTypeSelect`,props:Lr({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let{translate:t}=Z4(),n=Hr(e,`modelValue`),r=z(()=>Object.keys(e.content??{})),i=z({get:()=>a.value.find(e=>e.id===n.value),set:e=>{e&&(n.value=e.id)}}),a=z(()=>r.value.map(e=>({id:e,label:e}))),o=Ul({base:`font-normal text-c-2 bg-b-1 py-1 flex items-center gap-1 rounded-full text-xs leading-none border`,variants:{dropdown:{true:`hover:text-c-1 pl-2 pr-1.5 font-medium cursor-pointer`,false:`px-2`}}});return(e,s)=>r.value.length>1?(j(),N(D(oB),{key:0,modelValue:i.value,"onUpdate:modelValue":s[1]||=e=>i.value=e,options:a.value,placement:`bottom-end`,teleport:``,onClick:s[2]||=Ka(()=>{},[`stop`])},{default:O(({open:r})=>[R(D(jw),oi({class:[`h-fit`,D(o)({dropdown:!0})],variant:`ghost`},e.$attrs,{onClick:s[0]||=Ka(()=>{},[`stop`])}),{default:O(()=>[R(D(FV),null,{default:O(()=>[F(T(D(t)(`operation.selectedContentType`))+`: `,1)]),_:1}),P(`span`,null,T(n.value),1),R(D(zs),{class:lt([`size-2.75 transition-transform duration-100`,{"rotate-180":r}]),weight:`bold`},null,8,[`class`])]),_:2},1040,[`class`])]),_:1},8,[`modelValue`,`options`])):(j(),M(`div`,oi({key:1,"aria-label":D(t)(`operation.selectedContentType`),class:[`selected-content-type`,D(o)({dropdown:!1})],role:`group`},e.$attrs),[P(`span`,null,T(n.value),1)],16,tkn))}});B(),fG(),iu();var rkn=k({__name:`Header`,props:{header:{},name:{},breadcrumb:{},eventBus:{},document:{},orderSchemaPropertiesBy:{},orderRequiredPropertiesFirst:{type:Boolean},expandAllSchemaProperties:{type:Boolean},schemaKeyboardNav:{type:Boolean},showExtensions:{},hideModels:{type:Boolean},hideModelNames:{type:Boolean},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=z(()=>{if(`schema`in e.header&&e.header.schema)return H(e.header.schema);if(`content`in e.header&&e.header.content)return H(Object.values(e.header.content)[0]?.schema)});return(n,r)=>(j(),N(D(vH),{breadcrumb:e.breadcrumb,description:e.header.description,eventBus:e.eventBus,expansion:e.expansion,extensionSource:e.header,name:e.name,options:{orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy,expandAllSchemaProperties:e.expandAllSchemaProperties,schemaKeyboardNav:e.schemaKeyboardNav,showExtensions:e.showExtensions,hideModels:e.hideModels,hideModelNames:e.hideModelNames,document:e.document},schema:t.value,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`description`,`eventBus`,`expansion`,`extensionSource`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`]))}});B(),fG(),OV(),tBt(),iu(),Q4();var ikn=[`id`],akn=[`id`],okn={role:`list`},skn=k({__name:`Headers`,props:{headers:{},breadcrumb:{},eventBus:{},document:{},orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{},expandAllSchemaProperties:{type:Boolean},schemaKeyboardNav:{type:Boolean},showExtensions:{},hideModels:{type:Boolean},hideModelNames:{type:Boolean},scrollTargetId:{default:``},specificationExtension:{},expansion:{}},setup(e){let{translate:t}=Z4(),n=z(()=>Object.fromEntries(Object.entries(e.headers).flatMap(([e,t])=>{let n=H(t);return n?[[e,n]]:[]}))),r=t=>{e.schemaKeyboardNav&&LV(t)},i=e.expansion??DV(Tn(()=>e.scrollTargetId)),a=xr(),o=z(()=>e.breadcrumb?[...e.breadcrumb,`headers`]:void 0),s=z(()=>(e.breadcrumb?TV([...e.breadcrumb,`~headers`]):``)||`~anonymous-${a}`),c=z(()=>i.isExpanded(s.value,{defaultOpen:!!e.expandAllSchemaProperties,anchorPath:TV(o.value)})),l=xr(),u=xr(),d=xr(),f=z(()=>t(`schema.headerCount`,{count:String(Object.keys(n.value).length)}));return(a,p)=>(j(),M(`div`,{class:`property property--tree headers-tree-group relative mt-1.5 py-1.5`,onKeydown:r},[R(D(PB),{class:`absolute start-[calc(0px_-_var(--schema-toggle-half,12px)_-_var(--schema-gutter,16px))] top-[calc(6px_+_0.5lh)] z-[1] -translate-y-1/2`,countId:D(d),fallbackLabel:D(t)(`operation.headers`),nameId:D(u),open:c.value,panelId:D(l),panelRendered:c.value,onToggle:p[0]||=e=>D(i).setExpanded(s.value,!c.value)},null,8,[`countId`,`fallbackLabel`,`nameId`,`open`,`panelId`,`panelRendered`]),P(`div`,{class:`property-heading cursor-pointer`,onClick:p[1]||=e=>D(i).setExpanded(s.value,!c.value)},[P(`span`,{id:D(u),class:`property-name font-code text-sm [font-weight:var(--scalar-bold)]`},T(D(t)(`operation.headers`)),9,ikn)]),P(`span`,{id:D(d),class:`screenreader-only`},T(f.value),9,akn),c.value?(j(),N(D(MB),{key:0,id:D(l),class:`property-children mt-1.5 mb-0.5`,closeOnRail:``,depth:2,onClose:p[2]||=e=>D(i).setExpanded(s.value,!1)},{default:O(()=>[P(`ul`,okn,[(j(!0),M(L,null,jr(n.value,(t,n)=>(j(),N(rkn,{key:n,breadcrumb:o.value,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.expandAllSchemaProperties,expansion:D(i),header:t,hideModelNames:e.hideModelNames,hideModels:e.hideModels,name:n,orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy,schemaKeyboardNav:e.schemaKeyboardNav,scrollTargetId:e.scrollTargetId,showExtensions:e.showExtensions,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`document`,`eventBus`,`expandAllSchemaProperties`,`expansion`,`header`,`hideModelNames`,`hideModels`,`name`,`orderRequiredPropertiesFirst`,`orderSchemaPropertiesBy`,`schemaKeyboardNav`,`scrollTargetId`,`showExtensions`,`specificationExtension`]))),128))])]),_:1},8,[`id`])):I(``,!0)],32))}});js(),su(),iu();var I3=e=>e!==void 0,ckn=({parameter:e,schemaExamples:t,contentExamples:n})=>{let r=`examples`in e&&As(e.examples)?e.examples:{};if(`in`in e&&e.in===`querystring`){let i=Object.values({...As(n)?n:{},...r}).map(e=>{let t=H(e);return As(t)?t.dataValue===void 0?t.serializedValue??t.value:t.dataValue:t}).filter(I3);return i.length?i.map(e=>({value:e})):(e.example===void 0?t??[]:[e.example]).filter(I3).map(e=>({value:e}))}let i=Object.values({...r,...As(n)?n:{}}).map(e=>{let t=H(e);return As(t)&&(`dataValue`in t||`serializedValue`in t)?{value:au(t)?.value}:e}).filter(I3),a=i.length===0&&`example`in e&&e.example!==void 0?[e.example]:[],o=(t??a).filter(I3);return[...i,...o]};B(),Ts(),fG(),mB(),jV(),yB(),iH(),Xz(),oH(),iu(),Q4();var lkn=[`id`],ukn={class:`parameter-item-name min-w-0`},dkn={class:`text-c-2 text-xs`},fkn={key:0,class:`text-c-danger text-xs`},pkn={key:2,class:`flex-1`},mkn={key:1,class:`text-c-2 text-sm`},hkn=k({__name:`ParameterListItem`,props:{parameter:{},name:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{},scrollTargetId:{},specificationExtension:{},expansion:{}},emits:[`update:selectedContentType`],setup(e,{emit:t}){let n=t,{translate:r}=Z4(),i=z(()=>!!e.collapsableItems&&`in`in e.parameter),a=E(!1),o=z(()=>`schema`in e.parameter&&e.parameter.schema?H(e.parameter.schema)??null:null),s=z(()=>!(`content`in e.parameter)||!e.parameter.content||Object.keys(e.parameter.content).length===0?null:e.parameter.content),c=E(Object.keys(s.value||{})[0]??``);dr(c,e=>{n(`update:selectedContentType`,e)});let l=z(()=>`headers`in e.parameter&&e.parameter.headers?e.parameter.headers:null),u=z(()=>s.value?s.value[c.value]?.schema??s.value[c.value]?.itemSchema:`schema`in e.parameter&&e.parameter.schema?e.parameter.schema:null),d=z(()=>{let e=u.value;return e&&`$ref`in e?pB(e.$ref):null}),f=z(()=>{let t=u.value,n=s.value?H(t):o.value,r=`deprecated`in e.parameter?e.parameter.deprecated:o.value?.deprecated,i=ckn({parameter:e.parameter,schemaExamples:o.value?.examples,contentExamples:s.value?.[c.value]?.examples});return{...n,deprecated:r,examples:i}}),p=[`allOf`,`oneOf`,`anyOf`,`not`],m=e=>{if(!e||typeof e!=`object`)return!1;let t=rH(e)??e;return!!((`properties`in t||`additionalProperties`in t)&&(t.properties||t.patternProperties||t.additionalProperties)||p.some(e=>{let n=t[e];return Array.isArray(n)?n.length>0:!!n})||vB(t))},h=z(()=>!!(i.value&&(e.parameter.description||o.value)||s.value||l.value||m(f.value)||a.value)),g=z(()=>!!e.collapsableItems&&!h.value),_=z(()=>!!e.collapsableItems&&h.value),v=z(()=>e.collapsableItems&&!g.value&&e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:e.breadcrumb),y=z(()=>e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:e.breadcrumb),b=z(()=>kOn(v.value?.join(`.`))),x=z(()=>e.collapsableItems&&!g.value?v.value?.join(`.`):void 0);return(t,n)=>(j(),M(`li`,{id:i.value?x.value:void 0,class:lt([`parameter-item group/parameter-item parameter-item--tree border-t-0!`,{"scroll-mt-24":i.value}])},[R(D(_s),{defaultOpen:b.value},{default:O(({open:o,close:u})=>[e.collapsableItems&&!g.value?(j(),N(Ar(h.value?D(vs):`div`),{key:0,id:i.value?void 0:x.value,class:lt([`parameter-item-trigger group/trigger group/tree-control scroll-mt-24 focus-visible:rounded-(--scalar-radius) focus-visible:outline-(length:--scalar-border-width) focus-visible:outline-offset-2 focus-visible:outline-(--scalar-focus-color)`,{"parameter-item-trigger-open":o}])},{default:O(()=>[P(`div`,ukn,[h.value?(j(),N(D(AB),{key:0,anchor:`line`,class:`parameter-item-glyph`,open:o},null,8,[`open`])):I(``,!0),P(`div`,null,[R(D(aH),{preset:`property`,text:e.name},null,8,[`text`])])]),i.value?(j(),M(L,{key:0},[P(`span`,dkn,T(D(AV)(f.value)),1),`required`in e.parameter&&e.parameter.required?(j(),M(`div`,fkn,T(D(r)(`schema.required`)),1)):I(``,!0)],64)):I(``,!0),!o&&e.parameter.description?(j(),N(D(Yz),{key:1,truncated:a.value,"onUpdate:truncated":n[0]||=e=>a.value=e,class:`parameter-item-description-summary min-w-0 flex-1`,controlled:``,value:e.parameter.description},null,8,[`truncated`,`value`])):(j(),M(`div`,pkn))]),_:2},1032,[`id`,`class`])):I(``,!0),(j(),N(Ar(_.value?D(MB):D(ys)),oi(_.value?{as:D(ys),depth:1,closeOnRail:!0,onClose:u}:{},{class:[`parameter-item-container parameter-item-container-markdown`,{"parameter-item-container--tree mt-1.5 mb-0.5 ps-[var(--schema-gutter,16px)]!":_.value,"parameter-item-container--static-tree":g.value}],static:!e.collapsableItems||g.value}),{default:O(()=>[e.collapsableItems&&!g.value&&e.parameter.description?(j(),N(D(Jz),{key:0,class:lt([`parameter-item-description`,{"mt-0!":_.value}]),value:e.parameter.description},null,8,[`class`,`value`])):I(``,!0),s.value?.[c.value]?.itemSchema&&!s.value?.[c.value]?.schema?(j(),M(`p`,mkn,T(D(r)(`common.streamItem`)),1)):I(``,!0),R(D(vH),{is:`div`,breadcrumb:v.value,compact:``,description:e.collapsableItems&&!g.value?``:e.parameter.description,eventBus:e.eventBus,expansion:e.expansion,extensionSource:`in`in e.parameter?e.parameter:void 0,hideWriteOnly:!0,modelName:d.value,name:e.collapsableItems&&!g.value?``:e.name,noncollapsible:!0,options:{hideWriteOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,schemaKeyboardNav:e.options.schemaKeyboardNav,showExtensions:e.options.showExtensions,hideModels:e.options.hideModels,hideModelNames:e.options.hideModelNames,document:e.document},required:`required`in e.parameter&&e.parameter.required,schema:f.value,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`description`,`eventBus`,`expansion`,`extensionSource`,`modelName`,`name`,`options`,`required`,`schema`,`scrollTargetId`,`specificationExtension`]),s.value?.[c.value]?.schema&&s.value?.[c.value]?.itemSchema?(j(),N(D(vH),{key:2,is:`div`,compact:``,eventBus:e.eventBus,expansion:e.expansion,name:D(r)(`common.streamItem`),noncollapsible:!0,options:{...e.options,hideWriteOnly:!0,document:e.document},schema:D(H)(s.value[c.value]?.itemSchema),scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`eventBus`,`expansion`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])):I(``,!0),A(t.$slots,`default`,{},void 0,!0),l.value?(j(),N(skn,{key:3,breadcrumb:y.value,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.options.expandAllSchemaProperties,expansion:e.expansion,headers:l.value,hideModelNames:e.options.hideModelNames,hideModels:e.options.hideModels,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,schemaKeyboardNav:e.options.schemaKeyboardNav,scrollTargetId:e.scrollTargetId,showExtensions:e.options.showExtensions,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`document`,`eventBus`,`expandAllSchemaProperties`,`expansion`,`headers`,`hideModelNames`,`hideModels`,`orderRequiredPropertiesFirst`,`orderSchemaPropertiesBy`,`schemaKeyboardNav`,`scrollTargetId`,`showExtensions`,`specificationExtension`])):I(``,!0)]),_:3},16,[`class`,`static`])),h.value&&s.value?(j(),M(`div`,{key:1,class:lt([`absolute top-[calc(10px+0.5lh)] right-0 z-0 flex -translate-y-1/2 items-center text-base`,{"opacity-0 group-focus-within/parameter-item:opacity-100 group-hover/parameter-item:opacity-100":!o}])},[n[2]||=P(`div`,{class:`from-b-1 absolute inset-y-0 -left-6 -z-1 w-8 bg-linear-to-l from-40% to-transparent`},null,-1),R(nkn,{modelValue:c.value,"onUpdate:modelValue":n[1]||=e=>c.value=e,content:s.value},null,8,[`modelValue`,`content`])],2)):I(``,!0)]),_:3},8,[`defaultOpen`])],10,lkn))}});e3();var gkn=$4(hkn,[[`__scopeId`,`data-v-7704214c`]]);B();var _kn={key:0,class:`mt-6`},vkn=[`aria-labelledby`],L3=k({__name:`ParameterList`,props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=xr(),{level:n}=_3(`operationSection`);return(r,i)=>e.parameters?.length?(j(),M(`div`,_kn,[R(D(g3),{id:D(t),class:`text-c-1 parameter-list-title--tree mt-3 mb-1.5 block! text-lg leading-[1.45] font-medium`,level:D(n),rule:``},{default:O(()=>[A(r.$slots,`title`)]),_:3},8,[`id`,`level`]),P(`ul`,{"aria-labelledby":D(t),class:`mb-3 list-none p-0 text-sm`,role:`list`},[(j(!0),M(L,null,jr(e.parameters,t=>(j(),N(gkn,{key:t.name,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,expansion:e.expansion,name:t.name,options:e.options,parameter:t,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},{default:O(()=>[A(r.$slots,`parameter-details`,{parameter:t})]),_:2},1032,[`breadcrumb`,`collapsableItems`,`document`,`eventBus`,`expansion`,`name`,`options`,`parameter`,`scrollTargetId`,`specificationExtension`]))),128))],8,vkn)])):I(``,!0)}});B(),dH(),Q4();var ykn={key:0,class:`async-api-labels flex flex-wrap items-center`},bkn={class:`sr-only`},xkn={class:`sr-only`},Skn=k({__name:`AsyncApiLabels`,props:{servers:{default:()=>[]},protocols:{default:()=>[]}},setup(e){let{translate:t}=Z4(),n=z(()=>e.servers.length>0||e.protocols.length>0);return(r,i)=>n.value?(j(),M(`div`,ykn,[e.servers.length?(j(),M(L,{key:0},[P(`span`,bkn,T(D(t)(`asyncapi.servers`))+`:`,1),(j(!0),M(L,null,jr(e.servers,e=>(j(),N(D(uH),{key:`server-${e}`,class:`async-api-label--server`,title:e},{default:O(()=>[F(T(e),1)]),_:2},1032,[`title`]))),128))],64)):I(``,!0),e.protocols.length?(j(),M(L,{key:1},[P(`span`,xkn,T(D(t)(`asyncapi.protocols`))+`:`,1),(j(!0),M(L,null,jr(e.protocols,e=>(j(),N(D(uH),{key:`protocol-${e}`,class:`async-api-label--protocol`,title:e},{default:O(()=>[F(T(e),1)]),_:2},1032,[`title`]))),128))],64)):I(``,!0)])):I(``,!0)}});e3();var Ckn=$4(Skn,[[`__scopeId`,`data-v-8c3d15b8`]]),wkn=(e,t)=>(e??[]).filter(e=>e.type===t);vG();var Tkn=e=>{let t=_G(e);return t?.kind===`schema`?t.schema:void 0};lV(),iH(),du(),js(),hG();var Ekn=(e,t)=>{let n=/^\$message\.(header|payload)(?:#(.*))?$/.exec(t);if(!n)return;let r=n[1]===`header`?`headers`:`payload`,i=Tkn(mG(e[r]));if(i)try{let e=decodeURIComponent(n[2]??``);if(e!==``&&!e.startsWith(`/`)||/~(?:[^01]|$)/.test(e))return;let t=e===``?[]:e.slice(1).split(`/`).map(uu);if(t.some(e=>!e||e.includes(`.`)))return;let a=new Set,o=t.reduce((e,n,r)=>{let i=mG(e);if(!V(i)||a.has(i))return;a.add(i);let o=rH(i);if(!cV(o)||!o.properties)return;let s=t.slice(r).join(`.`);return!Object.keys(o.properties).some(e=>e.includes(`.`)&&(s===e||s.startsWith(`${e}.`)))&&Object.hasOwn(o.properties,n)?o.properties[n]:void 0},i);return V(mG(o))?{section:r,path:t}:void 0}catch{return}},R3=(...e)=>{for(let t of e){let e=t?.trim();if(e)return e}return``};jH(),IH(),AZt(),Kl(),B();var z3=k({inheritAttrs:!1,__name:`ScalarVirtualCodeBlock`,props:{content:{},label:{default:`Code sample`},lang:{default:`plaintext`},copy:{type:[String,Boolean],default:`hover`},lineHeight:{default:20}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),M(`div`,ut(ei(D(t)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0`))),[R(fJ,{"aria-label":e.label,containerClass:`custom-scroll overflow-auto flex flex-1 max-h-screen`,contentClass:`language-plaintext whitespace-pre font-code text-base p-2`,lineHeight:e.lineHeight,role:`region`,text:e.content},null,8,[`aria-label`,`lineHeight`,`text`]),e.copy?(j(),N(FH,{key:0,class:lt([`scalar-code-copy absolute top-2.5 right-2.5`,[{"opacity-100":e.copy===`always`}]]),content:e.content,lang:e.lang,showLang:!0},{backdrop:O(()=>[R(AH,{class:`scalar-code-copy-backdrop -top-1 -right-1.5`})]),_:1},8,[`class`,`content`,`lang`])):I(``,!0)],16))}}),Dkn=(e,t,n=` #`)=>{if(!t(e))return e;let r=e.split(n);return Dkn(r.length>1?`${r.slice(0,-1).join()}${n}${Number(r.at(-1))+1}`:`${r.join()}${n}2`,t,n)};B(),hX(),kH(),dG(),Xz(),hG(),Q4();var Okn={key:0,class:`min-w-0 grow`},kkn={key:0,class:`text-c-1 font-medium`},Akn={key:0,class:`text-c-2 px-3 py-2 text-sm`},jkn={class:`flex min-w-0 flex-wrap items-center gap-x-2`},Mkn=k({__name:`MessageExamples`,props:{examples:{default:()=>[]},generatedPayload:{},contentType:{}},setup(e){let{translate:t}=Z4(),n=z(()=>{let n=(e.generatedPayload===void 0?e.examples:[...e.examples,{name:t(`schema.example`),summary:void 0,payload:e.generatedPayload}]).flatMap((e,n)=>{let r=mG(e);return!r||r.payload===void 0?[]:[{key:String(n),example:r,label:r.name||`${t(`schema.example`)} ${n+1}`}]}),r=new Set(n.flatMap(({example:e})=>e.name?[e.name]:[]));return n.map(e=>{let t=e.example.name||Dkn(e.label,e=>r.has(e));return r.add(t),{...e,label:t}})}),r=E(``);dr(n,e=>{e.some(({key:e})=>e===r.value)||(r.value=e[0]?.key??``)},{immediate:!0});let i=z(()=>n.value.find(({key:e})=>e===r.value)),a=z(()=>xG(i.value?.example.payload,e.contentType)),o=z(()=>Object.fromEntries(n.value.map(({key:e,label:t})=>[e,{summary:t}]))),s=z(()=>n.value.length>1);return(e,n)=>a.value||e.$slots.footer?(j(),N(D(wH),{key:0,class:`min-w-0 self-start text-base`,label:D(t)(`schema.examples`)},{default:O(()=>[!e.$slots.footer&&(s.value||i.value?.example.name||i.value?.example.summary)?(j(),N(D(OH),{key:0,class:`text-c-2 px-3 py-[7px] font-normal [&_.scalar-card-header-title]:whitespace-normal`},Mr({default:O(()=>[i.value?.example.name||i.value?.example.summary?(j(),M(`div`,Okn,[i.value.example.name?(j(),M(`div`,kkn,T(i.value.label),1)):I(``,!0),i.value.example.summary?(j(),N(D(Jz),{key:1,class:`mt-1 text-base [&_*]:m-0`,value:i.value.example.summary},null,8,[`value`])):I(``,!0)])):I(``,!0)]),_:2},[s.value?{name:`actions`,fn:O(()=>[R(D(xH),{modelValue:r.value,"onUpdate:modelValue":n[0]||=e=>r.value=e,"aria-label":`${D(t)(`schema.examples`)}: ${i.value?.label??``}`,class:`-m-1 shrink-0 px-0`,examples:o.value},null,8,[`modelValue`,`aria-label`,`examples`])]),key:`0`}:void 0]),1024)):I(``,!0),a.value?(j(),N(D(TH),{key:1,class:`flex-col`},{default:O(()=>[a.value.structural?(j(),M(`div`,Akn,` Structure only; not encoded `)):I(``,!0),a.value.content.length>2e4?(j(),N(D(z3),{key:1,class:`bg-b-2`,content:a.value.content,label:`Payload`,lang:a.value.lang},null,8,[`content`,`lang`])):(j(),N(D(uG),{key:2,class:`bg-b-2`,copyLabel:`Copy payload`,label:`Payload`,lang:a.value.lang,prettyPrintedContent:a.value.content},null,8,[`lang`,`prettyPrintedContent`]))]),_:1})):(j(),N(D(TH),{key:2,class:`text-c-2 p-3 text-sm`},{default:O(()=>[...n[2]||=[F(` No payload example available. `,-1)]]),_:1})),e.$slots.footer?(j(),N(D(DH),{key:3,class:`flex shrink-0 flex-col items-stretch gap-1 px-3 py-[7px]`},{default:O(()=>[P(`div`,jkn,[A(e.$slots,`footer`),s.value?(j(),N(D(xH),{key:0,modelValue:r.value,"onUpdate:modelValue":n[1]||=e=>r.value=e,"aria-label":`${D(t)(`schema.examples`)}: ${i.value?.label??``}`,class:`-m-1 shrink-0 px-0`,examples:o.value},null,8,[`modelValue`,`aria-label`,`examples`])):I(``,!0)]),i.value?.example.summary?(j(),N(D(Jz),{key:0,class:`text-c-1 text-(length:--scalar-small) [font-weight:var(--scalar-semibold)] [&_*]:m-0`,value:i.value.example.summary},null,8,[`value`])):I(``,!0)]),_:3})):I(``,!0)]),_:3},8,[`label`])):I(``,!0)}});B(),dG(),zH(),js();var Nkn={class:`min-w-0`},Pkn={class:`text-c-2 font-code mb-2 text-sm break-all`},Fkn=k({__name:`SchemaSource`,props:{value:{},format:{}},setup(e){let t=z(()=>typeof e.value==`string`?e.value:V(e.value)||Array.isArray(e.value)?LH(e.value):String(e.value)),n=z(()=>typeof e.value==`string`?`plaintext`:`json`);return(r,i)=>(j(),M(`div`,Nkn,[P(`div`,Pkn,T(e.format),1),t.value.length>2e4?(j(),N(D(z3),{key:0,class:`bg-b-2`,content:t.value,lang:n.value},null,8,[`content`,`lang`])):(j(),N(D(uG),{key:1,class:`bg-b-2`,lang:n.value,prettyPrintedContent:t.value},null,8,[`lang`,`prettyPrintedContent`]))]))}});B(),hX(),fG(),Xz(),hG(),vG();var Ikn={class:`space-y-4 pt-2 pb-4`},Lkn={class:`message-layout`},Rkn={key:0,class:`message-schemas min-w-0 space-y-4`},zkn={key:0,class:`text-c-1 [overflow-wrap:anywhere]`},Bkn={key:2,class:`message-schema`},Vkn=[`href`],Hkn={class:`break-all`},Ukn={key:2,class:`text-c-2 mt-2 block text-sm break-all`},Wkn=[`id`],Gkn=[`id`],Kkn={class:`message-schema-title flex flex-wrap items-baseline justify-between gap-2`},qkn={key:0},Jkn={key:1},Ykn={key:2,class:`text-c-2 text-sm font-normal break-all`},Xkn=k({__name:`Message`,props:{parent:{default:`operation`},inline:{type:Boolean,default:!1},hideExamples:{type:Boolean,default:!1},message:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})},scrollTargetId:{default:``},specificationExtension:{},expansion:{}},setup(e){let t=xr(),n=z(()=>e.inline?`reply-${t}`:e.message.id),r=Cr(`section`),i=z(()=>{if(!e.inline||!e.eventBus)return e.eventBus;let t=rY();return t.on(`copy-url:nav-item`,({id:t})=>{e.eventBus.emit(`copy-url:nav-item`,{id:e.message.id+t.slice(n.value.length)})}),t.on(`scroll-to:model-by-name`,t=>e.eventBus.emit(`scroll-to:model-by-name`,t)),t});l3(r,()=>!e.inline&&e.eventBus?.emit(`intersecting:nav-item`,{id:e.message.id}));let a=z(()=>J4(e.document,e.message.channelName,e.message.messageName)),o=z(()=>a.value?.contentType??e.document.defaultContentType),s=z(()=>R3(a.value?.title,a.value?.summary,e.message.title,e.message.messageName)),c=z(()=>{let e=a.value?.summary?.trim()??``;return a.value?.description?.trim()||e===s.value?``:e}),l=z(()=>a.value?.description??``),u=z(()=>ekn(e.document)),d=z(()=>_G(a.value?.payload)),f=z(()=>_G(a.value?.headers)),p=z(()=>mG(a.value?.correlationId)),m=z(()=>a.value&&p.value?.location?Ekn(a.value,p.value.location):void 0),h=z(()=>m.value?[n.value,m.value.section,...m.value.path]:void 0),g=z(()=>h.value?.join(`.`)),_=z(()=>g.value?`#${encodeURIComponent(g.value)}`:void 0),v=E(``),y=z(()=>e.scrollTargetId||v.value),b=t=>{let n=g.value;n&&(t.preventDefault(),e.eventBus&&!e.inline?e.eventBus.emit(`scroll-to:nav-item`,{id:n}):(v.value=n,e.expansion?.commitPath(n),nr(()=>{let e=r.value?.ownerDocument.getElementById(n);e?.scrollIntoView({block:`start`}),e?.focus({preventScroll:!0})})))},x=z(()=>({hideReadOnly:!1,...wwn(e.options),linkablePropertyPath:h.value})),ee=E(e.inline?!1:e.expandedItems[e.message.id]??!1);dr(()=>e.expandedItems[e.message.id],t=>{!e.inline&&t!==void 0&&(ee.value=t)});let te=t=>{ee.value=t,e.inline||e.eventBus?.emit(`toggle:nav-item`,{id:e.message.id,open:t})},ne=z(()=>a.value?bG(a.value):void 0),{level:re}=_3(e.parent===`channel`?`channelMessage`:`message`);return(t,m)=>(j(),M(`div`,{ref_key:`section`,ref:r,class:`message`},[R(D(RTn),{id:n.value,label:s.value,modelValue:ee.value,onCopyAnchorUrl:m[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.message.id}),"onUpdate:modelValue":te},{heading:O(()=>[R(D(g3),{class:`message-title break-words`,level:D(re)},{default:O(()=>[F(T(s.value),1)]),_:1},8,[`level`])]),default:O(()=>[P(`div`,Ikn,[P(`div`,Lkn,[c.value||l.value||a.value?.bindings||a.value?.externalDocs||p.value||f.value||d.value||o.value?(j(),M(`div`,Rkn,[c.value?(j(),M(`p`,zkn,T(c.value),1)):I(``,!0),l.value?(j(),N(D(Jz),{key:1,class:`message-description`,value:l.value,withImages:``},null,8,[`value`])):I(``,!0),R(o3,{bindings:a.value?.bindings,class:`mt-3`,options:e.options,scope:`message`},null,8,[`bindings`,`options`]),R(a3,{owner:{externalDocs:a.value?.externalDocs}},null,8,[`owner`]),p.value?(j(),M(`div`,Bkn,[m[1]||=P(`div`,{class:`message-schema-title`},`Correlation ID`,-1),p.value.description?(j(),N(D(Jz),{key:0,value:p.value.description,withImages:``},null,8,[`value`])):I(``,!0),_.value?(j(),M(`a`,{key:1,class:`text-c-2 hover:text-c-1 mt-2 block w-fit max-w-full rounded text-sm underline focus-visible:outline`,href:_.value,onClick:b},[P(`code`,Hkn,T(p.value.location),1)],8,Vkn)):p.value.location?(j(),M(`code`,Ukn,T(p.value.location),1)):I(``,!0)])):I(``,!0),f.value?(j(),M(`div`,{key:3,id:`${n.value}.headers`,class:`message-schema`,tabindex:`-1`},[m[2]||=P(`div`,{class:`message-schema-title`},`Headers`,-1),f.value.kind===`schema`?(j(),N(D(HV),{key:0,breadcrumb:[n.value,`headers`],compact:``,eventBus:i.value,expansion:e.expansion,name:`Headers`,noncollapsible:``,options:x.value,schema:u.value(a.value?.headers)??f.value.schema,scrollTargetId:y.value,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`eventBus`,`expansion`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])):(j(),N(Fkn,{key:1,format:f.value.format,value:f.value.value},null,8,[`format`,`value`]))],8,Wkn)):I(``,!0),d.value||o.value?(j(),M(`div`,{key:4,id:`${n.value}.payload`,class:`message-payload min-w-0`,tabindex:`-1`},[P(`div`,Kkn,[d.value?(j(),M(`span`,qkn,`Payload`)):(j(),M(`span`,Jkn,`Content type`)),o.value?(j(),M(`span`,Ykn,T(o.value),1)):I(``,!0)]),d.value?.kind===`schema`?(j(),N(D(HV),{key:0,breadcrumb:[n.value,`payload`],compact:``,eventBus:i.value,expansion:e.expansion,name:`Payload`,noncollapsible:``,options:x.value,schema:u.value(a.value?.payload)??d.value.schema,scrollTargetId:y.value,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`eventBus`,`expansion`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])):d.value?(j(),N(Fkn,{key:1,format:d.value.format,value:d.value.value},null,8,[`format`,`value`])):I(``,!0)],8,Gkn)):I(``,!0)])):I(``,!0),e.hideExamples?I(``,!0):(j(),N(Mkn,{key:1,class:`message-examples`,contentType:o.value,examples:a.value?.examples,generatedPayload:ee.value?ne.value:void 0},null,8,[`contentType`,`examples`,`generatedPayload`]))])])]),_:1},8,[`id`,`label`,`modelValue`])],512))}});e3();var Zkn=$4(Xkn,[[`__scopeId`,`data-v-80db3925`]]);B();var Qkn={key:0,class:`mt-8`},$kn=k({__name:`ChannelMessages`,props:{channel:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=z(()=>wkn(e.channel.children,`asyncapi-message`)),n=z(()=>e.channel.children?.some(e=>e.type===`asyncapi-operation`)),{level:r}=_3(`channelMessages`);return(i,a)=>t.value.length?(j(),M(`div`,Qkn,[R(D(g3),{class:`text-c-1 mb-3 block! text-base leading-[1.45] font-medium`,level:D(r)},{default:O(()=>[F(T(n.value?`Other Channel Messages`:`Messages`),1)]),_:1},8,[`level`]),(j(!0),M(L,null,jr(t.value,t=>(j(),N(Zkn,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,message:t,options:e.options,parent:`channel`,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`eventBus`,`expandedItems`,`expansion`,`message`,`options`,`scrollTargetId`,`specificationExtension`]))),128))])):I(``,!0)}});B(),oH();var eAn={key:0},tAn=k({__name:`OperationPath`,props:{path:{},deprecated:{type:Boolean}},setup(e){let t=e,n=e=>e.startsWith(`{`)&&e.endsWith(`}`),r=z(()=>t.path.split(/({[^}]+})/));return(t,i)=>(j(),M(`span`,{class:lt([`operation-path`,{deprecated:e.deprecated}])},[(j(!0),M(L,null,jr(r.value,(e,t)=>(j(),M(L,{key:t},[n(e)?(j(),M(`em`,eAn,[R(D(aH),{preset:`property`,text:e},null,8,[`text`])])):(j(),N(D(aH),{key:1,text:e},null,8,[`text`]))],64))),128))],2))}});e3();var B3=$4(tAn,[[`__scopeId`,`data-v-58ef65df`]]);B(),XGt(),Q4();var nAn={class:`min-w-0 space-y-3 text-left text-sm`},rAn={class:`space-y-3`},iAn={class:`text-c-1 border-b pb-2 text-base leading-[1.45] font-medium`},aAn={class:`group/address flex items-center gap-2`},oAn={class:`font-code min-w-0 text-sm [overflow-wrap:anywhere] whitespace-pre-wrap`},sAn=k({__name:`ChannelMetadata`,props:{address:{}},setup(e){let{translate:t}=Z4(),n=z(()=>e.address??t(`asyncapi.unknownAddress`));return(r,i)=>(j(),M(`div`,nAn,[P(`dl`,rAn,[P(`dt`,iAn,T(D(t)(`asyncapi.address`)),1),P(`dd`,aAn,[P(`code`,oAn,[R(B3,{class:`text-c-1 [&_em]:text-c-2 font-normal! [&_em]:font-medium [&_em]:not-italic`,path:n.value},null,8,[`path`])]),e.address==null?I(``,!0):(j(),N(D(NH),{key:0,class:`m-0 shrink-0 opacity-0 group-hover/address:opacity-100 focus-visible:opacity-100`,content:e.address},{copy:O(()=>[...i[0]||=[F(`Copy address`,-1)]]),_:1},8,[`content`]))])])]))}});B(),Mw(),Qs(),ZB(),jT(),Q4();var cAn={"aria-live":`polite`},lAn=k({__name:`CopyMarkdownButton`,props:{getMarkdown:{type:Function}},setup(e){let{translate:t}=Z4(),{toast:n}=JB(),r=E(!1),i=E(!1),a=E(!0),o=z(()=>r.value?Vs:Hs),s=z(()=>r.value?t(`actions.copied`):t(`actions.copyAsMarkdown`));Zt(()=>a.value=!1);let{start:c,stop:l}=xtt(()=>r.value=!1,1e3,{immediate:!1});dr(()=>e.getMarkdown,()=>{l(),r.value=!1});let u=async()=>{if(!i.value){i.value=!0,r.value=!1;try{if(!navigator.clipboard)throw Error(`Clipboard is unavailable`);let t=e.getMarkdown,n=t();if(typeof ClipboardItem<`u`&&navigator.clipboard?.write){let e=n.then(e=>new Blob([e],{type:`text/plain`}));e.catch(()=>void 0),await navigator.clipboard.write([new ClipboardItem({"text/plain":e})])}else await navigator.clipboard.writeText(await n);a.value&&e.getMarkdown===t&&(r.value=!0,c())}catch{a.value&&n(t(`actions.copyMarkdownFailed`),`error`)}finally{i.value=!1}}};return(e,t)=>(j(),N(D(jw),{class:`h-6 shrink-0 px-2`,disabled:i.value,icon:o.value,size:`sm`,variant:`outlined`,onClick:Ka(u,[`stop`])},{default:O(()=>[P(`span`,cAn,T(s.value),1)]),_:1},8,[`disabled`,`icon`]))}}),V3,H3,U3=s((()=>{FY(),V3=()=>{let e=PY(),t=new Map,n=new Set;return{get:(r,i,a=i)=>{let o=JSON.stringify([r,i]),s=t.get(o);if(s!==void 0)return s;let c=`scalar-${r}-${a}`,l=e.slug(c);for(;n.has(l);)l=e.slug(c);return n.add(l),t.set(o,l),l}}},H3=e=>({type:`html`,value:`<a id="${e}"></a>`})})),W3,G3,K3,q3,J3,Y3,X3,Z3,Q3,$3,e6,t6,n6=s((()=>{W3=e=>({type:`text`,value:String(e??``).replace(/[\t\n\f\r ]+/g,` `)}),G3=e=>({type:`inlineCode`,value:String(e??``)}),K3=(...e)=>({type:`paragraph`,children:e}),q3=(...e)=>({type:`strong`,children:e}),J3=(...e)=>({type:`emphasis`,children:e}),Y3=(e,...t)=>({type:`heading`,depth:e,children:t}),X3=(...e)=>({type:`listItem`,spread:!1,children:e}),Z3=e=>({type:`list`,ordered:!1,spread:!1,children:e}),Q3=e=>{let t=e.replace(/[\u0000-\u0020\u007f-\u009f]/g,``),n=/^([^/?#]*):/.exec(t)?.[1];return n&&![`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`].includes(n.toLowerCase())?``:e},$3=(e,t)=>({type:`link`,url:Q3(e),children:[W3(t)]}),e6=(e,t)=>X3(K3(q3(W3(`${e}:`)),W3(`\xA0`),t)),t6=e=>typeof e==`string`&&e.trim()?[{type:`descriptionPlaceholder`,value:e}]:[]}));function uAn(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var dAn=s((()=>{})),r6=s((()=>{}));function i6(e){return e!==null&&(e<32||e===127)}function a6(e){return e!==null&&e<-2}function o6(e){return e!==null&&(e<0||e===32)}function s6(e){return e===-2||e===-1||e===32}function c6(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}var l6,u6,fAn,d6,pAn,mAn,f6,p6,m6=s((()=>{l6=c6(/[A-Za-z]/),u6=c6(/[\dA-Za-z]/),fAn=c6(/[#-'*+\--9=?A-Z^-~]/),d6=c6(/\d/),pAn=c6(/[\dA-Fa-f]/),mAn=c6(/[!-/:-@[-`{-~]/),f6=c6(/\p{P}|\p{S}/u),p6=c6(/\s/)}));function hAn(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var gAn=s((()=>{}));function _An(e){let t=[],n=-1;for(;++n<e.length;)t[n]=g6(e[n]);return h6(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function vAn(e){let t=e;return h6(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function yAn(e){return h6(t);function t(t){return t&&t.type===e}}function h6(e){return t;function t(t,n,r){return!!(xAn(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function bAn(){return!0}function xAn(e){return typeof e==`object`&&!!e&&`type`in e}var g6,SAn=s((()=>{g6=(function(e){if(e==null)return bAn;if(typeof e==`function`)return h6(e);if(typeof e==`object`)return Array.isArray(e)?_An(e):vAn(e);if(typeof e==`string`)return yAn(e);throw Error(`Expected function, string, or object as test`)})})),_6=s((()=>{SAn()}));function CAn(e){return e}var wAn=s((()=>{}));function TAn(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=g6(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+CAn(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=DAn,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=EAn(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function EAn(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?DAn:[e]}var DAn,OAn,kAn=s((()=>{_6(),wAn(),DAn=[],OAn=`skip`})),AAn=s((()=>{kAn()}));function jAn(e,t,n){let r=g6((n||{}).ignore||[]),i=MAn(t),a=-1;for(;++a<i.length;)TAn(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function MAn(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([NAn(e[0]),PAn(e[1])])}return t}function NAn(e){return typeof e==`string`?new RegExp(hAn(e),`g`):e}function PAn(e){return typeof e==`function`?e:function(){return e}}var FAn=s((()=>{gAn(),AAn(),_6()})),IAn=s((()=>{FAn()}));function LAn(){return{transforms:[GAn],enter:{literalAutolink:zAn,literalAutolinkEmail:BAn,literalAutolinkHttp:BAn,literalAutolinkWww:BAn},exit:{literalAutolink:WAn,literalAutolinkEmail:UAn,literalAutolinkHttp:VAn,literalAutolinkWww:HAn}}}function RAn(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:v6,notInConstruct:y6},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:v6,notInConstruct:y6},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:v6,notInConstruct:y6}]}}function zAn(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function BAn(e){this.config.enter.autolinkProtocol.call(this,e)}function VAn(e){this.config.exit.autolinkProtocol.call(this,e)}function HAn(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function UAn(e){this.config.exit.autolinkEmail.call(this,e)}function WAn(e){this.exit(e)}function GAn(e){jAn(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,KAn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,qAn]],{ignore:[`link`,`linkReference`]})}function KAn(e,t,n,r,i){let a=``;if(!XAn(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!JAn(n)))return!1;let o=YAn(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function qAn(e,t,n,r){return!XAn(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function JAn(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function YAn(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=uAn(e,`(`),a=uAn(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function XAn(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||p6(n)||f6(n))&&(!t||n!==47)}var v6,y6,ZAn=s((()=>{dAn(),r6(),m6(),IAn(),v6=`phrasing`,y6=[`autolink`,`link`,`image`,`label`]})),QAn=s((()=>{ZAn()}));function b6(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var x6=s((()=>{}));function $An(){return{enter:{gfmFootnoteDefinition:tjn,gfmFootnoteDefinitionLabelString:njn,gfmFootnoteCall:ajn,gfmFootnoteCallString:ojn},exit:{gfmFootnoteDefinition:ijn,gfmFootnoteDefinitionLabelString:rjn,gfmFootnoteCall:cjn,gfmFootnoteCallString:sjn}}}function ejn(){return{unsafe:[{character:`[`,inConstruct:[`phrasing`,`label`,`reference`]}],handlers:{footnoteDefinition:djn,footnoteReference:ljn}}}function tjn(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function njn(){this.buffer()}function rjn(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=b6(this.sliceSerialize(e)).toLowerCase()}function ijn(e){this.exit(e)}function ajn(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function ojn(){this.buffer()}function sjn(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=b6(this.sliceSerialize(e)).toLowerCase()}function cjn(e){this.exit(e)}function ljn(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),o(),a+=i.move(`]`),a}function ujn(){return`[`}function djn(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteDefinition`),s=n.enter(`label`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),a+=i.move(`]:`+(e.children&&e.children.length>0?` `:``)),i.shift(4),a+=i.move(n.indentLines(n.containerFlow(e,i.current()),fjn)),o(),a}function fjn(e,t,n){return t===0?e:(n?``:` `)+e}var pjn=s((()=>{r6(),x6(),ljn.peek=ujn})),mjn=s((()=>{pjn()}));function hjn(){return{canContainEols:[`delete`],enter:{strikethrough:_jn},exit:{strikethrough:vjn}}}function gjn(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:xjn}],handlers:{delete:yjn}}}function _jn(e){this.enter({type:`delete`,children:[]},e)}function vjn(e){this.exit(e)}function yjn(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function bjn(){return`~`}var xjn,Sjn=s((()=>{xjn=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],yjn.peek=bjn})),Cjn=s((()=>{Sjn()}));function wjn(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||Ejn,i=[],a=[],o=[],s=[],c=0,l=-1;for(;++l<e.length;){let n=[],i=[],u=-1;for(e[l].length>c&&(c=e[l].length);++u<e[l].length;){let a=Tjn(e[l][u]);if(t.alignDelimiters!==!1){let e=r(a);i[u]=e,(s[u]===void 0||e>s[u])&&(s[u]=e)}n.push(a)}a[l]=n,o[l]=i}let u=-1;if(typeof n==`object`&&`length`in n)for(;++u<c;)i[u]=Djn(n[u]);else{let e=Djn(n);for(;++u<c;)i[u]=e}u=-1;let d=[],f=[];for(;++u<c;){let e=i[u],n=``,r=``;e===99?(n=`:`,r=`:`):e===108?n=`:`:e===114&&(r=`:`);let a=t.alignDelimiters===!1?1:Math.max(1,s[u]-n.length-r.length),o=n+`-`.repeat(a)+r;t.alignDelimiters!==!1&&(a=n.length+a+r.length,a>s[u]&&(s[u]=a),f[u]=a),d[u]=o}a.splice(1,0,d),o.splice(1,0,f),l=-1;let p=[];for(;++l<a.length;){let e=a[l],n=o[l];u=-1;let r=[];for(;++u<c;){let a=e[u]||``,o=``,l=``;if(t.alignDelimiters!==!1){let e=s[u]-(n[u]||0),t=i[u];t===114?o=` `.repeat(e):t===99?e%2?(o=` `.repeat(e/2+.5),l=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),l=o):l=` `.repeat(e)}t.delimiterStart!==!1&&!u&&r.push(`|`),t.padding!==!1&&(t.alignDelimiters!==!1||a!==``)&&(t.delimiterStart!==!1||u)&&r.push(` `),t.alignDelimiters!==!1&&r.push(o),r.push(a),t.alignDelimiters!==!1&&r.push(l),t.padding!==!1&&r.push(` `),(t.delimiterEnd!==!1||u!==c-1)&&r.push(`|`)}p.push(t.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return p.join(`
+`)}function Tjn(e){return e==null?``:String(e)}function Ejn(e){return e.length}function Djn(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var Ojn=s((()=>{}));function kjn(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&Ajn.call(t,e)){let n=String(t[e]);i=Ajn.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Ajn,jjn=s((()=>{Ajn={}.hasOwnProperty}));function Mjn(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Mjn(e,t.extensions[n]);for(r in t)if(Fjn.call(t,r))switch(r){case`extensions`:break;case`unsafe`:Njn(e[r],t[r]);break;case`join`:Njn(e[r],t[r]);break;case`handlers`:Pjn(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function Njn(e,t){t&&e.push(...t)}function Pjn(e,t){t&&Object.assign(e,t)}var Fjn,Ijn=s((()=>{Fjn={}.hasOwnProperty}));function Ljn(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),Rjn);return i(),o}function Rjn(e,t,n){return`>`+(n?``:` `)+e}var zjn=s((()=>{}));function Bjn(e,t){return Vjn(e,t.inConstruct,!0)&&!Vjn(e,t.notInConstruct,!1)}function Vjn(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}var Hjn=s((()=>{}));function Ujn(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
+`&&Bjn(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
+`}var Wjn=s((()=>{Hjn()}));function Gjn(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}var Kjn=s((()=>{}));function qjn(e,t){return!(t.options.fences!==!1||!e.value||e.lang||!/[^ \r\n]/.test(e.value)||/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}var Jjn=s((()=>{}));function Yjn(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}var Xjn=s((()=>{}));function Zjn(e,t,n,r){let i=Yjn(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(qjn(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,Qjn);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(Gjn(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
+`,encode:["`"],...s.current()})),t()}return u+=s.move(`
+`),a&&(u+=s.move(a+`
+`)),u+=s.move(c),l(),u}function Qjn(e,t,n){return(n?``:` `)+e}var $jn=s((()=>{Kjn(),Jjn(),Xjn()}));function eMn(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}var tMn=s((()=>{}));function nMn(e,t,n,r){let i=eMn(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
+`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}var rMn=s((()=>{tMn()}));function iMn(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}var aMn=s((()=>{}));function oMn(e,t,n,r){let i=iMn(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i),a(),s}function sMn(e,t,n){return n.options.emphasis||`*`}var cMn=s((()=>{aMn(),oMn.peek=sMn}));function S6(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),TAn(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var lMn=s((()=>{AAn()})),C6=s((()=>{lMn()}));function w6(e,t){let n=t||pMn;return uMn(e,typeof n.includeImageAlt!=`boolean`||n.includeImageAlt,typeof n.includeHtml!=`boolean`||n.includeHtml)}function uMn(e,t,n){if(fMn(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return dMn(e.children,t,n)}return Array.isArray(e)?dMn(e,t,n):``}function dMn(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=uMn(e[i],t,n);return r.join(``)}function fMn(e){return!!(e&&typeof e==`object`)}var pMn,mMn=s((()=>{pMn={}})),T6=s((()=>{mMn()}));function hMn(e,t){let n=!1;return S6(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&w6(e)&&(t.options.setext||n))}var gMn=s((()=>{C6(),T6()}));function _Mn(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(hMn(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
+`,after:`
+`});return r(),t(),o+`
+`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
+`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
+`,...a.current()});return/^[\t ]/.test(l)&&(l=`&#x`+l.charCodeAt(0).toString(16).toUpperCase()+`;`+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}var vMn=s((()=>{gMn()}));function yMn(e){return e.value||``}function bMn(){return`<`}var xMn=s((()=>{yMn.peek=bMn}));function SMn(e,t,n,r){let i=eMn(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function CMn(){return`!`}var wMn=s((()=>{tMn(),SMn.peek=CMn}));function TMn(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function EMn(){return`!`}var DMn=s((()=>{TMn.peek=EMn}));function OMn(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function kMn(){return"`"}var AMn=s((()=>{OMn.peek=kMn}));function jMn(e,t){let n=w6(e);return!(t.options.resourceLink||!e.url||e.title||!e.children||e.children.length!==1||e.children[0].type!==`text`||n!==e.url&&`mailto:`+n!==e.url||!/^[a-z][a-z+.-]+:/i.test(e.url)||/[\0- <>\u007F]/.test(e.url))}var MMn=s((()=>{T6()}));function NMn(e,t,n,r){let i=eMn(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(jMn(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function PMn(e,t,n){return jMn(e,n)?`<`:`[`}var FMn=s((()=>{tMn(),MMn(),NMn.peek=PMn}));function IMn(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function LMn(){return`[`}var RMn=s((()=>{IMn.peek=LMn}));function zMn(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}var BMn=s((()=>{}));function VMn(e){let t=zMn(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}var HMn=s((()=>{BMn()}));function UMn(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}var WMn=s((()=>{}));function GMn(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}var KMn=s((()=>{}));function qMn(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?UMn(n):zMn(n),s=e.ordered?o===`.`?`)`:`.`:VMn(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),GMn(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}var JMn=s((()=>{BMn(),HMn(),WMn(),KMn()}));function YMn(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}var XMn=s((()=>{}));function ZMn(e,t,n,r){let i=YMn(n),a=n.bulletCurrent||zMn(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}var QMn=s((()=>{BMn(),XMn()}));function $Mn(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var eNn=s((()=>{})),tNn,nNn=s((()=>{_6(),tNn=g6([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`])})),rNn=s((()=>{nNn()}));function iNn(e,t,n,r){return(e.children.some(function(e){return tNn(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}var aNn=s((()=>{rNn()}));function oNn(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}var sNn=s((()=>{}));function cNn(e,t,n,r){let i=oNn(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i+i),a(),s}function lNn(e,t,n){return n.options.strong||`*`}var uNn=s((()=>{sNn(),cNn.peek=lNn}));function dNn(e,t,n,r){return n.safe(e.value,r)}var fNn=s((()=>{}));function pNn(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}var mNn=s((()=>{}));function hNn(e,t,n){let r=(GMn(n)+(n.options.ruleSpaces?` `:``)).repeat(pNn(n));return n.options.ruleSpaces?r.slice(0,-1):r}var gNn=s((()=>{mNn(),KMn()})),E6,_Nn=s((()=>{zjn(),Wjn(),$jn(),rMn(),cMn(),vMn(),xMn(),wMn(),DMn(),AMn(),FMn(),RMn(),JMn(),QMn(),eNn(),aNn(),uNn(),fNn(),gNn(),E6={blockquote:Ljn,break:Ujn,code:Zjn,definition:nMn,emphasis:oMn,hardBreak:Ujn,heading:_Mn,html:yMn,image:SMn,imageReference:TMn,inlineCode:OMn,link:NMn,linkReference:IMn,list:qMn,listItem:ZMn,paragraph:$Mn,root:iNn,strong:cNn,text:dNn,thematicBreak:hNn}}));function vNn(e,t,n,r){if(t.type===`code`&&qjn(t,r)&&(e.type===`list`||e.type===t.type&&qjn(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`)return e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&hMn(t,r))?void 0:+!!n.spread}var yNn,bNn=s((()=>{Jjn(),gMn(),yNn=[vNn]})),D6,xNn,SNn=s((()=>{D6=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],xNn=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
+`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`!`,after:`\\[`,inConstruct:`phrasing`,notInConstruct:D6},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
+]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:D6},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
+*])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:D6},{atBreak:!0,character:`+`,after:`(?:[ \r
+])`},{atBreak:!0,character:`-`,after:`(?:[ \r
+-])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
+]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:D6},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:D6},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:D6},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:D6},{atBreak:!0,character:`~`}]}));function CNn(e){let t=`&`+e+`;`;wNn.innerHTML=t;let n=wNn.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`?!1:n!==t&&n}var wNn,O6=s((()=>{wNn=document.createElement(`i`)}));function TNn(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}var ENn=s((()=>{}));function DNn(e){return e.replace(kNn,ONn)}function ONn(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return TNn(n.slice(t?2:1),t?16:10)}return CNn(n)||e}var kNn,ANn=s((()=>{O6(),ENn(),kNn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi}));function jNn(e){return e.label||!e.identifier?e.label||``:DNn(e.identifier)}var MNn=s((()=>{ANn()}));function NNn(e){if(!e._compiled){let t=(e.atBreak?`[\\r\\n][\\t ]*`:``)+(e.before?`(?:`+e.before+`)`:``);e._compiled=RegExp((t?`(`+t+`)`:``)+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?`\\`:``)+e.character+(e.after?`(?:`+e.after+`)`:``),`g`)}return e._compiled}var PNn=s((()=>{}));function FNn(e,t,n){let r=t.indexStack,i=e.children||[],a=[],o=-1,s=n.before;r.push(-1);let c=t.createTracker(n);for(;++o<i.length;){let l=i[o],u;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[o+1],e,t,{before:``,after:``,...c.current()}).charAt(0):``}else u=n.after;a.length>0&&(s===`\r`||s===`
+`)&&l.type===`html`&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/,` `),s=` `,c=t.createTracker(n),c.move(a.join(``))),a.push(c.move(t.handle(l,e,t,{...c.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join(``)}var INn=s((()=>{}));function LNn(e,t,n){let r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,o.push(a.move(t.handle(n,e,t,{before:`
+`,after:`
+`,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(RNn(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function RNn(e,t,n,r){let i=r.join.length;for(;i--;){let a=r.join[i](e,t,n,r);if(a===!0||a===1)break;if(typeof a==`number`)return`
+`.repeat(1+a);if(a===!1)return`
+
+<!---->
+
+`}return`
+
+`}var zNn=s((()=>{}));function BNn(e,t){let n=[],r=0,i=0,a;for(;a=VNn.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join(``);function o(e){n.push(t(e,i,!e))}}var VNn,HNn=s((()=>{VNn=/\r?\n|\r/g}));function UNn(e,t,n){let r=(n.before||``)+(t||``)+(n.after||``),i=[],a=[],o={},s=-1;for(;++s<e.unsafe.length;){let t=e.unsafe[s];if(!Bjn(e.stack,t))continue;let n=e.compilePattern(t),a;for(;a=n.exec(r);){let e=`before`in t||!!t.atBreak,n=`after`in t,r=a.index+(e?a[1].length:0);i.includes(r)?(o[r].before&&!e&&(o[r].before=!1),o[r].after&&!n&&(o[r].after=!1)):(i.push(r),o[r]={before:e,after:n})}}i.sort(WNn);let c=n.before?n.before.length:0,l=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){let e=i[s];e<c||e>=l||e+1<l&&i[s+1]===e+1&&o[e].after&&!o[e+1].before&&!o[e+1].after||i[s-1]===e-1&&o[e].before&&!o[e-1].before&&!o[e-1].after||(c!==e&&a.push(GNn(r.slice(c,e),`\\`)),c=e,/[!-/:-@[-`{-~]/.test(r.charAt(e))&&(!n.encode||!n.encode.includes(r.charAt(e)))?a.push(`\\`):(a.push(`&#x`+r.charCodeAt(e).toString(16).toUpperCase()+`;`),c++))}return a.push(GNn(r.slice(c,l),n.after)),a.join(``)}function WNn(e,t){return e-t}function GNn(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t,o=-1,s=0,c;for(;c=n.exec(a);)r.push(c.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push(`\\`),s=r[o];return i.push(e.slice(s)),i.join(``)}var KNn=s((()=>{Hjn()}));function qNn(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:c,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(e){r+=e}function c(e){let t=e||``,n=t.split(/\r?\n|\r/g),o=n[n.length-1];return i+=n.length-1,a=n.length===1?a+o.length:1+o.length+r,t}}var JNn=s((()=>{}));function YNn(e,t={}){let n={enter:i,indentLines:BNn,associationId:jNn,containerPhrasing:$Nn,containerFlow:ePn,createTracker:qNn,compilePattern:NNn,safe:tPn,stack:[],unsafe:[...xNn],join:[...yNn],handlers:{...E6},options:{},indexStack:[],handle:void 0};Mjn(n,t),n.options.tightDefinitions&&n.join.push(QNn),n.handle=kjn(`type`,{invalid:XNn,unknown:ZNn,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:`
+`,after:`
+`,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=`
+`),r;function i(e){return n.stack.push(e),t;function t(){n.stack.pop()}}}function XNn(e){throw Error("Cannot handle value `"+e+"`, expected node")}function ZNn(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function QNn(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function $Nn(e,t){return FNn(e,this,t)}function ePn(e,t){return LNn(e,this,t)}function tPn(e,t){return UNn(this,e,t)}var nPn=s((()=>{jjn(),Ijn(),_Nn(),bNn(),SNn(),MNn(),PNn(),INn(),zNn(),HNn(),KNn(),JNn()})),rPn=s((()=>{nPn(),_Nn()}));function iPn(){return{enter:{table:aPn,tableData:lPn,tableHeader:lPn,tableRow:sPn},exit:{codeText:uPn,table:oPn,tableData:cPn,tableHeader:cPn,tableRow:cPn}}}function aPn(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function oPn(e){this.exit(e),this.data.inTable=void 0}function sPn(e){this.enter({type:`tableRow`,children:[]},e)}function cPn(e){this.exit(e)}function lPn(e){this.enter({type:`tableCell`,children:[]},e)}function uPn(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,dPn));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function dPn(e,t){return t===`|`?t:e}function fPn(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
+`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
+`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return wjn(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=E6.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}var pPn=s((()=>{r6(),Ojn(),rPn()})),mPn=s((()=>{pPn()}));function hPn(){return{exit:{taskListCheckValueChecked:_Pn,taskListCheckValueUnchecked:_Pn,paragraph:vPn}}}function gPn(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:yPn}}}function _Pn(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function vPn(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function yPn(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=E6.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}var bPn=s((()=>{r6(),rPn()})),xPn=s((()=>{bPn()}));function SPn(){return[LAn(),$An(),hjn(),iPn(),hPn()]}function CPn(e){return{extensions:[RAn(),ejn(),gjn(),fPn(e),gPn()]}}var wPn=s((()=>{QAn(),mjn(),Cjn(),mPn(),xPn()})),TPn=s((()=>{wPn()}));function k6(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function A6(e,t){return e.length>0?(k6(e,e.length,0,t),e):t}var j6=s((()=>{}));function EPn(e){let t={},n=-1;for(;++n<e.length;)DPn(t,e[n]);return t}function DPn(e,t){let n;for(n in t){let r=(kPn.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){kPn.call(r,a)||(r[a]=[]);let e=i[a];OPn(r[a],Array.isArray(e)?e:e?[e]:[])}}}function OPn(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);k6(e,0,0,r)}var kPn,APn=s((()=>{j6(),kPn={}.hasOwnProperty}));function jPn(){return{text:N6}}function MPn(e,t,n){let r=this,i,a;return o;function o(t){return!UPn(t)||!HPn.call(r,r.previous)||WPn(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return UPn(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(YPn,u,l)(t):t===45||t===95||u6(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&l6(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function NPn(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!BPn.call(r,r.previous)||WPn(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(GPn,e.attempt(KPn,e.attempt(qPn,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function PPn(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&VPn.call(r,r.previous)&&!WPn(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(l6(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||i6(t)||o6(t)||p6(t)||f6(t)?n(t):e.attempt(KPn,e.attempt(qPn,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function FPn(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function IPn(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(JPn,c,s)(t):t===null||o6(t)||p6(t)||t!==45&&f6(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function LPn(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(JPn,t,a)(o):o===null||o6(o)||p6(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function RPn(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||o6(o)||p6(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||o6(e)||p6(e)?t(e):r(e)}function a(e){return l6(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):l6(t)?(e.consume(t),o):n(t)}}function zPn(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return u6(e)?n(e):t(e)}}function BPn(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||o6(e)}function VPn(e){return!l6(e)}function HPn(e){return!(e===47||UPn(e))}function UPn(e){return e===43||e===45||e===46||e===95||u6(e)}function WPn(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var GPn,KPn,qPn,JPn,YPn,XPn,ZPn,M6,N6,P6,QPn=s((()=>{for(m6(),GPn={tokenize:FPn,partial:!0},KPn={tokenize:IPn,partial:!0},qPn={tokenize:LPn,partial:!0},JPn={tokenize:RPn,partial:!0},YPn={tokenize:zPn,partial:!0},XPn={tokenize:NPn,previous:BPn},ZPn={tokenize:PPn,previous:VPn},M6={tokenize:MPn,previous:HPn},N6={},P6=48;P6<123;)N6[P6]=M6,P6++,P6===58?P6=65:P6===91&&(P6=97);N6[43]=M6,N6[45]=M6,N6[46]=M6,N6[95]=M6,N6[72]=[M6,ZPn],N6[104]=[M6,ZPn],N6[87]=[M6,XPn],N6[119]=[M6,XPn]})),$Pn=s((()=>{QPn(),m6()}));function F6(e){if(e===null||o6(e)||p6(e))return 1;if(f6(e))return 2}var eFn=s((()=>{m6()}));function I6(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var L6=s((()=>{}));function tFn(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);rFn(d,-c),rFn(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:Object.assign({},e[r][1].end)},s={type:c>1?`strongSequence`:`emphasisSequence`,start:Object.assign({},e[n][1].start),end:f},a={type:c>1?`strongText`:`emphasisText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:c>1?`strong`:`emphasis`,start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=A6(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=A6(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=A6(l,I6(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=A6(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=A6(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,k6(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function nFn(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=F6(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=F6(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function rFn(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var R6,iFn=s((()=>{j6(),eFn(),L6(),R6={name:`attention`,tokenize:nFn,resolveAll:tFn}}));function aFn(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return l6(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||u6(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||u6(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||i6(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):fAn(t)?(e.consume(t),l):n(t)}function u(e){return u6(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||u6(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var oFn,sFn=s((()=>{m6(),oFn={name:`autolink`,tokenize:aFn}}));function z6(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return s6(r)?(e.enter(n),s(r)):t(r)}function s(r){return s6(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var B6=s((()=>{m6()}));function cFn(e,t,n){return r;function r(t){return s6(t)?z6(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||a6(e)?t(e):n(e)}}var V6,lFn=s((()=>{B6(),m6(),V6={tokenize:cFn,partial:!0}}));function uFn(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return s6(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function dFn(e,t,n){let r=this;return i;function i(t){return s6(t)?z6(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(pFn,t,n)(r)}}function fFn(e){e.exit(`blockQuote`)}var pFn,mFn=s((()=>{B6(),m6(),pFn={name:`blockQuote`,tokenize:uFn,continuation:{tokenize:dFn},exit:fFn}}));function hFn(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return mAn(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var gFn,_Fn=s((()=>{m6(),gFn={name:`characterEscape`,tokenize:hFn}}));function vFn(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=u6,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=pAn,u):(e.enter(`characterReferenceValue`),a=7,o=d6,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===u6&&!CNn(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var yFn,bFn=s((()=>{O6(),m6(),yFn={name:`characterReference`,tokenize:vFn}}));function xFn(e,t,n){let r=this,i={tokenize:x,partial:!0},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),s6(t)?z6(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||a6(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(CFn,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||a6(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):s6(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),z6(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||a6(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||a6(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&s6(t)?z6(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||a6(t)?e.check(CFn,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||a6(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),s6(t)?z6(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),s6(t)?z6(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||a6(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function SFn(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var CFn,wFn,TFn=s((()=>{B6(),m6(),CFn={tokenize:SFn,partial:!0},wFn={name:`codeFenced`,tokenize:xFn,concrete:!0}}));function EFn(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),z6(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):a6(t)?e.attempt(OFn,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||a6(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function DFn(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):a6(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):z6(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):a6(e)?i(e):n(e)}}var H6,OFn,kFn=s((()=>{B6(),m6(),H6={name:`codeIndented`,tokenize:EFn},OFn={tokenize:DFn,partial:!0}}));function AFn(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function jFn(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function MFn(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):a6(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||a6(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var NFn,PFn=s((()=>{m6(),NFn={name:`codeText`,tokenize:MFn,resolve:AFn,previous:jFn}}));function U6(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}var FFn,IFn=s((()=>{FFn=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&U6(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),U6(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),U6(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0)){if(e<this.left.length){let t=this.left.splice(e,1/0);U6(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);U6(this.left,t.reverse())}}}}}));function LFn(e){let t={},n=-1,r,i,a,o,s,c,l,u=new FFn(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,RFn(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`);)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);i&&(r[1].end=Object.assign({},u.get(i)[1].start),s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return k6(e,0,1/0,u.slice(0)),!l}function RFn(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var zFn=s((()=>{j6(),IFn()}));function BFn(e){return LFn(e),e}function VFn(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):a6(t)?e.check(WFn,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function HFn(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),z6(e,a,`linePrefix`)}function a(i){if(i===null||a6(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}var UFn,WFn,GFn=s((()=>{B6(),m6(),zFn(),UFn={tokenize:VFn,resolve:BFn},WFn={tokenize:HFn,partial:!0}}));function KFn(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||i6(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||a6(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||o6(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||i6(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}var qFn=s((()=>{m6()}));function JFn(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):a6(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||a6(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!s6(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}var YFn=s((()=>{m6()}));function XFn(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):a6(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),z6(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||a6(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}var ZFn=s((()=>{B6(),m6()}));function W6(e,t){let n;return r;function r(i){return a6(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):s6(i)?z6(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var QFn=s((()=>{B6(),m6()}));function $Fn(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return JFn.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=b6(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return o6(t)?W6(e,l)(t):l(t)}function l(t){return KFn(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(nIn,d,d)(t)}function d(t){return s6(t)?z6(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||a6(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function eIn(e,t,n){return r;function r(t){return o6(t)?W6(e,i)(t):n(t)}function i(t){return XFn(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return s6(t)?z6(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||a6(e)?t(e):n(e)}}var tIn,nIn,rIn=s((()=>{qFn(),YFn(),B6(),ZFn(),QFn(),m6(),x6(),tIn={name:`definition`,tokenize:$Fn},nIn={tokenize:eIn,partial:!0}}));function iIn(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return a6(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var aIn,oIn=s((()=>{m6(),aIn={name:`hardBreakEscape`,tokenize:iIn}}));function sIn(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},k6(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function cIn(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||o6(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||a6(n)?(e.exit(`atxHeading`),t(n)):s6(n)?z6(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||o6(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var lIn,uIn=s((()=>{B6(),m6(),j6(),lIn={name:`headingAtx`,tokenize:cIn,resolve:sIn}})),dIn,fIn,pIn=s((()=>{dIn=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),fIn=[`pre`,`script`,`style`,`textarea`]}));function mIn(e){let t=e.length;for(;t--&&(e[t][0]!==`enter`||e[t][1].type!==`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function hIn(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:pe):l6(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):l6(a)?(e.consume(a),i=4,r.interrupt?t:pe):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:pe):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:oe:m):n(i)}function h(t){return l6(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||o6(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&fIn.includes(l)?(i=1,r.interrupt?t(s):oe(s)):dIn.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):oe(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||u6(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:oe):n(i)}function v(t){return s6(t)?(e.consume(t),v):ie(t)}function y(t){return t===47?(e.consume(t),ie):t===58||t===95||l6(t)?(e.consume(t),b):s6(t)?(e.consume(t),y):ie(t)}function b(t){return t===45||t===46||t===58||t===95||u6(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),ee):s6(t)?(e.consume(t),x):y(t)}function ee(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,te):s6(t)?(e.consume(t),ee):ne(t)}function te(t){return t===c?(e.consume(t),c=null,re):t===null||a6(t)?n(t):(e.consume(t),te)}function ne(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||o6(t)?x(t):(e.consume(t),ne)}function re(e){return e===47||e===62||s6(e)?y(e):n(e)}function ie(t){return t===62?(e.consume(t),ae):n(t)}function ae(t){return t===null||a6(t)?oe(t):s6(t)?(e.consume(t),ae):n(t)}function oe(t){return t===45&&i===2?(e.consume(t),S):t===60&&i===1?(e.consume(t),ue):t===62&&i===4?(e.consume(t),me):t===63&&i===3?(e.consume(t),pe):t===93&&i===5?(e.consume(t),fe):a6(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(yIn,he,se)(t)):t===null||a6(t)?(e.exit(`htmlFlowData`),se(t)):(e.consume(t),oe)}function se(t){return e.check(bIn,ce,he)(t)}function ce(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),le}function le(t){return t===null||a6(t)?se(t):(e.enter(`htmlFlowData`),oe(t))}function S(t){return t===45?(e.consume(t),pe):oe(t)}function ue(t){return t===47?(e.consume(t),o=``,de):oe(t)}function de(t){if(t===62){let n=o.toLowerCase();return fIn.includes(n)?(e.consume(t),me):oe(t)}return l6(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),de):oe(t)}function fe(t){return t===93?(e.consume(t),pe):oe(t)}function pe(t){return t===62?(e.consume(t),me):t===45&&i===2?(e.consume(t),pe):oe(t)}function me(t){return t===null||a6(t)?(e.exit(`htmlFlowData`),he(t)):(e.consume(t),me)}function he(n){return e.exit(`htmlFlow`),t(n)}}function gIn(e,t,n){let r=this;return i;function i(t){return a6(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function _In(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(V6,t,n)}}var vIn,yIn,bIn,xIn=s((()=>{m6(),pIn(),lFn(),vIn={name:`htmlFlow`,tokenize:hIn,resolveTo:mIn,concrete:!0},yIn={tokenize:_In,partial:!0},bIn={tokenize:gIn,partial:!0}}));function SIn(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):l6(t)?(e.consume(t),ne):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):l6(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):a6(t)?(o=d,ue(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?S(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):a6(t)?(o=h,ue(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?S(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?S(t):a6(t)?(o=v,ue(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):a6(t)?(o=y,ue(t)):(e.consume(t),y)}function b(e){return e===62?S(e):y(e)}function x(t){return l6(t)?(e.consume(t),ee):n(t)}function ee(t){return t===45||u6(t)?(e.consume(t),ee):te(t)}function te(t){return a6(t)?(o=te,ue(t)):s6(t)?(e.consume(t),te):S(t)}function ne(t){return t===45||u6(t)?(e.consume(t),ne):t===47||t===62||o6(t)?re(t):n(t)}function re(t){return t===47?(e.consume(t),S):t===58||t===95||l6(t)?(e.consume(t),ie):a6(t)?(o=re,ue(t)):s6(t)?(e.consume(t),re):S(t)}function ie(t){return t===45||t===46||t===58||t===95||u6(t)?(e.consume(t),ie):ae(t)}function ae(t){return t===61?(e.consume(t),oe):a6(t)?(o=ae,ue(t)):s6(t)?(e.consume(t),ae):re(t)}function oe(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,se):a6(t)?(o=oe,ue(t)):s6(t)?(e.consume(t),oe):(e.consume(t),ce)}function se(t){return t===i?(e.consume(t),i=void 0,le):t===null?n(t):a6(t)?(o=se,ue(t)):(e.consume(t),se)}function ce(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||o6(t)?re(t):(e.consume(t),ce)}function le(e){return e===47||e===62||o6(e)?re(e):n(e)}function S(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function ue(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),de}function de(t){return s6(t)?z6(e,fe,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):fe(t)}function fe(t){return e.enter(`htmlTextData`),o(t)}}var CIn,wIn=s((()=>{B6(),m6(),CIn={name:`htmlText`,tokenize:SIn}}));function TIn(e){let t=-1;for(;++t<e.length;){let n=e[t][1];(n.type===`labelImage`||n.type===`labelLink`||n.type===`labelEnd`)&&(e.splice(t+1,n.type===`labelImage`?4:2),n.type=`data`,t++)}return e}function EIn(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:`label`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},u={type:`labelText`,start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[[`enter`,c,t],[`enter`,l,t]],s=A6(s,e.slice(a+1,a+r+3)),s=A6(s,[[`enter`,u,t]]),s=A6(s,I6(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=A6(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=A6(s,e.slice(o+1)),s=A6(s,[[`exit`,c,t]]),k6(e,a,e.length,s),e}function DIn(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(b6(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(jIn,u,o?u:d)(t):t===91?e.attempt(MIn,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(NIn,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function OIn(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return o6(t)?W6(e,a)(t):a(t)}function a(t){return t===41?u(t):KFn(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return o6(t)?W6(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?XFn(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return o6(t)?W6(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function kIn(e,t,n){let r=this;return i;function i(t){return JFn.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(b6(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function AIn(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var G6,jIn,MIn,NIn,PIn=s((()=>{qFn(),YFn(),ZFn(),QFn(),m6(),j6(),x6(),L6(),G6={name:`labelEnd`,tokenize:DIn,resolveTo:EIn,resolveAll:TIn},jIn={tokenize:OIn},MIn={tokenize:kIn},NIn={tokenize:AIn}}));function FIn(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var IIn,LIn=s((()=>{PIn(),IIn={name:`labelStartImage`,tokenize:FIn,resolveAll:G6.resolveAll}}));function RIn(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var zIn,BIn=s((()=>{PIn(),zIn={name:`labelStartLink`,tokenize:RIn,resolveAll:G6.resolveAll}}));function VIn(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),z6(e,t,`linePrefix`)}}var K6,HIn=s((()=>{B6(),K6={name:`lineEnding`,tokenize:VIn}}));function UIn(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||a6(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),s6(t)?z6(e,s,`whitespace`)(t):s(t))}}var q6,WIn=s((()=>{B6(),m6(),q6={name:`thematicBreak`,tokenize:UIn}}));function GIn(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:d6(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(q6,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return d6(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(V6,r.interrupt?n:u,e.attempt(XIn,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return s6(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function KIn(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(V6,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,z6(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!s6(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ZIn,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,z6(e,e.attempt(J6,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function qIn(e,t,n){let r=this;return z6(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function JIn(e){e.exit(this.containerState.type)}function YIn(e,t,n){let r=this;return z6(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!s6(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var J6,XIn,ZIn,QIn=s((()=>{B6(),m6(),lFn(),WIn(),J6={name:`list`,tokenize:GIn,continuation:{tokenize:KIn},exit:JIn},XIn={tokenize:YIn,partial:!0},ZIn={tokenize:qIn,partial:!0}}));function $In(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push([`exit`,o,t]),e}function eLn(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),s6(t)?z6(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||a6(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var tLn,nLn=s((()=>{B6(),m6(),tLn={name:`setextUnderline`,tokenize:eLn,resolveTo:$In}})),rLn=s((()=>{iFn(),sFn(),lFn(),mFn(),_Fn(),bFn(),TFn(),kFn(),PFn(),GFn(),rIn(),oIn(),uIn(),xIn(),wIn(),PIn(),LIn(),BIn(),HIn(),QIn(),nLn(),WIn()}));function iLn(){return{document:{91:{tokenize:cLn,continuation:{tokenize:lLn},exit:uLn}},text:{91:{tokenize:sLn},93:{add:`after`,tokenize:aLn,resolveTo:oLn}}}}function aLn(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=b6(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function oLn(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function sLn(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||o6(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(b6(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return o6(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function cLn(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||o6(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=b6(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return o6(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),z6(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function lLn(e,t,n){return e.check(V6,t,e.attempt(fLn,t,n))}function uLn(e){e.exit(`gfmFootnoteDefinition`)}function dLn(e,t,n){let r=this;return z6(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}var fLn,pLn=s((()=>{rLn(),B6(),m6(),x6(),fLn={tokenize:dLn,partial:!0}})),mLn=s((()=>{pLn(),m6()}));function hLn(e){let t=(e||{}).singleTilde,n={tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&k6(o,o.length,0,I6(s,e.slice(r+1,n),t)),k6(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),k6(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=F6(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=F6(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var gLn=s((()=>{j6(),eFn(),L6()})),_Ln=s((()=>{gLn()}));function vLn(e,t,n,r){let i=0;if(n!==0||r.length!==0){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}var yLn,bLn=s((()=>{yLn=class{constructor(){this.map=[]}add(e,t,n){vLn(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}}));function xLn(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}var SLn=s((()=>{}));function CLn(){return{flow:{null:{tokenize:wLn,resolveAll:TLn}}}}function wLn(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?ee:c;return a===ee&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124||(o=!0,a+=1),u(e)}function u(t){return t===null?n(t):a6(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):s6(t)?z6(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||o6(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,s6(t)?z6(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return s6(t)?z6(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||a6(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return s6(t)?z6(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||a6(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function ee(t){return e.enter(`tableRow`),te(t)}function te(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),te):n===null||a6(n)?(e.exit(`tableRow`),t(n)):s6(n)?z6(e,te,`whitespace`)(n):(e.enter(`data`),ne(n))}function ne(t){return t===null||t===124||o6(t)?(e.exit(`data`),te(t)):(e.consume(t),t===92?re:ne)}function re(t){return t===92||t===124?(e.consume(t),ne):ne(t)}}function TLn(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new yLn;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(ELn(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=Y6(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=Y6(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=Y6(f,t,o,i,n,d)):(o[0]=o[1],d=Y6(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&ELn(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=xLn(t.events,n))}return e}function Y6(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},X6(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=X6(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=X6(t.events,n[2]),a=X6(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},X6(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function ELn(e,t,n,r,i){let a=[],o=X6(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function X6(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var DLn=s((()=>{B6(),m6(),bLn(),SLn()})),OLn=s((()=>{DLn()}));function kLn(){return{text:{91:MLn}}}function ALn(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return o6(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return a6(r)?t(r):s6(r)?e.check({tokenize:jLn},t,n)(r):n(r)}}function jLn(e,t,n){return z6(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}var MLn,NLn=s((()=>{B6(),m6(),MLn={tokenize:ALn}})),PLn=s((()=>{NLn()}));function FLn(e){return EPn([jPn(),iLn(),hLn(e),CLn(),kLn()])}var ILn=s((()=>{APn(),$Pn(),mLn(),_Ln(),OLn(),PLn()}));function LLn(e){let t=this,n=e||RLn,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(FLn(n)),a.push(SPn()),o.push(CPn(n))}var RLn,zLn=s((()=>{TPn(),ILn(),RLn={}})),BLn=s((()=>{zLn()}));function VLn(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null)e.consume(n);else return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),z6(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null)e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);else return a6(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var HLn,ULn=s((()=>{B6(),m6(),HLn={tokenize:VLn}}));function WLn(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return k6(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!(!i.currentConstruct||i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(qLn,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(qLn,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null)i&&v(),_(0),e.consume(n);else return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{contentType:`flow`,previous:a,_tokenizer:i}),h(n)}function h(n){if(n===null)g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);else return a6(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},c),e++;k6(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-->r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function GLn(e,t,n){return z6(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}var KLn,qLn,JLn=s((()=>{B6(),m6(),j6(),KLn={tokenize:WLn},qLn={tokenize:GLn}}));function YLn(e){let t=this,n=e.attempt(V6,r,e.attempt(this.parser.constructs.flowInitial,i,z6(e,e.attempt(this.parser.constructs.flow,i,e.attempt(UFn,i)),`linePrefix`)));return n;function r(r){if(r===null)e.consume(r);else return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null)e.consume(r);else return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var XLn,ZLn=s((()=>{rLn(),B6(),XLn={tokenize:YLn}}));function QLn(e){return{tokenize:t,resolveAll:$Ln(e===`text`?eRn:void 0)};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null)t.consume(e);else return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function $Ln(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function eRn(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var tRn,nRn,rRn,iRn=s((()=>{tRn={resolveAll:$Ln()},nRn=QLn(`string`),rRn=QLn(`text`)}));function aRn(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},a=[],o=[],s=[],c={consume:v,enter:y,exit:b,attempt:te(x),check:te(ee),interrupt:te(ee,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:f,now:m,defineSkip:h,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=A6(o,e),g(),o[o.length-1]===null?(ne(t,0),l.events=I6(a,l.events,l),l.events):[]}function f(e,t){return sRn(p(e),t)}function p(e){return oRn(o,e)}function m(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:a}}function h(e){i[e.line]=e.column,ie()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){a6(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,ie()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){ne(e,t.from)}function ee(e,t){t.restore()}function te(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=re(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function ne(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&k6(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function re(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{restore:o,from:i};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,ie()}}function ie(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function oRn(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function sRn(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
+`;break;case-3:o=`\r
+`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}var cRn=s((()=>{m6(),j6(),L6()})),lRn=l({attentionMarkers:()=>_Rn,contentInitial:()=>dRn,disable:()=>vRn,document:()=>uRn,flow:()=>pRn,flowInitial:()=>fRn,insideSpan:()=>gRn,string:()=>mRn,text:()=>hRn}),uRn,dRn,fRn,pRn,mRn,hRn,gRn,_Rn,vRn,yRn=s((()=>{rLn(),iRn(),uRn={42:J6,43:J6,45:J6,48:J6,49:J6,50:J6,51:J6,52:J6,53:J6,54:J6,55:J6,56:J6,57:J6,62:pFn},dRn={91:tIn},fRn={[-2]:H6,[-1]:H6,32:H6},pRn={35:lIn,42:q6,45:[tLn,q6],60:vIn,61:tLn,95:q6,96:wFn,126:wFn},mRn={38:yFn,92:gFn},hRn={[-5]:K6,[-4]:K6,[-3]:K6,33:IIn,38:yFn,42:R6,60:[oFn,CIn],91:zIn,92:[aIn,gFn],93:G6,95:R6,96:NFn},gRn={null:[R6,tRn]},_Rn={null:[42,95]},vRn={null:[]}}));function bRn(e){let t={defined:[],lazy:{},constructs:EPn([lRn,...(e||{}).extensions||[]]),content:n(HLn),document:n(KLn),flow:n(XLn),string:n(nRn),text:n(rRn)};return t;function n(e){return n;function n(n){return aRn(t,e,n)}}}var xRn=s((()=>{APn(),ULn(),JLn(),ZLn(),iRn(),cRn(),yRn()}));function SRn(e){for(;!LFn(e););return e}var CRn=s((()=>{zFn()}));function wRn(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(TRn.lastIndex=u,c=TRn.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var TRn,ERn=s((()=>{TRn=/[\0\t\n\r]/g})),DRn=s((()=>{O6(),APn(),m6(),xRn(),CRn(),ERn()}));function Z6(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?kRn(e.position):`start`in e||`end`in e?kRn(e):`line`in e||`column`in e?ORn(e):``}function ORn(e){return ARn(e&&e.line)+`:`+ARn(e&&e.column)}function kRn(e){return ORn(e&&e.start)+`-`+ORn(e&&e.end)}function ARn(e){return e&&typeof e==`number`?e:1}var jRn=s((()=>{})),MRn=s((()=>{jRn()}));function NRn(e,t,n){return typeof t!=`string`&&(n=t,t=void 0),PRn(n)(SRn(bRn(n).document().write(wRn()(e,t,!0))))}function PRn(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Ae),autolinkProtocol:re,autolinkEmail:re,atxHeading:a(Ee),blockQuote:a(xe),characterEscape:re,characterReference:re,codeFenced:a(Se),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(Se,o),codeText:a(Ce,o),codeTextData:re,data:re,codeFlowValue:re,definition:a(we),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Te),hardBreakEscape:a(De),hardBreakTrailing:a(De),htmlFlow:a(Oe,o),htmlFlowData:re,htmlText:a(Oe,o),htmlTextData:re,image:a(ke),label:o,link:a(Ae),listItem:a(Me),listItemValue:f,listOrdered:a(je,d),listUnordered:a(je),paragraph:a(Ne),reference:ge,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Ee),strong:a(Pe),thematicBreak:a(Ie)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:be,autolinkProtocol:ye,blockQuote:c(),characterEscapeValue:ie,characterReferenceMarkerHexadecimal:_e,characterReferenceMarkerNumeric:_e,characterReferenceValue:ve,characterReference:w,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:ie,codeIndented:c(_),codeText:c(le),codeTextData:ie,data:ie,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(oe),hardBreakTrailing:c(oe),htmlFlow:c(se),htmlFlowData:ie,htmlText:c(ce),htmlTextData:ie,image:c(ue),label:fe,labelText:de,lineEnding:ae,link:c(S),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:C,resourceDestinationString:pe,resourceTitleString:me,resource:he,setextHeading:c(ne),setextHeadingLineSequence:te,setextHeadingText:ee,strong:c(),thematicBreak:c()}};FRn(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];RRn.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||LRn).call(a,void 0,e[0])}for(r.position={start:Q6(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Q6(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(t[1].type!==`linePrefix`&&t[1].type!==`blockQuotePrefix`&&t[1].type!==`blockQuotePrefixWhitespace`&&t[1].type!==`blockQuoteMarker`&&t[1].type!==`listItemIndent`)break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:Q6(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||LRn).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+Z6({start:e.start,end:e.end})+`): it’s not open`);n.position.end=Q6(e.end)}function u(){return w6(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=b6(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function te(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function ne(){this.data.setextHeadingSlurpLineEnding=void 0}function re(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Fe(),n.position={start:Q6(e.start),end:void 0},t.push(n)),this.stack.push(n)}function ie(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Q6(e.end)}function ae(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=Q6(e.end),this.data.atHardBreak=void 0}else!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(re.call(this,e),ie.call(this,e))}function oe(){this.data.atHardBreak=!0}function se(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ce(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function le(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function S(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ue(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function de(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=DNn(t),n.identifier=b6(t).toLowerCase()}function fe(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function pe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function me(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function he(){this.data.inReference=void 0}function ge(){this.data.referenceType=`collapsed`}function C(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=b6(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function _e(e){this.data.characterReferenceType=e.type}function ve(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=TNn(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=CNn(t);let i=this.stack[this.stack.length-1];i.value+=r}function w(e){let t=this.stack.pop();t.position.end=Q6(e.end)}function ye(e){ie.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function be(e){ie.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function xe(){return{type:`blockquote`,children:[]}}function Se(){return{type:`code`,lang:null,meta:null,value:``}}function Ce(){return{type:`inlineCode`,value:``}}function we(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function Te(){return{type:`emphasis`,children:[]}}function Ee(){return{type:`heading`,depth:0,children:[]}}function De(){return{type:`break`}}function Oe(){return{type:`html`,value:``}}function ke(){return{type:`image`,title:null,url:``,alt:null}}function Ae(){return{type:`link`,title:null,url:``,children:[]}}function je(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Me(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function Ne(){return{type:`paragraph`,children:[]}}function Pe(){return{type:`strong`,children:[]}}function Fe(){return{type:`text`,value:``}}function Ie(){return{type:`thematicBreak`}}}function Q6(e){return{line:e.line,column:e.column,offset:e.offset}}function FRn(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?FRn(e,r):IRn(e,r)}}function IRn(e,t){let n;for(n in t)if(RRn.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function LRn(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+Z6({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Z6({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+Z6({start:t.start,end:t.end})+`) is still open`)}var RRn,zRn=s((()=>{T6(),DRn(),ENn(),ANn(),x6(),O6(),MRn(),RRn={}.hasOwnProperty})),BRn=s((()=>{zRn()}));function VRn(e){let t=this;t.parser=n;function n(n){return NRn(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}var HRn=s((()=>{BRn()})),URn=s((()=>{HRn()}));function WRn(e){if(e)throw e}var GRn=s((()=>{})),KRn=c(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function qRn(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var JRn=s((()=>{}));function YRn(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a)r(a);else{for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?XRn(s,i)(...o):r(null,...o)}}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function XRn(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var ZRn=s((()=>{})),QRn=s((()=>{ZRn()})),$6,$Rn=s((()=>{MRn(),$6=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=Z6(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual,this.expected,this.note,this.url}},$6.prototype.file=``,$6.prototype.name=``,$6.prototype.reason=``,$6.prototype.message=``,$6.prototype.stack=``,$6.prototype.column=void 0,$6.prototype.line=void 0,$6.prototype.ancestors=void 0,$6.prototype.cause=void 0,$6.prototype.fatal=void 0,$6.prototype.place=void 0,$6.prototype.ruleId=void 0,$6.prototype.source=void 0})),ezn=s((()=>{$Rn()}));function tzn(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);e8(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function nzn(e){if(e8(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function rzn(e){e8(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}}else n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function izn(...e){let t=-1,n;for(;++t<e.length;)e8(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:azn(n)}function azn(e){e8(e);let t=e.codePointAt(0)===47,n=ozn(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function ozn(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(i!==o-1&&a!==1){if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1}i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function e8(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var t8,szn=s((()=>{t8={basename:tzn,dirname:nzn,extname:rzn,join:izn,sep:`/`}}));function czn(){return`/`}var lzn,uzn=s((()=>{lzn={cwd:czn}}));function dzn(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}var fzn=s((()=>{}));function pzn(e){if(typeof e==`string`)e=new URL(e);else if(!dzn(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return mzn(e)}function mzn(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var hzn=s((()=>{fzn()}));function gzn(e,t){if(e&&e.includes(t8.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+t8.sep+"`")}function _zn(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function vzn(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function yzn(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var n8,r8,bzn=s((()=>{ezn(),szn(),uzn(),hzn(),n8=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],r8=class{constructor(e){let t;t=e?dzn(e)?{path:e}:typeof e==`string`||yzn(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:lzn.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<n8.length;){let e=n8[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)n8.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?t8.basename(this.path):void 0}set basename(e){_zn(e,`basename`),gzn(e,`basename`),this.path=t8.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?t8.dirname(this.path):void 0}set dirname(e){vzn(this.basename,`dirname`),this.path=t8.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?t8.extname(this.path):void 0}set extname(e){if(gzn(e,`extname`),vzn(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=t8.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){dzn(e)&&(e=pzn(e)),_zn(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?t8.basename(this.path,this.extname):void 0}set stem(e){_zn(e,`stem`),gzn(e,`stem`),this.path=t8.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new $6(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}}})),xzn=s((()=>{bzn()})),Szn,Czn=s((()=>{Szn=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r})}));function wzn(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function Tzn(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function Ezn(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Dzn(e){if(!qRn(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function Ozn(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function i8(e){return kzn(e)?e:new r8(e)}function kzn(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function Azn(e){return typeof e==`string`||jzn(e)}function jzn(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var a8,Mzn,Nzn,o8,Pzn=s((()=>{GRn(),a8=d(KRn(),1),r6(),JRn(),QRn(),xzn(),Czn(),Mzn={}.hasOwnProperty,Nzn=class e extends Szn{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=YRn()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,a8.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(Ezn(`data`,this.frozen),this.namespace[e]=t,this):Mzn.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ezn(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=i8(e),n=this.parser||this.Parser;return wzn(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),wzn(`process`,this.parser||this.Parser),Tzn(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=i8(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);Azn(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),wzn(`processSync`,this.parser||this.Parser),Tzn(`processSync`,this.compiler||this.Compiler),this.process(e,r),Ozn(`processSync`,`process`,t),n;function r(e,r){t=!0,WRn(e),n=r}}run(e,t,n){Dzn(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=i8(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),Ozn(`runSync`,`run`,n),r;function i(e,t){WRn(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=i8(t),r=this.compiler||this.Compiler;return Tzn(`stringify`,r),Dzn(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(Ezn(`use`,this.frozen),e!=null){if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`")}return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`){if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e)}else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,a8.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null){if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];qRn(o)&&qRn(r)&&(r=(0,a8.default)(!0,o,r)),n[i]=[e,r,...a]}}}},o8=new Nzn().freeze()})),s8=s((()=>{Pzn()})),c8,Fzn=s((()=>{c8=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}},c8.prototype.normal={},c8.prototype.property={},c8.prototype.space=void 0}));function Izn(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new c8(n,r,t)}var Lzn=s((()=>{Fzn()}));function l8(e){return e.toLowerCase()}var Rzn=s((()=>{})),u8,zzn=s((()=>{u8=class{constructor(e,t){this.attribute=t,this.property=e}},u8.prototype.attribute=``,u8.prototype.booleanish=!1,u8.prototype.boolean=!1,u8.prototype.commaOrSpaceSeparated=!1,u8.prototype.commaSeparated=!1,u8.prototype.defined=!1,u8.prototype.mustUseProperty=!1,u8.prototype.number=!1,u8.prototype.overloadedBoolean=!1,u8.prototype.property=``,u8.prototype.spaceSeparated=!1,u8.prototype.space=void 0})),Bzn=l({boolean:()=>f8,booleanish:()=>p8,commaOrSpaceSeparated:()=>v8,commaSeparated:()=>_8,number:()=>h8,overloadedBoolean:()=>m8,spaceSeparated:()=>g8});function d8(){return 2**++Vzn}var Vzn,f8,p8,m8,h8,g8,_8,v8,y8=s((()=>{Vzn=0,f8=d8(),p8=d8(),m8=d8(),h8=d8(),g8=d8(),_8=d8(),v8=d8()}));function Hzn(e,t,n){n&&(e[t]=n)}var b8,x8,Uzn=s((()=>{zzn(),y8(),b8=Object.keys(Bzn),x8=class extends u8{constructor(e,t,n,r){let i=-1;if(super(e,t),Hzn(this,`space`,r),typeof n==`number`)for(;++i<b8.length;){let e=b8[i];Hzn(this,b8[i],(n&Bzn[e])===Bzn[e])}}},x8.prototype.defined=!0}));function S8(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new x8(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[l8(r)]=r,n[l8(a.attribute)]=r}return new c8(t,n,e.space)}var C8=s((()=>{Rzn(),Uzn(),Fzn()})),Wzn,Gzn=s((()=>{C8(),y8(),Wzn=S8({properties:{ariaActiveDescendant:null,ariaAtomic:p8,ariaAutoComplete:null,ariaBusy:p8,ariaChecked:p8,ariaColCount:h8,ariaColIndex:h8,ariaColSpan:h8,ariaControls:g8,ariaCurrent:null,ariaDescribedBy:g8,ariaDetails:null,ariaDisabled:p8,ariaDropEffect:g8,ariaErrorMessage:null,ariaExpanded:p8,ariaFlowTo:g8,ariaGrabbed:p8,ariaHasPopup:null,ariaHidden:p8,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:g8,ariaLevel:h8,ariaLive:null,ariaModal:p8,ariaMultiLine:p8,ariaMultiSelectable:p8,ariaOrientation:null,ariaOwns:g8,ariaPlaceholder:null,ariaPosInSet:h8,ariaPressed:p8,ariaReadOnly:p8,ariaRelevant:null,ariaRequired:p8,ariaRoleDescription:g8,ariaRowCount:h8,ariaRowIndex:h8,ariaRowSpan:h8,ariaSelected:p8,ariaSetSize:h8,ariaSort:null,ariaValueMax:h8,ariaValueMin:h8,ariaValueNow:h8,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}})}));function Kzn(e,t){return t in e?e[t]:t}var qzn=s((()=>{}));function Jzn(e,t){return Kzn(e,t.toLowerCase())}var Yzn=s((()=>{qzn()})),Xzn,Zzn=s((()=>{Yzn(),C8(),y8(),Xzn=S8({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:_8,acceptCharset:g8,accessKey:g8,action:null,allow:null,allowFullScreen:f8,allowPaymentRequest:f8,allowUserMedia:f8,alpha:f8,alt:null,as:null,async:f8,autoCapitalize:null,autoComplete:g8,autoFocus:f8,autoPlay:f8,blocking:g8,capture:null,charSet:null,checked:f8,cite:null,className:g8,closedBy:null,colorSpace:null,cols:h8,colSpan:h8,command:null,commandFor:null,content:null,contentEditable:p8,controls:f8,controlsList:g8,coords:h8|_8,crossOrigin:null,data:null,dateTime:null,decoding:null,default:f8,defer:f8,dir:null,dirName:null,disabled:f8,download:m8,draggable:p8,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:f8,formTarget:null,headers:g8,height:h8,hidden:m8,high:h8,href:null,hrefLang:null,htmlFor:g8,httpEquiv:g8,id:null,imageSizes:null,imageSrcSet:null,inert:f8,inputMode:null,integrity:null,is:null,isMap:f8,itemId:null,itemProp:g8,itemRef:g8,itemScope:f8,itemType:g8,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:f8,low:h8,manifest:null,max:null,maxLength:h8,media:null,method:null,min:null,minLength:h8,multiple:f8,muted:f8,name:null,nonce:null,noModule:f8,noValidate:f8,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:f8,optimum:h8,pattern:null,ping:g8,placeholder:null,playsInline:f8,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:f8,referrerPolicy:null,rel:g8,required:f8,reversed:f8,rows:h8,rowSpan:h8,sandbox:g8,scope:null,scoped:f8,seamless:f8,selected:f8,shadowRootClonable:f8,shadowRootCustomElementRegistry:f8,shadowRootDelegatesFocus:f8,shadowRootMode:null,shadowRootSerializable:f8,shape:null,size:h8,sizes:null,slot:null,span:h8,spellCheck:p8,src:null,srcDoc:null,srcLang:null,srcSet:null,start:h8,step:null,style:null,tabIndex:h8,target:null,title:null,translate:null,type:null,typeMustMatch:f8,useMap:null,value:p8,width:h8,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:g8,axis:null,background:null,bgColor:null,border:h8,borderColor:null,bottomMargin:h8,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:f8,declare:f8,event:null,face:null,frame:null,frameBorder:null,hSpace:h8,leftMargin:h8,link:null,longDesc:null,lowSrc:null,marginHeight:h8,marginWidth:h8,noResize:f8,noHref:f8,noShade:f8,noWrap:f8,object:null,profile:null,prompt:null,rev:null,rightMargin:h8,rules:null,scheme:null,scrolling:p8,standby:null,summary:null,text:null,topMargin:h8,valueType:null,version:null,vAlign:null,vLink:null,vSpace:h8,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:f8,disablePictureInPicture:f8,disableRemotePlayback:f8,exportParts:_8,part:g8,prefix:null,property:null,results:h8,security:null,unselectable:null},space:`html`,transform:Jzn})})),Qzn,$zn=s((()=>{qzn(),C8(),y8(),Qzn=S8({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:v8,accentHeight:h8,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:h8,amplitude:h8,arabicForm:null,ascent:h8,attributeName:null,attributeType:null,azimuth:h8,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:h8,by:null,calcMode:null,capHeight:h8,className:g8,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:h8,diffuseConstant:h8,direction:null,display:null,dur:null,divisor:h8,dominantBaseline:null,download:f8,dx:null,dy:null,edgeMode:null,editable:null,elevation:h8,enableBackground:null,end:null,event:null,exponent:h8,externalResourcesRequired:null,fill:null,fillOpacity:h8,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:_8,g2:_8,glyphName:_8,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:h8,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:h8,horizOriginX:h8,horizOriginY:h8,id:null,ideographic:h8,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:h8,k:h8,k1:h8,k2:h8,k3:h8,k4:h8,kernelMatrix:v8,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:h8,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:h8,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:h8,overlineThickness:h8,paintOrder:null,panose1:null,path:null,pathLength:h8,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:g8,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:h8,pointsAtY:h8,pointsAtZ:h8,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:v8,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:v8,rev:v8,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:v8,requiredFeatures:v8,requiredFonts:v8,requiredFormats:v8,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:h8,specularExponent:h8,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:h8,strikethroughThickness:h8,string:null,stroke:null,strokeDashArray:v8,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:h8,strokeOpacity:h8,strokeWidth:null,style:null,surfaceScale:h8,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:v8,tabIndex:h8,tableValues:null,target:null,targetX:h8,targetY:h8,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:v8,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:h8,underlineThickness:h8,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:h8,values:null,vAlphabetic:h8,vMathematical:h8,vectorEffect:null,vHanging:h8,vIdeographic:h8,version:null,vertAdvY:h8,vertOriginX:h8,vertOriginY:h8,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:h8,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:Kzn})})),eBn,tBn=s((()=>{C8(),eBn=S8({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}})})),nBn,rBn=s((()=>{C8(),Yzn(),nBn=S8({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:Jzn})})),iBn,aBn=s((()=>{C8(),iBn=S8({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}})}));function oBn(e,t){let n=l8(t),r=t,i=u8;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&dBn.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(uBn,cBn);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!uBn.test(e)){let n=e.replace(lBn,sBn);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=x8}return new i(r,t)}function sBn(e){return`-`+e.toLowerCase()}function cBn(e){return e.charAt(1).toUpperCase()}var lBn,uBn,dBn,fBn=s((()=>{Uzn(),zzn(),Rzn(),lBn=/[A-Z]/g,uBn=/-[a-z]/g,dBn=/^data[-\w.:]+$/i})),w8,T8,pBn=s((()=>{Lzn(),Gzn(),Zzn(),$zn(),tBn(),rBn(),aBn(),fBn(),Rzn(),w8=Izn([Wzn,Xzn,eBn,nBn,iBn],`html`),T8=Izn([Wzn,Qzn,eBn,nBn,iBn],`svg`)}));function mBn(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}var hBn=s((()=>{}));function gBn(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){_Bn.lastIndex=i;let e=_Bn.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}var _Bn,vBn=s((()=>{_Bn=/[#.]/g})),yBn=s((()=>{vBn()}));function bBn(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}var xBn=s((()=>{}));function SBn(e,t,n){let r=n&&OBn(n);function i(n,i,...a){let o=-1,s;if(n==null){s={type:`root`,children:[]};let e=i;a.unshift(e)}else if(s=gBn(n,t),s.tagName=s.tagName.toLowerCase(),r&&E8.call(r,s.tagName)&&(s.tagName=r[s.tagName]),CBn(i,s.tagName)){let t;for(t in i)E8.call(i,t)&&wBn(e,s.properties,t,i[t])}else a.unshift(i);for(;++o<a.length;)TBn(s.children,a[o]);return s.type===`element`&&s.tagName===`template`&&(s.content={type:`root`,children:s.children},s.children=[]),s}return i}function CBn(e,t){return typeof e!=`object`||!e||Array.isArray(e)?!1:t===`input`||!e.type||typeof e.type!=`string`?!0:`children`in e&&Array.isArray(e.children)?!1:t===`button`?kBn.has(e.type.toLowerCase()):!(`value`in e)}function wBn(e,t,n,r){let i=oBn(e,n),a=-1,o;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;o=r}else o=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?bBn(r):i.commaSeparated?mBn(r):i.commaOrSpaceSeparated?bBn(mBn(r).join(` `)):EBn(i,i.property,r):Array.isArray(r)?r.concat():i.property===`style`?DBn(r):String(r);if(Array.isArray(o)){let e=[];for(;++a<o.length;){let t=EBn(i,i.property,o[a]);e[a]=t}o=e}if(i.property===`className`&&Array.isArray(t.className)){let e=o;o=t.className.concat(e)}t[i.property]=o}}function TBn(e,t){let n=-1;if(t!=null){if(typeof t==`string`||typeof t==`number`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)TBn(e,t[n]);else if(typeof t==`object`&&`type`in t)t.type===`root`?TBn(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}}function EBn(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||l8(n)===l8(t)))return!0}return n}function DBn(e){let t=[],n;for(n in e)E8.call(e,n)&&t.push([n,e[n]].join(`: `));return t.join(`; `)}function OBn(e){let t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}var kBn,E8,ABn=s((()=>{hBn(),yBn(),pBn(),xBn(),kBn=new Set([`button`,`menu`,`reset`,`submit`]),E8={}.hasOwnProperty})),jBn,MBn=s((()=>{jBn=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`)})),NBn,PBn,FBn=s((()=>{pBn(),ABn(),MBn(),NBn=SBn(w8,`div`),PBn=SBn(T8,`g`,jBn)})),IBn=s((()=>{FBn()}));function LBn(e){let t=String(e),n=[];for(D8.lastIndex=0;D8.test(t);)n.push(D8.lastIndex);return n.push(t.length+1),{toPoint:r,toOffset:i};function r(e){let t=-1;if(typeof e==`number`&&e>-1&&e<n[n.length-1]){for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}}function i(e){let t=e&&e.line,r=e&&e.column;if(typeof t==`number`&&typeof r==`number`&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){let e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}var D8,RBn=s((()=>{D8=/\r?\n|\r/g})),zBn=s((()=>{RBn()})),BBn,VBn=s((()=>{BBn={html:`http://www.w3.org/1999/xhtml`,mathml:`http://www.w3.org/1998/Math/MathML`,svg:`http://www.w3.org/2000/svg`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`}}));function HBn(e,t){let n=t||{};return UBn({file:n.file||void 0,location:!1,schema:n.space===`svg`?T8:w8,verbose:n.verbose||!1},e)}function UBn(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},O8(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:WBn(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=LBn(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},O8(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},O8(e,r,n),n}default:return n=GBn(e,t),n}}function WBn(e,t){let n=-1,r=[];for(;++n<t.length;){let i=UBn(e,t[n]);r.push(i)}return r}function GBn(e,t){let n=e.schema;e.schema=t.namespaceURI===BBn.svg?T8:w8;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;JBn.call(YBn,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?PBn:NBn)(t.tagName,i,WBn(e,t.childNodes));if(O8(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&k8(r.startTag),o=r&&r.endTag&&k8(r.endTag),s=UBn(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function O8(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=KBn(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function KBn(e,t,n){let r=k8(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)JBn.call(n.attrs,i)&&(r[oBn(e.schema,i).property]=k8(n.attrs[i]));n.startTag;let a=k8(n.startTag),o=n.endTag?k8(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function k8(e){let t=qBn({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=qBn({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function qBn(e){return e.line&&e.column?e:void 0}var JBn,YBn,XBn=s((()=>{r6(),IBn(),pBn(),zBn(),VBn(),JBn={}.hasOwnProperty,YBn=Object.prototype})),ZBn=s((()=>{XBn()}));function QBn(e){return e>=55296&&e<=57343}function $Bn(e){return e>=56320&&e<=57343}function eVn(e,t){return(e-55296)*1024+9216+t}function tVn(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function nVn(e){return e>=64976&&e<=65007||rVn.has(e)}var rVn,Y,A8,iVn=s((()=>{rVn=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),(function(e){e[e.EOF=-1]=`EOF`,e[e.NULL=0]=`NULL`,e[e.TABULATION=9]=`TABULATION`,e[e.CARRIAGE_RETURN=13]=`CARRIAGE_RETURN`,e[e.LINE_FEED=10]=`LINE_FEED`,e[e.FORM_FEED=12]=`FORM_FEED`,e[e.SPACE=32]=`SPACE`,e[e.EXCLAMATION_MARK=33]=`EXCLAMATION_MARK`,e[e.QUOTATION_MARK=34]=`QUOTATION_MARK`,e[e.AMPERSAND=38]=`AMPERSAND`,e[e.APOSTROPHE=39]=`APOSTROPHE`,e[e.HYPHEN_MINUS=45]=`HYPHEN_MINUS`,e[e.SOLIDUS=47]=`SOLIDUS`,e[e.DIGIT_0=48]=`DIGIT_0`,e[e.DIGIT_9=57]=`DIGIT_9`,e[e.SEMICOLON=59]=`SEMICOLON`,e[e.LESS_THAN_SIGN=60]=`LESS_THAN_SIGN`,e[e.EQUALS_SIGN=61]=`EQUALS_SIGN`,e[e.GREATER_THAN_SIGN=62]=`GREATER_THAN_SIGN`,e[e.QUESTION_MARK=63]=`QUESTION_MARK`,e[e.LATIN_CAPITAL_A=65]=`LATIN_CAPITAL_A`,e[e.LATIN_CAPITAL_Z=90]=`LATIN_CAPITAL_Z`,e[e.RIGHT_SQUARE_BRACKET=93]=`RIGHT_SQUARE_BRACKET`,e[e.GRAVE_ACCENT=96]=`GRAVE_ACCENT`,e[e.LATIN_SMALL_A=97]=`LATIN_SMALL_A`,e[e.LATIN_SMALL_Z=122]=`LATIN_SMALL_Z`})(Y||={}),A8={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`}})),j8,M8=s((()=>{(function(e){e.controlCharacterInInputStream=`control-character-in-input-stream`,e.noncharacterInInputStream=`noncharacter-in-input-stream`,e.surrogateInInputStream=`surrogate-in-input-stream`,e.nonVoidHtmlElementStartTagWithTrailingSolidus=`non-void-html-element-start-tag-with-trailing-solidus`,e.endTagWithAttributes=`end-tag-with-attributes`,e.endTagWithTrailingSolidus=`end-tag-with-trailing-solidus`,e.unexpectedSolidusInTag=`unexpected-solidus-in-tag`,e.unexpectedNullCharacter=`unexpected-null-character`,e.unexpectedQuestionMarkInsteadOfTagName=`unexpected-question-mark-instead-of-tag-name`,e.invalidFirstCharacterOfTagName=`invalid-first-character-of-tag-name`,e.unexpectedEqualsSignBeforeAttributeName=`unexpected-equals-sign-before-attribute-name`,e.missingEndTagName=`missing-end-tag-name`,e.unexpectedCharacterInAttributeName=`unexpected-character-in-attribute-name`,e.unknownNamedCharacterReference=`unknown-named-character-reference`,e.missingSemicolonAfterCharacterReference=`missing-semicolon-after-character-reference`,e.unexpectedCharacterAfterDoctypeSystemIdentifier=`unexpected-character-after-doctype-system-identifier`,e.unexpectedCharacterInUnquotedAttributeValue=`unexpected-character-in-unquoted-attribute-value`,e.eofBeforeTagName=`eof-before-tag-name`,e.eofInTag=`eof-in-tag`,e.missingAttributeValue=`missing-attribute-value`,e.missingWhitespaceBetweenAttributes=`missing-whitespace-between-attributes`,e.missingWhitespaceAfterDoctypePublicKeyword=`missing-whitespace-after-doctype-public-keyword`,e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers=`missing-whitespace-between-doctype-public-and-system-identifiers`,e.missingWhitespaceAfterDoctypeSystemKeyword=`missing-whitespace-after-doctype-system-keyword`,e.missingQuoteBeforeDoctypePublicIdentifier=`missing-quote-before-doctype-public-identifier`,e.missingQuoteBeforeDoctypeSystemIdentifier=`missing-quote-before-doctype-system-identifier`,e.missingDoctypePublicIdentifier=`missing-doctype-public-identifier`,e.missingDoctypeSystemIdentifier=`missing-doctype-system-identifier`,e.abruptDoctypePublicIdentifier=`abrupt-doctype-public-identifier`,e.abruptDoctypeSystemIdentifier=`abrupt-doctype-system-identifier`,e.cdataInHtmlContent=`cdata-in-html-content`,e.incorrectlyOpenedComment=`incorrectly-opened-comment`,e.eofInScriptHtmlCommentLikeText=`eof-in-script-html-comment-like-text`,e.eofInDoctype=`eof-in-doctype`,e.nestedComment=`nested-comment`,e.abruptClosingOfEmptyComment=`abrupt-closing-of-empty-comment`,e.eofInComment=`eof-in-comment`,e.incorrectlyClosedComment=`incorrectly-closed-comment`,e.eofInCdata=`eof-in-cdata`,e.absenceOfDigitsInNumericCharacterReference=`absence-of-digits-in-numeric-character-reference`,e.nullCharacterReference=`null-character-reference`,e.surrogateCharacterReference=`surrogate-character-reference`,e.characterReferenceOutsideUnicodeRange=`character-reference-outside-unicode-range`,e.controlCharacterReference=`control-character-reference`,e.noncharacterCharacterReference=`noncharacter-character-reference`,e.missingWhitespaceBeforeDoctypeName=`missing-whitespace-before-doctype-name`,e.missingDoctypeName=`missing-doctype-name`,e.invalidCharacterSequenceAfterDoctypeName=`invalid-character-sequence-after-doctype-name`,e.duplicateAttribute=`duplicate-attribute`,e.nonConformingDoctype=`non-conforming-doctype`,e.missingDoctype=`missing-doctype`,e.misplacedDoctype=`misplaced-doctype`,e.endTagWithoutMatchingOpenElement=`end-tag-without-matching-open-element`,e.closingOfElementWithOpenChildElements=`closing-of-element-with-open-child-elements`,e.disallowedContentInNoscriptInHead=`disallowed-content-in-noscript-in-head`,e.openElementsLeftAfterEof=`open-elements-left-after-eof`,e.abandonedHeadElementChild=`abandoned-head-element-child`,e.misplacedStartTagForHeadElement=`misplaced-start-tag-for-head-element`,e.nestedNoscriptInHead=`nested-noscript-in-head`,e.eofInElementThatCanContainOnlyText=`eof-in-element-that-can-contain-only-text`})(j8||={})})),aVn,oVn,sVn=s((()=>{iVn(),M8(),aVn=65536,oVn=class{constructor(e){this.handler=e,this.html=``,this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=aVn,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if($Bn(t))return this.pos++,this._addGap(),eVn(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Y.EOF;return this._err(j8.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Y.EOF;let n=this.html.charCodeAt(t);return n===Y.CARRIAGE_RETURN?Y.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Y.EOF;let e=this.html.charCodeAt(this.pos);return e===Y.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Y.LINE_FEED):e===Y.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,QBn(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===Y.LINE_FEED||e===Y.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){tVn(e)?this._err(j8.controlCharacterInInputStream):nVn(e)&&this._err(j8.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}}));function cVn(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var N8,lVn=s((()=>{(function(e){e[e.CHARACTER=0]=`CHARACTER`,e[e.NULL_CHARACTER=1]=`NULL_CHARACTER`,e[e.WHITESPACE_CHARACTER=2]=`WHITESPACE_CHARACTER`,e[e.START_TAG=3]=`START_TAG`,e[e.END_TAG=4]=`END_TAG`,e[e.COMMENT=5]=`COMMENT`,e[e.DOCTYPE=6]=`DOCTYPE`,e[e.EOF=7]=`EOF`,e[e.HIBERNATION=8]=`HIBERNATION`})(N8||={})})),uVn,dVn=s((()=>{uVn=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0)))}));function fVn(e){return e>=55296&&e<=57343||e>1114111?65533:pVn.get(e)??e}var pVn,mVn=s((()=>{pVn=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),String.fromCodePoint}));function hVn(e){return e>=P8.ZERO&&e<=P8.NINE}function gVn(e){return e>=P8.UPPER_A&&e<=P8.UPPER_F||e>=P8.LOWER_A&&e<=P8.LOWER_F}function _Vn(e){return e>=P8.UPPER_A&&e<=P8.UPPER_Z||e>=P8.LOWER_A&&e<=P8.LOWER_Z||hVn(e)}function vVn(e){return e===P8.EQUALS||_Vn(e)}function yVn(e,t,n,r){let i=(t&F8.BRANCH_LENGTH)>>7,a=t&F8.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var P8,bVn,F8,I8,L8,xVn,SVn=s((()=>{mVn(),dVn(),(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(P8||={}),bVn=32,(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(F8||={}),(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(I8||={}),(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(L8||={}),xVn=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=I8.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=L8.Strict}startEntity(e){this.decodeMode=e,this.state=I8.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case I8.EntityStart:return e.charCodeAt(t)===P8.NUM?(this.state=I8.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=I8.NamedEntity,this.stateNamedEntity(e,t));case I8.NumericStart:return this.stateNumericStart(e,t);case I8.NumericDecimal:return this.stateNumericDecimal(e,t);case I8.NumericHex:return this.stateNumericHex(e,t);case I8.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|bVn)===P8.LOWER_X?(this.state=I8.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=I8.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(hVn(r)||gVn(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(hVn(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===P8.SEMI)this.consumed+=1;else if(this.decodeMode===L8.Strict)return 0;return this.emitCodePoint(fVn(this.result),this.consumed),this.errors&&(e!==P8.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&F8.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=yVn(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===L8.Attribute&&(i===0||vVn(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&F8.VALUE_LENGTH)>>14,i!==0){if(a===P8.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==L8.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&F8.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~F8.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case I8.NamedEntity:return this.result!==0&&(this.decodeMode!==L8.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case I8.NumericDecimal:return this.emitNumericEntity(0,2);case I8.NumericHex:return this.emitNumericEntity(0,3);case I8.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case I8.EntityStart:return 0}}}}));function R8(e){return CVn.get(e)??X.UNKNOWN}var z8,B8,V8,H8,X,CVn,U8,wVn,W8,G8=s((()=>{(function(e){e.HTML=`http://www.w3.org/1999/xhtml`,e.MATHML=`http://www.w3.org/1998/Math/MathML`,e.SVG=`http://www.w3.org/2000/svg`,e.XLINK=`http://www.w3.org/1999/xlink`,e.XML=`http://www.w3.org/XML/1998/namespace`,e.XMLNS=`http://www.w3.org/2000/xmlns/`})(z8||={}),(function(e){e.TYPE=`type`,e.ACTION=`action`,e.ENCODING=`encoding`,e.PROMPT=`prompt`,e.NAME=`name`,e.COLOR=`color`,e.FACE=`face`,e.SIZE=`size`})(B8||={}),(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(V8||={}),(function(e){e.A=`a`,e.ADDRESS=`address`,e.ANNOTATION_XML=`annotation-xml`,e.APPLET=`applet`,e.AREA=`area`,e.ARTICLE=`article`,e.ASIDE=`aside`,e.B=`b`,e.BASE=`base`,e.BASEFONT=`basefont`,e.BGSOUND=`bgsound`,e.BIG=`big`,e.BLOCKQUOTE=`blockquote`,e.BODY=`body`,e.BR=`br`,e.BUTTON=`button`,e.CAPTION=`caption`,e.CENTER=`center`,e.CODE=`code`,e.COL=`col`,e.COLGROUP=`colgroup`,e.DD=`dd`,e.DESC=`desc`,e.DETAILS=`details`,e.DIALOG=`dialog`,e.DIR=`dir`,e.DIV=`div`,e.DL=`dl`,e.DT=`dt`,e.EM=`em`,e.EMBED=`embed`,e.FIELDSET=`fieldset`,e.FIGCAPTION=`figcaption`,e.FIGURE=`figure`,e.FONT=`font`,e.FOOTER=`footer`,e.FOREIGN_OBJECT=`foreignObject`,e.FORM=`form`,e.FRAME=`frame`,e.FRAMESET=`frameset`,e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e.HEAD=`head`,e.HEADER=`header`,e.HGROUP=`hgroup`,e.HR=`hr`,e.HTML=`html`,e.I=`i`,e.IMG=`img`,e.IMAGE=`image`,e.INPUT=`input`,e.IFRAME=`iframe`,e.KEYGEN=`keygen`,e.LABEL=`label`,e.LI=`li`,e.LINK=`link`,e.LISTING=`listing`,e.MAIN=`main`,e.MALIGNMARK=`malignmark`,e.MARQUEE=`marquee`,e.MATH=`math`,e.MENU=`menu`,e.META=`meta`,e.MGLYPH=`mglyph`,e.MI=`mi`,e.MO=`mo`,e.MN=`mn`,e.MS=`ms`,e.MTEXT=`mtext`,e.NAV=`nav`,e.NOBR=`nobr`,e.NOFRAMES=`noframes`,e.NOEMBED=`noembed`,e.NOSCRIPT=`noscript`,e.OBJECT=`object`,e.OL=`ol`,e.OPTGROUP=`optgroup`,e.OPTION=`option`,e.P=`p`,e.PARAM=`param`,e.PLAINTEXT=`plaintext`,e.PRE=`pre`,e.RB=`rb`,e.RP=`rp`,e.RT=`rt`,e.RTC=`rtc`,e.RUBY=`ruby`,e.S=`s`,e.SCRIPT=`script`,e.SEARCH=`search`,e.SECTION=`section`,e.SELECT=`select`,e.SOURCE=`source`,e.SMALL=`small`,e.SPAN=`span`,e.STRIKE=`strike`,e.STRONG=`strong`,e.STYLE=`style`,e.SUB=`sub`,e.SUMMARY=`summary`,e.SUP=`sup`,e.TABLE=`table`,e.TBODY=`tbody`,e.TEMPLATE=`template`,e.TEXTAREA=`textarea`,e.TFOOT=`tfoot`,e.TD=`td`,e.TH=`th`,e.THEAD=`thead`,e.TITLE=`title`,e.TR=`tr`,e.TRACK=`track`,e.TT=`tt`,e.U=`u`,e.UL=`ul`,e.SVG=`svg`,e.VAR=`var`,e.WBR=`wbr`,e.XMP=`xmp`})(H8||={}),(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.A=1]=`A`,e[e.ADDRESS=2]=`ADDRESS`,e[e.ANNOTATION_XML=3]=`ANNOTATION_XML`,e[e.APPLET=4]=`APPLET`,e[e.AREA=5]=`AREA`,e[e.ARTICLE=6]=`ARTICLE`,e[e.ASIDE=7]=`ASIDE`,e[e.B=8]=`B`,e[e.BASE=9]=`BASE`,e[e.BASEFONT=10]=`BASEFONT`,e[e.BGSOUND=11]=`BGSOUND`,e[e.BIG=12]=`BIG`,e[e.BLOCKQUOTE=13]=`BLOCKQUOTE`,e[e.BODY=14]=`BODY`,e[e.BR=15]=`BR`,e[e.BUTTON=16]=`BUTTON`,e[e.CAPTION=17]=`CAPTION`,e[e.CENTER=18]=`CENTER`,e[e.CODE=19]=`CODE`,e[e.COL=20]=`COL`,e[e.COLGROUP=21]=`COLGROUP`,e[e.DD=22]=`DD`,e[e.DESC=23]=`DESC`,e[e.DETAILS=24]=`DETAILS`,e[e.DIALOG=25]=`DIALOG`,e[e.DIR=26]=`DIR`,e[e.DIV=27]=`DIV`,e[e.DL=28]=`DL`,e[e.DT=29]=`DT`,e[e.EM=30]=`EM`,e[e.EMBED=31]=`EMBED`,e[e.FIELDSET=32]=`FIELDSET`,e[e.FIGCAPTION=33]=`FIGCAPTION`,e[e.FIGURE=34]=`FIGURE`,e[e.FONT=35]=`FONT`,e[e.FOOTER=36]=`FOOTER`,e[e.FOREIGN_OBJECT=37]=`FOREIGN_OBJECT`,e[e.FORM=38]=`FORM`,e[e.FRAME=39]=`FRAME`,e[e.FRAMESET=40]=`FRAMESET`,e[e.H1=41]=`H1`,e[e.H2=42]=`H2`,e[e.H3=43]=`H3`,e[e.H4=44]=`H4`,e[e.H5=45]=`H5`,e[e.H6=46]=`H6`,e[e.HEAD=47]=`HEAD`,e[e.HEADER=48]=`HEADER`,e[e.HGROUP=49]=`HGROUP`,e[e.HR=50]=`HR`,e[e.HTML=51]=`HTML`,e[e.I=52]=`I`,e[e.IMG=53]=`IMG`,e[e.IMAGE=54]=`IMAGE`,e[e.INPUT=55]=`INPUT`,e[e.IFRAME=56]=`IFRAME`,e[e.KEYGEN=57]=`KEYGEN`,e[e.LABEL=58]=`LABEL`,e[e.LI=59]=`LI`,e[e.LINK=60]=`LINK`,e[e.LISTING=61]=`LISTING`,e[e.MAIN=62]=`MAIN`,e[e.MALIGNMARK=63]=`MALIGNMARK`,e[e.MARQUEE=64]=`MARQUEE`,e[e.MATH=65]=`MATH`,e[e.MENU=66]=`MENU`,e[e.META=67]=`META`,e[e.MGLYPH=68]=`MGLYPH`,e[e.MI=69]=`MI`,e[e.MO=70]=`MO`,e[e.MN=71]=`MN`,e[e.MS=72]=`MS`,e[e.MTEXT=73]=`MTEXT`,e[e.NAV=74]=`NAV`,e[e.NOBR=75]=`NOBR`,e[e.NOFRAMES=76]=`NOFRAMES`,e[e.NOEMBED=77]=`NOEMBED`,e[e.NOSCRIPT=78]=`NOSCRIPT`,e[e.OBJECT=79]=`OBJECT`,e[e.OL=80]=`OL`,e[e.OPTGROUP=81]=`OPTGROUP`,e[e.OPTION=82]=`OPTION`,e[e.P=83]=`P`,e[e.PARAM=84]=`PARAM`,e[e.PLAINTEXT=85]=`PLAINTEXT`,e[e.PRE=86]=`PRE`,e[e.RB=87]=`RB`,e[e.RP=88]=`RP`,e[e.RT=89]=`RT`,e[e.RTC=90]=`RTC`,e[e.RUBY=91]=`RUBY`,e[e.S=92]=`S`,e[e.SCRIPT=93]=`SCRIPT`,e[e.SEARCH=94]=`SEARCH`,e[e.SECTION=95]=`SECTION`,e[e.SELECT=96]=`SELECT`,e[e.SOURCE=97]=`SOURCE`,e[e.SMALL=98]=`SMALL`,e[e.SPAN=99]=`SPAN`,e[e.STRIKE=100]=`STRIKE`,e[e.STRONG=101]=`STRONG`,e[e.STYLE=102]=`STYLE`,e[e.SUB=103]=`SUB`,e[e.SUMMARY=104]=`SUMMARY`,e[e.SUP=105]=`SUP`,e[e.TABLE=106]=`TABLE`,e[e.TBODY=107]=`TBODY`,e[e.TEMPLATE=108]=`TEMPLATE`,e[e.TEXTAREA=109]=`TEXTAREA`,e[e.TFOOT=110]=`TFOOT`,e[e.TD=111]=`TD`,e[e.TH=112]=`TH`,e[e.THEAD=113]=`THEAD`,e[e.TITLE=114]=`TITLE`,e[e.TR=115]=`TR`,e[e.TRACK=116]=`TRACK`,e[e.TT=117]=`TT`,e[e.U=118]=`U`,e[e.UL=119]=`UL`,e[e.SVG=120]=`SVG`,e[e.VAR=121]=`VAR`,e[e.WBR=122]=`WBR`,e[e.XMP=123]=`XMP`})(X||={}),CVn=new Map([[H8.A,X.A],[H8.ADDRESS,X.ADDRESS],[H8.ANNOTATION_XML,X.ANNOTATION_XML],[H8.APPLET,X.APPLET],[H8.AREA,X.AREA],[H8.ARTICLE,X.ARTICLE],[H8.ASIDE,X.ASIDE],[H8.B,X.B],[H8.BASE,X.BASE],[H8.BASEFONT,X.BASEFONT],[H8.BGSOUND,X.BGSOUND],[H8.BIG,X.BIG],[H8.BLOCKQUOTE,X.BLOCKQUOTE],[H8.BODY,X.BODY],[H8.BR,X.BR],[H8.BUTTON,X.BUTTON],[H8.CAPTION,X.CAPTION],[H8.CENTER,X.CENTER],[H8.CODE,X.CODE],[H8.COL,X.COL],[H8.COLGROUP,X.COLGROUP],[H8.DD,X.DD],[H8.DESC,X.DESC],[H8.DETAILS,X.DETAILS],[H8.DIALOG,X.DIALOG],[H8.DIR,X.DIR],[H8.DIV,X.DIV],[H8.DL,X.DL],[H8.DT,X.DT],[H8.EM,X.EM],[H8.EMBED,X.EMBED],[H8.FIELDSET,X.FIELDSET],[H8.FIGCAPTION,X.FIGCAPTION],[H8.FIGURE,X.FIGURE],[H8.FONT,X.FONT],[H8.FOOTER,X.FOOTER],[H8.FOREIGN_OBJECT,X.FOREIGN_OBJECT],[H8.FORM,X.FORM],[H8.FRAME,X.FRAME],[H8.FRAMESET,X.FRAMESET],[H8.H1,X.H1],[H8.H2,X.H2],[H8.H3,X.H3],[H8.H4,X.H4],[H8.H5,X.H5],[H8.H6,X.H6],[H8.HEAD,X.HEAD],[H8.HEADER,X.HEADER],[H8.HGROUP,X.HGROUP],[H8.HR,X.HR],[H8.HTML,X.HTML],[H8.I,X.I],[H8.IMG,X.IMG],[H8.IMAGE,X.IMAGE],[H8.INPUT,X.INPUT],[H8.IFRAME,X.IFRAME],[H8.KEYGEN,X.KEYGEN],[H8.LABEL,X.LABEL],[H8.LI,X.LI],[H8.LINK,X.LINK],[H8.LISTING,X.LISTING],[H8.MAIN,X.MAIN],[H8.MALIGNMARK,X.MALIGNMARK],[H8.MARQUEE,X.MARQUEE],[H8.MATH,X.MATH],[H8.MENU,X.MENU],[H8.META,X.META],[H8.MGLYPH,X.MGLYPH],[H8.MI,X.MI],[H8.MO,X.MO],[H8.MN,X.MN],[H8.MS,X.MS],[H8.MTEXT,X.MTEXT],[H8.NAV,X.NAV],[H8.NOBR,X.NOBR],[H8.NOFRAMES,X.NOFRAMES],[H8.NOEMBED,X.NOEMBED],[H8.NOSCRIPT,X.NOSCRIPT],[H8.OBJECT,X.OBJECT],[H8.OL,X.OL],[H8.OPTGROUP,X.OPTGROUP],[H8.OPTION,X.OPTION],[H8.P,X.P],[H8.PARAM,X.PARAM],[H8.PLAINTEXT,X.PLAINTEXT],[H8.PRE,X.PRE],[H8.RB,X.RB],[H8.RP,X.RP],[H8.RT,X.RT],[H8.RTC,X.RTC],[H8.RUBY,X.RUBY],[H8.S,X.S],[H8.SCRIPT,X.SCRIPT],[H8.SEARCH,X.SEARCH],[H8.SECTION,X.SECTION],[H8.SELECT,X.SELECT],[H8.SOURCE,X.SOURCE],[H8.SMALL,X.SMALL],[H8.SPAN,X.SPAN],[H8.STRIKE,X.STRIKE],[H8.STRONG,X.STRONG],[H8.STYLE,X.STYLE],[H8.SUB,X.SUB],[H8.SUMMARY,X.SUMMARY],[H8.SUP,X.SUP],[H8.TABLE,X.TABLE],[H8.TBODY,X.TBODY],[H8.TEMPLATE,X.TEMPLATE],[H8.TEXTAREA,X.TEXTAREA],[H8.TFOOT,X.TFOOT],[H8.TD,X.TD],[H8.TH,X.TH],[H8.THEAD,X.THEAD],[H8.TITLE,X.TITLE],[H8.TR,X.TR],[H8.TRACK,X.TRACK],[H8.TT,X.TT],[H8.U,X.U],[H8.UL,X.UL],[H8.SVG,X.SVG],[H8.VAR,X.VAR],[H8.WBR,X.WBR],[H8.XMP,X.XMP]]),U8=X,wVn={[z8.HTML]:new Set([U8.ADDRESS,U8.APPLET,U8.AREA,U8.ARTICLE,U8.ASIDE,U8.BASE,U8.BASEFONT,U8.BGSOUND,U8.BLOCKQUOTE,U8.BODY,U8.BR,U8.BUTTON,U8.CAPTION,U8.CENTER,U8.COL,U8.COLGROUP,U8.DD,U8.DETAILS,U8.DIR,U8.DIV,U8.DL,U8.DT,U8.EMBED,U8.FIELDSET,U8.FIGCAPTION,U8.FIGURE,U8.FOOTER,U8.FORM,U8.FRAME,U8.FRAMESET,U8.H1,U8.H2,U8.H3,U8.H4,U8.H5,U8.H6,U8.HEAD,U8.HEADER,U8.HGROUP,U8.HR,U8.HTML,U8.IFRAME,U8.IMG,U8.INPUT,U8.LI,U8.LINK,U8.LISTING,U8.MAIN,U8.MARQUEE,U8.MENU,U8.META,U8.NAV,U8.NOEMBED,U8.NOFRAMES,U8.NOSCRIPT,U8.OBJECT,U8.OL,U8.P,U8.PARAM,U8.PLAINTEXT,U8.PRE,U8.SCRIPT,U8.SECTION,U8.SELECT,U8.SOURCE,U8.STYLE,U8.SUMMARY,U8.TABLE,U8.TBODY,U8.TD,U8.TEMPLATE,U8.TEXTAREA,U8.TFOOT,U8.TH,U8.THEAD,U8.TITLE,U8.TR,U8.TRACK,U8.UL,U8.WBR,U8.XMP]),[z8.MATHML]:new Set([U8.MI,U8.MO,U8.MN,U8.MS,U8.MTEXT,U8.ANNOTATION_XML]),[z8.SVG]:new Set([U8.TITLE,U8.FOREIGN_OBJECT,U8.DESC]),[z8.XLINK]:new Set,[z8.XML]:new Set,[z8.XMLNS]:new Set},W8=new Set([U8.H1,U8.H2,U8.H3,U8.H4,U8.H5,U8.H6]),H8.STYLE,H8.SCRIPT,H8.XMP,H8.IFRAME,H8.NOEMBED,H8.NOFRAMES,H8.PLAINTEXT}));function TVn(e){return e>=Y.DIGIT_0&&e<=Y.DIGIT_9}function K8(e){return e>=Y.LATIN_CAPITAL_A&&e<=Y.LATIN_CAPITAL_Z}function EVn(e){return e>=Y.LATIN_SMALL_A&&e<=Y.LATIN_SMALL_Z}function q8(e){return EVn(e)||K8(e)}function DVn(e){return q8(e)||TVn(e)}function J8(e){return e+32}function OVn(e){return e===Y.SPACE||e===Y.LINE_FEED||e===Y.TABULATION||e===Y.FORM_FEED}function kVn(e){return OVn(e)||e===Y.SOLIDUS||e===Y.GREATER_THAN_SIGN}function AVn(e){return e===Y.NULL?j8.nullCharacterReference:e>1114111?j8.characterReferenceOutsideUnicodeRange:QBn(e)?j8.surrogateCharacterReference:nVn(e)?j8.noncharacterCharacterReference:tVn(e)||e===Y.CARRIAGE_RETURN?j8.controlCharacterReference:null}var Z,Y8,jVn,MVn=s((()=>{sVn(),iVn(),lVn(),SVn(),M8(),G8(),(function(e){e[e.DATA=0]=`DATA`,e[e.RCDATA=1]=`RCDATA`,e[e.RAWTEXT=2]=`RAWTEXT`,e[e.SCRIPT_DATA=3]=`SCRIPT_DATA`,e[e.PLAINTEXT=4]=`PLAINTEXT`,e[e.TAG_OPEN=5]=`TAG_OPEN`,e[e.END_TAG_OPEN=6]=`END_TAG_OPEN`,e[e.TAG_NAME=7]=`TAG_NAME`,e[e.RCDATA_LESS_THAN_SIGN=8]=`RCDATA_LESS_THAN_SIGN`,e[e.RCDATA_END_TAG_OPEN=9]=`RCDATA_END_TAG_OPEN`,e[e.RCDATA_END_TAG_NAME=10]=`RCDATA_END_TAG_NAME`,e[e.RAWTEXT_LESS_THAN_SIGN=11]=`RAWTEXT_LESS_THAN_SIGN`,e[e.RAWTEXT_END_TAG_OPEN=12]=`RAWTEXT_END_TAG_OPEN`,e[e.RAWTEXT_END_TAG_NAME=13]=`RAWTEXT_END_TAG_NAME`,e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]=`SCRIPT_DATA_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_END_TAG_OPEN=15]=`SCRIPT_DATA_END_TAG_OPEN`,e[e.SCRIPT_DATA_END_TAG_NAME=16]=`SCRIPT_DATA_END_TAG_NAME`,e[e.SCRIPT_DATA_ESCAPE_START=17]=`SCRIPT_DATA_ESCAPE_START`,e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]=`SCRIPT_DATA_ESCAPE_START_DASH`,e[e.SCRIPT_DATA_ESCAPED=19]=`SCRIPT_DATA_ESCAPED`,e[e.SCRIPT_DATA_ESCAPED_DASH=20]=`SCRIPT_DATA_ESCAPED_DASH`,e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]=`SCRIPT_DATA_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]=`SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]=`SCRIPT_DATA_ESCAPED_END_TAG_OPEN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]=`SCRIPT_DATA_ESCAPED_END_TAG_NAME`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]=`SCRIPT_DATA_DOUBLE_ESCAPE_START`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]=`SCRIPT_DATA_DOUBLE_ESCAPED`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]=`SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]=`SCRIPT_DATA_DOUBLE_ESCAPE_END`,e[e.BEFORE_ATTRIBUTE_NAME=31]=`BEFORE_ATTRIBUTE_NAME`,e[e.ATTRIBUTE_NAME=32]=`ATTRIBUTE_NAME`,e[e.AFTER_ATTRIBUTE_NAME=33]=`AFTER_ATTRIBUTE_NAME`,e[e.BEFORE_ATTRIBUTE_VALUE=34]=`BEFORE_ATTRIBUTE_VALUE`,e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]=`ATTRIBUTE_VALUE_DOUBLE_QUOTED`,e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]=`ATTRIBUTE_VALUE_SINGLE_QUOTED`,e[e.ATTRIBUTE_VALUE_UNQUOTED=37]=`ATTRIBUTE_VALUE_UNQUOTED`,e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]=`AFTER_ATTRIBUTE_VALUE_QUOTED`,e[e.SELF_CLOSING_START_TAG=39]=`SELF_CLOSING_START_TAG`,e[e.BOGUS_COMMENT=40]=`BOGUS_COMMENT`,e[e.MARKUP_DECLARATION_OPEN=41]=`MARKUP_DECLARATION_OPEN`,e[e.COMMENT_START=42]=`COMMENT_START`,e[e.COMMENT_START_DASH=43]=`COMMENT_START_DASH`,e[e.COMMENT=44]=`COMMENT`,e[e.COMMENT_LESS_THAN_SIGN=45]=`COMMENT_LESS_THAN_SIGN`,e[e.COMMENT_LESS_THAN_SIGN_BANG=46]=`COMMENT_LESS_THAN_SIGN_BANG`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]=`COMMENT_LESS_THAN_SIGN_BANG_DASH`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]=`COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH`,e[e.COMMENT_END_DASH=49]=`COMMENT_END_DASH`,e[e.COMMENT_END=50]=`COMMENT_END`,e[e.COMMENT_END_BANG=51]=`COMMENT_END_BANG`,e[e.DOCTYPE=52]=`DOCTYPE`,e[e.BEFORE_DOCTYPE_NAME=53]=`BEFORE_DOCTYPE_NAME`,e[e.DOCTYPE_NAME=54]=`DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_NAME=55]=`AFTER_DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]=`AFTER_DOCTYPE_PUBLIC_KEYWORD`,e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]=`BEFORE_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]=`DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]=`DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]=`AFTER_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]=`BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS`,e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]=`AFTER_DOCTYPE_SYSTEM_KEYWORD`,e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]=`BEFORE_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]=`DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]=`DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]=`AFTER_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.BOGUS_DOCTYPE=67]=`BOGUS_DOCTYPE`,e[e.CDATA_SECTION=68]=`CDATA_SECTION`,e[e.CDATA_SECTION_BRACKET=69]=`CDATA_SECTION_BRACKET`,e[e.CDATA_SECTION_END=70]=`CDATA_SECTION_END`,e[e.CHARACTER_REFERENCE=71]=`CHARACTER_REFERENCE`,e[e.AMBIGUOUS_AMPERSAND=72]=`AMBIGUOUS_AMPERSAND`})(Z||={}),Y8={DATA:Z.DATA,RCDATA:Z.RCDATA,RAWTEXT:Z.RAWTEXT,SCRIPT_DATA:Z.SCRIPT_DATA,PLAINTEXT:Z.PLAINTEXT,CDATA_SECTION:Z.CDATA_SECTION},jVn=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName=``,this.active=!1,this.state=Z.DATA,this.returnState=Z.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new oVn(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new xVn(uVn,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(j8.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(j8.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=AVn(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error(`Parser was already resumed`);this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:N8.START_TAG,tagName:``,tagID:X.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:N8.END_TAG,tagName:``,tagID:X.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:N8.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:N8.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:``},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;let t=this.currentToken;if(cVn(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(j8.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=R8(e.tagName),e.type===N8.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(j8.endTagWithAttributes),e.selfClosing&&this._err(j8.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case N8.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case N8.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case N8.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:N8.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=OVn(e)?N8.WHITESPACE_CHARACTER:e===Y.NULL?N8.NULL_CHARACTER:N8.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(N8.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=Z.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?L8.Attribute:L8.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Z.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Z.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Z.DATA:this._stateData(e);break;case Z.RCDATA:this._stateRcdata(e);break;case Z.RAWTEXT:this._stateRawtext(e);break;case Z.SCRIPT_DATA:this._stateScriptData(e);break;case Z.PLAINTEXT:this._statePlaintext(e);break;case Z.TAG_OPEN:this._stateTagOpen(e);break;case Z.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Z.TAG_NAME:this._stateTagName(e);break;case Z.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Z.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Z.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Z.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Z.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Z.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Z.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Z.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Z.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Z.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Z.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Z.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Z.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Z.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Z.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Z.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Z.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Z.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Z.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Z.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Z.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Z.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Z.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Z.BOGUS_COMMENT:this._stateBogusComment(e);break;case Z.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Z.COMMENT_START:this._stateCommentStart(e);break;case Z.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Z.COMMENT:this._stateComment(e);break;case Z.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Z.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Z.COMMENT_END:this._stateCommentEnd(e);break;case Z.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Z.DOCTYPE:this._stateDoctype(e);break;case Z.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Z.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Z.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Z.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Z.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Z.CDATA_SECTION:this._stateCdataSection(e);break;case Z.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Z.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Z.CHARACTER_REFERENCE:this._stateCharacterReference();break;case Z.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case Y.LESS_THAN_SIGN:this.state=Z.TAG_OPEN;break;case Y.AMPERSAND:this._startCharacterReference();break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this._emitCodePoint(e);break;case Y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case Y.AMPERSAND:this._startCharacterReference();break;case Y.LESS_THAN_SIGN:this.state=Z.RCDATA_LESS_THAN_SIGN;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this._emitChars(`�`);break;case Y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case Y.LESS_THAN_SIGN:this.state=Z.RAWTEXT_LESS_THAN_SIGN;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this._emitChars(`�`);break;case Y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case Y.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_LESS_THAN_SIGN;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this._emitChars(`�`);break;case Y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case Y.NULL:this._err(j8.unexpectedNullCharacter),this._emitChars(`�`);break;case Y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(q8(e))this._createStartTagToken(),this.state=Z.TAG_NAME,this._stateTagName(e);else switch(e){case Y.EXCLAMATION_MARK:this.state=Z.MARKUP_DECLARATION_OPEN;break;case Y.SOLIDUS:this.state=Z.END_TAG_OPEN;break;case Y.QUESTION_MARK:this._err(j8.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e);break;case Y.EOF:this._err(j8.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(j8.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=Z.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(q8(e))this._createEndTagToken(),this.state=Z.TAG_NAME,this._stateTagName(e);else switch(e){case Y.GREATER_THAN_SIGN:this._err(j8.missingEndTagName),this.state=Z.DATA;break;case Y.EOF:this._err(j8.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(j8.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case Y.SOLIDUS:this.state=Z.SELF_CLOSING_START_TAG;break;case Y.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentTagToken();break;case Y.NULL:this._err(j8.unexpectedNullCharacter),t.tagName+=`�`;break;case Y.EOF:this._err(j8.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(K8(e)?J8(e):e)}}_stateRcdataLessThanSign(e){e===Y.SOLIDUS?this.state=Z.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=Z.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){q8(e)?(this.state=Z.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=Z.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Z.BEFORE_ATTRIBUTE_NAME,!1;case Y.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Z.SELF_CLOSING_START_TAG,!1;case Y.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Z.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===Y.SOLIDUS?this.state=Z.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){q8(e)?(this.state=Z.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case Y.SOLIDUS:this.state=Z.SCRIPT_DATA_END_TAG_OPEN;break;case Y.EXCLAMATION_MARK:this.state=Z.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){q8(e)?(this.state=Z.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===Y.HYPHEN_MINUS?(this.state=Z.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===Y.HYPHEN_MINUS?(this.state=Z.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case Y.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case Y.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this._emitChars(`�`);break;case Y.EOF:this._err(j8.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case Y.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case Y.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case Y.EOF:this._err(j8.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case Y.HYPHEN_MINUS:this._emitChars(`-`);break;case Y.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Y.GREATER_THAN_SIGN:this.state=Z.SCRIPT_DATA,this._emitChars(`>`);break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case Y.EOF:this._err(j8.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===Y.SOLIDUS?this.state=Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:q8(e)?(this._emitChars(`<`),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){q8(e)?(this.state=Z.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(A8.SCRIPT,!1)&&kVn(this.preprocessor.peek(A8.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<A8.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case Y.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case Y.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this._emitChars(`�`);break;case Y.EOF:this._err(j8.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case Y.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case Y.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case Y.EOF:this._err(j8.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case Y.HYPHEN_MINUS:this._emitChars(`-`);break;case Y.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case Y.GREATER_THAN_SIGN:this.state=Z.SCRIPT_DATA,this._emitChars(`>`);break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case Y.EOF:this._err(j8.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===Y.SOLIDUS?(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(A8.SCRIPT,!1)&&kVn(this.preprocessor.peek(A8.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<A8.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Z.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.SOLIDUS:case Y.GREATER_THAN_SIGN:case Y.EOF:this.state=Z.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case Y.EQUALS_SIGN:this._err(j8.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=Z.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=Z.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:case Y.SOLIDUS:case Y.GREATER_THAN_SIGN:case Y.EOF:this._leaveAttrName(),this.state=Z.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case Y.EQUALS_SIGN:this._leaveAttrName(),this.state=Z.BEFORE_ATTRIBUTE_VALUE;break;case Y.QUOTATION_MARK:case Y.APOSTROPHE:case Y.LESS_THAN_SIGN:this._err(j8.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(K8(e)?J8(e):e)}}_stateAfterAttributeName(e){switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.SOLIDUS:this.state=Z.SELF_CLOSING_START_TAG;break;case Y.EQUALS_SIGN:this.state=Z.BEFORE_ATTRIBUTE_VALUE;break;case Y.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentTagToken();break;case Y.EOF:this._err(j8.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=Z.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.QUOTATION_MARK:this.state=Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case Y.APOSTROPHE:this.state=Z.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case Y.GREATER_THAN_SIGN:this._err(j8.missingAttributeValue),this.state=Z.DATA,this.emitCurrentTagToken();break;default:this.state=Z.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case Y.QUOTATION_MARK:this.state=Z.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Y.AMPERSAND:this._startCharacterReference();break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case Y.EOF:this._err(j8.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case Y.APOSTROPHE:this.state=Z.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Y.AMPERSAND:this._startCharacterReference();break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case Y.EOF:this._err(j8.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:this._leaveAttrValue(),this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case Y.AMPERSAND:this._startCharacterReference();break;case Y.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Z.DATA,this.emitCurrentTagToken();break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case Y.QUOTATION_MARK:case Y.APOSTROPHE:case Y.LESS_THAN_SIGN:case Y.EQUALS_SIGN:case Y.GRAVE_ACCENT:this._err(j8.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case Y.EOF:this._err(j8.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:this._leaveAttrValue(),this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case Y.SOLIDUS:this._leaveAttrValue(),this.state=Z.SELF_CLOSING_START_TAG;break;case Y.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Z.DATA,this.emitCurrentTagToken();break;case Y.EOF:this._err(j8.eofInTag),this._emitEOFToken();break;default:this._err(j8.missingWhitespaceBetweenAttributes),this.state=Z.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case Y.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=Z.DATA,this.emitCurrentTagToken();break}case Y.EOF:this._err(j8.eofInTag),this._emitEOFToken();break;default:this._err(j8.unexpectedSolidusInTag),this.state=Z.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case Y.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentComment(t);break;case Y.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case Y.NULL:this._err(j8.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(A8.DASH_DASH,!0)?(this._createCommentToken(A8.DASH_DASH.length+1),this.state=Z.COMMENT_START):this._consumeSequenceIfMatch(A8.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(A8.DOCTYPE.length+1),this.state=Z.DOCTYPE):this._consumeSequenceIfMatch(A8.CDATA_START,!0)?this.inForeignNode?this.state=Z.CDATA_SECTION:(this._err(j8.cdataInHtmlContent),this._createCommentToken(A8.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=Z.BOGUS_COMMENT):this._ensureHibernation()||(this._err(j8.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case Y.HYPHEN_MINUS:this.state=Z.COMMENT_START_DASH;break;case Y.GREATER_THAN_SIGN:{this._err(j8.abruptClosingOfEmptyComment),this.state=Z.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case Y.HYPHEN_MINUS:this.state=Z.COMMENT_END;break;case Y.GREATER_THAN_SIGN:this._err(j8.abruptClosingOfEmptyComment),this.state=Z.DATA,this.emitCurrentComment(t);break;case Y.EOF:this._err(j8.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Z.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case Y.HYPHEN_MINUS:this.state=Z.COMMENT_END_DASH;break;case Y.LESS_THAN_SIGN:t.data+=`<`,this.state=Z.COMMENT_LESS_THAN_SIGN;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),t.data+=`�`;break;case Y.EOF:this._err(j8.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case Y.EXCLAMATION_MARK:t.data+=`!`,this.state=Z.COMMENT_LESS_THAN_SIGN_BANG;break;case Y.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===Y.HYPHEN_MINUS?this.state=Z.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Z.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===Y.HYPHEN_MINUS?this.state=Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Z.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==Y.GREATER_THAN_SIGN&&e!==Y.EOF&&this._err(j8.nestedComment),this.state=Z.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case Y.HYPHEN_MINUS:this.state=Z.COMMENT_END;break;case Y.EOF:this._err(j8.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case Y.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentComment(t);break;case Y.EXCLAMATION_MARK:this.state=Z.COMMENT_END_BANG;break;case Y.HYPHEN_MINUS:t.data+=`-`;break;case Y.EOF:this._err(j8.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case Y.HYPHEN_MINUS:t.data+=`--!`,this.state=Z.COMMENT_END_DASH;break;case Y.GREATER_THAN_SIGN:this._err(j8.incorrectlyClosedComment),this.state=Z.DATA,this.emitCurrentComment(t);break;case Y.EOF:this._err(j8.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=Z.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_NAME;break;case Y.GREATER_THAN_SIGN:this.state=Z.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case Y.EOF:{this._err(j8.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(j8.missingWhitespaceBeforeDoctypeName),this.state=Z.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(K8(e))this._createDoctypeToken(String.fromCharCode(J8(e))),this.state=Z.DOCTYPE_NAME;else switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.NULL:this._err(j8.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=Z.DOCTYPE_NAME;break;case Y.GREATER_THAN_SIGN:{this._err(j8.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Z.DATA;break}case Y.EOF:{this._err(j8.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Z.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:this.state=Z.AFTER_DOCTYPE_NAME;break;case Y.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case Y.NULL:this._err(j8.unexpectedNullCharacter),t.name+=`�`;break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(K8(e)?J8(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(A8.PUBLIC,!1)?this.state=Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(A8.SYSTEM,!1)?this.state=Z.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(j8.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case Y.QUOTATION_MARK:this._err(j8.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Y.APOSTROPHE:this._err(j8.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Y.GREATER_THAN_SIGN:this._err(j8.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(j8.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.QUOTATION_MARK:t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Y.APOSTROPHE:t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Y.GREATER_THAN_SIGN:this._err(j8.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(j8.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case Y.QUOTATION_MARK:this.state=Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),t.publicId+=`�`;break;case Y.GREATER_THAN_SIGN:this._err(j8.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case Y.APOSTROPHE:this.state=Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),t.publicId+=`�`;break;case Y.GREATER_THAN_SIGN:this._err(j8.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:this.state=Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case Y.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case Y.QUOTATION_MARK:this._err(j8.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Y.APOSTROPHE:this._err(j8.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(j8.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case Y.QUOTATION_MARK:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Y.APOSTROPHE:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(j8.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case Y.QUOTATION_MARK:this._err(j8.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Y.APOSTROPHE:this._err(j8.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Y.GREATER_THAN_SIGN:this._err(j8.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(j8.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.QUOTATION_MARK:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Y.APOSTROPHE:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Y.GREATER_THAN_SIGN:this._err(j8.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(j8.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case Y.QUOTATION_MARK:this.state=Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),t.systemId+=`�`;break;case Y.GREATER_THAN_SIGN:this._err(j8.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case Y.APOSTROPHE:this.state=Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Y.NULL:this._err(j8.unexpectedNullCharacter),t.systemId+=`�`;break;case Y.GREATER_THAN_SIGN:this._err(j8.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case Y.SPACE:case Y.LINE_FEED:case Y.TABULATION:case Y.FORM_FEED:break;case Y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case Y.EOF:this._err(j8.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(j8.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case Y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case Y.NULL:this._err(j8.unexpectedNullCharacter);break;case Y.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case Y.RIGHT_SQUARE_BRACKET:this.state=Z.CDATA_SECTION_BRACKET;break;case Y.EOF:this._err(j8.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===Y.RIGHT_SQUARE_BRACKET?this.state=Z.CDATA_SECTION_END:(this._emitChars(`]`),this.state=Z.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case Y.GREATER_THAN_SIGN:this.state=Z.DATA;break;case Y.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=Z.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Y.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&DVn(this.preprocessor.peek(1))?Z.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){DVn(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===Y.SEMICOLON&&this._err(j8.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}})),NVn,PVn,X8,FVn,IVn,LVn,RVn,zVn,BVn,VVn,HVn,UVn,WVn=s((()=>{G8(),NVn=new Set([X.DD,X.DT,X.LI,X.OPTGROUP,X.OPTION,X.P,X.RB,X.RP,X.RT,X.RTC]),PVn=new Set([...NVn,X.CAPTION,X.COLGROUP,X.TBODY,X.TD,X.TFOOT,X.TH,X.THEAD,X.TR]),X8=new Set([X.APPLET,X.CAPTION,X.HTML,X.MARQUEE,X.OBJECT,X.TABLE,X.TD,X.TEMPLATE,X.TH]),FVn=new Set([...X8,X.OL,X.UL]),IVn=new Set([...X8,X.BUTTON]),LVn=new Set([X.ANNOTATION_XML,X.MI,X.MN,X.MO,X.MS,X.MTEXT]),RVn=new Set([X.DESC,X.FOREIGN_OBJECT,X.TITLE]),zVn=new Set([X.TR,X.TEMPLATE,X.HTML]),BVn=new Set([X.TBODY,X.TFOOT,X.THEAD,X.TEMPLATE,X.HTML]),VVn=new Set([X.TABLE,X.TEMPLATE,X.HTML]),HVn=new Set([X.TD,X.TH]),UVn=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=X.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===X.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===z8.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==z8.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(W8,z8.HTML)}popUntilTableCellPopped(){this.popUntilPopped(HVn,z8.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(VVn,z8.HTML)}clearBackToTableBodyContext(){this.clearBackTo(BVn,z8.HTML)}clearBackToTableRowContext(){this.clearBackTo(zVn,z8.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===X.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===X.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case z8.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case z8.SVG:if(RVn.has(r))return!1;break;case z8.MATHML:if(LVn.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,X8)}hasInListItemScope(e){return this.hasInDynamicScope(e,FVn)}hasInButtonScope(e){return this.hasInDynamicScope(e,IVn)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case z8.HTML:if(W8.has(t))return!0;if(X8.has(t))return!1;break;case z8.SVG:if(RVn.has(t))return!1;break;case z8.MATHML:if(LVn.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===z8.HTML)switch(this.tagIDs[t]){case e:return!0;case X.TABLE:case X.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===z8.HTML)switch(this.tagIDs[e]){case X.TBODY:case X.THEAD:case X.TFOOT:return!0;case X.TABLE:case X.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===z8.HTML)switch(this.tagIDs[t]){case e:return!0;case X.OPTION:case X.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&NVn.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&PVn.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&PVn.has(this.currentTagId);)this.pop()}}})),Z8,Q8,GVn,KVn,qVn=s((()=>{Z8=3,(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(Q8||={}),GVn={type:Q8.Marker},KVn=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===Q8.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<Z8)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<Z8)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=Z8&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(GVn)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Q8.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Q8.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(GVn);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===Q8.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===Q8.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===Q8.Element&&t.element===e)}}})),$8,JVn=s((()=>{G8(),$8={createDocument(){return{nodeName:`#document`,mode:V8.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:`#document-fragment`,childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:`#comment`,data:e,parentNode:null}},createTextNode(e){return{nodeName:`#text`,value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};$8.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if($8.isTextNode(n)){n.value+=t;return}}$8.appendChild(e,$8.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&$8.isTextNode(r)?r.value+=t:$8.insertBefore(e,$8.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===`#text`},isCommentNode(e){return e.nodeName===`#comment`},isDocumentTypeNode(e){return e.nodeName===`#documentType`},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,`tagName`)},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}}}));function YVn(e,t){return t.some(t=>e.startsWith(t))}function XVn(e){return e.name===QVn&&e.publicId===null&&(e.systemId===null||e.systemId===$Vn)}function ZVn(e){if(e.name!==QVn)return V8.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===eHn)return V8.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),rHn.has(n))return V8.QUIRKS;let e=t===null?nHn:tHn;if(YVn(n,e))return V8.QUIRKS;if(e=t===null?iHn:aHn,YVn(n,e))return V8.LIMITED_QUIRKS}return V8.NO_QUIRKS}var QVn,$Vn,eHn,tHn,nHn,rHn,iHn,aHn,oHn=s((()=>{G8(),QVn=`html`,$Vn=`about:legacy-compat`,eHn=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,tHn=`+//silmaril//dtd html pro v0r11 19970101//,-//as//dtd html 3.0 aswedit + extensions//,-//advasoft ltd//dtd html 3.0 aswedit + extensions//,-//ietf//dtd html 2.0 level 1//,-//ietf//dtd html 2.0 level 2//,-//ietf//dtd html 2.0 strict level 1//,-//ietf//dtd html 2.0 strict level 2//,-//ietf//dtd html 2.0 strict//,-//ietf//dtd html 2.0//,-//ietf//dtd html 2.1e//,-//ietf//dtd html 3.0//,-//ietf//dtd html 3.2 final//,-//ietf//dtd html 3.2//,-//ietf//dtd html 3//,-//ietf//dtd html level 0//,-//ietf//dtd html level 1//,-//ietf//dtd html level 2//,-//ietf//dtd html level 3//,-//ietf//dtd html strict level 0//,-//ietf//dtd html strict level 1//,-//ietf//dtd html strict level 2//,-//ietf//dtd html strict level 3//,-//ietf//dtd html strict//,-//ietf//dtd html//,-//metrius//dtd metrius presentational//,-//microsoft//dtd internet explorer 2.0 html strict//,-//microsoft//dtd internet explorer 2.0 html//,-//microsoft//dtd internet explorer 2.0 tables//,-//microsoft//dtd internet explorer 3.0 html strict//,-//microsoft//dtd internet explorer 3.0 html//,-//microsoft//dtd internet explorer 3.0 tables//,-//netscape comm. corp.//dtd html//,-//netscape comm. corp.//dtd strict html//,-//o'reilly and associates//dtd html 2.0//,-//o'reilly and associates//dtd html extended 1.0//,-//o'reilly and associates//dtd html extended relaxed 1.0//,-//sq//dtd html 2.0 hotmetal + extensions//,-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//,-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//,-//spyglass//dtd html 2.0 extended//,-//sun microsystems corp.//dtd hotjava html//,-//sun microsystems corp.//dtd hotjava strict html//,-//w3c//dtd html 3 1995-03-24//,-//w3c//dtd html 3.2 draft//,-//w3c//dtd html 3.2 final//,-//w3c//dtd html 3.2//,-//w3c//dtd html 3.2s draft//,-//w3c//dtd html 4.0 frameset//,-//w3c//dtd html 4.0 transitional//,-//w3c//dtd html experimental 19960712//,-//w3c//dtd html experimental 970421//,-//w3c//dtd w3 html//,-//w3o//dtd w3 html 3.0//,-//webtechs//dtd mozilla html 2.0//,-//webtechs//dtd mozilla html//`.split(`,`),nHn=[...tHn,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],rHn=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),iHn=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],aHn=[...iHn,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`]}));function sHn(e){let t=e.tagID;return t===X.FONT&&e.attrs.some(({name:e})=>e===B8.COLOR||e===B8.SIZE||e===B8.FACE)||xHn.has(t)}function cHn(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===gHn){e.attrs[t].name=_Hn;break}}function lHn(e){for(let t=0;t<e.attrs.length;t++){let n=vHn.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function uHn(e){for(let t=0;t<e.attrs.length;t++){let n=yHn.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function dHn(e){let t=bHn.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=R8(e.tagName))}function fHn(e,t){return t===z8.MATHML&&(e===X.MI||e===X.MO||e===X.MN||e===X.MS||e===X.MTEXT)}function pHn(e,t,n){if(t===z8.MATHML&&e===X.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===B8.ENCODING){let t=n[e].value.toLowerCase();return t===hHn.TEXT_HTML||t===hHn.APPLICATION_XML}}return t===z8.SVG&&(e===X.FOREIGN_OBJECT||e===X.DESC||e===X.TITLE)}function mHn(e,t,n,r){return(!r||r===z8.HTML)&&pHn(e,t,n)||(!r||r===z8.MATHML)&&fHn(e,t)}var hHn,gHn,_Hn,vHn,yHn,bHn,xHn,SHn=s((()=>{G8(),hHn={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},gHn=`definitionurl`,_Hn=`definitionURL`,vHn=new Map(`attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),yHn=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:z8.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:z8.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:z8.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:z8.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:z8.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:z8.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:z8.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:z8.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:z8.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:z8.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:z8.XMLNS}]]),bHn=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),xHn=new Set([X.B,X.BIG,X.BLOCKQUOTE,X.BODY,X.BR,X.CENTER,X.CODE,X.DD,X.DIV,X.DL,X.DT,X.EM,X.EMBED,X.H1,X.H2,X.H3,X.H4,X.H5,X.H6,X.HEAD,X.HR,X.I,X.IMG,X.LI,X.LISTING,X.MENU,X.META,X.NOBR,X.OL,X.P,X.PRE,X.RUBY,X.S,X.SMALL,X.SPAN,X.STRONG,X.STRIKE,X.SUB,X.SUP,X.TABLE,X.TT,X.U,X.UL,X.VAR])}));function CHn(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):PUn(e,t),n}function wHn(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function THn(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=TWn;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=EHn(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function EHn(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function DHn(e,t,n){let r=R8(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===X.TEMPLATE&&i===z8.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function OHn(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function kHn(e,t){for(let n=0;n<wWn;n++){let n=CHn(e,t);if(!n)break;let r=wHn(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=THn(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&DHn(e,a,i),OHn(e,r,n)}}function AHn(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function jHn(e,t){e._appendCommentNode(t,e.openElements.items[0])}function MHn(e,t){e._appendCommentNode(t,e.document)}function NHn(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function PHn(e,t){e._setDocumentType(t);let n=t.forceQuirks?V8.QUIRKS:ZVn(t);XVn(t)||e._err(t,j8.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Q.BEFORE_HTML}function e5(e,t){e._err(t,j8.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,V8.QUIRKS),e.insertionMode=Q.BEFORE_HTML,e._processToken(t)}function FHn(e,t){t.tagID===X.HTML?(e._insertElement(t,z8.HTML),e.insertionMode=Q.BEFORE_HEAD):t5(e,t)}function IHn(e,t){let n=t.tagID;(n===X.HTML||n===X.HEAD||n===X.BODY||n===X.BR)&&t5(e,t)}function t5(e,t){e._insertFakeRootElement(),e.insertionMode=Q.BEFORE_HEAD,e._processToken(t)}function LHn(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.HEAD:e._insertElement(t,z8.HTML),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD;break;default:n5(e,t)}}function RHn(e,t){let n=t.tagID;n===X.HEAD||n===X.BODY||n===X.HTML||n===X.BR?n5(e,t):e._err(t,j8.endTagWithoutMatchingOpenElement)}function n5(e,t){e._insertFakeElement(H8.HEAD,X.HEAD),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD,e._processToken(t)}function r5(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.BASE:case X.BASEFONT:case X.BGSOUND:case X.LINK:case X.META:e._appendElement(t,z8.HTML),t.ackSelfClosing=!0;break;case X.TITLE:e._switchToTextParsing(t,Y8.RCDATA);break;case X.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Y8.RAWTEXT):(e._insertElement(t,z8.HTML),e.insertionMode=Q.IN_HEAD_NO_SCRIPT);break;case X.NOFRAMES:case X.STYLE:e._switchToTextParsing(t,Y8.RAWTEXT);break;case X.SCRIPT:e._switchToTextParsing(t,Y8.SCRIPT_DATA);break;case X.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Q.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE);break;case X.HEAD:e._err(t,j8.misplacedStartTagForHeadElement);break;default:a5(e,t)}}function zHn(e,t){switch(t.tagID){case X.HEAD:e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD;break;case X.BODY:case X.BR:case X.HTML:a5(e,t);break;case X.TEMPLATE:i5(e,t);break;default:e._err(t,j8.endTagWithoutMatchingOpenElement)}}function i5(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==X.TEMPLATE&&e._err(t,j8.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(X.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,j8.endTagWithoutMatchingOpenElement)}function a5(e,t){e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD,e._processToken(t)}function BHn(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.BASEFONT:case X.BGSOUND:case X.HEAD:case X.LINK:case X.META:case X.NOFRAMES:case X.STYLE:r5(e,t);break;case X.NOSCRIPT:e._err(t,j8.nestedNoscriptInHead);break;default:o5(e,t)}}function VHn(e,t){switch(t.tagID){case X.NOSCRIPT:e.openElements.pop(),e.insertionMode=Q.IN_HEAD;break;case X.BR:o5(e,t);break;default:e._err(t,j8.endTagWithoutMatchingOpenElement)}}function o5(e,t){let n=t.type===N8.EOF?j8.openElementsLeftAfterEof:j8.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Q.IN_HEAD,e._processToken(t)}function HHn(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.BODY:e._insertElement(t,z8.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_BODY;break;case X.FRAMESET:e._insertElement(t,z8.HTML),e.insertionMode=Q.IN_FRAMESET;break;case X.BASE:case X.BASEFONT:case X.BGSOUND:case X.LINK:case X.META:case X.NOFRAMES:case X.SCRIPT:case X.STYLE:case X.TEMPLATE:case X.TITLE:e._err(t,j8.abandonedHeadElementChild),e.openElements.push(e.headElement,X.HEAD),r5(e,t),e.openElements.remove(e.headElement);break;case X.HEAD:e._err(t,j8.misplacedStartTagForHeadElement);break;default:s5(e,t)}}function UHn(e,t){switch(t.tagID){case X.BODY:case X.HTML:case X.BR:s5(e,t);break;case X.TEMPLATE:i5(e,t);break;default:e._err(t,j8.endTagWithoutMatchingOpenElement)}}function s5(e,t){e._insertFakeElement(H8.BODY,X.BODY),e.insertionMode=Q.IN_BODY,c5(e,t)}function c5(e,t){switch(t.type){case N8.CHARACTER:GHn(e,t);break;case N8.WHITESPACE_CHARACTER:WHn(e,t);break;case N8.COMMENT:AHn(e,t);break;case N8.START_TAG:l5(e,t);break;case N8.END_TAG:u5(e,t);break;case N8.EOF:FUn(e,t)}}function WHn(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function GHn(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function KHn(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function qHn(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function JHn(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,z8.HTML),e.insertionMode=Q.IN_FRAMESET)}function YHn(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,z8.HTML)}function XHn(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&W8.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,z8.HTML)}function ZHn(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,z8.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function QHn(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,z8.HTML),n||(e.formElement=e.openElements.current))}function $Hn(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===X.LI&&r===X.LI||(n===X.DD||n===X.DT)&&(r===X.DD||r===X.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==X.ADDRESS&&r!==X.DIV&&r!==X.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,z8.HTML)}function eUn(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,z8.HTML),e.tokenizer.state=Y8.PLAINTEXT}function tUn(e,t){e.openElements.hasInScope(X.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(X.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,z8.HTML),e.framesetOk=!1}function nUn(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(H8.A);n&&(kHn(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,z8.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function rUn(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,z8.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function iUn(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(X.NOBR)&&(kHn(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,z8.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function aUn(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,z8.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function oUn(e,t){e.treeAdapter.getDocumentMode(e.document)!==V8.QUIRKS&&e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,z8.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_TABLE}function sUn(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,z8.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function cUn(e){let t=cVn(e,B8.TYPE);return t!=null&&t.toLowerCase()===CWn}function lUn(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,z8.HTML),cUn(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function uUn(e,t){e._appendElement(t,z8.HTML),t.ackSelfClosing=!0}function dUn(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._appendElement(t,z8.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function fUn(e,t){t.tagName=H8.IMG,t.tagID=X.IMG,sUn(e,t)}function pUn(e,t){e._insertElement(t,z8.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Y8.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Q.TEXT}function mUn(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Y8.RAWTEXT)}function hUn(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Y8.RAWTEXT)}function gUn(e,t){e._switchToTextParsing(t,Y8.RAWTEXT)}function _Un(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,z8.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Q.IN_TABLE||e.insertionMode===Q.IN_CAPTION||e.insertionMode===Q.IN_TABLE_BODY||e.insertionMode===Q.IN_ROW||e.insertionMode===Q.IN_CELL?Q.IN_SELECT_IN_TABLE:Q.IN_SELECT}function vUn(e,t){e.openElements.currentTagId===X.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,z8.HTML)}function yUn(e,t){e.openElements.hasInScope(X.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,z8.HTML)}function bUn(e,t){e.openElements.hasInScope(X.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(X.RTC),e._insertElement(t,z8.HTML)}function xUn(e,t){e._reconstructActiveFormattingElements(),cHn(t),uHn(t),t.selfClosing?e._appendElement(t,z8.MATHML):e._insertElement(t,z8.MATHML),t.ackSelfClosing=!0}function SUn(e,t){e._reconstructActiveFormattingElements(),lHn(t),uHn(t),t.selfClosing?e._appendElement(t,z8.SVG):e._insertElement(t,z8.SVG),t.ackSelfClosing=!0}function CUn(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,z8.HTML)}function l5(e,t){switch(t.tagID){case X.I:case X.S:case X.B:case X.U:case X.EM:case X.TT:case X.BIG:case X.CODE:case X.FONT:case X.SMALL:case X.STRIKE:case X.STRONG:rUn(e,t);break;case X.A:nUn(e,t);break;case X.H1:case X.H2:case X.H3:case X.H4:case X.H5:case X.H6:XHn(e,t);break;case X.P:case X.DL:case X.OL:case X.UL:case X.DIV:case X.DIR:case X.NAV:case X.MAIN:case X.MENU:case X.ASIDE:case X.CENTER:case X.FIGURE:case X.FOOTER:case X.HEADER:case X.HGROUP:case X.DIALOG:case X.DETAILS:case X.ADDRESS:case X.ARTICLE:case X.SEARCH:case X.SECTION:case X.SUMMARY:case X.FIELDSET:case X.BLOCKQUOTE:case X.FIGCAPTION:YHn(e,t);break;case X.LI:case X.DD:case X.DT:$Hn(e,t);break;case X.BR:case X.IMG:case X.WBR:case X.AREA:case X.EMBED:case X.KEYGEN:sUn(e,t);break;case X.HR:dUn(e,t);break;case X.RB:case X.RTC:yUn(e,t);break;case X.RT:case X.RP:bUn(e,t);break;case X.PRE:case X.LISTING:ZHn(e,t);break;case X.XMP:mUn(e,t);break;case X.SVG:SUn(e,t);break;case X.HTML:KHn(e,t);break;case X.BASE:case X.LINK:case X.META:case X.STYLE:case X.TITLE:case X.SCRIPT:case X.BGSOUND:case X.BASEFONT:case X.TEMPLATE:r5(e,t);break;case X.BODY:qHn(e,t);break;case X.FORM:QHn(e,t);break;case X.NOBR:iUn(e,t);break;case X.MATH:xUn(e,t);break;case X.TABLE:oUn(e,t);break;case X.INPUT:lUn(e,t);break;case X.PARAM:case X.TRACK:case X.SOURCE:uUn(e,t);break;case X.IMAGE:fUn(e,t);break;case X.BUTTON:tUn(e,t);break;case X.APPLET:case X.OBJECT:case X.MARQUEE:aUn(e,t);break;case X.IFRAME:hUn(e,t);break;case X.SELECT:_Un(e,t);break;case X.OPTION:case X.OPTGROUP:vUn(e,t);break;case X.NOEMBED:case X.NOFRAMES:gUn(e,t);break;case X.FRAMESET:JHn(e,t);break;case X.TEXTAREA:pUn(e,t);break;case X.NOSCRIPT:e.options.scriptingEnabled?gUn(e,t):CUn(e,t);break;case X.PLAINTEXT:eUn(e,t);break;case X.COL:case X.TH:case X.TD:case X.TR:case X.HEAD:case X.FRAME:case X.TBODY:case X.TFOOT:case X.THEAD:case X.CAPTION:case X.COLGROUP:break;default:CUn(e,t)}}function wUn(e,t){if(e.openElements.hasInScope(X.BODY)&&(e.insertionMode=Q.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function TUn(e,t){e.openElements.hasInScope(X.BODY)&&(e.insertionMode=Q.AFTER_BODY,dWn(e,t))}function EUn(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function DUn(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(X.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(X.FORM):n&&e.openElements.remove(n))}function OUn(e){e.openElements.hasInButtonScope(X.P)||e._insertFakeElement(H8.P,X.P),e._closePElement()}function kUn(e){e.openElements.hasInListItemScope(X.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(X.LI),e.openElements.popUntilTagNamePopped(X.LI))}function AUn(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function jUn(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function MUn(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function NUn(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(H8.BR,X.BR),e.openElements.pop(),e.framesetOk=!1}function PUn(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==X.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function u5(e,t){switch(t.tagID){case X.A:case X.B:case X.I:case X.S:case X.U:case X.EM:case X.TT:case X.BIG:case X.CODE:case X.FONT:case X.NOBR:case X.SMALL:case X.STRIKE:case X.STRONG:kHn(e,t);break;case X.P:OUn(e);break;case X.DL:case X.UL:case X.OL:case X.DIR:case X.DIV:case X.NAV:case X.PRE:case X.MAIN:case X.MENU:case X.ASIDE:case X.BUTTON:case X.CENTER:case X.FIGURE:case X.FOOTER:case X.HEADER:case X.HGROUP:case X.DIALOG:case X.ADDRESS:case X.ARTICLE:case X.DETAILS:case X.SEARCH:case X.SECTION:case X.SUMMARY:case X.LISTING:case X.FIELDSET:case X.BLOCKQUOTE:case X.FIGCAPTION:EUn(e,t);break;case X.LI:kUn(e);break;case X.DD:case X.DT:AUn(e,t);break;case X.H1:case X.H2:case X.H3:case X.H4:case X.H5:case X.H6:jUn(e);break;case X.BR:NUn(e);break;case X.BODY:wUn(e,t);break;case X.HTML:TUn(e,t);break;case X.FORM:DUn(e);break;case X.APPLET:case X.OBJECT:case X.MARQUEE:MUn(e,t);break;case X.TEMPLATE:i5(e,t);break;default:PUn(e,t)}}function FUn(e,t){e.tmplInsertionModeStack.length>0?lWn(e,t):NHn(e,t)}function IUn(e,t){var n;t.tagID===X.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function LUn(e,t){e._err(t,j8.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function RUn(e,t){if(e.openElements.currentTagId!==void 0&&DWn.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Q.IN_TABLE_TEXT,t.type){case N8.CHARACTER:JUn(e,t);break;case N8.WHITESPACE_CHARACTER:qUn(e,t)}else p5(e,t)}function zUn(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,z8.HTML),e.insertionMode=Q.IN_CAPTION}function BUn(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,z8.HTML),e.insertionMode=Q.IN_COLUMN_GROUP}function VUn(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H8.COLGROUP,X.COLGROUP),e.insertionMode=Q.IN_COLUMN_GROUP,ZUn(e,t)}function HUn(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,z8.HTML),e.insertionMode=Q.IN_TABLE_BODY}function UUn(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H8.TBODY,X.TBODY),e.insertionMode=Q.IN_TABLE_BODY,g5(e,t)}function WUn(e,t){e.openElements.hasInTableScope(X.TABLE)&&(e.openElements.popUntilTagNamePopped(X.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function GUn(e,t){cUn(t)?e._appendElement(t,z8.HTML):p5(e,t),t.ackSelfClosing=!0}function KUn(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,z8.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function d5(e,t){switch(t.tagID){case X.TD:case X.TH:case X.TR:UUn(e,t);break;case X.STYLE:case X.SCRIPT:case X.TEMPLATE:r5(e,t);break;case X.COL:VUn(e,t);break;case X.FORM:KUn(e,t);break;case X.TABLE:WUn(e,t);break;case X.TBODY:case X.TFOOT:case X.THEAD:HUn(e,t);break;case X.INPUT:GUn(e,t);break;case X.CAPTION:zUn(e,t);break;case X.COLGROUP:BUn(e,t);break;default:p5(e,t)}}function f5(e,t){switch(t.tagID){case X.TABLE:e.openElements.hasInTableScope(X.TABLE)&&(e.openElements.popUntilTagNamePopped(X.TABLE),e._resetInsertionMode());break;case X.TEMPLATE:i5(e,t);break;case X.BODY:case X.CAPTION:case X.COL:case X.COLGROUP:case X.HTML:case X.TBODY:case X.TD:case X.TFOOT:case X.TH:case X.THEAD:case X.TR:break;default:p5(e,t)}}function p5(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,c5(e,t),e.fosterParentingEnabled=n}function qUn(e,t){e.pendingCharacterTokens.push(t)}function JUn(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function m5(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)p5(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function YUn(e,t){let n=t.tagID;AWn.has(n)?e.openElements.hasInTableScope(X.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(X.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,d5(e,t)):l5(e,t)}function XUn(e,t){let n=t.tagID;switch(n){case X.CAPTION:case X.TABLE:e.openElements.hasInTableScope(X.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(X.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,n===X.TABLE&&f5(e,t));break;case X.BODY:case X.COL:case X.COLGROUP:case X.HTML:case X.TBODY:case X.TD:case X.TFOOT:case X.TH:case X.THEAD:case X.TR:break;default:u5(e,t)}}function ZUn(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.COL:e._appendElement(t,z8.HTML),t.ackSelfClosing=!0;break;case X.TEMPLATE:r5(e,t);break;default:h5(e,t)}}function QUn(e,t){switch(t.tagID){case X.COLGROUP:e.openElements.currentTagId===X.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break;case X.TEMPLATE:i5(e,t);break;case X.COL:break;default:h5(e,t)}}function h5(e,t){e.openElements.currentTagId===X.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE,e._processToken(t))}function g5(e,t){switch(t.tagID){case X.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,z8.HTML),e.insertionMode=Q.IN_ROW;break;case X.TH:case X.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(H8.TR,X.TR),e.insertionMode=Q.IN_ROW,_5(e,t);break;case X.CAPTION:case X.COL:case X.COLGROUP:case X.TBODY:case X.TFOOT:case X.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,d5(e,t));break;default:d5(e,t)}}function $Un(e,t){let n=t.tagID;switch(t.tagID){case X.TBODY:case X.TFOOT:case X.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break;case X.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,f5(e,t));break;case X.BODY:case X.CAPTION:case X.COL:case X.COLGROUP:case X.HTML:case X.TD:case X.TH:case X.TR:break;default:f5(e,t)}}function _5(e,t){switch(t.tagID){case X.TH:case X.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,z8.HTML),e.insertionMode=Q.IN_CELL,e.activeFormattingElements.insertMarker();break;case X.CAPTION:case X.COL:case X.COLGROUP:case X.TBODY:case X.TFOOT:case X.THEAD:case X.TR:e.openElements.hasInTableScope(X.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,g5(e,t));break;default:d5(e,t)}}function eWn(e,t){switch(t.tagID){case X.TR:e.openElements.hasInTableScope(X.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY);break;case X.TABLE:e.openElements.hasInTableScope(X.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,$Un(e,t));break;case X.TBODY:case X.TFOOT:case X.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(X.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,$Un(e,t));break;case X.BODY:case X.CAPTION:case X.COL:case X.COLGROUP:case X.HTML:case X.TD:case X.TH:break;default:f5(e,t)}}function tWn(e,t){let n=t.tagID;AWn.has(n)?(e.openElements.hasInTableScope(X.TD)||e.openElements.hasInTableScope(X.TH))&&(e._closeTableCell(),_5(e,t)):l5(e,t)}function nWn(e,t){let n=t.tagID;switch(n){case X.TD:case X.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_ROW);break;case X.TABLE:case X.TBODY:case X.TFOOT:case X.THEAD:case X.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),eWn(e,t));break;case X.BODY:case X.CAPTION:case X.COL:case X.COLGROUP:case X.HTML:break;default:u5(e,t)}}function rWn(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.OPTION:e.openElements.currentTagId===X.OPTION&&e.openElements.pop(),e._insertElement(t,z8.HTML);break;case X.OPTGROUP:e.openElements.currentTagId===X.OPTION&&e.openElements.pop(),e.openElements.currentTagId===X.OPTGROUP&&e.openElements.pop(),e._insertElement(t,z8.HTML);break;case X.HR:e.openElements.currentTagId===X.OPTION&&e.openElements.pop(),e.openElements.currentTagId===X.OPTGROUP&&e.openElements.pop(),e._appendElement(t,z8.HTML),t.ackSelfClosing=!0;break;case X.INPUT:case X.KEYGEN:case X.TEXTAREA:case X.SELECT:e.openElements.hasInSelectScope(X.SELECT)&&(e.openElements.popUntilTagNamePopped(X.SELECT),e._resetInsertionMode(),t.tagID!==X.SELECT&&e._processStartTag(t));break;case X.SCRIPT:case X.TEMPLATE:r5(e,t)}}function iWn(e,t){switch(t.tagID){case X.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===X.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===X.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===X.OPTGROUP&&e.openElements.pop();break;case X.OPTION:e.openElements.currentTagId===X.OPTION&&e.openElements.pop();break;case X.SELECT:e.openElements.hasInSelectScope(X.SELECT)&&(e.openElements.popUntilTagNamePopped(X.SELECT),e._resetInsertionMode());break;case X.TEMPLATE:i5(e,t)}}function aWn(e,t){let n=t.tagID;n===X.CAPTION||n===X.TABLE||n===X.TBODY||n===X.TFOOT||n===X.THEAD||n===X.TR||n===X.TD||n===X.TH?(e.openElements.popUntilTagNamePopped(X.SELECT),e._resetInsertionMode(),e._processStartTag(t)):rWn(e,t)}function oWn(e,t){let n=t.tagID;n===X.CAPTION||n===X.TABLE||n===X.TBODY||n===X.TFOOT||n===X.THEAD||n===X.TR||n===X.TD||n===X.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(X.SELECT),e._resetInsertionMode(),e.onEndTag(t)):iWn(e,t)}function sWn(e,t){switch(t.tagID){case X.BASE:case X.BASEFONT:case X.BGSOUND:case X.LINK:case X.META:case X.NOFRAMES:case X.SCRIPT:case X.STYLE:case X.TEMPLATE:case X.TITLE:r5(e,t);break;case X.CAPTION:case X.COLGROUP:case X.TBODY:case X.TFOOT:case X.THEAD:e.tmplInsertionModeStack[0]=Q.IN_TABLE,e.insertionMode=Q.IN_TABLE,d5(e,t);break;case X.COL:e.tmplInsertionModeStack[0]=Q.IN_COLUMN_GROUP,e.insertionMode=Q.IN_COLUMN_GROUP,ZUn(e,t);break;case X.TR:e.tmplInsertionModeStack[0]=Q.IN_TABLE_BODY,e.insertionMode=Q.IN_TABLE_BODY,g5(e,t);break;case X.TD:case X.TH:e.tmplInsertionModeStack[0]=Q.IN_ROW,e.insertionMode=Q.IN_ROW,_5(e,t);break;default:e.tmplInsertionModeStack[0]=Q.IN_BODY,e.insertionMode=Q.IN_BODY,l5(e,t)}}function cWn(e,t){t.tagID===X.TEMPLATE&&i5(e,t)}function lWn(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(X.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):NHn(e,t)}function uWn(e,t){t.tagID===X.HTML?l5(e,t):v5(e,t)}function dWn(e,t){if(t.tagID===X.HTML){if(e.fragmentContext||(e.insertionMode=Q.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===X.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else v5(e,t)}function v5(e,t){e.insertionMode=Q.IN_BODY,c5(e,t)}function fWn(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.FRAMESET:e._insertElement(t,z8.HTML);break;case X.FRAME:e._appendElement(t,z8.HTML),t.ackSelfClosing=!0;break;case X.NOFRAMES:r5(e,t)}}function pWn(e,t){t.tagID===X.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==X.FRAMESET&&(e.insertionMode=Q.AFTER_FRAMESET))}function mWn(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.NOFRAMES:r5(e,t)}}function hWn(e,t){t.tagID===X.HTML&&(e.insertionMode=Q.AFTER_AFTER_FRAMESET)}function gWn(e,t){t.tagID===X.HTML?l5(e,t):y5(e,t)}function y5(e,t){e.insertionMode=Q.IN_BODY,c5(e,t)}function _Wn(e,t){switch(t.tagID){case X.HTML:l5(e,t);break;case X.NOFRAMES:r5(e,t)}}function vWn(e,t){t.chars=`�`,e._insertCharacters(t)}function yWn(e,t){e._insertCharacters(t),e.framesetOk=!1}function bWn(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==z8.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function xWn(e,t){if(sHn(t))bWn(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===z8.MATHML?cHn(t):r===z8.SVG&&(dHn(t),lHn(t)),uHn(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function SWn(e,t){if(t.tagID===X.P||t.tagID===X.BR)bWn(e),e._endTagOutsideForeignContent(t);else for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===z8.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}var CWn,wWn,TWn,Q,EWn,DWn,OWn,kWn,AWn,jWn=s((()=>{MVn(),WVn(),qVn(),JVn(),oHn(),SHn(),M8(),iVn(),G8(),lVn(),CWn=`hidden`,wWn=8,TWn=3,(function(e){e[e.INITIAL=0]=`INITIAL`,e[e.BEFORE_HTML=1]=`BEFORE_HTML`,e[e.BEFORE_HEAD=2]=`BEFORE_HEAD`,e[e.IN_HEAD=3]=`IN_HEAD`,e[e.IN_HEAD_NO_SCRIPT=4]=`IN_HEAD_NO_SCRIPT`,e[e.AFTER_HEAD=5]=`AFTER_HEAD`,e[e.IN_BODY=6]=`IN_BODY`,e[e.TEXT=7]=`TEXT`,e[e.IN_TABLE=8]=`IN_TABLE`,e[e.IN_TABLE_TEXT=9]=`IN_TABLE_TEXT`,e[e.IN_CAPTION=10]=`IN_CAPTION`,e[e.IN_COLUMN_GROUP=11]=`IN_COLUMN_GROUP`,e[e.IN_TABLE_BODY=12]=`IN_TABLE_BODY`,e[e.IN_ROW=13]=`IN_ROW`,e[e.IN_CELL=14]=`IN_CELL`,e[e.IN_SELECT=15]=`IN_SELECT`,e[e.IN_SELECT_IN_TABLE=16]=`IN_SELECT_IN_TABLE`,e[e.IN_TEMPLATE=17]=`IN_TEMPLATE`,e[e.AFTER_BODY=18]=`AFTER_BODY`,e[e.IN_FRAMESET=19]=`IN_FRAMESET`,e[e.AFTER_FRAMESET=20]=`AFTER_FRAMESET`,e[e.AFTER_AFTER_BODY=21]=`AFTER_AFTER_BODY`,e[e.AFTER_AFTER_FRAMESET=22]=`AFTER_AFTER_FRAMESET`})(Q||={}),EWn={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},DWn=new Set([X.TABLE,X.TBODY,X.TFOOT,X.THEAD,X.TR]),OWn={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:$8,onParseError:null},kWn=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=Q.INITIAL,this.originalInsertionMode=Q.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...OWn,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new jVn(this.options,this),this.activeFormattingElements=new KVn(this.treeAdapter),this.fragmentContextID=n?R8(this.treeAdapter.getTagName(n)):X.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new UVn(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...OWn,...t};e??=n.treeAdapter.createElement(H8.TEMPLATE,z8.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,z8.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===X.TEMPLATE&&i.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??EWn,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===z8.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,z8.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Q.TEXT}switchToPlaintextParsing(){this.insertionMode=Q.TEXT,this.originalInsertionMode=Q.IN_BODY,this.tokenizer.state=Y8.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===H8.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===z8.HTML)switch(this.fragmentContextID){case X.TITLE:case X.TEXTAREA:this.tokenizer.state=Y8.RCDATA;break;case X.STYLE:case X.XMP:case X.IFRAME:case X.NOEMBED:case X.NOFRAMES:case X.NOSCRIPT:this.tokenizer.state=Y8.RAWTEXT;break;case X.SCRIPT:this.tokenizer.state=Y8.SCRIPT_DATA;break;case X.PLAINTEXT:this.tokenizer.state=Y8.PLAINTEXT}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,z8.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,z8.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(H8.HTML,z8.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,X.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===N8.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===X.SVG&&this.treeAdapter.getTagName(t)===H8.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===z8.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===X.MGLYPH||e.tagID===X.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,z8.HTML)}_processToken(e){switch(e.type){case N8.CHARACTER:this.onCharacter(e);break;case N8.NULL_CHARACTER:this.onNullCharacter(e);break;case N8.COMMENT:this.onComment(e);break;case N8.DOCTYPE:this.onDoctype(e);break;case N8.START_TAG:this._processStartTag(e);break;case N8.END_TAG:this.onEndTag(e);break;case N8.EOF:this.onEof(e);break;case N8.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return mHn(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===Q8.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Q.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(X.P),this.openElements.popUntilTagNamePopped(X.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case X.TR:this.insertionMode=Q.IN_ROW;return;case X.TBODY:case X.THEAD:case X.TFOOT:this.insertionMode=Q.IN_TABLE_BODY;return;case X.CAPTION:this.insertionMode=Q.IN_CAPTION;return;case X.COLGROUP:this.insertionMode=Q.IN_COLUMN_GROUP;return;case X.TABLE:this.insertionMode=Q.IN_TABLE;return;case X.BODY:this.insertionMode=Q.IN_BODY;return;case X.FRAMESET:this.insertionMode=Q.IN_FRAMESET;return;case X.SELECT:this._resetInsertionModeForSelect(e);return;case X.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case X.HTML:this.insertionMode=this.headElement?Q.AFTER_HEAD:Q.BEFORE_HEAD;return;case X.TD:case X.TH:if(e>0){this.insertionMode=Q.IN_CELL;return}break;case X.HEAD:if(e>0){this.insertionMode=Q.IN_HEAD;return}}this.insertionMode=Q.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===X.TEMPLATE)break;if(e===X.TABLE){this.insertionMode=Q.IN_SELECT_IN_TABLE;return}}this.insertionMode=Q.IN_SELECT}_isElementCausesFosterParenting(e){return DWn.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case X.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===z8.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case X.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return wVn[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)yWn(this,e);else switch(this.insertionMode){case Q.INITIAL:e5(this,e);break;case Q.BEFORE_HTML:t5(this,e);break;case Q.BEFORE_HEAD:n5(this,e);break;case Q.IN_HEAD:a5(this,e);break;case Q.IN_HEAD_NO_SCRIPT:o5(this,e);break;case Q.AFTER_HEAD:s5(this,e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:GHn(this,e);break;case Q.TEXT:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:RUn(this,e);break;case Q.IN_TABLE_TEXT:JUn(this,e);break;case Q.IN_COLUMN_GROUP:h5(this,e);break;case Q.AFTER_BODY:v5(this,e);break;case Q.AFTER_AFTER_BODY:y5(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)vWn(this,e);else switch(this.insertionMode){case Q.INITIAL:e5(this,e);break;case Q.BEFORE_HTML:t5(this,e);break;case Q.BEFORE_HEAD:n5(this,e);break;case Q.IN_HEAD:a5(this,e);break;case Q.IN_HEAD_NO_SCRIPT:o5(this,e);break;case Q.AFTER_HEAD:s5(this,e);break;case Q.TEXT:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:RUn(this,e);break;case Q.IN_COLUMN_GROUP:h5(this,e);break;case Q.AFTER_BODY:v5(this,e);break;case Q.AFTER_AFTER_BODY:y5(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)AHn(this,e);else switch(this.insertionMode){case Q.INITIAL:case Q.BEFORE_HTML:case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_TEMPLATE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:AHn(this,e);break;case Q.IN_TABLE_TEXT:m5(this,e);break;case Q.AFTER_BODY:jHn(this,e);break;case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:MHn(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Q.INITIAL:PHn(this,e);break;case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:this._err(e,j8.misplacedDoctype);break;case Q.IN_TABLE_TEXT:m5(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,j8.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?xWn(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:e5(this,e);break;case Q.BEFORE_HTML:FHn(this,e);break;case Q.BEFORE_HEAD:LHn(this,e);break;case Q.IN_HEAD:r5(this,e);break;case Q.IN_HEAD_NO_SCRIPT:BHn(this,e);break;case Q.AFTER_HEAD:HHn(this,e);break;case Q.IN_BODY:l5(this,e);break;case Q.IN_TABLE:d5(this,e);break;case Q.IN_TABLE_TEXT:m5(this,e);break;case Q.IN_CAPTION:YUn(this,e);break;case Q.IN_COLUMN_GROUP:ZUn(this,e);break;case Q.IN_TABLE_BODY:g5(this,e);break;case Q.IN_ROW:_5(this,e);break;case Q.IN_CELL:tWn(this,e);break;case Q.IN_SELECT:rWn(this,e);break;case Q.IN_SELECT_IN_TABLE:aWn(this,e);break;case Q.IN_TEMPLATE:sWn(this,e);break;case Q.AFTER_BODY:uWn(this,e);break;case Q.IN_FRAMESET:fWn(this,e);break;case Q.AFTER_FRAMESET:mWn(this,e);break;case Q.AFTER_AFTER_BODY:gWn(this,e);break;case Q.AFTER_AFTER_FRAMESET:_Wn(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?SWn(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:e5(this,e);break;case Q.BEFORE_HTML:IHn(this,e);break;case Q.BEFORE_HEAD:RHn(this,e);break;case Q.IN_HEAD:zHn(this,e);break;case Q.IN_HEAD_NO_SCRIPT:VHn(this,e);break;case Q.AFTER_HEAD:UHn(this,e);break;case Q.IN_BODY:u5(this,e);break;case Q.TEXT:IUn(this,e);break;case Q.IN_TABLE:f5(this,e);break;case Q.IN_TABLE_TEXT:m5(this,e);break;case Q.IN_CAPTION:XUn(this,e);break;case Q.IN_COLUMN_GROUP:QUn(this,e);break;case Q.IN_TABLE_BODY:$Un(this,e);break;case Q.IN_ROW:eWn(this,e);break;case Q.IN_CELL:nWn(this,e);break;case Q.IN_SELECT:iWn(this,e);break;case Q.IN_SELECT_IN_TABLE:oWn(this,e);break;case Q.IN_TEMPLATE:cWn(this,e);break;case Q.AFTER_BODY:dWn(this,e);break;case Q.IN_FRAMESET:pWn(this,e);break;case Q.AFTER_FRAMESET:hWn(this,e);break;case Q.AFTER_AFTER_BODY:y5(this,e)}}onEof(e){switch(this.insertionMode){case Q.INITIAL:e5(this,e);break;case Q.BEFORE_HTML:t5(this,e);break;case Q.BEFORE_HEAD:n5(this,e);break;case Q.IN_HEAD:a5(this,e);break;case Q.IN_HEAD_NO_SCRIPT:o5(this,e);break;case Q.AFTER_HEAD:s5(this,e);break;case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:FUn(this,e);break;case Q.TEXT:LUn(this,e);break;case Q.IN_TABLE_TEXT:m5(this,e);break;case Q.IN_TEMPLATE:lWn(this,e);break;case Q.AFTER_BODY:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:NHn(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===Y.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.TEXT:case Q.IN_COLUMN_GROUP:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:this._insertCharacters(e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:case Q.AFTER_BODY:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:WHn(this,e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:RUn(this,e);break;case Q.IN_TABLE_TEXT:qUn(this,e)}}},AWn=new Set([X.CAPTION,X.COL,X.COLGROUP,X.TBODY,X.TD,X.TFOOT,X.TH,X.THEAD,X.TR])}));function MWn(e,t){return kWn.parse(e,t)}function NWn(e,t,n){typeof e==`string`&&(n=t,t=e,e=null);let r=kWn.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}var PWn=s((()=>{jWn(),JVn(),G8(),M8(),SHn(),lVn(),MVn()})),FWn,IWn=s((()=>{FWn={abandonedHeadElementChild:{reason:`Unexpected metadata element after head`,description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:`Unexpected abruptly closed empty comment`,description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:`Unexpected abruptly closed public identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:`Unexpected abruptly closed system identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:`Unexpected non-digit at start of numeric character reference`,description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:`Unexpected CDATA section in HTML`,description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:`Unexpected too big numeric character reference`,description:`Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)`},closingOfElementWithOpenChildElements:{reason:`Unexpected closing tag with open child elements`,description:`Unexpectedly closing tag. Expected other tags to be closed first`,url:!1},controlCharacterInInputStream:{reason:`Unexpected control character`,description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:`Unexpected control character reference`,description:`Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace`},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:`Unexpected duplicate attribute`,description:`Unexpectedly double attribute. Expected attributes to occur only once`},endTagWithAttributes:{reason:`Unexpected attribute on closing tag`,description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:`Unexpected slash at end of closing tag`,description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:`Unexpected unopened end tag`,description:`Unexpected end tag. Expected no end tag or another end tag`,url:!1},eofBeforeTagName:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected tag name instead`},eofInCdata:{reason:`Unexpected end of file in CDATA`,description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:`Unexpected end of file in comment`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:`Unexpected end of file in doctype`,description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:`Unexpected end of file in element that can only contain text`,description:`Unexpected end of file. Expected text or a closing tag`,url:!1},eofInScriptHtmlCommentLikeText:{reason:`Unexpected end of file in comment inside script`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:`Unexpected end of file in tag`,description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:`Incorrectly closed comment`,description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:`Incorrectly opened comment`,description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:`Invalid sequence after doctype name`,description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:`Invalid first character in tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:`Misplaced doctype`,description:`Unexpected doctype. Expected doctype before head`,url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:`Missing attribute value`,description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:`Missing doctype before other content`,description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:`Missing doctype name`,description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:`Missing public identifier in doctype`,description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:`Missing system identifier in doctype`,description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:`Missing name in end tag`,description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:`Missing quote before public identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:`Missing quote before system identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:`Missing semicolon after character reference`,description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:`Missing whitespace after public identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:`Missing whitespace after system identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:`Missing whitespace before doctype name`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:`Missing whitespace between attributes`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:`Missing whitespace between public and system identifiers in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:`Unexpected nested comment`,description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:`Unexpected non-conforming doctype declaration`,description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:`Unexpected trailing slash on start tag of non-void element`,description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:`Unexpected noncharacter code point referenced by character reference`,description:`Unexpected code point. Do not use noncharacters in HTML`},noncharacterInInputStream:{reason:`Unexpected noncharacter character`,description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:`Unexpected NULL character referenced by character reference`,description:`Unexpected code point. Do not use NULL characters in HTML`},openElementsLeftAfterEof:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected closing tag instead`,url:!1},surrogateCharacterReference:{reason:`Unexpected surrogate character referenced by character reference`,description:`Unexpected code point. Do not use lone surrogate characters in HTML`},surrogateInInputStream:{reason:`Unexpected surrogate character`,description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:`Invalid character after system identifier in doctype`,description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:`Unexpected character in attribute name`,description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:`Unexpected character in unquoted attribute value`,description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:`Unexpected equals sign before attribute name`,description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:`Unexpected NULL character`,description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:`Unexpected question mark instead of tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:`Unexpected slash in tag`,description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:`Unexpected unknown named character reference`,description:`Unexpected character reference. Expected known named character references`}}}));function LWn(e,t){let n=t||qWn,r=n.onerror,i=e instanceof r8?e:new r8(e),a=n.fragment?NWn:MWn,o=String(i);return HBn(a(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:i,space:n.space,verbose:n.verbose});function s(e){let t=e.code,a=RWn(t),s=n[a]??!0,c=typeof s==`number`?s:+!!s;if(c){let n=FWn[a],o=new $6(l(n.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:`hast-util-from-html`});i.path&&(o.file=i.path,o.name=i.path+`:`+o.name),o.fatal=KWn[c],o.note=l(n.description),o.url=n.url===!1?void 0:HWn+t,r(o)}function l(t){return t.replace(WWn,n).replace(GWn,r);function n(t,n,r){let i=(r?Number.parseInt(r,10):0)*(n===`-`?-1:1);return BWn(o.charAt(e.startOffset+i))}function r(){return VWn(o.charCodeAt(e.startOffset))}}}}function RWn(e){return e.replace(UWn,zWn)}function zWn(e){return e.charAt(1).toUpperCase()}function BWn(e){return e==="`"?"` ` `":e}function VWn(e){return`0x`+e.toString(16).toUpperCase()}var HWn,UWn,WWn,GWn,KWn,qWn,JWn=s((()=>{r6(),ZBn(),PWn(),xzn(),ezn(),IWn(),HWn=`https://html.spec.whatwg.org/multipage/parsing.html#parse-error-`,UWn=/-[a-z]/g,WWn=/%c(?:([-+])(\d+))?/g,GWn=/%x/g,KWn={2:!0,1:!1,0:null},qWn={}})),YWn=s((()=>{JWn()}));function XWn(e){let t=this,{emitParseErrors:n,...r}={...t.data(`settings`),...e};t.parser=i;function i(e,t){return LWn(e,{...r,onerror:n?function(e){t.path&&(e.name=t.path+`:`+e.name,e.file=t.path),t.messages.push(e)}:void 0})}}var ZWn=s((()=>{YWn()})),QWn=s((()=>{ZWn()})),$Wn=s((()=>{})),eGn,tGn,nGn,rGn=s((()=>{$Wn(),eGn=typeof self==`object`?self:globalThis,tGn=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new eGn[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new eGn[a](o),i)};return r},nGn=e=>tGn(new Map,e)(0)})),b5,iGn,aGn,x5,S5,oGn,sGn,cGn=s((()=>{$Wn(),b5=``,{toString:iGn}={},{keys:aGn}=Object,x5=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=iGn.call(e).slice(8,-1);switch(n){case`Array`:return[1,b5];case`Object`:return[2,b5];case`Date`:return[3,b5];case`RegExp`:return[4,b5];case`Map`:return[5,b5];case`Set`:return[6,b5]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},S5=([e,t])=>e===0&&(t===`function`||t===`symbol`),oGn=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=x5(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of aGn(r))(e||!S5(x5(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(S5(x5(n))||S5(x5(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!S5(x5(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},sGn=(e,{json:t,lossy:n}={})=>{let r=[];return oGn(!(t||n),!!t,new Map,r)(e),r}})),C5,lGn=s((()=>{rGn(),cGn(),C5=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?nGn(sGn(e,t)):structuredClone(e):(e,t)=>nGn(sGn(e,t))}));function uGn(e){let t=[],n=-1;for(;++n<e.length;)t[n]=T5(e[n]);return fGn(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function dGn(e){return fGn(t);function t(t){return t.tagName===e}}function fGn(e){return t;function t(t,n,r){return!!(mGn(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function pGn(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function mGn(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}var w5,T5,hGn=s((()=>{w5=(function(e,t,n,r,i){let a=T5(t);if(n!=null&&(typeof n!=`number`||n<0||n===1/0))throw Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(n==null!=(r==null))throw Error("Expected both `index` and `parent`");return mGn(e)?a.call(i,e,n,r):!1}),T5=(function(e){if(e==null)return pGn;if(typeof e==`string`)return dGn(e);if(typeof e==`object`)return uGn(e);if(typeof e==`function`)return fGn(e);throw Error("Expected function, string, or array as `test`")})})),E5=s((()=>{hGn()})),gGn,_Gn=s((()=>{E5(),gGn=T5(function(e){return e.tagName===`audio`||e.tagName===`canvas`||e.tagName===`embed`||e.tagName===`iframe`||e.tagName===`img`||e.tagName===`math`||e.tagName===`object`||e.tagName===`picture`||e.tagName===`svg`||e.tagName===`video`})})),vGn=s((()=>{_Gn()}));function yGn(e){return typeof e==`object`?e.type===`text`&&bGn(e.value):bGn(e)}function bGn(e){return e.replace(xGn,``)===``}var xGn,SGn=s((()=>{xGn=/[ \t\n\f\r]/g})),CGn=s((()=>{SGn()})),wGn,TGn=s((()=>{wGn=`address.article.aside.blockquote.body.br.caption.center.col.colgroup.dd.dialog.dir.div.dl.dt.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.li.listing.main.menu.nav.ol.optgroup.option.p.plaintext.pre.section.summary.table.tbody.td.td.tfoot.th.th.thead.tr.ul.wbr.xmp`.split(`.`)})),EGn,DGn=s((()=>{EGn=[`button`,`input`,`select`,`textarea`]})),OGn,kGn=s((()=>{OGn=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`]}));function AGn(e){let t=HGn((e||WGn).newlines?BGn:VGn);return function(e){jGn(e,{collapse:t,whitespace:`normal`})}}function jGn(e,t){if(`children`in e){let n={...t};return(e.type===`root`||LGn(e))&&(n.before=!0,n.after=!0),n.whitespace=UGn(e,t),NGn(e,n)}if(e.type===`text`){if(t.whitespace===`normal`)return MGn(e,t);t.whitespace===`nowrap`&&(e.value=t.collapse(e.value))}return{ignore:D5(e),stripAtStart:!1,remove:!1}}function MGn(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=n.length;return t.before&&zGn(n.charAt(0))&&i++,i!==a&&zGn(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0),i===a?r.remove=!0:e.value=n.slice(i,a),r}function NGn(e,t){let n=t.before,r=t.after,i=e.children,a=i.length,o=-1;for(;++o<a;){let e=jGn(i[o],{...t,after:PGn(i,o,r),before:n});e.remove?(i.splice(o,1),o--,a--):e.ignore||(n=e.stripAtStart),IGn(i[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function PGn(e,t,n){for(;++t<e.length;){let n=e[t],r=FGn(n);if(r===void 0&&`children`in n&&!RGn(n)&&(r=PGn(n.children,-1)),typeof r==`boolean`)return r}return n}function FGn(e){if(e.type===`element`){if(IGn(e))return!1;if(LGn(e))return!0}else if(e.type===`text`){if(!yGn(e))return!1}else if(!D5(e))return!1}function IGn(e){return gGn(e)||w5(e,EGn)}function LGn(e){return w5(e,wGn)}function RGn(e){return!!(e.type===`element`&&e.properties.hidden)||D5(e)||w5(e,OGn)}function zGn(e){return e===` `||e===`
+`}function BGn(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:` `}function VGn(){return` `}function HGn(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function UGn(e,t){if(`tagName`in e&&e.properties)switch(e.tagName){case`listing`:case`plaintext`:case`script`:case`style`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return e.properties.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return e.properties.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`}return t.whitespace}var WGn,D5,GGn=s((()=>{vGn(),E5(),CGn(),_6(),TGn(),DGn(),kGn(),WGn={},D5=g6([`doctype`,`comment`])})),KGn=s((()=>{GGn()}));function qGn(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function JGn(e){let t=XGn(e),n=YGn(e);if(t&&n)return{start:t,end:n}}var YGn,XGn,ZGn=s((()=>{YGn=qGn(`end`),XGn=qGn(`start`)})),QGn=s((()=>{ZGn()}));function $Gn(e,t){let n=t.properties||{},r=e.all(t),i={type:`link`,url:e.resolve(String(n.href||``)||null),title:n.title?String(n.title):null,children:r};return e.patch(t,i),i}var eKn=s((()=>{}));function tKn(e,t){e.baseFound||=(e.frozenBaseUrl=String(t.properties&&t.properties.href||``)||void 0,!0)}var nKn=s((()=>{}));function rKn(e,t){let n={type:`blockquote`,children:e.toFlow(e.all(t))};return e.patch(t,n),n}var iKn=s((()=>{}));function aKn(e,t){let n={type:`break`};return e.patch(t,n),n}var oKn=s((()=>{})),sKn,cKn=s((()=>{_6(),sKn=(function(e,t,n){let r=g6(n);if(!e||!e.type||!e.children)throw Error(`Expected parent node`);if(typeof t==`number`){if(t<0||t===1/0)throw Error(`Expected positive finite number as index`)}else if(t=e.children.indexOf(t),t<0)throw Error(`Expected child node or index`);for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]})})),lKn=s((()=>{cKn()}));function O5(e,t){let n=t||{},r=`children`in e?e.children:[],i=TKn(e),a=hKn(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...fKn(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...uKn(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?k5(r[s+1]):i}));let c=[],l;for(s=-1;++s<o.length;){let e=o[s];typeof e==`number`?l!==void 0&&e>l&&(l=e):e&&(l!==void 0&&l>-1&&c.push(`
+`.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function uKn(e,t,n){return e.type===`element`?dKn(e,t,n):e.type===`text`?n.whitespace===`normal`?fKn(e,n):pKn(e):[]}function dKn(e,t,n){let r=hKn(e,n),i=e.children||[],a=-1,o=[];if(wKn(e))return o;let s,c;for(k5(e)||CKn(e)&&sKn(t,e,CKn)?c=`
+`:SKn(e)?(s=2,c=2):TKn(e)&&(s=1,c=1);++a<i.length;)o=o.concat(uKn(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?k5(i[a+1]):c}));return xKn(e)&&sKn(t,e,xKn)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function fKn(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){yKn.lastIndex=a;let e=yKn.exec(n),i=e&&`index`in e?e.index:n.length;r.push(mKn(n.slice(a,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,``),a!==0||t.breakBefore,i!==n.length||t.breakAfter)),a=i+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s==`number`&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function pKn(e){return[String(e.value)]}function mKn(e,t,n){let r=[],i=0,a;for(;i<e.length;){bKn.lastIndex=i;let n=bKn.exec(e);a=n?n.index:e.length,!i&&!a&&n&&!t&&r.push(``),i!==a&&r.push(e.slice(i,a)),i=n?a+n[0].length:a}return i!==a&&!n&&r.push(``),r.join(` `)}function hKn(e,t){if(e.type===`element`){let n=e.properties||{};switch(e.tagName){case`listing`:case`plaintext`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return n.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return n.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`}}return t.whitespace}function gKn(e){return!!(e.properties||{}).hidden}function _Kn(e){return e.tagName===`td`||e.tagName===`th`}function vKn(e){return e.tagName===`dialog`&&!(e.properties||{}).open}var yKn,bKn,k5,xKn,SKn,CKn,wKn,TKn,EKn=s((()=>{lKn(),E5(),yKn=/\n/g,bKn=/[\t ]+/g,k5=T5(`br`),xKn=T5(_Kn),SKn=T5(`p`),CKn=T5(`tr`),wKn=T5([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,gKn,vKn]),TKn=T5(`address.article.aside.blockquote.body.caption.center.dd.dialog.dir.dl.dt.div.figure.figcaption.footer.form,.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.legend.li.listing.main.menu.nav.ol.p.plaintext.pre.section.ul.xmp`.split(`.`))})),A5=s((()=>{EKn()}));function DKn(e){let t=String(e),n=t.length;for(;n>0;){let e=t.codePointAt(n-1);if(e!==void 0&&(e===10||e===13))n--;else break}return t.slice(0,n)}var OKn=s((()=>{}));function j5(e,t){let n=t.children,r=-1,i,a;if(t.tagName===`pre`)for(;++r<n.length;){let e=n[r];if(e.type===`element`&&e.tagName===`code`&&e.properties&&e.properties.className&&Array.isArray(e.properties.className)){i=e.properties.className;break}}if(i){for(r=-1;++r<i.length;)if(String(i[r]).slice(0,9)===kKn){a=String(i[r]).slice(9);break}}let o={type:`code`,lang:a||null,meta:null,value:DKn(O5(t))};return e.patch(t,o),o}var kKn,AKn=s((()=>{A5(),OKn(),kKn=`language-`}));function jKn(e,t){let n={type:`html`,value:`<!--`+t.value+`-->`};return e.patch(t,n),n}var MKn=s((()=>{}));function NKn(e,t){let n={type:`delete`,children:e.all(t)};return e.patch(t,n),n}var PKn=s((()=>{}));function FKn(e){let t=-1;if(e.length>1){for(;++t<e.length;)if(e[t].spread)return!0}return!1}var IKn=s((()=>{}));function LKn(e,t){let n=[],r=[],i=-1;for(;++i<t.children.length;){let e=t.children[i];e.type===`element`&&e.tagName===`div`?n.push(...e.children):n.push(e)}let a={definitions:[],titles:[]};for(i=-1;++i<n.length;){let e=n[i];if(e.type===`element`&&e.tagName===`dt`){let t=n[i-1];t&&t.type===`element`&&t.tagName===`dd`&&(r.push(a),a={definitions:[],titles:[]}),a.titles.push(e)}else a.definitions.push(e)}r.push(a),i=-1;let o=[];for(;++i<r.length;){let t=[...RKn(e,r[i].titles),...RKn(e,r[i].definitions)];t.length>0&&o.push({type:`listItem`,spread:t.length>1,checked:null,children:t})}if(o.length>0){let n={type:`list`,ordered:!1,start:null,spread:FKn(o),children:o};return e.patch(t,n),n}}function RKn(e,t){let n=e.all({type:`root`,children:t}),r=e.toSpecificContent(n,zKn);return r.length===0?[]:r.length===1?r[0].children:[{type:`list`,ordered:!1,start:null,spread:FKn(r),children:r}]}function zKn(){return{type:`listItem`,spread:!1,checked:null,children:[]}}var BKn=s((()=>{IKn()}));function M5(e,t){let n={type:`emphasis`,children:e.all(t)};return e.patch(t,n),n}var VKn=s((()=>{}));function HKn(e){let t=0,n=e.length;for(;t<n&&e[t].type===`break`;)t++;for(;n>t&&e[n-1].type===`break`;)n--;return t===0&&n===e.length?e:e.slice(t,n)}var UKn=s((()=>{}));function N5(e,t){let n={type:`heading`,depth:Number(t.tagName.charAt(1))||1,children:HKn(e.all(t))};return e.patch(t,n),n}var WKn=s((()=>{UKn()}));function GKn(e,t){let n={type:`thematicBreak`};return e.patch(t,n),n}var KKn=s((()=>{}));function qKn(e,t){let n=t.properties||{},r=String(n.src||``),i=String(n.title||``);if(r&&i){let n={type:`link`,title:null,url:e.resolve(r),children:[{type:`text`,value:i}]};return e.patch(t,n),n}}var JKn=s((()=>{}));function YKn(e,t){let n=t.properties||{},r={type:`image`,url:e.resolve(String(n.src||``)||null),title:n.title?String(n.title):null,alt:n.alt?String(n.alt):``};return e.patch(t,r),r}var XKn=s((()=>{}));function P5(e,t){let n={type:`inlineCode`,value:O5(t)};return e.patch(t,n),n}var ZKn=s((()=>{A5()}));function QKn(e,t){let n=[],r=[],i=t||e.properties||{},a=$Kn(e),o=Math.min(Number.parseInt(String(i.size),10),0)||(i.multiple?4:1),s=-1;for(;++s<a.length;){let e=a[s];e&&e.properties&&e.properties.selected&&n.push(e)}let c=n.length>0?n:a,l=Math.min(c.length,o);for(s=-1;++s<l;){let e=c[s],t=e.properties||{},n=O5(e),i=n||String(t.label||``),a=String(t.value||``)||n;r.push([a,i===a?void 0:i])}return r}function $Kn(e){let t=[],n=-1;for(;++n<e.children.length;){let r=e.children[n];`children`in r&&Array.isArray(r.children)&&t.push(...$Kn(r)),r.type===`element`&&r.tagName===`option`&&(!r.properties||!r.properties.disabled)&&t.push(r)}return t}var eqn=s((()=>{A5()}));function tqn(e,t){let n=t.properties||{},r=String(n.value||n.placeholder||``);if(n.disabled||n.type===`hidden`||n.type===`file`)return;if(n.type===`checkbox`||n.type===`radio`){let r={type:`text`,value:n.checked?e.options.checked||nqn:e.options.unchecked||rqn};return e.patch(t,r),r}if(n.type===`image`){let i=n.alt||r;if(i){let r={type:`image`,url:e.resolve(String(n.src||``)||null),title:String(n.title||``)||null,alt:String(i)};return e.patch(t,r),r}return}let i=[];if(r)i=[[r,void 0]];else if(n.type!==`button`&&n.type!==`file`&&n.type!==`password`&&n.type!==`reset`&&n.type!==`submit`&&n.list){let t=String(n.list),r=e.elementById.get(t);r&&r.tagName===`datalist`&&(i=QKn(r,n))}if(i.length===0)return;if(n.type===`password`&&(i[0]=[`•`.repeat(i[0][0].length),void 0]),n.type===`email`||n.type===`url`){let t=[],r=-1;for(;++r<i.length;){let a=e.resolve(i[r][0]),o={type:`link`,title:null,url:n.type===`email`?`mailto:`+a:a,children:[{type:`text`,value:i[r][1]||a}]};t.push(o),r!==i.length-1&&t.push({type:`text`,value:`, `})}return t}let a=[],o=-1;for(;++o<i.length;)a.push(i[o][1]?i[o][1]+` (`+i[o][0]+`)`:i[o][0]);let s={type:`text`,value:a.join(`, `)};return e.patch(t,s),s}var nqn,rqn,iqn=s((()=>{eqn(),nqn=`[x]`,rqn=`[ ]`}));function aqn(e,t){let n=e.type===`element`&&oqn.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var oqn,sqn=s((()=>{oqn={}.hasOwnProperty})),cqn=s((()=>{sqn()}));function lqn(e){if(e.type!==`element`||e.tagName!==`link`)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!uqn.has(String(t[n])))return!1;return!0}var uqn,dqn=s((()=>{uqn=new Set([`pingback`,`prefetch`,`stylesheet`])})),fqn=s((()=>{dqn()}));function pqn(e){return!!(e.type===`text`||mqn(e)||gGn(e)||lqn(e)||hqn(e)&&aqn(e,`itemProp`))}var mqn,hqn,gqn=s((()=>{vGn(),cqn(),fqn(),E5(),mqn=T5(`a.abbr.area.b.bdi.bdo.br.button.cite.code.data.datalist.del.dfn.em.i.input.ins.kbd.keygen.label.map.mark.meter.noscript.output.progress.q.ruby.s.samp.script.select.small.span.strong.sub.sup.template.textarea.time.u.var.wbr`.split(`.`)),hqn=T5(`meta`)})),_qn=s((()=>{gqn()}));function vqn(e,t){let{rest:n,checkbox:r}=bqn(t),i=r?!!r.properties.checked:null,a={type:`listItem`,spread:yqn(n),checked:i,children:e.toFlow(e.all(n))};return e.patch(t,a),a}function yqn(e){let t=-1,n=!1;for(;++t<e.children.length;){let r=e.children[t];if(r.type===`element`){if(pqn(r))continue;if(r.tagName===`p`||n||yqn(r))return!0;n=!0}}return!1}function bqn(e){let t=e.children[0];if(t&&t.type===`element`&&t.tagName===`input`&&t.properties&&(t.properties.type===`checkbox`||t.properties.type===`radio`))return{checkbox:t,rest:{...e,children:e.children.slice(1)}};if(t&&t.type===`element`&&t.tagName===`p`){let{checkbox:n,rest:r}=bqn(t);if(n)return{checkbox:n,rest:{...e,children:[r,...e.children.slice(1)]}}}return{checkbox:void 0,rest:e}}var xqn=s((()=>{_qn()}));function Sqn(e,t){let n=t.tagName===`ol`,r=e.toSpecificContent(e.all(t),Cqn),i=null;n&&(i=t.properties&&t.properties.start?Number.parseInt(String(t.properties.start),10):1);let a={type:`list`,ordered:n,start:i,spread:FKn(r),children:r};return e.patch(t,a),a}function Cqn(){return{type:`listItem`,spread:!1,checked:null,children:[]}}var wqn=s((()=>{IKn()}));function F5(e){let t=-1;for(;++t<e.length;){let n=e[t];if(!kqn(n)||`children`in n&&F5(n.children))return!0}return!1}function Tqn(e){return Dqn(e,t,function(e){return e});function t(e){return e.every(function(e){return e.type===`text`&&yGn(e.value)})?[]:[{type:`paragraph`,children:HKn(e)}]}}function Eqn(e){return Dqn(e.children,t,n);function t(t){let n=Aqn(e);return n.children=t,[n]}function n(t){if(`children`in t&&`children`in e){let n=Aqn(e),r=Aqn(t);return n.children=t.children,r.children.push(n),r}return{...t}}}function Dqn(e,t,n){let r=Oqn(e),i=[],a=[],o=-1;for(;++o<r.length;){let e=r[o];kqn(e)?a.push(e):(a.length>0&&(i.push(...t(a)),a=[]),i.push(n(e)))}return a.length>0&&(i.push(...t(a)),a=[]),i}function Oqn(e){let t=[],n=-1;for(;++n<e.length;){let r=e[n];(r.type===`delete`||r.type===`link`)&&F5(r.children)?t.push(...Eqn(r)):t.push(r)}return t}function kqn(e){let t=e.data&&e.data.hName;return t?pqn({type:`element`,tagName:t,properties:{},children:[]}):tNn(e)}function Aqn(e){return C5({...e,children:[]})}var jqn=s((()=>{lGn(),_qn(),CGn(),rNn(),UKn()}));function Mqn(e,t){let n=t.properties||{},r=t.tagName===`video`?String(n.poster||``):``,i=String(n.src||``),a=-1,o=!1,s=e.all(t);if(S6({type:`root`,children:s},function(e){if(e.type===`link`)return o=!0,!1}),o||F5(s))return s;for(;!i&&++a<t.children.length;){let e=t.children[a];e.type===`element`&&e.tagName===`source`&&e.properties&&(i=String(e.properties.src||``))}if(r){let n={type:`image`,title:null,url:e.resolve(r),alt:w6(s)};e.patch(t,n),s=[n]}let c=s,l={type:`link`,title:n.title?String(n.title):null,url:e.resolve(i),children:c};return e.patch(t,l),l}var Nqn=s((()=>{T6(),C6(),jqn()}));function Pqn(e,t){let n=HKn(e.all(t));if(n.length>0){let r={type:`paragraph`,children:n};return e.patch(t,r),r}}var Fqn=s((()=>{UKn()}));function Iqn(e,t){let n=e.options.quotes||Lqn;e.qNesting++;let r=e.all(t);e.qNesting--;let i=n[e.qNesting%n.length],a=r[0],o=r[r.length-1],s=i.charAt(0),c=i.length>1?i.charAt(1):i;return a&&a.type===`text`?a.value=s+a.value:r.unshift({type:`text`,value:s}),o&&o.type===`text`?o.value+=c:r.push({type:`text`,value:c}),r}var Lqn,Rqn=s((()=>{Lqn=[`"`]}));function zqn(e,t){let n=e.all(t);(e.options.document||F5(n))&&(n=Tqn(n));let r={type:`root`,children:n};return e.patch(t,r),r}var Bqn=s((()=>{jqn()}));function Vqn(e,t){let n=QKn(t),r=-1,i=[];for(;++r<n.length;){let e=n[r];i.push(e[1]?e[1]+` (`+e[0]+`)`:e[0])}if(i.length>0){let n={type:`text`,value:i.join(`, `)};return e.patch(t,n),n}}var Hqn=s((()=>{eqn()}));function Uqn(e,t){let n={type:`strong`,children:e.all(t)};return e.patch(t,n),n}var Wqn=s((()=>{}));function Gqn(e,t){let n={type:`tableCell`,children:e.all(t)};if(e.patch(t,n),t.properties){let e=t.properties.rowSpan,r=t.properties.colSpan;if(e||r){let t=n.data||={};e&&(t.hastUtilToMdastTemporaryRowSpan=e),r&&(t.hastUtilToMdastTemporaryColSpan=r)}}return n}var Kqn=s((()=>{}));function qqn(e,t){let n={type:`tableRow`,children:e.toSpecificContent(e.all(t),Jqn)};return e.patch(t,n),n}function Jqn(){return{type:`tableCell`,children:[]}}var Yqn=s((()=>{}));function Xqn(e,t){if(e.inTable){let n={type:`text`,value:O5(t)};return e.patch(t,n),n}e.inTable=!0;let{align:n,headless:r}=Zqn(t),i=e.toSpecificContent(e.all(t),$qn);r&&i.unshift($qn());let a=-1;for(;++a<i.length;){let t=i[a];t.children=e.toSpecificContent(t.children,Qqn)}let o=1;for(a=-1;++a<i.length;){let e=i[a].children,t=-1;for(;++t<e.length;){let n=e[t];if(n.data){let e=n.data,r=Number.parseInt(String(e.hastUtilToMdastTemporaryColSpan),10)||1,o=Number.parseInt(String(e.hastUtilToMdastTemporaryRowSpan),10)||1;if(r>1||o>1){let e=a-1;for(;++e<a+o;){let n=t-1;for(;++n<t+r&&i[e];){let r=[];(e!==a||n!==t)&&r.push({type:`tableCell`,children:[]}),i[e].children.splice(n,0,...r)}}}`hastUtilToMdastTemporaryColSpan`in n.data&&delete n.data.hastUtilToMdastTemporaryColSpan,`hastUtilToMdastTemporaryRowSpan`in n.data&&delete n.data.hastUtilToMdastTemporaryRowSpan,Object.keys(n.data).length===0&&delete n.data}}e.length>o&&(o=e.length)}for(a=-1;++a<i.length;){let e=i[a].children,t=e.length-1;for(;++t<o;)e.push({type:`tableCell`,children:[]})}let s=n.length-1;for(;++s<o;)n.push(null);e.inTable=!1;let c={type:`table`,align:n,children:i};return e.patch(t,c),c}function Zqn(e){let t={align:[null],headless:!0},n=0,r=0;return S6(e,function(i){if(i.type===`element`){if(i.tagName===`table`&&e!==i)return OAn;if((i.tagName===`th`||i.tagName===`td`)&&i.properties){if(!t.align[r]){let e=String(i.properties.align||``)||null;(e===`center`||e===`left`||e===`right`||e===null)&&(t.align[r]=e)}t.headless&&n<2&&i.tagName===`th`&&(t.headless=!1),r++}else i.tagName===`thead`?t.headless=!1:i.tagName===`tr`&&(n++,r=0)}}),t}function Qqn(){return{type:`tableCell`,children:[]}}function $qn(){return{type:`tableRow`,children:[]}}var eJn=s((()=>{A5(),C6()}));function tJn(e,t){let n={type:`text`,value:t.value};return e.patch(t,n),n}var nJn=s((()=>{}));function rJn(e,t){let n={type:`text`,value:O5(t)};return e.patch(t,n),n}var iJn=s((()=>{A5()}));function aJn(e,t){let n={type:`text`,value:`​`};return e.patch(t,n),n}var oJn=s((()=>{}));function I5(e,t){return e.all(t)}function L5(e,t){return e.toFlow(e.all(t))}function R5(){}var sJn,cJn,lJn=s((()=>{eKn(),nKn(),iKn(),oKn(),AKn(),MKn(),PKn(),BKn(),VKn(),WKn(),KKn(),JKn(),XKn(),ZKn(),iqn(),xqn(),wqn(),Nqn(),Fqn(),Rqn(),Bqn(),Hqn(),Wqn(),Kqn(),Yqn(),eJn(),nJn(),iJn(),oJn(),sJn={comment:jKn,doctype:R5,root:zqn,text:tJn},cJn={applet:R5,area:R5,basefont:R5,bgsound:R5,caption:R5,col:R5,colgroup:R5,command:R5,content:R5,datalist:R5,dialog:R5,element:R5,embed:R5,frame:R5,frameset:R5,isindex:R5,keygen:R5,link:R5,math:R5,menu:R5,menuitem:R5,meta:R5,nextid:R5,noembed:R5,noframes:R5,optgroup:R5,option:R5,param:R5,script:R5,shadow:R5,source:R5,spacer:R5,style:R5,svg:R5,template:R5,title:R5,track:R5,abbr:I5,acronym:I5,bdi:I5,bdo:I5,big:I5,blink:I5,button:I5,canvas:I5,cite:I5,data:I5,details:I5,dfn:I5,font:I5,ins:I5,label:I5,map:I5,marquee:I5,meter:I5,nobr:I5,noscript:I5,object:I5,output:I5,progress:I5,rb:I5,rbc:I5,rp:I5,rt:I5,rtc:I5,ruby:I5,slot:I5,small:I5,span:I5,sup:I5,sub:I5,tbody:I5,tfoot:I5,thead:I5,time:I5,address:L5,article:L5,aside:L5,body:L5,center:L5,div:L5,fieldset:L5,figcaption:L5,figure:L5,form:L5,footer:L5,header:L5,hgroup:L5,html:L5,legend:L5,main:L5,multicol:L5,nav:L5,picture:L5,section:L5,a:$Gn,audio:Mqn,b:Uqn,base:tKn,blockquote:rKn,br:aKn,code:P5,dir:Sqn,dl:LKn,dt:vqn,dd:vqn,del:NKn,em:M5,h1:N5,h2:N5,h3:N5,h4:N5,h5:N5,h6:N5,hr:GKn,i:M5,iframe:qKn,img:YKn,image:YKn,input:tqn,kbd:P5,li:vqn,listing:j5,mark:M5,ol:Sqn,p:Pqn,plaintext:j5,pre:j5,q:Iqn,s:NKn,samp:P5,select:Vqn,strike:NKn,strong:Uqn,summary:Pqn,table:Xqn,td:Gqn,textarea:rJn,th:Gqn,tr:qqn,tt:P5,u:M5,ul:Sqn,var:P5,video:Mqn,wbr:aJn,xmp:j5}}));function uJn(e){return{all:dJn,baseFound:!1,elementById:new Map,frozenBaseUrl:void 0,handlers:{...cJn,...e.handlers},inTable:!1,nodeHandlers:{...sJn,...e.nodeHandlers},one:fJn,options:e,patch:pJn,qNesting:0,resolve:mJn,toFlow:hJn,toSpecificContent:gJn}}function dJn(e){let t=e.children||[],n=[],r=-1;for(;++r<t.length;){let i=t[r],a=this.one(i,e);Array.isArray(a)?n.push(...a):a&&n.push(a)}return n}function fJn(e,t){if(e.type===`element`){if(e.properties&&e.properties.dataMdast===`ignore`)return;if(_Jn.call(this.handlers,e.tagName))return this.handlers[e.tagName](this,e,t)||void 0}else if(_Jn.call(this.nodeHandlers,e.type))return this.nodeHandlers[e.type](this,e,t)||void 0;if(`value`in e&&typeof e.value==`string`){let t={type:`text`,value:e.value};return this.patch(e,t),t}if(`children`in e)return this.all(e)}function pJn(e,t){e.position&&(t.position=JGn(e))}function mJn(e){let t=this.frozenBaseUrl;return e==null?``:t?String(new URL(e,t)):e}function hJn(e){return Tqn(e)}function gJn(e,t){let n=t(),r=[],i=[],a=-1;for(;++a<e.length;){let t=e[a];if(o(t))i.length>0&&(t.children.unshift(...i),i=[]),r.push(t);else{let e=t;i.push(e)}}if(i.length>0){let e=r[r.length-1];e||(e=t(),r.push(e)),e.children.push(...i),i=[]}return r;function o(e){return e.type===n.type}}var _Jn,vJn=s((()=>{QGn(),lJn(),jqn(),_Jn={}.hasOwnProperty}));function yJn(e,t){let n=C5(e),r=t||bJn,i=AGn({newlines:r.newlines===!0}),a=uJn(r),o;i(n),S6(n,function(e){if(e&&e.type===`element`&&e.properties){let t=String(e.properties.id||``)||void 0;t&&!a.elementById.has(t)&&a.elementById.set(t,e)}});let s=a.one(n,void 0);return o=s?Array.isArray(s)?{type:`root`,children:s}:s:{type:`root`,children:[]},S6(o,function(e,t,n){if(e.type===`text`&&t!==void 0&&n){let r=n.children[t-1];if(r&&r.type===e.type)return r.value+=e.value,n.children.splice(t,1),r.position&&e.position&&(r.position.end=e.position.end),t-1;if(e.value=e.value.replace(/[\t ]*(\r?\n|\r)[\t ]*/,`$1`),n&&(n.type===`heading`||n.type===`paragraph`||n.type===`root`)&&(t||(e.value=e.value.replace(/^[\t ]+/,``)),t===n.children.length-1&&(e.value=e.value.replace(/[\t ]+$/,``))),!e.value)return n.children.splice(t,1),t}}),o}var bJn,xJn=s((()=>{lGn(),KGn(),C6(),vJn(),bJn={}})),SJn=s((()=>{xJn(),lJn()}));function CJn(e,t){return e&&`run`in e?async function(n,r){let i=yJn(n,{...wJn,...t});await e.run(i,r)}:function(t){return yJn(t,{...wJn,...e})}}var wJn,TJn=s((()=>{SJn(),wJn={document:!0}})),EJn=s((()=>{TJn()})),z5,DJn,OJn=s((()=>{z5=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],DJn={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...z5,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...z5],h2:[[`className`,`sr-only`]],img:[...z5,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...z5,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...z5],table:[...z5],ul:[...z5,[`className`,`contains-task-list`]],"*":`abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width`.split(`.`)},clobber:[`ariaDescribedBy`,`ariaLabelledBy`,`id`,`name`],clobberPrefix:`user-content-`,protocols:{cite:[`http`,`https`],href:[`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`],longDesc:[`http`,`https`],src:[`http`,`https`]},required:{input:{disabled:!0,type:`checkbox`}},strip:[`script`],tagNames:`a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var`.split(`.`)}}));function kJn(e,t){let n={type:`root`,children:[]},r=AJn({schema:t?{...DJn,...t}:DJn,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function AJn(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return jJn(e,n);case`doctype`:return MJn(e,n);case`element`:return NJn(e,n);case`root`:return PJn(e,n);case`text`:return FJn(e,n)}}}function jJn(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return B5(r,t),r}}function MJn(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return B5(e,t),e}}function NJn(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=IJn(e,t.children),i=LJn(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&V5.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return B5(o,t),o}function PJn(e,t){let n={type:`root`,children:IJn(e,t.children)};return B5(n,t),n}function FJn(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return B5(n,t),n}function IJn(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=AJn(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function LJn(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&V5.call(r,n)?r[n]:void 0,o=r&&V5.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(V5.call(s,l)){let t=s[l],n=RJn(e,HJn(a,l),l,t);n??=RJn(e,HJn(o,l),l,t),n!=null&&(c[l]=n)}if(i&&V5.call(i,n)){let e=i[n];for(l in e)V5.call(e,l)&&!V5.call(c,l)&&(c[l]=e[l])}return c}function RJn(e,t,n,r){return t?Array.isArray(r)?zJn(e,t,n,r):BJn(e,t,n,r):void 0}function zJn(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=BJn(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function BJn(e,t,n,r){if((typeof r==`boolean`||typeof r==`number`||typeof r==`string`)&&VJn(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function VJn(e,t,n){let r=e.schema.protocols&&V5.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function B5(e,t){let n=JGn(t);t.data&&(e.data=C5(t.data)),n&&(e.position=n)}function HJn(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}var V5,UJn=s((()=>{lGn(),QGn(),OJn(),V5={}.hasOwnProperty})),WJn=s((()=>{UJn(),OJn()}));function GJn(e){return function(t){return kJn(t,e)}}var KJn=s((()=>{WJn()})),qJn=s((()=>{WJn(),KJn()})),JJn=l({parseHtmlDescription:()=>XJn}),YJn,XJn,ZJn=s((()=>{fIt(),QWn(),EJn(),qJn(),s8(),YJn=o8().use(XWn,{fragment:!0}).use(GJn).use(CJn).freeze(),XJn=e=>{let t=vPt(e,{removeTags:[`img`,`picture`]});return YJn.runSync(YJn.parse(t))}})),QJn,$Jn,eYn,tYn,nYn,rYn,iYn,aYn=s((()=>{BLn(),URn(),s8(),n6(),QJn=o8().use(VRn).use(LLn).freeze(),$Jn=e=>e.type===`html`||`children`in e&&e.children.some($Jn),eYn=e=>{if(`url`in e&&(e.url=Q3(e.url)),`children`in e){for(let t of e.children)eYn(t);let t=e.children.length;if(e.children=e.children.filter(e=>e.type!==`image`&&e.type!==`imageReference`&&!([`strong`,`emphasis`,`delete`,`link`,`linkReference`,`paragraph`,`heading`,`blockquote`,`list`,`listItem`].includes(e.type)&&`children`in e&&e.children.every(e=>e.type===`text`&&!e.value.trim()))),e.children.length!==t){let t=e.children.at(0),n=e.children.at(-1);t?.type===`text`&&(t.value=t.value.trimStart()),n?.type===`text`&&(n.value=n.value.trimEnd())}}delete e.position},tYn=e=>{let t=new Set,n=new Set,r=new Map(e.children.filter(e=>e.type===`footnoteDefinition`).map(e=>[e.identifier,e])),i=e=>{e.type===`linkReference`&&t.add(e.identifier),e.type===`footnoteReference`&&n.add(e.identifier),`children`in e&&e.children.forEach(i)};e.children.filter(e=>e.type!==`footnoteDefinition`).forEach(i);for(let e of n)r.get(e)?.children.forEach(i);e.children=e.children.filter(e=>e.type===`definition`?t.has(e.identifier):e.type===`footnoteDefinition`?n.has(e.identifier):e.type!==`paragraph`||e.children.some(e=>e.type!==`text`||e.value.trim()))},nYn=e=>!/[\n\r\t\\`*_[\]<>#|~!&=]|:\/\/|www\.|^\s*(?:[-+]|\d+[.)])|^ {4}/.test(e)&&e.trim().length>0,rYn=()=>{let e=new Map,t=async e=>{if(nYn(e))return[{type:`paragraph`,children:[{type:`text`,value:e.trim()}]}];let t=QJn.parse(e),n=$Jn(t)||/^\s*>\s*\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION|SUCCESS)\]/im.test(e)?await(await Promise.resolve().then(()=>(ZJn(),JJn))).parseHtmlDescription(e):t;return eYn(n),tYn(n),n.children},n=(e,t)=>{let r={...e};return`identifier`in r&&(r.identifier=`${t}${r.identifier}`,`label`in r&&(r.label=r.identifier),`referenceType`in r&&(r.referenceType=`full`)),`children`in r&&(r.children=r.children.map(e=>n(e,t))),r},r=e=>`identifier`in e||`children`in e&&e.children.some(r);return()=>{let i={nextId:0};return async a=>{if(!a)return[];let o=`description-${i.nextId++}-`,s=e.get(a)??t(a);return e.has(a)||(e.size>=8192&&e.clear(),e.set(a,s)),(await s).map(e=>r(e)?n(e,o):e)}}},iYn=async(e,t)=>{let n=[],r=e=>{for(let t of e)t.type===`descriptionPlaceholder`?n.push({siblings:e,node:t}):`children`in t&&r(t.children)};r(e);let i=await Promise.all(n.map(({node:e})=>t(e.value)));for(let e=n.length-1;e>=0;e--){let{siblings:t,node:r}=n[e];t.splice(t.indexOf(r),1,...i[e])}}})),H5=s((()=>{U3(),n6(),aYn()}));function oYn(e){let t=this;t.compiler=n;function n(n){return YNn(n,{...t.data(`settings`),...e,extensions:t.data(`toMarkdownExtensions`)||[]})}}var sYn=s((()=>{rPn()})),cYn=s((()=>{sYn()})),U5,W5,G5,K5,q5,lYn,J5=s((()=>{mu(),js(),iu(),U5=e=>{let t=new Set,n=e=>{if(!V(e)||typeof e.$ref!=`string`)return e;if(t.has(e))throw Error(`Circular reference alias: ${e.$ref}`);t.add(e);let r=H(e);if(r===void 0||r===e)throw Error(`Unresolved reference: ${e.$ref}`);return n(r)};return n(e)},W5=e=>{let t=U5(e);return V(t)?t:{}},G5=(e,t)=>{let n=W5(e);return Object.hasOwn(n,t)?n[t]:void 0},K5=e=>typeof e==`string`?e:void 0,q5={channel:[`channels`],operation:[`operations`],message:[`components`,`messages`],model:[`components`,`schemas`]},lYn=(e,t)=>{let n=Object.keys(t).filter(e=>e!==`schemaReferences`&&t[e]!==void 0);if(n.length>1||n.some(e=>e!==`introduction`&&e!==`tag`&&!Object.hasOwn(q5,e)))throw Error(`Choose exactly one AsyncAPI page selector`);let r=n[0];if(!r)return;if(r===`introduction`){if(t.introduction!==!0)throw Error(`The introduction selector must be true`);return`introduction`}if(r===`tag`){if(typeof t.tag!=`string`||!t.tag)throw Error(`Invalid tag selector`);return{kind:`tag`,name:t.tag}}let i=r,a=t[i];if(V(a)&&typeof a.pointer==`string`&&/~(?![01])/.test(a.pointer))throw Error(`Invalid JSON pointer escape in ${a.pointer}`);let o=typeof a==`string`?[...q5[i],a]:V(a)&&typeof a.pointer==`string`&&/^#?\//.test(a.pointer)?pu(a.pointer.replace(/^#/,``)):[],s=q5[i],c=o.length===s.length+1&&s.every((e,t)=>o[t]===e),l=i===`message`&&o.length===4&&o[0]===`channels`&&o[2]===`messages`;if(!c&&!l)throw Error(`Invalid ${i} selector`);let u=o.reduce((e,t)=>G5(e,t),e);if(u===void 0)throw Error(`Unknown ${i}: ${o.join(`/`)}`);return{kind:i,name:o.at(-1),value:u}}})),uYn,dYn,fYn,pYn=s((()=>{js(),Du(),uYn=new Set([`properties`,`patternProperties`,`$defs`,`definitions`,`dependencies`]),dYn=new Set([`example`,`examples`,`default`,`enum`,`const`]),fYn=e=>{let t=[],n=new Set,r=(e,i=!1)=>{if(typeof e==`object`&&e&&!n.has(Su(e))){if(n.add(Su(e)),Array.isArray(e))e.forEach(e=>r(e));else if(V(e)){if(!i&&typeof e.$ref==`string`)t.push(e);else for(let[t,n]of Object.entries(e))(i||!dYn.has(t)&&!t.startsWith(`x-`))&&r(n,!i&&uYn.has(t))}}};return r(e),t}})),Y5,mYn=s((()=>{Y5=e=>typeof e!=`string`||/^application\/(?:schema\+(?:json|yaml)|vnd\.aai\.asyncapi(?:\+json|\+yaml)?)(?:;|$)/.test(e)})),hYn,X5,Z5=s((()=>{Du(),J5(),hYn=e=>{let t=Array.isArray(e.type)?e.type:[e.type],n=e=>typeof e!=`object`||!e;return!t.some(e=>e===`object`||e===`array`)&&!e.properties&&!e.items&&!e.allOf&&!e.anyOf&&!e.oneOf&&(t.every(e=>typeof e==`string`)||e.const!==void 0&&n(e.const)||Array.isArray(e.enum)&&e.enum.every(n))&&(e.const===void 0||n(e.const))&&(!Array.isArray(e.enum)||e.enum.every(n))},X5=()=>{let e=new WeakMap,t=n=>{let r=Su(n),i=e.get(r);if(i)return i;e.set(r,n);let a=Object.keys(n);if(Array.isArray(n.allOf)&&n.allOf.length===1&&a.every(e=>[`allOf`,`title`,`description`,`default`,`deprecated`,`readOnly`,`writeOnly`].includes(e))){let i=W5(n.allOf[0]);if(Object.keys(i).length){let a={...t(i),...Object.fromEntries(Object.entries(n).filter(([e])=>e!==`allOf`))};return e.set(r,a),a}}for(let t of[`anyOf`,`oneOf`]){let i=n[t];if(Array.isArray(i)&&a.every(e=>[t,`title`,`description`,`default`,`deprecated`,`readOnly`,`writeOnly`].includes(e))){let a=i.map(e=>W5(e)),o=a.find(e=>e.type===`null`&&Object.keys(e).every(e=>[`type`,`title`,`description`].includes(e))),s=a.find(e=>e!==o),c=Array.isArray(s?.type)?s.type:[s?.type];if(a.length===2&&o&&s&&!(s.const!==void 0&&Array.isArray(s.enum))&&c.every(e=>typeof e==`string`&&e!==`null`)&&![`not`,`if`,`then`,`else`,`allOf`,`oneOf`,`anyOf`,`$ref`].some(e=>e in s)){let{const:i,...a}=s,o={...a,...Object.fromEntries(Object.entries(n).filter(([e])=>e!==t)),type:[...c,`null`],...Array.isArray(s.enum)?{enum:[...s.enum,null]}:i===void 0?{}:{enum:[i,null]}};return e.set(r,o),o}if(a.length&&a.every(e=>Object.keys(e).length===1&&typeof e.type==`string`&&![`object`,`array`].includes(e.type))){let i=a.map(e=>e.type);if(t===`oneOf`&&(new Set(i).size!==i.length||i.includes(`integer`)&&i.includes(`number`)))continue;let o={...Object.fromEntries(Object.entries(n).filter(([e])=>e!==t)),type:[...new Set(i)]};return e.set(r,o),o}}}return n};return t}})),Q5,gYn,_Yn,vYn,$5,e7,yYn=s((()=>{tu(),js(),Du(),H5(),rS(),J5(),mYn(),Z5(),Q5=(e,t=`json`)=>({type:`code`,lang:t,value:t!==`json`&&typeof e==`string`?e:JSON.stringify(Su(e),null,2)??`null`}),gYn=[`title`,`$id`,`$schema`,`contentEncoding`,`contentMediaType`,`format`,`enum`,`const`,`default`,`readOnly`,`writeOnly`,`deprecated`,`minimum`,`maximum`,`exclusiveMinimum`,`exclusiveMaximum`,`multipleOf`,`minLength`,`maxLength`,`pattern`,`minItems`,`maxItems`,`uniqueItems`,`minProperties`,`maxProperties`],_Yn=e=>e===null?`null`:Array.isArray(e)?`array`:typeof e==`number`&&Number.isInteger(e)?`integer`:typeof e,vYn=(e=()=>void 0,t=X5(),n=!1)=>{let r={remaining:5e3},i=(a,o,s,c=!1,l=`application/json`)=>{let u=c?void 0:e(a,s,l);if(u)return u;let d=U5(a);if(typeof d==`boolean`)return[K3(W3(d?`Any value is allowed.`:`No value is allowed.`))];if(!V(d))return[Q5(d)];let f=W5(d),p=[`allOf`,`anyOf`,`oneOf`].some(e=>Array.isArray(f[e])&&f[e].some(e=>V(e)&&typeof e.$ref==`string`)),m=n&&p?f:t(f);if(`schema`in m){let e=K5(m.schemaFormat);return Y5(e)?i(m.schema,o,s,c,l):[K3(q3(W3(`Schema format:`)),W3(` `),G3(e??``)),Q5(m.schema,typeof m.schema==`string`?`text`:`json`)]}let h=Su(d);if(o.has(h)){let e=V(a)?K5(a.$ref):void 0;return[K3(W3(`Recursive schema`),...e?[W3(`: `),G3(e)]:[])]}if(s>=10||r.remaining--<=0)return[K3(W3(`Schema expansion limit reached.`))];let g=new Set(o).add(h),_=m.const===void 0?Array.isArray(m.enum)&&m.enum.length?[...new Set(m.enum.map(_Yn))].join(` | `):m.properties||V(m.additionalProperties)?`object`:m.items===void 0?void 0:`array`:_Yn(m.const),v=Array.isArray(m.type)?m.type.join(` | `):K5(m.type)??_,y=v?[G3(v)]:[];for(let e of gYn)m[e]!==void 0&&y.push(W3(`${y.length?`, `:``}${e}: `),G3(typeof m[e]==`string`?m[e]:JSON.stringify(Su(m[e]))));let b=[...y.length?[K3(...y)]:[],...e7(m)],x=m.discriminator,ee=typeof x==`string`?x:K5(W5(x).propertyName);if(ee){b.push(K3(q3(W3(`Discriminator:`)),W3(` `),G3(ee)));let e=Object.entries(W5(W5(x).mapping));e.length&&b.push(Z3(e.map(([e,t])=>X3(K3(G3(e),W3(`: `),G3(String(t)))))))}let te=new Set(Array.isArray(m.required)?m.required:[]),ne=[...te].filter(e=>typeof e==`string`&&!Object.hasOwn(W5(m.properties),e));ne.length&&b.push(K3(q3(W3(`Required properties:`)),W3(` `),G3(ne.join(`, `))));let re=Object.entries(W5(m.properties)).map(([e,t])=>{let n=i(t,g,s+1),r=n[0],a=r?.type===`paragraph`&&[`inlineCode`,`link`].includes(r.children[0]?.type??``);return X3(K3(q3(G3(e)),...a?[W3(`: `),...r.children]:[],...te.has(e)?[W3(` (required)`)]:[]),...a?n.slice(1):n)});re.length&&b.push(Z3(re));for(let e of[`items`,`additionalItems`,`additionalProperties`,`contains`,`propertyNames`,`not`,`if`,`then`,`else`])if(m[e]!==void 0){let t=Array.isArray(m[e])?m[e]:[m[e]];b.push(K3(q3(W3(`${e}:`))));for(let e of t)b.push(...i(e,g,s+1))}for(let e of[`oneOf`,`anyOf`,`allOf`])Array.isArray(m[e])&&b.push(K3(q3(W3(`${e}:`))),Z3(m[e].map(e=>X3(...i(e,g,s+1)))));for(let e of[`patternProperties`,`dependencies`]){let t=Object.entries(W5(m[e]));t.length&&b.push(K3(q3(W3(`${e}:`))),Z3(t.map(([e,t])=>X3(K3(G3(e)),...Array.isArray(t)?[Q5(t)]:i(t,g,s+1)))))}return b.push(...$5(m,l)),b.length?b:[K3(W3(`Any value is allowed.`))]};return(e,t=!1,n=`application/json`)=>(r.remaining=5e3,i(e,new Set,0,t,n))},$5=(e,t=`application/json`)=>{let n=W5(e),r=`schema`in n&&Y5(n.schemaFormat)?W5(n.schema):n;return(Array.isArray(r.examples)?r.examples:r.example===void 0?[]:[r.example]).flatMap(e=>{let n=K3(q3(W3(`Example:`)));if(!eu(t))return[n,Q5(e)];if(typeof e==`string`)return[n,Q5(e,`xml`)];let i=fv(r,{value:e});return[n,...i.xml===void 0?[K3(W3(`Unable to generate an XML example.`))]:[Q5(i.xml,`xml`)]]})},e7=e=>{let t=W5(e),n=W5(t.externalDocs);return[...t6(t.description),...typeof n.url==`string`?[K3($3(n.url,K5(n.description)||`External documentation`))]:[]]}})),bYn,t7,xYn,SYn=s((()=>{tu(),js(),Du(),H5(),rS(),J5(),yYn(),mYn(),Z5(),bYn=e=>{let t=new Map,n=(e,r)=>{let i=U5(e);if(!V(i)||r>10)return 1;let a=W5(i);if(a.example!==void 0||Array.isArray(a.examples)&&a.examples.length)return 1;let o=Su(i),s=t.get(o)?.get(r);if(s!==void 0)return s;let c=1,l=e=>{c<=1e4&&(c+=n(e,r+1))};for(let e of[`properties`,`patternProperties`])Object.values(W5(a[e])).forEach(l);for(let e of[`items`,`additionalProperties`,`additionalItems`,`allOf`,`anyOf`,`oneOf`]){let t=a[e];Array.isArray(t)?t.forEach(l):t!==void 0&&l(t)}let u=t.get(o)??new Map;return u.set(r,c),t.set(o,u),c};return n(e,0)},t7=(e,t=0,n=X5(),r=!0)=>{if(t>=10)return{};let i=W5(e);return t>0&&V(e)&&typeof e.$ref==`string`&&(!r||!hYn(n(i)))?{type:`object`,properties:{}}:Object.fromEntries(Object.entries(i).map(([e,i])=>[`properties`,`patternProperties`,`dependencies`].includes(e)?[e,Object.fromEntries(Object.entries(W5(i)).map(([e,i])=>[e,Array.isArray(i)?i:t7(i,t+1,n,r)]))]:[`items`,`additionalProperties`,`additionalItems`,`allOf`,`oneOf`,`anyOf`,`contains`,`not`,`if`,`then`,`else`].includes(e)?[e,typeof i==`boolean`?i:Array.isArray(i)?i.map(e=>t7(e,t+1,n,r)):t7(i,t+1,n,r)]:[e,i]))},xYn=(e=!0)=>{let t=V3(),n=new Map,r=0;return(i,a=!1,o=!1,s=`application/json`,c=``)=>{let l=W5(i);if(`schema`in l){if(!Y5(l.schemaFormat))return[];i=l.schema}if(U5(i)===!1)return[];let u=W5(i);if(u.example!==void 0||Array.isArray(u.examples)&&u.examples.length||a)return[];let d=Su(U5(i)),f=JSON.stringify([s,c,o]),p=c?`Generated ${c} example`:`Generated example`,m=n.get(d)?.get(f);if(m)return m.nodes.length?[K3($3(`#${m.id}`,p))]:[];let h=o?t7(u,0,X5(),e):u;if(bYn(h)>1e4)return[K3(W3(`Generated example omitted because it is too large.`))];let g=nv(h),_=t.get(`example`,String(++r)),v=eu(s),y=v?fv(h,{value:g}):void 0,b=g===void 0?[]:[H3(_),K3(q3(W3(`${p}:`))),...v?y?.xml===void 0?[K3(W3(`Unable to generate an XML example.`))]:[Q5(y.xml,`xml`)]:[Q5(g)]],x=n.get(d)??new Map;return x.set(f,{id:_,nodes:b}),n.set(d,x),b}}})),n7,r7,i7,a7,CYn,wYn=s((()=>{tu(),Du(),H5(),UG(),rS(),pYn(),J5(),SYn(),yYn(),n7=e=>Math.min(e+1,6),r7=(e,t)=>K5(e.title)||K5(e.summary)||K5(e.name)||t,i7=e=>Object.entries(W5(e)),a7=e=>{let t=W5(e);return HG(t,Array.isArray(t.traits)?t.traits.map(W5):[])},CYn=(e,t,n,r,i,a,o=!0)=>{let s=xYn(o),c=vYn(t.reference,n,r),l=(e,n=!1,r=`application/json`)=>n?c(e,!0,r):t.root(e,()=>c(e,!1,r),r),u=V3(),d=new Map,f=new Map,p=new Map,m=[],h=(e,t=!0)=>{e.summary&&e.summary!==e.title&&m.push(...t6(e.summary)),m.push(...t6(e.description));let n=Array.isArray(e.tags)?e.tags.map(e=>K5(W5(e).name)).filter(Boolean):[],r=a?n.filter(e=>e===a):n;if(r.length&&m.push(K3(q3(W3(`Tags:`)),W3(` `),W3(r.join(`, `)))),t&&Array.isArray(e.tags))for(let t of e.tags){let e=W5(t);if(a&&e.name!==a)continue;let n=W5(e.externalDocs);(e.description||typeof n.url==`string`)&&(m.push(K3(q3(W3(`Tag: ${K5(e.name)??``}`))),...t6(e.description)),typeof n.url==`string`&&m.push(K3($3(n.url,K5(n.description)||`External documentation`))))}let i=W5(e.externalDocs);typeof i.url==`string`&&m.push(K3($3(i.url,K5(i.description)||`External documentation`)))},g=(e,t)=>{let n=t.flatMap(t=>e[t]===void 0?[]:[X3(K3(q3(W3(`${t}:`)),W3(` `),G3(typeof e[t]==`string`?e[t]:JSON.stringify(Su(e[t])))))]);n.length&&m.push(Z3(n))},_=(e,t)=>{let n=i7(e);if(n.length){m.push(Y3(t,W3(`Bindings`)));for(let[e,t]of n){let n=W5(t);m.push(K3(q3(W3(e))),Q5(n));for(let e of fYn(n))m.push(K3(q3(W3(`Referenced schema:`)),W3(` `),G3(e.$ref)),...l(e))}}},v=(e,t,n=!1)=>{if(Array.isArray(e)&&e.length){m.push(Y3(t,W3(`Authentication`)),K3(W3(`Satisfy one of the following security schemes.`))),n&&m.push(K3(W3(`Applicable server security must also be satisfied.`)));for(let t of e){let e=W5(t),n=Su(e),r=p.get(n),i=K5(e.name)||K5(e.type)||`Security scheme`;if(r){m.push(K3($3(`#${r}`,i)));continue}let a=u.get(`security`,String(p.size),i);p.set(n,a),m.push(H3(a)),g(e,[`type`,`name`,`in`,`scheme`,`bearerFormat`,`openIdConnectUrl`,`scopes`]),m.push(...t6(e.description)),e.flows&&m.push(Q5(e.flows))}}},y=(e,t)=>{if(e.length){m.push(Y3(t,W3(`Servers`)));for(let[n,r]of e){let e=W5(r),i=Su(e),a=f.get(i);if(a){m.push(K3($3(`#${a}`,r7(e,n))));continue}let o=u.get(`server`,String(f.size),n);f.set(i,o),m.push(H3(o)),m.push(Y3(n7(t),W3(r7(e,n)))),g(e,[`host`,`pathname`,`protocol`,`protocolVersion`]),h(e);for(let[t,n]of i7(e.variables))m.push(K3(q3(W3(`Server variable:`)),W3(` `),G3(t))),g(W5(n),[`default`,`enum`,`examples`]),m.push(...t6(W5(n).description));v(e.security,n7(n7(t))),_(e.bindings,n7(n7(t)))}}},b=t=>Array.isArray(t.servers)&&t.servers.length>0?t.servers.map((e,t)=>[K5(W5(e).title)||`Server ${t+1}`,e]):i7(e.servers),x=(t,n,i)=>{let o=Su(W5(n));if(a){let e=d.get(o);if(e){m.push(K3($3(`#${e}`,r7(a7(n),t))));return}let r=u.get(`message`,String(d.size+1),t);d.set(o,r),m.push(H3(r))}let c=a7(n),f=K5(c.contentType??e.defaultContentType)??`application/json`;m.push(Y3(i,W3(r7(c,t)))),h(c),g({...c,contentType:c.contentType??e.defaultContentType},[`name`,`contentType`]),c.correlationId&&(m.push(Y3(n7(i),W3(`Correlation ID`))),g(W5(c.correlationId),[`location`]),h(W5(c.correlationId)));for(let e of[`headers`,`payload`])c[e]!==void 0&&m.push(Y3(n7(i),W3(e===`headers`?`Headers`:`Payload`)),...l(e===`payload`&&typeof c.schemaFormat==`string`?{schemaFormat:c.schemaFormat,schema:c[e]}:c[e],!1,e===`payload`?f:`application/json`));if(Array.isArray(c.examples))for(let e of c.examples){let t=W5(e);m.push(Y3(n7(i),W3(K5(t.name)||`Example`))),m.push(...t6(t.summary));for(let e of[`headers`,`payload`])if(t[e]!==void 0){let n=e===`payload`&&eu(f),r=n&&typeof t[e]!=`string`?fv(W5(c.payload),{value:t[e]}):void 0;m.push(K3(q3(W3(`${e}:`)))),m.push(n?typeof t[e]==`string`||r?.xml!==void 0?Q5(r?.xml??t[e],`xml`):K3(W3(`Unable to generate an XML example.`)):Q5(t[e]))}}if(!Array.isArray(c.examples)||!c.examples.length)for(let e of[`headers`,`payload`])c[e]!==void 0&&m.push(...s(e===`payload`&&typeof c.schemaFormat==`string`?{schemaFormat:c.schemaFormat,schema:c[e]}:c[e],r,!1,e===`payload`?f:`application/json`,e));_(c.bindings,n7(i))},ee=(e,t)=>{e.address===void 0||e.address===null?m.push(K3(q3(W3(`Address:`)),W3(` Unknown.`))):g(e,[`address`]),h(e);for(let[n,r]of i7(e.parameters))m.push(Y3(t,W3(`Parameter: ${n}`))),g(W5(r),[`enum`,`default`,`examples`,`location`]),h(W5(r));y(b(e),t),_(e.bindings,t)},te=(e,t)=>Array.isArray(e.messages)?e.messages.map((e,t)=>[r7(W5(e),`Message ${t+1}`),e]):i7(t.messages),ne=(e,t,n,r)=>{let i=a7(t),a=W5(i.channel);m.push(Y3(n,W3(r7(i,e)))),g(i,[`action`]),h(i),r&&(m.push(Y3(n7(n),W3(`Channel`))),ee(a,n7(n7(n)))),v(i.security,n7(n),!0),_(i.bindings,n7(n));for(let[e,t]of te(i,a))x(e,t,n7(n));if(i.reply){let e=W5(i.reply),t=W5(e.channel);m.push(Y3(n7(n),W3(`Reply`))),e.channel!==void 0&&ee(t,n7(n7(n)));let r=W5(e.address);g(r,[`location`]),h(r);for(let[t,r]of te(e,{}))x(t,r,n7(n7(n)))}};return{blocks:m,introduction:()=>{let t=W5(e.info);m.push(Y3(1,W3(r7(t,`AsyncAPI`)))),g({version:t.version,asyncapi:e[`x-original-aas-version`]??e.asyncapi},[`version`,`asyncapi`]),g(e,[`id`,`defaultContentType`]),h(t,!1),g(t,[`termsOfService`]);for(let e of[`contact`,`license`])t[e]&&(m.push(Y3(2,W3(e===`contact`?`Contact`:`License`))),g(W5(t[e]),[`name`,`email`,`url`]));y(i7(e.servers),2)},channel:(t,n,r)=>{let i=W5(n);m.push(Y3(r,W3(r7(i,t)))),ee(i,n7(r));let a=i7(e.operations).filter(([,e])=>Su(W5(a7(e).channel))===Su(i));for(let[e,t]of a)ne(e,t,n7(r),!1);let o=new Set(a.flatMap(([,e])=>te(a7(e),i).map(([,e])=>Su(W5(e)))));for(let[e,t]of i7(i.messages))o.has(Su(W5(t)))||x(e,t,n7(r))},operation:ne,message:x,model:(e,a,o)=>{m.push(...t.model(a,()=>[Y3(o,W3(r7(W5(a),e))),...l(a,!0),...n(W5(a)).type===`object`||n(W5(a)).properties!==void 0?s(a,r&&!i,r&&i):[]]))},finish:()=>{m.push(...t.appendix(e=>l(e,!0)))}}}})),TYn,EYn,DYn=s((()=>{h_(),du(),Du(),H5(),J5(),yYn(),Z5(),TYn=e=>{try{let t=/^#\/components\/schemas\/([^/]+)$/.exec(decodeURIComponent(e));return t?uu(t[1]):e}catch{return e}},EYn=e=>{let t=X5(),n=new Map;for(let[t,r]of Object.entries(W5(G5(e.components,`schemas`)))){let e=Su(U5(r));n.has(e)||n.set(e,{name:t,value:r,ref:`#/components/schemas/${m_(t)}`})}return{forPage:(e,r)=>{let i=new Map(n),a=e=>{let t=Su(U5(e)),n=i.get(t);if(n)return n;if(e&&typeof e==`object`&&`$ref`in e&&typeof e.$ref==`string`){let n=e.$ref,r={name:uu(n.split(`/`).at(-1))||n,ref:n,value:e};return i.set(t,r),r}},o=V3(),s=new Set,c=new Set,l=e=>o.get(`model`,e.ref,e.name),u=(e,t,n=`application/json`)=>{let r=Su(U5(e)),i=a(e);return i?c.has(r)?[K3($3(`#${l(i)}`,i.name)),...e7(e),...$5(e,n)]:(c.add(r),[H3(l(i)),...t()]):t()};return{reference:(n,i,o=`application/json`)=>{let c=Su(U5(n)),u=a(n);if(!u||!r&&i===0)return;let d=t(W5(u.value));if(!(hYn(d)&&e.schemaReferences?.inlinePrimitives!==!1)){if(e.schemaReferences){let t=n&&typeof n==`object`&&`$ref`in n&&typeof n.$ref==`string`?n.$ref:u.ref,r=TYn(t),i=e.schemaReferences.resolveUrl?.({ref:t,name:r}),a=i?$3(i,r):void 0;return[K3(a?.url?a:W3(r)),...e7(n),...$5(n,o)]}return s.add(c),[K3($3(`#${l(u)}`,u.name)),...e7(n),...$5(n,o)]}},model:u,root:(e,t,n)=>r?t():u(e,t,n),appendix:t=>{let n=[];if(e.schemaReferences)return n;for(let e of s){let r=i.get(e);c.has(e)||n.push(...u(r.value,()=>[Y3(2,W3(`Schema: ${r.name}`)),...t(r.value)]))}return n}}}}}})),OYn,kYn,AYn=s((()=>{Du(),H5(),UG(),BLn(),cYn(),s8(),J5(),wYn(),DYn(),Z5(),OYn=o8().use(LLn).use(oYn,{bullet:`-`}).freeze(),kYn=e=>{let t=rYn(),n=EYn(e),r=X5();return{render:async(i={})=>{let a=lYn(e,i),{blocks:o,introduction:s,channel:c,operation:l,message:u,model:d,finish:f}=CYn(e,n.forPage(i,a===void 0),r,i.schemaReferences?.mode===`linked`,typeof a==`object`&&a.kind===`model`,typeof a==`object`&&a.kind===`tag`?a.name:void 0,i.schemaReferences?.inlinePrimitives!==!1);if((a===`introduction`||a===void 0)&&s(),a&&a!==`introduction`){if(a.kind===`tag`){let t=e=>{let t=W5(e),n=HG(t,Array.isArray(t.traits)?t.traits.map(W5):[]);return Array.isArray(n.tags)&&n.tags.some(e=>W5(e).name===a.name)},n=W5(e.info).tags,r=Array.isArray(n)?n.filter(e=>W5(e).name===a.name):[];if(r.length>1)throw Error(`Multiple tags found for "${a.name}"`);let i=r[0];s(),o.push(Y3(2,W3(a.name)),...t6(W5(i).description));let d=W5(W5(i).externalDocs);typeof d.url==`string`&&o.push(K3($3(d.url,K5(d.description)||`External documentation`)));let f=new Set,p=i!==void 0;for(let[n,r]of Object.entries(W5(e.channels)))t(r)&&(c(n,r,2),f.add(Su(W5(r))),p=!0);for(let[n,r]of Object.entries(W5(e.operations)))t(r)&&!f.has(Su(W5(W5(r).channel)))&&(l(n,r,2,!0),p=!0);for(let[n,r]of Object.entries(W5(G5(e.components,`messages`))))t(r)&&(u(n,r,2),p=!0);for(let[n,r]of Object.entries(W5(e.channels)))if(!f.has(Su(W5(r))))for(let[e,i]of Object.entries(W5(W5(r).messages)))t(i)&&(u(`${n}: ${e}`,i,2),p=!0);if(!p)throw Error(`Unknown tag: ${a.name}`)}else a.kind===`channel`?c(a.name,a.value,1):a.kind===`operation`?l(a.name,a.value,1,!0):a.kind===`message`?u(a.name,a.value,1):d(a.name,a.value,1)}else if(a===void 0){let t=W5(e.info).tags;if(Array.isArray(t)&&t.length){o.push(Y3(2,W3(`Tags`)));for(let e of t){let t=W5(e);o.push(Y3(3,W3(K5(t.name)??`Tag`)),...t6(t.description));let n=W5(t.externalDocs);typeof n.url==`string`&&o.push(K3($3(n.url,K5(n.description)||`External documentation`)))}}for(let[t,n]of Object.entries(W5(e.channels)))c(t,n,2);for(let[t,n]of Object.entries(W5(G5(e.components,`messages`))))u(t,n,2);for(let[t,n]of Object.entries(W5(G5(e.components,`schemas`))))d(`Schema: ${t}`,n,2)}f();let p=V3(),m=[];for(let e of[...o]){if(e.type!==`heading`||e.depth<2||e.depth>3)continue;let t=e.children.map(e=>`value`in e?e.value:``).join(``),n=o.indexOf(e),r=o[n-1],i=r?.type===`html`?/<a id="([^"]+)"/.exec(r.value)?.[1]:void 0,a=i??p.get(`section`,String(n),t);i||o.splice(n,0,H3(a)),m.push(X3(K3($3(`#${a}`,t))))}if(m.length&&a!==`introduction`){let e=o.findIndex(e=>e.type===`heading`&&e.depth===1);o.splice(e+1,0,Y3(2,W3(`Contents`)),Z3(m))}return await iYn(o,t()),OYn.stringify({type:`root`,children:o})}}}})),jYn=l({createMarkdownFromAsyncApi:()=>MYn}),MYn,NYn=s((()=>{AYn(),MYn=async(e,t)=>kYn(e).render(t)}));B();var PYn=k({__name:`CopyAsyncApiMarkdownButton`,props:{document:{},selection:{}},setup(e){let t=z(()=>{let t=e.document,n=e.selection;return async()=>{let{createMarkdownFromAsyncApi:e}=await Promise.resolve().then(()=>(NYn(),jYn));return e(t,n)}});return(e,n)=>(j(),N(lAn,{getMarkdown:t.value},null,8,[`getMarkdown`]))}});hG();var FYn=e=>e?Object.entries(e).map(([e,t])=>{let n=mG(t)??{},r={type:`string`};n.enum&&(r.enum=n.enum),n.default!==void 0&&(r.default=n.default),n.examples&&(r.examples=n.examples);let i={name:e,in:`path`,required:!0,schema:r};return n.description&&(i.description=n.description),n.location!==void 0&&(i.location=n.location),i}):[];eK();var IYn=(e,t)=>{let n=IG(e,{channel:t??null,webSocketOnly:!1});return{servers:n.map(e=>e.name),protocols:[...new Set(n.map(e=>e.protocol).filter(Boolean))]}};B(),Xz(),Q4();var LYn={class:`flex min-w-0 flex-col gap-1.5`},RYn={class:`flex flex-wrap items-baseline gap-x-2 gap-y-1`},zYn={key:0,class:`text-c-2`},BYn={key:0},VYn={key:2,class:`flex flex-col gap-1`},HYn=k({__name:`SecurityRequirementBadgeScheme`,props:{scheme:{}},setup(e){let{translate:t}=Z4(),n=z(()=>!!(e.scheme.scheme&&`deprecated`in e.scheme.scheme&&e.scheme.scheme.deprecated)),r=z(()=>{let n=e.scheme.scheme;switch(n?.type){case`apiKey`:case`httpApiKey`:return t(`authentication.apiKey`);case`http`:return`HTTP ${n.scheme}`;case`oauth2`:return`OAuth 2.0`;case`openIdConnect`:return`OpenID Connect`;case`mutualTLS`:return t(`authentication.mutualTLS`);default:return n?.type}}),i=z(()=>{let n=e.scheme.scheme;if(n?.type!==`apiKey`&&n?.type!==`httpApiKey`||!(`name`in n)||typeof n.name!=`string`)return;let r={name:n.name};switch(n.in){case`cookie`:return t(`authentication.apiKeyCookie`,r);case`header`:return t(`authentication.apiKeyHeader`,r);case`query`:return t(`authentication.apiKeyQuery`,r);default:return}});return(t,a)=>(j(),M(`li`,LYn,[P(`div`,RYn,[P(`span`,{class:lt([`font-medium`,{"line-through":n.value}])},T(e.scheme.name),3),r.value?(j(),M(`span`,zYn,T(r.value),1)):I(``,!0)]),i.value?(j(),M(`p`,BYn,T(i.value),1)):I(``,!0),e.scheme.scheme?.description?(j(),N(D(Jz),{key:1,class:`text-c-2`,value:e.scheme.scheme.description},null,8,[`value`])):I(``,!0),e.scheme.scopes.length?(j(),M(`ul`,VYn,[(j(!0),M(L,null,jr(e.scheme.scopes,e=>(j(),M(`li`,{key:e,class:`font-code text-c-2`},T(e),1))),128))])):I(``,!0)]))}});B(),Son(),Qs(),jT(),Q4();var UYn=[`aria-expanded`,`aria-label`],WYn={key:2},GYn=[`aria-label`],KYn={class:`flex max-h-[min(32rem,80dvh)] w-80 max-w-[calc(100vw-2rem)] flex-col gap-3 overflow-auto p-3 text-sm wrap-anywhere`},qYn={class:`font-medium`},JYn={key:0,class:`text-c-2`},YYn={key:1,class:`flex flex-col gap-3`},XYn={key:0,class:`text-c-2`},ZYn={class:`flex flex-col gap-3`},QYn={key:2,class:`flex flex-col gap-3`},$Yn=k({__name:`SecurityRequirementBadge`,props:{requiredSecurity:{},hideLabel:{type:Boolean,default:!1}},setup(e){let{translate:t}=Z4(),n=E(null),r=E(null),i=E(!1),a=E(!1),o,s=()=>{a.value||(clearTimeout(o),o=setTimeout(()=>{i.value=!1},120))},c=()=>clearTimeout(o),l=()=>{c(),i.value=!0},u=()=>{c(),i.value=!1,a.value=!1},d=()=>{a.value?u():(c(),i.value=!0,a.value=!0)};CT(n,u,{ignore:[r]}),TT(`Escape`,()=>{i.value&&(r.value?.contains(document.activeElement)&&n.value?.focus(),u())}),Ri(()=>clearTimeout(o));let f=z(()=>e.requiredSecurity.state===`required`?t(`authentication.required`):t(`authentication.optional`)),p=z(()=>e.requiredSecurity.state===`required`?t(`authentication.requires`):t(`authentication.accepts`)),m=z(()=>e.requiredSecurity.state===`required`?t(`authentication.detailsRequired`):t(`authentication.detailsOptional`)),h=z(()=>e.requiredSecurity.requirements.length===1&&(e.requiredSecurity.requirements[0]?.schemes.length??0)>1),g=z(()=>e.requiredSecurity.requirements.length>1);return(a,o)=>e.requiredSecurity.state===`none`?I(``,!0):(j(),N(D(lT),{key:0,placement:`bottom-end`},{floating:O(()=>[i.value?(j(),M(`div`,{key:0,ref_key:`panelRef`,ref:r,"aria-label":m.value,class:`bg-b-1 dark:bg-b-1.5 inset-shadow-border relative flex flex-col rounded-xl p-0.75 shadow-md`,role:`dialog`,onClick:o[0]||=Ka(()=>{},[`stop`]),onMouseenter:c,onMouseleave:s},[P(`div`,KYn,[P(`div`,qYn,T(m.value),1),g.value||h.value?(j(),M(`div`,JYn,[F(T(p.value)+` `,1),g.value?(j(),M(L,{key:0},[F(T(D(t)(`authentication.oneOf`)),1)],64)):h.value?(j(),M(L,{key:1},[F(T(D(t)(`authentication.allOf`)),1)],64)):I(``,!0)])):I(``,!0),g.value?(j(),M(`ul`,YYn,[(j(!0),M(L,null,jr(e.requiredSecurity.requirements,(e,n)=>(j(),M(`li`,{key:n,class:`flex flex-col gap-2 border-t pt-3`},[e.schemes.length>1?(j(),M(`div`,XYn,T(p.value)+` `+T(D(t)(`authentication.allOf`)),1)):I(``,!0),P(`ul`,ZYn,[(j(!0),M(L,null,jr(e.schemes,(e,t)=>(j(),N(HYn,{key:t,scheme:e},null,8,[`scheme`]))),128))])]))),128))])):e.requiredSecurity.requirements[0]?(j(),M(`ul`,QYn,[(j(!0),M(L,null,jr(e.requiredSecurity.requirements[0].schemes,(e,t)=>(j(),N(HYn,{key:t,scheme:e},null,8,[`scheme`]))),128))])):I(``,!0)])],40,GYn)):I(``,!0)]),default:O(()=>[P(`button`,{ref_key:`triggerRef`,ref:n,"aria-expanded":i.value,"aria-haspopup":`dialog`,"aria-label":f.value,class:lt([`security-requirement-badge inline-flex w-fit shrink-0 items-center justify-center gap-1 text-sm`,e.requiredSecurity.state===`optional`?`text-c-2`:`text-c-1 font-medium`]),type:`button`,onClick:Ka(d,[`stop`]),onMouseenter:l,onMouseleave:s},[e.requiredSecurity.state===`required`?(j(),N(D(Gs),{key:0,class:`size-3`,weight:`bold`})):(j(),N(D(fge),{key:1,class:`size-3`,weight:`bold`})),e.hideLabel?I(``,!0):(j(),M(`span`,WYn,T(f.value),1))],42,UYn)]),_:1}))}});iu(),JQt();var eXn=(e,t)=>{let n=e?.security??t.security??[],r=t.components?.securitySchemes??{},i=!1,a=[];for(let e of n){if(!aY(e)){i=!0;continue}let t=Object.entries(e).map(([e,t])=>({name:e,scheme:H(r[e]),scopes:t.filter(e=>e.length>0)}));t.length>0&&a.push({schemes:t})}return a.length===0?{state:i?`optional`:`none`,requirements:[]}:{state:i?`optional`:`required`,requirements:a}};eK();var tXn=(e,t,n)=>{let r=qG(e,{servers:{},operations:t&&n!==void 0?{[n]:t}:{}}),i=eXn({security:ZG(e,t,null,{operationName:n})},{components:void 0});return{...i,requirements:i.requirements.map(e=>({schemes:e.schemes.map(e=>({...e,scheme:r[e.name]}))}))}};NG(),iu(),pH();var nXn=(e,t)=>{for(let n of e){if(t(n))return n;let e=`children`in n&&n.children?nXn(n.children,t):void 0;if(e)return e}},rXn=(e,t,n=[])=>{let r=H(t?.reply);if(!r)return;let i=H(r.address),a=r.channel,o=H(a),s=a?MG(a.$ref,[`channels`])??Object.keys(e.channels??{}).find(t=>o&&H(e.channels?.[t])===o):void 0,c=s?q4(e,s):o,l=e[`x-scalar-navigation`],u=l?.children??[],d=s?nXn(u,e=>e.type===`asyncapi-channel`&&e.channelName===s):void 0;if(c&&fH(c)||l&&s&&e.channels?.[s]&&!d)return;let f=(r.messages??[]).flatMap(r=>{let i=s?MG(r.$ref,[`channels`,s,`messages`]):void 0,a=i&&s?J4(e,s,i):H(H(r));if(a&&fH(a))return[];let o=t?.messages?.some(({$ref:e})=>e===r.$ref)?void 0:n.find(e=>e.channelName===s&&e.messageName===i),f=o??(i&&s?nXn(u,e=>e.type===`asyncapi-message`&&e.channelName===s&&e.messageName===i):void 0);return l&&d&&i&&c?.messages?.[i]&&!f?[]:[{title:R3(a?.title,a?.name,i??r.$ref),id:f?.id,entry:f?.type===`asyncapi-message`?f:void 0,nested:!!o}]});return{channel:a?{title:R3(c?.title,c?.address??void 0,s??a.$ref),id:d?.id}:void 0,address:i?.location??c?.address??void 0,dynamicAddress:!!i?.location,description:i?.description,messages:f}};B(),hX();var iXn={key:1,class:`text-c-1 min-w-0 truncate py-0.75 text-(length:--scalar-small) [font-weight:var(--scalar-semibold)]`},aXn=k({__name:`OperationMessageExamples`,props:Lr({document:{},messages:{},pickerLabel:{default:`Message example`}},{selectedMessage:{default:``},selectedMessageModifiers:{}}),emits:[`update:selectedMessage`],setup(e){let t=z(()=>e.messages.flatMap(t=>{let n=J4(e.document,t.channelName,t.messageName);return n?[{id:t.messageName,label:R3(n.title,t.title,t.messageName),message:n}]:[]})),n=Hr(e,`selectedMessage`);dr(t,e=>{e.some(({id:e})=>e===n.value)||(n.value=e[0]?.id??``)},{immediate:!0});let r=z(()=>t.value.find(({id:e})=>e===n.value)),i=z(()=>Object.fromEntries(t.value.map(({id:e,label:t})=>[e,{summary:t}]))),a=z(()=>r.value?bG(r.value.message):void 0);return(o,s)=>r.value?(j(),N(Mkn,{key:r.value.id,contentType:r.value.message.contentType??e.document.defaultContentType,examples:r.value.message.examples,generatedPayload:a.value},{footer:O(()=>[t.value.length>1?(j(),N(D(xH),{key:0,modelValue:n.value,"onUpdate:modelValue":s[0]||=e=>n.value=e,"aria-label":`${e.pickerLabel}: ${r.value.label}`,class:`-ml-1.5 h-auto!`,examples:i.value},null,8,[`modelValue`,`aria-label`,`examples`])):(j(),M(`span`,iXn,T(r.value.label),1))]),_:1},8,[`contentType`,`examples`,`generatedPayload`])):I(``,!0)}});B(),Xz(),u2();var oXn={class:`min-w-0`},sXn={class:`min-w-0`},cXn={key:0,class:`mb-4 min-w-0`},lXn={class:`space-y-4 text-sm`},uXn={key:0,class:`min-w-0`},dXn={class:`text-c-2 min-w-0 break-words`},fXn=[`href`],pXn={key:1},mXn={key:1,class:`min-w-0`},hXn={class:`text-c-1 mb-2 text-base font-medium`},gXn={class:`text-c-2 min-w-0`},_Xn={class:`font-code min-w-0 text-sm [overflow-wrap:anywhere] whitespace-pre-wrap`},vXn={key:1},yXn=[`href`,`onClick`],bXn={key:1},xXn=k({__name:`OperationReply`,props:{document:{},options:{},reply:{},eventBus:{},level:{},expandedItems:{default:()=>({})},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=KDn(),n=(t,n)=>{e.eventBus&&l2(t)&&(t.preventDefault(),e.eventBus.emit(`scroll-to:nav-item`,{id:n}))};return(r,i)=>(j(),M(`div`,oXn,[R(D(g3),{class:`text-c-1 mb-3 block! border-b pb-2 text-base leading-[1.45] font-medium`,level:e.level},{default:O(()=>[...i[1]||=[F(` Replies `,-1)]]),_:1},8,[`level`]),P(`div`,sXn,[e.reply.channel||e.reply.address!==void 0||e.reply.description?(j(),M(`div`,cXn,[P(`dl`,lXn,[e.reply.channel?(j(),M(`div`,uXn,[i[2]||=P(`dt`,{class:`text-c-1 mb-2 text-base font-medium`},`Channel`,-1),P(`dd`,dXn,[e.reply.channel.id?(j(),M(`a`,{key:0,class:`text-c-2 hover:text-c-1 rounded underline focus-visible:outline`,href:D(t)(e.reply.channel.id),onClick:i[0]||=t=>n(t,e.reply.channel.id)},T(e.reply.channel.title),9,fXn)):(j(),M(`span`,pXn,T(e.reply.channel.title),1))])])):I(``,!0),e.reply.address===void 0?I(``,!0):(j(),M(`div`,mXn,[P(`dt`,hXn,T(e.reply.dynamicAddress?`Dynamic address`:`Address`),1),P(`dd`,gXn,[P(`code`,_Xn,[R(B3,{class:`text-c-1 [&_em]:text-c-2 font-normal! [&_em]:font-medium [&_em]:not-italic`,path:e.reply.address},null,8,[`path`])])])]))]),e.reply.description?(j(),N(D(Jz),{key:0,class:`text-c-2 mt-1 text-sm`,value:e.reply.description},null,8,[`value`])):I(``,!0)])):I(``,!0),e.reply.messages.length?(j(),M(`div`,vXn,[(j(!0),M(L,null,jr(e.reply.messages,(r,i)=>(j(),M(L,{key:i},[r.entry?(j(),N(Zkn,{key:0,class:lt({"[&>.collapsible-section]:border-t-0!":i===0}),document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,hideExamples:``,inline:!r.nested,message:r.entry,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`class`,`document`,`eventBus`,`expandedItems`,`expansion`,`inline`,`message`,`options`,`scrollTargetId`,`specificationExtension`])):(j(),M(`div`,{key:1,class:lt([`py-3 text-sm`,{"border-t":i>0}])},[r.id?(j(),M(`a`,{key:0,class:`text-c-2 hover:text-c-1 underline`,href:D(t)(r.id),onClick:e=>n(e,r.id)},T(r.title),9,yXn)):(j(),M(`span`,bXn,T(r.title),1))],2))],64))),128))])):I(``,!0)])]))}});B(),hX(),Xz(),Qs(),dH();var SXn=[`id`,`aria-labelledby`],CXn={class:`operation-header`},wXn={class:`inline-flex max-w-full flex-wrap items-center gap-2 align-middle`},TXn={key:0,class:`operation-auth flex shrink-0 items-center`},EXn={class:`ms-auto flex shrink-0 items-center gap-3`},DXn={key:0,class:`operation-overview`},OXn={key:0,class:`operation-summary text-c-1 mb-2 [overflow-wrap:anywhere]`},kXn={class:`operation-example flex min-w-0 flex-col gap-6`},AXn={class:`operation-details`},jXn={key:1,class:`text-c-2 rounded-lg border border-dashed px-4 py-3 text-sm`},MXn=k({__name:`Operation`,props:{operation:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=xr(),n=Cr(`section`);l3(n,()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.operation.id}));let r=z(()=>Y4(e.document,e.operation.operationName)),i=z(()=>R3(r.value?.title,r.value?.summary,e.operation.title,e.operation.operationName)),a=z(()=>tXn(e.document,r.value,e.operation.operationName)),o=z(()=>{let e=r.value?.summary?.trim()??``;return r.value?.description?.trim()||e===i.value?``:e}),s=z(()=>r.value?.description??``),c=z(()=>!!(o.value||s.value||r.value?.bindings||r.value?.externalDocs)),l=z(()=>wkn(e.operation.children,`asyncapi-message`)),u=z(()=>rXn(e.document,r.value,l.value)),d=z(()=>l.value.filter(e=>!u.value?.messages.some(({entry:t,nested:n})=>n&&t?.id===e.id))),f=z(()=>u.value?.messages.flatMap(({entry:e})=>e?[e]:[])??[]),{level:p}=_3(`asyncApiOperation`),m=Math.min(6,p+1);return(l,h)=>(j(),M(`section`,{id:e.operation.id,ref_key:`section`,ref:n,"aria-labelledby":D(t),class:lt([`operation`,[`operation--${e.operation.action}`,{"operation--without-overview":!c.value}]])},[P(`div`,CXn,[R(D(c3),{class:`narrow:basis-full min-w-0 flex-1`,onCopyAnchorUrl:h[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.operation.id})},{default:O(()=>[P(`span`,wXn,[R(D(g3),{id:D(t),class:`operation-title`,level:D(p)},{default:O(()=>[F(T(i.value),1)]),_:1},8,[`id`,`level`]),R(D(uH),{class:lt([`operation-action inline-flex shrink-0 items-center gap-1`,`operation-action--${e.operation.action}`])},{default:O(()=>[(j(),N(Ar(e.operation.action===`send`?D(Rs):D(cle)),{"aria-hidden":`true`,class:`size-3`})),F(` `+T(e.operation.action===`send`?`Send`:`Receive`),1)]),_:1},8,[`class`])])]),_:1}),a.value.state===`none`?I(``,!0):(j(),M(`div`,TXn,[R($Yn,{requiredSecurity:a.value},null,8,[`requiredSecurity`])])),P(`div`,EXn,[l.$slots.actions?A(l.$slots,`actions`,{},void 0,!0,0):(j(),N(PYn,{key:1,document:e.document,selection:{operation:e.operation.operationName}},null,8,[`document`,`selection`]))])]),c.value?(j(),M(`div`,DXn,[o.value?(j(),M(`p`,OXn,T(o.value),1)):I(``,!0),s.value?(j(),N(D(Jz),{key:1,class:`operation-description`,value:s.value,withImages:``},null,8,[`value`])):I(``,!0),r.value?.bindings||r.value?.externalDocs?(j(),M(`div`,{key:2,class:lt([`space-y-4`,{"mt-12":o.value||s.value}])},[R(o3,{bindings:r.value?.bindings,options:e.options,scope:`operation`},null,8,[`bindings`,`options`]),R(a3,{owner:{externalDocs:r.value?.externalDocs}},null,8,[`owner`])],2)):I(``,!0)])):I(``,!0),P(`div`,kXn,[R(D(tqt),{document:e.document,operationName:e.operation.operationName},null,8,[`document`,`operationName`]),f.value.length?(j(),N(aXn,{key:0,class:`w-full`,document:e.document,messages:f.value,pickerLabel:`Reply message example`},null,8,[`document`,`messages`])):I(``,!0)]),P(`div`,AXn,[d.value.length||u.value?(j(),N(D(g3),{key:0,class:lt([`text-c-1 mb-2 block! text-base leading-[1.45] font-medium`,{"mt-12":c.value}]),level:D(m)},{default:O(()=>[...h[1]||=[F(` Messages `,-1)]]),_:1},8,[`class`,`level`])):I(``,!0),(j(!0),M(L,null,jr(d.value,t=>(j(),N(Zkn,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,hideExamples:``,message:t,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`eventBus`,`expandedItems`,`expansion`,`message`,`options`,`scrollTargetId`,`specificationExtension`]))),128)),u.value&&!d.value.length?(j(),M(`p`,jXn,` No messages listed for this operation. `)):I(``,!0),u.value?(j(),N(xXn,{key:2,class:`mt-12`,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,level:D(m),options:e.options,reply:u.value,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`eventBus`,`expandedItems`,`expansion`,`level`,`options`,`reply`,`scrollTargetId`,`specificationExtension`])):I(``,!0)])],10,SXn))}});e3();var NXn=$4(MXn,[[`__scopeId`,`data-v-e5ea8cc5`]]);B(),IV(),kH(),u2(),Q4();var PXn=[`aria-label`],FXn=[`href`,`onClick`],IXn={class:`group-hover:underline group-focus-visible:underline`},LXn=k({__name:`OperationsList`,props:{channelTitle:{},operations:{},document:{},eventBus:{}},setup(e){let{translate:t}=Z4(),n=z(()=>e.operations.map(t=>{let n=Y4(e.document,t.operationName);return{...t,actionClass:t.action===`send`?`text-blue`:`text-green`,title:R3(n?.title,n?.summary,t.title,t.operationName)}})),r=KDn(),i=(t,n)=>{e.eventBus&&l2(t)&&(t.preventDefault(),e.eventBus.emit(`scroll-to:nav-item`,{id:n}))};return(a,o)=>n.value.length?(j(),N(D(wH),{key:0,class:`sticky top-[calc(var(--refs-viewport-offset)+24px)] text-base`},{default:O(()=>[R(D(OH),{muted:``},{default:O(()=>[R(D(FV),null,{default:O(()=>[F(T(e.channelTitle),1)]),_:1}),F(` `+T(D(t)(`navigation.operations`)),1)]),_:1}),R(D(TH),{class:`custom-scroll max-h-[60vh]`},{default:O(()=>[P(`ul`,{"aria-label":`${e.channelTitle} ${D(t)(`navigation.operations`)}`,class:`bg-b-2 w-full overflow-auto px-3 py-2.5`},[(j(!0),M(L,null,jr(n.value,e=>(j(),M(`li`,{key:e.id},[P(`a`,{class:`text-c-1 font-code group flex cursor-pointer items-baseline gap-3 text-sm leading-[1.55] no-underline`,href:D(r)(e.id),onClick:t=>i(t,e.id)},[P(`span`,{class:lt([`w-16 shrink-0 text-right uppercase`,e.actionClass])},T(e.action),3),P(`span`,IXn,T(e.title),1)],8,FXn)]))),128))],8,PXn)]),_:1})]),_:1})):I(``,!0)}});B(),Xz();var RXn={class:`flex flex-wrap items-baseline gap-[9px]`},zXn={key:0,class:`text-c-1 mt-4 mb-2 text-left`},BXn={key:0,class:`text-c-2 mb-2 font-sans text-(length:--scalar-small) leading-[1.625]`},VXn={class:`bg-b-2 shadow-border font-code rounded box-decoration-clone px-0.75 text-(length:--scalar-micro) break-all`},HXn={class:`flex flex-wrap items-start justify-end gap-3`},UXn={key:0,class:`text-c-1 mt-4 mb-2 text-left`},WXn={key:0,class:`text-c-2 mb-2 font-sans text-(length:--scalar-small) leading-[1.625]`},GXn={class:`bg-b-2 shadow-border font-code rounded box-decoration-clone px-0.75 text-(length:--scalar-micro) break-all`},KXn=k({__name:`Channel`,props:{channel:{},document:{},layout:{},isCollapsed:{type:Boolean},eventBus:{},options:{},expandedItems:{default:()=>({})},level:{default:0},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=xr(),n=z(()=>q4(e.document,e.channel.channelName)),r=z(()=>n.value?.description??``),i=z(()=>{let e=n.value?.summary?.trim()??``;return r.value.trim()||e===a.value?``:e}),a=z(()=>R3(n.value?.title,n.value?.summary,e.channel.channelAddress)),o=z(()=>FYn(n.value?.parameters)),s=z(()=>({hideModels:e.options?.hideModels??!1,...wwn(e.options)})),c=z(()=>IYn(e.document,n.value)),l=z(()=>wkn(e.channel.children,`asyncapi-operation`)),{level:u}=_3(`channel`);return(d,f)=>e.layout===`classic`?(j(),N(D(rEn),{key:0,"aria-label":a.value,class:lt([`channel-section`,{"channel-section-nested":e.level!==0}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":f[1]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.channel.id,open:t})},{title:O(()=>[R(D(h3),{class:`channel-name`},{default:O(()=>[P(`div`,RXn,[R(D(c3),{onCopyAnchorUrl:f[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.channel.id})},{default:O(()=>[R(D(g3),{level:D(u)},{default:O(()=>[F(T(a.value),1)]),_:1},8,[`level`])]),_:1}),R(Ckn,{class:`gap-[9px] leading-[1.15] font-normal`,protocols:c.value.protocols,servers:c.value.servers},null,8,[`protocols`,`servers`])])]),_:1}),i.value?(j(),M(`p`,zXn,T(i.value),1)):I(``,!0),R(D(Jz),{class:`channel-description`,value:r.value,withImages:``},null,8,[`value`])]),actions:O(()=>[d.$slots.actions?A(d.$slots,`actions`,{},void 0,!0,0):(j(),N(PYn,{key:1,document:e.document,selection:{channel:e.channel.channelName}},null,8,[`document`,`selection`]))]),default:O(()=>[R(sAn,{address:n.value?.address,class:`mt-12`},null,8,[`address`]),R(o3,{bindings:n.value?.bindings,class:`mt-4`,options:e.options,scope:`channel`},null,8,[`bindings`,`options`]),R(a3,{owner:{externalDocs:n.value?.externalDocs}},null,8,[`owner`]),o.value.length?(j(),N(L3,{key:0,class:`[&_.parameter-list-title--tree]:text-base!`,eventBus:e.eventBus,expansion:e.expansion,options:s.value,parameters:o.value,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},{title:O(()=>[...f[4]||=[F(`Parameters`,-1)]]),"parameter-details":O(({parameter:e})=>[e.location?(j(),M(`div`,BXn,[f[5]||=F(` Location: `,-1),P(`code`,VXn,T(e.location),1)])):I(``,!0)]),_:1},8,[`eventBus`,`expansion`,`options`,`parameters`,`scrollTargetId`,`specificationExtension`])):I(``,!0),(j(!0),M(L,null,jr(l.value,t=>(j(),N(NXn,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,operation:t,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`eventBus`,`expandedItems`,`expansion`,`operation`,`options`,`scrollTargetId`,`specificationExtension`]))),128)),R($kn,{channel:e.channel,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`channel`,`document`,`eventBus`,`expandedItems`,`expansion`,`options`,`scrollTargetId`,`specificationExtension`])]),_:3},8,[`aria-label`,`class`,`modelValue`])):(j(),N(D(p3),{key:1,"aria-labelledby":D(t),omit:e.level!==0,role:`region`},{default:O(()=>[R(D(u3),{id:e.channel.id,role:`none`,onIntersecting:f[3]||=()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.channel.id})},{default:O(()=>[R(Ckn,{class:`gap-1`,protocols:c.value.protocols,servers:c.value.servers},null,8,[`protocols`,`servers`]),R(D(h3),null,{links:O(()=>[P(`div`,HXn,[d.$slots.actions?A(d.$slots,`actions`,{},void 0,!0,0):(j(),N(PYn,{key:1,document:e.document,selection:{channel:e.channel.channelName}},null,8,[`document`,`selection`]))])]),default:O(()=>[R(D(c3),{onCopyAnchorUrl:f[2]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.channel.id})},{default:O(()=>[R(D(g3),{id:D(t),level:D(u)},{default:O(()=>[F(T(a.value),1)]),_:1},8,[`id`,`level`])]),_:1})]),_:3}),R(D(m3),null,{default:O(()=>[R(D(f3),null,{default:O(()=>[R(D(d3),null,{default:O(()=>[i.value?(j(),M(`p`,UXn,T(i.value),1)):I(``,!0),R(D(Jz),{value:r.value,withImages:``},null,8,[`value`]),R(sAn,{address:n.value?.address,class:`mt-12`},null,8,[`address`]),R(o3,{bindings:n.value?.bindings,class:`mt-4`,options:e.options,scope:`channel`},null,8,[`bindings`,`options`]),R(a3,{owner:{externalDocs:n.value?.externalDocs}},null,8,[`owner`]),o.value.length?(j(),N(L3,{key:1,class:`[&_.parameter-list-title--tree]:text-base!`,eventBus:e.eventBus,expansion:e.expansion,options:s.value,parameters:o.value,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},{title:O(()=>[...f[6]||=[F(`Parameters`,-1)]]),"parameter-details":O(({parameter:e})=>[e.location?(j(),M(`div`,WXn,[f[7]||=F(` Location: `,-1),P(`code`,GXn,T(e.location),1)])):I(``,!0)]),_:1},8,[`eventBus`,`expansion`,`options`,`parameters`,`scrollTargetId`,`specificationExtension`])):I(``,!0)]),_:1}),l.value.length?(j(),N(D(d3),{key:0},{default:O(()=>[R(LXn,{channelTitle:a.value,document:e.document,eventBus:e.eventBus,operations:l.value},null,8,[`channelTitle`,`document`,`eventBus`,`operations`])]),_:1})):I(``,!0)]),_:1}),(j(!0),M(L,null,jr(l.value,t=>(j(),N(NXn,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,operation:t,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`eventBus`,`expandedItems`,`expansion`,`operation`,`options`,`scrollTargetId`,`specificationExtension`]))),128)),R($kn,{channel:e.channel,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`channel`,`document`,`eventBus`,`expandedItems`,`expansion`,`options`,`scrollTargetId`,`specificationExtension`])]),_:1})]),_:3},8,[`id`])]),_:3},8,[`aria-labelledby`,`omit`]))}});e3();var qXn=$4(KXn,[[`__scopeId`,`data-v-f0107362`]]);B();var JXn=k({__name:`SourceModel`,props:{id:{},name:{},format:{},value:{},layout:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=Cr(`section`);l3(t,()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.id}));let{level:n}=_3(`model`),r=z(()=>e.layout===`modern`?`heading`:`title`),i=()=>{e.eventBus?.emit(`copy-url:nav-item`,{id:e.id})},a=t=>{e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:t})};return(o,s)=>(j(),M(`div`,{ref_key:`section`,ref:t},[(j(),N(Ar(e.layout===`modern`?D(RTn):D(WTn)),{id:e.id,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:i,"onUpdate:modelValue":a},{[r.value]:O(()=>[e.layout===`classic`?(j(),N(D(c3),{key:0,onCopyAnchorUrl:i},{default:O(()=>[R(D(g3),{level:D(n)},{default:O(()=>[P(`span`,null,T(e.name),1)]),_:1},8,[`level`])]),_:1})):(j(),N(D(g3),{key:1,level:D(n)},{default:O(()=>[P(`span`,null,T(e.name),1)]),_:1},8,[`level`]))]),default:O(()=>[R(Fkn,{format:e.format,value:e.value},null,8,[`format`,`value`])]),_:2},1064,[`id`,`label`,`modelValue`]))],512))}});B(),hG(),vG();var YXn=k({__name:`AsyncApiTraversedEntry`,props:{entries:{},document:{},expandedItems:{},options:{},eventBus:{},level:{default:0},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=e=>e.type===`tag`&&e.isGroup===!0,n=e=>e.type===`tag`&&!t(e),r=e=>e.type===`asyncapi-channel`,i=e=>e.type===`models`,a=e=>e.type===`model`,o=z(()=>e.document.components?mG(e.document.components)?.schemas:void 0),s=z(()=>ekn(e.document)),c=z(()=>e.entries.map(e=>({entry:e,schema:a(e)?_G(o.value?.[e.name]):void 0})));return(l,u)=>{let d=kr(`AsyncApiTraversedEntry`,!0);return j(!0),M(L,null,jr(c.value,({entry:c,schema:l})=>(j(),N($On,{id:c.id,key:`${c.id}-${e.options.layout}`,expanded:!!e.expandedItems[c.id]},{default:O(()=>[r(c)?(j(),N(qXn,{key:0,channel:c,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,isCollapsed:!e.expandedItems[c.id],layout:e.options.layout,level:e.level,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`channel`,`document`,`eventBus`,`expandedItems`,`expansion`,`isCollapsed`,`layout`,`level`,`options`,`scrollTargetId`,`specificationExtension`])):n(c)||t(c)&&e.options.layout===`classic`?(j(),N(D(aOn),{key:1,asyncApiDocument:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[c.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(n).length>1,nested:e.options.layout===`classic`&&e.level!==0,tag:c},{default:O(()=>[c.children?.length?(j(),N(d,{key:0,document:e.document,entries:c.children,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,level:e.level+1,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`entries`,`eventBus`,`expandedItems`,`expansion`,`level`,`options`,`scrollTargetId`,`specificationExtension`])):I(``,!0)]),_:2},1032,[`asyncApiDocument`,`eventBus`,`isCollapsed`,`layout`,`moreThanOneTag`,`nested`,`tag`])):t(c)?(j(),N(d,{key:2,document:e.document,entries:c.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,level:e.level+1,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`entries`,`eventBus`,`expandedItems`,`expansion`,`level`,`options`,`scrollTargetId`,`specificationExtension`])):i(c)&&o.value?(j(),N(VDn,{key:3,id:c.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[c.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:O(()=>[R(d,{document:e.document,entries:c.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,level:e.level+1,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`entries`,`eventBus`,`expandedItems`,`expansion`,`level`,`options`,`scrollTargetId`,`specificationExtension`])]),_:2},1032,[`id`,`eventBus`,`isCollapsed`,`layout`,`modelsSectionLabel`])):a(c)&&l?.kind===`schema`?(j(),N(LDn,{key:4,id:c.id,eventBus:e.eventBus,expansion:e.expansion,isCollapsed:!e.expandedItems[c.id],name:c.name,options:e.options,schema:s.value(o.value?.[c.name],c.name)??l.schema,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`id`,`eventBus`,`expansion`,`isCollapsed`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])):a(c)&&l?.kind===`source`?(j(),N(JXn,{key:5,id:c.id,eventBus:e.eventBus,format:l.format,isCollapsed:!e.expandedItems[c.id],layout:e.options.layout,name:c.name,value:l.value},null,8,[`id`,`eventBus`,`format`,`isCollapsed`,`layout`,`name`,`value`])):I(``,!0)]),_:2},1032,[`id`,`expanded`]))),128)}}}),XXn=s((()=>{dnn()}));B(),XXn(),eK(),rS(),ax(),Q4();var ZXn=k({__name:`Auth`,props:{options:{},authStore:{},document:{},eventBus:{},securitySchemes:{},selectedServer:{},environment:{}},setup(e){let{translate:t}=Z4(),n=z(()=>tx(e.document)||nx(e.document)?e.document[`x-scalar-navigation`]?.name??``:``),r=z(()=>rx(e.document)),i=z(()=>nx(e.document)?BKt(e.document):Sx(tx(e.document)?e.document.security:void 0)),a=z(()=>e.authStore.getAuthSelectedSchemas({type:`document`,documentName:n.value})),o=z(()=>kx(a.value,void 0,i.value,e.securitySchemes,e.options.authentication?.preferredSecurityScheme));return(n,a)=>Object.keys(e.securitySchemes).length?(j(),N(D(V1),{key:0,canDeleteSchemes:!1,createAnySecurityScheme:e.options.authentication?.createAnySecurityScheme??!1,documentType:r.value,environment:e.environment,eventBus:e.eventBus,heading:!1,hideSingleRequiredScheme:``,isStatic:``,layout:`reference`,meta:{type:`document`},options:{oauth2RedirectUri:e.options.oauth2RedirectUri,customFetch:e.options.customFetch},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??``,securityRequirements:i.value,securitySchemes:e.securitySchemes,selectedSecurity:o.value,server:e.selectedServer,title:D(t)(`authentication.title`)},null,8,[`createAnySecurityScheme`,`documentType`,`environment`,`eventBus`,`options`,`persistAuth`,`proxyUrl`,`securityRequirements`,`securitySchemes`,`selectedSecurity`,`server`,`title`])):I(``,!0)}}),QXn=e=>`ellipsis`in e,$Xn=e=>{if(e.length<4)return e;let[t]=e,n=e.slice(-2),r=e.slice(1,-2);return[...t?[t]:[],{ellipsis:!0,hiddenTitles:r.map(e=>e.title)},...n]},eZn=(e,t)=>tZn(e,t).length>=2,tZn=(e,t)=>{let n=(e,r)=>{for(let i of e){let e=i.type===`tag`&&(i.isTagGroup!==!0||t===`classic`)?[...r,{id:i.id,title:i.title}]:r;if(e.length>=2)return e;if(`children`in i&&i.children!==void 0){let t=n(i.children,e);if(t.length>=2)return t}}return[]};return n(e,[])};B(),Qs();var nZn=[`aria-hidden`,`aria-label`,`data-stuck`],rZn=[`title`],iZn={key:2,"aria-current":`page`,class:`text-c-1 shrink-0 font-medium whitespace-nowrap`},aZn=[`onClick`],oZn=k({__name:`ContextBar`,props:{chain:{}},emits:[`navigate`],setup(e,{emit:t}){let n=t,r=E(null),i=E(!1),a=E(!1),o=z(()=>e.chain.length>=2),s=z(()=>o.value?i.value?$Xn(e.chain):e.chain:[]),c=e=>e===s.value.length-1,l=e=>n(`navigate`,e),u=()=>{let e=r.value;if(!e)return;let t=getComputedStyle(e),n=Number.parseFloat(t.columnGap)||0,a=e.clientWidth-Number.parseFloat(t.paddingLeft)-Number.parseFloat(t.paddingRight),o=Array.from(e.children),s=o.reduce((e,t)=>e+t.getBoundingClientRect().width,0)+n*Math.max(0,o.length-1);i.value=s>a+1},d=null,f=null,p=null,m=()=>{i.value=!1,f===null&&(typeof requestAnimationFrame>`u`?nr(u):f=requestAnimationFrame(()=>{f=null,nr(u)}))},h=()=>{let e=r.value;if(!e)return;let t=Number.parseFloat(getComputedStyle(e).top)||0;a.value=e.getBoundingClientRect().top<=t},g=()=>{p===null&&(typeof requestAnimationFrame>`u`?h():p=requestAnimationFrame(()=>{p=null,h()}))};return dr(r,e=>{d?.disconnect(),e&&typeof ResizeObserver<`u`&&(d=new ResizeObserver(()=>{m(),g()}),d.observe(e),m(),g())},{immediate:!0}),dr(()=>e.chain,m,{flush:`post`}),Ii(()=>{window.addEventListener(`scroll`,g,{capture:!0,passive:!0}),window.addEventListener(`resize`,g,{passive:!0}),g()}),Ri(()=>{d?.disconnect(),window.removeEventListener(`scroll`,g,!0),window.removeEventListener(`resize`,g),f!==null&&typeof cancelAnimationFrame<`u`&&cancelAnimationFrame(f),p!==null&&typeof cancelAnimationFrame<`u`&&cancelAnimationFrame(p)}),(e,t)=>(j(),M(`nav`,{ref_key:`navRef`,ref:r,"aria-hidden":!o.value,"aria-label":o.value?`Breadcrumb`:void 0,class:`context-bar bg-b-1.5 text-c-2 sticky top-(--refs-header-height) z-10 flex items-center gap-1.5 text-sm`,"data-scalar-scroll-header":``,"data-stuck":a.value||void 0},[(j(!0),M(L,null,jr(s.value,(e,t)=>(j(),M(L,{key:D(QXn)(e)?`ellipsis-${t}`:e.id},[t>0?(j(),N(D(Bs),{key:0,class:`text-c-3 size-2.5 shrink-0`,weight:`bold`})):I(``,!0),D(QXn)(e)?(j(),M(`span`,{key:1,class:`text-c-3 shrink-0`,title:e.hiddenTitles.join(` › `)},` … `,8,rZn)):c(t)?(j(),M(`span`,iZn,T(e.title),1)):(j(),M(`button`,{key:3,class:`hover:text-c-1 shrink-0 cursor-pointer whitespace-nowrap transition-colors`,type:`button`,onClick:t=>l(e.id)},T(e.title),9,aZn))],64))),128))],8,nZn))}});e3();var sZn=$4(oZn,[[`__scopeId`,`data-v-bb5044fb`]]);rS();var cZn=e=>Object.keys(e).sort().join(`,`),lZn=(e,t,n,r,i={})=>{let a=t?.security??e.security??[],o=kx(n,r,a),s=new Set(a.map(e=>cZn(e))),c=o.selectedSchemes[o.selectedIndex];if(c&&s.has(cZn(c)))return Tx(i,c);for(let e of o.selectedSchemes)if(s.has(cZn(e)))return Tx(i,e);return t?.security?.length?Tx(i,a[0]??{}):[]};B(),hX(),dG(),zH();var uZn=2e4,dZn=k({__name:`ExampleSchema`,props:{id:{},schema:{}},setup(e){let t=z(()=>{if(e.schema)return LH(mX(e.schema))}),n=z(()=>(t.value?.length??0)>uZn);return(r,i)=>n.value?(j(),N(D(z3),{key:1,id:e.id,class:`bg-b-2`,content:t.value??``,lang:`json`},null,8,[`id`,`content`])):(j(),N(D(uG),{key:0,id:e.id,class:`bg-b-2`,lang:`json`,prettyPrintedContent:t.value??``},null,8,[`id`,`prettyPrintedContent`]))}});hX(),Dc(),tu(),zH(),su(),iu(),lu(),Lu(),rS();var fZn=(e,t,{contentType:n=`application/json`,compositionSelection:r,openapiVersion:i,onDiagnostic:a}={})=>{if(eu(n))return fv(e?.schema,t,{mode:`read`,compositionSelection:r,emptyString:`string`,openapiVersion:i,onDiagnostic:a}).xml;if(t!==void 0){let e=au(mX(t));if(Ec(n)&&e?.source!==`serialized`){let t=e?.value;return t===void 0?``:typeof t==`string`?t:cu(t,n,!1)??JSON.stringify(t,null,2)}let r=ou(e,n,2);if(r!==void 0)return r;let i=e?.value;return e?.source===`value`?LH(i===void 0?``:i):typeof i==`string`?LH(i):JSON.stringify(i,null,2)??``}let o=e?.schema??e?.itemSchema;if(o&&H(o)!==void 0){let t=nv(Iu(o),{emptyString:`string`,mode:`read`,compositionSelection:r});return t===void 0?void 0:cu(t,n,e?.schema===void 0)??LH(t)}};B(),dG(),Xz(),tu(),iu(),Q4();var pZn={class:`bg-b-2 flex min-h-0 min-w-0 flex-col`},mZn={key:0,class:`flex flex-col gap-2 px-3 py-3`},hZn={key:0,class:`text-c-1 font-medium`},gZn={key:3,class:`empty-state`},_Zn=2e4,vZn=k({__name:`ExampleResponse`,props:{response:{},example:{},content:{},openapiVersion:{},generationError:{},pending:{type:Boolean,default:!1},contentType:{default:`application/json`}},setup(e){let{translate:t}=Z4(),n=z(()=>H(e.example)),r=z(()=>{let t=e.generationError;return{value:e.pending||t?void 0:e.content??fZn(e.response,e.example,{contentType:e.contentType,openapiVersion:e.openapiVersion,onDiagnostic:e=>{e.severity===`error`&&t===void 0&&(t=e)}}),error:t}}),i=z(()=>r.value.value),a=z(()=>{let e=r.value.error;if(e)return e.code===`limit-exceeded`?t(`response.xmlGenerationLimit`):t(`response.xmlGenerationFailed`,{message:e.message})}),o=z(()=>i.value!==void 0&&i.value.length>_Zn);return(r,s)=>(j(),M(`div`,pZn,[n.value?.summary||n.value?.description?(j(),M(`div`,mZn,[n.value.summary?(j(),M(`div`,hZn,T(n.value.summary),1)):I(``,!0),n.value.description?(j(),N(D(Jz),{key:1,value:n.value.description},null,8,[`value`])):I(``,!0)])):I(``,!0),i.value!==void 0&&!o.value?(j(),N(D(uG),{key:1,class:`bg-b-2`,lang:D(eu)(e.contentType)?`xml`:`json`,prettyPrintedContent:i.value},null,8,[`lang`,`prettyPrintedContent`])):i.value!==void 0&&o.value?(j(),N(D(z3),{key:2,class:`bg-b-2`,content:i.value,lang:D(eu)(e.contentType)?`xml`:`json`},null,8,[`content`,`lang`])):(j(),M(`div`,gZn,T(a.value??D(t)(`response.noBody`)),1))]))}});e3();var yZn=$4(vZn,[[`__scopeId`,`data-v-31632782`]]);B(),Ts();var bZn=k({__name:`ExampleResponseTab`,setup(e){return(e,t)=>(j(),N(D(mce),{as:`template`},{default:O(({selected:t})=>[P(`button`,{class:lt([`tab`,{"tab-selected":t}]),type:`button`},[P(`span`,null,[A(e.$slots,`default`,{},void 0,!0)])],2)]),_:3}))}});e3();var xZn=$4(bZn,[[`__scopeId`,`data-v-acfe5550`]]);B(),Ts(),kH();var SZn=k({__name:`ExampleResponseTabList`,emits:[`change`],setup(e,{emit:t}){let n=t,r=e=>{n(`change`,e)};return(e,t)=>(j(),N(D(OH),{class:`scalar-card-header scalar-card-header-tabs`},{actions:O(()=>[A(e.$slots,`actions`,{},void 0,!0)]),default:O(()=>[R(D(fce),{onChange:r},{default:O(()=>[R(D(pce),{class:`tab-list custom-scroll`},{default:O(()=>[A(e.$slots,`default`,{},void 0,!0)]),_:3})]),_:3})]),_:3}))}});e3();var CZn=$4(SZn,[[`__scopeId`,`data-v-49a8c0af`]]);PV(),jV(),iu(),a_();var wZn=e=>{let t=i_.schema(e?.schema??e?.itemSchema);if(!t||t.examples?.[0]!==void 0||t.example!==void 0||t.default!==void 0||t.const!==void 0||t.enum!==void 0)return;let n=t.oneOf?`oneOf`:`anyOf`,r=t[n];if(!r||r.length<2)return;let i=r.flatMap((e,t)=>{if(H(e)===void 0)return[];let n=i_.schema(e);if(!n)return[];let r=NV(n)?.label;return[{key:String(t),summary:r||`${AV(n)} ${t+1}`,schema:n}]});if(!(i.length<2))return{composition:n,examples:Object.fromEntries(i.map(({key:e,summary:t})=>[e,{summary:t}])),defaultKey:(i.find(({schema:e})=>!(`type`in e)||e.type!==`null`)??i[0]).key}};function TZn(e){if(typeof e==`string`)return e.replace(/;.*$/,``).replace(/\/(?!.*vnd\.|fhir\+).*\+/,`/`).trim()}function EZn(e){return e&&Object.fromEntries(Object.entries(e).map(([e,t])=>[TZn(e)||e,t]))}wx();function DZn(e){if(!e)return!1;let t=!!(e.schema||e.itemSchema),n=`example`in e&&e.example!==null,r=!!e.examples;return t||n||r}function OZn(e){return e==="default"||/^[1-5][0-9]{2}$/.test(e)||/^[1-5]XX$/.test(e)}function kZn(e,t){if(t!==void 0)return OZn(t)?!!e:!1;let n=EZn(e?.content),r=Cx(n??{});return DZn(n?.[`application/json`]??n?.[`application/xml`]??n?.[`text/plain`]??n?.[`text/html`]??n?.[`*/*`]??n?.[r[0]??``])}B(),hX(),IV(),Mw(),kH(),Xz(),wx(),iu(),$J(),rS(),Q4();var AZn={key:0,class:`scalar-card-checkbox`},jZn=[`aria-controls`],MZn={class:`text-c-2 px-3 pt-2 text-sm`},NZn={key:1,class:`text-c-2 p-4`,role:`status`},PZn={class:`response-description`},FZn={key:0,class:`response-description-summary text-c-1`},IZn=k({__name:`ExampleResponses`,props:{openapiVersion:{},responses:{},selectedExample:{},eventBus:{},selectedContentTypes:{}},setup(e){let{translate:t}=Z4(),n=xr(),r=z(()=>Object.keys(e.responses??{}).sort()),i=z(()=>r.value.filter(t=>kZn(H(e.responses?.[t]),t))),a=E(0);dr(i,t=>{if(t.length===0)a.value=0;else if(a.value>=t.length)a.value=t.length-1;else return;d.value=f(e.selectedExample)});let o=z(()=>{let t=wn(i)[wn(a)]??``;return H(e.responses?.[t])}),s=t=>{let n=H(e.responses?.[t]);return n?.summary||n?.description||void 0},c=z(()=>{let t=o.value?.content,n=wn(i)[wn(a)]??``,r=e.selectedContentTypes?.[n],s=Cx(t??{});return r&&s.includes(r)?r:s[0]??``}),l=z(()=>o.value?.content?.[c.value]),u=z(()=>!!l.value?.examples&&Object.keys(l.value?.examples??{}).length>1),d=E(``),f=e=>{let t=Object.keys(l.value?.examples??{});return e&&t.includes(e)?e:d.value&&t.includes(d.value)?d.value:t[0]??``};d.value=f(e.selectedExample),dr(l,()=>{d.value=f(e.selectedExample)}),dr(()=>e.selectedExample,e=>{d.value=f(e)});let p=t=>{d.value=t,e.eventBus?.emit(`workspace:update:selected-example`,t)},m=z(()=>{if(l.value)return u.value&&d.value?H(l.value.examples?.[d.value]):u_({content:{response:l.value}},void 0,`response`)}),h=t=>{a.value=t,d.value=f(e.selectedExample)},g=E(null),_=ZJ(g),v=E(!1),y=QJ(()=>[m.value],()=>_.value&&!v.value),b=z(()=>y.resolve(m.value)),x=z(()=>b.value===void 0?wZn(l.value):void 0),ee=E(``),te=z(()=>{let e=x.value;return e&&Object.hasOwn(e.examples,ee.value)?ee.value:e?.defaultKey??``});dr([a,o,c,l],()=>{ee.value=``},{flush:`sync`});let ne=z(()=>{let t;return{content:y.pending.value?void 0:fZn(l.value,b.value,{contentType:c.value,compositionSelection:x.value?{[x.value.composition]:Number(te.value)}:void 0,openapiVersion:e.openapiVersion,onDiagnostic:e=>{e.severity===`error`&&!t&&(t=e)}}),error:t}}),re=z(()=>ne.value.content);return(r,a)=>i.value.length?(j(),N(D(wH),{key:0,ref_key:`card`,ref:g,"aria-label":D(t)(`response.exampleResponses`),class:`response-card`,role:`region`},{default:O(()=>[R(CZn,{onChange:h},{actions:O(()=>[l.value?.schema??l.value?.itemSchema?(j(),M(`label`,AZn,[F(T(D(t)(`response.showSchema`))+` `,1),or(P(`input`,{"onUpdate:modelValue":a[0]||=e=>v.value=e,"aria-controls":D(n),class:`scalar-card-checkbox-input`,type:`checkbox`},null,8,jZn),[[eae,v.value]]),a[2]||=P(`span`,{class:`scalar-card-checkbox-checkmark`},null,-1)])):I(``,!0)]),default:O(()=>[(j(!0),M(L,null,jr(i.value,e=>(j(),N(xZn,{key:e,"aria-controls":D(n)},{default:O(()=>[R(D(FV),null,{default:O(()=>[F(T(D(t)(`response.status`))+`:`,1)]),_:1}),F(` `+T(e)+` `,1),s(e)?(j(),N(D(FV),{key:0},{default:O(()=>[F(T(s(e)),1)]),_:2},1024)):I(``,!0)]),_:2},1032,[`aria-controls`]))),128))]),_:1}),R(D(TH),{class:`grid flex-1`},{default:O(()=>[v.value&&(l.value?.schema??l.value?.itemSchema)?(j(),M(L,{key:0},[l.value?.schema?(j(),N(dZn,{key:0,id:D(n),schema:l.value.schema},null,8,[`id`,`schema`])):I(``,!0),l.value?.itemSchema?(j(),M(L,{key:1},[P(`p`,MZn,T(D(t)(`common.streamItem`)),1),R(dZn,{id:`${D(n)}-item`,schema:l.value.itemSchema},null,8,[`id`,`schema`])],64)):I(``,!0)],64)):D(y).pending.value?(j(),M(`div`,NZn,[D(y).failed.value?(j(),M(L,{key:0},[a[4]||=F(` Could not load this example. `,-1),R(D(jw),{size:`sm`,variant:`ghost`,onClick:D(y).retry},{default:O(()=>[...a[3]||=[F(` Retry `,-1)]]),_:1},8,[`onClick`])],64)):(j(),M(L,{key:1},[F(`Loading example…`)],64))])):(j(),N(yZn,{key:2,id:D(n),content:re.value,contentType:c.value,example:b.value,generationError:ne.value.error,openapiVersion:e.openapiVersion,pending:D(y).pending.value,response:l.value},null,8,[`id`,`content`,`contentType`,`example`,`generationError`,`openapiVersion`,`pending`,`response`]))]),_:1}),o.value?.summary||o.value?.description||u.value||x.value?(j(),N(D(DH),{key:0,class:`response-card-footer`},{default:O(()=>[u.value?(j(),N(D(xH),{key:0,class:`response-example-selector px-0`,examples:l.value?.examples,modelValue:d.value,"onUpdate:modelValue":p},null,8,[`examples`,`modelValue`])):I(``,!0),x.value&&!v.value?(j(),N(D(xH),{key:1,"aria-label":D(t)(`schema.schema`),class:`response-example-selector px-0`,"data-testid":`response-variant-picker`,examples:x.value.examples,modelValue:te.value,"onUpdate:modelValue":a[1]||=e=>ee.value=e},null,8,[`aria-label`,`examples`,`modelValue`])):I(``,!0),P(`div`,PZn,[o.value?.summary?(j(),M(`div`,FZn,T(o.value.summary),1)):I(``,!0),o.value?.description?(j(),N(D(Jz),{key:1,class:`response-description-markdown`,value:o.value.description},null,8,[`value`])):I(``,!0)])]),_:1})):I(``,!0)]),_:1},8,[`aria-label`])):I(``,!0)}});e3();var LZn=$4(IZn,[[`__scopeId`,`data-v-50b330bf`]]);iu(),Tv();var RZn=e=>`schema`in e&&e.schema!==void 0,zZn=e=>H(e),BZn=(e,t,n,r,i)=>{let{example:a,examples:o,...s}=e;return{...s,name:t,description:n,required:r,schema:i}},VZn=(e,t,n)=>{if(!t.properties)return[e];let r=new Set(t.required??[]),i=Object.entries(t.properties).flatMap(([t,i])=>{let a=zZn(i);if(!a)return[];let o=`${n}[${t}]`,s=BZn(e,o,a.description??e.description,r.has(t),a);return bv(a)&&a.properties?VZn(s,a,o):[s]});return i.length>0?i:[e]},HZn=e=>{if(e.in!==`query`||!RZn(e)||e.style!==`deepObject`)return[e];let t=zZn(e.schema);return!t||!bv(t)?[e]:VZn(e,t,e.name)};B(),fG(),PV(),tH(),CB(),TVt(),lV(),VV(),Xz(),iu(),Q4();var UZn=[`aria-label`],WZn={class:`request-body-header`},GZn={key:0,class:`text-c-2 text-xs leading-none font-normal`,"data-testid":`request-body-schema-name`},KZn={class:`flex items-center gap-2`},qZn={key:0,class:`request-body-required`},JZn={key:0,class:`request-body-description`},YZn={key:0,class:`text-c-2 pt-2 text-sm`},XZn={key:2,class:`request-body-schema`},ZZn={key:3,class:`request-body-schema`},QZn=k({__name:`RequestBody`,props:Lr({breadcrumb:{},requestBody:{},eventBus:{},document:{},options:{},scrollTargetId:{},specificationExtension:{},expansion:{}},{selectedContentType:{default:`application/json`},selectedContentTypeModifiers:{}}),emits:[`update:selectedContentType`],setup(e){let{translate:t}=Z4(),{level:n}=_3(`operationSection`),r=z(()=>e.options.maxVisibleRequestBodyProperties??12),i=z(()=>Object.keys(e.requestBody?.content??{})),a=Hr(e,`selectedContentType`);e.requestBody?.content&&i.value[0]&&(a.value=i.value[0]);let o=z(()=>e.requestBody?.content?.[a.value]?.schema??e.requestBody?.content?.[a.value]?.itemSchema),s=z(()=>H(o.value)),c=z(()=>!e.options.hideModelNames&&o.value&&MV(o.value)||null),l=z(()=>e.options.hideModelNames&&o.value?$V(o.value,{hideModelNames:!0}).map(e=>e.text).join(` `):c.value?.label),u=z(()=>mH(c.value?.schemaKey,{hideModels:e.options.hideModels,document:e.document})),d=z(()=>{if(r.value===0||!s.value||!cV(s.value)||SB(s.value,e.document))return null;let t=BV(s.value,s.value.discriminator,{hideReadOnly:!0,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst});if(t.length<=r.value)return null;let{properties:n,...i}=s.value;return n?{collapsedPropertyCount:t.length-r.value,visibleProperties:{...i,properties:RV(t.slice(0,r.value),n)},collapsedProperties:{...i,properties:RV(t.slice(r.value),n)}}:null}),f=z(()=>Object.keys(e.requestBody?.content??{}).length>0||e.requestBody?.description||e.requestBody?.required);return(r,i)=>e.requestBody&&f.value?(j(),M(`div`,{key:0,"aria-label":D(t)(`operation.requestBody`),class:`request-body`,role:`group`},[P(`div`,WZn,[R(D(g3),{class:`request-body-title flex!`,level:D(n)},{default:O(()=>[A(r.$slots,`title`,{},void 0,!0),l.value?(j(),M(`span`,GZn,[i[2]||=P(`span`,{class:`text-c-3 mx-1.5`},`·`,-1),e.eventBus&&c.value?.schemaKey&&u.value?(j(),N(D(EB),{key:0,onClick:i[0]||=t=>e.eventBus.emit(`scroll-to:model-by-name`,{name:c.value.schemaKey})},{default:O(()=>[F(T(l.value),1)]),_:1})):(j(),M(L,{key:1},[F(T(l.value),1)],64))])):I(``,!0)]),_:3},8,[`level`]),P(`div`,KZn,[e.requestBody.required?(j(),M(`div`,qZn,T(D(t)(`schema.required`)),1)):I(``,!0),R(nkn,{modelValue:a.value,"onUpdate:modelValue":i[1]||=e=>a.value=e,content:e.requestBody.content},null,8,[`modelValue`,`content`])]),e.requestBody.description?(j(),M(`div`,JZn,[R(D(Jz),{value:e.requestBody.description},null,8,[`value`])])):I(``,!0)]),e.requestBody.content?.[a.value]?.itemSchema&&!e.requestBody.content?.[a.value]?.schema?(j(),M(`p`,YZn,T(D(t)(`common.streamItem`)),1)):I(``,!0),e.requestBody.content?.[a.value]?.schema&&e.requestBody.content?.[a.value]?.itemSchema?(j(),N(D(HV),{key:1,compact:``,eventBus:e.eventBus,expansion:e.expansion,name:D(t)(`common.streamItem`),noncollapsible:``,options:{...e.options,hideReadOnly:!0,document:e.document},schema:D(H)(e.requestBody.content[a.value]?.itemSchema),schemaContext:`requestBody`,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`eventBus`,`expansion`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])):I(``,!0),d.value?(j(),M(`div`,XZn,[R(D(HV),{breadcrumb:e.breadcrumb,compact:``,compositionPath:[`requestBody`],eventBus:e.eventBus,expansion:e.expansion,name:D(t)(`operation.requestBody`),noncollapsible:``,options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,schemaKeyboardNav:e.options.schemaKeyboardNav,showExtensions:e.options.showExtensions,hideModels:e.options.hideModels,hideModelNames:e.options.hideModelNames,document:e.document},schema:d.value.visibleProperties,schemaContext:`requestBody`,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`eventBus`,`expansion`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`]),R(D(HV),{additionalPropertyCount:d.value.collapsedPropertyCount,additionalProperties:``,breadcrumb:e.breadcrumb,compact:``,compositionPath:[`requestBody`],eventBus:e.eventBus,expansion:e.expansion,hideDescription:``,name:D(t)(`operation.requestBody`),options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,schemaKeyboardNav:e.options.schemaKeyboardNav,showExtensions:e.options.showExtensions,hideModels:e.options.hideModels,hideModelNames:e.options.hideModelNames,document:e.document},schema:d.value.collapsedProperties,schemaContext:`requestBody`,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`additionalPropertyCount`,`breadcrumb`,`eventBus`,`expansion`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])])):s.value?(j(),M(`div`,ZZn,[R(D(HV),{breadcrumb:e.breadcrumb,compact:``,compositionPath:[`requestBody`],eventBus:e.eventBus,expansion:e.expansion,hideReadOnly:!0,name:D(t)(`operation.requestBody`),noncollapsible:``,options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,schemaKeyboardNav:e.options.schemaKeyboardNav,showExtensions:e.options.showExtensions,hideModels:e.options.hideModels,hideModelNames:e.options.hideModelNames,document:e.document},schema:s.value,schemaContext:`requestBody`,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`eventBus`,`expansion`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])])):I(``,!0)],8,UZn)):I(``,!0)}});e3();var $Zn=$4(QZn,[[`__scopeId`,`data-v-544dfbf7`]]);B(),iu(),pH(),Q4();var eQn=k({__name:`OperationParameters`,props:Lr({breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},document:{},options:{},scrollTargetId:{},specificationExtension:{},expansion:{}},{selectedContentType:{},selectedContentTypeModifiers:{}}),emits:[`update:selectedContentType`],setup(e){let{translate:t}=Z4(),n=Hr(e,`selectedContentType`),r=z(()=>(e.parameters??[]).reduce((e,t)=>{let n=H(t);return n&&!fH(n)&&HZn(n).forEach(t=>{e[t.in===`querystring`?`query`:t.in].push(t)}),e},{cookie:[],header:[],path:[],query:[]}));return(i,a)=>(j(),M(L,null,[R(L3,{breadcrumb:e.breadcrumb?[...e.breadcrumb,`path`]:void 0,collapsableItems:e.options.expandAllParameters===!1,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,parameters:r.value.path,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},{title:O(()=>[F(T(D(t)(`operation.pathParameters`)),1)]),_:1},8,[`breadcrumb`,`collapsableItems`,`document`,`eventBus`,`expansion`,`options`,`parameters`,`scrollTargetId`,`specificationExtension`]),R(L3,{breadcrumb:e.breadcrumb?[...e.breadcrumb,`query`]:void 0,collapsableItems:e.options.expandAllParameters===!1,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,parameters:r.value.query,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},{title:O(()=>[F(T(D(t)(`operation.queryParameters`)),1)]),_:1},8,[`breadcrumb`,`collapsableItems`,`document`,`eventBus`,`expansion`,`options`,`parameters`,`scrollTargetId`,`specificationExtension`]),R(L3,{breadcrumb:e.breadcrumb?[...e.breadcrumb,`headers`]:void 0,collapsableItems:e.options.expandAllParameters===!1,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,parameters:r.value.header,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},{title:O(()=>[F(T(D(t)(`operation.headers`)),1)]),_:1},8,[`breadcrumb`,`collapsableItems`,`document`,`eventBus`,`expansion`,`options`,`parameters`,`scrollTargetId`,`specificationExtension`]),R(L3,{breadcrumb:e.breadcrumb?[...e.breadcrumb,`cookies`]:void 0,collapsableItems:e.options.expandAllParameters===!1,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,parameters:r.value.cookie,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},{title:O(()=>[F(T(D(t)(`operation.cookies`)),1)]),_:1},8,[`breadcrumb`,`collapsableItems`,`document`,`eventBus`,`expansion`,`options`,`parameters`,`scrollTargetId`,`specificationExtension`]),e.requestBody?(j(),N($Zn,{key:0,selectedContentType:n.value,"onUpdate:selectedContentType":a[0]||=e=>n.value=e,breadcrumb:e.breadcrumb?[...e.breadcrumb,`body`]:void 0,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,requestBody:e.requestBody,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},{title:O(()=>[F(T(D(t)(`operation.body`)),1)]),_:1},8,[`selectedContentType`,`breadcrumb`,`document`,`eventBus`,`expansion`,`options`,`requestBody`,`scrollTargetId`,`specificationExtension`])):I(``,!0)],64))}});B(),iu(),Q4();var tQn={key:0,class:`mt-6`},nQn=[`aria-label`],rQn=k({__name:`OperationResponses`,props:{responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},document:{},selectedContentTypes:{default:()=>({})},options:{},scrollTargetId:{},specificationExtension:{},expansion:{}},emits:[`update:selectedContentTypes`],setup(e,{emit:t}){let n=t,{translate:r}=Z4(),i=z(()=>Object.fromEntries(Object.entries(e.responses??{}).flatMap(([e,t])=>{let n=H(t);return n?[[e,n]]:[]}))),{level:a}=_3(`operationSection`);return(t,o)=>Object.keys(i.value).length?(j(),M(`div`,tQn,[R(D(g3),{class:`text-c-1 responses-title--tree mt-3 mb-0 block! leading-[1.45] font-medium`,level:D(a),rule:``},{default:O(()=>[F(T(D(r)(`operation.responses`)),1)]),_:1},8,[`level`]),P(`ul`,{"aria-label":D(r)(`operation.responses`),class:`responses-list--tree mb-3 list-none p-0 text-sm`,role:`list`},[(j(!0),M(L,null,jr(i.value,(t,r)=>(j(),N(gkn,{key:r,breadcrumb:e.breadcrumb?[...e.breadcrumb,`responses`]:void 0,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,expansion:e.expansion,name:r,options:e.options,parameter:t,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension,"onUpdate:selectedContentType":t=>n(`update:selectedContentTypes`,{...e.selectedContentTypes,[r]:t})},null,8,[`breadcrumb`,`collapsableItems`,`document`,`eventBus`,`expansion`,`name`,`options`,`parameter`,`scrollTargetId`,`specificationExtension`,`onUpdate:selectedContentType`]))),128))],8,nQn)])):I(``,!0)}});B(),fG(),OV(),iu();var iQn={class:`callback-list-item callback-list-item--tree`},aQn=[`aria-controls`,`aria-expanded`],oQn={class:`callback-item-name relative flex min-w-0 flex-1 items-baseline gap-1.5`},sQn={class:`text-c-1 min-w-0 flex-1 truncate font-bold`},cQn={class:`text-c-2 font-normal`},lQn=[`id`],uQn=k({__name:`Callback`,props:{callback:{},method:{},name:{},url:{},eventBus:{},document:{},breadcrumb:{},options:{},scrollTargetId:{default:``},specificationExtension:{},expansion:{}},setup(e){let t=e.expansion??DV(Tn(()=>e.scrollTargetId)),n=xr(),r=z(()=>TV(e.breadcrumb)||`~anonymous-${n}`),i=xr(),a=z(()=>t.isExpanded(r.value,{})),o=()=>{t.setExpanded(r.value,!a.value)};return(n,r)=>(j(),M(`div`,iQn,[P(`button`,{"aria-controls":a.value?D(i):void 0,"aria-expanded":a.value,class:`callback-item-trigger group/tree-control font-code flex w-full cursor-pointer items-baseline gap-1.5 border-none bg-transparent p-0 py-2.5 text-start text-sm leading-(--scalar-line-height-5)`,type:`button`,onClick:o},[P(`span`,oQn,[R(D(AB),{anchor:`line`,class:`callback-item-glyph`,open:a.value},null,8,[`open`]),R(D(WDn),{as:`span`,class:`request-method font-bold`,method:e.method},null,8,[`method`]),P(`span`,sQn,[F(T(e.name)+` `,1),P(`span`,cQn,T(e.url),1)])])],8,aQn),a.value?(j(),M(`div`,{key:0,id:D(i),class:`callback-operation-panel mt-1.5 mb-0.5 flex flex-col gap-6 [&_.parameter-list-title--tree]:mt-0! [&_.parameter-list-title--tree]:text-(length:--scalar-font-size-4)! [&_.parameter-list-title--tree]:font-(--scalar-bold)! [&_.request-body]:mt-0! [&_.request-body-description]:mt-0! [&_.request-body-description]:text-(length:--scalar-font-size-4)! [&_.request-body-header]:mt-0! [&_.request-body-title]:text-(length:--scalar-font-size-4)! [&_.request-body-title]:font-(--scalar-bold)! [&_.responses-title--tree]:mt-0! [&_.responses-title--tree]:text-(length:--scalar-font-size-4)! [&_.responses-title--tree]:font-(--scalar-bold)! [&>*]:mt-0!`},[R(eQn,{breadcrumb:e.breadcrumb,document:e.document,eventBus:e.eventBus,expansion:D(t),options:e.options,parameters:e.callback.parameters??[],requestBody:D(H)(e.callback.requestBody),scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`document`,`eventBus`,`expansion`,`options`,`parameters`,`requestBody`,`scrollTargetId`,`specificationExtension`]),R(rQn,{breadcrumb:e.breadcrumb,collapsableItems:!1,document:e.document,eventBus:e.eventBus,expansion:D(t),options:e.options,responses:e.callback.responses,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`document`,`eventBus`,`expansion`,`options`,`responses`,`scrollTargetId`,`specificationExtension`])],8,lQn)):I(``,!0)]))}});B(),nc(),Tb(),yx(),iu(),Q4();var dQn=[`aria-label`],fQn=k({__name:`Callbacks`,props:{path:{},callbacks:{},eventBus:{},breadcrumb:{},document:{},options:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let{translate:t}=Z4(),{level:n}=_3(`operationSection`),r=z(()=>{let t=[];return wb(e.callbacks).forEach(([e,n])=>{wb(H(n)??{}).forEach(([n,r])=>{typeof r==`object`&&r&&gx(r,(r,i)=>{let a=H(i);a&&t.push({name:e,url:n,method:r,callback:a})})})}),t});return(i,a)=>(j(),M(`div`,{"aria-label":D(t)(`operation.callbacks`),class:`callbacks-list gap-3`,role:`group`},[R(D(g3),{class:`callbacks-title text-c-1 callbacks-title--tree mt-3 mb-0 block! text-lg font-medium`,level:D(n),rule:``},{default:O(()=>[F(T(D(t)(`operation.callbacks`)),1)]),_:1},8,[`level`]),(j(!0),M(L,null,jr(r.value,({callback:t,method:n,name:r,url:i})=>(j(),N(uQn,{key:`${r}-${i}-${n}`,breadcrumb:e.breadcrumb?[...e.breadcrumb,`callbacks`,r,i,...D(tc)(n)?[n]:[`additionalOperations`,n]]:void 0,callback:t,document:e.document,eventBus:e.eventBus,expansion:e.expansion,method:n,name:r,options:e.options,path:e.path,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension,url:i},null,8,[`breadcrumb`,`callback`,`document`,`eventBus`,`expansion`,`method`,`name`,`options`,`path`,`scrollTargetId`,`specificationExtension`,`url`]))),128))],8,dQn))}}),pQn,mQn,hQn,o7,gQn=s((()=>{tu(),js(),iu(),rS(),pQn=10,mQn=1e4,hQn=(e,t=mQn)=>{let n=new WeakMap,r=(e,i)=>{if(i>pQn||!V(e))return 1;let a=n.get(e)?.get(i);if(a!==void 0)return a;let o=H(e,ru);if(!V(o)||o.example!==void 0||Array.isArray(o.examples)&&o.examples.length>0)return 1;let s=1,c=e=>{s<=t&&(s+=r(e,i+1))};V(o.properties)&&Object.values(o.properties).forEach(c),V(o.patternProperties)&&Object.values(o.patternProperties).forEach(c),V(o.additionalProperties)&&c(o.additionalProperties),o.items!==void 0&&c(o.items),Array.isArray(o.prefixItems)&&o.prefixItems.forEach(c),Array.isArray(o.allOf)&&o.allOf.forEach(c);let l=Array.isArray(o.anyOf)?o.anyOf:[],u=Array.isArray(o.oneOf)?o.oneOf:l,d=u.find(e=>{let t=H(e,ru);return V(t)&&t.type!==`null`}),f=V(o.discriminator)&&o.discriminator.defaultMapping!==void 0?u:[u[0],d],p=0;for(let e of f)e!==void 0&&s<=t&&p<=t&&(p=Math.max(p,r(e,i+1)));s+=p;let m=n.get(e)??new Map;return m.set(i,s),n.set(e,m),s};return r(e,0)},o7=(e,t,n,r=`3.2.0`,i=r,a=!1)=>{if(e.example!==void 0)return[{value:e.example}];if(e.examples&&Object.keys(e.examples).length)return Object.entries(e.examples).flatMap(([e,t])=>{let n=H(t);if(!V(n))return[];let i={name:e,summary:typeof n.summary==`string`?n.summary:void 0,description:typeof n.description==`string`?n.description:void 0};return n.value===void 0?/^3\.2\./.test(r)&&typeof n.serializedValue==`string`?[{...i,serializedValue:n.serializedValue}]:typeof n.externalValue==`string`?[{...i,externalValue:n.externalValue}]:/^3\.2\./.test(r)&&n.dataValue!==void 0?[{...i,dataValue:n.dataValue}]:[]:[{...i,value:n.value}]});let o=H(e.schema,ru);if(!V(o))return[];if(o.example!==void 0)return[{value:o.example}];if(Array.isArray(o.examples)&&o.examples.length)return o.examples.map(e=>({value:e}));if(a)return[];if(hQn(e.schema)>mQn)return[{omitted:!0}];if(eu(t)){let t=fv(e.schema,void 0,{mode:n,openapiVersion:i});return[t.xml===void 0?{error:`Unable to generate an XML example.`,generated:!0}:{serializedValue:t.xml,generated:!0}]}let s=nv(H(e.schema,ru),{mode:n});return s===void 0?[]:[{value:s,generated:!0}]}})),_Qn,vQn,yQn,bQn=s((()=>{js(),iu(),gQn(),_Qn=new Set([`$ref`,`$ref-value`,`$global`,`$status`,`__scalar_`]),vQn=e=>{if(!V(e.schema))return;let t=e.schema,n=`$ref`in t&&Object.keys(t).every(e=>_Qn.has(e))?H(t):t;return V(n)?n:t},yQn=e=>{let t=new Map,n=new WeakMap,r=0,i=0;return{get:(...e)=>{let[n,...i]=e,a=vQn(n);if(!a||n.example!==void 0||Object.keys(n.examples??{}).length)return o7(...e);let o=JSON.stringify(i),s=t.get(a)?.get(o);if(s)return s;r>=256&&(t.clear(),r=0);let c=t.get(a)??new Map,l=o7(...e);return c.set(o,l),t.set(a,c),r++,l},show:(t,r,a)=>{let o=vQn(t),s=o?n.get(o)??new Map:new Map,c=s.get(r);if(c?.value===a.value)return{id:c.id,previous:!0};let l=e.get(`example`,String(++i));return s.set(r,{id:l,value:a.value}),o&&n.set(o,s),{id:l,previous:!1}}}}})),s7,xQn=s((()=>{tu(),rS(),U3(),gQn(),n6(),s7=async(e,t,n=`application/json`,r,i=`3.2.0`,a=i,{linked:o=!1,quiet:s=o,examples:c}={})=>{let l=[],u=(c?.get??o7)(e,n,r,i,a,o);for(let o of u){if(`omitted`in o&&s)continue;let u=l.length,d=c&&o.generated,f=o.name?`Example: ${o.name}`:`Example:`;l.push(K3(q3(W3(d?`Generated example:`:f))));let p=t=>{if(d){let o=JSON.stringify([n,r,i,a,t.lang]),s=c.show(e,o,t);if(s.previous){l.splice(u,l.length-u,K3($3(`#${s.id}`,`Generated example`)));return}l.splice(u,0,H3(s.id))}l.push(t)};if(`omitted`in o){l.push(K3(J3(W3(`Generated example omitted because it is too large.`))));continue}if(o.summary&&l.push(K3(W3(o.summary))),l.push(...await t(o.description)),`error`in o){l.push(K3(W3(o.error)));continue}if(`externalValue`in o){l.push(K3(q3(W3(`External value:`)),W3(` `),$3(o.externalValue,o.externalValue)));continue}if(`serializedValue`in o){let e=n.includes(`json`)?`json`:`text`;p({type:`code`,lang:eu(n)?`xml`:e,value:o.serializedValue});continue}let m=eu(n),h=`dataValue`in o?o.dataValue:o.value;if(m&&!e.schema&&`value`in o&&(typeof h!=`object`||!h)){p({type:`code`,lang:`xml`,value:String(h)});continue}let g=m?fv(e.schema,o,{mode:r,openapiVersion:a}):void 0;m&&g?.xml===void 0?l.push(K3(W3(`Unable to generate an XML example.`))):p({type:`code`,lang:m?`xml`:`json`,value:g?.xml??JSON.stringify(h,null,2)??``})}return l}})),SQn,CQn,wQn,TQn,EQn=s((()=>{iu(),n6(),xQn(),SQn=async(e,t,n,r,i=r,a)=>{let o=[];for(let[s,c]of Object.entries(e??{})){if(s.toLowerCase()===`content-type`||!H(c))continue;let e=H(c,ru),l=[K3(q3(G3(s)),W3(e.required?` (required)`:``)),...await t(e.description)];`schema`in e&&e.schema!==void 0&&l.push(...n.render(e.schema)),(`example`in e||`examples`in e)&&l.push(...await s7({example:e.example,examples:e.examples},t,`application/json`,void 0,r,i,{linked:n.linked,examples:a}));for(let[o,s]of Object.entries(`content`in e?e.content??{}:{}))l.push(K3(q3(W3(`Content-Type:`)),W3(` ${o}`))),s.schema!==void 0&&l.push(...n.render(s.schema)),l.push(...await s7(s,t,o,void 0,r,i,{linked:n.linked,examples:a}));o.push(X3(...l))}return o.length?[K3(q3(W3(`Headers:`))),Z3(o)]:[]},CQn=async(e,t,n,r,i,a=i,o)=>{let s=t.startsWith(`multipart/`);if(!s&&t!==`application/x-www-form-urlencoded`)return[];let c=[];for(let[t,l]of Object.entries(e??{})){let e=[];for(let[t,n]of[[`contentType`,`Content-Type`],[`style`,`Style`],[`explode`,`Explode`],[`allowReserved`,`Allow reserved`]])l[t]!==void 0&&e.push(X3(K3(W3(`${n}: `),G3(l[t]))));let u=[K3(q3(G3(t)))];e.length&&u.push(Z3(e)),s&&u.push(...await SQn(l.headers,n,r,i,a,o)),c.push(X3(...u))}return c.length?[K3(q3(W3(`Encoding:`))),Z3(c)]:[]},wQn=e=>typeof e==`string`?e:JSON.stringify(e)??``,TQn=async(e,t)=>{let n=[];for(let[r,i]of Object.entries(e??{})){if(!H(i))continue;let e=H(i,ru),a=[K3(q3(W3(r))),...await t(e.description)];e.operationId&&a.push(K3(q3(W3(`Operation ID:`)),W3(` `),G3(e.operationId))),e.operationRef&&a.push(K3(q3(W3(`Operation reference:`)),W3(` `),G3(e.operationRef)));let o=Object.entries(e.parameters??{});o.length&&a.push(Z3(o.map(([e,t])=>X3(K3(q3(W3(`${e}:`)),W3(` `),G3(wQn(t))))))),e.requestBody!==void 0&&a.push(K3(q3(W3(`Request body:`)),W3(` `),G3(wQn(e.requestBody)))),e.server&&a.push(K3(q3(W3(`Server:`)),W3(` `),G3(e.server.url))),n.push(X3(...a))}return n.length?[K3(q3(W3(`Links:`))),Z3(n)]:[]}})),DQn,OQn,kQn,AQn=s((()=>{iu(),n6(),DQn={implicit:`implicit`,password:`password`,clientCredentials:`client credentials`,authorizationCode:`authorization code`,deviceAuthorization:`device authorization`},OQn=e=>{let t=e;switch(t.type){case`apiKey`:return[W3(`API key in ${String(t.in??`header`)} `),G3(t.name)];case`http`:{let e=typeof t.scheme==`string`?t.scheme.toLowerCase():``;return[W3(`HTTP ${e||`authentication`}`),...typeof t.bearerFormat==`string`?[W3(` (`),G3(t.bearerFormat),W3(`)`)]:[]]}case`oauth2`:{let e=Object.entries(typeof t.flows==`object`&&t.flows?t.flows:{}),n=[W3(`OAuth 2.0`)];for(let[t,[r,i]]of e.entries()){let e=i;n.push(W3(`${t?`; `:`: `}${DQn[r]??r}`));for(let[t,r]of[[`authorizationUrl`,`authorize`],[`deviceAuthorizationUrl`,`device authorization`],[`tokenUrl`,`token`],[`refreshUrl`,`refresh`]])typeof e[t]==`string`&&e[t]&&n.push(W3(`, ${r} `),G3(e[t]))}return n}case`openIdConnect`:return[W3(`OpenID Connect `),G3(t.openIdConnectUrl)];case`mutualTLS`:return[W3(`Mutual TLS`)];default:return[G3(t.type)]}},kQn=async(e,t,n,r=4)=>{if(!e)return[];let i=[Y3(r,W3(`Authentication`))];e.length||i.push(K3(W3(`No authentication required.`)));for(let[r,a]of e.entries()){r&&i.push(K3(W3(`Or:`)));let e=Object.entries(a);if(!e.length){i.push(K3(W3(`No authentication required.`)));continue}let o=[];for(let[r,i]of e){let e=H(t?.[r]),a=[q3(W3(r))];e&&a.push(W3(`: `),...OQn(e)),i?.length&&a.push(W3(`, scopes: `),G3(i.join(`, `))),o.push(X3(K3(...a),...await n(e?.description)))}i.push(Z3(o))}return i}})),jQn,c7,MQn,NQn,PQn,FQn,IQn=s((()=>{nc(),js(),iu(),U3(),n6(),xQn(),EQn(),AQn(),jQn=[[`path`,`Path parameters`],[`query`,`Query parameters`],[`querystring`,`Query string`],[`header`,`Header parameters`],[`cookie`,`Cookie parameters`]],c7=e=>K3(q3(W3(`Content type:`)),W3(` `),G3(e)),MQn=(e,t)=>{if(Object.keys(e.headers??{}).length||Object.keys(e.links??{}).length)return;let n=Object.entries(e.content??{});if(!n.length)return;let r=[];for(let[e,i]of n){let n=H(i.schema);if(!V(n)||i.example!==void 0||i.examples||i.encoding||(t.has(n)||t.set(n,t.size),(V(i.schema)?Object.keys(i.schema).filter(e=>!e.startsWith(`$`)):[]).length))return;r.push(e,t.get(n))}return JSON.stringify(r)},NQn=e=>e===e.toLowerCase()&&tc(e)?e.toUpperCase():e,PQn=async(e,t,n,r,i,a,{description:o,schemas:s,examples:c,documentContext:l,level:u=3})=>{let d=e=>Math.min(6,u+e),f=NQn(n),p=e[`x-original-oas-version`]??e.openapi,m=i[`x-scalar-stability`],h=i.deprecated?` ⚠️ Deprecated`:``,g=(i.summary||`${f} ${t}`)+(m?` (${m})`:h),_=[e6(`Method`,G3(f)),e6(a?`Webhook`:`Path`,G3(t))];i.operationId&&_.push(e6(`Operation ID`,G3(i.operationId))),i.tags&&_.push(e6(`Tags`,W3(i.tags.join(`, `)))),m&&_.push(e6(`Stability`,W3(m)));let v=[Y3(d(0),W3(g)),Z3(_),...await o(i.description)],y=i.servers??r.servers??e.servers,b,x;if(l&&i.servers===void 0&&(r.servers===void 0?b=l.servers:(b=l.pathServers.get(r),b===void 0&&(x=l.anchors.get(`context`,JSON.stringify([a?`webhook`:`path`,t]),`servers-${a?`webhook-`:``}${t}`),l.pathServers.set(r,x)))),b)v.push(K3(q3(W3(`Servers:`)),W3(` `),$3(`#${b}`,`Inherited servers`)));else if(y!==void 0){x&&v.push(H3(x)),v.push(Y3(d(1),W3(`Effective servers`)));let e=[],t=y?.length?y:[{url:`/`}];for(let n of t){let t=[K3(G3(n.url)),...await o(n.description)],r=Object.entries(n.variables??{});r.length&&t.push(Z3(await Promise.all(r.map(async([e,t])=>X3(K3(W3(`${e}: `),G3(t.default),...t.enum?.length?[W3(`, possible values: `),G3(t.enum.join(`, `))]:[]),...await o(t.description)))))),e.push(X3(...t))}v.push(Z3(e))}l?.authentication&&i.security===void 0?v.push(K3(q3(W3(`Authentication:`)),W3(` `),$3(`#${l.authentication}`,`Global authentication`))):v.push(...await kQn(i.security??e.security,e.components?.securitySchemes,o,d(1)));let ee=new Map;for(let e of[...r.parameters??[],...i.parameters??[]]){let t=H(e,ru);t&&ee.set(`${t.in}:${t.name}`,t)}let te=[...jQn,...[...new Set([...ee.values()].map(e=>e.in))].filter(e=>!jQn.some(([t])=>t===e)).map(e=>[e,`Parameters in ${e}`])];for(let[t,n]of te){let r=[];for(let n of ee.values())n.in===t&&r.push(await FQn(n,{description:o,schemas:s,examples:c,openapiVersion:p,document:e}));r.length&&v.push(Y3(d(1),W3(n)),Z3(r))}let ne=H(i.requestBody,ru);if(ne){v.push(Y3(d(1),W3(`Request body`)),...await o(ne.description)),typeof ne.required==`boolean`&&v.push(K3(q3(W3(`Required:`)),W3(` `),G3(ne.required)));for(let[t,n]of Object.entries(ne.content??{}))v.push(c7(t)),n.schema!==void 0&&v.push(...s.render(n.schema)),v.push(...await s7(n,o,t,`write`,p,e.openapi,{linked:s.linked,examples:c})),v.push(...await CQn(n.encoding,t,o,s,p,e.openapi,c))}let re=Object.entries(i.responses??{}).flatMap(([e,t])=>{let n=H(t,ru);return n?[{status:e,response:n}]:[]}),ie=new Map,ae=new Map;for(let e of re){let t=MQn(e.response,ie)??`status:${e.status}`;ae.set(t,[...ae.get(t)??[],e])}re.length&&v.push(Y3(d(1),W3(`Responses`)));for(let t of ae.values()){let{response:n}=t[0];if(t.length>1)v.push(Y3(d(2),W3(t.map(({status:e})=>e).join(`, `))),Z3(t.map(({status:e,response:t})=>X3(K3(G3(e),...t.description?[W3(` ${t.description}`)]:[])))));else{let{status:e}=t[0];v.push(Y3(d(2),W3(`${e}${n.description?` ${n.description}`:``}`)))}v.push(...await SQn(n.headers,o,s,p,e.openapi,c),...await TQn(n.links,o));for(let[t,r]of Object.entries(n.content??{}))v.push(c7(t)),r.schema!==void 0&&v.push(...s.render(r.schema)),v.push(...await s7(r,o,t,`read`,p,e.openapi,{linked:s.linked,examples:c}))}return v},FQn=async(e,{description:t,schemas:n,examples:r,openapiVersion:i,document:a})=>{let o=[e.required?`required`:``,e.deprecated?`deprecated`:``].filter(Boolean),s=[q3(G3(e.name),...o.length?[W3(` (${o.join(`, `)})`)]:[])],c=`schema`in e?e.schema:void 0,l=c===void 0?[]:n.summarize(c),u=(e,t)=>{t!==void 0&&l.push(W3(`${l.length?`, `:``}${e}: `),G3(t))};`style`in e&&u(`style`,e.style),`explode`in e&&typeof e.explode==`boolean`&&u(`explode`,e.explode),e.allowEmptyValue&&u(`allowEmptyValue`,!0),`allowReserved`in e&&e.allowReserved&&u(`allowReserved`,!0),l.length&&s.push(W3(`: `),...l);let d=[K3(...s),...await t(e.description)];if(c!==void 0){let t=n.view(c).description;t?.trim()!==e.description?.trim()&&d.push(...t6(t)),d.push(...n.render(c,0,[],{hideDetails:!0}))}(`example`in e||`examples`in e)&&d.push(...await s7({example:e.example,examples:e.examples},t,`application/json`,`write`,i,a.openapi,{examples:r}));for(let[o,s]of Object.entries(`content`in e?e.content??{}:{}))d.push(c7(o)),s.schema!==void 0&&d.push(...n.render(s.schema)),d.push(...await s7(s,t,o,`write`,i,a.openapi,{linked:n.linked,examples:r}));return X3(...d)}})),LQn,RQn,l7,u7,d7,f7,zQn,BQn,VQn,HQn,UQn,WQn,GQn,KQn,qQn,JQn,YQn,XQn=s((()=>{js(),iu(),n6(),LQn=64,RQn=1e5,l7=new Set([`allOf`,`anyOf`,`oneOf`,`not`,`properties`,`required`,`items`,`additionalProperties`,`discriminator`,`minItems`,`maxItems`,`uniqueItems`]),u7=new Set([`$ref`,`$ref-value`,`$global`,`$status`]),d7=e=>V(e)&&typeof e.$ref==`string`?e.$ref:void 0,f7=e=>{try{let t=/^#\/components\/schemas\/([^/]+)$/.exec(decodeURIComponent(e));return t?t[1].replaceAll(`~1`,`/`).replaceAll(`~0`,`~`):e}catch{return e}},zQn=(e,t)=>{let n=V(e)?e.$ref:void 0;if(typeof n==`string`&&typeof t.schema==`object`&&!Object.keys(e).some(e=>l7.has(e)))return t.allOf?.length||t.anyOf?.length||t.oneOf?.length||t.properties.length||t.not!==void 0||t.items!==void 0||t.additionalProperties!==void 0?f7(n):void 0},BQn=e=>{let t=V(e)&&`$ref`in e&&Object.keys(e).some(e=>l7.has(e))?e:H(e)??e;return typeof t==`object`&&t?t:void 0},VQn=e=>{let t=H(e),n=H(e,ru);return typeof t==`boolean`?!V(n)||!Object.keys(n).some(e=>![`$ref`,`$ref-value`,`$global`,`$status`].includes(e))?t:t?n:{...n,allOf:[!1,...Array.isArray(n.allOf)?n.allOf:[]]}:n},HQn=[`title`,`description`,`default`,`readOnly`,`writeOnly`,`deprecated`],UQn=new Set([...HQn,...u7,`__scalar_`,`allOf`,`anyOf`,`oneOf`]),WQn=new Set([`string`,`number`,`integer`,`boolean`,`null`]),GQn=e=>e===null?`null`:Array.isArray(e)?`array`:typeof e==`number`?Number.isInteger(e)?`integer`:`number`:typeof e,KQn=e=>{let t=H(e);return V(t)?(Array.isArray(t.type)&&t.type.length===1?t.type[0]:t.type)===`null`&&Object.keys(t).every(e=>e===`type`||e===`title`||e===`description`||u7.has(e)):!1},qQn=e=>{if(typeof e.schema!=`object`||Object.keys(e.schema).some(e=>!UQn.has(e))||e.type!==void 0||e.properties.length||e.required.size||e.items!==void 0||e.additionalProperties!==void 0||e.not!==void 0||e.discriminator||e.enum||e.const!==void 0)return;let t=e.allOf??[],n=e.anyOf??[],r=e.oneOf??[];if(t.length===1&&!n.length&&!r.length)return{core:t[0],nullable:!1};let i=n.length?n:r;if(t.length||n.length&&r.length||i.length!==2)return;let a=i.filter(e=>!KQn(e));return a.length===1?{core:a[0],nullable:!0}:void 0},JQn=e=>{let t=e.map(t=>{let n=t.length===1?t[0]:void 0;return e.length>1&&n?.type===`inlineCode`&&n.value.startsWith(`array of `)?[G3(`(${n.value})`)]:t}),n=[],r=[],i=()=>{r.length&&n.push(...n.length?[W3(` | `)]:[],G3(r.join(` | `))),r=[]};for(let e of t){let t=e.length===1?e[0]:void 0;t?.type===`inlineCode`?r.push(t.value):(i(),n.push(...n.length?[W3(` | `)]:[],...e))}return i(),n},YQn=({maxNodes:e=RQn}={})=>{let t=new WeakMap,n=new Set,r=e=>{let i=typeof e==`object`?t.get(e):void 0;if(i)return i;let a=VQn(e),o=typeof a==`object`?a:{},s=new Set(o.required??[]),c=Object.entries(o.properties??{}).filter(([,e])=>typeof e==`boolean`||typeof e==`object`&&!!e).sort(([e],[t])=>Number(s.has(t))-Number(s.has(e))||e.localeCompare(t)),l=a?`any`:`never`,u={...o,type:typeof a==`boolean`?l:o.type,schema:a,required:s,properties:c};u.name=zQn(e,u);let d=typeof e==`object`&&!n.has(e)?qQn(u):void 0;if(d&&typeof e==`object`){n.add(e);let t=r(d.core);n.delete(e);let i=Object.fromEntries(HQn.flatMap(e=>u[e]===void 0?[]:[[e,u[e]]]));u={...t,...i,core:d.core,nullable:d.nullable||t.nullable}}return typeof e==`object`&&t.set(e,u),u},i=new WeakMap,a=e=>{if(typeof e!=`object`)return!0;let t=i.get(e);if(t!==void 0)return t;i.set(e,!1);let n=r(e),o=n.type===void 0?[]:[n.type].flat(),s=n.core===void 0?typeof n.schema==`boolean`||!n.properties.length&&n.items===void 0&&(n.additionalProperties===void 0||typeof n.additionalProperties==`boolean`)&&!n.allOf?.length&&!n.anyOf?.length&&!n.oneOf?.length&&n.not===void 0&&!n.discriminator&&o.every(e=>WQn.has(e)):a(n.core);return i.set(e,s),s},o=e=>e.description!==void 0||e.format!==void 0||e.enum!==void 0||e.const!==void 0||e.default!==void 0||e.readOnly===!0||e.writeOnly===!0||e.deprecated===!0||e.additionalProperties===!1||s.some(t=>e[t]!==void 0),s=[`minimum`,`maximum`,`exclusiveMinimum`,`exclusiveMaximum`,`multipleOf`,`minLength`,`maxLength`,`pattern`,`minProperties`,`maxProperties`,`minItems`,`maxItems`,`uniqueItems`],c=e=>e.type===void 0?e.const===void 0?e.enum?.length?[...new Set(e.enum.map(GQn))]:e.properties.length||V(e.additionalProperties)?[`object`]:e.items===void 0?[]:[`array`]:[GQn(e.const)]:[e.type].flat(),l=(t={},n={},i)=>{let u=n.schemaReferences?.mode===`linked`,d=n.schemaReferences?.inlinePrimitives!==!1,f=new Map,p=new Set(Object.values(t).map(e=>H(e)??e)),m=0,h=e=>{if(!u&&!i||!V(e))return;let t=d7(e);if(t!==void 0){let n=H(e)!==void 0;return!u&&!i?.has(f7(t))||n&&d&&a(e)?void 0:t}let n=r(e).core;return n===void 0?void 0:h(n)},g=e=>{let t=f7(e),r=n.schemaReferences?.resolveUrl?n.schemaReferences.resolveUrl({ref:e,name:t}):i?.get(t);return r&&Q3(r)?$3(r,t):G3(t)},_=e=>{let t={},n=e;for(;V(n);){for(let[e,r]of Object.entries(n))!u7.has(e)&&(!l7.has(e)||s.some(t=>t===e)||e===`additionalProperties`&&r===!1)&&!(e in t)&&(t[e]=r);if(d7(n)!==void 0)break;n=r(n).core}return r(t)},v=e=>h(e)===void 0?r(e):_(e),y=(e,t,n=0)=>{let a=r(e),s=t||i?h(e):void 0;if(s!==void 0){let t=d7(e)===void 0&&a.nullable,n=V(e)&&Object.keys(e).some(e=>l7.has(e));return{nodes:JQn([[g(s)],...t?[[G3(`null`)]]:[]]),complete:!n}}if(typeof a.schema==`boolean`)return{nodes:[],complete:!0};let l=c(a),u=[],d=!a.properties.length&&!V(a.additionalProperties)&&a.not===void 0&&!a.discriminator&&!a.allOf?.length&&!(a.anyOf?.length&&a.oneOf?.length),f=a.anyOf?.length?a.anyOf:a.oneOf;if(f?.length){let e=n<8?f.map(e=>y(e,!0,n+1)):[];d&&!l.length&&e.length===f.length&&e.every((e,t)=>e.complete&&e.nodes.length&&!o(v(f[t])))?u.push(...e.map(e=>e.nodes)):d=!1}for(let e of l){if(e!==`array`||a.items===void 0){u.push([G3(e)]);continue}let t=n<8?y(a.items,!0,n+1):void 0;if(!t?.complete||!t.nodes.length||o(v(a.items))){d=!1,u.push([G3(`array`)]);continue}let r=t.nodes.length===1?t.nodes[0]:void 0;u.push(r?.type===`inlineCode`?[G3(r.value.includes(` | `)?`array of (${r.value})`:`array of ${r.value}`)]:[W3(`array of `),...t.nodes.length>1?[W3(`(`),...t.nodes,W3(`)`)]:t.nodes])}return!l.length&&a.items!==void 0&&(d=!1),a.nullable&&!l.includes(`null`)&&u.push(u.length||d?[G3(`null`)]:[W3(`nullable`)]),!u.length&&d&&u.push([G3(`any`)]),{nodes:JQn(u),complete:d}},b=(e,{nested:t,label:n=y(e,t),showType:a=!0})=>{let o=(t||i!==void 0)&&h(e)!==void 0,c=o?_(e):r(e);if(typeof c.schema==`boolean`)return{line:[W3(c.schema?`any (true schema)`:`never (false schema)`)]};let l=a?[...n.nodes]:[],d=(e,t)=>{t!==void 0&&l.push(W3(`${l.length?`, `:``}${e}: `),G3(t))},f=(e,t)=>{t&&l.push(W3(`${l.length?`, `:``}${e}`))},p=d7(e);!o&&c.name!==void 0&&(u&&p!==void 0?l.push(W3(`${l.length?`, `:``}schema: `),g(p)):d(`schema`,c.name)),o&&c.type!==void 0&&d(`type`,[c.type].flat().join(` | `)),d(`format`,c.format),c.enum&&d(`possible values`,c.enum.map(e=>JSON.stringify(e)).join(`, `)),c.const!==void 0&&d(`const`,JSON.stringify(c.const)),c.default!==void 0&&d(`default`,JSON.stringify(c.default));for(let e of s)d(e,c[e]);for(let e of[`readOnly`,`writeOnly`,`deprecated`])f(e,c[e]);return f(`no additional properties`,c.additionalProperties===!1),{line:l,description:c.description??(o?r(e).description:void 0)}},x=(e,t,n,r)=>{let i=[],a=V(e)?Object.fromEntries(Object.entries(e).filter(([e])=>!u7.has(e))):{};if(Object.keys(a).length&&!t.hideDetails){let{line:e,description:n}=b(a,{nested:!1,showType:!1});e.length&&i.push(K3(...e)),t.hideDescription||i.push(...t6(n))}return i.push(K3(J3(W3(`Schema `),G3(n),W3(` is shown ${r}.`)))),i},ee=(e,t,n,r=!0)=>{if(n.hideDetails)return[];let{line:i,description:a}=b(e,{nested:t>0,showType:r});return[...i.length?[K3(...i)]:[],...n.hideDescription?[]:t6(a)]},te=(t,n=0,a=[],o={})=>{if((u||i)&&V(t)&&`$ref`in t&&typeof t.$ref==`string`){let e=H(t),r=Object.fromEntries(Object.entries(t).filter(([e])=>!u7.has(e))),s=Object.keys(r).length>0;if((n>0||i)&&h(t)!==void 0||e===void 0){let e=Object.fromEntries(Object.entries(r).filter(([e])=>l7.has(e)));return[...ee(t,Math.max(n,1),o),...Object.keys(e).length?te(e,n,a,{hideDetails:!0}):[]]}if(!i&&n===0&&(s||V(e)&&`$ref`in e))return[...s?[K3(q3(W3(`All of:`)))]:[],...te(e,n+1,a),...s?te(r,n,a):[]]}let s=H(t)??t;if(typeof s==`object`&&a.includes(s))return[K3(J3(W3(`[Circular Reference]`)))];let c=r(t),l=y(t,n>0);if(c.core!==void 0){let e=ee(t,n,o);return l.complete?e:[...e,...te(c.core,n,a,{hideDetails:!0,hideDescription:!0,property:o.property})]}let d=BQn(t),_=o.name??c.name;if(!i&&d&&_!==void 0){let e=f.get(d);if(e!==void 0){let n=o.name===void 0?o:{...o,hideDetails:!0};return x(t,n,e.name,`above`)}if(c.name!==void 0&&o.name===void 0&&n>=LQn&&p.has(d))return x(t,o,c.name,`below under Schemas`)}if(n>=LQn)return[K3(W3(`[Maximum schema depth reached]`))];if(m>=e)return[K3(J3(W3(`[Schema output truncated]`)))];if(m++,d&&_!==void 0&&!f.has(d)&&f.set(d,{name:_,description:c.description}),typeof c.schema==`boolean`)return ee(t,n,o);let v=[...a,s],ne=[],re=Object.entries(c.discriminator?.mapping??{}),ie=new Set,ae=!1;if(!l.complete){for(let[e,t]of[[`allOf`,`All of:`],[`anyOf`,`Any of:`],[`oneOf`,`One of:`]]){if(!c[e]?.length)continue;let r=c[e].map(t=>{let r=te(t,n+1,v,{showType:!0}),i=d7(t),a=e===`allOf`||i===void 0?[]:re.filter(([,e])=>e===i),o=r[0];if(a.length&&o?.type===`paragraph`){for(let[e]of a)ie.add(e);o.children.push(W3(`${o.children.length?`, `:``}${c.discriminator.propertyName}: `),G3(a.map(([e])=>e).join(`, `)))}return X3(...r)}),i=e!==`allOf`&&c.discriminator;ne.push(K3(q3(W3(t)),...i?[W3(` discriminated by `),G3(c.discriminator.propertyName)]:[]),Z3(r)),i&&(ae=!0)}c.not!==void 0&&ne.push(K3(q3(W3(`Not:`))),...te(c.not,n+1,v))}let oe=!o.showType&&!l.complete&&(c.type===`object`&&c.properties.length>0||c.type===`array`&&c.items!==void 0);if(ne.push(...ee(t,n,o,!oe)),u||i){let e=new Set(c.properties.map(([e])=>e)),t=[...c.required].filter(t=>!e.has(t));t.length&&ne.push(K3(q3(W3(`Required fields:`)),W3(` `),G3(t.join(`, `))))}if(c.properties.length){let e=c.properties.map(([e,t])=>{let r=y(t,!0),{line:i,description:a}=b(t,{nested:!0,label:r}),o=[q3(G3(e),...c.required.has(e)?[W3(` (required)`)]:[])];i.length&&o.push(W3(`: `),...i);let s=[K3(...o),...t6(a)];return r.complete||s.push(...te(t,n+1,v,{hideDetails:!0,hideDescription:!0,property:!0})),X3(...s)});ne.push(Z3(e))}!l.complete&&c.items!==void 0&&(c.type===`array`||c.type===void 0||[c.type].flat().includes(`array`))&&ne.push(K3(q3(W3(o.property?`Items:`:`Array of:`))),...te(c.items,n+1,v)),V(c.additionalProperties)&&ne.push(K3(q3(W3(`Additional properties:`))),...te(c.additionalProperties,n+1,v));let se=re.filter(([e])=>!ie.has(e));return c.discriminator&&(!ae||se.length)&&(ne.push(K3(q3(W3(`Discriminator:`)),W3(` `),G3(c.discriminator.propertyName))),se.length&&ne.push(Z3(se.map(([e,t])=>X3(K3(G3(e),W3(`: `),u||i?g(t):G3(t))))))),ne},ne={items:`one`,additionalProperties:`one`,not:`one`,prefixItems:`list`,allOf:`list`,anyOf:`list`,oneOf:`list`,properties:`map`,patternProperties:`map`},re=(e,t)=>{if(!V(e))return e;if(!t&&h(e)!==void 0){let t=c(r(e));return t.includes(`array`)&&!t.includes(`object`)?{type:`array`,items:{}}:{type:`object`}}if(d7(e)!==void 0){if(!t)return e;let n=H(e,ru);if(!V(n))return n;let{$ref:r,...i}=n;return re(i,!0)}let n={...e};for(let[t,r]of Object.entries(ne)){let i=e[t];r===`one`?n[t]=re(i,!1):r===`list`&&Array.isArray(i)?n[t]=i.map(e=>re(e,!1)):r===`map`&&V(i)&&(n[t]=Object.fromEntries(Object.entries(i).map(([e,t])=>[e,re(t,!1)]))),n[t]===void 0&&delete n[t]}return n};return{linked:u,view:r,render:te,exampleSchema:e=>u?re(e,!0):e,summarize:e=>b(e,{nested:!1}).line,beginSection:()=>{m=0},shownAs:e=>{let t=BQn(e);return t?f.get(t):void 0},forDocument:l}};return l()}})),ZQn,QQn=s((()=>{ZQn=(e,t)=>{let n=/^3\.2\./.test(t),r=e=>n?e.summary??e.name:e.name,i=new Map(e.map(e=>[e.name,e]));if(!n||i.size!==e.length)return e.map(e=>({tag:e,title:r(e)}));let a=new Map,o=new Map,s=new Set;for(let t of e){let e=[],n=new Set,c=[t];for(;c.length;){let t=c.pop();if(n.has(t.name)||s.has(t.name)){for(let t of e)a.set(t.name,r(t)),s.add(t.name);break}if(a.has(t.name))break;n.add(t.name),e.push(t);let o=t.parent===void 0?void 0:i.get(t.parent);o&&c.push(o)}for(let t of e.reverse()){if(a.has(t.name))continue;let e=t.parent===void 0?void 0:a.get(t.parent);a.set(t.name,e===void 0?r(t):`${e} › ${r(t)}`),e!==void 0&&t.parent!==void 0&&o.set(t.name,t.parent)}}let c=new Map,l=[];for(let t of e){let e=o.get(t.name);if(e===void 0)l.push(t);else{let n=c.get(e)??[];n.push(t),c.set(e,n)}}let u=[],d=l.reverse();for(;d.length;){let e=d.pop();u.push({tag:e,title:a.get(e.name)});let t=c.get(e.name)??[];for(let e of[...t].reverse())d.push(e)}return u}})),$Qn,e$n,t$n,n$n,r$n=s((()=>{js(),yx(),iu(),BLn(),cYn(),s8(),U3(),bQn(),n6(),aYn(),xQn(),IQn(),XQn(),AQn(),QQn(),$Qn=o8().use(LLn).use(oYn,{bullet:`-`,join:[(e,t,n)=>{if(`spread`in n&&(e.type===`list`&&t.type!==`list`||e.type===`code`||t.type===`code`))return 1}]}).freeze(),e$n=e=>V(e.schema)&&(e.schema.example!==void 0||Array.isArray(e.schema.examples)&&e.schema.examples.length>0),t$n=async(e,t,n,r)=>{let i=t.title&&t.title!==e?[q3(W3(t.title)),W3(` (`),G3(e),W3(`)`)]:[G3(e)];i.push(W3(` — shown above`)),n.name!==e&&i.push(W3(` as `),G3(n.name)),i.push(W3(`.`));let a=[K3(...i)];return t.description&&t.description!==n.description&&a.push(...await r(t.description)),X3(...a)},n$n=()=>{let e=rYn(),t=YQn();return async(n,r={})=>{let i=e(),a=[r.operation,r.webhook,r.model,r.tag,r.introduction].every(e=>e===void 0),o=V3(),s=a?yQn(o):void 0,c=a?{anchors:o,servers:n.servers===void 0?void 0:o.get(`context`,`global-servers`),authentication:n.security===void 0?void 0:o.get(`context`,`global-authentication`),pathServers:new WeakMap}:void 0,l=a?new Map(Object.keys(n.components?.schemas??{}).map(e=>[e,`#${encodeURIComponent(o.get(`schema`,e))}`])):void 0,u=[{title:`Operations`,paths:n.paths,webhook:!1},{title:`Webhooks`,paths:n.webhooks,webhook:!0}].map(e=>{let t=[];for(let[n,r]of Object.entries(e.paths??{})){let i=fx(r);i&&gx(r,(r,s)=>{let c=`${NQn(r)} ${n}`;t.push({path:n,method:r,pathItem:i,operation:H(s,ru),label:c,id:a?o.get(e.webhook?`webhook`:`operation`,JSON.stringify([n,r]),c):void 0})})}return{...e,entries:t}}),d=t.forDocument(n.components?.schemas,r,l),f=n[`x-original-oas-version`]??n.openapi,p=r.operation!==void 0||r.webhook!==void 0||r.model!==void 0,m=[],h=[],g=async()=>{if(!m.length)return;let e=m.splice(0);await iYn(e,i),h.push($Qn.stringify({type:`root`,children:e}).trimEnd())};if(!p){let{info:e}=n,t=[e6(`OpenAPI Version`,G3(n.openapi))];if(e.version&&t.push(e6(`API Version`,G3(e.version))),e.termsOfService&&t.push(e6(`Terms of service`,$3(e.termsOfService,e.termsOfService))),e.contact){let n=[W3(e.contact.name??``)];t.push(X3(K3(q3(W3(`Contact:`)),W3(` `),...n,...e.contact.url?[W3(` `),$3(e.contact.url,e.contact.url)]:[],...e.contact.email?[W3(` `),$3(`mailto:${e.contact.email}`,e.contact.email)]:[])))}if(e.license&&t.push(e6(`License`,e.license.url?$3(e.license.url,e.license.name??``):W3(e.license.name))),m.push(Y3(1,W3(e.title)),Z3(t),...await i(e.description)),a){let e=[];for(let t of u)t.entries.length&&e.push(K3(q3(W3(t.title))),Z3(t.entries.map(({id:e,label:t})=>X3(K3($3(`#${encodeURIComponent(e)}`,t))))));l?.size&&e.push(K3(q3(W3(`Schemas`))),Z3([...l].map(([e,t])=>X3(K3($3(t,e)))))),e.length&&m.push(Y3(2,W3(`Contents`)),...e)}if(n.servers?.length||a&&n.servers!==void 0){c?.servers&&m.push(H3(c.servers)),m.push(Y3(2,W3(`Servers`)));let e=(n.servers?.length?n.servers:[{url:`/`}]).map(e=>{let t=[];e.description&&t.push(e6(`Description`,W3(e.description)));let n=Object.entries(e.variables??{});n.length&&t.push(X3(K3(q3(W3(`Variables:`))),Z3(n.map(([e,t])=>X3(K3(G3(e),W3(` (default: `),G3(t.default),W3(`)`),...a&&t.enum?.length?[W3(`, possible values: `),G3(t.enum.join(`, `))]:[],W3(t.description?`: ${t.description}`:``)))))));let r=e6(`URL`,G3(e.url));return t.length&&r.children.push(Z3(t)),r});m.push(Z3(e))}if(c?.authentication&&m.push(H3(c.authentication)),m.push(...await kQn(n.security,n.components?.securitySchemes,i,2)),n.tags?.length){m.push(Y3(2,W3(`Tags`)));for(let{tag:e,title:t}of ZQn(n.tags,f))m.push(Y3(3,W3(t)),...await i(e.description)),e.externalDocs&&m.push(K3($3(e.externalDocs.url,e.externalDocs.description??e.externalDocs.url)))}await g()}for(let e of u){let t=!1;for(let{path:r,pathItem:a,method:o,operation:l,id:u}of e.entries)!t&&!p&&m.push(Y3(2,W3(e.title))),t=!0,d.beginSection(),u&&m.push(H3(u)),m.push(...await PQn(n,r,o,a,l,e.webhook,{description:i,schemas:d,examples:s,documentContext:c,level:p?1:3})),await g()}let _=Object.entries(n.components?.schemas??{}).sort(([e],[t])=>Number(t===r.model)-Number(e===r.model)),v=async(e,t,c)=>{let l=d.view(t),u=d.summarize(t);if(a&&m.push(H3(o.get(`schema`,e))),m.push(Y3(c,W3(l.title??e))),u.length&&m.push(K3(q3(W3(`Type:`)),W3(`\xA0`),...u)),m.push(...await i(l.description),...d.render(t,0,[],{hideDetails:!0,name:e})),l.type===`object`||e$n(l)){let a=e===r.model;m.push(...await s7({schema:a?d.exampleSchema(t):t},i,`application/json`,void 0,f,n.openapi,{linked:d.linked&&!a,quiet:d.linked,examples:s}))}await g()},y=_.find(([e])=>e===r.model);y&&(d.beginSection(),await v(y[0],y[1],1));let b=_.filter(([e])=>e!==r.model);b.length&&m.push(Y3(2,W3(`Schemas`)));let x=[],ee=()=>{x.length&&m.push(Z3(x.splice(0)))};for(let[e,t]of b){d.beginSection();let n=d.view(t),r=d.shownAs(t);!a&&r&&!e$n(n)?x.push(await t$n(e,n,r,i)):(ee(),await v(e,t,3))}return ee(),await g(),`${h.join(`
+
+`)}\n`}}})),p7,i$n,a$n,o$n,s$n,c$n,m7,l$n,u$n,d$n,f$n,p$n,m$n,h$n,g$n=s((()=>{ec(),js(),yx(),iu(),p7=new Set($s),i$n=e=>{let t=e.toLowerCase();return p7.has(t)?t:null},a$n=e=>{if(/~(?![01])/.test(e))throw Error(`Invalid JSON pointer escape in "${e}"`);if(e.startsWith(`#/`))return e.slice(1);if(e.startsWith(`/`))return e;throw Error(`Invalid JSON pointer "${e}". JSON pointers must start with "#/"`)},o$n=e=>a$n(e).slice(1).split(`/`).map(e=>e.replaceAll(`~1`,`/`).replaceAll(`~0`,`~`)),s$n=e=>{let t=o$n(e);if(t[0]!==`paths`||!(t.length===3||t.length===4&&t[2]===`additionalOperations`))throw Error(`JSON pointer "${e}" must target an operation object under "/paths/{path}/{method}"`);let n=t[1],r=t.length===4?t[3]:t[2];if(!n||!r||(t.length===3?!p7.has(r):p7.has(r)))throw Error(`JSON pointer "${e}" must target an operation object under "/paths/{path}/{method}"`);return{path:n,method:r}},c$n=e=>{let t=e.paths;return V(t)?Object.entries(t).flatMap(([e,t])=>{let n=fx(t);return n?[[e,n]]:[]}):[]},m7=(e,t)=>{let n=Object.fromEntries(Object.entries(e).filter(([e])=>!p7.has(e)&&e!==`additionalOperations`));return gx(e,(e,r)=>{t.includes(e)&&mx(n,e,r)}),n},l$n=(e,t)=>px(e,t)?t:i$n(t),u$n=(e,t)=>{let n=l$n(fx(e.paths?.[t.path]),t.method);if(!n)throw Error(`Invalid HTTP method "${t.method}". Supported methods: ${$s.join(`, `)}`);let r=e.paths?.[t.path];if(!px(r,n))throw Error(`Operation not found for path "${t.path}" and method "${n.toUpperCase()}"`);return{path:t.path,method:n}},d$n=e=>{let t=new Map,n=new Map;for(let[r,i]of c$n(e))gx(i,(e,a)=>{let o=H(a);if(typeof o?.operationId==`string`){let n=t.get(o.operationId)??[];n.push({path:r,method:e}),t.set(o.operationId,n)}for(let t of new Set(o?.tags)){let a=n.get(t)??[],o=a.at(-1);o?.path===r?o.methods.push(e):a.push({path:r,pathItem:i,methods:[e]}),n.set(t,a)}});return{byId:t,byTag:n}},f$n=e=>{let t,n;return{operationsById:()=>(t??=d$n(e)).byId,operationsByTag:()=>(t??=d$n(e)).byTag,schemaPositions:()=>n??=new Map(Object.keys(e.components?.schemas??{}).map((e,t)=>[e,t]))}},p$n=(e,t,n)=>{if(`pointer`in t){let n=s$n(t.pointer);if(!px(e.paths?.[n.path],n.method))throw Error(`Operation not found at JSON pointer "${t.pointer}"`);return n}if(`operationId`in t){let e=n.operationsById().get(t.operationId)??[];if(!e.length)throw Error(`Operation with operationId "${t.operationId}" was not found`);if(e.length>1){let n=e.map(({path:e,method:t})=>`"${t.toUpperCase()} ${e}"`);throw Error(`Multiple operations found for operationId "${t.operationId}". Use { path, method } instead. Matches: ${n.join(`, `)}`)}return e[0]}return u$n(e,t)},m$n=(e,t,n)=>{let r=p$n(e,t,n),i=fx(e.paths?.[r.path]);if(!i)throw Error(`Operation not found for path "${r.path}" and method "${r.method.toUpperCase()}"`);return{...e,paths:{[r.path]:m7(i,[r.method])}}},h$n=(e,t={},n=f$n(e))=>{if(!V(t))throw Error(`Render options must be an object`);let r=Object.keys(t).filter(e=>e!==`schemaReferences`&&t[e]!==void 0);if(!r.length)return e;if(r.length!==1||![`operation`,`tag`,`model`,`webhook`,`introduction`].includes(r[0]))throw Error(`Specify exactly one of operation, tag, model, webhook, or introduction`);if(t.introduction!==void 0&&t.introduction!==!0)throw Error(`Introduction selector must be true`);for(let e of[`tag`,`model`])if(t[e]!==void 0&&(typeof t[e]!=`string`||!t[e].length))throw Error(`${e} selector must be a non-empty string`);if(t.operation!==void 0){let e=t.operation;if(!V(e)||!(Object.keys(e).length===1&&(`operationId`in e?typeof e.operationId==`string`&&e.operationId.length:`pointer`in e&&typeof e.pointer==`string`&&e.pointer.length)||Object.keys(e).length===2&&`path`in e&&typeof e.path==`string`&&`method`in e&&typeof e.method==`string`))throw Error(`Invalid operation selector. Use { path, method }, { operationId }, or { pointer }`)}let i={...e,paths:{},webhooks:{},tags:[]},a=[];if(t.operation&&(i.paths=m$n(e,t.operation,n).paths),t.tag!==void 0){let r=e.tags?.filter(e=>e.name===t.tag)??[];if(r.length>1)throw Error(`Multiple tags found for "${t.tag}"`);i.tags=r.length?r:[{name:t.tag}];for(let{path:e,pathItem:r,methods:a}of n.operationsByTag().get(t.tag)??[])i.paths[e]=m7(r,a);if(!r.length&&!Object.keys(i.paths??{}).length)throw Error(`Tag "${t.tag}" was not found`)}if(t.model!==void 0){let n=e.components?.schemas?.[t.model];if(n===void 0||!Object.hasOwn(e.components?.schemas??{},t.model))throw Error(`Model "${t.model}" was not found`);a.push(n)}if(t.webhook!==void 0){let n=t.webhook;if(!V(n)||typeof n.name!=`string`||!n.name||typeof n.method!=`string`||Object.keys(n).length!==2)throw Error(`Invalid webhook selector. Use { name, method }`);let r=fx(e.webhooks?.[n.name]),a=l$n(r,n.method);if(!a)throw Error(`Invalid HTTP method "${n.method}"`);if(!r||!px(r,a))throw Error(`Webhook "${n.name}" with method "${a.toUpperCase()}" was not found`);i.webhooks={[n.name]:m7(r,[a])}}let o=new Set,s=new Set;for(let n of[i.paths,i.webhooks])for(let[r,i]of Object.entries(n??{})){let a=fx(i),c={...a,additionalOperations:a.additionalOperations?{...a.additionalOperations}:void 0,parameters:void 0,servers:void 0};gx(a,(n,r)=>{let i=H(r);if(!i)return;let l=new Map;for(let e of[...a.parameters??[],...i.parameters??[]]){let t=H(e);t&&l.set(`${t.in}:${t.name}`,e)}let u=i.security??e.security;for(let e of u??[])for(let t of Object.keys(e))o.add(t);for(let e of i.tags??[])s.add(e);mx(c,n,{...i,parameters:[...l.values()],servers:i.servers??a.servers??e.servers,security:u,tags:t.tag===void 0?i.tags:[t.tag]})}),n[r]=c}if((t.operation||t.webhook)&&(i.tags=e.tags?.filter(e=>s.has(e.name))??[]),t.introduction)for(let t of e.security??[])for(let e of Object.keys(t))o.add(e);else i.servers=[],i.security=void 0;let c=e.components?.schemas??{},l=new Set(t.model===void 0?[]:[t.model]),u=new WeakSet,d=new Set,f=new Set([`example`,`examples`,`default`,`enum`,`const`,`value`,`dataValue`]),p=new Set([`paths`,`webhooks`,`responses`,`content`,`headers`,`links`,`encoding`,`variables`,`parameters`,`requestBodies`,`securitySchemes`,`pathItems`,`callbacks`,`mediaTypes`,`additionalOperations`,`schemas`,`properties`,`patternProperties`,`$defs`,`definitions`,`dependentSchemas`]),m=(e,t=0)=>{if(e&&typeof e==`object`&&!u.has(e)){if(u.add(e),!t&&`$ref`in e&&typeof e.$ref==`string`){let n=e.$ref;if(!d.has(n)){if(d.add(n),n.startsWith(`#/components/schemas/`)){let e=o$n(n)[2];Object.hasOwn(c,e)&&(l.add(e),m(c[e]))}m(H(e),t)}}for(let[n,r]of Object.entries(e))if(n!==`$ref-value`&&(t||!f.has(n)&&!n.startsWith(`x-`))){let e=t-1;if(!t){let t=+!!p.has(n);e=n===`callbacks`?2:t}m(r,e)}}};if(t.schemaReferences?.mode!==`linked`){m({paths:i.paths,webhooks:i.webhooks});for(let e of a)m(e)}let h=n.schemaPositions();return i.components={...e.components,schemas:Object.fromEntries([...l].filter(e=>h.has(e)).sort((e,t)=>h.get(e)-h.get(t)).map(e=>[e,c[e]])),securitySchemes:Object.fromEntries(Object.entries(e.components?.securitySchemes??{}).filter(([e])=>o.has(e)))},i}})),_$n=l({createMarkdownFromOpenApi:()=>v$n}),v$n,y$n=s((()=>{r$n(),g$n(),v$n=async(e,t)=>await n$n()(h$n(e,t),t)}));B();var b$n=k({__name:`CopyMarkdownButton`,props:{document:{},path:{},method:{},isWebhook:{type:Boolean}},setup(e){let t=z(()=>{let t=e.document,n=e.isWebhook?{webhook:{name:e.path,method:e.method}}:{operation:{path:e.path,method:e.method}};return async()=>{let{createMarkdownFromOpenApi:e}=await Promise.resolve().then(()=>(y$n(),_$n));return e(t,n)}});return(e,n)=>(j(),N(lAn,{getMarkdown:t.value},null,8,[`getMarkdown`]))}});B(),BY(),pH(),dH(),Q4();var x$n=k({__name:`OperationTags`,props:{document:{},tags:{}},setup(e){let{translate:t}=Z4(),n=z(()=>{if(!e.document)return[];let n=new Map(e.document.tags?.map(e=>[e.name,e]));return Array.from(new Set(e.tags)).flatMap(r=>{let i=n.get(r),a=zY(e.document,i);if(!i||fH(i)||a===`nav`)return[];let o=i[`x-displayName`]??i.summary??i.name;return[{name:r,label:a===`audience`?`${t(`operation.audience`)}: ${o}`:o}]})});return(e,t)=>(j(!0),M(L,null,jr(n.value,e=>(j(),N(D(uH),{key:e.name},{default:O(()=>[F(T(e.label),1)]),_:2},1024))),128))}}),h7;(function(e){e.Deprecated=`deprecated`,e.Experimental=`experimental`,e.Stable=`stable`})(h7||={});var S$n=e=>e.deprecated||e[`x-scalar-stability`]===h7.Deprecated,g7=e=>e.deprecated?h7.Deprecated:e[`x-scalar-stability`],C$n=e=>{switch(g7(e)){case h7.Deprecated:return`text-red`;case h7.Experimental:return`text-orange`;case h7.Stable:return`text-green`;default:return``}};B(),IV(),Qs(),Q4();var w$n=[`method`],T$n=k({__name:`TestRequestButton`,props:{id:{},method:{},path:{},eventBus:{},exampleName:{},requestBodyCompositionSelection:{}},setup(e){let{translate:t}=Z4(),n=()=>{let t={id:e.id,...e.exampleName&&{exampleName:e.exampleName},...e.requestBodyCompositionSelection&&Object.keys(e.requestBodyCompositionSelection).length>0&&{requestBodyCompositionSelection:e.requestBodyCompositionSelection}};e.eventBus.emit(`ui:open:client-modal`,t)};return(r,i)=>(j(),M(`button`,{class:`show-api-client-button`,method:e.method,type:`button`,onClick:Ka(n,[`stop`])},[R(D(D_e),{class:`size-3`,weight:`fill`}),P(`span`,null,T(D(t)(`operation.testRequest`)),1),R(D(FV),null,{default:O(()=>[F(`(`+T(e.method)+` `+T(e.path)+`)`,1)]),_:1})],8,w$n))}});e3();var E$n=$4(T$n,[[`__scopeId`,`data-v-f9ff7949`]]);B(),dH();var _7=k({__name:`XBadges`,props:{position:{},badges:{}},setup(e){let t=z(()=>Array.isArray(e.badges)?e.badges.filter(t=>t.position===e.position||e.position===`after`&&!t.position):[]);return(e,n)=>t.value.length?(j(!0),M(L,{key:0},jr(t.value,e=>(j(),N(D(uH),{key:e.name,color:e.color},{default:O(()=>[F(T(e.name),1)]),_:2},1032,[`color`]))),128)):I(``,!0)}});B(),hX(),fG(),_X(),nI(),Xz(),Qs(),$B(),iu(),dH(),iV(),Q4();var D$n={class:`operation-title`},O$n={class:`operation-details`},k$n={class:`endpoint-label-path`},A$n={class:`endpoint-label-name`},j$n={key:1,class:`font-code text-sm`},M$n={key:0,class:`mb-3 flex justify-end`},N$n={class:`endpoint-content`},P$n={class:`operation-details-card`},F$n={key:0,class:`operation-details-card-item`},I$n={class:`operation-details-card-item`},L$n={class:`operation-details-card-item`},R$n={key:1,class:`operation-details-card-item`},z$n=k({__name:`ClassicLayout`,props:{id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let{translate:t}=Z4(),n=z(()=>e.operation.summary||e.path||``),r=oTn(),i=z(()=>!!r.value?.enabled.value),a=z(()=>v3(e.operation)),o=E(),s=E(``),c=E({}),l=z(()=>({...c.value})),u=z(()=>JSON.stringify(l.value));cr(kB,c);let d=E({}),{copyToClipboard:f}=QB(),{level:p}=_3(`operation`);return(r,c)=>(j(),N(D(WTn),{id:e.id,"aria-label":n.value,class:`reference-endpoint`,modelValue:!e.isCollapsed,transparent:``,"onUpdate:modelValue":c[5]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:t})},{title:O(()=>[P(`div`,D$n,[P(`div`,O$n,[R(D(WDn),{class:`endpoint-type`,method:e.method,short:``},null,8,[`method`]),R(D(c3),{class:`endpoint-anchor`,onCopyAnchorUrl:c[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.id})},{default:O(()=>[(j(),N(Ar(`h${D(p)}`),{class:`endpoint-label flex-wrap`},{default:O(()=>[P(`div`,k$n,[R(B3,{deprecated:D(S$n)(e.operation),path:e.path},null,8,[`deprecated`,`path`])]),P(`div`,A$n,T(n.value),1),D(g7)(e.operation)?(j(),N(D(uH),{key:0,class:lt([`capitalize`,D(C$n)(e.operation)])},{default:O(()=>[F(T(D(g7)(e.operation)),1)]),_:1},8,[`class`])):I(``,!0),e.isWebhook?(j(),N(D(uH),{key:1,class:`font-code text-green flex w-fit items-center justify-center gap-1`},{default:O(()=>[R(D(Xs),{weight:`bold`}),F(` `+T(D(t)(`operation.webhook`)),1)]),_:1})):I(``,!0),R(x$n,{document:e.document,tags:e.operation.tags},null,8,[`document`,`tags`]),R(D(_7),{badges:e.operation[`x-badges`],position:`before`},null,8,[`badges`])]),_:1}))]),_:1})])])]),actions:O(({active:n})=>[R($Yn,{hideLabel:``,requiredSecurity:e.requiredSecurity},null,8,[`requiredSecurity`]),R(D(_7),{badges:e.operation[`x-badges`],position:`after`},null,8,[`badges`]),e.options.hideTestRequestButton?I(``,!0):(j(),M(L,{key:0},[n?(j(),N(D(E$n),{key:0,id:e.id,eventBus:e.eventBus,exampleName:s.value,method:e.method,path:e.path,requestBodyCompositionSelection:l.value},null,8,[`id`,`eventBus`,`exampleName`,`method`,`path`,`requestBodyCompositionSelection`])):(j(),N(D(D_e),{key:1,class:`endpoint-try-hint size-4.5`}))],64)),e.options.showOperationId&&e.operation.operationId?(j(),M(`span`,j$n,T(e.operation.operationId),1)):I(``,!0),R(D(eI),{class:`endpoint-copy p-0.5`,icon:D(Hs),label:D(t)(`actions.copyEndpointUrl`),size:`xs`,variant:`ghost`,onClick:c[1]||=Ka(t=>D(f)(e.path),[`stop`])},null,8,[`icon`,`label`])]),description:O(()=>[e.document?(j(),M(`div`,M$n,[r.$slots.actions?A(r.$slots,`actions`,{},void 0,!0,0):(j(),N(b$n,{key:1,document:e.document,isWebhook:e.isWebhook,method:e.method,path:e.path},null,8,[`document`,`isWebhook`,`method`,`path`]))])):I(``,!0),e.operation.description?(j(),N(D(Jz),{key:1,anchorPrefix:e.id,"aria-label":D(t)(`common.description`),role:`group`,transformType:`heading`,value:e.operation.description,withAnchors:``,withImages:``},null,8,[`anchorPrefix`,`aria-label`,`value`])):I(``,!0)]),default:O(()=>[P(`div`,N$n,[P(`div`,P$n,[Object.keys(a.value).length>0?(j(),M(`div`,F$n,[R(x3,{showExtensions:e.options.showExtensions,value:a.value},null,8,[`showExtensions`,`value`])])):I(``,!0),P(`div`,I$n,[R(eQn,{selectedContentType:o.value,"onUpdate:selectedContentType":c[2]||=e=>o.value=e,breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,parameters:e.operation.parameters,requestBody:D(H)(e.operation.requestBody),scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`selectedContentType`,`breadcrumb`,`document`,`eventBus`,`expansion`,`options`,`parameters`,`requestBody`,`scrollTargetId`,`specificationExtension`])]),P(`div`,L$n,[R(rQn,{selectedContentTypes:d.value,"onUpdate:selectedContentTypes":c[3]||=e=>d.value=e,breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,responses:e.operation.responses,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`selectedContentTypes`,`breadcrumb`,`collapsableItems`,`document`,`eventBus`,`expansion`,`options`,`responses`,`scrollTargetId`,`specificationExtension`])]),e.operation?.callbacks?(j(),M(`div`,R$n,[R(fQn,{breadcrumb:[e.id],callbacks:e.operation.callbacks,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,path:e.path,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`callbacks`,`document`,`eventBus`,`expansion`,`options`,`path`,`scrollTargetId`,`specificationExtension`])])):I(``,!0)]),e.operation.responses?(j(),N(D(LZn),{key:0,class:`operation-example-card`,eventBus:e.eventBus,openapiVersion:e.document?.openapi,responses:e.operation.responses,selectedContentTypes:d.value,selectedExample:e.selectedExample},null,8,[`eventBus`,`openapiVersion`,`responses`,`selectedContentTypes`,`selectedExample`])):I(``,!0),P(`div`,null,[e.operation.externalDocs?(j(),N(D(i3),{key:0},{default:O(()=>[R(D(rV),{value:e.operation.externalDocs},null,8,[`value`])]),_:1})):I(``,!0),R(D(gX),null,{default:O(()=>[(j(),N(D(eY),{key:u.value,class:`operation-example-card`,clientOptions:e.clientOptions,clientPickerLabel:D(t)(`clientLibraries.changeClient`),clientSearchLabel:D(t)(`clientLibraries.searchLabel`),codeSampleLabel:D(t)(`operation.codeSample`),codeSampleUnavailable:D(t)(`operation.codeSampleUnavailable`),eventBus:e.eventBus,fallback:``,isWebhook:e.isWebhook,method:e.method,openapiVersion:e.document?.openapi,operation:e.operation,path:e.path,requestBodyCompositionSelection:l.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:o.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer,"onUpdate:exampleKey":c[4]||=e=>s.value=e},Mr({_:2},[i.value?{name:`footer-start`,fn:O(()=>[R(D(s3),{variant:`footer`})]),key:`0`}:void 0]),1032,[`clientOptions`,`clientPickerLabel`,`clientSearchLabel`,`codeSampleLabel`,`codeSampleUnavailable`,`eventBus`,`isWebhook`,`method`,`openapiVersion`,`operation`,`path`,`requestBodyCompositionSelection`,`securitySchemes`,`selectedClient`,`selectedContentType`,`selectedExample`,`selectedServer`]))]),_:1})])])]),_:3},8,[`id`,`aria-label`,`modelValue`]))}});e3();var B$n=$4(z$n,[[`__scopeId`,`data-v-ee2073f7`]]);B(),Qs(),Q4(),t3();var V$n={class:`ask-agent-scalar-input-label`},H$n=[`placeholder`],U$n={class:`ask-agent-scalar-send`,type:`submit`},W$n=k({__name:`AskAgentButton`,setup(e){let t=ewn(),{translate:n}=Z4(),r=E(``),i=E();function a(){t.value?.openAgent(r.value),r.value=``}return(e,o)=>D(t)?.agentEnabled.value?(j(),M(`form`,{key:0,class:`agent-button-container`,onClick:o[1]||=e=>i.value?.focus(),onSubmit:o[2]||=Ka(e=>a(),[`prevent`])},[R(D(Js),{class:`size-3 shrink-0`,weight:`fill`}),P(`div`,V$n,T(D(n)(`agent.askAiAgent`)),1),or(P(`input`,{ref_key:`inputRef`,ref:i,"onUpdate:modelValue":o[0]||=e=>r.value=e,class:lt([`ask-agent-scalar-input`,{"ask-agent-scalar-input-not-empty":r.value.length>0}]),placeholder:D(n)(`agent.askAiAgent`)},null,10,H$n),[[Ga,r.value]]),P(`button`,U$n,[R(D(Jle),{class:`size-3`,weight:`bold`})])],32)):I(``,!0)}});e3();var G$n=$4(W$n,[[`__scopeId`,`data-v-10a4fb90`]]);B(),hX(),fG(),_X(),Xz(),Qs(),iu(),dH(),iV(),Q4();var K$n={class:`flex flex-row justify-between gap-1`},q$n={class:`flex flex-wrap gap-1`},J$n={class:`flex items-center gap-1`},Y$n={class:`operation-layout`},X$n={class:`operation-auth mb-1.5 flex min-h-8 flex-wrap items-center gap-3`},Z$n={class:`operation-description`},Q$n={class:`operation-details`},$$n={class:`examples`},e1n={class:`flex`},t1n=k({__name:`ModernLayout`,props:{id:{},method:{},options:{},path:{},clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let{translate:t}=Z4(),n=z(()=>e.operation.summary||e.path||``),r=oTn(),i=z(()=>!!r.value?.enabled.value),a=xr(),o=z(()=>v3(e.operation)),s=E(),c=E({}),l=z(()=>({...c.value})),u=z(()=>JSON.stringify(l.value));cr(kB,c);let d=E({}),{level:f}=_3(`operation`);return(r,c)=>(j(),N(D(u3),{id:e.id,"aria-labelledby":D(a),label:n.value,tabindex:`-1`,onIntersecting:c[3]||=()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.id})},{default:O(()=>[R(D(m3),null,{default:O(()=>[P(`div`,K$n,[P(`div`,q$n,[e.options?.showOperationId&&e.operation.operationId?(j(),N(D(uH),{key:0},{default:O(()=>[F(T(e.operation.operationId),1)]),_:1})):I(``,!0),D(g7)(e.operation)?(j(),N(D(uH),{key:1,class:lt([`capitalize`,D(C$n)(e.operation)])},{default:O(()=>[F(T(D(g7)(e.operation)),1)]),_:1},8,[`class`])):I(``,!0),e.isWebhook?(j(),N(D(uH),{key:2,class:`font-code text-green flex w-fit items-center justify-center gap-1`},{default:O(()=>[R(D(Xs),{weight:`bold`}),F(` `+T(D(t)(`operation.webhook`)),1)]),_:1})):I(``,!0),R(x$n,{document:e.document,tags:e.operation.tags},null,8,[`document`,`tags`]),R(D(_7),{badges:e.operation[`x-badges`],position:`before`},null,8,[`badges`])]),P(`div`,J$n,[R(D(_7),{badges:e.operation[`x-badges`],position:`after`},null,8,[`badges`])])]),P(`div`,Y$n,[P(`div`,{class:lt([`operation-title`,D(S$n)(e.operation)&&`deprecated`])},[R(D(c3),{onCopyAnchorUrl:c[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.id})},{default:O(()=>[R(D(g3),{id:D(a),level:D(f)},{default:O(()=>[F(T(n.value),1)]),_:1},8,[`id`,`level`])]),_:1})],2),P(`div`,X$n,[R($Yn,{requiredSecurity:e.requiredSecurity},null,8,[`requiredSecurity`]),r.$slots.actions?A(r.$slots,`actions`,{},void 0,!0,0):e.document?(j(),N(b$n,{key:1,document:e.document,isWebhook:e.isWebhook,method:e.method,path:e.path},null,8,[`document`,`isWebhook`,`method`,`path`])):I(``,!0)]),P(`div`,Z$n,[R(x3,{showExtensions:e.options.showExtensions,value:o.value},null,8,[`showExtensions`,`value`]),R(D(Jz),{anchorPrefix:e.id,"aria-label":D(t)(`common.description`),role:`group`,transformType:`heading`,value:e.operation.description,withAnchors:``,withImages:``},null,8,[`anchorPrefix`,`aria-label`,`value`])]),P(`div`,Q$n,[R(eQn,{selectedContentType:s.value,"onUpdate:selectedContentType":c[1]||=e=>s.value=e,breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,parameters:e.operation.parameters,requestBody:D(H)(e.operation.requestBody),scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`selectedContentType`,`breadcrumb`,`document`,`eventBus`,`expansion`,`options`,`parameters`,`requestBody`,`scrollTargetId`,`specificationExtension`]),R(rQn,{selectedContentTypes:d.value,"onUpdate:selectedContentTypes":c[2]||=e=>d.value=e,breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,responses:e.operation.responses,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`selectedContentTypes`,`breadcrumb`,`collapsableItems`,`document`,`eventBus`,`expansion`,`options`,`responses`,`scrollTargetId`,`specificationExtension`]),R(D(gX),null,{default:O(()=>[e.operation.callbacks?(j(),N(fQn,{key:0,breadcrumb:[e.id],callbacks:e.operation.callbacks,class:`mt-6`,document:e.document,eventBus:e.eventBus,expansion:e.expansion,options:e.options,path:e.path,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`breadcrumb`,`callbacks`,`document`,`eventBus`,`expansion`,`options`,`path`,`scrollTargetId`,`specificationExtension`])):I(``,!0)]),_:1})]),P(`div`,$$n,[e.operation.externalDocs?(j(),N(D(i3),{key:0},{default:O(()=>[R(D(rV),{value:e.operation.externalDocs},null,8,[`value`])]),_:1})):I(``,!0),R(D(gX),null,{default:O(()=>[(j(),N(D(eY),{key:u.value,clientOptions:e.clientOptions,clientPickerLabel:D(t)(`clientLibraries.changeClient`),clientSearchLabel:D(t)(`clientLibraries.searchLabel`),codeSampleLabel:D(t)(`operation.codeSample`),codeSampleUnavailable:D(t)(`operation.codeSampleUnavailable`),eventBus:e.eventBus,fallback:``,isWebhook:e.isWebhook,method:e.method,openapiVersion:e.document?.openapi,operation:e.operation,path:e.path,requestBodyCompositionSelection:l.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:s.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer},Mr({header:O(()=>[R(B3,{class:`font-code text-c-2 [&_em]:text-c-1 min-w-0 [&_em]:not-italic`,deprecated:e.operation?.deprecated,path:e.path},null,8,[`deprecated`,`path`])]),footer:O(({exampleName:t})=>[P(`div`,e1n,[R(G$n),e.options.hideTestRequestButton?I(``,!0):(j(),N(D(E$n),{key:0,id:e.id,eventBus:e.eventBus,exampleName:t,method:e.method,path:e.path,requestBodyCompositionSelection:l.value},null,8,[`id`,`eventBus`,`exampleName`,`method`,`path`,`requestBodyCompositionSelection`]))])]),_:2},[i.value?{name:`footer-start`,fn:O(()=>[R(D(s3),{variant:`footer`})]),key:`0`}:void 0]),1032,[`clientOptions`,`clientPickerLabel`,`clientSearchLabel`,`codeSampleLabel`,`codeSampleUnavailable`,`eventBus`,`isWebhook`,`method`,`openapiVersion`,`operation`,`path`,`requestBodyCompositionSelection`,`securitySchemes`,`selectedClient`,`selectedContentType`,`selectedExample`,`selectedServer`]))]),_:1}),R(D(gX),null,{default:O(()=>[e.operation.responses?(j(),N(D(LZn),{key:0,eventBus:e.eventBus,openapiVersion:e.document?.openapi,responses:e.operation.responses,selectedContentTypes:d.value,selectedExample:e.selectedExample,style:{"margin-top":`12px`}},null,8,[`eventBus`,`openapiVersion`,`responses`,`selectedContentTypes`,`selectedExample`])):I(``,!0)]),_:1})])])]),_:3})]),_:3},8,[`id`,`aria-labelledby`,`label`]))}});e3();var n1n=$4(t1n,[[`__scopeId`,`data-v-dd1d0853`]]);B(),yx(),WQt(),iu(),rS();var r1n=k({__name:`Operation`,props:{id:{},method:{},options:{},document:{},path:{},pathValue:{},server:{},securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},authStore:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=z(()=>{let t=H(px(e.pathValue,e.method));if(!t)return null;let n=bx(e.pathValue?.parameters,t.parameters);return{...t,parameters:n}}),n=z(()=>UQt(t.value?.servers??null,e.pathValue?.servers??null,e.server)),r=z(()=>eXn(t.value,e.document)),i=z(()=>lZn(e.document,t.value,e.authStore.getAuthSelectedSchemas({type:`document`,documentName:e.document?.[`x-scalar-navigation`]?.name??``}),e.authStore.getAuthSelectedSchemas({type:`operation`,documentName:e.document?.[`x-scalar-navigation`]?.name??``,path:e.path,method:e.method}),e.securitySchemes));return(a,o)=>t.value?(j(),M(L,{key:0},[e.options.layout===`classic`?(j(),N(B$n,{key:0,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,expansion:e.expansion,isCollapsed:e.isCollapsed,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,scrollTargetId:e.scrollTargetId,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedSecuritySchemes:i.value,selectedServer:n.value,specificationExtension:e.specificationExtension},Mr({_:2},[a.$slots.actions?{name:`actions`,fn:O(()=>[A(a.$slots,`actions`)]),key:`0`}:void 0]),1032,[`id`,`clientOptions`,`document`,`eventBus`,`expansion`,`isCollapsed`,`isWebhook`,`method`,`operation`,`options`,`path`,`requiredSecurity`,`scrollTargetId`,`selectedClient`,`selectedExample`,`selectedSecuritySchemes`,`selectedServer`,`specificationExtension`])):(j(),N(n1n,{key:1,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,expansion:e.expansion,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,scrollTargetId:e.scrollTargetId,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedSecuritySchemes:i.value,selectedServer:n.value,specificationExtension:e.specificationExtension},Mr({_:2},[a.$slots.actions?{name:`actions`,fn:O(()=>[A(a.$slots,`actions`)]),key:`0`}:void 0]),1032,[`id`,`clientOptions`,`document`,`eventBus`,`expansion`,`isWebhook`,`method`,`operation`,`options`,`path`,`requiredSecurity`,`scrollTargetId`,`selectedClient`,`selectedExample`,`selectedSecuritySchemes`,`selectedServer`,`specificationExtension`]))],64)):I(``,!0)}});B(),js(),yx();var i1n=[`id`],a1n=k({__name:`TraversedEntry`,props:{authStore:{},level:{default:0},insideTagContainer:{type:Boolean,default:!1},entries:{},document:{},clientOptions:{},options:{},selectedServer:{},securitySchemes:{},selectedClient:{},selectedExample:{},expandedItems:{},eventBus:{},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=e=>e.type===`tag`&&e.isGroup===!0&&e.isTagGroup===!0,n=e=>e.type===`tag`&&!t(e)&&e.id!==`models`,r=e=>e.type===`operation`,i=e=>e.type===`webhook`,a=e=>e.type===`models`,o=e=>e.type===`model`,s=e=>V(e)&&(!(`$ref`in e)||e[`$ref-value`]!==void 0),c=z(()=>Object.fromEntries(Object.entries(e.document.components?.schemas??{}).map(([e,t])=>[e,s(t)?t:void 0])));function l(t){return i(t)?fx(e.document.webhooks?.[t.name]):fx(e.document.paths?.[t.path])}return(s,u)=>{let d=kr(`TraversedEntry`,!0);return j(!0),M(L,null,jr(e.entries,s=>(j(),N($On,{id:s.id,key:`${s.id}-${e.options.layout}`,expanded:!!e.expandedItems[s.id]},{default:O(()=>[r(s)||i(s)?(j(),N(D(p3),{key:0,omit:e.level!==0},{default:O(()=>[R(D(r1n),{id:s.id,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,expansion:e.expansion,isCollapsed:!e.expandedItems[s.id],isWebhook:i(s),method:s.method,options:e.options,path:i(s)?s.name:s.path,pathValue:l(s),scrollTargetId:e.scrollTargetId,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,server:e.selectedServer,specificationExtension:e.specificationExtension},null,8,[`id`,`authStore`,`clientOptions`,`document`,`eventBus`,`expansion`,`isCollapsed`,`isWebhook`,`method`,`options`,`path`,`pathValue`,`scrollTargetId`,`securitySchemes`,`selectedClient`,`selectedExample`,`server`,`specificationExtension`])]),_:2},1032,[`omit`])):n(s)||t(s)&&e.options.layout===`classic`?(j(),N(D(aOn),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[s.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(n).length>1,nested:e.insideTagContainer,tag:s},{default:O(()=>[`children`in s&&s.children?.length?(j(),N(d,{key:0,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:s.children,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,insideTagContainer:!0,level:e.level+1,options:e.options,scrollTargetId:e.scrollTargetId,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer,specificationExtension:e.specificationExtension},null,8,[`authStore`,`clientOptions`,`document`,`entries`,`eventBus`,`expandedItems`,`expansion`,`level`,`options`,`scrollTargetId`,`securitySchemes`,`selectedClient`,`selectedExample`,`selectedServer`,`specificationExtension`])):I(``,!0)]),_:2},1032,[`eventBus`,`isCollapsed`,`layout`,`moreThanOneTag`,`nested`,`tag`])):t(s)?(j(),M(`div`,{key:2,id:s.id},[R(d,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:s.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,insideTagContainer:e.insideTagContainer,level:e.level+1,options:e.options,scrollTargetId:e.scrollTargetId,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer,specificationExtension:e.specificationExtension},null,8,[`authStore`,`clientOptions`,`document`,`entries`,`eventBus`,`expandedItems`,`expansion`,`insideTagContainer`,`level`,`options`,`scrollTargetId`,`securitySchemes`,`selectedClient`,`selectedExample`,`selectedServer`,`specificationExtension`])],8,i1n)):a(s)&&e.document.components?.schemas?(j(),N(VDn,{key:3,id:s.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[s.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:O(()=>[R(d,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:s.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,level:e.level+1,options:e.options,scrollTargetId:e.scrollTargetId,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer,specificationExtension:e.specificationExtension},null,8,[`authStore`,`clientOptions`,`document`,`entries`,`eventBus`,`expandedItems`,`expansion`,`level`,`options`,`scrollTargetId`,`securitySchemes`,`selectedClient`,`selectedExample`,`selectedServer`,`specificationExtension`])]),_:2},1032,[`id`,`eventBus`,`isCollapsed`,`layout`,`modelsSectionLabel`])):o(s)&&c.value[s.name]?(j(),N(LDn,{key:4,id:s.id,document:e.document,eventBus:e.eventBus,expansion:e.expansion,isCollapsed:!e.expandedItems[s.id],name:s.name,options:e.options,schema:c.value[s.name],scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`id`,`document`,`eventBus`,`expansion`,`isCollapsed`,`name`,`options`,`schema`,`scrollTargetId`,`specificationExtension`])):I(``,!0)]),_:2},1032,[`id`,`expanded`]))),128)}}});B(),_X();var o1n=[`id`],s1n=k({__name:`RenderPluginView`,props:{item:{},options:{},eventBus:{}},setup(e){let t=Cr(`el`);return l3(t,()=>{e.item.sidebar?.show&&e.eventBus?.emit(`intersecting:nav-item`,{id:e.item.id})}),(n,r)=>(j(),M(`div`,{id:e.item.id,ref_key:`el`,ref:t},[R(D(gX),null,{default:O(()=>[e.item.renderer?(j(),N(Ar(e.item.renderer),ut(oi({key:0},{component:e.item.component,options:e.options,...e.item.props})),null,16)):(j(),N(Ar(e.item.component),ut(oi({key:1},{options:e.options,...e.item.props})),null,16))]),_:1})],8,o1n))}});B();var c1n={key:0,class:`plugin-view`},l1n=k({__name:`RenderPlugins`,props:{viewName:{},options:{},eventBus:{},documentSlug:{}},setup(e){let{getViewComponents:t}=TEn(),n=z(()=>t(e.viewName,e.documentSlug));return(t,r)=>n.value.length?(j(),M(`div`,c1n,[(j(!0),M(L,null,jr(n.value,t=>(j(),N(s1n,{key:t.id,eventBus:e.eventBus,item:t,options:e.options},null,8,[`eventBus`,`item`,`options`]))),128))])):I(``,!0)}});B(),e3();var u1n={},d1n={class:`section-flare`};function f1n(e,t){return j(),M(`div`,d1n,[...t[0]||=[ni(`<div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div>`,8)]])}var p1n=$4(u1n,[[`render`,f1n],[`__scopeId`,`data-v-5cebff7a`]]);B(),hX(),_X(),eK(),iu(),rS(),ax();var m1n={class:`references-container`},h1n={key:3,class:`h-dvh`},g1n=k({__name:`Content`,props:{infoSectionId:{},contextChain:{default:()=>[]},documentSlug:{},options:{},document:{},clientDocument:{},authStore:{},xScalarDefaultClient:{},xScalarDefaultExample:{},items:{},expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function},scrollTargetId:{},specificationExtension:{},expansion:{}},setup(e){let t=z(()=>qq(r3(e.options.hiddenClients))),n=z(()=>eZn(e.items,e.options.layout)),r=z(()=>e.contextChain.length>=2?e.contextChain:tZn(e.items,e.options.layout)),i=z(()=>ICn(a.value?.info?.[`x-scalar-sdk-installation`])),a=z(()=>tx(e.document)?e.document:void 0),o=z(()=>tx(e.clientDocument)?e.clientDocument:void 0),s=z(()=>nx(e.document)?e.document:void 0),c=z(()=>nx(e.clientDocument)?e.clientDocument:void 0),l=z(()=>rx(e.document)),u=z(()=>nx(e.document)?e.document[`x-original-aas-version`]??e.document.asyncapi:a.value?.[`x-original-oas-version`]),d=z(()=>v3(e.document)),f=z(()=>v3(e.document?.info)),p=z(()=>tS(e.options?.servers??o.value?.servers,{baseServerUrl:e.options?.baseServerURL,documentUrl:e.clientDocument?.[`x-scalar-original-source-url`]})),m=z(()=>nS(o.value??null,null,null,p.value)),h=z(()=>c.value?IG(c.value,{webSocketOnly:!1}):[]),g=z(()=>OKt(c.value??null,h.value)),_=z(()=>{let t=c.value??o.value,n=t?.components?H(t.components):void 0;return $x(c.value?qG(c.value,{operations:{}}):n?.securitySchemes,e.options.authentication?.securitySchemes,e.authStore,t?.[`x-scalar-navigation`]?.name??``,e.options.oauth2RedirectUri)}),v=z(()=>!!e.document&&!!e.clientDocument&&(!!s.value||!e.options.hideTestRequestButton));return Ii(()=>{VOn()}),pEn(`document`),(o,c)=>(j(),M(L,null,[R(D(p1n)),P(`div`,m1n,[A(o.$slots,`start`),R(D(l1n),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:`content.start`},null,8,[`documentSlug`,`eventBus`,`options`]),R(D(yDn),{id:e.infoSectionId,applicationIdentifier:s.value?.id,documentDownloadType:e.options.documentDownloadType,documentExtensions:d.value,documentType:l.value,documentUrl:e.document?.[`x-scalar-original-source-url`],eventBus:e.eventBus,externalDocs:a.value?.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.document?.info,infoExtensions:f.value,layout:e.options.layout,specificationVersion:u.value},{selectors:O(()=>[R(D(gX),null,{default:O(()=>[p.value?.length?(j(),N(D(S3),{key:0,class:`scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]`},{default:O(()=>[R(D(jDn),{eventBus:e.eventBus,selectedServer:m.value,servers:p.value},null,8,[`eventBus`,`selectedServer`,`servers`])]),_:1})):I(``,!0)]),_:1}),R(D(gX),null,{default:O(()=>[h.value.length?(j(),N(D(S3),{key:0,class:`scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]`},{default:O(()=>[R(D(eTn),{eventBus:e.eventBus,options:e.options,selectedServer:g.value,servers:h.value},null,8,[`eventBus`,`options`,`selectedServer`,`servers`])]),_:1})):I(``,!0)]),_:1}),R(D(gX),null,{default:O(()=>[v.value?(j(),N(D(S3),{key:0,class:`scalar-reference-intro-auth scalar-client introduction-card-item leading-normal`},{default:O(()=>[R(D(ZXn),{authStore:e.authStore,document:e.clientDocument,environment:e.environment,eventBus:e.eventBus,options:e.options,securitySchemes:_.value,selectedServer:m.value},null,8,[`authStore`,`document`,`environment`,`eventBus`,`options`,`securitySchemes`,`selectedServer`])]),_:1})):I(``,!0)]),_:1}),R(D(gX),null,{default:O(()=>[i.value.length?(j(),N(D(S3),{key:0,class:`introduction-card-item scalar-reference-intro-clients`},{default:O(()=>[R(D(QCn),{class:`introduction-card-item scalar-reference-intro-clients`,eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient,xScalarSdkInstallation:i.value},null,8,[`eventBus`,`selectedClient`,`xScalarSdkInstallation`])]),_:1})):t.value.length&&!s.value?(j(),N(D(S3),{key:1,class:`introduction-card-item scalar-reference-intro-clients`},{default:O(()=>[R(D(xTn),{class:`introduction-card-item scalar-reference-intro-clients`,clientOptions:t.value,eventBus:e.eventBus,featuredClients:e.options.featuredClients,selectedClient:e.xScalarDefaultClient},null,8,[`clientOptions`,`eventBus`,`featuredClients`,`selectedClient`])]),_:1})):I(``,!0)]),_:1})]),_:1},8,[`id`,`applicationIdentifier`,`documentDownloadType`,`documentExtensions`,`documentType`,`documentUrl`,`eventBus`,`externalDocs`,`headingSlugGenerator`,`info`,`infoExtensions`,`layout`,`specificationVersion`]),n.value?(j(),N(D(sZn),{key:0,chain:r.value,onNavigate:c[0]||=t=>e.eventBus.emit(`scroll-to:nav-item`,{id:t})},null,8,[`chain`])):I(``,!0),e.items.length&&a.value?(j(),N(a1n,{key:1,authStore:e.authStore,clientOptions:t.value,document:a.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,options:e.options,scrollTargetId:e.scrollTargetId,securitySchemes:_.value,selectedClient:e.xScalarDefaultClient,selectedExample:e.xScalarDefaultExample,selectedServer:m.value,specificationExtension:e.specificationExtension},null,8,[`authStore`,`clientOptions`,`document`,`entries`,`eventBus`,`expandedItems`,`expansion`,`options`,`scrollTargetId`,`securitySchemes`,`selectedClient`,`selectedExample`,`selectedServer`,`specificationExtension`])):e.items.length&&s.value?(j(),N(D(YXn),{key:2,document:s.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,expansion:e.expansion,options:e.options,scrollTargetId:e.scrollTargetId,specificationExtension:e.specificationExtension},null,8,[`document`,`entries`,`eventBus`,`expandedItems`,`expansion`,`options`,`scrollTargetId`,`specificationExtension`])):I(``,!0),R(D(l1n),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:`content.end`},null,8,[`documentSlug`,`eventBus`,`options`]),A(o.$slots,`end`),D(OOn)?I(``,!0):(j(),M(`div`,h1n))])],64))}});B();var _1n={key:0,"aria-hidden":`true`,"data-scalar-crawler-nav":``,hidden:``},v1n=[`href`],y1n=k({__name:`CrawlerNav`,props:{items:{},basePath:{},isMultiDocument:{type:Boolean},options:{}},setup(e){let t=z(()=>{let t=[],n=r=>{for(let i of e2(`reference`,r,e.options?.hideOperationDefaultExamples)){let r=_On(i.id,e.basePath,e.isMultiDocument);r&&t.push({id:i.id,href:r,title:i.title}),`children`in i&&i.children&&n(i.children)}};return n(e.items),t});return(e,n)=>t.value.length>0?(j(),M(`nav`,_1n,[P(`ul`,null,[(j(!0),M(L,null,jr(t.value,e=>(j(),M(`li`,{key:e.id},[P(`a`,{href:e.href},T(e.title),9,v1n)]))),128))])])):I(``,!0)}});B(),nI(),Qs(),Kl(),Q4();var b1n=[`data-scalar-scroll-header`],x1n={class:`flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2`},S1n={key:1,class:`flex-1 text-sm font-medium whitespace-nowrap`},C1n={class:`flex h-6 items-center gap-1 pl-1`},w1n=k({__name:`MobileHeader`,props:{breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},emits:[`toggleSidebar`],setup(e,{emit:t}){let n=t,{translate:r}=Z4(),i=Ul({base:`lg:hidden items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10 [grid-area:header]`,variants:{open:{true:`h-(--refs-sidebar-height) custom-scrollbar flex flex-col z-50`}}});return(t,a)=>(j(),M(L,null,[A(t.$slots,`sidebar`,ut(ei({sidebarClasses:`hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]`}))),P(`div`,{class:lt([`t-doc__header`,D(i)({open:e.isSidebarOpen})]),"data-scalar-scroll-header":!e.isSidebarOpen||void 0},[P(`header`,x1n,[e.showSidebar?(j(),N(D(eI),{key:0,icon:e.isSidebarOpen?D(Zs):D(qhe),label:e.isSidebarOpen?D(r)(`navigation.closeMenu`):D(r)(`navigation.openMenu`),size:`md`,onClick:a[0]||=e=>n(`toggleSidebar`)},null,8,[`icon`,`label`])):I(``,!0),e.showSidebar?(j(),M(`span`,S1n,T(e.breadcrumb),1)):A(t.$slots,`search`,{},void 0,void 0,2),P(`div`,C1n,[A(t.$slots,`actions`)])]),e.isSidebarOpen?A(t.$slots,`sidebar`,ut(ei({sidebarClasses:`overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none`})),void 0,void 0,0):I(``,!0)],10,b1n)],64))}});B(),Qz(),Qs(),Q4();var T1n={class:`text-c-2 hover:text-c-1 hover:bg-b-2 flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none`,type:`button`},E1n={class:`custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6`},D1n={class:`text-c-2 flex items-center justify-center gap-1 p-2 text-sm`},v7=k({__name:`ApiReferenceToolbarPopover`,setup(e){let{translate:t}=Z4();return(e,n)=>(j(),N(D(Zz),{class:`bg-b-2 dark:bg-b-2 max-h-[inherit] max-w-[inherit] rounded-lg p-0 text-base`,placement:`bottom-end`,teleport:``},{default:O(({open:t})=>[A(e.$slots,`button`,{open:t},()=>[P(`button`,T1n,[A(e.$slots,`label`),R(D(zs),{class:lt([`size-3`,{"rotate-180":t}])},null,8,[`class`])])])]),popover:O(n=>[P(`div`,E1n,[A(e.$slots,`default`,ut(ei(n)))]),P(`div`,D1n,[R(D(Us),{class:`size-3.5 shrink-0`}),P(`div`,null,[A(e.$slots,`info`,{},()=>[F(T(D(t)(`developerTools.localhostOnly`)),1)])])])]),_:3}))}});B(),nI(),Qs(),$B(),Q4();var O1n={class:`text-c-2 hover:text-c-1 hover:bg-b-2 ml-auto flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none`,type:`button`},k1n={class:`-m-2 flex flex-col gap-2 leading-relaxed`},A1n={class:`bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm`},j1n=`showDeveloperTools: "never"`,M1n=k({__name:`ApiReferenceToolbarTitle`,setup(e){let{copyToClipboard:t}=QB(),{translate:n}=Z4();return(e,r)=>(j(),N(v7,{class:`w-120`,placement:`bottom-start`},{button:O(()=>[P(`button`,O1n,[R(D(Us)),F(` `+T(D(n)(`developerTools.title`)),1)])]),info:O(()=>[F(T(D(n)(`developerTools.localhostOnly`)),1)]),default:O(()=>[P(`div`,k1n,[P(`div`,null,T(D(n)(`developerTools.intro`)),1),P(`div`,null,[F(T(D(n)(`developerTools.disableToolbarBefore`))+` `,1),P(`div`,A1n,[P(`code`,{class:`font-code`},T(j1n)),R(D(eI),{class:`-m-1 p-1.25`,icon:D(Hs),label:D(n)(`actions.copyToClipboard`),size:`sm`,onClick:r[0]||=e=>D(t)(j1n)},null,8,[`icon`,`label`])]),F(` `+T(D(n)(`developerTools.disableToolbarAfter`)),1)])])]),_:1}))}});Kl(),B();var N1n={key:0,class:`text-c-1 flex items-start justify-between gap-2 text-sm/none font-medium whitespace-nowrap`},y7=k({inheritAttrs:!1,__name:`ScalarFormField`,props:{is:{default:`label`}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),N(Ar(e.is),ut(ei(D(t)(`flex flex-col gap-1.5 rounded`))),{default:O(()=>[n.$slots.label?(j(),M(`div`,N1n,[A(n.$slots,`label`)])):I(``,!0),A(n.$slots,`default`),n.$slots.below?(j(),M(`span`,{key:1,class:lt(D(t)(`-mt-1.5 text-sm`))},[A(n.$slots,`below`)],2)):I(``,!0)]),_:3},16))}});jLt(),Kl(),B();var P1n=k({inheritAttrs:!1,__name:`ScalarFormInputGroup`,props:{is:{default:`div`}},setup(e){let{cx:t}=Gl();return ALt(),(n,r)=>(j(),N(Ar(e.is),ut(ei(D(t)(`flex flex-col border rounded divide-y`))),{default:O(()=>[A(n.$slots,`default`)]),_:3},16))}}),F1n={};aS(),B();var I1n={class:`flex min-w-0 flex-col gap-3`},L1n={class:`contents`},R1n={class:`text-c-1 text-base font-medium`};function z1n(e,t,n,r,i,a){return j(),M(`fieldset`,I1n,[P(`legend`,L1n,[P(`span`,R1n,[A(e.$slots,`label`)])]),A(e.$slots,`default`)])}var B1n=iS(F1n,[[`render`,z1n]]);B(),e3();var V1n={},H1n={class:`text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline`};function U1n(e,t){return j(),M(`p`,H1n,[A(e.$slots,`default`)])}var W1n=$4(V1n,[[`render`,U1n]]);B(),Mw(),iZ(),ZB(),Q4(),cwn();var G1n=k({__name:`ApiReferenceToolbarRegisterButton`,props:Lr({workspace:{},externalUrls:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),emits:[`update:url`],setup(e){let t=Hr(e,`url`),{toast:n}=JB(),r=rZ(),{translate:i}=Z4();function a(t){let n=new URL(`${e.externalUrls.dashboardUrl}/register`);n.searchParams.set(`url`,t),e.sdks.forEach(e=>n.searchParams.append(`sdk`,e)),window.open(n.toString(),`_blank`)}async function o(){if(r.isLoading||!e.workspace)return;if(t.value){a(t.value);return}r.start();let o=e.workspace.exportActiveDocument(`json`);if(!o)n(i(`developerTools.unableToExportDocument`),`error`),await r.invalidate();else try{t.value=await swn(o,e.externalUrls),await r.validate(),a(t.value),await nr(),await r.clear()}catch(e){let t=e instanceof Error?e.message:i(`developerTools.unknownError`);n(t,`error`),await r.invalidate()}}return(e,t)=>(j(),N(D(jw),{class:`h-auto p-2.5`,loader:D(r),onClick:o},{default:O(()=>[A(e.$slots,`default`,{},()=>[F(T(D(i)(`developerTools.generate`)),1)])]),_:3},8,[`loader`]))}});B(),Qs(),Q4();var K1n={class:`text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium`},q1n=k({__name:`ApiReferenceToolbarShareRegister`,props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=Z4(),n=[{icon:Gs,labelKey:`developerTools.passwordProtection`},{icon:$me,labelKey:`developerTools.customDomains`},{icon:Cue,labelKey:`developerTools.freeFormContent`},{icon:nfe,labelKey:`developerTools.cdnInfrastructure`},{icon:Cme,labelKey:`developerTools.pullFromGitHub`},{icon:Dpe,labelKey:`developerTools.markdownMdx`},{icon:Kye,labelKey:`developerTools.spectralLinting`},{icon:Uue,labelKey:`developerTools.jsonSchemaHosting`},{icon:Js,labelKey:`developerTools.askAi`},{icon:L_e,labelKey:`developerTools.mcpServers`}];return(r,i)=>(j(),M(L,null,[P(`ul`,K1n,[(j(),M(L,null,jr(n,e=>P(`li`,{key:e.labelKey,class:`flex items-center gap-2`},[(j(),N(Ar(e.icon),{class:`text-c-3 size-3.5`,weight:`bold`})),F(` `+T(D(t)(e.labelKey)),1)])),64))]),R(G1n,{externalUrls:e.externalUrls,workspace:e.workspace},{default:O(()=>[F(T(D(t)(`developerTools.deployOnScalar`)),1)]),_:1},8,[`externalUrls`,`workspace`]),R(W1n,null,{default:O(()=>[F(T(D(t)(`developerTools.deployFree`))+` `,1),i[0]||=P(`br`,null,null,-1),F(` `+T(D(t)(`developerTools.additionalFeaturesMightRequire`))+` `,1),i[1]||=P(`span`,null,[P(`a`,{href:`https://scalar.com/products/docs/getting-started`,rel:`noopener noreferrer`,target:`_blank`},` Scalar Pro. `)],-1)]),_:1})],64))}});B(),Q4();var J1n={class:`text-c-2 mb-2 leading-normal`},Y1n=k({__name:`DeployApiReference`,props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=Z4();return(n,r)=>(j(),N(v7,{class:`w-120`},{label:O(()=>[F(T(D(t)(`developerTools.deploy`)),1)]),default:O(()=>[R(D(B1n),null,{label:O(()=>[F(T(D(t)(`developerTools.scalarDocs`)),1)]),default:O(()=>[P(`p`,J1n,T(D(t)(`developerTools.deployDescription`)),1),R(q1n,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,[`externalUrls`,`workspace`])]),_:1})]),_:1}))}});B(),Qs();var X1n=k({__name:`ScalarCheckbox`,props:{selected:{type:Boolean},indeterminate:{type:Boolean,default:!1},type:{default:`checkbox`}},setup(e){let t=e;return(e,n)=>(j(),M(`div`,{class:lt([`flex size-4 items-center justify-center p-0.75`,[t.selected||t.indeterminate&&t.type===`checkbox`?`bg-c-accent text-b-1`:`shadow-border text-transparent`,t.type===`checkbox`?`rounded`:`rounded-full`]])},[t.selected?(j(),N(D(Vs),{key:0,class:`size-3`,weight:`bold`})):t.indeterminate&&t.type===`checkbox`?(j(),N(D(Vge),{key:1,"aria-hidden":`true`,class:`size-3`,weight:`bold`})):I(``,!0)],2))}});lB(),Kl(),B();var Z1n={class:`min-w-0 flex-1 truncate text-left`},Q1n=[`type`],$1n=k({inheritAttrs:!1,__name:`ScalarCheckboxInput`,props:Lr({type:{default:`checkbox`},indeterminate:{type:Boolean,default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=Hr(e,`modelValue`),{stylingAttrsCx:r,otherAttrs:i}=Gl();return(e,a)=>(j(),N(D(cB),oi({is:`label`},D(r)(`cursor-pointer gap-2 hover:bg-b-2`,{"text-c-1":n.value})),{default:O(()=>[R(X1n,{class:`shrink-0`,indeterminate:t.indeterminate&&t.type===`checkbox`,selected:n.value,type:t.type},null,8,[`indeterminate`,`selected`,`type`]),P(`div`,Z1n,[A(e.$slots,`default`)]),or(P(`input`,oi({ref:`inputEl`,"onUpdate:modelValue":a[0]||=e=>n.value=e,class:`sr-only`,type:t.type},D(i)),null,16,Q1n),[[rae,n.value]])]),_:3},16))}});B();var e0n=k({__name:`ScalarCheckboxRadioGroup`,props:Lr({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Hr(e,`modelValue`),n=xr();return(r,i)=>(j(),N(D(P1n),null,{default:O(()=>[(j(!0),M(L,null,jr(e.options,e=>(j(),N($1n,{key:e.value,modelValue:t.value?.value===e.value,name:D(n),type:`radio`,value:e.value,"onUpdate:modelValue":n=>t.value=n?e:void 0},{default:O(()=>[F(T(e.label),1)]),_:2},1032,[`modelValue`,`name`,`value`,`onUpdate:modelValue`]))),128))]),_:1}))}});B(),Q4();var t0n=k({__name:`ApiReferenceToolbarConfigLayout`,props:{modelValue:{},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=Hr(e,`modelValue`),{translate:n}=Z4(),r=z(()=>[{label:n(`developerTools.layoutModern`),value:`modern`},{label:n(`developerTools.layoutClassic`),value:`classic`}]),i=z({get:()=>r.value.find(e=>e.value===t.value)??r.value[0],set:e=>t.value=e.value});return(e,t)=>(j(),N(D(e0n),{modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,options:r.value},null,8,[`modelValue`,`options`]))}});Kl(),B();var n0n=[`aria-disabled`],r0n={key:0,class:`sr-only`},i0n=k({inheritAttrs:!1,__name:`ScalarToggleSlider`,props:{thumb:{default:`start`},disabled:{type:Boolean},label:{}},setup(e){let t=Ul({base:`relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300`,variants:{disabled:{true:`cursor-not-allowed opacity-40`}}}),{cx:n}=Gl();return(r,i)=>(j(),M(`button`,oi({"aria-disabled":e.disabled,type:`button`},D(n)(D(t)({disabled:e.disabled}))),[P(`div`,{class:lt([`bg-b-1 absolute top-px left-px flex h-3 w-3 items-center justify-center rounded-full transition-transform duration-300`,{"translate-x-1.25":e.thumb===`center`,"translate-x-2.5":e.thumb===`end`}])},null,2),e.label?(j(),M(`span`,r0n,T(e.label),1)):I(``,!0)],16,n0n))}});B();var a0n=k({__name:`ScalarToggle`,props:Lr({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=Hr(e,`modelValue`);function r(){t.disabled||(n.value=!n.value)}return(t,i)=>(j(),N(i0n,{"aria-checked":n.value,class:lt(n.value?`bg-c-accent`:``),disabled:e.disabled,label:e.label,role:`switch`,thumb:n.value?`end`:`start`,onClick:r},null,8,[`aria-checked`,`class`,`disabled`,`label`,`thumb`]))}});lB(),Kl(),B();var o0n={class:`min-w-0 flex-1 truncate text-left`},b7=k({inheritAttrs:!1,__name:`ScalarToggleInput`,props:{modelValue:{type:Boolean},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=Hr(e,`modelValue`),{stylingAttrsCx:n,otherAttrs:r}=Gl();return(e,i)=>(j(),N(D(cB),oi({is:`label`},D(n)(`cursor-pointer gap-2 hover:bg-b-2`,{"text-c-1":t.value})),{default:O(()=>[P(`div`,o0n,[A(e.$slots,`default`)]),R(a0n,oi({modelValue:t.value,"onUpdate:modelValue":i[0]||=e=>t.value=e,class:`shrink-0`},D(r)),null,16,[`modelValue`])]),_:3},16))}});B(),h(),Q4();var s0n=k({__name:`ApiReferenceToolbarConfigLayoutOptions`,props:Lr({configuration:{}},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Hr(e,`modelValue`),{translate:n}=Z4(),r=(n,r=!1)=>t.value[n]??e.configuration?.[n]??r,i=(e,n)=>{t.value={...t.value,[e]:n}},a=z(()=>e.configuration?.modelsSectionLabel??`Models`),o=z(()=>n(`developerTools.expandAll`,{label:a.value})),s=z(()=>n(`developerTools.hideModels`,{label:a.value}));return(e,t)=>(j(),N(D(P1n),null,{default:O(()=>[R(D(b7),{modelValue:r(`showSidebar`,!0),"onUpdate:modelValue":t[0]||=e=>i(`showSidebar`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.showSidebar`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`defaultOpenFirstTag`,!0),"onUpdate:modelValue":t[1]||=e=>i(`defaultOpenFirstTag`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.defaultOpenFirstTag`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`defaultOpenAllTags`),"onUpdate:modelValue":t[2]||=e=>i(`defaultOpenAllTags`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.defaultOpenAllTags`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`expandAllModelSections`),"onUpdate:modelValue":t[3]||=e=>i(`expandAllModelSections`,!!e)},{default:O(()=>[F(T(o.value),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`expandAllParameters`,!0),"onUpdate:modelValue":t[4]||=e=>i(`expandAllParameters`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.expandAllParameters`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`expandAllSchemaProperties`),"onUpdate:modelValue":t[5]||=e=>i(`expandAllSchemaProperties`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.expandAllSchemaProperties`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`expandAllResponses`),"onUpdate:modelValue":t[6]||=e=>i(`expandAllResponses`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.expandAllResponses`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`hideClientButton`),"onUpdate:modelValue":t[7]||=e=>i(`hideClientButton`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.hideClientButton`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`hideDarkModeToggle`),"onUpdate:modelValue":t[8]||=e=>i(`hideDarkModeToggle`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.hideDarkModeToggle`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`hideModels`),"onUpdate:modelValue":t[9]||=e=>i(`hideModels`,!!e)},{default:O(()=>[F(T(s.value),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`hideModelNames`),"onUpdate:modelValue":t[10]||=e=>i(`hideModelNames`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.hideModelNames`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`hideSearch`),"onUpdate:modelValue":t[11]||=e=>i(`hideSearch`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.hideSearch`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`showOperationId`),"onUpdate:modelValue":t[12]||=e=>i(`showOperationId`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.showOperationId`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`hideTestRequestButton`),"onUpdate:modelValue":t[13]||=e=>i(`hideTestRequestButton`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.hideTestRequestButton`)),1)]),_:1},8,[`modelValue`]),R(D(b7),{modelValue:r(`orderRequiredPropertiesFirst`,!0),"onUpdate:modelValue":t[14]||=e=>i(`orderRequiredPropertiesFirst`,!!e)},{default:O(()=>[F(T(D(n)(`developerTools.orderRequiredPropertiesFirst`)),1)]),_:1},8,[`modelValue`])]),_:1}))}});B();var c0n=[`--scalar-color-1`,`--scalar-color-2`,`--scalar-color-3`,`--scalar-background-1`,`--scalar-background-2`,`--scalar-background-3`,`--scalar-color-accent`];function l0n(e,t){let n=[...t.matchAll(RegExp(`(${e}): ([^;]+);`,`gm`))];return n.length===0?{}:Object.fromEntries(n.map(e=>[e[1],e[2]]))}function u0n(e){return e?{...l0n(`--scalar-color-[1-3]`,e),...l0n(`--scalar-background-[1-3]`,e),...l0n(`--scalar-color-accent`,e)}:{}}function d0n(e){return{colors:z(()=>({light:u0n(wn(e).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),dark:u0n(wn(e).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])}))}}Kl(),B();var f0n=k({inheritAttrs:!1,__name:`ScalarThemeSwatches`,props:{css:{}},setup(e){let{colors:t}=d0n(()=>e.css),{cx:n}=Gl();return(e,r)=>(j(),M(`div`,oi({style:{"--bg-light":D(t).light[`--scalar-background-1`],"--bg-dark":D(t).dark[`--scalar-background-1`]}},D(n)(`flex *:size-3 overflow-hidden rounded`,`bg-(--bg-light) dark:bg-(--bg-dark)`)),[(j(!0),M(L,null,jr(D(c0n),e=>(j(),M(`div`,{key:e,class:`bg-(--bg-light) dark:bg-(--bg-dark)`,style:ct({"--bg-light":D(t).light[e],"--bg-dark":D(t).dark[e]})},null,4))),128))],16))}});B(),fT(),lB(),uB(),Qs();var p0n={class:`min-w-0 flex-1 truncate text-left`},m0n={class:`text-c-1 inline-block min-w-0 flex-1 truncate`},h0n=k({__name:`ApiReferenceToolbarConfigTheme`,props:{modelValue:{},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=Hr(e,`modelValue`),n=z(()=>uvn.filter(e=>e!==`none`).map(e=>({id:e,label:dvn[e],css:C2[e].theme}))),r=z({get:()=>{let e=t.value??`default`;return n.value.find(t=>t.id===e)??n.value[0]},set:e=>t.value=e.id});return(e,t)=>(j(),N(D(dT),{modelValue:r.value,"onUpdate:modelValue":t[0]||=e=>r.value=e,options:n.value,resize:``},{default:O(({open:e})=>[R(D(cB),null,{default:O(()=>[P(`div`,p0n,T(r.value.label),1),R(D(f0n),{class:`mr-2`,css:r.value.css},null,8,[`css`]),R(D(zs),{class:lt([`size-3.5 transition-transform`,{"rotate-180":e}])},null,8,[`class`])]),_:2},1024)]),option:O(({selected:e,option:t})=>[R(D(Nw),{selected:e},null,8,[`selected`]),P(`span`,m0n,T(t.label),1),R(D(f0n),{css:t.css},null,8,[`css`])]),_:1},8,[`modelValue`,`options`]))}});B(),dG(),lB(),zH(),Q4();var g0n={class:`flex flex-col gap-4`},_0n=[`aria-label`],v0n={value:`alpha`},y0n={value:`preserve`},b0n=k({__name:`ModifyConfiguration`,props:Lr({configuration:{}},{overrides:{},overridesModifiers:{}}),emits:[`update:overrides`],setup(e){let t=Hr(e,`overrides`),{translate:n}=Z4(),r=z(()=>LH({...t.value,...e.configuration,...t.value})),i=z({get:()=>t.value?.theme??e.configuration?.theme??`default`,set:e=>t.value={...t.value,theme:e}}),a=z({get:()=>t.value?.layout??e.configuration?.layout??`modern`,set:e=>t.value={...t.value,layout:e}}),o=z({get:()=>t.value?.orderSchemaPropertiesBy??e.configuration?.orderSchemaPropertiesBy??`alpha`,set:e=>t.value={...t.value,orderSchemaPropertiesBy:e}});return(s,c)=>(j(),N(v7,{class:`w-120`},{label:O(()=>[F(T(D(n)(`developerTools.configure`)),1)]),default:O(()=>[R(D(B1n),null,{label:O(()=>[F(T(D(n)(`developerTools.scalarConfiguration`)),1)]),default:O(()=>[R(D(uG),{class:`bg-b-1.5 flex max-h-40 flex-col rounded border text-sm`,content:r.value,lang:`json`},null,8,[`content`])]),_:1}),P(`div`,g0n,[R(D(y7),null,{label:O(()=>[F(T(D(n)(`developerTools.theme`)),1)]),default:O(()=>[R(h0n,{modelValue:i.value,"onUpdate:modelValue":c[0]||=e=>i.value=e},null,8,[`modelValue`])]),_:1}),R(D(y7),null,{label:O(()=>[F(T(D(n)(`developerTools.layout`)),1)]),default:O(()=>[R(t0n,{modelValue:a.value,"onUpdate:modelValue":c[1]||=e=>a.value=e},null,8,[`modelValue`])]),_:1}),R(D(y7),null,{label:O(()=>[F(T(D(n)(`developerTools.orderSchemaPropertiesBy`)),1)]),default:O(()=>[R(D(cB),{is:`div`},{default:O(()=>[or(P(`select`,{"onUpdate:modelValue":c[2]||=e=>o.value=e,"aria-label":D(n)(`developerTools.orderSchemaPropertiesBy`),class:`text-c-1 w-full cursor-pointer border-0 bg-transparent p-0 outline-offset-4`},[P(`option`,v0n,T(D(n)(`developerTools.alphabeticalOrder`)),1),P(`option`,y0n,T(D(n)(`developerTools.documentOrder`)),1)],8,_0n),[[nae,o.value]])]),_:1})]),_:1}),R(D(y7),{is:`div`},{label:O(()=>[F(T(D(n)(`developerTools.layoutOptions`)),1)]),default:O(()=>[R(s0n,{modelValue:t.value,"onUpdate:modelValue":c[3]||=e=>t.value=e,configuration:e.configuration},null,8,[`modelValue`,`configuration`])]),_:1})])]),_:1}))}}),x0n,S0n,C0n,w0n,T0n,E0n,D0n,O0n,k0n=s((()=>{lB(),Kl(),B(),x0n={class:`relative flex flex-1 items-center`},S0n={key:0,class:`whitespace-nowrap text-transparent select-none`},C0n=[`aria-readonly`,`readonly`],w0n={key:1,class:`absolute inset-0 flex items-center overflow-hidden whitespace-nowrap select-none`},T0n={key:0,class:`text-c-2`},E0n={class:`text-transparent`},D0n={key:1,class:`text-c-2`},O0n=k({inheritAttrs:!1,__name:`ScalarTextInput`,props:Lr({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:Lr([`click`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=Hr(e,`modelValue`),i=E(),{stylingAttrsCx:a,otherAttrs:o}=Gl();Ii(()=>{`autofocus`in o.value&&i.value?.focus()});function s(t){n(`click`,t),e.readonly?i.value?.select():i.value?.focus()}return(t,n)=>(j(),N(D(cB),oi({is:`div`},D(a)(`cursor-text bg-b-1 text-c-1 dark:bg-b-1.5`),{onClick:s}),{default:O(()=>[P(`div`,x0n,[t.$slots.prefix?(j(),M(`div`,S0n,[A(t.$slots,`prefix`)])):I(``,!0),or(P(`input`,oi({ref_key:`input`,ref:i,"onUpdate:modelValue":n[0]||=e=>r.value=e,"aria-readonly":e.readonly||void 0,class:`z-1 min-w-0 flex-1 rounded-none border-none bg-transparent placeholder:font-[inherit] focus-within:outline-none`,readonly:e.readonly},D(o)),null,16,C0n),[[rae,r.value]]),t.$slots.prefix||t.$slots.suffix?(j(),M(`div`,w0n,[t.$slots.prefix?(j(),M(`span`,T0n,[A(t.$slots,`prefix`)])):I(``,!0),P(`span`,E0n,T(r.value||t.$attrs.placeholder),1),t.$slots.suffix?(j(),M(`span`,D0n,[A(t.$slots,`suffix`)])):I(``,!0)])):I(``,!0)]),A(t.$slots,`aside`)]),_:3},16))}})})),x7,A0n=s((()=>{k0n(),x7=O0n})),j0n,M0n=s((()=>{jH(),iUt(),A0n(),B(),jT(),j0n=k({__name:`ScalarTextInputCopy`,props:Lr({duration:{default:1500},editable:{type:Boolean},immediate:{type:Boolean}},{modelValue:{},modelModifiers:{},copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:modelValue`,`update:copied`],setup(e){Ii(()=>{e.immediate&&t.value&&r(t.value)});let t=Hr(e,`modelValue`),n=Hr(e,`copied`),{copy:r,copied:i}=Ntt({legacy:!0,copiedDuring:e.duration});return dr(i,e=>n.value=e),(a,o)=>(j(),N(x7,{modelValue:t.value,"onUpdate:modelValue":o[1]||=e=>t.value=e,readonly:!e.editable,onClick:o[2]||=e=>t.value&&D(r)(t.value)},{aside:O(()=>[R(D(MH),{class:`bg-b-1 hover:bg-b-1.5 dark:bg-b-2 dark:hover:bg-b-2 z-1`,copied:n.value||D(i),placement:`left`,onClick:o[0]||=Ka(e=>t.value&&D(r)(t.value),[`stop`])},Mr({backdrop:O(()=>[R(D(AH),{class:`bg-b-1 group-hover/copy-button:bg-b-1.5 dark:bg-b-1.5 dark:group-hover/copy-button:bg-b-1.5`})]),_:2},[a.$slots.copy?{name:`copy`,fn:O(()=>[A(a.$slots,`copy`)]),key:`0`}:void 0,a.$slots.copied?{name:`copied`,fn:O(()=>[A(a.$slots,`copied`)]),key:`1`}:void 0]),1032,[`copied`])]),_:3},8,[`modelValue`,`readonly`]))}})})),N0n,P0n=s((()=>{M0n(),N0n=j0n})),F0n=s((()=>{A0n(),P0n()}));B(),Mw(),iZ(),F0n(),ZB(),Q4(),cwn();var I0n=k({__name:`ApiReferenceToolbarShareTemporary`,props:Lr({workspace:{},externalUrls:{}},{url:{},urlModifiers:{}}),emits:[`update:url`],setup(e){let{toast:t}=JB(),n=rZ(),{translate:r}=Z4(),i=Hr(e,`url`);async function a(){if(n.isLoading||!e.workspace||i.value)return;n.start();let a=e.workspace.exportActiveDocument(`json`);if(!a)t(r(`developerTools.unableToExportDocument`),`error`),await n.invalidate();else try{let t=await swn(a,e.externalUrls);await n.validate({duration:900,persist:!0}),i.value=t}catch(e){let i=e instanceof Error?e.message:r(`developerTools.unknownError`);t(i,`error`),await n.invalidate()}}return(t,o)=>(j(),M(L,null,[i.value?(j(),N(D(N0n),{key:0,immediate:``,modelValue:i.value,name:`temporary-link`,placeholder:`${e.externalUrls.registryUrl}/share/apis/…`},null,8,[`modelValue`,`placeholder`])):(j(),N(D(jw),{key:1,class:`h-auto p-2.5`,loader:D(n),variant:`gradient`,onClick:a},{default:O(()=>[F(T(D(r)(`developerTools.uploadDocument`)),1)]),_:1},8,[`loader`])),R(W1n,{class:`-mt-1`},{default:O(()=>[F(T(D(r)(`developerTools.temporaryLinkExpiration`)),1)]),_:1})],64))}});B(),Q4();var L0n={class:`text-c-2 mb-2 leading-normal`},R0n=k({__name:`ShareApiReference`,props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=Z4();return(n,r)=>(j(),N(v7,{class:`w-120`},{label:O(()=>[F(T(D(t)(`developerTools.share`)),1)]),default:O(()=>[R(D(B1n),null,{label:O(()=>[F(T(D(t)(`developerTools.shareTitle`)),1)]),default:O(()=>[P(`p`,L0n,T(D(t)(`developerTools.shareDescription`)),1),R(I0n,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,[`externalUrls`,`workspace`])]),_:1})]),_:1}))}});B(),ty(),Q4();var z0n=[`aria-label`],B0n={class:`-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center`},V0n={class:`flex flex-1 items-center`},H0n=k({__name:`DeveloperTools`,props:Lr({workspace:{},configuration:{},externalUrls:{}},{overrides:{},overridesModifiers:{}}),emits:[`update:overrides`],setup(e){let t=Hr(e,`overrides`),{translate:n}=Z4(),r=z(()=>e.configuration?.showDeveloperTools===`always`?!0:e.configuration?.showDeveloperTools===`never`||typeof window>`u`?!1:ey(window.location.href));return(i,a)=>r.value?(j(),M(`header`,{key:0,"aria-label":D(n)(`developerTools.title`),class:`api-reference-toolbar bg-b-1 relative z-1 flex h-10 justify-center border-b px-15`},[P(`div`,B0n,[P(`div`,V0n,[R(M1n)]),R(b0n,{overrides:t.value,"onUpdate:overrides":a[0]||=e=>t.value=e,configuration:e.configuration},null,8,[`overrides`,`configuration`]),e.workspace?(j(),M(L,{key:0},[R(R0n,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,[`externalUrls`,`workspace`]),R(Y1n,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,[`externalUrls`,`workspace`]),R(D(s3),{variant:`toolbar`})],64)):I(``,!0)])],8,z0n)):I(``,!0)}});B(),fT(),uB(),Qs(),jT(),Q4();var U0n={class:`overflow-hidden text-base text-ellipsis`},W0n={class:`min-w-0 flex-1 truncate`},G0n={class:`overflow-hidden text-base text-ellipsis`},K0n=k({__name:`DocumentSelector`,props:{options:{},modelValue:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,{translate:i}=Z4(),a=E(!1);ST(`keydown`,()=>{a.value=!1});let o=z(()=>n.options.map(e=>({id:e.id,label:e.label}))),s=z(()=>o.value.find(e=>e.id===n.modelValue));return(t,n)=>e.options.length>1?(j(),M(`div`,{key:0,class:`document-selector px-3 pt-3`,onPointerdownCapture:n[2]||=e=>a.value=!0},[e.options.length>5?(j(),N(D(dT),{key:0,inputLabel:D(i)(`search.inputLabel`),modelValue:s.value,noResults:D(i)(`search.noResults`),options:o.value,placeholder:D(i)(`search.placeholder`),resize:``,"onUpdate:modelValue":n[0]||=e=>e&&r(`update:modelValue`,e.id)},{default:O(({open:e})=>[P(`button`,{class:lt([`group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 rounded font-medium focus-visible:outline-offset-4`,{"outline-none":a.value}]),type:`button`},[P(`span`,U0n,T(s.value?.label||`Select API`),1),R(D(zs),{class:lt([`size-3 text-current transition-transform`,{"rotate-180":e}]),weight:`bold`},null,8,[`class`])],2)]),option:O(({option:e})=>[P(`span`,W0n,T(e.label),1)]),_:1},8,[`inputLabel`,`modelValue`,`noResults`,`options`,`placeholder`])):(j(),N(D(oB),{key:1,modelValue:s.value,options:o.value,resize:``,"onUpdate:modelValue":n[1]||=e=>r(`update:modelValue`,e.id)},{default:O(({open:e})=>[P(`button`,{class:lt([`group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 rounded font-medium focus-visible:outline-offset-4`,{"outline-none":a.value}]),type:`button`},[P(`span`,G0n,T(s.value?.label||`Select API`),1),R(D(zs),{class:lt([`size-3 text-current transition-transform`,{"rotate-180":e}]),weight:`bold`},null,8,[`class`])],2)]),_:1},8,[`modelValue`,`options`]))],32)):I(``,!0)}});hS(),Kl(),B();var q0n=[`aria-selected`],J0n={key:0,class:`text-c-3 group-hover:text-c-1 flex h-fit items-center text-sm font-medium`},Y0n={class:`flex min-w-0 flex-1 flex-col gap-0.5`},X0n={class:`flex items-center gap-1`},Z0n={class:`zoomed:whitespace-normal! flex-1 truncate font-medium wrap-break-word`},Q0n={key:0,class:`text-c-2 text-base`},$0n={key:0,class:`zoomed:whitespace-normal! text-c-2 truncate wrap-break-word`},e2n=k({inheritAttrs:!1,__name:`ScalarSearchResultItem`,props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),M(`a`,oi({"aria-selected":e.selected,role:`option`,tabindex:`-1`},D(t)(`group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2 text-base/5`,{"bg-b-2":e.selected})),[e.icon?(j(),M(`div`,J0n,[A(n.$slots,`icon`,{},()=>[e.icon?(j(),N(D(mS),{key:0,class:`size-4`,icon:e.icon},null,8,[`icon`])):I(``,!0)]),r[0]||=P(`span`,null,` `,-1)])):I(``,!0),P(`div`,Y0n,[P(`div`,X0n,[P(`div`,Z0n,[A(n.$slots,`default`)]),n.$slots.addon?(j(),M(`div`,Q0n,[A(n.$slots,`addon`)])):I(``,!0)]),n.$slots.description?(j(),M(`div`,$0n,[A(n.$slots,`description`)])):I(``,!0)])],16,q0n))}});Kl(),B();var t2n=k({inheritAttrs:!1,__name:`ScalarSearchResultList`,props:{noResults:{type:Boolean}},setup(e){let{cx:t}=Gl();return(n,r)=>(j(),M(`div`,oi({role:`listbox`},D(t)(`flex flex-col`)),[e.noResults?A(n.$slots,`noResults`,{},()=>[r[0]||=P(`div`,{class:`flex flex-col items-center gap-2 px-3 py-4`},[P(`div`,{class:`text-c-2 text-base font-medium`,role:`alert`},` No results found `)],-1)],void 0,0):I(``,!0),A(n.$slots,`default`)],16))}});gE();var n2n=e=>e.matches?.some(e=>e.score===0&&[`title`,`operationId`,`parameters`,`body`,`path`].includes(e.key.id))??!1;function r2n(){return new hE([],{keys:[{name:`title`,weight:.7},{name:`operationId`,weight:.6},{name:`identifiers`,weight:.6},{name:`action`,weight:.3},{name:`parameters`,weight:.55},{name:`body`,weight:.55},{name:`path`,weight:.5},{name:`tag`,weight:.4},{name:`description`,weight:.3},{name:`method`,weight:.3},{name:`responseExamples`,weight:.25},{name:`parameterDescriptions`,weight:.2},{name:`bodyDescriptions`,weight:.2}],sortFn:(e,t)=>Number(n2n(t))-Number(n2n(e))||e.score-t.score||e.idx-t.idx,threshold:.3,distance:100,includeScore:!0,includeMatches:!1,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0})}hG();var i2n=(e,t)=>{if(!e.components)return;let n=mG(e.components)?.schemas?.[t];return Tkn(n)},a2n=`/description/introduction`,o2n=e=>e.type===`text`&&typeof e.id==`string`&&e.id.endsWith(`/description/introduction`);iu();var s2n=e=>typeof e==`object`&&!!e&&!Array.isArray(e),c2n=(e,t=!1)=>{let n=new Set,r=new Set,i=new Map,a=0,o=0,s=()=>a>=1e4||o>=1e5,c=(e,t)=>{if(typeof t!=`string`||!t||s())return;let n=t.slice(0,Math.min(2048,1e5-o));e.has(n)||(e.add(n),o+=n.length)},l=(e,o,u=!1)=>{if(s()||(a++,o>64||!s2n(e)))return;u&&(t||!(`$ref`in e))&&c(r,e.description);let d=i.get(e);if(!(d!==void 0&&d<=o)&&(i.set(e,o),!(`$ref`in e&&(`$ref-value`in e&&l(e[`$ref-value`],o+1,u),!t)))){for(let t of[e.oneOf,e.anyOf,e.allOf])for(let e of t??[]){if(s())return;l(e,o+1)}if(`properties`in e&&e.properties)for(let t in e.properties){if(s())return;Object.hasOwn(e.properties,t)&&(c(n,t),l(e.properties[t],o+1,!0))}`items`in e&&e.items&&l(e.items,o+1)}};for(let t of e){if(s())break;l(t,0)}return{names:[...n],descriptions:[...r]}};function*l2n(e,t){let n=H(e.requestBody)?.content;for(let e in n)Object.hasOwn(n,e)&&(yield H(n[e])?.schema);if(t)for(let t in e.responses){if(!Object.hasOwn(e.responses,t))continue;let n=H(e.responses[t])?.content;yield;for(let e in n)Object.hasOwn(n,e)&&(yield H(n[e])?.schema)}}var u2n=(e,t)=>c2n(l2n(e,!0),t),d2n=(e,t)=>{t&&!e.includes(t)&&e.push(t)};function f2n(e){let t=[];return e.forEach(e=>{let n=H(e);d2n(t,n?.name)}),t}function p2n(e){let t=[];return e.forEach(e=>{let n=H(e);d2n(t,n?.description)}),t}var m2n=(e=!1)=>{let t=new WeakMap,n=new WeakMap,r=new WeakMap;return{schema:n=>{if(!s2n(n))return{names:[],descriptions:[]};let r=t.get(n);if(r)return r;let i=c2n([n],e);return t.set(n,i),i},operation:t=>{let n=r.get(t);if(n)return n;let i=u2n(t,e);return r.set(t,i),i},body:t=>{let r=H(t.requestBody),i=r&&n.get(r);if(i)return i;let a=c2n(l2n(t,!1),e);return r&&n.set(r,a),a}}};js(),hG(),vG();var h2n=e=>{let t=new Set,n=new Set,r=new Set,i=[...e].reverse();for(;i.length;){let e=i.pop();if(V(e)&&!r.has(e)){if(r.add(e),`$ref`in e)i.push(mG(e));else if(`schemaFormat`in e)gG(e.schemaFormat)&&i.push(e.schema);else{if(typeof e.description==`string`&&n.add(e.description),V(e.properties))for(let[n,r]of Object.entries(e.properties))t.add(n),i.push(r);for(let t of[`allOf`,`oneOf`,`anyOf`,`prefixItems`,`items`]){let n=e[t];i.push(...Array.isArray(n)?n:[n])}V(e.patternProperties)&&i.push(...Object.values(e.patternProperties)),i.push(e.additionalProperties)}}}return{names:[...t],descriptions:[...n]}},g2n=(e,t)=>{if(t.type===`asyncapi-channel`){let n=q4(e,t.channelName);return{type:t.type,id:t.id,title:t.title,entry:t,identifiers:[t.channelName],path:n?.address??void 0,description:[n?.summary,n?.description].filter(Boolean).join(`
+`),parameters:Object.keys(n?.parameters??{}),parameterDescriptions:Object.values(n?.parameters??{}).flatMap(e=>{let t=mG(e)?.description;return t?[t]:[]})}}if(t.type===`asyncapi-operation`){let n=Y4(e,t.operationName);return{type:t.type,id:t.id,title:R3(n?.title,t.title,t.operationName),entry:t,identifiers:[t.operationName],action:t.action,path:q4(e,t.channelName)?.address??void 0,description:[n?.summary,n?.description].filter(Boolean).join(`
+`)}}if(t.type===`asyncapi-message`){let n=J4(e,t.channelName,t.messageName),r=h2n([n?.payload,n?.headers]);return{type:t.type,id:t.id,title:R3(n?.title,t.title,t.messageName),entry:t,identifiers:n?.name?[t.messageName,n.name]:[t.messageName],path:q4(e,t.channelName)?.address??void 0,description:n?.description??n?.summary??``,body:r.names,bodyDescriptions:[...new Set([...n?.summary?[n.summary]:[],...r.descriptions])]}}};h(),yx(),iu(),rS(),ax();function _2n(e,t){if(tx(e))return H(e.components?.schemas?.[t]);if(nx(e))return i2n(e,t)}function v2n(e){if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return``}}function y2n(e){let t=Object.values(e.examples??{}).flatMap(e=>{let t=H(e);return!t||!(`value`in t)?[]:v2n(t.value)}).filter(e=>e.length>0),n=`example`in e&&e.example!==void 0?v2n(e.example):``;return n?[n,...t]:t}function b2n(e){return e?Object.values(e).flatMap(e=>{let t=H(e);return t?.content?Object.values(t.content).flatMap(e=>{let t=H(e);return t?y2n(t):[]}):[]}).filter(e=>e.length>0):[]}var x2n={heading:`Heading`,tagGroup:`Tag Group`,webhook:`Webhook`,webhooks:`Webhooks`,introduction:`Introduction`};function S2n(e,t){let n=[],r=m2n(tx(e)&&/^3\.[12]\./.test(e.openapi)),i=t?.modelsSectionLabel??`Models`,a=t?.labels??x2n,o=new Set;function s(t){t.forEach(t=>{if(nx(e)&&t.type.startsWith(`asyncapi-`)){let r=t.id;if(t.type===`asyncapi-message`?r=JSON.stringify([t.type,t.channelName,t.messageName]):t.type===`asyncapi-channel`?r=JSON.stringify([t.type,t.channelName]):t.type===`asyncapi-operation`&&(r=JSON.stringify([t.type,t.operationName])),!o.has(r)){let i=g2n(e,t);i&&(n.push(i),o.add(r))}}else C2n(t,n,e,i,a,r);`children`in t&&t.children&&s(t.children)})}return s(e?.[`x-scalar-navigation`]?.children??[]),n}function C2n(e,t,n,r,i,a){let o=tx(n)?n:void 0;if(e.type===`operation`){let n=fx(o?.paths?.[e.path]),r=H(px(o?.paths?.[e.path],e.method))??{},i={...r,parameters:bx(n?.parameters,r.parameters)},s=f2n(i.parameters??[]),c=p2n(i.parameters??[]),{names:l,descriptions:u}=a.operation(r),d=b2n(i.responses);t.push({type:`operation`,title:e.title,id:e.id,description:i.description||``,method:e.method,path:e.path,body:l,bodyDescriptions:u,parameters:s,parameterDescriptions:c,responseExamples:d,operationId:i.operationId,entry:e})}else if(e.type===`webhook`){let n=H(px(o?.webhooks?.[e.name],e.method))??{},r=n.description||``,{names:i,descriptions:s}=a.operation(n);t.push({id:e.id,type:`webhook`,title:e.title,description:`Webhook`,method:e.method,body:i.length?i:``,bodyDescriptions:r?[r,...s]:s,operationId:n.operationId,entry:e})}else if(e.type===`model`){let i=_2n(n,e.name),s=i?.description??``,{names:c,descriptions:l}=a.schema(o?.components?.schemas?.[e.name]??i);t.push({type:`model`,title:e.title,description:r,id:e.id,body:c,bodyDescriptions:s?[s,...l]:l,entry:e})}else e.type===`models`?t.push({id:e.id,type:`heading`,title:r,description:i.heading,body:``,entry:e}):e.type===`tag`&&e.isWebhooks===!0?t.push({id:e.id,type:`heading`,title:i.webhooks,description:i.heading,body:``,entry:e}):e.type===`tag`&&e.isTagGroup!==!0?t.push({id:e.id,title:e.title,description:e.description||``,type:`tag`,body:``,entry:e}):e.type===`tag`&&e.isTagGroup===!0?t.push({id:e.id,title:e.title,description:i.tagGroup,type:`tag`,body:``,entry:e}):e.type===`text`&&t.push({id:e.id,type:`heading`,title:o2n(e)?i.introduction:e.title??``,description:i.heading,body:``,entry:e})}h(),B();var w2n=25;function T2n(e,t=f,n={heading:`Heading`,tagGroup:`Tag Group`,webhook:`Webhook`,webhooks:`Webhooks`,introduction:`Introduction`}){let r=z(()=>S2n(wn(e),{labels:wn(n),modelsSectionLabel:wn(t)??`Models`})),i=z(()=>{let e=r2n();return e.setCollection(r.value),e}),a=E(``);return{results:z(()=>a.value.length===0?r.value.slice(0,w2n).map((e,t)=>({item:e,refIndex:t})):i.value.search(a.value,{limit:w2n})),query:a}}B(),Qs(),S2(),h(),Q4();var E2n={class:`sr-only`},D2n={class:`inline-flex items-center gap-1`},O2n={key:0,class:`font-code text-xs uppercase`},k2n={class:`sr-only`},A2n={class:`whitespace-pre-wrap`},j2n={class:`sr-only`},M2n={class:`sr-only`},N2n=k({__name:`SearchResult`,props:{id:{},isSelected:{type:Boolean},result:{},modelsSectionLabel:{default:()=>f}},setup(e){let{translate:t}=Z4(),n={"asyncapi-channel":$ue,"asyncapi-operation":Vve,"asyncapi-message":jfe,heading:Zve,model:Uue,operation:Vve,tag:jve,webhook:Xs},r=z(()=>({"asyncapi-channel":t(`search.entryChannel`),"asyncapi-operation":t(`search.entryOperation`),"asyncapi-message":t(`search.entryMessage`),heading:t(`search.entryHeading`),operation:t(`search.entryOperation`),tag:t(`search.entryTag`),model:e.modelsSectionLabel,webhook:t(`search.entryWebhook`)})),i=z(()=>e.result.item.type===`asyncapi-channel`||e.result.item.type===`asyncapi-operation`||e.result.item.type===`asyncapi-message`),a=z(()=>e.result.item.path??t(`asyncapi.unknownAddress`)),o=z(()=>e.result.item.type!==`webhook`&&!!(i.value||e.result.item.action||(e.result.item.method||e.result.item.path)&&e.result.item.path!==e.result.item.title));return(s,c)=>(j(),N(D(e2n),{id:e.id,icon:n[e.result.item.type],selected:e.isSelected},Mr({default:O(()=>[P(`span`,{class:lt({"text-decoration-line":e.result.item.entry.type===`operation`&&e.result.item.entry.isDeprecated})},[P(`span`,E2n,[F(T(r.value[e.result.item.type])+`:\xA0 `,1),e.result.item.entry.type===`operation`&&e.result.item.entry.isDeprecated?(j(),M(L,{key:0},[F(` (`+T(D(t)(`schema.deprecated`))+`)\xA0 `,1)],64)):I(``,!0)]),F(` `+T(e.result.item.title)+` `,1),c[0]||=P(`span`,{class:`sr-only`},`,`,-1)],2)]),_:2},[o.value?{name:`description`,fn:O(()=>[P(`span`,D2n,[e.result.item.action?(j(),M(`span`,O2n,T(e.result.item.action),1)):I(``,!0),e.result.item.type===`operation`?(j(),M(L,{key:1},[R(D($0),{"aria-hidden":`true`,method:e.result.item.method??`get`},null,8,[`method`]),P(`span`,k2n,T(D(t)(`common.httpMethod`))+`: `+T(e.result.item.method??`get`),1)],64)):I(``,!0),i.value?(j(),M(L,{key:2},[P(`span`,null,T(D(t)(`asyncapi.address`))+`:`+T(` `),1),P(`span`,A2n,T(a.value),1)],64)):(j(),M(L,{key:3},[P(`span`,j2n,T(D(t)(`common.path`))+`:\xA0`,1),F(` `+T(e.result.item.path),1)],64))])]),key:`0`}:e.result.item.description?{name:`description`,fn:O(()=>[P(`span`,M2n,T(D(t)(`common.description`))+`:\xA0`,1),F(` `+T(e.result.item.description),1)]),key:`1`}:void 0]),1032,[`id`,`icon`,`selected`]))}});B(),jX(),nZ(),Q4();var P2n={class:`mb-0 flex flex-col`,role:`search`},F2n={"aria-hidden":`true`,class:`contents`},I2n={class:`sr-only`},L2n=k({__name:`SearchModal`,props:{modalState:{},document:{},eventBus:{},modelsSectionLabel:{}},setup(e){let t=e,{translate:n}=Z4(),r=xr(),i=`${r}-search-result`,a=`${r}-search-instructions`,{query:o,results:s}=T2n(()=>t.document,()=>t.modelsSectionLabel,()=>({heading:n(`search.entryHeading`),tagGroup:n(`search.entryTagGroup`),webhook:n(`search.entryWebhook`),webhooks:n(`navigation.webhooks`),introduction:n(`navigation.introduction`)})),c=E(void 0);dr(()=>t.modalState.open,e=>{e&&(o.value=``)});let l=e=>{let t=e===`up`?-1:1,n=s.value.length;typeof c.value==`number`?c.value=(c.value+t+n)%n:c.value=t===-1?n-1:0};function u(e){if(typeof e!=`number`||!s.value[e])return;let n=s.value[e];t.modalState.hide(),t.eventBus.emit(`scroll-to:nav-item`,{id:n.item.id})}let d=z(()=>{let e=s.value[c.value??-1];return e?`search-result-${e.item.id}`:void 0});return(r,f)=>(j(),N(D(AX),{"aria-label":D(n)(`search.label`),state:e.modalState,variant:`search`},{default:O(()=>[P(`div`,P2n,[R(D(tZ),{modelValue:D(o),"onUpdate:modelValue":f[0]||=e=>Sn(o)?o.value=e:null,"aria-activedescendant":d.value,"aria-autocomplete":`list`,"aria-controls":i,"aria-describedby":a,clearLabel:D(n)(`search.clear`),label:D(n)(`search.inputLabel`),placeholder:D(n)(`search.placeholder`),role:`combobox`,onBlur:f[1]||=e=>c.value=void 0,onKeydown:[f[2]||=qa(Ka(e=>l(`down`),[`stop`,`prevent`]),[`down`]),f[3]||=qa(Ka(()=>u(c.value),[`stop`,`prevent`]),[`enter`]),f[4]||=qa(Ka(e=>l(`up`),[`stop`,`prevent`]),[`up`])]},null,8,[`modelValue`,`aria-activedescendant`,`clearLabel`,`label`,`placeholder`])]),R(D(t2n),{id:i,"aria-label":D(n)(`search.results`),class:`custom-scroll px-1 pb-1`,noResults:!D(s).length},{query:O(()=>[F(T(D(o)),1)]),default:O(()=>[(j(!0),M(L,null,jr(D(s),(e,n)=>(j(),N(N2n,{id:`search-result-${e.item.id}`,key:e.refIndex,isSelected:c.value===n,modelsSectionLabel:t.modelsSectionLabel,result:e,onClick:Ka(()=>u(n),[`prevent`])},null,8,[`id`,`isSelected`,`modelsSectionLabel`,`result`,`onClick`]))),128))]),_:1},8,[`aria-label`,`noResults`]),P(`div`,{id:a,class:`ref-search-meta`},[P(`span`,F2n,[P(`span`,null,`↑↓ `+T(D(n)(`search.navigate`)),1),P(`span`,null,`⏎ `+T(D(n)(`search.select`)),1)]),P(`span`,I2n,T(D(n)(`search.instructions`)),1)])]),_:1},8,[`aria-label`,`state`]))}});e3();var R2n=$4(L2n,[[`__scopeId`,`data-v-b65d62db`]]);B(),nI(),jX(),Q0(),jE(),Qs(),h(),Q4();var z2n={class:`sr-only`},B2n={"aria-hidden":`true`,class:`sidebar-search-placeholder`},V2n={class:`sr-only`},H2n={class:`sr-only`},U2n=k({__name:`SearchButton`,props:{forceIcon:{type:Boolean},searchHotKey:{default:`k`},hideModels:{type:Boolean},modelsSectionLabel:{default:()=>f},document:{},eventBus:{}},setup(e){let t=E(),n=kX(),{translate:r}=Z4(),i=E(!1);Ii(()=>{i.value=AE()});let a=t=>{(AE()?t.metaKey:t.ctrlKey)&&t.key===e.searchHotKey&&(t.preventDefault(),t.stopPropagation(),n.open?n.hide():n.show())};dr(()=>n.open,async(e,n)=>{!e&&n&&(await nr(),t.value?.$el.focus())}),Ii(()=>window.addEventListener(`keydown`,a)),Ri(()=>window.removeEventListener(`keydown`,a));function o(){n.show()}return(a,s)=>(j(),M(L,null,[e.forceIcon?(j(),N(D(eI),{key:0,icon:D(Ks),label:D(r)(`search.label`),onClick:o},null,8,[`icon`,`label`])):(j(),N(D(tln),{key:1,ref_key:`button`,ref:t,class:lt([`w-full`,a.$attrs.class]),shortcutLabel:D(r)(`search.keyboardShortcut`),onClick:o},{shortcut:O(()=>[i.value?(j(),M(L,{key:0},[P(`span`,V2n,T(D(r)(`search.command`)),1),s[0]||=P(`span`,{"aria-hidden":`true`},`⌘`,-1)],64)):(j(),M(L,{key:1},[P(`span`,H2n,T(D(r)(`search.control`)),1),s[1]||=P(`span`,{"aria-hidden":`true`},`⌃`,-1)],64)),F(` `+T(e.searchHotKey),1)]),default:O(()=>[P(`span`,z2n,T(D(r)(`search.open`)),1),P(`span`,B2n,T(D(r)(`search.label`)),1)]),_:1},8,[`class`,`shortcutLabel`])),R(R2n,{document:e.document,eventBus:e.eventBus,modalState:D(n),modelsSectionLabel:e.modelsSectionLabel},null,8,[`document`,`eventBus`,`modalState`,`modelsSectionLabel`])],64))}}),W2n=e=>{let t={},n=e=>{for(let r of e)r.type===`model`&&(t[r.name]??=r.id),`children`in r&&r.children?.length&&n(r.children)};return n(e),t},G2n=()=>typeof window>`u`||typeof window?.matchMedia!=`function`?`light`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`;function K2n(){try{return new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window})}catch{return new MouseEvent(`click`,{bubbles:!0,cancelable:!0})}}async function q2n(e){try{return JSON.parse(e)}catch{let{parse:t}=await Promise.resolve().then(()=>(Dw(),_7e));return t(e,{maxAliasCount:1e4,merge:!0})}}function J2n(e){let t=e.trimStart();if(t.startsWith(`{`)||t.startsWith(`[`))try{return JSON.parse(e),`json`}catch{}return`yaml`}async function Y2n(e,t,n){if(t===n)return e;let r=await q2n(e);if(n===`json`)return JSON.stringify(r,null,2);let{stringify:i}=await Promise.resolve().then(()=>(Dw(),_7e));return i(r)}async function X2n(e,t,n){let r=J2n(e),i=n??r,a=`${t??`openapi`}.${i}`,o=i===`json`?`application/json`:`application/x-yaml`,s=await Y2n(e,r,i),c=new Blob([s],{type:o}),l=URL.createObjectURL(c),u=document.createElement(`a`);u.href=l,u.download=a,u.dispatchEvent(K2n()),setTimeout(()=>{window.URL.revokeObjectURL(l),u.remove()},100)}var Z2n={Date:!0,RegExp:!0,String:!0,Number:!0};function Q2n(e,t,n={cyclesFix:!0},r=[]){let i=[],a=Array.isArray(e);for(let o in e){let s=e[o],c=a?+o:o;if(!(o in t)){i.push({type:`REMOVE`,path:[c],oldValue:e[o]});continue}let l=t[o],u=typeof s==`object`&&typeof l==`object`&&Array.isArray(s)===Array.isArray(l);s&&l&&u&&!Z2n[Object.getPrototypeOf(s)?.constructor?.name]&&(!n.cyclesFix||!r.includes(s))?i.push.apply(i,Q2n(s,l,n,n.cyclesFix?r.concat([s]):[]).map(e=>(e.path.unshift(c),e))):s!==l&&!(Number.isNaN(s)&&Number.isNaN(l))&&!(u&&(isNaN(s)?s+``==l+``:+s==+l))&&i.push({path:[c],type:`CHANGE`,value:l,oldValue:s})}let o=Array.isArray(t);for(let n in t)n in e||i.push({type:`CREATE`,path:[o?+n:n],value:t[n]});return i}var $2n=(e,t)=>{if(e===t)return!1;for(let n in e){if(!(n in t))return!0;let r=e[n],i=t[n];if(r!==i&&Q2n({value:r},{value:i}).length)return!0}for(let n in t)if(!(n in e))return!0;return!1};hX();var e4n=e=>{let t=OEn().get();zXt(t)&&!e.workspace[`x-scalar-default-client`]&&e.update(`x-scalar-default-client`,t)},t4n=(e,t)=>{let n=kEn().getAuth(t);e.auth.load({[t]:n})};Bc(),rS(),B();var n4n=(e,t)=>{let n={hooks:{}};return dr([()=>e.value.onBeforeRequest,()=>e.value.onRequestBuilt,()=>e.value.onRequestSent,()=>e.value.onResponseReceived,()=>t.value],([e,t,r,i,a])=>{let o=Cb(a);n.hooks||={},n.hooks.beforeRequest=e?async t=>{let n=vb(t.requestBuilder,{envVariables:o,allowMissingRequestServerBase:!0});n.ok?await e({request:zc(...n.data.requestPayload),requestBuilder:t.requestBuilder,envVariables:o}):console.error(`[@scalar/api-reference] onBeforeRequest was not run because the request could not be built:`,n.message??n.error)}:void 0,n.hooks.requestBuilt=t?async e=>{await t({request:e.request,requestBuilder:e.requestBuilder,envVariables:o})}:void 0,n.hooks.responseReceived=r||i?e=>(r?.(e.request.url),i?.({response:e.response,request:e.request})):void 0},{immediate:!0}),[n]};hX(),jT(),B();var r4n=({config:e,store:t,isDarkMode:n})=>{dr(()=>wn(e).defaultHttpClient,e=>{if(e){let{targetKey:n,clientKey:r}=e,i=`${n}/${r}`;Wq(i)&&t.update(`x-scalar-default-client`,i)}},{immediate:!0}),dr(()=>wn(e).darkMode,e=>t.update(`x-scalar-color-mode`,e?`dark`:`light`)),dr(()=>n.value,e=>t.update(`x-scalar-color-mode`,e?`dark`:`light`),{immediate:!0}),wn(e).metaData&&Lae(wn(e).metaData),dr(()=>wn(e).proxyUrl,e=>t.update(`x-scalar-active-proxy`,e),{immediate:!0}),Ltt(z(()=>wn(e).favicon))};FY(),o0(),h();var i4n=e=>!!e.url?.trim()||!!e.content,a4n=e=>{let{slug:t}=PY(),n={};return e&&(Array.isArray(e)?e:[e]).flatMap(e=>{if(p(e)){let{sources:t,...n}=e;return t?.map(e=>({...n,...e}))??[]}return[e]}).map(e=>Ie(e)).filter(i4n).map((e,n)=>s4n(e,n,t)).forEach(e=>{let{url:t,content:r,...i}=e;n[e.slug]={config:i,title:e.title,slug:e.slug,default:!!e?.default,agent:e.agent,source:r?{content:o4n(r)??{}}:{url:t}}}),n},o4n=e=>e?typeof e==`function`?o4n(e()):typeof e==`string`?din(e):e:null,s4n=(e,t=0,n)=>e.title?{...e,slug:e.slug||n(e.title),title:e.title}:e.slug?{...e,slug:n(e.slug),title:e.slug}:{...e,slug:`api-${t+1}`,title:`API #${t+1}`},c4n=({id:e,documentStartId:t,documentStartTop:n})=>n!==void 0&&n>=0?t:e;Mx();var l4n=e=>typeof window>`u`?jx(e):window.structuredClone(e);ax(),B();var u4n=e=>{let t={applyingDefault:!1,hasUserOverride:e.workspace[`x-scalar-active-environment`]!==void 0};dr(()=>e.workspace[`x-scalar-active-environment`],()=>{t.applyingDefault||(t.hasUserOverride=!0)},{flush:`sync`}),dr(()=>{let t=e.workspace.activeDocument;return[t,tx(t)?t[`x-scalar-active-environment`]??Object.keys(t[`x-scalar-environments`]??{})[0]:void 0]},([,n])=>{if(!t.hasUserOverride){t.applyingDefault=!0;try{e.update(`x-scalar-active-environment`,n)}finally{t.applyingDefault=!1}}},{immediate:!0,flush:`sync`})};dV(),Mx(),ax(),B();var d4n=({configurations:e,sourceStore:t,clientStore:n})=>{dr(()=>Object.values(wn(e)).map(({slug:e,config:t})=>({slug:e,servers:jx(t.servers),document:n.workspace.documents[e]})),(e,n=[])=>{for(let{slug:r,servers:i,document:a}of e){if(!tx(a))continue;let e=n.find(e=>e.slug===r);if(!(e?.document===a&&uV(e.servers,i))){if(i!==void 0)a.servers=jx(i);else if(e?.servers!==void 0){let e=t.workspace.documents[r];a.servers=tx(e)?jx(e.servers):void 0}}}},{immediate:!0,flush:`sync`})},f4n,p4n,m4n,h4n,g4n,_4n,v4n,y4n,b4n,x4n=s((()=>{f4n=`https://app.cal.com/embed/embed.js`,p4n=`https://scalar.cal.com`,m4n=`30min`,h4n=`marc/30min`,_4n=()=>(g4n??=new Promise((e,t)=>{let n=document.createElement(`script`);n.src=f4n,n.async=!0,n.onload=()=>e(),n.onerror=()=>{g4n=void 0,n.remove(),t(Error(`Failed to load the Cal.com embed`))},document.head.appendChild(n)}),g4n),v4n=!1,y4n=()=>{if(window.Cal)return window.Cal;v4n=!0;let e=(...t)=>{if(e.loaded||=(e.ns={},e.q=e.q??[],_4n().catch(()=>void 0),!0),t[0]===`init`){let n=t[1],r=(...e)=>{r.q?.push(e)};r.q=r.q??[],typeof n==`string`?(e.ns??={},e.ns[n]=e.ns[n]??r,e.ns[n].q?.push(t),e.q?.push([`initNamespace`,n])):e.q?.push(t)}else e.q?.push(t)};return window.Cal=e,e},b4n=async(e,t)=>{let n=y4n();n(`init`,m4n,{origin:p4n}),n.config=n.config??{},n.config.forwardQueryParams=!0;let r=n.ns?.[m4n];r?.(`inline`,{elementOrSelector:e,config:{layout:`month_view`,useSlotsViewOnSmallScreen:`true`},calLink:h4n}),r?.(`ui`,{hideEventTypeDetails:!1,layout:`month_view`,theme:t}),v4n&&await _4n()}})),S4n,C4n,w4n,T4n,E4n=s((()=>{S4n=`https://scalar.cal.com/marc/30min`,C4n=`https://x.com/messages/compose?recipient_id=321010445`,w4n={card:`scalar-explore-card`,portals:`scalar-explore-sticker-portals`,sdks:`scalar-explore-sticker-sdks`,agent:`scalar-explore-sticker-agent`},T4n=`data-scalar-explore-vt`})),D4n,O4n,k4n,A4n,j4n,M4n,N4n,P4n,F4n,I4n=s((()=>{B(),D4n={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`agent`,fill:`none`,focusable:`false`,viewBox:`0 0 139 162`,xmlns:`http://www.w3.org/2000/svg`},O4n=[`id`],k4n=[`id`],A4n=[`id`],j4n=[`fill`],M4n=[`fill`],N4n=[`fill`],P4n={},F4n=k({...P4n,__name:`StickerAgentScalar`,setup(e){let t=xr(),n={bg:`${t}-bg`,visor:`${t}-visor`,lens:`${t}-lens`},r={bg:`url(#${n.bg})`,visor:`url(#${n.visor})`,lens:`url(#${n.lens})`};return(e,t)=>(j(),M(`svg`,D4n,[P(`defs`,null,[P(`linearGradient`,{id:n.bg,gradientUnits:`userSpaceOnUse`,x1:`153`,x2:`-21.1`,y1:`.6`,y2:`77.3`},[...t[0]||=[P(`stop`,{"stop-color":`#c6c6c6`},null,-1),P(`stop`,{offset:`.6`,"stop-color":`#eae8cf`},null,-1),P(`stop`,{offset:`1`,"stop-color":`#c3c3c3`},null,-1)]],8,O4n),P(`linearGradient`,{id:n.visor,gradientUnits:`userSpaceOnUse`,x1:`108.6`,x2:`39.5`,y1:`42.6`,y2:`84.5`},[...t[1]||=[P(`stop`,{"stop-color":`#fff`},null,-1),P(`stop`,{offset:`.6`,"stop-color":`#fdffe3`},null,-1),P(`stop`,{offset:`1`,"stop-color":`#e9e9e9`},null,-1)]],8,k4n),P(`linearGradient`,{id:n.lens,gradientUnits:`userSpaceOnUse`,x1:`95`,x2:`56.9`,y1:`51.7`,y2:`74.6`},[...t[2]||=[P(`stop`,{"stop-color":`#ff3434`},null,-1),P(`stop`,{offset:`1`,"stop-color":`#eaff00`},null,-1)]],8,A4n)]),P(`path`,{d:`M128.3 0c5.9 0 10.7 4.8 10.7 10.7v123.9c0 6-4.8 10.7-10.7 10.7H22.7l-15.2 15a4.4 4.4 0 0 1-7.5-3.1v-28.9h.2V10.7C.2 4.8 5 0 10.9 0z`,fill:r.bg},null,8,j4n),t[3]||=P(`path`,{d:`M119.8 74.4c1.5 1.5 4 4.8 4.3 7 1 7-2.4 11-7.5 14-21.1 13.3-70.3 10.8-93.2 2.8-1.7-.6-4.5-.8-4-3.3 12.5 3.5 25.6 6.9 38.6 4.5 2.9-.5 5.6-1 7.5-3.6 5.6-7.8-.6-13.1-6.9-16-10.7-5-32-6.4-38.7-17.5C13.6 52 27.1 43.7 34.3 41c23-8.9 56.2-7.7 80.2-3.5 3.2.5 9 1.3 11.7 2.5 1 .4 3 2.2 1.3 2.6-1.1.2-14.3-2.7-17.2-3-7.8-1-22.8-1.8-28.4 5.3-4.6 5.8 1 12 5.8 14.9 10 6 22.7 5.7 32 14.7z`,fill:`#dcdcdc`},null,-1),t[4]||=P(`path`,{d:`M123.3 86.1c-.5 3.5-3.7 6.8-6.8 8.6h-.1l-.2.1-4.6 2.4a58 58 0 0 1-7.9 2.8c-11.7 3.1-21.4 3.4-24.3 3.7a169 169 0 0 1-23.5-.3l-1.2-.2h1.2l2.4.2c8.7.6 15 .5 20.8.2 3-.3 12.9-.5 24.8-3.8a57 57 0 0 0 8.6-3l4-2.3c3.2-1.9 6.2-5.1 6.7-8.4l.2-1.1zm-95-41.9a37 37 0 0 1 6-3 71 71 0 0 1 14.9-4l7.5-1.2 6.2-.7c8.4-.7 14-.6 17.8-.6H83a188 188 0 0 1 15.5 1.1 315 315 0 0 1 15.8 2.2c2.8.5 6.4.7 11.2 2.2l.5.2c.9.3 2.1 1.9 1.3 1.6q-3.8-.5-7.3-1.2l-2.9-.6L111 39h-.5a50 50 0 0 0-23 1.4 14 14 0 0 0-5.8 3.8l-.7 1c-2 2.7-1.7 6.5.3 9.4q.6 1 1.5 2a20 20 0 0 0 5.1 4l2.1 1.1h.1l.2.2h.4l.9.5 1.3.5 1.8.7 1.3.5-1-.3-1.7-.6-5.2-2.3-.8-.5a20 20 0 0 1-4.9-4l-1.4-2c-2-3-2-7.2.3-9.9l1-1a15 15 0 0 1 5.4-3.3c4-1.5 11-2.7 22.8-1.4l.4.1 6.6 1.2 2.7.6c2.2.4 5 1 7.3 1.2l.2-.1-.3-.3a4 4 0 0 0-1.5-1.1c-4.9-1.6-8.5-1.8-11.4-2.3l-.7-.1A306 306 0 0 0 98 35.9a187 187 0 0 0-14.7-1H81c-4 0-9.6-.1-18 .6a134 134 0 0 0-14.2 1.9 89 89 0 0 0-14.2 4 37 37 0 0 0-6.3 3 27 27 0 0 0-6 5c-2.5 2.8-4.6 8-1.6 12.5 4.8 7.4 15.5 10 22.7 12.2l.4.1c5.9 1.7 11.1 3 15.3 4.9 5.6 2.5 8.7 6.3 9.2 8.6a8 8 0 0 1-.3 5.5q-.6 1.5-1.7 3l-1 1.2c-2 2.1-5 2.4-7 2.9a52 52 0 0 1-11.7.7 75 75 0 0 1-9.7-1c-5.4-1-9-2-11.8-2.6l-5.8-1.6 1-.7v.6c.2.8 2 1.2 3.5 1.6l3.7 1.2q4 1.1 8.2 2l1.2.3-1.1-.2-8.8-2.1-3.2-1c-1.5-.5-3.3-.8-3.5-1.7V95l-1 .6 5.7 1.6c2.8.7 6.4 1.7 11.8 2.6A75 75 0 0 0 49 101q4 0 9.2-.8c2.1-.4 5-.7 7-2.8q.6-.5 1-1.1a14 14 0 0 0 1.7-3.1 8 8 0 0 0 .3-5.3c-.5-2.2-3.5-6.1-9.2-8.6-4.1-2-9.4-3.2-15.2-4.9h-.2a62 62 0 0 1-17.6-7 18 18 0 0 1-5.5-5.4l-.3-.4a10 10 0 0 1-1.2-3.4c-.4-3.2.7-5.6 2.4-8a25 25 0 0 1 6.2-5.5zM104 66.6l1.2.4zl-4.7-1.5-1.1-.4 1.2.3zM25.7 45.3l1.3-.8-.7.5-1.4 1a23 23 0 0 0-5 5.5 10 10 0 0 0 0 10.8c3.2 5.1 9.7 8.2 16.2 10.3l3.7 1.2c5 1.5 9.2 2 18.5 5.5l.5.2a18 18 0 0 1 8 6.5c2.1 3 1 7.2-1 10-1.7 2.5-5 3.3-7.8 3.7-13 2.4-26.2-1-38.7-4.6l.3-.2q-.2 1.5 1.1 2.2l2.8.9c16 5.2 33 6.7 49.8 6.5 12-.3 24.1-1.4 35.5-5.5a44 44 0 0 0 7.7-3.7c5.2-2.7 8.6-9 7.4-13.9-.7-3-2.7-5-3.4-6l-.8-.9.9.9c.8 1 2.7 2.9 3.4 6 1.2 5-2.2 11.3-7.4 14a44 44 0 0 1-7.7 3.6 111 111 0 0 1-35.4 5.6 155 155 0 0 1-50-6.5q-1.5-.3-2.8-.9a2 2 0 0 1-1.3-2.3c12.5 3.6 25.6 7 38.6 4.6 2.8-.5 5.9-1.2 7.6-3.7 2-2.7 3-6.7 1-9.7a18 18 0 0 0-8-6.3l-.4-.2C49 76 44.9 75.5 40 74l-3.8-1.2c-6.5-2.2-13.1-5.2-16.3-10.4a10 10 0 0 1-.4-10.6c1.6-2.7 3.6-4.4 4.8-5.4zm30-9.8a172 172 0 0 1 40-.7c5.3.5 8.6 1 12 1.4l6.8 1.1 5 1q3.1.3 6.8 1.5.8.4 1.5 1.2.3.3.4.8-.1.6-.7.7-4.7-.5-9.6-1.6l-7.6-1.4a78 78 0 0 0-13-.4C91 39.5 85 41.1 82 45c-2.7 3.2-1.6 7.4.1 9.7a19 19 0 0 0 5.6 5l1.8 1c9.3 5 22.1 5.8 30 13.7l.2.2c-.2 0-1.3-1-2.6-2l-.2-.2a28 28 0 0 0-4.7-3c-1.9-1.6-18-5.7-23.2-8.8l-1.4-.8a19 19 0 0 1-5.5-5c-1.8-2.2-3.1-6.6-.2-10 3-3.9 9-5.5 15.4-5.8 3.6-.3 8.2 0 13 .5l7.4 1.3q5.1 1.2 9.8 1.7.5-.1.6-.5t-.4-.8a4 4 0 0 0-1.5-1.1q-3.5-1.3-6.6-1.7l-5.1-.8-7.2-1.2a181 181 0 0 0-24-2 170 170 0 0 0-27.7 1.2m0-.8c19.7-2.7 39.8-1.6 59 1.8l5 .8q3 .5 7 1.7a5 5 0 0 1 1.8 1.4q.5.5.7 1.4 0 .8-.6 1.2l-.8.3c-3.8-.2-6.7-1-10-1.6h-.3l-7.2-1.4a74 74 0 0 0-13-.5c-6.2.4-11.8 2-14.6 5.5-2.5 3-1.5 6.6.1 8.8a18 18 0 0 0 5.4 4.9l1.9 1c5 2.5 6.5 2.8 8.7 3.5h.1l.2.1h.2v.1h.2l2.6.9 5.2 1.7 1 .5-1.4-.5-5-1.7-3-1c-2.3-.7-4.1-1-9.3-3.6L88 59q-2.6-1.4-5.3-4.8c-1.7-2.2-2.8-6-.2-9 2.8-3.6 8.5-5.2 14.7-5.6a86 86 0 0 1 13 .5l7.2 1.3h.3c3.3.7 6.2 1.5 10 1.7q.4 0 .7-.3.6-.4.5-1 0-1-.6-1.4a5 5 0 0 0-1.8-1.3q-4-1.4-7-1.8l-4.9-.8c-19.4-3.3-39-4.3-58.8-1.8a117 117 0 0 0-10.8 2q-6 1.4-11 3.4a36 36 0 0 0-11.4 7c-.9 1.1-5.3 4-5 10.8q.3 2.4 1.7 4.7l.6.9a30 30 0 0 0 15.3 9.7l3.8 1.2c5 1.5 9.1 2 18.3 5.5l1.1.4c2.6 1.2 5.5 3 7.4 5.7s1.5 6.6-.7 9.4c-1.6 2.4-4.5 3-7.3 3.4-4.8 1-9.4.9-13 .6-5.4-.4-8.4-1-10.5-1.4l-5.1-1.2-9.6-2.6a1 1 0 0 0-.9.6l.2 1.8c.2 1 .9 1 1.4 1.3l2.9 1a91 91 0 0 0 10.7 2.9l1.3.3-1.1-.2a91 91 0 0 1-11-3q-1.2-.2-2.8-.9a3 3 0 0 1-1.5-1.3 3 3 0 0 1-.2-2 1 1 0 0 1 1-.6q4.4 1.4 9.7 2.6l5.1 1.2c2.1.4 5.1 1 10.5 1.4q5.4.6 13-.6c2.7-.4 5.5-1 7-3.4 2.2-2.8 2.9-6.6.8-9.3a18 18 0 0 0-7.4-5.5l-1-.5c-9-3.4-13.2-3.9-18.2-5.5l-3.7-1.2a31 31 0 0 1-15.5-9.5l-.7-1a12 12 0 0 1-1.7-4.6c-.4-7 4-9.7 4.6-10.7Q26.9 42.8 34 40a84 84 0 0 1 11-3.3q4.9-1.2 10.6-2m17.1 70.8h-1.3l1.2-.2a162 162 0 0 0 16.4-1 90 90 0 0 0 19.4-4.3 45 45 0 0 0 8.4-4c5.2-3 7.8-7.7 7.8-10.8l.2-1.2v1.3c-.1 3-2.8 7.8-8 10.7a45 45 0 0 1-8.3 4 89 89 0 0 1-19.5 4.4 163 163 0 0 1-16.3 1`,fill:`#000`},null,-1),t[5]||=P(`path`,{d:`M69.9 46.2c-9 0-17.4 7.5-20 18.2l5.3-4.3.1-.1a13 13 0 0 1 8-2.8H87a20 20 0 0 0-17.1-11`,fill:`#dcdcdc`},null,-1),P(`path`,{"clip-rule":`evenodd`,d:`M69.9 42.4c9.2 0 17.2 6 21.4 14.8H96c2.3 0 4.2 1.9 4.2 4.2v13q0 1.8-1.5 3.1l3.3 10a5 5 0 0 1-4.7 6.4H93a4 4 0 0 1-3.2 1.8h-4A3.7 3.7 0 0 1 82 92a3.7 3.7 0 0 1 3.8-3.7h4q2.2.2 3.2 1.8h4.3q1.2-.2 1-1.4L95 78.5h-4.9q-2.2 0-3.5-1.8l-1-1.6a.5.5 0 0 0-.8 0l-.5 1a4 4 0 0 1-3.8 2.4H64q-2.4 0-4.1-1.7l-1-1q-.3-.3-.7-.3l-1.7-.2c-.1 5.7-4 10.2-8.7 10.2-4.8 0-8.6-4.7-8.6-10.4v-1.8h.1v-.1c.7-4.2 3.3-7.5 6.8-8.4C48.6 52.2 58.3 42.4 70 42.4M43 73.7c.6-3.5 3-5.3 4.8-5.3 2 0 4.8 2.2 4.9 6.7a8 8 0 0 1-.9 3.8c-1 1.9-2.7 2.9-4 2.9a4 4 0 0 1-2.7-1.3l-.3-.2-1.1-1.8A8 8 0 0 1 43 75zM63.3 63c0-1 .9-2 2-2h29.3c1 0 2 1 2 2l-.2 10a2 2 0 0 1-1.9 1.8h-3.3q-1.5-.5-2-1.2l-2.5-3.8a2 2 0 0 0-3.5.2l-1.6 3.2a3 3 0 0 1-2.7 1.6l-13.6.2a2 2 0 0 1-2-1.9zM50 64.4C52.5 53.7 61 46 70 46c6.8 0 13.2 4.4 17.1 11.1H63.3q-4.5 0-8 2.8z`,fill:r.visor,"fill-rule":`evenodd`},null,8,M4n),t[6]||=P(`path`,{d:`M47.7 68.4c-1.8 0-4.2 1.8-4.7 5.3v.6l-.1.4v.4q0 2 .7 3.4a6 6 0 0 0 1.6 2.2 4 4 0 0 0 2.5 1c1.3 0 3-.9 4-2.8q.8-1.5.9-3.8c0-4.5-2.9-6.7-4.9-6.7`,fill:`#dcdcdc`},null,-1),P(`path`,{d:`M65.2 61q-1.8.1-2 1.9V73a2 2 0 0 0 2 1.9l13.7-.2a3 3 0 0 0 2.6-1.6L83 70a2 2 0 0 1 3.6-.3l2.5 3.8q.5.8 2 1.1.5.2 1 .1h2.3a2 2 0 0 0 2-1.8v-10c0-1-.8-2-1.9-2z`,fill:r.lens},null,8,N4n),t[7]||=ni(`<path d="M42.8 73.5v-.3h.1V73l.1-.2.4-1.1.2-.4.2-.4v-.1h.1l.1-.2v-.1l.1-.1.3-.4.2-.2.3-.3.3-.3.3-.2.2-.1.2-.1v-.1l.3-.1.3-.1h.1v-.1h.3q.2-.2.5-.2h.3q.5 0 .9.2h.3v.1h.3v.2h.3l.1.1h.1v.1h.1l.1.2h.1l.5.4.1.1q.3.2.3.4h.1l.1.1v.2h.1l.2.3v.2h.1l.1.1.1.1v.2l.1.1v.1h.1l.1.3v.3h.1v.2l.1.2v.3h.1v.3l.1.4v.1l.1.2v1-.8l-.1-.1v-.6h-.1V73l-.1-.1v-.3l-.1-.2v-.1q-.1 0 0-.1L52 72l-.1-.2-.1-.1-.1-.3-.1-.2-.1-.2h-.1v-.2h-.1l-.2-.3-.1-.2h-.1V70h-.1l-.2-.2-.1-.1h-.1v-.2h-.2l-.2-.2-.2-.2-.4-.2h-.1v-.1H49v-.1h-.3v-.1h-.3v-.1h-1.1v-.1H47v.1h-.3l-.2.1-.2.1-.2.1-.2.1-.2.1-.1.2-.3.2h-.2l-.4.5-.4.5-.2.4-.1.1-.1.1-.3.6-.3.8-.1.4v.1l-.1.3v.3H43v.1h-.1zm9.6 1.4h.1v.1zm-9.3-1.2h-.3.2m-.2 0h.1zm.2 0h-.3zm-.2 0h.1zm.2 0h-.2q.1 0 0 0h-.1zm-.2 0h.1zm.2 0h-.2q.1 0 0 0h-.1zm-.2 0h.1zm.2.1h-.2q-.1 0 0 0h-.1zm0 0h-.2q-.1 0 0 0h-.1zm0 0q-.1 0 0 0h-.1v.1h-.1v-.1zm0 .2h-.3q.1 0 0 0zm-.2 0q.1 0 0 0m.2 0h-.3q.1 0 0 0zm-.2 0q.1 0 0 0m.2 0h-.3zm0 0h-.3zm0 0h-.2q.1 0 0 0zm-.2.1q.1 0 0 0m.2 0h-.3q.1 0 0 0zm-.2 0q.1 0 0 0m.2 0h-.3q.1 0 0 0zm0 0h-.3q.1 0 0 0zm0 0h-.3zm0 0h-.3zm0 .1h-.3zm-.2 0h.1zm.3 0h-.3zm.1 0h-.3zm.1 0H43zm0 0h-.2v.1H43zm-.2 0q.1 0 0 0m.3 0h-.3zm-.2 0q.1 0 0 0m.3 0h-.1v.1h-.1v-.2zm.1.2h-.3zm0 0h-.3zm0 .1h-.3s-.1 0 0 0zm0 0h-.3s-.1 0 0 0zm0 0H43q-.1 0 0 0h-.2zm0 0H43q-.1 0 0 0h-.2zm0 0q-.1 0 0 0H43zH43zm0 0q-.1 0 0 0h-.2zm0 0h-.2zm0 0h-.2zm0 0H43zH43zm0 0q-.1 0 0 0h-.2zm0 0h-.2zm0 0h-.2zm0 .2v.8l.2 1.2v.4h.1l.1.4v.2h.1v.3h.1v.2l.3.4.2.3.2.3.3.4.2.2.1.2h.1l.2.2.1.1.2.2.3.1v.1h.1l.2.2.6.2h.2l1 .2h.4l.2-.1h.2l.2-.1h.2V81h.2l.1-.1q.4-.1.6-.4h.1l.1-.1.4-.3V80l.2-.1.1-.2.3-.3.1-.1v-.2l.1-.2.2-.2v-.1h.1v-.1l.1-.3.1-.2h.1l.1-.2v-.1l.1-.4.2-.2V76h.2l-.1-.1v-.6h.1v1.2h-.1v.7l-.1.2-.1.2v.1l-.1.1v.3H52v.2l-.1.3v.2l-.2.2-.1.2-.2.2v.1l-.1.1v.1l-.3.3-.1.2h-.1l-.1.2-.3.2-.1.2H50v.2l-.3.2-.3.1-.5.3h-.3l-.2.1h-.2l-.3.1H47l-.6-.2h-.1l-.2-.2H46l-.1-.1-.2-.2h-.2V81l-.2-.1-.2-.2-.2-.2h-.1v-.1h-.1l-.3-.3V80l-.5-.6-.3-.7-.2-.3v-.2l-.1-.1v-.2h-.1l-.2-.6-.2-1v-1.4h.2zm9.6 0q0 .2 0 0m-.2-.1h.3zm0 0h.2zM72.3 42c1.4.1 3.2.6 4.5 1l.5.2 1.5.7h.2l2.8 1.6A28 28 0 0 1 91.4 57h-.1 4.6q1.5 0 2.5.7.2.1 0 .1l.7.6a4 4 0 0 1 1.1 2.8v13q0 2-1.5 3.2l.5 1.3 1.4 4.4 1.4 4.2v.1l.2.5v.2a5 5 0 0 1-3.5 5.5h-.1q-.6.2-1.4.2H93a4 4 0 0 1-1.4 1.4l-.7.2-.1.1-1 .1h-4.1a4 4 0 0 1-2.8-1.2l-.1-.2a4 4 0 0 1-.5-4l.1-.1q.4-.7 1-1.1a4 4 0 0 1 2.3-.9h4.1q2.1 0 3.3 1.9h4.1a1 1 0 0 0 1-.6 1 1 0 0 0 0-.9L95 78.4h-4.3q-.1 0 0 0h-1.4l-.6-.3q-.5-.1-1.2-.7L87 77l-.4-.5-.7-1q-.2-.4 0-.2l-.3-.3-.2-.2H85l-.2.2-.1.2-.5 1-.5.7a4 4 0 0 1-1.8 1.2l-.2.1-1.2.2H62.9l-.1-.1-.8-.2-.6-.3-.3-.1c-.1-.1.2.1-.2 0l-1.2-1-1-1q-.2-.3-.6-.3l-1.7-.3v.2c0 1.3-.2 1.7-.3 2.4l-.4 1.6c-.3.7-.2.3-.3.4l-.2.4c0 .1.1-.2 0 .1l-.7 1.2c-.1.2.2 0-.4.6a9 9 0 0 1-3.7 3c-.2 0 0-.1-.2 0l-1.5.4h-2l-.6-.2-.9-.2-2-1a10 10 0 0 1-2.2-2.4l-.6-1-.8-1.8v-.1l-.2-.8a12 12 0 0 1-.3-4v-.7a12 12 0 0 1 1.2-3.8l.4-.7 1.2-1.5.3-.4 1.2-1h.1a7 7 0 0 1 2.4-1.1l.4-1.6.5-1.7.5-1.3q.2-.8.9-2.3a30 30 0 0 1 3-5.2l.3-.5.5-.6 1.8-2.1.5-.5 1-.9 1-.9 1-.7.6-.4v-.1l1.1-.6 1-.5c.2-.2-.2 0 .1-.1l2.6-1.1.1-.1 1.7-.6c.5 0 .4-.1 1.4-.3q.2 0 0 0l-1.2.3-.8.3-.7.2-3.2 1.4-.7.4-2.3 1.5-.7.6-.8.7h-.1l-.9.8-1 1.1-.6.6-.7.9c-.2.2 0-.3-.4.3v.1l-2.4 3.8-.1.2a30 30 0 0 0-2.6 6.3l-.2.4c-.2.7 0 .4 0 .6l-.5 1.6-1 .4-.4.2-1.6 1-.9.8-.8 1-.6.9-.4.6s-.3.5-.1.3l.1-.3q0 .5-.6 1.5l-.3 1v.6l-.1.3v.2l-.1 2.5v.2l.2 1.7v.1q.5 2 1.7 3.8a9 9 0 0 0 1.9 2 8 8 0 0 0 3.6 1.7c.7.1.5 0 .8 0h1.8-.3.3c.1 0 1.3-.4 1.5-.6h.1a9 9 0 0 0 3.7-3.3l1-2.2.6-1.9.2-2V75h.6l1.2.2q.5 0 .8.4l.9 1 .2.1a6 6 0 0 0 3.8 1.5h16.7a4 4 0 0 0 3.2-1.6l.4-.6.1-.2.4-.9q.4-.5 1-.2v.2l.7.9.4.6.3.4.4.4.2.2a4 4 0 0 0 2.6.8H95l.1.1.1.4.2.5 2.4 7.1.2.6.5 1.6c.3.7-.4 1.7-1.2 1.6H93l-.7-.9a4 4 0 0 0-2.5-.9h-4l-.8.1a4 4 0 0 0-2.4 2l-.2.5a4 4 0 0 0 .1 2.4h.1a4 4 0 0 0 1.9 1.8l.2.1q.5.2 1.2.2h4l1.2-.2q.2 0 0 0l.4-.2a4 4 0 0 0 1.5-1.3h.5l.3-.1h3.6l1.2-.2h.1a5 5 0 0 0 2.2-1.3 5 5 0 0 0 1-4.7l-1.1-3.5-2.1-6.5v-.1a4 4 0 0 0 1.3-2V75l.1-.8v-13a4 4 0 0 0-4-4h-4.8a29 29 0 0 0-4.6-6.9l-.1-.1a27 27 0 0 0-4.3-3.8l-.6-.4-1-.7h-.1a23 23 0 0 0-4.6-2h-.1a21 21 0 0 0-4-.9h-1l-.5-.1c-.1 0 .2-.1 0-.1H70h2.2M58.6 75.5l.3.3zq-.1 0 0 0m-8.5-21-.3.4.3-.5m3.9-5q-.7.9 0 .1m5-4-.6.3c.2 0 .7-.4.5-.3m10.1-3c-1.6 0-2.5.1-.8 0h-.3l2-.1zm25.6 35.9h.4zm-30.3-17a2 2 0 0 0-.9 1.2v10.9q0 .3.2.3a2 2 0 0 0 1.6 1h10v-.1h3.6q.7 0 1-.2.5-.1 1-.6l.2-.1v-.1l.4-.6.2-.4.3-.6.6-1.2.5-1 .4-.5.5-.4.3-.1q.6-.2 1.3 0t1.2.8l1 1.5.1.3.6.9.7 1q.8 1 2 1.2h1l.5.1H95l.3-.2.6-.5q0-.2 0 0l.3-.3v-.2l.1-.4V65l.1-.3V63a2 2 0 0 0-.6-1.4l-.7-.4h-.7q-.3 0-.2-.1H66.7h2.5l.3-.1H82h-.1.4-.2 8.7q-.2 0 0 0h3.7l.8.1q.4.1.6.5l.2.1q.5.6.5 1.3v2l-.1.6v7.7l-.3.7-.4.4-.4.3-.2.1H95q-.3.2-.7.2h-2.7l-.6-.1a4 4 0 0 1-2.1-1.2l-.2-.2-1.5-2.4-.1-.2-.3-.4-.4-.6-.4-.4-.7-.3h-.8v-.1q-.4 0-.9.4l-.2.2-.1.1-.2.4-.1.2-.2.3-.5 1-.6 1.2-.1.3v.1l-.6.7-.1.2-.9.6q-.6.2-1.3.2h-9v.1H65a2 2 0 0 1-2-2V62.9l.1-.6a2 2 0 0 1 1.2-1.3h.6q.2 0 .1.1h-.2l-.3.1zm32.1.9q0 .3 0 0M74.7 61h.2zm-2.5 0q.5 0 0 0m-2.5 0h.2zm-4.2-.1c.6 0 1 .2.3.1h.1-.7zm26.7 13.8h-.4zM87.1 61h-.5zM69 46.4l-1.7.1h-.2l-.6.1-1.2.3q-2.8.8-5.3 2.5l-1.8 1.3-.2.2-1.4 1.3-.2.2-.4.4-1 1.1v.1l-.3.4h-.1l-.3.5a27 27 0 0 0-2.9 5l-.9 2.4L50 64v.4h-.2l.5-.5.2-.1 1-.8q.1-.3.4-.3l1-.8v-.1l1.2-1 .5-.3.2-.2.4-.3.5-.4 2.6-1.5q.2 0 0 0l.4-.1.9-.3q1.8-.5 3.6-.5H87l-.5-.7-.3-.4-.3-.6-.2-.3-.9-1.1-.1-.2-.7-.8-.3-.4-.2-.2q0-.2-.5-.5l-.1-.1-.4-.4-1.2-1-.5-.5-.4-.3-.8-.5-1.9-1.1-.2-.1-.3-.1-.9-.4-.2-.1-.5-.2-.4-.2-.4-.1h-.3l-.5-.2-.4-.1-1-.2q-.2 0 0 0l-.7-.1h-.6v-.1h.8l.3.1h.4l.8.2h.3l1 .4h.3l.4.2.4.1.5.2.3.2.4.2h.2l1.5.8.8.6.7.4.6.5.1.1.2.1.5.5.3.2h.1l.5.6.3.3.4.3.2.3.2.2v.1-.1l.4.5.2.3.2.1.7.9.4.6 1.4 2-.1.2h-2.6.1-21.3q-1.2 0-2.3.3h-.2l-2.5.8c-.5.2.1 0-.3 0l-.3.3q-.6.2-1 .6l-.7.4-.1.1-.4.3-.1.1-.8.6-.2.2-.2.1-.5.4-.2.2-.8.7-1 .8-.2.2-.7.6h-.1l-.6.5-.2-.1V64l.5-1.8.2-.4q0-.3.2-.5a25 25 0 0 1 3-6l1.6-2v-.2l.6-.5.6-.7 2.4-2 .2-.2q1.8-1.4 4-2.3l2-.8h.2l.5-.1 1.8-.4 1.6-.1h.5v.1h.1-.2v.1H69m9.8 11q-.3 0 0 0m-.4-9 .2.2zm-2.1-1q.4 0 0 0m-2.3-.7h.3zm-3.8-.5h.3c-.1 0 .2 0 0 0zm16.3 10.2-.3-.3z" fill="#000" data-v-efa38169></path><text fill="#767676" stroke="#767676" stroke-width=".2" style="font-size:5.677px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="36.1" x="18.3" y="17.1" data-v-efa38169> SCALAR.COM </tspan></text><text fill="#767676" stroke="#767676" stroke-width=".2" style="font-size:5.677px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="46.2" x="80.7" y="17.1" data-v-efa38169> AT YOUR SERVICE </tspan></text><text fill="#767676" style="font-size:16.97px;font-weight:700;" data-v-efa38169><tspan lengthAdjust="spacing" textLength="101.1" x="17.9" y="131.3" data-v-efa38169> Agent Scalar </tspan></text><text fill="#767676" style="font-size:6.578px;font-weight:700;" data-v-efa38169><tspan x="120.8" y="119.6" data-v-efa38169> © </tspan></text>`,5)]))}})})),L4n=s((()=>{})),R4n,z4n=s((()=>{I4n(),I4n(),L4n(),e3(),R4n=$4(F4n,[[`__scopeId`,`data-v-efa38169`]])})),B4n,V4n=s((()=>{B4n={}})),H4n=s((()=>{}));function U4n(e,t,n,r,i,a){return j(),M(`svg`,W4n,[...t[0]||=[ni(`<path class="explore-sticker-blue" d="M21.2 1.5H92c10.8 0 19.6 8.8 19.6 19.7v99.7c0 10.9-8.9 19.7-19.7 19.6H21a19.6 19.6 0 0 1-19.6-19.6V21c0-10.8 8.9-19.6 19.7-19.6Z" fill="#0082d0" stroke="#dcdcdc" stroke-width="3" data-v-6b3b991b></path><text fill="#fff" style="font-size:14.7547px;font-weight:800;letter-spacing:-0.02em;" data-v-6b3b991b><tspan x="17.7" y="96.8" data-v-6b3b991b> Developer </tspan></text><text fill="#fff" style="font-size:14.5535px;font-weight:800;letter-spacing:-0.02em;" data-v-6b3b991b><tspan x="43.8" y="112.1" data-v-6b3b991b> Portals </tspan></text><text fill="#dcdcdc" style="font-size:2.83764px;font-weight:500;letter-spacing:0.01em;" transform="translate(15.0137 118.313) rotate(0.696807)" data-v-6b3b991b><tspan lengthAdjust="spacing" textLength="70" x="0" y="2.92363" data-v-6b3b991b> Scalar embraces open standards and makes it easy for you </tspan><tspan lengthAdjust="spacing" textLength="68.8" x="0" y="6.70715" data-v-6b3b991b> to embrace them too. Join the open-source community and </tspan><tspan lengthAdjust="spacing" textLength="43.8" x="0" y="10.4907" data-v-6b3b991b> start building on open foundations. </tspan></text><path d="M72.8 39.7H94q1.3 0 1.7 1.2l.7 2.1q.4 1.6-.3 3.1L80.2 76.8q-.3.6-1 .6l-25.7-.1c-.9 0-1.5-.9-1.1-1.7l5.5-12.2q.4-.6 1-.7l25.9-1c2.5-.9 3.6-6.5 1.6-6.5h-22c-.7 0-2-2.2-1.8-3.4.7-3.2 6.3-11 7.1-14.4.3-1 0-3.4-1-3.4H47.5q-.6 0-1-.7l-.4-.7q-.3-.5 0-1.1l7-11.7q.4-.6 1-.6h25c.5 0 1.1 1.4 1.2 2 .3 4.7-8.2 12.9-7.4 18.5" fill="#fff" data-v-6b3b991b></path><path d="M38.3 40.3H59q1.2 0 1.7 1.2l.8 2.8q.3 1-.1 1.7L46.6 77.1q-.4.7-1 .7l-24.4.1q-1.3-.2-1-1.5l3.6-12.3q.3-.7 1.1-.8l25.2-1c2.4-1 3.5-6.5 1.6-6.5H30c-.6 0-2-2.2-1.7-3.5.7-3.2 6.2-11 7-14.3.2-1 0-3.5-1-3.5H13.5q-.7 0-1-.6l-.4-.7q-.3-.5 0-1.1L19 20.4q.4-.6 1-.6h23.7q.8 0 1.4.7l.6 1.4c.3 4.6-8 12.8-7.3 18.4" fill="#fff" data-v-6b3b991b></path><text fill="#fff" style="font-size:3.54646px;font-weight:bold;letter-spacing:0.09em;" transform="translate(19.9 12.3)" data-v-6b3b991b><tspan x="0" y="3.6" data-v-6b3b991b> WWW.SCALAR.COM </tspan></text>`,7)]])}var W4n,G4n,K4n=s((()=>{V4n(),V4n(),B(),H4n(),e3(),W4n={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`portals`,fill:`none`,focusable:`false`,viewBox:`0 0 113 142`,xmlns:`http://www.w3.org/2000/svg`},G4n=$4(B4n,[[`render`,U4n],[`__scopeId`,`data-v-6b3b991b`]])})),q4n,J4n=s((()=>{q4n={}})),Y4n=s((()=>{}));function X4n(e,t,n,r,i,a){return j(),M(`svg`,Z4n,[...t[0]||=[ni(`<path class="explore-sticker-purple" d="M60 8.6a15.1 15.1 0 0 1 26.6.4l55.8 106.4a6 6 0 0 1-5.4 8.8l-22.3-.3-.6 11.9a7 7 0 0 1-7.2 6.8l-74-.8a7 7 0 0 1-7-7l-.5-12-19.1-.3a6 6 0 0 1-5.2-9z" fill="#5a00da" data-v-75b01ebd></path><path d="m64.5 12.6-.2-.2zm17.4.2.3-.1zM136.1 116l.2-.2zM7.3 114.3l-.2-.1zM64.5 12.6l.3.1a9.6 9.6 0 0 1 16.9.3l.2-.2.3-.1c-3.8-7.2-14-7.3-18-.3zm17.4.2-.2.2 54.1 103 .3-.1.2-.2-54.1-103zM136.1 116l-.3.1a1 1 0 0 1-.8 1.3v.6a1.5 1.5 0 0 0 1.3-2.2zm-1 1.7v-.3L8.2 115.8v.6L135 118zM8.2 116v-.3a1 1 0 0 1-.7-1.3l-.3-.2-.2-.1a1.5 1.5 0 0 0 1.2 2.2zm-1-1.8.3.2L64.8 12.7l-.3-.1-.2-.2L7 114.2z" fill="#dcdcdc" data-v-75b01ebd></path><path class="explore-sticker-purple" d="m87 18-5 2.4L97.5 48l5-3zm-54.2 96.8 75.3 1-.2 13.2-75.2-1z" fill="#5a00da" data-v-75b01ebd></path><text fill="#bebebe" stroke="#bebebe" stroke-width=".1" style="font-size:22.75px;font-weight:700;" transform="rotate(.726 -8815.25 3286.405)" data-v-75b01ebd><tspan x="0" y="22.3" data-v-75b01ebd> SDKs </tspan></text><path d="m74.8 11.7.2.2v2.4l1.7-1.7h.3l1.3 1.3v.3L76.5 16H79a.2.2 0 0 1 .2.3V18a.2.2 0 0 1-.3.2h-2.4l1.7 1.7v.3L77 21.5h-.3L75 19.8v2.4l-.2.2h-1.9l-.2-.2v-2.5L71 21.4h-.3l-1.3-1.3v-.3l1.8-1.7h-2.5l-.2-.2V16a.2.2 0 0 1 .3-.2H71l-1.7-1.7v-.3l1.3-1.2h.3l1.7 1.7v-2.4a.2.2 0 0 1 .3-.3zm24.4 49q.3.5.3 1c.4 4.8-.4 10 0 14.8l13.2 7.8v16.6L98.6 109 85 101.7 72.8 109l-.7.2-13.4-7.5-13 7.5-.8-.2-13.5-8.1V84.1l13.1-7.5.2-15.4c.2-.6 1.9-1.5 2.5-1.8l10.7-6V38.1c.2-.5 3.1-2.1 3.8-2.5l10.6-6 13.9 8.2c.5.6 0 1.3 0 2V53zm-38-21.9 11 6.2L83 38.5l-10.6-6.3-11 6.1zm10 20.8V47.4l-.8-.8L60.2 41v12.6zM70 61.5l-11-6.2-11.3 6.6 11.2 6.6L69.6 62zm26.6 0L85 55.3l-10.6 6.3 10.9 6.7zM84.3 83V70.3l-11.2-6.6v12.9zm-26.6-.3V70.5L47 64v12.4l8.6 5.2c.3.2 2 1.3 2.2 1.1m-1 2.1L46 78.5l-11.6 6.3 11.3 6.8 11-6.2zm26.7 0-11.3-6.3-11 6.3-.2.4 11 6.2 11.3-6.1zm26.4.2-11.3-6.4L87.3 85l11.2 6.6zm-65.2 8.5-10.8-6.3-.4.2v12.1l11.2 6.6zM71 106.3V93.6q-5.5-3.5-11.2-6.5v12.4zm26.6 0V93.8l-11.2-6.5v12.5z" fill="#dcdcdc" data-v-75b01ebd></path><text fill="#dcdcdc" style="font-size:3.5px;font-weight:800;" transform="rotate(62.7 27.4 82.8)" data-v-75b01ebd><tspan x="0" y="3.5" data-v-75b01ebd> SCALAR.COM </tspan></text><text fill="#fff" style="font-size:4.083px;font-weight:800;" textLength="92" transform="rotate(.726 -9781.13 2693.84)" data-v-75b01ebd><tspan x=".1" y="3.7" data-v-75b01ebd> SOFTWARE • DEVELOPMENT • KITS </tspan></text>`,7)]])}var Z4n,Q4n,$4n=s((()=>{J4n(),J4n(),B(),Y4n(),e3(),Z4n={"aria-hidden":`true`,class:`explore-scalar-sticker block h-auto`,"data-sticker":`sdks`,fill:`none`,focusable:`false`,viewBox:`0 0 144 143`,xmlns:`http://www.w3.org/2000/svg`},Q4n=$4(q4n,[[`render`,X4n],[`__scopeId`,`data-v-75b01ebd`]])})),e3n,t3n=s((()=>{B(),z4n(),K4n(),$4n(),e3n=k({__name:`ExploreScalarStickers`,props:{layout:{}},setup(e){let t={row:{wrapper:`flex items-end justify-center gap-2 px-3 pt-4`,portals:`w-[52px] origin-bottom`,sdks:`w-[56px] origin-bottom`,agent:`w-[50px] origin-bottom`,rotate:{portals:`-6deg`,sdks:`2deg`,agent:`6deg`}},hero:{wrapper:`relative flex min-w-0 items-end justify-center px-4`,portals:`relative z-0 w-[92px] min-w-0 origin-bottom translate-y-1`,sdks:`relative z-10 -mx-3 w-[120px] min-w-0 origin-bottom`,agent:`relative z-0 w-[104px] min-w-0 origin-bottom translate-y-0.5`,rotate:{portals:`-8deg`,sdks:`2deg`,agent:`6deg`}}},n=z(()=>t[e.layout]);return(e,t)=>(j(),M(`span`,{"aria-hidden":`true`,class:lt([`explore-scalar-stickers`,n.value.wrapper])},[R(G4n,{class:lt(n.value.portals),style:ct({"--sticker-rotate":n.value.rotate.portals})},null,8,[`class`,`style`]),R(Q4n,{class:lt(n.value.sdks),style:ct({"--sticker-rotate":n.value.rotate.sdks})},null,8,[`class`,`style`]),R(R4n,{class:lt(n.value.agent),style:ct({"--sticker-rotate":n.value.rotate.agent})},null,8,[`class`,`style`])],2))}})})),n3n=s((()=>{})),r3n=l({default:()=>i3n}),i3n,a3n=s((()=>{t3n(),t3n(),n3n(),e3(),i3n=$4(e3n,[[`__scopeId`,`data-v-a27122a1`]])})),o3n,s3n,c3n,l3n,u3n,d3n,f3n,p3n,m3n,h3n,g3n,_3n=s((()=>{B(),o3n={"aria-hidden":`true`,class:`block h-auto`,"data-sticker":`marc`,fill:`none`,focusable:`false`,viewBox:`0 0 153 149`,xmlns:`http://www.w3.org/2000/svg`},s3n=[`id`],c3n=[`mask`],l3n=[`id`],u3n=[`mask`],d3n=[`id`],f3n=[`mask`],p3n=[`id`],m3n=[`mask`],h3n={},g3n=k({...h3n,__name:`StickerMarc`,setup(e){let t=xr(),n={a:`${t}-a`,b:`${t}-b`,c:`${t}-c`,d:`${t}-d`},r={a:`url(#${n.a})`,b:`url(#${n.b})`,c:`url(#${n.c})`,d:`url(#${n.d})`};return(e,t)=>(j(),M(`svg`,o3n,[P(`mask`,{id:n.a,height:`153`,maskUnits:`userSpaceOnUse`,style:{"mask-type":`alpha`},width:`153`,x:`0`,y:`0`},[...t[0]||=[P(`ellipse`,{cx:`76.5`,cy:`74.3`,fill:`#d1dba4`,rx:`76.5`,ry:`74.3`},null,-1)]],8,s3n),P(`g`,{mask:r.a},[t[5]||=P(`path`,{d:`M76.6 0a75 75 0 0 1 75.6 74.2 75 75 0 0 1-75.6 74.2A75 75 0 0 1 .9 74.2 75 75 0 0 1 76.6.1Z`,fill:`#ff80a3`},null,-1),P(`mask`,{id:n.b,height:`92`,maskUnits:`userSpaceOnUse`,style:{"mask-type":`alpha`},width:`92`,x:`34`,y:`27`},[...t[1]||=[P(`circle`,{cx:`80`,cy:`72.9`,fill:`#c2373c`,r:`45.4`},null,-1)]],8,l3n),P(`g`,{fill:`#d60036`,mask:r.b},[...t[2]||=[P(`path`,{d:`M67.2 55.4h-.3s.7-.4.3 0`},null,-1),P(`path`,{d:`M40.5 114.7q-.1-.9.5-1.3c.5-.5 3-2.4 3.6-2.6s1.3.1 1.9 0c.6 0 2.7-.7 3-1.1v-.8c.1 0 .8 0 1.2-.2.9-.3 1.7-1.3 2.7-1.5-.4-1.2-1.9.3-2.7-.2l5.2-3 1-1.5c-1.3-.6-3.6.1-4.7-.4-1-.5-2-1.9-2.6-2.6-1-1-3.2-3-3.3-4.4l.4-2.4c.5-1.8 1.8-2.1-.8-3.2-.5-.3-1.8-.5-2-.6s.4-1 .4-1.1c-.7-.5-2.5 1.5-3.6-1.3-.4-1.1-1.6-4.8-1.7-5.8s-.2-3.8 0-4.6c0-.3.6 0 .6-.3s-.8.2-.6-.9c0-.3.8 0 .9-.3-.3-.5-.9-.1-.9-.1-.2-.2-.2-1 0-1.2-1.5.2-3-.6-2.7-2.3-.6.5-1.4.1-2-.3l.3-1-.1-3.1c0-.5-.7-.5.7-.5q-.6-.8.3-1.3c0-.3-.5 0-.6-.3s-.4-1.5-.3-1.6c0 0 .8.1 1-.3.3-.3 0-1.2.2-1.8l1-2c.5-.4.7 0 1.3 0l-.6.6-.6-.5c0 .6.6 1 .6 1.6 0 .5-1 1.2-.4 1.8q.4-.5.5-1l.4-.2v-.9c.2-.3.5-.1.7-.4.9-1.8-.4-1-.9-1.5s.5-.6.5-.6c.2-.2-.4-1.5-.5-1.7-.1 0-1.5.5-.3-.9-.9.2-.4-.6-.6-.8 0-.1-1 .4-1.2-.8 0-1.4 1.2-2.6 1.5-3.5.3-1.1-.6-2.7 1.5-2.7-.2-.5-.2-2.4-.3-2.6-.3-.4-4.4-.1-.4-3.2.9-.7 1.3-1 2.5-.6l-.6-.5c.5.2 1.2-.3 1.6-.3.2 0 0 .5.3.6 1 .2.6-.7 1.2-.9s2.8.6 4.2.1c1.3-.4 2.6-3 4-3.2s3.2 0 4.7-.1c.8-.1 3-1.4 3.5-.6.2.3 0 .8.3.9.2-.1.6-.7.4-.9-.1 0-.6.2-.6-.1l1.2-.6c.4-.3 3.2-3 3.5-2.4 0 .1 0 .6.2.5l1.5-.8c.1 0 .4.5.8.5.6 0 1.4-.7 2.1-.8.4 0 3-.2 3 0l-.2.5c1.2-.5 5.5 1.1 6.3 0 .2-.2-.6-1.4.1-1.4q0 2.1 2.2 1.7c.7-.1 1.6-.8 2.1-.8s1 .7 1.4 1c.5.1 1.7 0 2 .2l.8 2.4c1 1.9 5.8 5.5 7.7 6.9 1.1.8 4.6 3 6 2.6.7-.1.7-.9 1.2-1.3 1.3-1.2 3.2-1.2 4.9-1.1l-2.4.6c0 1.9.2 0 1.2 0 .2 1-.5.8-1 1.4-.7-.8-.4-1.9-1.7-.7l1 .3c-.6.8-1-.3-1.8-.2q.6.8 1.4 1.2c-1 2.2 1.3.6.6 0l.7.8v.6l1 .3.2-.9c.2-.3 1-.4 1-.3.2.2-.3.9-.2 1s1 0 1.4.5c.2-1.2 0-1.6-.5-2.6v-.6c-.3-.4-1.6.1-.7 1-.7.6-.4-.4-.8-1.1-.2-.3.7 0 .8-.2.3-.2-.3-1 .5-.8.6 0 2.2 1.7 2.4 2.3.8 2.3-2.6 5.6-1 8 1 1.4 2.3 2.5 3 4.1.5 1.2 1.1 3.3 1.5 4.6.4 1.5 1.2 4.3 1 5.6-.3 1-1.2 1.7-1.4 3l-.1 2.2c-.2.7-1 .7-1.1.8q-.2.6 0 1.6s-1.4.7-1.2 1.4l1-.1v.6c1.3-.7 1 .8 1.2.8s.4-.2 1 .2c2 1.4-.2 1.6-1.5 2.6l-3 2.9c-1 1.5 1.6 1.6 2.7 2.1s4.3 2 5 3l.4 1c.1.2 2.1.5 2.7 1 1.5 1.2 3.2 5.2 3.4 7 .2 2-.7 3.3-.9 5-.2 2.4.5 5 .3 7.2-.3 3.3-1.4 2.6-3.9 3.4l-2.8 1h-8.9c1.1-1.6.7-4.4 1.9-6q.3 0 .6-.3c.7-1 .1-2 .2-3 0-.8.5-1.8.3-2.8l-1.2 1.5c.2-.7-.6-.5-.6-.7 0-.3.9 0 .6-.6-.2-.4-1-.6-1.2-.5q.2.2.2.6c-.2.4-1 .8-1.2 1.2q-.5 2.6-.2 5.3c0 .4-1.2.8-1.7.8.1-.8-.5-1.3-.6-2-.4-2.8 1.2-4.7 2.2-7 1.6-3.8 3.5-9.2 1.8-13-2.2-5.1-6.5-9.9-8.8-14.9a18 18 0 0 1-1.4-4.8q3 .6 4.3-2c.4-1 0-3-.6-3.8-.4-.6-1.1.2-1.3 0 0 0-.4-1.4-.9-.8-.2.2.6 1.6.3 2 0 0-1.3.4-1.6.3s-.3-.7-.5-.8l-.8-.1s0-1.1-.3-1.5-1.5-1-1.8-1.5c-.6.2-1.5-.4-1.9-.4s-.7 1.4-1.9.4c-.5-.5-1-2.2-1.6-3-.8-1-2.7-2.8-3.8-3.3l-1.5-.5c-.2-.2 0-.5-.4-.6-1-.3-3.3-1-4.3-1.1h-1c-.7.8.9 3.7 1 4.8q.2 1.5.1 3c-.5 0-.2-.7-.3-1v-1.7c0-.2-1-1.9-1.2-2q-1.7-2.6-4.7-2l-2.3 1-.3.7c-.1.2-.7-.3-1-.2-.5 0-2 1.8-2.5 2.2q-.4.5-.3.6c-.4.4-.6 0-1 1.2-.6 1.7-.8 3.2.6 4.6l2.2 1.6c1.5.8 4.4.6 6-.2l2.8-1.5c-.4.3-.2.5-.7.8-2 1.2-3.6 2.5-6.2 2.2-1.1-.1-5-2-5.6-3-.3-.6.2-1-1.1-.7-.6.1-2 1.2-2 1.8l.5 1.2c1 3.6 2.3 5.6-.3 8.8l-.8.6c.1 0 .1-.7.3-1q.4-.1.6-.4a7 7 0 0 0 0-5.5c-.3-.9-2-2.8-3-3-3-.4-4.2.9-6.4 2.3h-.3c.5-.7 2-1.7 2.2-2.3.3-.4-.2-1-.1-1.1.2-.2 1.5.6 1.2-.9.7.5 1.4.2 2.2.3l1.1.3c.3-.1 1.5-1.5 2-1.9l2.6-1.3.1-1.1 1-1c.2-.5.1-1.6 1-2h.5s0-.4.2-.5h.7s0 .4.3 0c2.1-2.3 5.4-3 8.3-4.1l1.3-.8c1-.2 1.7.3 2.3.5.9.1.8 0 2 .4 2 .7.6-.4.3-1.5l.1-.8c0-.1-.7 0-.5-.7-1.3 1.2-1 0-1.5-1l-1-2.1c-.8-1.8-1-1.3-2.2-2.2l-.5-.7c-.7-.5-2-.2-1.4.6.1.1 2.4.1 1.6.8-.1.1-2.4-.7-3-.4.6.4.5 2 .7 2.2h.8c.3-.3-.2-1.2-.1-1.5 1.3.7 0 1.6.9 2.3l.7-2.3q.7 1.3-.4 2.4c-.6.4-1.4 0-1.6.3-.1 0-.8 1.5-1.7 2.2-1.5 1.3-1.8.9-3.4 1.2-1.5.4-2.6 1.9-4.3 1.4 0-.4.6-.2 1-.5 1-.7 1.3-2.5 2.3-3 .6-.2 0-1.3-.7-1 .2.4-1 2-1.5 1.6-.3-.3 1.2-1.7 1-2-1 .3-1.5-.4-2.2-.7s-1.3-.3-2-1c.3.7-1.4.4-1.2 1.3.2.6 1.2.3 1.5.6-.7.5-1.9.6-2.6 1.1l-.4.7c-.3.2-.7-.2-.3.6-1.4.1.2 1 .3 1.3l-.2 1.3c-.2.3-1-.3-1-.3-.4 0 0 .3 0 .5 0 .5-.6 1.1-1 1.6l-.5 1.4c-.6.6-2.5 1-3.3 1.4-1 .4-2 1.7-1.3 0l-1.5.3c.2-1.6 4.4-1.2 4.2-3-.2-.9-1.3.3-1.7.4l-1-.2c-1.4 0-1.2 2.7-2.3 3.3 0 .3.5 0 .6.3q-.2 1.3 0 2.8c.2 1 1 .5.8 1.4L49 60.6c-.6-1-.3-.5-.6 0-.4.5-1.9.2-2.5.6l1.7 5.6 1.5 3c1 .6 1-.5 1.3-1q.6-.8 1.3-1.3c.1 1-1.1 2.3-1 3 0 .5 1.1 1.3 1 2 1 .2.2-.8 1-1-.1.6.6 1.6.5 2s-1.2.4-1.5.8c0 .5 3 2.1 3.7 2.2 1.6.2 2.1-.2 3.4-.7l.9-.2c-2.2 1.4-3 1.9-5.7 1.1-.6-.1-1.9-1.2-1.7-.3 1 3.4 2.9 6 4.7 9q.7 1.7 1.7 3.2c.6 1 2.7 3.7 3.8 3.8q.8-.1 1-.3c0 .2-.1 1 .4 1.2.3 0 .8-.4 1.4-.3l4.5 1.7c1 .2 0-.8.1-.8.7-.5 1.7 1.2 2.1.8.2-.2-.5-1-.7-1.2-.5-.3-1-.1-1.3-.3l-.1-.4c-.3-.2-1.6-1.1-.4-1 1 .2 1.3 1 2 1.3h.7l.4.6 2 1.2c.5.1 1-.7 2-.4.5.1.6 1.2 1.4 1.4.2 0 .3-.8.6-.9 1 1.8.8 0 1.2 0 1.5-.3 3 .8 3-1.7 1 .7 1.3 1.1 2.4.4.8-.5-.4-1-.3-1.4.2-.8 1.2 0 1.5-.3s.1-1.2.6-1.5 2.5.2 2.6.1c.1 0 0-.5.3-.7l.6.1.7-1c.4-.8-.2-1.6.8-1l.4-1 .5 1.4c-.2-1.8.8-1.3 1.1-1.5.2 0 0-1 0-1.1.2-.2.8.1 1 .4.2.5-.5.3-.7.6-.5.7-.1 1.6-.3 2.3 0 .2-.6 0-.6.3 0 .5.5 1 .3 1.6l-.8-1c-.4 2.8 1 .8 1.1 1a5 5 0 0 1-.3 2c-.4.6-.8-1-1.1-.9.2 1.2.3 2.3-1.2 2.6-.2.5.7.2.6.5-.3.4-1.1 0-1.2.5s.4 1 0 2c-.1.4-1.2-.3-.9 1.3-1.3.2-2.6 1-3.9 1.3s-3.8.7-5 .4c-.6-.1-1-.8-1.5-.8s-1 .4-1.4.3c-.5-.1-.8-1-1.3-1.1l-1 .1c-1-.1-2.6-1.6-3.4-.1-.3.7 1 2.6 1.5 3q.6.5 1.3.8l2 2.5-.2 1 1.2 4.9c.2.5 1.7 2.9 1.4 3-.7.3-1.6-.4-2.2-.4l-1.1.5h-2.7c-.5 0-1.3-.2-1.6.3H41.3c.1-.8-.4-.8-.3 0zm23.7-80.1h-1.1c-.5.4 1.6.4 1.1 0m1.8 0s-1-.1-.9.1c.4.8 1 0 1-.1Zm10.7 0q-.3.1 0 .3c.3.2.2-.3 0-.3m-24 3.7c.3-.2-1.2-1.6-1.4-1.4-.3.3 1.1 1.7 1.5 1.4Zm1.6-1.4-1 .1c.4.8 1.1 0 1-.1m1.4.3s-.6 0-.9-.3c0 1.4 1.2.5 1 .3Zm3.6 1.1c.2-.2-.2-1.7-1-1.4.4.4.3 2 1 1.4m5.4-1.4q-.3.1 0 .3c.3.2.2-.3 0-.3M56 38.1h-1.2s.9 1 .6 1.4c.9.4.7-1.4.6-1.4m11.2.5c.2-.2-.1-.8-.3-.5-.2.2 0 .8.3.5m4-.5c-.1-.2-.7 0-.5.2s.8 0 .6-.2Zm-16.4 2.3v-.9c-.3-.5-.3 1.3 0 .9m-6-.6q-.3.1 0 .3c.3.2.2-.3 0-.3m24.3.9-1-1c0 1 0 1 1 1M49.8 40c-.3-.3-.9.2-.5.6.3.3.9-.3.5-.6m20 .6h.7c.2 0 .5.5.5.1 0-.6-2.2-1-1.2-.1m-13.3-.3q-.3.1 0 .3c.3.2.2-.3 0-.3m-2.2.5q-.8-.1-1.2.2l-.3.7c.5.6.6-.5.6-.5.4-.2 1 .2.9-.4m1.6 0q-.3.1 0 .3c.3.2.2-.3 0-.3m1.1 0v.3q.3-.1 0-.3m-7 .6q-.3.1 0 .3c.3.2.2-.3 0-.3m5.7 0c-.3-.2-1.3.1-.9.6.3.2 1-.4 1-.6Zm15 .3c-.2-.2-.8.1-.6.3s.8 0 .6-.3m-29.4 1.5v-1c-.4-.4-.4 1.4 0 1m11.2-.3c.2-.3-.1-.8-.3-.6s.1.8.3.6m-8.7.3-.4.4c0 .4.8-.4.4-.4m27.8 1.1s-.6-1.7-1.2-.4c-.3.6.6.3.8.5.4.2.8 1.8 1-.4-.1 0-.5.4-.6.3M59.4 44q-.3.1 0 .3c.3.2.2-.3 0-.3m1.5 0q-.3.1 0 .3c.3.2.2-.3 0-.3M73 45.6c.1-.3-.1-.8-.3-.6s0 .8.3.6m-30.4-.3q-.3.1 0 .3zm51.2.3H93c-.4.4 1.4.4 1 0ZM39.3 47c.3.4 1.1-.6.9-1.1-.4 0-1.2.9-1 1.1Zm33.8-.3c-.3-.2-2-.2-2.4-.5-.1.4.3 1.1.2 1.4-.4.6-1.6 1-1.4 2 1.1.5 4.3-2.1 3.6-2.9m7.4 1.2v.3q.3-.1 0-.3m1 0c-.2-.2-.7 0-.5.3s.8-.1.6-.3Zm.5.3q-.3.2 0 .3c.3.1.2-.3 0-.3m1 2.3c.2-.2 0-.8-.3-.6-.1.2.1.8.3.6m-23.7.3c.1-.1-.6-.8-1-.6 0 .1.7.8 1 .6m-8.3-.3h-1.2c-.2.2 1.1 1 1.2 0m-10.8.3h-1c-.7.8 1.7.8 1 0m2.3.8-.6-.5q-.2.8.6.5m9.6-.2q-.3.1 0 .2.2-.1 0-.2m24.8.5v-.5c-.5.4-1.4.4-1.2 1.1.3-.3 1-.5 1.2-.6m-25.4-.3q-.3.2 0 .3c.3.1.2-.3 0-.3m-.3.6q-.3.1 0 .3c.3.2.2-.3 0-.3m-5 .6q-.3.1 0 .3c.3.2.2-.3 0-.3m5.1.9v-.9c-.4-.5-.4 1.3 0 .9m5.3.5.6-1.4-.8.6zm-.3 1c.2-.3 0-.9-.3-.7s.1.8.3.6Zm-15 .2H39c-.3.1-1.3.5-.8.9.2.2 1.4.3 1.8.3l-1-.6 2.4-.6Zm67.3 1.7c-.1-1.2-.6-.6-1.5-.5.4.6 1.4.8 2 1.1.1.7-1.2.1-1.4.3q-.1.4.3.7c.3.3 2.5.1 2.6-.3s-.7-.6-.8-.7c-.2-.3.1-1.2-.5-1.4-.7-.4-.1 1-.7.8m-9.1.3c-.2-.2-.8.1-.6.3s.8 0 .6-.3m-52 .9q-1.6 0-1.5 1.7c.5.1.2-.5.5-.8s1-.4 1-.9M94.8 60c1 .1 1.5.6 2.5 0 1.1-.7-.6-1.6-.7-1.4l-.3.7c-.4.3-1.3 0-1.5.7m4 .9q-.3.1 0 .3zm-61.3 2c-.5-.5-1.3.8-1.2.9.5.3 1.6-.5 1.2-.9m21.5.6c-.3-.2-.9.1-.6.3.2.2.8-.1.6-.3m-22.8 1.4q-.3.2 0 .3c.3.1.2-.3 0-.3m77 2c-.2 0-.2.4 0 .4zm-75.5 1.8q-.3.2 0 .3c.3.1.2-.3 0-.3m7.6 3.2q-.3.2 0 .3c.3.1.2-.3 0-.3m4.3 0c-.8.1-1.7.2-.8.9zM44 73q-.3.1 0 .3c.3.2.2-.3 0-.3m-1.4 1.5q-.3.1 0 .3zm68.5 3.8s-1-.1-.8 0c.4 1 1.3.4.8 0M48.7 89.8c.2-.2-.1-.8-.3-.6s0 .8.3.6m0 2.9.3-1.3c0-.3.5-.8-.2-1-1-.3-.4 2.2-1.3 2.5 0 .3 1-.2 1.1-.2Zm2.2-1.7q-.3.1 0 .3c.3.2.2-.3 0-.3m38.6.3c-.3-.4-1 .2-.6.5.3.4 1-.2.6-.5m-38.6 1.4q-.3.2 0 .3c.3.1.2-.3 0-.3m-.9.9q-.3.1 0 .3c.3.2.2-.3 0-.3m-1.2 2.3q-.3.2 0 .3c.3.1.2-.3 0-.3m40.8.3v.3q.3-.1 0-.3M51 98.5q-.3.1 0 .3c.3.2.2-.3 0-.3m37.4 0c-.2-.2-.8 0-.6.3s.9-.1.6-.3M60 102q-.3.1 0 .3c.3.2.2-.3 0-.3m-2.7.2q-.3.2 0 .3c.3.1.2-.3 0-.3m1.4 1c-.3-.3-.9 0-.6.2.2.2.8 0 .6-.3Zm-.8.5q-.3.2 0 .3c.3.1.2-.3 0-.3m-12.2 7.8c-.2-.2-.7.2-.8.4 0 .2 1-.2.8-.4m31.5 2c.2-.2-.1-.8-.3-.6s0 .9.3.6m-34.8.6q-.3.2 0 .3c.3.1.2-.3 0-.3`},null,-1),P(`path`,{d:`M66.9 57.1v-.5c0-.1.6 0 0 .5m36.7-11.5h-.6q.1-.5.6-.6zm-37 11.5h.3c-.1.1-.2.6-.3 0M61 74.5c-.7.7-.7.6-1.5 1.2l.8-1zm-11.7 34.1c.1.8-.2.5-.6.7-.8.4-1 .5-1.8.2 0-.3 1-.8 1-.8.4 0 .5.9 1.4 0Zm62.8-32.4c-1 0-.2-1.4 0-1.1zM34 66.7c-.2.2-.5-.4-.3-.6s.5.4.3.6m31.4-34.4c.3.2-.3.5-.6.3s.4-.5.6-.3M105 45.6v.3q-.4-.1 0-.3M49.1 108q.3.1 0 .3c-.3.2-.2-.3 0-.3m24.1-75.7q.3.1 0 .3c-.3.2-.2-.3 0-.3m1.6 41c-.2.2-1.2 0-.2 1.1.2.2.6 0 .5.4-2.2-.4-1.1 1.4-1.5 2l-1.6.7q0 .2-.3.5c-.7 0-2.3-.3-2.5-.2-.7.4-.4 1.4-.8 1.8h-1.2c-.4-.3-.7-2.3-1.8-2.2.7-.5.7-2.4 1-2.6.2-.3 2.2.2 2.7.3 2.2.1 2-.6 3.5-1.3.5-.2 1.5-.2 2-1 .3 0 .2.5.2.5m-4 2.6c-.3-.2-1 .1-.7.3s.8 0 .6-.3Zm2.8 4.4-4 3q-.6 1.8-2.6 2.5c-.3.1-.2.5-.7-.2l.4-1q1.4-.8 2.6-2c1-.7 1.5-1.3 2.7-1.8q.7-.4 1.6-.5m3-22.9-1.8 1.3c-.3.7-2.4 2.4-3.1 2.3-.4-.1-.4-.4-1-.2.1 1.4-.2 1.6-1.5 2.1 1-3.3 4-5 7.4-5.5m7 55.8c-.3.3-.8-.4-1-.5L81 111l-2.1-3.5c-1-1.5-2-2.5.3-.6.2.8 4.7 6 4.4 6.2Zm-9.1-40.7c-.7 0-3.4 1.2-3.8.8v-1c.2-.4 3.6-.9 3.8.2M65 82.8c.4.4.8.5 1 1.4-.2.2-.4-.1-.6 0-.3.2-.5 1-.7 1-.6 0-.2-1.8-.4-2.1l.2-.8c.5-.1.2.3.4.5ZM84 71h.2l-.1.3z`},null,-1),P(`path`,{d:`M84.2 71c.1-.3-.4-.3-.3 0q-1-.3-1.7-1 1-.4 1.9.1.7.4.1 1Zm-3.5 4.6-1.4 1.2c-.9 0-1.2.8-1.4.9q-1 .5-2.2.8l3.5-2.4zm10 13.4-1.2-1.2c.3.2.8-.4.9-.3 0 0 0 1.1.3 1.4ZM84 74c0 .8-.3.4-.7.5q-.8.5-1.4.6c0-.4.6-.6.9-.7q.5-.5 1.1-.5Zm11.7 8c-.2.4.3 1.5-.6 1.7.2-.5.3-1.7.5-2s1.3-.8 1-.1c-.2.3-.8.3-.9.5Zm-4.1 4.6c-.4.5-.4-1.6 0-1.1zm-23.2-24c-.2.2-1-.5-.2-.8.2-.1.2.8.2.8M66 82.9c-.4.4-.4-1.3 0-.9zm9.7-29.2c.5.4-1.3.4-.9 0zm-.3 25.4c.3.2-.7.6-.9.5q.5-.6.9-.5m.3-5.8c.2.2-.4.5-.6.3s.4-.5.6-.3m17.9 10.4c-.2.3-.5-.3-.3-.5s.5.3.3.5M63.7 86c-.2.3-.5-.3-.3-.5s.4.3.3.6Zm14.2-24.2q.3.1 0 .3c-.3.2-.2-.3 0-.3m3.5 13.6q.3.2 0 .3c-.3.1-.2-.3 0-.3m11.2-14.8q.3.1 0 .3c-.3.2-.2-.3 0-.3m-22 17.6q.3.2 0 .3c-.3.1-.2-.3 0-.3M95 84.3v.3q-.4-.2 0-.3M92.6 86q.3.1 0 .3c-.3.2-.2-.2 0-.2ZM89 89q.4.1 0 .2zM61.3 68.4l-3 2.3c-.8.7-2.5 1-3.2 1.6-1 1-1.6 3-1.4-.1 1.6 1 1.8-1.4 2.7-2.3 1-1 3.4-1.7 5-1.5Zm-1.5-1.1c.5.4-1.6.4-1.1 0zm-6.4-6.1c.4.4-1.4.4-1 0zm1.4 0c-.1.2-.4-.4-.2-.6.1-.2.4.4.2.6M64.5 51c-.2.3-.4-.3-.3-.5s.5.3.3.6Z`},null,-1)]],8,u3n),t[6]||=ni(`<path d="M38.6 31.5s16.2-15.6 39-15.7a51 51 0 0 1 35.7 13.5m-80.5 84.5s22 19.5 44.7 19.5c22.9.1 43.4-19.5 43.4-19.5" stroke="#ff80a3" stroke-linecap="square" stroke-width="24.4"></path><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(22 -23.1 205.2)" xml:space="preserve"><tspan x="0" y="7.2"> L </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(25 -17.3 191.4)" xml:space="preserve"><tspan x="0" y="7.2"> O </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(29 -12.9 181.6)" xml:space="preserve"><tspan x="0" y="7.2"> V </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(32 -9.6 174.5)" xml:space="preserve"><tspan x="0" y="7.2"> E </tspan></text><text fill="#ff80a3" font-size="7.3" letter-spacing="0em" stroke="#ff80a3" stroke-width=".4" style="white-space:pre;" transform="rotate(35 -6.7 167.8)" xml:space="preserve"><tspan x="0" y="7.2"> S </tspan></text>`,6),P(`mask`,{id:n.c,fill:`#000`,height:`35`,maskUnits:`userSpaceOnUse`,width:`101`,x:`27.6`,y:`100.2`},[...t[3]||=[P(`path`,{d:`M27.6 100.2h101v35h-101z`,fill:`#fff`},null,-1),P(`path`,{d:`M37.4 114.3q-1.4 1-2.8 1.4t-2.6-.2q-1.2-.4-2.1-1.5t-1.2-2.5q-.2-1.2.3-2.6a6 6 0 0 1 1.9-2.4q1.4-1.2 2.7-1.4a5 5 0 0 1 4.8 1.7q1 1 1.1 2.4.3 1.3-.2 2.6t-2 2.5Zm-1.5-1.8q.9-.7 1.3-1.5l.3-1.5q-.1-.8-.7-1.4a2 2 0 0 0-1.2-.8 2 2 0 0 0-1.5 0l-1.7 1q-.9.7-1.3 1.5-.4.7-.3 1.5 0 .8.6 1.4t1.3.8h1.5q.8-.3 1.7-1m-1 6.3 6.9-8.3 3.3 2.7q.9.7 1.3 1.7.3.9.2 1.8t-.9 1.8q-.6.9-1.6 1.2t-1.8 0q-1 0-2-1l-2-1.7 1.1-1.4 1.8 1.5 1 .6 1-.1.7-.6q.4-.4.4-.9v-.9l-.8-.9-1.1-1-5.8 7zm8.4 6.4 5.4-9.4 6.3 3.6-1 1.7-4.3-2.5-1.2 2.2 4 2.3-1 1.6-4-2.3-1.3 2.3 4.4 2.5-1 1.6zm21.6-2.2-3.7 10-1.8-.7-2.2-8-2.3 6.4-2.2-.7 3.7-10.3 1.9.7 2 8h.2l2.3-6.4 2.1.8Zm4.9 6-.3 1.8-4.9-.8.4-1.8zm8.8-2q0-.6-.5-1-.5-.3-1.3-.3l-1 .1q-.3 0-.6.4l-.2.6.1.5.4.4.5.3.7.2 1 .3q.7 0 1.3.4l1 .7a3 3 0 0 1 .8 2.2 3 3 0 0 1-.5 1.7 4 4 0 0 1-1.5 1q-1 .4-2.3.4a6 6 0 0 1-2.2-.5 3 3 0 0 1-1.5-1.2q-.6-.8-.5-2h2.2q0 .6.3 1l.7.6 1 .2q.7 0 1-.2.6 0 .8-.4l.2-.7q0-.4-.2-.6l-.6-.5-1-.3-1.2-.3a5 5 0 0 1-2.1-1.1q-.8-.8-.7-2 0-1 .5-1.7t1.5-1.1 2.2-.4a5 5 0 0 1 2 .5q1 .4 1.4 1.2.6.7.5 1.7zm13.6.6q.1 1.7-.2 3-.6 1.4-1.6 2.2t-2.4 1a5 5 0 0 1-4.8-1.9q-.8-1-1-2.8a5 5 0 0 1 .1-3 4 4 0 0 1 1.5-2.2q1-1 2.5-1a5 5 0 0 1 4.7 1.8 6 6 0 0 1 1.2 2.9m-2.3.3-.7-1.9q-.5-.7-1.1-1-.8-.3-1.5-.2-.8.1-1.4.7-.5.4-.7 1.3a5 5 0 0 0 0 2q0 1 .6 1.8.4.7 1 1t1.6.2q.8 0 1.4-.6t.7-1.3q.3-.8 0-2Zm7.5-8.3 2.2-.8 2.4 6.6q.3 1.2.1 2.2t-1 1.8-2 1.3-2.4.3a3 3 0 0 1-2-.8q-.8-.6-1.2-1.7l-2.4-6.7 2.2-.7 2.3 6.4q.2.6.6 1 .4.3 1 .4l1.2-.1 1-.7.5-1-.2-1zm8.3 7.9-5.4-9.4 3.7-2.1 2-.7a3 3 0 0 1 1.8.4q.8.5 1.3 1.4.5 1 .5 1.9a3 3 0 0 1-.5 1.7q-.6.8-1.7 1.4l-2.5 1.4-.9-1.6 2.2-1.2.8-.7q.3-.4.3-.8t-.2-.9l-.7-.7-.8-.1-1 .3-1.4.8 4.5 7.8zm2.6-7.2 4.8 3-2.2 1.2-4.7-3zm9.1-10.1-1.8 1.5-.7-.4a2 2 0 0 0-1.6 0l-.7.5q-.6.6-.9 1.3v1.5l1 1.7q.8.9 1.6 1.2.7.5 1.5.3.8 0 1.4-.6l.5-.6q.3-.4.3-.8v-.7q0-.5-.2-.8l1.7-1.5a4 4 0 0 1 .7 3q0 .8-.5 1.5-.6.9-1.3 1.5-1 1-2.4 1.1-1.2.3-2.6-.2a7 7 0 0 1-2.4-2 6 6 0 0 1-1.5-2.6 5 5 0 0 1 1.7-4.8l1.5-1q.8-.3 1.6-.3t1.6.3 1.5 1Zm5.9 3.5-8.4-6.9 4.6-5.6 1.5 1.2-3.2 3.9 2 1.6 3-3.6 1.4 1.2-3 3.6 2 1.6 3.2-3.9 1.5 1.2z`},null,-1)]],8,d3n),t[7]||=P(`path`,{d:`M37.4 114.3q-1.4 1-2.8 1.4t-2.6-.2q-1.2-.4-2.1-1.5t-1.2-2.5q-.2-1.2.3-2.6a6 6 0 0 1 1.9-2.4q1.4-1.2 2.7-1.4a5 5 0 0 1 4.8 1.7q1 1 1.1 2.4.3 1.3-.2 2.6t-2 2.5Zm-1.5-1.8q.9-.7 1.3-1.5l.3-1.5q-.1-.8-.7-1.4a2 2 0 0 0-1.2-.8 2 2 0 0 0-1.5 0l-1.7 1q-.9.7-1.3 1.5-.4.7-.3 1.5 0 .8.6 1.4t1.3.8h1.5q.8-.3 1.7-1m-1 6.3 6.9-8.3 3.3 2.7q.9.7 1.3 1.7.3.9.2 1.8t-.9 1.8q-.6.9-1.6 1.2t-1.8 0q-1 0-2-1l-2-1.7 1.1-1.4 1.8 1.5 1 .6 1-.1.7-.6q.4-.4.4-.9v-.9l-.8-.9-1.1-1-5.8 7zm8.4 6.4 5.4-9.4 6.3 3.6-1 1.7-4.3-2.5-1.2 2.2 4 2.3-1 1.6-4-2.3-1.3 2.3 4.4 2.5-1 1.6zm21.6-2.2-3.7 10-1.8-.7-2.2-8-2.3 6.4-2.2-.7 3.7-10.3 1.9.7 2 8h.2l2.3-6.4 2.1.8Zm4.9 6-.3 1.8-4.9-.8.4-1.8zm8.8-2q0-.6-.5-1-.5-.3-1.3-.3l-1 .1q-.3 0-.6.4l-.2.6.1.5.4.4.5.3.7.2 1 .3q.7 0 1.3.4l1 .7a3 3 0 0 1 .8 2.2 3 3 0 0 1-.5 1.7 4 4 0 0 1-1.5 1q-1 .4-2.3.4a6 6 0 0 1-2.2-.5 3 3 0 0 1-1.5-1.2q-.6-.8-.5-2h2.2q0 .6.3 1l.7.6 1 .2q.7 0 1-.2.6 0 .8-.4l.2-.7q0-.4-.2-.6l-.6-.5-1-.3-1.2-.3a5 5 0 0 1-2.1-1.1q-.8-.8-.7-2 0-1 .5-1.7t1.5-1.1 2.2-.4a5 5 0 0 1 2 .5q1 .4 1.4 1.2.6.7.5 1.7zm13.6.6q.1 1.7-.2 3-.6 1.4-1.6 2.2t-2.4 1a5 5 0 0 1-4.8-1.9q-.8-1-1-2.8a5 5 0 0 1 .1-3 4 4 0 0 1 1.5-2.2q1-1 2.5-1a5 5 0 0 1 4.7 1.8 6 6 0 0 1 1.2 2.9m-2.3.3-.7-1.9q-.5-.7-1.1-1-.8-.3-1.5-.2-.8.1-1.4.7-.5.4-.7 1.3a5 5 0 0 0 0 2q0 1 .6 1.8.4.7 1 1t1.6.2q.8 0 1.4-.6t.7-1.3q.3-.8 0-2Zm7.5-8.3 2.2-.8 2.4 6.6q.3 1.2.1 2.2t-1 1.8-2 1.3-2.4.3a3 3 0 0 1-2-.8q-.8-.6-1.2-1.7l-2.4-6.7 2.2-.7 2.3 6.4q.2.6.6 1 .4.3 1 .4l1.2-.1 1-.7.5-1-.2-1zm8.3 7.9-5.4-9.4 3.7-2.1 2-.7a3 3 0 0 1 1.8.4q.8.5 1.3 1.4.5 1 .5 1.9a3 3 0 0 1-.5 1.7q-.6.8-1.7 1.4l-2.5 1.4-.9-1.6 2.2-1.2.8-.7q.3-.4.3-.8t-.2-.9l-.7-.7-.8-.1-1 .3-1.4.8 4.5 7.8zm2.6-7.2 4.8 3-2.2 1.2-4.7-3zm9.1-10.1-1.8 1.5-.7-.4a2 2 0 0 0-1.6 0l-.7.5q-.6.6-.9 1.3v1.5l1 1.7q.8.9 1.6 1.2.7.5 1.5.3.8 0 1.4-.6l.5-.6q.3-.4.3-.8v-.7q0-.5-.2-.8l1.7-1.5a4 4 0 0 1 .7 3q0 .8-.5 1.5-.6.9-1.3 1.5-1 1-2.4 1.1-1.2.3-2.6-.2a7 7 0 0 1-2.4-2 6 6 0 0 1-1.5-2.6 5 5 0 0 1 1.7-4.8l1.5-1q.8-.3 1.6-.3t1.6.3 1.5 1Zm5.9 3.5-8.4-6.9 4.6-5.6 1.5 1.2-3.2 3.9 2 1.6 3-3.6 1.4 1.2-3 3.6 2 1.6 3.2-3.9 1.5 1.2z`,fill:`#d60036`},null,-1),P(`path`,{d:`M37.4 114.3q-1.4 1-2.8 1.4t-2.6-.2q-1.2-.4-2.1-1.5t-1.2-2.5q-.2-1.2.3-2.6a6 6 0 0 1 1.9-2.4q1.4-1.2 2.7-1.4a5 5 0 0 1 4.8 1.7q1 1 1.1 2.4.3 1.3-.2 2.6t-2 2.5Zm-1.5-1.8q.9-.7 1.3-1.5l.3-1.5q-.1-.8-.7-1.4a2 2 0 0 0-1.2-.8 2 2 0 0 0-1.5 0l-1.7 1q-.9.7-1.3 1.5-.4.7-.3 1.5 0 .8.6 1.4t1.3.8h1.5q.8-.3 1.7-1Zm-1 6.3 6.9-8.3 3.3 2.7q.9.7 1.3 1.7.3.9.2 1.8t-.9 1.8q-.6.9-1.6 1.2t-1.8 0q-1 0-2-1l-2-1.7 1.1-1.4 1.8 1.5 1 .6 1-.1.7-.6q.4-.4.4-.9v-.9l-.8-.9-1.1-1-5.8 7zm8.4 6.4 5.4-9.4 6.3 3.6-1 1.7-4.3-2.5-1.2 2.2 4 2.3-1 1.6-4-2.3-1.3 2.3 4.4 2.5-1 1.6zm21.6-2.2-3.7 10-1.8-.7-2.2-8-2.3 6.4-2.2-.7 3.7-10.3 1.9.7 2 8h.2l2.3-6.4 2.1.8Zm4.9 6-.3 1.8-4.9-.8.4-1.8zm8.8-2q0-.6-.5-1-.5-.3-1.3-.3l-1 .1q-.3 0-.6.4l-.2.6.1.5.4.4.5.3.7.2 1 .3q.7 0 1.3.4l1 .7a3 3 0 0 1 .8 2.2 3 3 0 0 1-.5 1.7 4 4 0 0 1-1.5 1q-1 .4-2.3.4a6 6 0 0 1-2.2-.5 3 3 0 0 1-1.5-1.2q-.6-.8-.5-2h2.2q0 .6.3 1l.7.6 1 .2q.7 0 1-.2.6 0 .8-.4l.2-.7q0-.4-.2-.6l-.6-.5-1-.3-1.2-.3a5 5 0 0 1-2.1-1.1q-.8-.8-.7-2 0-1 .5-1.7t1.5-1.1 2.2-.4a5 5 0 0 1 2 .5q1 .4 1.4 1.2.6.7.5 1.7zm13.6.6q.1 1.7-.2 3-.6 1.4-1.6 2.2t-2.4 1a5 5 0 0 1-4.8-1.9q-.8-1-1-2.8a5 5 0 0 1 .1-3 4 4 0 0 1 1.5-2.2q1-1 2.5-1a5 5 0 0 1 4.7 1.8 6 6 0 0 1 1.2 2.9Zm-2.3.3-.7-1.9q-.5-.7-1.1-1-.8-.3-1.5-.2-.8.1-1.4.7-.5.4-.7 1.3a5 5 0 0 0 0 2q0 1 .6 1.8.4.7 1 1t1.6.2q.8 0 1.4-.6t.7-1.3q.3-.8 0-2Zm7.5-8.3 2.2-.8 2.4 6.6q.3 1.2.1 2.2t-1 1.8-2 1.3-2.4.3a3 3 0 0 1-2-.8q-.8-.6-1.2-1.7l-2.4-6.7 2.2-.7 2.3 6.4q.2.6.6 1 .4.3 1 .4l1.2-.1 1-.7.5-1-.2-1zm8.3 7.9-5.4-9.4 3.7-2.1 2-.7a3 3 0 0 1 1.8.4q.8.5 1.3 1.4.5 1 .5 1.9a3 3 0 0 1-.5 1.7q-.6.8-1.7 1.4l-2.5 1.4-.9-1.6 2.2-1.2.8-.7q.3-.4.3-.8t-.2-.9l-.7-.7-.8-.1-1 .3-1.4.8 4.5 7.8zm2.6-7.2 4.8 3-2.2 1.2-4.7-3zm9.1-10.1-1.8 1.5-.7-.4a2 2 0 0 0-1.6 0l-.7.5q-.6.6-.9 1.3v1.5l1 1.7q.8.9 1.6 1.2.7.5 1.5.3.8 0 1.4-.6l.5-.6q.3-.4.3-.8v-.7q0-.5-.2-.8l1.7-1.5a4 4 0 0 1 .7 3q0 .8-.5 1.5-.6.9-1.3 1.5-1 1-2.4 1.1-1.2.3-2.6-.2a7 7 0 0 1-2.4-2 6 6 0 0 1-1.5-2.6 5 5 0 0 1 1.7-4.8l1.5-1q.8-.3 1.6-.3t1.6.3 1.5 1Zm5.9 3.5-8.4-6.9 4.6-5.6 1.5 1.2-3.2 3.9 2 1.6 3-3.6 1.4 1.2-3 3.6 2 1.6 3.2-3.9 1.5 1.2z`,mask:r.c,stroke:`#d60036`,"stroke-width":`.5`},null,8,f3n),t[8]||=P(`path`,{d:`M29.2 44c.6 2.6-.1 2.2-1.2 4.2-1 1.8-1.5 4.3-2 6.2 2.7-3 6-6.5 10.4-4.6-.4.7-.4 1.9-1 2.6C34 55 30.9 56 28 56c-.5 0-2-.4-2.1-.3-.7.3-1 1.8-1.1 2.4.7 0 1-.5 1.7-.6 1.4-.1 3.2.5 4 1.7 1 1.5 1.5 3.7.3 5.2-.7.8-2 .8-2.7 1.7 1.7.8 3.7 1 4 3.2q.3 2.8-2 4.5c-2.4 1.8-5.2.3-6-2.4-.6.2 0 2.2-.3 2.8-.2.8-.8 1.2-1 1.9-.3 1.3.3 4.6.5 6.1.1 2 0 4 .5 5.8l.4-2.8c.6-3.3 2-6.8 5.1-8.3 1.2-.6 1-.2 1.2 1 .3 3-.4 4.5-2.3 6.7-1 1.2-3.5 3.3-3.6 4.7.9 4.7 2.8 9 4.8 13.4 0 .9-2.5-1-2.7-1.3-.8-.8-.9-2.5-1.5-3s-3.1-1.2-4-1.6L19 95.3c-.2-.6 2.3-.5 2.7-.4q1.5.3 2.4 1.5c.1.2.2 1 .6.5L22.5 89c-1.4-.8-3.2-1-4.8-1.6-3-1.2-4.8-2.5-6.3-5.4-.3-.6-1.5-3.6-1-4.1q3.5.6 6.6 2.1c3 1.5 3.5 4.7 5 7q.2.2.3 0v-.8l-1-8 .2-1.5-1.4.3q-3.6 0-5.4-3c-1.1-2.1.2-3 1.6-4.4-.5-.3-1 .2-1.4.3-2.4.6-3.7.4-4.5-2.1-.8-2.6.3-6 3.4-6 .7 0 2.5 1 1.8-.3-.6-1.2-1-1.4-.8-3 1-4.4 7.8-4.4 8.4.3q.3.2.5-.3c.5-.9.4-2 .8-3.1q-1-.9-1.8-2.1l-1.4-1.5c-1.7-2.3-2.8-6.5-1.8-9.2 2.2 1.3 4.5 3.7 5 6.3.2 1 0 2.3.4 3.4l3-8.3 1-.8c.4 0 .2.6.3.9Zm-7 25c.7-.1 1.2.4 1.9-.7a7 7 0 0 0 .1-3.9c-1.3-2.4-4.4-2-5.6.2-.9 1.6.4 4.4 2.1 4.7.6.2 1-.2 1.4-.3ZM129 50.5l3.3 12.6q.3-1.4.8-2.6c1-2.3 2-4.1 4.2-5.2l2.7-1q.3-.1.5.1c1 2.4 0 5-1.7 7-1.5 1.6-4 2.2-6.1 2.7-.4 1.7.3 3.3-1 4.7q.3.3.4-.2c.7-.8.7-1.6 1.8-2 3.6-1.8 8.8 1.2 6.3 5.3-.5.7-1.2.9-1.6 1.5.7.1 1.5-.2 2.3 0 1.7.7 2.7 2.9 2.6 4.6-.2 4-4 4.2-7 3l1 2c.4 3.3-3.2 4.6-5.8 4l1 .5-1.1 2.8-1.7 6.3 1.8-2.6c2.2-2.8 5.7-5.7 9.5-4.3l.3.3c-1 1-1.4 2.3-2.2 3.4a12 12 0 0 1-7.1 3.8q-1 .2-1.7 0c0 1.4-1.4.9-2.2.2l.5-2.4-.6.3c-1.6-1-3-1.6-4.3-3.2a10 10 0 0 1-1.1-6.9c3 1 4.3 3.3 5.4 6.1l.5 3.5 2.4-7.8c0-.3-1.5-.9-1.8-1.2-1-1-.6-3.2-.4-4.4-.6-.4-1 .3-1.7.5-2.2 1-4.1 0-5.3-2-1.6-2.9-.4-5 2.5-6.1l1.8-.2c-.9-.7-2-.9-2.4-2-.2-.7-.2-2.8 0-3.5.6-3.7 4.2-2.9 6.6-1.4l1 1.5.3-2c-.1-1.8-.3-1-1.4-1.5l-1.7-1.1-1.9-.8a5 5 0 0 1-2.5-4c.3-.7 3.7 1.6 4.2 2 .8.7 1.2 1.9 1.7 2.4s0-1.3 0-1.5c-1-5-1.8-10.1-4.6-14.6-1-1.5-2.5-2.8-3.4-4.3v-.3c.5-1.8 2.1.7 2.7 1.4q2 2.5 3.4 5.4 0 .4.5.5c-1-3 .8-7.1 2.8-9.3.6-.7 2.2-2.4 3-1.5.5.5.3 4.2.2 5-.8 3-2.3 3.4-4 5.3-.5.5-1 2-1.7 1.2m4 22.5c-2-.7-3.9-.2-4 2.2a8 8 0 0 0 1.5 2.7c.4.4 1.5.8 2 .7l2.2-1c.5-.5 1-1.5.6-2.2-1-.8-.9-2.6-2.4-2.1z`,fill:`#d60036`},null,-1),P(`mask`,{id:n.d,fill:`#000`,height:`32`,maskUnits:`userSpaceOnUse`,width:`98`,x:`25.9`,y:`10.9`},[...t[4]||=[P(`path`,{d:`M25.9 10.9h98v32h-98z`,fill:`#fff`},null,-1),P(`path`,{d:`m26.9 32.7 1.5-1.5 8.7 4 .1-.1-3.4-9 1.5-1.4L43 33l-1 1.1-5.6-6-.1.1 3.2 8.3-1 1-8-3.7h-.2l5.7 6-1.2 1.1zm18.2-.7-1.5 1L41 21.2l1.7-1 9.5 7.4-1.6 1-7.6-6.2h-.1l2.2 9.7ZM43 28.2l5-3.1.8 1.2-5 3.2L43 28Zm9.6-.3-4.3-10.5 3.7-1.6q1.3-.4 2.2-.4a3 3 0 0 1 1.7.7q.8.6 1.1 1.5.5 1 .3 1.9a3 3 0 0 1-.7 1.6q-.7.8-1.9 1.3l-2.8 1.1-.6-1.3L54 21q.8-.3 1.2-.8t.4-.9l-.2-1.1-.6-1q-.4-.3-1-.3-.8 0-1.4.3l-2 .8 3.8 9.1zm3.2-6.9 4.6 3.7-1.8.7-4.5-3.7zm12.7-5.6-1.7.4a3 3 0 0 0-1.3-1.5l-1-.2a4 4 0 0 0-2.6 1q-.7.5-1 1.6L61 19a5 5 0 0 0 1 2.2q.6.8 1.4 1.1a3 3 0 0 0 1.9.1l1-.3.7-.6a3 3 0 0 0 .7-1.9l1.7-.3a5 5 0 0 1-1 3 3 3 0 0 1-1.2 1l-1.6.7a5 5 0 0 1-2.8-.2q-1.2-.4-2.2-1.6a7 7 0 0 1-1.3-2.9 7 7 0 0 1 0-3.2 5 5 0 0 1 3.8-3.6H65a5 5 0 0 1 2.8 1.4zm8.4 7.8.9-11.3 1.7.1-.8 9.9 5.1.4v1.5zm19.1-2a7 7 0 0 1-1.4 2.8q-1 1.2-2.3 1.5a5 5 0 0 1-2.7 0 5 5 0 0 1-2.4-1.3q-.9-1-1.3-2.4-.3-1.4.2-3.2.4-1.7 1.4-2.9a5 5 0 0 1 5-1.5A5 5 0 0 1 96 18q.3 1.4-.1 3.3Zm-1.7-.5q.4-1.4.2-2.3a3 3 0 0 0-2.4-2.7 3 3 0 0 0-3.4 1.2q-.6.8-1 2.1a5 5 0 0 0-.1 2.4q.1 1 .8 1.7a3 3 0 0 0 3.4.9q.8-.3 1.5-1.1t1-2.2m6.1-3.4-1 9.7 6.8-7 1.7.8-8.5 8.6-1.8-.9 1.1-12zm2.6 14.3 6.6-9.3 5.9 4-.9 1.3-4.4-3.1-2 2.8 4.1 3-.8 1.1-4.2-2.9-2 2.9 4.5 3.1-.8 1.2zm17.4 3.8q.6-.6.4-1.3a3 3 0 0 0-.9-1.5l-1-.7q-.5-.2-1-.1-.5 0-.8.4l-.3.6v.7l.2.7.4.7.6 1 .5 1 .3 1.2v1.2q-.2.6-.8 1.2a3 3 0 0 1-1.5.8q-.9.1-1.9-.2a6 6 0 0 1-3.2-3.1q-.4-.9-.2-1.8.1-1 .8-1.7l1.2 1.2q-.4.5-.4 1t.2 1l.7 1q.6.6 1.1.8t1.1.2 1-.5q.3-.3.3-.8l-.2-.9-.5-1-.7-1.2q-.7-1.2-.7-2.3t.7-2q.7-.6 1.6-.8l1.9.2a5 5 0 0 1 1.7 1.2q.8.8 1.2 1.7t.2 1.8q-.2.8-.8 1.5z`},null,-1)]],8,p3n),t[9]||=P(`path`,{d:`m26.9 32.7 1.5-1.5 8.7 4 .1-.1-3.4-9 1.5-1.4L43 33l-1 1.1-5.6-6-.1.1 3.2 8.3-1 1-8-3.7h-.2l5.7 6-1.2 1.1zm18.2-.7-1.5 1L41 21.2l1.7-1 9.5 7.4-1.6 1-7.6-6.2h-.1l2.2 9.7ZM43 28.2l5-3.1.8 1.2-5 3.2L43 28Zm9.6-.3-4.3-10.5 3.7-1.6q1.3-.4 2.2-.4a3 3 0 0 1 1.7.7q.8.6 1.1 1.5.5 1 .3 1.9a3 3 0 0 1-.7 1.6q-.7.8-1.9 1.3l-2.8 1.1-.6-1.3L54 21q.8-.3 1.2-.8t.4-.9l-.2-1.1-.6-1q-.4-.3-1-.3-.8 0-1.4.3l-2 .8 3.8 9.1zm3.2-6.9 4.6 3.7-1.8.7-4.5-3.7zm12.7-5.6-1.7.4a3 3 0 0 0-1.3-1.5l-1-.2a4 4 0 0 0-2.6 1q-.7.5-1 1.6L61 19a5 5 0 0 0 1 2.2q.6.8 1.4 1.1a3 3 0 0 0 1.9.1l1-.3.7-.6a3 3 0 0 0 .7-1.9l1.7-.3a5 5 0 0 1-1 3 3 3 0 0 1-1.2 1l-1.6.7a5 5 0 0 1-2.8-.2q-1.2-.4-2.2-1.6a7 7 0 0 1-1.3-2.9 7 7 0 0 1 0-3.2 5 5 0 0 1 3.8-3.6H65a5 5 0 0 1 2.8 1.4zm8.4 7.8.9-11.3 1.7.1-.8 9.9 5.1.4v1.5zm19.1-2a7 7 0 0 1-1.4 2.8q-1 1.2-2.3 1.5a5 5 0 0 1-2.7 0 5 5 0 0 1-2.4-1.3q-.9-1-1.3-2.4-.3-1.4.2-3.2.4-1.7 1.4-2.9a5 5 0 0 1 5-1.5A5 5 0 0 1 96 18q.3 1.4-.1 3.3Zm-1.7-.5q.4-1.4.2-2.3a3 3 0 0 0-2.4-2.7 3 3 0 0 0-3.4 1.2q-.6.8-1 2.1a5 5 0 0 0-.1 2.4q.1 1 .8 1.7a3 3 0 0 0 3.4.9q.8-.3 1.5-1.1t1-2.2m6.1-3.4-1 9.7 6.8-7 1.7.8-8.5 8.6-1.8-.9 1.1-12zm2.6 14.3 6.6-9.3 5.9 4-.9 1.3-4.4-3.1-2 2.8 4.1 3-.8 1.1-4.2-2.9-2 2.9 4.5 3.1-.8 1.2zm17.4 3.8q.6-.6.4-1.3a3 3 0 0 0-.9-1.5l-1-.7q-.5-.2-1-.1-.5 0-.8.4l-.3.6v.7l.2.7.4.7.6 1 .5 1 .3 1.2v1.2q-.2.6-.8 1.2a3 3 0 0 1-1.5.8q-.9.1-1.9-.2a6 6 0 0 1-3.2-3.1q-.4-.9-.2-1.8.1-1 .8-1.7l1.2 1.2q-.4.5-.4 1t.2 1l.7 1q.6.6 1.1.8t1.1.2 1-.5q.3-.3.3-.8l-.2-.9-.5-1-.7-1.2q-.7-1.2-.7-2.3t.7-2q.7-.6 1.6-.8l1.9.2a5 5 0 0 1 1.7 1.2q.8.8 1.2 1.7t.2 1.8q-.2.8-.8 1.5z`,fill:`#d60036`},null,-1),P(`path`,{d:`m26.9 32.7 1.5-1.5 8.7 4 .1-.1-3.4-9 1.5-1.4L43 33l-1 1.1-5.6-6-.1.1 3.2 8.3-1 1-8-3.7h-.2l5.7 6-1.2 1.1zm18.2-.7-1.5 1L41 21.2l1.7-1 9.5 7.4-1.6 1-7.6-6.2h-.1l2.2 9.7ZM43 28.2l5-3.1.8 1.2-5 3.2L43 28Zm9.6-.3-4.3-10.5 3.7-1.6q1.3-.4 2.2-.4a3 3 0 0 1 1.7.7q.8.6 1.1 1.5.5 1 .3 1.9a3 3 0 0 1-.7 1.6q-.7.8-1.9 1.3l-2.8 1.1-.6-1.3L54 21q.8-.3 1.2-.8t.4-.9l-.2-1.1-.6-1q-.4-.3-1-.3-.8 0-1.4.3l-2 .8 3.8 9.1zm3.2-6.9 4.6 3.7-1.8.7-4.5-3.7zm12.7-5.6-1.7.4a3 3 0 0 0-1.3-1.5l-1-.2a4 4 0 0 0-2.6 1q-.7.5-1 1.6L61 19a5 5 0 0 0 1 2.2q.6.8 1.4 1.1a3 3 0 0 0 1.9.1l1-.3.7-.6a3 3 0 0 0 .7-1.9l1.7-.3a5 5 0 0 1-1 3 3 3 0 0 1-1.2 1l-1.6.7a5 5 0 0 1-2.8-.2q-1.2-.4-2.2-1.6a7 7 0 0 1-1.3-2.9 7 7 0 0 1 0-3.2 5 5 0 0 1 3.8-3.6H65a5 5 0 0 1 2.8 1.4zm8.4 7.8.9-11.3 1.7.1-.8 9.9 5.1.4v1.5zm19.1-2a7 7 0 0 1-1.4 2.8q-1 1.2-2.3 1.5a5 5 0 0 1-2.7 0 5 5 0 0 1-2.4-1.3q-.9-1-1.3-2.4-.3-1.4.2-3.2.4-1.7 1.4-2.9a5 5 0 0 1 5-1.5A5 5 0 0 1 96 18q.3 1.4-.1 3.3Zm-1.7-.5q.4-1.4.2-2.3a3 3 0 0 0-2.4-2.7 3 3 0 0 0-3.4 1.2q-.6.8-1 2.1a5 5 0 0 0-.1 2.4q.1 1 .8 1.7a3 3 0 0 0 3.4.9q.8-.3 1.5-1.1t1-2.2Zm6.1-3.4-1 9.7 6.8-7 1.7.8-8.5 8.6-1.8-.9 1.1-12zm2.6 14.3 6.6-9.3 5.9 4-.9 1.3-4.4-3.1-2 2.8 4.1 3-.8 1.1-4.2-2.9-2 2.9 4.5 3.1-.8 1.2zm17.4 3.8q.6-.6.4-1.3a3 3 0 0 0-.9-1.5l-1-.7q-.5-.2-1-.1-.5 0-.8.4l-.3.6v.7l.2.7.4.7.6 1 .5 1 .3 1.2v1.2q-.2.6-.8 1.2a3 3 0 0 1-1.5.8q-.9.1-1.9-.2a6 6 0 0 1-3.2-3.1q-.4-.9-.2-1.8.1-1 .8-1.7l1.2 1.2q-.4.5-.4 1t.2 1l.7 1q.6.6 1.1.8t1.1.2 1-.5q.3-.3.3-.8l-.2-.9-.5-1-.7-1.2q-.7-1.2-.7-2.3t.7-2q.7-.6 1.6-.8l1.9.2a5 5 0 0 1 1.7 1.2q.8.8 1.2 1.7t.2 1.8q-.2.8-.8 1.5z`,mask:r.d,stroke:`#d60036`},null,8,m3n),t[10]||=P(`circle`,{cx:`132.8`,cy:`75.6`,fill:`#ff80a3`,r:`3.7`},null,-1),t[11]||=P(`path`,{d:`M42 42.2q.7-.2 1.3-.1a2 2 0 0 1 1.9 1.5v.1q.2.6.1 1 0 .8-.5 1.2l-2.2 2.9-.5.6-.7-.5-2.8-2.2-.8-1q-.2-.7-.1-1.3 0-.6.5-1.1t1-.8h.1a2 2 0 0 1 2 .2zm8.6-6.2 1.5-.2a3 3 0 0 1 2.3 1.9q.2.7.1 1.4 0 .8-.6 1.4l-3 3.8-.5.6-.6-.5-3.8-3q-.6-.5-.9-1.2l-.2-1.5q.1-.8.6-1.3l.2-.2q.4-.5 1-.7a3 3 0 0 1 2.8.3q.5-.5 1.1-.8Z`,fill:`#d60036`,stroke:`#ff80a3`,"stroke-width":`1.6`},null,-1)],8,c3n)]))}})})),v3n,y3n=s((()=>{_3n(),_3n(),v3n=g3n})),b3n,x3n,S3n,C3n,w3n,T3n,E3n,D3n,O3n,k3n,A3n,j3n,M3n,N3n,P3n,F3n,I3n,L3n,R3n,z3n,B3n,V3n,H3n,U3n,W3n=s((()=>{B(),Ts(),Mw(),jX(),PE(),Qs(),Q4(),uwn(),x4n(),E4n(),a3n(),y3n(),b3n=[`data-marc`],x3n={class:`px-8 pt-2 text-center`},S3n={class:`m-0 flex list-none flex-col gap-4 px-8 py-5`,role:`list`},C3n={class:`flex items-start gap-3`},w3n={class:`text-c-1 flex h-6 shrink-0 items-center`},T3n={class:`flex flex-col gap-0.5`},E3n={class:`text-c-1 text-base leading-6 font-bold`},D3n={class:`text-c-2 text-sm`},O3n={class:`flex items-start gap-3`},k3n={class:`text-c-1 flex h-6 shrink-0 items-center`},A3n={class:`flex flex-col gap-0.5`},j3n={class:`text-c-1 text-base leading-6 font-bold`},M3n={class:`text-c-2 text-sm`},N3n={class:`flex flex-col gap-1 px-8 pt-1 pb-6`},P3n={class:`sr-only`},F3n={class:`bg-b-2 hover:bg-b-3 relative flex h-10 rounded-full`},I3n=[`href`],L3n={class:`sr-only`},R3n=[`aria-label`],z3n={key:0,class:`text-c-2 m-0 pt-3 text-center text-sm`},B3n=[`href`],V3n={class:`sr-only`},H3n=[`aria-label`],U3n=k({__name:`ExploreScalarModal`,props:{state:{},externalUrls:{},url:{},workspace:{},usesViewTransition:{type:Boolean},morphStickers:{type:Boolean}},setup(e){let{translate:t}=Z4(),{loader:n,href:r,open:i}=lwn({externalUrls:()=>e.externalUrls,url:()=>e.url,workspace:()=>e.workspace}),a=E(`overview`),o=z(()=>r.value!==void 0),s=E(o.value);dr(()=>e.state.open,e=>{e?s.value=o.value:a.value=`overview`},{immediate:!0});let c=z(()=>s.value?r.value:void 0),l=()=>{c.value||i()},u=E(!1),d=()=>{u.value=!0},f=()=>{u.value=!1},p=E(),m=E(),h=E(),g=E(),_=E(!1),v=()=>window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches??!1,y=async e=>{let t=p.value?.closest(`.scalar-modal`),n=t?.getBoundingClientRect();if(a.value=e,u.value=!1,await nr(),!t||!n||typeof t.animate!=`function`||v())return;let r=t.getBoundingClientRect(),i=t.animate([{width:`${n.width}px`,height:`${n.height}px`,maxWidth:`none`},{width:`${r.width}px`,height:`${r.height}px`,maxWidth:`none`}],{duration:420,easing:`cubic-bezier(0.32, 0.72, 0, 1)`});m.value?.animate([{opacity:0},{opacity:1}],{duration:240,delay:100,easing:`ease`,fill:`backwards`}),await i.finished.catch(()=>void 0)},b=()=>typeof document<`u`&&document.querySelector(`.dark-mode`)!==null,x=async()=>{_.value=!1;let e=y(`demo`);if(await nr(),h.value?.focus(),await e,a.value===`demo`&&g.value)try{await b4n(g.value,b()?`dark`:`light`)}catch{_.value=!0}},ee=()=>{y(`overview`)};return(r,i)=>(j(),N(D(AX),{bodyClass:`!p-0 overflow-y-auto`,class:lt([`explore-scalar-modal`,{"explore-scalar-modal--vt":e.usesViewTransition,"explore-scalar-modal--stickers":e.morphStickers}]),maxWidth:a.value===`demo`?`960px`:`540px`,size:`lg`,state:e.state},{default:O(()=>[P(`div`,{ref_key:`panelEl`,ref:p,class:`explore-scalar-panel bg-b-1 text-c-1 relative flex flex-col`},[a.value===`overview`?(j(),M(`div`,{key:0,ref_key:`stepEl`,ref:m,class:`flex flex-col`},[P(`div`,{class:`explore-scalar-hero relative flex h-[200px] items-end justify-center overflow-hidden pb-6`,"data-marc":u.value?``:void 0},[i[1]||=P(`span`,{"aria-hidden":`true`,class:`explore-scalar-wash pointer-events-none absolute inset-x-0 top-0`},null,-1),R(i3n,{layout:`hero`}),R(v3n,{class:`explore-scalar-marc absolute bottom-5 left-[calc(50%-66px)] z-20 w-[132px] origin-bottom`})],8,b3n),P(`div`,x3n,[R(D(ps),{as:`h2`,class:`text-c-1 m-0 text-xl leading-snug font-bold tracking-tight text-balance`},{default:O(()=>[F(T(D(t)(`exploreScalar.title`)),1)]),_:1})]),i[3]||=P(`hr`,{class:`border-border mx-8 mt-5 border-0 border-t`},null,-1),P(`ul`,S3n,[P(`li`,C3n,[P(`span`,w3n,[R(D(s_e),{class:`size-5`,weight:`regular`})]),P(`span`,T3n,[P(`span`,E3n,T(D(t)(`exploreScalar.generateTitle`)),1),P(`span`,D3n,T(D(t)(`exploreScalar.generateDescription`)),1)])]),P(`li`,O3n,[P(`span`,k3n,[R(D(Ume),{class:`size-5`,weight:`regular`})]),P(`span`,A3n,[P(`span`,j3n,T(D(t)(`exploreScalar.platformTitle`)),1),P(`span`,M3n,T(D(t)(`exploreScalar.platformDescription`)),1)])])]),P(`div`,N3n,[R(D(jw),{is:c.value?`a`:`button`,"aria-busy":D(n).isLoading,"aria-label":D(n).isActive?D(t)(`exploreScalar.signUp`):void 0,class:`h-10 w-full rounded-full text-base`,href:c.value,loader:D(n),rel:c.value?`noopener noreferrer`:void 0,target:c.value?`_blank`:void 0,variant:`solid`,onClick:l},{default:O(()=>[F(T(D(t)(`exploreScalar.signUp`))+` `,1),P(`span`,P3n,T(D(t)(`exploreScalar.opensInNewTab`)),1)]),_:1},8,[`is`,`aria-busy`,`aria-label`,`href`,`loader`,`rel`,`target`]),P(`div`,F3n,[R(D(jw),{class:`text-c-1 hover:text-c-1 active:text-c-1 h-10 flex-1 rounded-full bg-transparent px-12 text-base font-medium hover:bg-transparent active:bg-transparent`,variant:`ghost`,onBlur:f,onClick:x,onFocus:d,onMouseenter:d,onMouseleave:f},{default:O(()=>[F(T(D(t)(`exploreScalar.getDemo`)),1)]),_:1}),R(D(NE),{content:D(t)(`exploreScalar.dmMarc`),placement:`top-end`},{default:O(()=>[P(`a`,{class:`text-c-2 shadow-border hover:text-c-1 absolute end-1 top-1 flex size-8 items-center justify-center rounded-full`,href:D(C4n),rel:`noopener noreferrer`,target:`_blank`,onBlur:f,onFocus:d,onMouseenter:d,onMouseleave:f},[i[2]||=P(`svg`,{"aria-hidden":`true`,class:`size-3.5`,fill:`currentColor`,focusable:`false`,viewBox:`0 0 24 24`},[P(`path`,{d:`M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z`})],-1),P(`span`,L3n,T(D(t)(`exploreScalar.messageMarc`))+` `+T(D(t)(`exploreScalar.opensInNewTab`)),1)],40,I3n)]),_:1},8,[`content`])])])],512)):(j(),M(`div`,{key:1,ref_key:`stepEl`,ref:m,class:`flex flex-col px-6 pt-12 pb-6`},[P(`button`,{ref_key:`backEl`,ref:h,"aria-label":D(t)(`exploreScalar.back`),class:`bg-b-1/70 text-c-2 hover:bg-b-2 hover:text-c-1 ring-border absolute start-3 top-3 z-10 flex size-8 items-center justify-center rounded-full shadow-sm ring-1`,type:`button`,onClick:ee},[R(D(Ole),{class:`size-4 rtl:-scale-x-100`})],8,R3n),R(D(ps),{as:`h2`,class:`sr-only`},{default:O(()=>[F(T(D(t)(`exploreScalar.bookDemo`)),1)]),_:1}),P(`div`,{ref_key:`calEl`,ref:g,class:`explore-scalar-cal min-h-[640px] w-full overflow-auto`},null,512),_.value?(j(),M(`p`,z3n,[P(`a`,{class:`text-c-accent`,href:D(S4n),rel:`noopener noreferrer`,target:`_blank`},[F(T(D(t)(`exploreScalar.openBookingPage`))+` `,1),P(`span`,V3n,T(D(t)(`exploreScalar.opensInNewTab`)),1)],8,B3n)])):I(``,!0)],512)),P(`button`,{"aria-label":D(t)(`exploreScalar.close`),class:`bg-b-1/70 text-c-2 hover:bg-b-2 hover:text-c-1 ring-border absolute end-3 top-3 z-10 flex size-8 items-center justify-center rounded-full shadow-sm ring-1`,type:`button`,onClick:i[0]||=t=>e.state.hide()},[R(D(Zs),{class:`size-4`})],8,H3n)],512)]),_:1},8,[`class`,`maxWidth`,`state`]))}})})),G3n=s((()=>{})),K3n=l({default:()=>q3n}),q3n,J3n=s((()=>{W3n(),W3n(),G3n(),q3n=U3n}));function S7(e,t){return{code:e,detail:t}}var C7=s((()=>{})),w7,Y3n=s((()=>{Ce(),w7=C({id:S(),title:S(),namespace:S(),currentVersion:S(),logoUrl:_e([S(),de()]),slug:S()})}));function X3n(e,t){let n=e=>({success:!1,error:t?.(e)??null});return(...t)=>{try{let r=e(...t);return r instanceof Promise?r.catch(n):r}catch(e){return n(e)}}}function Z3n(e,t){let n=e=>({success:!1,error:t?.(e)??null}),r=e=>({success:!0,data:e});try{let t=e();return t instanceof Promise?t.then(r).catch(n):r(t)}catch(e){return n(e)}}function Q3n(e){let t=!0,n=[],r=[];for(let i of e)i.success?r.push(i.data):(t=!1,n.push(i.error));return t?{success:!0,data:r}:{success:!1,error:n}}var T7,E7=s((()=>{T7={safeFn:X3n,fromUnsafe:Z3n,resultsToResult:Q3n}}));function $3n({getAccessToken:e,getAgentKey:t}){let n=e?.(),r=t?.();return{...n&&{Authorization:`Bearer ${n}`},...r&&{"x-scalar-agent-key":r}}}function e6n({baseUrl:e,getAccessToken:t,getAgentKey:n}){let r=C({message:S(),code:S()}),i=T7.safeFn(async({path:i,method:a=`get`,query:o,body:s,responseSchema:c})=>{let l=`${e}${i}${o?`?${new URLSearchParams(o)}`:``}`,u=await T7.fromUnsafe(async()=>fetch(l,{method:a,...s&&{body:JSON.stringify(s)},headers:{...$3n({getAccessToken:t,getAgentKey:n})}}),e=>S7(`FAILED_TO_FETCH`,e));if(!u.success)return u;let d=await T7.fromUnsafe(async()=>u.data.json(),e=>S7(`FAILED_TO_FETCH_DATA`,e));if(!d.success)return{success:!1,error:S7(`UNKNOWN_ERROR`,`Unknown error occurred. Please contact support.`)};if(!u.data.ok){if(!y(r,d.data))return{success:!1,error:S7(`UNKNOWN_ERROR`,`Unknown error occurred. Please contact support.`)};let e=se(r,d.data);return{success:!1,error:S7(e.code,e.message)}}return y(c,d.data)?{success:!0,data:se(c,d.data)}:{success:!1,error:S7(`INVALID_RESPONSE`,`Invalid response. Please contact support`)}});return{search:async e=>i({path:`/vector/registry/search`,query:{query:e},responseSchema:C({results:he(w7)})}),getDocument:async e=>i({path:`/vector/registry/document/${e.namespace}/${e.slug}`,responseSchema:w7}),getKeyDocuments:async()=>i({path:`/vector/registry/documents`,responseSchema:C({documents:he(w7)})}),getCuratedDocuments:async()=>i({path:`/vector/registry/curated`,responseSchema:C({results:he(w7)})})}}var t6n=s((()=>{C7(),Y3n(),Ce(),E7()}));function n6n(e,t){return`${e}/${t}`}var r6n=s((()=>{})),i6n,a6n=s((()=>{Ce(),i6n=`execute-request`,C({method:S(),path:S(),headers:w(ge(S(),S())),body:w(S()),documentName:S(),documentIdentifier:S({typeComment:`Needed for legacy support for old clients`})})})),o6n,s6n,c6n,l6n,u6n,d6n,f6n=s((()=>{o6n=e=>{let t=s6n(e,0);if(t===void 0||!l6n(e[t]))return;let n=s6n(e,t+1);if(n!==void 0)return u6n(e,t,n)},s6n=(e,t)=>{for(let n=t;n<e.length;n+=1){let t=e[n];if(!c6n(t))return n}},c6n=e=>e===` `||e===` `||e===`
+`||e===`\r`,l6n=e=>e===`{`||e===`[`,u6n=(e,t,n)=>{let r;for(let i=n-1;i>t;--i){let t=e[i];if(t===`\r`)return;if(t===`
+`)return d6n(r);if(r===void 0)r=t;else if(r[0]===t)r+=t;else return}},d6n=e=>e===void 0?0:e[0]===` `?e.length:e})),p6n,D7,m6n,h6n,g6n=s((()=>{p6n=(e,t)=>{let n=D7(e,`toPrecision`,t,t);return n===void 0?D7(e,`toExponential`,t,t):n},D7=(e,t,n,r)=>{let i=e[t](r).replace(m6n,`$1`).replace(h6n,`$1`);return i.length<=n?i:r===1?void 0:D7(e,t,n,r-1)},m6n=/(e)\+/iu,h6n=/\.?0*($|e)/iu})),_6n,v6n,y6n,b6n=s((()=>{_6n=(e,t)=>{if(typeof e!=`string`)throw TypeError(`Input must be a JSON string: ${e}`);v6n(t)},v6n=e=>{if(y6n(e),e<0)throw TypeError(`"maxSize" argument must be positive: ${e}`);if(e<7)throw TypeError(`"maxSize" argument must be at least 7: ${e}`)},y6n=e=>{if(e===void 0)throw TypeError(`"maxSize" argument must be defined`);if(!Number.isInteger(e))throw TypeError(`"maxSize" argument must be an integer: ${e}`)}})),x6n,S6n,C6n,w6n,T6n,E6n,D6n,O6n,k6n,A6n,j6n,M6n,N6n,P6n,F6n=s((()=>{x6n=(e,t,n)=>{let r=O6n(t,n);return S6n(e,t,r)},S6n=(e,t,n)=>{if(n>=t)return n;let r=e[n];return r>=N6n&&r<=P6n?S6n(e,t,n+1):n},C6n=(e,t,n)=>{if(n===void 0)return n;let r=O6n(t,n);return w6n(e,r)},w6n=(e,t)=>T6n(e,t)?t-3:E6n(e,t)?t-2:D6n(e,t)?t-1:t,T6n=(e,t)=>t>=3&&e[t-3]>=k6n&&e[t-3]<=A6n,E6n=(e,t)=>t>=2&&e[t-2]>=j6n,D6n=(e,t)=>t>=1&&e[t-1]>=M6n,O6n=(e,t)=>t<0||Object.is(t,-0)?Math.max(e+t,0):t,k6n=240,A6n=244,j6n=224,M6n=194,N6n=128,P6n=191})),I6n,L6n=s((()=>{F6n(),I6n=(e,t,n)=>{let r=globalThis.Buffer.from(e),i=x6n(r,r.length,t),a=C6n(r,r.length,n);return i===0&&a>=r.length?r.toString():r.toString(`utf8`,i,a)}})),R6n,z6n,B6n,V6n,H6n,O7=s((()=>{R6n=55296,z6n=56319,B6n=56320,V6n=57343,H6n=/[\uD800-\uDFFF]/gu})),U6n,W6n,G6n=s((()=>{O7(),U6n=e=>W6n(e)?e.replace(H6n,`�`):e,W6n=e=>{for(let t=0;t<e.length;t+=1){let n=e.codePointAt(t);if(n>=55296&&n<=57343)return!0}return!1}})),K6n,q6n=s((()=>{O7(),K6n=({input:e,targetByteCount:t,firstStartSurrogate:n,lastStartSurrogate:r,firstEndSurrogate:i,lastEndSurrogate:a,increment:o,canBacktrack:s,shift:c,charIndexInit:l})=>{let u=l,d=u,f=0;for(;f<t;u+=o){d=u;let t=e.charCodeAt(u);if(Number.isNaN(t))break;if(t<=127){f+=1;continue}if(t<=2047){f+=2;continue}if(f+=3,t<n||t>r)continue;let s=e.charCodeAt(u+o);Number.isNaN(s)||s<i||s>a||(f+=1,u+=o)}return(s&&f>t?d:u)+c}})),J6n,Y6n,X6n,Z6n=s((()=>{O7(),q6n(),J6n=(e,t,n)=>t<0||Object.is(t,-0)?X6n(e,t,n):Y6n(e,t,n),Y6n=(e,t,n)=>K6n({input:e,targetByteCount:t,firstStartSurrogate:R6n,lastStartSurrogate:z6n,firstEndSurrogate:B6n,lastEndSurrogate:V6n,increment:1,canBacktrack:n,shift:0,charIndexInit:0}),X6n=(e,t,n)=>K6n({input:e,targetByteCount:-t,firstStartSurrogate:B6n,lastStartSurrogate:V6n,firstEndSurrogate:R6n,lastEndSurrogate:z6n,increment:-1,canBacktrack:!n,shift:1,charIndexInit:e.length-1})})),k7,Q6n,$6n=s((()=>{G6n(),Z6n(),k7=(e,t,n)=>{let r=J6n(e,t,!1),i=Q6n(e,n),a=r===0&&i===void 0?e:e.slice(r,i);return U6n(a)},Q6n=(e,t)=>{if(t===void 0)return t;let n=J6n(e,t,!0);return n===e.length?void 0:n}})),e8n,t8n,n8n,r8n,i8n,A7,a8n=s((()=>{F6n(),e8n=(e,t,n)=>{let{textEncoder:r,textDecoder:i}=t8n(),a=i8n(e),{written:o}=r.encodeInto(e,a),s=x6n(a,o,t),c=C6n(a,o,n),l=c===void 0?o:Math.min(c,o),u=a.subarray(s,l);return i.decode(u)},t8n=()=>(n8n===void 0&&(n8n=new globalThis.TextEncoder,r8n=new globalThis.TextDecoder(`utf8`,{fatal:!1})),{textEncoder:n8n,textDecoder:r8n}),i8n=e=>{let t=e.length*3;return t>1e5?new Uint8Array(t):((A7===void 0||A7.length<t)&&(A7=new Uint8Array(t)),A7)}})),o8n,s8n,c8n,l8n=s((()=>{o8n=(e,t)=>{if(t===void 0)return t;let n=s8n(e,t);return n>=e.length*c8n?void 0:n},s8n=(e,t)=>t<=e.length*-c8n?0:t,c8n=4})),u8n,d8n,f8n,p8n,m8n=s((()=>{u8n=(e,t,n)=>{if(typeof e!=`string`)throw TypeError(`First argument must be a string: ${e}`);d8n(t),f8n(n)},d8n=e=>{if(e===void 0)throw TypeError(`Second argument is required.`);p8n(`Second`,e)},f8n=e=>{e!==void 0&&p8n(`Third`,e)},p8n=(e,t)=>{if(!Number.isInteger(t))throw TypeError(`${e} argument must be an integer: ${t}`)}})),h8n,g8n,j7,_8n=s((()=>{O7(),h8n=e=>{let t=!0,n=0;for(let r=0;r<j7;r+=1){let i=g8n(e,r);i<=127||(t&&=!1,i>2047&&(n+=1))}return{asciiOnly:t,longCharsPercentage:n/j7}},g8n=(e,t)=>{let n=j7-1,r=1-(n-t)/n,i=Math.round(r*(e.length-1));return e.charCodeAt(i)},j7=50})),v8n,y8n,b8n,x8n,S8n,C8n,w8n=s((()=>{L6n(),$6n(),a8n(),l8n(),G6n(),m8n(),_8n(),v8n=(e,t,n)=>{if(u8n(e,t,n),e===``)return e;let r=s8n(e,t),i=o8n(e,n);return i===void 0&&Object.is(r,0)?U6n(e):y8n(e,r,i)},y8n=(e,t,n)=>{if(e.length<=b8n)return k7(e,t,n);let{asciiOnly:r,longCharsPercentage:i}=h8n(e);return r?S8n(e,t,n):i>=x8n?k7(e,t,n):C8n(e,t,n)},b8n=200,x8n=.4,S8n=(e,t,n)=>`Buffer`in globalThis&&`from`in globalThis.Buffer?I6n(e,t,n):C8n(e,t,n),C8n=(e,t,n)=>`TextEncoder`in globalThis?e8n(e,t,n):k7(e,t,n)})),T8n,E8n,D8n,O8n,k8n,M7,A8n,j8n=s((()=>{w8n(),T8n=(e,t)=>{let n=JSON.stringify(e),r=O8n(n),i=v8n(r,0,t-A8n.length-M7.length*2),a=`${E8n(i)}${A8n}`;return k8n(a)},E8n=e=>e.replace(D8n,``),D8n=/(\\|\\u[0-9a-fA-F]{0,3})$/u,O8n=e=>e.slice(M7.length,-M7.length),k8n=e=>`${M7}${e}${M7}`,M7=`"`,A8n=`...`})),M8n,N8n=s((()=>{M8n=e=>globalThis.Buffer.byteLength(e)})),P8n,F8n,I8n,L8n,R8n,z8n,B8n,V8n=s((()=>{P8n=e=>{let t=e.length,n=t;for(let r=0;r<t;r+=1){let t=e.charCodeAt(r);if(t<=F8n)continue;if(t<=I8n){n+=1;continue}if(n+=2,t<L8n||t>R8n)continue;let i=e.charCodeAt(r+1);i<z8n||i>B8n||(r+=1)}return n},F8n=127,I8n=2047,L8n=55296,R8n=56319,z8n=56320,B8n=57343})),H8n,U8n,W8n,N7,G8n=s((()=>{H8n=()=>U8n.bind(void 0,new TextEncoder),U8n=(e,t)=>{let n=W8n(t);return e.encodeInto(t,n).written},W8n=e=>{let t=e.length*3;return t>1e5?new Uint8Array(t):((N7===void 0||N7.length<t)&&(N7=new Uint8Array(t)),N7)}})),K8n,q8n,J8n,Y8n=s((()=>{N8n(),V8n(),G8n(),K8n=()=>`Buffer`in globalThis&&`byteLength`in globalThis.Buffer?M8n:`TextEncoder`in globalThis?q8n.bind(void 0,H8n()):P8n,q8n=(e,t)=>t.length<100?P8n(t):e(t),J8n=K8n()})),X8n,Z8n,Q8n,$8n,e5n,t5n,n5n=s((()=>{Y8n(),X8n=e=>{if(e===null)return Z8n;if(e===!0)return Q8n;if(e===!1)return $8n;let t=typeof e;return t===`object`?e5n:t===`number`?JSON.stringify(e).length:t5n(e)},Z8n=4,Q8n=4,$8n=5,e5n=2,t5n=e=>J8n(JSON.stringify(e))})),r5n,i5n,a5n,o5n,s5n,c5n,l5n,u5n,d5n,P7=s((()=>{n5n(),r5n=({size:e,increment:t,maxSize:n,truncatedProps:r,path:i,value:a})=>{let o=e+t,s=o>n;return s?{size:e,stop:s,truncatedProps:[...r,{path:i,value:a}]}:{size:o,stop:s,truncatedProps:r}},i5n=e=>X8n(e),a5n=(e,t,n)=>c5n({empty:e,indent:t,depth:n,keySpaceSize:0})+u5n(e),o5n=({key:e,empty:t,indent:n,depth:r})=>{let i=c5n({empty:t,indent:n,depth:r,keySpaceSize:1}),a=t5n(e),o=u5n(t);return i+a+s5n+o},s5n=1,c5n=({empty:e,indent:t,depth:n,keySpaceSize:r})=>{if(t===void 0)return 0;let i=l5n+t*(n+1),a=e?l5n+t*n:0;return r+i+a},l5n=1,u5n=e=>e?0:d5n,d5n=1})),f5n,p5n,m5n=s((()=>{P7(),f5n=({parent:e,truncatedProps:t,path:n,increment:r,maxSize:i,key:a,empty:o,size:s,truncateValue:c,indent:l,depth:u})=>{let d=e[a],f=[...n,a],{size:p,stop:m,truncatedProps:h}=r5n({size:s,increment:r,maxSize:i,truncatedProps:t,path:f,value:d});return m?{empty:o,size:p,truncatedProps:h}:p5n({value:d,truncatedProps:t,path:f,maxSize:i,empty:o,size:s,newSize:p,truncateValue:c,indent:l,depth:u})},p5n=({value:e,truncatedProps:t,path:n,maxSize:r,empty:i,size:a,newSize:o,truncateValue:s,indent:c,depth:l})=>{let{value:u,size:d,truncatedProps:f}=s({value:e,truncatedProps:t,path:n,size:o,maxSize:r,indent:c,depth:l+1});return u===void 0?{empty:i,size:a,truncatedProps:f}:{empty:!1,size:d,value:u,truncatedProps:f}}})),h5n,g5n=s((()=>{m5n(),P7(),h5n=({array:e,truncatedProps:t,path:n,size:r,maxSize:i,truncateValue:a,indent:o,depth:s})=>{let c=[],l={empty:!0,size:r,truncatedProps:t};for(let t=0;t<e.length;t+=1){let r=a5n(l.empty,o,s);l=f5n({parent:e,truncatedProps:l.truncatedProps,path:n,increment:r,maxSize:i,key:t,empty:l.empty,size:l.size,truncateValue:a,indent:o,depth:s}),l.value!==void 0&&c.push(l.value)}return{value:c,size:l.size,truncatedProps:l.truncatedProps}}})),_5n,v5n=s((()=>{m5n(),P7(),_5n=({object:e,truncatedProps:t,path:n,size:r,maxSize:i,truncateValue:a,indent:o,depth:s})=>{let c={},l={empty:!0,size:r,truncatedProps:t};for(let t in e){let r=o5n({key:t,empty:l.empty,indent:o,depth:s});l=f5n({parent:e,truncatedProps:l.truncatedProps,path:n,increment:r,maxSize:i,key:t,empty:l.empty,size:l.size,truncateValue:a,indent:o,depth:s}),l.value!==void 0&&(c[t]=l.value)}return{value:c,size:l.size,truncatedProps:l.truncatedProps}}})),F7,y5n,b5n=s((()=>{g5n(),v5n(),P7(),F7=({value:e,truncatedProps:t,path:n,size:r,maxSize:i,indent:a,depth:o})=>{let s=i5n(e),{size:c,stop:l,truncatedProps:u}=r5n({size:r,increment:s,maxSize:i,truncatedProps:t,path:n,value:e});return l?{value:void 0,size:c,truncatedProps:u}:y5n({value:e,truncatedProps:u,path:n,size:c,maxSize:i,indent:a,depth:o})},y5n=({value:e,truncatedProps:t,path:n,size:r,maxSize:i,indent:a,depth:o})=>typeof e!=`object`||!e?{value:e,size:r,truncatedProps:t}:Array.isArray(e)?h5n({array:e,truncatedProps:t,path:n,size:r,maxSize:i,truncateValue:F7,indent:a,depth:o}):_5n({object:e,truncatedProps:t,path:n,size:r,maxSize:i,truncateValue:F7,indent:a,depth:o})})),x5n,S5n,C5n,w5n,T5n=s((()=>{f6n(),g6n(),b6n(),j8n(),b5n(),x5n=(e,t)=>{_6n(e,t);let n=S5n(e),r=C5n(e),{value:i,truncatedProps:a}=F7({value:r,truncatedProps:[],path:[],size:0,maxSize:t,indent:n,depth:0});return{jsonString:w5n({newValue:i,value:r,maxSize:t,indent:n}),truncatedProps:a}},S5n=e=>{let t=o6n(e);return typeof t==`string`?t.length:t},C5n=e=>{try{return JSON.parse(e)}catch(t){throw TypeError(`Invalid JSON string: "${e}"\n${t.message}`)}},w5n=({newValue:e,value:t,maxSize:n,indent:r})=>e===void 0?typeof t==`number`?p6n(t,n):T8n(t,n):JSON.stringify(e,void 0,r)}));function E5n({path:e,activeServer:t,proxyUrl:n,queryParams:r}){let i=Ob({path:e,server:t,urlParams:r});return ny(n,i)}var D5n,O5n,k5n,A5n,j5n,M5n=s((()=>{C7(),a6n(),E7(),iy(),rS(),My(),T5n(),D5n=5e4,O5n=T7.safeFn(async e=>e.headers.get(`content-type`)===`application/json`?{success:!0,data:await e.json()}:{success:!0,data:await e.text()},e=>S7(`FAILED_TO_PARSE_RESPONSE_BODY`,{originalError:e})),k5n=e=>JSON.parse(x5n(JSON.stringify(e),D5n).jsonString),A5n=T7.safeFn(async(e,t)=>{let n=await fetch(e,t),r=await O5n(n);return n.ok?r.success?{success:!0,data:{status:n.status,responseBody:k5n(r.data),headers:Object.fromEntries(n.headers.entries())}}:r:{success:!1,error:S7(`REQUEST_NOT_OK`,{status:n.status,url:n.url,responseBody:k5n(r.success?r.data:void 0),headers:Object.fromEntries(n.headers.entries())})}},e=>S7(`FAILED_TO_FETCH`,{originalError:e})),j5n=T7.safeFn(async({documentSettings:e,toolCallId:t,chat:n,proxyUrl:r,input:{method:i,path:a,body:o,headers:s,documentName:c}})=>{let l=e[c];if(!l)return{success:!1,error:S7(`DOCUMENT_SETTINGS_COULD_NOT_BE_DETERMINED`,{documentName:c})};let u=kb(l.securitySchemes).reduce((e,t)=>{let n=t.format===`basic`?`Basic ${yy(t.value)}`:t.format===`bearer`?`Bearer ${t.value}`:t.value;return t.in===`header`?e.headers[t.name]=n:t.in===`query`?e.queryParams.set(t.name,n):t.in===`cookie`&&(e.cookies[t.name]=n),e},{headers:{},queryParams:new URLSearchParams,cookies:{}}),d=Object.entries(u.cookies).map(([e,t])=>`${e}=${t}`).join(`; `),f={method:i,body:o,headers:{...s,...u.headers,Cookie:d}},p=await A5n(E5n({path:a,activeServer:l.activeServer,proxyUrl:r,queryParams:u.queryParams}),f);return n.addToolOutput({tool:i6n,toolCallId:t,output:p,state:`output-available`}),p},e=>S7(`FAILED_TO_EXECUTE_REQUEST`,e))})),I7,L7=s((()=>{I7={DEFAULT_PROXY_URL:`https://proxy.scalar.com`,PRIVACY_POLICY:`https://scalar.com/legal/privacy-policy`,TERMS_AND_CONDITIONS:`https://scalar.com/legal/terms-and-conditions`,AGENT_SCALAR_DOCUMENTATION:`https://scalar.com/products/agent/getting-started`,PROXY_SOURCE_CODE:`https://github.com/scalar/scalar/tree/main/projects/proxy-scalar-com`}}));function N5n(e,t,n){let r=$x(t?.components?.securitySchemes,{},n,e),i=Sx(t.security),a=kx(n.getAuthSelectedSchemas({type:`document`,documentName:e}),void 0,i);return Tx(r,a.selectedSchemes[a.selectedIndex]??{})}function P5n(e){let t=[];for(let[n,r]of Object.entries(e.workspace.documents))tx(r)&&t.push([n,r]);return Object.fromEntries(t.map(([t,n])=>{let r=tS(n.servers,{documentUrl:n[`x-scalar-original-source-url`]});return[t,{activeServer:nS(n,null,null,r),securitySchemes:N5n(t,n,e.auth)}]}))}function F5n(e){try{return JSON.parse(e)}catch{return}}var I5n,L5n,R5n,R7=s((()=>{ax(),rS(),DEn(),B1(),Gh(),I5n=EEn(),L5n=()=>{let e=e=>`${y3.AUTH}-${e}`;return{getAuth:t=>{let n=JSON.parse(I5n.getItem(e(t))??`{}`);return Wh(L1,n)},setAuth:(t,n)=>{I5n.setItem(e(t),JSON.stringify(n))}}},R5n=({documentName:e,workspaceStore:t})=>{let n=L5n().getAuth(e);t.auth.load({[e]:n})}}));function z5n(){let e=E(!1);Ii(()=>{e.value=localStorage.getItem(B5n)===`true`});function t(){e.value=!0,localStorage.setItem(B5n,`true`)}return{accepted:e,accept:t}}var B5n,V5n=s((()=>{B(),B5n=`scalar/agent-terms-accepted`}));function H5n({namespace:e,slug:t}){localStorage.setItem(z7,JSON.stringify({namespace:e,slug:t}))}function U5n(){let e=localStorage.getItem(z7);if(e)return se(q5n,JSON.parse(e))}function W5n(){localStorage.getItem(z7)&&localStorage.removeItem(z7)}function G5n(){let e=x9(),{uploadState:t}=e,n=new AbortController;Zt(()=>n.abort());function r(t){let n=`${e.baseUrl}${t}`;return ny(e.platformProxyUrl,n)}async function i(i,a=!1){try{t.value={type:`uploading`};let o=await fetch(r(`/core/share/upload/apis${a?`?source=agent`:``}`),{method:`POST`,signal:n.signal,headers:{"Content-Type":`application/json`},body:JSON.stringify({document:i})});if(!o.ok){t.value={type:`error`,error:`Failed to upload your API description.`};return}let s=await o.json(),c=C({url:S(),namespace:S(),slug:S()});if(!y(c,s)){t.value={type:`error`,error:`Failed to process document.`};return}let l=se(c,s);if(t.value={type:`processing`},!(await fetch(r(`/vector/registry/embeddings/${l.namespace}/${l.slug}`),{method:`GET`,signal:n.signal})).ok){t.value={type:`error`,error:`Failed to embed document.`};return}return await e.addDocument({namespace:l.namespace,slug:l.slug,removable:!1,tmp:!0}),n.signal.aborted?void 0:(H5n({namespace:l.namespace,slug:l.slug}),t.value={type:`done`},e.uploadedTmpDocumentUrl.value=l.url,setTimeout(()=>{t.value=void 0},K5n),l)}catch{if(n.signal.aborted)return;t.value={type:`error`,error:`Failed to upload your API description.`};return}}return{uploadTempDocument:i,uploadState:t}}var K5n,z7,q5n,J5n=s((()=>{C9(),B(),Ce(),iy(),K5n=5e3,z7=`scalar-tmp-doc`,q5n=C({namespace:S(),slug:S()})})),Y5n,X5n=s((()=>{R7(),nY(),Y5n=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:n=!1})=>{let{execute:r}=tY({delay:e,maxWait:t}),i=L5n(),a=()=>typeof n==`function`?n():n;return{hooks:{onWorkspaceStateChanges(e){a()&&e.type===`auth`&&r(`auth`,()=>i.setAuth(e.documentName,e.value))}}}}})),Z5n,Q5n=s((()=>{C7(),r6n(),R7(),E7(),GJ(),JJ(),jSn(),Z5n=T7.safeFn(async({namespace:e,slug:t,workspaceStore:n,registryDocuments:r,getAccessToken:i,registryUrl:a,config:o,api:s,removable:c})=>{let l=await s.getDocument({namespace:e,slug:t});if(!l.success)return l;r.value.push({...l.data,removable:c});let u=new URL(`/@${e}/apis/${t}/latest`,a),d=[],f=i?.();f&&d.push({domains:[new URL(a).host],headers:{"x-scalar-auth":f}});let p=await HJ(u.toString(),{plugins:[V4(),qJ({headers:d})],treeShake:!1}),m=n6n(e,t);return await n.addDocument({name:m,document:p},o),n.update(`x-scalar-active-document`,m),R5n({documentName:m,workspaceStore:n}),{success:!0,data:l.data}},e=>S7(`UNABLE_TO_LOAD_DOCUMENT`,e))}));function $5n(e){return e==null?`unknown error`:typeof e==`string`?e:e instanceof Error?e.toString():JSON.stringify(e)}var e7n,t7n,B7,n7n,r7n,i7n,a7n,o7n,s7n,c7n,l7n,u7n,d7n,f7n,p7n,m7n,h7n,g7n,_7n,v7n,y7n,b7n,V7,x7n,S7n,C7n,w7n,T7n=s((()=>{e7n=`vercel.ai.error`,t7n=Symbol.for(e7n),B7=class e extends Error{constructor({name:e,message:t,cause:n}){super(t),this[t7n]=!0,this.name=e,this.cause=n}static isInstance(t){return e.hasMarker(t,e7n)}static hasMarker(e,t){let n=Symbol.for(t);return typeof e==`object`&&!!e&&n in e&&typeof e[n]==`boolean`&&e[n]===!0}},n7n=`AI_APICallError`,r7n=`vercel.ai.error.${n7n}`,i7n=Symbol.for(r7n),a7n=class extends B7{constructor({message:e,url:t,requestBodyValues:n,statusCode:r,responseHeaders:i,responseBody:a,cause:o,isRetryable:s=r!=null&&(r===408||r===409||r===429||r>=500),data:c}){super({name:n7n,message:e,cause:o}),this[i7n]=!0,this.url=t,this.requestBodyValues=n,this.statusCode=r,this.responseHeaders=i,this.responseBody=a,this.isRetryable=s,this.data=c}static isInstance(e){return B7.hasMarker(e,r7n)}},o7n=`AI_EmptyResponseBodyError`,s7n=`vercel.ai.error.${o7n}`,c7n=Symbol.for(s7n),l7n=class extends B7{constructor({message:e=`Empty response body`}={}){super({name:o7n,message:e}),this[c7n]=!0}static isInstance(e){return B7.hasMarker(e,s7n)}},u7n=`AI_InvalidArgumentError`,d7n=`vercel.ai.error.${u7n}`,f7n=Symbol.for(d7n),p7n=class extends B7{constructor({message:e,cause:t,argument:n}){super({name:u7n,message:e,cause:t}),this[f7n]=!0,this.argument=n}static isInstance(e){return B7.hasMarker(e,d7n)}},m7n=`AI_JSONParseError`,h7n=`vercel.ai.error.${m7n}`,g7n=Symbol.for(h7n),_7n=class extends B7{constructor({text:e,cause:t}){super({name:m7n,message:`JSON parsing failed: Text: ${e}.\nError message: ${$5n(t)}`,cause:t}),this[g7n]=!0,this.text=e}static isInstance(e){return B7.hasMarker(e,h7n)}},v7n=`AI_TypeValidationError`,y7n=`vercel.ai.error.${v7n}`,b7n=Symbol.for(y7n),V7=class e extends B7{constructor({value:e,cause:t,context:n}){let r=`Type validation failed`;if(n?.field&&(r+=` for ${n.field}`),n?.entityName||n?.entityId){r+=` (`;let e=[];n.entityName&&e.push(n.entityName),n.entityId&&e.push(`id: "${n.entityId}"`),r+=e.join(`, `),r+=`)`}super({name:v7n,message:`${r}: Value: ${JSON.stringify(e)}.\nError message: ${$5n(t)}`,cause:t}),this[b7n]=!0,this.value=e,this.context=n}static isInstance(e){return B7.hasMarker(e,y7n)}static wrap({value:t,cause:n,context:r}){return e.isInstance(n)&&n.value===t&&n.context?.field===r?.field&&n.context?.entityName===r?.entityName&&n.context?.entityId===r?.entityId?n:new e({value:t,cause:n,context:r})}},x7n=`AI_UnsupportedFunctionalityError`,S7n=`vercel.ai.error.${x7n}`,C7n=Symbol.for(S7n),w7n=class extends B7{constructor({functionality:e,message:t=`'${e}' functionality not supported.`}){super({name:x7n,message:t}),this[C7n]=!0,this.functionality=e}static isInstance(e){return B7.hasMarker(e,S7n)}}})),E7n=s((()=>{h1()})),D7n=s((()=>{h1(),E7n()}));function O7n(e){}function k7n(e){if(typeof e==`function`)throw TypeError("`config` must be an object, got a function instead. Did you mean `createParser({onEvent: fn})`?");let{onEvent:t=O7n,onError:n=O7n,onRetry:r=O7n,onComment:i,maxBufferSize:a}=e,o=[],s=0,c=!0,l,u=``,d=0,f,p=!1;function m(e){if(p)throw Error("Cannot feed parser: it was terminated after exceeding the configured max buffer size. Call `reset()` to resume parsing.");if(c&&(c=!1,e.charCodeAt(0)===239&&e.charCodeAt(1)===187&&e.charCodeAt(2)===191&&(e=e.slice(3))),o.length===0){let t=g(e);t!==``&&(o.push(t),s=t.length),h();return}if(e.indexOf(`
+`)===-1&&e.indexOf(`\r`)===-1){o.push(e),s+=e.length,h();return}o.push(e);let t=o.join(``);o.length=0,s=0;let n=g(t);n!==``&&(o.push(n),s=n.length),h()}function h(){a!==void 0&&(s+u.length<=a||(p=!0,o.length=0,s=0,l=void 0,u=``,d=0,f=void 0,n(new H7(`Buffered data exceeded max buffer size of ${a} characters`,{type:`max-buffer-size-exceeded`}))))}function g(e){let n=0;if(e.indexOf(`\r`)===-1){let r=e.indexOf(`
+`,n);for(;r!==-1;){if(n===r){d>0&&t({id:l,event:f,data:u}),l=void 0,u=``,d=0,f=void 0,n=r+1,r=e.indexOf(`
+`,n);continue}let i=e.charCodeAt(n);if(A7n(e,n,i)){let i=e.charCodeAt(n+5)===U7?n+6:n+5,a=e.slice(i,r);if(d===0&&e.charCodeAt(r+1)===M7n){t({id:l,event:f,data:a}),l=void 0,u=``,f=void 0,n=r+2,r=e.indexOf(`
+`,n);continue}u=d===0?a:`${u}
+${a}`,d++}else j7n(e,n,i)?f=e.slice(e.charCodeAt(n+6)===U7?n+7:n+6,r)||void 0:_(e,n,r);n=r+1,r=e.indexOf(`
+`,n)}return e.slice(n)}for(;n<e.length;){let t=e.indexOf(`\r`,n),r=e.indexOf(`
+`,n),i=-1;if(t!==-1&&r!==-1?i=t<r?t:r:t===-1?r!==-1&&(i=r):i=t===e.length-1?-1:t,i===-1)break;_(e,n,i),n=i+1,e.charCodeAt(n-1)===N7n&&e.charCodeAt(n)===M7n&&n++}return e.slice(n)}function _(e,t,n){if(t===n){y();return}let r=e.charCodeAt(t);if(A7n(e,t,r)){let r=e.charCodeAt(t+5)===U7?t+6:t+5,i=e.slice(r,n);u=d===0?i:`${u}
+${i}`,d++;return}if(j7n(e,t,r)){f=e.slice(e.charCodeAt(t+6)===U7?t+7:t+6,n)||void 0;return}if(r===105&&e.charCodeAt(t+1)===100&&e.charCodeAt(t+2)===58){let r=e.slice(e.charCodeAt(t+3)===U7?t+4:t+3,n);r.includes(`\0`)||(l=r);return}if(r===58){if(i){let r=e.slice(t,n);i(r.slice(e.charCodeAt(t+1)===U7?2:1))}return}let a=e.slice(t,n),o=a.indexOf(`:`);if(o===-1){v(a,``,a);return}let s=a.slice(0,o),c=a.charCodeAt(o+1)===U7?2:1;v(s,a.slice(o+c),a)}function v(e,t,i){switch(e){case`event`:f=t||void 0;break;case`data`:u=d===0?t:`${u}
+${t}`,d++;break;case`id`:t.includes(`\0`)||(l=t);break;case`retry`:/^\d+$/.test(t)?r(parseInt(t,10)):n(new H7(`Invalid \`retry\` value: "${t}"`,{type:`invalid-retry`,value:t,line:i}));break;default:n(new H7(`Unknown field "${e.length>20?`${e.slice(0,20)}\u2026`:e}"`,{type:`unknown-field`,field:e,value:t,line:i}))}}function y(){d>0&&t({id:l,event:f,data:u}),l=void 0,u=``,d=0,f=void 0}function b(e={}){if(e.consume&&o.length>0){let e=o.join(``);_(e,0,e.length)}c=!0,l=void 0,u=``,d=0,f=void 0,o.length=0,s=0,p=!1}return{feed:m,reset:b}}function A7n(e,t,n){return n===100&&e.charCodeAt(t+1)===97&&e.charCodeAt(t+2)===116&&e.charCodeAt(t+3)===97&&e.charCodeAt(t+4)===58}function j7n(e,t,n){return n===101&&e.charCodeAt(t+1)===118&&e.charCodeAt(t+2)===101&&e.charCodeAt(t+3)===110&&e.charCodeAt(t+4)===116&&e.charCodeAt(t+5)===58}var H7,M7n,N7n,U7,P7n=s((()=>{H7=class extends Error{constructor(e,t){super(e),this.name=`ParseError`,this.type=t.type,this.field=t.field,this.value=t.value,this.line=t.line}},M7n=10,N7n=13,U7=32})),F7n,I7n=s((()=>{P7n(),F7n=class extends TransformStream{constructor({onError:e,onRetry:t,onComment:n,maxBufferSize:r}={}){let i;super({start(a){i=k7n({onEvent:e=>{a.enqueue(e)},onError(t){typeof e==`function`&&e(t),(e===`terminate`||t.type===`max-buffer-size-exceeded`)&&a.error(t)},onRetry:t,onComment:n,maxBufferSize:r})},transform(e){i.feed(e)}})}}}));function W7(e){if(e==null)return{};let t={};if(e instanceof Headers)e.forEach((e,n)=>{t[n.toLowerCase()]=e});else{Array.isArray(e)||(e=Object.entries(e));for(let[n,r]of e)r!=null&&(t[n.toLowerCase()]=r)}return t}function L7n(e){return globalThis.Buffer?.isBuffer(e)??!1}function R7n(e){let t=JSON.parse(e);return typeof t!=`object`||!t||I9n.test(e)===!1&&L9n.test(e)===!1?t:z7n(t)}function z7n(e){let t=[e];for(;t.length;){let e=t;t=[];for(let n of e){if(Object.prototype.hasOwnProperty.call(n,`__proto__`)||Object.prototype.hasOwnProperty.call(n,`constructor`)&&n.constructor!==null&&typeof n.constructor==`object`&&Object.prototype.hasOwnProperty.call(n.constructor,`prototype`))throw SyntaxError(`Object contains forbidden prototype property`);for(let e in n){let r=n[e];r&&typeof r==`object`&&t.push(r)}}}return e}function B7n(e){let{stackTraceLimit:t}=Error;try{Error.stackTraceLimit=0}catch{return R7n(e)}try{return R7n(e)}finally{Error.stackTraceLimit=t}}function V7n(e){if(e.type===`object`||Array.isArray(e.type)&&e.type.includes(`object`)){let{additionalProperties:t}=e;e.additionalProperties=t!=null&&typeof t!=`boolean`&&G7(t);let{properties:n}=e;if(n!=null)for(let e of Object.keys(n))n[e]=G7(n[e])}e.items!=null&&(e.items=Array.isArray(e.items)?e.items.map(G7):G7(e.items)),e.anyOf!=null&&(e.anyOf=e.anyOf.map(G7)),e.allOf!=null&&(e.allOf=e.allOf.map(G7)),e.oneOf!=null&&(e.oneOf=e.oneOf.map(G7));let{definitions:t}=e;if(t!=null)for(let e of Object.keys(t))t[e]=G7(t[e]);return e}function G7(e){return typeof e==`boolean`?e:V7n(e)}function K7(){return{}}function H7n(e,t){let n={type:`array`};return e.type?._def&&e.type?._def?.typeName!==`ZodAny`&&(n.items=Y7(e.type._def,{...t,currentPath:[...t.currentPath,`items`]})),e.minLength&&(n.minItems=e.minLength.value),e.maxLength&&(n.maxItems=e.maxLength.value),e.exactLength&&(n.minItems=e.exactLength.value,n.maxItems=e.exactLength.value),n}function U7n(e){let t={type:`integer`,format:`int64`};if(!e.checks)return t;for(let n of e.checks)switch(n.kind){case`min`:n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value;break;case`max`:n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value;break;case`multipleOf`:t.multipleOf=n.value}return t}function W7n(){return{type:`boolean`}}function G7n(e,t){return Y7(e.type._def,t)}function K7n(e,t,n){let r=n??t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map(n=>K7n(e,t,n))};switch(r){case`string`:case`format:date-time`:return{type:`string`,format:`date-time`};case`format:date`:return{type:`string`,format:`date`};case`integer`:return H9n(e)}}function q7n(e,t){return{...Y7(e.innerType._def,t),default:e.defaultValue()}}function J7n(e,t){return t.effectStrategy===`input`?Y7(e.schema._def,t):K7()}function Y7n(e){return{type:`string`,enum:Array.from(e.values)}}function X7n(e,t){let n=[Y7(e.left._def,{...t,currentPath:[...t.currentPath,`allOf`,`0`]}),Y7(e.right._def,{...t,currentPath:[...t.currentPath,`allOf`,`1`]})].filter(e=>!!e),r=[];return n.forEach(e=>{if(U9n(e))r.push(...e.allOf);else{let t=e;if(`additionalProperties`in e&&e.additionalProperties===!1){let{additionalProperties:n,...r}=e;t=r}r.push(t)}}),r.length?{allOf:r}:void 0}function Z7n(e){let t=typeof e.value;return t!==`bigint`&&t!==`number`&&t!==`boolean`&&t!==`string`?{type:Array.isArray(e.value)?`array`:`object`}:{type:t===`bigint`?`integer`:t,const:e.value}}function Q7n(e,t){let n={type:`string`};if(e.checks)for(let r of e.checks)switch(r.kind){case`min`:n.minLength=typeof n.minLength==`number`?Math.max(n.minLength,r.value):r.value;break;case`max`:n.maxLength=typeof n.maxLength==`number`?Math.min(n.maxLength,r.value):r.value;break;case`email`:switch(t.emailStrategy){case`format:email`:q7(n,`email`,r.message,t);break;case`format:idn-email`:q7(n,`idn-email`,r.message,t);break;case`pattern:zod`:J7(n,e9.email,r.message,t)}break;case`url`:q7(n,`uri`,r.message,t);break;case`uuid`:q7(n,`uuid`,r.message,t);break;case`regex`:J7(n,r.regex,r.message,t);break;case`cuid`:J7(n,e9.cuid,r.message,t);break;case`cuid2`:J7(n,e9.cuid2,r.message,t);break;case`startsWith`:J7(n,RegExp(`^${$7n(r.value,t)}`),r.message,t);break;case`endsWith`:J7(n,RegExp(`${$7n(r.value,t)}$`),r.message,t);break;case`datetime`:q7(n,`date-time`,r.message,t);break;case`date`:q7(n,`date`,r.message,t);break;case`time`:q7(n,`time`,r.message,t);break;case`duration`:q7(n,`duration`,r.message,t);break;case`length`:n.minLength=typeof n.minLength==`number`?Math.max(n.minLength,r.value):r.value,n.maxLength=typeof n.maxLength==`number`?Math.min(n.maxLength,r.value):r.value;break;case`includes`:J7(n,RegExp($7n(r.value,t)),r.message,t);break;case`ip`:r.version!==`v6`&&q7(n,`ipv4`,r.message,t),r.version!==`v4`&&q7(n,`ipv6`,r.message,t);break;case`base64url`:J7(n,e9.base64url,r.message,t);break;case`jwt`:J7(n,e9.jwt,r.message,t);break;case`cidr`:r.version!==`v6`&&J7(n,e9.ipv4Cidr,r.message,t),r.version!==`v4`&&J7(n,e9.ipv6Cidr,r.message,t);break;case`emoji`:J7(n,e9.emoji(),r.message,t);break;case`ulid`:J7(n,e9.ulid,r.message,t);break;case`base64`:switch(t.base64Strategy){case`format:binary`:q7(n,`binary`,r.message,t);break;case`contentEncoding:base64`:n.contentEncoding=`base64`;break;case`pattern:zod`:J7(n,e9.base64,r.message,t)}break;case`nanoid`:J7(n,e9.nanoid,r.message,t)}return n}function $7n(e,t){return t.patternStrategy===`escape`?e9n(e):e}function e9n(e){let t=``;for(let n=0;n<e.length;n++)W9n.has(e[n])||(t+=`\\`),t+=e[n];return t}function q7(e,t,n,r){e.format||e.anyOf?.some(e=>e.format)?(e.anyOf||=[],e.format&&(e.anyOf.push({format:e.format}),delete e.format),e.anyOf.push({format:t,...n&&r.errorMessages&&{errorMessage:{format:n}}})):e.format=t}function J7(e,t,n,r){e.pattern||e.allOf?.some(e=>e.pattern)?(e.allOf||=[],e.pattern&&(e.allOf.push({pattern:e.pattern}),delete e.pattern),e.allOf.push({pattern:t9n(t,r),...n&&r.errorMessages&&{errorMessage:{pattern:n}}})):e.pattern=t9n(t,r)}function t9n(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let n={i:e.flags.includes(`i`),m:e.flags.includes(`m`),s:e.flags.includes(`s`)},r=n.i?e.source.toLowerCase():e.source,i=``,a=!1,o=!1,s=!1;for(let e=0;e<r.length;e++)if(a)i+=r[e],a=!1;else{if(n.i){if(o){if(r[e].match(/[a-z]/)){s?(i+=r[e],i+=`${r[e-2]}-${r[e]}`.toUpperCase(),s=!1):r[e+1]===`-`&&r[e+2]?.match(/[a-z]/)?(i+=r[e],s=!0):i+=`${r[e]}${r[e].toUpperCase()}`;continue}}else if(r[e].match(/[a-z]/)){i+=`[${r[e]}${r[e].toUpperCase()}]`;continue}}if(n.m){if(r[e]===`^`){i+=`(^|(?<=[\r
+]))`;continue}if(r[e]===`$`){i+=`($|(?=[\r
+]))`;continue}}n.s&&r[e]===`.`?i+=o?`${r[e]}\r\n`:`[${r[e]}\r\n]`:(i+=r[e],r[e]===`\\`?a=!0:o&&r[e]===`]`?o=!1:!o&&r[e]===`[`&&(o=!0))}try{new RegExp(i)}catch{return console.warn(`Could not convert regex pattern at ${t.currentPath.join(`/`)} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return i}function n9n(e,t){let n={type:`object`,additionalProperties:Y7(e.valueType._def,{...t,currentPath:[...t.currentPath,`additionalProperties`]})??t.allowedAdditionalProperties};if(e.keyType?._def.typeName===`ZodString`&&e.keyType._def.checks?.length){let{type:r,...i}=Q7n(e.keyType._def,t);return{...n,propertyNames:i}}if(e.keyType?._def.typeName===`ZodEnum`)return{...n,propertyNames:{enum:e.keyType._def.values}};if(e.keyType?._def.typeName===`ZodBranded`&&e.keyType._def.type._def.typeName===`ZodString`&&e.keyType._def.type._def.checks?.length){let{type:r,...i}=G7n(e.keyType._def,t);return{...n,propertyNames:i}}return n}function r9n(e,t){return t.mapStrategy===`record`?n9n(e,t):{type:`array`,maxItems:125,items:{type:`array`,items:[Y7(e.keyType._def,{...t,currentPath:[...t.currentPath,`items`,`items`,`0`]})||K7(),Y7(e.valueType._def,{...t,currentPath:[...t.currentPath,`items`,`items`,`1`]})||K7()],minItems:2,maxItems:2}}}function i9n(e){let t=e.values,n=Object.keys(e.values).filter(e=>typeof t[t[e]]!=`number`).map(e=>t[e]),r=Array.from(new Set(n.map(e=>typeof e)));return{type:r.length===1?r[0]===`string`?`string`:`number`:[`string`,`number`],enum:n}}function a9n(){return{not:K7()}}function o9n(){return{type:`null`}}function s9n(e,t){let n=e.options instanceof Map?Array.from(e.options.values()):e.options;if(n.every(e=>e._def.typeName in t9&&(!e._def.checks||!e._def.checks.length))){let e=n.reduce((e,t)=>{let n=t9[t._def.typeName];return n&&!e.includes(n)?[...e,n]:e},[]);return{type:e.length>1?e:e[0]}}if(n.every(e=>e._def.typeName===`ZodLiteral`&&!e.description)){let e=n.reduce((e,t)=>{let n=typeof t._def.value;switch(n){case`string`:case`number`:case`boolean`:return[...e,n];case`bigint`:return[...e,`integer`];case`object`:if(t._def.value===null)return[...e,`null`];default:return e}},[]);if(e.length===n.length){let t=e.filter((e,t,n)=>n.indexOf(e)===t);return{type:t.length>1?t:t[0],enum:n.reduce((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value],[])}}}else if(n.every(e=>e._def.typeName===`ZodEnum`))return{type:`string`,enum:n.reduce((e,t)=>[...e,...t._def.values.filter(t=>!e.includes(t))],[])};return G9n(e,t)}function c9n(e,t){if([`ZodString`,`ZodNumber`,`ZodBigInt`,`ZodBoolean`,`ZodNull`].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return{type:[t9[e.innerType._def.typeName],`null`]};let n=Y7(e.innerType._def,{...t,currentPath:[...t.currentPath,`anyOf`,`0`]});return n&&{anyOf:[n,{type:`null`}]}}function l9n(e){let t={type:`number`};if(!e.checks)return t;for(let n of e.checks)switch(n.kind){case`int`:t.type=`integer`;break;case`min`:n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value;break;case`max`:n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value;break;case`multipleOf`:t.multipleOf=n.value}return t}function u9n(e,t){let n={type:`object`,properties:{}},r=[],i=e.shape();for(let e in i){let a=i[e];if(a===void 0||a._def===void 0)continue;let o=f9n(a),s=Y7(a._def,{...t,currentPath:[...t.currentPath,`properties`,e],propertyPath:[...t.currentPath,`properties`,e]});s!==void 0&&(n.properties[e]=s,o||r.push(e))}r.length&&(n.required=r);let a=d9n(e,t);return a!==void 0&&(n.additionalProperties=a),n}function d9n(e,t){if(e.catchall._def.typeName!==`ZodNever`)return Y7(e.catchall._def,{...t,currentPath:[...t.currentPath,`additionalProperties`]});switch(e.unknownKeys){case`passthrough`:return t.allowedAdditionalProperties;case`strict`:return t.rejectedAdditionalProperties;case`strip`:return t.removeAdditionalStrategy===`strict`?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}function f9n(e){try{return e.isOptional()}catch{return!0}}function p9n(e,t){return Y7(e.type._def,t)}function m9n(e,t){let n={type:`array`,uniqueItems:!0,items:Y7(e.valueType._def,{...t,currentPath:[...t.currentPath,`items`]})};return e.minSize&&(n.minItems=e.minSize.value),e.maxSize&&(n.maxItems=e.maxSize.value),n}function h9n(e,t){return e.rest?{type:`array`,minItems:e.items.length,items:e.items.map((e,n)=>Y7(e._def,{...t,currentPath:[...t.currentPath,`items`,`${n}`]})).reduce((e,t)=>t===void 0?e:[...e,t],[]),additionalItems:Y7(e.rest._def,{...t,currentPath:[...t.currentPath,`additionalItems`]})}:{type:`array`,minItems:e.items.length,maxItems:e.items.length,items:e.items.map((e,n)=>Y7(e._def,{...t,currentPath:[...t.currentPath,`items`,`${n}`]})).reduce((e,t)=>t===void 0?e:[...e,t],[])}}function g9n(){return{not:K7()}}function _9n(){return K7()}function Y7(e,t,n=!1){let r=t.seen.get(e);if(t.override){let i=t.override?.(e,t,r,n);if(i!==R9n)return i}if(r&&!n){let e=Z9n(r,t);if(e!==void 0)return e}let i={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,i);let a=Y9n(e,e.typeName,t),o=typeof a==`function`?Y7(a(),t):a;if(o&&Q9n(e,t,o),t.postProcess){let n=t.postProcess(o,e,t);return i.jsonSchema=o,n}return i.jsonSchema=o,o}function v9n(e){let t;return()=>(t??=e(),t)}function X7(e,{validate:t}={}){return{[n9]:!0,_type:void 0,get jsonSchema(){return typeof e==`function`&&(e=e()),e},validate:t}}function y9n(e){return typeof e==`object`&&!!e&&n9 in e&&e[n9]===!0&&`jsonSchema`in e&&`validate`in e}function b9n(e){return e==null?X7({type:`object`,properties:{},additionalProperties:!1}):y9n(e)?e:`~standard`in e?e[`~standard`].vendor===`zod`?E9n(e):x9n(e):e()}function x9n(e){return X7(()=>{if(!S9n(e))throw Error(`Standard schema vendor '${e[`~standard`].vendor}' does not support JSON Schema conversion.`);return V7n(e[`~standard`].jsonSchema.input({target:`draft-07`}))},{validate:async t=>{let n=await e[`~standard`].validate(t);return`value`in n?{success:!0,value:n.value}:{success:!1,error:new V7({value:t,cause:n.issues})}}})}function S9n(e){return e[`~standard`].jsonSchema!=null}function C9n(e,t){let n=t?.useReferences??!1;return X7(()=>eer(e,{$refStrategy:n?`root`:`none`}),{validate:async t=>{let n=await e.safeParseAsync(t);return n.success?{success:!0,value:n.data}:{success:!1,error:n.error}}})}function w9n(e,t){let n=t?.useReferences??!1;return X7(()=>V7n(G7t(e,{target:`draft-7`,io:`input`,reused:n?`ref`:`inline`})),{validate:async t=>{let n=await G$(e,t);return n.success?{success:!0,value:n.data}:{success:!1,error:n.error}}})}function T9n(e){return`_zod`in e}function E9n(e,t){return T9n(e)?w9n(e,t):C9n(e,t)}async function D9n({value:e,schema:t,context:n}){let r=await O9n({value:e,schema:t,context:n});if(!r.success)throw V7.wrap({value:e,cause:r.error,context:n});return r.value}async function O9n({value:e,schema:t,context:n}){let r=b9n(t);try{if(r.validate==null)return{success:!0,value:e,rawValue:e};let t=await r.validate(e);return t.success?{success:!0,value:t.value,rawValue:e}:{success:!1,error:V7.wrap({value:e,cause:t.error,context:n}),rawValue:e}}catch(t){return{success:!1,error:V7.wrap({value:e,cause:t,context:n}),rawValue:e}}}async function k9n({text:e,schema:t}){try{let n=B7n(e);return t==null?{success:!0,value:n,rawValue:n}:await O9n({value:n,schema:t})}catch(t){return{success:!1,error:_7n.isInstance(t)?t:new _7n({text:e,cause:t}),rawValue:void 0}}}function A9n({stream:e,schema:t}){return e.pipeThrough(new TextDecoderStream).pipeThrough(new F7n).pipeThrough(new TransformStream({async transform({data:e},n){e!==`[DONE]`&&n.enqueue(await k9n({text:e,schema:t}))}}))}async function Z7(e){return typeof e==`function`&&(e=e()),e}var j9n,M9n,N9n,P9n,Q7,F9n,I9n,L9n,R9n,z9n,B9n,V9n,H9n,U9n,$7,e9,W9n,t9,G9n,K9n,q9n,J9n,Y9n,X9n,Z9n,Q9n,$9n,eer,n9,ter=s((()=>{T7n(),D7n(),B$(),I7n(),new TextDecoder,{btoa:j9n,atob:M9n}=globalThis,N9n=[{mediaType:`audio/aac`,bytesPrefix:[255,240]},{mediaType:`audio/aac`,bytesPrefix:[255,241]},{mediaType:`audio/aac`,bytesPrefix:[255,248]},{mediaType:`audio/aac`,bytesPrefix:[255,249]},{mediaType:`audio/mpeg`,bytesPrefix:[255,251]},{mediaType:`audio/mpeg`,bytesPrefix:[255,250]},{mediaType:`audio/mpeg`,bytesPrefix:[255,243]},{mediaType:`audio/mpeg`,bytesPrefix:[255,242]},{mediaType:`audio/mpeg`,bytesPrefix:[255,227]},{mediaType:`audio/mpeg`,bytesPrefix:[255,226]},{mediaType:`audio/wav`,bytesPrefix:[82,73,70,70,null,null,null,null,87,65,86,69]},{mediaType:`audio/ogg`,bytesPrefix:[79,103,103,83]},{mediaType:`audio/flac`,bytesPrefix:[102,76,97,67]},{mediaType:`audio/aac`,bytesPrefix:[64,21,0,0]},{mediaType:`audio/webm`,bytesPrefix:[26,69,223,163]}],[...N9n],P9n=`AI_DownloadError`,`${P9n}`,Q7=({prefix:e,size:t=16,alphabet:n=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,separator:r=`-`}={})=>{let i=()=>{let e=n.length,r=Array(t);for(let i=0;i<t;i++)r[i]=n[Math.random()*e|0];return r.join(``)};if(e==null)return i;if(n.includes(r))throw new p7n({argument:`separator`,message:`The separator "${r}" must not be part of the alphabet "${n}".`});return()=>`${e}${r}${i()}`},F9n=Q7(),I9n=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,L9n=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,R9n=Symbol(`Let zodToJsonSchema decide on which parser to use`),z9n={name:void 0,$refStrategy:`root`,basePath:[`#`],effectStrategy:`input`,pipeStrategy:`all`,dateStrategy:`format:date-time`,mapStrategy:`entries`,removeAdditionalStrategy:`passthrough`,allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:`definitions`,strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:`escape`,applyRegexFlags:!1,emailStrategy:`format:email`,base64Strategy:`contentEncoding:base64`,nameStrategy:`ref`},B9n=e=>typeof e==`string`?{...z9n,name:e}:{...z9n,...e},V9n=(e,t)=>Y7(e.innerType._def,t),H9n=e=>{let t={type:`integer`,format:`unix-time`};for(let n of e.checks)switch(n.kind){case`min`:t.minimum=n.value;break;case`max`:t.maximum=n.value}return t},U9n=e=>`type`in e&&e.type===`string`?!1:`allOf`in e,$7=void 0,e9={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>($7===void 0&&($7=RegExp(`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,`u`)),$7),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/},W9n=new Set(`ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789`),t9={ZodString:`string`,ZodNumber:`number`,ZodBigInt:`integer`,ZodBoolean:`boolean`,ZodNull:`null`},G9n=(e,t)=>{let n=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((e,n)=>Y7(e._def,{...t,currentPath:[...t.currentPath,`anyOf`,`${n}`]})).filter(e=>!!e&&(!t.strictUnions||typeof e==`object`&&Object.keys(e).length>0));return n.length?{anyOf:n}:void 0},K9n=(e,t)=>{if(t.currentPath.toString()===t.propertyPath?.toString())return Y7(e.innerType._def,t);let n=Y7(e.innerType._def,{...t,currentPath:[...t.currentPath,`anyOf`,`1`]});return n?{anyOf:[{not:K7()},n]}:K7()},q9n=(e,t)=>{if(t.pipeStrategy===`input`)return Y7(e.in._def,t);if(t.pipeStrategy===`output`)return Y7(e.out._def,t);let n=Y7(e.in._def,{...t,currentPath:[...t.currentPath,`allOf`,`0`]});return{allOf:[n,Y7(e.out._def,{...t,currentPath:[...t.currentPath,`allOf`,n?`1`:`0`]})].filter(e=>e!==void 0)}},J9n=(e,t)=>Y7(e.innerType._def,t),Y9n=(e,t,n)=>{switch(t){case`ZodString`:return Q7n(e,n);case`ZodNumber`:return l9n(e);case`ZodObject`:return u9n(e,n);case`ZodBigInt`:return U7n(e);case`ZodBoolean`:return W7n();case`ZodDate`:return K7n(e,n);case`ZodUndefined`:return g9n();case`ZodNull`:return o9n();case`ZodArray`:return H7n(e,n);case`ZodUnion`:case`ZodDiscriminatedUnion`:return s9n(e,n);case`ZodIntersection`:return X7n(e,n);case`ZodTuple`:return h9n(e,n);case`ZodRecord`:return n9n(e,n);case`ZodLiteral`:return Z7n(e);case`ZodEnum`:return Y7n(e);case`ZodNativeEnum`:return i9n(e);case`ZodNullable`:return c9n(e,n);case`ZodOptional`:return K9n(e,n);case`ZodMap`:return r9n(e,n);case`ZodSet`:return m9n(e,n);case`ZodLazy`:return()=>e.getter()._def;case`ZodPromise`:return p9n(e,n);case`ZodNaN`:case`ZodNever`:return a9n();case`ZodEffects`:return J7n(e,n);case`ZodAny`:return K7();case`ZodUnknown`:return _9n();case`ZodDefault`:return q7n(e,n);case`ZodBranded`:return G7n(e,n);case`ZodReadonly`:return J9n(e,n);case`ZodCatch`:return V9n(e,n);case`ZodPipeline`:return q9n(e,n);case`ZodFunction`:case`ZodVoid`:case`ZodSymbol`:return;default:return(e=>void 0)(t)}},X9n=(e,t)=>{let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];n++);return[(e.length-n).toString(),...t.slice(n)].join(`/`)},Z9n=(e,t)=>{switch(t.$refStrategy){case`root`:return{$ref:e.path.join(`/`)};case`relative`:return{$ref:X9n(t.currentPath,e.path)};case`none`:case`seen`:return e.path.length<t.currentPath.length&&e.path.every((e,n)=>t.currentPath[n]===e)?(console.warn(`Recursive reference detected at ${t.currentPath.join(`/`)}! Defaulting to any`),K7()):t.$refStrategy===`seen`?K7():void 0}},Q9n=(e,t,n)=>(e.description&&(n.description=e.description),n),$9n=e=>{let t=B9n(e),n=t.name===void 0?t.basePath:[...t.basePath,t.definitionPath,t.name];return{...t,currentPath:n,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([e,n])=>[n._def,{def:n._def,path:[...t.basePath,t.definitionPath,e],jsonSchema:void 0}]))}},eer=(e,t)=>{let n=$9n(t),r=typeof t==`object`&&t.definitions?Object.entries(t.definitions).reduce((e,[t,r])=>({...e,[t]:Y7(r._def,{...n,currentPath:[...n.basePath,n.definitionPath,t]},!0)??K7()}),{}):void 0,i=typeof t==`string`?t:t?.nameStrategy===`title`?void 0:t?.name,a=Y7(e._def,i===void 0?n:{...n,currentPath:[...n.basePath,n.definitionPath,i]},!1)??K7(),o=typeof t==`object`&&t.name!==void 0&&t.nameStrategy===`title`?t.name:void 0;o!==void 0&&(a.title=o);let s=i===void 0?r?{...a,[n.definitionPath]:r}:a:{$ref:[...n.$refStrategy===`relative`?[]:n.basePath,n.definitionPath,i].join(`/`),[n.definitionPath]:{...r,[i]:a}};return s.$schema=`http://json-schema.org/draft-07/schema#`,s},n9=Symbol.for(`vercel.ai.schema`),new TextDecoder}));function ner(e,t){if(e===void 0&&t===void 0)return;if(e===void 0)return t;if(t===void 0)return e;let n={...e};for(let r in t)if(r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&Object.prototype.hasOwnProperty.call(t,r)){let i=t[r];if(i===void 0)continue;let a=r in e?e[r]:void 0,o=typeof i==`object`&&!!i&&!Array.isArray(i)&&!(i instanceof Date)&&!(i instanceof RegExp),s=typeof a==`object`&&!!a&&!Array.isArray(a)&&!(a instanceof Date)&&!(a instanceof RegExp);n[r]=o&&s?ner(a,i):i}return n}function rer(e){let t=[`ROOT`],n=-1,r=null,i=0;function a(e){return e>=`0`&&e<=`9`||e>=`A`&&e<=`F`||e>=`a`&&e<=`f`}function o(e,i,a){switch(e){case`"`:n=i,t.pop(),t.push(a),t.push(`INSIDE_STRING`);break;case`f`:case`t`:case`n`:n=i,r=i,t.pop(),t.push(a),t.push(`INSIDE_LITERAL`);break;case`-`:t.pop(),t.push(a),t.push(`INSIDE_NUMBER`);break;case`0`:case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:n=i,t.pop(),t.push(a),t.push(`INSIDE_NUMBER`);break;case`{`:n=i,t.pop(),t.push(a),t.push(`INSIDE_OBJECT_START`);break;case`[`:n=i,t.pop(),t.push(a),t.push(`INSIDE_ARRAY_START`)}}function s(e,r){switch(e){case`,`:t.pop(),t.push(`INSIDE_OBJECT_AFTER_COMMA`);break;case`}`:n=r,t.pop()}}function c(e,r){switch(e){case`,`:t.pop(),t.push(`INSIDE_ARRAY_AFTER_COMMA`);break;case`]`:n=r,t.pop()}}for(let l=0;l<e.length;l++){let u=e[l];switch(t[t.length-1]){case`ROOT`:o(u,l,`FINISH`);break;case`INSIDE_OBJECT_START`:switch(u){case`"`:t.pop(),t.push(`INSIDE_OBJECT_KEY`);break;case`}`:n=l,t.pop()}break;case`INSIDE_OBJECT_AFTER_COMMA`:u===`"`&&(t.pop(),t.push(`INSIDE_OBJECT_KEY`));break;case`INSIDE_OBJECT_KEY`:u===`"`&&(t.pop(),t.push(`INSIDE_OBJECT_AFTER_KEY`));break;case`INSIDE_OBJECT_AFTER_KEY`:u===`:`&&(t.pop(),t.push(`INSIDE_OBJECT_BEFORE_VALUE`));break;case`INSIDE_OBJECT_BEFORE_VALUE`:o(u,l,`INSIDE_OBJECT_AFTER_VALUE`);break;case`INSIDE_OBJECT_AFTER_VALUE`:s(u,l);break;case`INSIDE_STRING`:switch(u){case`"`:t.pop(),n=l;break;case`\\`:t.push(`INSIDE_STRING_ESCAPE`);break;default:n=l}break;case`INSIDE_ARRAY_START`:switch(u){case`]`:n=l,t.pop();break;default:n=l,o(u,l,`INSIDE_ARRAY_AFTER_VALUE`)}break;case`INSIDE_ARRAY_AFTER_VALUE`:switch(u){case`,`:t.pop(),t.push(`INSIDE_ARRAY_AFTER_COMMA`);break;case`]`:n=l,t.pop();break;default:n=l}break;case`INSIDE_ARRAY_AFTER_COMMA`:o(u,l,`INSIDE_ARRAY_AFTER_VALUE`);break;case`INSIDE_STRING_ESCAPE`:t.pop(),u===`u`?(i=0,t.push(`INSIDE_STRING_UNICODE_ESCAPE`)):n=l;break;case`INSIDE_STRING_UNICODE_ESCAPE`:a(u)&&(i++,i===4&&(t.pop(),n=l));break;case`INSIDE_NUMBER`:switch(u){case`0`:case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:n=l;break;case`e`:case`E`:case`-`:case`.`:break;case`,`:t.pop(),t[t.length-1]===`INSIDE_ARRAY_AFTER_VALUE`&&c(u,l),t[t.length-1]===`INSIDE_OBJECT_AFTER_VALUE`&&s(u,l);break;case`}`:t.pop(),t[t.length-1]===`INSIDE_OBJECT_AFTER_VALUE`&&s(u,l);break;case`]`:t.pop(),t[t.length-1]===`INSIDE_ARRAY_AFTER_VALUE`&&c(u,l);break;default:t.pop()}break;case`INSIDE_LITERAL`:{let i=e.substring(r,l+1);!`false`.startsWith(i)&&!`true`.startsWith(i)&&!`null`.startsWith(i)?(t.pop(),t[t.length-1]===`INSIDE_OBJECT_AFTER_VALUE`?s(u,l):t[t.length-1]===`INSIDE_ARRAY_AFTER_VALUE`&&c(u,l)):n=l;break}}}let l=e.slice(0,n+1);for(let n=t.length-1;n>=0;n--)switch(t[n]){case`INSIDE_STRING`:l+=`"`;break;case`INSIDE_OBJECT_KEY`:case`INSIDE_OBJECT_AFTER_KEY`:case`INSIDE_OBJECT_AFTER_COMMA`:case`INSIDE_OBJECT_START`:case`INSIDE_OBJECT_BEFORE_VALUE`:case`INSIDE_OBJECT_AFTER_VALUE`:l+=`}`;break;case`INSIDE_ARRAY_START`:case`INSIDE_ARRAY_AFTER_COMMA`:case`INSIDE_ARRAY_AFTER_VALUE`:l+=`]`;break;case`INSIDE_LITERAL`:{let t=e.substring(r,e.length);`true`.startsWith(t)?l+=`true`.slice(t.length):`false`.startsWith(t)?l+=`false`.slice(t.length):`null`.startsWith(t)&&(l+=`null`.slice(t.length))}}return l}async function ier(e){if(e===void 0)return{value:void 0,state:`undefined-input`};let t=await k9n({text:e});return t.success?{value:t.value,state:`successful-parse`}:(t=await k9n({text:rer(e)}),t.success?{value:t.value,state:`repaired-parse`}:{value:void 0,state:`failed-parse`})}function aer(e){return e.type.startsWith(`data-`)}function r9(){return Object.create(null)}function i9(e){return e.type.startsWith(`tool-`)}function oer(e){return e.type===`dynamic-tool`}function a9(e){return i9(e)||oer(e)}function ser(e){return e.type.split(`-`).slice(1).join(`-`)}function cer({lastMessage:e,messageId:t}){let n=e?.role===`assistant`?e:{id:t,metadata:void 0,role:`assistant`,parts:[]},r=r9(),i=n.parts.findLastIndex(e=>e.type===`step-start`),a=0;for(let e of n.parts.slice(i+1)){if(!a9(e))continue;let t=a;i9(e)&&a++,e.state===`input-streaming`&&(r[e.toolCallId]={text:e.rawInput??``,inputEncoding:e.inputEncoding,index:t,toolName:e.type===`dynamic-tool`?e.toolName:ser(e),dynamic:e.type===`dynamic-tool`,title:e.title,toolMetadata:e.toolMetadata})}return{message:n,activeTextParts:r9(),activeReasoningParts:r9(),partialToolCalls:r}}function ler({stream:e,messageMetadataSchema:t,dataPartSchemas:n,runUpdateMessageJob:r,onError:i,onToolCall:a,onData:o,resetStateOnMessageIdChange:s=!1,resetStateOnFirstMessageStart:c=!1}){let l=!0;return e.pipeThrough(new TransformStream({async transform(e,u){await r(async({state:r,write:d})=>{function f(){let e=r.message.parts,t=e.length-1;for(;t>=0&&e[t].type!==`step-start`;)t--;return e.slice(t+1)}function p(){return f().filter(a9)}function m(e){let t=p().find(t=>t.toolCallId===e);if(t==null){let n=r.message.parts;for(let r=n.length-1;r>=0;r--){let i=n[r];if(a9(i)&&i.toolCallId===e){t=i;break}}}if(t==null)throw new s9({chunkType:`tool-invocation`,chunkId:e,message:`No tool invocation found for tool call ID "${e}".`});return t}function h(e){let t=r.message.parts.filter(a9).find(t=>t.approval?.id===e);if(t==null)throw new s9({chunkType:`tool-approval-response`,chunkId:e,message:`No tool invocation found for approval ID "${e}".`});return t}function g(e,t){let n=t??f().find(t=>i9(t)&&t.toolCallId===e.toolCallId),i=e,a=n;if(n!=null){n.state=e.state,a.input=i.input,a.output=i.output,a.errorText=i.errorText,a.rawInput=i.rawInput,i.inputEncoding==null?delete a.inputEncoding:a.inputEncoding=i.inputEncoding,a.preliminary=i.preliminary,e.title!==void 0&&(a.title=e.title),e.toolMetadata!==void 0&&(a.toolMetadata=e.toolMetadata),a.providerExecuted=i.providerExecuted??n.providerExecuted;let t=i.providerMetadata;if(t!=null){if(e.state===`output-available`||e.state===`output-error`){let e=n;e.resultProviderMetadata=t}else n.callProviderMetadata=t}}else r.message.parts.push({type:`tool-${e.toolName}`,toolCallId:e.toolCallId,state:e.state,title:e.title,...e.toolMetadata===void 0?{}:{toolMetadata:e.toolMetadata},input:i.input,...i.inputEncoding==null?{}:{inputEncoding:i.inputEncoding},output:i.output,rawInput:i.rawInput,errorText:i.errorText,providerExecuted:i.providerExecuted,preliminary:i.preliminary,...i.providerMetadata!=null&&(e.state===`output-available`||e.state===`output-error`)?{resultProviderMetadata:i.providerMetadata}:{},...i.providerMetadata!=null&&e.state!==`output-available`&&e.state!==`output-error`?{callProviderMetadata:i.providerMetadata}:{}})}function _(e,t){let n=t??f().find(t=>t.type===`dynamic-tool`&&t.toolCallId===e.toolCallId),i=e,a=n;if(n!=null){n.state=e.state,a.toolName=e.toolName,a.input=i.input,a.output=i.output,a.errorText=i.errorText,a.rawInput=i.rawInput,i.inputEncoding==null?delete a.inputEncoding:a.inputEncoding=i.inputEncoding,a.preliminary=i.preliminary,e.title!==void 0&&(a.title=e.title),e.toolMetadata!==void 0&&(a.toolMetadata=e.toolMetadata),a.providerExecuted=i.providerExecuted??n.providerExecuted;let t=i.providerMetadata;if(t!=null){if(e.state===`output-available`||e.state===`output-error`){let e=n;e.resultProviderMetadata=t}else n.callProviderMetadata=t}}else r.message.parts.push({type:`dynamic-tool`,toolName:e.toolName,toolCallId:e.toolCallId,state:e.state,input:i.input,...i.inputEncoding==null?{}:{inputEncoding:i.inputEncoding},output:i.output,errorText:i.errorText,preliminary:i.preliminary,providerExecuted:i.providerExecuted,title:e.title,...e.toolMetadata===void 0?{}:{toolMetadata:e.toolMetadata},...i.providerMetadata!=null&&(e.state===`output-available`||e.state===`output-error`)?{resultProviderMetadata:i.providerMetadata}:{},...i.providerMetadata!=null&&e.state!==`output-available`&&e.state!==`output-error`?{callProviderMetadata:i.providerMetadata}:{}})}async function v(e){if(e!=null){let n=r.message.metadata==null?e:ner(r.message.metadata,e);t!=null&&await D9n({value:n,schema:t,context:{field:`message.metadata`,entityId:r.message.id}}),r.message.metadata=n}}switch(e.type){case`text-start`:{let t={type:`text`,text:``,providerMetadata:e.providerMetadata,state:`streaming`};r.activeTextParts[e.id]=t,r.message.parts.push(t),d();break}case`text-delta`:{let t=r.activeTextParts[e.id];if(t==null)throw new s9({chunkType:`text-delta`,chunkId:e.id,message:`Received text-delta for missing text part with ID "${e.id}". Ensure a "text-start" chunk is sent before any "text-delta" chunks.`});t.text+=e.delta,t.providerMetadata=e.providerMetadata??t.providerMetadata,d();break}case`text-end`:{let t=r.activeTextParts[e.id];if(t==null)throw new s9({chunkType:`text-end`,chunkId:e.id,message:`Received text-end for missing text part with ID "${e.id}". Ensure a "text-start" chunk is sent before any "text-end" chunks.`});t.state=`done`,e.citations!=null&&(t.citations=e.citations),t.providerMetadata=e.providerMetadata??t.providerMetadata,delete r.activeTextParts[e.id],d();break}case`custom`:{let t={type:`custom`,kind:e.kind,providerMetadata:e.providerMetadata};r.message.parts.push(t),d();break}case`reasoning-start`:{let t={type:`reasoning`,id:e.id,text:``,providerMetadata:e.providerMetadata,state:`streaming`};r.activeReasoningParts[e.id]=t,r.message.parts.push(t),d();break}case`reasoning-delta`:{let t=r.activeReasoningParts[e.id];if(t==null)throw new s9({chunkType:`reasoning-delta`,chunkId:e.id,message:`Received reasoning-delta for missing reasoning part with ID "${e.id}". Ensure a "reasoning-start" chunk is sent before any "reasoning-delta" chunks.`});t.text+=e.delta,t.providerMetadata=e.providerMetadata??t.providerMetadata,d();break}case`reasoning-end`:{let t=r.activeReasoningParts[e.id];if(t==null)throw new s9({chunkType:`reasoning-end`,chunkId:e.id,message:`Received reasoning-end for missing reasoning part with ID "${e.id}". Ensure a "reasoning-start" chunk is sent before any "reasoning-end" chunks.`});t.providerMetadata=e.providerMetadata??t.providerMetadata,t.state=`done`,delete r.activeReasoningParts[e.id],d();break}case`file`:case`reasoning-file`:r.message.parts.push({type:e.type,mediaType:e.mediaType,url:e.url,...e.providerMetadata==null?{}:{providerMetadata:e.providerMetadata}}),d();break;case`source-url`:r.message.parts.push({type:`source-url`,sourceId:e.sourceId,url:e.url,title:e.title,providerMetadata:e.providerMetadata}),d();break;case`source-document`:r.message.parts.push({type:`source-document`,sourceId:e.sourceId,mediaType:e.mediaType,title:e.title,filename:e.filename,providerMetadata:e.providerMetadata}),d();break;case`tool-input-start`:{let t=f().filter(i9);r.partialToolCalls[e.toolCallId]={text:``,inputEncoding:e.inputEncoding,toolName:e.toolName,index:t.length,dynamic:e.dynamic,title:e.title,toolMetadata:e.toolMetadata},e.dynamic?_({toolCallId:e.toolCallId,toolName:e.toolName,state:`input-streaming`,inputEncoding:e.inputEncoding,input:void 0,providerExecuted:e.providerExecuted,title:e.title,toolMetadata:e.toolMetadata,providerMetadata:e.providerMetadata}):g({toolCallId:e.toolCallId,toolName:e.toolName,state:`input-streaming`,inputEncoding:e.inputEncoding,input:void 0,providerExecuted:e.providerExecuted,title:e.title,toolMetadata:e.toolMetadata,providerMetadata:e.providerMetadata}),d();break}case`tool-input-delta`:{let t=r.partialToolCalls[e.toolCallId];if(t==null)throw new s9({chunkType:`tool-input-delta`,chunkId:e.toolCallId,message:`Received tool-input-delta for missing tool call with ID "${e.toolCallId}". Ensure a "tool-input-start" chunk is sent before any "tool-input-delta" chunks.`});t.text+=e.inputTextDelta;let n=t.inputEncoding===`text`?t.text:(await ier(t.text)).value;t.dynamic?_({toolCallId:e.toolCallId,toolName:t.toolName,state:`input-streaming`,inputEncoding:t.inputEncoding,input:n,rawInput:t.text,title:t.title,toolMetadata:t.toolMetadata}):g({toolCallId:e.toolCallId,toolName:t.toolName,state:`input-streaming`,inputEncoding:t.inputEncoding,input:n,rawInput:t.text,title:t.title,toolMetadata:t.toolMetadata}),d();break}case`tool-input-available`:e.dynamic?_({toolCallId:e.toolCallId,toolName:e.toolName,state:`input-available`,input:e.input,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,title:e.title,toolMetadata:e.toolMetadata}):g({toolCallId:e.toolCallId,toolName:e.toolName,state:`input-available`,input:e.input,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,title:e.title,toolMetadata:e.toolMetadata}),d(),a&&!e.providerExecuted&&await a({toolCall:e});break;case`tool-input-error`:{let t=f().filter(a9).find(t=>t.toolCallId===e.toolCallId);(t==null?e.dynamic:t.type===`dynamic-tool`)?_({toolCallId:e.toolCallId,toolName:e.toolName,state:`output-error`,input:e.input,errorText:e.errorText,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,toolMetadata:e.toolMetadata}):g({toolCallId:e.toolCallId,toolName:e.toolName,state:`output-error`,input:e.input,errorText:e.errorText,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,toolMetadata:e.toolMetadata}),d();break}case`tool-approval-request`:{let t=m(e.toolCallId);t.state=`approval-requested`,t.approval={id:e.approvalId,...e.approvalDescriptor==null?{}:{descriptor:e.approvalDescriptor},...Object.prototype.hasOwnProperty.call(e,`inputSchemaInput`)?{inputSchemaInput:e.inputSchemaInput}:{},...e.reason==null?{}:{requestReason:e.reason},...e.isAutomatic===!0?{isAutomatic:!0}:{},...e.signature==null?{}:{signature:e.signature}},d();break}case`tool-approval-response`:{let t=h(e.approvalId),n=t.approval==null?{id:e.approvalId}:t.approval;t.state=`approval-responded`,t.approval={...n,id:e.approvalId,approved:e.approved,...e.reason==null?{}:{reason:e.reason}},e.providerExecuted!=null&&(t.providerExecuted=e.providerExecuted),e.providerMetadata!=null&&(t.callProviderMetadata=e.providerMetadata),d();break}case`tool-output-denied`:{let t=m(e.toolCallId);t.state=`output-denied`,d();break}case`tool-output-available`:{let t=m(e.toolCallId);t.type===`dynamic-tool`?_({toolCallId:e.toolCallId,toolName:t.toolName,state:`output-available`,input:t.input,output:e.output,preliminary:e.preliminary,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,title:t.title,toolMetadata:e.toolMetadata??t.toolMetadata},t):g({toolCallId:e.toolCallId,toolName:ser(t),state:`output-available`,input:t.input,output:e.output,providerExecuted:e.providerExecuted,preliminary:e.preliminary,providerMetadata:e.providerMetadata,title:t.title,toolMetadata:e.toolMetadata??t.toolMetadata},t),d();break}case`tool-output-error`:{let t=m(e.toolCallId);t.type===`dynamic-tool`?_({toolCallId:e.toolCallId,toolName:t.toolName,state:`output-error`,input:t.input,errorText:e.errorText,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,title:t.title,toolMetadata:e.toolMetadata??t.toolMetadata},t):g({toolCallId:e.toolCallId,toolName:ser(t),state:`output-error`,input:t.input,rawInput:t.rawInput,errorText:e.errorText,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,title:t.title,toolMetadata:e.toolMetadata??t.toolMetadata},t),d();break}case`start-step`:r.message.parts.push({type:`step-start`});break;case`finish-step`:break;case`reset-step`:{let e=f();r.activeTextParts=r9(),r.activeReasoningParts=r9(),r.partialToolCalls=r9(),e.length>0&&(r.message.parts.splice(r.message.parts.length-e.length,e.length),d());break}case`start`:{let t=c&&l||s&&e.messageId!=null&&e.messageId!==r.message.id;l=!1,t&&Object.assign(r,cer({lastMessage:void 0,messageId:e.messageId??r.message.id}),{finishReason:void 0}),e.messageId!=null&&(r.message.id=e.messageId),await v(e.messageMetadata),(t||e.messageId!=null||e.messageMetadata!=null)&&d({updateStatus:!1});break}case`finish`:e.finishReason!=null&&(r.finishReason=e.finishReason),await v(e.messageMetadata),e.messageMetadata!=null&&d();break;case`message-metadata`:await v(e.messageMetadata),e.messageMetadata!=null&&d();break;case`error`:i?.(Error(e.errorText));break;default:if(aer(e)){if(n?.[e.type]!=null){let t=r.message.parts.findIndex(t=>`id`in t&&`data`in t&&t.id===e.id&&t.type===e.type),i=t>=0?t:r.message.parts.length;await D9n({value:e.data,schema:n[e.type],context:{field:`message.parts[${i}].data`,entityName:e.type,entityId:e.id}})}let t=e;if(t.transient){o?.(t);break}let i=t.id==null?void 0:r.message.parts.find(e=>t.type===e.type&&t.id===e.id);i==null?r.message.parts.push(t):i.data=t.data,o?.(t),d()}}u.enqueue(e)})}}))}async function uer({stream:e,onError:t,abortSignal:n}){let r=e.getReader(),i=()=>{r.cancel().catch(()=>{})};n?.aborted?i():n?.addEventListener(`abort`,i,{once:!0});try{for(;;){let{done:e}=await r.read();if(e)break}}catch(e){t?.(e)}finally{n?.removeEventListener(`abort`,i),r.releaseLock()}}function der(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}async function fer({response:e,url:t,fallbackMessage:n}){let r=await e.text();return new a7n({message:r||n,url:t,requestBodyValues:void 0,statusCode:e.status,responseBody:r})}async function per(e){if(e==null)return[];if(!globalThis.FileList||!(e instanceof globalThis.FileList))throw new w7n({functionality:`FileList`,message:`FileList is not supported in the current environment`});return Promise.all(Array.from(e).map(async e=>{let{name:t,type:n}=e;return{type:`file`,mediaType:n,filename:t,url:await new Promise((t,n)=>{let r=new FileReader;r.onload=e=>{t(e.target?.result)},r.onerror=e=>n(e),r.readAsDataURL(e)})}}))}function mer(e,t){let n=e.search(/[?#]/),r=n===-1?e:e.slice(0,n),i=n===-1?``:e.slice(n);return`${r.endsWith(`/`)&&t.startsWith(`/`)?r.slice(0,-1):r}${t}${i}`}function her({messages:e}){let t=e[e.length-1];if(!t||t.role!==`assistant`)return!1;let n=t.parts.reduce((e,t,n)=>t.type===`step-start`?n:e,-1),r=t.parts.slice(n+1),i=r.filter(a9).filter(e=>!e.providerExecuted),a=r.reduce((e,t,n)=>a9(t)&&!t.providerExecuted?n:e,-1);return i.length>0&&!r.slice(a+1).some(e=>e.type===`text`&&e.state!==`done`)&&i.every(e=>e.state===`output-available`&&e.preliminary!==!0||e.state===`output-error`)}var ger,_er,ver,o9,yer,ber,xer,s9,$,c9,l9,u9,d9,Ser,Cer,wer,Ter,Eer,Der,Oer,ker,Aer,jer,Mer,Ner,Per,Fer,Ier,Ler,Rer,zer,f9,Ber,Ver,Her,Uer,Wer,Ger,Ker=s((()=>{ter(),T7n(),D7n(),ger=`AI_InvalidArgumentError`,_er=`vercel.ai.error.${ger}`,ver=Symbol.for(_er),o9=class extends B7{constructor({parameter:e,value:t,message:n}){super({name:ger,message:`Invalid argument for parameter ${e}: ${n}`}),this[ver]=!0,this.parameter=e,this.value=t}static isInstance(e){return B7.hasMarker(e,_er)}},yer=`AI_UIMessageStreamError`,ber=`vercel.ai.error.${yer}`,xer=Symbol.for(ber),s9=class extends B7{constructor({chunkType:e,chunkId:t,message:n}){super({name:yer,message:n}),this[xer]=!0,this.chunkType=e,this.chunkId=t}static isInstance(e){return B7.hasMarker(e,ber)}},$={array:X$,boolean:J$,custom:U9t,discriminatedUnion:A9t,enum:e1,instanceof:K9t,lazy:H9t,literal:t1,looseObject:k9t,never:O9t,null:D9t,number:T9t,object:Z$,record:$$,string:q$,union:Q$,unknown:Y$},c9=$.lazy(()=>$.union([$.null(),$.string(),$.number(),$.boolean(),$.record($.string(),c9.optional()),$.array(c9)])),l9=$.record($.string(),$.record($.string(),c9.optional())),u9=$.union([$.string(),$.instanceof(Uint8Array),$.instanceof(ArrayBuffer),$.custom(L7n,{message:`Must be a Buffer`})]),d9=$.record($.string(),$.string()),Ser=$.object({type:$.literal(`text`),text:$.string(),providerOptions:l9.optional()}),Cer=$.object({type:$.literal(`image`),image:$.union([u9,$.instanceof(URL),d9]),mediaType:$.string().optional(),providerOptions:l9.optional()}),wer=$.discriminatedUnion(`type`,[$.object({type:$.literal(`data`),data:u9}),$.object({type:$.literal(`url`),url:$.instanceof(URL)}),$.object({type:$.literal(`reference`),reference:d9}),$.object({type:$.literal(`text`),text:$.string()})]),Ter=$.discriminatedUnion(`type`,[$.object({type:$.literal(`data`),data:u9}),$.object({type:$.literal(`url`),url:$.instanceof(URL)})]),Eer=$.object({type:$.literal(`file`),data:$.union([wer,u9,$.instanceof(URL),d9]),filename:$.string().optional(),mediaType:$.string(),providerOptions:l9.optional()}),Der=$.object({type:$.literal(`reasoning`),text:$.string(),providerOptions:l9.optional()}),Oer=$.object({type:$.literal(`custom`),kind:$.string().transform(e=>e),providerOptions:l9.optional()}),ker=$.object({type:$.literal(`reasoning-file`),data:$.union([Ter,u9,$.instanceof(URL)]),mediaType:$.string(),providerOptions:l9.optional()}),Aer=$.object({type:$.literal(`tool-call`),toolCallId:$.string(),toolName:$.string(),input:$.unknown(),providerOptions:l9.optional(),providerExecuted:$.boolean().optional()}),jer=$.discriminatedUnion(`type`,[$.object({type:$.literal(`text`),value:$.string(),providerOptions:l9.optional()}),$.object({type:$.literal(`json`),value:c9,providerOptions:l9.optional()}),$.object({type:$.literal(`execution-denied`),reason:$.string().optional(),providerOptions:l9.optional()}),$.object({type:$.literal(`error-text`),value:$.string(),providerOptions:l9.optional()}),$.object({type:$.literal(`error-json`),value:c9,providerOptions:l9.optional()}),$.object({type:$.literal(`content`),value:$.array($.union([$.object({type:$.literal(`text`),text:$.string(),providerOptions:l9.optional()}),$.object({type:$.literal(`file`),data:wer,mediaType:$.string(),filename:$.string().optional(),providerOptions:l9.optional()}),$.object({type:$.literal(`file-data`),data:$.string(),mediaType:$.string(),filename:$.string().optional(),providerOptions:l9.optional()}),$.object({type:$.literal(`file-url`),url:$.string(),mediaType:$.string().optional(),providerOptions:l9.optional()}),$.object({type:$.literal(`file-id`),fileId:$.union([$.string(),$.record($.string(),$.string())]),providerOptions:l9.optional()}),$.object({type:$.literal(`file-reference`),providerReference:$.record($.string(),$.string()),providerOptions:l9.optional()}),$.object({type:$.literal(`image-data`),data:$.string(),mediaType:$.string(),providerOptions:l9.optional()}),$.object({type:$.literal(`image-url`),url:$.string(),providerOptions:l9.optional()}),$.object({type:$.literal(`image-file-id`),fileId:$.union([$.string(),$.record($.string(),$.string())]),providerOptions:l9.optional()}),$.object({type:$.literal(`image-file-reference`),providerReference:$.record($.string(),$.string()),providerOptions:l9.optional()}),$.object({type:$.literal(`custom`),providerOptions:l9.optional()})]))})]),Mer=$.object({type:$.literal(`tool-result`),toolCallId:$.string(),toolName:$.string(),output:jer,providerOptions:l9.optional()}),Ner=$.object({type:$.literal(`tool-approval-request`),approvalId:$.string(),toolCallId:$.string(),reason:$.string().optional(),isAutomatic:$.boolean().optional(),signature:$.string().optional(),inputSchemaInput:$.unknown().optional()}),Per=$.object({type:$.literal(`tool-approval-response`),approvalId:$.string(),approved:$.boolean(),reason:$.string().optional()}),Fer=$.object({role:$.literal(`system`),content:$.string(),providerOptions:l9.optional()}),Ier=$.object({role:$.literal(`user`),content:$.union([$.string(),$.array($.union([Ser,Cer,Eer]))]),providerOptions:l9.optional()}),Ler=$.object({role:$.literal(`assistant`),content:$.union([$.string(),$.array($.union([Ser,Oer,Eer,Der,ker,Aer,Mer,Ner]))]),providerOptions:l9.optional()}),Rer=$.object({role:$.literal(`tool`),content:$.array($.union([Mer,Per])),providerOptions:l9.optional()}),$.union([Fer,Ier,Ler,Rer]),new TextEncoder,new TextEncoder,Q7({prefix:`aitxt`,size:24}),Q7({prefix:`call`,size:24}),TransformStream,zer=$.object({source:$.discriminatedUnion(`sourceType`,[$.object({type:$.literal(`source`),sourceType:$.literal(`url`),id:$.string(),url:$.string(),title:$.string().optional(),providerMetadata:l9.optional()}),$.object({type:$.literal(`source`),sourceType:$.literal(`document`),id:$.string(),mediaType:$.string(),title:$.string(),filename:$.string().optional(),providerMetadata:l9.optional()})]),startIndex:$.number().int().nonnegative().optional(),endIndex:$.number().int().nonnegative().optional(),citedText:$.string().optional()}),f9=$.record($.string(),c9.optional()),Ber=v9n(()=>E9n($.union([$.looseObject({type:$.literal(`text-start`),id:$.string(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`text-delta`),id:$.string(),delta:$.string(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`text-end`),id:$.string(),citations:$.array(zer).optional(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`error`),errorText:$.string()}),$.looseObject({type:$.literal(`tool-input-start`),toolCallId:$.string(),toolName:$.string(),inputEncoding:$.enum([`json`,`text`]).optional(),providerExecuted:$.boolean().optional(),providerMetadata:l9.optional(),toolMetadata:f9.optional(),dynamic:$.boolean().optional(),title:$.string().optional()}),$.looseObject({type:$.literal(`tool-input-delta`),toolCallId:$.string(),inputTextDelta:$.string()}),$.looseObject({type:$.literal(`tool-input-available`),toolCallId:$.string(),toolName:$.string(),input:$.unknown(),providerExecuted:$.boolean().optional(),providerMetadata:l9.optional(),toolMetadata:f9.optional(),dynamic:$.boolean().optional(),title:$.string().optional()}),$.looseObject({type:$.literal(`tool-input-error`),toolCallId:$.string(),toolName:$.string(),input:$.unknown(),providerExecuted:$.boolean().optional(),providerMetadata:l9.optional(),toolMetadata:f9.optional(),dynamic:$.boolean().optional(),errorText:$.string(),title:$.string().optional()}),$.looseObject({type:$.literal(`tool-approval-request`),approvalId:$.string(),toolCallId:$.string(),approvalDescriptor:$.unknown().optional(),inputSchemaInput:$.unknown().optional(),reason:$.string().optional(),isAutomatic:$.boolean().optional(),signature:$.string().optional()}),$.looseObject({type:$.literal(`tool-approval-response`),approvalId:$.string(),approved:$.boolean(),reason:$.string().optional(),providerExecuted:$.boolean().optional(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`tool-output-available`),toolCallId:$.string(),output:$.unknown(),providerExecuted:$.boolean().optional(),providerMetadata:l9.optional(),toolMetadata:f9.optional(),dynamic:$.boolean().optional(),preliminary:$.boolean().optional()}),$.looseObject({type:$.literal(`tool-output-error`),toolCallId:$.string(),errorText:$.string(),providerExecuted:$.boolean().optional(),providerMetadata:l9.optional(),toolMetadata:f9.optional(),dynamic:$.boolean().optional()}),$.looseObject({type:$.literal(`tool-output-denied`),toolCallId:$.string()}),$.looseObject({type:$.literal(`reasoning-start`),id:$.string(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`reasoning-delta`),id:$.string(),delta:$.string(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`reasoning-end`),id:$.string(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`custom`),kind:$.string().transform(e=>e),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`source-url`),sourceId:$.string(),url:$.string(),title:$.string().optional(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`source-document`),sourceId:$.string(),mediaType:$.string(),title:$.string(),filename:$.string().optional(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`file`),url:$.string(),mediaType:$.string(),providerMetadata:l9.optional()}),$.looseObject({type:$.literal(`reasoning-file`),url:$.string(),mediaType:$.string(),providerMetadata:l9.optional()}),$.looseObject({type:$.custom(e=>typeof e==`string`&&e.startsWith(`data-`),{message:`Type must start with "data-"`}),id:$.string().optional(),data:$.unknown(),transient:$.boolean().optional()}),$.looseObject({type:$.literal(`start-step`)}),$.looseObject({type:$.literal(`finish-step`)}),$.looseObject({type:$.literal(`reset-step`)}),$.looseObject({type:$.literal(`start`),messageId:$.string().optional(),messageMetadata:$.unknown().optional()}),$.looseObject({type:$.literal(`finish`),finishReason:$.enum([`stop`,`length`,`content-filter`,`tool-calls`,`error`,`other`]).optional(),messageMetadata:$.unknown().optional()}),$.looseObject({type:$.literal(`abort`),reason:$.string().optional()}),$.looseObject({type:$.literal(`message-metadata`),messageMetadata:$.unknown()})]))),Q7({prefix:`aitxt`,size:24}),Q7({prefix:`call`,size:24}),Q7({prefix:`aitxt`,size:24}),Q7({prefix:`call`,size:24}),$.record($.string(),c9.optional()),$.record($.string(),$.string()),Q7({prefix:`call`,size:24}),Q7({prefix:`call`,size:24}),new TextEncoder,Q7({prefix:`call`,size:24}),Q7({prefix:`aiobj`,size:24}),{atob:Ver}=globalThis,Her=class{constructor(){this.queue=[],this.isProcessing=!1,this.idleWaiters=[]}async processQueue(){if(!this.isProcessing){this.isProcessing=!0;try{for(;this.queue.length>0;)await this.queue[0](),this.queue.shift()}finally{this.isProcessing=!1;for(let e of this.idleWaiters.splice(0))e()}}}async run(e){return new Promise((t,n)=>{this.queue.push(async()=>{try{await e(),t()}catch(e){n(e)}}),this.processQueue()})}async waitForIdle(){(this.isProcessing||this.queue.length!==0)&&await new Promise(e=>{this.idleWaiters.push(e)})}},Q7({prefix:`aiobj`,size:24}),Q7({prefix:`call`,size:24}),$.object({token:$.string().refine(e=>e.trim().length>0),url:$.string().refine(e=>{try{let t=new URL(e);return(t.protocol===`ws:`||t.protocol===`wss:`)&&t.hostname!==``}catch{return!1}}),expiresAt:$.number().positive().max(2**53-1).optional(),tools:$.array($.object({type:$.literal(`function`),name:$.string().min(1),description:$.string().optional(),parameters:$.record($.string(),$.unknown())})).optional()}),Q7({prefix:`call`,size:24}),Q7({prefix:`call`,size:24}),Q7({prefix:`call`,size:24}),Uer=class{constructor({api:e=`/api/chat`,credentials:t,headers:n,body:r,fetch:i,prepareSendMessagesRequest:a,prepareReconnectToStreamRequest:o}){this.api=e,this.credentials=t,this.headers=n,this.body=r,this.fetch=i,this.prepareSendMessagesRequest=a,this.prepareReconnectToStreamRequest=o}async sendMessages({abortSignal:e,...t}){let n=await Z7(this.body),r=await Z7(this.headers),i=await Z7(this.credentials),a={...W7(r),...W7(t.headers)},o=await this.prepareSendMessagesRequest?.({api:this.api,id:t.chatId,messages:t.messages,body:{...n,...t.body},headers:a,credentials:i,requestMetadata:t.metadata,trigger:t.trigger,messageId:t.messageId}),s=o?.api??this.api,c=o?.headers===void 0?a:W7(o.headers),l=o?.body===void 0?{...n,...t.body,id:t.chatId,messages:t.messages,trigger:t.trigger,messageId:t.messageId}:o.body,u=o?.credentials??i,d=await(this.fetch??globalThis.fetch)(s,{method:`POST`,headers:{"content-type":`application/json`,...c},body:JSON.stringify(l),credentials:u,signal:e});if(!d.ok)throw await fer({response:d,url:s,fallbackMessage:`Failed to fetch the chat response.`});if(!d.body)throw new l7n({message:`The response body is empty.`});return this.processResponseStream(d.body)}async reconnectToStream(e){let t=await Z7(this.body),n=await Z7(this.headers),r=await Z7(this.credentials),i={...W7(n),...W7(e.headers)},a=await this.prepareReconnectToStreamRequest?.({api:this.api,id:e.chatId,body:{...t,...e.body},headers:i,credentials:r,requestMetadata:e.metadata}),o=a?.api;if(o==null){if(e.chatId===`.`||e.chatId===`..`)throw new o9({parameter:`chatId`,value:e.chatId,message:`Chat IDs must not be "." or ".." when using the default reconnect URL.`});o=mer(this.api,`/${encodeURIComponent(e.chatId)}/stream`)}let s=a?.headers===void 0?i:W7(a.headers),c=a?.credentials??r,l=await(this.fetch??globalThis.fetch)(o,{method:`GET`,headers:s,credentials:c,signal:e.abortSignal});if(l.status===204)return null;if(!l.ok)throw await fer({response:l,url:o,fallbackMessage:`Failed to fetch the chat response.`});if(!l.body)throw new l7n({message:`The response body is empty.`});return this.processResponseStream(l.body)}},Wer=class extends Uer{constructor({resumeStreamIsReplay:e=!0,...t}={}){super(t),this.resumeStreamIsReplay=e}processResponseStream(e){return A9n({stream:e,schema:Ber}).pipeThrough(new TransformStream({async transform(e,t){if(!e.success)throw e.error;t.enqueue(e.value)}}))}},Ger=class{constructor({generateId:e=F9n,id:t=e(),transport:n=new Wer,messageMetadataSchema:r,dataPartSchemas:i,state:a,onError:o,onToolCall:s,onFinish:c,onData:l,sendAutomaticallyWhen:u}){this.pendingMessagePreparations=new Set,this.activeResponse=void 0,this.activeResumeRequest=void 0,this.resumableStreamState=void 0,this.jobExecutor=new Her,this.activeStopCount=0,this.stopGeneration=0,this.sendMessage=async(e,t)=>{if(e==null){let e=this.pendingApprovalMessageId;if(e==null){e=this.lastMessage?.id;for(let t=this.state.messages.length-1;t>=0;t--){let n=this.state.messages[t];if(n.role===`assistant`&&n.parts.some(e=>a9(e)&&e.state===`approval-responded`)){e=n.id;break}}}let n=e!=null&&e===this.pendingApprovalMessageId?this.state.messages.findIndex(t=>t.id===e):-1;await this.makeRequestForToolApproval({messageId:e,messageIndex:n,...t});return}let n;if(`text`in e||`files`in e){let t=new AbortController;this.pendingMessagePreparations.add(t);let r;try{r=Array.isArray(e.files)?e.files:await per(e.files)}finally{this.pendingMessagePreparations.delete(t)}if(t.signal.aborted)return;n={parts:[...r,...`text`in e&&e.text!=null?[{type:`text`,text:e.text}]:[]]}}else n=e;if(e.messageId!=null){let t=this.state.messages.findIndex(t=>t.id===e.messageId);if(t===-1)throw new o9({parameter:`message.messageId`,value:e.messageId,message:`message with id ${e.messageId} not found`});if(this.state.messages[t].role!==`user`)throw new o9({parameter:`message.messageId`,value:e.messageId,message:`message with id ${e.messageId} is not a user message`});this.state.messages=this.state.messages.slice(0,t+1),this.state.replaceMessage(t,{id:e.messageId,...n,role:n.role??`user`,metadata:e.metadata})}else this.state.pushMessage({...n,id:n.id??this.generateId(),role:n.role??`user`,metadata:e.metadata});await this.makeRequest({trigger:`submit-message`,messageId:e.messageId,...t})},this.regenerate=async({messageId:e,...t}={})=>{let n=e==null?this.state.messages.length-1:this.state.messages.findIndex(t=>t.id===e);if(n===-1)throw new o9({parameter:`messageId`,value:e,message:`message ${e} not found`});this.state.messages=this.state.messages.slice(0,this.messages[n].role===`assistant`?n:n+1),await this.makeRequest({trigger:`regenerate-message`,messageId:e,...t})},this.resumeStream=async(e={})=>{await this.makeRequest({trigger:`resume-stream`,...e})},this[`~resumeStreamIfDisconnected`]=async({shouldResume:e=()=>!0}={})=>{let t=this.activeResponse;this.resumableStreamState==null&&t!=null&&(await t.completionPromise,this.resumableStreamState!==t.state)||this.resumableStreamState!=null&&e()&&await this.resumeStream()},this.clearError=()=>{this.status===`error`&&(this.state.error=void 0,this.setStatus({status:`ready`}))},this.addToolApprovalResponse=async({id:e,approved:t,reason:n,options:r})=>this.jobExecutor.run(async()=>{let i=this.state.messages,a=r=>a9(r)&&r.state===`approval-requested`&&r.approval.id===e?{...r,state:`approval-responded`,approval:{...r.approval,id:e,approved:t,reason:n}}:r,o=i.findIndex(t=>t.parts.some(t=>a9(t)&&t.state===`approval-requested`&&t.approval.id===e));if(o!==-1){let e=i[o];this.state.replaceMessage(o,{...e,parts:e.parts.map(a)}),this.pendingApprovalMessageId=e.id}if(this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(a)),o!==-1&&this.status!==`streaming`&&this.status!==`submitted`&&this.sendAutomaticallyWhen){let e=await this.shouldSendAutomatically();e&&this.runAutomaticRequest(()=>{let e=o===-1?this.lastMessage?.id:i[o].id;return this.makeRequestForToolApproval({messageId:e,messageIndex:o,...r})},e)}}),this.addToolOutput=async({state:e,toolCallId:t,output:n,errorText:r,options:i})=>this.jobExecutor.run(async()=>{let a=this.state.messages,o=i=>{if(!a9(i)||i.toolCallId!==t)return i;let{approval:a,...o}=i,s=a?.approved===!0?{approval:{...a,approved:a.approved}}:{};return e===`output-error`?{...o,...s,state:e,input:i.input,output:void 0,errorText:r}:{...o,...s,state:`output-available`,input:i.input,output:n,errorText:void 0}},s=a.findIndex(e=>e.parts.some(e=>a9(e)&&e.toolCallId===t));if(s!==-1){let e=a[s];this.state.replaceMessage(s,{...e,parts:e.parts.map(o)})}if(this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(o)),s!==-1&&this.status!==`streaming`&&this.status!==`submitted`&&this.sendAutomaticallyWhen){let e=await this.shouldSendAutomatically();e&&this.runAutomaticRequest(()=>this.makeRequest({trigger:`submit-message`,messageId:a[s].id,...i}),e)}}),this.addToolResult=this.addToolOutput,this.stop=async()=>{this.activeStopCount++,this.stopGeneration++;try{let e=this.activeResumeRequest,t=this.activeResponse;for(let e of this.pendingMessagePreparations)e.abort();e?.abortController.abort(),t?.abortController.abort(),await Promise.all([e?.completionPromise,t?.completionPromise]),await this.jobExecutor.waitForIdle()}finally{this.activeStopCount--}},this.dispose=async()=>{await this.stop(),this.transport.close?.()},this.id=t,this.transport=n,this.generateId=e,this.messageMetadataSchema=r,this.dataPartSchemas=i,this.state=a,this.onError=o,this.onToolCall=s,this.onFinish=c,this.onData=l,this.sendAutomaticallyWhen=u}get status(){return this.state.status}setStatus({status:e,error:t}){this.status===e?this.error!==t&&(this.state.error=t):(this.state.status=e,this.state.error=t)}get error(){return this.state.error}get messages(){return this.state.messages}get lastMessage(){return this.state.messages[this.state.messages.length-1]}set messages(e){this.state.messages=e}async shouldSendAutomatically(){if(!this.sendAutomaticallyWhen)return!1;let e=this.sendAutomaticallyWhen({messages:this.state.messages});return e&&typeof e==`object`&&`then`in e?await e:e}async runAutomaticRequest(e,t){let n=this.stopGeneration,r=this.activeStopCount>0;(t??await this.shouldSendAutomatically())&&(r||n!==this.stopGeneration||this.activeStopCount>0||await e())}async makeRequestForToolApproval({messageId:e,messageIndex:t,...n}){let r=e!=null&&e===this.pendingApprovalMessageId;r&&(this.pendingApprovalMessageId=void 0),await this.makeRequest({trigger:`submit-message`,messageId:e,...n}),r&&this.status===`error`&&this.pendingApprovalMessageId==null&&(this.pendingApprovalMessageId=this.state.messages[t]?.id??e)}async makeRequest(e){let t=der();try{await this.makeRequestImpl({...e,completionPromise:t.promise})}finally{t.resolve()}}async makeRequestImpl({trigger:e,metadata:t,headers:n,body:r,messageId:i,completionPromise:a}){e!==`resume-stream`&&(this.resumableStreamState=void 0);let o=new AbortController,s=e===`resume-stream`?{abortController:o,completionPromise:a}:void 0;s&&(this.activeResumeRequest?.abortController.abort(),this.activeResumeRequest=s);let c=()=>s==null||this.activeResumeRequest===s,l=()=>{this.activeResumeRequest===s&&(this.activeResumeRequest=void 0)},u;if(e===`resume-stream`)try{let e=await this.transport.reconnectToStream({chatId:this.id,abortSignal:o.signal,metadata:t,headers:n,body:r});if(o.signal.aborted||!c()){await e?.cancel().catch(()=>{}),c()&&(this.setStatus({status:`ready`}),this.resumableStreamState=void 0),l();return}if(e==null){this.setStatus({status:`ready`}),this.resumableStreamState=void 0,l();return}u=e}catch(e){if(o.signal.aborted||e.name===`AbortError`){c()&&(this.setStatus({status:`ready`}),this.resumableStreamState=void 0),l();return}if(!c())return;this.onError&&e instanceof Error&&this.onError(e),this.setStatus({status:`error`,error:e}),l();return}this.setStatus({status:`submitted`,error:void 0});let d=this.lastMessage,f=e===`submit-message`&&i!=null?this.state.messages.findIndex(e=>e.id===i):this.state.messages.length-1,p=f===-1?d:this.state.messages[f],m=p?.id,h=e===`resume-stream`&&p?.role===`assistant`&&p.parts.some(e=>a9(e)&&(e.state===`input-streaming`||e.state===`input-available`&&e.providerExecuted||e.state===`approval-responded`))?this.state.snapshot(p):void 0,g=f!==-1&&f<this.state.messages.length-1&&p?.role===`assistant`,_=!1,v=!1,y=!1,b;try{let s={state:e===`resume-stream`&&this.resumableStreamState!=null?this.resumableStreamState:cer({lastMessage:e===`resume-stream`?h:e===`regenerate-message`?void 0:this.state.snapshot(p),messageId:this.generateId()}),abortController:o,completionPromise:a};b=s,s.abortController.signal.addEventListener(`abort`,()=>{_=!0}),this.activeResponse=s;let l;if(l=e===`resume-stream`?u:await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:s.abortController.signal,metadata:t,headers:n,body:r,trigger:e,messageId:i}),await uer({stream:ler({stream:l,resetStateOnMessageIdChange:e===`resume-stream`,resetStateOnFirstMessageStart:e===`resume-stream`&&this.transport.resumeStreamIsReplay,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:e=>this.jobExecutor.run(()=>s.abortController.signal.aborted?Promise.resolve():e({state:s.state,write:({updateStatus:e=!0}={})=>{if(s.abortController.signal.aborted)return;e&&this.setStatus({status:`streaming`});let t=this.state.messages.findLastIndex(e=>e.id===s.state.message.id);if(t!==-1)this.state.replaceMessage(t,s.state.message);else if(g){let e=this.state.messages.findLastIndex(e=>e.id===m);e===-1?this.state.pushMessage(s.state.message):this.state.replaceMessage(e,s.state.message)}else this.state.pushMessage(s.state.message)}})),onError:e=>{throw e}}),abortSignal:s.abortController.signal,onError:e=>{throw e}}),_)return c()&&(this.setStatus({status:`ready`}),this.resumableStreamState===s.state&&(this.resumableStreamState=void 0)),null;c()&&(this.setStatus({status:`ready`}),this.resumableStreamState===s.state&&(this.resumableStreamState=void 0))}catch(e){if(_||e.name===`AbortError`)return _=!0,c()&&(this.setStatus({status:`ready`}),this.resumableStreamState===b?.state&&(this.resumableStreamState=void 0)),null;if(!c())return null;if(y=!0,e instanceof TypeError){let t=e.message.toLowerCase();v=t.includes(`fetch`)||t.includes(`network`)||t===`load failed`}v?this.resumableStreamState=b?.state:this.resumableStreamState===b?.state&&(this.resumableStreamState=void 0),this.onError&&e instanceof Error&&this.onError(e),this.setStatus({status:`error`,error:e})}finally{try{b&&this.onFinish?.({message:b.state.message,messages:this.state.messages,isAbort:_,isDisconnect:v,isError:y,finishReason:b.state.finishReason})}finally{this.activeResponse===b&&(this.activeResponse=void 0),l()}}!_&&!y&&await this.runAutomaticRequest(()=>this.makeRequest({trigger:`submit-message`,messageId:this.lastMessage?.id,metadata:t,headers:n,body:r}))}}}));function qer(e){if(!e.length)return``;for(var t=`arg`,n=0;n<e.length;++n){var r=void 0;e[n]===null||typeof e[n]!=`object`&&typeof e[n]!=`function`?r=typeof e[n]==`string`?`"`+e[n]+`"`:String(e[n]):p9.has(e[n])?r=p9.get(e[n]):(r=Jer,p9.set(e[n],Jer++)),t+=`@`+r}return t}var p9,Jer,Yer=s((()=>{p9=new WeakMap,Jer=0}));function Xer(e){if(typeof e==`function`)try{e=e()}catch{e=``}return e=Array.isArray(e)?qer(e):String(e||``),e}var m9,Zer=s((()=>{Yer(),m9=function(){function e(e){e===void 0&&(e=0),this.items=new Map,this.ttl=e}return e.prototype.serializeKey=function(e){return Xer(e)},e.prototype.get=function(e){var t=this.serializeKey(e);return this.items.get(t)},e.prototype.set=function(e,t,n){var r=this.serializeKey(e),i=n||this.ttl,a=Date.now(),o={data:t,createdAt:a,expiresAt:i?a+i:1/0};this.dispatchExpire(i,o,r),this.items.set(r,o)},e.prototype.dispatchExpire=function(e,t,n){var r=this;e&&setTimeout(function(){Date.now()>=t.expiresAt&&r.delete(n)},e)},e.prototype.delete=function(e){this.items.delete(e)},e}()})),Qer=s((()=>{Zer()}));function $er(){return navigator.onLine===void 0||navigator.onLine}function etr(){return typeof document<`u`&&document.visibilityState!==void 0?document.visibilityState!==`hidden`:!0}var ttr,h9,ntr=s((()=>{ttr=function(e){return fetch(e).then(function(e){return e.json()})},h9={isOnline:$er,isDocumentVisible:etr,fetcher:ttr}}));function rtr(){return dtr?dtr():!!ha()}function itr(e,t,n,r){r===void 0&&(r=y9);var i=r.get(e);i?i.data.push(t):r.set(e,[t],n>0?n+5e3:n)}function atr(e,t,n){if(n.isDocumentVisible()&&!(n.errorRetryCount!==void 0&&t>n.errorRetryCount)){var r=Math.min(t||0,n.errorRetryCount),i=r*n.errorRetryInterval;setTimeout(function(){e(null,{errorRetryCount:r+1,shouldRetryOnError:!0})},i)}}function otr(e){var t=e.shouldRetry,n=t===void 0?void 0:t,r=e.error;return typeof n==`function`?n(r):typeof n==`boolean`?n:b9.shouldRetryOnError}function str(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r,i,a=g9({},b9),o=!1,s=!1;if(!Xt())return console.error(`useSWRV must be called inside setup() or an active effectScope().`),null;var c=ptr,l=y9;if(rtr()){var u=lr(mtr,void 0);u&&(a.cache=u.data,c=u.promises,l=u.refs)}var d=typeof window>`u`||typeof document>`u`;t.length>=1&&(r=t[0]),t.length>=2&&(i=t[1]),t.length>2&&(a=g9(g9({},a),t[2]));var f=d?a.serverTTL:a.ttl,p=typeof r==`function`?r:E(r);i===void 0&&(i=a.fetcher);var m=null;m||=fn({data:void 0,error:void 0,isValidating:!0,isLoading:!0,key:null});var h=function(t,n){return _9(e,void 0,void 0,function(){var e,r,s,u,d,g,_,v=this;return v9(this,function(y){switch(y.label){case 0:return e=m.data===void 0,r=p.value,r?(s=a.cache.get(r),u=s&&s.data,m.isValidating=!0,m.isLoading=!u,u&&(m.data=u.data,m.error=u.error),d=t||i,!d||!a.isDocumentVisible()&&!e||n?.forceRevalidate!==void 0&&!n?.forceRevalidate||s&&(g=!!(Date.now()-s.createdAt>=a.dedupingInterval||n?.forceRevalidate),!g)?(m.isValidating=!1,m.isLoading=!1,[2]):(_=function(){return _9(v,void 0,void 0,function(){var e,t,i,s,u,p;return v9(this,function(g){switch(g.label){case 0:return e=c.get(r),e?[3,2]:(t=Array.isArray(r)?r:[r],i=d.apply(void 0,utr([],ltr(t),!1)),c.set(r,i,a.dedupingInterval),[4,htr(r,i,a.cache,f,l)]);case 1:return g.sent(),[3,4];case 2:return[4,htr(r,e.data,a.cache,f,l)];case 3:g.sent(),g.label=4;case 4:return m.isValidating=!1,m.isLoading=!1,c.delete(r),m.error!==void 0&&(s=otr({shouldRetry:a.shouldRetryOnError,error:m.error}),u=otr({shouldRetry:!n||n.shouldRetryOnError,error:m.error}),p=!o&&s&&u,p&&atr(h,n?n.errorRetryCount:1,a)),[2]}})})},u&&a.revalidateDebounce?(setTimeout(function(){return _9(v,void 0,void 0,function(){return v9(this,function(e){switch(e.label){case 0:return o?[3,2]:[4,_()];case 1:e.sent(),e.label=2;case 2:return[2]}})})},a.revalidateDebounce),[3,3]):[3,1])):[2];case 1:return[4,_()];case 2:y.sent(),y.label=3;case 3:return[2]}})})},g=function(){return _9(e,void 0,void 0,function(){return v9(this,function(e){return[2,h(null,{shouldRetryOnError:!1})]})})},_=null;if(!d){var v=function(){return _9(e,void 0,void 0,function(){return v9(this,function(e){switch(e.label){case 0:return m.error||!a.isOnline()?[3,2]:[4,h()];case 1:return e.sent(),[3,3];case 2:_&&=(clearTimeout(_),null),e.label=3;case 3:return a.refreshInterval&&!o&&(_=setTimeout(v,a.refreshInterval)),[2]}})})};a.refreshInterval&&(_=setTimeout(v,a.refreshInterval)),a.revalidateOnFocus&&(document.addEventListener(`visibilitychange`,g,!1),window.addEventListener(`focus`,g,!1))}Zt(function(){o=!0,_&&=(clearTimeout(_),null),!d&&a.revalidateOnFocus&&(document.removeEventListener(`visibilitychange`,g,!1),window.removeEventListener(`focus`,g,!1));var e=l.get(p.value);e&&(e.data=e.data.filter(function(e){return e!==m}))});try{dr(p,function(e){vn(p)||(p.value=e),m.key=e,m.isValidating=!!e,itr(p.value,m,f,l),!d&&!s&&p.value&&h(),s=!1},{immediate:!0})}catch{}return g9(g9({},gte(m)),{mutate:function(e,t){return h(e,g9(g9({},t),{forceRevalidate:!0}))}})}function ctr(e){return typeof e==`object`&&!!e&&typeof e.then==`function`}var g9,_9,v9,ltr,utr,dtr,ftr,y9,ptr,mtr,b9,htr,gtr=s((()=>{B(),ntr(),Qer(),g9=function(){return g9=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},g9.apply(this,arguments)},_9=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},v9=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o={next:s(0),throw:s(1),return:s(2)};return typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(r)throw TypeError(`Generator is already executing.`);for(;n;)try{if(r=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return n.label++,{value:o[1],done:!1};case 5:n.label++,i=o[1],o=[0];continue;case 7:o=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1],a=o;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(o);break}a[2]&&n.ops.pop(),n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e],i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ltr=function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},utr=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},dtr=Qte,ftr=new m9,y9=new m9,ptr=new m9,mtr=Symbol.for(`swrv.cache.v1`),b9={cache:ftr,refreshInterval:0,ttl:0,serverTTL:1e3,dedupingInterval:2e3,revalidateOnFocus:!0,revalidateDebounce:0,shouldRetryOnError:!0,errorRetryInterval:5e3,errorRetryCount:5,fetcher:h9.fetcher,isOnline:h9.isOnline,isDocumentVisible:h9.isDocumentVisible},htr=function(e,t,n,r,i){return n===void 0&&(n=ftr),r===void 0&&(r=b9.ttl),i===void 0&&(i=y9),_9(void 0,void 0,void 0,function(){var a,o,s,c,l,u,d;return v9(this,function(f){switch(f.label){case 0:if(!ctr(t))return[3,5];f.label=1;case 1:return f.trys.push([1,3,,4]),[4,t];case 2:return a=f.sent(),[3,4];case 3:return c=f.sent(),o=c,[3,4];case 4:return[3,6];case 5:a=t,f.label=6;case 6:if(s=!1,l={data:a,error:o,isValidating:s},a!==void 0)try{n.set(e,l,r)}catch(e){console.error(`swrv(mutate): failed to set cache`,e)}return u=i.get(e),u&&u.data.length&&(d=u.data.filter(function(t){return t.key===e}),d.forEach(function(e,t){l.data!==void 0&&(e.data=l.data),e.error=l.error,e.isValidating=l.isValidating,e.isLoading=l.isValidating,t!==d.length-1&&delete d[t]}),d=d.filter(Boolean)),[2,l]}})})}})),_tr,vtr=s((()=>{gtr(),_tr=str})),ytr,btr,xtr=s((()=>{Ker(),vtr(),B(),_tr.default,_tr.default,ytr=class{constructor(e){this.statusRef=E(`ready`),this.errorRef=E(void 0),this.pushMessage=e=>{this.messagesRef.value=[...this.messagesRef.value,e]},this.popMessage=()=>{this.messagesRef.value=this.messagesRef.value.slice(0,-1)},this.replaceMessage=(e,t)=>{this.messagesRef.value[e]={...t}},this.snapshot=e=>e,this.messagesRef=E(e??[])}get messages(){return this.messagesRef.value}set messages(e){this.messagesRef.value=e}get status(){return this.statusRef.value}set status(e){this.statusRef.value=e}get error(){return this.errorRef.value}set error(e){this.errorRef.value=e}},btr=class extends Ger{constructor({messages:e,...t}){super({...t,state:new ytr(e)})}}}));function Str({registryDocuments:e,workspaceStore:t,baseUrl:n,proxyUrl:r,getAccessToken:i,getAgentKey:a}){let o=new btr({sendAutomaticallyWhen:her,transport:new Wer({api:`${n}/vector/openapi/chat`,headers:()=>$3n({getAccessToken:i,getAgentKey:a}),body:()=>({registryDocuments:e.value})}),async onToolCall({toolCall:e}){e.dynamic||((e.toolName===`execute-request`||e.toolName===`ask-for-authentication`)&&nx(t.workspace.documents[e.input.documentName])?o.addToolOutput({tool:e.toolName,toolCallId:e.toolCallId,state:`output-error`,errorText:`Live AsyncAPI messaging and authentication are not supported in Ask AI. Ask for an explanation or code example instead.`}):e.toolName===`execute-request`&&e.input.method.toLowerCase()===`get`&&await j5n({documentSettings:P5n(t),input:e.input,toolCallId:e.toolCallId,chat:o,proxyUrl:r.value}))}});return o}function Ctr({initialRegistryDocuments:e,registryUrl:t,dashboardUrl:n,platformProxyUrl:r,baseUrl:i,mode:a,isLoggedIn:o,getAccessToken:s,getAgentKey:c,getActiveDocumentJson:l,getActiveDocumentContext:u,prefilledMessageRef:d,hideAddApi:f}){let p=E(d?.value??``),m=E([]),h=fn({}),g=E([]),_=E(I7.DEFAULT_PROXY_URL),v=z(()=>_.value?.trim()||I7.DEFAULT_PROXY_URL),y=E(),b=z5n(),x=rY(),ee=K4({plugins:[Y5n({persistAuth:!0})]}),te=z(()=>se(Ne,{proxyUrl:v.value,persistAuth:!0})),ne=Str({registryDocuments:m,workspaceStore:ee,baseUrl:i,proxyUrl:v,getAccessToken:s,getAgentKey:c}),re=e6n({baseUrl:i,getAccessToken:s,getAgentKey:c}),ie=z(()=>ne.status===`submitted`||ne.status===`streaming`&&!ne.lastMessage?.parts.some(e=>e.type===`text`));dr(()=>ne.status,()=>{ne.status===`streaming`&&(p.value=``)}),d&&dr(d,e=>{e&&(p.value=e)});let ae=kX();async function oe({namespace:e,slug:n,removable:r=!0,tmp:i=!1}){if(m.value.find(t=>t.namespace===e&&t.slug===n))return;let a=`@${e}/${n}`;h[a]=!0;let o=await Z5n({namespace:e,slug:n,workspaceStore:ee,registryUrl:t,registryDocuments:m,config:te.value,getAccessToken:s,api:re,removable:r});if(h[a]=!1,!o.success)throw i?(W5n(),o.error):(console.warn(`[AGENT]: Unable to load document`,o.error),S9(`Unable to load the document @${e}/${n}`,`warn`),o.error)}async function ce({namespace:e,slug:n,removable:r=!0}){if(m.value.find(t=>t.namespace===e&&t.slug===n))return;let a=`@${e}/${n}`;h[a]=!0;let o=await T7.fromUnsafe(()=>fetch(`${i}/vector/registry/embeddings/${e}/${n}`,{method:`GET`}),e=>S7(`FAILED_TO_GET_EMBEDDING_STATUS`,e));if(o.success&&o.data.ok){let i=await Z5n({namespace:e,slug:n,workspaceStore:ee,registryUrl:t,registryDocuments:m,config:te.value,getAccessToken:s,api:re,removable:r});i.success||(console.warn(`[AGENT]: Unable to load document`,i.error),S9(`Unable to load the document @${e}/${n}`,`warn`))}else console.warn(`[AGENT]: Document could not be embedded`),S9(`Unable to embed the document @${e}/${n}`,`warn`);h[a]=!1}function le({namespace:e,slug:t}){m.value=m.value.filter(n=>n.namespace!==e||n.slug!==t),ee.deleteDocument(n6n(e,t))}return e.forEach(({namespace:e,slug:t})=>oe({namespace:e,slug:t,removable:!1})),{prompt:p,chat:ne,workspaceStore:ee,eventBus:x,loading:ie,settingsModal:ae,config:te,registryUrl:t,dashboardUrl:n,platformProxyUrl:r,baseUrl:i,registryDocuments:m,pendingDocuments:h,proxyUrl:v,proxyUrlRaw:_,mode:a,terms:b,isLoggedIn:o,addDocument:oe,addDocumentAsync:ce,removeDocument:le,getAccessToken:s,getAgentKey:c,api:re,uploadState:E(),uploadedTmpDocumentUrl:y,curatedDocuments:g,getActiveDocumentJson:l,getActiveDocumentContext:u,hideAddApi:f}}function x9(){let e=lr(wtr);if(!e)throw Error(`No state provided.`);return e}var wtr,S9,C9=s((()=>{C7(),t6n(),r6n(),M5n(),L7(),R7(),V5n(),J5n(),X5n(),Q5n(),B(),ZB(),xtr(),jX(),Re(),Ce(),iY(),ax(),Ker(),E7(),wtr=Symbol(`STATE_SYMBOL`),{toast:S9}=JB()}));function Ttr(){let{api:e,addDocument:t,mode:n,getAgentKey:r}=x9(),{toast:i}=JB();Ii(async()=>{if(n!==`full`||!r)return;let a=await e.getKeyDocuments();a.success?a.data.documents.forEach(({namespace:e,slug:n})=>t({namespace:e,slug:n,removable:!1})):i(`Failed to fetch your API description. The Agent key may be invalid.`,`error`)})}var Etr=s((()=>{C9(),B(),ZB()}));function Dtr(){let e=x9();function t(e){let t=e?.parts.at(-1);if(t&&t.type===`text`)return t.text}dr([()=>e.chat.status,()=>t(e.chat.lastMessage)],async()=>{await nr(),window.scrollTo(0,document.body.scrollHeight)})}var Otr=s((()=>{C9(),B()}));function ktr(){let{api:e,curatedDocuments:t}=x9();Ii(async()=>{let n=await e.getCuratedDocuments();n.success&&(t.value=n.data.results)})}var Atr=s((()=>{C9(),B()})),w9,T9=s((()=>{w9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}})),jtr,Mtr=s((()=>{Ce(),jtr=`ask-for-authentication`,C({documentName:S(),uniqueIdentifier:S({typeComment:`Needed for legacy support for old clients`})})}));function Ntr(e,t){return j(),M(`div`,Ftr,[...t[0]||=[ni(`<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-e3416cd5><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-e3416cd5></rect><rect height="14.25" rx="7.125" stroke="currentColor" stroke-width="1.75" width="14.25" x="0.875" y="0.875" data-v-e3416cd5></rect><g clip-path="url(#clip0_74_840)" data-v-e3416cd5><path d="M11.6037 6.841L7.59117 10.8535C7.49742 10.9472 7.37029 10.9998 7.23774 10.9998C7.10519 10.9998 6.97806 10.9472 6.8843 10.8535L4.64617 8.6035C4.55257 8.50975 4.5 8.38269 4.5 8.25022C4.5 8.11774 4.55257 7.99068 4.64617 7.89694L5.27117 7.27194C5.36488 7.17862 5.49174 7.12623 5.62399 7.12623C5.75623 7.12623 5.88309 7.17862 5.9768 7.27194L7.25024 8.50694L10.274 5.52037C10.3677 5.42696 10.4946 5.37451 10.627 5.37451C10.7593 5.37451 10.8862 5.42696 10.9799 5.52037L11.6034 6.131C11.6502 6.17746 11.6875 6.23274 11.7129 6.29366C11.7383 6.35458 11.7514 6.41993 11.7514 6.48593C11.7514 6.55194 11.7384 6.6173 11.713 6.67824C11.6877 6.73918 11.6505 6.7945 11.6037 6.841Z" fill="currentColor" data-v-e3416cd5></path></g><defs data-v-e3416cd5><clipPath id="clip0_74_840" data-v-e3416cd5><rect height="8" rx="4" width="8" x="4" y="4" data-v-e3416cd5></rect></clipPath></defs></svg> Authorized `,2)]])}var Ptr,Ftr,Itr,Ltr=s((()=>{T9(),B(),Ptr={},Ftr={class:`authenticationProvided`},Itr=w9(Ptr,[[`render`,Ntr],[`__scopeId`,`data-v-e3416cd5`]])}));function Rtr(e,t){return j(),M(`div`,Btr,[...t[0]||=[ni(`<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-d15ef40b><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-d15ef40b></rect><rect height="14.25" rx="7.125" stroke="currentColor" stroke-width="1.5" width="14.25" x="0.875" y="0.875" data-v-d15ef40b></rect><g clip-path="url(#clip0_74_585)" data-v-d15ef40b><path d="M10.75 5.5V10.5C10.75 10.6326 10.6973 10.7598 10.6036 10.8536C10.5098 10.9473 10.3826 11 10.25 11H9C8.86739 11 8.74021 10.9473 8.64645 10.8536C8.55268 10.7598 8.5 10.6326 8.5 10.5V5.5C8.5 5.36739 8.55268 5.24021 8.64645 5.14645C8.74021 5.05268 8.86739 5 9 5H10.25C10.3826 5 10.5098 5.05268 10.6036 5.14645C10.6973 5.24021 10.75 5.36739 10.75 5.5ZM7 5H5.75C5.61739 5 5.49021 5.05268 5.39645 5.14645C5.30268 5.24021 5.25 5.36739 5.25 5.5V10.5C5.25 10.6326 5.30268 10.7598 5.39645 10.8536C5.49021 10.9473 5.61739 11 5.75 11H7C7.13261 11 7.25979 10.9473 7.35355 10.8536C7.44732 10.7598 7.5 10.6326 7.5 10.5V5.5C7.5 5.36739 7.44732 5.24021 7.35355 5.14645C7.25979 5.05268 7.13261 5 7 5Z" fill="currentColor" data-v-d15ef40b></path></g><defs data-v-d15ef40b><clipPath id="clip0_74_585" data-v-d15ef40b><rect height="8" rx="4" width="8" x="4" y="4" data-v-d15ef40b></rect></clipPath></defs></svg> Authentication required `,2)]])}var ztr,Btr,Vtr,Htr=s((()=>{T9(),B(),ztr={},Btr={class:`authenticationRequired`},Vtr=w9(ztr,[[`render`,Rtr],[`__scopeId`,`data-v-d15ef40b`]])})),Utr,Wtr=s((()=>{C9(),B(),rS(),XXn(),jT(),Utr=k({__name:`Auth`,props:{options:{},name:{},authStore:{},document:{},eventBus:{},selectedServer:{},environment:{}},setup(e){let{workspaceStore:t}=x9(),n=z(()=>Sx(e.document?.security)),r=z(()=>$x(e.document?.components?.securitySchemes??{},e.options.authentication?.securitySchemes,e.authStore,e.name)),i=z(()=>kx(e.authStore.getAuthSelectedSchemas({type:`document`,documentName:e.name}),void 0,n.value,r.value,e.options.authentication?.preferredSecurityScheme)),a=Cn(),{focused:o}=Rtt(a);return dr(o,n=>{n&&t.update(`x-scalar-active-document`,e.name)}),(t,o)=>(j(),M(`div`,{ref_key:`focusRef`,ref:a,tabindex:`0`},[Object.keys(r.value).length?(j(),N(D(V1),{key:0,authStore:e.authStore,documentSlug:e.name,environment:e.environment,eventBus:e.eventBus,isReadOnly:``,isStatic:``,layout:`reference`,meta:{type:`document`},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??``,securityRequirements:n.value,securitySchemes:r.value,selectedSecurity:i.value,server:e.selectedServer,title:`Authentication`},null,8,[`authStore`,`documentSlug`,`environment`,`eventBus`,`persistAuth`,`proxyUrl`,`securityRequirements`,`securitySchemes`,`selectedSecurity`,`server`])):I(``,!0)],512))}})})),Gtr,Ktr=s((()=>{Wtr(),Gtr=Utr})),qtr,Jtr,Ytr,Xtr,Ztr,Qtr=s((()=>{Mtr(),C9(),Ltr(),Htr(),Ktr(),B(),ax(),rS(),Mw(),Qs(),qtr={key:0,class:`text-c-2 py-3`,role:`status`},Jtr={class:`toggleButton`},Ytr={class:`authContent`},Xtr={class:`authContentInner`},Ztr=k({__name:`AskForAuthentication`,props:{messagePart:{}},setup(e){let{workspaceStore:t,eventBus:n,config:r,chat:i}=x9(),a=z(()=>e.messagePart.value.input?.documentName),o=z(()=>{if(!a.value)return;let e=t.workspace.documents[a.value];return tx(e)?e:void 0}),s=z(()=>{if(o.value)return ox(t,o.value).environment}),c=z(()=>{if(!o.value)return;let e=tS(o.value.servers,{documentUrl:o.value[`x-scalar-original-source-url`]});return nS(o.value,null,null,e)}),l=z(()=>a.value&&s.value&&c.value);async function u(){await i.addToolOutput({toolCallId:e.messagePart.value.toolCallId,output:`Authentication provided.`,tool:jtr,state:`output-available`})}return(i,d)=>(j(),M(`div`,{class:lt([`askForAuthentication`,{open:l.value}])},[e.messagePart.value.state===`output-error`?(j(),M(`p`,qtr,T(e.messagePart.value.errorText),1)):I(``,!0),P(`div`,Jtr,[e.messagePart.value.state===`output-available`?(j(),N(Itr,{key:0})):I(``,!0),e.messagePart.value.state===`input-available`?(j(),N(Vtr,{key:1})):I(``,!0),e.messagePart.value.state===`input-available`?(j(),N(D(jw),{key:2,class:`authorizeButton`,size:`xs`,onClick:u},{default:O(()=>[d[0]||=F(` Authorize `,-1),R(D(Rle),{weight:`bold`})]),_:1})):I(``,!0)]),P(`div`,Ytr,[P(`div`,Xtr,[a.value&&o.value&&s.value&&c.value?(j(),N(Gtr,{key:0,authStore:D(t).auth,document:o.value,environment:s.value,eventBus:D(n),name:a.value,options:D(r),selectedServer:c.value},null,8,[`authStore`,`document`,`environment`,`eventBus`,`name`,`options`,`selectedServer`])):I(``,!0)])])],2))}})})),$tr,enr=s((()=>{T9(),Qtr(),$tr=w9(Ztr,[[`__scopeId`,`data-v-508e8718`]])}));function tnr(e,t){return j(),M(`div`,rnr,[...t[0]||=[ni(`<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-d08225db><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-d08225db></rect><rect height="14.25" rx="7.125" stroke="currentColor" stroke-width="1.5" width="14.25" x="0.875" y="0.875" data-v-d08225db></rect><g clip-path="url(#clip0_74_585)" data-v-d08225db><path d="M10.75 5.5V10.5C10.75 10.6326 10.6973 10.7598 10.6036 10.8536C10.5098 10.9473 10.3826 11 10.25 11H9C8.86739 11 8.74021 10.9473 8.64645 10.8536C8.55268 10.7598 8.5 10.6326 8.5 10.5V5.5C8.5 5.36739 8.55268 5.24021 8.64645 5.14645C8.74021 5.05268 8.86739 5 9 5H10.25C10.3826 5 10.5098 5.05268 10.6036 5.14645C10.6973 5.24021 10.75 5.36739 10.75 5.5ZM7 5H5.75C5.61739 5 5.49021 5.05268 5.39645 5.14645C5.30268 5.24021 5.25 5.36739 5.25 5.5V10.5C5.25 10.6326 5.30268 10.7598 5.39645 10.8536C5.49021 10.9473 5.61739 11 5.75 11H7C7.13261 11 7.25979 10.9473 7.35355 10.8536C7.44732 10.7598 7.5 10.6326 7.5 10.5V5.5C7.5 5.36739 7.44732 5.24021 7.35355 5.14645C7.25979 5.05268 7.13261 5 7 5Z" fill="currentColor" data-v-d08225db></path></g><defs data-v-d08225db><clipPath id="clip0_74_585" data-v-d08225db><rect height="8" rx="4" width="8" x="4" y="4" data-v-d08225db></rect></clipPath></defs></svg> Accept Request to Continue `,2)]])}var nnr,rnr,inr,anr=s((()=>{T9(),B(),nnr={},rnr={class:`autosendPaused`},inr=w9(nnr,[[`render`,tnr],[`__scopeId`,`data-v-d08225db`]])}));function onr(e,t){return j(),M(`div`,cnr,[...t[0]||=[P(`div`,{class:`playIcon`},[P(`svg`,{fill:`currentColor`,height:`32`,viewBox:`0 0 256 256`,width:`32`,xmlns:`http://www.w3.org/2000/svg`},[P(`path`,{d:`M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z`})])],-1),F(` Building Request... `,-1)]])}var snr,cnr,lnr,unr=s((()=>{T9(),B(),snr={},cnr={class:`buildingRequest`},lnr=w9(snr,[[`render`,onr],[`__scopeId`,`data-v-5a1d2b16`]])}));function dnr(e,t){return j(),M(`div`,pnr,[...t[0]||=[ni(`<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-bb311586><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-bb311586></rect><rect height="14.25" rx="7.125" stroke="var(--scalar-color-green)" stroke-width="1.75" width="14.25" x="0.875" y="0.875" data-v-bb311586></rect><g clip-path="url(#clip0_74_840)" data-v-bb311586><path d="M11.6037 6.841L7.59117 10.8535C7.49742 10.9472 7.37029 10.9998 7.23774 10.9998C7.10519 10.9998 6.97806 10.9472 6.8843 10.8535L4.64617 8.6035C4.55257 8.50975 4.5 8.38269 4.5 8.25022C4.5 8.11774 4.55257 7.99068 4.64617 7.89694L5.27117 7.27194C5.36488 7.17862 5.49174 7.12623 5.62399 7.12623C5.75623 7.12623 5.88309 7.17862 5.9768 7.27194L7.25024 8.50694L10.274 5.52037C10.3677 5.42696 10.4946 5.37451 10.627 5.37451C10.7593 5.37451 10.8862 5.42696 10.9799 5.52037L11.6034 6.131C11.6502 6.17746 11.6875 6.23274 11.7129 6.29366C11.7383 6.35458 11.7514 6.41993 11.7514 6.48593C11.7514 6.55194 11.7384 6.6173 11.713 6.67824C11.6877 6.73918 11.6505 6.7945 11.6037 6.841Z" fill="var(--scalar-color-green)" data-v-bb311586></path></g><defs data-v-bb311586><clipPath id="clip0_74_840" data-v-bb311586><rect height="8" rx="4" width="8" x="4" y="4" data-v-bb311586></rect></clipPath></defs></svg> Request Approved `,2)]])}var fnr,pnr,mnr,hnr=s((()=>{T9(),B(),fnr={},pnr={class:`requestApproved`},mnr=w9(fnr,[[`render`,dnr],[`__scopeId`,`data-v-bb311586`]])}));function gnr(e,t){return j(),M(`div`,vnr,[...t[0]||=[P(`i`,{class:`requestFailedIcon`},[P(`svg`,{fill:`currentColor`,height:`100%`,viewBox:`0 0 256 256`,width:`100%`,xmlns:`http://www.w3.org/2000/svg`},[P(`path`,{d:`M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z`})])],-1),F(` Request Failed `,-1)]])}var _nr,vnr,ynr,bnr=s((()=>{T9(),B(),_nr={},vnr={class:`requestFailed`},ynr=w9(_nr,[[`render`,gnr],[`__scopeId`,`data-v-29140773`]])}));function xnr(e,t){return j(),M(`div`,Cnr,[...t[0]||=[P(`svg`,{fill:`currentColor`,height:`16`,viewBox:`0 0 256 256`,width:`16`,xmlns:`http://www.w3.org/2000/svg`},[P(`path`,{d:`M56.88,31.93A12,12,0,1,0,39.12,48.07l7.81,8.59A108,108,0,0,0,31.85,177.23L21,209.66A20,20,0,0,0,46.34,235l32.43-10.81a108.08,108.08,0,0,0,112.55-8.66l7.8,8.58a12,12,0,0,0,17.76-16.14ZM128,212a83.91,83.91,0,0,1-42-11.27,12,12,0,0,0-9.82-1l-29.79,9.93,9.93-29.79a12,12,0,0,0-1-9.82,84,84,0,0,1,7.94-95.49l111.84,123A83.83,83.83,0,0,1,128,212Zm108-84a107.22,107.22,0,0,1-8.65,42.4A12,12,0,0,1,205.28,161a84.07,84.07,0,0,0-102.77-113,12,12,0,0,1-7.27-22.87A108.08,108.08,0,0,1,236,128Z`})],-1),F(` Request Rejected `,-1)]])}var Snr,Cnr,wnr,Tnr=s((()=>{T9(),B(),Snr={},Cnr={class:`requestRejected`},wnr=w9(Snr,[[`render`,xnr],[`__scopeId`,`data-v-9803a54c`]])}));function Enr(e,t){return j(),M(`div`,Onr,[...t[0]||=[ni(`<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-acc2c0d8><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-acc2c0d8></rect><rect height="14.25" rx="7.125" stroke="currentColor" stroke-width="1.75" width="14.25" x="0.875" y="0.875" data-v-acc2c0d8></rect><g clip-path="url(#clip0_74_840)" data-v-acc2c0d8><path d="M11.6037 6.841L7.59117 10.8535C7.49742 10.9472 7.37029 10.9998 7.23774 10.9998C7.10519 10.9998 6.97806 10.9472 6.8843 10.8535L4.64617 8.6035C4.55257 8.50975 4.5 8.38269 4.5 8.25022C4.5 8.11774 4.55257 7.99068 4.64617 7.89694L5.27117 7.27194C5.36488 7.17862 5.49174 7.12623 5.62399 7.12623C5.75623 7.12623 5.88309 7.17862 5.9768 7.27194L7.25024 8.50694L10.274 5.52037C10.3677 5.42696 10.4946 5.37451 10.627 5.37451C10.7593 5.37451 10.8862 5.42696 10.9799 5.52037L11.6034 6.131C11.6502 6.17746 11.6875 6.23274 11.7129 6.29366C11.7383 6.35458 11.7514 6.41993 11.7514 6.48593C11.7514 6.55194 11.7384 6.6173 11.713 6.67824C11.6877 6.73918 11.6505 6.7945 11.6037 6.841Z" fill="currentColor" data-v-acc2c0d8></path></g><defs data-v-acc2c0d8><clipPath id="clip0_74_840" data-v-acc2c0d8><rect height="8" rx="4" width="8" x="4" y="4" data-v-acc2c0d8></rect></clipPath></defs></svg> Request Succeeded `,2)]])}var Dnr,Onr,knr,Anr=s((()=>{T9(),B(),Dnr={},Onr={class:`requestSuccess`},knr=w9(Dnr,[[`render`,Enr],[`__scopeId`,`data-v-acc2c0d8`]])}));function jnr(e){let t=Mnr[e];if(t)return t;if(e.endsWith(`+json`))return{extension:`.json`,raw:!0,language:`json`}}var Mnr,Nnr=s((()=>{Mnr={"application/epub+zip":{extension:`.epub`},"application/gzip":{extension:`.gz`},"application/java-archive":{extension:`.jar`},"application/javascript":{extension:`.js`,raw:!0},"application/json":{extension:`.json`,raw:!0,language:`json`},"application/ld+json":{extension:`.jsonld`,raw:!0,language:`json`},"application/problem+json":{extension:`.json`,raw:!0,language:`json`},"application/vnd.api+json":{extension:`.json`,raw:!0,language:`json`},"application/dns-json":{extension:`.json`,raw:!0,language:`json`},"application/x-ndjson":{extension:`.ndjson`,raw:!0,language:`json`},"application/ndjson":{extension:`.ndjson`,raw:!0,language:`json`},"application/msword":{extension:`.doc`},"application/octet-stream":{extension:`.bin`},"application/ogg":{extension:`.ogx`},"application/pdf":{extension:`.pdf`,preview:`object`},"application/rtf":{extension:`.rtf`,raw:!0},"application/vnd.amazon.ebook":{extension:`.azw`},"application/vnd.apple.installer+xml":{extension:`.mpkg`,raw:!0,language:`xml`},"application/vnd.mozilla.xul+xml":{extension:`.xul`,raw:!0,language:`xml`},"application/vnd.ms-excel":{extension:`.xls`},"application/vnd.ms-fontobject":{extension:`.eot`},"application/vnd.ms-powerpoint":{extension:`.ppt`},"application/vnd.oasis.opendocument.presentation":{extension:`.odp`},"application/vnd.oasis.opendocument.spreadsheet":{extension:`.ods`},"application/vnd.oasis.opendocument.text":{extension:`.odt`},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:`.pptx`},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:`.xlsx`},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:`.docx`},"application/vnd.rar":{extension:`.rar`},"application/vnd.visio":{extension:`.vsd`},"application/x-7z-compressed":{extension:`.7z`},"application/x-abiword":{extension:`.abw`},"application/x-bzip":{extension:`.bz`},"application/x-bzip2":{extension:`.bz2`},"application/x-cdf":{extension:`.cda`},"application/x-csh":{extension:`.csh`},"application/x-freearc":{extension:`.arc`},"application/x-httpd-php":{extension:`.php`,raw:!0},"application/x-sh":{extension:`.sh`,raw:!0},"application/x-tar":{extension:`.tar`},"application/xhtml+xml":{extension:`.xhtml`,raw:!0,language:`html`},"application/xml":{extension:`.xml`,raw:!0,language:`xml`},"application/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"application/zip":{extension:`.zip`},"audio/aac":{extension:`.aac`},"audio/midi":{extension:`.midi`},"audio/mpeg":{extension:`.mp3`,preview:`audio`},"audio/ogg":{extension:`.oga`},"audio/wav":{extension:`.wav`},"audio/webm":{extension:`.weba`},"font/otf":{extension:`.otf`},"font/ttf":{extension:`.ttf`},"font/woff":{extension:`.woff`},"font/woff2":{extension:`.woff2`},"image/apng":{extension:`.apng`,preview:`image`,alpha:!0},"image/avif":{extension:`.avif`,preview:`image`},"image/bmp":{extension:`.bmp`,preview:`image`},"image/gif":{extension:`.gif`,preview:`image`,alpha:!0},"image/jpeg":{extension:`.jpg`,preview:`image`},"image/png":{extension:`.png`,preview:`image`,alpha:!0},"image/svg+xml":{extension:`.svg`,raw:!0,language:`xml`,preview:`image`,alpha:!0},"image/tiff":{extension:`.tiff`},"image/vnd.microsoft.icon":{extension:`.ico`,preview:`image`},"image/webp":{extension:`.webp`,preview:`image`,alpha:!0},"text/calendar":{extension:`.ics`,raw:!0},"text/css":{extension:`.css`,raw:!0,language:`css`},"text/csv":{extension:`.csv`,raw:!0},"text/html":{extension:`.html`,raw:!0,language:`html`,preview:`object`},"text/javascript":{extension:`.js`,raw:!0},"text/plain":{extension:`.txt`,raw:!0},"text/xml":{extension:`.xml`,raw:!0,language:`xml`},"text/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"video/3gpp":{extension:`.3gp`},"audio/3gpp":{extension:`.3gp`},"video/3gpp2":{extension:`.3g2`},"audio/3gpp2":{extension:`.3g2`},"video/mp2t":{extension:`.ts`},"video/mp4":{extension:`.mp4`,preview:`video`},"video/mpeg":{extension:`.mpeg`},"video/ogg":{extension:`.ogv`},"video/webm":{extension:`.webm`,preview:`video`},"video/x-msvideo":{extension:`.avi`}}}));function Pnr(e){let t=``;if(e){let n=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];n&&(t=Inr(n.trim()))}return t}function Fnr({data:e,headers:t}){let n=Rnr(t),r=n.find(e=>e.name.toLowerCase()===`content-type`),i=r?.value?vc(r.value):void 0;return{mimeType:i,attachmentFilename:Pnr(n.find(e=>e.name.toLowerCase()===`content-disposition`)?.value??``),dataUrl:Lnr(e)?URL.createObjectURL(e):typeof e==`string`?URL.createObjectURL(new Blob([e],{type:i?i.toString():void 0})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{type:i?i.toString():void 0})):``}}var Inr,Lnr,Rnr,znr=s((()=>{yc(),Inr=e=>{try{return decodeURIComponent(e)}catch{return e}},Lnr=e=>e instanceof Blob,Rnr=e=>e?Object.keys(e).map(t=>({name:t,value:e[t]??``})):[]}));function Bnr(e,t){return j(),M(`div`,Hnr,[P(`div`,Unr,[A(e.$slots,`default`)])])}var Vnr,Hnr,Unr,Wnr,Gnr=s((()=>{T9(),B(),Vnr={},Hnr={class:`flex justify-center px-2 py-3`},Unr={class:`text-c-3 p-2 text-sm`},Wnr=w9(Vnr,[[`render`,Bnr]])})),Knr,qnr,Jnr,Ynr,Xnr,Znr=s((()=>{Gnr(),B(),Knr=[`src`],qnr=[`src`,`type`],Jnr=[`src`,`type`],Ynr=[`data`,`type`],Xnr=k({__name:`ResponseBodyPreview`,props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){let t=E(!1);return dr(()=>e.src,()=>{t.value=!1}),(n,r)=>!t.value&&e.src?(j(),M(`div`,{key:0,class:lt([`flex justify-center overflow-auto rounded-b`,{"bg-preview p-2":e.alpha}])},[e.mode===`image`?(j(),M(`img`,{key:0,class:lt([`h-full max-w-full`,{rounded:e.alpha}]),src:e.src,onError:r[0]||=e=>t.value=!0},null,42,Knr)):e.mode===`video`?(j(),M(`video`,{key:1,autoplay:``,controls:``,width:`100%`,onError:r[1]||=e=>t.value=!0},[P(`source`,{src:e.src,type:e.type},null,8,qnr)],32)):e.mode===`audio`?(j(),M(`audio`,{key:2,class:`my-12`,controls:``,onError:r[2]||=e=>t.value=!0},[P(`source`,{src:e.src,type:e.type},null,8,Jnr)],32)):(j(),M(`object`,{key:3,class:`aspect-[4/3] w-full`,data:e.src,type:e.type,onError:r[3]||=e=>t.value=!0},null,40,Ynr))],2)):(j(),N(Wnr,{key:1},{default:O(()=>[...r[4]||=[F(`Preview unavailable`,-1)]]),_:1}))}})})),Qnr,$nr=s((()=>{T9(),Znr(),Qnr=w9(Xnr,[[`__scopeId`,`data-v-92f84612`]])})),err,trr=s((()=>{B(),dG(),err=k({__name:`ResponseBodyRaw`,props:{content:{},language:{}},setup(e){let t=e;return(n,r)=>(j(),N(D(uG),{class:`codeBlock`,content:t.content,lang:e.language},null,8,[`content`,`lang`]))}})})),nrr,rrr=s((()=>{trr(),nrr=err})),irr,arr=s((()=>{Gnr(),$nr(),rrr(),B(),irr=k({__name:`ResponseBody`,props:{data:{},responseBody:{},mediaConfig:{},display:{}},setup(e){return(t,n)=>(j(),M(L,null,[e.mediaConfig?.raw&&e.display===`raw`&&e.mediaConfig.language?(j(),N(nrr,{key:e.responseBody.dataUrl,content:e.data,language:e.mediaConfig.language},null,8,[`content`,`language`])):I(``,!0),e.mediaConfig?.preview&&e.display===`preview`?(j(),N(Qnr,{key:e.responseBody.dataUrl,alpha:e.mediaConfig.alpha,mode:e.mediaConfig.preview,src:e.responseBody.dataUrl,type:e.responseBody.mimeType?.essence??``},null,8,[`alpha`,`mode`,`src`,`type`])):I(``,!0),!e.mediaConfig?.raw&&!e.mediaConfig?.preview?(j(),N(Wnr,{key:2},{default:O(()=>[...n[0]||=[F(` Binary file `,-1)]]),_:1})):I(``,!0)],64))}})})),orr,srr=s((()=>{arr(),orr=irr})),crr,lrr,urr=s((()=>{B(),crr={class:`text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5`},lrr=k({__name:`ResponseBodyToggle`,props:{modelValue:{}},emits:[`toggle`],setup(e,{emit:t}){let n=t;return(t,r)=>(j(),M(`div`,crr,[P(`button`,{class:lt([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue===`preview`}]),type:`button`,onClick:r[0]||=Ka(e=>n(`toggle`,`preview`),[`stop`])},` Preview `,2),P(`button`,{class:lt([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue===`raw`}]),type:`button`,onClick:r[1]||=Ka(e=>n(`toggle`,`raw`),[`stop`])},` Raw `,2)]))}})})),drr,frr=s((()=>{urr(),drr=lrr}));function prr(e,t){return j(),M(`div`,hrr,[...t[0]||=[P(`div`,{class:`playIcon`},[P(`svg`,{fill:`currentColor`,height:`32`,viewBox:`0 0 256 256`,width:`32`,xmlns:`http://www.w3.org/2000/svg`},[P(`path`,{d:`M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z`})])],-1),F(` Sending Request to Endpoint `,-1)]])}var mrr,hrr,grr,_rr=s((()=>{T9(),B(),mrr={},hrr={class:`sendingRequest`},grr=w9(mrr,[[`render`,prr],[`__scopeId`,`data-v-a375f414`]])})),vrr,yrr,brr,xrr,Srr,Crr,wrr,Trr,Err=s((()=>{anr(),unr(),hnr(),bnr(),Tnr(),Anr(),Nnr(),znr(),srr(),frr(),_rr(),B(),Qs(),dG(),vrr={key:1,class:`autosendContainer`},yrr={key:2,class:`autosendContainer`},brr={class:`requestContent`},xrr={class:`requestContentInner`},Srr={key:0,class:`code`},Crr={key:1,class:`code`},wrr={class:`requestHeaderContainer`},Trr=k({__name:`RequestPreview`,props:{request:{},response:{},state:{}},setup(e){let t=z(()=>{if(e.response?.success)return{data:e.response.data.responseBody,headers:e.response.data.headers};if(e.response?.error?.code===`REQUEST_NOT_OK`)return{data:e.response.error.detail.responseBody,headers:e.response.error.detail.headers}}),n=E(!1),r=z(()=>e.state===`requestFailed`||e.state===`requiresApproval`||n.value),i=z(()=>Fnr({data:t.value?.data,headers:t.value?.headers})),a=z(()=>jnr(i.value.mimeType?.essence??``)),o=E();function s(e){o.value=e}let c=z(()=>o.value?o.value:a.value?.raw&&!a.value.preview?`raw`:a.value?.preview?`preview`:`raw`);return(o,l)=>(j(),M(`div`,{class:lt([`requestPreview`,{open:r.value,succeeded:e.state===`requestSucceeded`}])},[e.state===`approved`?(j(),N(mnr,{key:0})):e.state===`buildingRequest`?(j(),M(`div`,vrr,[R(lnr)])):e.state===`requiresApproval`?(j(),M(`div`,yrr,[R(inr)])):e.state===`sendingRequest`?(j(),M(`button`,{key:3,class:`toggleButton`,type:`button`,onClick:l[0]||=e=>n.value=!n.value},[R(grr),r.value?(j(),N(D(zs),{key:0})):(j(),N(D(Bs),{key:1}))])):e.state===`requestSucceeded`?(j(),M(`button`,{key:4,class:`toggleButton`,type:`button`,onClick:l[1]||=e=>n.value=!n.value},[R(knr),r.value?(j(),N(D(zs),{key:0})):(j(),N(D(Bs),{key:1}))])):e.state===`rejected`?(j(),M(`button`,{key:5,class:`toggleButton`,type:`button`,onClick:l[2]||=e=>n.value=!n.value},[R(wnr),r.value?(j(),N(D(zs),{key:0})):(j(),N(D(Bs),{key:1}))])):e.state===`requestFailed`?(j(),N(ynr,{key:6})):I(``,!0),P(`div`,brr,[P(`div`,xrr,[e.request?(j(),M(`div`,Srr,[l[4]||=P(`div`,{class:`requestHeaderContainer`},[P(`h1`,null,`Request`)],-1),R(D(uG),{class:`codeBlock`,content:JSON.stringify(e.request,null,2),lang:`json`},null,8,[`content`])])):I(``,!0),t.value?(j(),M(`div`,Crr,[P(`div`,wrr,[l[5]||=P(`h1`,null,`Response`,-1),a.value?.raw&&a.value.preview?(j(),N(drr,{key:0,modelValue:c.value,"onUpdate:modelValue":l[3]||=e=>c.value=e,onToggle:s},null,8,[`modelValue`])):I(``,!0)]),R(orr,{data:t.value.data,display:c.value,mediaConfig:a.value,responseBody:i.value},null,8,[`data`,`display`,`mediaConfig`,`responseBody`])])):I(``,!0)])])],2))}})})),Drr,Orr=s((()=>{T9(),Err(),Drr=w9(Trr,[[`__scopeId`,`data-v-e049f4c9`]])}));function krr(e){return e.type===`tool-execute-request`&&e.state===`input-available`&&e.input?.method?.toLowerCase()!==`get`}function Arr(){let e=x9(),t=z(()=>e.chat.messages.filter(e=>e.parts.some(krr)).flatMap(e=>e.parts).filter(krr));async function n(n){let r=t.value.map(async t=>{if(!n)return await e.chat.addToolOutput({tool:i6n,toolCallId:t.toolCallId,state:`output-error`,errorText:`The user denied the request.`});await j5n({documentSettings:P5n(e.workspaceStore),proxyUrl:e.proxyUrl.value,input:t.input,toolCallId:t.toolCallId,chat:e.chat})});await Promise.all(r)}return{approvalRequiredParts:t,respondToRequestApprovals:n}}var jrr=s((()=>{a6n(),M5n(),R7(),C9(),B()})),Mrr,Nrr,Prr,Frr=s((()=>{C9(),Orr(),jrr(),B(),Mrr={class:`executeRequestTool`},Nrr={key:0,class:`text-c-2 py-3`,role:`status`},Prr=k({__name:`ExecuteRequestTool`,props:{messagePart:{}},setup(e){let t=x9(),n=z(()=>e.messagePart.value.state===`input-streaming`?`buildingRequest`:e.messagePart.value.state===`approval-responded`&&t.chat.status===`submitted`?`sendingRequest`:krr(e.messagePart.value)?`requiresApproval`:e.messagePart.value.state===`output-available`?e.messagePart.value.output.success?`requestSucceeded`:`requestFailed`:e.messagePart.value.state===`output-error`?`rejected`:null);return(t,r)=>(j(),M(`div`,Mrr,[e.messagePart.value.state===`output-error`?(j(),M(`p`,Nrr,T(e.messagePart.value.errorText),1)):n.value?(j(),N(Drr,{key:1,request:e.messagePart.value.input,response:e.messagePart.value.output,state:n.value},null,8,[`request`,`response`,`state`])):I(``,!0)]))}})})),Irr,Lrr=s((()=>{T9(),Frr(),Irr=w9(Prr,[[`__scopeId`,`data-v-0c85bad4`]])}));function Rrr(e,t){return j(),M(`div`,Brr,[...t[0]||=[P(`div`,{class:`playIcon`},null,-1),F(` Loading APIs... `,-1)]])}var zrr,Brr,Vrr,Hrr=s((()=>{T9(),B(),zrr={},Brr={class:`loadingApiSpecs`},Vrr=w9(zrr,[[`render`,Rrr],[`__scopeId`,`data-v-0248d9dc`]])})),Urr,Wrr,Grr=s((()=>{Hrr(),B(),Urr={key:0},Wrr=k({__name:`GetOpenAPISpecsSummary`,props:{messagePart:{},message:{}},setup(e){let t=E(!1);return dr(()=>e.message,()=>{let n=e.message.parts,r=n.findIndex(t=>`toolCallId`in t&&t.toolCallId===e.messagePart.value.toolCallId);t.value=!!n[r+1]}),(e,n)=>t.value?I(``,!0):(j(),M(`div`,Urr,[R(Vrr)]))}})})),Krr,qrr=s((()=>{Grr(),Krr=Wrr})),Jrr,Yrr,Xrr=s((()=>{B(),Jrr={class:`contextItemText`},Yrr=k({__name:`ContextItem`,props:{loading:{type:Boolean}},setup(e){return(t,n)=>(j(),M(`div`,{class:lt([`contextItem`,{shimmer:e.loading}])},[P(`span`,Jrr,[A(t.$slots,`default`,{},void 0,!0)])],2))}})})),E9,Zrr=s((()=>{T9(),Xrr(),E9=w9(Yrr,[[`__scopeId`,`data-v-0509fef2`]])}));function Qrr(e,t){return j(),M(`div`,eir,[...t[0]||=[P(`div`,{class:`playIcon`},null,-1),F(` Retrieving relevant information... `,-1)]])}var $rr,eir,tir,nir=s((()=>{T9(),B(),$rr={},eir={class:`sendingRequest`},tir=w9($rr,[[`render`,Qrr],[`__scopeId`,`data-v-43864661`]])})),D9,O9,rir,iir=s((()=>{nc(),js(),Du(),hG(),D9=e=>V(e)?Object.entries(e):[],O9=(e,t)=>typeof e==`string`&&e?e:t,rir=e=>{if(!V(e))return[];let t=Eu(e),n=V(t.info)?O9(t.info.title,``):``,r=n?`${n} - `:``;if(typeof t.asyncapi==`string`){let e=D9(t.operations).flatMap(([e,t])=>{let n=mG(t);if(!V(n))return[];let i=mG(n.channel),a=V(i)?O9(i.address,`Unknown address`):`Unknown address`;return[`${r}${O9(n.action,`Operation`)} ${a}: ${O9(n.title,O9(n.summary,e))}`]}),n=D9(t.channels).flatMap(([e,t])=>{let n=mG(t);if(!V(n))return[];let i=O9(n.address,`Unknown address`);return[`${r}Channel ${i}: ${O9(n.title,e)}`,...D9(n.messages).map(([e,t])=>{let n=mG(t);return`${r}Message ${V(n)?O9(n.title,O9(n.name,e)):e} (${i})`})]});return[...e,...n]}return D9(t.paths).flatMap(([e,t])=>D9(t).flatMap(([t,n])=>tc(t)&&V(n)?[`${r}${O9(n.summary,`${t.toUpperCase()} ${e}`)}`]:[]))}})),air,oir,sir,cir,lir,uir=s((()=>{C9(),Zrr(),nir(),iir(),B(),Qz(),air={key:0},oir={key:1,class:`operations`},sir={class:`overflowPopover`},cir=5,lir=k({__name:`SearchOpenAPIOperationsTool`,props:{messagePart:{},message:{}},setup(e){let t=E(!1);dr(()=>e.message,()=>{let n=e.message.parts,r=n.findIndex(t=>`toolCallId`in t&&t.toolCallId===e.messagePart.value.toolCallId);t.value=!!n[r+1]});let n=z(()=>{if(e.messagePart.value.output)return e.messagePart.value.output.flatMap(rir)}),r=z(()=>n.value?.slice(0,cir)),i=z(()=>n.value?.slice(cir)??[]),a=x9();return(o,s)=>(j(),M(L,null,[e.messagePart.value.state===`input-available`&&D(a).chat.status===`streaming`?(j(),M(`div`,air,[R(tir)])):I(``,!0),n.value?(j(),M(`div`,oir,[(j(!0),M(L,null,jr(r.value,(e,n)=>(j(),N(E9,{key:n,loading:!t.value},{default:O(()=>[F(T(e),1)]),_:2},1032,[`loading`]))),128)),i.value.length?(j(),N(D(Zz),{key:0,placement:`bottom-start`},{popover:O(()=>[P(`div`,sir,[(j(!0),M(L,null,jr(i.value,(e,n)=>(j(),N(E9,{key:n,loading:!t.value},{default:O(()=>[F(T(e),1)]),_:2},1032,[`loading`]))),128))])]),default:O(()=>[R(E9,{loading:!t.value},{default:O(()=>[F(` +`+T(i.value.length),1)]),_:1},8,[`loading`])]),_:1})):I(``,!0)])):I(``,!0)],64))}})})),dir,fir=s((()=>{T9(),uir(),dir=w9(lir,[[`__scopeId`,`data-v-fa6f5acc`]])})),pir,mir=s((()=>{B(),Xz(),pir=k({__name:`Text`,props:{messagePart:{}},setup(e){return(t,n)=>(j(),N(D(Jz),{value:e.messagePart.value.text},null,8,[`value`]))}})})),hir,gir=s((()=>{mir(),hir=pir})),k9,_ir=s((()=>{k9={LIMIT_REACHED:`LIMIT_REACHED`}})),vir,yir=s((()=>{vir=1e4}));function bir(){let{api:e}=x9(),t=E(``),n=ytt(async t=>{let n=await e.search(t);n.success&&(i.value=n.data.results)},200),r=z({get:()=>t.value,set:e=>{n(e),t.value=e}}),i=E([]);return n(``),{query:r,results:i}}var xir=s((()=>{C9(),B(),jT()})),Sir,Cir,wir,Tir,Eir,Dir,Oir,kir,Air,jir=s((()=>{C9(),xir(),B(),jX(),gS(),nZ(),Sir={key:0,class:`catalog custom-scroll`},Cir=[`onClick`],wir={class:`left`},Tir=[`src`],Eir={class:`right`},Dir={class:`item-top`},Oir={class:`version`},kir={class:`description`},Air=k({__name:`Catalog`,props:{modal:{}},setup(e){let t=bir(),n=x9(),r=z(()=>t.results.value.filter(e=>!n.registryDocuments.value.some(t=>t.namespace===e.namespace&&t.slug===e.slug)).map(e=>({...e,label:e.title,id:e.id})));return(i,a)=>(j(),N(D(AX),{class:`catalogModal`,state:e.modal},{default:O(()=>[R(D(tZ),{autofocus:``,class:`searchInput`,modelValue:D(t).query.value,"onUpdate:modelValue":a[0]||=e=>D(t).query.value=e??``},null,8,[`modelValue`]),r.value.length?(j(),M(`div`,Sir,[(j(!0),M(L,null,jr(r.value,t=>(j(),M(`button`,{key:t.id,class:`item`,type:`button`,onClick:()=>{D(n).addDocument(t),e.modal.hide()}},[P(`div`,wir,[t.logoUrl?(j(),M(`img`,{key:0,class:`logo`,src:t.logoUrl},null,8,Tir)):(j(),N(D(fS),{key:1,class:`logo`,logo:`Openapi`}))]),P(`div`,Eir,[P(`div`,Dir,[P(`span`,null,T(t.title),1),P(`span`,Oir,`v`+T(t.currentVersion),1)]),P(`span`,kir,` @`+T(t.namespace)+`/`+T(t.slug),1)])],8,Cir))),128))])):I(``,!0)]),_:1},8,[`state`]))}})})),Mir,Nir=s((()=>{T9(),jir(),Mir=w9(Air,[[`__scopeId`,`data-v-18b2aea2`]])})),Pir,Fir,Iir,Lir=s((()=>{Nir(),B(),jX(),Qs(),LT(),Pir={class:`dropdown-item`},Fir={class:`dropdown-item`},Iir=k({__name:`ActionsDropdown`,emits:[`uploadApi`],setup(e){let t=kX();return(e,n)=>(j(),M(L,null,[R(D(MT),{offset:{crossAxis:-5,mainAxis:5}},{items:O(()=>[R(D(IT),{onClick:n[0]||=t=>e.$emit(`uploadApi`)},{default:O(()=>[P(`div`,Pir,[R(D(gye)),n[2]||=F(` Upload API `,-1)])]),_:1}),R(D(IT),{onClick:n[1]||=e=>D(t).show()},{default:O(()=>[P(`div`,Fir,[R(D(Ks)),n[3]||=F(` Search Catalog `,-1)])]),_:1})]),default:O(()=>[A(e.$slots,`default`,{},void 0,!0)]),_:3}),D(t).open?(j(),N(Mir,{key:0,modal:D(t)},null,8,[`modal`])):I(``,!0)],64))}})})),Rir,zir=s((()=>{T9(),Lir(),Rir=w9(Iir,[[`__scopeId`,`data-v-e2c3bd19`]])})),Bir,Vir,Hir,Uir,Wir=s((()=>{B(),Qs(),Bir={class:`approvalSection`},Vir={class:`approvalText flex items-center gap-1.5`},Hir={class:`approveContainer`},Uir=k({__name:`ApprovalSection`,emits:[`approve`,`reject`],setup(e,{emit:t}){let n=t;return(e,t)=>(j(),M(`div`,Bir,[P(`strong`,Vir,[R(D(Us),{class:`text-blue size-4`,weight:`bold`}),t[2]||=F(` One or more requests require approval. `,-1)]),P(`div`,Hir,[P(`button`,{class:`actionButton rejectButton`,type:`button`,onClick:t[0]||=e=>n(`reject`)},` Reject `),P(`button`,{class:`actionButton approveButton`,type:`button`,onClick:t[1]||=e=>n(`approve`)},` Approve `)])]))}})})),Gir,Kir=s((()=>{T9(),Wir(),Gir=w9(Uir,[[`__scopeId`,`data-v-f493d089`]])})),qir,Jir,Yir=s((()=>{_ir(),B(),Qs(),qir={key:0,class:`error gap-1.5`},Jir=k({__name:`ErrorMessage`,props:{error:{}},setup(e){let t=[k9.LIMIT_REACHED];return(n,r)=>t.includes(e.error.code)?I(``,!0):(j(),M(`div`,qir,[R(D(Us),{class:`text-red size-4`,weight:`bold`}),F(` `+T(e.error.message),1)]))}})})),Xir,Zir=s((()=>{T9(),Yir(),Xir=w9(Jir,[[`__scopeId`,`data-v-130cb1d5`]])}));function Qir(){let{dashboardUrl:e,mode:t,uploadedTmpDocumentUrl:n}=x9(),r=z(()=>t===`full`?e:n.value?`${e}/register?flow=oss-agent&docUrl=${n.value}`:e);function i(){window.location.assign(r.value)}return{signupLink:r,navigateToSignup:i}}var $ir=s((()=>{C9(),B()})),ear,tar,nar,rar,iar,aar,oar=s((()=>{L7(),$ir(),B(),Qs(),ear={class:`freeMessagesInfoSection`},tar={class:`infoText flex items-center gap-1.5`},nar=[`href`],rar={class:`actionsContainer`},iar=[`href`],aar=k({__name:`FreeMessagesInfoSection`,setup(e){let t=E(!1),{signupLink:n}=Qir();function r(){t.value=!0}return(e,i)=>or((j(),M(`div`,ear,[P(`strong`,tar,[R(D(Us),{class:`text-blue size-4`,weight:`bold`}),P(`a`,{class:`underline`,href:D(n),target:`_blank`},`Sign up for Agent Scalar`,8,nar),i[0]||=F(` to continue without hitting limits. `,-1)]),P(`div`,rar,[P(`a`,{class:`actionButton upgradeButton`,href:D(I7).AGENT_SCALAR_DOCUMENTATION,target:`_blank`,type:`button`},` Read more `,8,iar),P(`button`,{"aria-label":`Close`,class:`closeButton`,type:`button`,onClick:r},[R(D(Zs),{class:`size-4`,weight:`bold`})])])],512)),[[za,!t.value]])}})})),sar,car=s((()=>{T9(),oar(),sar=w9(aar,[[`__scopeId`,`data-v-1921dede`]])})),lar,uar,dar,far,par=s((()=>{$ir(),B(),Qs(),lar={class:`paymentSection`},uar={class:`approvalText flex items-center gap-1.5`},dar={class:`paymentContainer`},far=k({__name:`PaymentSection`,setup(e){let{navigateToSignup:t}=Qir();return(e,n)=>(j(),M(`div`,lar,[P(`strong`,uar,[R(D(Us),{class:`text-blue size-4`,weight:`bold`}),n[1]||=F(` You've used up your complimentary Scalar Credits. Sign up to get free Credits. `,-1)]),P(`div`,dar,[P(`button`,{class:`actionButton approveButton`,type:`button`,onClick:n[0]||=(...e)=>D(t)&&D(t)(...e)},` Sign up `),n[2]||=ni(`<div class="paymentInfo" data-v-9d163ea1><h3 data-v-9d163ea1>$0 <span data-v-9d163ea1>/ month</span></h3><div class="paymentInfoSection" data-v-9d163ea1><div class="paymentInfoItem" data-v-9d163ea1><span data-v-9d163ea1>Credits</span><span data-v-9d163ea1>100</span></div><div class="paymentInfoItem" data-v-9d163ea1><span data-v-9d163ea1>MCP Servers</span><span data-v-9d163ea1>Unlimited</span></div><div class="paymentInfoItem" data-v-9d163ea1><span data-v-9d163ea1>Base monthly total</span><span data-v-9d163ea1>$0.00</span></div></div><div class="paymentInfoSection" data-v-9d163ea1><div class="paymentInfoItem" data-v-9d163ea1><span data-v-9d163ea1>Additional Credits</span><span data-v-9d163ea1>+ $0.02 per Credit</span></div></div></div>`,1)])]))}})})),mar,har=s((()=>{T9(),par(),mar=w9(far,[[`__scopeId`,`data-v-9d163ea1`]])})),gar,_ar,yar,bar,xar=s((()=>{C9(),xir(),B(),Qs(),Qz(),F0n(),gar=[`onClick`],_ar=[`src`],yar={key:1,class:`searchResultsEmpty`},bar=k({__name:`SearchPopover`,setup(e){let t=x9(),n=bir(),r=z(()=>n.results.value.filter(e=>!t.registryDocuments.value.some(t=>t.namespace===e.namespace&&t.slug===e.slug)).map(e=>({...e,label:e.title,id:e.id})));return(e,i)=>(j(),N(D(Zz),{offset:0,placement:`top-start`,resize:``,style:{width:`220px`}},{popover:O(({close:e})=>[R(D(x7),{autofocus:``,class:`searchInput`,modelValue:D(n).query.value,placeholder:`Add an API`,"onUpdate:modelValue":i[0]||=e=>D(n).query.value=e??``},{prefix:O(()=>[R(D(Ks),{class:`searchIcon`})]),_:1},8,[`modelValue`]),r.value.length?(j(!0),M(L,{key:0},jr(r.value,n=>(j(),M(`button`,{key:n.id,class:`searchItem`,type:`button`,onClick:()=>{D(t).addDocument(n),e()}},[n.logoUrl?(j(),M(`img`,{key:0,class:`searchItemLogo`,src:n.logoUrl},null,8,_ar)):I(``,!0),P(`span`,null,T(n.title),1)],8,gar))),128)):(j(),M(`span`,yar,` No APIs found `))]),default:O(()=>[A(e.$slots,`default`,{},void 0,!0)]),_:3}))}})})),Sar,Car=s((()=>{T9(),xar(),Sar=w9(bar,[[`__scopeId`,`data-v-3e0405c7`]])})),war,Tar,Ear,Dar,Oar,kar,Aar,jar=s((()=>{B(),Qs(),iZ(),war={key:0,class:`flex items-center gap-1.5`},Tar={key:0,class:`uploadText`},Ear={key:1,class:`uploadText`},Dar={key:2,class:`uploadText`},Oar={key:1,class:`uploadText flex items-center gap-1.5`},kar={key:2,class:`uploadText flex items-center gap-1.5`},Aar=k({__name:`UploadSection`,props:{uploadState:{}},setup(e){let t=rZ(),n=z(()=>[`uploading`,`processing`,`loading`].includes(e.uploadState.type));return(r,i)=>(j(),M(`div`,{class:lt([`uploadSection`,{error:e.uploadState.type===`error`,done:e.uploadState.type===`done`}])},[n.value?(j(),M(`div`,war,[R(D(kw),{class:`text-blue`,loader:{...D(t),isLoading:!0},size:`lg`},null,8,[`loader`]),e.uploadState.type===`loading`?(j(),M(`strong`,Tar,` Loading API description… `)):e.uploadState.type===`processing`?(j(),M(`strong`,Ear,` Processing API description… `)):(j(),M(`strong`,Dar,` Uploading API description… `))])):I(``,!0),e.uploadState.type===`done`?(j(),M(`strong`,Oar,[R(D(Vs),{class:`icon text-green`}),i[0]||=F(` Your API description has been processed successfully. `,-1)])):I(``,!0),e.uploadState.type===`error`?(j(),M(`strong`,kar,[R(D(bbe),{class:`icon text-red`}),F(` `+T(e.uploadState.error),1)])):I(``,!0)],2))}})})),Mar,Nar=s((()=>{T9(),jar(),Mar=w9(Aar,[[`__scopeId`,`data-v-b82d2f3a`]])}));function Par(){let{chat:e}=x9();return z(()=>{if(!e.error)return;let t=F5n(e.error.message);return!t||!y(Far,t)?{message:e.error.message,code:`UNKNOWN_ERROR`}:se(Far,t)})}var Far,Iar=s((()=>{R7(),C9(),B(),Ce(),Far=C({message:S(),code:S(),status:w(le())})}));function Lar(e){return e.type.startsWith(`tool`)&&e.state===`input-available`}function Rar(){let e=x9();return{pendingClientToolParts:z(()=>e.chat.messages.filter(e=>e.parts.some(Lar)).flatMap(e=>e.parts).filter(Lar))}}var zar=s((()=>{C9(),B()})),Bar,Var,Har,Uar,War,Gar,Kar,qar,Jar,Yar,Xar,Zar,Qar,$ar,eor,tor,nor,ror=s((()=>{_ir(),yir(),J5n(),C9(),jrr(),zir(),Kir(),Zir(),car(),har(),Car(),Nar(),Iar(),zar(),B(),Qs(),nI(),iZ(),PE(),Bar={class:`actionContainer`},Var=[`disabled`],Har={class:`inputActionsContainer`},Uar={class:`inputActionsLeft`},War={class:`addAPIButton`,type:`button`},Gar={class:`addAPIButton`,type:`button`},Kar=[`src`],qar=[`onClick`],Jar={class:`inputActionsRight`},Yar={class:`sendCheckboxContinue`},Xar={key:0,class:`relative flex items-center gap-1.5`},Zar={class:`termsAgree`,for:`agentTermsAgree`},Qar={key:5,class:`addMoreContext`},$ar={class:`ml-auto flex items-center gap-1`},eor=[`onClick`],tor=[`alt`,`src`],nor=k({__name:`PromptForm`,emits:[`submit`,`uploadApi`],setup(e,{expose:t,emit:n}){let r=n;t({focusPrompt:u});let i=Cr(`agentPrompt`),a=x9(),o=z(()=>a.prompt.value.trim().length>0),s=z(()=>a.prompt.value.trim().length>vir),c=z(()=>a.chat.messages.length>1&&!a.getAgentKey?.()&&y?.value?.code!==k9.LIMIT_REACHED);dr(a.prompt,()=>{i?.value&&(a.prompt.value.length?(i.value.style.height=`auto`,i.value.style.height=i.value.scrollHeight+`px`):i.value.style.height=`0px`)});function l(e){e.isComposing||a.loading.value||e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),v(),window.scrollTo(0,document.body.scrollHeight))}function u(){i.value?.focus()}dr(()=>a.chat.status,e=>{(e===`ready`||e===`error`)&&i.value?.focus()});let{approvalRequiredParts:d,respondToRequestApprovals:f}=Arr(),{pendingClientToolParts:p}=Rar(),m=G5n();function h(){a.terms.accept()}let g=z(()=>Object.values(a.pendingDocuments).some(Boolean)),_=z(()=>{let e=s.value,t=!o.value,n=d.value.length>0,r=p.value.length>0,i=a.mode===`preview`,c=i&&!a.terms.accepted.value,l=i&&!!m.uploadState.value,u=g.value;return e||t||n||r||c||l||u});function v(){_.value||r(`submit`)}let y=Par();return(e,t)=>(j(),M(`div`,Bar,[D(m).uploadState.value||g.value?(j(),N(Mar,{key:0,uploadState:D(m).uploadState.value??{type:`loading`}},null,8,[`uploadState`])):I(``,!0),D(y)?(j(),N(Xir,{key:1,error:D(y)},null,8,[`error`])):I(``,!0),D(d).length?(j(),N(Gir,{key:2,onApprove:t[0]||=e=>D(f)(!0),onReject:t[1]||=e=>D(f)(!1)})):I(``,!0),D(y)?.code===D(k9).LIMIT_REACHED?(j(),N(mar,{key:3})):I(``,!0),c.value?(j(),N(sar,{key:4})):I(``,!0),P(`form`,{class:`promptForm`,onSubmit:Ka(v,[`prevent`])},[t[6]||=P(`label`,{class:`agentLabel`,for:`agentTextarea`},` Type a Request To get Started `,-1),or(P(`textarea`,{id:`agentTextarea`,ref:`agentPrompt`,"onUpdate:modelValue":t[2]||=e=>D(a).prompt.value=e,class:`prompt custom-scroll`,disabled:D(a).loading.value,name:`prompt`,placeholder:`Ask me anything…`,onKeydown:l},null,40,Var),[[Ga,D(a).prompt.value]]),P(`div`,Har,[P(`div`,Uar,[D(a).hideAddApi?I(``,!0):(j(),M(L,{key:0},[D(a).isLoggedIn?.value?(j(),N(Rir,{key:1,onUploadApi:t[3]||=t=>e.$emit(`uploadApi`)},{default:O(()=>[P(`button`,Gar,[R(D(qs),{class:`size-4`,weight:`bold`})])]),_:1})):(j(),N(Sar,{key:0},{default:O(()=>[P(`button`,War,[R(D(qs),{class:`size-4`,weight:`bold`})])]),_:1}))],64)),(j(!0),M(L,null,jr(D(a).registryDocuments.value,e=>(j(),M(`div`,{key:e.id,class:`apiPill`},[e.logoUrl?(j(),M(`img`,{key:0,class:`apiPillLogo`,src:e.logoUrl},null,8,Kar)):I(``,!0),F(` `+T(e.title)+` `,1),e.removable?(j(),M(`button`,{key:1,class:`apiPillRemove`,type:`button`,onClick:t=>D(a).removeDocument(e)},[R(D(Zs),{class:`size-4`,weight:`bold`})],8,qar)):I(``,!0)]))),128))]),P(`div`,Jar,[D(a).loading.value?I(``,!0):(j(),N(D(NE),{key:0,content:`Settings`},{default:O(()=>[R(D(eI),{class:`settingsButton h-7 w-7 p-1.5`,icon:D(Gs),label:`Scalar`,size:`md`,weight:`bold`,onClick:t[4]||=e=>D(a).settingsModal.show()},null,8,[`icon`])]),_:1})),P(`div`,Yar,[!D(a).terms.accepted.value&&D(a).mode===`preview`?(j(),M(`div`,Xar,[P(`input`,{id:`agentTermsAgree`,class:`sr-only`,type:`checkbox`,onChange:h},null,32),P(`label`,Zar,[R(D(Vs),{class:`termsAgreeIcon`,weight:`bold`}),t[5]||=F(` Agree to Terms & Conditions `,-1)])])):I(``,!0),D(a).loading.value?(j(),N(D(kw),{key:2,class:`loader h-7 w-7`,loader:{isLoading:D(a).loading.value,isValid:!1,clear:async()=>{},invalidate:async()=>{},isInvalid:!1,isActive:!1,validate:async()=>{},start:()=>{}},size:`2xl`},null,8,[`loader`])):(j(),N(D(eI),{key:1,class:`sendButton h-7 w-7 p-1.5`,disabled:_.value,icon:D(Jle),label:`Scalar`,size:`md`,type:`submit`,weight:`bold`},null,8,[`disabled`,`icon`]))])])])],32),D(a).chat.messages.length<=1&&!D(a).hideAddApi?(j(),M(`div`,Qar,[t[7]||=P(`span`,null,`Load additional APIs`,-1),P(`div`,$ar,[(j(!0),M(L,null,jr(D(a).curatedDocuments.value,e=>(j(),M(`button`,{key:e.id,class:`addAPIContext`,type:`button`,onClick:t=>D(a).addDocument(e)},[e.logoUrl?(j(),M(`img`,{key:0,alt:e.title,class:`size-4`,src:e.logoUrl},null,8,tor)):I(``,!0)],8,eor))),128))])])):I(``,!0)]))}})})),ior,aor=s((()=>{T9(),ror(),ior=w9(nor,[[`__scopeId`,`data-v-6aae4d61`]])})),oor,sor,cor,lor,uor=s((()=>{C9(),enr(),Lrr(),qrr(),fir(),gir(),aor(),B(),oor={class:`chat`},sor={key:0},cor={class:`formContainer`},lor=k({__name:`Chat`,emits:[`submit`,`uploadApi`],setup(e,{emit:t}){let n=t,r=x9();return(e,t)=>(j(),M(L,null,[P(`div`,oor,[(j(!0),M(L,null,jr(D(r).chat.messages,e=>(j(),M(L,{key:e.id},[e.role===`user`?(j(!0),M(L,{key:0},jr(e.parts,(t,n)=>(j(),M(`div`,{key:`${e.id}-${n}`,class:`userMessage`},[t.type===`text`?(j(),M(`p`,sor,T(t.text),1)):I(``,!0)]))),128)):I(``,!0),e.role===`assistant`?(j(!0),M(L,{key:1},jr(e.parts,(t,n)=>(j(),M(`div`,{key:`${e.id}-${n}`},[t.type===`text`?(j(),N(hir,{key:0,messagePart:Tn(t)},null,8,[`messagePart`])):I(``,!0),t.type===`tool-${D(`execute-request`)}`?(j(),N(Irr,{key:1,messagePart:Tn(t)},null,8,[`messagePart`])):I(``,!0),t.type===`tool-${D(`search-openapi-operations`)}`?(j(),N(dir,{key:2,message:fn(e),messagePart:Tn(t)},null,8,[`message`,`messagePart`])):I(``,!0),t.type===`tool-${D(`summarize-openapi-specs`)}`?(j(),N(Krr,{key:3,message:fn(e),messagePart:Tn(t)},null,8,[`message`,`messagePart`])):I(``,!0),t.type===`tool-${D(`ask-for-authentication`)}`?(j(),N($tr,{key:4,message:fn(e),messagePart:Tn(t)},null,8,[`message`,`messagePart`])):I(``,!0)]))),128)):I(``,!0)],64))),128)),t[2]||=P(`div`,{class:`spacer`},null,-1)]),P(`div`,cor,[R(ior,{onSubmit:t[0]||=e=>n(`submit`),onUploadApi:t[1]||=e=>n(`uploadApi`)})])],64))}})})),dor,por=s((()=>{T9(),uor(),dor=w9(lor,[[`__scopeId`,`data-v-6573ec87`]])}));function mor(e,t){return j(),M(`svg`,gor,[...t[0]||=[P(`path`,{"clip-rule":`evenodd`,d:`M31.0667 0C40.2667 0 48.3333 6.13333 52.6 14.9333H57.2667C59.6 14.9333 61.5333 16.8 61.5333 19.1333V32.2C61.5333 33.4667 60.8667 34.6 60 35.3333L63.3333 45.4V45.4667C63.5639 46.207 63.6166 46.9912 63.4874 47.7557C63.3582 48.5202 63.0505 49.2435 62.5895 49.8669C62.1284 50.4903 61.5269 50.9962 60.8338 51.3437C60.1406 51.6911 59.3754 51.8703 58.6 51.8667H54.3333C53.9895 52.4222 53.5082 52.8797 52.936 53.195C52.3638 53.5103 51.72 53.6728 51.0667 53.6667H47.0667C46.5764 53.6755 46.0892 53.5877 45.6328 53.4082C45.1765 53.2287 44.76 52.961 44.4071 52.6205C44.0542 52.28 43.7719 51.8733 43.5762 51.4237C43.3805 50.9741 43.2753 50.4903 43.2667 50C43.2667 47.9333 44.9333 46.2667 47 46.2667H51.0667C52.4667 46.2667 53.7333 46.9333 54.3333 48.0667H58.6C59.3333 48.0667 59.9333 47.4 59.6667 46.6L56.3333 36.3333H51.3333C49.9333 36.3333 48.6 35.6667 47.8 34.5333V34.4667L46.8 32.9333C46.7585 32.8643 46.6999 32.8072 46.6298 32.7675C46.5597 32.7279 46.4805 32.707 46.4 32.707C46.3195 32.707 46.2403 32.7279 46.1702 32.7675C46.1001 32.8072 46.0415 32.8643 46 32.9333L45.4667 34C45.1162 34.7065 44.5739 35.3 43.9019 35.7126C43.2299 36.1253 42.4552 36.3404 41.6667 36.3333H24.9333C23.4 36.3333 21.9333 35.7333 20.8667 34.6667H20.8L19.8667 33.6667C19.6667 33.4667 19.4667 33.3333 19.2 33.3333L17.4667 33.1333C17.3333 38.8667 13.4667 43.4667 8.73333 43.4667C3.93333 43.4667 0 38.6667 0 32.9333C0 32.2667 0 31.6667 0.133333 31.1333V31C0.8 26.8 3.46667 23.4667 6.93333 22.6C9.46667 9.93333 19.3333 0 31.0667 0ZM3.93333 31.5333C4.46667 28 6.93333 26.2 8.73333 26.2C10.7333 26.2 13.6 28.4 13.6 32.8667C13.6 34.4667 13.2667 35.7333 12.7333 36.7333C11.7333 38.7333 10.0667 39.6667 8.73333 39.6667C7.67025 39.6269 6.66506 39.1722 5.93333 38.4C5.8414 38.3142 5.75246 38.2253 5.66667 38.1333C5.19113 37.6008 4.80806 36.9924 4.53333 36.3333C4.0607 35.2169 3.83335 34.0119 3.86667 32.8V31.6667L3.93333 31.6V31.5333ZM24.3333 20.6667C24.3333 19.6667 25.2 18.8 26.2667 18.8H55.8667C56.9333 18.8 57.8 19.6667 57.7333 20.7333V30.7333C57.6667 31.8 56.8 32.6667 55.7333 32.6667H53.4C53.0667 32.6667 52.7333 32.6667 52.4 32.5333C51.5333 32.3333 50.7333 31.8667 50.4 31.3333L47.9333 27.6C47.7363 27.2901 47.4602 27.0383 47.1336 26.8706C46.8069 26.7028 46.4414 26.6251 46.0747 26.6455C45.7081 26.6658 45.3535 26.7835 45.0474 26.9865C44.7413 27.1894 44.4948 27.4702 44.3333 27.8L42.6667 31C42.4199 31.4974 42.04 31.9165 41.5692 32.2107C41.0984 32.505 40.5552 32.6628 40 32.6667L26.2 32.8C25.1333 32.8 24.2667 31.9333 24.2667 30.8667V20.6667H24.3333ZM11 22.2C13.5333 11.5333 22 3.86667 31 3.86667C37.9333 3.86667 44.4 8.2 48.3333 15H24.3333C21.4667 15 18.6 16 16.3333 17.8L16.2667 17.8667L10.9333 22.2H11Z`,fill:`currentColor`,"fill-rule":`evenodd`},null,-1)]])}var hor,gor,_or,vor=s((()=>{T9(),B(),hor={},gor={fill:`none`,height:`54`,viewBox:`0 0 64 54`,width:`64`,xmlns:`http://www.w3.org/2000/svg`},_or=w9(hor,[[`render`,mor]])})),yor,bor,xor,Sor,Cor,wor=s((()=>{L7(),C9(),aor(),vor(),B(),yor={class:`startContainer`},bor={class:`disclaimerText`},xor=[`href`],Sor=[`href`],Cor=k({__name:`Start`,emits:[`submit`,`uploadApi`],setup(e,{emit:t}){let n=t,{mode:r}=x9();return(e,t)=>(j(),M(`div`,yor,[R(_or,{class:`agentLogo`}),t[4]||=P(`p`,{class:`promptText`},`How can I help you today?`,-1),R(ior,{ref:`promptFormField`,onSubmit:t[0]||=e=>n(`submit`),onUploadApi:t[1]||=e=>n(`uploadApi`)},null,512),P(`p`,bor,[D(r)===`preview`?(j(),M(L,{key:0},[F(` By messaging Agent Scalar your API description will be temporarily uploaded to Scalar's servers. You must agree to our `)],64)):(j(),M(L,{key:1},[F(`By messaging Agent Scalar you agree to our `)],64)),P(`a`,{class:`disclaimerLink`,href:D(I7).TERMS_AND_CONDITIONS,target:`_blank`},`Terms`,8,xor),t[2]||=F(` and `,-1),P(`a`,{class:`disclaimerLink`,href:D(I7).PRIVACY_POLICY,target:`_blank`},`Privacy Policy`,8,Sor),t[3]||=F(`. `,-1)])]))}})})),Tor,Eor=s((()=>{T9(),wor(),Tor=w9(Cor,[[`__scopeId`,`data-v-b27bdc01`]])})),Dor,Oor,kor=s((()=>{C9(),por(),Eor(),B(),Dor={class:`wrapper`},Oor=k({__name:`Layout`,emits:[`submit`,`uploadApi`],setup(e,{emit:t}){let n=t,{chat:r}=x9();return(e,t)=>(j(),M(`div`,Dor,[D(r).messages.length&&(D(r).messages.length>1||D(r).status!==`submitted`)?(j(),N(dor,{key:0,onSubmit:t[0]||=e=>n(`submit`),onUploadApi:t[1]||=e=>n(`uploadApi`)})):(j(),N(Tor,{key:1,onSubmit:t[2]||=e=>n(`submit`),onUploadApi:t[3]||=e=>n(`uploadApi`)}))]))}})})),Aor,jor=s((()=>{T9(),kor(),Aor=w9(Oor,[[`__scopeId`,`data-v-f1eee0af`]])})),Mor,Nor,Por,For,Ior=s((()=>{B(),Mw(),Qs(),uB(),Mor={class:`overflow-x-auto`},Nor={key:1,class:`text-c-1 flex h-auto w-full items-center gap-0.75 rounded-b-lg px-3 py-1.5 text-base leading-[20px] whitespace-nowrap`},Por={class:`overflow-x-auto`},For=k({__name:`Selector`,props:{selectedServer:{},servers:{},target:{}},emits:[`update:modelValue`],setup(e,{expose:t,emit:n}){let r=n,i=z(()=>e.servers.map(e=>({id:e.url,label:e.url}))),a=z(()=>e.selectedServer?.url?.replace(/\/$/,``)||``),o=z(()=>i.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:a,serverOptions:i,selectedServer:e.selectedServer}),(t,n)=>i.value.length>1?(j(),N(D(oB),{key:0,ref:`elem`,class:`group`,modelValue:o.value,options:i.value,placement:`bottom-start`,resize:``,target:e.target,"onUpdate:modelValue":n[0]||=e=>r(`update:modelValue`,e.id)},{default:O(()=>[R(D(jw),{class:`bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-xl px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1`,variant:`ghost`},{default:O(()=>[n[1]||=P(`span`,{class:`sr-only`},`Server:`,-1),P(`span`,Mor,T(a.value||`Select a server`),1),R(D(zs),{class:`text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100`,weight:`bold`})]),_:1})]),_:1},8,[`modelValue`,`options`,`target`])):(j(),M(`div`,Nor,[n[2]||=P(`span`,{class:`sr-only`},`Server:`,-1),P(`span`,Por,T(a.value),1)]))}})})),Lor,Ror=s((()=>{Ior(),Lor=For})),zor,Bor,Vor=s((()=>{Ror(),B(),Xz(),xwn(),zor=[`id`],Bor=k({__name:`ServerSelector`,props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=xr(),n=t=>{e.eventBus.emit(`server:update:selected`,{url:e.selectedServer?.url===t?``:t,meta:{type:`document`}})},r=(t,n)=>{let r=e.servers.findIndex(t=>t.url===e.selectedServer?.url);r!==-1&&e.eventBus.emit(`server:update:variables`,{index:r,key:t,value:n,meta:{type:`document`}})};return(i,a)=>(j(),M(L,null,[a[0]||=P(`label`,{class:`bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium`},` Server `,-1),P(`div`,{id:D(t),class:lt([`border`,{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(j(),N(Lor,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:D(t),"onUpdate:modelValue":n},null,8,[`selectedServer`,`servers`,`target`])):I(``,!0)],10,zor),R(D(b0),{layout:`reference`,variables:e.selectedServer?.variables,"onUpdate:variable":r},null,8,[`variables`]),e.selectedServer?.description?(j(),N(D(Jz),{key:0,class:`text-c-3 rounded-b-xl border-x border-b px-3 py-1.5`,value:e.selectedServer.description},null,8,[`value`])):I(``,!0)],64))}})})),Hor,Uor=s((()=>{Vor(),Hor=Bor})),Wor,Gor,Kor=s((()=>{C9(),Ktr(),Uor(),B(),rS(),Wor={class:`docSettings`},Gor=k({__name:`DocSettings`,props:{document:{},name:{}},setup(e){let{workspaceStore:t,config:n,eventBus:r}=x9(),i=z(()=>ox(t,e.document).environment),a=z(()=>{let t=tS(e.document.servers,{documentUrl:e.document[`x-scalar-original-source-url`]});return nS(e.document,null,null,t)}),o=z(()=>e.document.components?.securitySchemes??{});return(s,c)=>(j(),M(`div`,Wor,[P(`div`,null,[R(Gtr,{authStore:D(t).auth,document:e.document,environment:i.value,eventBus:D(r),name:e.name,options:D(n),securitySchemes:o.value,selectedServer:a.value},null,8,[`authStore`,`document`,`environment`,`eventBus`,`name`,`options`,`securitySchemes`,`selectedServer`])]),P(`div`,null,[R(Hor,{eventBus:D(r),selectedServer:a.value,servers:e.document.servers??[]},null,8,[`eventBus`,`selectedServer`,`servers`])])]))}})})),qor,Jor=s((()=>{T9(),Kor(),qor=w9(Gor,[[`__scopeId`,`data-v-5134b4f8`]])})),Yor,Xor,Zor,Qor,$or,esr,tsr,nsr,rsr,isr=s((()=>{L7(),C9(),Jor(),B(),jX(),ax(),Qs(),F0n(),Yor={class:`settingsHeading`},Xor={class:`documentList`},Zor=[`onClick`],Qor={key:0},$or={key:1,class:`text-c-2 pb-3`},esr={key:1,class:`noDocuments`},tsr={class:`proxyUrlContainer`},nsr=[`href`],rsr=k({__name:`Settings`,props:{modalState:{}},setup(e){let{workspaceStore:t,proxyUrlRaw:n}=x9();function r(e){t.update(`x-scalar-active-document`,e)}return(i,a)=>(j(),N(D(AX),{class:`settingsModal`,state:e.modalState},{default:O(()=>[P(`div`,Yor,[a[1]||=P(`h1`,null,`Settings`,-1),R(D(j0),{class:`colorToggle ml-auto`})]),P(`div`,Xor,[Object.entries(D(t).workspace.documents).length?(j(!0),M(L,{key:0},jr(Object.entries(D(t).workspace.documents),([e,n])=>(j(),M(`div`,{key:e,class:`document`},[P(`button`,{class:lt([`documentName`,{documentNameActive:D(t).workspace.activeDocument===n}]),type:`button`,onClick:t=>r(e)},[F(` @`+T(e)+` `,1),D(t).workspace.activeDocument===n?(j(),N(D(zs),{key:0})):(j(),N(D(Bs),{key:1}))],10,Zor),D(t).workspace.activeDocument===n&&D(tx)(n)?(j(),M(`div`,Qor,[R(qor,{document:n,name:e},null,8,[`document`,`name`])])):D(t).workspace.activeDocument===n?(j(),M(`p`,$or,` Ask about channels, messages, and schemas. Live AsyncAPI messaging and authentication are not supported in Ask AI. `)):I(``,!0)]))),128)):(j(),M(`div`,esr,` There's no API definition loaded. Use the + button to load APIs. `))]),P(`div`,tsr,[a[3]||=P(`label`,{for:`proxyUrl`},`CORS Proxy`,-1),P(`p`,null,[a[2]||=F(` All requests will be sent through the specified proxy URL to help avoid CORS (Cross-Origin Resource Sharing) issues. `,-1),P(`a`,{class:`underline`,href:D(I7).PROXY_SOURCE_CODE,target:`_blank`},` Read more `,8,nsr)]),R(D(x7),{id:`proxyUrl`,modelValue:D(n),"onUpdate:modelValue":a[0]||=e=>Sn(n)?n.value=e:null,label:`Proxy URL`,placeholder:D(I7).DEFAULT_PROXY_URL},null,8,[`modelValue`,`placeholder`])])]),_:1},8,[`state`]))}})})),asr,osr=s((()=>{T9(),isr(),asr=w9(rsr,[[`__scopeId`,`data-v-1a8828eb`]])}));function ssr({eventBus:e,isSidebarOpen:t,requestBodyCompositionSelection:n,sidebarState:r,modalState:i,store:a,getConfiguredSecuritySchemes:o}){S0({getConfiguredSecuritySchemes:o,eventBus:e,store:E(a),hooks:{"operation:create:draft-example":{onAfterExecute:({documentName:e,meta:{path:t,method:n},exampleName:i})=>{a.buildSidebar(e);let o=r.getEntryByLocation({document:e,path:t,method:n,example:i});o&&r.handleSelectItem(o.id)}}}}),e.on(`scroll-to:nav-item`,({id:e})=>r.handleSelectItem(e)),e.on(`ui:toggle:sidebar`,()=>t.value=!t.value),e.on(`ui:close:client-modal`,()=>i.hide()),e.on(`ui:open:client-modal`,e=>{let t=e&&`requestBodyCompositionSelection`in e&&e.requestBodyCompositionSelection?e.requestBodyCompositionSelection:csr;if(!e){n.value=t,i.show();return}let o=r.state.selectedItem.value;if(`id`in e&&e.id){let t=e.id;if(`exampleName`in e&&e.exampleName){let n=r.state.getEntryById(e.id);if(n&&`children`in n&&n.children){let r=n.children.find(t=>t.type===`example`&&t.name===e.exampleName);r&&(t=r.id)}}r.handleSelectItem(t)}else if(`method`in e&&`path`in e){let t=a.workspace.activeDocument;r.handleSelectItem(r.getEntryByLocation({document:tx(t)?t[`x-scalar-navigation`]?.id??``:``,path:e.path,method:e.method,example:e.exampleName})?.id??``)}i.open&&r.state.selectedItem.value===o||(n.value=t),i.show()})}var csr,lsr=s((()=>{B(),ax(),csr=Object.freeze({})})),usr,A9,dsr,fsr,psr,msr,hsr,gsr=s((()=>{nc(),sX(),ax(),yx(),usr=e=>e.type===`example`,A9=e=>{let t=e.store.workspace.documents[e.documentSlug??``];return tx(t)?t:void 0},dsr=(e,t)=>{if(t!=="default"||e.workspace.documents[t]!==void 0)return t;let n=e.workspace[`x-scalar-active-document`];return n&&tx(e.workspace.documents[n])?n:Object.entries(e.workspace.documents).find(([,e])=>tx(e))?.[0]},fsr=(e,t,n=!1)=>{let r=A9(e);if(r)return t==="default"?Object.keys(n?r.webhooks??{}:r.paths??{})[0]:t},psr=(e,t,n,r=!1)=>{let i=A9(e);if(!i||!t)return;let a=r?i.webhooks?.[t]:i.paths?.[t];if(n==="default"&&!px(a,n)){let e=[];return gx(a,t=>e.push(t)),e[0]}return n&&(tc(n)||px(a,n))?n:void 0},msr=(e,t,n)=>{if(!A9(e)||t?.type!==`operation`)return`default`;let r=t.children?.filter(usr)??[],i=r.find(e=>e.name===n);return i?i.name:n==="default"?r[0]?.name??`default`:`default`},hsr=(e,t)=>{let n=dsr(e,t.documentSlug),r={store:e,documentSlug:n},i=t.isWebhook??!1,a=fsr(r,t.path,i),o=psr(r,a,t.method,i),s=i?{isWebhook:!0}:{},c=A9(r)?.[`x-scalar-navigation`];if(!c)return{documentSlug:n,path:a,method:o,example:`default`,...s};let l=CY(c).get(`${a}|${o}`)?.find(e=>e.type===(i?`webhook`:`operation`));return{documentSlug:n,path:a,method:o,example:msr(r,l,t.example),...s}}})),j9,_sr=s((()=>{Zl(),j9=({document:e,path:t,method:n,example:r,isWebhook:i=!1})=>JSON.stringify([e,i?`webhook`:void 0,t,n,r].filter(Xl))})),vsr,ysr=s((()=>{_sr(),B(),sX(),ax(),S2(),vsr=({workspaceStore:e,documentSlug:t,path:n,method:r,exampleName:i,isWebhook:a,route:o})=>{let s=a??z(()=>!1),c=z(()=>{let n=e?.workspace.documents[wn(t)??``];return tx(n)?n[`x-scalar-navigation`]?.children??[]:[]}),l=b2(c),u=z(()=>y2({items:c.value,nestedKey:`children`,filter:e=>e.type===`operation`||e.type===`example`||e.type===`webhook`,getId:e=>{if(e.type===`webhook`)return j9({document:wn(t)??``,path:e.name,method:e.method,isWebhook:!0});let n=xY(`operation`,e);return j9({document:wn(t)??``,path:n?.path,method:n?.method,example:e.type===`example`?e.name:void 0})}})),d=e=>u.value.get(j9({document:e.document,path:e.path,method:e.method,example:e.example,isWebhook:e.isWebhook}))||u.value.get(j9({document:e.document,path:e.path,method:e.method,isWebhook:e.isWebhook}));return dr([t,n,r,i,s],([e,t,n,r,i])=>{if(!e){l.setSelected(null);return}let a=d({document:e,path:t,method:n,example:r,isWebhook:i});a&&(l.setSelected(a.id),l.setExpanded(a.id,!0))},{immediate:!0}),{handleSelectItem:e=>{let n=l.getEntryById(e);if(!n)console.warn(`Could not find sidebar entry with id ${e} to select`);else{if(n.type===`operation`||n.type===`example`){if(l.isSelected(e)){l.setExpanded(e,!l.isExpanded(e));return}let r=xY(`operation`,n),i=x2(`example`,n);return i?(l.setSelected(i.id),l.setExpanded(i.id,!0)):l.setSelected(e),r?o({documentSlug:wn(t),path:r.path,method:r.method,example:i?.name??`default`}):void 0}if(n.type===`webhook`)return l.setSelected(e),o({documentSlug:wn(t),path:n.name,method:n.method,example:`default`,isWebhook:!0});l.setExpanded(e,!l.isExpanded(e))}},state:l,getEntryByLocation:d}}})),M9,bsr,xsr,Ssr,Csr,wsr,Tsr=s((()=>{jE(),M9={Enter:{event:`operation:send:request:hotkey`,modifiers:[`default`]},b:{event:`ui:toggle:sidebar`,modifiers:[`default`]},k:{event:`ui:open:command-palette`,modifiers:[`default`]},l:{event:`ui:focus:address-bar`,modifiers:[`default`]},j:{event:`ui:focus:search`,modifiers:[`default`]},i:{event:`ui:open:settings`,modifiers:[`default`]},s:{event:`ui:save:local-document`,modifiers:[`default`]}},bsr={web:M9,modal:{...M9,Escape:{event:`ui:close:client-modal`,modifiers:[]},l:{event:`ui:focus:send-button`,modifiers:[`default`]}},desktop:{...M9,n:{event:`ui:open:command-palette`,modifiers:[`default`]},t:{event:`tabs:add:tab`,modifiers:[`default`]},w:{event:`tabs:close:tab`,modifiers:[`default`]},ArrowLeft:{event:`tabs:navigate:previous`,modifiers:[`default`,`altKey`]},ArrowRight:{event:`tabs:navigate:next`,modifiers:[`default`,`altKey`]},1:{event:`tabs:focus:tab`,modifiers:[`default`]},2:{event:`tabs:focus:tab`,modifiers:[`default`]},3:{event:`tabs:focus:tab`,modifiers:[`default`]},4:{event:`tabs:focus:tab`,modifiers:[`default`]},5:{event:`tabs:focus:tab`,modifiers:[`default`]},6:{event:`tabs:focus:tab`,modifiers:[`default`]},7:{event:`tabs:focus:tab`,modifiers:[`default`]},8:{event:`tabs:focus:tab`,modifiers:[`default`]},9:{event:`tabs:focus:tab-last`,modifiers:[`default`]}}},xsr=new Set([`Escape`,`ArrowDown`,`ArrowUp`,`Enter`]),Ssr=(e,t)=>t.length>0&&t.map(e=>e==="default"?AE()?`metaKey`:`ctrlKey`:e).every(t=>e[t]===!0),Csr=(e,t)=>{if(!(e.target instanceof HTMLElement))return!1;let n=e.target;return n.tagName===`INPUT`?!xsr.has(t):n.tagName===`TEXTAREA`||n.contentEditable===`true`||n.hasAttribute(`contenteditable`)},wsr=(e,t,n)=>{let r=e.key===` `?`Space`:e.key,i=bsr[n][r];if(!i)return;let a={event:e};r===`Escape`||Ssr(e,i.modifiers)?t.emit(i.event,a,{skipUnpackProxy:!0}):i.modifiers.length>0||Csr(e,r)||t.emit(i.event,a,{skipUnpackProxy:!0})}})),Esr,Dsr=s((()=>{Tsr(),B(),Esr=(e,t,n)=>{let r=r=>{wn(n)||wsr(r,e,t)};Ii(()=>window.addEventListener(`keydown`,r)),Ri(()=>window.removeEventListener(`keydown`,r))}})),Osr,ksr,Asr=s((()=>{B(),Osr=`scalar-dragging`,ksr=k({__name:`Resize`,props:{width:{}},emits:[`update:width`],setup(e,{emit:t}){let n=t,r=E(!1),i=t=>{t.preventDefault();let i=t.clientX,a=e.width,o=e=>{r.value=!0,document.body.classList.add(Osr);let t=a+e.clientX-i;t>420&&(t=420+(t-420)*.2),t<240&&(t=240),n(`update:width`,t)},s=()=>{r.value=!1,document.body.classList.remove(Osr),document.documentElement.removeEventListener(`mousemove`,o,!1),document.documentElement.removeEventListener(`mouseup`,s,!1),e.width>420?n(`update:width`,360):e.width<240&&n(`update:width`,240)};document.documentElement.addEventListener(`mousemove`,o,!1),document.documentElement.addEventListener(`mouseup`,s,!1)};return(t,n)=>(j(),M(`div`,{class:`relative`,style:ct({width:`${e.width}px`})},[A(t.$slots,`default`,{},void 0,!0),P(`div`,{class:`resizer`,onMousedown:i},null,32)],4))}})})),jsr,Msr=s((()=>{Ds(),Asr(),jsr=Es(ksr,[[`__scopeId`,`data-v-e2c54c18`]])}));function Nsr(){return new hE([],{keys:[{name:`title`,weight:.7},{name:`description`,weight:.3},{name:`operationId`,weight:.6},{name:`path`,weight:.5},{name:`tag`,weight:.4},{name:`method`,weight:.3},{name:`documentName`,weight:.3}],threshold:.3,distance:100,includeScore:!0,includeMatches:!1,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0})}var Psr=s((()=>{gE()}));function Fsr(e){let t=[];function n(e,r){e.forEach(e=>{Isr(e,t,r),`children`in e&&e.children&&n(e.children,r)})}return e?.forEach(e=>n(e[`x-scalar-navigation`]?.children??[],e)),t}function Isr(e,t,n){if(e.type===`operation`){let r=H(px(n?.paths?.[e.path],e.method))??{};t.push({type:`operation`,title:e.title,id:e.id,description:r.description||``,method:e.method,path:e.path,operationId:r.operationId,entry:e,documentName:n?.info.title??``})}else e.type===`tag`&&e.isTagGroup!==!0?t.push({id:e.id,title:e.title,description:e.description||``,type:`tag`,entry:e,documentName:n?.info.title??``}):e.type===`tag`&&e.isTagGroup===!0?t.push({id:e.id,title:e.title,description:`Tag Group`,type:`tag`,entry:e,documentName:n?.info.title??``}):e.type===`text`&&t.push({id:e.id,type:`heading`,title:e.title??``,description:`Heading`,entry:e,documentName:n?.info.title??``})}var Lsr=s((()=>{iu(),yx()})),Rsr,zsr,Bsr=s((()=>{Psr(),Lsr(),B(),Rsr=25,zsr=e=>{let t=z(()=>{let t=Nsr();return t.setCollection(Fsr(wn(e))),t}),n=E(``);return{results:z(()=>n.value.length===0?null:t.value.search(n.value,{limit:Rsr}).flatMap(e=>e.item.entry.type===`operation`?e.item.entry:[])),query:n}}})),Vsr,Hsr=s((()=>{Kl(),B(),Vsr=k({inheritAttrs:!1,__name:`ScalarHeaderButton`,props:{is:{default:`button`},cta:{type:Boolean}},setup(e){let t=Ul({base:`group/button flex items-center rounded px-3 py-2 text-base/4 no-underline`,variants:{cta:{true:`font-bold bg-b-header-cta text-sm/4 text-c-header-cta hover:bg-h-header-cta`,false:`text-c-header-2 hover:text-c-header-1`}}}),{cx:n}=Gl();return(r,i)=>(j(),N(Ar(e.is),oi({type:e.is===`button`?`button`:void 0},D(n)(D(t)({cta:e.cta}))),{default:O(()=>[A(r.$slots,`default`)]),_:3},16,[`type`]))}})})),Usr,Wsr=s((()=>{Hsr(),Usr=Vsr})),Gsr,Ksr,qsr,Jsr,Ysr=s((()=>{Wsr(),pS(),B(),Qs(),Gsr={class:`h-5 w-auto`},Ksr={key:0,class:`ml-1 truncate text-sm font-medium`},qsr={class:`sr-only`},Jsr=k({__name:`ScalarMenuButton`,props:{open:{type:Boolean}},setup(e){return(t,n)=>(j(),N(D(Usr),{class:`text-c-header-1 hover:bg-b-header-2 gap-0.75 px-2 py-1.5`},{default:O(()=>[P(`div`,Gsr,[A(t.$slots,`logo`,{},()=>[R(D(fS),{icon:`Logo`,size:`lg`})])]),t.$slots.title?(j(),M(`span`,Ksr,[A(t.$slots,`title`)])):I(``,!0),P(`span`,qsr,[A(t.$slots,`label`,{},()=>[F(T(e.open?`Close Menu`:`Open Menu`),1)])]),R(D(zs),{class:lt([`text-c-header-2 group-hover/button:text-c-header-1 size-3.5 shrink-0`,e.open?`rotate-180`:``]),weight:`bold`},null,8,[`class`])]),_:3}))}})})),Xsr,Zsr=s((()=>{Ysr(),Xsr=Jsr})),Qsr,$sr,ecr=s((()=>{PT(),hS(),Kl(),B(),Qsr={key:1,class:`size-3`},$sr=k({inheritAttrs:!1,__name:`ScalarMenuLink`,props:{is:{default:`a`},icon:{type:[Object,Function]},strong:{type:Boolean},submenu:{type:Boolean}},setup(t){let{cx:n}=Gl();return(r,i)=>(j(),N(D(NT),oi(D(n)(`flex items-center`),{is:t.submenu?D(e.DropdownMenu).SubTrigger:D(e.DropdownMenu).Item,as:t.is}),{default:O(()=>[t.icon?(j(),N(D(mS),{key:0,class:lt([t.strong?`text-c-1`:`text-c-2`,typeof t.icon==`string`?`size-3`:`-mx-px size-3.5`]),icon:t.icon,thickness:t.strong?`2.5`:`2`,weight:t.strong?`bold`:`regular`},null,8,[`class`,`icon`,`thickness`,`weight`])):(j(),M(`div`,Qsr)),P(`div`,{class:lt([`flex min-w-0 flex-1 items-center truncate`,t.strong?`font-medium`:`font-normal`])},[A(r.$slots,`default`)],2)]),_:3},16,[`is`,`as`]))}})})),N9,P9=s((()=>{ecr(),N9=$sr})),tcr,ncr=s((()=>{P9(),Kl(),B(),tcr=k({inheritAttrs:!1,__name:`ScalarMenuProduct`,props:{is:{default:`a`},selected:{type:Boolean},icon:{type:[Object,Function]}},setup(e){let{cx:t}=Gl(),n=Ul({base:`gap-1.5`,variants:{selected:{true:`pointer-events-none bg-b-2 dark:bg-b-3`,false:`cursor-pointer hover:bg-b-2 dark:hover:bg-b-3`}}});return(r,i)=>(j(),N(D(N9),oi({is:e.is,icon:e.icon,strong:``,target:`_blank`},D(t)(D(n)({selected:e.selected}))),{default:O(()=>[A(r.$slots,`default`)]),_:3},16,[`is`,`icon`]))}})})),F9,rcr=s((()=>{ncr(),F9=tcr})),icr,acr=s((()=>{rcr(),Kl(),B(),Qs(),icr=k({inheritAttrs:!1,__name:`ScalarMenuProducts`,props:{selected:{},showDocs:{type:Boolean},hrefs:{}},emits:[`open`],setup(e){let{cx:t}=Gl();return(n,r)=>(j(),M(`div`,ut(ei(D(t)(`flex flex-col`))),[R(F9,{href:e.hrefs?.dashboard??`https://dashboard.scalar.com`,icon:D(yhe),selected:e.selected===`dashboard`,onClick:r[0]||=e=>n.$emit(`open`,e,`dashboard`)},{default:O(()=>[...r[4]||=[F(` Dashboard `,-1)]]),_:1},8,[`href`,`icon`,`selected`]),e.showDocs||e.selected===`docs`?(j(),N(F9,{key:0,href:e.hrefs?.docs??`https://docs.scalar.com`,icon:D(pue),selected:e.selected===`docs`,onClick:r[1]||=e=>n.$emit(`open`,e,`docs`)},{default:O(()=>[...r[5]||=[F(` Docs `,-1)]]),_:1},8,[`href`,`icon`,`selected`])):I(``,!0),R(F9,{href:e.hrefs?.editor??`https://editor.scalar.com`,icon:D(Zge),selected:e.selected===`editor`,onClick:r[2]||=e=>n.$emit(`open`,e,`editor`)},{default:O(()=>[...r[6]||=[F(` Editor `,-1)]]),_:1},8,[`href`,`icon`,`selected`]),R(F9,{href:e.hrefs?.client??`https://client.scalar.com`,icon:D(Rs),selected:e.selected===`client`,onClick:r[3]||=e=>n.$emit(`open`,e,`client`)},{default:O(()=>[...r[7]||=[F(` Client `,-1)]]),_:1},8,[`href`,`icon`,`selected`])],16))}})})),ocr,scr=s((()=>{acr(),ocr=icr})),ccr,lcr=s((()=>{nnt(),B(),ccr=k({inheritAttrs:!1,__name:`ScalarMenuSection`,setup(e){return(e,t)=>(j(),M(L,null,[R(D(FT)),A(e.$slots,`default`)],64))}})})),I9,ucr=s((()=>{lcr(),I9=ccr})),dcr,fcr=s((()=>{P9(),ucr(),B(),Qs(),dcr=k({__name:`ScalarMenuResources`,setup(e){return(e,t)=>(j(),N(I9,null,{title:O(()=>[...t[0]||=[F(`Resources`,-1)]]),default:O(()=>[R(N9,{href:`mailto:[email protected]`,icon:D(Vfe),target:`_blank`},{default:O(()=>[...t[1]||=[F(` Sales & Support `,-1)]]),_:1},8,[`icon`]),R(N9,{href:`https://scalar.com/terms-and-conditions`,icon:D(Lpe),target:`_blank`},{default:O(()=>[...t[2]||=[F(` Terms & Conditions `,-1)]]),_:1},8,[`icon`]),R(N9,{href:`https://scalar.com/privacy-policy`,icon:D(Nue),target:`_blank`},{default:O(()=>[...t[3]||=[F(` Privacy Policy `,-1)]]),_:1},8,[`icon`])]),_:1}))}})})),pcr,mcr=s((()=>{fcr(),pcr=dcr})),hcr,gcr=s((()=>{ltt(),Zsr(),scr(),mcr(),B(),hcr=k({inheritAttrs:!1,__name:`ScalarMenu`,setup(t){let n=E(!1);function r(){n.value=!1}return(t,i)=>(j(),N(D(e.DropdownMenu).Root,{open:n.value,"onUpdate:open":i[0]||=e=>n.value=e},{default:O(()=>[R(D(e.DropdownMenu).Trigger,{asChild:``},{default:O(()=>[A(t.$slots,`button`,{open:n.value},()=>[R(Xsr,{class:`min-w-0`,open:n.value},Mr({_:2},[t.$slots.logo?{name:`logo`,fn:O(()=>[A(t.$slots,`logo`)]),key:`0`}:void 0,t.$slots.title?{name:`title`,fn:O(()=>[A(t.$slots,`title`)]),key:`1`}:void 0,t.$slots.label?{name:`label`,fn:O(()=>[A(t.$slots,`label`)]),key:`2`}:void 0]),1032,[`open`])])]),_:3}),R(D(e.DropdownMenu).Content,oi({align:`start`,as:D(pT),class:`max-h-radix-popper z-context`,sideOffset:5},t.$attrs),{default:O(()=>[A(t.$slots,`products`,{close:r},()=>[R(ocr)]),A(t.$slots,`profile`,{close:r}),A(t.$slots,`sections`,{close:r},()=>[R(pcr)])]),_:3},16,[`as`])]),_:3},8,[`open`]))}})})),_cr,vcr=s((()=>{gcr(),_cr=hcr})),ycr,bcr=s((()=>{P9(),ucr(),B(),Qs(),ycr=k({__name:`ScalarMenuSupport`,setup(e){return(e,t)=>(j(),N(I9,null,{title:O(()=>[...t[0]||=[F(`Resources`,-1)]]),default:O(()=>[R(N9,{href:`https://discord.gg/scalar`,icon:D(xfe),target:`_blank`},{default:O(()=>[...t[1]||=[F(` Discord `,-1)]]),_:1},8,[`icon`]),R(N9,{href:`https://github.com/scalar/scalar`,icon:D(Nme),target:`_blank`},{default:O(()=>[...t[2]||=[F(` GitHub `,-1)]]),_:1},8,[`icon`])]),_:1}))}})})),xcr,Scr=s((()=>{bcr(),xcr=ycr})),Ccr,wcr,Tcr=s((()=>{Pw(),ltt(),PT(),P9(),B(),Qs(),Ccr={class:`flex h-full flex-1 items-center gap-1 truncate`},wcr=k({inheritAttrs:!1,__name:`ScalarMenuWorkspacePicker`,props:Lr({workspaceOptions:{}},{modelValue:{},modelModifiers:{}}),emits:Lr([`createWorkspace`],[`update:modelValue`]),setup(t,{emit:n}){let r=n,i=Hr(t,`modelValue`);return(n,a)=>(j(),N(D(e.DropdownMenu).Sub,null,{default:O(()=>[R(N9,oi({icon:D(xve),submenu:``},n.$attrs),{default:O(()=>[a[2]||=P(`div`,null,`Change workspace`,-1),R(D(Bs),{class:`text-c-2 -mr-px ml-auto size-3`,weight:`bold`})]),_:1},16,[`icon`]),R(D(e.DropdownMenu).Portal,null,{default:O(()=>[R(D(e.DropdownMenu).SubContent,{as:D(pT),class:`max-h-radix-popper z-context-plus`,sideOffset:3},{default:O(()=>[R(D(e.DropdownMenu).RadioGroup,{modelValue:i.value,"onUpdate:modelValue":a[0]||=e=>i.value=e,class:`contents`},{default:O(()=>[(j(!0),M(L,null,jr(t.workspaceOptions,(n,r)=>(j(),M(L,{key:r},[n.label?(j(),N(D(e.DropdownMenu).Label,{key:0,class:`text-c-3 px-3 py-1.5 text-xs font-medium select-none`},{default:O(()=>[F(T(n.label),1)]),_:2},1024)):I(``,!0),(j(!0),M(L,null,jr(n.options,t=>(j(),N(D(e.DropdownMenu).RadioItem,{key:t.id,as:D(NT),class:`group/item flex items-center`,value:t.id},{default:O(()=>[P(`div`,Ccr,T(t.label),1),R(D(Nw),{class:`ml-auto`,selected:t.id===i.value},null,8,[`selected`])]),_:2},1032,[`as`,`value`]))),128)),r<t.workspaceOptions.length-1?(j(),N(D(e.DropdownMenu).Separator,{key:1,class:`bg-b-3 my-1.5 h-px`})):I(``,!0)],64))),128))]),_:1},8,[`modelValue`]),R(D(e.DropdownMenu).Item,{as:D(NT),class:`flex items-center`,onClick:a[1]||=e=>r(`createWorkspace`)},{default:O(()=>[R(D(qs),{class:`bg-b-3 text-c-3 -ml-0.75 size-5 rounded p-1`,weight:`bold`}),a[3]||=F(` Create workspace `,-1)]),_:1},8,[`as`])]),_:1},8,[`as`])]),_:1})]),_:1}))}})})),Ecr,Dcr=s((()=>{Tcr(),Ecr=wcr})),Ocr=s((()=>{scr(),P9(),ucr(),mcr(),vcr(),Scr(),Dcr()})),kcr,Acr=s((()=>{Fs(),B(),Qs(),Ocr(),kcr=k({__name:`SidebarMenu`,props:{activeWorkspace:{},workspaces:{}},emits:[`create:workspace`,`select:workspace`,`navigate:to:settings`],setup(e,{emit:t}){let n=t,{translate:r}=Ps();return(t,i)=>(j(),N(D(_cr),null,{products:O(()=>[R(D(ocr),{selected:`client`})]),sections:O(({close:a})=>[R(D(I9),null,{default:O(()=>[A(t.$slots,`sidebarMenuActions`,{},()=>[R(D(Ecr),{modelValue:e.activeWorkspace.id,workspaceOptions:e.workspaces,onCreateWorkspace:i[0]||=e=>n(`create:workspace`),"onUpdate:modelValue":i[1]||=e=>n(`select:workspace`,e)},null,8,[`modelValue`,`workspaceOptions`]),R(D(N9),{is:`button`,icon:D(rme),onClick:()=>{a(),n(`navigate:to:settings`)}},{default:O(()=>[F(T(D(r)(`apiClient.sidebarMenu.settings`)),1)]),_:1},8,[`icon`,`onClick`])])]),_:2},1024),R(D(pcr)),R(D(xcr))]),_:3}))}})})),jcr,Mcr=s((()=>{Acr(),jcr=kcr})),Ncr,Pcr,Fcr=s((()=>{Fs(),Msr(),Bsr(),Mcr(),B(),Qs(),nI(),ax(),Q0(),S2(),Ncr={key:1},Pcr=k({__name:`Sidebar`,props:Lr({sidebarState:{},layout:{},activeWorkspace:{},workspaces:{},documents:{},isDroppable:{type:[Boolean,Function]}},{sidebarWidth:{required:!0,default:288},sidebarWidthModifiers:{}}),emits:Lr([`selectItem`,`select:workspace`,`create:workspace`,`reorder`,`navigate:to:settings`],[`update:sidebarWidth`]),setup(e,{emit:t}){let n=t,{translate:r}=Ps(),i=Pr(),a=E(!1),o=Hr(e,`sidebarWidth`),s=e=>e.type===`example`&&e.title===`draft`,{query:c,results:l}=zsr(()=>e.documents.filter(tx)),u=z(()=>l.value??e.sidebarState.items.value),d=e=>{n(`selectItem`,e),c.value=``,a.value=!1};return(t,l)=>(j(),N(D(jsr),{width:o.value,"onUpdate:width":l[6]||=e=>o.value=e,class:`flex flex-col`},{default:O(()=>[R(D(v2),{class:`flex w-auto flex-1`,indent:20,isDraggable:e.layout!==`modal`,isDroppable:e.isDroppable,isExpanded:e.sidebarState.isExpanded,isSelected:e.sidebarState.isSelected,items:u.value,layout:`client`,options:{hideOperationDefaultExamples:e.layout===`modal`},onReorder:l[5]||=(e,t)=>n(`reorder`,e,t),onSelectItem:d},Mr({header:O(()=>[l[7]||=P(`div`,{class:`mac:h-12 mac:app-drag-region h-2`},null,-1),P(`div`,{class:lt([`bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5`,{"max-md:pt-12":e.layout===`desktop`,"max-md:pt-2 max-md:pl-4!":e.layout===`modal`,"pt-1 max-md:pt-2 max-md:pl-14":e.layout===`web`}])},[e.layout===`web`?I(``,!0):(j(),M(`div`,{key:0,class:lt([`flex items-center justify-between`,{"max-md:pl-10":e.layout===`desktop`}])},[e.layout===`modal`?e.layout===`modal`?(j(),M(`div`,Ncr)):I(``,!0):(j(),N(jcr,{key:0,activeWorkspace:e.activeWorkspace,workspaces:e.workspaces,"onCreate:workspace":l[0]||=e=>n(`create:workspace`),"onNavigate:to:settings":l[1]||=e=>n(`navigate:to:settings`),"onSelect:workspace":l[2]||=e=>n(`select:workspace`,e)},{sidebarMenuActions:O(()=>[A(t.$slots,`sidebarMenuActions`)]),_:3},8,[`activeWorkspace`,`workspaces`])),R(D(eI),{class:`hover:bg-b-2 active:text-c-1 size-8 rounded p-2`,icon:D(Ks),label:D(r)(`apiClient.sidebar.search`),size:`sm`,onClick:l[3]||=e=>a.value=!a.value},null,8,[`icon`,`label`])],2)),a.value||e.layout===`web`?(j(),N(D(oln),{key:1,modelValue:D(c),"onUpdate:modelValue":l[4]||=e=>Sn(c)?c.value=e:null,autofocus:e.layout!==`web`},null,8,[`modelValue`,`autofocus`])):I(``,!0)],2)]),spacer:O(()=>[l[8]||=P(`div`,{class:`flex-1`},null,-1)]),icon:O(e=>[i.icon||s(e.item)?(j(),M(L,{key:0},[s(e.item)?(j(),N(D(_pe),{key:0})):I(``,!0),A(t.$slots,`icon`,ut(ei(e)))],64)):I(``,!0)]),before:O(()=>[A(t.$slots,`workspaceButton`)]),footer:O(()=>[A(t.$slots,`footer`)]),_:2},[i.decorator?{name:`decorator`,fn:O(e=>[A(t.$slots,`decorator`,ut(ei(e)))]),key:`0`}:void 0,i.empty?{name:`empty`,fn:O(e=>[A(t.$slots,`empty`,ut(ei(e)))]),key:`1`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`items`,`options`])]),_:3},8,[`width`]))}})})),Icr,Lcr=s((()=>{Fcr(),Icr=Pcr})),Rcr,zcr,Bcr,Vcr,Hcr,Ucr=s((()=>{Fs(),B(),Rcr=[`aria-pressed`],zcr={class:`sr-only`},Bcr={class:`size-4`,fill:`none`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`},Vcr={"clip-path":`url(#mask)`},Hcr=k({__name:`SidebarToggle`,props:Lr({variant:{default:`default`}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let{translate:t}=Ps(),n=Hr(e,`modelValue`);return(r,i)=>(j(),M(`button`,{"aria-pressed":n.value,class:lt([`scalar-sidebar-toggle`,e.variant===`overlay`?`scalar-sidebar-toggle--overlay`:`text-c-3 hover:bg-b-2 active:text-c-1 rounded p-2`]),type:`button`,onClick:i[0]||=e=>n.value=!n.value},[P(`span`,zcr,T(n.value?D(t)(`apiClient.sidebarToggle.hide`):D(t)(`apiClient.sidebarToggle.show`)),1),(j(),M(`svg`,Bcr,[i[1]||=P(`defs`,null,[P(`clipPath`,{id:`mask`},[P(`path`,{"clip-rule":`evenodd`,d:`M9 3.2H4c-1.7 0-3 1.3-3 3v11.5c0 1.7 1.3 3 3 3h5V3.2z`})])],-1),P(`g`,Vcr,[P(`path`,{class:lt([`transition-transform duration-300`,n.value?`translate-x-0`:`-translate-x-1/2`]),d:`M1 3.2h8v17.5H1z`,fill:`currentColor`},null,2)]),i[2]||=P(`path`,{d:`M20 20.8H4c-1.7 0-3-1.3-3-3V6.2c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v11.5c0 1.7-1.3 3-3 3zM9 3.2v17.5`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},null,-1)]))],10,Rcr))}})})),Wcr,Gcr=s((()=>{Ds(),Ucr(),Wcr=Es(Hcr,[[`__scopeId`,`data-v-4a35414a`]])})),Kcr,L9,qcr,R9,z9,B9,Jcr,Ycr,V9,Xcr,H9,Zcr,Qcr,$cr,elr,tlr,nlr,rlr,ilr,alr,olr,U9,slr,clr,W9,G9,llr,ulr,dlr,flr,K9,plr,q9,mlr=s((()=>{
+/*!
+* tabbable 6.5.0
+* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
+*/
+Kcr=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],L9=Kcr.join(`,`),qcr=typeof Element>`u`,R9=qcr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,z9=!qcr&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},B9=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):B9(e.parentNode))},Jcr=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},Ycr=function(e,t,n){if(B9(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(L9));return t&&R9.call(e,L9)&&r.unshift(e),r=r.filter(n),r},V9=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!B9(a,!1)){if(a.tagName===`SLOT`){var o=a.assignedElements(),s=V9(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{R9.call(a,L9)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!B9(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=V9(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}}return r},Xcr=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},H9=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Jcr(e))&&!Xcr(e)?0:e.tabIndex},Zcr=function(e,t){var n=H9(e);return n<0&&t&&!Xcr(e)?0:n},Qcr=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},$cr=function(e){return e.tagName===`INPUT`},elr=function(e){return $cr(e)&&e.type===`hidden`},tlr=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},nlr=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},rlr=function(e){if(!e.name)return!0;var t=e.form||z9(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=nlr(r,e.form);return!i||i===e},ilr=function(e){return $cr(e)&&e.type===`radio`},alr=function(e){return ilr(e)&&!rlr(e)},olr=function(e){var t=e&&z9(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=z9(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},U9=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},slr=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=R9.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(R9.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=z9(e);if(s&&!s.shadowRoot&&r(s)===!0)return U9(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(olr(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return U9(e);return!1},clr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return R9.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},W9=function(e,t){return!(t.disabled||elr(t)||slr(t,e)||tlr(t)||clr(t))},G9=function(e,t){return!(alr(t)||H9(t)<0||!W9(e,t))},llr=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},ulr=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=Zcr(a,i),s=i?ulr(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(Qcr).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},dlr=function(e,t){t||={};var n=t.getShadowRoot?V9([e],t.includeContainer,{filter:G9.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:llr}):Ycr(e,t.includeContainer,G9.bind(null,t));return ulr(n)},flr=function(e,t){return t||={},t.getShadowRoot?V9([e],t.includeContainer,{filter:W9.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Ycr(e,t.includeContainer,W9.bind(null,t))},K9=function(e,t){if(t||={},!e)throw Error(`No node provided`);return R9.call(e,L9)!==!1&&G9(t,e)},plr=Kcr.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),q9=function(e,t){if(t||={},!e)throw Error(`No node provided`);return R9.call(e,plr)!==!1&&W9(t,e)}}));
+/*!
+* focus-trap 8.2.3
+* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
+*/
+function hlr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function glr(e){if(Array.isArray(e))return hlr(e)}function _lr(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=Elr(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function vlr(e,t,n){return(t=Tlr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ylr(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function blr(){throw TypeError(`Invalid attempt to spread non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xlr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Slr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xlr(Object(n),!0).forEach(function(t){vlr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xlr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Clr(e){return glr(e)||ylr(e)||Elr(e)||blr()}function wlr(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Tlr(e){var t=wlr(e,`string`);return typeof t==`symbol`?t:t+``}function Elr(e,t){if(e){if(typeof e==`string`)return hlr(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hlr(e,t):void 0}}var J9,Dlr,Olr,Y9,klr,Alr,jlr,X9,Z9,Mlr,Nlr,Plr=s((()=>{mlr(),J9={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==J9.getActiveTrap(e)&&J9.pauseTrap(e);var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),J9.unpauseTrap(e)},pauseTrap:function(e){J9.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=J9.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Dlr=function(e){return e.tagName&&e.tagName.toLowerCase()===`input`&&typeof e.select==`function`},Olr=function(e){return e?.key===`Escape`||e?.key===`Esc`||e?.keyCode===27},Y9=function(e){return e?.key===`Tab`||e?.keyCode===9},klr=function(e){return Y9(e)&&!e.shiftKey},Alr=function(e){return Y9(e)&&e.shiftKey},jlr=function(e){return setTimeout(e,0)},X9=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return typeof e==`function`?e.apply(void 0,n):e},Z9=function(e){return e.target.shadowRoot&&typeof e.composedPath==`function`?e.composedPath()[0]:e.target},Mlr=[],Nlr=function(e,t){var n=t?.document||document,r=t?.trapStack||Mlr,i=Slr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:klr,isKeyBackward:Alr},t),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,s=function(e,t,n){return e&&e[t]!==void 0?e[t]:i[n||t]},c=function(e,t){var n=typeof t?.composedPath==`function`?t.composedPath():void 0;return a.containerGroups.findIndex(function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||n?.includes(r)||i.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.hasFallback,a=r!==void 0&&r,o=t.params,s=o===void 0?[]:o,c=i[e];if(typeof c==`function`&&(c=c.apply(void 0,Clr(s))),c===!0&&(c=void 0),!c){if(c===void 0||c===!1)return c;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var l=c;if(typeof c==`string`){try{l=n.querySelector(c)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`,{cause:t})}if(!l&&!a)throw Error(`\`${e}\` as selector refers to no known node`)}return l},u=function(e){var t=e.activeElement;return t?t.shadowRoot&&t.shadowRoot.activeElement!==null?u(t.shadowRoot):t:null},d=function(){var e=l(`initialFocus`,{hasFallback:!0});if(e===!1)return!1;if(e===void 0||e&&!q9(e,i.tabbableOptions)){var t=u(n);if(c(t)>=0)e=t;else{var r=a.tabbableGroups[0];e=r&&r.firstTabbableNode||l(`fallbackFocus`)}}else e===null&&(e=l(`fallbackFocus`));if(!e)throw Error(`Your focus-trap needs to have at least one focusable element`);return e},f=function(){if(a.containerGroups=a.containers.map(function(e){var t=dlr(e,i.tabbableOptions),n=flr(e,i.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return K9(e)}),s=n.slice().reverse().find(function(e){return K9(e)});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:!!t.find(function(e){return H9(e)>0}),firstTabbableNode:r,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find(function(e){return K9(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return K9(e)}):t[i+(r?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l(`fallbackFocus`))throw Error(`Your focus-trap must have at least one container with at least one tabbable node in it at all times`);if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.containerGroups.length>1)throw Error(`At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.`)},p=function(e){e!==!1&&(e===u(n)?a.mostRecentlyFocusedNode=e:!e||!e.focus?p(d()):(e.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=e,Dlr(e)&&e.select()))},m=function(e){var t=l(`setReturnFocus`,{params:[e]});return t||t!==!1&&e},h=function(e){var t=e.target,n=e.event,r=e.isBackward,o=r!==void 0&&r;t||=Z9(n),f();var s=null;if(a.tabbableGroups.length>0){var u=c(t,n),d=u>=0?a.containerGroups[u]:void 0;if(u<0)s=o?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(o){var p=a.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(d.container===t||q9(t,i.tabbableOptions)&&!K9(t,i.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(p=u),p>=0){var m=p===0?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[m];s=H9(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else Y9(n)||(s=d.nextTabbableNode(t,!1))}else{var g=a.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(d.container===t||q9(t,i.tabbableOptions)&&!K9(t,i.tabbableOptions)&&!d.nextTabbableNode(t))&&(g=u),g>=0){var _=g===a.tabbableGroups.length-1?0:g+1,v=a.tabbableGroups[_];s=H9(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else Y9(n)||(s=d.nextTabbableNode(t))}}else s=l(`fallbackFocus`);return s},g=function(e){c(Z9(e),e)>=0||(X9(i.clickOutsideDeactivates,e)?o.deactivate({returnFocus:i.returnFocusOnDeactivate}):X9(i.allowOutsideClick,e)||e.preventDefault())},_=function(e){var t=Z9(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,o=!0;if(a.mostRecentlyFocusedNode){if(H9(a.mostRecentlyFocusedNode)>0){var s=c(a.mostRecentlyFocusedNode),l=a.containerGroups[s].tabbableNodes;if(l.length>0){var u=l.findIndex(function(e){return e===a.mostRecentlyFocusedNode});u>=0&&(i.isKeyForward(a.recentNavEvent)?u+1<l.length&&(r=l[u+1],o=!1):u-1>=0&&(r=l[u-1],o=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return H9(e)>0})})||(o=!1)}else o=!1;o&&(r=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(r||a.mostRecentlyFocusedNode||d())}a.recentNavEvent=void 0},v=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(Y9(e)&&e.preventDefault(),p(n))},y=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&v(e,i.isKeyBackward(e))},b=function(e){Olr(e)&&X9(i.escapeDeactivates,e)!==!1&&(e.preventDefault(),o.deactivate())},x=function(e){c(Z9(e),e)>=0||X9(i.clickOutsideDeactivates,e)||X9(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},ee=function(){if(a.active){J9.activateTrap(r,o);var e;return i.delayInitialFocus?e=new Promise(function(e){a.delayInitialFocusTimer=jlr(function(){p(d()),e()})}):p(d()),n.addEventListener(`focusin`,_,!0),n.addEventListener(`mousedown`,g,{capture:!0,passive:!1}),n.addEventListener(`touchstart`,g,{capture:!0,passive:!1}),n.addEventListener(`click`,x,{capture:!0,passive:!1}),n.addEventListener(`keydown`,y,{capture:!0,passive:!1}),n.addEventListener(`keydown`,b),e}},te=function(e){a.active&&!a.paused&&o._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var t=new Set,n=new Set,r=_lr(e),i;try{for(r.s();!(i=r.n()).done;){var s=i.value;t.add(s);for(var c=typeof ShadowRoot<`u`&&s.getRootNode()instanceof ShadowRoot,l=s;l;){t.add(l);var u=l.parentElement,d=[];u?d=u.children:!u&&c&&(d=l.getRootNode().children,u=l.getRootNode().host,c=typeof ShadowRoot<`u`&&u.getRootNode()instanceof ShadowRoot);var f=_lr(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;n.add(m)}}catch(e){f.e(e)}finally{f.f()}l=u}}}catch(e){r.e(e)}finally{r.f()}t.forEach(function(e){n.delete(e)}),a.adjacentElements=n},ne=function(){if(a.active)return n.removeEventListener(`focusin`,_,!0),n.removeEventListener(`mousedown`,g,!0),n.removeEventListener(`touchstart`,g,!0),n.removeEventListener(`click`,x,!0),n.removeEventListener(`keydown`,y,!0),n.removeEventListener(`keydown`,b),o},re=typeof window<`u`&&`MutationObserver`in window?new MutationObserver(function(e){var t=a.mostRecentlyFocusedNode;t&&e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===t||typeof e.contains==`function`&&e.contains(t)})})&&a.containers.some(function(e){return e?.isConnected})&&(f(),p(d()))}):void 0,ie=function(){re&&(re.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){re.observe(e,{subtree:!0,childList:!0})}))};return o={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=s(e,`onActivate`),i=s(e,`onPostActivate`),c=s(e,`checkCanFocusTrap`),l=J9.getActiveTrap(r),d=!1;if(l&&!l.paused){var p;(p=l._setSubtreeIsolation)==null||p.call(l,!1),d=!0}try{c||f(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=u(n),t?.({trap:o});var m=function(){c&&f();var e=function(){o._setSubtreeIsolation(!0),ie(),i?.({trap:o})},t=ee();t?t.then(e):e()};if(c)return c(a.containers.concat()).then(m,m),this;m()}catch(e){if(l===J9.getActiveTrap(r)&&d){var h;(h=l._setSubtreeIsolation)==null||h.call(l,!0)}throw e}return this},deactivate:function(e){if(!a.active)return this;var t=Slr({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||o._setSubtreeIsolation(!1),a.alreadySilent.clear(),ne(),a.active=!1,a.paused=!1,ie(),J9.deactivateTrap(r,o);var n=s(t,`onDeactivate`),c=s(t,`onPostDeactivate`),l=s(t,`checkCanReturnFocus`),u=s(t,`delayReturnFocus`),d=s(t,`returnFocus`,`returnFocusOnDeactivate`);n?.({trap:o});var f=function(){d&&p(m(a.nodeFocusedBeforeActivation)),c?.({trap:o})},h=function(){u&&d?jlr(f):f()};return d&&l?(l(m(a.nodeFocusedBeforeActivation)).then(h,h),this):(h(),this)},pause:function(e){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return!a.active||(a.manuallyPaused=!1,r[r.length-1]!==this)?this:this._setPausedState(!1,e)},updateContainerElements:function(e){return a.containers=[].concat(e).filter(Boolean).map(function(e){return typeof e==`string`?n.querySelector(e):e}),i.isolateSubtrees&&te(a.containers),a.active&&(f(),a.paused||o._setSubtreeIsolation(!0)),ie(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(e,t){if(a.paused===e)return this;if(a.paused=e,e){var n=s(t,`onPause`),r=s(t,`onPostPause`);n?.({trap:o}),ne(),o._setSubtreeIsolation(!1),ie(),r?.({trap:o})}else{var i=s(t,`onUnpause`),c=s(t,`onPostUnpause`);i?.({trap:o}),(function(){f();var e=function(){o._setSubtreeIsolation(!0),ie(),c?.({trap:o})},t=ee();t?t.then(e):e()})()}return this}},_setSubtreeIsolation:{value:function(e){i.isolateSubtrees&&a.adjacentElements.forEach(function(t){if(e)switch(i.isolateSubtrees){case`aria-hidden`:(t.ariaHidden===`true`||t.getAttribute(`aria-hidden`)?.toLowerCase()===`true`)&&a.alreadySilent.add(t),t.setAttribute(`aria-hidden`,`true`);break;default:(t.inert||t.hasAttribute(`inert`))&&a.alreadySilent.add(t),t.setAttribute(`inert`,!0)}else if(!a.alreadySilent.has(t))switch(i.isolateSubtrees){case`aria-hidden`:t.removeAttribute(`aria-hidden`);break;default:t.removeAttribute(`inert`)}})}}}),o.updateContainerElements(e),o}}));function Flr(e,t={}){let n,{immediate:r,...i}=t,a=Cn(!1),o=Cn(!1),s=e=>n&&n.activate(e),c=e=>n&&n.deactivate(e);return dr(z(()=>hT(wn(e)).map(e=>{let t=wn(e);return typeof t==`string`?t:xT(t)}).filter(_T)),e=>{if(e.length){if(!n)n=Nlr(e,{...i,onActivate(e){a.value=!0,t.onActivate&&t.onActivate(e)},onDeactivate(e){a.value=!1,t.onDeactivate&&t.onDeactivate(e)}}),r&&s();else{let t=n?.active;n?.updateContainerElements(e),!t&&r&&s()}}},{flush:`post`}),mT(()=>c()),{hasFocus:a,isPaused:o,activate:s,deactivate:c,pause:()=>{n&&(n.pause(),o.value=!0)},unpause:()=>{n&&(n.unpause(),o.value=!1)}}}var Ilr=s((()=>{bT(),B(),jT(),Plr()})),Llr,Rlr,zlr,Blr=s((()=>{Fs(),B(),ynt(),Ilr(),Llr={class:`scalar scalar-app z-overlay relative`},Rlr=[`aria-label`],zlr=k({__name:`ModalClientContainer`,props:{modalState:{}},emits:[`open`,`close`],setup(e,{emit:t}){let n=e,r=t,{translate:i}=Ps(),a=E(null),{activate:o,deactivate:s}=Flr(a,{allowOutsideClick:!0,fallbackFocus:()=>a.value,initialFocus:()=>a.value?.querySelector(`[data-modal-initial-focus]`)??void 0});return Fi(()=>F0()),dr(()=>n.modalState.open,async e=>{e?(await nr(),o(),r(`open`)):(s(),r(`close`))},{immediate:!1}),Ri(()=>{s()}),(t,n)=>(j(),M(`div`,Llr,[P(`div`,{class:lt([`scalar-container`,{"scalar-client--open":e.modalState.open}])},[P(`div`,oi({ref_key:`client`,ref:a,"aria-label":D(i)(`apiClient.modalClientContainer.label`),"aria-modal":`true`},t.$attrs,{class:`scalar-app-layout scalar-client`,role:`dialog`,tabindex:`-1`}),[R(D(_nt),null,{default:O(()=>[A(t.$slots,`default`,{},void 0,!0)]),_:3})],16,Rlr),P(`div`,{class:`scalar-app-exit`,onClick:n[0]||=t=>e.modalState.hide()})],2)]))}})})),Vlr,Hlr=s((()=>{Ds(),Blr(),Vlr=Es(zlr,[[`__scopeId`,`data-v-44c68ca5`]])})),Ulr,Wlr=s((()=>{Ulr=`1.76.0`})),Glr,Klr,qlr,Jlr=s((()=>{Fs(),Asn(),Wlr(),bwn(),B(),rS(),Ic(),iu(),NZt(),$J(),Glr=[`dir`,`lang`],Klr={class:`text-c-3`},qlr=k({__name:`Operation`,props:{isActive:{type:Boolean,default:!0},documentSlug:{},document:{},eventBus:{},layout:{},path:{},method:{},exampleName:{},isWebhook:{type:Boolean,default:!1},environment:{},workspaceStore:{},plugins:{},options:{},requestBodyCompositionSelection:{}},setup(e){let t=Ps(),{translate:n,locale:r,direction:i}=Vce(()=>wn(e.options)?.localization??{locale:t.locale.value,direction:t.direction.value,translations:t.translations.value}),a=z(()=>{if(!e.path||!e.method||!e.exampleName||!e.document)return null;let t=RGe(e.workspaceStore,e.documentSlug,{path:e.path,method:e.method,exampleName:e.exampleName,isWebhook:e.isWebhook},{baseServerUrl:wn(e.options)?.baseServerURL,fallbackDocument:e.document,isElectron:Fc(),layout:e.layout===`web`?`web`:`other`,servers:wn(e.options)?.servers,appVersion:Ulr,authentication:wn(e.options)?.authentication});return t.ok?t.data:null}),o=z(()=>a.value?.operation??null),s=()=>e.workspaceStore.externalExamples(e.documentSlug);cr(XJ,s);let c=z(()=>hv(H(o.value?.requestBody),e.exampleName)??void 0),l=E(null),u=ZJ(l),d=QJ(()=>o.value?mJ(o.value,e.exampleName??``,c.value):[],()=>e.isActive&&u.value,s),f=z(()=>o.value?hJ(o.value,e.exampleName??``,c.value,d.resolve):null),p=z(()=>a.value?.cookies.workspace??[]),m=z(()=>a.value?.cookies.document??[]),h=z(()=>a.value?.servers.list??[]),g=z(()=>a.value?.servers.selected??null),_=z(()=>a.value?.servers.meta??{type:`document`}),v=z(()=>a.value?.security.schemes??{}),y=z(()=>a.value?.security.selected??{selectedIndex:-1,selectedSchemes:[]}),b=z(()=>a.value?.security.selectedSchemes??[]),x=z(()=>a.value?.security.requirements??[]),ee=z(()=>a.value?.security.meta??{type:`document`}),te=z(()=>a.value?.headers.default??{}),ne=z(()=>Array.from(new Set(Object.keys({...e.document?.[`x-scalar-environments`],...e.workspaceStore.workspace[`x-scalar-environments`]})))),re=z(()=>r3(wn(e.options)?.hiddenClients));return(t,a)=>e.path&&e.method&&e.exampleName&&f.value&&e.document?(j(),N(D(ksn),{key:0,ref_key:`container`,ref:l,activeEnvironment:e.workspaceStore.workspace[`x-scalar-active-environment`],appVersion:D(Ulr),authMeta:ee.value,defaultHeaders:te.value,dir:D(i),document:e.document,documentCookies:m.value,documentSecurity:e.document?.security??[],documentSlug:e.documentSlug,documentUrl:e.document?.[`x-scalar-original-source-url`],environment:e.environment,environments:ne.value,eventBus:e.eventBus,exampleKey:e.exampleName,externalExamplesFailed:D(d).failed.value,externalExamplesPending:D(d).pending.value,hideClientButton:wn(e.options)?.hideClientButton??!1,history:e.workspaceStore.history.getHistory(e.documentSlug,e.path,e.method),httpClients:re.value,isWebhook:e.isWebhook,lang:D(r),layout:e.layout,method:e.method,operation:f.value,options:e.options,path:e.path,plugins:e.plugins,proxyUrl:D(xx)(e.workspaceStore.workspace[`x-scalar-active-proxy`],e.layout===`web`?`web`:`other`)??``,requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:x.value,securitySchemes:v.value,selectedClient:e.workspaceStore.workspace[`x-scalar-default-client`],selectedSecurity:y.value,selectedSecuritySchemes:b.value,server:g.value,serverMeta:_.value,servers:h.value,sourceOperation:o.value??void 0,workspaceCookies:p.value,"onRetry:externalExamples":D(d).retry},null,8,`activeEnvironment.appVersion.authMeta.defaultHeaders.dir.document.documentCookies.documentSecurity.documentSlug.documentUrl.environment.environments.eventBus.exampleKey.externalExamplesFailed.externalExamplesPending.hideClientButton.history.httpClients.isWebhook.lang.layout.method.operation.options.path.plugins.proxyUrl.requestBodyCompositionSelection.securityRequirements.securitySchemes.selectedClient.selectedSecurity.selectedSecuritySchemes.server.serverMeta.servers.sourceOperation.workspaceCookies.onRetry:externalExamples`.split(`.`))):(j(),M(`div`,{key:1,class:`flex h-full w-full items-center justify-center`,dir:D(i),lang:D(r)},[P(`span`,Klr,T(D(n)(`apiClient.operation.selectAnOperationToViewDetails`)),1)],8,Glr))}})})),Ylr,Xlr=s((()=>{Jlr(),Ylr=qlr})),Zlr,Qlr=s((()=>{B(),Zlr=e=>{let t=E(``),n=E(!1),r=()=>{let n=wn(e);n&&(t.value=n.style.overflow,n.style.overflow=`hidden`)},i=()=>{let n=wn(e);n&&(t.value===``?n.style.removeProperty(`overflow`):n.style.overflow=t.value)},a=z({get:()=>n.value,set:e=>{n.value=e,e?r():i()}});return Ri(()=>{n.value&&i()}),a}})),$lr,eur,tur,nur,rur=s((()=>{Fs(),Dsr(),Lcr(),Gcr(),Hlr(),lsr(),Xlr(),Qlr(),B(),rS(),ZB(),$lr={key:0,class:`relative flex h-full min-h-0 w-full flex-1`},eur={key:1,class:`flex h-full w-full items-center justify-center`},tur={class:`text-c-3`},nur=k({__name:`Modal`,props:{workspaceStore:{},document:{},path:{},eventBus:{},method:{},exampleName:{},isWebhook:{},requestBodyCompositionSelection:{},modalState:{},sidebarState:{},plugins:{},options:{}},setup(e,{expose:t}){let{translate:n,locale:r,direction:i}=Vce(()=>e.options.value.localization),a={label:`default`,id:`default`},o=E(!1);ssr({getConfiguredSecuritySchemes:()=>e.options.value.authentication?.securitySchemes,eventBus:e.eventBus,isSidebarOpen:o,requestBodyCompositionSelection:e.requestBodyCompositionSelection,sidebarState:e.sidebarState,modalState:e.modalState,store:e.workspaceStore}),Esr(e.eventBus,`modal`,()=>!e.modalState.open);let s=()=>{e.eventBus.emit(`operation:cancel:request`)},c=Zlr(()=>typeof window<`u`?window.document.body:null);dr(()=>e.modalState.open,e=>{c.value=e,e||s()}),Ri(()=>s());let l=z(()=>e.workspaceStore?.workspace?.[`x-scalar-sidebar-width`]??288),u=t=>e.workspaceStore?.update(`x-scalar-sidebar-width`,t),d=z(()=>ox(e.workspaceStore,e.document.value).environment);return t({sidebarWidth:l,environment:d}),(t,s)=>(j(),N(Vlr,{dir:D(i),lang:D(r),modalState:e.modalState},{default:O(()=>[R(D(XB)),e.document.value&&e.path?.value&&e.method?.value?(j(),M(`main`,$lr,[R(D(Wcr),{modelValue:o.value,"onUpdate:modelValue":s[0]||=e=>o.value=e,class:`absolute top-2 left-4 z-10 max-lg:fixed max-lg:top-2 max-lg:left-2`,variant:`overlay`},null,8,[`modelValue`]),or(R(D(Icr),{sidebarWidth:l.value,"onUpdate:sidebarWidth":[s[1]||=e=>l.value=e,u],activeWorkspace:a,class:`h-full max-md:absolute! max-md:z-5 max-md:w-full!`,documents:[e.document.value],eventBus:e.eventBus,isDroppable:()=>!1,layout:`modal`,sidebarState:e.sidebarState.state,workspaces:[],onSelectItem:e.sidebarState.handleSelectItem},null,8,[`sidebarWidth`,`documents`,`eventBus`,`sidebarState`,`onSelectItem`]),[[za,o.value]]),R(Ylr,{activeWorkspace:a,class:`flex-1`,document:e.document.value,documentSlug:e.document.value[`x-scalar-navigation`]?.name??``,environment:d.value,eventBus:e.eventBus,exampleName:e.exampleName?.value,isActive:e.modalState.open,isWebhook:e.isWebhook.value,layout:`modal`,method:e.method?.value,options:e.options,path:e.path?.value,plugins:e.plugins,requestBodyCompositionSelection:e.requestBodyCompositionSelection.value,workspaceStore:e.workspaceStore},null,8,[`document`,`documentSlug`,`environment`,`eventBus`,`exampleName`,`isActive`,`isWebhook`,`method`,`options`,`path`,`plugins`,`requestBodyCompositionSelection`,`workspaceStore`])])):(j(),M(`div`,eur,[P(`span`,tur,T(D(n)(`apiClient.modal.noDocumentSelected`)),1)]))]),_:1},8,[`dir`,`lang`,`modalState`]))}})})),iur,aur=s((()=>{rur(),iur=nur})),our,sur,cur=s((()=>{gsr(),ysr(),aur(),B(),jX(),o0(),ax(),iY(),our=0,sur=({el:e,eventBus:t=rY({debug:!1}),mountOnInitialize:n=!0,plugins:r=[],workspaceStore:i,options:a={}})=>{let o=E({}),s=Sn(a)?a:E(wn(a)),c={path:`default`,method:`default`,example:`default`,documentSlug:i.workspace[`x-scalar-active-document`]||`default`,isWebhook:!1},l=fn({...c}),u=e=>{Object.assign(l,c,e)},d=z(()=>hsr(i,l)),f=z(()=>d.value.documentSlug),p=z(()=>d.value.path),m=z(()=>d.value.method),h=z(()=>d.value.example),g=z(()=>d.value.isWebhook??!1),_=z(()=>{let e=i.workspace.documents[f.value??``];return tx(e)?e:null}),v=vsr({workspaceStore:i,documentSlug:f,path:p,method:m,exampleName:h,isWebhook:g,route:u}),y=kX(),b=Xa(iur,{document:_,eventBus:t,exampleName:h,isWebhook:g,method:m,modalState:y,path:p,plugins:r,requestBodyCompositionSelection:o,sidebarState:v,workspaceStore:i,options:s}),x=[];for(let e of r)e.lifecycle?.onInit?.(),x.push(sin(t,e));b.onUnmount(()=>{for(let e of x)e();for(let e of r)e.lifecycle?.onDestroy?.()}),dr(()=>wn(s).proxyUrl,e=>i.update(`x-scalar-active-proxy`,e),{immediate:!0}),b.config.idPrefix=`scalar-client-${our++}`;let ee=(t=e)=>{t?b.mount(t):console.error(`[@scalar/api-client] Could not create the API client Modal.`,`Invalid HTML element provided.`,`Read more: https://github.com/scalar/scalar/tree/main/packages/api-client`)};return n&&ee(),{app:b,open:e=>{o.value={},y.open=!0,e&&u(e)},mount:ee,route:u,modalState:y,updateOptions:(e,t=!1)=>{s.value=t?e:{...s.value,...e}}}}})),lur=l({createApiClientModal:()=>sur,initializeModalEvents:()=>ssr,mapHiddenClientsConfig:()=>r3}),uur=s((()=>{lsr(),bwn(),cur()})),dur,fur,pur,mur=s((()=>{J5n(),C9(),Etr(),Otr(),Atr(),jor(),osr(),B(),w0(),dur={ref:`clientModal`},fur=[`role`],pur=k({__name:`Chat`,emits:[`uploadApi`],setup(e){let{chat:t,prompt:n,settingsModal:r,eventBus:i,workspaceStore:a,config:o,mode:s,addDocument:c,getActiveDocumentJson:l,getActiveDocumentContext:u,terms:d}=x9(),f=Cr(`clientModal`),p=S0({eventBus:i,store:E(a),hooks:{}}),m=E(`idle`);x0({eventBus:i,status:m,load:async()=>{let{createApiClientModal:e}=await Promise.resolve().then(()=>(uur(),lur));return()=>f.value?(p(),e({el:f.value,options:o,eventBus:i,workspaceStore:a})):null}}),Ri(p),Ii(async()=>{let e=U5n();s===`preview`&&e&&!l&&await c({namespace:e.namespace,slug:e.slug,removable:!1,tmp:!0})});let{uploadTempDocument:h}=G5n();dr(d.accepted,e=>{e&&s===`preview`&&l&&h(l(),!0)},{immediate:!0}),Ri(()=>{t.stop()}),Dtr(),Ttr(),ktr();async function g(){let e=u?.();await t.sendMessage({text:e?`${n.value}\n\nSelected API description: ${e}`:n.value})}return(e,t)=>(j(),M(L,null,[P(`div`,dur,null,512),m.value===`idle`?I(``,!0):(j(),M(`div`,{key:0,class:`bg-b-1 text-c-1 fixed right-4 bottom-4 z-[10001] rounded-lg border px-4 py-3 text-sm shadow-lg`,role:m.value===`error`?`alert`:`status`},T(m.value===`loading`?`Loading request editor…`:`Could not load the request editor. Refresh the page and try again.`),9,fur)),R(Aor,{onSubmit:g,onUploadApi:t[0]||=t=>e.$emit(`uploadApi`)}),R(asr,{modalState:D(r)},null,8,[`modalState`])],64))}})})),hur,gur=s((()=>{mur(),hur=pur})),_ur,vur=s((()=>{C9(),gur(),B(),_ur=k({__name:`App`,props:{registryDocuments:{},registryUrl:{},dashboardUrl:{},platformProxyUrl:{},baseUrl:{},mode:{default:`full`},getAccessToken:{type:Function},getAgentKey:{type:Function},getActiveDocumentJson:{type:Function},getActiveDocumentContext:{type:Function},isLoggedIn:{},prefilledMessage:{},hideAddApi:{type:Boolean}},emits:[`uploadApi`],setup(e,{expose:t}){let n=Ctr({getActiveDocumentJson:e.getActiveDocumentJson,getActiveDocumentContext:e.getActiveDocumentContext,initialRegistryDocuments:e.registryDocuments,prefilledMessageRef:e.prefilledMessage,platformProxyUrl:e.platformProxyUrl,registryUrl:e.registryUrl,baseUrl:e.baseUrl,mode:e.mode,getAccessToken:e.getAccessToken,getAgentKey:e.getAgentKey,isLoggedIn:e.isLoggedIn,dashboardUrl:e.dashboardUrl,hideAddApi:e.hideAddApi});return cr(wtr,n),t({addDocumentAsync:n.addDocumentAsync}),(e,t)=>(j(),N(hur,{onUploadApi:t[0]||=t=>e.$emit(`uploadApi`)}))}})})),yur,bur=s((()=>{vur(),yur=_ur})),xur=s((()=>{bur()})),Sur,Cur=s((()=>{B(),xur(),ax(),Sur=k({__name:`AgentScalarChatInterface`,props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{},prefilledMessage:{}},setup(e){let t=z(()=>e.workspaceStore.exportActiveDocument(`json`)??``),n=z(()=>{let t=e.workspaceStore.workspace.activeDocument;if(!t)return;let n=nx(t)?`AsyncAPI`:`OpenAPI`;return`${t.info.title} (${n}, version ${t.info.version}, source ${e.workspaceStore.workspace[`x-scalar-active-document`]})`}),r=z(()=>JSON.stringify([e.workspaceStore.workspace[`x-scalar-active-document`],t.value,e.agentScalarConfiguration?.key])),i={prefilledMessage:E(e.prefilledMessage?.value??``)};return dr(()=>e.prefilledMessage?.value,e=>{i.prefilledMessage.value=e??``}),dr(r,()=>{i.prefilledMessage.value=``},{flush:`sync`}),(a,o)=>(j(),N(D(yur),{key:r.value,baseUrl:e.externalUrls.apiBaseUrl,dashboardUrl:e.externalUrls.dashboardUrl,getActiveDocumentContext:()=>n.value,getActiveDocumentJson:()=>t.value,getAgentKey:e.agentScalarConfiguration?.key?()=>e.agentScalarConfiguration?.key??``:void 0,hideAddApi:e.agentScalarConfiguration?.hideAddApi,mode:e.agentScalarConfiguration?.key?`full`:`preview`,platformProxyUrl:e.externalUrls.proxyUrl,prefilledMessage:i.prefilledMessage,registryDocuments:[],registryUrl:e.externalUrls.registryUrl},null,8,[`baseUrl`,`dashboardUrl`,`getActiveDocumentContext`,`getActiveDocumentJson`,`getAgentKey`,`hideAddApi`,`mode`,`platformProxyUrl`,`prefilledMessage`,`registryUrl`]))}})})),wur,Tur=s((()=>{Cur(),Cur(),wur=Sur})),Eur,Dur,Our=s((()=>{B(),nI(),Qs(),Q4(),t3(),Tur(),Eur={class:`agent-scalar-container custom-scroll custom-scroll-self-contain-overflow overflow-auto px-6`},Dur=k({__name:`AgentScalarDrawer`,props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{}},setup(e){let t=ewn(),{translate:n}=Z4();return(r,i)=>(j(),M(L,null,[R(Ia,{appear:``,enterActiveClass:`transition-opacity duration-500`,enterFromClass:`opacity-0`,enterToClass:`opacity-100`,leaveActiveClass:`transition-opacity duration-200`,leaveFromClass:`opacity-100`,leaveToClass:`opacity-0`,persisted:``},{default:O(()=>[or(P(`div`,{class:`agent-scalar-overlay bg-backdrop fixed inset-0 z-10 ease-[cubic-bezier(0.77,0,0.175,1)]`,onClick:i[0]||=e=>D(t)?.closeAgent()},null,512),[[za,D(t)?.showAgent.value]])]),_:1}),R(Ia,{appear:``,enterActiveClass:`transition-transform duration-300`,enterFromClass:`-translate-x-full`,enterToClass:`translate-x-0`,leaveActiveClass:`transition-transform duration-200`,leaveFromClass:`translate-x-0`,leaveToClass:`-translate-x-full`,persisted:``},{default:O(()=>[or(P(`div`,{class:`agent-scalar left-refs-w-sidebar bg-b-1 fixed inset-y-0 right-12 z-10 grid border-r shadow-lg`,onKeydown:i[2]||=qa(e=>D(t)?.closeAgent(),[`escape`])},[P(`div`,Eur,[R(wur,{agentScalarConfiguration:e.agentScalarConfiguration,externalUrls:e.externalUrls,prefilledMessage:D(t)?.prefilledMessage,workspaceStore:e.workspaceStore},null,8,[`agentScalarConfiguration`,`externalUrls`,`prefilledMessage`,`workspaceStore`])]),R(D(eI),{class:`agent-scalar-exit-button absolute top-2 right-2`,icon:D(Zs),label:D(n)(`agent.close`),weight:`bold`,onClick:i[1]||=e=>D(t)?.closeAgent()},null,8,[`icon`,`label`])],544),[[za,D(t)?.showAgent.value]])]),_:1})],64))}})})),kur=s((()=>{})),Aur=l({default:()=>jur}),jur,Mur=s((()=>{Our(),Our(),kur(),e3(),jur=$4(Dur,[[`__scopeId`,`data-v-7081e73d`]])})),Q9,Nur,Pur=s((()=>{Q9=()=>typeof document>`u`||typeof window>`u`||typeof document.startViewTransition!=`function`?!1:!(window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches??!1),Nur=async e=>{if(!Q9()){await e();return}let t=document.startViewTransition(e);t.ready.catch(()=>void 0);try{await t.finished}catch{}}})),Fur,Iur=s((()=>{Pur(),B(),E4n(),Fur=()=>{let e=E(!1);return{run:async(t,n)=>{if(!Q9()){await n();return}e.value=!0;let r=document.documentElement;r.setAttribute(T4n,t);try{await Nur(n)}finally{r.removeAttribute(T4n),e.value=!1}},isTransitioning:e,usesViewTransition:E(!1)}}})),Lur,Rur,zur,Bur,Vur,Hur,Uur,Wur,Gur=s((()=>{B(),Pur(),ZB(),Q4(),E4n(),Iur(),Lur=[`data-expanded`,`data-instant`,`data-lifted`],Rur={"aria-hidden":`true`,class:`explore-scalar-reveal grid`},zur={class:`explore-scalar-reveal-inner flex min-h-0 flex-col items-center overflow-hidden`},Bur=[`id`],Vur={class:`explore-scalar-pill flex justify-center`},Hur=[`aria-describedby`],Uur=90,Wur=k({__name:`ExploreScalarButton`,props:{externalUrls:{},url:{},workspace:{}},setup(e){let{translate:t}=Z4(),{toast:n}=JB(),r=E(),i=E(),a=xr(),o=Cn(),s=Cn(),c,l=()=>c??=Promise.all([Promise.resolve().then(()=>(a3n(),r3n)),Promise.resolve().then(()=>(J3n(),K3n))]).then(([e,t])=>{o.value=e.default,s.value=t.default}).catch(e=>{throw c=void 0,e}),u=()=>{l().catch(()=>void 0)};Ii(u);let d=E(!1),f=E(!1),p=!1,m,h=()=>{m!==void 0&&(clearTimeout(m),m=void 0)},g=()=>typeof window<`u`&&(window.matchMedia?.(`(hover: hover)`).matches??!1),_=e=>{try{return e?.matches(`:focus-visible`)??!1}catch{return!1}},v=()=>{u(),g()&&!le.open&&(h(),m=setTimeout(()=>{m=void 0,le.open||(d.value=!0)},Uur))},y=()=>{h(),!p&&!le.open&&(d.value=!1)},b=()=>{u(),_(i.value)&&(d.value=!0)},x=()=>{!p&&!le.open&&(d.value=!1)};Ri(h);let{run:ee,isTransitioning:te,usesViewTransition:ne}=Fur(),re=!1,ie=E(!1),ae=E(!1),oe=e=>{let t=r.value;t&&(t.style.viewTransitionName=e?w4n.card:``,t.querySelectorAll(`[data-sticker]`).forEach(t=>{let n=t.dataset.sticker;t.style.viewTransitionName=e&&ie.value?w4n[n]:``}))},se=async()=>{if(!(re||te.value||le.open)){re=!0;try{try{await l()}catch{n(t(`developerTools.unknownError`),`error`);return}let e=Q9();ne.value=e,ie.value=e&&d.value,p=!0,h(),d.value=!0,e&&(await nr(),oe(!0)),await ee(`open`,async()=>{oe(!1),le.open=!0,ae.value=!0,e&&(f.value=!0,d.value=!1),await nr()}),f.value=!1,d.value=!1}finally{p=!1,re=!1}}},ce=async()=>{if(!(re||te.value||!le.open)){re=!0;try{if(!ne.value){le.open=!1,ae.value=!1,await nr(),d.value=_(i.value);return}p=!0,h(),ie.value=!0,await nr(),await new Promise(e=>requestAnimationFrame(()=>e())),await ee(`close`,async()=>{le.open=!1,ae.value=!1,f.value=!0,d.value=!0,await nr(),oe(!0)}),oe(!1),ne.value=!1,f.value=!1,await nr(),r.value?.offsetHeight,d.value=_(i.value)}finally{p=!1,re=!1}}},le=fn({open:!1,show:()=>void se(),hide:()=>void ce()});return(n,c)=>(j(),M(`div`,{class:`explore-scalar relative h-8`,onFocusin:b,onFocusout:x,onPointerenter:v,onPointerleave:y},[P(`div`,{ref_key:`cardEl`,ref:r,class:`explore-scalar-card bg-b-1 text-sidebar-c-1 absolute inset-x-0 bottom-0 z-10 flex cursor-pointer flex-col overflow-hidden rounded`,"data-expanded":d.value||void 0,"data-instant":f.value||void 0,"data-lifted":ae.value||void 0,onClick:c[0]||=()=>void se()},[P(`div`,Rur,[P(`div`,zur,[o.value?(j(),N(Ar(o.value),{key:0,layout:`row`})):I(``,!0),P(`span`,{id:D(a),class:`explore-scalar-headline text-c-1 max-w-[220px] px-3 pt-3 text-center text-sm leading-snug font-bold text-balance`},T(D(t)(`exploreScalar.headline`)),9,Bur)])]),P(`div`,Vur,[P(`button`,{ref_key:`triggerEl`,ref:i,"aria-describedby":D(a),"aria-haspopup":`dialog`,class:`explore-scalar-cta text-sidebar-c-1 bg-b-1.5 from-b-1 to-b-2 relative z-10 flex h-[31px] items-center justify-center bg-linear-to-b px-3.5 text-sm font-medium whitespace-nowrap hover:bg-linear-to-t dark:bg-linear-to-t dark:hover:bg-linear-to-b`,type:`button`},T(D(t)(`exploreScalar.cta`)),9,Hur)])],8,Lur),s.value?(j(),N(Ar(s.value),{key:0,externalUrls:e.externalUrls,morphStickers:ie.value,state:le,url:e.url,usesViewTransition:D(ne),workspace:e.workspace},null,8,[`externalUrls`,`morphStickers`,`state`,`url`,`usesViewTransition`,`workspace`])):I(``,!0)],32))}})})),Kur=s((()=>{})),qur,Jur=s((()=>{Gur(),Gur(),Kur(),e3(),qur=$4(Wur,[[`__scopeId`,`data-v-acfffa01`]])})),Yur=l({ExploreScalarButton:()=>qur}),Xur=s((()=>{Jur()}));B(),Ts(),kbe(),jsn(),w0(),OV(),Jsn(),Zsn(),Xz(),Q0(),DY(),ty(),lcn(),Re(),S2(),h(),$B(),Wsn(),ZB(),Ce(),eK(),ZSn(),iY(),$J(),rS(),ax(),jT(),Q4(),t3();var Zur=[`dir`,`lang`],Qur={key:1,class:`flex gap-1.5 px-3 pt-3`},$ur=[`href`],edr={key:1},tdr=[`aria-label`,`inert`],ndr={class:`w-64 empty:hidden`},rdr={key:2,class:`mx-auto w-full max-w-[var(--refs-content-max-width)] px-6 pb-4`},idr={class:`max-w-64`},adr={key:4,class:`references-footer`},odr=[`role`];typeof window<`u`&&console.info(`@scalar/[email protected]`);var sdr=k({__name:`ApiReference`,props:{configuration:{}},setup(e,{expose:t}){let n=e,{copyToClipboard:r}=QB(),i=E(!1);Ii(()=>{i.value=lvn()});let a=rY({debug:!1}),o=E(!1);Hae(()=>xr());let s=DV(N3),c=z(()=>a4n(n.configuration)),l=z(()=>Object.keys(c.value).length>1),u=E(Object.values(c.value).find(e=>e.default)?.slug??c.value[Object.keys(c.value)?.[0]??``]?.slug??``);if(typeof window<`u`&&c.value[u.value]?.config.urlRouting!==!1){let e=new URL(window.location.href),t=e.searchParams.get(`api`);if(t&&c.value[t]){u.value=t;let n=D3(E3(e,c.value[t].config.pathRouting?.basePath,t),c.value[t].config.pathRouting?.basePath,l.value);n&&(n.searchParams.delete(`api`),window.history.replaceState({},``,n.toString()))}let n=E3(e,Object.values(c.value).map(e=>e.config.pathRouting?.basePath).find(t=>t?mOn(e,t):!1),l.value?void 0:u.value).split(`/`)[0];n&&c.value[n]&&(u.value=n)}let d=z(()=>Object.values(c.value).map(e=>({label:e.title,id:e.slug}))),f=E(``),p=E(``),m=E(``),h=z(()=>{let e=S.workspace.activeDocument;return nx(e)?e:null});dr(u,()=>{f.value=``,p.value=``,m.value=``});let g=E({}),_=(e,t)=>{let n=ACn(e.localization),r=g.value.modelsSectionLabel??(t?.modelsSectionLabel===`Models`?void 0:t?.modelsSectionLabel);return{...e,modelsSectionLabel:r??n.translations.models.label??`Models`}},v=z(()=>{let e=c.value[u.value]?.config,t={...se(Ne,{}),...e,...g.value};return _(t,e)}),y=jCn(()=>v.value.localization),b=z(()=>({...v.value,labels:{closeGroup:y.translate(`navigation.closeGroup`),httpMethod:y.translate(`common.httpMethod`),openGroup:y.translate(`navigation.openGroup`)}})),x=z(()=>B0(v.value._integration)),ee=z(()=>y.locale.value.replace(`_`,`-`)),te=z(()=>v.value.urlRouting!==!1),ne=E(),re=z(()=>v.value.pathRouting?.basePath??ne.value);cr(GDn,e=>_On(e,re.value,l.value));let ie=e=>_On(e.id,re.value,l.value),ae=z(()=>fvn(v.value.theme,{fonts:v.value.withDefaultFonts})),oe=z(()=>`${v.value.customCss??``}\n${ae.value}`.replace(/<\/style/gi,`<\\/style`)),ce=e=>e.flatMap(e=>{let t=`children`in e&&e.children?ce(e.children):[];return e.type===`webhook`?[{name:e.name,method:e.method,id:e.id},...t]:t});if(te.value&&typeof window<`u`){let e=TOn(window.location.href,EY(v.value.modelsSectionLabel??`Models`),u.value,l.value,re.value);e&&window.history.replaceState({},``,e.toString())}if(te.value&&v.value.redirect&&typeof window<`u`){let e=v.value.redirect((v.value.pathRouting?window.location.pathname:``)+window.location.hash);e&&window.history.replaceState({},``,e)}function le(e,t,n){let r=D3(t||e,n.pathRouting?.basePath??ne.value,l.value);n.urlRouting!==!1&&r&&window.history.replaceState({},``,r.toString()),u.value=e}let S=K4({verbose:!1});cr(XJ,()=>S.externalExamples());let ue=K4({verbose:!1,plugins:[AEn({persistAuth:()=>v.value.persistAuth??!1})]});u4n(S),u4n(ue),ue.externalExamples=S.externalExamples,d4n({configurations:c,sourceStore:S,clientStore:ue});let de=z(()=>{let e=v.value,t=ue.workspace.documents[u.value];return e.servers!==void 0&&tx(t)?{...e,servers:t.servers}:e}),fe=CEn({plugins:Object.values(c.value).flatMap(e=>e.config.plugins??[]),auth:{export:()=>ue.auth.export(),getAuthSecrets:(e,t)=>fln(ue.auth.getAuthSecrets(e,t)),getAuthSelectedSchemas:e=>fln(ue.auth.getAuthSelectedSchemas(e))}});cr(wEn,fe),cr(bI,fe.getMarkdownRenderHooks()),fe.notifyInit(v.value),dr(v,e=>fe.notifyConfigChange(e));let{toggleColorMode:pe,isDarkMode:me}=Vsn({initialColorMode:{true:`dark`,false:`light`,undefined:`system`}[String(v.value.darkMode)],overrideColorMode:v.value.forceDarkModeState}),he=z(()=>S.workspace.activeDocument),ge=z(()=>fe.getSidebarEntries(u.value).reduce((e,t)=>(e[t.viewName].push({id:t.id,title:t.label,type:`text`}),e),{"content.start":[],"content.end":[]})),C=e=>{let t=y.translate(`navigation.introduction`),n=y.translate(`navigation.webhooks`),r=v.value.modelsSectionLabel??`Models`,i=e=>{let a=!1,o=e.map(e=>{let o=e;if(o2n(e)&&e.title!==t?o={...e,title:t}:e.type===`tag`&&e.isWebhooks===!0&&(e.title!==n||e.name!==n)?o={...e,title:n,name:n}:e.type===`models`&&(e.title!==r||e.name!==r)&&(o={...e,title:r,name:r}),`children`in e&&e.children){let t=i(e.children);t!==e.children&&(o=o===e?{...e}:o,o.children=t)}return o!==e&&(a=!0),o});return a?o:e};return i(e)},_e=z(()=>Object.entries(S.workspace.documents).map(([e,t])=>{let n=t[`x-scalar-navigation`]?.children??[],r=e===u.value?[...ge.value[`content.start`],...C(n),...ge.value[`content.end`]]:C(n);return{id:e,type:`document`,description:t.info.description,name:t.info.title??e,title:t.info.title??e,children:r}})),ve=b2(_e,{hooks:{}}),w=e=>{e.forEach(e=>{(e.type===`tag`||e.type===`models`)&&ve.setExpanded(e.id,!0),`children`in e&&e.children&&w(e.children)})},ye=z(()=>ve.items.value.find(e=>e.id===u.value)?.children??[]),be=z(()=>{let e=v.value;if(!e)return[];let t=ye.value,n=h.value?cCn(t,h.value,{protocol:f.value,server:p.value,tag:m.value}):t;if(e.defaultOpenAllTags&&w(n),e.expandAllModelSections){let e=n.find(e=>e.type===`models`);e&&(ve.setExpanded(e.id,!0),e.children?.forEach(e=>{ve.setExpanded(e.id,!0)}))}return n}),xe=z(()=>be.value.find(o2n)?.id??`${u.value}/description/introduction`),Se=E(!0);Ii(()=>{Se.value=!1});let Ce=E(``),we=z(()=>({breadcrumb:Ce.value})),Te=e=>{let t=ve.getEntryById(e);!t||t.type===`document`?Ce.value=``:Ce.value=t.title},Ee=z(()=>{let e=ve.selectedItem.value;if(!e)return[];let t=[],n=ve.getEntryById(e);for(;n;)n.type===`tag`&&(n.isTagGroup!==!0||v.value.layout===`classic`)&&t.unshift({id:n.id,title:n.title}),n=n.parent;return t}),De=e=>{Te(e),ve.setSelected(e),WOn(e,ve.setExpanded,ve.getEntryById)},Oe=e=>{let t=v.value?.setPageTitle,n=ve.getEntryById(e);if(!t||typeof document>`u`||!n?.title)return;let r=S.workspace.activeDocument;document.title=t({title:n.title,document:{title:r?.info?.title??u.value,slug:u.value}})};r4n({config:()=>v.value,store:S,isDarkMode:me}),r4n({config:()=>v.value,store:ue,isDarkMode:me});let ke=z(()=>ox(S,S.workspace.activeDocument??null).environment);if(typeof window<`u`){let e=window;e.dataDumpWorkspace=()=>S}t({eventBus:a,workspaceStore:S,sidebarItems:be});let Ae=z(()=>W2n(be.value));a.on(`scroll-to:model-by-name`,({name:e})=>{let t=Ae.value[e];t&&De(t)});let je=async(e,t)=>{let n=await S.addDocument(e,t),r=ue.workspace.documents[e.name],i=r&&typeof r==`object`?r[`x-scalar-selected-server`]:void 0,a=l4n(S.exportWorkspace().documents[e.name])??{openapi:`3.1.0`,info:{title:``,version:``},"x-scalar-original-document-hash":``};return typeof i==`string`&&Object.assign(a,{"x-scalar-selected-server":i}),ue.loadWorkspace({auth:{},documents:{[e.name]:a},intermediateDocuments:{},originalDocuments:{},overrides:{},history:{},meta:{}}),n},Me=new Map,Pe=e=>{if(S.workspace.documents[e])return Promise.resolve();let t=Me.get(e);if(t)return t;let n=c.value[e];if(!n)return Promise.resolve();let r=_({...n.config,...g.value},n.config),i=(async()=>{let t=await je(n.source.url?{name:e,url:n.source.url,fetch:r.customFetch}:{name:e,document:n.source.content??{}},r),i=ue.workspace.documents[e];if(t===!0&&tx(i)&&i[`x-scalar-selected-server`]===void 0){let t=tS(i.servers,{baseServerUrl:r.baseServerURL,documentUrl:n.source.url});t.length>0&&ue.updateDocument(e,`x-scalar-selected-server`,t[0].url)}t===!0&&r.defaultRequestBodyView&&tx(i)&&i[`x-scalar-default-request-body-view`]===void 0&&ue.updateDocument(e,`x-scalar-default-request-body-view`,r.defaultRequestBodyView)})().finally(()=>{Me.delete(e)});return Me.set(e,i),i},Fe=!1,Ie,Le=()=>{Fe=!0,Ie?.(),Ie=void 0},Re=()=>{if(typeof window>`u`)return;let e=Object.keys(c.value).filter(e=>!S.workspace.documents[e]),t=e=>{if(typeof window.requestIdleCallback==`function`){let t=window.requestIdleCallback(e,{timeout:1500});Ie=()=>window.cancelIdleCallback(t)}else{let t=window.setTimeout(e,200);Ie=()=>window.clearTimeout(t)}},n=()=>{if(Fe)return;let r=e.shift();r&&Pe(r).finally(()=>{Fe||t(n)})};t(n)},ze=async(e,t)=>{let n=c.value[e];if(!n){console.warn(`Document ${e} not found in configList`);return}let r=_({...n.config,...g.value},n.config),i=r.onDocumentSelect?.();le(e,t,r),Xe.value?.route({documentSlug:e}),await Pe(e),S.update(`x-scalar-active-document`,e),ue.update(`x-scalar-active-document`,e);let a=t;if(r.urlRouting!==!1&&t&&typeof window<`u`){let n=TOn(window.location.href,EY(r.modelsSectionLabel??`Models`),e,l.value,r.pathRouting?.basePath??ne.value,ce(S.workspace.activeDocument?.[`x-scalar-navigation`]?.children??[]));n&&(window.history.replaceState({},``,n.toString()),a=E3(n.href,r.pathRouting?.basePath??ne.value,l.value?void 0:e)||t)}if(r.persistAuth&&t4n(ue,e),(async()=>{await i,r.onLoaded?.(e)})(),a&&a!==e)De(a);else if(r.defaultOpenFirstTag){let e=be.value.find(e=>e.type===`tag`);e&&ve.setExpanded(e.id,!0)}Oe(a&&a!==e?a:e)};dr(()=>Object.values(c.value),async(e,t)=>{let n=async(e,t)=>{let n=_({...e.config,...g.value},e.config),r=Me.get(e.slug);r&&await r,S.workspace.documents[e.slug]&&(e.source.url&&e.source.url!==t?.source.url?await je({name:e.slug,url:e.source.url,fetch:n.customFetch},n):e.source.content&&$2n(e.source.content,t&&`content`in t.source?t.source.content??{}:{})&&await je({name:e.slug,document:e.source.content},n))};e.forEach((e,r)=>n(e,t[r]));let r=e.map(e=>e.slug),i=t.map(e=>e.slug);(r.length!==i.length||!r.every((e,t)=>e===i[t]))&&await ze(r[0]??``)},{deep:!0}),Bi(()=>ze(u.value)),Fi(async()=>{if(e4n(ue),te.value&&re.value===void 0&&window.location.hash){let e=decodeURIComponent(window.location.hash.slice(1)),t=new Set(e.split(`/`)),n=Object.keys(c.value).filter(e=>e===u.value||l.value&&t.has(e));await Promise.all(n.map(e=>Pe(e)));let r=gOn(e,[...ve.index.value.keys(),...n.map(e=>`${e}${a2n}`)],l.value);if(ne.value=r?`#${r}`:void 0,l.value){let e=E3(window.location.href,re.value,void 0).split(`/`)[0];e&&c.value[e]&&(u.value=e)}}await ze(u.value,te.value?E3(window.location.href,re.value,l.value?void 0:u.value):void 0),Re()});let Be=z(()=>c.value[u.value]?.source?.url),Ve=$Cn({agentEnabled:z(()=>c.value[u.value]?.agent?.disabled?!1:typeof window<`u`&&ey(window.location.href)?!0:!!c.value[u.value]?.agent?.key)});cr(twn,Ve);let He=aTn({disabled:()=>v.value.showDeveloperTools===`never`,hasDocument:()=>tx(S.workspace.activeDocument),hasSdk:()=>LCn(S.workspace.activeDocument)});cr(iTn,He);let Ue=hne(()=>Promise.resolve().then(()=>(J3n(),K3n))),We=hne(()=>Promise.resolve().then(()=>(Mur(),Aur))),Ge=hne(()=>Promise.resolve().then(()=>(Xur(),Yur)).then(e=>e.ExploreScalarButton)),Ke=E(!1);dr(Ve.showAgent,e=>{e&&(Ke.value=!0)});let qe=S0({getConfiguredSecuritySchemes:()=>v.value.authentication?.securitySchemes,eventBus:a,store:E(ue),hooks:{}}),Je=Cr(`modal`),Ye=E(`idle`),Xe=x0({eventBus:a,status:Ye,load:async()=>{let{createApiClientModal:e}=await Promise.resolve().then(()=>(uur(),lur));return()=>{if(!Je.value)return null;qe();let t=e({el:Je.value,mountOnInitialize:!1,eventBus:a,workspaceStore:ue,options:de,plugins:[...fe.getApiClientPlugins(),...n4n(v,ke)]});return t.app.provide(bI,fe.getMarkdownRenderHooks()),t.mount(Je.value),t}}});Ri(()=>{Le(),qe(),fe.notifyDestroy()}),a.on(`server:update:selected`,({url:e})=>v.value.onServerChange?.(e)),a.on(`asyncapi-server:update:selected`,({name:e})=>{let t=ue.workspace.activeDocument;if(!nx(t))return;let n=IG(t,{webSocketOnly:!1}).find(t=>t.name===e);v.value.onServerChange?.(n?.url??e)}),a.on(`ui:download:document`,({format:e})=>{let t=S.exportActiveDocument(e);t?X2n(t,u.value??`openapi`,e):console.error(`No document found to download`)});let Ze=async(e,t)=>{if(!t&&h.value){let t=n=>n.some(n=>n.id===e||`children`in n&&!!n.children&&t(n.children));t(be.value)||(f.value=``,p.value=``,m.value=``,await nr())}let n=ve.getEntryById(e);if(Oe(e),(n?.type===`tag`||n?.type===`models`||n?.type===`text`)&&ve.isExpanded(e)&&ve.selectedItem.value===e){let t=IOn();ve.setExpanded(e,!1),t();return}n?.type!==`tag`&&n?.type!==`models`&&(o.value=!1),De(e);let r=D3(e,re.value,l.value);r&&(te.value&&window.history.pushState({},``,r),t===`sidebar`&&v.value.onSidebarClick?.(r.toString())),Ve.showAgent.value&&Ve.closeAgent()};a.on(`select:nav-item`,({id:e})=>Ze(e)),a.on(`scroll-to:nav-item`,({id:e})=>Ze(e));let Qe=Cr(`documentStartRef`);a.on(`intersecting:nav-item`,({id:e})=>{if(!LOn.value)return;let t=c4n({id:e,documentStartId:xe.value,documentStartTop:Qe.value?.getBoundingClientRect().top});if(v.value.layout===`modern`&&t!==ve.selectedItem.value){let e=ve.getEntryById(t);(e?.type===`operation`||e?.type===`webhook`)&&e.parent&&ve.setExpanded(e.parent.id,!0)}ve.setSelected(t),Te(t),Oe(t),q_n(t);let n=D3(t,re.value,l.value);te.value&&n&&S.workspace.activeDocument&&window.history.replaceState({},``,n.toString())}),a.on(`toggle:nav-item`,({id:e,open:t})=>{if(t){v.value.onShowMore?.(e);let t=ve.getEntryById(e);if(t&&`children`in t&&t.children){let e=t.children[0];e&&F3(e.id)}}ve.setExpanded(e,t??!ve.isExpanded(e))}),a.on(`copy-url:nav-item`,({id:e})=>{let t=D3(e,re.value,l.value)?.toString();return t&&r(t)});let $e=()=>{if(!te.value)return;let e=E3(window.location.href,re.value,l.value?void 0:u.value);e&&De(e)};Fi(()=>{te.value&&(window.history.scrollRestoration=`manual`),F0(),window.addEventListener(`popstate`,$e)}),Ri(()=>{window.removeEventListener(`popstate`,$e)}),l3(Qe,()=>{a.emit(`intersecting:nav-item`,{id:xe.value})},{onExit:()=>{let e=window.innerHeight/2,t=document.elementsFromPoint(window.innerWidth/2,e).find(e=>e.tagName===`SECTION`&&e.id);t?.id&&a.emit(`intersecting:nav-item`,{id:t.id})},immediate:!0});let et=z(()=>{let e=S.workspace[`x-scalar-color-mode`];return e===`system`?G2n():e}),tt=Vtt(typeof document<`u`?document.body:null);dr(Ve.showAgent,()=>tt.value=Ve.showAgent.value);let nt=E(!1);Ii(()=>{nt.value=ey(window.location.href)});let rt=z(()=>{let{mcp:e,hideClientButton:t}=v.value;return e?.disabled?t?null:`client`:e?.name||e?.url?`mcp`:nt.value?v.value.showDeveloperTools===`never`?t?null:`client`:`explore`:e?`mcp`:t?null:`client`});return(e,t)=>(j(),M(`div`,null,[(j(),N(Ar(`style`),{innerHTML:oe.value},null,8,[`innerHTML`])),P(`div`,{ref:`documentEl`,class:lt([`scalar-app scalar-api-reference references-layout`,[{"scalar-api-references-standalone-mobile":v.value.showSidebar,"scalar-scrollbars-obtrusive":i.value,"references-editable":v.value.isEditable,"references-sidebar":v.value.showSidebar,"references-sidebar-mobile-open":o.value,"references-classic":v.value.layout===`classic`},e.$attrs.class]]),dir:D(y).direction.value,lang:ee.value},[D(He).enabled.value?(j(),N(D(Ue),{key:0,externalUrls:v.value.externalUrls,morphStickers:!1,state:D(He).dialog,url:Be.value,usesViewTransition:!1,workspace:D(S)},null,8,[`externalUrls`,`state`,`url`,`workspace`])):I(``,!0),D(Ve).agentEnabled.value&&Ke.value?(j(),N(D(We),{key:1,agentScalarConfiguration:c.value[u.value]?.agent,externalUrls:v.value.externalUrls,workspaceStore:D(S)},null,8,[`agentScalarConfiguration`,`externalUrls`,`workspaceStore`])):I(``,!0),v.value.layout===`modern`?(j(),N(w1n,{key:2,breadcrumb:Ce.value,isSidebarOpen:o.value,showSidebar:v.value.showSidebar,onToggleSidebar:t[6]||=()=>o.value=!o.value},{search:O(()=>[v.value.hideSearch?I(``,!0):(j(),N(U2n,{key:0,class:`my-2`,document:he.value,eventBus:D(a),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey,showSidebar:v.value.showSidebar},null,8,[`document`,`eventBus`,`hideModels`,`modelsSectionLabel`,`searchHotKey`,`showSidebar`]))]),sidebar:O(({sidebarClasses:n})=>[v.value.showSidebar&&v.value.layout===`modern`?(j(),N(D(v2),{key:0,"aria-label":D(y).translate(`navigation.sidebarFor`,{name:D(S).workspace.activeDocument?.info?.title??``}),class:lt([`t-doc__sidebar`,n]),getHref:ie,isExpanded:D(ve).isExpanded,isSelected:D(ve).isSelected,items:be.value,layout:`reference`,options:b.value,onSelectItem:t[4]||=e=>Ze(e,`sidebar`),onToggleGroup:t[5]||=e=>D(ve).setExpanded(e,!D(ve).isExpanded(e))},{header:O(()=>[d.value.length>1?(j(),N(K0n,{key:0,modelValue:u.value,options:d.value,"onUpdate:modelValue":ze},null,8,[`modelValue`,`options`])):I(``,!0),v.value.hideSearch?I(``,!0):(j(),M(`div`,Qur,[R(U2n,{document:he.value,eventBus:D(a),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey},null,8,[`document`,`eventBus`,`hideModels`,`modelsSectionLabel`,`searchHotKey`]),D(Ve).agentEnabled.value?(j(),N(D(rwn),{key:0})):I(``,!0)])),A(e.$slots,`sidebar-start`,ut(ei(we.value)),void 0,!0)]),before:O(()=>[R(D(aCn),{protocol:f.value,"onUpdate:protocol":t[0]||=e=>f.value=e,server:p.value,"onUpdate:server":t[1]||=e=>p.value=e,tag:m.value,"onUpdate:tag":t[2]||=e=>m.value=e,document:h.value,entries:ye.value},null,8,[`protocol`,`server`,`tag`,`document`,`entries`]),h.value?(j(),N(D(Z0),{key:0,class:`asyncapi-sidebar-document-section`},{default:O(()=>[...t[12]||=[F(` Document `,-1)]]),_:1})):I(``,!0)]),footer:O(()=>[A(e.$slots,`sidebar-end`,ut(ei(we.value)),()=>[R(D(hcn),{class:`darklight-reference`},{description:O(()=>[P(`a`,{class:`no-underline hover:underline`,href:x.value,rel:`noopener`,target:`_blank`},T(D(y).translate(`footer.poweredByScalar`)),9,$ur)]),toggle:O(()=>[!v.value.hideDarkModeToggle&&!v.value.forceDarkModeState?(j(),N(D(D0),{key:0,modelValue:et.value===`dark`,"onUpdate:modelValue":t[3]||=()=>D(pe)()},null,8,[`modelValue`])):(j(),M(`span`,edr))]),default:O(()=>[rt.value===`client`?(j(),N(D(pc),{key:0,buttonSource:`sidebar`,integration:v.value._integration,isDevelopment:D(!1),url:Be.value},null,8,[`integration`,`isDevelopment`,`url`])):I(``,!0),rt.value===`mcp`?(j(),N(D(pwn),{key:1,config:v.value.mcp,externalUrls:v.value.externalUrls,url:Be.value,workspace:D(S)},null,8,[`config`,`externalUrls`,`url`,`workspace`])):I(``,!0),rt.value===`explore`?(j(),N(D(Ge),{key:2,externalUrls:v.value.externalUrls,url:Be.value,workspace:D(S)},null,8,[`externalUrls`,`url`,`workspace`])):I(``,!0)]),_:1})],!0)]),_:3},8,[`aria-label`,`class`,`isExpanded`,`isSelected`,`items`,`options`])):I(``,!0)]),_:3},8,[`breadcrumb`,`isSidebarOpen`,`showSidebar`])):I(``,!0),Se.value?(j(),N(y1n,{key:3,basePath:re.value,isMultiDocument:l.value,items:be.value,options:b.value},null,8,[`basePath`,`isMultiDocument`,`items`,`options`])):I(``,!0),P(`main`,{"aria-label":D(y).translate(`navigation.mainContent`,{name:D(S).workspace.activeDocument?.info?.title??``}),class:`references-rendered`,inert:D(Ve).showAgent.value},[R(g1n,{authStore:D(ue).auth,clientDocument:D(ue).workspace.activeDocument,contextChain:Ee.value,document:D(S).workspace.activeDocument,documentSlug:u.value,environment:ke.value,eventBus:D(a),expandedItems:D(ve).expandedItems.value,expansion:D(s),headingSlugGenerator:v.value.generateHeadingSlug??(e=>`${u.value}/description/${e.slug}`),infoSectionId:xe.value,items:be.value,options:de.value,scrollTargetId:D(N3),specificationExtension:D(x3),xScalarDefaultClient:D(ue).workspace[`x-scalar-default-client`],xScalarDefaultExample:D(ue).workspace[`x-scalar-default-example`]},Mr({start:O(()=>[P(`div`,{ref_key:`documentStartRef`,ref:Qe},null,512),D(S).workspace.activeDocument?(j(),N(D(H0n),{key:0,overrides:g.value,"onUpdate:overrides":t[7]||=e=>g.value=e,class:`references-developer-tools`,configuration:v.value,externalUrls:v.value.externalUrls,workspace:D(S)},null,8,[`overrides`,`configuration`,`externalUrls`,`workspace`])):I(``,!0),v.value.layout===`classic`?(j(),N(ywn,{key:1},{"dark-mode-toggle":O(()=>[!v.value.hideDarkModeToggle&&!v.value.forceDarkModeState?(j(),N(D(T0),{key:0,class:`text-c-2 hover:text-c-1`,mode:et.value,style:{transform:`scale(1.4)`},variant:`icon`,onClick:t[8]||=()=>D(pe)()},null,8,[`mode`])):I(``,!0)]),default:O(()=>[P(`div`,ndr,[d.value.length>1?(j(),N(K0n,{key:0,modelValue:u.value,options:d.value,"onUpdate:modelValue":ze},null,8,[`modelValue`,`options`])):I(``,!0)]),v.value.hideSearch?I(``,!0):(j(),N(U2n,{key:0,class:`t-doc__sidebar max-w-64`,document:he.value,eventBus:D(a),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey},null,8,[`document`,`eventBus`,`hideModels`,`modelsSectionLabel`,`searchHotKey`]))]),_:1})):I(``,!0),v.value.layout===`classic`&&h.value?(j(),M(`div`,rdr,[P(`div`,idr,[R(D(aCn),{is:`div`,protocol:f.value,"onUpdate:protocol":t[9]||=e=>f.value=e,server:p.value,"onUpdate:server":t[10]||=e=>p.value=e,tag:m.value,"onUpdate:tag":t[11]||=e=>m.value=e,document:h.value,entries:ye.value},null,8,[`protocol`,`server`,`tag`,`document`,`entries`])])])):I(``,!0),A(e.$slots,`content-start`,ut(ei(we.value)),void 0,!0)]),end:O(()=>[A(e.$slots,`content-end`,ut(ei(we.value)),void 0,!0)]),_:2},[v.value.isEditable?{name:`empty-state`,fn:O(()=>[A(e.$slots,`editor-placeholder`,ut(ei(we.value)),void 0,!0)]),key:`0`}:void 0]),1032,[`authStore`,`clientDocument`,`contextChain`,`document`,`documentSlug`,`environment`,`eventBus`,`expandedItems`,`expansion`,`headingSlugGenerator`,`infoSectionId`,`items`,`options`,`scrollTargetId`,`specificationExtension`,`xScalarDefaultClient`,`xScalarDefaultExample`])],8,tdr),e.$slots.footer?(j(),M(`div`,adr,[A(e.$slots,`footer`,ut(ei(we.value)),void 0,!0)])):I(``,!0),P(`div`,{ref_key:`modal`,ref:Je},null,512),Ye.value===`idle`?I(``,!0):(j(),M(`div`,{key:5,class:`bg-b-1 text-c-1 fixed right-4 bottom-4 z-[10001] rounded-lg border px-4 py-3 text-sm shadow-lg`,role:Ye.value===`error`?`alert`:`status`},T(Ye.value===`loading`?`Loading request editor…`:`Could not load the request editor. Refresh the page and try again.`),9,odr))],10,Zur),R(D(XB))]))}});e3();var cdr=$4(sdr,[[`__scopeId`,`data-v-f08574be`]]),ldr=e=>import(e),udr=async e=>{try{let t=(await ldr(e))?.default;if(typeof t!=`function`){console.error(`[@scalar/api-reference] The module at ${e} does not export an API Reference plugin as its default export.`);return}return t}catch(t){console.error(`[@scalar/api-reference] Failed to load the plugin module at ${e}:`,t);return}},ddr=e=>Array.isArray(e)?e:[e],fdr=e=>ddr(e).some(e=>!!e.pluginUrls?.length),pdr=async e=>{let t=new Map,n=e=>{let n=t.get(e)??udr(e);return t.set(e,n),n};await Promise.all(ddr(e).map(async e=>{if(!e.pluginUrls?.length)return;let t=(await Promise.all(e.pluginUrls.map(n))).filter(e=>e!==void 0);t.length&&(e.plugins=[...e.plugins??[],...t])}))};Re(),h(),B();var $9=e=>e.getElementById(`api-reference`),mdr=`scalar-style`,hdr=new WeakMap,gdr=e=>{let t=hdr.get(e);if(t)return t;let n={count:0,detachedStyle:null};return hdr.set(e,n),n},_dr=e=>{let t=gdr(e);t.count+=1,t.detachedStyle&&!e.getElementById(mdr)&&(e.head.appendChild(t.detachedStyle),t.detachedStyle=null)},vdr=e=>{let t=gdr(e);if(t.count=Math.max(0,t.count-1),t.count>0)return;let n=e.getElementById(mdr);n instanceof HTMLStyleElement&&(t.detachedStyle=n,n.remove())};function ydr(e){let t=e.querySelector(`[data-spec]`),n=e.querySelector(`[data-spec-url]`),r=e.querySelector(`#api-reference[data-configuration]`),i=()=>{if(r){let e=r.getAttribute(`data-configuration`);if(e)return{_integration:`html`,...JSON.parse(e.split(`&quot;`).join(`"`))}}return Ie({_integration:`html`})},a=()=>{if(i().url)return i().url;if(i().spec?.url)return i().spec?.url;let t=$9(e);if(t){let e=t.getAttribute(`data-url`)?.trim();if(e)return e}if(n){console.warn(`[@scalar/api-reference] The [data-spec-url] HTML API is deprecated. Use the new <script id="api-reference" data-url="/scalar.json" /> API instead.`);let e=n.getAttribute(`data-spec-url`);if(e)return e}},o=()=>{let n=$9(e);if(n){let e=n.innerHTML?.trim();if(e)return e}if(t){console.warn(`[@scalar/api-reference] The [data-spec] HTML API is deprecated. Use the new <script id="api-reference" type="application/json">{"openapi":"3.1.0","info":{"title":"Example"},"paths":{}}<\/script> API instead.`);let e=t.getAttribute(`data-spec`)?.trim();if(e)return e}},s=()=>{let t=$9(e);if(t){let e=t.getAttribute(`data-proxy-url`);if(e)return e.trim()}};if(n||t||$9(e)){let e=i(),t=s();if(p(e)&&e.sources?.length)return{_integration:`html`,...t?{proxyUrl:t}:{},...e};let n=o()?{content:o()}:{url:a()};return Ie({_integration:`html`,proxyUrl:t,...e,...n})}return Ie({_integration:`html`})}function bdr(e,t){let n=e.querySelector(`[data-spec]`),r=e.querySelector(`[data-spec-url]`);t?.darkMode?e.body?.classList.add(`dark-mode`):e.body?.classList.add(`light-mode`);let i=xdr(e,n||r);i&&Sdr(i,t)}var xdr=(e,t)=>{let n=null,r=$9(e);return r?(n=e.createElement(`div`),r?.parentNode?.insertBefore(n,r)):t&&(n=t),n},Sdr=(e,t)=>{let n=fn({configuration:t??e??{}}),r=(e=!1)=>{let t=e?lae(()=>li(cdr,n)):Xa(()=>li(cdr,n));return t.use(Rae()),t.config.idPrefix=`scalar-refs`,t},i=t?typeof e==`string`?document.querySelector(e):e:null,a=r(!!t&&!!i&&i.children.length>0),o=!1;if(t){if(i){let e=()=>{a.mount(i),o=!0,_dr(document)};fdr(n.configuration)?pdr(n.configuration).then(()=>{s.signal.aborted||e()}):e()}else console.error(`Could not find a mount point for API References:`,e)}let s=new AbortController,c={capture:!1,signal:s.signal};document.addEventListener(`scalar:reload-references`,()=>{if(console.warn(`scalar:reload-references event has been deprecated, please use the scalarInstance.app.mount method instead.`),!n.configuration)return;let t=typeof e==`string`?document.querySelector(e):e;t&&(t&&!document.body.contains(t)&&document.body.appendChild(t),a.unmount(),a=r(),a.mount(t))},c);let l=()=>{s.abort(),n.configuration={},o&&(o=!1,a.unmount(),vdr(document))};return document.addEventListener(`scalar:destroy-references`,()=>{console.warn(`scalar:destroy-references event has been deprecated, please use scalarInstance.destroy instead.`),l()},c),document.addEventListener(`scalar:update-references-config`,e=>{console.warn(`scalar:update-references-config event has been deprecated, please use scalarInstance.updateConfiguration instead.`),`detail`in e&&Object.assign(n,e.detail)},c),{app:a,getConfiguration:()=>n.configuration??{},updateConfiguration:e=>{n.configuration=e},destroy:l}};typeof window==`object`&&(window.Scalar={createApiReference:Sdr}),bdr(document,ydr(document))});
+//# sourceMappingURL=standalone.js.map
\ No newline at end of file
diff --git a/cli/go.mod b/cli/go.mod
index 477526b8b..55241de73 100644
--- a/cli/go.mod
+++ b/cli/go.mod
@@ -69,6 +69,7 @@ require (
github.com/distribution/reference v0.6.0 // indirect
github.com/felixge/httpsnoop v1.1.0 // indirect
github.com/go-chi/chi/v5 v5.4.0 // indirect
+ github.com/go-jose/go-jose/v4 v4.1.6 // indirect
github.com/go-logfmt/logfmt v0.6.1 // indirect
github.com/go-logr/logr v1.4.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
diff --git a/cli/go.sum b/cli/go.sum
index a02d81456..c736fecfc 100644
--- a/cli/go.sum
+++ b/cli/go.sum
@@ -148,8 +148,8 @@ github.com/felixge/httpsnoop v1.1.0 h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeO
github.com/felixge/httpsnoop v1.1.0/go.mod h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE=
github.com/go-chi/chi/v5 v5.4.0 h1:+ufzvFTGKyin26Or5DLrlIDq4ygIDBVcj7oVNeeaYFE=
github.com/go-chi/chi/v5 v5.4.0/go.mod h1:d1IG7GtKPSjPyBP365PH8sAGVHk3qfB/IhjFNRH1wWM=
-github.com/go-jose/go-jose/v4 v4.1.5 h1:RjgjO2LOtWOJKUC5wpwY9LR3B3vwVAz6JS2YHfYU6eA=
-github.com/go-jose/go-jose/v4 v4.1.5/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
+github.com/go-jose/go-jose/v4 v4.1.6 h1:sNRkftxFJxwsILiQukqp5z83QBSmntVwmgRY7AqBDO4=
+github.com/go-jose/go-jose/v4 v4.1.6/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
github.com/go-logfmt/logfmt v0.6.1 h1:4hvbpePJKnIzH1B+8OR/JPbTx37NktoI9LE2QZBBkvE=
github.com/go-logfmt/logfmt v0.6.1/go.mod h1:EV2pOAQoZaT1ZXZbqDl5hrymndi4SY9ED9/z6CO0XAk=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=