/**
* Minified by jsDelivr using Terser v5.39.0.
* Original file: /npm/@scalar/api-reference@1.35.7/dist/browser/standalone.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.references-classic-header[data-v-9198d025]{display:flex;align-items:center;gap:12px;max-width:var(--refs-content-max-width);margin:auto;padding:12px 0}.references-classic-header-content[data-v-9198d025]{display:flex;gap:12px;flex-grow:1}.references-classic-header-container[data-v-9198d025]{padding:0 60px}@container narrow-references-container (max-width: 900px){.references-classic-header[data-v-9198d025]{padding:12px 24px}.references-classic-header-container[data-v-9198d025]{padding:0}}.references-classic-header-icon[data-v-9198d025]{height:24px;color:var(--scalar-color-1)}.screenreader-only[data-v-df2e1026]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sidebar-heading-type[data-v-522f945c]{display:inline-flex;align-items:center;gap:4px;overflow:hidden;line-height:14px;flex-shrink:0;text-transform:uppercase;color:var(--method-color, var(--scalar-color-1));font-size:10px;font-weight:var(--scalar-bold);font-family:var(--scalar-font-code);white-space:nowrap}.sidebar-heading[data-v-c1dfe8cc]{display:flex;gap:4px;color:var(--scalar-sidebar-color-2, var(--scalar-color-2));font-size:var(--scalar-small);font-weight:var(--scalar-sidebar-font-weight, var(--scalar-regular));word-break:break-word;line-height:1.385;max-width:100%;position:relative;cursor:pointer;border-radius:var(--scalar-radius);flex:1;padding-right:9px;-webkit-user-select:none;user-select:none}.sidebar-heading-link-method[data-v-c1dfe8cc]{margin:0}.sidebar-heading.deprecated .sidebar-heading-link-title[data-v-c1dfe8cc]{text-decoration:line-through}.sidebar-heading-link-title[data-v-c1dfe8cc]{margin:0}.sidebar-heading-link-title .hanging-indent[data-v-c1dfe8cc]{padding-left:.7em;text-indent:-.7em;overflow-wrap:break-word;word-wrap:break-word}.sidebar-heading[data-v-c1dfe8cc]:hover{background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-heading:hover .sidebar-heading-link-title[data-v-c1dfe8cc]{color:var(--scalar-sidebar-item-hover-color)}.sidebar-heading-link[data-v-c1dfe8cc]:focus-visible{outline:none}.sidebar-heading[data-v-c1dfe8cc]:has(>.sidebar-heading-link:focus-visible){z-index:1;outline:1px solid var(--scalar-color-accent)}.active_page.sidebar-heading[data-v-c1dfe8cc]:hover,.active_page.sidebar-heading[data-v-c1dfe8cc]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent));background:var( --scalar-sidebar-item-active-background, var(--scalar-background-accent) )}.active_page.sidebar-heading p[data-v-c1dfe8cc]{font-weight:var(--scalar-sidebar-font-weight-active, var(--scalar-semibold))}.active_page.sidebar-heading:hover .sidebar-heading-link-title[data-v-c1dfe8cc]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-c1dfe8cc]:before{content:"";position:absolute;top:0;left:calc((var(--scalar-sidebar-level) * 15.5px));width:var(--scalar-border-width);height:100%;background:var(--scalar-sidebar-indent-border)}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-c1dfe8cc]:hover:before{background:var(--scalar-sidebar-indent-border-hover)}.sidebar-indent-nested .sidebar-indent-nested .active_page.sidebar-heading[data-v-c1dfe8cc]:before{background:var(--scalar-sidebar-indent-border-active)}.sidebar-heading-link[data-v-c1dfe8cc]{text-decoration:none;color:inherit;padding:6px 0;display:flex;flex:1;justify-content:space-between;gap:2px}.sidebar-heading p[data-v-c1dfe8cc]{height:fit-content;display:flex;align-items:center;font-weight:var(--scalar-sidebar-font-weight, var(--scalar-regular))}.sidebar-heading p[data-v-c1dfe8cc]:empty{display:none}.link-icon[data-v-c1dfe8cc]{position:relative;left:4px}.sidebar-icon[data-v-c1dfe8cc]{display:flex;align-items:center;justify-content:center;margin-right:6px;width:13px;height:13px}.sidebar-icon>svg[data-v-c1dfe8cc]{width:13px;height:13px}.sidebar-group-item[data-v-c1dfe8cc]{position:relative}.sidebar-heading-chevron[data-v-c1dfe8cc]{margin:6px 0;width:16px}.sidebar-heading-chevron .toggle-nested-icon[data-v-c1dfe8cc]:focus-visible{outline:none}.sidebar-heading[data-v-c1dfe8cc]:has(.sidebar-heading-chevron .toggle-nested-icon:focus-visible){outline:none;box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}.toggle-nested-icon[data-v-c1dfe8cc]{color:var(--scalar-color-3);width:16px;height:16px;display:flex;align-items:center;justify-content:center}.active_page .toggle-nested-icon[data-v-c1dfe8cc]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.toggle-nested-icon[data-v-c1dfe8cc]:hover,.toggle-nested-icon[data-v-c1dfe8cc]:focus-visible{color:currentColor}.action-menu[data-v-c1dfe8cc]{position:absolute;top:5px;right:5px;display:flex;gap:6px}.action-menu[data-v-c1dfe8cc] .button-wrapper button{opacity:0;width:20px;height:20px;padding:4px}.action-menu[data-v-c1dfe8cc]:hover .button-wrapper button,.action-menu[data-v-c1dfe8cc] .button-wrapper button:hover,.sidebar-heading:hover~.action-menu[data-v-c1dfe8cc] .button-wrapper button,.action-menu[data-v-c1dfe8cc] .button-wrapper button[aria-expanded=true]{opacity:1}.sidebar-heading[data-v-c1dfe8cc]:has(~.action-menu:hover){color:var(--scalar-sidebar-color-1, var(--scalar-color-1));background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-group-item__folder[data-v-c1dfe8cc]{color:var(--scalar-sidebar-color-2, var(--scalar-color-2));text-transform:var(--scalar-tag-text-transform, initial)}.sidebar-group-item__folder[data-v-c1dfe8cc]:has(~ul .sidebar-heading.active_page){--scalar-sidebar-font-weight: var(--scalar-sidebar-font-weight-active);color:var(--scalar-sidebar-color-1, var(--scalar-color-1));font-weight:var(--scalar-sidebar-font-weight-active, var(--scalar-semibold))}.sidebar-group[data-v-a0601651]{list-style:none;width:100%;margin:0;padding:0}.sidebar-indent-nested[data-v-a0601651] .sidebar-heading{padding-left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 8px)!important}.sidebar-indent-nested[data-v-a0601651] .sidebar-heading .toggle-nested-icon{left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 2px)!important}:where(.sidebar-indent-nested[data-v-a0601651]) .sidebar-heading{color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}:where(.sidebar-indent-nested[data-v-a0601651]) :where(.sidebar-indent-nested) .sidebar-heading{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.sidebar[data-v-603204fe]{--scalar-sidebar-indent-base: 20px;--scalar-sidebar-font-weight-active: var(--scalar-semibold);--scalar-sidebar-font-weight: var(--scalar-regular)}.sidebar[data-v-603204fe]{flex:1;height:100%;display:flex;flex-direction:column;border-right:var(--scalar-border-width) solid var(--scalar-sidebar-border-color, var(--scalar-border-color));background:var(--scalar-sidebar-background-1, var(--scalar-background-1));--scalar-sidebar-level: 0}.sidebar-pages[data-v-603204fe]{flex:1;padding:6px 12px}@media (max-width: 1000px){.sidebar[data-v-603204fe]{min-height:0;border-right:none}.sidebar-pages[data-v-603204fe]{padding-top:12px}}.sidebar-group-title[data-v-603204fe]{color:var(--scalar-sidebar-color-1);font-size:var(--scalar-mini);padding:12px 6px 6px;font-weight:var(--scalar-semibold);text-transform:uppercase;word-break:break-word;line-height:1.385}.sidebar-group-item+.sidebar-group-title[data-v-603204fe]{border-top:var(--scalar-border-width) solid var(--scalar-sidebar-border-color);margin-top:9px}.section[data-v-393971a5]{position:relative;display:flex;flex-direction:column;max-width:var(--refs-content-max-width);margin:auto;padding:90px 0;scroll-margin-top:var(--refs-header-height)}.section[data-v-393971a5]:has(~div.contents){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.references-classic .section[data-v-393971a5]{padding:48px 0;gap:24px}@container narrow-references-container (max-width: 900px){.references-classic .section[data-v-393971a5],.section[data-v-393971a5]{padding:48px 24px}}.section[data-v-393971a5]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.section-wrapper[data-v-d3d6e381]{color:var(--scalar-color-1);padding-top:12px;margin-top:-12px}.section-accordion[data-v-d3d6e381]{display:flex;flex-direction:column;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2)}.section-accordion-transparent[data-v-d3d6e381]{background:transparent;border:var(--scalar-border-width) solid var(--scalar-border-color)}.section-accordion-button[data-v-d3d6e381]{padding:6px}.section-accordion-button[data-v-d3d6e381]{display:flex;align-items:center;gap:6px;cursor:pointer}.section-accordion-button-content[data-v-d3d6e381]{flex:1;min-width:0}.section-accordion-button-actions[data-v-d3d6e381]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-3)}.section-accordion-chevron[data-v-d3d6e381]{margin-right:4px;cursor:pointer;opacity:1;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-d3d6e381]{color:var(--scalar-color-1)}.section-accordion-content[data-v-d3d6e381]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);display:flex;flex-direction:column}.section-accordion-description[data-v-d3d6e381]{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-d3d6e381] .property:last-of-type{padding-bottom:9px}.section-column[data-v-699c28e3]{flex:1;min-width:0}@container narrow-references-container (max-width: 900px){.section-column[data-v-699c28e3]:nth-of-type(2){padding-top:0}}.section-columns[data-v-8b9602bf]{display:flex;gap:48px}@container narrow-references-container (max-width: 900px){.section-columns[data-v-8b9602bf]{flex-direction:column;gap:24px}}.section-container[data-v-20a1472a]{position:relative;padding:0 60px;width:100%;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-20a1472a]:has(.introduction-section){border-top:none}@container narrow-references-container (max-width: 900px){.section-container[data-v-20a1472a]{padding:0}}.section-accordion-wrapper[data-v-797031c0]{padding:0 60px}.section-accordion[data-v-797031c0]{position:relative;width:100%;max-width:var(--refs-content-max-width);margin:auto}.section-accordion-content[data-v-797031c0]{display:flex;flex-direction:column;gap:12px;padding-top:12px}.section-accordion-button[data-v-797031c0]{width:100%;display:flex;cursor:pointer;padding:6px 0;margin:-6px 0;border-radius:var(--scalar-radius)}.section-accordion-chevron[data-v-797031c0]{position:absolute;left:-22px;top:12px;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-797031c0]{color:var(--scalar-color-1)}.section-accordion-title[data-v-797031c0]{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:0 6px}.section-accordion-title[data-v-797031c0] .section-header-wrapper{grid-template-columns:1fr}.section-accordion-title[data-v-797031c0] .section-header{margin-bottom:0}@container narrow-references-container (max-width: 900px){.section-accordion-chevron[data-v-797031c0]{width:16px;left:-16px;top:14px}.section-accordion-wrapper[data-v-797031c0]{padding:calc(var(--refs-header-height)) 24px 0 24px}}.loading[data-v-8e0226d7]{background:var(--scalar-background-3);animation:loading-skeleton-8e0226d7 1.5s infinite alternate;border-radius:var(--scalar-radius-lg);min-height:1.6em;margin:.6em 0;max-width:100%}.loading[data-v-8e0226d7]:first-of-type{min-height:3em;margin-bottom:24px;margin-top:0}.loading[data-v-8e0226d7]:last-of-type{width:60%}.loading.single-line[data-v-8e0226d7]{min-height:3em;margin:.6em 0;max-width:80%}@keyframes loading-skeleton-8e0226d7{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (max-width: 900px){.section-content--with-columns[data-v-9735459e]{flex-direction:column;gap:24px}}.section-header-wrapper[data-v-465a7a78]{grid-template-columns:1fr;display:grid}@media (min-width:1200px){.section-header-wrapper[data-v-465a7a78]{grid-template-columns:repeat(2,1fr)}}.section-header[data-v-465a7a78]{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;margin-bottom:12px;line-height:1.45}.section-header.tight[data-v-465a7a78]{margin-bottom:6px}.section-header.loading[data-v-465a7a78]{width:80%}.section-header-label[data-v-f1ac6c38]{display:inline}.collapsible-section[data-v-0a6031fe]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-0a6031fe]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-0a6031fe]{display:flex;align-items:center;cursor:pointer;padding:10px 0;font-size:var(--scalar-font-size-3);z-index:1;position:relative}.collapsible-section-trigger svg[data-v-0a6031fe]{color:var(--scalar-color-3);position:absolute;left:-19px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-0a6031fe]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-0a6031fe] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-0a6031fe]{padding:0;margin:0;scroll-margin-top:140px}.collapsible-section:not(:last-child) .collapsible-section-content[data-v-0a6031fe]{margin-bottom:10px}.schema-type-icon[data-v-0759195c]{color:var(--scalar-color-1);display:none}.schema-type[data-v-0759195c]{font-family:var(--scalar-font-code);color:var(--scalar-color-1)}.property-enum-value[data-v-7d21d96b]{color:var(--scalar-color-3);line-height:1.5;word-break:break-word;display:flex;align-items:stretch;position:relative}.property-enum-value-content[data-v-7d21d96b]{display:flex;flex-direction:column;padding:3px 0}.property-enum-value-label[data-v-7d21d96b]{display:flex;font-family:var(--scalar-font-code);color:var(--scalar-color-1);position:relative}.property-enum-value:last-of-type .property-enum-value-label[data-v-7d21d96b]{padding-bottom:0}.property-enum-value[data-v-7d21d96b]:before{content:"";margin-right:12px;width:var(--scalar-border-width);display:block;background:currentColor;color:var(--scalar-color-3)}.property-enum-value[data-v-7d21d96b]:last-of-type:before,.property-enum-values:has(.enum-toggle-button) .property-enum-value[data-v-7d21d96b]:nth-last-child(2):before{height:14px}.property-enum-value[data-v-7d21d96b]:not(:last-child):before{content:"";margin-right:12px;width:var(--scalar-border-width);display:block;background:currentColor;color:var(--scalar-color-3)}.property-enum-value-label[data-v-7d21d96b]:after{content:"";position:absolute;top:50%;left:-12px;width:8px;height:var(--scalar-border-width);background:var(--scalar-color-2)}.property-enum-value[data-v-7d21d96b]:last-of-type:after{bottom:0;height:50%;background:var(--scalar-background-1);border-top:var(--scalar-border-width) solid currentColor}.property-enum-value-description[data-v-7d21d96b]{color:var(--scalar-color-3)}.property-heading:empty+.property-description[data-v-d4946030]:last-of-type,.property-description[data-v-d4946030]:first-of-type:last-of-type{margin-top:0}.property-list[data-v-d4946030]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-d4946030]:last-of-type{padding-bottom:10px}.property-enum-values[data-v-d4946030]{font-size:var(--scalar-font-size-3);list-style:none;margin-top:8px;padding-left:2px}.enum-toggle-button[data-v-d4946030]:hover{color:var(--scalar-color-1)}.badge[data-v-3dedb7e4]{color:var(--badge-text-color, var(--scalar-color-2));font-size:var(--scalar-mini);background:var(--badge-background-color, var(--scalar-background-2));border:var(--scalar-border-width) solid var(--badge-border-color, var(--scalar-border-color));padding:2px 6px;border-radius:12px;display:inline-block}.badge.text-orange[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-orange),transparent 90%);border:transparent}.badge.text-yellow[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-yellow),transparent 90%);border:transparent}.badge.text-red[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%);border:transparent}.badge.text-purple[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-purple),transparent 90%);border:transparent}.badge.text-green[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-green),transparent 90%);border:transparent}.property-detail[data-v-827ea49d]{display:inline-flex}.property-detail+.property-detail[data-v-827ea49d]:before{display:block;content:"·";margin:0 .5ch}.property-detail-truncate[data-v-827ea49d]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-827ea49d]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-detail-prefix[data-v-827ea49d]{color:var(--scalar-color-2)}code.property-detail-value[data-v-827ea49d]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);background:var(--scalar-background-3);padding:0 4px;border:.5px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.property-example[data-v-64e15694]{display:flex;flex-direction:column;font-size:var(--scalar-mini);position:relative}.property-example[data-v-64e15694]:hover:before{content:"";position:absolute;top:0;left:0;width:100%;height:20px;border-radius:var(--scalar-radius)}.property-example:hover .property-example-label span[data-v-64e15694]{color:var(--scalar-color-1)}.property-example-label span[data-v-64e15694]{color:var(--scalar-color-3);position:relative;border-bottom:var(--scalar-border-width) dotted currentColor}.property-example-value[data-v-64e15694]{font-family:var(--scalar-font-code);display:flex;gap:8px;align-items:center;width:100%;padding:6px}.property-example-value span[data-v-64e15694]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-example-value[data-v-64e15694] svg{color:var(--scalar-color-3)}.property-example-value[data-v-64e15694]:hover svg{color:var(--scalar-color-1)}.property-example-value[data-v-64e15694]{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-64e15694]{position:absolute;top:18px;left:50%;transform:translate3d(-50%,0,0);overflow:auto;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);padding:9px;min-width:200px;max-width:300px;flex-direction:column;gap:3px;display:none;z-index:10}.property-example:hover .property-example-value-list[data-v-64e15694],.property-example:focus-within .property-example-value-list[data-v-64e15694]{display:flex}.property-heading[data-v-bfc3b782]{display:flex;flex-wrap:wrap;align-items:baseline;row-gap:9px;white-space:nowrap}.property-heading[data-v-bfc3b782]:has(+.children),.property-heading[data-v-bfc3b782]:has(+.property-rule){margin-bottom:9px}.property-heading[data-v-bfc3b782]>*{margin-right:9px}.property-heading[data-v-bfc3b782]:last-child{margin-right:0}.property-heading>.property-detail[data-v-bfc3b782]:not(:last-of-type){margin-right:0}.property-name[data-v-bfc3b782]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);white-space:normal;overflow-wrap:break-word}.property-additional[data-v-bfc3b782]{font-family:var(--scalar-font-code)}.property-required[data-v-bfc3b782],.property-optional[data-v-bfc3b782]{color:var(--scalar-color-2)}.property-required[data-v-bfc3b782]{font-size:var(--scalar-mini);color:var(--scalar-color-orange)}.property-read-only[data-v-bfc3b782]{font-size:var(--scalar-mini);color:var(--scalar-color-blue)}.property-write-only[data-v-bfc3b782]{font-size:var(--scalar-mini);color:var(--scalar-color-green)}.property-discriminator[data-v-bfc3b782]{font-size:var(--scalar-mini);color:var(--scalar-color-purple)}.property-detail[data-v-bfc3b782]{font-size:var(--scalar-mini);color:var(--scalar-color-2);display:flex;align-items:center;min-width:0}.property-const[data-v-bfc3b782]{color:var(--scalar-color-1)}.deprecated[data-v-bfc3b782]{text-decoration:line-through}.property[data-v-7569fa08]{color:var(--scalar-color-1);display:flex;flex-direction:column;padding:8px;font-size:var(--scalar-small);position:relative}.property.property--level-0[data-v-7569fa08]:has(>.property-rule>.schema-card>.schema-properties.schema-properties-open>ul>li.property){padding-top:0}.property[data-v-7569fa08]:hover{z-index:1}.property--compact.property--level-0[data-v-7569fa08],.property--compact.property--level-1[data-v-7569fa08]{padding:8px 0}.composition-panel .property.property.property.property--level-0[data-v-7569fa08]{padding:0}.property--compact.property--level-0 .composition-panel .property--compact.property--level-1[data-v-7569fa08]{padding:8px}.property[data-v-7569fa08]:has(>.property-rule:nth-of-type(1)):not(.property--compact){padding-top:8px;padding-bottom:8px}.property--deprecated[data-v-7569fa08]{background:repeating-linear-gradient(-45deg,var(--scalar-background-2) 0,var(--scalar-background-2) 2px,transparent 2px,transparent 5px);background-size:100%}.property--deprecated[data-v-7569fa08]>*{opacity:.75}.property-description[data-v-7569fa08]{margin-top:6px;line-height:1.4;font-size:var(--scalar-small)}.property-description[data-v-7569fa08]:has(+.property-rule){margin-bottom:9px}[data-v-7569fa08] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-7569fa08]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.property-description+.children[data-v-7569fa08],.children+.property-rule[data-v-7569fa08]{margin-top:9px}.children[data-v-7569fa08]{display:flex;flex-direction:column}.children .property--compact.property--level-1[data-v-7569fa08]{padding:12px}.property-example-value[data-v-7569fa08]{all:unset;font-family:var(--scalar-font-code);padding:6px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.property-rule[data-v-7569fa08]{border-radius:var(--scalar-radius-lg);display:flex;flex-direction:column}.property-rule[data-v-7569fa08] .composition-panel .schema-card .schema-properties.schema-properties-open{border-top-left-radius:0;border-top-right-radius:0}.property-rule[data-v-7569fa08] .composition-panel>.schema-card>.schema-card-description{padding-left:8px;padding-right:8px;border-left:1px solid var(--scalar-border-color);border-right:1px solid var(--scalar-border-color)}.property-rule[data-v-7569fa08] .composition-panel>.schema-card>.schema-card-description+.schema-properties{margin-top:0}.property-example[data-v-7569fa08]{background:transparent;border:none;display:flex;flex-direction:row;gap:8px}.property-example-label[data-v-7569fa08],.property-example-value[data-v-7569fa08]{padding:3px 0 0}.property-example-value[data-v-7569fa08]{background:var(--scalar-background-2);border-top:0;border-radius:var(--scalar-radius);padding:3px 4px}.property-name[data-v-7569fa08]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.property-name-additional-properties[data-v-7569fa08]:before,.property-name-pattern-properties[data-v-7569fa08]:before{text-transform:uppercase;font-size:var(--scalar-micro);display:inline-block;padding:2px 4px;border-radius:var(--scalar-radius);color:var(--scalar-color-1);border:1px solid var(--scalar-border-color);background-color:var(--scalar-background-2);margin-right:4px}.property-name-pattern-properties[data-v-7569fa08]:before{content:"regex"}.property-name-additional-properties[data-v-7569fa08]:before{content:"unknown"}.error[data-v-6897f9dc]{background-color:var(--scalar-color-red)}.schema-card[data-v-6897f9dc]{z-index:0;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-6897f9dc]{height:var(--schema-title-height);padding:6px 8px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);border-bottom:var(--scalar-border-width) solid transparent}button.schema-card-title[data-v-6897f9dc]{cursor:pointer}button.schema-card-title[data-v-6897f9dc]:hover{color:var(--scalar-color-1)}.schema-card-title-icon--open[data-v-6897f9dc]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title[data-v-6897f9dc]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.schema-properties-open>.schema-properties[data-v-6897f9dc]{width:fit-content}.schema-card-description[data-v-6897f9dc]{color:var(--scalar-color-2)}.schema-card-description+.schema-properties[data-v-6897f9dc]{width:fit-content}.schema-card-description+.schema-properties[data-v-6897f9dc]{margin-top:8px}.schema-properties-open.schema-properties[data-v-6897f9dc],.schema-properties-open>.schema-card--open[data-v-6897f9dc]{width:100%}.schema-properties[data-v-6897f9dc]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);width:fit-content}.schema-properties-name[data-v-6897f9dc]{width:100%}.schema-properties .schema-properties[data-v-6897f9dc]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-6897f9dc]{border-radius:var(--scalar-radius-lg)}.schema-properties-open[data-v-6897f9dc]{width:100%}.schema-card--compact[data-v-6897f9dc]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-6897f9dc]{align-self:initial}.schema-card-title--compact[data-v-6897f9dc]{color:var(--scalar-color-2);padding:6px 10px 6px 8px;height:auto;border-bottom:none}.schema-card-title--compact>.schema-card-title-icon[data-v-6897f9dc]{margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-6897f9dc]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-6897f9dc]{position:static}.property--level-0>.schema-properties>.schema-card--level-0>.schema-properties[data-v-6897f9dc]{border:none}.property--level-0 .schema-card--level-0:not(.schema-card--compact) .property--level-1[data-v-6897f9dc]{padding:0 0 8px}:not(.composition-panel)>.schema-card--compact.schema-card--level-0>.schema-properties[data-v-6897f9dc]{border:none}[data-v-6897f9dc] .schema-card-description p{font-size:var(--scalar-small, var(--scalar-paragraph));color:var(--scalar-color-2);line-height:1.5;display:block;margin-bottom:6px}.children .schema-card-description[data-v-6897f9dc]:first-of-type{padding-top:0}.reference-models[data-v-59fedb4d]{margin-bottom:48px}.reference-models-anchor[data-v-59fedb4d]{display:flex;align-items:center;font-size:20px;padding-left:6px;color:var(--scalar-color-1)}.reference-models-label[data-v-59fedb4d]{display:block;font-size:var(--scalar-mini)}.reference-models-label[data-v-59fedb4d] em{font-weight:var(--scalar-bold)}.show-more[data-v-b2ca4789]{appearance:none;border:none;border:var(--scalar-border-width) solid var(--scalar-border-color);margin:auto;padding:8px 12px 8px 16px;border-radius:30px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);display:flex;align-items:center;justify-content:center;position:relative;gap:6px;top:-48px}.show-more[data-v-b2ca4789]:hover{background:var(--scalar-background-2);cursor:pointer}.show-more[data-v-b2ca4789]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.show-more[data-v-b2ca4789]{top:-24px}}.models-list[data-v-cd0edd51]{display:contents}.models-list-truncated .models-list-item[data-v-cd0edd51]:last-child{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.show-more-models[data-v-cd0edd51]{margin-top:32px;top:0}.models-list-item[data-v-cd0edd51]:hover{z-index:10}.section-flare[data-v-2a9c8c02]{top:0;right:0;pointer-events:none}.auth-combobox-position[data-v-8fdc6369]{margin-left:120px}.scroll-timeline-x[data-v-8fdc6369]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-8fdc6369],.fade-right[data-v-8fdc6369]{position:sticky;content:"";height:100%;animation-name:fadein-8fdc6369;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none}.fade-left[data-v-8fdc6369]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);min-width:3px;left:-1px;animation-direction:normal}.fade-right[data-v-8fdc6369]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);margin-left:-20px;min-width:24px;right:-1px;top:0}@keyframes fadein-8fdc6369{0%{opacity:0}15%{opacity:1}}.auth-combobox-position[data-v-6b2a41a3]{margin-left:120px}.scroll-timeline-x[data-v-6b2a41a3]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-6b2a41a3],.fade-right[data-v-6b2a41a3]{position:sticky;content:"";height:100%;animation-name:fadein-6b2a41a3;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none}.fade-left[data-v-6b2a41a3]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);min-width:3px;left:-1px;animation-direction:normal}.fade-right[data-v-6b2a41a3]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);margin-left:-20px;min-width:24px;right:-1px;top:0}@keyframes fadein-6b2a41a3{0%{opacity:0}15%{opacity:1}}.client-libraries-content[data-v-d7b97a77]{container:client-libraries-content / inline-size;display:flex;justify-content:center;overflow:hidden;padding:0 12px;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)}.client-libraries[data-v-d7b97a77]{display:flex;align-items:center;justify-content:center;width:100%;position:relative;cursor:pointer;white-space:nowrap;padding:8px 2px;gap:6px;color:var(--scalar-color-3);border-bottom:1px solid transparent;-webkit-user-select:none;user-select:none}.client-libraries[data-v-d7b97a77]:not(.client-libraries__active):hover:before{content:"";position:absolute;width:calc(100% - 4px);height:calc(100% - 4px);background:var(--scalar-background-2);left:2px;top:2px;z-index:0;border-radius:var(--scalar-radius)}.client-libraries[data-v-d7b97a77]:active{color:var(--scalar-color-1)}.client-libraries[data-v-d7b97a77]:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}@media screen and (max-width: 450px){.client-libraries[data-v-d7b97a77]:nth-of-type(4),.client-libraries[data-v-d7b97a77]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-d7b97a77]{max-width:14px;max-height:14px;min-width:14px;width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;color:currentColor}.client-libraries-icon__more svg[data-v-d7b97a77]{height:initial}@container client-libraries-content (width < 400px){.client-libraries__select[data-v-d7b97a77]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-d7b97a77]{display:none}}@container client-libraries-content (width < 380px){.client-libraries[data-v-d7b97a77]{width:100%}.client-libraries span[data-v-d7b97a77]{display:none}}.client-libraries__active[data-v-d7b97a77]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}@keyframes codeloader-d7b97a77{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries .client-libraries-text[data-v-d7b97a77]{font-size:var(--scalar-small);position:relative;display:flex;align-items:center}.client-libraries__active .client-libraries-text[data-v-d7b97a77]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (max-width: 600px){.references-classic .client-libraries[data-v-d7b97a77]{flex-direction:column}}.selected-client[data-v-ce2bcf3d]{color:var(--scalar-color-1);font-size:var(--scalar-small);font-family:var(--scalar-font-code);padding:9px 12px;border-top:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);min-height:fit-content}.client-libraries-heading[data-v-ce2bcf3d]{font-size:var(--scalar-small);font-weight:var(--scalar-font-medium);color:var(--scalar-color-1);padding:9px 12px;background-color:var(--scalar-background-2);display:flex;align-items:center;max-height:32px;border:var(--scalar-border-width) solid var(--scalar-border-color);border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg)}[data-v-ce2bcf3d] .scalar-codeblock-pre .hljs{margin-top:8px}.introduction-card[data-v-b19be652]{display:flex;flex-direction:column}.introduction-card-row[data-v-b19be652]{gap:24px}@media (min-width: 600px){.introduction-card-row[data-v-b19be652]{flex-flow:row wrap}}.introduction-card-row[data-v-b19be652]>*{flex:1}@media (min-width: 600px){.introduction-card-row[data-v-b19be652]>*{min-width:min-content}}@media (max-width: 600px){.introduction-card-row[data-v-b19be652]>*{max-width:100%}}@container (max-width: 900px){.introduction-card-row[data-v-b19be652]{flex-direction:column;align-items:stretch;gap:0px}}.introduction-card[data-v-b19be652] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.introduction-card-row[data-v-b19be652] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.introduction-card-row[data-v-b19be652] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-0adf68b9],[data-v-0adf68b9]:before,[data-v-0adf68b9]:after,[data-v-0adf68b9]::backdrop{--tw-outline-style:solid}}}.download-container[data-v-0adf68b9]{z-index:1;flex-direction:column;gap:16px;width:fit-content;margin:0 .5px 8px;display:flex;position:relative}.download-container[data-v-0adf68b9]:has(:focus-visible):before,.download-container.download-both[data-v-0adf68b9]: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-button[data-v-0adf68b9]{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-0adf68b9]: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-0adf68b9]:last-of-type:before{width:calc(100% + 15px)}.download-button[data-v-0adf68b9]:hover:before{background:var(--scalar-background-2);border:var(--scalar-border-width)solid var(--scalar-border-color)}.download-button[data-v-0adf68b9]: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-0adf68b9]{--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);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);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.download-button span[data-v-0adf68b9]{-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-0adf68b9]{z-index:1;align-items:center;gap:6px;line-height:1.625;display:flex}.download-button:hover span[data-v-0adf68b9]{color:var(--scalar-link-color-hover,var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.download-button[data-v-0adf68b9]:nth-of-type(2){clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.download-container:has(:focus-visible) .download-button[data-v-0adf68b9]:nth-of-type(2),.download-container:hover .download-button[data-v-0adf68b9]:nth-of-type(2){clip:auto;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:absolute;top:42px;overflow:visible}.extension[data-v-0adf68b9]{z-index:1;background:var(--scalar-link-color,var(--scalar-color-accent));color:var(--scalar-background-1)}.download-container:has(:focus-visible) .extension[data-v-0adf68b9],.download-container:hover .extension[data-v-0adf68b9]{opacity:1}.download-link[data-v-0adf68b9]{--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);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);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.download-link[data-v-0adf68b9]{-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-0adf68b9]:hover{--font-color:var(--scalar-link-color,var(--scalar-color-accent));-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}.introduction-description-heading[data-v-7d7f7b21]{scroll-margin-top:64px}.introduction-description[data-v-7d7f7b21]{display:flex;flex-direction:column;margin-top:24px}.references-classic .introduction-description[data-v-7d7f7b21] img{max-width:720px}.icons-only[data-v-0939d4d9] span{display:none}.sticky-cards[data-v-1405b00e]{display:flex;flex-direction:column;position:sticky;top:calc(var(--refs-header-height) + 24px)}.introduction-card-item[data-v-225524a7]{display:flex;margin-bottom:12px;flex-direction:column;justify-content:start}.introduction-card-item[data-v-225524a7]:has(.description) .server-form-container{border-bottom-left-radius:0;border-bottom-right-radius:0}.introduction-card-item[data-v-225524a7] .request-item{border-bottom:0}.tag-section[data-v-56f55c2b]{margin-bottom:48px}.tag-name[data-v-56f55c2b]{text-transform:capitalize}.tag-description[data-v-56f55c2b]{padding-bottom:4px;text-align:left}.endpoint[data-v-e2dcc62f]{display:flex;white-space:nowrap;cursor:pointer;text-decoration:none}.endpoint:hover .endpoint-path[data-v-e2dcc62f],.endpoint:focus-visible .endpoint-path[data-v-e2dcc62f]{text-decoration:underline}.endpoint .post[data-v-e2dcc62f],.endpoint .get[data-v-e2dcc62f],.endpoint .delete[data-v-e2dcc62f],.endpoint .put[data-v-e2dcc62f]{white-space:nowrap}.endpoint-method[data-v-e2dcc62f],.endpoint-path[data-v-e2dcc62f]{color:var(--scalar-color-1);min-width:62px;display:inline-flex;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer}.endpoint-method[data-v-e2dcc62f]{text-align:right}.endpoint-path[data-v-e2dcc62f]{margin-left:12px;text-transform:initial}.deprecated[data-v-e2dcc62f]{text-decoration:line-through}.endpoints-card[data-v-d474b1bb]{position:sticky;top:calc(var(--refs-header-height) + 24px);font-size:var(--scalar-font-size-3)}.endpoints[data-v-d474b1bb]{overflow:auto;background:var(--scalar-background-2);padding:10px 12px;width:100%}.section-container[data-v-91405c72]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-91405c72]:has(.show-more){background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}.operation-path[data-v-ec6c8861]{overflow:hidden;word-wrap:break-word;font-weight:var(--scalar-semibold);line-break:anywhere}.deprecated[data-v-ec6c8861]{text-decoration:line-through}.request-card[data-v-8b2bccdf]{font-size:var(--scalar-font-size-3)}.request-method[data-v-8b2bccdf]{font-family:var(--scalar-font-code);text-transform:uppercase;margin-right:6px}.request-card-footer[data-v-8b2bccdf]{display:flex;justify-content:flex-end;padding:6px;flex-shrink:0}.request-card-footer-addon[data-v-8b2bccdf]{display:flex;align-items:center;flex:1;min-width:0}.request-editor-section[data-v-8b2bccdf]{display:flex;flex:1}.request-card-simple[data-v-8b2bccdf]{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 12px;font-size:var(--scalar-small)}.code-snippet[data-v-8b2bccdf]{display:flex;flex-direction:column;width:100%}.empty-state[data-v-d0d01485]{margin:10px 0 10px 12px;text-align:center;font-size:var(--scalar-mini);min-height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--scalar-radius-lg);color:var(--scalar-color-2)}.rule-title[data-v-d0d01485]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);display:inline-block;margin:12px 0 6px;border-radius:var(--scalar-radius)}.rule[data-v-d0d01485]{margin:0 12px;border-radius:var(--scalar-radius-lg)}.rule-items[data-v-d0d01485]{counter-reset:list-number;display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--scalar-border-color);padding:12px 0}.rule-item[data-v-d0d01485]{counter-increment:list-number;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden;margin-left:24px}.rule-item[data-v-d0d01485]:before{border:1px solid var(--scalar-border-color);border-top:0;border-right:0;content:" ";display:block;width:24px;height:6px;border-radius:0 0 0 var(--scalar-radius-lg);margin-top:6px;color:var(--scalar-color-2);transform:translate(-25px);color:var(--scalar-color-1);position:absolute}.tab[data-v-c8207e48]{background:none;border:none;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;padding:0;margin-right:3px;text-transform:uppercase;position:relative;line-height:22px}.tab[data-v-c8207e48]:before{content:"";position:absolute;z-index:0;left:-6px;top:-6px;width:calc(100% + 12px);height:calc(100% + 12px);border-radius:var(--scalar-radius);background:var(--scalar-background-3);opacity:0}.tab[data-v-c8207e48]:hover:before,.tab[data-v-c8207e48]:focus-visible:before{opacity:1}.tab[data-v-c8207e48]:focus-visible:before{outline:1px solid var(--scalar-color-accent)}.tab span[data-v-c8207e48]{z-index:1;position:relative}.tab-selected[data-v-c8207e48]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.tab-selected[data-v-c8207e48]:after{content:"";position:absolute;background:currentColor;width:100%;left:0;height:1px;bottom:calc(var(--tab-list-padding-y) * -1)}.tab-list[data-v-fec8fbbb]{display:flex;gap:6px;position:relative;flex:1;--tab-list-padding-y: 7px;--tab-list-padding-x: 12px;padding:var(--tab-list-padding-y) var(--tab-list-padding-x);overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-fec8fbbb]{padding:0}.response-card[data-v-7dc85889]{font-size:var(--scalar-font-size-3)}.markdown[data-v-7dc85889] *{margin:0}.code-copy[data-v-7dc85889]{display:flex;align-items:center;justify-content:center;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);border:none;padding:0;margin-right:12px}.code-copy[data-v-7dc85889]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-7dc85889]{width:13px;height:13px}.response-card-footer[data-v-7dc85889]{display:flex;flex-direction:row;justify-content:space-between;flex-shrink:0;padding:7px 12px;gap:8px}.response-example-selector[data-v-7dc85889]{align-self:flex-start;margin:-4px}.response-description[data-v-7dc85889]{font-weight:var(--scalar-semibold);font-size:var(--scalar-small);color:var(--scalar-color--1);display:flex;align-items:center;box-sizing:border-box}.schema-type[data-v-7dc85889]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);background:var(--scalar-background-3);padding:2px 4px;border-radius:4px;margin-right:4px}.schema-example[data-v-7dc85889]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-7dc85889]{display:block;margin:6px}.scalar-card-checkbox[data-v-7dc85889]{display:flex;align-items:center;justify-content:center;position:relative;min-height:17px;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:var(--scalar-small);font-weight:var(--scalar-font-normal);color:var(--scalar-color-2);width:fit-content;white-space:nowrap;gap:6px;padding:7px 6px}.scalar-card-checkbox:has(.scalar-card-checkbox-input:focus-visible) .scalar-card-checkbox-checkmark[data-v-7dc85889]{outline:1px solid var(--scalar-color-accent)}.scalar-card-checkbox[data-v-7dc85889]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-7dc85889]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.scalar-card-checkbox-checkmark[data-v-7dc85889]{height:16px;width:16px;border-radius:var(--scalar-radius);background-color:transparent;background-color:var(--scalar-background-3);box-shadow:inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.scalar-card-checkbox[data-v-7dc85889]: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-7dc85889]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-7dc85889]:after{content:"";position:absolute;display:none}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-7dc85889]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-7dc85889]:after{right:11.5px;top:12.5px;width:5px;height:9px;border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.headers-card[data-v-755d65e4]{z-index:0;margin-top:12px;margin-bottom:6px;position:relative;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1);align-self:flex-start}.headers-card.headers-card--open[data-v-755d65e4]{align-self:initial}.headers-card-title[data-v-755d65e4]{padding:6px 10px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);border-radius:13.5px}button.headers-card-title[data-v-755d65e4]{cursor:pointer}button.headers-card-title[data-v-755d65e4]:hover{color:var(--scalar-color-1)}.headers-card-title-icon--open[data-v-755d65e4]{transform:rotate(45deg)}.headers-properties[data-v-755d65e4]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:13.5px;width:fit-content}.headers-properties-open>.headers-card-title[data-v-755d65e4]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.headers-properties-open[data-v-755d65e4]{border-radius:var(--scalar-radius-lg);width:100%}.headers-card .property[data-v-755d65e4]:last-of-type{padding-bottom:10px}.headers-card-title>.headers-card-title-icon[data-v-755d65e4]{width:10px;height:10px;margin:0}.headers-card-title>.headers-card-title-icon--open[data-v-755d65e4]{transform:rotate(45deg)}.parameter-item[data-v-f259ff0d]{display:flex;flex-direction:column;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item:last-of-type .parameter-schema[data-v-f259ff0d]{padding-bottom:0}.parameter-item-container[data-v-f259ff0d]{padding:0}.parameter-item-headers[data-v-f259ff0d]{border:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item-name[data-v-f259ff0d]{margin-right:6px;font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);font-family:var(--scalar-font-code);color:var(--scalar-color-1);position:relative}.parameter-item-type[data-v-f259ff0d]{font-size:var(--scalar-mini);color:var(--scalar-color-2);margin-right:6px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;width:100%;overflow:hidden}.parameter-item-trigger-open .parameter-item-type[data-v-f259ff0d]{white-space:normal}.parameter-item-trigger+.parameter-item-container[data-v-f259ff0d] .property--level-0>.property-heading .property-detail-value{font-size:var(--scalar-micro)}.parameter-item-required-optional[data-v-f259ff0d]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-f259ff0d]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-f259ff0d]{margin-top:3px!important;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-item-description[data-v-f259ff0d] p{margin-top:4px;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-schema[data-v-f259ff0d]{padding-bottom:9px;margin-top:3px}.parameter-item-trigger[data-v-f259ff0d]{display:flex;align-items:baseline;padding:12px 0;cursor:pointer;outline:none;text-align:left}.parameter-item-trigger-open[data-v-f259ff0d]{padding-bottom:0}.parameter-item-trigger[data-v-f259ff0d]:after{content:"";position:absolute;height:10px;width:100%;bottom:0}.parameter-item-icon[data-v-f259ff0d]{color:var(--scalar-color-3);left:-19px;top:50%;translate:0 -50%;position:absolute}.parameter-item-trigger:hover .parameter-item-icon[data-v-f259ff0d],.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-f259ff0d]{color:var(--scalar-color-1)}.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-f259ff0d]{outline:1px solid var(--scalar-color-accent);outline-offset:2px;border-radius:var(--scalar-radius)}.request-body[data-v-74a1b5fb]{margin-top:24px}.request-body-header[data-v-74a1b5fb]{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-flow:wrap}.request-body-title[data-v-74a1b5fb]{display:flex;align-items:center;gap:8px;font-size:var(--scalar-font-size-2);font-weight:var(--scalar-semibold);color:var(--scalar-color-1)}.request-body-required[data-v-74a1b5fb]{font-size:var(--scalar-micro);color:var(--scalar-color-orange);font-weight:400}.request-body-description[data-v-74a1b5fb]{margin-top:6px;font-size:var(--scalar-small);width:100%}.request-body-header+.request-body-schema[data-v-74a1b5fb]:has(>.schema-card>.schema-card-description),.request-body-header+.request-body-schema[data-v-74a1b5fb]:has(>.schema-card>.schema-properties>*>.property--level-0){padding-top:8px}.request-body-description[data-v-74a1b5fb] .markdown *{color:var(--scalar-color-2)!important}.callback-sticky-offset[data-v-e62d24fd]{top:var(--refs-header-height, 0px);z-index:100}.callback-operation-container[data-v-e62d24fd] .request-body,.callback-operation-container[data-v-e62d24fd] .request-body-description,.callback-operation-container[data-v-e62d24fd] .request-body-header{margin-top:0}.callback-operation-container[data-v-e62d24fd] .request-body-header{--scalar-font-size-2: var(--scalar-font-size-4);padding:8px;border-bottom:none;border:.5px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg) var(--scalar-radius-lg) 0 0;background:color-mix(in srgb,var(--scalar-background-2) 50%,transparent)}.callback-operation-container[data-v-e62d24fd] ul li.property.property--level-1{padding:8px}.callback-operation-container[data-v-e62d24fd] .request-body-schema{background-color:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top:none;overflow:hidden;border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.callback-operation-container[data-v-e62d24fd] .parameter-list{margin-top:0}.callback-operation-container[data-v-e62d24fd] .parameter-list-title{background:color-mix(in srgb,var(--scalar-background-2) 50%,transparent);border-radius:var(--scalar-radius-lg) var(--scalar-radius-lg) 0 0;padding:8px;margin-bottom:0;border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:none;--scalar-font-size-2: var(--scalar-font-size-4)}.callback-operation-container[data-v-e62d24fd] .parameter-list-items{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.callback-operation-container[data-v-e62d24fd] .parameter-list-items>li:first-of-type{border-top:none}.callback-operation-container[data-v-e62d24fd] .parameter-list-items>li{padding:0 8px}.show-api-client-button[data-v-976c9c1f]{appearance:none;border:none;padding:1px 6px;white-space:nowrap;border-radius:var(--scalar-radius);display:flex;justify-content:center;align-items:center;font-weight:var(--scalar-semibold);font-size:var(--scalar-small);line-height:22px;color:var(--scalar-background-2);font-family:var(--scalar-font);background:var(--scalar-button-1);position:relative;cursor:pointer;box-sizing:border-box;box-shadow:inset 0 0 0 1px #0000001a;outline-offset:2px}.show-api-client-button span[data-v-976c9c1f],.show-api-client-button svg[data-v-976c9c1f]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-976c9c1f]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-976c9c1f]{margin-right:4px}.operation-title[data-v-fcc3cd5c]{justify-content:space-between;display:flex}.operation-details[data-v-fcc3cd5c]{flex-shrink:1;align-items:center;gap:9px;min-width:0;margin-top:0;display:flex}.operation-details[data-v-fcc3cd5c] .endpoint-anchor .scalar-button svg{width:16px;height:16px}.endpoint-type[data-v-fcc3cd5c]{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-fcc3cd5c]:after{content:"";z-index:-1;opacity:.15;border-radius:var(--scalar-radius);background:currentColor;position:absolute;inset:0}.endpoint-anchor[data-v-fcc3cd5c]{flex-shrink:1;align-items:center;min-width:0;display:flex}.endpoint-anchor.label[data-v-fcc3cd5c]{display:flex}.endpoint-label[data-v-fcc3cd5c]{min-width:0;color:var(--scalar-color-1);flex-shrink:1;align-items:baseline;gap:9px;display:flex}.endpoint-label-path[data-v-fcc3cd5c]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-fcc3cd5c] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-fcc3cd5c]{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-fcc3cd5c]{flex-shrink:0;padding:2px}.endpoint-copy[data-v-fcc3cd5c]{color:currentColor}.endpoint-copy[data-v-fcc3cd5c] svg{stroke-width:2px}.endpoint-content[data-v-fcc3cd5c]{grid-auto-columns:1fr;grid-auto-flow:row;gap:9px;padding:9px;display:grid}@media (min-width:1000px){.endpoint-content[data-v-fcc3cd5c]{grid-auto-flow:column}}@container (max-width:900px){.endpoint-content[data-v-fcc3cd5c]{grid-template-columns:1fr}}.endpoint-content[data-v-fcc3cd5c]>*{min-width:0}.operation-details-card[data-v-fcc3cd5c]{flex-direction:column;gap:12px;min-width:0;display:flex}:is(.operation-details-card-item[data-v-fcc3cd5c] .parameter-list,.operation-details-card-item[data-v-fcc3cd5c] .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-fcc3cd5c]{flex-direction:column;gap:12px;display:flex}.operation-details-card-item[data-v-fcc3cd5c] .parameter-list-items{margin-bottom:0}.operation-details-card[data-v-fcc3cd5c] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.operation-details-card[data-v-fcc3cd5c] .parameter-list .parameter-list{margin-bottom:12px}.operation-details-card[data-v-fcc3cd5c] .parameter-item{margin:0;padding:0}.operation-details-card[data-v-fcc3cd5c] .property{margin:0;padding:9px}:is(.operation-details-card[data-v-fcc3cd5c] .parameter-list-title,.operation-details-card[data-v-fcc3cd5c] .request-body-title,.operation-details-card[data-v-fcc3cd5c] .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-fcc3cd5c] .callback-list-item-title{padding-left:28px;padding-right:12px}.operation-details-card[data-v-fcc3cd5c] .callback-list-item-icon{left:6px}.operation-details-card[data-v-fcc3cd5c] .callback-operation-container{padding-inline:9px;padding-bottom:9px}:is(.operation-details-card[data-v-fcc3cd5c] .callback-operation-container>.request-body,.operation-details-card[data-v-fcc3cd5c] .callback-operation-container>.parameter-list){border:none}.operation-details-card[data-v-fcc3cd5c] .callback-operation-container>.request-body>.request-body-header{border-bottom:var(--scalar-border-width)solid var(--scalar-border-color);padding:0 0 9px}.operation-details-card[data-v-fcc3cd5c] .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-fcc3cd5c] .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-fcc3cd5c] .request-body-header{border-bottom:0;padding-bottom:0}.operation-details-card[data-v-fcc3cd5c] .contents button{margin-right:9px}.operation-details-card[data-v-fcc3cd5c] .schema-card--open+.schema-card:not(.schema-card--open){margin-inline:9px;margin-bottom:9px}.operation-details-card[data-v-fcc3cd5c] .request-body-schema .property--level-0{padding:0}.operation-details-card[data-v-fcc3cd5c] .selected-content-type{margin-right:9px}.operation-example-card[data-v-fcc3cd5c]{top:calc(var(--refs-header-height) + 24px);max-height:calc(((var(--full-height) - var(--refs-header-height)) - 48px));position:sticky}@media (max-width:600px){.operation-example-card[data-v-fcc3cd5c]{max-height:unset;position:static}}.examples[data-v-288c0a52]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.examples[data-v-288c0a52]>*{max-height:calc(((var(--full-height) - var(--refs-header-height)) - 60px) / 2);position:relative}@media (max-width: 600px){.examples[data-v-288c0a52]>*{max-height:unset}}.deprecated[data-v-288c0a52] *{text-decoration:line-through}.narrow-references-container{container-name:narrow-references-container;container-type:inline-size}.start[data-v-bc17fac9]{padding:24px;display:flex;flex-flow:wrap;justify-content:space-between;position:relative;z-index:0}.swagger-editor .start[data-v-bc17fac9]{padding-top:24px}.start-h1[data-v-bc17fac9]{font-size:var(--scalar-heading-2);margin-top:0;line-height:1.45;margin-bottom:0;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%;position:relative}.start-h3[data-v-bc17fac9]{font-size:var(--scalar-paragraph);margin-top:0;margin-bottom:6px;display:block;line-height:1.45;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%}.start-h1[data-v-bc17fac9]:not(:first-of-type){margin-top:24px}.start-p[data-v-bc17fac9]{font-size:var(--scalar-paragraph);color:var(--scalar-color-2);line-height:1.5;width:100%;margin-top:12px}.start-ul[data-v-bc17fac9]{margin-top:12px;font-size:var(--scalar-paragraph);line-height:1.5;padding-left:0;list-style:initial;display:flex;flex-flow:wrap;gap:24px}.start-ul li[data-v-bc17fac9]{margin:0;padding:0;list-style:none;width:calc(50% - 24px);color:var(--scalar-color-2)}.start-ul li[data-v-bc17fac9]:first-of-type{margin-top:0}.start-section[data-v-bc17fac9]{width:100%;margin-bottom:12px;display:flex;flex-flow:wrap}.start-section[data-v-bc17fac9]:last-of-type{margin-bottom:48px}.start-h2[data-v-bc17fac9]{background:var(--scalar-background-2);border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg);border:1px solid var(--scalar-border-color);color:var(--scalar-color-3);font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;width:100%}.start-item[data-v-bc17fac9]{align-items:center;background:var(--scalar-background-2);border-right:1px solid var(--scalar-border-color);border-bottom:1px solid var(--scalar-border-color);color:var(--scalar-color-1);cursor:pointer;display:flex;flex:1;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;text-transform:capitalize;-webkit-user-select:none;user-select:none}.start-section-integrations .start-item[data-v-bc17fac9]:first-of-type{border-bottom-left-radius:var(--scalar-radius-lg);border-left:1px solid var(--scalar-border-color)}.start-section-integrations .start-item[data-v-bc17fac9]:last-of-type{border-bottom-right-radius:var(--scalar-radius-lg)}.start-section-colors .start-item[data-v-bc17fac9]{min-width:33.33%}.start-section-colors .start-item[data-v-bc17fac9]:nth-child(3n+2){border-left:1px solid var(--scalar-border-color)}.start-section-colors .start-item[data-v-bc17fac9]:last-of-type,.start-section-colors .start-item-active[data-v-bc17fac9]:last-of-type:before{border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.start-item[data-v-bc17fac9]:empty{pointer-events:none}.start-item svg[data-v-bc17fac9]{width:14px;height:14px;margin-right:6px}.start-item[data-v-bc17fac9]:hover{background:var(--scalar-background-3)}.start-item-active[data-v-bc17fac9]{z-index:10;position:relative;color:var(--scalar-color-1)}.start-item-active[data-v-bc17fac9]:before{border:1px solid var(--scalar-color-1);content:"";inset:-1px;pointer-events:none;position:absolute}.start-section-color .start-item[data-v-bc17fac9]{text-transform:capitalize}.start-cta[data-v-bc17fac9]{display:flex;gap:12px;width:100%;margin-top:24px;margin-bottom:0}.start-row[data-v-bc17fac9]{width:100%;margin-top:12px;overflow:hidden}.start-hero-copy[data-v-bc17fac9]{background:var(--scalar-background-2);padding:12px;border-radius:var(--scalar-radius-lg)}.start-p-small[data-v-bc17fac9]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);margin-bottom:12px;line-height:1.4}.start-cta[data-v-bc17fac9]{margin-bottom:12px;width:fit-content;white-space:nowrap}.start-copy[data-v-bc17fac9]{padding:76px 48px 48px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center}.start-logo[data-v-bc17fac9]{color:var(--scalar-color-1);margin-bottom:24px;width:72px;aspect-ratio:1;position:relative;box-shadow:var(--scalar-shadow-2);border-radius:50%}.start-logo[data-v-bc17fac9]:before{content:"";width:300%;aspect-ratio:1;left:-100%;top:-100%;position:absolute;z-index:-1;border-radius:50%;background-size:24px 24px;box-shadow:inset 0 0 50px var(--scalar-background-1),inset 0 0 50px var(--scalar-background-1);background-image:linear-gradient(to right,var(--scalar-border-color) 1px,transparent 1px),linear-gradient(to bottom,var(--scalar-border-color) 1px,transparent 1px)}.start-logo svg[data-v-bc17fac9]{width:100%;height:auto;background:var(--scalar-background-1);padding:3px;border-radius:50%;position:relative}@media screen and (max-width: 600px){.start-section-colors .start-item[data-v-bc17fac9],.start-item[data-v-bc17fac9]{width:100%;border-radius:0;border-right:none;border-top:1px solid var(--scalar-border-color)}.start-item[data-v-bc17fac9]:empty{display:none}.start-h2[data-v-bc17fac9]{border-bottom:none}.start li[data-v-bc17fac9]{width:100%}.start-copy[data-v-bc17fac9]{padding:48px 0 24px}}@media screen and (max-width: 1000px){.start[data-v-bc17fac9]{padding:0;overflow:auto}}.references-mobile-header[data-v-ba06ff2c]{display:none;align-items:center;height:100%;width:100%;max-width:100dvw;padding:0 8px;background:var(--scalar-background-1);border-bottom:1px solid var(--scalar-border-color)}.references-mobile-breadcrumbs[data-v-ba06ff2c]{flex:1;min-width:0;font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.references-mobile-header-actions[data-v-ba06ff2c]{display:flex;flex-direction:row;gap:4px;height:24px;align-items:center;padding-left:4px}@media (max-width: 1000px){.references-mobile-header[data-v-ba06ff2c]{display:flex}}a[data-v-d38e7ee7]{text-decoration:none}.ref-search-container[data-v-d38e7ee7]{display:flex;flex-direction:column;padding-bottom:0}.ref-search-results[data-v-d38e7ee7]{padding:0 4px 4px}.ref-search-meta[data-v-d38e7ee7]{background:var(--scalar-background-1);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.deprecated[data-v-d38e7ee7]{text-decoration:line-through}/*! tailwindcss v4.1.8 | 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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--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:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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-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-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-x-reverse:0;--tw-content:""}}}@layer scalar-base{@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%)}}@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%)}}@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%)}}@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%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}@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%)}}@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%)}}@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%)}}:root,:host{--leading-snug:1.375;--leading-normal:1.5;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}:root,:host{--leading-snug:1.375;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}@supports (color:color-mix(in lab,red,red)){.light-mode{--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-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-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%)}}}body{line-height:inherit;margin:0}:root{--scalar-border-width:.5px;--scalar-radius:3px;--scalar-radius-lg:6px;--scalar-radius-xl:8px;--scalar-font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;--scalar-font-code:"JetBrains Mono",ui-monospace,Menlo,Monaco,"Cascadia Mono","Segoe UI Mono","Roboto Mono","Oxygen Mono","Ubuntu Monospace","Source Code Pro","Fira Mono","Droid Sans Mono","Courier New",monospace;--scalar-heading-1:24px;--scalar-page-description:16px;--scalar-heading-2:20px;--scalar-heading-3:20px;--scalar-heading-4:16px;--scalar-heading-5:16px;--scalar-heading-6:16px;--scalar-paragraph:16px;--scalar-small:14px;--scalar-mini:13px;--scalar-micro:12px;--scalar-bold:600;--scalar-semibold:500;--scalar-regular:400;--scalar-font-size-1: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}.dark-mode{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{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:#ffffffe6;--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{color-scheme:dark!important}@media (max-width:460px){:root{--scalar-font-size-1:22px;--scalar-font-size-2:14px;--scalar-font-size-3:12px}}@media (max-width:720px){:root{--scalar-heading-1:24px;--scalar-page-description:20px}}:root{--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:#757575;--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 .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1:var(--scalar-background-1);--scalar-sidebar-color-1:var(--scalar-color-1);--scalar-sidebar-color-2:var(--scalar-color-2);--scalar-sidebar-border-color:var(--scalar-border-color);--scalar-sidebar-item-hover-background:var(--scalar-background-2);--scalar-sidebar-item-hover-color:currentColor;--scalar-sidebar-item-active-background:var(--scalar-background-2);--scalar-sidebar-color-active:var(--scalar-color-1);--scalar-sidebar-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:transparent;--scalar-sidebar-search-color:var(--scalar-color-3);--scalar-sidebar-search-border-color:var(--scalar-border-color)}.light-mode{--scalar-color-green:#069061;--scalar-color-red:#ef0006;--scalar-color-yellow:#edbe20;--scalar-color-blue:#0082d0;--scalar-color-orange:#ff5800;--scalar-color-purple:#5203d1;--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:#ffffffe6;--scalar-tooltip-background:#1a1a1ae6;--scalar-tooltip-color:#ffffffd9;--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.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:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.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-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:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--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:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.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 .509804 .815686);--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{--leading-snug:1.375;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--leading-normal:1.5}}@layer scalar-theme;.scalar-app .\\@container{container-type:inline-size}.scalar-app .-top-2{top:-8px}.scalar-app .top-3{top:12px}.scalar-app .top-3\\.5{top:14px}.scalar-app .-left-4\\.5{left:-18px}.scalar-app .-left-5{left:-20px}.scalar-app .order-789{order:789}.scalar-app .my-2{margin-block:8px}.scalar-app .my-3{margin-block:12px}.scalar-app .mt-6{margin-top:24px}.scalar-app .mb-3{margin-bottom:12px}.scalar-app .size-2\\.75{width:11px;height:11px}.scalar-app .size-4\\.5{width:18px;height:18px}.scalar-app .h-\\[calc\\(100\\%\\+16px\\)\\]{height:calc(100% + 16px)}.scalar-app .max-h-80{max-height:320px}.scalar-app .max-h-\\[60vh\\]{max-height:60vh}.scalar-app .\\!min-h-full{min-height:100%!important}.scalar-app .min-h-3{min-height:12px}.scalar-app .min-h-7{min-height:28px}.scalar-app .min-h-dvh{min-height:100dvh}.scalar-app .w-4\\.5{width:18px}.scalar-app .w-96{width:384px}.scalar-app .max-w-64{max-width:256px}.scalar-app .min-w-3{min-width:12px}.scalar-app .min-w-7{min-width:28px}.scalar-app .min-w-9\\.75{min-width:39px}.scalar-app .min-w-32{min-width:128px}.scalar-app .rotate-45{rotate:45deg}.scalar-app .scroll-mt-24{scroll-margin-top:96px}.scalar-app .list-none{list-style-type:none}.scalar-app .content-end{align-content:flex-end}.scalar-app .overflow-x-scroll{overflow-x:scroll}.scalar-app .rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}@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 .leading-\\[1\\.45\\]{--tw-leading:1.45;line-height:1.45}.scalar-app .text-current{color:currentColor}.scalar-app .italic{font-style:italic}.scalar-app .line-through{text-decoration-line:line-through}.scalar-app .\\[--scalar-address-bar-height\\:0px\\]{--scalar-address-bar-height:0px}:is(.scalar-app .\\*\\:\\!p-0>*){padding:0!important}.scalar-app .group-last\\:mr-0:is(:where(.group):last-child *){margin-right:0}.scalar-app .group-open\\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *){rotate:90deg}.scalar-app .group-open\\:flex-wrap:is(:where(.group):is([open],:popover-open,:open) *){flex-wrap:wrap}.scalar-app .group-open\\:whitespace-normal:is(:where(.group):is([open],:popover-open,:open) *){white-space:normal}.scalar-app .group-focus-within\\/parameter-item\\:opacity-100:is(:where(.group\\/parameter-item):focus-within *){opacity:1}@media (hover:hover){.scalar-app .group-hover\\:flex:is(:where(.group):hover *){display:flex}.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.scalar-app .group-hover\\/auth\\:absolute:is(:where(.group\\/auth):hover *){position:absolute}.scalar-app .group-hover\\/auth\\:h-auto:is(:where(.group\\/auth):hover *){height:auto}.scalar-app .group-hover\\/auth\\:border-b:is(:where(.group\\/auth):hover *){border-bottom-style:var(--tw-border-style);border-bottom-width:var(--scalar-border-width)}.scalar-app .group-hover\\/heading\\:opacity-100:is(:where(.group\\/heading):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 *){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-has-focus-visible\\/heading\\:opacity-100:is(:where(.group\\/heading):has(:focus-visible) *){opacity:1}.scalar-app .group-aria-expanded\\/combobox-button\\:rotate-180:is(:where(.group\\/combobox-button)[aria-expanded=true] *){rotate:180deg}.scalar-app .empty\\:hidden:empty{display:none}@media (hover:hover){.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\\:whitespace-normal:hover{white-space:normal}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}}.scalar-app .has-focus\\:outline:has(:focus){outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:1200px){.scalar-app .xl\\:mb-1\\.5{margin-bottom:6px}.scalar-app .xl\\:gap-12{gap:48px}.scalar-app .xl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .xl\\:border-none{--tw-border-style:none;border-style:none}.scalar-app .xl\\:first\\:ml-auto:first-child{margin-left:auto}}.scalar-app .\\[\\&_em\\]\\:text-c-1 em{color:var(--scalar-color-1)}.scalar-app .\\[\\&_em\\]\\:not-italic em{font-style:normal}@supports (color:color-mix(in lab,red,red)){.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))}}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb,var(--scalar-tooltip-color),var(--scalar-tooltip-background))}}}@media (hover:hover){.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-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-1:is(:where(.group\\/button):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\/code-block\\:opacity-100:is(:where(.group\\/code-block):hover *){opacity:1}.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-h-btn:hover{background-color:var(--scalar-button-1-hover)}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-app .hover\\:underline:hover{text-decoration-line:underline}.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,)}}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-ease{syntax:"*";inherits:false}@keyframes fade-in-f525638b{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-f525638b{0%{transform:scale(3.5)rotate(0)}to{transform:scale(3.5)rotate(360deg)}}@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);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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}@keyframes fadein-layout-589f8aa0{0%{opacity:0}to{opacity:1}}@keyframes fadein-modal-589f8aa0{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translate(0)}}:where(.scalar-app){font-family:var(--scalar-font);color:var(--scalar-color-1);-webkit-text-size-adjust:100%;tab-size:4;line-height:1.15}: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;text-decoration: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);border-width:1px}:where(.scalar-app) 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-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{border-radius:var(--scalar-radius);outline-style:solid}:where(.scalar-app) button:focus-visible,:where(.scalar-app) [role=button]:focus-visible{outline-offset:-1px}: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]{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}}.scalar-app .invisible{visibility:hidden}.scalar-app .inset-y-0{inset-block:0}.scalar-app .top-\\(--nested-items-offset\\){top:var(--nested-items-offset)}.scalar-app .top-0\\.5{top:2px}.scalar-app .top-1\\/2{top:50%}.scalar-app .top-22{top:88px}.scalar-app .top-px{top:1px}.scalar-app .left-2{left:8px}.scalar-app .left-2\\.5{left:10px}.scalar-app .left-4{left:16px}.scalar-app .left-10{left:40px}.scalar-app .left-border{left:var(--scalar-border-width)}.scalar-app .left-px{left:1px}.scalar-app .z-\\[1001\\]{z-index:1001}.scalar-app .z-tooltip{z-index:99999}.scalar-app .-m-1\\.5{margin:-6px}.scalar-app .-m-px{margin:-1px}.scalar-app .m-1{margin:4px}.scalar-app .-mx-0\\.75{margin-inline:-3px}.scalar-app .-mx-px{margin-inline:-1px}.scalar-app .mx-px{margin-inline:1px}.scalar-app .-my-1\\.5{margin-block:-6px}.scalar-app .my-0\\.75{margin-block:3px}.scalar-app .-mt-1\\.5{margin-top:-6px}.scalar-app .mt-0{margin-top:0}.scalar-app .mt-\\[15svh\\]{margin-top:15svh}.scalar-app .mt-\\[20svh\\]{margin-top:20svh}.scalar-app .-mr-0\\.25{margin-right:-1px}.scalar-app .mr-0{margin-right:0}.scalar-app .mr-\\[calc\\(20px-var\\(--scalar-sidebar-indent\\)\\)\\]{margin-right:calc(20px - var(--scalar-sidebar-indent))}.scalar-app .-mb-1{margin-bottom:-4px}.scalar-app .-ml-0\\.75{margin-left:-3px}.scalar-app .line-clamp-\\(--markdown-clamp\\){-webkit-line-clamp:var(--markdown-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .\\!hidden{display:none!important}.scalar-app .inline{display:inline}.scalar-app .size-2{width:8px;height:8px}.scalar-app .size-6{width:24px;height:24px}.scalar-app .size-60{width:240px;height:240px}.scalar-app .size-\\[23px\\]{width:23px;height:23px}.scalar-app .size-full{width:100%;height:100%}.scalar-app .h-0{height:0}.scalar-app .h-1{height:4px}.scalar-app .h-24{height:96px}.scalar-app .h-32{height:128px}.scalar-app .h-\\[100dvh\\]{height:100dvh}.scalar-app .h-border{height:var(--scalar-border-width)}.scalar-app .h-dvh{height:100dvh}.scalar-app .max-h-20{max-height:80px}.scalar-app .max-h-\\[80svh\\]{max-height:80svh}.scalar-app .max-h-\\[90svh\\]{max-height:90svh}.scalar-app .max-h-dvh{max-height:100dvh}.scalar-app .max-h-radix-popper{max-height:calc(var(--radix-popper-available-height) - 8px)}.scalar-app .min-h-5{min-height:20px}.scalar-app .min-h-6{min-height:24px}.scalar-app .min-h-96{min-height:384px}.scalar-app .min-h-header{min-height:48px}.scalar-app .w-12{width:48px}.scalar-app .w-16{width:64px}.scalar-app .w-24{width:96px}.scalar-app .w-32{width:128px}.scalar-app .w-40{width:160px}.scalar-app .w-48{width:192px}.scalar-app .w-\\[38px\\]{width:38px}.scalar-app .w-\\[100dvw\\]{width:100dvw}.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-border{width:var(--scalar-border-width)}.scalar-app .w-min{width:min-content}.scalar-app .w-screen{width:100vw}.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-\\[inherit\\]{max-width:inherit}.scalar-app .max-w-xs{max-width:320px}.scalar-app .min-w-5{min-width:20px}.scalar-app .min-w-6{min-width:24px}.scalar-app .min-w-max{min-width:max-content}.scalar-app .min-w-min{min-width:min-content}.scalar-app .flex-shrink,.scalar-app .shrink{flex-shrink:1}.scalar-app .border-collapse{border-collapse:collapse}.scalar-app .-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-x-2\\.5{--tw-translate-x:10px;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\\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .rotate-180{rotate:180deg}.scalar-app .cursor-not-allowed{cursor:not-allowed}.scalar-app .appearance-none{appearance:none}.scalar-app .grid-flow-col{grid-auto-flow:column}.scalar-app .\\!items-end{align-items:flex-end!important}.scalar-app .\\!items-start{align-items:flex-start!important}.scalar-app .items-baseline{align-items:baseline}.scalar-app .\\!justify-end{justify-content:flex-end!important}.scalar-app .\\!justify-start{justify-content:flex-start!important}.scalar-app .gap-2\\.25{gap:9px}.scalar-app .gap-16{gap:64px}.scalar-app .gap-x-4{column-gap:16px}.scalar-app .gap-y-8{row-gap:32px}.scalar-app .self-end{align-self:flex-end}.scalar-app .overflow-x-clip{overflow-x:clip}.scalar-app .overflow-y-scroll{overflow-y:scroll}.scalar-app .overscroll-contain{overscroll-behavior:contain}.scalar-app .rounded-none{border-radius:0}.scalar-app .border-1,.scalar-app .border-\\[1px\\]{border-style:var(--tw-border-style);border-width:1px}.scalar-app .border-solid{--tw-border-style:solid;border-style:solid}.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-c-alert{border-color:var(--scalar-color-alert)}.scalar-app .border-c-danger{border-color:var(--scalar-color-danger)}.scalar-app .border-red{border-color:var(--scalar-color-red)}.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 .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:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.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-alert{background-color:var(--scalar-background-alert)}.scalar-app .bg-b-btn{background-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-danger{background-color:var(--scalar-color-danger)}.scalar-app .bg-inherit{background-color:inherit}.scalar-app .bg-red{background-color:var(--scalar-color-red)}.scalar-app .bg-sidebar-b-1{background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .bg-sidebar-b-search{background-color:var(--scalar-sidebar-search-background,var(--scalar-background-2))}.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 .mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.scalar-app .p-0\\.25{padding:1px}.scalar-app .p-2\\.5{padding:10px}.scalar-app .p-6{padding:24px}.scalar-app .px-9{padding-inline:36px}.scalar-app .py-4{padding-block:16px}.scalar-app .py-\\[6\\.75px\\]{padding-block:6.75px}.scalar-app .pl-8{padding-left:32px}.scalar-app .text-lg{font-size:var(--scalar-font-size-2)}.scalar-app .leading-5{--tw-leading:var(--scalar-line-height-5);line-height:var(--scalar-line-height-5)}.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 .text-nowrap{text-wrap:nowrap}.scalar-app .text-wrap{text-wrap:wrap}.scalar-app .text-c-accent{color:var(--scalar-color-accent)}.scalar-app .text-c-alert{color:var(--scalar-color-alert)}.scalar-app .text-c-danger{color:var(--scalar-color-danger)}.scalar-app .text-c-tooltip{color:var(--scalar-tooltip-color)}.scalar-app .text-sidebar-c-search{color:var(--scalar-sidebar-search-color,var(--scalar-color-3))}.scalar-app .text-white{color:#fff}.scalar-app .opacity-40{opacity:.4}.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 .-outline-offset-2{outline-offset:-2px}.scalar-app .outline-offset-1{outline-offset:1px}.scalar-app .outline-offset-\\[-1px\\]{outline-offset:-1px}.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,)}:is(.scalar-app .\\*\\:h-5>*){height:20px}:is(.scalar-app .\\*\\:min-w-5>*){min-width:20px}:is(.scalar-app .\\*\\:flex-1>*){flex:1}:is(.scalar-app .\\*\\:justify-center>*){justify-content:center}:is(.scalar-app .\\*\\:gap-px>*){gap:1px}:is(.scalar-app .\\*\\:rounded>*){border-radius:var(--scalar-radius)}:is(.scalar-app .\\*\\:border>*){border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb,var(--scalar-tooltip-color),var(--scalar-tooltip-background))}}}}:is(.scalar-app .\\*\\:px-1>*){padding-inline:4px}@media (hover:hover){.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-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-1:is(:where(.group\\/button):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\/code-block\\:opacity-100:is(:where(.group\\/code-block):hover *){opacity:1}}.scalar-app .group-focus-visible\\/toggle\\:outline:is(:where(.group\\/toggle):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .peer-checked\\:text-c-2:is(:where(.peer):checked~*){color:var(--scalar-color-2)}.scalar-app .peer-checked\\:opacity-100:is(:where(.peer):checked~*){opacity:1}.scalar-app .placeholder\\:font-\\[inherit\\]::placeholder{font-family:inherit}:is(.scalar-app .\\*\\:first\\:rounded-t-\\[inherit\\]>*):first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:is(.scalar-app .\\*\\:last\\:rounded-b-\\[inherit\\]>*):last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.scalar-app .focus-within\\:outline-none:focus-within{--tw-outline-style:none;outline-style:none}@media (hover:hover){.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-h-btn:hover{background-color:var(--scalar-button-1-hover)}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-app .hover\\:underline:hover{text-decoration-line:underline}.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-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 .active\\:bg-b-btn:active{background-color:var(--scalar-button-1)}.scalar-app .active\\:shadow-none:active{--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 .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 .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}@media (min-width:800px){.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}}@media (min-width:1000px){.scalar-app .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}.scalar-app .lg\\:w-full{width:100%}}.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}@media (hover:hover){.scalar-app .dark\\:hover\\:bg-b-3:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-3)}}@media (max-width:720px) and (max-height:480px){.scalar-app .zoomed\\:\\!whitespace-normal{white-space:normal!important}}.loader-wrapper[data-v-f525638b]{--loader-size:50%;justify-content:center;align-items:center;display:flex;position:relative}.svg-loader[data-v-f525638b]{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-f525638b]{stroke-width:12px;fill:none;transition:all .3s}.svg-x-mark[data-v-f525638b]{stroke-dasharray:57;stroke-dashoffset:57px;transition-delay:0s}.svg-check-mark[data-v-f525638b]{stroke-dasharray:149;stroke-dashoffset:149px;transition-delay:0s}.icon-is-invalid .svg-x-mark[data-v-f525638b],.icon-is-valid .svg-check-mark[data-v-f525638b]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader[data-v-f525638b]{transform-origin:50%;background:0 0;animation:.7s linear infinite rotate-f525638b,.4s fade-in-f525638b;transform:scale(3.5)}.loader-path[data-v-f525638b]{stroke-dasharray:50 200;stroke-dashoffset:-100px;stroke-linecap:round}.loader-path-off[data-v-f525638b]{stroke-dasharray:50 200;stroke-dashoffset:-100px;opacity:0;transition:opacity .3s}.scalar-code-block:hover .scalar-code-copy[data-v-0295860a]{opacity:100}.copy-icon[data-v-0295860a],.check-icon[data-v-0295860a]{transition:transform .15s ease-in-out;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}.copy-icon.copied[data-v-0295860a],.check-icon[data-v-0295860a]{transform:translate(-50%,-50%)scale(0)}.check-icon.visible[data-v-0295860a]{transform:translate(-50%,-50%)scale(1)}.scalar-code-block{background:inherit;padding:10px 8px 12px 12px;position:relative;overflow:auto}.scalar-codeblock-pre{all:unset;text-wrap:nowrap;white-space-collapse:preserve;background:0 0;border-radius:0;width:fit-content;margin:0}.toggle-icon-ellipse[data-v-60be8692]{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-60be8692]{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-60be8692]{background:currentColor;border-radius:8px;width:12px;height:1px;transition:transform .3s ease-in-out;position:absolute}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(2){transform:rotate(90deg)}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(3){transform:rotate(45deg)}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(4){transform:rotate(-45deg)}.toggle-icon-dark .toggle-icon-ellipse[data-v-60be8692]{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-60be8692]{transform:scale(0)}.toggle-icon-dark .toggle-icon-moon-mask[data-v-60be8692]{transform:translateZ(0)}.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;line-height:1.4}.scalar-app code.hljs{all:unset;font-size:inherit;color:var(--scalar-color-2);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,.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;font-family:var(--scalar-font);word-break:break-word}.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{--font-size:1.5rem;--markdown-line-height:32px}.scalar-app .markdown h2,.scalar-app .markdown h3{--font-size:1.25rem;--markdown-line-height:1.3}.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{--font-size:1rem}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:var(--font-size);font-weight:var(--scalar-bold);margin-top:var(--scalar-refs-heading-spacing);margin-bottom:var(--markdown-spacing-sm);scroll-margin-top:1rem;display:block}.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);max-width:100%;display:inline-block;overflow:hidden}.scalar-app .markdown ul:not(.contains-task-list),.scalar-app .markdown ol{flex-direction:column;gap:2px;display:flex}.scalar-app .markdown ul:not(.contains-task-list){margin-left:29px}.scalar-app .markdown ul:not(.contains-task-list) li{padding-left:calc(var(--markdown-spacing-md)/2)}.scalar-app .markdown ul{list-style-type:disc}.scalar-app .markdown li{line-height:var(--markdown-line-height)}.scalar-app .markdown ul li{padding-left:var(--markdown-spacing-md)}.scalar-app .markdown ol{counter-reset:item;padding-left:5px}.scalar-app .markdown ol li{gap:5px;padding-left:3px;display:flex}.scalar-app .markdown ol li:before{content:counter(item)".";counter-increment:item;font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);line-height:var(--markdown-line-height);white-space:nowrap;justify-content:center;width:24px;display:flex}.scalar-app .markdown ol li:before,.scalar-app .markdown ol ol ol li:before,.scalar-app .markdown ol ol ol ol ol ol li:before{content:counter(item,decimal)"."}.scalar-app .markdown ol ol li:before,.scalar-app .markdown ol ol ol ol li:before,.scalar-app .markdown ol ol ol ol ol ol ol li:before{content:counter(item,lower-alpha)"."}.scalar-app .markdown ol ol li:before,.scalar-app .markdown ol ol ol ol ol li:before,.scalar-app .markdown ol ol ol ol ol ol ol ol li:before{content:counter(item,lower-roman)"."}.scalar-app .markdown ul:first-of-type li:first-of-type{margin-top:0}.scalar-app .markdown table{table-layout:fixed;border-collapse:collapse;width:100%;box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:var(--scalar-radius);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:initial;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)}.scalar-app .markdown th:last-of-type{border-top-right-radius:var(--scalar-radius)}.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);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{min-height:40px;font-weight:var(--scalar-semibold);line-height:var(--markdown-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:2.5px;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,.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);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);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-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)}}.scalar-app .markdown a{-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);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}}.scalar-app .markdown a:hover{color:var(--scalar-link-color-hover,var(--scalar-color-accent));-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:2px;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:1px solid var(--scalar-color-1);padding-left:var(--markdown-spacing-md);font-weight:var(--scalar-bold);font-size:var(--scalar-font-size-2);margin:0;display:block}.scalar-app .markdown .contains-task-list{flex-direction:column;gap:2px;list-style:none;display:flex}.scalar-app .markdown .contains-task-list li{align-items:center;gap:10.5px;padding-left:10.5px;display:flex}.scalar-app .markdown .contains-task-list 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);place-content:center;display:flex;position:relative}.scalar-app .markdown .contains-task-list input:checked{background-color:var(--scalar-color-1);border-color:var(--scalar-color-1)}.scalar-app .markdown .contains-task-list 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 .contains-task-list input[type=checkbox]:checked:before{opacity:1}.scalar-app .markdown .markdown-alert{border-radius:var(--scalar-radius);background-color:var(--scalar-background-2);align-items:stretch}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:var(--scalar-background-2)}@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: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 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: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 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: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 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: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 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: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 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){font-size:inherit;font-weight:inherit;line-height:var(--markdown-line-height);display:contents}.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}.dark-mode .scalar-dropdown-item[data-v-7e7bf818]:hover{filter:brightness(1.1)}.group\\/item>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{inset-block:-1px}.group\\/item:first-child>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{top:0}.group\\/item:last-child>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{bottom:0}.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:3.40282e38px;display:flex}:where(body)>.scalar-tooltip{--scalar-tooltip-padding:8px;padding:calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));z-index:99999;max-width:320px;font-size:var(--scalar-font-size-5);--tw-leading:var(--scalar-line-height-5);line-height:var(--scalar-line-height-5);--tw-font-weight:var(--scalar-semibold);font-weight:var(--scalar-semibold);overflow-wrap:break-word;color:var(--scalar-tooltip-color)}:where(body)>.scalar-tooltip:before{content:"";inset:var(--scalar-tooltip-offset);z-index:-1;border-radius:var(--scalar-radius);background-color:var(--scalar-tooltip-background);--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}:where(body.dark-mode)>.scalar-tooltip:before{--tw-shadow:inset 0 0 0 var(--tw-shadow-color,calc(var(--scalar-border-width)*2))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)}.dark-mode .scalar-dropdown-item[data-v-788cdfbc]:hover{filter:brightness(1.1)}.scalar-modal-layout[data-v-589f8aa0]{animation:.3s ease-in-out forwards fadein-layout-589f8aa0}.scalar-modal[data-v-589f8aa0]{box-shadow:var(--scalar-shadow-2);animation:.3s ease-in-out .1s forwards fadein-modal-589f8aa0;transform:translateY(10px)}.scalar-modal-layout-full[data-v-589f8aa0]{opacity:1!important;background:0 0!important}.modal-content-search .modal-body[data-v-589f8aa0]{flex-direction:column;max-height:440px;padding:0;display:flex;overflow:hidden}@media (max-width:720px) and (max-height:480px){.scalar-modal-layout .scalar-modal[data-v-589f8aa0]{max-height:90svh;margin-top:5svh}}.full-size-styles[data-v-589f8aa0]{margin:initial;border-right:var(--scalar-border-width)solid var(--scalar-border-color);animation:.3s ease-in-out forwards fadein-layout-589f8aa0;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 (min-width:800px){.full-size-styles[data-v-589f8aa0]{width:50dvw!important}}.full-size-styles[data-v-589f8aa0]:after{content:"";width:50dvw;height:100dvh;position:absolute;top:0;right:-50dvw}.scalar-app .pointer-events-auto{pointer-events:auto}.scalar-app .pointer-events-none{pointer-events:none}.scalar-app .collapse{visibility:collapse}.scalar-app .visible{visibility:visible}.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:-50%;--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;top:50%;left:50%}.scalar-app .centered-y{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;top:50%}.scalar-app .centered-x{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;left:50%}.scalar-app .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width: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-1{inset-inline:4px}.scalar-app .-top-\\(--scalar-address-bar-height\\){top:calc(var(--scalar-address-bar-height)*-1)}.scalar-app .-top-\\[104px\\]{top:-104px}.scalar-app .top-0{top:0}.scalar-app .top-2{top:8px}.scalar-app .top-12{top:48px}.scalar-app .-right-\\[30px\\]{right:-30px}.scalar-app .right-0{right:0}.scalar-app .right-1{right:4px}.scalar-app .right-1\\.5{right:6px}.scalar-app .right-1\\/2{right:50%}.scalar-app .right-2{right:8px}.scalar-app .right-4{right:16px}.scalar-app .right-7{right:28px}.scalar-app .right-14{right:56px}.scalar-app .right-16{right:64px}.scalar-app .bottom-0{bottom:0}.scalar-app .bottom-1{bottom:4px}.scalar-app .bottom-1\\/2{bottom:50%}.scalar-app .bottom-\\[var\\(--scalar-border-width\\)\\]{bottom:var(--scalar-border-width)}.scalar-app .left-0{left:0}.scalar-app .left-1\\/2{left:50%}.scalar-app .left-3{left:12px}.scalar-app .-z-1{z-index:-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-\\[1002\\]{z-index:1002}.scalar-app .z-context{z-index:1000}.scalar-app .z-context-plus{z-index:1001}.scalar-app .z-overlay{z-index:10000}.scalar-app .order-last{order:9999}.scalar-app .col-span-full{grid-column:1/-1}.scalar-app .container{width:100%}@media (min-width:400px){.scalar-app .container{max-width:400px}}@media (min-width:600px){.scalar-app .container{max-width:600px}}@media (min-width:800px){.scalar-app .container{max-width:800px}}@media (min-width:1000px){.scalar-app .container{max-width:1000px}}@media (min-width:1200px){.scalar-app .container{max-width:1200px}}@media (min-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-0{margin:0}.scalar-app .m-4{margin:16px}.scalar-app .m-auto{margin:auto}.scalar-app .-mx-0\\.25{margin-inline:-1px}.scalar-app .mx-auto{margin-inline:auto}.scalar-app .-my-1{margin-block:-4px}.scalar-app .my-12{margin-block:48px}.scalar-app .-mt-\\[\\.5px\\]{margin-top:-.5px}.scalar-app .mt-0\\.25{margin-top:1px}.scalar-app .mt-1{margin-top:4px}.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-5{margin-top:20px}.scalar-app .mt-10{margin-top:40px}.scalar-app .mt-\\[0\\.5px\\]{margin-top:.5px}.scalar-app .mt-auto{margin-top:auto}.scalar-app .\\!mr-0{margin-right:0!important}.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-3{margin-right:-12px}.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-2\\.5{margin-right:10px}.scalar-app .mr-3{margin-right:12px}.scalar-app .mr-\\[6\\.25px\\]{margin-right:6.25px}.scalar-app .mr-auto{margin-right:auto}.scalar-app .\\!mb-0{margin-bottom:0!important}.scalar-app .-mb-\\[var\\(--scalar-border-width\\)\\]{margin-bottom:calc(var(--scalar-border-width)*-1)}.scalar-app .mb-0{margin-bottom:0}.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-4{margin-bottom:16px}.scalar-app .mb-\\[\\.5px\\]{margin-bottom:.5px}.scalar-app .-ml-0\\.5{margin-left:-2px}.scalar-app .-ml-0\\.25{margin-left:-1px}.scalar-app .-ml-1{margin-left:-4px}.scalar-app .-ml-2{margin-left:-8px}.scalar-app .-ml-12{margin-left:-48px}.scalar-app .ml-0\\.5{margin-left:2px}.scalar-app .ml-0\\.75{margin-left:3px}.scalar-app .ml-1{margin-left:4px}.scalar-app .ml-1\\.25{margin-left:5px}.scalar-app .ml-3{margin-left:12px}.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 .flex-center{justify-content:center;align-items:center;display:flex}.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 .\\!flex{display:flex!important}.scalar-app .block{display:block}.scalar-app .contents{display:contents}.scalar-app .flex{display:flex}.scalar-app .grid{display:grid}.scalar-app .hidden{display:none}.scalar-app .inline-block{display:inline-block}.scalar-app .inline-flex{display:inline-flex}.scalar-app .table{display:table}.scalar-app .aspect-\\[4\\/3\\]{aspect-ratio:4/3}.scalar-app .aspect-square{aspect-ratio:1}.scalar-app .size-2\\.5{width:10px;height:10px}.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-5{width:20px;height:20px}.scalar-app .size-7{width:28px;height:28px}.scalar-app .size-8{width:32px;height:32px}.scalar-app .size-10{width:40px;height:40px}.scalar-app .h-\\(--scalar-address-bar-height\\){height:var(--scalar-address-bar-height)}.scalar-app .h-1\\.5{height:6px}.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-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-12{height:48px}.scalar-app .h-64{height:256px}.scalar-app .h-\\[68px\\]{height:68px}.scalar-app .h-\\[calc\\(100\\%-273\\.5px\\)\\]{height:calc(100% - 273.5px)}.scalar-app .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-app .h-auto{height:auto}.scalar-app .h-fit{height:fit-content}.scalar-app .h-full{height:100%}.scalar-app .h-header{height:48px}.scalar-app .h-px{height:1px}.scalar-app .h-screen{height:100vh}.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-\\[40dvh\\]{max-height:40dvh}.scalar-app .max-h-\\[50dvh\\]{max-height:50dvh}.scalar-app .max-h-\\[60svh\\]{max-height:60svh}.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-fit{max-height:fit-content}.scalar-app .max-h-screen{max-height:100vh}.scalar-app .min-h-0{min-height:0}.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-12{min-height:48px}.scalar-app .min-h-16{min-height:64px}.scalar-app .min-h-20{min-height:80px}.scalar-app .min-h-\\[65px\\]{min-height:65px}.scalar-app .min-h-\\[calc\\(1rem\\*4\\)\\]{min-height:4rem}.scalar-app .min-h-\\[calc\\(4rem\\+0\\.5px\\)\\]{min-height:calc(4rem + .5px)}.scalar-app .min-h-\\[calc\\(4rem\\+1px\\)\\]{min-height:calc(4rem + 1px)}.scalar-app .min-h-fit{min-height:fit-content}.scalar-app .\\!w-fit{width:fit-content!important}.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-3{width:12px}.scalar-app .w-3\\.5{width:14px}.scalar-app .w-4{width:16px}.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-10{width:40px}.scalar-app .w-20{width:80px}.scalar-app .w-56{width:224px}.scalar-app .w-64{width:256px}.scalar-app .w-72{width:288px}.scalar-app .w-\\[60px\\]{width:60px}.scalar-app .w-\\[calc\\(100\\%-10px\\)\\]{width:calc(100% - 10px)}.scalar-app .w-\\[calc\\(100\\%_-_8px\\)\\]{width:calc(100% - 8px)}.scalar-app .w-\\[inherit\\]{width:inherit}.scalar-app .w-auto{width:auto}.scalar-app .w-dvw{width:100dvw}.scalar-app .w-fit{width:fit-content}.scalar-app .w-full{width:100%}.scalar-app .w-max{width:max-content}.scalar-app .max-w-8{max-width:32px}.scalar-app .max-w-40{max-width:160px}.scalar-app .max-w-48{max-width:192px}.scalar-app .max-w-\\[14px\\]{max-width:14px}.scalar-app .max-w-\\[37px\\]{max-width:37px}.scalar-app .max-w-\\[100\\%\\]{max-width:100%}.scalar-app .max-w-\\[150px\\]{max-width:150px}.scalar-app .max-w-\\[380px\\]{max-width:380px}.scalar-app .max-w-\\[420px\\]{max-width:420px}.scalar-app .max-w-\\[720px\\]{max-width:720px}.scalar-app .max-w-\\[calc\\(100dvw-24px\\)\\]{max-width:calc(100dvw - 24px)}.scalar-app .max-w-full{max-width:100%}.scalar-app .min-w-0{min-width:0}.scalar-app .min-w-2\\.25{min-width:9px}.scalar-app .min-w-3\\.5{min-width:14px}.scalar-app .min-w-4{min-width:16px}.scalar-app .min-w-8{min-width:32px}.scalar-app .min-w-48{min-width:192px}.scalar-app .min-w-\\[37px\\]{min-width:37px}.scalar-app .min-w-\\[296px\\]{min-width:296px}.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 .shrink-0{flex-shrink:0}.scalar-app .flex-grow{flex-grow:1}.scalar-app .-translate-x-1\\/2{--tw-translate-x:-50%;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\\/2{--tw-translate-x:50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-y-1\\/2{--tw-translate-y:50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scalar-app .rotate-90{rotate:90deg}.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 .cursor-auto{cursor:auto}.scalar-app .cursor-default{cursor:default}.scalar-app .cursor-grab{cursor:grab}.scalar-app .cursor-help{cursor:help}.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 .auto-rows-\\[32px\\]{grid-auto-rows:32px}.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-\\[auto_1fr\\]{grid-template-columns:auto 1fr}.scalar-app .grid-cols-\\[repeat\\(auto-fill\\,minmax\\(32px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fill,minmax(32px,1fr))}.scalar-app .flex-col{flex-direction:column}.scalar-app .flex-row{flex-direction:row}.scalar-app .flex-wrap{flex-wrap:wrap}.scalar-app .content-between{align-content:space-between}.scalar-app .content-start{align-content:flex-start}.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-2{gap:8px!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-3{gap:12px}.scalar-app .gap-4{gap:16px}.scalar-app .gap-6{gap:24px}.scalar-app .gap-8{gap:32px}.scalar-app .gap-10{gap:40px}.scalar-app .gap-12{gap:48px}.scalar-app .gap-\\[1\\.5px\\]{gap:1.5px}.scalar-app .gap-px{gap:1px}.scalar-app .gap-x-2\\.5{column-gap:10px}: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)))}: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 .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-y-auto{overflow-y:auto}.scalar-app .overflow-y-hidden{overflow-y:hidden}.scalar-app .\\!rounded-none{border-radius:0!important}.scalar-app .rounded{border-radius:var(--scalar-radius)}.scalar-app .rounded-\\[10px\\]{border-radius:10px}.scalar-app .rounded-full{border-radius:9999px}.scalar-app .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .rounded-md{border-radius:var(--scalar-radius)}.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);border-top-right-radius:var(--scalar-radius)}.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-b{border-bottom-right-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-app .rounded-b-lg{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .\\!border-0{border-style:var(--tw-border-style)!important;border-width:0!important}.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-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.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-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-\\[1px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.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-c-1{border-color:var(--scalar-color-1)}.scalar-app .border-c-3{border-color:var(--scalar-color-3)}.scalar-app .border-transparent{border-color:#0000}.scalar-app .border-r-transparent{border-right-color:#0000}.scalar-app .bg-b-1{background-color:var(--scalar-background-1)}.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-danger{background-color:var(--scalar-background-danger)}.scalar-app .bg-c-3\\/5{background-color:var(--scalar-color-3)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-c-3\\/5{background-color:var(--scalar-color-3)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-c-3\\/5{background-color:color-mix(in oklab,var(--scalar-color-3)5%,transparent)}}}.scalar-app .bg-c-accent{background-color:var(--scalar-color-accent)}.scalar-app .bg-current{background-color:currentColor}.scalar-app .bg-grey{background-color:var(--scalar-color-3)}.scalar-app .bg-sidebar-b-active{background-color:var(--scalar-sidebar-item-active-background,var(--scalar-background-2))}.scalar-app .bg-none{background-image:none}.scalar-app .fill-current{fill:currentColor}.scalar-app .stroke-2{stroke-width:2px}.scalar-app .stroke-\\[1\\.5\\]{stroke-width:1.5px}.scalar-app .stroke-\\[1\\.75\\]{stroke-width:1.75px}.scalar-app .stroke-\\[2\\.25\\]{stroke-width:2.25px}.scalar-app .object-contain{object-fit:contain}.scalar-app .\\!p-0{padding:0!important}.scalar-app .p-0{padding:0}.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-3{padding:12px}.scalar-app .p-4{padding:16px}.scalar-app .p-\\[3px\\]{padding:3px}.scalar-app .p-\\[5px\\]{padding:5px}.scalar-app .p-px{padding:1px}.scalar-app .\\!px-3{padding-inline:12px!important}.scalar-app .px-0{padding-inline:0}.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-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 .\\!py-1\\.5{padding-block:6px!important}.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-3{padding-block:12px}.scalar-app .py-5{padding-block:20px}.scalar-app .py-8{padding-block:32px}.scalar-app .py-px{padding-block:1px}.scalar-app .\\!pt-0{padding-top:0!important}.scalar-app .pt-0{padding-top:0}.scalar-app .pt-2{padding-top:8px}.scalar-app .pt-3{padding-top:12px}.scalar-app .pt-4{padding-top:16px}.scalar-app .pt-6{padding-top:24px}.scalar-app .pt-8{padding-top:32px}.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-2{padding-right:8px}.scalar-app .pr-2\\.5{padding-right:10px}.scalar-app .pr-2\\.25{padding-right:9px}.scalar-app .pr-3{padding-right:12px}.scalar-app .pr-6{padding-right:24px}.scalar-app .pr-8{padding-right:32px}.scalar-app .pr-9{padding-right:36px}.scalar-app .pr-10{padding-right:40px}.scalar-app .pr-12{padding-right:48px}.scalar-app .pr-\\[26px\\]{padding-right:26px}.scalar-app .pb-0{padding-bottom:0}.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-5{padding-bottom:20px}.scalar-app .pb-6{padding-bottom:24px}.scalar-app .pb-8{padding-bottom:32px}.scalar-app .pb-14{padding-bottom:56px}.scalar-app .pb-\\[75px\\]{padding-bottom:75px}.scalar-app .\\!pl-3{padding-left:12px!important}.scalar-app .pl-1{padding-left:4px}.scalar-app .pl-1\\.5{padding-left:6px}.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-5{padding-left:20px}.scalar-app .pl-6{padding-left:24px}.scalar-app .pl-8\\.5{padding-left:34px}.scalar-app .pl-9{padding-left:36px}.scalar-app .pl-12{padding-left:48px}.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 .font-code{font-family:var(--scalar-font-code)}.scalar-app .font-sans{font-family:var(--scalar-font)}.scalar-app .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-app .text-\\[6px\\]{font-size:6px}.scalar-app .text-\\[11px\\]{font-size:11px}.scalar-app .text-\\[21px\\]{font-size:21px}.scalar-app .text-base{font-size:var(--scalar-font-size-3)}.scalar-app .text-sm{font-size:var(--scalar-font-size-4)}.scalar-app .text-xl{font-size:var(--scalar-font-size-1)}.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-\\[6px\\]{--tw-leading:6px!important;line-height:6px!important}.scalar-app .leading-2{--tw-leading:var(--scalar-line-height-2);line-height:var(--scalar-line-height-2)}.scalar-app .leading-3{--tw-leading:var(--scalar-line-height-3);line-height:var(--scalar-line-height-3)}.scalar-app .leading-\\[1\\.44\\]{--tw-leading:1.44;line-height:1.44}.scalar-app .leading-\\[7px\\]{--tw-leading:7px;line-height:7px}.scalar-app .leading-\\[20px\\]{--tw-leading:20px;line-height:20px}.scalar-app .leading-\\[21px\\]{--tw-leading:21px;line-height:21px}.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-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-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 .text-balance{text-wrap:balance}.scalar-app .text-pretty{text-wrap:pretty}.scalar-app .break-words{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-b-1{color:var(--scalar-background-1)}.scalar-app .text-blue{color:var(--scalar-color-blue)}.scalar-app .text-border{color:var(--scalar-border-color)}.scalar-app .text-c-1{color:var(--scalar-color-1)}.scalar-app .text-c-2{color:var(--scalar-color-2)}.scalar-app .text-c-3{color:var(--scalar-color-3)}.scalar-app .text-c-btn{color:var(--scalar-button-1-color)}.scalar-app .text-green{color:var(--scalar-color-green)}.scalar-app .text-grey{color:var(--scalar-color-3)}.scalar-app .text-orange{color:var(--scalar-color-orange)}.scalar-app .text-purple{color:var(--scalar-color-purple)}.scalar-app .text-red{color:var(--scalar-color-red)}.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,currentColor)}.scalar-app .text-transparent{color:#0000}.scalar-app .text-yellow{color:var(--scalar-color-yellow)}.scalar-app .capitalize{text-transform:capitalize}.scalar-app .lowercase{text-transform:lowercase}.scalar-app .uppercase{text-transform:uppercase}.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);text-decoration-color:var(--scalar-color-3)}.scalar-app .underline-offset-2{text-underline-offset:2px}.scalar-app .opacity-0{opacity:0}.scalar-app .opacity-50{opacity:.5}.scalar-app .opacity-100{opacity:1}.scalar-app .bg-blend-normal{background-blend-mode:normal}.scalar-app .mix-blend-luminosity{mix-blend-mode:luminosity}.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-\\[0_-8px_0_8px_var\\(--scalar-background-1\\)\\,0_0_8px_8px_var\\(--scalar-background-1\\)\\]{--tw-shadow:0 -8px 0 8px var(--tw-shadow-color,var(--scalar-background-1)),0 0 8px 8px 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(--tw-shadow-color,calc(var(--scalar-border-width)*2))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-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 .outline{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .-outline-offset-1{outline-offset:-1px}.scalar-app .outline-offset-2{outline-offset:2px}.scalar-app .outline-b-3{outline-color:var(--scalar-background-3)}.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-\\[\\.9\\]{--tw-brightness:brightness(.9);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.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-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,visibility,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 .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.scalar-app .outline-none{--tw-outline-style:none;outline-style:none}.scalar-app .select-none{-webkit-user-select:none;user-select:none}.scalar-app .\\[--scalar-address-bar-height\\:32px\\]{--scalar-address-bar-height:32px}.scalar-app .app-drag-region{-webkit-app-region:drag}.scalar-app .app-no-drag-region{-webkit-app-region:no-drag}:is(.scalar-app .\\*\\:flex>*){display:flex}:is(.scalar-app .\\*\\:h-8>*){height:32px}:is(.scalar-app .\\*\\:cursor-pointer>*){cursor:pointer}:is(.scalar-app .\\*\\:items-center>*){align-items:center}:is(.scalar-app .\\*\\:rounded-none>*){border-radius:0}:is(.scalar-app .\\*\\:border-t>*){border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-b-0>*){border-bottom-style:var(--tw-border-style);border-bottom-width:0}: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\\: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)}@media (hover:hover){.scalar-app .group-hover\\:block:is(:where(.group):hover *){display:block}.scalar-app .group-hover\\:flex:is(:where(.group):hover *){display:flex}.scalar-app .group-hover\\:hidden:is(:where(.group):hover *){display:none}.scalar-app .group-hover\\:inline:is(:where(.group):hover *){display:inline}.scalar-app .group-hover\\:pr-5:is(:where(.group):hover *){padding-right:20px}.scalar-app .group-hover\\:pr-6:is(:where(.group):hover *){padding-right:24px}.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\\:opacity-80:is(:where(.group):hover *){opacity:.8}.scalar-app .group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.scalar-app .group-hover\\/auth\\:absolute:is(:where(.group\\/auth):hover *){position:absolute}.scalar-app .group-hover\\/auth\\:h-auto:is(:where(.group\\/auth):hover *){height:auto}.scalar-app .group-hover\\/auth\\:border-b:is(:where(.group\\/auth):hover *){border-bottom-style:var(--tw-border-style);border-bottom-width:var(--scalar-border-width)}.scalar-app .group-hover\\/cell\\:opacity-100:is(:where(.group\\/cell):hover *){opacity:1}.scalar-app .group-hover\\/item\\:flex:is(:where(.group\\/item):hover *){display:flex}.scalar-app .group-hover\\/item\\:opacity-100:is(:where(.group\\/item):hover *),.scalar-app .group-hover\\/params\\:opacity-100:is(:where(.group\\/params):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-hover\\/upload\\:block:is(:where(.group\\/upload):hover *){display:block}}.scalar-app .group-focus-visible\\:opacity-100:is(:where(.group):focus-visible *){opacity:1}.scalar-app .group-focus-visible\\:outline:is(:where(.group):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .group-has-\\[\\.cm-focused\\]\\:z-1:is(:where(.group):has(.cm-focused) *){z-index:1}.scalar-app .group-has-\\[\\.cm-focused\\]\\:flex:is(:where(.group):has(.cm-focused) *){display:flex}.scalar-app .group-has-\\[\\.cm-focused\\]\\:pr-6:is(:where(.group):has(.cm-focused) *){padding-right:24px}.scalar-app .group-has-\\[\\.cm-focused\\]\\:pr-10:is(:where(.group):has(.cm-focused) *){padding-right:40px}.scalar-app .group-has-\\[\\:focus-visible\\]\\:hidden:is(:where(.group):has(:focus-visible) *){display:none}.scalar-app .group-has-\\[\\:focus-visible\\]\\:opacity-100:is(:where(.group):has(:focus-visible) *){opacity:1}.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-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-\\[\\.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)}.scalar-app .peer-has-\\[\\.cm-focused\\]\\:opacity-0:is(:where(.peer):has(.cm-focused)~*){opacity:0}.scalar-app .peer-has-\\[\\.color-selector\\]\\:hidden:is(:where(.peer):has(.color-selector)~*){display:none}.scalar-app .before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.scalar-app .before\\:absolute:before{content:var(--tw-content);position:absolute}.scalar-app .before\\:top-0:before{content:var(--tw-content);top:0}.scalar-app .before\\:left-3:before{content:var(--tw-content);left:12px}.scalar-app .before\\:left-\\[calc\\(\\.75rem_\\+_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(.75rem + .5px)}.scalar-app .before\\:z-1:before{content:var(--tw-content);z-index:1}.scalar-app .before\\:h-\\[calc\\(100\\%_\\+_\\.5px\\)\\]:before{content:var(--tw-content);height:calc(100% + .5px)}.scalar-app .before\\:w-\\[\\.5px\\]:before{content:var(--tw-content);width:.5px}.scalar-app .before\\:bg-border:before{content:var(--tw-content);background-color:var(--scalar-border-color)}.scalar-app .after\\:content-\\[\\\'\\:\\\'\\]:after{--tw-content:":";content:var(--tw-content)}:is(.scalar-app .\\*\\:first\\:line-clamp-1>*):first-child{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.scalar-app .\\*\\:first\\:rounded-l>*):first-child{border-top-left-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}: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}:is(.scalar-app .\\*\\:first\\:text-ellipsis>*):first-child{text-overflow:ellipsis}@media (hover:hover){:is(.scalar-app .group-hover\\/auth\\:\\*\\:first\\:line-clamp-none:is(:where(.group\\/auth):hover *)>*):first-child{-webkit-line-clamp:unset;-webkit-box-orient:horizontal;display:block;overflow:visible}}.scalar-app .last\\:mb-0:last-child{margin-bottom:0}.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);border-bottom-right-radius:var(--scalar-radius)}.scalar-app .last\\:before\\:h-full:last-child:before{content:var(--tw-content);height:100%}.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 .focus-within\\:z-20:focus-within{z-index:20}.scalar-app .focus-within\\:border-\\(--scalar-background-3\\):focus-within{border-color:var(--scalar-background-3)}.scalar-app .focus-within\\:bg-b-1:focus-within{background-color:var(--scalar-background-1)}.scalar-app .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}@media (hover:hover){.scalar-app .hover\\:cursor-default:hover{cursor:default}.scalar-app .hover\\:border-\\(--scalar-background-3\\):hover{border-color:var(--scalar-background-3)}.scalar-app .hover\\:border-inherit:hover{border-color:inherit}.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-inherit:hover{background-color:inherit}.scalar-app .hover\\:bg-sidebar-b-active:hover{background-color:var(--scalar-sidebar-item-active-background,var(--scalar-background-2))}.scalar-app .hover\\:whitespace-normal:hover{white-space:normal}.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\\:underline:hover{text-decoration-line:underline}.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 .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\\:z-10:focus-visible{z-index:10}.scalar-app .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-app .disabled\\:cursor-default:disabled{cursor:default}.scalar-app .disabled\\:text-c-2:disabled{color:var(--scalar-color-2)}.scalar-app .has-\\[\\.empty-sidebar-item\\]\\:border-t:has(.empty-sidebar-item){border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}.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\\]\\:opacity-100:has(:focus-visible){opacity:1}.scalar-app .has-\\[\\:focus-visible\\]\\:outline:has(:focus-visible){outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:600px){.scalar-app .sm\\:not-sr-only{clip:auto;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.scalar-app .sm\\:order-none{order:0}.scalar-app .sm\\:mr-1\\.5{margin-right:6px}.scalar-app .sm\\:mb-1\\.5{margin-bottom:6px}.scalar-app .sm\\:ml-1\\.5{margin-left:6px}.scalar-app .sm\\:flex{display:flex}.scalar-app .sm\\:hidden{display:none}.scalar-app .sm\\:max-w-max{max-width:max-content}.scalar-app .sm\\:min-w-max{min-width:max-content}.scalar-app .sm\\:flex-col{flex-direction:column}.scalar-app .sm\\:flex-row{flex-direction:row}.scalar-app .sm\\:justify-between{justify-content:space-between}.scalar-app .sm\\:gap-px{gap:1px}.scalar-app .sm\\:rounded{border-radius:var(--scalar-radius)}.scalar-app .sm\\:rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .sm\\:px-2{padding-inline:8px}.scalar-app .sm\\:px-3{padding-inline:12px}.scalar-app .sm\\:py-1\\.5{padding-block:6px}:is(.scalar-app .sm\\:\\*\\:rounded-lg>*){border-radius:var(--scalar-radius-lg)}}@media (min-width:800px){.scalar-app .md\\:right-10{right:40px}.scalar-app .md\\:bottom-10{bottom:40px}.scalar-app .md\\:mx-auto{margin-inline:auto}.scalar-app .md\\:-ml-1\\.25{margin-left:-5px}.scalar-app .md\\:ml-1\\.5{margin-left:6px}.scalar-app .md\\:block{display:block}.scalar-app .md\\:flex{display:flex}.scalar-app .md\\:grid{display:grid}.scalar-app .md\\:w-full{width:100%}.scalar-app .md\\:max-w-\\[720px\\]{max-width:720px}.scalar-app .md\\:min-w-fit{min-width:fit-content}.scalar-app .md\\:flex-none{flex:none}.scalar-app .md\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .md\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .md\\:grid-cols-\\[1fr_720px_1fr\\]{grid-template-columns:1fr 720px 1fr}.scalar-app .md\\:flex-row{flex-direction:row}.scalar-app .md\\:border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .md\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .md\\:p-1\\.5{padding:6px}.scalar-app .md\\:px-0{padding-inline:0}.scalar-app .md\\:px-1\\.5{padding-inline:6px}.scalar-app .md\\:px-2{padding-inline:8px}.scalar-app .md\\:px-2\\.5{padding-inline:10px}.scalar-app .md\\:px-4{padding-inline:16px}.scalar-app .md\\:px-\\[18px\\]{padding-inline:18px}.scalar-app .md\\:py-2\\.5{padding-block:10px}.scalar-app .md\\:pb-2\\.5{padding-bottom:10px}.scalar-app .md\\:pb-\\[37px\\]{padding-bottom:37px}.scalar-app .md\\:pl-0{padding-left:0}:is(.scalar-app .md\\:\\*\\:border-t-0>*){border-top-style:var(--tw-border-style);border-top-width:0}}@media (min-width:1000px){.scalar-app .lg\\:order-none{order:0}.scalar-app .lg\\:-mr-1{margin-right:-4px}.scalar-app .lg\\:mb-0{margin-bottom:0}.scalar-app .lg\\:flex{display:flex}.scalar-app .lg\\:min-h-header{min-height:48px}.scalar-app .lg\\:w-auto{width:auto}.scalar-app .lg\\:max-w-\\[580px\\]{max-width:580px}.scalar-app .lg\\:min-w-\\[580px\\]{min-width:580px}.scalar-app .lg\\:flex-1{flex:1}.scalar-app .lg\\:p-1{padding:4px}.scalar-app .lg\\:px-1{padding-inline:4px}.scalar-app .lg\\:px-2\\.5{padding-inline:10px}.scalar-app .lg\\:pt-1{padding-top:4px}.scalar-app .lg\\:pr-24{padding-right:96px}}@media (min-width:1200px){.scalar-app .xl\\:\\!flex{display:flex!important}.scalar-app .xl\\:flex{display:flex}.scalar-app .xl\\:hidden{display:none}.scalar-app .xl\\:h-fit{height:fit-content}.scalar-app .xl\\:h-full{height:100%}.scalar-app .xl\\:min-h-header{min-height:48px}.scalar-app .xl\\:max-w-\\[720px\\]{max-width:720px}.scalar-app .xl\\:min-w-0{min-width:0}.scalar-app .xl\\:min-w-\\[720px\\]{min-width:720px}.scalar-app .xl\\:flex-row{flex-direction:row}.scalar-app .xl\\:overflow-auto{overflow:auto}.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}}.scalar-app .dark\\:bg-b-2:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}@media (hover:hover){.scalar-app .hover\\:dark\\:bg-b-2:hover:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}}.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]) .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:none}.scalar-app .ui-checked\\:bg-b-3[data-headlessui-state~=checked],:where([data-headlessui-state~=checked]) :is(.scalar-app .ui-checked\\:bg-b-3){background-color:var(--scalar-background-3)}.scalar-app .ui-active\\:bg-b-2[data-headlessui-state~=active],:where([data-headlessui-state~=active]) :is(.scalar-app .ui-active\\:bg-b-2),: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 (max-width:720px) and (max-height:480px){.scalar-app .zoomed\\:static{position:static}.scalar-app .zoomed\\:p-1{padding:4px}}.app-platform-mac :is(.scalar-app .mac\\:pl-\\[72px\\]){padding-left:72px}@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-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-content{syntax:"*";inherits:false;initial-value:""}.nav-item[data-v-507381a3]{cursor:pointer;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-3);border:var(--scalar-border-width)solid var(--scalar-background-2);color:var(--scalar-color-3);flex:1;justify-content:center;align-items:center;min-width:0;padding:4.5px;display:flex;position:relative;overflow:hidden}.dark-mode .nav-item[data-v-507381a3]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.dark-mode .nav-item[data-v-507381a3]{background:color-mix(in srgb,var(--scalar-background-2),transparent)}}.nav-item-icon-copy[data-v-507381a3]{white-space:nowrap;max-width:100%;-webkit-mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2)20px);mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2)20px);overflow:hidden}.nav-item:hover .nav-item-icon-copy[data-v-507381a3]{-webkit-mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2)40px);mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2)40px)}.nav-item-copy[data-v-507381a3]{max-width:calc(100% - 20px)}.nav-item[data-v-507381a3]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-507381a3]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-507381a3]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-507381a3]{border-radius:var(--scalar-radius);stroke-width:1.5px;max-width:20px;color:var(--scalar-color-3);opacity:0;background:0 0;margin-left:-20px;padding:2px;position:absolute;right:3px}.nav-item:hover .nav-item-close[data-v-507381a3]{opacity:1}.nav-item-close[data-v-507381a3]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-507381a3]:hover{background-color:var(--scalar-background-2)}.download-app-button[data-v-cb45fa05]{box-shadow:0 0 0 .5px var(--scalar-border-color);background:linear-gradient(#ffffffbf,#00000009)}.dark-mode .download-app-button[data-v-cb45fa05]{background:linear-gradient(#ffffff1a,#00000026)}.download-app-button[data-v-cb45fa05]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .download-app-button[data-v-cb45fa05]:hover{background:linear-gradient(#00000026,#ffffff1a)}.http-bg-gradient[data-v-076b14a1]{background:linear-gradient(#ffffffbf,#00000009)}.http-bg-gradient[data-v-076b14a1]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .http-bg-gradient[data-v-076b14a1]{background:linear-gradient(#ffffff09,#00000026)}.dark-mode .http-bg-gradient[data-v-076b14a1]:hover{background:linear-gradient(#00000026,#ffffff09)}.scroll-timeline-x[data-v-708cc906]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none;scrollbar-width:none;overflow:auto}.commandmenu[data-v-f2bbd082]{box-shadow:var(--scalar-shadow-2);border-radius:var(--scalar-radius-lg);background-color:var(--scalar-background-1);opacity:0;width:100%;max-width:580px;max-height:60dvh;margin:12px;animation:.3s ease-in-out .1s forwards fadeincommandmenu-f2bbd082;position:fixed;top:150px;left:50%;transform:translate(-50%,10px)}.commandmenu-overlay[data-v-f2bbd082]{cursor:pointer;background:#0003;animation:.3s ease-in-out forwards fadeincommand-f2bbd082;position:fixed;inset:0}@keyframes fadeincommand-f2bbd082{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-f2bbd082{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.scalar .scalar-app-layout[data-v-45e9730e]{background:var(--scalar-background-1);opacity:0;border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:8px;width:100%;max-width:1390px;height:calc(100% - 120px);margin:auto;animation:.35s forwards scalarapiclientfadein-45e9730e;position:relative;overflow:hidden}@media (max-width:720px) and (max-height:480px){.scalar .scalar-app-layout[data-v-45e9730e]{height:100%;max-height:90svh}}@keyframes scalarapiclientfadein-45e9730e{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-45e9730e]{cursor:pointer;z-index:-1;background:#00000038;width:100vw;height:100vh;transition:all .3s ease-in-out;animation:.35s forwards scalardrawerexitfadein-45e9730e;position:fixed;top:0;left:0}.dark-mode .scalar .scalar-app-exit[data-v-45e9730e]{background:#00000073}.scalar .scalar-app-exit[data-v-45e9730e]: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-45e9730e]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-45e9730e{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-45e9730e]{visibility:visible;z-index:10000;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.scalar .url-form-input[data-v-45e9730e]{min-height:auto!important}.scalar .scalar-container[data-v-45e9730e]{line-height:normal}.scalar .scalar-app-header span[data-v-45e9730e]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-45e9730e]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-45e9730e]:hover{text-decoration:underline}.scalar-activate[data-v-45e9730e]{cursor:pointer;align-items:center;gap:6px;width:fit-content;margin:0 .75rem .75rem auto;font-size:.875rem;font-weight:600;line-height:24px;display:flex}.scalar-activate-button[data-v-45e9730e]{color:var(--scalar-color-blue);appearance:none;background:0 0;border:none;outline:none;align-items:center;gap:6px;padding:0 .5rem;display:flex}.scalar-activate:hover .scalar-activate-button[data-v-45e9730e]{background:var(--scalar-background-3);border-radius:3px}.scalar-modal-layout .scalar-button-danger[data-v-a93bfefe]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-modal-layout .scalar-button-danger[data-v-a93bfefe]{background:color-mix(in srgb,var(--scalar-color-red),transparent 95%)}}.scalar-modal-layout .scalar-button-danger[data-v-a93bfefe]{color:var(--scalar-color-red)}.scalar-modal-layout .scalar-button-danger[data-v-a93bfefe]:hover,.scalar-modal-layout .scalar-button-danger[data-v-a93bfefe]:focus{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-modal-layout .scalar-button-danger[data-v-a93bfefe]:hover,.scalar-modal-layout .scalar-button-danger[data-v-a93bfefe]:focus{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%)}}.fade-request-section-content[data-v-f97cc68c]{background:linear-gradient(to left,var(--scalar-background-1)64%,transparent)}.filter-hover[data-v-f97cc68c]{height:100%;padding-left:24px;padding-right:39px;transition:width 0s ease-in-out .2s;position:absolute;right:0;overflow:hidden}.filter-hover[data-v-f97cc68c]:hover,.filter-hover[data-v-f97cc68c]:has(:focus-visible){z-index:10;width:100%}.filter-hover[data-v-f97cc68c]:before{content:"";background-color:var(--scalar-background-1);opacity:0;pointer-events:none;width:100%;height:fit-content;transition:all .3s ease-in-out;position:absolute;top:0;left:0}.filter-hover-item[data-v-f97cc68c]{opacity:0}.filter-hover-item[data-v-f97cc68c]:not(:last-of-type){transform:translateY(3px)}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]{transition:opacity .2s ease-in-out,transform .2s ease-in-out}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:last-of-type{transition-delay:50ms}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(2){transition-delay:.1s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(3){transition-delay:.15s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(4){transition-delay:.2s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(5){transition-delay:.25s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(6){transition-delay:.3s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(7){transition-delay:.35s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c],.filter-hover:has(:focus-visible) .filter-hover-item[data-v-f97cc68c]{opacity:1;transform:translateZ(0)}.filter-hover[data-v-f97cc68c]:hover:before,.filter-hover[data-v-f97cc68c]:has(:focus-visible):before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-button[data-v-f97cc68c]{top:50%;transform:translateY(-50%)}.context-bar-group:hover .context-bar-group-hover\\:text-c-1[data-v-f97cc68c],.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:text-c-1[data-v-f97cc68c]{--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-f97cc68c],.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:hidden[data-v-f97cc68c]{display:none}.light-mode .bg-preview[data-v-0956ad2d]{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-0956ad2d]{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")}[data-v-85d2902e] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-85d2902e] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius)0 0 var(--scalar-radius)}.body-raw[data-v-85d2902e] .cm-scroller{min-width:100%;overflow:auto}.scalar-code-block[data-v-17966bf4] .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}.ascii-art-animate .ascii-art-line[data-v-69ebd973]{border-right:1ch solid #0000;animation:4s step-end 1s both typewriter-69ebd973,.5s step-end infinite blinkTextCursor-69ebd973}@keyframes typewriter-69ebd973{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-69ebd973{0%{border-right-color:currentColor}50%{border-right-color:#0000}}.keycap-n[data-v-45a9fc44]{background:-webkit-linear-gradient(5deg,transparent 30%,var(--scalar-color-3)50%);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.keycap-hotkey[data-v-45a9fc44]{line-height:26px;position:absolute;top:32px}.scalar-version-number[data-v-6d2bdb61]{width:76px;height:76px;font-size:8px;font-family:var(--scalar-font-code);box-shadow:inset 2px 0 0 2px var(--scalar-background-2);text-align:center;text-transform:initial;-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-6d2bdb61]{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-6d2bdb61]{display:none}.v-enter-active[data-v-5d3b84e1]{transition:opacity .5s}.v-enter-from[data-v-5d3b84e1]{opacity:0}.animate-response-heading .response-heading[data-v-7138ed84]{opacity:1;animation:.2s ease-in-out forwards push-response-7138ed84}@keyframes push-response-7138ed84{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-7138ed84]{opacity:0;animation:.2s ease-in-out 50ms forwards response-spans-7138ed84}@keyframes response-spans-7138ed84{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}[data-v-26202746] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-26202746] .cm-placeholder{color:var(--scalar-color-3)}[data-v-26202746] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-26202746] .cm-tooltip{filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);background:0 0!important;border:none!important;outline:none!important;overflow:hidden!important}[data-v-26202746] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-26202746] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-26202746] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-26202746] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-26202746] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-26202746] .cm-activeLine,[data-v-26202746] .cm-activeLineGutter{background-color:#0000}[data-v-26202746] .cm-selectionMatch,[data-v-26202746] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-26202746] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-26202746] .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-26202746] .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-26202746] .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-26202746] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-26202746] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-26202746] .cm-scroller{overflow:auto}.line-wrapping[data-v-26202746]:focus-within .cm-content{white-space:break-spaces;word-break:break-all;min-height:fit-content;padding:3px 6px;display:inline-table}.cm-pill{--tw-bg-base:var(--scalar-color-1);color:var(--tw-bg-base);font-size:var(--scalar-small);border-radius:30px;padding:0 9px;display:inline-block;background:var(--tw-bg-base)!important}@supports (color:color-mix(in lab,red,red)){.cm-pill{background:color-mix(in srgb,var(--tw-bg-base),transparent 94%)!important}}.cm-pill.bg-grey{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: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}.cm-foldGutter .cm-gutterElement:hover .cm-foldMarker{background:var(--scalar-background-2);border-radius:var(--scalar-radius);color:var(--scalar-color-1)}.schema>span[data-v-4df72868]:not(:first-child):before{content:"·";margin:0 .5ch;display:block}.schema>span[data-v-4df72868]{white-space:nowrap;display:flex}[data-v-04661eb4] .cm-editor{padding:0}[data-v-04661eb4] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-04661eb4] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-04661eb4] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-04661eb4] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-04661eb4] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.filemask[data-v-04661eb4]{-webkit-mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2)20px);mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2)20px)}[data-v-a4d93a6f] .cm-content{font-size:var(--scalar-small)}[data-v-46e1ae6e] .cm-editor{padding:0}[data-v-46e1ae6e] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-46e1ae6e] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-46e1ae6e] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-46e1ae6e] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-46e1ae6e] .cm-line{text-overflow:ellipsis;word-break:break-word;padding:0;overflow:hidden}.required[data-v-46e1ae6e]:after{content:"Required"}input[data-v-46e1ae6e]::placeholder{color:var(--scalar-color-3)}.scalar-password-input[data-v-46e1ae6e]{text-security:disc;-webkit-text-security:disc;-moz-text-security:disc}.auth-combobox-position[data-v-0bb98074]{margin-left:120px}.scroll-timeline-x[data-v-0bb98074]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.fade-left[data-v-0bb98074],.fade-right[data-v-0bb98074]{content:"";pointer-events:none;height:100%;min-height:24px;animation-name:fadein-0bb98074;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-0bb98074]{background:linear-gradient(-90deg,var(--scalar-background-1)0%,var(--scalar-background-1)60%,var(--scalar-background-1)100%)}@supports (color:color-mix(in lab,red,red)){.fade-left[data-v-0bb98074]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%)0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%)60%,var(--scalar-background-1)100%)}}.fade-left[data-v-0bb98074]{min-width:3px;animation-direction:normal;left:-1px}.fade-right[data-v-0bb98074]{background:linear-gradient(90deg,var(--scalar-background-1)0%,var(--scalar-background-1)60%,var(--scalar-background-1)100%)}@supports (color:color-mix(in lab,red,red)){.fade-right[data-v-0bb98074]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%)0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%)60%,var(--scalar-background-1)100%)}}.fade-right[data-v-0bb98074]{min-width:24px;margin-left:-20px;top:0;right:-1px}@keyframes fadein-0bb98074{0%{opacity:0}15%{opacity:1}}.auth-combobox-position[data-v-f622cd82]{margin-left:120px}.scroll-timeline-x[data-v-f622cd82]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.fade-left[data-v-f622cd82],.fade-right[data-v-f622cd82]{content:"";pointer-events:none;height:100%;min-height:24px;animation-name:fadein-f622cd82;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-f622cd82]{background:linear-gradient(-90deg,var(--scalar-background-1)0%,var(--scalar-background-1)60%,var(--scalar-background-1)100%)}@supports (color:color-mix(in lab,red,red)){.fade-left[data-v-f622cd82]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%)0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%)60%,var(--scalar-background-1)100%)}}.fade-left[data-v-f622cd82]{min-width:3px;animation-direction:normal;left:-1px}.fade-right[data-v-f622cd82]{background:linear-gradient(90deg,var(--scalar-background-1)0%,var(--scalar-background-1)60%,var(--scalar-background-1)100%)}@supports (color:color-mix(in lab,red,red)){.fade-right[data-v-f622cd82]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%)0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%)60%,var(--scalar-background-1)100%)}}.fade-right[data-v-f622cd82]{min-width:24px;margin-left:-20px;top:0;right:-1px}@keyframes fadein-f622cd82{0%{opacity:0}15%{opacity:1}}[data-v-73c4a2cf] code.hljs *{font-size:var(--scalar-small)}.request-section-content[data-v-fbbc9b8b]{--scalar-border-width:.5px}.request-section-content-filter[data-v-fbbc9b8b]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-fbbc9b8b]{opacity:1}.group-hover-input[data-v-fbbc9b8b]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-fbbc9b8b]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.group:hover .group-hover-input[data-v-fbbc9b8b]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-fbbc9b8b]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-fbbc9b8b]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}@media (min-width:800px){.has-no-import-url,.has-import-url{contain:paint;max-width:100dvw;overflow-x:hidden}.has-no-import-url .scalar-client>main{opacity:1;background:var(--scalar-background-1);animation:.3s ease-in-out forwards transform-restore-layout}.has-import-url .scalar-client>main{opacity:0;border:var(--scalar-border-width)solid var(--scalar-border-color);z-index:10000;border-radius:12px;animation:.3s ease-in-out forwards transform-fade-layout;overflow:hidden;transform:scale(.85)translate(calc(50dvw + 80px))}.has-import-url .scalar-client .sidenav{display:none}.has-no-import-url .scalar-app,.has-import-url .scalar-app{background:var(--scalar-background-1)!important}}@keyframes transform-fade-layout{0%{opacity:0;transform:scale(.85)translate(calc(50dvw + 80px),10px)}to{opacity:1;transform:scale(.85)translate(calc(50dvw + 80px))}}@keyframes transform-restore-layout{0%{opacity:1;transform:scale(.85)translate(calc(50dvw + 80px))}to{opacity:1;transform:scale(1)translate(0)}}.openapi-color{color:var(--scalar-color-green)}.section-flare{position:fixed;top:0;right:-50dvw}#scalar-client{background-color:var(--scalar-background-2);flex-direction:column;width:100dvw;height:100dvh;display:flex;position:relative}.dark-mode #scalar-client{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode #scalar-client{background-color:color-mix(in srgb,var(--scalar-background-1)65%,black)}}.open-api-client-button[data-v-f016469d]{cursor:pointer;text-align:center;white-space:nowrap;width:100%;height:31px;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);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-f016469d]:hover{background:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}.address-bar-history-button[data-v-a93fa60f]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-a93fa60f]:focus-within{background:var(--scalar-background-2)}.description[data-v-92012388] .markdown{font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:0;display:block}.description[data-v-92012388] .markdown>:first-child{margin-top:0}[data-v-78c9dbb9] .cm-editor{outline:none;width:100%;height:100%}[data-v-78c9dbb9] .cm-line{padding:0}[data-v-78c9dbb9] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-78c9dbb9]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-78c9dbb9]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-78c9dbb9] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-78c9dbb9]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-78c9dbb9] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-78c9dbb9]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-78c9dbb9]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.scroll-timeline-x-address[data-v-78c9dbb9]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-78c9dbb9],.fade-right[data-v-78c9dbb9]{content:"";pointer-events:none;z-index:1;height:100%;animation-name:fadein-78c9dbb9;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-78c9dbb9]{background:linear-gradient(-90deg,var(--scalar-address-bar-bg)0%,var(--scalar-address-bar-bg)30%,var(--scalar-address-bar-bg)100%)}@supports (color:color-mix(in lab,red,red)){.fade-left[data-v-78c9dbb9]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 100%)0%,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 20%)30%,var(--scalar-address-bar-bg)100%)}}.fade-left[data-v-78c9dbb9]{min-width:6px;animation-direction:normal;left:-1px}.fade-right[data-v-78c9dbb9]{background:linear-gradient(90deg,var(--scalar-address-bar-bg)0%,var(--scalar-address-bar-bg)30%,var(--scalar-address-bar-bg)100%)}@supports (color:color-mix(in lab,red,red)){.fade-right[data-v-78c9dbb9]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 100%)0%,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 20%)30%,var(--scalar-address-bar-bg)100%)}}.fade-right[data-v-78c9dbb9]{min-width:24px;right:-1px}@keyframes fadein-78c9dbb9{0%{opacity:0}1%{opacity:1}}.address-bar-bg-states[data-v-78c9dbb9]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.address-bar-bg-states[data-v-78c9dbb9]{--scalar-address-bar-bg:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.address-bar-bg-states[data-v-78c9dbb9]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-78c9dbb9]:has(.cm-focused){--scalar-address-bar-bg:var(--scalar-background-1);border-color:var(--scalar-border-color);outline:1px solid var(--scalar-color-accent)}.address-bar-bg-states:has(.cm-focused) .fade-left[data-v-78c9dbb9],.address-bar-bg-states:has(.cm-focused) .fade-right[data-v-78c9dbb9]{--scalar-address-bar-bg:var(--scalar-background-1)}.sidebar-height[data-v-72824faa]{min-height:100%}@media (min-width:800px){.sidebar-mask[data-v-72824faa]{-webkit-mask-image:linear-gradient(0,transparent 0,transparent 0,var(--scalar-background-2)30px);mask-image:linear-gradient(0,transparent 0,transparent 0,var(--scalar-background-2)30px)}}.resizer[data-v-72824faa]{cursor:col-resize;border-right:2px solid #0000;width:5px;transition:border-right-color .3s;position:absolute;top:0;bottom:0;right:0}.resizer[data-v-72824faa]:hover,.dragging .resizer[data-v-72824faa]{border-right-color:var(--scalar-background-3)}.dragging[data-v-72824faa]{cursor:col-resize}.dragging[data-v-72824faa]:before{content:"";width:100%;height:100%;display:block;position:absolute}.ellipsis-position[data-v-c405ab35]{transform:translate(calc(-100% - 4.5px))}.indent-border-line-offset[data-v-4dedda07]:before{left:var(--eae2c57a)}.indent-padding-left[data-v-4dedda07]{padding-left:calc(var(--7c91ad9b) + 6px)}.sidebar-folderitem[data-v-4dedda07] .ellipsis-position{right:6px;transform:none}.search-button-fade[data-v-bca9c474]{background:linear-gradient(var(--scalar-background-1)32px,var(--scalar-background-1)38px,transparent)}@supports (color:color-mix(in lab,red,red)){.search-button-fade[data-v-bca9c474]{background:linear-gradient(var(--scalar-background-1)32px,color-mix(in srgb,var(--scalar-background-1),transparent)38px,transparent)}}.empty-sidebar-item-content[data-v-bca9c474]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-bca9c474]{display:block}.rabbitjump[data-v-bca9c474]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-bca9c474]{opacity:1;animation:.5s step-end infinite rabbitAnimation-bca9c474}.empty-sidebar-item:hover .rabbitsit[data-v-bca9c474]{opacity:0;animation:.5s step-end infinite rabbitAnimation2-bca9c474}.empty-sidebar-item:hover .rabbit-ascii[data-v-bca9c474]{animation:8s linear infinite rabbitRun-bca9c474}@keyframes rabbitRun-bca9c474{0%{transform:translateZ(0)}25%{transform:translate(250px)}25.01%{transform:translate(-250px)}75%{transform:translate(250px)}75.01%{transform:translate(-250px)}to{transform:translateZ(0)}}@keyframes rabbitAnimation-bca9c474{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-bca9c474{0%,to{opacity:0}50%{opacity:1;transform:translateY(-8px)}}.request-text-color-text[data-v-c648cff4]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1),var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (max-width:800px){.sidebar-active-hide-layout[data-v-c648cff4]{display:none}.sidebar-active-width[data-v-c648cff4]{width:100%}}.gitbook-show[data-v-c8df97c6]{display:none}.app-exit-button[data-v-c8df97c6]{color:#fff;background:#0000001a}.app-exit-button[data-v-c8df97c6]:hover{background:#ffffff1a}.request-text-color-text[data-v-0100effe]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1),var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (max-width:800px){.sidebar-active-hide-layout[data-v-0100effe]{display:none}.sidebar-active-width[data-v-0100effe]{width:100%}}.group-hover-input[data-v-fced736a]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-fced736a]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.group:hover .group-hover-input[data-v-fced736a]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-fced736a]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-fced736a]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}[data-v-68d5218e] .markdown h2{font-size:var(--scalar-font-size-2)}[data-v-5997a667] .cm-content{min-height:fit-content}[data-v-5997a667] .cm-scroller{max-width:100%;overflow:auto hidden}[data-v-83bfcc8a] .cm-editor{padding:0}[data-v-83bfcc8a] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-83bfcc8a] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-83bfcc8a] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-83bfcc8a] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-83bfcc8a] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.scalar-collection-auth[data-v-cc87292e]{border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden}.scalar-button-danger[data-v-5170f3be]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-button-danger[data-v-5170f3be]{background:color-mix(in srgb,var(--scalar-color-red),transparent 95%)}}.scalar-button-danger[data-v-5170f3be]{color:var(--scalar-color-red)}.scalar-button-danger[data-v-5170f3be]:hover,.scalar-button-danger[data-v-5170f3be]:focus{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-button-danger[data-v-5170f3be]:hover,.scalar-button-danger[data-v-5170f3be]:focus{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%)}}.dragover-asChild[data-v-a89d6a6e],.dragover-above[data-v-a89d6a6e],.dragover-below[data-v-a89d6a6e]{position:relative}.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{content:"";background:var(--scalar-color-blue);width:100%;height:3px;display:block;position:absolute;top:-1.5px}@supports (color:color-mix(in lab,red,red)){.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%)}}.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{pointer-events:none;border-radius:var(--scalar-radius)}.dragover-below[data-v-a89d6a6e]:after{top:initial;bottom:-1.5px}.dragover-asChild[data-v-a89d6a6e]:after{content:"";background:var(--scalar-color-blue);width:100%;height:100%;display:block;position:absolute;top:0;left:0}@supports (color:color-mix(in lab,red,red)){.dragover-asChild[data-v-a89d6a6e]:after{background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%)}}.dragover-asChild[data-v-a89d6a6e]:after{pointer-events:none;border-radius:var(--scalar-radius)}.empty-variable-name[data-v-0b6c70e4]:empty:before{content:"Untitled";color:var(--scalar-color-3)}.form-group[data-v-694018d6]{margin-bottom:1rem}.modal-actions[data-v-694018d6]{justify-content:flex-end;gap:1rem;display:flex}:root{--scalar-loaded-api-reference:true}@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-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-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@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-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}@layer scalar-config{.scalar-api-reference[data-v-3cb06588]{--refs-sidebar-width: var(--scalar-sidebar-width, 0px);--refs-header-height: calc( var(--scalar-y-offset) + var(--scalar-header-height, 0px) );--refs-content-max-width: var(--scalar-content-max-width, 1540px)}.scalar-api-reference.references-classic[data-v-3cb06588]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.references-layout[data-v-3cb06588]{min-height:100dvh;min-width:100%;max-width:100%;flex:1;--full-height: 100dvh;display:grid;grid-template-rows:var(--scalar-header-height, 0px) repeat(2,auto);grid-template-columns:var(--refs-sidebar-width) 1fr;grid-template-areas:"header header" "navigation rendered" "footer footer";background:var(--scalar-background-1)}.references-header[data-v-3cb06588]{grid-area:header;position:sticky;top:var(--scalar-custom-header-height, 0px);z-index:1000;height:var(--scalar-header-height, 0px)}.references-editor[data-v-3cb06588]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1)}.references-navigation[data-v-3cb06588]{grid-area:navigation}.references-rendered[data-v-3cb06588]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-3cb06588],.references-classic .references-rendered[data-v-3cb06588]{height:initial!important;max-height:initial!important}.references-navigation-list[data-v-3cb06588]{position:sticky;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));background:var(--scalar-sidebar-background-1, var(--scalar-background-1));overflow-y:auto;display:flex;flex-direction:column}.references-editor-textarea[data-v-3cb06588]{position:sticky;top:var(--refs-header-height);height:calc(var(--full-height) - var(--refs-header-height));display:flex;min-width:0;flex:1}.references-editable[data-v-3cb06588]{grid-template-columns:var(--refs-sidebar-width) 1fr 1fr;grid-template-areas:"header header header" "navigation editor rendered" "footer footer footer"}@layer scalar-config{.references-sidebar[data-v-3cb06588]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-3cb06588]{grid-area:footer}@media (max-width: 1150px){.references-layout[data-v-3cb06588]{grid-template-columns:var(--refs-sidebar-width) 1fr 0px}}@media (max-width: 1000px){.references-layout[data-v-3cb06588]{grid-template-columns:auto;grid-template-rows:var(--scalar-header-height, 0px) 0px auto auto;grid-template-areas:"header" "navigation" "rendered" "footer"}.references-editable[data-v-3cb06588]{grid-template-areas:"header" "navigation" "editor"}.references-navigation[data-v-3cb06588],.references-rendered[data-v-3cb06588]{max-height:unset}.references-rendered[data-v-3cb06588]{position:static}.references-navigation[data-v-3cb06588]{display:none;z-index:10}.references-sidebar-mobile-open .references-navigation[data-v-3cb06588]{display:block;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));width:100%;position:sticky}.references-navigation-list[data-v-3cb06588]{position:absolute;top:-1px;height:calc(var(--full-height) - var(--refs-header-height) + 1px);width:100%;border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}}@media (max-width: 1000px){.scalar-api-references-standalone-mobile[data-v-3cb06588]{--scalar-header-height: 50px}}.scalar-api-references-standalone-search[data-v-3cb06588]{display:flex;flex-direction:column;padding:12px 12px 6px}.darklight-reference[data-v-3cb06588]{width:100%;margin-top:auto}@layer scalar-base{body{margin:0;background-color:var(--scalar-background-1)}}')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t,r;(t=e||(e={})).assertEqual=e=>e,t.assertIs=function(e){},t.assertNever=function(e){throw new Error},t.arrayToEnum=e=>{const t={};for(const r of e)t[r]=r;return t},t.getValidEnumValues=e=>{const r=t.objectKeys(e).filter((t=>"number"!=typeof e[e[t]])),n={};for(const t of r)n[t]=e[t];return t.objectValues(n)},t.objectValues=e=>t.objectKeys(e).map((function(t){return e[t]})),t.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},t.find=(e,t)=>{for(const r of e)if(t(r))return r},t.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,t.joinValues=function(e,t=" | "){return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(t)},t.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(r||(r={})).mergeShapes=(e,t)=>({...e,...t});const n=e.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),a=e=>{switch(typeof e){case"undefined":return n.undefined;case"string":return n.string;case"number":return isNaN(e)?n.nan:n.number;case"boolean":return n.boolean;case"function":return n.function;case"bigint":return n.bigint;case"symbol":return n.symbol;case"object":return Array.isArray(e)?n.array:null===e?n.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?n.promise:"undefined"!=typeof Map&&e instanceof Map?n.map:"undefined"!=typeof Set&&e instanceof Set?n.set:"undefined"!=typeof Date&&e instanceof Date?n.date:n.object;default:return n.unknown}},o=e.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class i extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(const a of e.issues)if("invalid_union"===a.code)a.unionErrors.map(n);else if("invalid_return_type"===a.code)n(a.returnTypeError);else if("invalid_arguments"===a.code)n(a.argumentsError);else if(0===a.path.length)r._errors.push(t(a));else{let e=r,n=0;for(;n<a.path.length;){const r=a.path[n];n===a.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(a))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(this),r}static assert(e){if(!(e instanceof i))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,e.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){const t={},r=[];for(const n of this.issues)n.path.length>0?(t[n.path[0]]=t[n.path[0]]||[],t[n.path[0]].push(e(n))):r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}i.create=e=>new i(e);const s=(t,r)=>{let a;switch(t.code){case o.invalid_type:a=t.received===n.undefined?"Required":`Expected ${t.expected}, received ${t.received}`;break;case o.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(t.expected,e.jsonStringifyReplacer)}`;break;case o.unrecognized_keys:a=`Unrecognized key(s) in object: ${e.joinValues(t.keys,", ")}`;break;case o.invalid_union:a="Invalid input";break;case o.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${e.joinValues(t.options)}`;break;case o.invalid_enum_value:a=`Invalid enum value. Expected ${e.joinValues(t.options)}, received '${t.received}'`;break;case o.invalid_arguments:a="Invalid function arguments";break;case o.invalid_return_type:a="Invalid function return type";break;case o.invalid_date:a="Invalid date";break;case o.invalid_string:"object"==typeof t.validation?"includes"in t.validation?(a=`Invalid input: must include "${t.validation.includes}"`,"number"==typeof t.validation.position&&(a=`${a} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?a=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?a=`Invalid input: must end with "${t.validation.endsWith}"`:e.assertNever(t.validation):a="regex"!==t.validation?`Invalid ${t.validation}`:"Invalid";break;case o.too_small:a="array"===t.type?`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:"string"===t.type?`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:"number"===t.type?`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:"date"===t.type?`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:"Invalid input";break;case o.too_big:a="array"===t.type?`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:"string"===t.type?`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:"number"===t.type?`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:"bigint"===t.type?`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:"date"===t.type?`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:"Invalid input";break;case o.custom:a="Invalid input";break;case o.invalid_intersection_types:a="Intersection results could not be merged";break;case o.not_multiple_of:a=`Number must be a multiple of ${t.multipleOf}`;break;case o.not_finite:a="Number must be finite";break;default:a=r.defaultError,e.assertNever(t)}return{message:a}};let l=s;function c(){return l}const u=e=>{const{data:t,path:r,errorMaps:n,issueData:a}=e,o=[...r,...a.path||[]],i={...a,path:o};if(void 0!==a.message)return{...a,path:o,message:a.message};let s="";const l=n.filter((e=>!!e)).slice().reverse();for(const e of l)s=e(i,{data:t,defaultError:s}).message;return{...a,path:o,message:s}};function d(e,t){const r=c(),n=u({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===s?void 0:s].filter((e=>!!e))});e.common.issues.push(n)}class p{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const r=[];for(const n of t){if("aborted"===n.status)return h;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const r=[];for(const e of t){const t=await e.key,n=await e.value;r.push({key:t,value:n})}return p.mergeObjectSync(e,r)}static mergeObjectSync(e,t){const r={};for(const n of t){const{key:t,value:a}=n;if("aborted"===t.status)return h;if("aborted"===a.status)return h;"dirty"===t.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"===t.value||void 0===a.value&&!n.alwaysSet||(r[t.value]=a.value)}return{status:e.value,value:r}}}const h=Object.freeze({status:"aborted"}),f=e=>({status:"dirty",value:e}),m=e=>({status:"valid",value:e}),g=e=>"aborted"===e.status,b=e=>"dirty"===e.status,v=e=>"valid"===e.status,y=e=>"undefined"!=typeof Promise&&e instanceof Promise;function O(e,t,r,n){if("function"==typeof t||!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function w(e,t,r,n,a){if("function"==typeof t||!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,r),r}var x,k,S,_;"function"==typeof SuppressedError&&SuppressedError,(k=x||(x={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},k.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class E{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const T=(e,t)=>{if(v(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new i(e.common.issues);return this._error=t,this._error}}};function A(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:a}=e;if(t&&(r||n))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:a}:{errorMap:(t,a)=>{var o,i;const{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:a.defaultError}:void 0===a.data?{message:null!==(o=null!=s?s:n)&&void 0!==o?o:a.defaultError}:"invalid_type"!==t.code?{message:a.defaultError}:{message:null!==(i=null!=s?s:r)&&void 0!==i?i:a.defaultError}},description:a}}class C{get description(){return this._def.description}_getType(e){return a(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new p,ctx:{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(y(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;const n={common:{issues:[],async:null!==(r=null==t?void 0:t.async)&&void 0!==r&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},o=this._parseSync({data:e,path:n.path,parent:n});return T(n,o)}"~validate"(e){var t,r;const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)};if(!this["~standard"].async)try{const t=this._parseSync({data:e,path:[],parent:n});return v(t)?{value:t.value}:{issues:n.common.issues}}catch(e){(null===(r=null===(t=null==e?void 0:e.message)||void 0===t?void 0:t.toLowerCase())||void 0===r?void 0:r.includes("encountered"))&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then((e=>v(e)?{value:e.value}:{issues:n.common.issues}))}async parseAsync(e,t){const r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){const r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},n=this._parse({data:e,path:r.path,parent:r}),o=await(y(n)?n:Promise.resolve(n));return T(r,o)}refine(e,t){const r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement(((t,n)=>{const a=e(t),i=()=>n.addIssue({code:o.custom,...r(t)});return"undefined"!=typeof Promise&&a instanceof Promise?a.then((e=>!!e||(i(),!1))):!!a||(i(),!1)}))}refinement(e,t){return this._refinement(((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1)))}_refinement(e){return new Ce({schema:this,typeName:Fe.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return Pe.create(this,this._def)}nullable(){return $e.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ue.create(this)}promise(){return Ae.create(this,this._def)}or(e){return he.create([this,e],this._def)}and(e){return be.create(this,e,this._def)}transform(e){return new Ce({...A(this._def),schema:this,typeName:Fe.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new Me({...A(this._def),innerType:this,defaultValue:t,typeName:Fe.ZodDefault})}brand(){return new Ie({typeName:Fe.ZodBranded,type:this,...A(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new De({...A(this._def),innerType:this,catchValue:t,typeName:Fe.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return Le.create(this,e)}readonly(){return je.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const P=/^c[^\s-]{8,}$/i,$=/^[0-9a-z]+$/,M=/^[0-9A-HJKMNP-TV-Z]{26}$/i,D=/^[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}$/i,R=/^[a-z0-9_-]{21}$/i,N=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,I=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,L=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let j;const B=/^(?:(?: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])$/,U=/^(?:(?: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])$/,F=/^(([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]))$/,Q=/^(([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])$/,z=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,q=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,H="((\\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])))",V=new RegExp(`^${H}$`);function Z(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function W(e){let t=`${H}T${Z(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function X(e,t){if(!N.test(e))return!1;try{const[r]=e.split("."),n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),a=JSON.parse(atob(n));return!("object"!=typeof a||null===a||!a.typ||!a.alg||t&&a.alg!==t)}catch(e){return!1}}function G(e,t){return!("v4"!==t&&t||!U.test(e))||!("v6"!==t&&t||!Q.test(e))}class Y extends C{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==n.string){const e=this._getOrReturnCtx(t);return d(e,{code:o.invalid_type,expected:n.string,received:e.parsedType}),h}const r=new p;let a;for(const n of this._def.checks)if("min"===n.kind)t.data.length<n.value&&(a=this._getOrReturnCtx(t,a),d(a,{code:o.too_small,minimum:n.value,type:"string",inclusive:!0,exact:!1,message:n.message}),r.dirty());else if("max"===n.kind)t.data.length>n.value&&(a=this._getOrReturnCtx(t,a),d(a,{code:o.too_big,maximum:n.value,type:"string",inclusive:!0,exact:!1,message:n.message}),r.dirty());else if("length"===n.kind){const e=t.data.length>n.value,i=t.data.length<n.value;(e||i)&&(a=this._getOrReturnCtx(t,a),e?d(a,{code:o.too_big,maximum:n.value,type:"string",inclusive:!0,exact:!0,message:n.message}):i&&d(a,{code:o.too_small,minimum:n.value,type:"string",inclusive:!0,exact:!0,message:n.message}),r.dirty())}else if("email"===n.kind)L.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"email",code:o.invalid_string,message:n.message}),r.dirty());else if("emoji"===n.kind)j||(j=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),j.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"emoji",code:o.invalid_string,message:n.message}),r.dirty());else if("uuid"===n.kind)D.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"uuid",code:o.invalid_string,message:n.message}),r.dirty());else if("nanoid"===n.kind)R.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"nanoid",code:o.invalid_string,message:n.message}),r.dirty());else if("cuid"===n.kind)P.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"cuid",code:o.invalid_string,message:n.message}),r.dirty());else if("cuid2"===n.kind)$.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"cuid2",code:o.invalid_string,message:n.message}),r.dirty());else if("ulid"===n.kind)M.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"ulid",code:o.invalid_string,message:n.message}),r.dirty());else if("url"===n.kind)try{new URL(t.data)}catch(e){a=this._getOrReturnCtx(t,a),d(a,{validation:"url",code:o.invalid_string,message:n.message}),r.dirty()}else"regex"===n.kind?(n.regex.lastIndex=0,n.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"regex",code:o.invalid_string,message:n.message}),r.dirty())):"trim"===n.kind?t.data=t.data.trim():"includes"===n.kind?t.data.includes(n.value,n.position)||(a=this._getOrReturnCtx(t,a),d(a,{code:o.invalid_string,validation:{includes:n.value,position:n.position},message:n.message}),r.dirty()):"toLowerCase"===n.kind?t.data=t.data.toLowerCase():"toUpperCase"===n.kind?t.data=t.data.toUpperCase():"startsWith"===n.kind?t.data.startsWith(n.value)||(a=this._getOrReturnCtx(t,a),d(a,{code:o.invalid_string,validation:{startsWith:n.value},message:n.message}),r.dirty()):"endsWith"===n.kind?t.data.endsWith(n.value)||(a=this._getOrReturnCtx(t,a),d(a,{code:o.invalid_string,validation:{endsWith:n.value},message:n.message}),r.dirty()):"datetime"===n.kind?W(n).test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{code:o.invalid_string,validation:"datetime",message:n.message}),r.dirty()):"date"===n.kind?V.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{code:o.invalid_string,validation:"date",message:n.message}),r.dirty()):"time"===n.kind?new RegExp(`^${Z(n)}$`).test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{code:o.invalid_string,validation:"time",message:n.message}),r.dirty()):"duration"===n.kind?I.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"duration",code:o.invalid_string,message:n.message}),r.dirty()):"ip"===n.kind?(i=t.data,("v4"!==(s=n.version)&&s||!B.test(i))&&("v6"!==s&&s||!F.test(i))&&(a=this._getOrReturnCtx(t,a),d(a,{validation:"ip",code:o.invalid_string,message:n.message}),r.dirty())):"jwt"===n.kind?X(t.data,n.alg)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"jwt",code:o.invalid_string,message:n.message}),r.dirty()):"cidr"===n.kind?G(t.data,n.version)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"cidr",code:o.invalid_string,message:n.message}),r.dirty()):"base64"===n.kind?z.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"base64",code:o.invalid_string,message:n.message}),r.dirty()):"base64url"===n.kind?q.test(t.data)||(a=this._getOrReturnCtx(t,a),d(a,{validation:"base64url",code:o.invalid_string,message:n.message}),r.dirty()):e.assertNever(n);var i,s;return{status:r.value,value:t.data}}_regex(e,t,r){return this.refinement((t=>e.test(t)),{validation:t,code:o.invalid_string,...x.errToObj(r)})}_addCheck(e){return new Y({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...x.errToObj(e)})}url(e){return this._addCheck({kind:"url",...x.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...x.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...x.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...x.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...x.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...x.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...x.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...x.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...x.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...x.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...x.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...x.errToObj(e)})}datetime(e){var t,r;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(r=null==e?void 0:e.local)&&void 0!==r&&r,...x.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...x.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...x.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...x.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...x.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...x.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...x.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...x.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...x.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...x.errToObj(t)})}nonempty(e){return this.min(1,x.errToObj(e))}trim(){return new Y({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Y({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Y({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>"datetime"===e.kind))}get isDate(){return!!this._def.checks.find((e=>"date"===e.kind))}get isTime(){return!!this._def.checks.find((e=>"time"===e.kind))}get isDuration(){return!!this._def.checks.find((e=>"duration"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>"emoji"===e.kind))}get isUUID(){return!!this._def.checks.find((e=>"uuid"===e.kind))}get isNANOID(){return!!this._def.checks.find((e=>"nanoid"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){return!!this._def.checks.find((e=>"ip"===e.kind))}get isCIDR(){return!!this._def.checks.find((e=>"cidr"===e.kind))}get isBase64(){return!!this._def.checks.find((e=>"base64"===e.kind))}get isBase64url(){return!!this._def.checks.find((e=>"base64url"===e.kind))}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function K(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,a=r>n?r:n;return parseInt(e.toFixed(a).replace(".",""))%parseInt(t.toFixed(a).replace(".",""))/Math.pow(10,a)}Y.create=e=>{var t;return new Y({checks:[],typeName:Fe.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...A(e)})};class J extends C{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==n.number){const e=this._getOrReturnCtx(t);return d(e,{code:o.invalid_type,expected:n.number,received:e.parsedType}),h}let r;const a=new p;for(const n of this._def.checks)"int"===n.kind?e.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),d(r,{code:o.invalid_type,expected:"integer",received:"float",message:n.message}),a.dirty()):"min"===n.kind?(n.inclusive?t.data<n.value:t.data<=n.value)&&(r=this._getOrReturnCtx(t,r),d(r,{code:o.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),a.dirty()):"max"===n.kind?(n.inclusive?t.data>n.value:t.data>=n.value)&&(r=this._getOrReturnCtx(t,r),d(r,{code:o.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),a.dirty()):"multipleOf"===n.kind?0!==K(t.data,n.value)&&(r=this._getOrReturnCtx(t,r),d(r,{code:o.not_multiple_of,multipleOf:n.value,message:n.message}),a.dirty()):"finite"===n.kind?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),d(r,{code:o.not_finite,message:n.message}),a.dirty()):e.assertNever(n);return{status:a.value,value:t.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,r,n){return new J({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:x.toString(n)}]})}_addCheck(e){return new J({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:x.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:x.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:x.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:x.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find((t=>"int"===t.kind||"multipleOf"===t.kind&&e.isInteger(t.value)))}get isFinite(){let e=null,t=null;for(const r of this._def.checks){if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value)}return Number.isFinite(t)&&Number.isFinite(e)}}J.create=e=>new J({checks:[],typeName:Fe.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...A(e)});class ee extends C{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch(e){return this._getInvalidInput(t)}if(this._getType(t)!==n.bigint)return this._getInvalidInput(t);let r;const a=new p;for(const n of this._def.checks)"min"===n.kind?(n.inclusive?t.data<n.value:t.data<=n.value)&&(r=this._getOrReturnCtx(t,r),d(r,{code:o.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),a.dirty()):"max"===n.kind?(n.inclusive?t.data>n.value:t.data>=n.value)&&(r=this._getOrReturnCtx(t,r),d(r,{code:o.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),a.dirty()):"multipleOf"===n.kind?t.data%n.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),d(r,{code:o.not_multiple_of,multipleOf:n.value,message:n.message}),a.dirty()):e.assertNever(n);return{status:a.value,value:t.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.bigint,received:t.parsedType}),h}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,r,n){return new ee({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:x.toString(n)}]})}_addCheck(e){return new ee({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}ee.create=e=>{var t;return new ee({checks:[],typeName:Fe.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...A(e)})};class te extends C{_parse(e){if(this._def.coerce&&(e.data=Boolean(e.data)),this._getType(e)!==n.boolean){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.boolean,received:t.parsedType}),h}return m(e.data)}}te.create=e=>new te({typeName:Fe.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...A(e)});class re extends C{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==n.date){const e=this._getOrReturnCtx(t);return d(e,{code:o.invalid_type,expected:n.date,received:e.parsedType}),h}if(isNaN(t.data.getTime()))return d(this._getOrReturnCtx(t),{code:o.invalid_date}),h;const r=new p;let a;for(const n of this._def.checks)"min"===n.kind?t.data.getTime()<n.value&&(a=this._getOrReturnCtx(t,a),d(a,{code:o.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),r.dirty()):"max"===n.kind?t.data.getTime()>n.value&&(a=this._getOrReturnCtx(t,a),d(a,{code:o.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),r.dirty()):e.assertNever(n);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(e){return new re({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:x.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:x.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}re.create=e=>new re({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:Fe.ZodDate,...A(e)});class ne extends C{_parse(e){if(this._getType(e)!==n.symbol){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.symbol,received:t.parsedType}),h}return m(e.data)}}ne.create=e=>new ne({typeName:Fe.ZodSymbol,...A(e)});class ae extends C{_parse(e){if(this._getType(e)!==n.undefined){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.undefined,received:t.parsedType}),h}return m(e.data)}}ae.create=e=>new ae({typeName:Fe.ZodUndefined,...A(e)});class oe extends C{_parse(e){if(this._getType(e)!==n.null){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.null,received:t.parsedType}),h}return m(e.data)}}oe.create=e=>new oe({typeName:Fe.ZodNull,...A(e)});class ie extends C{constructor(){super(...arguments),this._any=!0}_parse(e){return m(e.data)}}ie.create=e=>new ie({typeName:Fe.ZodAny,...A(e)});class se extends C{constructor(){super(...arguments),this._unknown=!0}_parse(e){return m(e.data)}}se.create=e=>new se({typeName:Fe.ZodUnknown,...A(e)});class le extends C{_parse(e){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.never,received:t.parsedType}),h}}le.create=e=>new le({typeName:Fe.ZodNever,...A(e)});class ce extends C{_parse(e){if(this._getType(e)!==n.undefined){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.void,received:t.parsedType}),h}return m(e.data)}}ce.create=e=>new ce({typeName:Fe.ZodVoid,...A(e)});class ue extends C{_parse(e){const{ctx:t,status:r}=this._processInputParams(e),a=this._def;if(t.parsedType!==n.array)return d(t,{code:o.invalid_type,expected:n.array,received:t.parsedType}),h;if(null!==a.exactLength){const e=t.data.length>a.exactLength.value,n=t.data.length<a.exactLength.value;(e||n)&&(d(t,{code:e?o.too_big:o.too_small,minimum:n?a.exactLength.value:void 0,maximum:e?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(null!==a.minLength&&t.data.length<a.minLength.value&&(d(t,{code:o.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),null!==a.maxLength&&t.data.length>a.maxLength.value&&(d(t,{code:o.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map(((e,r)=>a.type._parseAsync(new E(t,e,t.path,r))))).then((e=>p.mergeArray(r,e)));const i=[...t.data].map(((e,r)=>a.type._parseSync(new E(t,e,t.path,r))));return p.mergeArray(r,i)}get element(){return this._def.type}min(e,t){return new ue({...this._def,minLength:{value:e,message:x.toString(t)}})}max(e,t){return new ue({...this._def,maxLength:{value:e,message:x.toString(t)}})}length(e,t){return new ue({...this._def,exactLength:{value:e,message:x.toString(t)}})}nonempty(e){return this.min(1,e)}}function de(e){if(e instanceof pe){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=Pe.create(de(n))}return new pe({...e._def,shape:()=>t})}return e instanceof ue?new ue({...e._def,type:de(e.element)}):e instanceof Pe?Pe.create(de(e.unwrap())):e instanceof $e?$e.create(de(e.unwrap())):e instanceof ve?ve.create(e.items.map((e=>de(e)))):e}ue.create=(e,t)=>new ue({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Fe.ZodArray,...A(t)});class pe extends C{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const t=this._def.shape(),r=e.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(e){if(this._getType(e)!==n.object){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.object,received:t.parsedType}),h}const{status:t,ctx:r}=this._processInputParams(e),{shape:a,keys:i}=this._getCached(),s=[];if(!(this._def.catchall instanceof le&&"strip"===this._def.unknownKeys))for(const e in r.data)i.includes(e)||s.push(e);const l=[];for(const e of i){const t=a[e],n=r.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new E(r,n,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof le){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of s)l.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)s.length>0&&(d(r,{code:o.unrecognized_keys,keys:s}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of s){const n=r.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new E(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then((async()=>{const e=[];for(const t of l){const r=await t.key,n=await t.value;e.push({key:r,value:n,alwaysSet:t.alwaysSet})}return e})).then((e=>p.mergeObjectSync(t,e))):p.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return x.errToObj,new pe({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var n,a,o,i;const s=null!==(o=null===(a=(n=this._def).errorMap)||void 0===a?void 0:a.call(n,t,r).message)&&void 0!==o?o:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(i=x.errToObj(e).message)&&void 0!==i?i:s}:{message:s}}}:{}})}strip(){return new pe({...this._def,unknownKeys:"strip"})}passthrough(){return new pe({...this._def,unknownKeys:"passthrough"})}extend(e){return new pe({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new pe({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Fe.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new pe({...this._def,catchall:e})}pick(t){const r={};return e.objectKeys(t).forEach((e=>{t[e]&&this.shape[e]&&(r[e]=this.shape[e])})),new pe({...this._def,shape:()=>r})}omit(t){const r={};return e.objectKeys(this.shape).forEach((e=>{t[e]||(r[e]=this.shape[e])})),new pe({...this._def,shape:()=>r})}deepPartial(){return de(this)}partial(t){const r={};return e.objectKeys(this.shape).forEach((e=>{const n=this.shape[e];t&&!t[e]?r[e]=n:r[e]=n.optional()})),new pe({...this._def,shape:()=>r})}required(t){const r={};return e.objectKeys(this.shape).forEach((e=>{if(t&&!t[e])r[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof Pe;)t=t._def.innerType;r[e]=t}})),new pe({...this._def,shape:()=>r})}keyof(){return _e(e.objectKeys(this.shape))}}pe.create=(e,t)=>new pe({shape:()=>e,unknownKeys:"strip",catchall:le.create(),typeName:Fe.ZodObject,...A(t)}),pe.strictCreate=(e,t)=>new pe({shape:()=>e,unknownKeys:"strict",catchall:le.create(),typeName:Fe.ZodObject,...A(t)}),pe.lazycreate=(e,t)=>new pe({shape:e,unknownKeys:"strip",catchall:le.create(),typeName:Fe.ZodObject,...A(t)});class he extends C{_parse(e){const{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map((async e=>{const r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}}))).then((function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;const r=e.map((e=>new i(e.ctx.common.issues)));return d(t,{code:o.invalid_union,unionErrors:r}),h}));{let e;const n=[];for(const a of r){const r={...t,common:{...t.common,issues:[]},parent:null},o=a._parseSync({data:t.data,path:t.path,parent:r});if("valid"===o.status)return o;"dirty"!==o.status||e||(e={result:o,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const a=n.map((e=>new i(e)));return d(t,{code:o.invalid_union,unionErrors:a}),h}}get options(){return this._def.options}}he.create=(e,t)=>new he({options:e,typeName:Fe.ZodUnion,...A(t)});const fe=t=>t instanceof ke?fe(t.schema):t instanceof Ce?fe(t.innerType()):t instanceof Se?[t.value]:t instanceof Ee?t.options:t instanceof Te?e.objectValues(t.enum):t instanceof Me?fe(t._def.innerType):t instanceof ae?[void 0]:t instanceof oe?[null]:t instanceof Pe?[void 0,...fe(t.unwrap())]:t instanceof $e?[null,...fe(t.unwrap())]:t instanceof Ie||t instanceof je?fe(t.unwrap()):t instanceof De?fe(t._def.innerType):[];class me extends C{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==n.object)return d(t,{code:o.invalid_type,expected:n.object,received:t.parsedType}),h;const r=this.discriminator,a=t.data[r],i=this.optionsMap.get(a);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(d(t,{code:o.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),h)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){const n=new Map;for(const r of t){const t=fe(r.shape[e]);if(!t.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const a of t){if(n.has(a))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`);n.set(a,r)}}return new me({typeName:Fe.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,...A(r)})}}function ge(t,r){const o=a(t),i=a(r);if(t===r)return{valid:!0,data:t};if(o===n.object&&i===n.object){const n=e.objectKeys(r),a=e.objectKeys(t).filter((e=>-1!==n.indexOf(e))),o={...t,...r};for(const e of a){const n=ge(t[e],r[e]);if(!n.valid)return{valid:!1};o[e]=n.data}return{valid:!0,data:o}}if(o===n.array&&i===n.array){if(t.length!==r.length)return{valid:!1};const e=[];for(let n=0;n<t.length;n++){const a=ge(t[n],r[n]);if(!a.valid)return{valid:!1};e.push(a.data)}return{valid:!0,data:e}}return o===n.date&&i===n.date&&+t==+r?{valid:!0,data:t}:{valid:!1}}class be extends C{_parse(e){const{status:t,ctx:r}=this._processInputParams(e),n=(e,n)=>{if(g(e)||g(n))return h;const a=ge(e.value,n.value);return a.valid?((b(e)||b(n))&&t.dirty(),{status:t.value,value:a.data}):(d(r,{code:o.invalid_intersection_types}),h)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then((([e,t])=>n(e,t))):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}be.create=(e,t,r)=>new be({left:e,right:t,typeName:Fe.ZodIntersection,...A(r)});class ve extends C{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==n.array)return d(r,{code:o.invalid_type,expected:n.array,received:r.parsedType}),h;if(r.data.length<this._def.items.length)return d(r,{code:o.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),h;!this._def.rest&&r.data.length>this._def.items.length&&(d(r,{code:o.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const a=[...r.data].map(((e,t)=>{const n=this._def.items[t]||this._def.rest;return n?n._parse(new E(r,e,r.path,t)):null})).filter((e=>!!e));return r.common.async?Promise.all(a).then((e=>p.mergeArray(t,e))):p.mergeArray(t,a)}get items(){return this._def.items}rest(e){return new ve({...this._def,rest:e})}}ve.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ve({items:e,typeName:Fe.ZodTuple,rest:null,...A(t)})};class ye extends C{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==n.object)return d(r,{code:o.invalid_type,expected:n.object,received:r.parsedType}),h;const a=[],i=this._def.keyType,s=this._def.valueType;for(const e in r.data)a.push({key:i._parse(new E(r,e,r.path,e)),value:s._parse(new E(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?p.mergeObjectAsync(t,a):p.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,r){return new ye(t instanceof C?{keyType:e,valueType:t,typeName:Fe.ZodRecord,...A(r)}:{keyType:Y.create(),valueType:e,typeName:Fe.ZodRecord,...A(t)})}}class Oe extends C{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==n.map)return d(r,{code:o.invalid_type,expected:n.map,received:r.parsedType}),h;const a=this._def.keyType,i=this._def.valueType,s=[...r.data.entries()].map((([e,t],n)=>({key:a._parse(new E(r,e,r.path,[n,"key"])),value:i._parse(new E(r,t,r.path,[n,"value"]))})));if(r.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const r of s){const n=await r.key,a=await r.value;if("aborted"===n.status||"aborted"===a.status)return h;"dirty"!==n.status&&"dirty"!==a.status||t.dirty(),e.set(n.value,a.value)}return{status:t.value,value:e}}))}{const e=new Map;for(const r of s){const n=r.key,a=r.value;if("aborted"===n.status||"aborted"===a.status)return h;"dirty"!==n.status&&"dirty"!==a.status||t.dirty(),e.set(n.value,a.value)}return{status:t.value,value:e}}}}Oe.create=(e,t,r)=>new Oe({valueType:t,keyType:e,typeName:Fe.ZodMap,...A(r)});class we extends C{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==n.set)return d(r,{code:o.invalid_type,expected:n.set,received:r.parsedType}),h;const a=this._def;null!==a.minSize&&r.data.size<a.minSize.value&&(d(r,{code:o.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),t.dirty()),null!==a.maxSize&&r.data.size>a.maxSize.value&&(d(r,{code:o.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());const i=this._def.valueType;function s(e){const r=new Set;for(const n of e){if("aborted"===n.status)return h;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}const l=[...r.data.values()].map(((e,t)=>i._parse(new E(r,e,r.path,t))));return r.common.async?Promise.all(l).then((e=>s(e))):s(l)}min(e,t){return new we({...this._def,minSize:{value:e,message:x.toString(t)}})}max(e,t){return new we({...this._def,maxSize:{value:e,message:x.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}we.create=(e,t)=>new we({valueType:e,minSize:null,maxSize:null,typeName:Fe.ZodSet,...A(t)});class xe extends C{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==n.function)return d(t,{code:o.invalid_type,expected:n.function,received:t.parsedType}),h;function r(e,r){return u({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c(),s].filter((e=>!!e)),issueData:{code:o.invalid_arguments,argumentsError:r}})}function a(e,r){return u({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c(),s].filter((e=>!!e)),issueData:{code:o.invalid_return_type,returnTypeError:r}})}const l={errorMap:t.common.contextualErrorMap},p=t.data;if(this._def.returns instanceof Ae){const e=this;return m((async function(...t){const n=new i([]),o=await e._def.args.parseAsync(t,l).catch((e=>{throw n.addIssue(r(t,e)),n})),s=await Reflect.apply(p,this,o);return await e._def.returns._def.type.parseAsync(s,l).catch((e=>{throw n.addIssue(a(s,e)),n}))}))}{const e=this;return m((function(...t){const n=e._def.args.safeParse(t,l);if(!n.success)throw new i([r(t,n.error)]);const o=Reflect.apply(p,this,n.data),s=e._def.returns.safeParse(o,l);if(!s.success)throw new i([a(o,s.error)]);return s.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new xe({...this._def,args:ve.create(e).rest(se.create())})}returns(e){return new xe({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new xe({args:e||ve.create([]).rest(se.create()),returns:t||se.create(),typeName:Fe.ZodFunction,...A(r)})}}class ke extends C{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ke.create=(e,t)=>new ke({getter:e,typeName:Fe.ZodLazy,...A(t)});class Se extends C{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return d(t,{received:t.data,code:o.invalid_literal,expected:this._def.value}),h}return{status:"valid",value:e.data}}get value(){return this._def.value}}function _e(e,t){return new Ee({values:e,typeName:Fe.ZodEnum,...A(t)})}Se.create=(e,t)=>new Se({value:e,typeName:Fe.ZodLiteral,...A(t)});class Ee extends C{constructor(){super(...arguments),S.set(this,void 0)}_parse(t){if("string"!=typeof t.data){const r=this._getOrReturnCtx(t),n=this._def.values;return d(r,{expected:e.joinValues(n),received:r.parsedType,code:o.invalid_type}),h}if(O(this,S)||w(this,S,new Set(this._def.values)),!O(this,S).has(t.data)){const e=this._getOrReturnCtx(t),r=this._def.values;return d(e,{received:e.data,code:o.invalid_enum_value,options:r}),h}return m(t.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Ee.create(e,{...this._def,...t})}exclude(e,t=this._def){return Ee.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}S=new WeakMap,Ee.create=_e;class Te extends C{constructor(){super(...arguments),_.set(this,void 0)}_parse(t){const r=e.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(t);if(a.parsedType!==n.string&&a.parsedType!==n.number){const t=e.objectValues(r);return d(a,{expected:e.joinValues(t),received:a.parsedType,code:o.invalid_type}),h}if(O(this,_)||w(this,_,new Set(e.getValidEnumValues(this._def.values))),!O(this,_).has(t.data)){const t=e.objectValues(r);return d(a,{received:a.data,code:o.invalid_enum_value,options:t}),h}return m(t.data)}get enum(){return this._def.values}}_=new WeakMap,Te.create=(e,t)=>new Te({values:e,typeName:Fe.ZodNativeEnum,...A(t)});class Ae extends C{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==n.promise&&!1===t.common.async)return d(t,{code:o.invalid_type,expected:n.promise,received:t.parsedType}),h;const r=t.parsedType===n.promise?t.data:Promise.resolve(t.data);return m(r.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}Ae.create=(e,t)=>new Ae({type:e,typeName:Fe.ZodPromise,...A(t)});class Ce extends C{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Fe.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),a=this._def.effect||null,o={addIssue:e=>{d(n,e),e.fatal?r.abort():r.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),"preprocess"===a.type){const e=a.transform(n.data,o);if(n.common.async)return Promise.resolve(e).then((async e=>{if("aborted"===r.value)return h;const t=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===t.status?h:"dirty"===t.status||"dirty"===r.value?f(t.value):t}));{if("aborted"===r.value)return h;const t=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===t.status?h:"dirty"===t.status||"dirty"===r.value?f(t.value):t}}if("refinement"===a.type){const e=e=>{const t=a.refinement(e,o);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const t=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===t.status?h:("dirty"===t.status&&r.dirty(),e(t.value),{status:r.value,value:t.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((t=>"aborted"===t.status?h:("dirty"===t.status&&r.dirty(),e(t.value).then((()=>({status:r.value,value:t.value}))))))}if("transform"===a.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!v(e))return e;const t=a.transform(e.value,o);if(t instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:t}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((e=>v(e)?Promise.resolve(a.transform(e.value,o)).then((e=>({status:r.value,value:e}))):e))}e.assertNever(a)}}Ce.create=(e,t,r)=>new Ce({schema:e,typeName:Fe.ZodEffects,effect:t,...A(r)}),Ce.createWithPreprocess=(e,t,r)=>new Ce({schema:t,effect:{type:"preprocess",transform:e},typeName:Fe.ZodEffects,...A(r)});class Pe extends C{_parse(e){return this._getType(e)===n.undefined?m(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Pe.create=(e,t)=>new Pe({innerType:e,typeName:Fe.ZodOptional,...A(t)});class $e extends C{_parse(e){return this._getType(e)===n.null?m(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}$e.create=(e,t)=>new $e({innerType:e,typeName:Fe.ZodNullable,...A(t)});class Me extends C{_parse(e){const{ctx:t}=this._processInputParams(e);let r=t.data;return t.parsedType===n.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Me.create=(e,t)=>new Me({innerType:e,typeName:Fe.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...A(t)});class De extends C{_parse(e){const{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return y(n)?n.then((e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new i(r.common.issues)},input:r.data})}))):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new i(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}De.create=(e,t)=>new De({innerType:e,typeName:Fe.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...A(t)});class Re extends C{_parse(e){if(this._getType(e)!==n.nan){const t=this._getOrReturnCtx(e);return d(t,{code:o.invalid_type,expected:n.nan,received:t.parsedType}),h}return{status:"valid",value:e.data}}}Re.create=e=>new Re({typeName:Fe.ZodNaN,...A(e)});const Ne=Symbol("zod_brand");class Ie extends C{_parse(e){const{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class Le extends C{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{const e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?h:"dirty"===e.status?(t.dirty(),f(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{const e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?h:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new Le({in:e,out:t,typeName:Fe.ZodPipeline})}}class je extends C{_parse(e){const t=this._def.innerType._parse(e),r=e=>(v(e)&&(e.value=Object.freeze(e.value)),e);return y(t)?t.then((e=>r(e))):r(t)}unwrap(){return this._def.innerType}}function Be(e,t={},r){return e?ie.create().superRefine(((n,a)=>{var o,i;if(!e(n)){const e="function"==typeof t?t(n):"string"==typeof t?{message:t}:t,s=null===(i=null!==(o=e.fatal)&&void 0!==o?o:r)||void 0===i||i,l="string"==typeof e?{message:e}:e;a.addIssue({code:"custom",...l,fatal:s})}})):ie.create()}je.create=(e,t)=>new je({innerType:e,typeName:Fe.ZodReadonly,...A(t)});const Ue={object:pe.lazycreate};var Fe,Qe;(Qe=Fe||(Fe={})).ZodString="ZodString",Qe.ZodNumber="ZodNumber",Qe.ZodNaN="ZodNaN",Qe.ZodBigInt="ZodBigInt",Qe.ZodBoolean="ZodBoolean",Qe.ZodDate="ZodDate",Qe.ZodSymbol="ZodSymbol",Qe.ZodUndefined="ZodUndefined",Qe.ZodNull="ZodNull",Qe.ZodAny="ZodAny",Qe.ZodUnknown="ZodUnknown",Qe.ZodNever="ZodNever",Qe.ZodVoid="ZodVoid",Qe.ZodArray="ZodArray",Qe.ZodObject="ZodObject",Qe.ZodUnion="ZodUnion",Qe.ZodDiscriminatedUnion="ZodDiscriminatedUnion",Qe.ZodIntersection="ZodIntersection",Qe.ZodTuple="ZodTuple",Qe.ZodRecord="ZodRecord",Qe.ZodMap="ZodMap",Qe.ZodSet="ZodSet",Qe.ZodFunction="ZodFunction",Qe.ZodLazy="ZodLazy",Qe.ZodLiteral="ZodLiteral",Qe.ZodEnum="ZodEnum",Qe.ZodEffects="ZodEffects",Qe.ZodNativeEnum="ZodNativeEnum",Qe.ZodOptional="ZodOptional",Qe.ZodNullable="ZodNullable",Qe.ZodDefault="ZodDefault",Qe.ZodCatch="ZodCatch",Qe.ZodPromise="ZodPromise",Qe.ZodBranded="ZodBranded",Qe.ZodPipeline="ZodPipeline",Qe.ZodReadonly="ZodReadonly";const ze=Y.create,qe=J.create,He=Re.create,Ve=ee.create,Ze=te.create,We=re.create,Xe=ne.create,Ge=ae.create,Ye=oe.create,Ke=ie.create,Je=se.create,et=le.create,tt=ce.create,rt=ue.create,nt=pe.create,at=pe.strictCreate,ot=he.create,it=me.create,st=be.create,lt=ve.create,ct=ye.create,ut=Oe.create,dt=we.create,pt=xe.create,ht=ke.create,ft=Se.create,mt=Ee.create,gt=Te.create,bt=Ae.create,vt=Ce.create,yt=Pe.create,Ot=$e.create,wt=Ce.createWithPreprocess,xt=Le.create,kt={string:e=>Y.create({...e,coerce:!0}),number:e=>J.create({...e,coerce:!0}),boolean:e=>te.create({...e,coerce:!0}),bigint:e=>ee.create({...e,coerce:!0}),date:e=>re.create({...e,coerce:!0})},St=h;var _t=Object.freeze({__proto__:null,defaultErrorMap:s,setErrorMap:function(e){l=e},getErrorMap:c,makeIssue:u,EMPTY_PATH:[],addIssueToContext:d,ParseStatus:p,INVALID:h,DIRTY:f,OK:m,isAborted:g,isDirty:b,isValid:v,isAsync:y,get util(){return e},get objectUtil(){return r},ZodParsedType:n,getParsedType:a,ZodType:C,datetimeRegex:W,ZodString:Y,ZodNumber:J,ZodBigInt:ee,ZodBoolean:te,ZodDate:re,ZodSymbol:ne,ZodUndefined:ae,ZodNull:oe,ZodAny:ie,ZodUnknown:se,ZodNever:le,ZodVoid:ce,ZodArray:ue,ZodObject:pe,ZodUnion:he,ZodDiscriminatedUnion:me,ZodIntersection:be,ZodTuple:ve,ZodRecord:ye,ZodMap:Oe,ZodSet:we,ZodFunction:xe,ZodLazy:ke,ZodLiteral:Se,ZodEnum:Ee,ZodNativeEnum:Te,ZodPromise:Ae,ZodEffects:Ce,ZodTransformer:Ce,ZodOptional:Pe,ZodNullable:$e,ZodDefault:Me,ZodCatch:De,ZodNaN:Re,BRAND:Ne,ZodBranded:Ie,ZodPipeline:Le,ZodReadonly:je,custom:Be,Schema:C,ZodSchema:C,late:Ue,get ZodFirstPartyTypeKind(){return Fe},coerce:kt,any:Ke,array:rt,bigint:Ve,boolean:Ze,date:We,discriminatedUnion:it,effect:vt,enum:mt,function:pt,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>Be((t=>t instanceof e),t),intersection:st,lazy:ht,literal:ft,map:ut,nan:He,nativeEnum:gt,never:et,null:Ye,nullable:Ot,number:qe,object:nt,oboolean:()=>Ze().optional(),onumber:()=>qe().optional(),optional:yt,ostring:()=>ze().optional(),pipeline:xt,preprocess:wt,promise:bt,record:ct,set:dt,strictObject:at,string:ze,symbol:Xe,transformer:vt,tuple:lt,undefined:Ge,union:ot,unknown:Je,void:tt,NEVER:St,ZodIssueCode:o,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:i});const Et=_t.object({title:_t.string().optional(),component:_t.unknown(),props:_t.record(_t.any()).optional()}),Tt=_t.object({"request.section":_t.array(Et).optional(),"response.section":_t.array(Et).optional()}),At=_t.object({onBeforeRequest:_t.function().args(_t.object({request:_t.instanceof(Request)})).returns(_t.union([_t.void(),_t.promise(_t.void())])).optional(),onResponseReceived:_t.function().args(_t.object({response:_t.instanceof(Response),operation:_t.record(_t.any())})).returns(_t.union([_t.void(),_t.promise(_t.void())])).optional()}),Ct=_t.function().returns(_t.object({name:_t.string(),views:Tt.optional(),hooks:At.optional()})),Pt=_t.object({name:_t.string().regex(/^x-/),component:_t.unknown(),renderer:_t.unknown().optional()}),$t=_t.function().returns(_t.object({name:_t.string(),extensions:_t.array(Pt)})),Mt=_t.enum(["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"]),Dt=_t.enum(["summary","path"]),Rt=_t.enum(["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]),Nt=_t.enum(["adonisjs","docusaurus","dotnet","elysiajs","express","fastapi","fastify","go","hono","html","laravel","litestar","nestjs","nextjs","nitro","nuxt","platformatic","react","rust","svelte","vue"]).nullable(),It=_t.object({url:_t.string().optional(),content:_t.union([_t.string(),_t.record(_t.any()),_t.function().returns(_t.record(_t.any())),_t.null()]).optional(),title:_t.string().optional(),slug:_t.string().optional()}),Lt=_t.object({basePath:_t.string()}),jt=_t.object({url:_t.string().optional(),content:_t.union([_t.string(),_t.record(_t.any()),_t.function().returns(_t.record(_t.any())),_t.null()]).optional(),title:_t.string().optional(),slug:_t.string().optional(),spec:It.optional(),authentication:_t.any().optional(),baseServerURL:_t.string().optional(),hideClientButton:_t.boolean().optional().default(!1).catch(!1),proxyUrl:_t.string().optional(),searchHotKey:Rt.optional(),servers:_t.array(_t.any()).optional(),showSidebar:_t.boolean().optional().default(!0).catch(!0),operationTitleSource:Dt.optional().default("summary").catch("summary"),theme:Mt.optional().default("default").catch("default"),_integration:Nt.optional(),onRequestSent:_t.function().args(_t.string()).returns(_t.void()).optional(),persistAuth:_t.boolean().optional().default(!1).catch(!1),plugins:_t.array(Ct).optional(),telemetry:_t.boolean().optional().default(!0)}),Bt=_t.function().args(_t.union([_t.string(),_t.instanceof(URL),_t.instanceof(Request)]),_t.any().optional()).returns(_t.promise(_t.instanceof(Response))).optional(),Ut=jt.merge(_t.object({layout:_t.enum(["modern","classic"]).optional().default("modern").catch("modern"),proxy:_t.string().optional(),fetch:Bt,plugins:_t.array($t).optional(),isEditable:_t.boolean().optional().default(!1).catch(!1),isLoading:_t.boolean().optional().default(!1).catch(!1),hideModels:_t.boolean().optional().default(!1).catch(!1),documentDownloadType:_t.enum(["yaml","json","both","direct","none"]).optional().default("both").catch("both"),hideDownloadButton:_t.boolean().optional(),hideTestRequestButton:_t.boolean().optional().default(!1).catch(!1),hideSearch:_t.boolean().optional().default(!1).catch(!1),darkMode:_t.boolean().optional(),forceDarkModeState:_t.enum(["dark","light"]).optional(),hideDarkModeToggle:_t.boolean().optional().default(!1).catch(!1),metaData:_t.any().optional(),favicon:_t.string().optional(),hiddenClients:_t.union([_t.record(_t.union([_t.boolean(),_t.array(_t.string())])),_t.array(_t.string()),_t.literal(!0)]).optional(),defaultHttpClient:_t.object({targetKey:_t.custom(),clientKey:_t.string()}).optional(),customCss:_t.string().optional(),onSpecUpdate:_t.function().args(_t.string()).returns(_t.void()).optional(),onServerChange:_t.function().args(_t.string()).returns(_t.void()).optional(),onDocumentSelect:_t.function().returns(_t.void().or(_t.void().promise())).optional(),onLoaded:_t.function().returns(_t.void().or(_t.void().promise())).optional(),onBeforeRequest:_t.function().args(_t.object({request:_t.instanceof(Request)})).returns(_t.void().or(_t.void().promise())).optional(),onShowMore:_t.function().args(_t.string()).returns(_t.void().or(_t.void().promise())).optional(),onSidebarClick:_t.function().args(_t.string()).returns(_t.void().or(_t.void().promise())).optional(),pathRouting:Lt.optional(),generateHeadingSlug:_t.function().args(_t.object({slug:_t.string().default("headingSlug")})).returns(_t.string()).optional(),generateModelSlug:_t.function().args(_t.object({name:_t.string().default("modelName")})).returns(_t.string()).optional(),generateTagSlug:_t.function().args(_t.object({name:_t.string().default("tagName")})).returns(_t.string()).optional(),generateOperationSlug:_t.function().args(_t.object({path:_t.string(),operationId:_t.string().optional(),method:_t.string(),summary:_t.string().optional()})).returns(_t.string()).optional(),generateWebhookSlug:_t.function().args(_t.object({name:_t.string(),method:_t.string().optional()})).returns(_t.string()).optional(),redirect:_t.function().args(_t.string()).returns(_t.string().nullable().optional()).optional(),withDefaultFonts:_t.boolean().optional().default(!0).catch(!0),defaultOpenAllTags:_t.boolean().optional().default(!1).catch(!1),expandAllModelSections:_t.boolean().optional().default(!1).catch(!1),expandAllResponses:_t.boolean().optional().default(!1).catch(!1),tagsSorter:_t.union([_t.literal("alpha"),_t.function().args(_t.any(),_t.any()).returns(_t.number())]).optional(),operationsSorter:_t.union([_t.literal("alpha"),_t.literal("method"),_t.function().args(_t.any(),_t.any()).returns(_t.number())]).optional(),orderSchemaPropertiesBy:_t.union([_t.literal("alpha"),_t.literal("preserve")]).optional().default("alpha").catch("alpha"),orderRequiredPropertiesFirst:_t.boolean().optional().default(!0).catch(!0)})),Ft="https://api.scalar.com/request-proxy",Qt="https://proxy.scalar.com",zt=Ut.transform((e=>{const t={...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, rename it to 'proxyUrl' or update the package."),t.proxyUrl||(t.proxyUrl=t.proxy),delete t.proxy),t.proxyUrl===Ft&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${Ft}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${Qt}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${Qt}). Read more: https://github.com/scalar/scalar`),t.proxyUrl=Qt),t})),qt=e=>Boolean(!Array.isArray(e)&&e&&"sources"in e&&Array.isArray(e.sources));function Ht(e,t){const r=[],n=t.resolveKeyData||(e=>e.key),a=t.resolveValueData||(e=>e.value);for(const[o,i]of Object.entries(e))r.push(...(Array.isArray(i)?i:[i]).map((e=>{const r={key:o,value:e},i=a(r);return"object"==typeof i?Ht(i,t):Array.isArray(i)?i:{["function"==typeof t.key?t.key(r):t.key]:n(r),["function"==typeof t.value?t.value(r):t.value]:i}})).flat());return r}function Vt(e,t){return Object.entries(e).map((([e,r])=>{if("object"==typeof r&&(r=Vt(r,t)),t.resolve){const n=t.resolve({key:e,value:r});if(void 0!==n)return n}return"number"==typeof r&&(r=r.toString()),"string"==typeof r&&t.wrapValue&&(r=r.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),r=`${t.wrapValue}${r}${t.wrapValue}`),`${e}${t.keyValueSeparator||""}${r}`})).join(t.entrySeparator||"")}_t.object({cdn:_t.string().optional().default("https://cdn.jsdelivr.net/npm/@scalar/api-reference"),pageTitle:_t.string().optional().default("Scalar API Reference")});const Zt=new Set(["title","titleTemplate","script","style","noscript"]),Wt=new Set(["base","meta","link","style","script","noscript"]),Xt=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Gt=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Yt=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Kt="undefined"!=typeof window;function Jt(e){let t=9;for(let r=0;r<e.length;)t=Math.imul(t^e.charCodeAt(r++),9**9);return(65536+(t^t>>>9)).toString(16).substring(1,8).toLowerCase()}function er(e){if(e._h)return e._h;if(e._d)return Jt(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const r in e.props)t+=`${r}:${String(e.props[r])},`;return Jt(t)}const tr=e=>({keyValue:e,metaKey:"property"}),rr=e=>({keyValue:e}),nr={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${ir(e)}=${t}`}},articleExpirationTime:tr("article:expiration_time"),articleModifiedTime:tr("article:modified_time"),articlePublishedTime:tr("article:published_time"),bookReleaseDate:tr("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${ir(e)} ${t}`},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:tr("fb:app_id"),msapplicationConfig:rr("msapplication-Config"),msapplicationTileColor:rr("msapplication-TileColor"),msapplicationTileImage:rr("msapplication-TileImage"),ogAudioSecureUrl:tr("og:audio:secure_url"),ogAudioUrl:tr("og:audio"),ogImageSecureUrl:tr("og:image:secure_url"),ogImageUrl:tr("og:image"),ogSiteName:tr("og:site_name"),ogVideoSecureUrl:tr("og:video:secure_url"),ogVideoUrl:tr("og:video"),profileFirstName:tr("profile:first_name"),profileLastName:tr("profile:last_name"),profileUsername:tr("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if("seconds"===e)return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?`${ir(e)}`:`${ir(e)}:${t}`}},xUaCompatible:{metaKey:"http-equiv"}},ar=new Set(["og","book","article","profile"]);function or(e){const t=ir(e),r=t.indexOf(":");return ar.has(t.substring(0,r))?"property":nr[e]?.metaKey||"name"}function ir(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.indexOf("-"),n=t.substring(0,r);return"twitter"===n||ar.has(n)?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function sr(e){if(Array.isArray(e))return e.map((e=>sr(e)));if("object"!=typeof e||Array.isArray(e))return e;const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[ir(r)]=sr(e[r]));return t}function lr(e,t){const r=nr[t];return"refresh"===t?`${e.seconds};url=${e.url}`:Vt(sr(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,...r?.unpack})}const cr=new Set(["og:image","og:video","og:audio","twitter:image"]);function ur(e){const t={};for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const n=e[r];"false"!==String(n)&&r&&(t[r]=n)}return t}function dr(e,t){const r=ur(t),n=ir(e),a=or(n);if(cr.has(n)){const t={};for(const n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[`${e}${"url"===n?"":`${n[0].toUpperCase()}${n.slice(1)}`}`]=r[n]);return pr(t).sort(((e,t)=>(e[a]?.length||0)-(t[a]?.length||0)))}return[{[a]:n,...r}]}function pr(e){const t=[],r={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const a=e[n];if(Array.isArray(a))for(const e of a)t.push(..."string"==typeof e?pr({[n]:e}):dr(n,e));else if("object"==typeof a&&a){if(cr.has(ir(n))){t.push(...dr(n,a));continue}r[n]=ur(a)}else r[n]=a}const n=Ht(r,{key:({key:e})=>or(e),value:({key:e})=>"charset"===e?"charset":"content",resolveKeyData:({key:e})=>function(e){return nr[e]?.keyValue||ir(e)}(e),resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?lr(e,t):"number"==typeof e?e.toString():e});return[...t,...n].map((e=>("_null"===e.content&&(e.content=null),e)))}function hr(e,t,r,n){const a=n||gr("object"!=typeof t||"function"==typeof t||t instanceof Promise?{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t}:{...t},"templateParams"===e||"titleTemplate"===e);if(a instanceof Promise)return a.then((n=>hr(e,t,r,n)));const o={tag:e,props:a};for(const e of Yt){const t=void 0!==o.props[e]?o.props[e]:r[e];void 0!==t&&(("innerHTML"!==e&&"textContent"!==e&&"children"!==e||Zt.has(o.tag))&&(o["children"===e?"innerHTML":e]=t),delete o.props[e])}return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),"script"===o.tag&&"object"==typeof o.innerHTML&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map((e=>({...o,props:{...o.props,content:e}}))):o}function fr(e,t){const r="class"===e?" ":";";return t&&"object"==typeof t&&!Array.isArray(t)&&(t=Object.entries(t).filter((([,e])=>e)).map((([t,r])=>"style"===e?`${t}:${r}`:t))),String(Array.isArray(t)?t.join(r):t)?.split(r).filter((e=>Boolean(e.trim()))).join(r)}function mr(e,t,r,n){for(let a=n;a<r.length;a+=1){const n=r[a];if("class"!==n&&"style"!==n){if(e[n]instanceof Promise)return e[n].then((o=>(e[n]=o,mr(e,t,r,a))));if(!t&&!Yt.has(n)){const t=String(e[n]),r=n.startsWith("data-");"true"===t||""===t?e[n]=!r||"true":e[n]||(r&&"false"===t?e[n]="false":delete e[n])}}else e[n]=fr(n,e[n])}}function gr(e,t=!1){const r=mr(e,t,Object.keys(e),0);return r instanceof Promise?r.then((()=>e)):e}function br(e,t,r){for(let n=r;n<t.length;n+=1){const r=t[n];if(r instanceof Promise)return r.then((r=>(t[n]=r,br(e,t,n))));Array.isArray(r)?e.push(...r):e.push(r)}}function vr(e){const t=[],r=e.resolvedInput;for(const n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;const a=r[n];if(void 0!==a&&Xt.has(n))if(Array.isArray(a))for(const r of a)t.push(hr(n,r,e));else t.push(hr(n,a,e))}if(0===t.length)return[];const n=[];return o=()=>n.map(((t,r)=>(t._e=e._i,e.mode&&(t._m=e.mode),t._p=(e._i<<10)+r,t))),(a=br(n,t,0))instanceof Promise?a.then(o):o();var a,o}const yr=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Or={base:-10,title:10},wr={critical:-80,high:-10,low:20};function xr(e){const t=e.tagPriority;if("number"==typeof t)return t;let r=100;return"meta"===e.tag?"content-security-policy"===e.props["http-equiv"]?r=-30:e.props.charset?r=-20:"viewport"===e.props.name&&(r=-15):"link"===e.tag&&"preconnect"===e.props.rel?r=20:e.tag in Or&&(r=Or[e.tag]),t&&t in wr?r+wr[t]:r}const kr=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Sr=["name","property","http-equiv"];function _r(e){const{props:t,tag:r}=e;if(Gt.has(r))return r;if("link"===r&&"canonical"===t.rel)return"canonical";if(t.charset)return"charset";if(t.id)return`${r}:id:${t.id}`;for(const e of Sr)if(void 0!==t[e])return`${r}:${e}:${t[e]}`;return!1}const Er="%separator",Tr=new RegExp(`${Er}(?:\\s*${Er})*`,"g");function Ar(e,t,r,n=!1){if("string"!=typeof e||!e.includes("%"))return e;let a=e;try{a=decodeURI(e)}catch{}const o=a.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(Er);return e=e.replace(/%\w+(?:\.\w+)?/g,(e=>{if(e===Er||!o.includes(e))return e;const r=function(e,t,r=!1){let n;if("s"===t||"pageTitle"===t)n=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");n=e[t.substring(0,r)]?.[t.substring(r+1)]}else n=e[t];if(void 0!==n)return r?(n||"").replace(/"/g,'\\"'):n||""}(t,e.slice(1),n);return void 0!==r?r:e})).trim(),i&&(e.endsWith(Er)&&(e=e.slice(0,-10)),e.startsWith(Er)&&(e=e.slice(10)),e=e.replace(Tr,r).trim()),e}function Cr(e,t){return null==e?t||null:"function"==typeof e?e(t):e}function Pr(e){return t=>{const r=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return r&&t.push(JSON.parse(r)),{mode:"client",hooks:{"entries:updated":t=>{!function(e,t={}){const r=t.delayFn||(e=>setTimeout(e,10));e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise((n=>r((()=>async function(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",n),n.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise((async t=>{const n=(await e.resolveTags()).map((e=>({tag:e,id:Wt.has(e.tag)?er(e):e.tag,shouldRender:!0})));let a=e._dom;if(!a){a={elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}};const e=new Set;for(const t of["body","head"]){const n=r[t]?.children;for(const t of n){const r=t.tagName.toLowerCase();if(!Wt.has(r))continue;const n={tag:r,props:await gr(t.getAttributeNames().reduce(((e,r)=>({...e,[r]:t.getAttribute(r)})),{})),innerHTML:t.innerHTML},o=_r(n);let i=o,s=1;for(;i&&e.has(i);)i=`${o}:${s++}`;i&&(n._d=i,e.add(i)),a.elMap[t.getAttribute("data-hid")||er(n)]=t}}}function o(e,t,r){const n=`${e}:${t}`;a.sideEffects[n]=r,delete a.pendingSideEffects[n]}function i({id:e,$el:t,tag:n}){const i=n.tag.endsWith("Attrs");if(a.elMap[e]=t,i||(n.textContent&&n.textContent!==t.textContent&&(t.textContent=n.textContent),n.innerHTML&&n.innerHTML!==t.innerHTML&&(t.innerHTML=n.innerHTML),o(e,"el",(()=>{a.elMap[e]?.remove(),delete a.elMap[e]}))),n._eventHandlers)for(const e in n._eventHandlers)Object.prototype.hasOwnProperty.call(n._eventHandlers,e)&&""!==t.getAttribute(`data-${e}`)&&(("bodyAttrs"===n.tag?r.defaultView:t).addEventListener(e.substring(2),n._eventHandlers[e].bind(t)),t.setAttribute(`data-${e}`,""));for(const r in n.props){if(!Object.prototype.hasOwnProperty.call(n.props,r))continue;const a=n.props[r],s=`attr:${r}`;if("class"===r){if(!a)continue;for(const r of a.split(" "))i&&o(e,`${s}:${r}`,(()=>t.classList.remove(r))),!t.classList.contains(r)&&t.classList.add(r)}else if("style"===r){if(!a)continue;for(const r of a.split(";")){const n=r.indexOf(":"),a=r.substring(0,n).trim(),i=r.substring(n+1).trim();o(e,`${s}:${a}`,(()=>{t.style.removeProperty(a)})),t.style.setProperty(a,i)}}else t.getAttribute(r)!==a&&t.setAttribute(r,!0===a?"":String(a)),i&&o(e,s,(()=>t.removeAttribute(r)))}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};const s=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const e of n){const{tag:t,shouldRender:n,id:o}=e;n&&("title"!==t.tag?(e.$el=e.$el||a.elMap[o],e.$el?i(e):Wt.has(t.tag)&&s.push(e)):r.title=t.textContent)}for(const e of s){const t=e.tag.tagPosition||"head";e.$el=r.createElement(e.tag.tag),i(e),l[t]=l[t]||r.createDocumentFragment(),l[t].appendChild(e.$el)}for(const t of n)await e.hooks.callHook("dom:renderTag",t,r,o);l.head&&r.head.appendChild(l.head),l.bodyOpen&&r.body.insertBefore(l.bodyOpen,r.body.firstChild),l.bodyClose&&r.body.appendChild(l.bodyClose);for(const e in a.pendingSideEffects)a.pendingSideEffects[e]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:n}),t()})).finally((()=>{e._domUpdatePromise=void 0,e.dirty=!1}))),e._domUpdatePromise):void 0}(e,t).then((()=>{delete e._domDebouncedUpdatePromise,n()}))))))}(t,e)}}}}}function $r(e,t={},r){for(const n in e){const a=e[n],o=r?`${r}:${n}`:n;"object"==typeof a&&null!==a?$r(a,t,o):"function"==typeof a&&(t[o]=a)}return t}const Mr={run:e=>e()},Dr=void 0!==console.createTask?console.createTask:()=>Mr;function Rr(e,t){const r=t.shift(),n=Dr(r);return e.reduce(((e,r)=>e.then((()=>n.run((()=>r(...t)))))),Promise.resolve())}function Nr(e,t){const r=t.shift(),n=Dr(r);return Promise.all(e.map((e=>n.run((()=>e(...t))))))}function Ir(e,t){for(const r of[...e])r(t)}class Lr{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,r={}){if(!e||"function"!=typeof t)return()=>{};const n=e;let a;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to;if(a&&!r.allowDeprecated){let e=a.message;e||(e=`${n} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let r,n=(...e)=>("function"==typeof r&&r(),r=void 0,n=void 0,t(...e));return r=this.hook(e,n),r}removeHook(e,t){if(this._hooks[e]){const r=this._hooks[e].indexOf(t);-1!==r&&this._hooks[e].splice(r,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const r=this._hooks[e]||[];delete this._hooks[e];for(const t of r)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=$r(e),r=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of r.splice(0,r.length))e()}}removeHooks(e){const t=$r(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(Rr,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(Nr,e,...t)}callHookWith(e,t,...r){const n=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&Ir(this._before,n);const a=e(t in this._hooks?[...this._hooks[t]]:[],r);return a instanceof Promise?a.finally((()=>{this._after&&n&&Ir(this._after,n)})):(this._after&&n&&Ir(this._after,n),a)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const jr=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Br={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=_r(e);!t||t.startsWith("meta:og:")||t.startsWith("meta:twitter:")||delete e.key;const r=t||!!e.key&&`${e.tag}:${e.key}`;r&&(e._d=r)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const e=(r.key?`${r.tag}:${r.key}`:r._d)||er(r),n=t[e];if(n){let a=r?.tagDuplicateStrategy;if(!a&&jr.has(r.tag)&&(a="merge"),"merge"===a){const a=n.props;a.style&&r.props.style&&(";"!==a.style[a.style.length-1]&&(a.style+=";"),r.props.style=`${a.style} ${r.props.style}`),a.class&&r.props.class?r.props.class=`${a.class} ${r.props.class}`:a.class&&(r.props.class=a.class),t[e].props={...a,...r.props};continue}if(r._e===n._e){n._duped=n._duped||[],r._d=`${n._d}:${n._duped.length+1}`,n._duped.push(r);continue}if(xr(r)>xr(n))continue}r.innerHTML||r.textContent||0!==Object.keys(r.props).length||!Wt.has(r.tag)?t[e]=r:delete t[e]}const r=[];for(const e in t){const n=t[e],a=n._duped;r.push(n),a&&(delete n._duped,r.push(...a))}e.tags=r,e.tags=e.tags.filter((e=>!("meta"===e.tag&&(e.props.name||e.props.property)&&!e.props.content)))}}},Ur=new Set(["script","link","bodyAttrs"]),Fr=e=>({hooks:{"tags:resolve":t=>{for(const r of t.tags){if(!Ur.has(r.tag))continue;const t=r.props;for(const n in t){if("o"!==n[0]||"n"!==n[1])continue;if(!Object.prototype.hasOwnProperty.call(t,n))continue;const a=t[n];"function"==typeof a&&(e.ssr&&yr.has(n)?t[n]=`this.dataset.${n}fired = true`:delete t[n],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[n]=a)}e.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||Jt(r.props.src||r.props.href))}},"dom:renderTag":({$el:e,tag:t})=>{const r=e?.dataset;if(r)for(const n in r){if(!n.endsWith("fired"))continue;const r=n.slice(0,-5);yr.has(r)&&t._eventHandlers?.[r]?.call(e,new Event(r.substring(2)))}}}}),Qr=new Set(["link","style","script","noscript"]),zr={hooks:{"tag:normalise":({tag:e})=>{e.key&&Qr.has(e.tag)&&(e.props["data-hid"]=e._h=Jt(e.key))}}},qr={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let r=!1;for(const n of e.tags)"server"!==n._m||"titleTemplate"!==n.tag&&"templateParams"!==n.tag&&"title"!==n.tag||(t[n.tag]="title"===n.tag||"titleTemplate"===n.tag?n.textContent:n.props,r=!0);r&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Hr={hooks:{"tags:resolve":e=>{for(const t of e.tags)if("string"==typeof t.tagPriority)for(const{prefix:r,offset:n}of kr){if(!t.tagPriority.startsWith(r))continue;const a=t.tagPriority.substring(r.length),o=e.tags.find((e=>e._d===a))?._p;if(void 0!==o){t._p=o+n;break}}e.tags.sort(((e,t)=>{const r=xr(e),n=xr(t);return r<n?-1:r>n?1:e._p-t._p}))}}},Vr={meta:"content",link:"href",htmlAttrs:"lang"},Zr=["innerHTML","textContent"],Wr=e=>({hooks:{"tags:resolve":t=>{const{tags:r}=t;let n;for(let e=0;e<r.length;e+=1)"templateParams"===r[e].tag&&(n=t.tags.splice(e,1)[0].props,e-=1);const a=n||{},o=a.separator||"|";delete a.separator,a.pageTitle=Ar(a.pageTitle||r.find((e=>"title"===e.tag))?.textContent||"",a,o);for(const e of r){if(!1===e.processTemplateParams)continue;const t=Vr[e.tag];if(t&&"string"==typeof e.props[t])e.props[t]=Ar(e.props[t],a,o);else if(e.processTemplateParams||"titleTemplate"===e.tag||"title"===e.tag)for(const t of Zr)"string"==typeof e[t]&&(e[t]=Ar(e[t],a,o,"script"===e.tag&&e.props.type.endsWith("json")))}e._templateParams=a,e._separator=o},"tags:afterResolve":({tags:t})=>{let r;for(let e=0;e<t.length;e+=1){const n=t[e];"title"===n.tag&&!1!==n.processTemplateParams&&(r=n)}r?.textContent&&(r.textContent=Ar(r.textContent,e._templateParams,e._separator))}}}),Xr={hooks:{"tags:resolve":e=>{const{tags:t}=e;let r,n;for(let e=0;e<t.length;e+=1){const a=t[e];"title"===a.tag?r=a:"titleTemplate"===a.tag&&(n=a)}if(n&&r){const t=Cr(n.textContent,r.textContent);null!==t?r.textContent=t||r.textContent:e.tags.splice(e.tags.indexOf(r),1)}else if(n){const e=Cr(n.textContent);null!==e&&(n.textContent=e,n.tag="title",n=void 0)}n&&e.tags.splice(e.tags.indexOf(n),1)}}},Gr={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)"string"==typeof t.innerHTML&&(!t.innerHTML||"application/ld+json"!==t.props.type&&"application/json"!==t.props.type?t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`):t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"))}}};let Yr;function Kr(e,t){return!e||"server"===e&&t||"client"===e&&!t}
/**
* @vue/shared v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */function Jr(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return e=>e in t}const en={},tn=[],rn=()=>{},nn=()=>!1,an=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),on=e=>e.startsWith("onUpdate:"),sn=Object.assign,ln=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},cn=Object.prototype.hasOwnProperty,un=(e,t)=>cn.call(e,t),dn=Array.isArray,pn=e=>"[object Map]"===wn(e),hn=e=>"[object Set]"===wn(e),fn=e=>"[object Date]"===wn(e),mn=e=>"function"==typeof e,gn=e=>"string"==typeof e,bn=e=>"symbol"==typeof e,vn=e=>null!==e&&"object"==typeof e,yn=e=>(vn(e)||mn(e))&&mn(e.then)&&mn(e.catch),On=Object.prototype.toString,wn=e=>On.call(e),xn=e=>"[object Object]"===wn(e),kn=e=>gn(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Sn=Jr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_n=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},En=/-(\w)/g,Tn=_n((e=>e.replace(En,((e,t)=>t?t.toUpperCase():"")))),An=/\B([A-Z])/g,Cn=_n((e=>e.replace(An,"-$1").toLowerCase())),Pn=_n((e=>e.charAt(0).toUpperCase()+e.slice(1))),$n=_n((e=>e?`on${Pn(e)}`:"")),Mn=(e,t)=>!Object.is(e,t),Dn=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Rn=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Nn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let In;const Ln=()=>In||(In="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function jn(e){if(dn(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],a=gn(n)?Qn(n):jn(n);if(a)for(const e in a)t[e]=a[e]}return t}if(gn(e)||vn(e))return e}const Bn=/;(?![^(]*\))/g,Un=/:([^]+)/,Fn=/\/\*[^]*?\*\//g;function Qn(e){const t={};return e.replace(Fn,"").split(Bn).forEach((e=>{if(e){const r=e.split(Un);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function zn(e){let t="";if(gn(e))t=e;else if(dn(e))for(let r=0;r<e.length;r++){const n=zn(e[r]);n&&(t+=n+" ")}else if(vn(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function qn(e){if(!e)return null;let{class:t,style:r}=e;return t&&!gn(t)&&(e.class=zn(t)),r&&(e.style=jn(r)),e}const Hn=Jr("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Vn(e){return!!e||""===e}function Zn(e,t){if(e===t)return!0;let r=fn(e),n=fn(t);if(r||n)return!(!r||!n)&&e.getTime()===t.getTime();if(r=bn(e),n=bn(t),r||n)return e===t;if(r=dn(e),n=dn(t),r||n)return!(!r||!n)&&function(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Zn(e[n],t[n]);return r}(e,t);if(r=vn(e),n=vn(t),r||n){if(!r||!n)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e){const n=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(n&&!a||!n&&a||!Zn(e[r],t[r]))return!1}}return String(e)===String(t)}function Wn(e,t){return e.findIndex((e=>Zn(e,t)))}const Xn=e=>!(!e||!0!==e.__v_isRef),Gn=e=>gn(e)?e:null==e?"":dn(e)||vn(e)&&(e.toString===On||!mn(e.toString))?Xn(e)?Gn(e.value):JSON.stringify(e,Yn,2):String(e),Yn=(e,t)=>Xn(t)?Yn(e,t.value):pn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,r],n)=>(e[Kn(t,n)+" =>"]=r,e)),{})}:hn(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Kn(e)))}:bn(t)?Kn(t):!vn(t)||dn(t)||xn(t)?t:String(t),Kn=(e,t="")=>{var r;return bn(e)?`Symbol(${null!=(r=e.description)?r:t})`:e};
/**
* @vue/reactivity v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Jn,ea;class ta{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Jn,!e&&Jn&&(this.index=(Jn.scopes||(Jn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=Jn;try{return Jn=this,e()}finally{Jn=t}}}on(){1==++this._on&&(this.prevScope=Jn,Jn=this)}off(){this._on>0&&0==--this._on&&(Jn=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,r;for(this._active=!1,t=0,r=this.effects.length;t<r;t++)this.effects[t].stop();for(this.effects.length=0,t=0,r=this.cleanups.length;t<r;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function ra(){return Jn}function na(e,t=!1){Jn&&Jn.cleanups.push(e)}const aa=new WeakSet;class oa{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,Jn&&Jn.active&&Jn.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,aa.has(this)&&(aa.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||ca(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,xa(this),pa(this);const e=ea,t=va;ea=this,va=!0;try{return this.fn()}finally{ha(this),ea=e,va=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)ga(e);this.deps=this.depsTail=void 0,xa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?aa.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){fa(this)&&this.run()}get dirty(){return fa(this)}}let ia,sa,la=0;function ca(e,t=!1){if(e.flags|=8,t)return e.next=sa,void(sa=e);e.next=ia,ia=e}function ua(){la++}function da(){if(--la>0)return;if(sa){let e=sa;for(sa=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ia;){let t=ia;for(ia=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=r}}if(e)throw e}function pa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ha(e){let t,r=e.depsTail,n=r;for(;n;){const e=n.prevDep;-1===n.version?(n===r&&(r=e),ga(n),ba(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=e}e.deps=t,e.depsTail=r}function fa(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ma(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ma(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===ka)return;if(e.globalVersion=ka,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!fa(e)))return;e.flags|=2;const t=e.dep,r=ea,n=va;ea=e,va=!0;try{pa(e);const r=e.fn(e._value);(0===t.version||Mn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(e){throw t.version++,e}finally{ea=r,va=n,ha(e),e.flags&=-3}}function ga(e,t=!1){const{dep:r,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let e=r.computed.deps;e;e=e.nextDep)ga(e,!0)}t||--r.sc||!r.map||r.map.delete(r.key)}function ba(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let va=!0;const ya=[];function Oa(){ya.push(va),va=!1}function wa(){const e=ya.pop();va=void 0===e||e}function xa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=ea;ea=void 0;try{t()}finally{ea=e}}}let ka=0;class Sa{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}}class _a{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(!ea||!va||ea===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==ea)t=this.activeLink=new Sa(ea,this),ea.deps?(t.prevDep=ea.depsTail,ea.depsTail.nextDep=t,ea.depsTail=t):ea.deps=ea.depsTail=t,Ea(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=ea.depsTail,t.nextDep=void 0,ea.depsTail.nextDep=t,ea.depsTail=t,ea.deps===t&&(ea.deps=e)}return t}trigger(e){this.version++,ka++,this.notify(e)}notify(e){ua();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{da()}}}function Ea(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ea(e)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Ta=new WeakMap,Aa=Symbol(""),Ca=Symbol(""),Pa=Symbol("");function $a(e,t,r){if(va&&ea){let t=Ta.get(e);t||Ta.set(e,t=new Map);let n=t.get(r);n||(t.set(r,n=new _a),n.map=t,n.key=r),n.track()}}function Ma(e,t,r,n,a,o){const i=Ta.get(e);if(!i)return void ka++;const s=e=>{e&&e.trigger()};if(ua(),"clear"===t)i.forEach(s);else{const a=dn(e),o=a&&kn(r);if(a&&"length"===r){const e=Number(n);i.forEach(((t,r)=>{("length"===r||r===Pa||!bn(r)&&r>=e)&&s(t)}))}else switch((void 0!==r||i.has(void 0))&&s(i.get(r)),o&&s(i.get(Pa)),t){case"add":a?o&&s(i.get("length")):(s(i.get(Aa)),pn(e)&&s(i.get(Ca)));break;case"delete":a||(s(i.get(Aa)),pn(e)&&s(i.get(Ca)));break;case"set":pn(e)&&s(i.get(Aa))}}da()}function Da(e){const t=Oo(e);return t===e?t:($a(t,0,Pa),vo(e)?t:t.map(wo))}function Ra(e){return $a(e=Oo(e),0,Pa),e}const Na={__proto__:null,[Symbol.iterator](){return Ia(this,Symbol.iterator,wo)},concat(...e){return Da(this).concat(...e.map((e=>dn(e)?Da(e):e)))},entries(){return Ia(this,"entries",(e=>(e[1]=wo(e[1]),e)))},every(e,t){return ja(this,"every",e,t,void 0,arguments)},filter(e,t){return ja(this,"filter",e,t,(e=>e.map(wo)),arguments)},find(e,t){return ja(this,"find",e,t,wo,arguments)},findIndex(e,t){return ja(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ja(this,"findLast",e,t,wo,arguments)},findLastIndex(e,t){return ja(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ja(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ua(this,"includes",e)},indexOf(...e){return Ua(this,"indexOf",e)},join(e){return Da(this).join(e)},lastIndexOf(...e){return Ua(this,"lastIndexOf",e)},map(e,t){return ja(this,"map",e,t,void 0,arguments)},pop(){return Fa(this,"pop")},push(...e){return Fa(this,"push",e)},reduce(e,...t){return Ba(this,"reduce",e,t)},reduceRight(e,...t){return Ba(this,"reduceRight",e,t)},shift(){return Fa(this,"shift")},some(e,t){return ja(this,"some",e,t,void 0,arguments)},splice(...e){return Fa(this,"splice",e)},toReversed(){return Da(this).toReversed()},toSorted(e){return Da(this).toSorted(e)},toSpliced(...e){return Da(this).toSpliced(...e)},unshift(...e){return Fa(this,"unshift",e)},values(){return Ia(this,"values",wo)}};function Ia(e,t,r){const n=Ra(e),a=n[t]();return n===e||vo(e)||(a._next=a.next,a.next=()=>{const e=a._next();return e.value&&(e.value=r(e.value)),e}),a}const La=Array.prototype;function ja(e,t,r,n,a,o){const i=Ra(e),s=i!==e&&!vo(e),l=i[t];if(l!==La[t]){const t=l.apply(e,o);return s?wo(t):t}let c=r;i!==e&&(s?c=function(t,n){return r.call(this,wo(t),n,e)}:r.length>2&&(c=function(t,n){return r.call(this,t,n,e)}));const u=l.call(i,c,n);return s&&a?a(u):u}function Ba(e,t,r,n){const a=Ra(e);let o=r;return a!==e&&(vo(e)?r.length>3&&(o=function(t,n,a){return r.call(this,t,n,a,e)}):o=function(t,n,a){return r.call(this,t,wo(n),a,e)}),a[t](o,...n)}function Ua(e,t,r){const n=Oo(e);$a(n,0,Pa);const a=n[t](...r);return-1!==a&&!1!==a||!yo(r[0])?a:(r[0]=Oo(r[0]),n[t](...r))}function Fa(e,t,r=[]){Oa(),ua();const n=Oo(e)[t].apply(e,r);return da(),wa(),n}const Qa=Jr("__proto__,__v_isRef,__isVue"),za=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(bn));function qa(e){bn(e)||(e=String(e));const t=Oo(this);return $a(t,0,e),t.hasOwnProperty(e)}class Ha{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,r){if("__v_skip"===t)return e.__v_skip;const n=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return a;if("__v_raw"===t)return r===(n?a?co:lo:a?so:io).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const o=dn(e);if(!n){let e;if(o&&(e=Na[t]))return e;if("hasOwnProperty"===t)return qa}const i=Reflect.get(e,t,ko(e)?e:r);return(bn(t)?za.has(t):Qa(t))?i:(n||$a(e,0,t),a?i:ko(i)?o&&kn(t)?i:i.value:vn(i)?n?ho(i):uo(i):i)}}class Va extends Ha{constructor(e=!1){super(!1,e)}set(e,t,r,n){let a=e[t];if(!this._isShallow){const t=bo(a);if(vo(r)||bo(r)||(a=Oo(a),r=Oo(r)),!dn(e)&&ko(a)&&!ko(r))return!t&&(a.value=r,!0)}const o=dn(e)&&kn(t)?Number(t)<e.length:un(e,t),i=Reflect.set(e,t,r,ko(e)?e:n);return e===Oo(n)&&(o?Mn(r,a)&&Ma(e,"set",t,r):Ma(e,"add",t,r)),i}deleteProperty(e,t){const r=un(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&r&&Ma(e,"delete",t,void 0),n}has(e,t){const r=Reflect.has(e,t);return bn(t)&&za.has(t)||$a(e,0,t),r}ownKeys(e){return $a(e,0,dn(e)?"length":Aa),Reflect.ownKeys(e)}}class Za extends Ha{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Wa=new Va,Xa=new Za,Ga=new Va(!0),Ya=new Za(!0),Ka=e=>e,Ja=e=>Reflect.getPrototypeOf(e);function eo(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function to(e,t){const r=function(e,t){const r={get(r){const n=this.__v_raw,a=Oo(n),o=Oo(r);e||(Mn(r,o)&&$a(a,0,r),$a(a,0,o));const{has:i}=Ja(a),s=t?Ka:e?xo:wo;return i.call(a,r)?s(n.get(r)):i.call(a,o)?s(n.get(o)):void(n!==a&&n.get(r))},get size(){const t=this.__v_raw;return!e&&$a(Oo(t),0,Aa),Reflect.get(t,"size",t)},has(t){const r=this.__v_raw,n=Oo(r),a=Oo(t);return e||(Mn(t,a)&&$a(n,0,t),$a(n,0,a)),t===a?r.has(t):r.has(t)||r.has(a)},forEach(r,n){const a=this,o=a.__v_raw,i=Oo(o),s=t?Ka:e?xo:wo;return!e&&$a(i,0,Aa),o.forEach(((e,t)=>r.call(n,s(e),s(t),a)))}};return sn(r,e?{add:eo("add"),set:eo("set"),delete:eo("delete"),clear:eo("clear")}:{add(e){t||vo(e)||bo(e)||(e=Oo(e));const r=Oo(this);return Ja(r).has.call(r,e)||(r.add(e),Ma(r,"add",e,e)),this},set(e,r){t||vo(r)||bo(r)||(r=Oo(r));const n=Oo(this),{has:a,get:o}=Ja(n);let i=a.call(n,e);i||(e=Oo(e),i=a.call(n,e));const s=o.call(n,e);return n.set(e,r),i?Mn(r,s)&&Ma(n,"set",e,r):Ma(n,"add",e,r),this},delete(e){const t=Oo(this),{has:r,get:n}=Ja(t);let a=r.call(t,e);a||(e=Oo(e),a=r.call(t,e)),n&&n.call(t,e);const o=t.delete(e);return a&&Ma(t,"delete",e,void 0),o},clear(){const e=Oo(this),t=0!==e.size,r=e.clear();return t&&Ma(e,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach((n=>{r[n]=function(e,t,r){return function(...n){const a=this.__v_raw,o=Oo(a),i=pn(o),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=a[e](...n),u=r?Ka:t?xo:wo;return!t&&$a(o,0,l?Ca:Aa),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(n,e,t)})),r}(e,t);return(t,n,a)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(un(r,n)&&n in t?r:t,n,a)}const ro={get:to(!1,!1)},no={get:to(!1,!0)},ao={get:to(!0,!1)},oo={get:to(!0,!0)},io=new WeakMap,so=new WeakMap,lo=new WeakMap,co=new WeakMap;function uo(e){return bo(e)?e:mo(e,!1,Wa,ro,io)}function po(e){return mo(e,!1,Ga,no,so)}function ho(e){return mo(e,!0,Xa,ao,lo)}function fo(e){return mo(e,!0,Ya,oo,co)}function mo(e,t,r,n,a){if(!vn(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=(i=e).__v_skip||!Object.isExtensible(i)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>wn(e).slice(8,-1))(i));var i;if(0===o)return e;const s=a.get(e);if(s)return s;const l=new Proxy(e,2===o?n:r);return a.set(e,l),l}function go(e){return bo(e)?go(e.__v_raw):!(!e||!e.__v_isReactive)}function bo(e){return!(!e||!e.__v_isReadonly)}function vo(e){return!(!e||!e.__v_isShallow)}function yo(e){return!!e&&!!e.__v_raw}function Oo(e){const t=e&&e.__v_raw;return t?Oo(t):e}const wo=e=>vn(e)?uo(e):e,xo=e=>vn(e)?ho(e):e;function ko(e){return!!e&&!0===e.__v_isRef}function So(e){return Eo(e,!1)}function _o(e){return Eo(e,!0)}function Eo(e,t){return ko(e)?e:new To(e,t)}class To{constructor(e,t){this.dep=new _a,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Oo(e),this._value=t?e:wo(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,r=this.__v_isShallow||vo(e)||bo(e);e=r?e:Oo(e),Mn(e,t)&&(this._rawValue=e,this._value=r?e:wo(e),this.dep.trigger())}}function Ao(e){return ko(e)?e.value:e}function Co(e){return mn(e)?e():Ao(e)}const Po={get:(e,t,r)=>"__v_raw"===t?e:Ao(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const a=e[t];return ko(a)&&!ko(r)?(a.value=r,!0):Reflect.set(e,t,r,n)}};function $o(e){return go(e)?e:new Proxy(e,Po)}class Mo{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new _a,{get:r,set:n}=e(t.track.bind(t),t.trigger.bind(t));this._get=r,this._set=n}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Do(e){return new Mo(e)}class Ro{constructor(e,t,r){this._object=e,this._key=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const r=Ta.get(e);return r&&r.get(t)}(Oo(this._object),this._key)}}class No{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Io(e,t,r){return ko(e)?e:mn(e)?new No(e):vn(e)&&arguments.length>1?function(e,t,r){const n=e[t];return ko(n)?n:new Ro(e,t,r)}(e,t,r):So(e)}class Lo{constructor(e,t,r){this.fn=e,this.setter=t,this._value=void 0,this.dep=new _a(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ka-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=r}notify(){if(this.flags|=16,!(8&this.flags)&&ea!==this)return ca(this,!0),!0}get value(){const e=this.dep.track();return ma(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const jo={},Bo=new WeakMap;let Uo;function Fo(e,t=1/0,r){if(t<=0||!vn(e)||e.__v_skip)return e;if((r=r||new Set).has(e))return e;if(r.add(e),t--,ko(e))Fo(e.value,t,r);else if(dn(e))for(let n=0;n<e.length;n++)Fo(e[n],t,r);else if(hn(e)||pn(e))e.forEach((e=>{Fo(e,t,r)}));else if(xn(e)){for(const n in e)Fo(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Fo(e[n],t,r)}return e}
/**
* @vue/runtime-core v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Qo(e,t,r,n){try{return n?e(...n):e()}catch(e){qo(e,t,r)}}function zo(e,t,r,n){if(mn(e)){const a=Qo(e,t,r,n);return a&&yn(a)&&a.catch((e=>{qo(e,t,r)})),a}if(dn(e)){const a=[];for(let o=0;o<e.length;o++)a.push(zo(e[o],t,r,n));return a}}function qo(e,t,r,n=!0){t&&t.vnode;const{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||en;if(t){let n=t.parent;const o=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${r}`;for(;n;){const t=n.ec;if(t)for(let r=0;r<t.length;r++)if(!1===t[r](e,o,i))return;n=n.parent}if(a)return Oa(),Qo(a,null,10,[e,o,i]),void wa()}!function(e,t,r,n=!0,a=!1){if(a)throw e;console.error(e)}(e,0,0,n,o)}const Ho=[];let Vo=-1;const Zo=[];let Wo=null,Xo=0;const Go=Promise.resolve();let Yo=null;function Ko(e){const t=Yo||Go;return e?t.then(this?e.bind(this):e):t}function Jo(e){if(!(1&e.flags)){const t=ai(e),r=Ho[Ho.length-1];!r||!(2&e.flags)&&t>=ai(r)?Ho.push(e):Ho.splice(function(e){let t=Vo+1,r=Ho.length;for(;t<r;){const n=t+r>>>1,a=Ho[n],o=ai(a);o<e||o===e&&2&a.flags?t=n+1:r=n}return t}(t),0,e),e.flags|=1,ei()}}function ei(){Yo||(Yo=Go.then(oi))}function ti(e){dn(e)?Zo.push(...e):Wo&&-1===e.id?Wo.splice(Xo+1,0,e):1&e.flags||(Zo.push(e),e.flags|=1),ei()}function ri(e,t,r=Vo+1){for(;r<Ho.length;r++){const t=Ho[r];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;Ho.splice(r,1),r--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function ni(e){if(Zo.length){const e=[...new Set(Zo)].sort(((e,t)=>ai(e)-ai(t)));if(Zo.length=0,Wo)return void Wo.push(...e);for(Wo=e,Xo=0;Xo<Wo.length;Xo++){const e=Wo[Xo];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Wo=null,Xo=0}}const ai=e=>null==e.id?2&e.flags?-1:1/0:e.id;function oi(e){try{for(Vo=0;Vo<Ho.length;Vo++){const e=Ho[Vo];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Qo(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Vo<Ho.length;Vo++){const e=Ho[Vo];e&&(e.flags&=-2)}Vo=-1,Ho.length=0,ni(),Yo=null,(Ho.length||Zo.length)&&oi()}}let ii=null,si=null;function li(e){const t=ii;return ii=e,si=e&&e.type.__scopeId||null,t}function ci(e,t=ii,r){if(!t)return e;if(e._n)return e;const n=(...r)=>{n._d&&Nl(-1);const a=li(t);let o;try{o=e(...r)}finally{li(a),n._d&&Nl(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function ui(e,t){if(null===ii)return e;const r=mc(ii),n=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[a,o,i,s=en]=t[e];a&&(mn(a)&&(a={mounted:a,updated:a}),a.deep&&Fo(o),n.push({dir:a,instance:r,value:o,oldValue:void 0,arg:i,modifiers:s}))}return e}function di(e,t,r,n){const a=e.dirs,o=t&&t.dirs;for(let i=0;i<a.length;i++){const s=a[i];o&&(s.oldValue=o[i].value);let l=s.dir[n];l&&(Oa(),zo(l,r,8,[e.el,s,e,t]),wa())}}const pi=Symbol("_vte"),hi=e=>e.__isTeleport,fi=e=>e&&(e.disabled||""===e.disabled),mi=e=>e&&(e.defer||""===e.defer),gi=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,bi=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,vi=(e,t)=>{const r=e&&e.to;return gn(r)?t?t(r):null:r},yi={name:"Teleport",__isTeleport:!0,process(e,t,r,n,a,o,i,s,l,c){const{mc:u,pc:d,pbc:p,o:{insert:h,querySelector:f,createText:m,createComment:g}}=c,b=fi(t.props);let{shapeFlag:v,children:y,dynamicChildren:O}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");h(e,r,n),h(c,r,n);const d=(e,t)=>{16&v&&(a&&a.isCE&&(a.ce._teleportTarget=e),u(y,e,t,a,o,i,s,l))},p=()=>{const e=t.target=vi(t.props,f),r=ki(e,t,m,h);e&&("svg"!==i&&gi(e)?i="svg":"mathml"!==i&&bi(e)&&(i="mathml"),b||(d(e,r),xi(t,!1)))};b&&(d(r,c),xi(t,!0)),mi(t.props)?(t.el.__isMounted=!1,nl((()=>{p(),delete t.el.__isMounted}),o)):p()}else{if(mi(t.props)&&!1===e.el.__isMounted)return void nl((()=>{yi.process(e,t,r,n,a,o,i,s,l,c)}),o);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,h=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=fi(e.props),v=g?r:h,y=g?u:m;if("svg"===i||gi(h)?i="svg":("mathml"===i||bi(h))&&(i="mathml"),O?(p(e.dynamicChildren,O,v,a,o,i,s),sl(e,t,!0)):l||d(e,t,v,y,a,o,i,s,!1),b)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Oi(t,r,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=vi(t.props,f);e&&Oi(t,e,null,c,0)}else g&&Oi(t,h,m,c,1);xi(t,b)}},remove(e,t,r,{um:n,o:{remove:a}},o){const{shapeFlag:i,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:p}=e;if(d&&(a(c),a(u)),o&&a(l),16&i){const e=o||!fi(p);for(let a=0;a<s.length;a++){const o=s[a];n(o,t,r,e,!!o.dynamicChildren)}}},move:Oi,hydrate:function(e,t,r,n,a,o,{o:{nextSibling:i,parentNode:s,querySelector:l,insert:c,createText:u}},d){const p=t.target=vi(t.props,l);if(p){const l=fi(t.props),h=p._lpa||p.firstChild;if(16&t.shapeFlag)if(l)t.anchor=d(i(e),t,s(e),r,n,a,o),t.targetStart=h,t.targetAnchor=h&&i(h);else{t.anchor=i(e);let s=h;for(;s;){if(s&&8===s.nodeType)if("teleport start anchor"===s.data)t.targetStart=s;else if("teleport anchor"===s.data){t.targetAnchor=s,p._lpa=t.targetAnchor&&i(t.targetAnchor);break}s=i(s)}t.targetAnchor||ki(p,t,u,c),d(h&&i(h),t,p,r,n,a,o)}xi(t,l)}return t.anchor&&i(t.anchor)}};function Oi(e,t,r,{o:{insert:n},m:a},o=2){0===o&&n(e.targetAnchor,t,r);const{el:i,anchor:s,shapeFlag:l,children:c,props:u}=e,d=2===o;if(d&&n(i,t,r),(!d||fi(u))&&16&l)for(let e=0;e<c.length;e++)a(c[e],t,r,2);d&&n(s,t,r)}const wi=yi;function xi(e,t){const r=e.ctx;if(r&&r.ut){let n,a;for(t?(n=e.el,a=e.anchor):(n=e.targetStart,a=e.targetAnchor);n&&n!==a;)1===n.nodeType&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function ki(e,t,r,n){const a=t.targetStart=r(""),o=t.targetAnchor=r("");return a[pi]=o,e&&(n(a,e),n(o,e)),o}const Si=Symbol("_leaveCb"),_i=Symbol("_enterCb"),Ei=[Function,Array],Ti={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},Ai=e=>{const t=e.subTree;return t.component?Ai(t.component):t};function Ci(e){let t=e[0];if(e.length>1)for(const r of e)if(r.type!==Cl){t=r;break}return t}const Pi={name:"BaseTransition",props:Ti,setup(e,{slots:t}){const r=ac(),n=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yi((()=>{e.isMounted=!0})),es((()=>{e.isUnmounting=!0})),e}();return()=>{const a=t.default&&Ii(t.default(),!0);if(!a||!a.length)return;const o=Ci(a),i=Oo(e),{mode:s}=i;if(n.isLeaving)return Di(o);const l=Ri(o);if(!l)return Di(o);let c=Mi(l,i,n,r,(e=>c=e));l.type!==Cl&&Ni(l,c);let u=r.subTree&&Ri(r.subTree);if(u&&u.type!==Cl&&!Ul(l,u)&&Ai(r).type!==Cl){let e=Mi(u,i,n,r);if(Ni(u,e),"out-in"===s&&l.type!==Cl)return n.isLeaving=!0,e.afterLeave=()=>{n.isLeaving=!1,8&r.job.flags||r.update(),delete e.afterLeave,u=void 0},Di(o);"in-out"===s&&l.type!==Cl?e.delayLeave=(e,t,r)=>{$i(n,u)[String(u.key)]=u,e[Si]=()=>{t(),e[Si]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{r(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function $i(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Mi(e,t,r,n,a){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:b,onAfterAppear:v,onAppearCancelled:y}=t,O=String(e.key),w=$i(r,e),x=(e,t)=>{e&&zo(e,n,9,t)},k=(e,t)=>{const r=t[1];x(e,t),dn(e)?e.every((e=>e.length<=1))&&r():e.length<=1&&r()},S={mode:i,persisted:s,beforeEnter(t){let n=l;if(!r.isMounted){if(!o)return;n=g||l}t[Si]&&t[Si](!0);const a=w[O];a&&Ul(e,a)&&a.el[Si]&&a.el[Si](),x(n,[t])},enter(e){let t=c,n=u,a=d;if(!r.isMounted){if(!o)return;t=b||c,n=v||u,a=y||d}let i=!1;const s=e[_i]=t=>{i||(i=!0,x(t?a:n,[e]),S.delayedLeave&&S.delayedLeave(),e[_i]=void 0)};t?k(t,[e,s]):s()},leave(t,n){const a=String(e.key);if(t[_i]&&t[_i](!0),r.isUnmounting)return n();x(p,[t]);let o=!1;const i=t[Si]=r=>{o||(o=!0,n(),x(r?m:f,[t]),t[Si]=void 0,w[a]===e&&delete w[a])};w[a]=e,h?k(h,[t,i]):i()},clone(e){const o=Mi(e,t,r,n,a);return a&&a(o),o}};return S}function Di(e){if(zi(e))return(e=Vl(e)).children=null,e}function Ri(e){if(!zi(e))return hi(e.type)&&e.children?Ci(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(16&t)return r[0];if(32&t&&mn(r.default))return r.default()}}function Ni(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Ni(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ii(e,t=!1,r){let n=[],a=0;for(let o=0;o<e.length;o++){let i=e[o];const s=null==r?i.key:String(r)+String(null!=i.key?i.key:o);i.type===Tl?(128&i.patchFlag&&a++,n=n.concat(Ii(i.children,t,s))):(t||i.type!==Cl)&&n.push(null!=s?Vl(i,{key:s}):i)}if(a>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}
/*! #__NO_SIDE_EFFECTS__ */function Li(e,t){return mn(e)?sn({name:e.name},t,{setup:e}):e}function ji(){const e=ac();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Bi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ui(e){const t=ac(),r=_o(null);if(t){const n=t.refs===en?t.refs={}:t.refs;Object.defineProperty(n,e,{enumerable:!0,get:()=>r.value,set:e=>r.value=e})}return r}function Fi(e,t,r,n,a=!1){if(dn(e))return void e.forEach(((e,o)=>Fi(e,t&&(dn(t)?t[o]:t),r,n,a)));if(Qi(n)&&!a)return void(512&n.shapeFlag&&n.type.__asyncResolved&&n.component.subTree.component&&Fi(e,t,r,n.component.subTree));const o=4&n.shapeFlag?mc(n.component):n.el,i=a?null:o,{i:s,r:l}=e,c=t&&t.r,u=s.refs===en?s.refs={}:s.refs,d=s.setupState,p=Oo(d),h=d===en?()=>!1:e=>un(p,e);if(null!=c&&c!==l&&(gn(c)?(u[c]=null,h(c)&&(d[c]=null)):ko(c)&&(c.value=null)),mn(l))Qo(l,s,12,[i,u]);else{const t=gn(l),n=ko(l);if(t||n){const s=()=>{if(e.f){const r=t?h(l)?d[l]:u[l]:l.value;a?dn(r)&&ln(r,o):dn(r)?r.includes(o)||r.push(o):t?(u[l]=[o],h(l)&&(d[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else t?(u[l]=i,h(l)&&(d[l]=i)):n&&(l.value=i,e.k&&(u[e.k]=i))};i?(s.id=-1,nl(s,r)):s()}}}Ln().requestIdleCallback,Ln().cancelIdleCallback;const Qi=e=>!!e.type.__asyncLoader,zi=e=>e.type.__isKeepAlive;function qi(e,t){Vi(e,"a",t)}function Hi(e,t){Vi(e,"da",t)}function Vi(e,t,r=nc){const n=e.__wdc||(e.__wdc=()=>{let t=r;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Wi(t,n,r),r){let e=r.parent;for(;e&&e.parent;)zi(e.parent.vnode)&&Zi(n,t,r,e),e=e.parent}}function Zi(e,t,r,n){const a=Wi(t,e,n,!0);ts((()=>{ln(n[t],a)}),r)}function Wi(e,t,r=nc,n=!1){if(r){const a=r[e]||(r[e]=[]),o=t.__weh||(t.__weh=(...n)=>{Oa();const a=sc(r),o=zo(t,r,e,n);return a(),wa(),o});return n?a.unshift(o):a.push(o),o}}const Xi=e=>(t,r=nc)=>{uc&&"sp"!==e||Wi(e,((...e)=>t(...e)),r)},Gi=Xi("bm"),Yi=Xi("m"),Ki=Xi("bu"),Ji=Xi("u"),es=Xi("bum"),ts=Xi("um"),rs=Xi("sp"),ns=Xi("rtg"),as=Xi("rtc");function os(e,t=nc){Wi("ec",e,t)}const is="components";function ss(e,t){return us(is,e,!0,t)||e}const ls=Symbol.for("v-ndc");function cs(e){return gn(e)?us(is,e,!1)||e:e||ls}function us(e,t,r=!0,n=!1){const a=ii||nc;if(a){const r=a.type;{const e=function(e,t=!0){return mn(e)?e.displayName||e.name:e.name||t&&e.__name}(r,!1);if(e&&(e===t||e===Tn(t)||e===Pn(Tn(t))))return r}const o=ds(a[e]||r[e],t)||ds(a.appContext[e],t);return!o&&n?r:o}}function ds(e,t){return e&&(e[t]||e[Tn(t)]||e[Pn(Tn(t))])}function ps(e,t,r,n){let a;const o=r,i=dn(e);if(i||gn(e)){let r=!1,n=!1;i&&go(e)&&(r=!vo(e),n=bo(e),e=Ra(e)),a=new Array(e.length);for(let i=0,s=e.length;i<s;i++)a[i]=t(r?n?xo(wo(e[i])):wo(e[i]):e[i],i,void 0,o)}else if("number"==typeof e){a=new Array(e);for(let r=0;r<e;r++)a[r]=t(r+1,r,void 0,o)}else if(vn(e))if(e[Symbol.iterator])a=Array.from(e,((e,r)=>t(e,r,void 0,o)));else{const r=Object.keys(e);a=new Array(r.length);for(let n=0,i=r.length;n<i;n++){const i=r[n];a[n]=t(e[i],i,n,o)}}else a=[];return a}function hs(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(dn(n))for(let t=0;t<n.length;t++)e[n[t].name]=n[t].fn;else n&&(e[n.name]=n.key?(...e)=>{const t=n.fn(...e);return t&&(t.key=n.key),t}:n.fn)}return e}function fs(e,t,r={},n,a){if(ii.ce||ii.parent&&Qi(ii.parent)&&ii.parent.ce)return"default"!==t&&(r.name=t),Dl(),jl(Tl,null,[ql("slot",r,n&&n())],64);let o=e[t];o&&o._c&&(o._d=!1),Dl();const i=o&&ms(o(r)),s=r.key||i&&i.key,l=jl(Tl,{key:(s&&!bn(s)?s:`_${t}`)+(!i&&n?"_fb":"")},i||(n?n():[]),i&&1===e._?64:-2);return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function ms(e){return e.some((e=>!Bl(e)||e.type!==Cl&&!(e.type===Tl&&!ms(e.children))))?e:null}const gs=e=>e?cc(e)?mc(e):gs(e.parent):null,bs=sn(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=>gs(e.parent),$root:e=>gs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>As(e),$forceUpdate:e=>e.f||(e.f=()=>{Jo(e.update)}),$nextTick:e=>e.n||(e.n=Ko.bind(e.proxy)),$watch:e=>ml.bind(e)}),vs=(e,t)=>e!==en&&!e.__isScriptSetup&&un(e,t),ys={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:r,setupState:n,data:a,props:o,accessCache:i,type:s,appContext:l}=e;let c;if("$"!==t[0]){const s=i[t];if(void 0!==s)switch(s){case 1:return n[t];case 2:return a[t];case 4:return r[t];case 3:return o[t]}else{if(vs(n,t))return i[t]=1,n[t];if(a!==en&&un(a,t))return i[t]=2,a[t];if((c=e.propsOptions[0])&&un(c,t))return i[t]=3,o[t];if(r!==en&&un(r,t))return i[t]=4,r[t];_s&&(i[t]=0)}}const u=bs[t];let d,p;return u?("$attrs"===t&&$a(e.attrs,0,""),u(e)):(d=s.__cssModules)&&(d=d[t])?d:r!==en&&un(r,t)?(i[t]=4,r[t]):(p=l.config.globalProperties,un(p,t)?p[t]:void 0)},set({_:e},t,r){const{data:n,setupState:a,ctx:o}=e;return vs(a,t)?(a[t]=r,!0):n!==en&&un(n,t)?(n[t]=r,!0):!(un(e.props,t)||"$"===t[0]&&t.slice(1)in e||(o[t]=r,0))},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:a,propsOptions:o}},i){let s;return!!r[i]||e!==en&&un(e,i)||vs(t,i)||(s=o[0])&&un(s,i)||un(n,i)||un(bs,i)||un(a.config.globalProperties,i)},defineProperty(e,t,r){return null!=r.get?e._.accessCache[t]=0:un(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Os(){return xs().slots}function ws(){return xs().attrs}function xs(){const e=ac();return e.setupContext||(e.setupContext=fc(e))}function ks(e){return dn(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Ss(e,t){return e&&t?dn(e)&&dn(t)?e.concat(t):sn({},ks(e),ks(t)):e||t}let _s=!0;function Es(e,t,r){zo(dn(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,r)}function Ts(e,t,r,n){let a=n.includes(".")?gl(r,n):()=>r[n];if(gn(e)){const r=t[e];mn(r)&&hl(a,r)}else if(mn(e))hl(a,e.bind(r));else if(vn(e))if(dn(e))e.forEach((e=>Ts(e,t,r,n)));else{const n=mn(e.handler)?e.handler.bind(r):t[e.handler];mn(n)&&hl(a,n,e)}}function As(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,s=o.get(t);let l;return s?l=s:a.length||r||n?(l={},a.length&&a.forEach((e=>Cs(l,e,i,!0))),Cs(l,t,i)):l=t,vn(t)&&o.set(t,l),l}function Cs(e,t,r,n=!1){const{mixins:a,extends:o}=t;o&&Cs(e,o,r,!0),a&&a.forEach((t=>Cs(e,t,r,!0)));for(const a in t)if(n&&"expose"===a);else{const n=Ps[a]||r&&r[a];e[a]=n?n(e[a],t[a]):t[a]}return e}const Ps={data:$s,props:Ns,emits:Ns,methods:Rs,computed:Rs,beforeCreate:Ds,created:Ds,beforeMount:Ds,mounted:Ds,beforeUpdate:Ds,updated:Ds,beforeDestroy:Ds,beforeUnmount:Ds,destroyed:Ds,unmounted:Ds,activated:Ds,deactivated:Ds,errorCaptured:Ds,serverPrefetch:Ds,components:Rs,directives:Rs,watch:function(e,t){if(!e)return t;if(!t)return e;const r=sn(Object.create(null),e);for(const n in t)r[n]=Ds(e[n],t[n]);return r},provide:$s,inject:function(e,t){return Rs(Ms(e),Ms(t))}};function $s(e,t){return t?e?function(){return sn(mn(e)?e.call(this,this):e,mn(t)?t.call(this,this):t)}:t:e}function Ms(e){if(dn(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Ds(e,t){return e?[...new Set([].concat(e,t))]:t}function Rs(e,t){return e?sn(Object.create(null),e,t):t}function Ns(e,t){return e?dn(e)&&dn(t)?[...new Set([...e,...t])]:sn(Object.create(null),ks(e),ks(null!=t?t:{})):t}function Is(){return{app:null,config:{isNativeTag:nn,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}}let Ls=0;function js(e,t){return function(t,r=null){mn(t)||(t=sn({},t)),null==r||vn(r)||(r=null);const n=Is(),a=new WeakSet,o=[];let i=!1;const s=n.app={_uid:Ls++,_component:t,_props:r,_container:null,_context:n,_instance:null,version:vc,get config(){return n.config},set config(e){},use:(e,...t)=>(a.has(e)||(e&&mn(e.install)?(a.add(e),e.install(s,...t)):mn(e)&&(a.add(e),e(s,...t))),s),mixin:e=>(n.mixins.includes(e)||n.mixins.push(e),s),component:(e,t)=>t?(n.components[e]=t,s):n.components[e],directive:(e,t)=>t?(n.directives[e]=t,s):n.directives[e],mount(a,o,l){if(!i){const o=s._ceVNode||ql(t,r);return o.appContext=n,!0===l?l="svg":!1===l&&(l=void 0),e(o,a,l),i=!0,s._container=a,a.__vue_app__=s,mc(o.component)}},onUnmount(e){o.push(e)},unmount(){i&&(zo(o,s._instance,16),e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(n.provides[e]=t,s),runWithContext(e){const t=Bs;Bs=s;try{return e()}finally{Bs=t}}};return s}}let Bs=null;function Us(e,t){if(nc){let r=nc.provides;const n=nc.parent&&nc.parent.provides;n===r&&(r=nc.provides=Object.create(n)),r[e]=t}}function Fs(e,t,r=!1){const n=nc||ii;if(n||Bs){let a=Bs?Bs._context.provides:n?null==n.parent||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return r&&mn(t)?t.call(n&&n.proxy):t}}function Qs(){return!!(nc||ii||Bs)}const zs={},qs=()=>Object.create(zs),Hs=e=>Object.getPrototypeOf(e)===zs;function Vs(e,t,r,n){const[a,o]=e.propsOptions;let i,s=!1;if(t)for(let l in t){if(Sn(l))continue;const c=t[l];let u;a&&un(a,u=Tn(l))?o&&o.includes(u)?(i||(i={}))[u]=c:r[u]=c:wl(e.emitsOptions,l)||l in n&&c===n[l]||(n[l]=c,s=!0)}if(o){const t=Oo(r),n=i||en;for(let i=0;i<o.length;i++){const s=o[i];r[s]=Zs(a,t,s,n[s],e,!un(n,s))}}return s}function Zs(e,t,r,n,a,o){const i=e[r];if(null!=i){const e=un(i,"default");if(e&&void 0===n){const e=i.default;if(i.type!==Function&&!i.skipFactory&&mn(e)){const{propsDefaults:o}=a;if(r in o)n=o[r];else{const i=sc(a);n=o[r]=e.call(null,t),i()}}else n=e;a.ce&&a.ce._setProp(r,n)}i[0]&&(o&&!e?n=!1:!i[1]||""!==n&&n!==Cn(r)||(n=!0))}return n}const Ws=new WeakMap;function Xs(e,t,r=!1){const n=r?Ws:t.propsCache,a=n.get(e);if(a)return a;const o=e.props,i={},s=[];let l=!1;if(!mn(e)){const n=e=>{l=!0;const[r,n]=Xs(e,t,!0);sn(i,r),n&&s.push(...n)};!r&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!o&&!l)return vn(e)&&n.set(e,tn),tn;if(dn(o))for(let e=0;e<o.length;e++){const t=Tn(o[e]);Gs(t)&&(i[t]=en)}else if(o)for(const e in o){const t=Tn(e);if(Gs(t)){const r=o[e],n=i[t]=dn(r)||mn(r)?{type:r}:sn({},r),a=n.type;let l=!1,c=!0;if(dn(a))for(let e=0;e<a.length;++e){const t=a[e],r=mn(t)&&t.name;if("Boolean"===r){l=!0;break}"String"===r&&(c=!1)}else l=mn(a)&&"Boolean"===a.name;n[0]=l,n[1]=c,(l||un(n,"default"))&&s.push(t)}}const c=[i,s];return vn(e)&&n.set(e,c),c}function Gs(e){return"$"!==e[0]&&!Sn(e)}const Ys=e=>"_"===e[0]||"$stable"===e,Ks=e=>dn(e)?e.map(Gl):[Gl(e)],Js=(e,t,r)=>{if(t._n)return t;const n=ci(((...e)=>Ks(t(...e))),r);return n._c=!1,n},el=(e,t,r)=>{const n=e._ctx;for(const r in e){if(Ys(r))continue;const a=e[r];if(mn(a))t[r]=Js(0,a,n);else if(null!=a){const e=Ks(a);t[r]=()=>e}}},tl=(e,t)=>{const r=Ks(t);e.slots.default=()=>r},rl=(e,t,r)=>{for(const n in t)!r&&Ys(n)||(e[n]=t[n])},nl=function(e,t){t&&t.pendingBranch?dn(e)?t.effects.push(...e):t.effects.push(e):ti(e)};function al(e){return function(e){Ln().__VUE__=!0;const{insert:t,remove:r,patchProp:n,createElement:a,createText:o,createComment:i,setText:s,setElementText:l,parentNode:c,nextSibling:u,setScopeId:d=rn,insertStaticContent:p}=e,h=(e,t,r,n=null,a=null,o=null,i=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ul(e,t)&&(n=U(e),N(e,a,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Al:f(e,t,r,n);break;case Cl:m(e,t,r,n);break;case Pl:null==e&&g(t,r,n,i);break;case Tl:_(e,t,r,n,a,o,i,s,l);break;default:1&d?v(e,t,r,n,a,o,i,s,l):6&d?E(e,t,r,n,a,o,i,s,l):(64&d||128&d)&&c.process(e,t,r,n,a,o,i,s,l,z)}null!=u&&a?Fi(u,e&&e.ref,o,t||e,!t):null==u&&e&&null!=e.ref&&Fi(e.ref,null,o,e,!0)},f=(e,r,n,a)=>{if(null==e)t(r.el=o(r.children),n,a);else{const t=r.el=e.el;r.children!==e.children&&s(t,r.children)}},m=(e,r,n,a)=>{null==e?t(r.el=i(r.children||""),n,a):r.el=e.el},g=(e,t,r,n)=>{[e.el,e.anchor]=p(e.children,t,r,n,e.el,e.anchor)},b=({el:e,anchor:r},n,a)=>{let o;for(;e&&e!==r;)o=u(e),t(e,n,a),e=o;t(r,n,a)},v=(e,t,r,n,a,o,i,s,l)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?y(t,r,n,a,o,i,s,l):x(e,t,a,o,i,s,l)},y=(e,r,o,i,s,c,u,d)=>{let p,h;const{props:f,shapeFlag:m,transition:g,dirs:b}=e;if(p=e.el=a(e.type,c,f&&f.is,f),8&m?l(p,e.children):16&m&&w(e.children,p,null,i,s,ol(e,c),u,d),b&&di(e,null,i,"created"),O(p,e,e.scopeId,u,i),f){for(const e in f)"value"===e||Sn(e)||n(p,e,null,f[e],c,i);"value"in f&&n(p,"value",null,f.value,c),(h=f.onVnodeBeforeMount)&&ec(h,i,e)}b&&di(e,null,i,"beforeMount");const v=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(s,g);v&&g.beforeEnter(p),t(p,r,o),((h=f&&f.onVnodeMounted)||v||b)&&nl((()=>{h&&ec(h,i,e),v&&g.enter(p),b&&di(e,null,i,"mounted")}),s)},O=(e,t,r,n,a)=>{if(r&&d(e,r),n)for(let t=0;t<n.length;t++)d(e,n[t]);if(a){let r=a.subTree;if(t===r||El(r.type)&&(r.ssContent===t||r.ssFallback===t)){const t=a.vnode;O(e,t,t.scopeId,t.slotScopeIds,a.parent)}}},w=(e,t,r,n,a,o,i,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?Yl(e[c]):Gl(e[c]);h(null,l,t,r,n,a,o,i,s)}},x=(e,t,r,a,o,i,s)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||en,f=t.props||en;let m;if(r&&il(r,!1),(m=f.onVnodeBeforeUpdate)&&ec(m,r,t,e),p&&di(t,e,r,"beforeUpdate"),r&&il(r,!0),(h.innerHTML&&null==f.innerHTML||h.textContent&&null==f.textContent)&&l(c,""),d?k(e.dynamicChildren,d,c,r,a,ol(t,o),i):s||$(e,t,c,null,r,a,ol(t,o),i,!1),u>0){if(16&u)S(c,h,f,r,o);else if(2&u&&h.class!==f.class&&n(c,"class",null,f.class,o),4&u&&n(c,"style",h.style,f.style,o),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const a=e[t],i=h[a],s=f[a];s===i&&"value"!==a||n(c,a,i,s,o,r)}}1&u&&e.children!==t.children&&l(c,t.children)}else s||null!=d||S(c,h,f,r,o);((m=f.onVnodeUpdated)||p)&&nl((()=>{m&&ec(m,r,t,e),p&&di(t,e,r,"updated")}),a)},k=(e,t,r,n,a,o,i)=>{for(let s=0;s<t.length;s++){const l=e[s],u=t[s],d=l.el&&(l.type===Tl||!Ul(l,u)||198&l.shapeFlag)?c(l.el):r;h(l,u,d,null,n,a,o,i,!0)}},S=(e,t,r,a,o)=>{if(t!==r){if(t!==en)for(const i in t)Sn(i)||i in r||n(e,i,t[i],null,o,a);for(const i in r){if(Sn(i))continue;const s=r[i],l=t[i];s!==l&&"value"!==i&&n(e,i,l,s,o,a)}"value"in r&&n(e,"value",t.value,r.value,o)}},_=(e,r,n,a,i,s,l,c,u)=>{const d=r.el=e?e.el:o(""),p=r.anchor=e?e.anchor:o("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=r;m&&(c=c?c.concat(m):m),null==e?(t(d,n,a),t(p,n,a),w(r.children||[],n,p,i,s,l,c,u)):h>0&&64&h&&f&&e.dynamicChildren?(k(e.dynamicChildren,f,n,i,s,l,c),(null!=r.key||i&&r===i.subTree)&&sl(e,r,!0)):$(e,r,n,p,i,s,l,c,u)},E=(e,t,r,n,a,o,i,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?a.ctx.activate(t,r,n,i,l):T(t,r,n,a,o,i,l):A(e,t,l)},T=(e,t,r,n,a,o,i)=>{const s=e.component=function(e,t,r){const n=e.type,a=(t?t.appContext:e.appContext)||tc,o={uid:rc++,vnode:e,type:n,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ta(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xs(n,a),emitsOptions:Ol(n,a),emit:null,emitted:null,propsDefaults:en,inheritAttrs:n.inheritAttrs,ctx:en,data:en,props:en,attrs:en,slots:en,refs:en,setupState:en,setupContext:null,suspense:r,suspenseId:r?r.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 o.ctx={_:o},o.root=t?t.root:o,o.emit=yl.bind(null,o),e.ce&&e.ce(o),o}(e,n,a);if(zi(e)&&(s.ctx.renderer=z),function(e,t=!1,r=!1){t&&ic(t);const{props:n,children:a}=e.vnode,o=cc(e);(function(e,t,r,n=!1){const a={},o=qs();e.propsDefaults=Object.create(null),Vs(e,t,a,o);for(const t in e.propsOptions[0])t in a||(a[t]=void 0);r?e.props=n?a:po(a):e.type.props?e.props=a:e.props=o,e.attrs=o})(e,n,o,t),((e,t,r)=>{const n=e.slots=qs();if(32&e.vnode.shapeFlag){const e=t.__;e&&Rn(n,"__",e,!0);const a=t._;a?(rl(n,t,r),r&&Rn(n,"_",a,!0)):el(t,n)}else t&&tl(e,t)})(e,a,r||t);o&&function(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ys);const{setup:n}=r;if(n){Oa();const r=e.setupContext=n.length>1?fc(e):null,a=sc(e),o=Qo(n,e,0,[e.props,r]),i=yn(o);if(wa(),a(),!i&&!e.sp||Qi(e)||Bi(e),i){if(o.then(lc,lc),t)return o.then((t=>{dc(e,t)})).catch((t=>{qo(t,e,0)}));e.asyncDep=o}else dc(e,o)}else pc(e)}(e,t);t&&ic(!1)}(s,!1,i),s.asyncDep){if(a&&a.registerDep(s,C,i),!e.el){const e=s.subTree=ql(Cl);m(null,e,t,r)}}else C(s,e,t,r,a,o,i)},A=(e,t,r)=>{const n=t.component=e.component;if(function(e,t,r){const{props:n,children:a,component:o}=e,{props:i,children:s,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(r&&l>=0))return!(!a&&!s||s&&s.$stable)||n!==i&&(n?!i||_l(n,i,c):!!i);if(1024&l)return!0;if(16&l)return n?_l(n,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const r=e[t];if(i[r]!==n[r]&&!wl(c,r))return!0}}return!1}(e,t,r)){if(n.asyncDep&&!n.asyncResolved)return void P(n,t,r);n.next=t,n.update()}else t.el=e.el,n.vnode=t},C=(e,t,r,n,a,o,i)=>{const s=()=>{if(e.isMounted){let{next:t,bu:r,u:n,parent:l,vnode:u}=e;{const r=ll(e);if(r)return t&&(t.el=u.el,P(e,t,i)),void r.asyncDep.then((()=>{e.isUnmounted||s()}))}let d,p=t;il(e,!1),t?(t.el=u.el,P(e,t,i)):t=u,r&&Dn(r),(d=t.props&&t.props.onVnodeBeforeUpdate)&&ec(d,l,t,u),il(e,!0);const f=xl(e),m=e.subTree;e.subTree=f,h(m,f,c(m.el),U(m),e,a,o),t.el=f.el,null===p&&function({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n!==e)break;(e=t.vnode).el=r,t=t.parent}}(e,f.el),n&&nl(n,a),(d=t.props&&t.props.onVnodeUpdated)&&nl((()=>ec(d,l,t,u)),a)}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d,root:p,type:f}=e,m=Qi(t);il(e,!1),c&&Dn(c),!m&&(i=l&&l.onVnodeBeforeMount)&&ec(i,d,t),il(e,!0);{p.ce&&!1!==p.ce._def.shadowRoot&&p.ce._injectChildStyle(f);const i=e.subTree=xl(e);h(null,i,r,n,e,a,o),t.el=i.el}if(u&&nl(u,a),!m&&(i=l&&l.onVnodeMounted)){const e=t;nl((()=>ec(i,d,e)),a)}(256&t.shapeFlag||d&&Qi(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&nl(e.a,a),e.isMounted=!0,t=r=n=null}};e.scope.on();const l=e.effect=new oa(s);e.scope.off();const u=e.update=l.run.bind(l),d=e.job=l.runIfDirty.bind(l);d.i=e,d.id=e.uid,l.scheduler=()=>Jo(d),il(e,!0),u()},P=(e,t,r)=>{t.component=e;const n=e.vnode.props;e.vnode=t,e.next=null,function(e,t,r,n){const{props:a,attrs:o,vnode:{patchFlag:i}}=e,s=Oo(a),[l]=e.propsOptions;let c=!1;if(!(n||i>0)||16&i){let n;Vs(e,t,a,o)&&(c=!0);for(const o in s)t&&(un(t,o)||(n=Cn(o))!==o&&un(t,n))||(l?!r||void 0===r[o]&&void 0===r[n]||(a[o]=Zs(l,s,o,void 0,e,!0)):delete a[o]);if(o!==s)for(const e in o)t&&un(t,e)||(delete o[e],c=!0)}else if(8&i){const r=e.vnode.dynamicProps;for(let n=0;n<r.length;n++){let i=r[n];if(wl(e.emitsOptions,i))continue;const u=t[i];if(l)if(un(o,i))u!==o[i]&&(o[i]=u,c=!0);else{const t=Tn(i);a[t]=Zs(l,s,t,u,e,!1)}else u!==o[i]&&(o[i]=u,c=!0)}}c&&Ma(e.attrs,"set","")}(e,t.props,n,r),((e,t,r)=>{const{vnode:n,slots:a}=e;let o=!0,i=en;if(32&n.shapeFlag){const e=t._;e?r&&1===e?o=!1:rl(a,t,r):(o=!t.$stable,el(t,a)),i=t}else t&&(tl(e,t),i={default:1});if(o)for(const e in a)Ys(e)||null!=i[e]||delete a[e]})(e,t.children,r),Oa(),ri(e),wa()},$=(e,t,r,n,a,o,i,s,c=!1)=>{const u=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:f}=t;if(h>0){if(128&h)return void D(u,p,r,n,a,o,i,s,c);if(256&h)return void M(u,p,r,n,a,o,i,s,c)}8&f?(16&d&&B(u,a,o),p!==u&&l(r,p)):16&d?16&f?D(u,p,r,n,a,o,i,s,c):B(u,a,o,!0):(8&d&&l(r,""),16&f&&w(p,r,n,a,o,i,s,c))},M=(e,t,r,n,a,o,i,s,l)=>{t=t||tn;const c=(e=e||tn).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){const n=t[p]=l?Yl(t[p]):Gl(t[p]);h(e[p],n,r,null,a,o,i,s,l)}c>u?B(e,a,o,!0,!1,d):w(t,r,n,a,o,i,s,l,d)},D=(e,t,r,n,a,o,i,s,l)=>{let c=0;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){const n=e[c],u=t[c]=l?Yl(t[c]):Gl(t[c]);if(!Ul(n,u))break;h(n,u,r,null,a,o,i,s,l),c++}for(;c<=d&&c<=p;){const n=e[d],c=t[p]=l?Yl(t[p]):Gl(t[p]);if(!Ul(n,c))break;h(n,c,r,null,a,o,i,s,l),d--,p--}if(c>d){if(c<=p){const e=p+1,d=e<u?t[e].el:n;for(;c<=p;)h(null,t[c]=l?Yl(t[c]):Gl(t[c]),r,d,a,o,i,s,l),c++}}else if(c>p)for(;c<=d;)N(e[c],a,o,!0),c++;else{const f=c,m=c,g=new Map;for(c=m;c<=p;c++){const e=t[c]=l?Yl(t[c]):Gl(t[c]);null!=e.key&&g.set(e.key,c)}let b,v=0;const y=p-m+1;let O=!1,w=0;const x=new Array(y);for(c=0;c<y;c++)x[c]=0;for(c=f;c<=d;c++){const n=e[c];if(v>=y){N(n,a,o,!0);continue}let u;if(null!=n.key)u=g.get(n.key);else for(b=m;b<=p;b++)if(0===x[b-m]&&Ul(n,t[b])){u=b;break}void 0===u?N(n,a,o,!0):(x[u-m]=c+1,u>=w?w=u:O=!0,h(n,t[u],r,null,a,o,i,s,l),v++)}const k=O?function(e){const t=e.slice(),r=[0];let n,a,o,i,s;const l=e.length;for(n=0;n<l;n++){const l=e[n];if(0!==l){if(a=r[r.length-1],e[a]<l){t[n]=a,r.push(n);continue}for(o=0,i=r.length-1;o<i;)s=o+i>>1,e[r[s]]<l?o=s+1:i=s;l<e[r[o]]&&(o>0&&(t[n]=r[o-1]),r[o]=n)}}for(o=r.length,i=r[o-1];o-- >0;)r[o]=i,i=t[i];return r}(x):tn;for(b=k.length-1,c=y-1;c>=0;c--){const e=m+c,d=t[e],p=e+1<u?t[e+1].el:n;0===x[c]?h(null,d,r,p,a,o,i,s,l):O&&(b<0||c!==k[b]?R(d,r,p,2):b--)}}},R=(e,n,a,o,i=null)=>{const{el:s,type:l,transition:c,children:u,shapeFlag:d}=e;if(6&d)R(e.component.subTree,n,a,o);else if(128&d)e.suspense.move(n,a,o);else if(64&d)l.move(e,n,a,z);else if(l!==Tl)if(l!==Pl)if(2!==o&&1&d&&c)if(0===o)c.beforeEnter(s),t(s,n,a),nl((()=>c.enter(s)),i);else{const{leave:o,delayLeave:i,afterLeave:l}=c,u=()=>{e.ctx.isUnmounted?r(s):t(s,n,a)},d=()=>{o(s,(()=>{u(),l&&l()}))};i?i(s,u,d):d()}else t(s,n,a);else b(e,n,a);else{t(s,n,a);for(let e=0;e<u.length;e++)R(u[e],n,a,o);t(e.anchor,n,a)}},N=(e,t,r,n=!1,a=!1)=>{const{type:o,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:h}=e;if(-2===d&&(a=!1),null!=s&&(Oa(),Fi(s,null,r,e,!0),wa()),null!=h&&(t.renderCache[h]=void 0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,m=!Qi(e);let g;if(m&&(g=i&&i.onVnodeBeforeUnmount)&&ec(g,t,e),6&u)j(e.component,r,n);else{if(128&u)return void e.suspense.unmount(r,n);f&&di(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,r,z,n):c&&!c.hasOnce&&(o!==Tl||d>0&&64&d)?B(c,t,r,!1,!0):(o===Tl&&384&d||!a&&16&u)&&B(l,t,r),n&&I(e)}(m&&(g=i&&i.onVnodeUnmounted)||f)&&nl((()=>{g&&ec(g,t,e),f&&di(e,null,t,"unmounted")}),r)},I=e=>{const{type:t,el:n,anchor:a,transition:o}=e;if(t===Tl)return void L(n,a);if(t===Pl)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=u(e),r(e),e=n;r(t)})(e);const i=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,a=()=>t(n,i);r?r(e.el,i,a):a()}else i()},L=(e,t)=>{let n;for(;e!==t;)n=u(e),r(e),e=n;r(t)},j=(e,t,r)=>{const{bum:n,scope:a,job:o,subTree:i,um:s,m:l,a:c,parent:u,slots:{__:d}}=e;cl(l),cl(c),n&&Dn(n),u&&dn(d)&&d.forEach((e=>{u.renderCache[e]=void 0})),a.stop(),o&&(o.flags|=8,N(i,e,t,r)),s&&nl(s,t),nl((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},B=(e,t,r,n=!1,a=!1,o=0)=>{for(let i=o;i<e.length;i++)N(e[i],t,r,n,a)},U=e=>{if(6&e.shapeFlag)return U(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=u(e.anchor||e.el),r=t&&t[pi];return r?u(r):t};let F=!1;const Q=(e,t,r)=>{null==e?t._vnode&&N(t._vnode,null,null,!0):h(t._vnode||null,e,t,null,null,null,r),t._vnode=e,F||(F=!0,ri(),ni(),F=!1)},z={p:h,um:N,m:R,r:I,mt:T,mc:w,pc:$,pbc:k,n:U,o:e};return{render:Q,hydrate:undefined,createApp:js(Q)}}(e)}function ol({type:e,props:t},r){return"svg"===r&&"foreignObject"===e||"mathml"===r&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function il({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function sl(e,t,r=!1){const n=e.children,a=t.children;if(dn(n)&&dn(a))for(let e=0;e<n.length;e++){const t=n[e];let o=a[e];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=a[e]=Yl(a[e]),o.el=t.el),r||-2===o.patchFlag||sl(t,o)),o.type===Al&&(o.el=t.el),o.type!==Cl||o.el||(o.el=t.el)}}function ll(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ll(t)}function cl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ul=Symbol.for("v-scx"),dl=()=>Fs(ul);function pl(e,t){return fl(e,null,t)}function hl(e,t,r){return fl(e,t,r)}function fl(e,t,r=en){const{immediate:n,deep:a,flush:o,once:i}=r,s=sn({},r),l=t&&n||!t&&"post"!==o;let c;if(uc)if("sync"===o){const e=dl();c=e.__watcherHandles||(e.__watcherHandles=[])}else if(!l){const e=()=>{};return e.stop=rn,e.resume=rn,e.pause=rn,e}const u=nc;s.call=(e,t,r)=>zo(e,u,t,r);let d=!1;"post"===o?s.scheduler=e=>{nl(e,u&&u.suspense)}:"sync"!==o&&(d=!0,s.scheduler=(e,t)=>{t?e():Jo(e)}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};const p=function(e,t,r=en){const{immediate:n,deep:a,once:o,scheduler:i,augmentJob:s,call:l}=r,c=e=>a?e:vo(e)||!1===a||0===a?Fo(e,1):Fo(e);let u,d,p,h,f=!1,m=!1;if(ko(e)?(d=()=>e.value,f=vo(e)):go(e)?(d=()=>c(e),f=!0):dn(e)?(m=!0,f=e.some((e=>go(e)||vo(e))),d=()=>e.map((e=>ko(e)?e.value:go(e)?c(e):mn(e)?l?l(e,2):e():void 0))):d=mn(e)?t?l?()=>l(e,2):e:()=>{if(p){Oa();try{p()}finally{wa()}}const t=Uo;Uo=u;try{return l?l(e,3,[h]):e(h)}finally{Uo=t}}:rn,t&&a){const e=d,t=!0===a?1/0:a;d=()=>Fo(e(),t)}const g=ra(),b=()=>{u.stop(),g&&g.active&&ln(g.effects,u)};if(o&&t){const e=t;t=(...t)=>{e(...t),b()}}let v=m?new Array(e.length).fill(jo):jo;const y=e=>{if(1&u.flags&&(u.dirty||e))if(t){const e=u.run();if(a||f||(m?e.some(((e,t)=>Mn(e,v[t]))):Mn(e,v))){p&&p();const r=Uo;Uo=u;try{const r=[e,v===jo?void 0:m&&v[0]===jo?[]:v,h];v=e,l?l(t,3,r):t(...r)}finally{Uo=r}}}else u.run()};return s&&s(y),u=new oa(d),u.scheduler=i?()=>i(y,!1):y,h=e=>function(e,t=!1,r=Uo){if(r){let t=Bo.get(r);t||Bo.set(r,t=[]),t.push(e)}}(e,!1,u),p=u.onStop=()=>{const e=Bo.get(u);if(e){if(l)l(e,4);else for(const t of e)t();Bo.delete(u)}},t?n?y(!0):v=u.run():i?i(y.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}(e,t,s);return uc&&(c?c.push(p):l&&p()),p}function ml(e,t,r){const n=this.proxy,a=gn(e)?e.includes(".")?gl(n,e):()=>n[e]:e.bind(n,n);let o;mn(t)?o=t:(o=t.handler,r=t);const i=sc(this),s=fl(a,o.bind(n),r);return i(),s}function gl(e,t){const r=t.split(".");return()=>{let t=e;for(let e=0;e<r.length&&t;e++)t=t[r[e]];return t}}function bl(e,t,r=en){const n=ac(),a=Tn(t),o=Cn(t),i=vl(e,a),s=Do(((i,s)=>{let l,c,u=en;return fl((()=>{const t=e[a];Mn(l,t)&&(l=t,s())}),null,{flush:"sync"}),{get:()=>(i(),r.get?r.get(l):l),set(e){const i=r.set?r.set(e):e;if(!(Mn(i,l)||u!==en&&Mn(e,u)))return;const d=n.vnode.props;d&&(t in d||a in d||o in d)&&(`onUpdate:${t}`in d||`onUpdate:${a}`in d||`onUpdate:${o}`in d)||(l=e,s()),n.emit(`update:${t}`,i),Mn(e,i)&&Mn(e,u)&&!Mn(i,c)&&s(),u=e,c=i}}}));return s[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?i||en:s,done:!1}:{done:!0}}},s}const vl=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${Tn(t)}Modifiers`]||e[`${Cn(t)}Modifiers`];function yl(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||en;let a=r;const o=t.startsWith("update:"),i=o&&vl(n,t.slice(7));let s;i&&(i.trim&&(a=r.map((e=>gn(e)?e.trim():e))),i.number&&(a=r.map(Nn)));let l=n[s=$n(t)]||n[s=$n(Tn(t))];!l&&o&&(l=n[s=$n(Cn(t))]),l&&zo(l,e,6,a);const c=n[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,zo(c,e,6,a)}}function Ol(e,t,r=!1){const n=t.emitsCache,a=n.get(e);if(void 0!==a)return a;const o=e.emits;let i={},s=!1;if(!mn(e)){const n=e=>{const r=Ol(e,t,!0);r&&(s=!0,sn(i,r))};!r&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}return o||s?(dn(o)?o.forEach((e=>i[e]=null)):sn(i,o),vn(e)&&n.set(e,i),i):(vn(e)&&n.set(e,null),null)}function wl(e,t){return!(!e||!an(t))&&(t=t.slice(2).replace(/Once$/,""),un(e,t[0].toLowerCase()+t.slice(1))||un(e,Cn(t))||un(e,t))}function xl(e){const{type:t,vnode:r,proxy:n,withProxy:a,propsOptions:[o],slots:i,attrs:s,emit:l,render:c,renderCache:u,props:d,data:p,setupState:h,ctx:f,inheritAttrs:m}=e,g=li(e);let b,v;try{if(4&r.shapeFlag){const e=a||n,t=e;b=Gl(c.call(t,e,u,d,h,p,f)),v=s}else{const e=t;b=Gl(e.length>1?e(d,{attrs:s,slots:i,emit:l}):e(d,null)),v=t.props?s:kl(s)}}catch(t){$l.length=0,qo(t,e,1),b=ql(Cl)}let y=b;if(v&&!1!==m){const e=Object.keys(v),{shapeFlag:t}=y;e.length&&7&t&&(o&&e.some(on)&&(v=Sl(v,o)),y=Vl(y,v,!1,!0))}return r.dirs&&(y=Vl(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&Ni(y,r.transition),b=y,li(g),b}const kl=e=>{let t;for(const r in e)("class"===r||"style"===r||an(r))&&((t||(t={}))[r]=e[r]);return t},Sl=(e,t)=>{const r={};for(const n in e)on(n)&&n.slice(9)in t||(r[n]=e[n]);return r};function _l(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let a=0;a<n.length;a++){const o=n[a];if(t[o]!==e[o]&&!wl(r,o))return!0}return!1}const El=e=>e.__isSuspense,Tl=Symbol.for("v-fgt"),Al=Symbol.for("v-txt"),Cl=Symbol.for("v-cmt"),Pl=Symbol.for("v-stc"),$l=[];let Ml=null;function Dl(e=!1){$l.push(Ml=e?null:[])}let Rl=1;function Nl(e,t=!1){Rl+=e,e<0&&Ml&&t&&(Ml.hasOnce=!0)}function Il(e){return e.dynamicChildren=Rl>0?Ml||tn:null,$l.pop(),Ml=$l[$l.length-1]||null,Rl>0&&Ml&&Ml.push(e),e}function Ll(e,t,r,n,a,o){return Il(zl(e,t,r,n,a,o,!0))}function jl(e,t,r,n,a){return Il(ql(e,t,r,n,a,!0))}function Bl(e){return!!e&&!0===e.__v_isVNode}function Ul(e,t){return e.type===t.type&&e.key===t.key}const Fl=({key:e})=>null!=e?e:null,Ql=({ref:e,ref_key:t,ref_for:r})=>("number"==typeof e&&(e=""+e),null!=e?gn(e)||ko(e)||mn(e)?{i:ii,r:e,k:t,f:!!r}:e:null);function zl(e,t=null,r=null,n=0,a=null,o=(e===Tl?0:1),i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fl(t),ref:t&&Ql(t),scopeId:si,slotScopeIds:null,children:r,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:o,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ii};return s?(Kl(l,r),128&o&&e.normalize(l)):r&&(l.shapeFlag|=gn(r)?8:16),Rl>0&&!i&&Ml&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&Ml.push(l),l}const ql=function(e,t=null,r=null,n=0,a=null,o=!1){if(e&&e!==ls||(e=Cl),Bl(e)){const n=Vl(e,t,!0);return r&&Kl(n,r),Rl>0&&!o&&Ml&&(6&n.shapeFlag?Ml[Ml.indexOf(e)]=n:Ml.push(n)),n.patchFlag=-2,n}var i;if(mn(i=e)&&"__vccOpts"in i&&(e=e.__vccOpts),t){t=Hl(t);let{class:e,style:r}=t;e&&!gn(e)&&(t.class=zn(e)),vn(r)&&(yo(r)&&!dn(r)&&(r=sn({},r)),t.style=jn(r))}return zl(e,t,r,n,a,gn(e)?1:El(e)?128:hi(e)?64:vn(e)?4:mn(e)?2:0,o,!0)};function Hl(e){return e?yo(e)||Hs(e)?sn({},e):e:null}function Vl(e,t,r=!1,n=!1){const{props:a,ref:o,patchFlag:i,children:s,transition:l}=e,c=t?Jl(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Fl(c),ref:t&&t.ref?r&&o?dn(o)?o.concat(Ql(t)):[o,Ql(t)]:Ql(t):o,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!==Tl?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vl(e.ssContent),ssFallback:e.ssFallback&&Vl(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Ni(u,l.clone(u)),u}function Zl(e=" ",t=0){return ql(Al,null,e,t)}function Wl(e,t){const r=ql(Pl,null,e);return r.staticCount=t,r}function Xl(e="",t=!1){return t?(Dl(),jl(Cl,null,e)):ql(Cl,null,e)}function Gl(e){return null==e||"boolean"==typeof e?ql(Cl):dn(e)?ql(Tl,null,e.slice()):Bl(e)?Yl(e):ql(Al,null,String(e))}function Yl(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Vl(e)}function Kl(e,t){let r=0;const{shapeFlag:n}=e;if(null==t)t=null;else if(dn(t))r=16;else if("object"==typeof t){if(65&n){const r=t.default;return void(r&&(r._c&&(r._d=!1),Kl(e,r()),r._c&&(r._d=!0)))}{r=32;const n=t._;n||Hs(t)?3===n&&ii&&(1===ii.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ii}}else mn(t)?(t={default:t,_ctx:ii},r=32):(t=String(t),64&n?(r=16,t=[Zl(t)]):r=8);e.children=t,e.shapeFlag|=r}function Jl(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const e in n)if("class"===e)t.class!==n.class&&(t.class=zn([t.class,n.class]));else if("style"===e)t.style=jn([t.style,n.style]);else if(an(e)){const r=t[e],a=n[e];!a||r===a||dn(r)&&r.includes(a)||(t[e]=r?[].concat(r,a):a)}else""!==e&&(t[e]=n[e])}return t}function ec(e,t,r,n=null){zo(e,t,7,[r,n])}const tc=Is();let rc=0,nc=null;const ac=()=>nc||ii;let oc,ic;{const e=Ln(),t=(t,r)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(r),e=>{n.length>1?n.forEach((t=>t(e))):n[0](e)}};oc=t("__VUE_INSTANCE_SETTERS__",(e=>nc=e)),ic=t("__VUE_SSR_SETTERS__",(e=>uc=e))}const sc=e=>{const t=nc;return oc(e),e.scope.on(),()=>{e.scope.off(),oc(t)}},lc=()=>{nc&&nc.scope.off(),oc(null)};function cc(e){return 4&e.vnode.shapeFlag}let uc=!1;function dc(e,t,r){mn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:vn(t)&&(e.setupState=$o(t)),pc(e)}function pc(e,t,r){const n=e.type;e.render||(e.render=n.render||rn);{const t=sc(e);Oa();try{!function(e){const t=As(e),r=e.proxy,n=e.ctx;_s=!1,t.beforeCreate&&Es(t.beforeCreate,e,"bc");const{data:a,computed:o,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:f,activated:m,deactivated:g,beforeDestroy:b,beforeUnmount:v,destroyed:y,unmounted:O,render:w,renderTracked:x,renderTriggered:k,errorCaptured:S,serverPrefetch:_,expose:E,inheritAttrs:T,components:A,directives:C,filters:P}=t;if(c&&function(e,t){dn(e)&&(e=Ms(e));for(const r in e){const n=e[r];let a;a=vn(n)?"default"in n?Fs(n.from||r,n.default,!0):Fs(n.from||r):Fs(n),ko(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e}):t[r]=a}}(c,n),i)for(const e in i){const t=i[e];mn(t)&&(n[e]=t.bind(r))}if(a){const t=a.call(r,r);vn(t)&&(e.data=uo(t))}if(_s=!0,o)for(const e in o){const t=o[e],a=mn(t)?t.bind(r,r):mn(t.get)?t.get.bind(r,r):rn,i=!mn(t)&&mn(t.set)?t.set.bind(r):rn,s=gc({get:a,set:i});Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(s)for(const e in s)Ts(s[e],n,r,e);if(l){const e=mn(l)?l.call(r):l;Reflect.ownKeys(e).forEach((t=>{Us(t,e[t])}))}function $(e,t){dn(t)?t.forEach((t=>e(t.bind(r)))):t&&e(t.bind(r))}if(u&&Es(u,e,"c"),$(Gi,d),$(Yi,p),$(Ki,h),$(Ji,f),$(qi,m),$(Hi,g),$(os,S),$(as,x),$(ns,k),$(es,v),$(ts,O),$(rs,_),dn(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>r[e],set:t=>r[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===rn&&(e.render=w),null!=T&&(e.inheritAttrs=T),A&&(e.components=A),C&&(e.directives=C),_&&Bi(e)}(e)}finally{wa(),t()}}}const hc={get:(e,t)=>($a(e,0,""),e[t])};function fc(e){return{attrs:new Proxy(e.attrs,hc),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function mc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy($o((t=e.exposed,!un(t,"__v_skip")&&Object.isExtensible(t)&&Rn(t,"__v_skip",!0),t)),{get:(t,r)=>r in t?t[r]:r in bs?bs[r](e):void 0,has:(e,t)=>t in e||t in bs})):e.proxy;var t}const gc=(e,t)=>{const r=function(e,t,r=!1){let n,a;return mn(e)?n=e:(n=e.get,a=e.set),new Lo(n,a,r)}(e,0,uc);return r};function bc(e,t,r){const n=arguments.length;return 2===n?vn(t)&&!dn(t)?Bl(t)?ql(e,null,[t]):ql(e,t):ql(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):3===n&&Bl(r)&&(r=[r]),ql(e,t,r))}const vc="3.5.17";
/**
* @vue/runtime-dom v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let yc;const Oc="undefined"!=typeof window&&window.trustedTypes;if(Oc)try{yc=Oc.createPolicy("vue",{createHTML:e=>e})}catch(XU){}const wc=yc?e=>yc.createHTML(e):e=>e,xc="undefined"!=typeof document?document:null,kc=xc&&xc.createElement("template"),Sc={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const a="svg"===t?xc.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?xc.createElementNS("http://www.w3.org/1998/Math/MathML",e):r?xc.createElement(e,{is:r}):xc.createElement(e);return"select"===e&&n&&null!=n.multiple&&a.setAttribute("multiple",n.multiple),a},createText:e=>xc.createTextNode(e),createComment:e=>xc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,a,o){const i=r?r.previousSibling:t.lastChild;if(a&&(a===o||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),a!==o&&(a=a.nextSibling););else{kc.innerHTML=wc("svg"===n?`<svg>${e}</svg>`:"mathml"===n?`<math>${e}</math>`:e);const a=kc.content;if("svg"===n||"mathml"===n){const e=a.firstChild;for(;e.firstChild;)a.appendChild(e.firstChild);a.removeChild(e)}t.insertBefore(a,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},_c="transition",Ec="animation",Tc=Symbol("_vtc"),Ac={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},Cc=sn({},Ti,Ac),Pc=(e=>(e.displayName="Transition",e.props=Cc,e))(((e,{slots:t})=>bc(Pi,function(e){const t={};for(const r in e)r in Ac||(t[r]=e[r]);if(!1===e.css)return t;const{name:r="v",type:n,duration:a,enterFromClass:o=`${r}-enter-from`,enterActiveClass:i=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:p=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=e,f=function(e){if(null==e)return null;if(vn(e))return[Dc(e.enter),Dc(e.leave)];{const t=Dc(e);return[t,t]}}(a),m=f&&f[0],g=f&&f[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:y,onLeave:O,onLeaveCancelled:w,onBeforeAppear:x=b,onAppear:k=v,onAppearCancelled:S=y}=t,_=(e,t,r,n)=>{e._enterCancelled=n,Nc(e,t?u:s),Nc(e,t?c:i),r&&r()},E=(e,t)=>{e._isLeaving=!1,Nc(e,d),Nc(e,h),Nc(e,p),t&&t()},T=e=>(t,r)=>{const a=e?k:v,i=()=>_(t,e,r);$c(a,[t,i]),Ic((()=>{Nc(t,e?l:o),Rc(t,e?u:s),Mc(a)||jc(t,n,m,i)}))};return sn(t,{onBeforeEnter(e){$c(b,[e]),Rc(e,o),Rc(e,i)},onBeforeAppear(e){$c(x,[e]),Rc(e,l),Rc(e,c)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const r=()=>E(e,t);Rc(e,d),e._enterCancelled?(Rc(e,p),Fc()):(Fc(),Rc(e,p)),Ic((()=>{e._isLeaving&&(Nc(e,d),Rc(e,h),Mc(O)||jc(e,n,g,r))})),$c(O,[e,r])},onEnterCancelled(e){_(e,!1,void 0,!0),$c(y,[e])},onAppearCancelled(e){_(e,!0,void 0,!0),$c(S,[e])},onLeaveCancelled(e){E(e),$c(w,[e])}})}(e),t))),$c=(e,t=[])=>{dn(e)?e.forEach((e=>e(...t))):e&&e(...t)},Mc=e=>!!e&&(dn(e)?e.some((e=>e.length>1)):e.length>1);function Dc(e){return(e=>{const t=gn(e)?Number(e):NaN;return isNaN(t)?e:t})(e)}function Rc(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Tc]||(e[Tc]=new Set)).add(t)}function Nc(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const r=e[Tc];r&&(r.delete(t),r.size||(e[Tc]=void 0))}function Ic(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Lc=0;function jc(e,t,r,n){const a=e._endId=++Lc,o=()=>{a===e._endId&&n()};if(null!=r)return setTimeout(o,r);const{type:i,timeout:s,propCount:l}=function(e,t){const r=window.getComputedStyle(e),n=e=>(r[e]||"").split(", "),a=n(`${_c}Delay`),o=n(`${_c}Duration`),i=Bc(a,o),s=n(`${Ec}Delay`),l=n(`${Ec}Duration`),c=Bc(s,l);let u=null,d=0,p=0;t===_c?i>0&&(u=_c,d=i,p=o.length):t===Ec?c>0&&(u=Ec,d=c,p=l.length):(d=Math.max(i,c),u=d>0?i>c?_c:Ec:null,p=u?u===_c?o.length:l.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===_c&&/\b(transform|all)(,|$)/.test(n(`${_c}Property`).toString())}}(e,t);if(!i)return n();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),o()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,p)}function Bc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,r)=>Uc(t)+Uc(e[r]))))}function Uc(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Fc(){return document.body.offsetHeight}const Qc=Symbol("_vod"),zc=Symbol("_vsh"),qc={beforeMount(e,{value:t},{transition:r}){e[Qc]="none"===e.style.display?"":e.style.display,r&&t?r.beforeEnter(e):Hc(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Hc(e,!0),n.enter(e)):n.leave(e,(()=>{Hc(e,!1)})):Hc(e,t))},beforeUnmount(e,{value:t}){Hc(e,t)}};function Hc(e,t){e.style.display=t?e[Qc]:"none",e[zc]=!t}const Vc=Symbol("");function Zc(e){const t=ac();if(!t)return;const r=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>Xc(e,r)))},n=()=>{const n=e(t.proxy);t.ce?Xc(t.ce,n):Wc(t.subTree,n),r(n)};Ki((()=>{ti(n)})),Yi((()=>{hl(n,rn,{flush:"post"});const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),ts((()=>e.disconnect()))}))}function Wc(e,t){if(128&e.shapeFlag){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push((()=>{Wc(r.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Xc(e.el,t);else if(e.type===Tl)e.children.forEach((e=>Wc(e,t)));else if(e.type===Pl){let{el:r,anchor:n}=e;for(;r&&(Xc(r,t),r!==n);)r=r.nextSibling}}function Xc(e,t){if(1===e.nodeType){const r=e.style;let n="";for(const e in t)r.setProperty(`--${e}`,t[e]),n+=`--${e}: ${t[e]};`;r[Vc]=n}}const Gc=/(^|;)\s*display\s*:/,Yc=/\s*!important$/;function Kc(e,t,r){if(dn(r))r.forEach((r=>Kc(e,t,r)));else if(null==r&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=function(e,t){const r=eu[t];if(r)return r;let n=Tn(t);if("filter"!==n&&n in e)return eu[t]=n;n=Pn(n);for(let r=0;r<Jc.length;r++){const a=Jc[r]+n;if(a in e)return eu[t]=a}return t}(e,t);Yc.test(r)?e.setProperty(Cn(n),r.replace(Yc,""),"important"):e[n]=r}}const Jc=["Webkit","Moz","ms"],eu={},tu="http://www.w3.org/1999/xlink";function ru(e,t,r,n,a,o=Hn(t)){n&&t.startsWith("xlink:")?null==r?e.removeAttributeNS(tu,t.slice(6,t.length)):e.setAttributeNS(tu,t,r):null==r||o&&!Vn(r)?e.removeAttribute(t):e.setAttribute(t,o?"":bn(r)?String(r):r)}function nu(e,t,r,n,a){if("innerHTML"===t||"textContent"===t)return void(null!=r&&(e[t]="innerHTML"===t?wc(r):r));const o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){const n="OPTION"===o?e.getAttribute("value")||"":e.value,a=null==r?"checkbox"===e.type?"on":"":String(r);return n===a&&"_value"in e||(e.value=a),null==r&&e.removeAttribute(t),void(e._value=r)}let i=!1;if(""===r||null==r){const n=typeof e[t];"boolean"===n?r=Vn(r):null==r&&"string"===n?(r="",i=!0):"number"===n&&(r=0,i=!0)}try{e[t]=r}catch(e){}i&&e.removeAttribute(a||t)}function au(e,t,r,n){e.addEventListener(t,r,n)}const ou=Symbol("_vei");const iu=/(?:Once|Passive|Capture)$/;let su=0;const lu=Promise.resolve(),cu=()=>su||(lu.then((()=>su=0)),su=Date.now()),uu=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,du=e=>{const t=e.props["onUpdate:modelValue"]||!1;return dn(t)?e=>Dn(t,e):t};function pu(e){e.target.composing=!0}function hu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const fu=Symbol("_assign"),mu={created(e,{modifiers:{lazy:t,trim:r,number:n}},a){e[fu]=du(a);const o=n||a.props&&"number"===a.props.type;au(e,t?"change":"input",(t=>{if(t.target.composing)return;let n=e.value;r&&(n=n.trim()),o&&(n=Nn(n)),e[fu](n)})),r&&au(e,"change",(()=>{e.value=e.value.trim()})),t||(au(e,"compositionstart",pu),au(e,"compositionend",hu),au(e,"change",hu))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:a,number:o}},i){if(e[fu]=du(i),e.composing)return;const s=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Nn(e.value))!==s){if(document.activeElement===e&&"range"!==e.type){if(n&&t===r)return;if(a&&e.value.trim()===s)return}e.value=s}}},gu={deep:!0,created(e,t,r){e[fu]=du(r),au(e,"change",(()=>{const t=e._modelValue,r=wu(e),n=e.checked,a=e[fu];if(dn(t)){const e=Wn(t,r),o=-1!==e;if(n&&!o)a(t.concat(r));else if(!n&&o){const r=[...t];r.splice(e,1),a(r)}}else if(hn(t)){const e=new Set(t);n?e.add(r):e.delete(r),a(e)}else a(xu(e,n))}))},mounted:bu,beforeUpdate(e,t,r){e[fu]=du(r),bu(e,t,r)}};function bu(e,{value:t,oldValue:r},n){let a;if(e._modelValue=t,dn(t))a=Wn(t,n.props.value)>-1;else if(hn(t))a=t.has(n.props.value);else{if(t===r)return;a=Zn(t,xu(e,!0))}e.checked!==a&&(e.checked=a)}const vu={created(e,{value:t},r){e.checked=Zn(t,r.props.value),e[fu]=du(r),au(e,"change",(()=>{e[fu](wu(e))}))},beforeUpdate(e,{value:t,oldValue:r},n){e[fu]=du(n),t!==r&&(e.checked=Zn(t,n.props.value))}},yu={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const a=hn(t);au(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>r?Nn(wu(e)):wu(e)));e[fu](e.multiple?a?new Set(t):t:t[0]),e._assigning=!0,Ko((()=>{e._assigning=!1}))})),e[fu]=du(n)},mounted(e,{value:t}){Ou(e,t)},beforeUpdate(e,t,r){e[fu]=du(r)},updated(e,{value:t}){e._assigning||Ou(e,t)}};function Ou(e,t){const r=e.multiple,n=dn(t);if(!r||n||hn(t)){for(let a=0,o=e.options.length;a<o;a++){const o=e.options[a],i=wu(o);if(r)if(n){const e=typeof i;o.selected="string"===e||"number"===e?t.some((e=>String(e)===String(i))):Wn(t,i)>-1}else o.selected=t.has(i);else if(Zn(wu(o),t))return void(e.selectedIndex!==a&&(e.selectedIndex=a))}r||-1===e.selectedIndex||(e.selectedIndex=-1)}}function wu(e){return"_value"in e?e._value:e.value}function xu(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const ku={created(e,t,r){Su(e,t,r,null,"created")},mounted(e,t,r){Su(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){Su(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){Su(e,t,r,n,"updated")}};function Su(e,t,r,n,a){const o=function(e,t){switch(e){case"SELECT":return yu;case"TEXTAREA":return mu;default:switch(t){case"checkbox":return gu;case"radio":return vu;default:return mu}}}(e.tagName,r.props&&r.props.type)[a];o&&o(e,t,r,n)}const _u=["ctrl","shift","alt","meta"],Eu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>_u.some((r=>e[`${r}Key`]&&!t.includes(r)))},Tu=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(r,...n)=>{for(let e=0;e<t.length;e++){const n=Eu[t[e]];if(n&&n(r,t))return}return e(r,...n)})},Au={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Cu=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=r=>{if(!("key"in r))return;const n=Cn(r.key);return t.some((e=>e===n||Au[e]===n))?e(r):void 0})},Pu=sn({patchProp:(e,t,r,n,a,o)=>{const i="svg"===a;"class"===t?function(e,t,r){const n=e[Tc];n&&(t=(t?[t,...n]:[...n]).join(" ")),null==t?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}(e,n,i):"style"===t?function(e,t,r){const n=e.style,a=gn(r);let o=!1;if(r&&!a){if(t)if(gn(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==r[t]&&Kc(n,t,"")}else for(const e in t)null==r[e]&&Kc(n,e,"");for(const e in r)"display"===e&&(o=!0),Kc(n,e,r[e])}else if(a){if(t!==r){const e=n[Vc];e&&(r+=";"+e),n.cssText=r,o=Gc.test(r)}}else t&&e.removeAttribute("style");Qc in e&&(e[Qc]=o?n.display:"",e[zc]&&(n.display="none"))}(e,r,n):an(t)?on(t)||function(e,t,r,n,a=null){const o=e[ou]||(e[ou]={}),i=o[t];if(n&&i)i.value=n;else{const[r,s]=function(e){let t;if(iu.test(e)){let r;for(t={};r=e.match(iu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):Cn(e.slice(2)),t]}(t);if(n){const i=o[t]=function(e,t){const r=e=>{if(e._vts){if(e._vts<=r.attached)return}else e._vts=Date.now();zo(function(e,t){if(dn(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,r.value),t,5,[e])};return r.value=e,r.attached=cu(),r}(n,a);au(e,r,i,s)}else i&&(function(e,t,r,n){e.removeEventListener(t,r,n)}(e,r,i,s),o[t]=void 0)}}(e,t,0,n,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,r,n){if(n)return"innerHTML"===t||"textContent"===t||!!(t in e&&uu(t)&&mn(r));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!uu(t)||!gn(r))&&t in e}(e,t,n,i))?(nu(e,t,n),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||ru(e,t,n,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&gn(n)?("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),ru(e,t,n,i)):nu(e,Tn(t),n,0,t)}},Sc);let $u;function Mu(){return $u||($u=al(Pu))}const Du=(...e)=>{Mu().render(...e)},Ru=(...e)=>{const t=Mu().createApp(...e),{mount:r}=t;return t.mount=e=>{const n=function(e){return gn(e)?document.querySelector(e):e}(e);if(!n)return;const a=t._component;mn(a)||a.render||a.template||(a.template=n.innerHTML),1===n.nodeType&&(n.textContent="");const o=r(n,!1,function(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t},Nu="3"===vc[0];function Iu(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t="function"==typeof(r=e)?r():Ao(r);var r;if(!e||!t)return t;if(Array.isArray(t))return t.map((e=>Iu(e)));if("object"==typeof t){const e={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&("titleTemplate"===r||"o"===r[0]&&"n"===r[1]?e[r]=Ao(t[r]):e[r]=Iu(t[r]));return e}return t}const Lu={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Iu(t.input)}}},ju="usehead";function Bu(e={}){e.domDelayFn=e.domDelayFn||(e=>Ko((()=>setTimeout((()=>e()),0))));const t=function(e={}){const t=function(e={}){const t=new Lr;t.addHooks(e.hooks||{}),e.document=e.document||(Kt?document:void 0);const r=!e.document,n=()=>{s.dirty=!0,t.callHook("entries:updated",s)};let a=0,o=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries:()=>o,use(e){const n="function"==typeof e?e(s):e;n.key&&i.some((e=>e.key===n.key))||(i.push(n),Kr(n.mode,r)&&t.addHooks(n.hooks||{}))},push(e,t){delete t?.head;const i={_i:a++,input:e,...t};return Kr(i.mode,r)&&(o.push(i),n()),{dispose(){o=o.filter((e=>e._i!==i._i)),n()},patch(e){for(const t of o)t._i===i._i&&(t.input=i.input=e);n()}}},async resolveTags(){const e={tags:[],entries:[...o]};await t.callHook("entries:resolve",e);for(const r of e.entries){const n=r.resolvedInput||r.input;if(r.resolvedInput=await(r.transform?r.transform(n):n),r.resolvedInput)for(const n of await vr(r)){const a={tag:n,entry:r,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",a),e.tags.push(a.tag)}}return await t.callHook("tags:beforeResolve",e),await t.callHook("tags:resolve",e),await t.callHook("tags:afterResolve",e),e.tags},ssr:r};return[Br,qr,Fr,zr,Hr,Wr,Xr,Gr,...e?.plugins||[]].forEach((e=>s.use(e))),s.hooks.callHook("init",s),s}(e);return t.use(Pr()),Yr=t}(e);return t.use(Lu),t.install=function(e){return{install(t){Nu&&(t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(ju,e))}}.install}(t),t}const Uu="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Fu="__unhead_injection_handler__";function Qu(e,t={}){const r=t.head||(Fu in Uu?Uu[Fu]():Fs(ju)||Yr);if(r)return r.ssr?r.push(e,t):function(e,t,r={}){const n=So(!1),a=So({});pl((()=>{a.value=n.value?{}:Iu(t)}));const o=e.push(a.value,r);return hl(a,(e=>{o.patch(e)})),ac()&&(es((()=>{o.dispose()})),Hi((()=>{n.value=!0})),qi((()=>{n.value=!1}))),o}(r,e,t)}const zu=(e,t)=>{const r=performance.now(),n=t(),a=performance.now(),o=Math.round(a-r);return console.info(`${e}: ${o} ms`),n},qu=async(e,t)=>{const r=performance.now(),n=await t(),a=performance.now(),o=Math.round(a-r);return console.info(`${e}: ${o} ms`),n},Hu=(e,t,r)=>{const[n,a]=e.split("#",2);if(n){if(!r.has(n))return;return a?a.startsWith("/")?`${r.get(n)}${a}`:r.get(`${n}#${a}`):r.get(n)}if(a)return a.startsWith("/")?a.slice(1):r.get(`${t}#${a}`)},Vu=e=>{if(e&&"object"==typeof e&&e.$id&&"string"==typeof e.$id)return e.$id},Zu=e=>e.join("/"),Wu=(e,t="",r=[],n=new Map,a=new WeakSet)=>{if("object"!=typeof e||null===e)return n;if(a.has(e))return n;a.add(e);const o=Vu(e);o&&n.set(o,Zu(r));const i=o??t;e.$anchor&&"string"==typeof e.$anchor&&n.set(`${i}#${e.$anchor}`,Zu(r));for(const t in e)"object"==typeof e[t]&&null!==e[t]&&Wu(e[t],i,[...r,t],n,a);return n};function Xu(e,t){return t.reduce(((e,t)=>void 0===e.value||"object"!=typeof e.value||null===e.value?{context:"",value:void 0}:{context:Vu(e.value)??e.context,value:e.value?.[t]}),{context:"",value:e})}function Gu(e,t){let r=0;for(let t=e.length-1;t>=0;t--){const n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}const Yu=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/,Ku=e=>Yu.exec(e).slice(1);function Ju(e){const t=ed(e),r="/"===ad(e,-1);return(e=Gu(nd(e.split("/"),(e=>!!e)),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function ed(e){return"/"===e.charAt(0)}var td=function(e){const t=Ku(e),r=t[0];let n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},rd=function(...e){return Ju(nd(e,((e,t)=>{if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))};function nd(e,t){if(e.filter)return e.filter(t);const r=[];for(let n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}const ad="b"==="ab".substr(-1)?(e,t,r)=>e.substr(t,r):(e,t,r)=>(t<0&&(t=e.length+t),e.substr(t,r));function od(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function id(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function sd(e){return e.split("/").slice(1).map(id)}const ld=e=>"object"==typeof e&&!Array.isArray(e)&&null!==e;async function cd(e){const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-1",t),n=Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("").substring(0,7);return n.match(/^\d+$/)?"a"+n.substring(1):n}async function ud(e,t,r,n,a=0){if(a>=100)throw"Can not generate unique compressed values";const o=await e(n??t);return void 0!==r[o]&&r[o]!==t?ud(e,t,r,o,a+1):(r[o]=t,o)}const dd=(e,t)=>{const r=Object.fromEntries(Object.entries(t).map((([e,t])=>[t,e])));return{generate:async n=>{const a=r[n];if(a)return a;const o=await ud(e,n,t),i=o.match(/^\d+$/)?`a${o}`:o;return r[n]=i,i}}};function pd(e){try{const t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}function hd(e){return e.startsWith("#")}async function fd(e,t){const r=t.find((t=>t.validate(e)));return r?r.exec(e):{ok:!1}}function md(e,t,r){if(""===t)throw new Error("Cannot set value at root ('') pointer");const n=sd(t);let a=e;for(let e=0;e<n.length;e++){const t=n[e],o=e===n.length-1,i=n[e+1],s=/^\d+$/.test(i??"");o?a[t]=r:(t in a&&"object"==typeof a[t]||(a[t]=s?[]:{}),a=a[t])}}function gd(e,t){if(!hd(e))throw"Please provide an internal ref";return`#/${t.map(od).join("/")}${e.substring(1)}`}function bd(e,t){if(ld(e)&&(Object.values(e).forEach((e=>bd(e,t))),"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref)){const r=e.$ref;if(!hd(r))return;e.$ref=gd(r,t)}}const vd=(e,t,r,n,a,o=new Set)=>{const i=Xu(t,sd(r)).value;if(o.has(i))return;o.add(i),md(e,r,i);const s=r=>{if(r&&"object"==typeof r){"$ref"in r&&"string"==typeof r.$ref&&r.$ref.startsWith(`#/${n}/${od(a)}`)&&vd(e,t,r.$ref.substring(1),a,n,o);for(const e of Object.values(r))s(e)}};s(i)},yd="x-ext",Od="x-ext-urls";async function wd(e,t){const r=t.cache??new Map,n=t.plugins.filter((e=>"loader"===e.type)),a=t.plugins.filter((e=>"lifecycle"===e.type)),o=await(async()=>{if("string"!=typeof e)return e;const t=await fd(e,n);if(t.ok&&"object"==typeof t.data)return t.data;throw new Error("Failed to resolve input: Please provide a valid string value or pass a loader to process the input")})(),i=t.root??o,s=Wu(i),l=void 0!==t.root&&t.root!==o||void 0!==t.depth,c=t.visitedNodes??new Set;void 0===i[Od]&&(i[Od]={});const{generate:u}=dd(t.compress??cd,i[Od]),d=async(o,p=(()=>t.origin?t.origin:"string"!=typeof e?"":pd(e)||function(e){return!pd(e)&&!function(e){return/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)}(e)&&!function(e){if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{const t=JSON.parse(e);return ld(t)}catch{return!1}}(e)}(e)?e:"")(),h=!1,f=0,m=[],g=null)=>{if(void 0!==t.depth&&f>t.depth)return;if(!ld(o)&&!Array.isArray(o))return;if(c.has(o))return;c.add(o),await(t.hooks?.onBeforeNodeProcess?.(o,{path:m,resolutionCache:r,parentNode:g,rootNode:i,loaders:n}));for(const e of a)await(e.onBeforeNodeProcess?.(o,{path:m,resolutionCache:r,parentNode:g,rootNode:i,loaders:n}));const b=Vu(o);if("object"==typeof o&&"$ref"in o&&"string"==typeof o.$ref){const e=o.$ref,c="$global"in o&&"boolean"==typeof o.$global&&o.$global,m=Hu(e,b??p,s);if(void 0!==m){if(l){const e=sd(`/${m}`),t=e.length>0?Xu(i,e.slice(0,-1)).value:void 0,r=Xu(i,e);await d(r.value,r.context,h,f+1,e,t)}return}const[g,v=""]=e.split("#",2),y=function(e,t){if(pd(t))return t;if(pd(e)){const r=new URL(e);if(t.startsWith("/"))return r.pathname=t,r.toString();const n=rd(td(r.pathname),t);return new URL(n,e).toString()}return rd(td(e),t)}(b??p,g),O=await u(y),w=r.has(y);w||r.set(y,fd(y,n)),t?.hooks?.onResolveStart?.(o),a.forEach((e=>e.onResolveStart?.(o)));const x=await r.get(y);return x.ok?(w||(c||bd(x.data,[yd,O]),await d(x.data,c?p:y,c,f+1,[yd,O,i[Od]]),md(i,`/${Od}/${od(O)}`,y)),!0===t.treeShake?vd(i,{[yd]:{[O]:x.data}},gd(`#${v}`,[yd,O]).substring(1),yd,O):w||md(i,`/${yd}/${O}`,x.data),o.$ref=gd(`#${v}`,[yd,O]),t?.hooks?.onResolveSuccess?.(o),void a.forEach((e=>e.onResolveSuccess?.(o)))):(t?.hooks?.onResolveError?.(o),a.forEach((e=>e.onResolveError?.(o))),console.warn(`Failed to resolve external reference "${y}". The reference may be invalid, inaccessible, or missing a loader for this type of reference.`))}await Promise.all(Object.entries(o).map((async([e,t])=>{e!==yd&&e!==Od&&await d(t,b??p,h,f+1,[...m,e],o)}))),await(t.hooks?.onAfterNodeProcess?.(o,{path:m,resolutionCache:r,parentNode:g,rootNode:i,loaders:n}));for(const e of a)await(e.onAfterNodeProcess?.(o,{path:m,resolutionCache:r,parentNode:g,rootNode:i,loaders:n}))};return await d(o),t.urlMap||l||delete i[Od],o}const xd=Symbol.for("yaml.alias"),kd=Symbol.for("yaml.document"),Sd=Symbol.for("yaml.map"),_d=Symbol.for("yaml.pair"),Ed=Symbol.for("yaml.scalar"),Td=Symbol.for("yaml.seq"),Ad=Symbol.for("yaml.node.type"),Cd=e=>!!e&&"object"==typeof e&&e[Ad]===xd,Pd=e=>!!e&&"object"==typeof e&&e[Ad]===kd,$d=e=>!!e&&"object"==typeof e&&e[Ad]===Sd,Md=e=>!!e&&"object"==typeof e&&e[Ad]===_d,Dd=e=>!!e&&"object"==typeof e&&e[Ad]===Ed,Rd=e=>!!e&&"object"==typeof e&&e[Ad]===Td;function Nd(e){if(e&&"object"==typeof e)switch(e[Ad]){case Sd:case Td:return!0}return!1}function Id(e){if(e&&"object"==typeof e)switch(e[Ad]){case xd:case Sd:case Ed:case Td:return!0}return!1}const Ld=e=>(Dd(e)||Nd(e))&&!!e.anchor,jd=Symbol("break visit"),Bd=Symbol("skip children"),Ud=Symbol("remove node");function Fd(e,t){const r=Hd(t);Pd(e)?Qd(null,e.contents,r,Object.freeze([e]))===Ud&&(e.contents=null):Qd(null,e,r,Object.freeze([]))}function Qd(e,t,r,n){const a=Vd(e,t,r,n);if(Id(a)||Md(a))return Zd(e,n,a),Qd(e,a,r,n);if("symbol"!=typeof a)if(Nd(t)){n=Object.freeze(n.concat(t));for(let e=0;e<t.items.length;++e){const a=Qd(e,t.items[e],r,n);if("number"==typeof a)e=a-1;else{if(a===jd)return jd;a===Ud&&(t.items.splice(e,1),e-=1)}}}else if(Md(t)){n=Object.freeze(n.concat(t));const e=Qd("key",t.key,r,n);if(e===jd)return jd;e===Ud&&(t.key=null);const a=Qd("value",t.value,r,n);if(a===jd)return jd;a===Ud&&(t.value=null)}return a}async function zd(e,t){const r=Hd(t);Pd(e)?await qd(null,e.contents,r,Object.freeze([e]))===Ud&&(e.contents=null):await qd(null,e,r,Object.freeze([]))}async function qd(e,t,r,n){const a=await Vd(e,t,r,n);if(Id(a)||Md(a))return Zd(e,n,a),qd(e,a,r,n);if("symbol"!=typeof a)if(Nd(t)){n=Object.freeze(n.concat(t));for(let e=0;e<t.items.length;++e){const a=await qd(e,t.items[e],r,n);if("number"==typeof a)e=a-1;else{if(a===jd)return jd;a===Ud&&(t.items.splice(e,1),e-=1)}}}else if(Md(t)){n=Object.freeze(n.concat(t));const e=await qd("key",t.key,r,n);if(e===jd)return jd;e===Ud&&(t.key=null);const a=await qd("value",t.value,r,n);if(a===jd)return jd;a===Ud&&(t.value=null)}return a}function Hd(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function Vd(e,t,r,n){return"function"==typeof r?r(e,t,n):$d(t)?r.Map?.(e,t,n):Rd(t)?r.Seq?.(e,t,n):Md(t)?r.Pair?.(e,t,n):Dd(t)?r.Scalar?.(e,t,n):Cd(t)?r.Alias?.(e,t,n):void 0}function Zd(e,t,r){const n=t[t.length-1];if(Nd(n))n.items[e]=r;else if(Md(n))"key"===e?n.key=r:n.value=r;else{if(!Pd(n)){const e=Cd(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}n.contents=r}}Fd.BREAK=jd,Fd.SKIP=Bd,Fd.REMOVE=Ud,zd.BREAK=jd,zd.SKIP=Bd,zd.REMOVE=Ud;const Wd={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class Xd{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Xd.defaultYaml,e),this.tags=Object.assign({},Xd.defaultTags,t)}clone(){const e=new Xd(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new Xd(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Xd.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Xd.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:Xd.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Xd.defaultTags),this.atNextDocument=!1);const r=e.trim().split(/[ \t]+/),n=r.shift();switch(n){case"%TAG":{if(2!==r.length&&(t(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[e,n]=r;return this.tags[e]=n,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==r.length)return t(0,"%YAML directive should contain exactly one part"),!1;const[e]=r;return"1.1"===e||"1.2"===e?(this.yaml.version=e,!0):(t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1)}default:return t(0,`Unknown directive ${n}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){const r=e.slice(2,-1);return"!"===r||"!!"===r?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),r)}const[,r,n]=e.match(/^(.*!)([^!]*)$/s);n||t(`The ${e} tag has no suffix`);const a=this.tags[r];if(a)try{return a+decodeURIComponent(n)}catch(e){return t(String(e)),null}return"!"===r?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,r]of Object.entries(this.tags))if(e.startsWith(r))return t+e.substring(r.length).replace(/[!,[\]{}]/g,(e=>Wd[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let n;if(e&&r.length>0&&Id(e.contents)){const t={};Fd(e.contents,((e,r)=>{Id(r)&&r.tag&&(t[r.tag]=!0)})),n=Object.keys(t)}else n=[];for(const[a,o]of r)"!!"===a&&"tag:yaml.org,2002:"===o||e&&!n.some((e=>e.startsWith(o)))||t.push(`%TAG ${a} ${o}`);return t.join("\n")}}function Gd(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function Yd(e){const t=new Set;return Fd(e,{Value(e,r){r.anchor&&t.add(r.anchor)}}),t}function Kd(e,t){for(let r=1;;++r){const n=`${e}${r}`;if(!t.has(n))return n}}function Jd(e,t,r,n){if(n&&"object"==typeof n)if(Array.isArray(n))for(let t=0,r=n.length;t<r;++t){const r=n[t],a=Jd(e,n,String(t),r);void 0===a?delete n[t]:a!==r&&(n[t]=a)}else if(n instanceof Map)for(const t of Array.from(n.keys())){const r=n.get(t),a=Jd(e,n,t,r);void 0===a?n.delete(t):a!==r&&n.set(t,a)}else if(n instanceof Set)for(const t of Array.from(n)){const r=Jd(e,n,t,t);void 0===r?n.delete(t):r!==t&&(n.delete(t),n.add(r))}else for(const[t,r]of Object.entries(n)){const a=Jd(e,n,t,r);void 0===a?delete n[t]:a!==r&&(n[t]=a)}return e.call(t,r,n)}function ep(e,t,r){if(Array.isArray(e))return e.map(((e,t)=>ep(e,String(t),r)));if(e&&"function"==typeof e.toJSON){if(!r||!Ld(e))return e.toJSON(t,r);const n={aliasCount:0,count:1,res:void 0};r.anchors.set(e,n),r.onCreate=e=>{n.res=e,delete r.onCreate};const a=e.toJSON(t,r);return r.onCreate&&r.onCreate(a),a}return"bigint"!=typeof e||r?.keep?e:Number(e)}Xd.defaultYaml={explicit:!1,version:"1.2"},Xd.defaultTags={"!!":"tag:yaml.org,2002:"};class tp{constructor(e){Object.defineProperty(this,Ad,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:r,onAnchor:n,reviver:a}={}){if(!Pd(e))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},i=ep(this,"",o);if("function"==typeof n)for(const{count:e,res:t}of o.anchors.values())n(t,e);return"function"==typeof a?Jd(a,{"":i},"",i):i}}let rp=class extends tp{constructor(e){super(xd),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){let r,n;t?.aliasResolveCache?r=t.aliasResolveCache:(r=[],Fd(e,{Node:(e,t)=>{(Cd(t)||Ld(t))&&r.push(t)}}),t&&(t.aliasResolveCache=r));for(const e of r){if(e===this)break;e.anchor===this.source&&(n=e)}return n}toJSON(e,t){if(!t)return{source:this.source};const{anchors:r,doc:n,maxAliasCount:a}=t,o=this.resolve(n,t);if(!o){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let i=r.get(o);if(i||(ep(o,null,t),i=r.get(o)),!i||void 0===i.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(a>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=np(n,o,r)),i.count*i.aliasCount>a))throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");return i.res}toString(e,t,r){const n=`*${this.source}`;if(e){if(Gd(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${n} `}return n}};function np(e,t,r){if(Cd(t)){const n=t.resolve(e),a=r&&n&&r.get(n);return a?a.count*a.aliasCount:0}if(Nd(t)){let n=0;for(const a of t.items){const t=np(e,a,r);t>n&&(n=t)}return n}if(Md(t)){const n=np(e,t.key,r),a=np(e,t.value,r);return Math.max(n,a)}return 1}const ap=e=>!e||"function"!=typeof e&&"object"!=typeof e;class op extends tp{constructor(e){super(Ed),this.value=e}toJSON(e,t){return t?.keep?this.value:ep(this.value,e,t)}toString(){return String(this.value)}}op.BLOCK_FOLDED="BLOCK_FOLDED",op.BLOCK_LITERAL="BLOCK_LITERAL",op.PLAIN="PLAIN",op.QUOTE_DOUBLE="QUOTE_DOUBLE",op.QUOTE_SINGLE="QUOTE_SINGLE";function ip(e,t,r){if(Pd(e)&&(e=e.contents),Id(e))return e;if(Md(e)){const t=r.schema[Sd].createNode?.(r.schema,null,r);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:n,onAnchor:a,onTagObj:o,schema:i,sourceObjects:s}=r;let l;if(n&&e&&"object"==typeof e){if(l=s.get(e),l)return l.anchor??(l.anchor=a(e)),new rp(l.anchor);l={anchor:null,node:null},s.set(e,l)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let c=function(e,t,r){if(t){const e=r.filter((e=>e.tag===t)),n=e.find((e=>!e.format))??e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find((t=>t.identify?.(e)&&!t.format))}(e,t,i.tags);if(!c){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new op(e);return l&&(l.node=t),t}c=e instanceof Map?i[Sd]:Symbol.iterator in Object(e)?i[Td]:i[Sd]}o&&(o(c),delete r.onTagObj);const u=c?.createNode?c.createNode(r.schema,e,r):"function"==typeof c?.nodeClass?.from?c.nodeClass.from(r.schema,e,r):new op(e);return t?u.tag=t:c.default||(u.tag=c.tag),l&&(l.node=u),u}function sp(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];if("number"==typeof r&&Number.isInteger(r)&&r>=0){const e=[];e[r]=n,n=e}else n=new Map([[r,n]])}return ip(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const lp=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class cp extends tp{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>Id(t)||Md(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(lp(e))this.add(t);else{const[r,...n]=e,a=this.get(r,!0);if(Nd(a))a.addIn(n,t);else{if(void 0!==a||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);this.set(r,sp(this.schema,n,t))}}}deleteIn(e){const[t,...r]=e;if(0===r.length)return this.delete(t);const n=this.get(t,!0);if(Nd(n))return n.deleteIn(r);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${r}`)}getIn(e,t){const[r,...n]=e,a=this.get(r,!0);return 0===n.length?!t&&Dd(a)?a.value:a:Nd(a)?a.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!Md(t))return!1;const r=t.value;return null==r||e&&Dd(r)&&null==r.value&&!r.commentBefore&&!r.comment&&!r.tag}))}hasIn(e){const[t,...r]=e;if(0===r.length)return this.has(t);const n=this.get(t,!0);return!!Nd(n)&&n.hasIn(r)}setIn(e,t){const[r,...n]=e;if(0===n.length)this.set(r,t);else{const e=this.get(r,!0);if(Nd(e))e.setIn(n,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);this.set(r,sp(this.schema,n,t))}}}}const up=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function dp(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const pp=(e,t,r)=>e.endsWith("\n")?dp(r,t):r.includes("\n")?"\n"+dp(r,t):(e.endsWith(" ")?"":" ")+r,hp="flow",fp="block",mp="quoted";function gp(e,t,r="flow",{indentAtStart:n,lineWidth:a=80,minContentWidth:o=20,onFold:i,onOverflow:s}={}){if(!a||a<0)return e;a<o&&(o=0);const l=Math.max(1+o,1+a-t.length);if(e.length<=l)return e;const c=[],u={};let d,p,h=a-t.length;"number"==typeof n&&(n>a-Math.max(2,o)?c.push(0):h=a-n);let f=!1,m=-1,g=-1,b=-1;r===fp&&(m=bp(e,m,t.length),-1!==m&&(h=m+l));for(let n;n=e[m+=1];){if(r===mp&&"\\"===n){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}b=m}if("\n"===n)r===fp&&(m=bp(e,m,t.length)),h=m+t.length+l,d=void 0;else{if(" "===n&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(d=m)}if(m>=h)if(d)c.push(d),h=d+l,d=void 0;else if(r===mp){for(;" "===p||"\t"===p;)p=n,n=e[m+=1],f=!0;const t=m>b+1?m-2:g-1;if(u[t])return e;c.push(t),u[t]=!0,h=t+l,d=void 0}else f=!0}p=n}if(f&&s&&s(),0===c.length)return e;i&&i();let v=e.slice(0,c[0]);for(let n=0;n<c.length;++n){const a=c[n],o=c[n+1]||e.length;0===a?v=`\n${t}${e.slice(0,o)}`:(r===mp&&u[a]&&(v+=`${e[a]}\\`),v+=`\n${t}${e.slice(a+1,o)}`)}return v}function bp(e,t,r){let n=t,a=t+1,o=e[a];for(;" "===o||"\t"===o;)if(t<a+r)o=e[++t];else{do{o=e[++t]}while(o&&"\n"!==o);n=t,a=t+1,o=e[a]}return n}const vp=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),yp=e=>/^(%|---|\.\.\.)/m.test(e);function Op(e,t){const r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;const{implicitKey:n}=t,a=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(yp(e)?" ":"");let i="",s=0;for(let e=0,t=r[e];t;t=r[++e])if(" "===t&&"\\"===r[e+1]&&"n"===r[e+2]&&(i+=r.slice(s,e)+"\\ ",e+=1,s=e,t="\\"),"\\"===t)switch(r[e+1]){case"u":{i+=r.slice(s,e);const t=r.substr(e+2,4);switch(t){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:"00"===t.substr(0,2)?i+="\\x"+t.substr(2):i+=r.substr(e,6)}e+=5,s=e+1}break;case"n":if(n||'"'===r[e+2]||r.length<a)e+=1;else{for(i+=r.slice(s,e)+"\n\n";"\\"===r[e+2]&&"n"===r[e+3]&&'"'!==r[e+4];)i+="\n",e+=2;i+=o," "===r[e+2]&&(i+="\\"),e+=1,s=e+1}break;default:e+=1}return i=s?i+r.slice(s):r,n?i:gp(i,o,mp,vp(t,!1))}function wp(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return Op(e,t);const r=t.indent||(yp(e)?" ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${r}`)+"'";return t.implicitKey?n:gp(n,r,hp,vp(t,!1))}function xp(e,t){const{singleQuote:r}=t.options;let n;if(!1===r)n=Op;else{const t=e.includes('"'),a=e.includes("'");n=t&&!a?wp:a&&!t?Op:r?wp:Op}return n(e,t)}let kp;try{kp=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{kp=/\n+(?!\n|$)/g}function Sp({comment:e,type:t,value:r},n,a,o){const{blockQuote:i,commentString:s,lineWidth:l}=n.options;if(!i||/\n[\t ]+$/.test(r)||/^\s*$/.test(r))return xp(r,n);const c=n.indent||(n.forceBlockIndent||yp(r)?" ":""),u="literal"===i||"folded"!==i&&t!==op.BLOCK_FOLDED&&(t===op.BLOCK_LITERAL||!function(e,t,r){if(!t||t<0)return!1;const n=t-r,a=e.length;if(a<=n)return!1;for(let t=0,r=0;t<a;++t)if("\n"===e[t]){if(t-r>n)return!0;if(r=t+1,a-r<=n)return!1}return!0}(r,l,c.length));if(!r)return u?"|\n":">\n";let d,p;for(p=r.length;p>0;--p){const e=r[p-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=r.substring(p);const f=h.indexOf("\n");-1===f?d="-":r===h||f!==h.length-1?(d="+",o&&o()):d="",h&&(r=r.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(kp,`$&${c}`));let m,g=!1,b=-1;for(m=0;m<r.length;++m){const e=r[m];if(" "===e)g=!0;else{if("\n"!==e)break;b=m}}let v=r.substring(0,b<m?b+1:m);v&&(r=r.substring(v.length),v=v.replace(/\n+/g,`$&${c}`));let y=(g?c?"2":"1":"")+d;if(e&&(y+=" "+s(e.replace(/ ?[\r\n]+/g," ")),a&&a()),!u){const e=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let a=!1;const o=vp(n,!0);"folded"!==i&&t!==op.BLOCK_FOLDED&&(o.onOverflow=()=>{a=!0});const s=gp(`${v}${e}${h}`,c,fp,o);if(!a)return`>${y}\n${c}${s}`}return`|${y}\n${c}${v}${r=r.replace(/\n+/g,`$&${c}`)}${h}`}function _p(e,t,r,n){const{implicitKey:a,inFlow:o}=t,i="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:s}=e;s!==op.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=op.QUOTE_DOUBLE);const l=e=>{switch(e){case op.BLOCK_FOLDED:case op.BLOCK_LITERAL:return a||o?xp(i.value,t):Sp(i,t,r,n);case op.QUOTE_DOUBLE:return Op(i.value,t);case op.QUOTE_SINGLE:return wp(i.value,t);case op.PLAIN:return function(e,t,r,n){const{type:a,value:o}=e,{actualString:i,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t;if(s&&o.includes("\n")||u&&/[[\]{},]/.test(o))return xp(o,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?xp(o,t):Sp(e,t,r,n);if(!s&&!u&&a!==op.PLAIN&&o.includes("\n"))return Sp(e,t,r,n);if(yp(o)){if(""===l)return t.forceBlockIndent=!0,Sp(e,t,r,n);if(s&&l===c)return xp(o,t)}const d=o.replace(/\n+/g,`$&\n${l}`);if(i){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(d),{compat:r,tags:n}=t.doc.schema;if(n.some(e)||r?.some(e))return xp(o,t)}return s?d:gp(d,l,hp,vp(t,!1))}(i,t,r,n);default:return null}};let c=l(s);if(null===c){const{defaultKeyType:e,defaultStringType:r}=t.options,n=a&&e||r;if(c=l(n),null===c)throw new Error(`Unsupported default string type ${n}`)}return c}function Ep(e,t){const r=Object.assign({blockQuote:!0,commentString:up,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let n;switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function Tp(e,t,r,n){if(Md(e))return e.toString(t,r,n);if(Cd(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let a;const o=Id(e)?e:t.doc.createNode(e,{onTagObj:e=>a=e});a??(a=function(e,t){if(t.tag){const r=e.filter((e=>e.tag===t.tag));if(r.length>0)return r.find((e=>e.format===t.format))??r[0]}let r,n;if(Dd(t)){n=t.value;let a=e.filter((e=>e.identify?.(n)));if(a.length>1){const e=a.filter((e=>e.test));e.length>0&&(a=e)}r=a.find((e=>e.format===t.format))??a.find((e=>!e.format))}else n=t,r=e.find((e=>e.nodeClass&&n instanceof e.nodeClass));if(!r)throw new Error(`Tag not resolved for ${n?.constructor?.name??(null===n?"null":typeof n)} value`);return r}(t.doc.schema.tags,o));const i=function(e,t,{anchors:r,doc:n}){if(!n.directives)return"";const a=[],o=(Dd(e)||Nd(e))&&e.anchor;o&&Gd(o)&&(r.add(o),a.push(`&${o}`));const i=e.tag??(t.default?null:t.tag);return i&&a.push(n.directives.tagString(i)),a.join(" ")}(o,a,t);i.length>0&&(t.indentAtStart=(t.indentAtStart??0)+i.length+1);const s="function"==typeof a.stringify?a.stringify(o,t,r,n):Dd(o)?_p(o,t,r,n):o.toString(t,r,n);return i?Dd(o)||"{"===s[0]||"["===s[0]?`${i} ${s}`:`${i}\n${t.indent}${s}`:s}function Ap(e,t){"debug"!==e&&"warn"!==e||console.warn(t)}const Cp="<<",Pp={identify:e=>e===Cp||"symbol"==typeof e&&e.description===Cp,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new op(Symbol(Cp)),{addToJSMap:$p}),stringify:()=>Cp};function $p(e,t,r){if(r=e&&Cd(r)?r.resolve(e.doc):r,Rd(r))for(const n of r.items)Mp(e,t,n);else if(Array.isArray(r))for(const n of r)Mp(e,t,n);else Mp(e,t,r)}function Mp(e,t,r){const n=e&&Cd(r)?r.resolve(e.doc):r;if(!$d(n))throw new Error("Merge sources must be maps or map aliases");const a=n.toJSON(null,e,Map);for(const[e,r]of a)t instanceof Map?t.has(e)||t.set(e,r):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!0,configurable:!0});return t}function Dp(e,t,{key:r,value:n}){if(Id(r)&&r.addToJSMap)r.addToJSMap(e,t,n);else if(((e,t)=>(Pp.identify(t)||Dd(t)&&(!t.type||t.type===op.PLAIN)&&Pp.identify(t.value))&&e?.doc.schema.tags.some((e=>e.tag===Pp.tag&&e.default)))(e,r))$p(e,t,n);else{const a=ep(r,"",e);if(t instanceof Map)t.set(a,ep(n,a,e));else if(t instanceof Set)t.add(a);else{const o=function(e,t,r){if(null===t)return"";if("object"!=typeof t)return String(t);if(Id(e)&&r?.doc){const t=Ep(r.doc,{});t.anchors=new Set;for(const e of r.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const n=e.toString(t);if(!r.mapKeyWarned){let e=JSON.stringify(n);e.length>40&&(e=e.substring(0,36)+'..."'),Ap(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return n}return JSON.stringify(t)}(r,a,e),i=ep(n,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}function Rp(e,t,r){const n=ip(e,void 0,r),a=ip(t,void 0,r);return new Np(n,a)}class Np{constructor(e,t=null){Object.defineProperty(this,Ad,{value:_d}),this.key=e,this.value=t}clone(e){let{key:t,value:r}=this;return Id(t)&&(t=t.clone(e)),Id(r)&&(r=r.clone(e)),new Np(t,r)}toJSON(e,t){return Dp(t,t?.mapAsMap?new Map:{},this)}toString(e,t,r){return e?.doc?function({key:e,value:t},r,n,a){const{allNullValues:o,doc:i,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=r;let p=Id(e)&&e.comment||null;if(d){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(Nd(e)||!Id(e)&&"object"==typeof e)throw new Error("With simple keys, collection cannot be used as a key value")}let h=!d&&(!e||p&&null==t&&!r.inFlow||Nd(e)||(Dd(e)?e.type===op.BLOCK_FOLDED||e.type===op.BLOCK_LITERAL:"object"==typeof e));r=Object.assign({},r,{allNullValues:!1,implicitKey:!h&&(d||!o),indent:s+l});let f,m,g,b=!1,v=!1,y=Tp(e,r,(()=>b=!0),(()=>v=!0));if(!h&&!r.inFlow&&y.length>1024){if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(r.inFlow){if(o||null==t)return b&&n&&n(),""===y?"?":h?`? ${y}`:y}else if(o&&!d||null==t&&h)return y=`? ${y}`,p&&!b?y+=pp(y,r.indent,c(p)):v&&a&&a(),y;b&&(p=null),h?(p&&(y+=pp(y,r.indent,c(p))),y=`? ${y}\n${s}:`):(y=`${y}:`,p&&(y+=pp(y,r.indent,c(p)))),Id(t)?(f=!!t.spaceBefore,m=t.commentBefore,g=t.comment):(f=!1,m=null,g=null,t&&"object"==typeof t&&(t=i.createNode(t))),r.implicitKey=!1,h||p||!Dd(t)||(r.indentAtStart=y.length+1),v=!1,u||!(l.length>=2)||r.inFlow||h||!Rd(t)||t.flow||t.tag||t.anchor||(r.indent=r.indent.substring(2));let O=!1;const w=Tp(t,r,(()=>O=!0),(()=>v=!0));let x=" ";if(p||f||m)x=f?"\n":"",m&&(x+=`\n${dp(c(m),r.indent)}`),""!==w||r.inFlow?x+=`\n${r.indent}`:"\n"===x&&(x="\n\n");else if(!h&&Nd(t)){const e=w[0],n=w.indexOf("\n"),a=-1!==n,o=r.inFlow??t.flow??0===t.items.length;if(a||!o){let t=!1;if(a&&("&"===e||"!"===e)){let r=w.indexOf(" ");"&"===e&&-1!==r&&r<n&&"!"===w[r+1]&&(r=w.indexOf(" ",r+1)),(-1===r||n<r)&&(t=!0)}t||(x=`\n${r.indent}`)}}else""!==w&&"\n"!==w[0]||(x="");return y+=x+w,r.inFlow?O&&n&&n():g&&!O?y+=pp(y,r.indent,c(g)):v&&a&&a(),y}(this,e,t,r):JSON.stringify(this)}}function Ip(e,t,r){return(t.inFlow??e.flow?jp:Lp)(e,t,r)}function Lp({comment:e,items:t},r,{blockItemPrefix:n,flowChars:a,itemIndent:o,onChompKeep:i,onComment:s}){const{indent:l,options:{commentString:c}}=r,u=Object.assign({},r,{indent:o,type:null});let d=!1;const p=[];for(let e=0;e<t.length;++e){const a=t[e];let i=null;if(Id(a))!d&&a.spaceBefore&&p.push(""),Bp(r,p,a.commentBefore,d),a.comment&&(i=a.comment);else if(Md(a)){const e=Id(a.key)?a.key:null;e&&(!d&&e.spaceBefore&&p.push(""),Bp(r,p,e.commentBefore,d))}d=!1;let s=Tp(a,u,(()=>i=null),(()=>d=!0));i&&(s+=pp(s,o,c(i))),d&&i&&(d=!1),p.push(n+s)}let h;if(0===p.length)h=a.start+a.end;else{h=p[0];for(let e=1;e<p.length;++e){const t=p[e];h+=t?`\n${l}${t}`:"\n"}}return e?(h+="\n"+dp(c(e),l),s&&s()):d&&i&&i(),h}function jp({items:e},t,{flowChars:r,itemIndent:n}){const{indent:a,indentStep:o,flowCollectionPadding:i,options:{commentString:s}}=t;n+=o;const l=Object.assign({},t,{indent:n,inFlow:!0,type:null});let c=!1,u=0;const d=[];for(let r=0;r<e.length;++r){const a=e[r];let o=null;if(Id(a))a.spaceBefore&&d.push(""),Bp(t,d,a.commentBefore,!1),a.comment&&(o=a.comment);else if(Md(a)){const e=Id(a.key)?a.key:null;e&&(e.spaceBefore&&d.push(""),Bp(t,d,e.commentBefore,!1),e.comment&&(c=!0));const r=Id(a.value)?a.value:null;r?(r.comment&&(o=r.comment),r.commentBefore&&(c=!0)):null==a.value&&e?.comment&&(o=e.comment)}o&&(c=!0);let i=Tp(a,l,(()=>o=null));r<e.length-1&&(i+=","),o&&(i+=pp(i,n,s(o))),!c&&(d.length>u||i.includes("\n"))&&(c=!0),d.push(i),u=d.length}const{start:p,end:h}=r;if(0===d.length)return p+h;if(!c){const e=d.reduce(((e,t)=>e+t.length+2),2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(c){let e=p;for(const t of d)e+=t?`\n${o}${a}${t}`:"\n";return`${e}\n${a}${h}`}return`${p}${i}${d.join(" ")}${i}${h}`}function Bp({indent:e,options:{commentString:t}},r,n,a){if(n&&a&&(n=n.replace(/^\n+/,"")),n){const a=dp(t(n),e);r.push(a.trimStart())}}function Up(e,t){const r=Dd(t)?t.value:t;for(const n of e)if(Md(n)){if(n.key===t||n.key===r)return n;if(Dd(n.key)&&n.key.value===r)return n}}class Fp extends cp{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Sd,e),this.items=[]}static from(e,t,r){const{keepUndefined:n,replacer:a}=r,o=new this(e),i=(e,i)=>{if("function"==typeof a)i=a.call(t,e,i);else if(Array.isArray(a)&&!a.includes(e))return;(void 0!==i||n)&&o.items.push(Rp(e,i,r))};if(t instanceof Map)for(const[e,r]of t)i(e,r);else if(t&&"object"==typeof t)for(const e of Object.keys(t))i(e,t[e]);return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}add(e,t){let r;r=Md(e)?e:e&&"object"==typeof e&&"key"in e?new Np(e.key,e.value):new Np(e,e?.value);const n=Up(this.items,r.key),a=this.schema?.sortMapEntries;if(n){if(!t)throw new Error(`Key ${r.key} already set`);Dd(n.value)&&ap(r.value)?n.value.value=r.value:n.value=r.value}else if(a){const e=this.items.findIndex((e=>a(r,e)<0));-1===e?this.items.push(r):this.items.splice(e,0,r)}else this.items.push(r)}delete(e){const t=Up(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const r=Up(this.items,e),n=r?.value;return(!t&&Dd(n)?n.value:n)??void 0}has(e){return!!Up(this.items,e)}set(e,t){this.add(new Np(e,t),!0)}toJSON(e,t,r){const n=r?new r:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(n);for(const e of this.items)Dp(t,n,e);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items)if(!Md(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),Ip(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:r,onComment:t})}}const Qp={collection:"map",default:!0,nodeClass:Fp,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>($d(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,r)=>Fp.from(e,t,r)};class zp extends cp{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(Td,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=qp(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const r=qp(e);if("number"!=typeof r)return;const n=this.items[r];return!t&&Dd(n)?n.value:n}has(e){const t=qp(e);return"number"==typeof t&&t<this.items.length}set(e,t){const r=qp(e);if("number"!=typeof r)throw new Error(`Expected a valid index, not ${e}.`);const n=this.items[r];Dd(n)&&ap(t)?n.value=t:this.items[r]=t}toJSON(e,t){const r=[];t?.onCreate&&t.onCreate(r);let n=0;for(const e of this.items)r.push(ep(e,String(n++),t));return r}toString(e,t,r){return e?Ip(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:r,onComment:t}):JSON.stringify(this)}static from(e,t,r){const{replacer:n}=r,a=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let o of t){if("function"==typeof n){const r=t instanceof Set?o:String(e++);o=n.call(t,r,o)}a.items.push(ip(o,void 0,r))}}return a}}function qp(e){let t=Dd(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}const Hp={collection:"seq",default:!0,nodeClass:zp,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(Rd(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,r)=>zp.from(e,t,r)},Vp={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,r,n)=>_p(e,t=Object.assign({actualString:!0},t),r,n)},Zp={identify:e=>null==e,createNode:()=>new op(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new op(null),stringify:({source:e},t)=>"string"==typeof e&&Zp.test.test(e)?e:t.options.nullStr},Wp={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new op("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},r)=>e&&Wp.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?r.options.trueStr:r.options.falseStr};function Xp({format:e,minFractionDigits:t,tag:r,value:n}){if("bigint"==typeof n)return String(n);const a="number"==typeof n?n:Number(n);if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf";let o=JSON.stringify(n);if(!e&&t&&(!r||"tag:yaml.org,2002:float"===r)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let r=t-(o.length-e-1);for(;r-- >0;)o+="0"}return o}const Gp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Xp},Yp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Xp(e)}},Kp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new op(parseFloat(e)),r=e.indexOf(".");return-1!==r&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-r-1),t},stringify:Xp},Jp=e=>"bigint"==typeof e||Number.isInteger(e),eh=(e,t,r,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),r);function th(e,t,r){const{value:n}=e;return Jp(n)&&n>=0?r+n.toString(t):Xp(e)}const rh={identify:e=>Jp(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>eh(e,2,8,r),stringify:e=>th(e,8,"0o")},nh={identify:Jp,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>eh(e,0,10,r),stringify:Xp},ah={identify:e=>Jp(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>eh(e,2,16,r),stringify:e=>th(e,16,"0x")},oh=[Qp,Hp,Vp,Zp,Wp,rh,nh,ah,Gp,Yp,Kp];function ih(e){return"bigint"==typeof e||Number.isInteger(e)}const sh=({value:e})=>JSON.stringify(e),lh=[Qp,Hp].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:sh},{identify:e=>null==e,createNode:()=>new op(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:sh},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:sh},{identify:ih,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:r})=>r?BigInt(e):parseInt(e,10),stringify:({value:e})=>ih(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:sh}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),ch={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(t.length);for(let e=0;e<t.length;++e)r[e]=t.charCodeAt(e);return r}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:r},n,a,o){if(!r)return"";const i=r;let s;if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<i.length;++t)e+=String.fromCharCode(i[t]);s=btoa(e)}if(t??(t=op.BLOCK_LITERAL),t!==op.QUOTE_DOUBLE){const e=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),r=Math.ceil(s.length/e),a=new Array(r);for(let t=0,n=0;t<r;++t,n+=e)a[t]=s.substr(n,e);s=a.join(t===op.BLOCK_LITERAL?"\n":" ")}return _p({comment:e,type:t,value:s},n,a,o)}};function uh(e,t){if(Rd(e))for(let r=0;r<e.items.length;++r){let n=e.items[r];if(!Md(n)){if($d(n)){n.items.length>1&&t("Each pair must have its own sequence indicator");const e=n.items[0]||new Np(new op(null));if(n.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${n.commentBefore}\n${e.key.commentBefore}`:n.commentBefore),n.comment){const t=e.value??e.key;t.comment=t.comment?`${n.comment}\n${t.comment}`:n.comment}n=e}e.items[r]=Md(n)?n:new Np(n)}}else t("Expected a sequence for this tag");return e}function dh(e,t,r){const{replacer:n}=r,a=new zp(e);a.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let i,s;if("function"==typeof n&&(e=n.call(t,String(o++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);i=e[0],s=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);i=t[0],s=e[i]}else i=e;a.items.push(Rp(i,s,r))}return a}const ph={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:uh,createNode:dh};class hh extends zp{constructor(){super(),this.add=Fp.prototype.add.bind(this),this.delete=Fp.prototype.delete.bind(this),this.get=Fp.prototype.get.bind(this),this.has=Fp.prototype.has.bind(this),this.set=Fp.prototype.set.bind(this),this.tag=hh.tag}toJSON(e,t){if(!t)return super.toJSON(e);const r=new Map;t?.onCreate&&t.onCreate(r);for(const e of this.items){let n,a;if(Md(e)?(n=ep(e.key,"",t),a=ep(e.value,n,t)):n=ep(e,"",t),r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,a)}return r}static from(e,t,r){const n=dh(e,t,r),a=new this;return a.items=n.items,a}}hh.tag="tag:yaml.org,2002:omap";const fh={collection:"seq",identify:e=>e instanceof Map,nodeClass:hh,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const r=uh(e,t),n=[];for(const{key:e}of r.items)Dd(e)&&(n.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):n.push(e.value));return Object.assign(new hh,r)},createNode:(e,t,r)=>hh.from(e,t,r)};function mh({value:e,source:t},r){return t&&(e?gh:bh).test.test(t)?t:e?r.options.trueStr:r.options.falseStr}const gh={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new op(!0),stringify:mh},bh={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new op(!1),stringify:mh},vh={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Xp},yh={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Xp(e)}},Oh={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new op(parseFloat(e.replace(/_/g,""))),r=e.indexOf(".");if(-1!==r){const n=e.substring(r+1).replace(/_/g,"");"0"===n[n.length-1]&&(t.minFractionDigits=n.length)}return t},stringify:Xp},wh=e=>"bigint"==typeof e||Number.isInteger(e);function xh(e,t,r,{intAsBigInt:n}){const a=e[0];if("-"!==a&&"+"!==a||(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(r){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===a?BigInt(-1)*t:t}const o=parseInt(e,r);return"-"===a?-1*o:o}function kh(e,t,r){const{value:n}=e;if(wh(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return Xp(e)}const Sh={identify:wh,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>xh(e,2,2,r),stringify:e=>kh(e,2,"0b")},_h={identify:wh,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>xh(e,1,8,r),stringify:e=>kh(e,8,"0")},Eh={identify:wh,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>xh(e,0,10,r),stringify:Xp},Th={identify:wh,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>xh(e,2,16,r),stringify:e=>kh(e,16,"0x")};class Ah extends Fp{constructor(e){super(e),this.tag=Ah.tag}add(e){let t;t=Md(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new Np(e.key,null):new Np(e,null),Up(this.items,t.key)||this.items.push(t)}get(e,t){const r=Up(this.items,e);return!t&&Md(r)?Dd(r.key)?r.key.value:r.key:r}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const r=Up(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new Np(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,r);throw new Error("Set items must all have null values")}static from(e,t,r){const{replacer:n}=r,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof n&&(e=n.call(t,e,e)),a.items.push(Rp(e,null,r));return a}}Ah.tag="tag:yaml.org,2002:set";const Ch={collection:"map",identify:e=>e instanceof Set,nodeClass:Ah,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>Ah.from(e,t,r),resolve(e,t){if($d(e)){if(e.hasAllNullValues(!0))return Object.assign(new Ah,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Ph(e,t){const r=e[0],n="-"===r||"+"===r?e.substring(1):e,a=e=>t?BigInt(e):Number(e),o=n.replace(/_/g,"").split(":").reduce(((e,t)=>e*a(60)+a(t)),a(0));return"-"===r?a(-1)*o:o}function $h(e){let{value:t}=e,r=e=>e;if("bigint"==typeof t)r=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Xp(e);let n="";t<0&&(n="-",t*=r(-1));const a=r(60),o=[t%a];return t<60?o.unshift(0):(t=(t-o[0])/a,o.unshift(t%a),t>=60&&(t=(t-o[0])/a,o.unshift(t))),n+o.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const Mh={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:r})=>Ph(e,r),stringify:$h},Dh={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Ph(e,!1),stringify:$h},Rh={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Rh.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,r,n,a,o,i,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(r,n-1,a,o||0,i||0,s||0,l);const u=t[8];if(u&&"Z"!==u){let e=Ph(u,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},Nh=[Qp,Hp,Vp,Zp,gh,bh,Sh,_h,Eh,Th,vh,yh,Oh,ch,Pp,fh,ph,Ch,Mh,Dh,Rh],Ih=new Map([["core",oh],["failsafe",[Qp,Hp,Vp]],["json",lh],["yaml11",Nh],["yaml-1.1",Nh]]),Lh={binary:ch,bool:Wp,float:Kp,floatExp:Yp,floatNaN:Gp,floatTime:Dh,int:nh,intHex:ah,intOct:rh,intTime:Mh,map:Qp,merge:Pp,null:Zp,omap:fh,pairs:ph,seq:Hp,set:Ch,timestamp:Rh},jh={"tag:yaml.org,2002:binary":ch,"tag:yaml.org,2002:merge":Pp,"tag:yaml.org,2002:omap":fh,"tag:yaml.org,2002:pairs":ph,"tag:yaml.org,2002:set":Ch,"tag:yaml.org,2002:timestamp":Rh};function Bh(e,t,r){const n=Ih.get(t);if(n&&!e)return r&&!n.includes(Pp)?n.concat(Pp):n.slice();let a=n;if(!a){if(!Array.isArray(e)){const e=Array.from(Ih.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}a=[]}if(Array.isArray(e))for(const t of e)a=a.concat(t);else"function"==typeof e&&(a=e(a.slice()));return r&&(a=a.concat(Pp)),a.reduce(((e,t)=>{const r="string"==typeof t?Lh[t]:t;if(!r){const e=JSON.stringify(t),r=Object.keys(Lh).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag ${e}; use one of ${r}`)}return e.includes(r)||e.push(r),e}),[])}const Uh=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;let Fh=class e{constructor({compat:e,customTags:t,merge:r,resolveKnownTags:n,schema:a,sortMapEntries:o,toStringDefaults:i}){this.compat=Array.isArray(e)?Bh(e,"compat"):e?Bh(null,e):null,this.name="string"==typeof a&&a||"core",this.knownTags=n?jh:{},this.tags=Bh(t,this.name,r),this.toStringOptions=i??null,Object.defineProperty(this,Sd,{value:Qp}),Object.defineProperty(this,Ed,{value:Vp}),Object.defineProperty(this,Td,{value:Hp}),this.sortMapEntries="function"==typeof o?o:!0===o?Uh:null}clone(){const t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}},Qh=class e{constructor(e,t,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Ad,{value:kd});let n=null;"function"==typeof t||Array.isArray(t)?n=t:void 0===r&&t&&(r=t,t=void 0);const a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=a;let{version:o}=a;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Xd({version:o}),this.setSchema(o,r),this.contents=void 0===e?null:this.createNode(e,n,r)}clone(){const t=Object.create(e.prototype,{[Ad]:{value:kd}});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=Id(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){zh(this.contents)&&this.contents.add(e)}addIn(e,t){zh(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const r=Yd(this);e.anchor=!t||r.has(t)?Kd(t||"a",r):t}return new rp(e.anchor)}createNode(e,t,r){let n;if("function"==typeof t)e=t.call({"":e},"",e),n=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,r=t.filter(e).map(String);r.length>0&&(t=t.concat(r)),n=t}else void 0===r&&t&&(r=t,t=void 0);const{aliasDuplicateObjects:a,anchorPrefix:o,flow:i,keepUndefined:s,onTagObj:l,tag:c}=r??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=function(e,t){const r=[],n=new Map;let a=null;return{onAnchor:n=>{r.push(n),a??(a=Yd(e));const o=Kd(t,a);return a.add(o),o},setAnchors:()=>{for(const e of r){const t=n.get(e);if("object"!=typeof t||!t.anchor||!Dd(t.node)&&!Nd(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:n}}(this,o||"a"),h=ip(e,c,{aliasDuplicateObjects:a??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:l,replacer:n,schema:this.schema,sourceObjects:p});return i&&Nd(h)&&(h.flow=!0),d(),h}createPair(e,t,r={}){const n=this.createNode(e,null,r),a=this.createNode(t,null,r);return new Np(n,a)}delete(e){return!!zh(this.contents)&&this.contents.delete(e)}deleteIn(e){return lp(e)?null!=this.contents&&(this.contents=null,!0):!!zh(this.contents)&&this.contents.deleteIn(e)}get(e,t){return Nd(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return lp(e)?!t&&Dd(this.contents)?this.contents.value:this.contents:Nd(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!Nd(this.contents)&&this.contents.has(e)}hasIn(e){return lp(e)?void 0!==this.contents:!!Nd(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=sp(this.schema,[e],t):zh(this.contents)&&this.contents.set(e,t)}setIn(e,t){lp(e)?this.contents=t:null==this.contents?this.contents=sp(this.schema,Array.from(e),t):zh(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let r;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Xd({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Xd({version:e}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!r)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new Fh(Object.assign(r,t))}}toJS({json:e,jsonArg:t,mapAsMap:r,maxAliasCount:n,onAnchor:a,reviver:o}={}){const i={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===r,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=ep(this.contents,t??"",i);if("function"==typeof a)for(const{count:e,res:t}of i.anchors.values())a(t,e);return"function"==typeof o?Jd(o,{"":s},"",s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const r=[];let n=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(r.push(t),n=!0):e.directives.docStart&&(n=!0)}n&&r.push("---");const a=Ep(e,t),{commentString:o}=a.options;if(e.commentBefore){1!==r.length&&r.unshift("");const t=o(e.commentBefore);r.unshift(dp(t,""))}let i=!1,s=null;if(e.contents){if(Id(e.contents)){if(e.contents.spaceBefore&&n&&r.push(""),e.contents.commentBefore){const t=o(e.contents.commentBefore);r.push(dp(t,""))}a.forceBlockIndent=!!e.comment,s=e.contents.comment}const t=s?void 0:()=>i=!0;let l=Tp(e.contents,a,(()=>s=null),t);s&&(l+=pp(l,"",o(s))),"|"!==l[0]&&">"!==l[0]||"---"!==r[r.length-1]?r.push(l):r[r.length-1]=`--- ${l}`}else r.push(Tp(e.contents,a));if(e.directives?.docEnd)if(e.comment){const t=o(e.comment);t.includes("\n")?(r.push("..."),r.push(dp(t,""))):r.push(`... ${t}`)}else r.push("...");else{let t=e.comment;t&&i&&(t=t.replace(/^\n+/,"")),t&&(i&&!s||""===r[r.length-1]||r.push(""),r.push(dp(o(t),"")))}return r.join("\n")+"\n"}(this,e)}};function zh(e){if(Nd(e))return!0;throw new Error("Expected a YAML collection as document contents")}class qh extends Error{constructor(e,t,r,n){super(),this.name=e,this.code=r,this.message=n,this.pos=t}}class Hh extends qh{constructor(e,t,r){super("YAMLParseError",e,t,r)}}class Vh extends qh{constructor(e,t,r){super("YAMLWarning",e,t,r)}}const Zh=(e,t)=>r=>{if(-1===r.pos[0])return;r.linePos=r.pos.map((e=>t.linePos(e)));const{line:n,col:a}=r.linePos[0];r.message+=` at line ${n}, column ${a}`;let o=a-1,i=e.substring(t.lineStarts[n-1],t.lineStarts[n]).replace(/[\n\r]+$/,"");if(o>=60&&i.length>80){const e=Math.min(o-39,i.length-79);i="…"+i.substring(e),o-=e-1}if(i.length>80&&(i=i.substring(0,79)+"…"),n>1&&/^ *$/.test(i.substring(0,o))){let r=e.substring(t.lineStarts[n-2],t.lineStarts[n-1]);r.length>80&&(r=r.substring(0,79)+"…\n"),i=r+i}if(/[^ ]/.test(i)){let e=1;const t=r.linePos[1];t&&t.line===n&&t.col>a&&(e=Math.max(1,Math.min(t.col-a,80-o)));const s=" ".repeat(o)+"^".repeat(e);r.message+=`:\n\n${i}\n${s}\n`}};function Wh(e,{flow:t,indicator:r,next:n,offset:a,onError:o,parentIndent:i,startOnNewline:s}){let l=!1,c=s,u=s,d="",p="",h=!1,f=!1,m=null,g=null,b=null,v=null,y=null,O=null,w=null;for(const a of e)switch(f&&("space"!==a.type&&"newline"!==a.type&&"comma"!==a.type&&o(a.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f=!1),m&&(c&&"comment"!==a.type&&"newline"!==a.type&&o(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),a.type){case"space":t||"doc-start"===r&&"flow-collection"===n?.type||!a.source.includes("\t")||(m=a),u=!0;break;case"comment":{u||o(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=a.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":c?d?d+=a.source:O&&"seq-item-ind"===r||(l=!0):p+=a.source,c=!0,h=!0,(g||b)&&(v=a),u=!0;break;case"anchor":g&&o(a,"MULTIPLE_ANCHORS","A node can have at most one anchor"),a.source.endsWith(":")&&o(a.offset+a.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=a,w??(w=a.offset),c=!1,u=!1,f=!0;break;case"tag":b&&o(a,"MULTIPLE_TAGS","A node can have at most one tag"),b=a,w??(w=a.offset),c=!1,u=!1,f=!0;break;case r:(g||b)&&o(a,"BAD_PROP_ORDER",`Anchors and tags must be after the ${a.source} indicator`),O&&o(a,"UNEXPECTED_TOKEN",`Unexpected ${a.source} in ${t??"collection"}`),O=a,c="seq-item-ind"===r||"explicit-key-ind"===r,u=!1;break;case"comma":if(t){y&&o(a,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=a,c=!1,u=!1;break}default:o(a,"UNEXPECTED_TOKEN",`Unexpected ${a.type} token`),c=!1,u=!1}const x=e[e.length-1],k=x?x.offset+x.source.length:a;return f&&n&&"space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&("scalar"!==n.type||""!==n.source)&&o(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(c&&m.indent<=i||"block-map"===n?.type||"block-seq"===n?.type)&&o(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:y,found:O,spaceBefore:l,comment:d,hasNewline:h,anchor:g,tag:b,newlineAfterProp:v,end:k,start:w??k}}function Xh(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Xh(t.key)||Xh(t.value))return!0}return!1;default:return!0}}function Gh(e,t,r){if("flow-collection"===t?.type){const n=t.end[0];n.indent!==e||"]"!==n.source&&"}"!==n.source||!Xh(t)||r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Yh(e,t,r){const{uniqueKeys:n}=e.options;if(!1===n)return!1;const a="function"==typeof n?n:(e,t)=>e===t||Dd(e)&&Dd(t)&&e.value===t.value;return t.some((e=>a(e.key,r)))}const Kh="All mapping items must start at the same column";function Jh(e,t,r,n){let a="";if(e){let o=!1,i="";for(const s of e){const{source:e,type:l}=s;switch(l){case"space":o=!0;break;case"comment":{r&&!o&&n(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";a?a+=i+t:a=t,i="";break}case"newline":a&&(i+=e),o=!0;break;default:n(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:a,offset:t}}const ef="Block collections are not allowed within flow collections",tf=e=>e&&("block-map"===e.type||"block-seq"===e.type);function rf(e,t,r,n,a,o){const i="block-map"===r.type?function({composeNode:e,composeEmptyNode:t},r,n,a,o){const i=new(o?.nodeClass??Fp)(r.schema);r.atRoot&&(r.atRoot=!1);let s=n.offset,l=null;for(const o of n.items){const{start:c,key:u,sep:d,value:p}=o,h=Wh(c,{indicator:"explicit-key-ind",next:u??d?.[0],offset:s,onError:a,parentIndent:n.indent,startOnNewline:!0}),f=!h.found;if(f){if(u&&("block-seq"===u.type?a(s,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==n.indent&&a(s,"BAD_INDENT",Kh)),!h.anchor&&!h.tag&&!d){l=h.end,h.comment&&(i.comment?i.comment+="\n"+h.comment:i.comment=h.comment);continue}(h.newlineAfterProp||Xh(u))&&a(u??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==n.indent&&a(s,"BAD_INDENT",Kh);r.atKey=!0;const m=h.end,g=u?e(r,u,h,a):t(r,m,c,null,h,a);r.schema.compat&&Gh(n.indent,u,a),r.atKey=!1,Yh(r,i.items,g)&&a(m,"DUPLICATE_KEY","Map keys must be unique");const b=Wh(d??[],{indicator:"map-value-ind",next:p,offset:g.range[2],onError:a,parentIndent:n.indent,startOnNewline:!u||"block-scalar"===u.type});if(s=b.end,b.found){f&&("block-map"!==p?.type||b.hasNewline||a(s,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&h.start<b.found.offset-1024&&a(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const l=p?e(r,p,b,a):t(r,s,d,null,b,a);r.schema.compat&&Gh(n.indent,p,a),s=l.range[2];const c=new Np(g,l);r.options.keepSourceTokens&&(c.srcToken=o),i.items.push(c)}else{f&&a(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),b.comment&&(g.comment?g.comment+="\n"+b.comment:g.comment=b.comment);const e=new Np(g);r.options.keepSourceTokens&&(e.srcToken=o),i.items.push(e)}}return l&&l<s&&a(l,"IMPOSSIBLE","Map comment with trailing content"),i.range=[n.offset,s,l??s],i}(e,t,r,n,o):"block-seq"===r.type?function({composeNode:e,composeEmptyNode:t},r,n,a,o){const i=new(o?.nodeClass??zp)(r.schema);r.atRoot&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let s=n.offset,l=null;for(const{start:o,value:c}of n.items){const u=Wh(o,{indicator:"seq-item-ind",next:c,offset:s,onError:a,parentIndent:n.indent,startOnNewline:!0});if(!u.found){if(!(u.anchor||u.tag||c)){l=u.end,u.comment&&(i.comment=u.comment);continue}c&&"block-seq"===c.type?a(u.end,"BAD_INDENT","All sequence items must start at the same column"):a(s,"MISSING_CHAR","Sequence item without - indicator")}const d=c?e(r,c,u,a):t(r,u.end,o,null,u,a);r.schema.compat&&Gh(n.indent,c,a),s=d.range[2],i.items.push(d)}return i.range=[n.offset,s,l??s],i}(e,t,r,n,o):function({composeNode:e,composeEmptyNode:t},r,n,a,o){const i="{"===n.start.source,s=i?"flow map":"flow sequence",l=new(o?.nodeClass??(i?Fp:zp))(r.schema);l.flow=!0;const c=r.atRoot;c&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let u=n.offset+n.start.source.length;for(let o=0;o<n.items.length;++o){const c=n.items[o],{start:d,key:p,sep:h,value:f}=c,m=Wh(d,{flow:s,indicator:"explicit-key-ind",next:p??h?.[0],offset:u,onError:a,parentIndent:n.indent,startOnNewline:!1});if(!m.found){if(!(m.anchor||m.tag||h||f)){0===o&&m.comma?a(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):o<n.items.length-1&&a(m.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),m.comment&&(l.comment?l.comment+="\n"+m.comment:l.comment=m.comment),u=m.end;continue}!i&&r.options.strict&&Xh(p)&&a(p,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===o)m.comma&&a(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(m.comma||a(m.start,"MISSING_CHAR",`Missing , between ${s} items`),m.comment){let e="";e:for(const t of d)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=l.items[l.items.length-1];Md(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,m.comment=m.comment.substring(e.length+1)}}if(i||h||m.found){r.atKey=!0;const o=m.end,g=p?e(r,p,m,a):t(r,o,d,null,m,a);tf(p)&&a(g.range,"BLOCK_IN_FLOW",ef),r.atKey=!1;const b=Wh(h??[],{flow:s,indicator:"map-value-ind",next:f,offset:g.range[2],onError:a,parentIndent:n.indent,startOnNewline:!1});if(b.found){if(!i&&!m.found&&r.options.strict){if(h)for(const e of h){if(e===b.found)break;if("newline"===e.type){a(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}m.start<b.found.offset-1024&&a(b.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else f&&("source"in f&&f.source&&":"===f.source[0]?a(f,"MISSING_CHAR",`Missing space after : in ${s}`):a(b.start,"MISSING_CHAR",`Missing , or : between ${s} items`));const v=f?e(r,f,b,a):b.found?t(r,b.end,h,null,b,a):null;v?tf(f)&&a(v.range,"BLOCK_IN_FLOW",ef):b.comment&&(g.comment?g.comment+="\n"+b.comment:g.comment=b.comment);const y=new Np(g,v);if(r.options.keepSourceTokens&&(y.srcToken=c),i){const e=l;Yh(r,e.items,g)&&a(o,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(y)}else{const e=new Fp(r.schema);e.flow=!0,e.items.push(y);const t=(v??g).range;e.range=[g.range[0],t[1],t[2]],l.items.push(e)}u=v?v.range[2]:b.end}else{const n=f?e(r,f,m,a):t(r,m.end,h,null,m,a);l.items.push(n),u=n.range[2],tf(f)&&a(n.range,"BLOCK_IN_FLOW",ef)}}const d=i?"}":"]",[p,...h]=n.end;let f=u;if(p&&p.source===d)f=p.offset+p.source.length;else{const e=s[0].toUpperCase()+s.substring(1);a(u,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`),p&&1!==p.source.length&&h.unshift(p)}if(h.length>0){const e=Jh(h,f,r.options.strict,a);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[n.offset,f,e.offset]}else l.range=[n.offset,f,f];return l}(e,t,r,n,o),s=i.constructor;return"!"===a||a===s.tagName?(i.tag=s.tagName,i):(a&&(i.tag=a),i)}function nf(e,t,r){const n=t.offset,a=function({offset:e,props:t},r,n){if("block-scalar-header"!==t[0].type)return n(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:a}=t[0],o=a[0];let i=0,s="",l=-1;for(let t=1;t<a.length;++t){const r=a[t];if(s||"-"!==r&&"+"!==r){const n=Number(r);!i&&n?i=n:-1===l&&(l=e+t)}else s=r}-1!==l&&n(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${a}`);let c=!1,u="",d=a.length;for(let e=1;e<t.length;++e){const a=t[e];switch(a.type){case"space":c=!0;case"newline":d+=a.source.length;break;case"comment":r&&!c&&n(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=a.source.length,u=a.source.substring(1);break;case"error":n(a,"UNEXPECTED_TOKEN",a.message),d+=a.source.length;break;default:{n(a,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${a.type}`);const e=a.source;e&&"string"==typeof e&&(d+=e.length)}}}return{mode:o,indent:i,chomp:s,comment:u,length:d}}(t,e.options.strict,r);if(!a)return{value:"",type:null,comment:"",range:[n,n,n]};const o=">"===a.mode?op.BLOCK_FOLDED:op.BLOCK_LITERAL,i=t.source?function(e){const t=e.split(/\n( *)/),r=t[0],n=r.match(/^( *)/),a=[n?.[1]?[n[1],r.slice(n[1].length)]:["",r]];for(let e=1;e<t.length;e+=2)a.push([t[e],t[e+1]]);return a}(t.source):[];let s=i.length;for(let e=i.length-1;e>=0;--e){const t=i[e][1];if(""!==t&&"\r"!==t)break;s=e}if(0===s){const e="+"===a.chomp&&i.length>0?"\n".repeat(Math.max(1,i.length-1)):"";let r=n+a.length;return t.source&&(r+=t.source.length),{value:e,type:o,comment:a.comment,range:[n,r,r]}}let l=t.indent+a.indent,c=t.offset+a.length,u=0;for(let t=0;t<s;++t){const[n,o]=i[t];if(""!==o&&"\r"!==o){if(n.length<l){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";r(c+n.length,"MISSING_CHAR",e)}0===a.indent&&(l=n.length),u=t,0!==l||e.atRoot||r(c,"BAD_INDENT","Block scalar values in collections must be indented");break}0===a.indent&&n.length>l&&(l=n.length),c+=n.length+o.length+1}for(let e=i.length-1;e>=s;--e)i[e][0].length>l&&(s=e+1);let d="",p="",h=!1;for(let e=0;e<u;++e)d+=i[e][0].slice(l)+"\n";for(let e=u;e<s;++e){let[t,n]=i[e];c+=t.length+n.length+1;const s="\r"===n[n.length-1];if(s&&(n=n.slice(0,-1)),n&&t.length<l){const e="Block scalar lines must not be less indented than their "+(a.indent?"explicit indentation indicator":"first line");r(c-n.length-(s?2:1),"BAD_INDENT",e),t=""}o===op.BLOCK_LITERAL?(d+=p+t.slice(l)+n,p="\n"):t.length>l||"\t"===n[0]?(" "===p?p="\n":h||"\n"!==p||(p="\n\n"),d+=p+t.slice(l)+n,p="\n",h=!0):""===n?"\n"===p?d+="\n":p="\n":(d+=p+n,p=" ",h=!1)}switch(a.chomp){case"-":break;case"+":for(let e=s;e<i.length;++e)d+="\n"+i[e][0].slice(l);"\n"!==d[d.length-1]&&(d+="\n");break;default:d+="\n"}const f=n+a.length+t.source.length;return{value:d,type:o,comment:a.comment,range:[n,f,f]}}function af(e,t,r){const{offset:n,type:a,source:o,end:i}=e;let s,l;const c=(e,t,a)=>r(n+e,t,a);switch(a){case"scalar":s=op.PLAIN,l=function(e,t){let r="";switch(e[0]){case"\t":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":r=`block scalar indicator ${e[0]}`;break;case"@":case"`":r=`reserved character ${e[0]}`}return r&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`),of(e)}(o,c);break;case"single-quoted-scalar":s=op.QUOTE_SINGLE,l=function(e,t){return"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote"),of(e.slice(1,-1)).replace(/''/g,"'")}(o,c);break;case"double-quoted-scalar":s=op.QUOTE_DOUBLE,l=function(e,t){let r="";for(let n=1;n<e.length-1;++n){const a=e[n];if("\r"!==a||"\n"!==e[n+1])if("\n"===a){const{fold:t,offset:a}=sf(e,n);r+=t,n=a}else if("\\"===a){let a=e[++n];const o=lf[a];if(o)r+=o;else if("\n"===a)for(a=e[n+1];" "===a||"\t"===a;)a=e[1+ ++n];else if("\r"===a&&"\n"===e[n+1])for(a=e[1+ ++n];" "===a||"\t"===a;)a=e[1+ ++n];else if("x"===a||"u"===a||"U"===a){const o={x:2,u:4,U:8}[a];r+=cf(e,n+1,o,t),n+=o}else{const a=e.substr(n-1,2);t(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),r+=a}}else if(" "===a||"\t"===a){const t=n;let o=e[n+1];for(;" "===o||"\t"===o;)o=e[1+ ++n];"\n"===o||"\r"===o&&"\n"===e[n+2]||(r+=n>t?e.slice(t,n+1):a)}else r+=a}return'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote'),r}(o,c);break;default:return r(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[n,n+o.length,n+o.length]}}const u=n+o.length,d=Jh(i,u,t,r);return{value:l,type:s,comment:d.comment,range:[n,u,d.offset]}}function of(e){let t,r;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),r=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,r=/[ \t]*(.*?)[ \t]*\r?\n/sy}let n=t.exec(e);if(!n)return e;let a=n[1],o=" ",i=t.lastIndex;for(r.lastIndex=i;n=r.exec(e);)""===n[1]?"\n"===o?a+=o:o="\n":(a+=o+n[1],o=" "),i=r.lastIndex;const s=/[ \t]*(.*)/sy;return s.lastIndex=i,n=s.exec(e),a+o+(n?.[1]??"")}function sf(e,t){let r="",n=e[t+1];for(;!(" "!==n&&"\t"!==n&&"\n"!==n&&"\r"!==n||"\r"===n&&"\n"!==e[t+2]);)"\n"===n&&(r+="\n"),n=e[(t+=1)+1];return r||(r=" "),{fold:r,offset:t}}const lf={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function cf(e,t,r,n){const a=e.substr(t,r),o=a.length===r&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;if(isNaN(o)){const a=e.substr(t-2,r+2);return n(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(o)}function uf(e,t,r,n){const{value:a,type:o,comment:i,range:s}="block-scalar"===t.type?nf(e,t,n):af(t,e.options.strict,n),l=r?e.directives.tagName(r.source,(e=>n(r,"TAG_RESOLVE_FAILED",e))):null;let c,u;c=e.options.stringKeys&&e.atKey?e.schema[Ed]:l?function(e,t,r,n,a){if("!"===r)return e[Ed];const o=[];for(const t of e.tags)if(!t.collection&&t.tag===r){if(!t.default||!t.test)return t;o.push(t)}for(const e of o)if(e.test?.test(t))return e;const i=e.knownTags[r];return i&&!i.collection?(e.tags.push(Object.assign({},i,{default:!1,test:void 0})),i):(a(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,"tag:yaml.org,2002:str"!==r),e[Ed])}(e.schema,a,l,r,n):"scalar"===t.type?function({atKey:e,directives:t,schema:r},n,a,o){const i=r.tags.find((t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(n)))||r[Ed];if(r.compat){const e=r.compat.find((e=>e.default&&e.test?.test(n)))??r[Ed];i.tag!==e.tag&&o(a,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t.tagString(i.tag)} or ${t.tagString(e.tag)}`,!0)}return i}(e,a,t,n):e.schema[Ed];try{const o=c.resolve(a,(e=>n(r??t,"TAG_RESOLVE_FAILED",e)),e.options);u=Dd(o)?o:new op(o)}catch(e){const o=e instanceof Error?e.message:String(e);n(r??t,"TAG_RESOLVE_FAILED",o),u=new op(a)}return u.range=s,u.source=a,o&&(u.type=o),l&&(u.tag=l),c.format&&(u.format=c.format),i&&(u.comment=i),u}function df(e,t,r){if(t){r??(r=t.length);for(let n=r-1;n>=0;--n){let r=t[n];switch(r.type){case"space":case"comment":case"newline":e-=r.source.length;continue}for(r=t[++n];"space"===r?.type;)e+=r.source.length,r=t[++n];break}}return e}const pf={composeNode:hf,composeEmptyNode:ff};function hf(e,t,r,n){const a=e.atKey,{spaceBefore:o,comment:i,anchor:s,tag:l}=r;let c,u=!0;switch(t.type){case"alias":c=function({options:e},{offset:t,source:r,end:n},a){const o=new rp(r.substring(1));""===o.source&&a(t,"BAD_ALIAS","Alias cannot be an empty string"),o.source.endsWith(":")&&a(t+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const i=t+r.length,s=Jh(n,i,e.strict,a);return o.range=[t,i,s.offset],s.comment&&(o.comment=s.comment),o}(e,t,n),(s||l)&&n(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=uf(e,t,l,n),s&&(c.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=function(e,t,r,n,a){const o=n.tag,i=o?t.directives.tagName(o.source,(e=>a(o,"TAG_RESOLVE_FAILED",e))):null;if("block-seq"===r.type){const{anchor:e,newlineAfterProp:t}=n,r=e&&o?e.offset>o.offset?e:o:e??o;r&&(!t||t.offset<r.offset)&&a(r,"MISSING_CHAR","Missing newline after block sequence props")}const s="block-map"===r.type?"map":"block-seq"===r.type?"seq":"{"===r.start.source?"map":"seq";if(!o||!i||"!"===i||i===Fp.tagName&&"map"===s||i===zp.tagName&&"seq"===s)return rf(e,t,r,a,i);let l=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!l){const n=t.schema.knownTags[i];if(!n||n.collection!==s)return n?a(o,"BAD_COLLECTION_TYPE",`${n.tag} used for ${s} collection, but expects ${n.collection??"scalar"}`,!0):a(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),rf(e,t,r,a,i);t.schema.tags.push(Object.assign({},n,{default:!1})),l=n}const c=rf(e,t,r,a,i,l),u=l.resolve?.(c,(e=>a(o,"TAG_RESOLVE_FAILED",e)),t.options)??c,d=Id(u)?u:new op(u);return d.range=c.range,d.tag=i,l?.format&&(d.format=l.format),d}(pf,e,t,r,n),s&&(c.anchor=s.source.substring(1));break;default:n(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),c=ff(e,t.offset,void 0,null,r,n),u=!1}return s&&""===c.anchor&&n(s,"BAD_ALIAS","Anchor cannot be an empty string"),a&&e.options.stringKeys&&(!Dd(c)||"string"!=typeof c.value||c.tag&&"tag:yaml.org,2002:str"!==c.tag)&&n(l??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),o&&(c.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?c.comment=i:c.commentBefore=i),e.options.keepSourceTokens&&u&&(c.srcToken=t),c}function ff(e,t,r,n,{spaceBefore:a,comment:o,anchor:i,tag:s,end:l},c){const u=uf(e,{type:"scalar",offset:df(t,r,n),indent:-1,source:""},s,c);return i&&(u.anchor=i.source.substring(1),""===u.anchor&&c(i,"BAD_ALIAS","Anchor cannot be an empty string")),a&&(u.spaceBefore=!0),o&&(u.comment=o,u.range[2]=l),u}function mf(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:r}=e;return[t,t+("string"==typeof r?r.length:1)]}function gf(e){let t="",r=!1,n=!1;for(let a=0;a<e.length;++a){const o=e[a];switch(o[0]){case"#":t+=(""===t?"":n?"\n\n":"\n")+(o.substring(1)||" "),r=!0,n=!1;break;case"%":"#"!==e[a+1]?.[0]&&(a+=1),r=!1;break;default:r||(n=!0),r=!1}}return{comment:t,afterEmptyLine:n}}class bf{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,r,n)=>{const a=mf(e);n?this.warnings.push(new Vh(a,t,r)):this.errors.push(new Hh(a,t,r))},this.directives=new Xd({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:r,afterEmptyLine:n}=gf(this.prelude);if(r){const a=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${r}`:r;else if(n||e.directives.docStart||!a)e.commentBefore=r;else if(Nd(a)&&!a.flow&&a.items.length>0){let e=a.items[0];Md(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${r}\n${t}`:r}else{const e=a.commentBefore;a.commentBefore=e?`${r}\n${e}`:r}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:gf(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,r=-1){for(const t of e)yield*this.next(t);yield*this.end(t,r)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,r,n)=>{const a=mf(e);a[0]+=t,this.onError(a,"BAD_DIRECTIVE",r,n)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:r,start:n,value:a,end:o},i){const s=Object.assign({_directives:t},e),l=new Qh(void 0,s),c={atKey:!1,atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=Wh(n,{indicator:"doc-start",next:a??o?.[0],offset:r,onError:i,parentIndent:0,startOnNewline:!0});u.found&&(l.directives.docStart=!0,!a||"block-map"!==a.type&&"block-seq"!==a.type||u.hasNewline||i(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=a?hf(c,a,u,i):ff(c,u.end,n,null,u,i);const d=l.contents.range[2],p=Jh(o,d,!1,i);return p.comment&&(l.comment=p.comment),l.range=[r,d,p.offset],l}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,r=new Hh(mf(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Hh(mf(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Jh(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Hh(mf(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),r=new Qh(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),r.range=[0,t,t],this.decorate(r,!1),yield r}}}function vf(e,t){if(t)for(const r of t)switch(r.type){case"space":case"comment":e.push(r);break;case"newline":return e.push(r),!0}return!1}function yf(e,t,r){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=r,e.source=t;break;case"block-scalar":{const n=e.props.slice(1);let a=t.length;"block-scalar-header"===e.props[0].type&&(a-=e.props[0].source.length);for(const e of n)e.offset+=a;delete e.props,Object.assign(e,{type:r,source:t,end:n});break}case"block-map":case"block-seq":{const n={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:r,source:t,end:[n]});break}default:{const n="indent"in e?e.indent:-1,a="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:r,indent:n,source:t,end:a})}}}function Of(e){switch(e.type){case"block-scalar":{let t="";for(const r of e.props)t+=Of(r);return t+e.source}case"block-map":case"block-seq":{let t="";for(const r of e.items)t+=wf(r);return t}case"flow-collection":{let t=e.start.source;for(const r of e.items)t+=wf(r);for(const r of e.end)t+=r.source;return t}case"document":{let t=wf(e);if(e.end)for(const r of e.end)t+=r.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const r of e.end)t+=r.source;return t}}}function wf({start:e,key:t,sep:r,value:n}){let a="";for(const t of e)a+=t.source;if(t&&(a+=Of(t)),r)for(const e of r)a+=e.source;return n&&(a+=Of(n)),a}const xf=Symbol("break visit"),kf=Symbol("skip children"),Sf=Symbol("remove item");function _f(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),Ef(Object.freeze([]),e,t)}function Ef(e,t,r){let n=r(t,e);if("symbol"==typeof n)return n;for(const a of["key","value"]){const o=t[a];if(o&&"items"in o){for(let t=0;t<o.items.length;++t){const n=Ef(Object.freeze(e.concat([[a,t]])),o.items[t],r);if("number"==typeof n)t=n-1;else{if(n===xf)return xf;n===Sf&&(o.items.splice(t,1),t-=1)}}"function"==typeof n&&"key"===a&&(n=n(t,e))}}return"function"==typeof n?n(t,e):n}_f.BREAK=xf,_f.SKIP=kf,_f.REMOVE=Sf,_f.itemAtPath=(e,t)=>{let r=e;for(const[e,n]of t){const t=r?.[e];if(!t||!("items"in t))return;r=t.items[n]}return r},_f.parentCollection=(e,t)=>{const r=_f.itemAtPath(e,t.slice(0,-1)),n=t[t.length-1][0],a=r?.[n];if(a&&"items"in a)return a;throw new Error("Parent collection not found")};const Tf="\ufeff",Af="",Cf="",Pf="";function $f(e){switch(e){case Tf:return"byte-order-mark";case Af:return"doc-mode";case Cf:return"flow-error-end";case Pf:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}const Mf=Object.freeze(Object.defineProperty({__proto__:null,BOM:Tf,DOCUMENT:Af,FLOW_END:Cf,SCALAR:Pf,createScalarToken:function(e,t){const{implicitKey:r=!1,indent:n,inFlow:a=!1,offset:o=-1,type:i="PLAIN"}=t,s=_p({type:i,value:e},{implicitKey:r,indent:n>0?" ".repeat(n):"",inFlow:a,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:n,source:"\n"}];switch(s[0]){case"|":case">":{const e=s.indexOf("\n"),t=s.substring(0,e),r=s.substring(e+1)+"\n",a=[{type:"block-scalar-header",offset:o,indent:n,source:t}];return vf(a,l)||a.push({type:"newline",offset:-1,indent:n,source:"\n"}),{type:"block-scalar",offset:o,indent:n,props:a,source:r}}case'"':return{type:"double-quoted-scalar",offset:o,indent:n,source:s,end:l};case"'":return{type:"single-quoted-scalar",offset:o,indent:n,source:s,end:l};default:return{type:"scalar",offset:o,indent:n,source:s,end:l}}},isCollection:e=>!!e&&"items"in e,isScalar:e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),prettyToken:function(e){switch(e){case Tf:return"<BOM>";case Af:return"<DOC>";case Cf:return"<FLOW_END>";case Pf:return"<SCALAR>";default:return JSON.stringify(e)}},resolveAsScalar:function(e,t=!0,r){if(e){const n=(e,t,n)=>{const a="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!r)throw new Hh([a,a+1],t,n);r(a,t,n)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return af(e,t,n);case"block-scalar":return nf({options:{strict:t}},e,n)}}return null},setScalarValue:function(e,t,r={}){let{afterKey:n=!1,implicitKey:a=!1,inFlow:o=!1,type:i}=r,s="indent"in e?e.indent:null;if(n&&"number"==typeof s&&(s+=2),!i)switch(e.type){case"single-quoted-scalar":i="QUOTE_SINGLE";break;case"double-quoted-scalar":i="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");i=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:i="PLAIN"}const l=_p({type:i,value:t},{implicitKey:a||null===s,indent:null!==s&&s>0?" ".repeat(s):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":!function(e,t){const r=t.indexOf("\n"),n=t.substring(0,r),a=t.substring(r+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=n,e.source=a}else{const{offset:t}=e,r="indent"in e?e.indent:-1,o=[{type:"block-scalar-header",offset:t,indent:r,source:n}];vf(o,"end"in e?e.end:void 0)||o.push({type:"newline",offset:-1,indent:r,source:"\n"});for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:r,props:o,source:a})}}(e,l);break;case'"':yf(e,l,"double-quoted-scalar");break;case"'":yf(e,l,"single-quoted-scalar");break;default:yf(e,l,"scalar")}},stringify:e=>"type"in e?Of(e):wf(e),tokenType:$f,visit:_f},Symbol.toStringTag,{value:"Module"}));function Df(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const Rf=new Set("0123456789ABCDEFabcdef"),Nf=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),If=new Set(",[]{}"),Lf=new Set(" ,[]{}\n\r\t"),jf=e=>!e||Lf.has(e);class Bf{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let r=this.next??"stream";for(;r&&(t||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let r=0;for(;" "===t;)t=this.buffer[++r+e];if("\r"===t){const t=this.buffer[r+e+1];if("\n"===t||!t&&!this.atEnd)return e+r+1}return"\n"===t||r>=this.indentNext||!t&&!this.atEnd?e+r:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&Df(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),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(null===e)return this.setNext("stream");if(e[0]===Tf&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,r=e.indexOf("#");for(;-1!==r;){const n=e[r-1];if(" "===n||"\t"===n){t=r-1;break}r=e.indexOf("#",r+1)}for(;;){const r=e[t-1];if(" "!==r&&"\t"!==r)break;t-=1}const n=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-n),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield Af,yield*this.parseLineStart()}*parseLineStart(){const 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");const e=this.peek(3);if(("---"===e||"..."===e)&&Df(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&&!Df(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&Df(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(jf),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,r=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=r=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const n=this.getLine();if(null===n)return this.setNext("flow");if((-1!==r&&r<this.indentNext&&"#"!==n[0]||0===r&&(n.startsWith("---")||n.startsWith("..."))&&Df(n[3]))&&(r!==this.indentNext-1||1!==this.flowLevel||"]"!==n[0]&&"}"!==n[0]))return this.flowLevel=0,yield Cf,yield*this.parseLineStart();let a=0;for(;","===n[a];)a+=(yield*this.pushCount(1)),a+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(a+=(yield*this.pushIndicators()),n[a]){case void 0:return"flow";case"#":return yield*this.pushCount(n.length-a),"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-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(jf),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||Df(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}const r=this.buffer.substring(0,t);let n=r.indexOf("\n",this.pos);if(-1!==n){for(;-1!==n;){const e=this.continueScalar(n+1);if(-1===e)break;n=r.indexOf("\n",e)}-1!==n&&(t=n-("\r"===r[n-1]?2:1))}if(-1===t){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(;;){const 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=>Df(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,r=0;e:for(let n=this.pos;e=this.buffer[n];++n)switch(e){case" ":r+=1;break;case"\n":t=n,r=0;break;case"\r":{const e=this.buffer[n+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=r:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let n=t+1;for(e=this.buffer[n];" "===e;)e=this.buffer[++n];if("\t"===e){for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++n];t=n-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,n=this.buffer[e];"\r"===n&&(n=this.buffer[--e]);const a=e;for(;" "===n;)n=this.buffer[--e];if(!("\n"===n&&e>=this.pos&&e+1+r>a))break;t=e}return yield Pf,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,r=this.pos-1,n=this.pos-1;for(;t=this.buffer[++n];)if(":"===t){const t=this.buffer[n+1];if(Df(t)||e&&If.has(t))break;r=n}else if(Df(t)){let a=this.buffer[n+1];if("\r"===t&&("\n"===a?(n+=1,t="\n",a=this.buffer[n+1]):r=n),"#"===a||e&&If.has(a))break;if("\n"===t){const e=this.continueScalar(n+1);if(-1===e)break;n=Math.max(n,e-2)}}else{if(e&&If.has(t))break;r=n}return t||this.atEnd?(yield Pf,yield*this.pushToIndex(r+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const r=this.buffer.slice(this.pos,e);return r?(yield r,this.pos+=r.length,r.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(jf))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Df(t)||e&&If.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!Df(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(Nf.has(t))t=this.buffer[++e];else{if("%"!==t||!Rf.has(this.buffer[e+1])||!Rf.has(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,r=this.pos-1;do{t=this.buffer[++r]}while(" "===t||e&&"\t"===t);const n=r-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=r),n}*pushUntil(e){let t=this.pos,r=this.buffer[t];for(;!e(r);)r=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class Uf{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,r=this.lineStarts.length;for(;t<r;){const n=t+r>>1;this.lineStarts[n]<e?t=n+1:r=n}return this.lineStarts[t]===e?{line:t+1,col:1}:0===t?{line:0,col:e}:{line:t,col:e-this.lineStarts[t-1]+1}}}}function Ff(e,t){for(let r=0;r<e.length;++r)if(e[r].type===t)return!0;return!1}function Qf(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 zf(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 qf(e){switch(e.type){case"document":return e.start;case"block-map":{const 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 Hf(e){if(0===e.length)return[];let t=e.length;e: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 e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function Vf(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||Ff(t.start,"explicit-key-ind")||Ff(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,zf(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}let Zf=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 Bf,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const r of this.lexer.lex(e,t))yield*this.next(r);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=$f(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&Vf(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const r=e.items[e.items.length-1];if(r.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!r.sep)return Object.assign(r,{key:t,sep:[]}),void(this.onKeyLine=!r.explicitKey);r.value=t;break}case"block-seq":{const r=e.items[e.items.length-1];r.value?e.items.push({start:[],value:t}):r.value=t;break}case"flow-collection":{const r=e.items[e.items.length-1];return void(!r||r.value?e.items.push({start:[],key:t,sep:[]}):r.sep?r.value=t:Object.assign(r,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const r=t.items[t.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&-1===Qf(r.start)&&(0===t.indent||r.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=r.start:e.items.push({start:r.start}),t.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}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":return void(-1!==Qf(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const 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("map-value-ind"===this.type){const t=Hf(qf(this.peek(2)));let r;e.end?(r=e.end,r.push(this.sourceToken),delete e.end):r=[this.sourceToken];const n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const r="end"in t.value?t.value.end:void 0,n=Array.isArray(r)?r[r.length-1]:void 0;"comment"===n?.type?r?.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)){const r=e.items[e.items.length-2],n=r?.value?.end;if(Array.isArray(n))return Array.prototype.push.apply(n,t.start),n.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const r=!this.onKeyLine&&this.indent===e.indent,n=r&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type;let a=[];if(n&&t.sep&&!t.value){const r=[];for(let n=0;n<t.sep.length;++n){const a=t.sep[n];switch(a.type){case"newline":r.push(n);break;case"space":break;case"comment":a.indent>e.indent&&(r.length=0);break;default:r.length=0}}r.length>=2&&(a=t.sep.splice(r[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(a.push(this.sourceToken),e.items.push({start:a}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||t.explicitKey?n||t.value?(a.push(this.sourceToken),e.items.push({start:a,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Ff(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(zf(t.key)&&!Ff(t.sep,"newline")){const e=Hf(t.start),r=t.key,n=t.sep;n.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:r,sep:n}]})}else a.length>0?t.sep=t.sep.concat(a,this.sourceToken):t.sep.push(this.sourceToken);else if(Ff(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=Hf(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:a,key:null,sep:[this.sourceToken]}):Ff(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]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:a,key:r,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(r):(Object.assign(t,{key:r,sep:[]}),this.onKeyLine=!0))}default:{const n=this.startBlockValue(e);if(n){if("block-seq"===n.type){if(!t.explicitKey&&t.sep&&!Ff(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else r&&e.items.push({start:a});return void this.stack.push(n)}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const r="end"in t.value?t.value.end:void 0,n=Array.isArray(r)?r[r.length-1]:void 0;"comment"===n?.type?r?.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)){const r=e.items[e.items.length-2],n=r?.value?.end;if(Array.isArray(n))return Array.prototype.push.apply(n,t.start),n.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||Ff(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:r,sep:[]}):t.sep?this.stack.push(r):Object.assign(t,{key:r,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const r=this.startBlockValue(e);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const r=Hf(qf(t));Vf(e);const n=e.end.splice(1,e.end.length);n.push(this.sourceToken);const a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Hf(qf(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Hf(qf(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}};function Wf(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new Uf||null,prettyErrors:t}}function Xf(e,t={}){const{lineCounter:r,prettyErrors:n}=Wf(t),a=new Zf(r?.addNewLine),o=new bf(t);let i=null;for(const t of o.compose(a.parse(e),!0,e.length))if(i){if("silent"!==i.options.logLevel){i.errors.push(new Hh(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else i=t;return n&&r&&(i.errors.forEach(Zh(e,r)),i.warnings.forEach(Zh(e,r))),i}function Gf(e,t,r){let n;"function"==typeof t?n=t:void 0===r&&t&&"object"==typeof t&&(r=t);const a=Xf(e,r);if(!a)return null;if(a.warnings.forEach((e=>Ap(a.options.logLevel,e))),a.errors.length>0){if("silent"!==a.options.logLevel)throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:n},r))}function Yf(e,t,r){let n=null;if("function"==typeof t||Array.isArray(t)?n=t:void 0===r&&t&&(r=t),"string"==typeof r&&(r=r.length),"number"==typeof r){const e=Math.round(r);r=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=r??t??{};if(!e)return}return Pd(e)&&!n?e.toString(r):new Qh(e,n,r).toString(r)}const Kf=Object.freeze(Object.defineProperty({__proto__:null,Alias:rp,CST:Mf,Composer:bf,Document:Qh,Lexer:Bf,LineCounter:Uf,Pair:Np,Parser:Zf,Scalar:op,Schema:Fh,YAMLError:qh,YAMLMap:Fp,YAMLParseError:Hh,YAMLSeq:zp,YAMLWarning:Vh,isAlias:Cd,isCollection:Nd,isDocument:Pd,isMap:$d,isNode:Id,isPair:Md,isScalar:Dd,isSeq:Rd,parse:Gf,parseAllDocuments:function(e,t={}){const{lineCounter:r,prettyErrors:n}=Wf(t),a=new Zf(r?.addNewLine),o=new bf(t),i=Array.from(o.compose(a.parse(e)));if(n&&r)for(const t of i)t.errors.forEach(Zh(e,r)),t.warnings.forEach(Zh(e,r));return i.length>0?i:Object.assign([],{empty:!0},o.streamInfo())},parseDocument:Xf,stringify:Yf,visit:Fd,visitAsync:zd},Symbol.toStringTag,{value:"Module"}));function Jf(e){if(null!==e){if("string"==typeof e){if(""===e.trim())return;try{return JSON.parse(e)}catch(t){const r=/^[^:]+:/.test(e),n=e.slice(0,50).trimStart().startsWith("{");if(!r||n)return;return Gf(e,{maxAliasCount:1e4})}}return e}}function em(e){const t=e?.limit?function(e){let t=0;const r=[];return async n=>{t>=e&&await new Promise((e=>r.push(e))),t++;try{return await n()}finally{t--,(()=>{if(0===r.length||t>=e)return;const n=r.shift();n&&n()})()}}}(e.limit):e=>e();return{type:"loader",validate:pd,exec:r=>async function(e,t,r){try{const n=(e=>{try{return new URL(e).host}catch{return null}})(e),a=r?.headers?.find((e=>void 0!==e.domains.find((e=>e===n))))?.headers,o=r?.fetch??fetch,i=await t((()=>o(e,{headers:a})));return i.ok?{ok:!0,data:Jf(await i.text())}:{ok:!1}}catch{return{ok:!1}}}(r,t,e)}}const tm=(e,t)=>{const r=[],n=(e,t,a=[])=>{if(typeof e!=typeof t)return void 0===e?void r.push({path:a,changes:t,type:"add"}):void 0===t?void r.push({path:a,changes:e,type:"delete"}):void r.push({path:a,changes:t,type:"update"});if("object"!=typeof e||"object"!=typeof t||null===e||null===t)e!==t&&r.push({path:a,changes:t,type:"update"});else{const r=new Set([...Object.keys(e),...Object.keys(t)]);for(const o of r)n(e[o],t[o],[...a,o])}};return n(e,t),r};class rm extends Error{constructor(e){super(e),this.name="InvalidChangesDetectedError"}}const nm=(e,t)=>{const r=(e,t,n,a=0)=>{if(void 0===t[a])throw new rm(`Process aborted. Path ${t.join(".")} at depth ${a} is undefined, check diff object`);if(a>=t.length-1)"add"===n.type||"update"===n.type?e[t[a]]=n.changes:Array.isArray(e)?e.splice(Number.parseInt(t[a]),1):delete e[t[a]];else{if(void 0===e[t[a]]||"object"!=typeof e[t[a]])throw new rm("Process aborted, check diff object");r(e[t[a]],t,n,a+1)}};for(const n of t)r(e,n.path,n);return e};class am{constructor(e,t){this.value=e,this.children=t}}class om{root;constructor(){this.root=new am(null,{})}addPath(e,t){let r=this.root;for(const t of e)r.children[t]||(r.children[t]=new am(null,{})),r=r.children[t];r.value=t}findMatch(e,t){let r=this.root;for(const n of e){null!==r.value&&t(r.value);const e=r.children[n];if(!e)return;r=e}const n=e=>{for(const t of Object.keys(e?.children??{}))e&&Object.hasOwn(e.children,t)&&n(e?.children[t]);e?.value&&t(e.value)};n(r)}}const im=(e,t)=>{if(typeof e!=typeof t)return!0;if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){const r=new Set([...Object.keys(e),...Object.keys(t)]);for(const n of r)if(void 0!==e[n]&&void 0!==t[n]&&im(e[n],t[n]))return!0;return!1}return e!==t},sm=(e,t)=>{for(const r in t)if(r in e){const n=e[r],a=t[r];"object"==typeof n&&null!==n&&"object"==typeof a&&null!==a&&(e[r]=sm(n,a))}else e[r]=t[r];return e},lm=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<=e.length;++r)if(e[r]!==t[r])return!1;return!0},cm=(e,t)=>{const r=new om;for(const[t,n]of e.entries())r.addPath(n.path,{index:t,changes:n});const n=new Set,a=new Set,o=new Map,i=new Map;for(const[e,s]of t.entries())r.findMatch(s.path,(t=>{if("delete"===s.type)if("delete"===t.changes.type)t.changes.path.length>s.path.length?n.add(t.index):a.add(t.index);else{n.add(t.index),a.add(e);const r=i.get(e);void 0!==r?r[0].push(t.changes):i.set(e,[[t.changes],[s]])}if("add"===s.type||"update"===s.type){if(lm(s.path,t.changes.path)&&"delete"!==t.changes.type&&!im(s.changes,t.changes.changes))return n.add(t.index),void("object"==typeof s.changes&&sm(s.changes,t.changes.changes));n.add(t.index),a.add(e);const r=o.get(t.index);void 0!==r?r[1].push(s):o.set(t.index,[[t.changes],[s]])}}));const s=[...o.values(),...i.values()];return{diffs:[...e.filter(((e,t)=>!n.has(t))),...t.filter(((e,t)=>!a.has(t)))],conflicts:s}};function um(e){return e.split("/").filter(((e,t)=>(0!==t||"#"!==e)&&e))}const dm=Symbol("isMagicProxy"),pm=Symbol("magicProxyTarget"),hm="$ref-value",fm="$ref",mm=(e,t,r={root:e,proxyCache:new WeakMap,cache:new Map,schemas:Wu(e),currentContext:""})=>{if(!ld(e)&&!Array.isArray(e))return e;if(r.proxyCache.has(e))return r.proxyCache.get(e);const n=new Proxy(e,{get(e,n,a){if(n===dm)return!0;if(n===pm)return e;if("string"==typeof n&&n.startsWith("_")&&!t?.showInternal)return;const o=Reflect.get(e,fm,a),i=Vu(e);if(n===hm&&"string"==typeof o){if(r.cache.has(o))return r.cache.get(o);const e=Hu(o,i??r.currentContext,r.schemas);if(void 0===e)return;const n=Xu(r.root,um(`#/${e}`)),a=mm(n.value,t,{...r,currentContext:n.context});return r.cache.set(o,a),a}const s=Reflect.get(e,n,a);return mm(s,t,{...r,currentContext:i??r.currentContext})},set(e,n,a,o){const i=Reflect.get(e,fm,o);if("string"==typeof n&&n.startsWith("_")&&!t?.showInternal)return!0;if(n===hm&&"string"==typeof i){const t=Vu(e),n=Hu(i,t??r.currentContext,r.schemas);if(void 0===n)return;const o=um(`#/${n}`);if(0===o.length)return!1;const s=()=>Xu(r.root,o.slice(0,-1)).value;return void 0===s()&&(function(e,t){t.reduce(((e,t)=>(void 0===e[t]&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t])),e)}(r.root,o.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${i}\n\nPlease fix your input file to fix this issue.`)),s()[o.at(-1)]=a,!0}return Reflect.set(e,n,a,o)},deleteProperty:(e,t)=>Reflect.deleteProperty(e,t),has:(e,r)=>!("string"==typeof r&&r.startsWith("_")&&!t?.showInternal)&&(r===hm&&fm in e||Reflect.has(e,r)),ownKeys(e){const r=Reflect.ownKeys(e).filter((e=>"string"!=typeof e||!(e.startsWith("_")&&!t?.showInternal)));return fm in e&&!r.includes(hm)&&r.push(hm),r},getOwnPropertyDescriptor(e,r){if("string"==typeof r&&r.startsWith("_")&&!t?.showInternal)return;const n=Reflect.get(e,fm);return r===hm&&"string"==typeof n?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,r)}});return r.proxyCache.set(e,n),n};function gm(e){return"object"!=typeof e||null===e?e:e[dm]?e[pm]:e}function bm(e,t,r=[]){const n={};for(const[a,o]of Object.entries(e)){const e=[...r,a];Array.isArray(o)?n[a]=o.map(((r,n)=>"object"!=typeof r||Array.isArray(r)||null===r?r:bm(r,t,[...e,n.toString()]))):n[a]="object"!=typeof o||null===o?o:bm(o,t,e)}return t(n,r)}const vm=e=>{switch(e){case"application":return"clientCredentials";case"accessCode":return"authorizationCode";case"implicit":return"implicit";case"password":return"password";default:return e}};function ym(e){if(Object.hasOwn(e,"$ref"))return e;const t=function(e){if("array"!==e.type||"query"!==e.in&&"path"!==e.in&&"header"!==e.in)return{};const t=e.collectionFormat??"csv";return e.in in wm&&t in wm[e.in]?wm[e.in][t]:{}}(e),r=(n=e,["type","format","items","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf"].reduce(((e,t)=>(Object.hasOwn(n,t)&&(e[t]=n[t],delete n[t]),e)),{}));var n;return delete e.collectionFormat,delete e.default,{schema:r,...t,...e}}const Om={ssv:{},pipes:{},multi:{},csv:{style:"simple",explode:!1},tsv:{}},wm={header:Om,query:{ssv:{style:"spaceDelimited",explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",explode:!0},csv:{style:"form",explode:!1},tsv:{}},path:Om};function xm(e,t){delete e.name,delete e.in;const{schema:r,...n}=e,a={content:{},...n};if(a.content)for(const e of t)a.content[e]={schema:r};return a}function km(e){const t={content:{}};if(t.content){t.content["application/x-www-form-urlencoded"]={schema:{type:"object",properties:{},required:[]}};const r=t.content?.["application/x-www-form-urlencoded"];if(r?.schema&&"object"==typeof r.schema&&"properties"in r.schema)for(const t of e)t.name&&r.schema.properties&&(r.schema.properties[t.name]={type:t.type,description:t.description},t.required&&Array.isArray(r.schema.required)&&r.schema.required.push(t.name))}return t}function Sm(e,t){const r={parameters:e.filter((e=>!("body"===e.in||"formData"===e.in))).map((e=>ym(e)))},n=structuredClone(e.find((e=>"body"===e.in))??{});n&&Object.keys(n).length&&(r.requestBody=xm(n,t));const a=e.filter((e=>"formData"===e.in));if(a.length>0){const e=km(a);"object"!=typeof r.requestBody?r.requestBody=e:r.requestBody={...r.requestBody,content:{...r.requestBody.content,...e.content}},"object"!=typeof r.requestBody&&(r.requestBody={content:{}})}return r}const _m=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema"]),Em=(e,t)=>{if(void 0!==e.type&&!0===e.nullable&&(e.type=[e.type,"null"],delete e.nullable),!0===e.exclusiveMinimum?(e.exclusiveMinimum=e.minimum,delete e.minimum):!1===e.exclusiveMinimum&&delete e.exclusiveMinimum,!0===e.exclusiveMaximum?(e.exclusiveMaximum=e.maximum,delete e.maximum):!1===e.exclusiveMaximum&&delete e.exclusiveMaximum,void 0!==e.example&&(function(e){return!!e&&(!!e.some((e=>_m.has(e)))||!!e.some((e=>e.endsWith("Schema")))||e.length>=2&&"components"===e[0]&&"schemas"===e[1])}(t)?e.examples=[e.example]:e.examples={default:{value:e.example}},delete e.example),"object"===e.type&&void 0!==e.properties){const r=t?.slice(0,-1),n=r?.some(((e,r)=>"content"===e&&"multipart/form-data"===t?.[r+1]));if(n&&null!==e.properties)for(const t of Object.values(e.properties))"object"==typeof t&&null!==t&&"type"in t&&"format"in t&&"string"===t.type&&"binary"===t.format&&(t.contentMediaType="application/octet-stream",delete t.format)}if(t?.includes("content")&&t?.includes("application/octet-stream"))return{};const{format:r,...n}=e;if("string"===e.type){if("binary"===e.format)return{...n,type:"string",contentMediaType:"application/octet-stream"};if("base64"===e.format)return{...n,type:"string",contentEncoding:"base64"};if("byte"===e.format){const e=t?.slice(0,-1),r=e?.find(((e,r)=>"content"===t?.[r-1]));return{...n,type:"string",contentEncoding:"base64",contentMediaType:r}}}return void 0!==e["x-webhooks"]&&(e.webhooks=e["x-webhooks"],delete e["x-webhooks"]),e};function Tm(e,t){return function(e){let t=e;return null!==t&&"string"==typeof t.openapi&&t.openapi.startsWith("3.0")?(t.openapi="3.1.1",t=bm(t,Em),t):t}(function(e){let t=e;if(null===t||"object"!=typeof t||"string"!=typeof t.swagger||!t.swagger?.startsWith("2.0"))return t;if(t.openapi="3.0.4",delete t.swagger,t.host){const 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&&(t.components=Object.assign({},t.components,{schemas:t.definitions}),delete t.definitions,t=bm(t,(e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/definitions/")&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),e)))),t=bm(t,(e=>("file"===e.type&&(e.type="string",e.format="binary"),e))),Object.hasOwn(t,"parameters")){t=bm(t,(e=>{if("string"==typeof e.$ref&&e.$ref.startsWith("#/parameters/")){const r=e.$ref.split("/")[2];if(!r)return e;const n=t.parameters&&"object"==typeof t.parameters&&r in t.parameters?t.parameters[r]:void 0;n&&"object"==typeof n&&"in"in n&&("body"===n.in||"formData"===n.in)?e.$ref=e.$ref.replace(/^#\/parameters\//,"#/components/requestBodies/"):e.$ref=e.$ref.replace(/^#\/parameters\//,"#/components/parameters/")}return e})),t.components??={};const e={},r={},n=t.parameters&&"object"==typeof t.parameters?t.parameters:{};for(const[a,o]of Object.entries(n))o&&"object"==typeof o&&"in"in o&&("body"===o.in?r[a]=xm(o,t.consumes??["application/json"]):"formData"===o.in?r[a]=km([o]):e[a]=ym(o));Object.keys(e).length>0&&(t.components.parameters=e),Object.keys(r).length>0&&(t.components.requestBodies=r),delete t.parameters}if("object"==typeof t.paths)for(const e in t.paths)if(Object.hasOwn(t.paths,e)){const r=t.paths&&"object"==typeof t.paths&&e in t.paths?t.paths[e]:void 0;if(!r||"object"!=typeof r)continue;let n;for(const e in r)if("parameters"===e&&Object.hasOwn(r,e)){const e=Sm(r.parameters,t.consumes??["application/json"]);r.parameters=e.parameters,n=e.requestBody}else if(Object.hasOwn(r,e)){const a=r[e];if(n&&(a.requestBody=n),a.parameters){const e=Sm(a.parameters,a.consumes??t.consumes??["application/json"]);a.parameters=e.parameters,e.requestBody&&(a.requestBody=e.requestBody)}if(delete a.consumes,a.responses)for(const e in a.responses)if(Object.hasOwn(a.responses,e)){const r=a.responses[e];if(r.headers&&"object"==typeof r.headers&&(r.headers=Object.entries(r.headers).reduce(((e,[t,r])=>r&&"object"==typeof r?{[t]:ym(r),...e}:e),{})),r.schema){const e=t.produces??a.produces??["application/json"];"object"!=typeof r.content&&(r.content={});for(const t of e)r.content[t]={schema:r.schema};delete r.schema}}delete a.produces,0===a.parameters?.length&&delete a.parameters}}if(t.securityDefinitions){"object"==typeof t.components&&null!==t.components||(t.components={}),t.components&&"object"==typeof t.components&&Object.assign(t.components,{securitySchemes:{}});for(const[e,r]of Object.entries(t.securityDefinitions))if("object"==typeof r)if("type"in r&&"oauth2"===r.type){const{flow:n,authorizationUrl:a,tokenUrl:o,scopes:i}=r;t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:"oauth2",flows:{[vm(n||"implicit")]:Object.assign({},a&&{authorizationUrl:a},o&&{tokenUrl:o},i&&{scopes:i})}}})}else"type"in r&&"basic"===r.type?t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:"http",scheme:"basic"}}):t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:r});delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}(e))}function Am(e){return Rm(e)&&globalThis.Symbol.asyncIterator in e}function Cm(e){return Rm(e)&&globalThis.Symbol.iterator in e}function Pm(e){return e instanceof globalThis.Promise}function $m(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function Mm(e){return e instanceof globalThis.Uint8Array}function Dm(e,t){return t in e}function Rm(e){return null!==e&&"object"==typeof e}function Nm(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function Im(e){return void 0===e}function Lm(e){return null===e}function jm(e){return"boolean"==typeof e}function Bm(e){return"number"==typeof e}function Um(e){return globalThis.Number.isInteger(e)}function Fm(e){return"bigint"==typeof e}function Qm(e){return"string"==typeof e}function zm(e){return"function"==typeof e}function qm(e){return"symbol"==typeof e}var Hm;!function(e){function t(t){const r=Rm(t);return e.AllowArrayObject?r:r&&!Nm(t)}e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1,e.IsExactOptionalProperty=function(t,r){return e.ExactOptionalPropertyTypes?r in t:void 0!==t[r]},e.IsObjectLike=t,e.IsRecordLike=function(e){return t(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)},e.IsNumberLike=function(t){return e.AllowNaN?Bm(t):Number.isFinite(t)},e.IsVoidLike=function(t){const r=Im(t);return e.AllowNullVoid?r||null===t:r}}(Hm||(Hm={}));const Vm=new Map;function Zm(e){return Vm.has(e)}function Wm(e){return Vm.get(e)}const Xm=new Map;function Gm(e){return Xm.has(e)}function Ym(e){return Xm.get(e)}function Km(e){return Array.isArray(e)}function Jm(e){return"bigint"==typeof e}function eg(e){return"boolean"==typeof e}function tg(e){return e instanceof globalThis.Date}function rg(e){return"number"==typeof e}function ng(e){return"object"==typeof e&&null!==e}function ag(e){return e instanceof globalThis.RegExp}function og(e){return"string"==typeof e}function ig(e){return e instanceof globalThis.Uint8Array}function sg(e){return void 0===e}function lg(e){return Km(e)?function(e){return globalThis.Object.freeze(e).map((e=>lg(e)))}(e):tg(e)||ig(e)||ag(e)?e:ng(e)?function(e){const t={};for(const r of Object.getOwnPropertyNames(e))t[r]=lg(e[r]);for(const r of Object.getOwnPropertySymbols(e))t[r]=lg(e[r]);return globalThis.Object.freeze(t)}(e):e}function cg(e){return Km(e)?function(e){return e.map((e=>cg(e)))}(e):tg(e)?function(e){return new Date(e.getTime())}(e):ig(e)?function(e){return new Uint8Array(e)}(e):ag(e)?function(e){return new RegExp(e.source,e.flags)}(e):ng(e)?function(e){const t={};for(const r of Object.getOwnPropertyNames(e))t[r]=cg(e[r]);for(const r of Object.getOwnPropertySymbols(e))t[r]=cg(e[r]);return t}(e):e}function ug(e){return cg(e)}function dg(e,t){const r=void 0!==t?{...t,...e}:e;switch(Hm.InstanceMode){case"freeze":return lg(r);case"clone":return ug(r);default:return r}}const pg=Symbol.for("TypeBox.Transform"),hg=Symbol.for("TypeBox.Readonly"),fg=Symbol.for("TypeBox.Optional"),mg=Symbol.for("TypeBox.Hint"),gg=Symbol.for("TypeBox.Kind");class bg extends Error{constructor(e){super(e)}}function vg(e){return dg({[gg]:"MappedResult",properties:e})}function yg(e,t){return t.reduce(((e,t)=>function(e,t){const{[t]:r,...n}=e;return n}(e,t)),e)}function Og(e,t){return dg({[gg]:"Array",type:"array",items:e},t)}function wg(e,t){return dg({[gg]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function xg(e,t,r){return dg({[gg]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function kg(e,t,r){return dg({[gg]:"Function",type:"Function",parameters:e,returns:t},r)}function Sg(e,t,r){return dg({[gg]:"Computed",target:e,parameters:t},r)}function _g(e){return dg({[gg]:"Never",not:{}},e)}function Eg(e){return ng(e)&&"Readonly"===e[hg]}function Tg(e){return ng(e)&&"Optional"===e[fg]}function Ag(e){return Ug(e,"Any")}function Cg(e){return Ug(e,"Argument")}function Pg(e){return Ug(e,"Array")}function $g(e){return Ug(e,"AsyncIterator")}function Mg(e){return Ug(e,"BigInt")}function Dg(e){return Ug(e,"Boolean")}function Rg(e){return Ug(e,"Computed")}function Ng(e){return Ug(e,"Constructor")}function Ig(e){return Ug(e,"Function")}function Lg(e){return Ug(e,"Integer")}function jg(e){return Ug(e,"Intersect")}function Bg(e){return Ug(e,"Iterator")}function Ug(e,t){return ng(e)&&gg in e&&e[gg]===t}function Fg(e){return eg(e)||rg(e)||og(e)}function Qg(e){return Ug(e,"Literal")}function zg(e){return Ug(e,"MappedKey")}function qg(e){return Ug(e,"MappedResult")}function Hg(e){return Ug(e,"Never")}function Vg(e){return Ug(e,"Null")}function Zg(e){return Ug(e,"Number")}function Wg(e){return Ug(e,"Object")}function Xg(e){return Ug(e,"Promise")}function Gg(e){return Ug(e,"Record")}function Yg(e){return Ug(e,"Ref")}function Kg(e){return Ug(e,"RegExp")}function Jg(e){return Ug(e,"String")}function eb(e){return Ug(e,"Symbol")}function tb(e){return Ug(e,"TemplateLiteral")}function rb(e){return ng(e)&&pg in e}function nb(e){return Ug(e,"Tuple")}function ab(e){return Ug(e,"Undefined")}function ob(e){return Ug(e,"Union")}function ib(e){return Ag(e)||Cg(e)||Pg(e)||Dg(e)||Mg(e)||$g(e)||Rg(e)||Ng(e)||function(e){return Ug(e,"Date")}(e)||Ig(e)||Lg(e)||jg(e)||Bg(e)||Qg(e)||zg(e)||qg(e)||Hg(e)||function(e){return Ug(e,"Not")}(e)||Vg(e)||Zg(e)||Wg(e)||Xg(e)||Gg(e)||Yg(e)||Kg(e)||Jg(e)||eb(e)||tb(e)||function(e){return Ug(e,"This")}(e)||nb(e)||ab(e)||ob(e)||function(e){return Ug(e,"Uint8Array")}(e)||function(e){return Ug(e,"Unknown")}(e)||function(e){return Ug(e,"Unsafe")}(e)||function(e){return Ug(e,"Void")}(e)||function(e){return ng(e)&&gg in e&&og(e[gg])}(e)}function sb(e,t){const r=t??!0;return qg(e)?function(e,t){const r=function(e,t){return function(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=sb(e[n],t);return r}(e.properties,t)}(e,t);return vg(r)}(e,r):function(e,t){return!1===t?function(e){return dg(yg(e,[fg]))}(e):function(e){return dg({...e,[fg]:"Optional"})}(e)}(e,r)}function lb(e,t={}){const r=e.every((e=>Wg(e))),n=ib(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return dg(!1===t.unevaluatedProperties||ib(t.unevaluatedProperties)||r?{...n,[gg]:"Intersect",type:"object",allOf:e}:{...n,[gg]:"Intersect",allOf:e},t)}function cb(e){return e.map((e=>Tg(e)?yg(e,[fg]):e))}function ub(e,t={}){if(1===e.length)return dg(e[0],t);if(0===e.length)return _g(t);if(e.some((e=>rb(e))))throw new Error("Cannot intersect transform types");return function(e,t){return function(e){return e.every((e=>Tg(e)))}(e)?sb(lb(cb(e),t)):lb(cb(e),t)}(e,t)}function db(e,t){if(1===e.length)return dg(e[0],t);if(0===e.length)return _g(t);if(e.some((e=>rb(e))))throw new Error("Cannot intersect transform types");return lb(e,t)}function pb(e,t){return dg({[gg]:"Union",anyOf:e},t)}function hb(e){return e.map((e=>Tg(e)?yg(e,[fg]):e))}function fb(e,t){return 1===e.length?dg(e[0],t):0===e.length?_g(t):function(e,t){const r=function(e){return e.some((e=>Tg(e)))}(e);return r?sb(pb(hb(e),t)):pb(hb(e),t)}(e,t)}function mb(e,t){return 0===e.length?_g(t):1===e.length?dg(e[0],t):pb(e,t)}class gb extends bg{}function bb(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function vb(e,t,r){return e[t]===r&&92!==e.charCodeAt(t-1)}function yb(e,t){return vb(e,t,"(")}function Ob(e,t){return vb(e,t,")")}function wb(e,t){return vb(e,t,"|")}function xb(e){return function(e){if(!yb(e,0)||!Ob(e,e.length-1))return!1;let t=0;for(let r=0;r<e.length;r++)if(yb(e,r)&&(t+=1),Ob(e,r)&&(t-=1),0===t&&r!==e.length-1)return!1;return!0}(e)?xb(function(e){return e.slice(1,e.length-1)}(e)):function(e){let t=0;for(let r=0;r<e.length;r++)if(yb(e,r)&&(t+=1),Ob(e,r)&&(t-=1),wb(e,r)&&0===t)return!0;return!1}(e)?function(e){let[t,r]=[0,0];const n=[];for(let a=0;a<e.length;a++)if(yb(e,a)&&(t+=1),Ob(e,a)&&(t-=1),wb(e,a)&&0===t){const t=e.slice(r,a);t.length>0&&n.push(xb(t)),r=a+1}const a=e.slice(r);return a.length>0&&n.push(xb(a)),0===n.length?{type:"const",const:""}:1===n.length?n[0]:{type:"or",expr:n}}(e):function(e){for(let t=0;t<e.length;t++)if(yb(e,t))return!0;return!1}(e)?function(e){function t(e,t){if(!yb(e,t))throw new gb("TemplateLiteralParser: Index must point to open parens");let r=0;for(let n=t;n<e.length;n++)if(yb(e,n)&&(r+=1),Ob(e,n)&&(r-=1),0===r)return[t,n];throw new gb("TemplateLiteralParser: Unclosed group parens in expression")}function r(e,t){for(let r=t;r<e.length;r++)if(yb(e,r))return[t,r];return[t,e.length]}const n=[];for(let a=0;a<e.length;a++)if(yb(e,a)){const[r,o]=t(e,a),i=e.slice(r,o+1);n.push(xb(i)),a=o}else{const[t,o]=r(e,a),i=e.slice(t,o);i.length>0&&n.push(xb(i)),a=o-1}return 0===n.length?{type:"const",const:""}:1===n.length?n[0]:{type:"and",expr:n}}(e):{type:"const",const:bb(e)}}function kb(e){return xb(e.slice(1,e.length-1))}class Sb extends bg{}function _b(e){return!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"0"===e.expr[0].const&&"const"===e.expr[1].type&&"[1-9][0-9]*"===e.expr[1].const}(e)&&!function(e){return"const"===e.type&&".*"===e.const}(e)&&(!!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"true"===e.expr[0].const&&"const"===e.expr[1].type&&"false"===e.expr[1].const}(e)||("and"===e.type||"or"===e.type?e.expr.every((e=>_b(e))):"const"===e.type||(()=>{throw new Sb("Unknown expression type")})()))}function Eb(e){return _b(kb(e.pattern))}class Tb extends bg{}function*Ab(e){if(1===e.length)return yield*e[0];for(const t of e[0])for(const r of Ab(e.slice(1)))yield`${t}${r}`}function*Cb(e){return yield*Ab(e.expr.map((e=>[...Pb(e)])))}function*Pb(e){return"and"===e.type?yield*Cb(e):"or"===e.type?yield*function*(e){for(const t of e.expr)yield*Pb(t)}(e):"const"===e.type?yield*function*(e){return yield e.const}(e):(()=>{throw new Tb("Unknown expression")})()}function $b(e){const t=kb(e.pattern);return _b(t)?[...Pb(t)]:[]}function Mb(e,t){return dg({[gg]:"Literal",const:e,type:typeof e},t)}function Db(e){return dg({[gg]:"Boolean",type:"boolean"},e)}function Rb(e){return dg({[gg]:"BigInt",type:"bigint"},e)}function Nb(e){return dg({[gg]:"Number",type:"number"},e)}function Ib(e){return dg({[gg]:"String",type:"string"},e)}function*Lb(e){const t=e.trim().replace(/"|'/g,"");return"boolean"===t?yield Db():"number"===t?yield Nb():"bigint"===t?yield Rb():"string"===t?yield Ib():yield(()=>{const e=t.split("|").map((e=>Mb(e.trim())));return 0===e.length?_g():1===e.length?e[0]:fb(e)})()}function*jb(e){if("{"!==e[1]){const t=Mb("$"),r=Bb(e.slice(1));return yield*[t,...r]}for(let t=2;t<e.length;t++)if("}"===e[t]){const r=Lb(e.slice(2,t)),n=Bb(e.slice(t+1));return yield*[...r,...n]}yield Mb(e)}function*Bb(e){for(let t=0;t<e.length;t++)if("$"===e[t]){const r=Mb(e.slice(0,t)),n=jb(e.slice(t));return yield*[r,...n]}yield Mb(e)}const Ub="(0|[1-9][0-9]*)",Fb="(.*)",Qb=`^${Ub}$`,zb=`^${Fb}$`;class qb extends bg{}function Hb(e,t){return tb(e)?e.pattern.slice(1,e.pattern.length-1):ob(e)?`(${e.anyOf.map((e=>Hb(e,t))).join("|")})`:Zg(e)||Lg(e)||Mg(e)?`${t}${Ub}`:Jg(e)?`${t}${Fb}`:Qg(e)?`${t}${r=e.const.toString(),r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`:Dg(e)?`${t}(true|false)`:(()=>{throw new qb(`Unexpected Kind '${e[gg]}'`)})();var r}function Vb(e){return`^${e.map((e=>Hb(e,""))).join("")}$`}function Zb(e){return fb($b(e).map((e=>Mb(e))))}function Wb(e,t){const r=og(e)?Vb([...Bb(e)]):Vb(e);return dg({[gg]:"TemplateLiteral",type:"string",pattern:r},t)}function Xb(e){const t=[];for(const r of e)t.push(...Gb(r));return t}function Gb(e){return[...new Set(tb(e)?(r=e,$b(r).map((e=>e.toString()))):ob(e)?Xb(e.anyOf):Qg(e)?(t=e.const,[t.toString()]):Zg(e)||Lg(e)?["[number]"]:[])];var t,r}function Yb(e,t){return e.map((e=>Kb(e,t)))}function Kb(e,t){return jg(e)?function(e,t){return ub(function(e){return e.filter((e=>!Hg(e)))}(Yb(e,t)))}(e.allOf,t):ob(e)?function(e,t){return fb(function(e){return e.some((e=>Hg(e)))?[]:e}(Yb(e,t)))}(e.anyOf,t):nb(e)?(n=t)in(r=e.items??[])?r[n]:"[number]"===n?fb(r):_g():Pg(e)?function(e,t){return"[number]"===t?e:_g()}(e.items,t):Wg(e)?function(e,t){return t in e?e[t]:_g()}(e.properties,t):_g();var r,n}function Jb(e,t){return t.map((t=>Kb(e,t)))}function ev(e,t){return fb(Jb(e,t))}function tv(e,t,r){if(Yg(e)||Yg(t)){const r="Index types using Ref parameters require both Type and Key to be of TSchema";if(!ib(e)||!ib(t))throw new bg(r);return Sg("Index",[e,t])}return qg(t)?function(e,t,r){return vg(function(e,t,r){return function(e,t,r){const n={};for(const a of Object.getOwnPropertyNames(t))n[a]=tv(e,Gb(t[a]),r);return n}(e,t.properties,r)}(e,t,r))}(e,t,r):zg(t)?function(e,t,r){const n=function(e,t,r){return function(e,t,r){return t.reduce(((t,n)=>({...t,...rv(e,n,r)})),{})}(e,t.keys,r)}(e,t,r);return vg(n)}(e,t,r):dg(ib(t)?ev(e,Gb(t)):ev(e,t),r)}function rv(e,t,r){return{[t]:tv(e,[t],ug(r))}}function nv(e,t){return dg({[gg]:"Iterator",type:"Iterator",items:e},t)}var av=function(e,t){const r=function(e){const t=[];for(let r in e)Tg(e[r])||t.push(r);return t}(e);return dg(r.length>0?{[gg]:"Object",type:"object",properties:e,required:r}:{[gg]:"Object",type:"object",properties:e},t)};function ov(e,t){return dg({[gg]:"Promise",type:"Promise",item:e},t)}function iv(e,t){const r=t??!0;return qg(e)?function(e,t){const r=function(e,t){return function(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=iv(e[n],t);return r}(e.properties,t)}(e,t);return vg(r)}(e,r):function(e,t){return!1===t?function(e){return dg(yg(e,[hg]))}(e):function(e){return dg({...e,[hg]:"Readonly"})}(e)}(e,r)}function sv(e,t){return dg(e.length>0?{[gg]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[gg]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function lv(e,t){return e in t?uv(e,t[e]):vg(t)}function cv(e,t){return t.map((t=>uv(e,t)))}function uv(e,t){const r={...t};return Tg(t)?sb(uv(e,yg(t,[fg]))):Eg(t)?iv(uv(e,yg(t,[hg]))):qg(t)?lv(e,t.properties):zg(t)?function(e,t){return lv(e,function(e,t){return r=e,t.includes(r)?function(e){return{[e]:Mb(e)}}(e):function(e){const t={};for(const r of e)t[r]=Mb(r);return t}(t);var r}(e,t))}(e,t.keys):Ng(t)?xg(cv(e,t.parameters),uv(e,t.returns),r):Ig(t)?kg(cv(e,t.parameters),uv(e,t.returns),r):$g(t)?wg(uv(e,t.items),r):Bg(t)?nv(uv(e,t.items),r):jg(t)?db(cv(e,t.allOf),r):ob(t)?mb(cv(e,t.anyOf),r):nb(t)?sv(cv(e,t.items??[]),r):Wg(t)?av(function(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(t))r[n]=uv(e,t[n]);return r}(e,t.properties),r):Pg(t)?Og(uv(e,t.items),r):Xg(t)?ov(uv(e,t.item),r):t}function dv(...e){const[t,r]="string"==typeof e[0]?[e[0],e[1]]:[e[0].$id,e[1]];if("string"!=typeof t)throw new bg("Ref: $ref must be a string");return dg({[gg]:"Ref",$ref:t},r)}function pv(e){const t=[];for(const r of e)t.push(hv(r));return t}function hv(e){return jg(e)?function(e){const t=[];for(const r of e)t.push(...r);return t}(pv(e.allOf)):ob(e)?function(e){var t;return 1===(t=pv(e)).length?t[0]:t.length>1?function(e,t){return e.reduce(((e,t)=>function(e,t){return e.filter((e=>t.includes(e)))}(e,t)),t)}(t.slice(1),t[0]):[]}(e.anyOf):nb(e)?function(e){return e.map(((e,t)=>t.toString()))}(e.items??[]):Pg(e)?(e.items,["[number]"]):Wg(e)?(r=e.properties,globalThis.Object.getOwnPropertyNames(r)):Gg(e)?(t=e.patternProperties,fv?globalThis.Object.getOwnPropertyNames(t).map((e=>"^"===e[0]&&"$"===e[e.length-1]?e.slice(1,e.length-1):e)):[]):[];var t,r}let fv=!1;function mv(e){fv=!0;const t=hv(e);return fv=!1,`^(${t.map((e=>`(${e})`)).join("|")})$`}function gv(e,t){return Rg(e)?Sg("KeyOf",[Sg(e.target,e.parameters)]):Yg(e)?Sg("KeyOf",[dv(e.$ref)]):qg(e)?function(e,t){const r=function(e,t){return function(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=gv(e[n],ug(t));return r}(e.properties,t)}(e,t);return vg(r)}(e,t):function(e,t){const r=function(e){return e.map((e=>"[number]"===e?Nb():Mb(e)))}(hv(e));return dg(fb(r),t)}(e,t)}function bv(e){return"Intersect"===e[gg]?function(e){return e.allOf.every((e=>bv(e)))}(e):"Union"===e[gg]?function(e){return e.anyOf.some((e=>bv(e)))}(e):"Not"===e[gg]?function(e){return!bv(e.not)}(e):"Undefined"===e[gg]}let vv=function(e){switch(e.errorType){case My.ArrayContains:return"Expected array to contain at least one matching value";case My.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case My.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case My.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case My.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case My.ArrayUniqueItems:return"Expected array elements to be unique";case My.Array:return"Expected array";case My.AsyncIterator:return"Expected AsyncIterator";case My.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case My.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case My.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case My.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case My.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case My.BigInt:return"Expected bigint";case My.Boolean:return"Expected boolean";case My.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case My.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case My.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case My.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case My.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case My.Date:return"Expected Date";case My.Function:return"Expected function";case My.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case My.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case My.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case My.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case My.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case My.Integer:return"Expected integer";case My.IntersectUnevaluatedProperties:return"Unexpected property";case My.Intersect:return"Expected all values to match";case My.Iterator:return"Expected Iterator";case My.Literal:return`Expected ${"string"==typeof e.schema.const?`'${e.schema.const}'`:e.schema.const}`;case My.Never:return"Never";case My.Not:return"Value should not match";case My.Null:return"Expected null";case My.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case My.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case My.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case My.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case My.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case My.Number:return"Expected number";case My.Object:return"Expected object";case My.ObjectAdditionalProperties:return"Unexpected property";case My.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case My.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case My.ObjectRequiredProperty:return"Expected required property";case My.Promise:return"Expected Promise";case My.RegExp:return"Expected string to match regular expression";case My.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case My.StringFormat:return`Expected string to match '${e.schema.format}' format`;case My.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case My.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case My.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case My.String:return"Expected string";case My.Symbol:return"Expected symbol";case My.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case My.Tuple:return"Expected tuple";case My.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case My.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case My.Uint8Array:return"Expected Uint8Array";case My.Undefined:return"Expected undefined";case My.Union:return"Expected union value";case My.Void:return"Expected void";case My.Kind:return`Expected kind '${e.schema[gg]}'`;default:return"Unknown error type"}};class yv extends bg{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}}function Ov(e,t){return!Qm(e.$id)||t.some((t=>t.$id===e.$id))||t.push(e),t}function wv(e,t){return"This"===e[gg]||"Ref"===e[gg]?function(e,t){const r=t.find((t=>t.$id===e.$ref));if(void 0===r)throw new yv(e);return wv(r,t)}(e,t):e}class xv extends bg{constructor(e){super("Unable to hash value"),this.value=e}}var kv,Sv;(Sv=kv||(kv={}))[Sv.Undefined=0]="Undefined",Sv[Sv.Null=1]="Null",Sv[Sv.Boolean=2]="Boolean",Sv[Sv.Number=3]="Number",Sv[Sv.String=4]="String",Sv[Sv.Object=5]="Object",Sv[Sv.Array=6]="Array",Sv[Sv.Date=7]="Date",Sv[Sv.Uint8Array=8]="Uint8Array",Sv[Sv.Symbol=9]="Symbol",Sv[Sv.BigInt=10]="BigInt";let _v=BigInt("14695981039346656037");const[Ev,Tv]=[BigInt("1099511628211"),BigInt("18446744073709551616")],Av=Array.from({length:256}).map(((e,t)=>BigInt(t))),Cv=new Float64Array(1),Pv=new DataView(Cv.buffer),$v=new Uint8Array(Cv.buffer);function*Mv(e){const t=0===e?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let r=0;r<t;r++)yield e>>8*(t-1-r)&255}function Dv(e){if(Nm(e))return function(e){Rv(kv.Array);for(const t of e)Dv(t)}(e);if(jm(e))return function(e){Rv(kv.Boolean),Rv(e?1:0)}(e);if(Fm(e))return function(e){Rv(kv.BigInt),Pv.setBigInt64(0,e);for(const e of $v)Rv(e)}(e);if($m(e))return function(e){Rv(kv.Date),Dv(e.getTime())}(e);if(!Lm(e)){if(Bm(e))return function(e){Rv(kv.Number),Pv.setFloat64(0,e);for(const e of $v)Rv(e)}(e);if(Rm(e))return function(e){Rv(kv.Object);for(const t of globalThis.Object.getOwnPropertyNames(e).sort())Dv(t),Dv(e[t])}(e);if(Qm(e))return function(e){Rv(kv.String);for(let t=0;t<e.length;t++)for(const r of Mv(e.charCodeAt(t)))Rv(r)}(e);if(qm(e))return function(e){Rv(kv.Symbol),Dv(e.description)}(e);if(Mm(e))return function(e){Rv(kv.Uint8Array);for(let t=0;t<e.length;t++)Rv(e[t])}(e);if(Im(e))return Rv(kv.Undefined);throw new xv(e)}Rv(kv.Null)}function Rv(e){_v^=Av[e],_v=_v*Ev%Tv}function Nv(e){return _v=BigInt("14695981039346656037"),Dv(e),_v}function Iv(e){return dg({[gg]:"Any"},e)}function Lv(e){return dg({[gg]:"Unknown"},e)}const jv=["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"];function Bv(e){try{return new RegExp(e),!0}catch{return!1}}function Uv(e){if(!og(e))return!1;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r>=7&&r<=13||27===r||127===r)return!1}return!0}function Fv(e){return qv(e)||Ay(e)}function Qv(e){return sg(e)||Jm(e)}function zv(e){return sg(e)||rg(e)}function qv(e){return sg(e)||eg(e)}function Hv(e){return sg(e)||og(e)}function Vv(e){return sg(e)||Ay(e)}function Zv(e){return ng(e)&&"Optional"===e[fg]}function Wv(e){return iy(e,"Any")&&Hv(e.$id)}function Xv(e){return iy(e,"Array")&&"array"===e.type&&Hv(e.$id)&&Ay(e.items)&&zv(e.minItems)&&zv(e.maxItems)&&qv(e.uniqueItems)&&Vv(e.contains)&&zv(e.minContains)&&zv(e.maxContains)}function Gv(e){return iy(e,"AsyncIterator")&&"AsyncIterator"===e.type&&Hv(e.$id)&&Ay(e.items)}function Yv(e){return iy(e,"BigInt")&&"bigint"===e.type&&Hv(e.$id)&&Qv(e.exclusiveMaximum)&&Qv(e.exclusiveMinimum)&&Qv(e.maximum)&&Qv(e.minimum)&&Qv(e.multipleOf)}function Kv(e){return iy(e,"Boolean")&&"boolean"===e.type&&Hv(e.$id)}function Jv(e){return iy(e,"Constructor")&&"Constructor"===e.type&&Hv(e.$id)&&Km(e.parameters)&&e.parameters.every((e=>Ay(e)))&&Ay(e.returns)}function ey(e){return iy(e,"Date")&&"Date"===e.type&&Hv(e.$id)&&zv(e.exclusiveMaximumTimestamp)&&zv(e.exclusiveMinimumTimestamp)&&zv(e.maximumTimestamp)&&zv(e.minimumTimestamp)&&zv(e.multipleOfTimestamp)}function ty(e){return iy(e,"Function")&&"Function"===e.type&&Hv(e.$id)&&Km(e.parameters)&&e.parameters.every((e=>Ay(e)))&&Ay(e.returns)}function ry(e){return iy(e,"Integer")&&"integer"===e.type&&Hv(e.$id)&&zv(e.exclusiveMaximum)&&zv(e.exclusiveMinimum)&&zv(e.maximum)&&zv(e.minimum)&&zv(e.multipleOf)}function ny(e){return ng(e)&&Object.entries(e).every((([e,t])=>Uv(e)&&Ay(t)))}function ay(e){return iy(e,"Intersect")&&(!og(e.type)||"object"===e.type)&&Km(e.allOf)&&e.allOf.every((e=>Ay(e)&&!function(e){return ng(e)&&pg in e}(e)))&&Hv(e.type)&&(qv(e.unevaluatedProperties)||Vv(e.unevaluatedProperties))&&Hv(e.$id)}function oy(e){return iy(e,"Iterator")&&"Iterator"===e.type&&Hv(e.$id)&&Ay(e.items)}function iy(e,t){return ng(e)&&gg in e&&e[gg]===t}function sy(e){return uy(e)&&og(e.const)}function ly(e){return uy(e)&&rg(e.const)}function cy(e){return uy(e)&&eg(e.const)}function uy(e){return iy(e,"Literal")&&Hv(e.$id)&&function(e){return eg(e)||rg(e)||og(e)}(e.const)}function dy(e){return iy(e,"Never")&&ng(e.not)&&0===Object.getOwnPropertyNames(e.not).length}function py(e){return iy(e,"Not")&&Ay(e.not)}function hy(e){return iy(e,"Null")&&"null"===e.type&&Hv(e.$id)}function fy(e){return iy(e,"Number")&&"number"===e.type&&Hv(e.$id)&&zv(e.exclusiveMaximum)&&zv(e.exclusiveMinimum)&&zv(e.maximum)&&zv(e.minimum)&&zv(e.multipleOf)}function my(e){return iy(e,"Object")&&"object"===e.type&&Hv(e.$id)&&ny(e.properties)&&Fv(e.additionalProperties)&&zv(e.minProperties)&&zv(e.maxProperties)}function gy(e){return iy(e,"Promise")&&"Promise"===e.type&&Hv(e.$id)&&Ay(e.item)}function by(e){return iy(e,"Record")&&"object"===e.type&&Hv(e.$id)&&Fv(e.additionalProperties)&&ng(e.patternProperties)&&(e=>{const t=Object.getOwnPropertyNames(e.patternProperties);return 1===t.length&&Bv(t[0])&&ng(e.patternProperties)&&Ay(e.patternProperties[t[0]])})(e)}function vy(e){return iy(e,"RegExp")&&Hv(e.$id)&&og(e.source)&&og(e.flags)&&zv(e.maxLength)&&zv(e.minLength)}function yy(e){return iy(e,"String")&&"string"===e.type&&Hv(e.$id)&&zv(e.minLength)&&zv(e.maxLength)&&function(e){return sg(e)||og(e)&&Uv(e)&&Bv(e)}(e.pattern)&&function(e){return sg(e)||og(e)&&Uv(e)}(e.format)}function Oy(e){return iy(e,"Symbol")&&"symbol"===e.type&&Hv(e.$id)}function wy(e){return iy(e,"TemplateLiteral")&&"string"===e.type&&og(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]}function xy(e){return iy(e,"Tuple")&&"array"===e.type&&Hv(e.$id)&&rg(e.minItems)&&rg(e.maxItems)&&e.minItems===e.maxItems&&(sg(e.items)&&sg(e.additionalItems)&&0===e.minItems||Km(e.items)&&e.items.every((e=>Ay(e))))}function ky(e){return iy(e,"Undefined")&&"undefined"===e.type&&Hv(e.$id)}function Sy(e){return iy(e,"Union")&&Hv(e.$id)&&ng(e)&&Km(e.anyOf)&&e.anyOf.every((e=>Ay(e)))}function _y(e){return iy(e,"Uint8Array")&&"Uint8Array"===e.type&&Hv(e.$id)&&zv(e.minByteLength)&&zv(e.maxByteLength)}function Ey(e){return iy(e,"Unknown")&&Hv(e.$id)}function Ty(e){return iy(e,"Void")&&"void"===e.type&&Hv(e.$id)}function Ay(e){return ng(e)&&(Wv(e)||function(e){return iy(e,"Argument")&&rg(e.index)}(e)||Xv(e)||Kv(e)||Yv(e)||Gv(e)||function(e){return iy(e,"Computed")&&og(e.target)&&Km(e.parameters)&&e.parameters.every((e=>Ay(e)))}(e)||Jv(e)||ey(e)||ty(e)||ry(e)||ay(e)||oy(e)||uy(e)||function(e){return iy(e,"MappedKey")&&Km(e.keys)&&e.keys.every((e=>rg(e)||og(e)))}(e)||function(e){return iy(e,"MappedResult")&&ny(e.properties)}(e)||dy(e)||py(e)||hy(e)||fy(e)||my(e)||gy(e)||by(e)||function(e){return iy(e,"Ref")&&Hv(e.$id)&&og(e.$ref)}(e)||vy(e)||yy(e)||Oy(e)||wy(e)||function(e){return iy(e,"This")&&Hv(e.$id)&&og(e.$ref)}(e)||xy(e)||ky(e)||Sy(e)||_y(e)||Ey(e)||function(e){return iy(e,"Unsafe")}(e)||Ty(e)||function(e){return ng(e)&&gg in e&&og(e[gg])&&!jv.includes(e[gg])}(e))}class Cy extends bg{}var Py,$y,My,Dy;function Ry(e){return e===Py.False?e:Py.True}function Ny(e){throw new Cy(e)}function Iy(e){return dy(e)||ay(e)||Sy(e)||Ey(e)||Wv(e)}function Ly(e,t){return dy(t)?Qy():ay(t)?Fy(e,t):Sy(t)?nO(e,t):Ey(t)?aO():Wv(t)?jy():Ny("StructuralRight")}function jy(e,t){return Py.True}function By(e,t){return cy(e)||Kv(e)?Py.True:Py.False}function Uy(e,t){return uy(e)&&rg(e.const)||fy(e)||ry(e)?Py.True:Py.False}function Fy(e,t){return t.allOf.every((t=>oO(e,t)===Py.True))?Py.True:Py.False}function Qy(e,t){return Py.False}function zy(e){let[t,r]=[e,0];for(;py(t);)t=t.not,r+=1;return r%2==0?t:Lv()}function qy(e,t){return ly(e)||fy(e)||ry(e)?Py.True:Py.False}function Hy(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function Vy(e){return Gy(e)}function Zy(e){return Hy(e,0)||Hy(e,1)&&"description"in e.properties&&Sy(e.properties.description)&&2===e.properties.description.anyOf.length&&(yy(e.properties.description.anyOf[0])&&ky(e.properties.description.anyOf[1])||yy(e.properties.description.anyOf[1])&&ky(e.properties.description.anyOf[0]))}function Wy(e){return Hy(e,0)}function Xy(e){return Hy(e,0)}function Gy(e){const t=Nb();return Hy(e,0)||Hy(e,1)&&"length"in e.properties&&Ry(oO(e.properties.length,t))===Py.True}function Yy(e,t){return oO(e,t)===Py.False||Zv(e)&&!Zv(t)?Py.False:Py.True}function Ky(e,t){return Ey(e)?Py.False:Wv(e)?Py.Union:dy(e)||sy(e)&&Vy(t)||ly(e)&&Wy(t)||cy(e)&&Xy(t)||Oy(e)&&Zy(t)||Yv(e)&&Hy(t,0)||yy(e)&&Vy(t)||Oy(e)&&Zy(t)||fy(e)&&Wy(t)||ry(e)&&Wy(t)||Kv(e)&&Xy(t)||_y(e)&&function(e){return Gy(e)}(t)||ey(e)&&function(e){return Hy(e,0)}(t)||Jv(e)&&function(e){return Hy(e,0)}(t)||ty(e)&&function(e){const t=Nb();return Hy(e,0)||Hy(e,1)&&"length"in e.properties&&Ry(oO(e.properties.length,t))===Py.True}(t)?Py.True:by(e)&&yy(Jy(e))?"Record"===t[mg]?Py.True:Py.False:by(e)&&fy(Jy(e))&&Hy(t,0)?Py.True:Py.False}function Jy(e){return Qb in e.patternProperties?Nb():zb in e.patternProperties?Ib():Ny("Unknown record key pattern")}function eO(e){return Qb in e.patternProperties?e.patternProperties[Qb]:zb in e.patternProperties?e.patternProperties[zb]:Ny("Unable to get record value schema")}function tO(e,t){const[r,n]=[Jy(t),eO(t)];return sy(e)&&fy(r)&&Ry(oO(e,n))===Py.True?Py.True:_y(e)&&fy(r)||yy(e)&&fy(r)||Xv(e)&&fy(r)?oO(e,n):my(e)?(()=>{for(const t of Object.getOwnPropertyNames(e.properties))if(Yy(n,e.properties[t])===Py.False)return Py.False;return Py.True})():Py.False}function rO(e,t){return uy(e)&&og(e.const)||yy(e)?Py.True:Py.False}function nO(e,t){return t.anyOf.some((t=>oO(e,t)===Py.True))?Py.True:Py.False}function aO(e,t){return Py.True}function oO(e,t){return wy(e)||wy(t)?function(e,t){return wy(e)?oO(Zb(e),t):wy(t)?oO(e,Zb(t)):Ny("Invalid fallthrough for TemplateLiteral")}(e,t):vy(e)||vy(t)?function(e,t){return oO(vy(e)?Ib():e,vy(t)?Ib():t)}(e,t):py(e)||py(t)?function(e,t){return py(e)?oO(zy(e),t):py(t)?oO(e,zy(t)):Ny("Invalid fallthrough for Not")}(e,t):Wv(e)?function(e,t){return ay(t)?Fy(e,t):Sy(t)&&t.anyOf.some((e=>Wv(e)||Ey(e)))?Py.True:Sy(t)?Py.Union:Ey(t)||Wv(t)?Py.True:Py.Union}(e,t):Xv(e)?function(e,t){return my(t)&&Gy(t)?Py.True:Iy(t)?Ly(e,t):Xv(t)?Ry(oO(e.items,t.items)):Py.False}(e,t):Yv(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):Yv(t)?Py.True:Py.False}(e,t):Kv(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):Kv(t)?Py.True:Py.False}(e,t):Gv(e)?function(e,t){return Iy(t)?Ly(e,t):Gv(t)?Ry(oO(e.items,t.items)):Py.False}(e,t):Jv(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):Jv(t)?e.parameters.length>t.parameters.length?Py.False:e.parameters.every(((e,r)=>Ry(oO(t.parameters[r],e))===Py.True))?Ry(oO(e.returns,t.returns)):Py.False:Py.False}(e,t):ey(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):ey(t)?Py.True:Py.False}(e,t):ty(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):ty(t)?e.parameters.length>t.parameters.length?Py.False:e.parameters.every(((e,r)=>Ry(oO(t.parameters[r],e))===Py.True))?Ry(oO(e.returns,t.returns)):Py.False:Py.False}(e,t):ry(e)?function(e,t){return ry(t)||fy(t)?Py.True:Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):Py.False}(e,t):ay(e)?function(e,t){return e.allOf.some((e=>oO(e,t)===Py.True))?Py.True:Py.False}(e,t):oy(e)?function(e,t){return Iy(t)?Ly(e,t):oy(t)?Ry(oO(e.items,t.items)):Py.False}(e,t):uy(e)?function(e,t){return uy(t)&&t.const===e.const?Py.True:Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):yy(t)?rO(e):fy(t)?qy(e):ry(t)?Uy(e):Kv(t)?By(e):Py.False}(e,t):dy(e)?Py.True:hy(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):hy(t)?Py.True:Py.False}(e,t):fy(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):ry(t)||fy(t)?Py.True:Py.False}(e,t):my(e)?function(e,t){return Iy(t)?Ly(e,t):by(t)?tO(e,t):my(t)?(()=>{for(const r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!Zv(t.properties[r]))return Py.False;if(Zv(t.properties[r]))return Py.True;if(Yy(e.properties[r],t.properties[r])===Py.False)return Py.False}return Py.True})():Py.False}(e,t):by(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?oO(eO(e),eO(t)):Py.False}(e,t):yy(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):yy(t)?Py.True:Py.False}(e,t):Oy(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):Oy(t)?Py.True:Py.False}(e,t):xy(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)&&Gy(t)||Xv(t)&&function(e,t){return Xv(t)&&void 0!==e.items&&e.items.every((e=>oO(e,t.items)===Py.True))}(e,t)?Py.True:xy(t)?sg(e.items)&&!sg(t.items)||!sg(e.items)&&sg(t.items)?Py.False:sg(e.items)&&!sg(t.items)||e.items.every(((e,r)=>oO(e,t.items[r])===Py.True))?Py.True:Py.False:Py.False}(e,t):gy(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)&&function(e){const t=kg([Iv()],Iv());return Hy(e,0)||Hy(e,1)&&"then"in e.properties&&Ry(oO(e.properties.then,t))===Py.True}(t)?Py.True:gy(t)?Ry(oO(e.item,t.item)):Py.False}(e,t):_y(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):_y(t)?Py.True:Py.False}(e,t):ky(e)?function(e,t){return Iy(t)?Ly(e,t):my(t)?Ky(e,t):by(t)?tO(e,t):Ty(t)?function(e){return ky(e)||ky(e)?Py.True:Py.False}(e):ky(t)?Py.True:Py.False}(e,t):Sy(e)?function(e,t){return e.anyOf.every((e=>oO(e,t)===Py.True))?Py.True:Py.False}(e,t):Ey(e)?function(e,t){return dy(t)?Qy():ay(t)?Fy(e,t):Sy(t)?nO(e,t):Wv(t)?jy():yy(t)?rO(e):fy(t)?qy(e):ry(t)?Uy(e):Kv(t)?By(e):Xv(t)?function(e){return Ey(e)?Py.False:Wv(e)?Py.Union:dy(e)?Py.True:Py.False}(e):xy(t)?function(e){return dy(e)?Py.True:Ey(e)?Py.False:Wv(e)?Py.Union:Py.False}(e):my(t)?Ky(e,t):Ey(t)?Py.True:Py.False}(e,t):Ty(e)?function(e,t){return ay(t)?Fy(e,t):Sy(t)?nO(e,t):Ey(t)?aO():Wv(t)?jy():my(t)?Ky(e,t):Ty(t)?Py.True:Py.False}(e,t):Ny(`Unknown left type operand '${e[gg]}'`)}function iO(e,t){return oO(e,t)}function sO(e,t,r,n,a){return qg(e)?function(e,t,r,n,a){return vg(function(e,t,r,n,a){return function(e,t,r,n,a){const o={};for(const i of globalThis.Object.getOwnPropertyNames(e))o[i]=sO(e[i],t,r,n,ug(a));return o}(e.properties,t,r,n,a)}(e,t,r,n,a))}(e,t,r,n,a):zg(e)?dg(function(e,t,r,n,a){const o=function(e,t,r,n,a){return function(e,t,r,n,a){return e.reduce(((e,o)=>({...e,...lO(o,t,r,n,a)})),{})}(e.keys,t,r,n,a)}(e,t,r,n,a);return vg(o)}(e,t,r,n,a)):dg(function(e,t,r,n){const a=iO(e,t);return a===Py.Union?mb([r,n]):a===Py.True?r:n}(e,t,r,n),a)}function lO(e,t,r,n,a){return{[e]:sO(Mb(e),t,r,n,ug(a))}}($y=Py||(Py={}))[$y.Union=0]="Union",$y[$y.True=1]="True",$y[$y.False=2]="False";class cO extends bg{constructor(e){super("Unknown type"),this.schema=e}}function uO(e){return"Any"===e[gg]||"Unknown"===e[gg]}function dO(e){return void 0!==e}function pO(e,t,r,n){const a=dO(e.$id)?Ov(e,t):t,o=e;switch(o[gg]){case"Any":case"Argument":case"Unknown":return!0;case"Array":return function(e,t,r,n){if(!Nm(r))return!1;if(dO(e.minItems)&&!(r.length>=e.minItems))return!1;if(dO(e.maxItems)&&!(r.length<=e.maxItems))return!1;if(n.has(r))return!0;if(n.add(r),!r.every((r=>pO(e.items,t,r,n))))return!1;if(!0===e.uniqueItems&&!function(){const e=new Set;for(const t of r){const r=Nv(t);if(e.has(r))return!1;e.add(r)}return!0}())return!1;if(!(dO(e.contains)||Bm(e.minContains)||Bm(e.maxContains)))return!0;const a=dO(e.contains)?e.contains:_g(),o=r.reduce(((e,r)=>pO(a,t,r,n)?e+1:e),0);return!(0===o||Bm(e.minContains)&&o<e.minContains||Bm(e.maxContains)&&o>e.maxContains)}(o,a,r,n);case"AsyncIterator":return function(e,t,r){return Am(r)}(0,0,r);case"BigInt":return function(e,t,r){return!(!Fm(r)||dO(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)||dO(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)||dO(e.maximum)&&!(r<=e.maximum)||dO(e.minimum)&&!(r>=e.minimum)||dO(e.multipleOf)&&r%e.multipleOf!==BigInt(0))}(o,0,r);case"Boolean":return function(e,t,r){return jm(r)}(0,0,r);case"Constructor":return function(e,t,r,n){return pO(e.returns,t,r.prototype,n)}(o,a,r,n);case"Date":return function(e,t,r){return!(!$m(r)||dO(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)||dO(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)||dO(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)||dO(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)||dO(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!=0)}(o,0,r);case"Function":return function(e,t,r){return zm(r)}(0,0,r);case"Import":return function(e,t,r,n){const a=globalThis.Object.values(e.$defs);return pO(e.$defs[e.$ref],[...t,...a],r,n)}(o,a,r,n);case"Integer":return function(e,t,r){return!(!Um(r)||dO(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)||dO(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)||dO(e.maximum)&&!(r<=e.maximum)||dO(e.minimum)&&!(r>=e.minimum)||dO(e.multipleOf)&&r%e.multipleOf!=0)}(o,0,r);case"Intersect":return function(e,t,r,n){const a=e.allOf.every((e=>pO(e,t,r,n)));if(!1===e.unevaluatedProperties){const t=new RegExp(mv(e)),n=Object.getOwnPropertyNames(r).every((e=>t.test(e)));return a&&n}if(ib(e.unevaluatedProperties)){const o=new RegExp(mv(e)),i=Object.getOwnPropertyNames(r).every((a=>o.test(a)||pO(e.unevaluatedProperties,t,r[a],n)));return a&&i}return a}(o,a,r,n);case"Iterator":return function(e,t,r){return Cm(r)}(0,0,r);case"Literal":return function(e,t,r){return r===e.const}(o,0,r);case"Never":return!1;case"Not":return function(e,t,r,n){return!pO(e.not,t,r,n)}(o,a,r,n);case"Null":return function(e,t,r){return Lm(r)}(0,0,r);case"Number":return function(e,t,r){return!(!Hm.IsNumberLike(r)||dO(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)||dO(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)||dO(e.minimum)&&!(r>=e.minimum)||dO(e.maximum)&&!(r<=e.maximum)||dO(e.multipleOf)&&r%e.multipleOf!=0)}(o,0,r);case"Object":return function(e,t,r,n){if(!Hm.IsObjectLike(r))return!1;if(dO(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties))return!1;if(dO(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties))return!1;if(n.has(r))return!0;n.add(r);const a=Object.getOwnPropertyNames(e.properties);for(const o of a){const a=e.properties[o];if(e.required&&e.required.includes(o)){if(!pO(a,t,r[o],n))return n.delete(r),!1;if((bv(a)||uO(a))&&!(o in r))return n.delete(r),!1}else if(Hm.IsExactOptionalProperty(r,o)&&!pO(a,t,r[o],n))return n.delete(r),!1}if(!1===e.additionalProperties){const t=Object.getOwnPropertyNames(r);return e.required&&e.required.length===a.length&&t.length===a.length?(n.delete(r),!0):(n.delete(r),t.every((e=>a.includes(e))))}if("object"==typeof e.additionalProperties){const o=Object.getOwnPropertyNames(r).every((o=>a.includes(o)||pO(e.additionalProperties,t,r[o],n)));return n.delete(r),o}return n.delete(r),!0}(o,a,r,n);case"Promise":return function(e,t,r){return Pm(r)}(0,0,r);case"Record":return function(e,t,r,n){if(!Hm.IsRecordLike(r))return!1;if(dO(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties))return!1;if(dO(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties))return!1;const[a,o]=Object.entries(e.patternProperties)[0],i=new RegExp(a),s=Object.entries(r).every((([e,r])=>!i.test(e)||pO(o,t,r,n))),l="object"!=typeof e.additionalProperties||Object.entries(r).every((([r,a])=>!!i.test(r)||pO(e.additionalProperties,t,a,n))),c=!1!==e.additionalProperties||Object.getOwnPropertyNames(r).every((e=>i.test(e)));return s&&l&&c}(o,a,r,n);case"Ref":case"This":return function(e,t,r,n){return pO(wv(e,t),t,r,n)}(o,a,r,n);case"RegExp":return function(e,t,r){const n=new RegExp(e.source,e.flags);return(!dO(e.minLength)||r.length>=e.minLength)&&(!dO(e.maxLength)||r.length<=e.maxLength)&&n.test(r)}(o,0,r);case"String":return function(e,t,r){return!!Qm(r)&&((!dO(e.minLength)||r.length>=e.minLength)&&((!dO(e.maxLength)||r.length<=e.maxLength)&&(!(dO(e.pattern)&&!new RegExp(e.pattern).test(r))&&(!dO(e.format)||!!Zm(e.format)&&Wm(e.format)(r)))))}(o,0,r);case"Symbol":return function(e,t,r){return qm(r)}(0,0,r);case"TemplateLiteral":return function(e,t,r){return Qm(r)&&new RegExp(e.pattern).test(r)}(o,0,r);case"Tuple":return function(e,t,r,n){if(!Nm(r))return!1;if(void 0===e.items&&0!==r.length)return!1;if(r.length!==e.maxItems)return!1;if(!e.items)return!0;for(let a=0;a<e.items.length;a++)if(!pO(e.items[a],t,r[a],n))return!1;return!0}(o,a,r,n);case"Undefined":return function(e,t,r){return Im(r)}(0,0,r);case"Union":return function(e,t,r,n){return e.anyOf.some((e=>pO(e,t,r,n)))}(o,a,r,n);case"Uint8Array":return function(e,t,r){return!!Mm(r)&&(!dO(e.maxByteLength)||r.length<=e.maxByteLength)&&(!dO(e.minByteLength)||r.length>=e.minByteLength)}(o,0,r);case"Void":return function(e,t,r){return Hm.IsVoidLike(r)}(0,0,r);default:if(!Gm(o[gg]))throw new cO(o);return function(e,t,r){return!!Gm(e[gg])&&Ym(e[gg])(e,r)}(o,0,r)}}function hO(...e){return 2===e.length||3===e.length&&e[2]instanceof WeakSet?pO(e[0],[],e[1],e[2]??new WeakSet):pO(e[0],e[1],e[2],e[3]??new WeakSet)}(Dy=My||(My={}))[Dy.ArrayContains=0]="ArrayContains",Dy[Dy.ArrayMaxContains=1]="ArrayMaxContains",Dy[Dy.ArrayMaxItems=2]="ArrayMaxItems",Dy[Dy.ArrayMinContains=3]="ArrayMinContains",Dy[Dy.ArrayMinItems=4]="ArrayMinItems",Dy[Dy.ArrayUniqueItems=5]="ArrayUniqueItems",Dy[Dy.Array=6]="Array",Dy[Dy.AsyncIterator=7]="AsyncIterator",Dy[Dy.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",Dy[Dy.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",Dy[Dy.BigIntMaximum=10]="BigIntMaximum",Dy[Dy.BigIntMinimum=11]="BigIntMinimum",Dy[Dy.BigIntMultipleOf=12]="BigIntMultipleOf",Dy[Dy.BigInt=13]="BigInt",Dy[Dy.Boolean=14]="Boolean",Dy[Dy.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",Dy[Dy.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",Dy[Dy.DateMaximumTimestamp=17]="DateMaximumTimestamp",Dy[Dy.DateMinimumTimestamp=18]="DateMinimumTimestamp",Dy[Dy.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",Dy[Dy.Date=20]="Date",Dy[Dy.Function=21]="Function",Dy[Dy.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",Dy[Dy.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",Dy[Dy.IntegerMaximum=24]="IntegerMaximum",Dy[Dy.IntegerMinimum=25]="IntegerMinimum",Dy[Dy.IntegerMultipleOf=26]="IntegerMultipleOf",Dy[Dy.Integer=27]="Integer",Dy[Dy.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",Dy[Dy.Intersect=29]="Intersect",Dy[Dy.Iterator=30]="Iterator",Dy[Dy.Kind=31]="Kind",Dy[Dy.Literal=32]="Literal",Dy[Dy.Never=33]="Never",Dy[Dy.Not=34]="Not",Dy[Dy.Null=35]="Null",Dy[Dy.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",Dy[Dy.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",Dy[Dy.NumberMaximum=38]="NumberMaximum",Dy[Dy.NumberMinimum=39]="NumberMinimum",Dy[Dy.NumberMultipleOf=40]="NumberMultipleOf",Dy[Dy.Number=41]="Number",Dy[Dy.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",Dy[Dy.ObjectMaxProperties=43]="ObjectMaxProperties",Dy[Dy.ObjectMinProperties=44]="ObjectMinProperties",Dy[Dy.ObjectRequiredProperty=45]="ObjectRequiredProperty",Dy[Dy.Object=46]="Object",Dy[Dy.Promise=47]="Promise",Dy[Dy.RegExp=48]="RegExp",Dy[Dy.StringFormatUnknown=49]="StringFormatUnknown",Dy[Dy.StringFormat=50]="StringFormat",Dy[Dy.StringMaxLength=51]="StringMaxLength",Dy[Dy.StringMinLength=52]="StringMinLength",Dy[Dy.StringPattern=53]="StringPattern",Dy[Dy.String=54]="String",Dy[Dy.Symbol=55]="Symbol",Dy[Dy.TupleLength=56]="TupleLength",Dy[Dy.Tuple=57]="Tuple",Dy[Dy.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",Dy[Dy.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",Dy[Dy.Uint8Array=60]="Uint8Array",Dy[Dy.Undefined=61]="Undefined",Dy[Dy.Union=62]="Union",Dy[Dy.Void=63]="Void";class fO extends bg{constructor(e){super("Unknown type"),this.schema=e}}function mO(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function gO(e){return void 0!==e}class bO{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){const e=this.iterator.next();return e.done?void 0:e.value}}function vO(e,t,r,n,a=[]){return{type:e,schema:t,path:r,value:n,message:vv({errorType:e,path:r,schema:t,value:n,errors:a}),errors:a}}function*yO(e,t,r,n){const a=gO(e.$id)?[...t,e]:t,o=e;switch(o[gg]){case"Any":case"Argument":case"Unknown":return yield*function*(){}();case"Array":return yield*function*(e,t,r,n){if(!Nm(n))return yield vO(My.Array,e,r,n);!gO(e.minItems)||n.length>=e.minItems||(yield vO(My.ArrayMinItems,e,r,n)),!gO(e.maxItems)||n.length<=e.maxItems||(yield vO(My.ArrayMaxItems,e,r,n));for(let a=0;a<n.length;a++)yield*yO(e.items,t,`${r}/${a}`,n[a]);if(!0!==e.uniqueItems||function(){const e=new Set;for(const t of n){const r=Nv(t);if(e.has(r))return!1;e.add(r)}return!0}()||(yield vO(My.ArrayUniqueItems,e,r,n)),!(gO(e.contains)||gO(e.minContains)||gO(e.maxContains)))return;const a=gO(e.contains)?e.contains:_g(),o=n.reduce(((e,n,o)=>!0===yO(a,t,`${r}${o}`,n).next().done?e+1:e),0);0===o&&(yield vO(My.ArrayContains,e,r,n)),Bm(e.minContains)&&o<e.minContains&&(yield vO(My.ArrayMinContains,e,r,n)),Bm(e.maxContains)&&o>e.maxContains&&(yield vO(My.ArrayMaxContains,e,r,n))}(o,a,r,n);case"AsyncIterator":return yield*function*(e,t,r,n){Am(n)||(yield vO(My.AsyncIterator,e,r,n))}(o,0,r,n);case"BigInt":return yield*function*(e,t,r,n){if(!Fm(n))return yield vO(My.BigInt,e,r,n);!gO(e.exclusiveMaximum)||n<e.exclusiveMaximum||(yield vO(My.BigIntExclusiveMaximum,e,r,n)),!gO(e.exclusiveMinimum)||n>e.exclusiveMinimum||(yield vO(My.BigIntExclusiveMinimum,e,r,n)),!gO(e.maximum)||n<=e.maximum||(yield vO(My.BigIntMaximum,e,r,n)),!gO(e.minimum)||n>=e.minimum||(yield vO(My.BigIntMinimum,e,r,n)),gO(e.multipleOf)&&n%e.multipleOf!==BigInt(0)&&(yield vO(My.BigIntMultipleOf,e,r,n))}(o,0,r,n);case"Boolean":return yield*function*(e,t,r,n){jm(n)||(yield vO(My.Boolean,e,r,n))}(o,0,r,n);case"Constructor":return yield*function*(e,t,r,n){yield*yO(e.returns,t,r,n.prototype)}(o,a,r,n);case"Date":return yield*function*(e,t,r,n){if(!$m(n))return yield vO(My.Date,e,r,n);!gO(e.exclusiveMaximumTimestamp)||n.getTime()<e.exclusiveMaximumTimestamp||(yield vO(My.DateExclusiveMaximumTimestamp,e,r,n)),!gO(e.exclusiveMinimumTimestamp)||n.getTime()>e.exclusiveMinimumTimestamp||(yield vO(My.DateExclusiveMinimumTimestamp,e,r,n)),!gO(e.maximumTimestamp)||n.getTime()<=e.maximumTimestamp||(yield vO(My.DateMaximumTimestamp,e,r,n)),!gO(e.minimumTimestamp)||n.getTime()>=e.minimumTimestamp||(yield vO(My.DateMinimumTimestamp,e,r,n)),gO(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!=0&&(yield vO(My.DateMultipleOfTimestamp,e,r,n))}(o,0,r,n);case"Function":return yield*function*(e,t,r,n){zm(n)||(yield vO(My.Function,e,r,n))}(o,0,r,n);case"Import":return yield*function*(e,t,r,n){const a=globalThis.Object.values(e.$defs),o=e.$defs[e.$ref];yield*yO(o,[...t,...a],r,n)}(o,a,r,n);case"Integer":return yield*function*(e,t,r,n){if(!Um(n))return yield vO(My.Integer,e,r,n);!gO(e.exclusiveMaximum)||n<e.exclusiveMaximum||(yield vO(My.IntegerExclusiveMaximum,e,r,n)),!gO(e.exclusiveMinimum)||n>e.exclusiveMinimum||(yield vO(My.IntegerExclusiveMinimum,e,r,n)),!gO(e.maximum)||n<=e.maximum||(yield vO(My.IntegerMaximum,e,r,n)),!gO(e.minimum)||n>=e.minimum||(yield vO(My.IntegerMinimum,e,r,n)),gO(e.multipleOf)&&n%e.multipleOf!=0&&(yield vO(My.IntegerMultipleOf,e,r,n))}(o,0,r,n);case"Intersect":return yield*function*(e,t,r,n){let a=!1;for(const o of e.allOf)for(const e of yO(o,t,r,n))a=!0,yield e;if(a)return yield vO(My.Intersect,e,r,n);if(!1===e.unevaluatedProperties){const t=new RegExp(mv(e));for(const a of Object.getOwnPropertyNames(n))t.test(a)||(yield vO(My.IntersectUnevaluatedProperties,e,`${r}/${a}`,n))}if("object"==typeof e.unevaluatedProperties){const a=new RegExp(mv(e));for(const o of Object.getOwnPropertyNames(n))if(!a.test(o)){const a=yO(e.unevaluatedProperties,t,`${r}/${o}`,n[o]).next();a.done||(yield a.value)}}}(o,a,r,n);case"Iterator":return yield*function*(e,t,r,n){Cm(n)||(yield vO(My.Iterator,e,r,n))}(o,0,r,n);case"Literal":return yield*function*(e,t,r,n){n!==e.const&&(yield vO(My.Literal,e,r,n))}(o,0,r,n);case"Never":return yield*function*(e,t,r,n){yield vO(My.Never,e,r,n)}(o,0,r,n);case"Not":return yield*function*(e,t,r,n){!0===yO(e.not,t,r,n).next().done&&(yield vO(My.Not,e,r,n))}(o,a,r,n);case"Null":return yield*function*(e,t,r,n){Lm(n)||(yield vO(My.Null,e,r,n))}(o,0,r,n);case"Number":return yield*function*(e,t,r,n){if(!Hm.IsNumberLike(n))return yield vO(My.Number,e,r,n);!gO(e.exclusiveMaximum)||n<e.exclusiveMaximum||(yield vO(My.NumberExclusiveMaximum,e,r,n)),!gO(e.exclusiveMinimum)||n>e.exclusiveMinimum||(yield vO(My.NumberExclusiveMinimum,e,r,n)),!gO(e.maximum)||n<=e.maximum||(yield vO(My.NumberMaximum,e,r,n)),!gO(e.minimum)||n>=e.minimum||(yield vO(My.NumberMinimum,e,r,n)),gO(e.multipleOf)&&n%e.multipleOf!=0&&(yield vO(My.NumberMultipleOf,e,r,n))}(o,0,r,n);case"Object":return yield*function*(e,t,r,n){if(!Hm.IsObjectLike(n))return yield vO(My.Object,e,r,n);!gO(e.minProperties)||Object.getOwnPropertyNames(n).length>=e.minProperties||(yield vO(My.ObjectMinProperties,e,r,n)),!gO(e.maxProperties)||Object.getOwnPropertyNames(n).length<=e.maxProperties||(yield vO(My.ObjectMaxProperties,e,r,n));const a=Array.isArray(e.required)?e.required:[],o=Object.getOwnPropertyNames(e.properties),i=Object.getOwnPropertyNames(n);for(const t of a)i.includes(t)||(yield vO(My.ObjectRequiredProperty,e.properties[t],`${r}/${mO(t)}`,void 0));if(!1===e.additionalProperties)for(const t of i)o.includes(t)||(yield vO(My.ObjectAdditionalProperties,e,`${r}/${mO(t)}`,n[t]));if("object"==typeof e.additionalProperties)for(const a of i)o.includes(a)||(yield*yO(e.additionalProperties,t,`${r}/${mO(a)}`,n[a]));for(const a of o){const o=e.properties[a];e.required&&e.required.includes(a)?(yield*yO(o,t,`${r}/${mO(a)}`,n[a]),bv(e)&&!(a in n)&&(yield vO(My.ObjectRequiredProperty,o,`${r}/${mO(a)}`,void 0))):Hm.IsExactOptionalProperty(n,a)&&(yield*yO(o,t,`${r}/${mO(a)}`,n[a]))}}(o,a,r,n);case"Promise":return yield*function*(e,t,r,n){Pm(n)||(yield vO(My.Promise,e,r,n))}(o,0,r,n);case"Record":return yield*function*(e,t,r,n){if(!Hm.IsRecordLike(n))return yield vO(My.Object,e,r,n);!gO(e.minProperties)||Object.getOwnPropertyNames(n).length>=e.minProperties||(yield vO(My.ObjectMinProperties,e,r,n)),!gO(e.maxProperties)||Object.getOwnPropertyNames(n).length<=e.maxProperties||(yield vO(My.ObjectMaxProperties,e,r,n));const[a,o]=Object.entries(e.patternProperties)[0],i=new RegExp(a);for(const[e,a]of Object.entries(n))i.test(e)&&(yield*yO(o,t,`${r}/${mO(e)}`,a));if("object"==typeof e.additionalProperties)for(const[a,o]of Object.entries(n))i.test(a)||(yield*yO(e.additionalProperties,t,`${r}/${mO(a)}`,o));if(!1===e.additionalProperties)for(const[t,a]of Object.entries(n))if(!i.test(t))return yield vO(My.ObjectAdditionalProperties,e,`${r}/${mO(t)}`,a)}(o,a,r,n);case"Ref":case"This":return yield*function*(e,t,r,n){yield*yO(wv(e,t),t,r,n)}(o,a,r,n);case"RegExp":return yield*function*(e,t,r,n){return Qm(n)?(!gO(e.minLength)||n.length>=e.minLength||(yield vO(My.StringMinLength,e,r,n)),!gO(e.maxLength)||n.length<=e.maxLength||(yield vO(My.StringMaxLength,e,r,n)),new RegExp(e.source,e.flags).test(n)?void 0:yield vO(My.RegExp,e,r,n)):yield vO(My.String,e,r,n)}(o,0,r,n);case"String":return yield*function*(e,t,r,n){if(!Qm(n))return yield vO(My.String,e,r,n);!gO(e.minLength)||n.length>=e.minLength||(yield vO(My.StringMinLength,e,r,n)),!gO(e.maxLength)||n.length<=e.maxLength||(yield vO(My.StringMaxLength,e,r,n)),Qm(e.pattern)&&(new RegExp(e.pattern).test(n)||(yield vO(My.StringPattern,e,r,n))),Qm(e.format)&&(Zm(e.format)?Wm(e.format)(n)||(yield vO(My.StringFormat,e,r,n)):yield vO(My.StringFormatUnknown,e,r,n))}(o,0,r,n);case"Symbol":return yield*function*(e,t,r,n){qm(n)||(yield vO(My.Symbol,e,r,n))}(o,0,r,n);case"TemplateLiteral":return yield*function*(e,t,r,n){if(!Qm(n))return yield vO(My.String,e,r,n);new RegExp(e.pattern).test(n)||(yield vO(My.StringPattern,e,r,n))}(o,0,r,n);case"Tuple":return yield*function*(e,t,r,n){if(!Nm(n))return yield vO(My.Tuple,e,r,n);if(void 0===e.items&&0!==n.length)return yield vO(My.TupleLength,e,r,n);if(n.length!==e.maxItems)return yield vO(My.TupleLength,e,r,n);if(e.items)for(let a=0;a<e.items.length;a++)yield*yO(e.items[a],t,`${r}/${a}`,n[a])}(o,a,r,n);case"Undefined":return yield*function*(e,t,r,n){Im(n)||(yield vO(My.Undefined,e,r,n))}(o,0,r,n);case"Union":return yield*function*(e,t,r,n){if(hO(e,t,n))return;const a=e.anyOf.map((e=>new bO(yO(e,t,r,n))));yield vO(My.Union,e,r,n,a)}(o,a,r,n);case"Uint8Array":return yield*function*(e,t,r,n){if(!Mm(n))return yield vO(My.Uint8Array,e,r,n);!gO(e.maxByteLength)||n.length<=e.maxByteLength||(yield vO(My.Uint8ArrayMaxByteLength,e,r,n)),!gO(e.minByteLength)||n.length>=e.minByteLength||(yield vO(My.Uint8ArrayMinByteLength,e,r,n))}(o,0,r,n);case"Void":return yield*function*(e,t,r,n){Hm.IsVoidLike(n)||(yield vO(My.Void,e,r,n))}(o,0,r,n);default:if(!Gm(o[gg]))throw new fO(e);return yield*function*(e,t,r,n){Ym(e[gg])(e,n)||(yield vO(My.Kind,e,r,n))}(o,0,r,n)}}function OO(e,t=new WeakMap){if(Nm(e))return function(e,t){if(t.has(e))return t.get(e);const r=[];t.set(e,r);for(let n=0;n<e.length;n++)r.push(OO(e[n],t));return r}(e,t);if($m(e))return function(e){return new Date(e.toISOString())}(e);if(function(e){return globalThis.ArrayBuffer.isView(e)}(e))return function(e){return e.slice()}(e);if(function(e){return e instanceof globalThis.Map}(e))return function(e){return new Map(OO([...e.entries()]))}(e);if(function(e){return e instanceof globalThis.Set}(e))return function(e){return new Set(OO([...e.entries()]))}(e);if(Rm(e))return function(e,t){if(t.has(e))return t.get(e);const r={};t.set(e,r);for(const n of Object.getOwnPropertyNames(e))r[n]=OO(e[n],t);for(const n of Object.getOwnPropertySymbols(e))r[n]=OO(e[n],t);return r}(e,t);if(function(e){return Fm(e)||jm(e)||Lm(e)||Bm(e)||Qm(e)||qm(e)||Im(e)}(e))return e;throw new Error("ValueClone: Unable to clone value")}class wO extends bg{constructor(e,t){super(t),this.schema=e}}function xO(e){return zm(e)?e():OO(e)}function kO(e,t){const r=Ov(e,t),n=e;switch(n[gg]){case"Any":case"Record":case"Unknown":return function(e){return Dm(e,"default")?xO(e.default):{}}(n);case"Argument":return{};case"Array":return function(e,t){if(!0!==e.uniqueItems||Dm(e,"default")){if("contains"in e&&!Dm(e,"default"))throw new wO(e,"Array with the contains constraint requires a default value");return"default"in e?xO(e.default):void 0!==e.minItems?Array.from({length:e.minItems}).map((r=>kO(e.items,t))):[]}throw new wO(e,"Array with the uniqueItems constraint requires a default value")}(n,r);case"AsyncIterator":return function(e){return Dm(e,"default")?xO(e.default):async function*(){}()}(n);case"BigInt":return function(e){return Dm(e,"default")?xO(e.default):BigInt(0)}(n);case"Boolean":return function(e){return!!Dm(e,"default")&&xO(e.default)}(n);case"Constructor":return function(e,t){if(Dm(e,"default"))return xO(e.default);{const r=kO(e.returns,t);return"object"!=typeof r||Array.isArray(r)?class{}:class{constructor(){for(const[e,t]of Object.entries(r))this[e]=t}}}}(n,r);case"Date":return function(e){return Dm(e,"default")?xO(e.default):void 0!==e.minimumTimestamp?new Date(e.minimumTimestamp):new Date}(n);case"Function":return function(e,t){return Dm(e,"default")?xO(e.default):()=>kO(e.returns,t)}(n,r);case"Import":return function(e,t){const r=globalThis.Object.values(e.$defs);return kO(e.$defs[e.$ref],[...t,...r])}(n,r);case"Integer":case"Number":return function(e){return Dm(e,"default")?xO(e.default):void 0!==e.minimum?e.minimum:0}(n);case"Intersect":return function(e,t){if(Dm(e,"default"))return xO(e.default);{const r=e.allOf.reduce(((e,r)=>{const n=kO(r,t);return"object"==typeof n?{...e,...n}:n}),{});if(!hO(e,t,r))throw new wO(e,"Intersect produced invalid value. Consider using a default value.");return r}}(n,r);case"Iterator":return function(e){return Dm(e,"default")?xO(e.default):function*(){}()}(n);case"Literal":return function(e){return Dm(e,"default")?xO(e.default):e.const}(n);case"Never":return function(e){if(Dm(e,"default"))return xO(e.default);throw new wO(e,"Never types cannot be created. Consider using a default value.")}(n);case"Not":return function(e){if(Dm(e,"default"))return xO(e.default);throw new wO(e,"Not types must have a default value")}(n);case"Null":return function(e){return Dm(e,"default")?xO(e.default):null}(n);case"Object":return function(e,t){if(Dm(e,"default"))return xO(e.default);{const r=new Set(e.required),n={};for(const[a,o]of Object.entries(e.properties))r.has(a)&&(n[a]=kO(o,t));return n}}(n,r);case"Promise":return function(e,t){return Dm(e,"default")?xO(e.default):Promise.resolve(kO(e.item,t))}(n,r);case"Ref":return function(e,t){return Dm(e,"default")?xO(e.default):kO(wv(e,t),t)}(n,r);case"RegExp":return function(e){if(Dm(e,"default"))return xO(e.default);throw new wO(e,"RegExp types cannot be created. Consider using a default value.")}(n);case"String":return function(e){if(void 0!==e.pattern){if(Dm(e,"default"))return xO(e.default);throw new wO(e,"String types with patterns must specify a default value")}if(void 0!==e.format){if(Dm(e,"default"))return xO(e.default);throw new wO(e,"String types with formats must specify a default value")}return Dm(e,"default")?xO(e.default):void 0!==e.minLength?Array.from({length:e.minLength}).map((()=>" ")).join(""):""}(n);case"Symbol":return function(e){return Dm(e,"default")?xO(e.default):"value"in e?Symbol.for(e.value):Symbol()}(n);case"TemplateLiteral":return function(e){if(Dm(e,"default"))return xO(e.default);if(!Eb(e))throw new wO(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return $b(e)[0]}(n);case"This":return function(e,t){if(_O++>SO)throw new wO(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return Dm(e,"default")?xO(e.default):kO(wv(e,t),t)}(n,r);case"Tuple":return function(e,t){return Dm(e,"default")?xO(e.default):void 0===e.items?[]:Array.from({length:e.minItems}).map(((r,n)=>kO(e.items[n],t)))}(n,r);case"Undefined":case"Void":return function(e){return Dm(e,"default")?xO(e.default):void 0}(n);case"Union":return function(e,t){if(Dm(e,"default"))return xO(e.default);if(0===e.anyOf.length)throw new Error("ValueCreate.Union: Cannot create Union with zero variants");return kO(e.anyOf[0],t)}(n,r);case"Uint8Array":return function(e){return Dm(e,"default")?xO(e.default):void 0!==e.minByteLength?new Uint8Array(e.minByteLength):new Uint8Array(0)}(n);default:if(!Gm(n[gg]))throw new wO(n,"Unknown type");return function(e){if(Dm(e,"default"))return xO(e.default);throw new Error("User defined types must specify a default value")}(n)}}const SO=512;let _O=0;function EO(...e){return _O=0,2===e.length?kO(e[0],e[1]):kO(e[0],[])}class TO extends bg{constructor(e,t){super(t),this.schema=e}}function AO(e,t,r){if("Object"!==e[gg]||"object"!=typeof r||Lm(r)){if("Union"===e[gg]){const n=e.anyOf.map((e=>wv(e,t))).map((e=>AO(e,t,r)));return Math.max(...n)}return hO(e,t,r)?1:0}{const n=e,a=Object.getOwnPropertyNames(r);return Object.entries(n.properties).reduce(((e,[n,o])=>e+(("Literal"===o[gg]&&o.const===r[n]?100:0)+(hO(o,t,r[n])?10:0)+(a.includes(n)?1:0))),0)}}function CO(e,t){return Rm(e)&&!Rm(t)||!Rm(e)&&Rm(t)?e:Rm(e)&&Rm(t)?globalThis.Object.getOwnPropertyNames(e).reduce(((r,n)=>{const a=n in t?CO(e[n],t[n]):e[n];return{...r,[n]:a}}),{}):t}function PO(e,t,r){if(hO(e,t,r))return r;const n=EO(e,t),a=CO(n,r);return hO(e,t,a)?a:n}function $O(e,t,r,n){const a=Qm(e.$id)?Ov(e,t):t,o=e;switch(e[gg]){case"Array":return function(e,t,r,n){if(hO(e,t,r))return OO(r);const a=Nm(r)?r:EO(e,t),o=Bm(e.minItems)&&a.length<e.minItems?[...a,...Array.from({length:e.minItems-a.length},(()=>null))]:a,i=(Bm(e.maxItems)&&o.length>e.maxItems?o.slice(0,e.maxItems):o).map((r=>$O(e.items,t,r,n)));if(!0!==e.uniqueItems)return i;const s=[...new Set(i)];if(!hO(e,t,s))throw new TO(e,"Array cast produced invalid data due to uniqueItems constraint");return s}(o,a,r,n);case"Constructor":return function(e,t,r,n){if(hO(e,t,r))return EO(e,t);const a=new Set(e.returns.required||[]),o=function(){};for(const[i,s]of Object.entries(e.returns.properties))(a.has(i)||void 0!==r.prototype[i])&&(o.prototype[i]=$O(s,t,r.prototype[i],n));return o}(o,a,r,n);case"Import":return function(e,t,r,n){const a=globalThis.Object.values(e.$defs);return $O(e.$defs[e.$ref],[...t,...a],r,n)}(o,a,r,n);case"Intersect":return PO(o,a,r);case"Never":return function(e){throw new TO(e,"Never types cannot be cast")}(o);case"Object":return function(e,t,r,n){if(n.has(r))return n.get(r);if(hO(e,t,r))return r;if(null===r||"object"!=typeof r)return EO(e,t);const a=new Set(e.required||[]),o={};n.set(r,o);for(const[i,s]of Object.entries(e.properties))(a.has(i)||void 0!==r[i])&&(o[i]=$O(s,t,r[i],n));if("object"==typeof e.additionalProperties){const a=Object.getOwnPropertyNames(e.properties);for(const i of Object.getOwnPropertyNames(r))a.includes(i)||(o[i]=$O(e.additionalProperties,t,r[i],n))}return o}(o,a,r,n);case"Record":return function(e,t,r,n){if(hO(e,t,r))return OO(r);if(null===r||"object"!=typeof r||Array.isArray(r)||r instanceof Date)return EO(e,t);const a=Object.getOwnPropertyNames(e.patternProperties)[0],o=e.patternProperties[a],i={};for(const[e,a]of Object.entries(r))i[e]=$O(o,t,a,n);return i}(o,a,r,n);case"Ref":case"This":return function(e,t,r,n){return $O(wv(e,t),t,r,n)}(o,a,r,n);case"Tuple":return function(e,t,r,n){return hO(e,t,r)?OO(r):Nm(r)?void 0===e.items?[]:e.items.map(((e,a)=>$O(e,t,r[a],n))):EO(e,t)}(o,a,r,n);case"Union":return function(e,t,r,n){return hO(e,t,r)?OO(r):function(e,t,r,n){if("default"in e)return"function"==typeof r?e.default:OO(e.default);{const a=function(e,t,r){const n=e.anyOf.map((e=>wv(e,t)));let[a,o]=[n[0],0];for(const e of n){const n=AO(e,t,r);n>o&&(a=e,o=n)}return a}(e,t,r);return MO(a,t,r,n)}}(e,t,r,n)}(o,a,r,n);case"Date":case"Symbol":case"Uint8Array":return function(e,t,r){return hO(e,t,r)?OO(r):EO(e,t)}(e,t,r);default:return function(e,t,r){return hO(e,t,r)?r:EO(e,t)}(o,a,r)}}function MO(...e){return 2===e.length||3===e.length&&e[2]instanceof WeakMap?$O(e[0],[],e[1],e[2]??new WeakMap):$O(e[0],e[1],e[2],e[3]??new WeakMap)}function DO(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}const RO=(e,t)=>{Object.assign(e,t)},NO=new Set(["x-scalar-navigation","x-ext","x-ext-urls","$status"]),IO=(e,t=new WeakMap)=>{if("object"!=typeof e||null===e)return e;if(t.has(e))return t.get(e);const r=Array.isArray(e)?[]:{};return t.set(e,r),Object.keys(e).forEach((n=>{r[n]=IO(e[n],t)})),r},LO=(e,t,r=new Set)=>{for(const n in t)if(n in e){const a=e[n],o=t[n];if("object"==typeof a&&null!==a&&"object"==typeof o&&null!==o){const e=gm(a),t=gm(o);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),LO(a,o,r)}else try{e[n]=o}catch(e){console.warn(`Issue setting ${n} on object`),console.warn(e)}}else e[n]=t[n];return e},jO=Symbol("isOverridesProxy"),BO=(e,t)=>e&&"object"==typeof e?new Proxy(e,{get(e,r,n){if(r===jO)return!0;if(r===UO)return e;const a=Reflect.get(e,r,n);return DO(a)?BO(a,Reflect.get(t??{},r)):Reflect.get(t??{},r)??a},set:(e,r,n,a)=>r!==jO&&r!==UO&&(t&&Reflect.has(t,r)&&t&&"object"==typeof t?(t[r]=n,!0):Reflect.set(e,r,n,a))}):e,UO=Symbol("overridesProxyTarget"),FO="object"==typeof self?self:globalThis,QO=e=>((e,t)=>{const r=(t,r)=>(e.set(r,t),t),n=a=>{if(e.has(a))return e.get(a);const[o,i]=t[a];switch(o){case 0:case-1:return r(i,a);case 1:{const e=r([],a);for(const t of i)e.push(n(t));return e}case 2:{const e=r({},a);for(const[t,r]of i)e[n(t)]=n(r);return e}case 3:return r(new Date(i),a);case 4:{const{source:e,flags:t}=i;return r(new RegExp(e,t),a)}case 5:{const e=r(new Map,a);for(const[t,r]of i)e.set(n(t),n(r));return e}case 6:{const e=r(new Set,a);for(const t of i)e.add(n(t));return e}case 7:{const{name:e,message:t}=i;return r(new FO[e](t),a)}case 8:return r(BigInt(i),a);case"BigInt":return r(Object(BigInt(i)),a)}return r(new FO[o](i),a)};return n})(new Map,e)(0),zO="",{toString:qO}={},{keys:HO}=Object,VO=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const r=qO.call(e).slice(8,-1);switch(r){case"Array":return[1,zO];case"Object":return[2,zO];case"Date":return[3,zO];case"RegExp":return[4,zO];case"Map":return[5,zO];case"Set":return[6,zO]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},ZO=([e,t])=>0===e&&("function"===t||"symbol"===t),WO=(e,{json:t,lossy:r}={})=>{const n=[];return((e,t,r,n)=>{const a=(e,t)=>{const a=n.push(e)-1;return r.set(t,a),a},o=n=>{if(r.has(n))return r.get(n);let[i,s]=VO(n);switch(i){case 0:{let t=n;switch(s){case"bigint":i=8,t=n.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return a([-1],n)}return a([i,t],n)}case 1:{if(s)return a([s,[...n]],n);const e=[],t=a([i,e],n);for(const t of n)e.push(o(t));return t}case 2:{if(s)switch(s){case"BigInt":return a([s,n.toString()],n);case"Boolean":case"Number":case"String":return a([s,n.valueOf()],n)}if(t&&"toJSON"in n)return o(n.toJSON());const r=[],l=a([i,r],n);for(const t of HO(n))!e&&ZO(VO(n[t]))||r.push([o(t),o(n[t])]);return l}case 3:return a([i,n.toISOString()],n);case 4:{const{source:e,flags:t}=n;return a([i,{source:e,flags:t}],n)}case 5:{const t=[],r=a([i,t],n);for(const[r,a]of n)(e||!ZO(VO(r))&&!ZO(VO(a)))&&t.push([o(r),o(a)]);return r}case 6:{const t=[],r=a([i,t],n);for(const r of n)!e&&ZO(VO(r))||t.push(o(r));return r}}const{message:l}=n;return a([i,{name:s,message:l}],n)};return o})(!(t||r),!!t,new Map,n)(e),n},XO="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?QO(WO(e,t)):structuredClone(e):(e,t)=>QO(WO(e,t)),GO=function(e,t,r,n,a){const o=YO(t);return!!ew(e)&&o.call(a,e,r,n)},YO=function(e){if(null==e)return JO;if("string"==typeof e)return function(e){return KO((function(t){return t.tagName===e}))}(e);if("object"==typeof e)return function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=YO(e[r]);return KO((function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1}))}(e);if("function"==typeof e)return KO(e);throw new Error("Expected function, string, or array as `test`")};function KO(e){return function(t,r,n){return Boolean(ew(t)&&e.call(this,t,"number"==typeof r?r:void 0,n||void 0))}}function JO(e){return Boolean(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}function ew(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}const tw=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,rw=/^[a-zA-Z]:\\/;function nw(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function aw(e){return e.join(" ").trim()}const ow=function(e){if(null==e)return sw;if("function"==typeof e)return iw(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=ow(e[r]);return iw((function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1}))}(e):function(e){const t=e;return iw((function(r){const n=r;let a;for(a in e)if(n[a]!==t[a])return!1;return!0}))}(e);if("string"==typeof e)return function(e){return iw((function(t){return t&&t.type===e}))}(e);throw new Error("Expected function, string, or object as test")};function iw(e){return function(t,r,n){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof r?r:void 0,n||void 0))}}function sw(){return!0}const lw=[],cw=!1,uw="skip";function dw(e,t,r,n){let a;"function"==typeof t&&"function"!=typeof r?(n=r,r=t):a=t;const o=ow(a),i=n?-1:1;!function e(a,s,l){const c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=lw;if((!t||o(a,s,l[l.length-1]||void 0))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[true,e]:null==e?lw:[e]}(r(a,l)),p[0]===cw))return p;if("children"in a&&a.children){const t=a;if(t.children&&p[0]!==uw)for(u=(n?t.children.length:-1)+i,d=l.concat(t);u>-1&&u<t.children.length;){const r=t.children[u];if(c=e(r,u,d)(),c[0]===cw)return c;u="number"==typeof c[1]?c[1]:u+i}}return p}}(e,void 0,[])()}function pw(e,t,r,n){let a,o,i;"function"==typeof t&&"function"!=typeof r?(o=void 0,i=t,a=r):(o=t,i=r,a=n),dw(e,o,(function(e,t){const r=t[t.length-1],n=r?r.children.indexOf(e):void 0;return i(e,n,r)}),a)}const hw=["http","https"],fw=["nofollow"],mw={};function gw(e){const t=e||mw,r=t.protocols||hw,n=YO(t.test);return function(e){pw(e,"element",(function(e,a,o){if("a"===e.tagName&&"string"==typeof e.properties.href&&n(e,a,o)){const n=e.properties.href;if(function(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!rw.test(e)&&tw.test(e)}(n)?r.includes(n.slice(0,n.indexOf(":"))):n.startsWith("//")){const r=bw(t.content,e),n=r&&!Array.isArray(r)?[r]:r,a=bw(t.rel,e)||fw,o="string"==typeof a?nw(a):a,i=bw(t.target,e),s=bw(t.properties,e);if(s&&Object.assign(e.properties,XO(s)),o.length>0&&(e.properties.rel=[...o]),i&&(e.properties.target=i),n){const r=bw(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:XO(r),children:XO(n)})}}}}))}}function bw(e,t){return"function"==typeof e?e(t):e}const vw=YO((function(e){return"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"===e.tagName})),yw={}.hasOwnProperty,Ow=new Set(["pingback","prefetch","stylesheet"]),ww=YO(["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"]),xw=YO("meta");const kw=/[ \t\n\f\r]/g;function Sw(e){return"object"==typeof e?"text"===e.type&&_w(e.value):_w(e)}function _w(e){return""===e.replace(kw,"")}const Ew=["pre","script","style","textarea"],Tw=["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"],Aw=["button","input","select","textarea"],Cw=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],Pw={},$w=ow(["doctype","comment"]);function Mw(e,t){if("children"in e){const r={...t};return("root"===e.type||Iw(e))&&(r.before=!0,r.after=!0),r.whitespace=function(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}(e,t),function(e,t){let r=t.before;const n=t.after,a=e.children;let o=a.length,i=-1;for(;++i<o;){const e=Mw(a[i],{...t,after:Dw(a,i,n),before:r});e.remove?(a.splice(i,1),i--,o--):e.ignore||(r=e.stripAtStart),Nw(a[i])&&(r=!1)}return{ignore:!1,stripAtStart:Boolean(r||n),remove:!1}}(e,r)}if("text"===e.type){if("normal"===t.whitespace)return function(e,t){const r=t.collapse(e.value),n={ignore:!1,stripAtStart:!1,remove:!1};let a=0,o=r.length;return t.before&&jw(r.charAt(0))&&a++,a!==o&&jw(r.charAt(o-1))&&(t.after?o--:n.stripAtStart=!0),a===o?n.remove=!0:e.value=r.slice(a,o),n}(e,t);"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{ignore:$w(e),stripAtStart:!1,remove:!1}}function Dw(e,t,r){for(;++t<e.length;){const r=e[t];let n=Rw(r);if(void 0===n&&"children"in r&&!Lw(r)&&(n=Dw(r.children,-1)),"boolean"==typeof n)return n}return r}function Rw(e){if("element"===e.type){if(Nw(e))return!1;if(Iw(e))return!0}else if("text"===e.type){if(!Sw(e))return!1}else if(!$w(e))return!1}function Nw(e){return vw(e)||GO(e,Aw)}function Iw(e){return GO(e,Tw)}function Lw(e){return Boolean("element"===e.type&&e.properties.hidden)||$w(e)||GO(e,Cw)}function jw(e){return" "===e||"\n"===e}function Bw(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function Uw(){return" "}const Fw={},Qw=function(){const e=function(e){return function(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}(({newlines:!0}||Pw).newlines?Bw:Uw);return function(t){Mw(t,{collapse:e,whitespace:"normal"})}}();function zw(e){const t=e||Fw;let r=t.indent||2,n=t.indentInitial;return"number"==typeof r&&(r=" ".repeat(r)),null==n&&(n=!0),function(e){let t;Qw(e),dw(e,(function(e,o){let i=-1;if(!("children"in e))return;if(GO(e,"head")&&(t=!0),t&&GO(e,"body")&&(t=void 0),GO(e,Ew))return uw;const s=e.children;let l,c=o.length;if(0===s.length||!qw(e,t))return;for(n||c--;++i<s.length;){const e=s[i];"text"!==e.type&&"comment"!==e.type||(e.value.includes("\n")&&(l=!0),e.value=e.value.replace(/ *\n/g,"$&"+String(r).repeat(c)))}const u=[];let d;for(i=-1;++i<s.length;){const e=s[i];(qw(e,t)||l&&!i)&&(a(u,c,e),l=!0),d=e,u.push(e)}d&&(l||qw(d,t))&&(Sw(d)&&(u.pop(),d=u[u.length-1]),a(u,c-1)),e.children=u}))};function a(e,t,n){const a=e[e.length-1],i=(o(a&&Sw(a)?e[e.length-2]:a)&&o(n)?"\n\n":"\n")+String(r).repeat(Math.max(t,0));a&&"text"===a.type?a.value=Sw(a)?i:a.value+i:e.push({type:"text",value:i})}function o(e){return Boolean(e&&"element"===e.type&&t.blanks&&t.blanks.length>0&&t.blanks.includes(e.tagName))}}function qw(e,t){return"root"===e.type||"element"===e.type&&(t||GO(e,"script")||vw(e)||!function(e){return Boolean("text"===e.type||ww(e)||vw(e)||function(e){if("element"!==e.type||"link"!==e.tagName)return!1;if(e.properties.itemProp)return!0;const t=e.properties.rel;let r=-1;if(!Array.isArray(t)||0===t.length)return!1;for(;++r<t.length;)if(!Ow.has(String(t[r])))return!1;return!0}(e)||xw(e)&&function(e,t){const r="element"===e.type&&yw.call(e.properties,t)&&e.properties[t];return null!=r&&!1!==r}(e,"itemProp"))}(e))}let Hw=class{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}};function Vw(e,t){const r={},n={};let a=-1;for(;++a<e.length;)Object.assign(r,e[a].property),Object.assign(n,e[a].normal);return new Hw(r,n,t)}function Zw(e){return e.toLowerCase()}Hw.prototype.property={},Hw.prototype.normal={},Hw.prototype.space=null;class Ww{constructor(e,t){this.property=e,this.attribute=t}}Ww.prototype.space=null,Ww.prototype.boolean=!1,Ww.prototype.booleanish=!1,Ww.prototype.overloadedBoolean=!1,Ww.prototype.number=!1,Ww.prototype.commaSeparated=!1,Ww.prototype.spaceSeparated=!1,Ww.prototype.commaOrSpaceSeparated=!1,Ww.prototype.mustUseProperty=!1,Ww.prototype.defined=!1;let Xw=0;const Gw=nx(),Yw=nx(),Kw=nx(),Jw=nx(),ex=nx(),tx=nx(),rx=nx();function nx(){return 2**++Xw}const ax=Object.freeze(Object.defineProperty({__proto__:null,boolean:Gw,booleanish:Yw,commaOrSpaceSeparated:rx,commaSeparated:tx,number:Jw,overloadedBoolean:Kw,spaceSeparated:ex},Symbol.toStringTag,{value:"Module"})),ox=Object.keys(ax);class ix extends Ww{constructor(e,t,r,n){let a=-1;if(super(e,t),sx(this,"space",n),"number"==typeof r)for(;++a<ox.length;){const e=ox[a];sx(this,ox[a],(r&ax[e])===ax[e])}}}function sx(e,t,r){r&&(e[t]=r)}ix.prototype.defined=!0;const lx={}.hasOwnProperty;function cx(e){const t={},r={};let n;for(n in e.properties)if(lx.call(e.properties,n)){const a=e.properties[n],o=new ix(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),t[n]=o,r[Zw(n)]=n,r[Zw(o.attribute)]=n}return new Hw(t,r,e.space)}const ux=cx({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),dx=cx({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function px(e,t){return t in e?e[t]:t}function hx(e,t){return px(e,t.toLowerCase())}const fx=cx({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:hx,properties:{xmlns:null,xmlnsXLink:null}}),mx=cx({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Yw,ariaAutoComplete:null,ariaBusy:Yw,ariaChecked:Yw,ariaColCount:Jw,ariaColIndex:Jw,ariaColSpan:Jw,ariaControls:ex,ariaCurrent:null,ariaDescribedBy:ex,ariaDetails:null,ariaDisabled:Yw,ariaDropEffect:ex,ariaErrorMessage:null,ariaExpanded:Yw,ariaFlowTo:ex,ariaGrabbed:Yw,ariaHasPopup:null,ariaHidden:Yw,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ex,ariaLevel:Jw,ariaLive:null,ariaModal:Yw,ariaMultiLine:Yw,ariaMultiSelectable:Yw,ariaOrientation:null,ariaOwns:ex,ariaPlaceholder:null,ariaPosInSet:Jw,ariaPressed:Yw,ariaReadOnly:Yw,ariaRelevant:null,ariaRequired:Yw,ariaRoleDescription:ex,ariaRowCount:Jw,ariaRowIndex:Jw,ariaRowSpan:Jw,ariaSelected:Yw,ariaSetSize:Jw,ariaSort:null,ariaValueMax:Jw,ariaValueMin:Jw,ariaValueNow:Jw,ariaValueText:null,role:null}}),gx=cx({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:hx,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tx,acceptCharset:ex,accessKey:ex,action:null,allow:null,allowFullScreen:Gw,allowPaymentRequest:Gw,allowUserMedia:Gw,alt:null,as:null,async:Gw,autoCapitalize:null,autoComplete:ex,autoFocus:Gw,autoPlay:Gw,blocking:ex,capture:null,charSet:null,checked:Gw,cite:null,className:ex,cols:Jw,colSpan:null,content:null,contentEditable:Yw,controls:Gw,controlsList:ex,coords:Jw|tx,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Gw,defer:Gw,dir:null,dirName:null,disabled:Gw,download:Kw,draggable:Yw,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Gw,formTarget:null,headers:ex,height:Jw,hidden:Gw,high:Jw,href:null,hrefLang:null,htmlFor:ex,httpEquiv:ex,id:null,imageSizes:null,imageSrcSet:null,inert:Gw,inputMode:null,integrity:null,is:null,isMap:Gw,itemId:null,itemProp:ex,itemRef:ex,itemScope:Gw,itemType:ex,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Gw,low:Jw,manifest:null,max:null,maxLength:Jw,media:null,method:null,min:null,minLength:Jw,multiple:Gw,muted:Gw,name:null,nonce:null,noModule:Gw,noValidate:Gw,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:Gw,optimum:Jw,pattern:null,ping:ex,placeholder:null,playsInline:Gw,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Gw,referrerPolicy:null,rel:ex,required:Gw,reversed:Gw,rows:Jw,rowSpan:Jw,sandbox:ex,scope:null,scoped:Gw,seamless:Gw,selected:Gw,shadowRootClonable:Gw,shadowRootDelegatesFocus:Gw,shadowRootMode:null,shape:null,size:Jw,sizes:null,slot:null,span:Jw,spellCheck:Yw,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Jw,step:null,style:null,tabIndex:Jw,target:null,title:null,translate:null,type:null,typeMustMatch:Gw,useMap:null,value:Yw,width:Jw,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ex,axis:null,background:null,bgColor:null,border:Jw,borderColor:null,bottomMargin:Jw,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Gw,declare:Gw,event:null,face:null,frame:null,frameBorder:null,hSpace:Jw,leftMargin:Jw,link:null,longDesc:null,lowSrc:null,marginHeight:Jw,marginWidth:Jw,noResize:Gw,noHref:Gw,noShade:Gw,noWrap:Gw,object:null,profile:null,prompt:null,rev:null,rightMargin:Jw,rules:null,scheme:null,scrolling:Yw,standby:null,summary:null,text:null,topMargin:Jw,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Jw,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Gw,disableRemotePlayback:Gw,prefix:null,property:null,results:Jw,security:null,unselectable:null}}),bx=cx({space:"svg",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",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"},transform:px,properties:{about:rx,accentHeight:Jw,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Jw,amplitude:Jw,arabicForm:null,ascent:Jw,attributeName:null,attributeType:null,azimuth:Jw,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Jw,by:null,calcMode:null,capHeight:Jw,className:ex,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:Jw,diffuseConstant:Jw,direction:null,display:null,dur:null,divisor:Jw,dominantBaseline:null,download:Gw,dx:null,dy:null,edgeMode:null,editable:null,elevation:Jw,enableBackground:null,end:null,event:null,exponent:Jw,externalResourcesRequired:null,fill:null,fillOpacity:Jw,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:tx,g2:tx,glyphName:tx,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Jw,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Jw,horizOriginX:Jw,horizOriginY:Jw,id:null,ideographic:Jw,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Jw,k:Jw,k1:Jw,k2:Jw,k3:Jw,k4:Jw,kernelMatrix:rx,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Jw,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Jw,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:Jw,overlineThickness:Jw,paintOrder:null,panose1:null,path:null,pathLength:Jw,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ex,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Jw,pointsAtY:Jw,pointsAtZ:Jw,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:rx,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:rx,rev:rx,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:rx,requiredFeatures:rx,requiredFonts:rx,requiredFormats:rx,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:Jw,specularExponent:Jw,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Jw,strikethroughThickness:Jw,string:null,stroke:null,strokeDashArray:rx,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Jw,strokeOpacity:Jw,strokeWidth:null,style:null,surfaceScale:Jw,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:rx,tabIndex:Jw,tableValues:null,target:null,targetX:Jw,targetY:Jw,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:rx,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Jw,underlineThickness:Jw,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Jw,values:null,vAlphabetic:Jw,vMathematical:Jw,vectorEffect:null,vHanging:Jw,vIdeographic:Jw,version:null,vertAdvY:Jw,vertOriginX:Jw,vertOriginY:Jw,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Jw,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),vx=/^data[-\w.:]+$/i,yx=/-[a-z]/g,Ox=/[A-Z]/g;function wx(e,t){const r=Zw(t);let n=t,a=Ww;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&vx.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(yx,kx);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!yx.test(e)){let r=e.replace(Ox,xx);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}a=ix}return new a(n,t)}function xx(e){return"-"+e.toLowerCase()}function kx(e){return e.charAt(1).toUpperCase()}const Sx=Vw([dx,ux,fx,mx,gx],"html"),_x=Vw([dx,ux,fx,mx,bx],"svg");function Ex(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,o=!1;for(;!o;){-1===n&&(n=r.length,o=!0);const e=r.slice(a,n).trim();!e&&o||t.push(e),a=n+1,n=r.indexOf(",",a)}return t}function Tx(e,t){const r=t||{};return(""===e[e.length-1]?[...e,""]:e).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}const Ax=/[#.]/g,Cx=new Set(["button","menu","reset","submit"]),Px={}.hasOwnProperty;function $x(e,t,r){const n=r&&function(e){const t={};let r=-1;for(;++r<e.length;)t[e[r].toLowerCase()]=e[r];return t}(r);return function(r,a,...o){let i,s=-1;if(null==r){i={type:"root",children:[]};const e=a;o.unshift(e)}else if(i=function(e,t){const r=e||"",n={};let a,o,i=0;for(;i<r.length;){Ax.lastIndex=i;const e=Ax.exec(r),t=r.slice(i,e?e.index:r.length);t&&(a?"#"===a?n.id=t:Array.isArray(n.className)?n.className.push(t):n.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:"element",tagName:o||t||"div",properties:n,children:[]}}(r,t),i.tagName=i.tagName.toLowerCase(),n&&Px.call(n,i.tagName)&&(i.tagName=n[i.tagName]),function(e,t){return null!=e&&"object"==typeof e&&!Array.isArray(e)&&("input"===t||!e.type||"string"!=typeof e.type||(!("children"in e)||!Array.isArray(e.children))&&("button"===t?Cx.has(e.type.toLowerCase()):!("value"in e)))}(a,i.tagName)){let t;for(t in a)Px.call(a,t)&&Mx(e,i.properties,t,a[t])}else o.unshift(a);for(;++s<o.length;)Dx(i.children,o[s]);return"element"===i.type&&"template"===i.tagName&&(i.content={type:"root",children:i.children},i.children=[]),i}}function Mx(e,t,r,n){const a=wx(e,r);let o,i=-1;if(null!=n){if("number"==typeof n){if(Number.isNaN(n))return;o=n}else o="boolean"==typeof n?n:"string"==typeof n?a.spaceSeparated?nw(n):a.commaSeparated?Ex(n):a.commaOrSpaceSeparated?nw(Ex(n).join(" ")):Rx(a,a.property,n):Array.isArray(n)?n.concat():"style"===a.property?function(e){const t=[];let r;for(r in e)Px.call(e,r)&&t.push([r,e[r]].join(": "));return t.join("; ")}(n):String(n);if(Array.isArray(o)){const e=[];for(;++i<o.length;){const t=Rx(a,a.property,o[i]);e[i]=t}o=e}if("className"===a.property&&Array.isArray(t.className)){const e=o;o=t.className.concat(e)}t[a.property]=o}}function Dx(e,t){let r=-1;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++r<t.length;)Dx(e,t[r]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?Dx(e,t.children):e.push(t)}}function Rx(e,t,r){if("string"==typeof r){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(""===r||Zw(r)===Zw(t)))return!0}return r}const Nx=$x(Sx,"div"),Ix=$x(_x,"g",["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"]),Lx=/\r?\n|\r/g,jx={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/"},Bx={}.hasOwnProperty,Ux=Object.prototype;function Fx(e,t){const r=t||{};return Qx({file:r.file||void 0,location:!1,schema:"svg"===r.space?_x:Sx,verbose:r.verbose||!1},e)}function Qx(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},qx(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n&&("quirks"===n.mode||"limited-quirks"===n.mode);if(r={type:"root",children:zx(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const t=String(e.file),n=function(e){const t=String(e),r=[];for(Lx.lastIndex=0;Lx.test(t);)r.push(Lx.lastIndex);return r.push(t.length+1),{toPoint:function(e){let t=-1;if("number"==typeof e&&e>-1&&e<r[r.length-1])for(;++t<r.length;)if(r[t]>e)return{line:t+1,column:e-(t>0?r[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,n=e&&e.column;if("number"==typeof t&&"number"==typeof n&&!Number.isNaN(t)&&!Number.isNaN(n)&&t-1 in r){const e=(r[t-2]||0)+n-1||0;if(e>-1&&e<r[r.length-1])return e}}}}(t),a=n.toPoint(0),o=n.toPoint(t.length);r.position={start:a,end:o}}return r}case"#documentType":return r={type:"doctype"},qx(e,t,r),r;case"#text":{const n=t;return r={type:"text",value:n.value},qx(e,n,r),r}default:return r=function(e,t){const r=e.schema;e.schema=t.namespaceURI===jx.svg?_x:Sx;let n=-1;const a={};for(;++n<t.attrs.length;){const e=t.attrs[n],r=(e.prefix?e.prefix+":":"")+e.name;Bx.call(Ux,r)||(a[r]=e.value)}const o=("svg"===e.schema.space?Ix:Nx)(t.tagName,a,zx(e,t.childNodes));if(qx(e,t,o),"template"===o.tagName){const r=t,n=r.sourceCodeLocation,a=n&&n.startTag&&Hx(n.startTag),i=n&&n.endTag&&Hx(n.endTag),s=Qx(e,r.content);a&&i&&e.file&&(s.position={start:a.end,end:i.start}),o.content=s}return e.schema=r,o}(e,t),r}}function zx(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=Qx(e,t[r]);n.push(a)}return n}function qx(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=function(e,t,r){const n=Hx(r);if("element"===t.type){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const n={};let a;if(r.attrs)for(a in r.attrs)Bx.call(r.attrs,a)&&(n[wx(e.schema,a).property]=Hx(r.attrs[a]));r.startTag;const o=Hx(r.startTag),i=r.endTag?Hx(r.endTag):void 0,s={opening:o};i&&(s.closing=i),s.properties=n,t.data={position:s}}}return n}(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function Hx(e){const t=Vx({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Vx({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Vx(e){return e.line&&e.column?e:void 0}const Zx={}.hasOwnProperty;function Wx(e,t){const r=t||{};function n(t,...r){let a=n.invalid;const o=n.handlers;if(t&&Zx.call(t,e)){const r=String(t[e]);a=Zx.call(o,r)?o[r]:n.unknown}if(a)return a.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const Xx={},Gx={}.hasOwnProperty,Yx=Wx("type",{handlers:{root:function(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=Jx(e.children,r,t),ek(e,r),r},element:function(e,t){const r=t;let n=r;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===r.space&&(n=_x);const a=[];let o;if(e.properties)for(o in e.properties)if("children"!==o&&Gx.call(e.properties,o)){const t=Kx(n,o,e.properties[o]);t&&a.push(t)}const i=n.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:jx[i],childNodes:[],parentNode:null};return s.childNodes=Jx(e.children,s,n),ek(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=Jx(e.children,r,t),ek(e,r),r}(e.content,n)),s},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null};return ek(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return ek(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ek(e,t),t}}});function Kx(e,t,r){const n=wx(e,t);if(!1===r||null==r||"number"==typeof r&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Tx(r):aw(r));const a={name:n.attribute,value:!0===r?"":String(r)};if(n.space&&"html"!==n.space&&"svg"!==n.space){const e=a.name.indexOf(":");e<0?a.prefix="":(a.name=a.name.slice(e+1),a.prefix=n.attribute.slice(0,e)),a.namespace=jx[n.space]}return a}function Jx(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const o=Yx(e[n],r);o.parentNode=t,a.push(o)}return a}function ek(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const tk=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],rk=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]),nk="�";var ak,ok;(ok=ak=ak||(ak={}))[ok.EOF=-1]="EOF",ok[ok.NULL=0]="NULL",ok[ok.TABULATION=9]="TABULATION",ok[ok.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",ok[ok.LINE_FEED=10]="LINE_FEED",ok[ok.FORM_FEED=12]="FORM_FEED",ok[ok.SPACE=32]="SPACE",ok[ok.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",ok[ok.QUOTATION_MARK=34]="QUOTATION_MARK",ok[ok.NUMBER_SIGN=35]="NUMBER_SIGN",ok[ok.AMPERSAND=38]="AMPERSAND",ok[ok.APOSTROPHE=39]="APOSTROPHE",ok[ok.HYPHEN_MINUS=45]="HYPHEN_MINUS",ok[ok.SOLIDUS=47]="SOLIDUS",ok[ok.DIGIT_0=48]="DIGIT_0",ok[ok.DIGIT_9=57]="DIGIT_9",ok[ok.SEMICOLON=59]="SEMICOLON",ok[ok.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",ok[ok.EQUALS_SIGN=61]="EQUALS_SIGN",ok[ok.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",ok[ok.QUESTION_MARK=63]="QUESTION_MARK",ok[ok.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",ok[ok.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",ok[ok.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",ok[ok.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",ok[ok.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",ok[ok.GRAVE_ACCENT=96]="GRAVE_ACCENT",ok[ok.LATIN_SMALL_A=97]="LATIN_SMALL_A",ok[ok.LATIN_SMALL_F=102]="LATIN_SMALL_F",ok[ok.LATIN_SMALL_X=120]="LATIN_SMALL_X",ok[ok.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",ok[ok.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER";const ik="[CDATA[",sk="doctype",lk="script";function ck(e){return e>=55296&&e<=57343}function uk(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function dk(e){return e>=64976&&e<=65007||rk.has(e)}var pk,hk,fk,mk;(hk=pk=pk||(pk={})).controlCharacterInInputStream="control-character-in-input-stream",hk.noncharacterInInputStream="noncharacter-in-input-stream",hk.surrogateInInputStream="surrogate-in-input-stream",hk.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",hk.endTagWithAttributes="end-tag-with-attributes",hk.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",hk.unexpectedSolidusInTag="unexpected-solidus-in-tag",hk.unexpectedNullCharacter="unexpected-null-character",hk.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",hk.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",hk.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",hk.missingEndTagName="missing-end-tag-name",hk.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",hk.unknownNamedCharacterReference="unknown-named-character-reference",hk.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",hk.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",hk.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",hk.eofBeforeTagName="eof-before-tag-name",hk.eofInTag="eof-in-tag",hk.missingAttributeValue="missing-attribute-value",hk.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",hk.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",hk.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",hk.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",hk.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",hk.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",hk.missingDoctypePublicIdentifier="missing-doctype-public-identifier",hk.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",hk.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",hk.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",hk.cdataInHtmlContent="cdata-in-html-content",hk.incorrectlyOpenedComment="incorrectly-opened-comment",hk.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",hk.eofInDoctype="eof-in-doctype",hk.nestedComment="nested-comment",hk.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",hk.eofInComment="eof-in-comment",hk.incorrectlyClosedComment="incorrectly-closed-comment",hk.eofInCdata="eof-in-cdata",hk.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",hk.nullCharacterReference="null-character-reference",hk.surrogateCharacterReference="surrogate-character-reference",hk.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",hk.controlCharacterReference="control-character-reference",hk.noncharacterCharacterReference="noncharacter-character-reference",hk.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",hk.missingDoctypeName="missing-doctype-name",hk.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",hk.duplicateAttribute="duplicate-attribute",hk.nonConformingDoctype="non-conforming-doctype",hk.missingDoctype="missing-doctype",hk.misplacedDoctype="misplaced-doctype",hk.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",hk.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",hk.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",hk.openElementsLeftAfterEof="open-elements-left-after-eof",hk.abandonedHeadElementChild="abandoned-head-element-child",hk.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",hk.nestedNoscriptInHead="nested-noscript-in-head",hk.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class gk{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=65536,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){const{line:t,col:r,offset:n}=this;return{code:e,startLine:t,endLine:t,startCol:r,endCol:r,startOffset:n,endOffset:n}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,ak.EOF;return this._err(pk.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((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ak.EOF;const r=this.html.charCodeAt(t);return r===ak.CARRIAGE_RETURN?ak.LINE_FEED:r}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,ak.EOF;let e=this.html.charCodeAt(this.pos);return e===ak.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,ak.LINE_FEED):e===ak.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ck(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===ak.LINE_FEED||e===ak.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){uk(e)?this._err(pk.controlCharacterInInputStream):dk(e)&&this._err(pk.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function bk(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}(mk=fk=fk||(fk={}))[mk.CHARACTER=0]="CHARACTER",mk[mk.NULL_CHARACTER=1]="NULL_CHARACTER",mk[mk.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",mk[mk.START_TAG=3]="START_TAG",mk[mk.END_TAG=4]="END_TAG",mk[mk.COMMENT=5]="COMMENT",mk[mk.DOCTYPE=6]="DOCTYPE",mk[mk.EOF=7]="EOF",mk[mk.HIBERNATION=8]="HIBERNATION";const vk=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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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肻 ଷ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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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)))),yk=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Ok;const wk=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]]),xk=null!==(Ok=String.fromCodePoint)&&void 0!==Ok?Ok:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var kk,Sk,_k,Ek,Tk,Ak,Ck,Pk,$k,Mk,Dk,Rk,Nk,Ik,Lk,jk,Bk,Uk;function Fk(e){return e>=kk.ZERO&&e<=kk.NINE}function Qk(e){return e===kk.EQUALS||function(e){return e>=kk.UPPER_A&&e<=kk.UPPER_Z||e>=kk.LOWER_A&&e<=kk.LOWER_Z||Fk(e)}(e)}(Sk=kk||(kk={}))[Sk.NUM=35]="NUM",Sk[Sk.SEMI=59]="SEMI",Sk[Sk.EQUALS=61]="EQUALS",Sk[Sk.ZERO=48]="ZERO",Sk[Sk.NINE=57]="NINE",Sk[Sk.LOWER_A=97]="LOWER_A",Sk[Sk.LOWER_F=102]="LOWER_F",Sk[Sk.LOWER_X=120]="LOWER_X",Sk[Sk.LOWER_Z=122]="LOWER_Z",Sk[Sk.UPPER_A=65]="UPPER_A",Sk[Sk.UPPER_F=70]="UPPER_F",Sk[Sk.UPPER_Z=90]="UPPER_Z",(Ek=_k||(_k={}))[Ek.VALUE_LENGTH=49152]="VALUE_LENGTH",Ek[Ek.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Ek[Ek.JUMP_TABLE=127]="JUMP_TABLE",(Ak=Tk||(Tk={}))[Ak.EntityStart=0]="EntityStart",Ak[Ak.NumericStart=1]="NumericStart",Ak[Ak.NumericDecimal=2]="NumericDecimal",Ak[Ak.NumericHex=3]="NumericHex",Ak[Ak.NamedEntity=4]="NamedEntity",(Pk=Ck||(Ck={}))[Pk.Legacy=0]="Legacy",Pk[Pk.Strict=1]="Strict",Pk[Pk.Attribute=2]="Attribute";class zk{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=Tk.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ck.Strict}startEntity(e){this.decodeMode=e,this.state=Tk.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Tk.EntityStart:return e.charCodeAt(t)===kk.NUM?(this.state=Tk.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Tk.NamedEntity,this.stateNamedEntity(e,t));case Tk.NumericStart:return this.stateNumericStart(e,t);case Tk.NumericDecimal:return this.stateNumericDecimal(e,t);case Tk.NumericHex:return this.stateNumericHex(e,t);case Tk.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===kk.LOWER_X?(this.state=Tk.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Tk.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const a=r-t;this.result=this.result*Math.pow(n,a)+parseInt(e.substr(t,a),n),this.consumed+=a}}stateNumericHex(e,t){const r=t;for(;t<e.length;){const a=e.charCodeAt(t);if(!(Fk(a)||(n=a,n>=kk.UPPER_A&&n<=kk.UPPER_F||n>=kk.LOWER_A&&n<=kk.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(a,3);t+=1}var n;return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(!Fk(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return null===(r=this.errors)||void 0===r||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===kk.SEMI)this.consumed+=1;else if(this.decodeMode===Ck.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=wk.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==kk.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:r}=this;let n=r[this.treeIndex],a=(n&_k.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const o=e.charCodeAt(t);if(this.treeIndex=Hk(r,n,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Ck.Attribute&&(0===a||Qk(o))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],a=(n&_k.VALUE_LENGTH)>>14,0!==a){if(o===kk.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Ck.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&_k.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~_k.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case Tk.NamedEntity:return 0===this.result||this.decodeMode===Ck.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Tk.NumericDecimal:return this.emitNumericEntity(0,2);case Tk.NumericHex:return this.emitNumericEntity(0,3);case Tk.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Tk.EntityStart:return 0}}}function qk(e){let t="";const r=new zk(e,(e=>t+=xk(e)));return function(e,n){let a=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(a,o),r.startEntity(n);const i=r.write(e,o+1);if(i<0){a=o+r.end();break}a=o+i,o=0===i?a+1:a}const i=t+e.slice(a);return t="",i}}function Hk(e,t,r,n){const a=(t&_k.BRANCH_LENGTH)>>7,o=t&_k.JUMP_TABLE;if(0===a)return 0!==o&&n===o?r:-1;if(o){const t=n-o;return t<0||t>=a?-1:e[r+t]-1}let i=r,s=i+a-1;for(;i<=s;){const t=i+s>>>1,r=e[t];if(r<n)i=t+1;else{if(!(r>n))return e[t+a];s=t-1}}return-1}qk(vk),qk(yk),(Mk=$k=$k||($k={})).HTML="http://www.w3.org/1999/xhtml",Mk.MATHML="http://www.w3.org/1998/Math/MathML",Mk.SVG="http://www.w3.org/2000/svg",Mk.XLINK="http://www.w3.org/1999/xlink",Mk.XML="http://www.w3.org/XML/1998/namespace",Mk.XMLNS="http://www.w3.org/2000/xmlns/",(Rk=Dk=Dk||(Dk={})).TYPE="type",Rk.ACTION="action",Rk.ENCODING="encoding",Rk.PROMPT="prompt",Rk.NAME="name",Rk.COLOR="color",Rk.FACE="face",Rk.SIZE="size",(Ik=Nk=Nk||(Nk={})).NO_QUIRKS="no-quirks",Ik.QUIRKS="quirks",Ik.LIMITED_QUIRKS="limited-quirks",(jk=Lk=Lk||(Lk={})).A="a",jk.ADDRESS="address",jk.ANNOTATION_XML="annotation-xml",jk.APPLET="applet",jk.AREA="area",jk.ARTICLE="article",jk.ASIDE="aside",jk.B="b",jk.BASE="base",jk.BASEFONT="basefont",jk.BGSOUND="bgsound",jk.BIG="big",jk.BLOCKQUOTE="blockquote",jk.BODY="body",jk.BR="br",jk.BUTTON="button",jk.CAPTION="caption",jk.CENTER="center",jk.CODE="code",jk.COL="col",jk.COLGROUP="colgroup",jk.DD="dd",jk.DESC="desc",jk.DETAILS="details",jk.DIALOG="dialog",jk.DIR="dir",jk.DIV="div",jk.DL="dl",jk.DT="dt",jk.EM="em",jk.EMBED="embed",jk.FIELDSET="fieldset",jk.FIGCAPTION="figcaption",jk.FIGURE="figure",jk.FONT="font",jk.FOOTER="footer",jk.FOREIGN_OBJECT="foreignObject",jk.FORM="form",jk.FRAME="frame",jk.FRAMESET="frameset",jk.H1="h1",jk.H2="h2",jk.H3="h3",jk.H4="h4",jk.H5="h5",jk.H6="h6",jk.HEAD="head",jk.HEADER="header",jk.HGROUP="hgroup",jk.HR="hr",jk.HTML="html",jk.I="i",jk.IMG="img",jk.IMAGE="image",jk.INPUT="input",jk.IFRAME="iframe",jk.KEYGEN="keygen",jk.LABEL="label",jk.LI="li",jk.LINK="link",jk.LISTING="listing",jk.MAIN="main",jk.MALIGNMARK="malignmark",jk.MARQUEE="marquee",jk.MATH="math",jk.MENU="menu",jk.META="meta",jk.MGLYPH="mglyph",jk.MI="mi",jk.MO="mo",jk.MN="mn",jk.MS="ms",jk.MTEXT="mtext",jk.NAV="nav",jk.NOBR="nobr",jk.NOFRAMES="noframes",jk.NOEMBED="noembed",jk.NOSCRIPT="noscript",jk.OBJECT="object",jk.OL="ol",jk.OPTGROUP="optgroup",jk.OPTION="option",jk.P="p",jk.PARAM="param",jk.PLAINTEXT="plaintext",jk.PRE="pre",jk.RB="rb",jk.RP="rp",jk.RT="rt",jk.RTC="rtc",jk.RUBY="ruby",jk.S="s",jk.SCRIPT="script",jk.SECTION="section",jk.SELECT="select",jk.SOURCE="source",jk.SMALL="small",jk.SPAN="span",jk.STRIKE="strike",jk.STRONG="strong",jk.STYLE="style",jk.SUB="sub",jk.SUMMARY="summary",jk.SUP="sup",jk.TABLE="table",jk.TBODY="tbody",jk.TEMPLATE="template",jk.TEXTAREA="textarea",jk.TFOOT="tfoot",jk.TD="td",jk.TH="th",jk.THEAD="thead",jk.TITLE="title",jk.TR="tr",jk.TRACK="track",jk.TT="tt",jk.U="u",jk.UL="ul",jk.SVG="svg",jk.VAR="var",jk.WBR="wbr",jk.XMP="xmp",(Uk=Bk=Bk||(Bk={}))[Uk.UNKNOWN=0]="UNKNOWN",Uk[Uk.A=1]="A",Uk[Uk.ADDRESS=2]="ADDRESS",Uk[Uk.ANNOTATION_XML=3]="ANNOTATION_XML",Uk[Uk.APPLET=4]="APPLET",Uk[Uk.AREA=5]="AREA",Uk[Uk.ARTICLE=6]="ARTICLE",Uk[Uk.ASIDE=7]="ASIDE",Uk[Uk.B=8]="B",Uk[Uk.BASE=9]="BASE",Uk[Uk.BASEFONT=10]="BASEFONT",Uk[Uk.BGSOUND=11]="BGSOUND",Uk[Uk.BIG=12]="BIG",Uk[Uk.BLOCKQUOTE=13]="BLOCKQUOTE",Uk[Uk.BODY=14]="BODY",Uk[Uk.BR=15]="BR",Uk[Uk.BUTTON=16]="BUTTON",Uk[Uk.CAPTION=17]="CAPTION",Uk[Uk.CENTER=18]="CENTER",Uk[Uk.CODE=19]="CODE",Uk[Uk.COL=20]="COL",Uk[Uk.COLGROUP=21]="COLGROUP",Uk[Uk.DD=22]="DD",Uk[Uk.DESC=23]="DESC",Uk[Uk.DETAILS=24]="DETAILS",Uk[Uk.DIALOG=25]="DIALOG",Uk[Uk.DIR=26]="DIR",Uk[Uk.DIV=27]="DIV",Uk[Uk.DL=28]="DL",Uk[Uk.DT=29]="DT",Uk[Uk.EM=30]="EM",Uk[Uk.EMBED=31]="EMBED",Uk[Uk.FIELDSET=32]="FIELDSET",Uk[Uk.FIGCAPTION=33]="FIGCAPTION",Uk[Uk.FIGURE=34]="FIGURE",Uk[Uk.FONT=35]="FONT",Uk[Uk.FOOTER=36]="FOOTER",Uk[Uk.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Uk[Uk.FORM=38]="FORM",Uk[Uk.FRAME=39]="FRAME",Uk[Uk.FRAMESET=40]="FRAMESET",Uk[Uk.H1=41]="H1",Uk[Uk.H2=42]="H2",Uk[Uk.H3=43]="H3",Uk[Uk.H4=44]="H4",Uk[Uk.H5=45]="H5",Uk[Uk.H6=46]="H6",Uk[Uk.HEAD=47]="HEAD",Uk[Uk.HEADER=48]="HEADER",Uk[Uk.HGROUP=49]="HGROUP",Uk[Uk.HR=50]="HR",Uk[Uk.HTML=51]="HTML",Uk[Uk.I=52]="I",Uk[Uk.IMG=53]="IMG",Uk[Uk.IMAGE=54]="IMAGE",Uk[Uk.INPUT=55]="INPUT",Uk[Uk.IFRAME=56]="IFRAME",Uk[Uk.KEYGEN=57]="KEYGEN",Uk[Uk.LABEL=58]="LABEL",Uk[Uk.LI=59]="LI",Uk[Uk.LINK=60]="LINK",Uk[Uk.LISTING=61]="LISTING",Uk[Uk.MAIN=62]="MAIN",Uk[Uk.MALIGNMARK=63]="MALIGNMARK",Uk[Uk.MARQUEE=64]="MARQUEE",Uk[Uk.MATH=65]="MATH",Uk[Uk.MENU=66]="MENU",Uk[Uk.META=67]="META",Uk[Uk.MGLYPH=68]="MGLYPH",Uk[Uk.MI=69]="MI",Uk[Uk.MO=70]="MO",Uk[Uk.MN=71]="MN",Uk[Uk.MS=72]="MS",Uk[Uk.MTEXT=73]="MTEXT",Uk[Uk.NAV=74]="NAV",Uk[Uk.NOBR=75]="NOBR",Uk[Uk.NOFRAMES=76]="NOFRAMES",Uk[Uk.NOEMBED=77]="NOEMBED",Uk[Uk.NOSCRIPT=78]="NOSCRIPT",Uk[Uk.OBJECT=79]="OBJECT",Uk[Uk.OL=80]="OL",Uk[Uk.OPTGROUP=81]="OPTGROUP",Uk[Uk.OPTION=82]="OPTION",Uk[Uk.P=83]="P",Uk[Uk.PARAM=84]="PARAM",Uk[Uk.PLAINTEXT=85]="PLAINTEXT",Uk[Uk.PRE=86]="PRE",Uk[Uk.RB=87]="RB",Uk[Uk.RP=88]="RP",Uk[Uk.RT=89]="RT",Uk[Uk.RTC=90]="RTC",Uk[Uk.RUBY=91]="RUBY",Uk[Uk.S=92]="S",Uk[Uk.SCRIPT=93]="SCRIPT",Uk[Uk.SECTION=94]="SECTION",Uk[Uk.SELECT=95]="SELECT",Uk[Uk.SOURCE=96]="SOURCE",Uk[Uk.SMALL=97]="SMALL",Uk[Uk.SPAN=98]="SPAN",Uk[Uk.STRIKE=99]="STRIKE",Uk[Uk.STRONG=100]="STRONG",Uk[Uk.STYLE=101]="STYLE",Uk[Uk.SUB=102]="SUB",Uk[Uk.SUMMARY=103]="SUMMARY",Uk[Uk.SUP=104]="SUP",Uk[Uk.TABLE=105]="TABLE",Uk[Uk.TBODY=106]="TBODY",Uk[Uk.TEMPLATE=107]="TEMPLATE",Uk[Uk.TEXTAREA=108]="TEXTAREA",Uk[Uk.TFOOT=109]="TFOOT",Uk[Uk.TD=110]="TD",Uk[Uk.TH=111]="TH",Uk[Uk.THEAD=112]="THEAD",Uk[Uk.TITLE=113]="TITLE",Uk[Uk.TR=114]="TR",Uk[Uk.TRACK=115]="TRACK",Uk[Uk.TT=116]="TT",Uk[Uk.U=117]="U",Uk[Uk.UL=118]="UL",Uk[Uk.SVG=119]="SVG",Uk[Uk.VAR=120]="VAR",Uk[Uk.WBR=121]="WBR",Uk[Uk.XMP=122]="XMP";const Vk=new Map([[Lk.A,Bk.A],[Lk.ADDRESS,Bk.ADDRESS],[Lk.ANNOTATION_XML,Bk.ANNOTATION_XML],[Lk.APPLET,Bk.APPLET],[Lk.AREA,Bk.AREA],[Lk.ARTICLE,Bk.ARTICLE],[Lk.ASIDE,Bk.ASIDE],[Lk.B,Bk.B],[Lk.BASE,Bk.BASE],[Lk.BASEFONT,Bk.BASEFONT],[Lk.BGSOUND,Bk.BGSOUND],[Lk.BIG,Bk.BIG],[Lk.BLOCKQUOTE,Bk.BLOCKQUOTE],[Lk.BODY,Bk.BODY],[Lk.BR,Bk.BR],[Lk.BUTTON,Bk.BUTTON],[Lk.CAPTION,Bk.CAPTION],[Lk.CENTER,Bk.CENTER],[Lk.CODE,Bk.CODE],[Lk.COL,Bk.COL],[Lk.COLGROUP,Bk.COLGROUP],[Lk.DD,Bk.DD],[Lk.DESC,Bk.DESC],[Lk.DETAILS,Bk.DETAILS],[Lk.DIALOG,Bk.DIALOG],[Lk.DIR,Bk.DIR],[Lk.DIV,Bk.DIV],[Lk.DL,Bk.DL],[Lk.DT,Bk.DT],[Lk.EM,Bk.EM],[Lk.EMBED,Bk.EMBED],[Lk.FIELDSET,Bk.FIELDSET],[Lk.FIGCAPTION,Bk.FIGCAPTION],[Lk.FIGURE,Bk.FIGURE],[Lk.FONT,Bk.FONT],[Lk.FOOTER,Bk.FOOTER],[Lk.FOREIGN_OBJECT,Bk.FOREIGN_OBJECT],[Lk.FORM,Bk.FORM],[Lk.FRAME,Bk.FRAME],[Lk.FRAMESET,Bk.FRAMESET],[Lk.H1,Bk.H1],[Lk.H2,Bk.H2],[Lk.H3,Bk.H3],[Lk.H4,Bk.H4],[Lk.H5,Bk.H5],[Lk.H6,Bk.H6],[Lk.HEAD,Bk.HEAD],[Lk.HEADER,Bk.HEADER],[Lk.HGROUP,Bk.HGROUP],[Lk.HR,Bk.HR],[Lk.HTML,Bk.HTML],[Lk.I,Bk.I],[Lk.IMG,Bk.IMG],[Lk.IMAGE,Bk.IMAGE],[Lk.INPUT,Bk.INPUT],[Lk.IFRAME,Bk.IFRAME],[Lk.KEYGEN,Bk.KEYGEN],[Lk.LABEL,Bk.LABEL],[Lk.LI,Bk.LI],[Lk.LINK,Bk.LINK],[Lk.LISTING,Bk.LISTING],[Lk.MAIN,Bk.MAIN],[Lk.MALIGNMARK,Bk.MALIGNMARK],[Lk.MARQUEE,Bk.MARQUEE],[Lk.MATH,Bk.MATH],[Lk.MENU,Bk.MENU],[Lk.META,Bk.META],[Lk.MGLYPH,Bk.MGLYPH],[Lk.MI,Bk.MI],[Lk.MO,Bk.MO],[Lk.MN,Bk.MN],[Lk.MS,Bk.MS],[Lk.MTEXT,Bk.MTEXT],[Lk.NAV,Bk.NAV],[Lk.NOBR,Bk.NOBR],[Lk.NOFRAMES,Bk.NOFRAMES],[Lk.NOEMBED,Bk.NOEMBED],[Lk.NOSCRIPT,Bk.NOSCRIPT],[Lk.OBJECT,Bk.OBJECT],[Lk.OL,Bk.OL],[Lk.OPTGROUP,Bk.OPTGROUP],[Lk.OPTION,Bk.OPTION],[Lk.P,Bk.P],[Lk.PARAM,Bk.PARAM],[Lk.PLAINTEXT,Bk.PLAINTEXT],[Lk.PRE,Bk.PRE],[Lk.RB,Bk.RB],[Lk.RP,Bk.RP],[Lk.RT,Bk.RT],[Lk.RTC,Bk.RTC],[Lk.RUBY,Bk.RUBY],[Lk.S,Bk.S],[Lk.SCRIPT,Bk.SCRIPT],[Lk.SECTION,Bk.SECTION],[Lk.SELECT,Bk.SELECT],[Lk.SOURCE,Bk.SOURCE],[Lk.SMALL,Bk.SMALL],[Lk.SPAN,Bk.SPAN],[Lk.STRIKE,Bk.STRIKE],[Lk.STRONG,Bk.STRONG],[Lk.STYLE,Bk.STYLE],[Lk.SUB,Bk.SUB],[Lk.SUMMARY,Bk.SUMMARY],[Lk.SUP,Bk.SUP],[Lk.TABLE,Bk.TABLE],[Lk.TBODY,Bk.TBODY],[Lk.TEMPLATE,Bk.TEMPLATE],[Lk.TEXTAREA,Bk.TEXTAREA],[Lk.TFOOT,Bk.TFOOT],[Lk.TD,Bk.TD],[Lk.TH,Bk.TH],[Lk.THEAD,Bk.THEAD],[Lk.TITLE,Bk.TITLE],[Lk.TR,Bk.TR],[Lk.TRACK,Bk.TRACK],[Lk.TT,Bk.TT],[Lk.U,Bk.U],[Lk.UL,Bk.UL],[Lk.SVG,Bk.SVG],[Lk.VAR,Bk.VAR],[Lk.WBR,Bk.WBR],[Lk.XMP,Bk.XMP]]);function Zk(e){var t;return null!==(t=Vk.get(e))&&void 0!==t?t:Bk.UNKNOWN}const Wk=Bk,Xk={[$k.HTML]:new Set([Wk.ADDRESS,Wk.APPLET,Wk.AREA,Wk.ARTICLE,Wk.ASIDE,Wk.BASE,Wk.BASEFONT,Wk.BGSOUND,Wk.BLOCKQUOTE,Wk.BODY,Wk.BR,Wk.BUTTON,Wk.CAPTION,Wk.CENTER,Wk.COL,Wk.COLGROUP,Wk.DD,Wk.DETAILS,Wk.DIR,Wk.DIV,Wk.DL,Wk.DT,Wk.EMBED,Wk.FIELDSET,Wk.FIGCAPTION,Wk.FIGURE,Wk.FOOTER,Wk.FORM,Wk.FRAME,Wk.FRAMESET,Wk.H1,Wk.H2,Wk.H3,Wk.H4,Wk.H5,Wk.H6,Wk.HEAD,Wk.HEADER,Wk.HGROUP,Wk.HR,Wk.HTML,Wk.IFRAME,Wk.IMG,Wk.INPUT,Wk.LI,Wk.LINK,Wk.LISTING,Wk.MAIN,Wk.MARQUEE,Wk.MENU,Wk.META,Wk.NAV,Wk.NOEMBED,Wk.NOFRAMES,Wk.NOSCRIPT,Wk.OBJECT,Wk.OL,Wk.P,Wk.PARAM,Wk.PLAINTEXT,Wk.PRE,Wk.SCRIPT,Wk.SECTION,Wk.SELECT,Wk.SOURCE,Wk.STYLE,Wk.SUMMARY,Wk.TABLE,Wk.TBODY,Wk.TD,Wk.TEMPLATE,Wk.TEXTAREA,Wk.TFOOT,Wk.TH,Wk.THEAD,Wk.TITLE,Wk.TR,Wk.TRACK,Wk.UL,Wk.WBR,Wk.XMP]),[$k.MATHML]:new Set([Wk.MI,Wk.MO,Wk.MN,Wk.MS,Wk.MTEXT,Wk.ANNOTATION_XML]),[$k.SVG]:new Set([Wk.TITLE,Wk.FOREIGN_OBJECT,Wk.DESC]),[$k.XLINK]:new Set,[$k.XML]:new Set,[$k.XMLNS]:new Set};function Gk(e){return e===Wk.H1||e===Wk.H2||e===Wk.H3||e===Wk.H4||e===Wk.H5||e===Wk.H6}Lk.STYLE,Lk.SCRIPT,Lk.XMP,Lk.IFRAME,Lk.NOEMBED,Lk.NOFRAMES,Lk.PLAINTEXT;const Yk=new Map([[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]]);var Kk,Jk;(Jk=Kk||(Kk={}))[Jk.DATA=0]="DATA",Jk[Jk.RCDATA=1]="RCDATA",Jk[Jk.RAWTEXT=2]="RAWTEXT",Jk[Jk.SCRIPT_DATA=3]="SCRIPT_DATA",Jk[Jk.PLAINTEXT=4]="PLAINTEXT",Jk[Jk.TAG_OPEN=5]="TAG_OPEN",Jk[Jk.END_TAG_OPEN=6]="END_TAG_OPEN",Jk[Jk.TAG_NAME=7]="TAG_NAME",Jk[Jk.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Jk[Jk.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Jk[Jk.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Jk[Jk.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Jk[Jk.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Jk[Jk.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Jk[Jk.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Jk[Jk.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Jk[Jk.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Jk[Jk.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Jk[Jk.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Jk[Jk.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Jk[Jk.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Jk[Jk.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Jk[Jk.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Jk[Jk.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Jk[Jk.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Jk[Jk.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Jk[Jk.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Jk[Jk.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Jk[Jk.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Jk[Jk.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Jk[Jk.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Jk[Jk.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Jk[Jk.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Jk[Jk.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Jk[Jk.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Jk[Jk.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Jk[Jk.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Jk[Jk.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Jk[Jk.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Jk[Jk.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Jk[Jk.BOGUS_COMMENT=40]="BOGUS_COMMENT",Jk[Jk.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Jk[Jk.COMMENT_START=42]="COMMENT_START",Jk[Jk.COMMENT_START_DASH=43]="COMMENT_START_DASH",Jk[Jk.COMMENT=44]="COMMENT",Jk[Jk.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Jk[Jk.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Jk[Jk.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Jk[Jk.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Jk[Jk.COMMENT_END_DASH=49]="COMMENT_END_DASH",Jk[Jk.COMMENT_END=50]="COMMENT_END",Jk[Jk.COMMENT_END_BANG=51]="COMMENT_END_BANG",Jk[Jk.DOCTYPE=52]="DOCTYPE",Jk[Jk.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Jk[Jk.DOCTYPE_NAME=54]="DOCTYPE_NAME",Jk[Jk.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Jk[Jk.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Jk[Jk.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Jk[Jk.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Jk[Jk.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Jk[Jk.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Jk[Jk.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Jk[Jk.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Jk[Jk.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Jk[Jk.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Jk[Jk.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Jk[Jk.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Jk[Jk.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Jk[Jk.CDATA_SECTION=68]="CDATA_SECTION",Jk[Jk.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Jk[Jk.CDATA_SECTION_END=70]="CDATA_SECTION_END",Jk[Jk.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Jk[Jk.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",Jk[Jk.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",Jk[Jk.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",Jk[Jk.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",Jk[Jk.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",Jk[Jk.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",Jk[Jk.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";const eS={DATA:Kk.DATA,RCDATA:Kk.RCDATA,RAWTEXT:Kk.RAWTEXT,SCRIPT_DATA:Kk.SCRIPT_DATA,PLAINTEXT:Kk.PLAINTEXT,CDATA_SECTION:Kk.CDATA_SECTION};function tS(e){return e>=ak.DIGIT_0&&e<=ak.DIGIT_9}function rS(e){return e>=ak.LATIN_CAPITAL_A&&e<=ak.LATIN_CAPITAL_Z}function nS(e){return function(e){return e>=ak.LATIN_SMALL_A&&e<=ak.LATIN_SMALL_Z}(e)||rS(e)}function aS(e){return nS(e)||tS(e)}function oS(e){return e>=ak.LATIN_CAPITAL_A&&e<=ak.LATIN_CAPITAL_F}function iS(e){return e>=ak.LATIN_SMALL_A&&e<=ak.LATIN_SMALL_F}function sS(e){return e+32}function lS(e){return e===ak.SPACE||e===ak.LINE_FEED||e===ak.TABULATION||e===ak.FORM_FEED}function cS(e){return lS(e)||e===ak.SOLIDUS||e===ak.GREATER_THAN_SIGN}class uS{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=Kk.DATA,this.returnState=Kk.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new gk(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,r;null===(r=(t=this.handler).onParseError)||void 0===r||r.call(t,this.preprocessor.getError(e))}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;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==r||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_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)}_createStartTagToken(){this.currentToken={type:fk.START_TAG,tagName:"",tagID:Bk.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:fk.END_TAG,tagName:"",tagID:Bk.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:fk.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:fk.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,t;const r=this.currentToken;null===bk(r,this.currentAttr.name)?(r.attrs.push(this.currentAttr),r.location&&this.currentLocation&&((null!==(e=(t=r.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(pk.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(){const e=this.currentToken;this.prepareToken(e),e.tagID=Zk(e.tagName),e.type===fk.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(pk.endTagWithAttributes),e.selfClosing&&this._err(pk.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 fk.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case fk.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case fk.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:fk.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=lS(e)?fk.WHITESPACE_CHARACTER:e===ak.NULL?fk.NULL_CHARACTER:fk.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(fk.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,r=0,n=!1;for(let o=0,i=vk[0];o>=0&&(o=Hk(vk,i,o+1,e),!(o<0));e=this._consume()){r+=1,i=vk[o];const s=i&_k.VALUE_LENGTH;if(s){const i=(s>>14)-1;if(e!==ak.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===ak.EQUALS_SIGN||aS(a))?(t=[ak.AMPERSAND],o+=i):(t=0===i?[vk[o]&~_k.VALUE_LENGTH]:1===i?[vk[++o]]:[vk[++o],vk[++o]],r=0,n=e!==ak.SEMICOLON),0===i){this._consume();break}}}var a;return this._unconsume(r),n&&!this.preprocessor.endOfChunkHit&&this._err(pk.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===Kk.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Kk.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Kk.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Kk.DATA:this._stateData(e);break;case Kk.RCDATA:this._stateRcdata(e);break;case Kk.RAWTEXT:this._stateRawtext(e);break;case Kk.SCRIPT_DATA:this._stateScriptData(e);break;case Kk.PLAINTEXT:this._statePlaintext(e);break;case Kk.TAG_OPEN:this._stateTagOpen(e);break;case Kk.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Kk.TAG_NAME:this._stateTagName(e);break;case Kk.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Kk.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Kk.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Kk.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Kk.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Kk.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Kk.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Kk.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Kk.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Kk.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Kk.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Kk.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Kk.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Kk.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Kk.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Kk.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Kk.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Kk.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Kk.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Kk.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Kk.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Kk.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Kk.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Kk.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Kk.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Kk.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Kk.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Kk.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Kk.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Kk.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Kk.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Kk.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Kk.BOGUS_COMMENT:this._stateBogusComment(e);break;case Kk.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Kk.COMMENT_START:this._stateCommentStart(e);break;case Kk.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Kk.COMMENT:this._stateComment(e);break;case Kk.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Kk.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Kk.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Kk.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Kk.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Kk.COMMENT_END:this._stateCommentEnd(e);break;case Kk.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Kk.DOCTYPE:this._stateDoctype(e);break;case Kk.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Kk.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Kk.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Kk.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Kk.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Kk.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Kk.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Kk.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Kk.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Kk.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Kk.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Kk.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Kk.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Kk.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Kk.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Kk.CDATA_SECTION:this._stateCdataSection(e);break;case Kk.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Kk.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Kk.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case Kk.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case Kk.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case Kk.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case Kk.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case Kk.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case Kk.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case Kk.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case ak.LESS_THAN_SIGN:this.state=Kk.TAG_OPEN;break;case ak.AMPERSAND:this.returnState=Kk.DATA,this.state=Kk.CHARACTER_REFERENCE;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this._emitCodePoint(e);break;case ak.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case ak.AMPERSAND:this.returnState=Kk.RCDATA,this.state=Kk.CHARACTER_REFERENCE;break;case ak.LESS_THAN_SIGN:this.state=Kk.RCDATA_LESS_THAN_SIGN;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this._emitChars(nk);break;case ak.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case ak.LESS_THAN_SIGN:this.state=Kk.RAWTEXT_LESS_THAN_SIGN;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this._emitChars(nk);break;case ak.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case ak.LESS_THAN_SIGN:this.state=Kk.SCRIPT_DATA_LESS_THAN_SIGN;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this._emitChars(nk);break;case ak.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case ak.NULL:this._err(pk.unexpectedNullCharacter),this._emitChars(nk);break;case ak.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(nS(e))this._createStartTagToken(),this.state=Kk.TAG_NAME,this._stateTagName(e);else switch(e){case ak.EXCLAMATION_MARK:this.state=Kk.MARKUP_DECLARATION_OPEN;break;case ak.SOLIDUS:this.state=Kk.END_TAG_OPEN;break;case ak.QUESTION_MARK:this._err(pk.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Kk.BOGUS_COMMENT,this._stateBogusComment(e);break;case ak.EOF:this._err(pk.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(pk.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Kk.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(nS(e))this._createEndTagToken(),this.state=Kk.TAG_NAME,this._stateTagName(e);else switch(e){case ak.GREATER_THAN_SIGN:this._err(pk.missingEndTagName),this.state=Kk.DATA;break;case ak.EOF:this._err(pk.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(pk.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Kk.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:this.state=Kk.BEFORE_ATTRIBUTE_NAME;break;case ak.SOLIDUS:this.state=Kk.SELF_CLOSING_START_TAG;break;case ak.GREATER_THAN_SIGN:this.state=Kk.DATA,this.emitCurrentTagToken();break;case ak.NULL:this._err(pk.unexpectedNullCharacter),t.tagName+=nk;break;case ak.EOF:this._err(pk.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(rS(e)?sS(e):e)}}_stateRcdataLessThanSign(e){e===ak.SOLIDUS?this.state=Kk.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Kk.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){nS(e)?(this.state=Kk.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=Kk.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Kk.BEFORE_ATTRIBUTE_NAME,!1;case ak.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Kk.SELF_CLOSING_START_TAG,!1;case ak.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Kk.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=Kk.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===ak.SOLIDUS?this.state=Kk.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Kk.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){nS(e)?(this.state=Kk.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=Kk.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=Kk.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case ak.SOLIDUS:this.state=Kk.SCRIPT_DATA_END_TAG_OPEN;break;case ak.EXCLAMATION_MARK:this.state=Kk.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=Kk.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){nS(e)?(this.state=Kk.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=Kk.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=Kk.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===ak.HYPHEN_MINUS?(this.state=Kk.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Kk.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===ak.HYPHEN_MINUS?(this.state=Kk.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Kk.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case ak.HYPHEN_MINUS:this.state=Kk.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case ak.LESS_THAN_SIGN:this.state=Kk.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this._emitChars(nk);break;case ak.EOF:this._err(pk.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case ak.HYPHEN_MINUS:this.state=Kk.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case ak.LESS_THAN_SIGN:this.state=Kk.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this.state=Kk.SCRIPT_DATA_ESCAPED,this._emitChars(nk);break;case ak.EOF:this._err(pk.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Kk.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case ak.HYPHEN_MINUS:this._emitChars("-");break;case ak.LESS_THAN_SIGN:this.state=Kk.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case ak.GREATER_THAN_SIGN:this.state=Kk.SCRIPT_DATA,this._emitChars(">");break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this.state=Kk.SCRIPT_DATA_ESCAPED,this._emitChars(nk);break;case ak.EOF:this._err(pk.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Kk.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===ak.SOLIDUS?this.state=Kk.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:nS(e)?(this._emitChars("<"),this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=Kk.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){nS(e)?(this.state=Kk.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=Kk.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=Kk.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(lk,!1)&&cS(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Kk.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case ak.HYPHEN_MINUS:this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case ak.LESS_THAN_SIGN:this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this._emitChars(nk);break;case ak.EOF:this._err(pk.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case ak.HYPHEN_MINUS:this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case ak.LESS_THAN_SIGN:this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nk);break;case ak.EOF:this._err(pk.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case ak.HYPHEN_MINUS:this._emitChars("-");break;case ak.LESS_THAN_SIGN:this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case ak.GREATER_THAN_SIGN:this.state=Kk.SCRIPT_DATA,this._emitChars(">");break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nk);break;case ak.EOF:this._err(pk.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===ak.SOLIDUS?(this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(lk,!1)&&cS(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=Kk.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Kk.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.SOLIDUS:case ak.GREATER_THAN_SIGN:case ak.EOF:this.state=Kk.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case ak.EQUALS_SIGN:this._err(pk.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Kk.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=Kk.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:case ak.SOLIDUS:case ak.GREATER_THAN_SIGN:case ak.EOF:this._leaveAttrName(),this.state=Kk.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case ak.EQUALS_SIGN:this._leaveAttrName(),this.state=Kk.BEFORE_ATTRIBUTE_VALUE;break;case ak.QUOTATION_MARK:case ak.APOSTROPHE:case ak.LESS_THAN_SIGN:this._err(pk.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this.currentAttr.name+=nk;break;default:this.currentAttr.name+=String.fromCodePoint(rS(e)?sS(e):e)}}_stateAfterAttributeName(e){switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.SOLIDUS:this.state=Kk.SELF_CLOSING_START_TAG;break;case ak.EQUALS_SIGN:this.state=Kk.BEFORE_ATTRIBUTE_VALUE;break;case ak.GREATER_THAN_SIGN:this.state=Kk.DATA,this.emitCurrentTagToken();break;case ak.EOF:this._err(pk.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=Kk.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.QUOTATION_MARK:this.state=Kk.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case ak.APOSTROPHE:this.state=Kk.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case ak.GREATER_THAN_SIGN:this._err(pk.missingAttributeValue),this.state=Kk.DATA,this.emitCurrentTagToken();break;default:this.state=Kk.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case ak.QUOTATION_MARK:this.state=Kk.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case ak.AMPERSAND:this.returnState=Kk.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Kk.CHARACTER_REFERENCE;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this.currentAttr.value+=nk;break;case ak.EOF:this._err(pk.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case ak.APOSTROPHE:this.state=Kk.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case ak.AMPERSAND:this.returnState=Kk.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Kk.CHARACTER_REFERENCE;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this.currentAttr.value+=nk;break;case ak.EOF:this._err(pk.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:this._leaveAttrValue(),this.state=Kk.BEFORE_ATTRIBUTE_NAME;break;case ak.AMPERSAND:this.returnState=Kk.ATTRIBUTE_VALUE_UNQUOTED,this.state=Kk.CHARACTER_REFERENCE;break;case ak.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Kk.DATA,this.emitCurrentTagToken();break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this.currentAttr.value+=nk;break;case ak.QUOTATION_MARK:case ak.APOSTROPHE:case ak.LESS_THAN_SIGN:case ak.EQUALS_SIGN:case ak.GRAVE_ACCENT:this._err(pk.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case ak.EOF:this._err(pk.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:this._leaveAttrValue(),this.state=Kk.BEFORE_ATTRIBUTE_NAME;break;case ak.SOLIDUS:this._leaveAttrValue(),this.state=Kk.SELF_CLOSING_START_TAG;break;case ak.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Kk.DATA,this.emitCurrentTagToken();break;case ak.EOF:this._err(pk.eofInTag),this._emitEOFToken();break;default:this._err(pk.missingWhitespaceBetweenAttributes),this.state=Kk.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case ak.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=Kk.DATA,this.emitCurrentTagToken();break;case ak.EOF:this._err(pk.eofInTag),this._emitEOFToken();break;default:this._err(pk.unexpectedSolidusInTag),this.state=Kk.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case ak.GREATER_THAN_SIGN:this.state=Kk.DATA,this.emitCurrentComment(t);break;case ak.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case ak.NULL:this._err(pk.unexpectedNullCharacter),t.data+=nk;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=Kk.COMMENT_START):this._consumeSequenceIfMatch(sk,!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=Kk.DOCTYPE):this._consumeSequenceIfMatch(ik,!0)?this.inForeignNode?this.state=Kk.CDATA_SECTION:(this._err(pk.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=Kk.BOGUS_COMMENT):this._ensureHibernation()||(this._err(pk.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Kk.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case ak.HYPHEN_MINUS:this.state=Kk.COMMENT_START_DASH;break;case ak.GREATER_THAN_SIGN:{this._err(pk.abruptClosingOfEmptyComment),this.state=Kk.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Kk.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case ak.HYPHEN_MINUS:this.state=Kk.COMMENT_END;break;case ak.GREATER_THAN_SIGN:this._err(pk.abruptClosingOfEmptyComment),this.state=Kk.DATA,this.emitCurrentComment(t);break;case ak.EOF:this._err(pk.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Kk.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case ak.HYPHEN_MINUS:this.state=Kk.COMMENT_END_DASH;break;case ak.LESS_THAN_SIGN:t.data+="<",this.state=Kk.COMMENT_LESS_THAN_SIGN;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),t.data+=nk;break;case ak.EOF:this._err(pk.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case ak.EXCLAMATION_MARK:t.data+="!",this.state=Kk.COMMENT_LESS_THAN_SIGN_BANG;break;case ak.LESS_THAN_SIGN:t.data+="<";break;default:this.state=Kk.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===ak.HYPHEN_MINUS?this.state=Kk.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Kk.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===ak.HYPHEN_MINUS?this.state=Kk.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Kk.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==ak.GREATER_THAN_SIGN&&e!==ak.EOF&&this._err(pk.nestedComment),this.state=Kk.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case ak.HYPHEN_MINUS:this.state=Kk.COMMENT_END;break;case ak.EOF:this._err(pk.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Kk.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case ak.GREATER_THAN_SIGN:this.state=Kk.DATA,this.emitCurrentComment(t);break;case ak.EXCLAMATION_MARK:this.state=Kk.COMMENT_END_BANG;break;case ak.HYPHEN_MINUS:t.data+="-";break;case ak.EOF:this._err(pk.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=Kk.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case ak.HYPHEN_MINUS:t.data+="--!",this.state=Kk.COMMENT_END_DASH;break;case ak.GREATER_THAN_SIGN:this._err(pk.incorrectlyClosedComment),this.state=Kk.DATA,this.emitCurrentComment(t);break;case ak.EOF:this._err(pk.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=Kk.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:this.state=Kk.BEFORE_DOCTYPE_NAME;break;case ak.GREATER_THAN_SIGN:this.state=Kk.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case ak.EOF:{this._err(pk.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(pk.missingWhitespaceBeforeDoctypeName),this.state=Kk.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(rS(e))this._createDoctypeToken(String.fromCharCode(sS(e))),this.state=Kk.DOCTYPE_NAME;else switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.NULL:this._err(pk.unexpectedNullCharacter),this._createDoctypeToken(nk),this.state=Kk.DOCTYPE_NAME;break;case ak.GREATER_THAN_SIGN:{this._err(pk.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Kk.DATA;break}case ak.EOF:{this._err(pk.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Kk.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:this.state=Kk.AFTER_DOCTYPE_NAME;break;case ak.GREATER_THAN_SIGN:this.state=Kk.DATA,this.emitCurrentDoctype(t);break;case ak.NULL:this._err(pk.unexpectedNullCharacter),t.name+=nk;break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(rS(e)?sS(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.GREATER_THAN_SIGN:this.state=Kk.DATA,this.emitCurrentDoctype(t);break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=Kk.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=Kk.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(pk.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Kk.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:this.state=Kk.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case ak.QUOTATION_MARK:this._err(pk.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Kk.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case ak.APOSTROPHE:this._err(pk.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Kk.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case ak.GREATER_THAN_SIGN:this._err(pk.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Kk.DATA,this.emitCurrentDoctype(t);break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pk.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Kk.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.QUOTATION_MARK:t.publicId="",this.state=Kk.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case ak.APOSTROPHE:t.publicId="",this.state=Kk.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case ak.GREATER_THAN_SIGN:this._err(pk.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Kk.DATA,this.emitCurrentDoctype(t);break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pk.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Kk.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case ak.QUOTATION_MARK:this.state=Kk.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),t.publicId+=nk;break;case ak.GREATER_THAN_SIGN:this._err(pk.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Kk.DATA;break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case ak.APOSTROPHE:this.state=Kk.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),t.publicId+=nk;break;case ak.GREATER_THAN_SIGN:this._err(pk.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Kk.DATA;break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:this.state=Kk.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case ak.GREATER_THAN_SIGN:this.state=Kk.DATA,this.emitCurrentDoctype(t);break;case ak.QUOTATION_MARK:this._err(pk.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Kk.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case ak.APOSTROPHE:this._err(pk.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Kk.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pk.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kk.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Kk.DATA;break;case ak.QUOTATION_MARK:t.systemId="",this.state=Kk.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case ak.APOSTROPHE:t.systemId="",this.state=Kk.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pk.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kk.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:this.state=Kk.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case ak.QUOTATION_MARK:this._err(pk.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Kk.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case ak.APOSTROPHE:this._err(pk.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Kk.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case ak.GREATER_THAN_SIGN:this._err(pk.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kk.DATA,this.emitCurrentDoctype(t);break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pk.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kk.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.QUOTATION_MARK:t.systemId="",this.state=Kk.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case ak.APOSTROPHE:t.systemId="",this.state=Kk.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case ak.GREATER_THAN_SIGN:this._err(pk.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kk.DATA,this.emitCurrentDoctype(t);break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pk.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kk.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case ak.QUOTATION_MARK:this.state=Kk.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),t.systemId+=nk;break;case ak.GREATER_THAN_SIGN:this._err(pk.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Kk.DATA;break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case ak.APOSTROPHE:this.state=Kk.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case ak.NULL:this._err(pk.unexpectedNullCharacter),t.systemId+=nk;break;case ak.GREATER_THAN_SIGN:this._err(pk.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Kk.DATA;break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case ak.SPACE:case ak.LINE_FEED:case ak.TABULATION:case ak.FORM_FEED:break;case ak.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Kk.DATA;break;case ak.EOF:this._err(pk.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pk.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Kk.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case ak.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Kk.DATA;break;case ak.NULL:this._err(pk.unexpectedNullCharacter);break;case ak.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case ak.RIGHT_SQUARE_BRACKET:this.state=Kk.CDATA_SECTION_BRACKET;break;case ak.EOF:this._err(pk.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===ak.RIGHT_SQUARE_BRACKET?this.state=Kk.CDATA_SECTION_END:(this._emitChars("]"),this.state=Kk.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case ak.GREATER_THAN_SIGN:this.state=Kk.DATA;break;case ak.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=Kk.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===ak.NUMBER_SIGN?this.state=Kk.NUMERIC_CHARACTER_REFERENCE:aS(e)?(this.state=Kk.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(ak.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e<t.length;e++)this._flushCodePointConsumedAsCharacterReference(t[e]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(ak.AMPERSAND),this.state=Kk.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){aS(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===ak.SEMICOLON&&this._err(pk.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===ak.LATIN_SMALL_X||e===ak.LATIN_CAPITAL_X?this.state=Kk.HEXADEMICAL_CHARACTER_REFERENCE_START:tS(e)?(this.state=Kk.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(pk.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(ak.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(ak.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){!function(e){return tS(e)||oS(e)||iS(e)}(e)?(this._err(pk.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(ak.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(ak.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState):(this.state=Kk.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e))}_stateHexademicalCharacterReference(e){oS(e)?this.charRefCode=16*this.charRefCode+e-55:iS(e)?this.charRefCode=16*this.charRefCode+e-87:tS(e)?this.charRefCode=16*this.charRefCode+e-48:e===ak.SEMICOLON?this.state=Kk.NUMERIC_CHARACTER_REFERENCE_END:(this._err(pk.missingSemicolonAfterCharacterReference),this.state=Kk.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){tS(e)?this.charRefCode=10*this.charRefCode+e-48:e===ak.SEMICOLON?this.state=Kk.NUMERIC_CHARACTER_REFERENCE_END:(this._err(pk.missingSemicolonAfterCharacterReference),this.state=Kk.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===ak.NULL)this._err(pk.nullCharacterReference),this.charRefCode=ak.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(pk.characterReferenceOutsideUnicodeRange),this.charRefCode=ak.REPLACEMENT_CHARACTER;else if(ck(this.charRefCode))this._err(pk.surrogateCharacterReference),this.charRefCode=ak.REPLACEMENT_CHARACTER;else if(dk(this.charRefCode))this._err(pk.noncharacterCharacterReference);else if(uk(this.charRefCode)||this.charRefCode===ak.CARRIAGE_RETURN){this._err(pk.controlCharacterReference);const e=Yk.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const dS=new Set([Bk.DD,Bk.DT,Bk.LI,Bk.OPTGROUP,Bk.OPTION,Bk.P,Bk.RB,Bk.RP,Bk.RT,Bk.RTC]),pS=new Set([...dS,Bk.CAPTION,Bk.COLGROUP,Bk.TBODY,Bk.TD,Bk.TFOOT,Bk.TH,Bk.THEAD,Bk.TR]),hS=new Map([[Bk.APPLET,$k.HTML],[Bk.CAPTION,$k.HTML],[Bk.HTML,$k.HTML],[Bk.MARQUEE,$k.HTML],[Bk.OBJECT,$k.HTML],[Bk.TABLE,$k.HTML],[Bk.TD,$k.HTML],[Bk.TEMPLATE,$k.HTML],[Bk.TH,$k.HTML],[Bk.ANNOTATION_XML,$k.MATHML],[Bk.MI,$k.MATHML],[Bk.MN,$k.MATHML],[Bk.MO,$k.MATHML],[Bk.MS,$k.MATHML],[Bk.MTEXT,$k.MATHML],[Bk.DESC,$k.SVG],[Bk.FOREIGN_OBJECT,$k.SVG],[Bk.TITLE,$k.SVG]]),fS=[Bk.H1,Bk.H2,Bk.H3,Bk.H4,Bk.H5,Bk.H6],mS=[Bk.TR,Bk.TEMPLATE,Bk.HTML],gS=[Bk.TBODY,Bk.TFOOT,Bk.THEAD,Bk.TEMPLATE,Bk.HTML],bS=[Bk.TABLE,Bk.TEMPLATE,Bk.HTML],vS=[Bk.TD,Bk.TH];class yS{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Bk.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Bk.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===$k.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(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===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])!==$k.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(fS,$k.HTML)}popUntilTableCellPopped(){this.popUntilPopped(vS,$k.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(bS,$k.HTML)}clearBackToTableBodyContext(){this.clearBackTo(gS,$k.HTML)}clearBackToTableRowContext(){this.clearBackTo(mS,$k.HTML)}remove(e){const 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]===Bk.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Bk.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],n=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&n===$k.HTML)return!0;if(hS.get(r)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(Gk(t)&&r===$k.HTML)return!0;if(hS.get(t)===r)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],n=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&n===$k.HTML)return!0;if((r===Bk.UL||r===Bk.OL)&&n===$k.HTML||hS.get(r)===n)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],n=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&n===$k.HTML)return!0;if(r===Bk.BUTTON&&n===$k.HTML||hS.get(r)===n)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===$k.HTML){if(r===e)return!0;if(r===Bk.TABLE||r===Bk.TEMPLATE||r===Bk.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===$k.HTML){if(t===Bk.TBODY||t===Bk.THEAD||t===Bk.TFOOT)return!0;if(t===Bk.TABLE||t===Bk.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===$k.HTML){if(r===e)return!0;if(r!==Bk.OPTION&&r!==Bk.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;dS.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;pS.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&pS.has(this.currentTagId);)this.pop()}}var OS,wS;(wS=OS=OS||(OS={}))[wS.Marker=0]="Marker",wS[wS.Element=1]="Element";const xS={type:OS.Marker};class kS{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],n=t.length,a=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){const t=this.entries[e];if(t.type===OS.Marker)break;const{element:i}=t;if(this.treeAdapter.getTagName(i)===a&&this.treeAdapter.getNamespaceURI(i)===o){const t=this.treeAdapter.getAttrList(i);t.length===n&&r.push({idx:e,attrs:t})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<3)return;const n=new Map(t.map((e=>[e.name,e.value])));let a=0;for(let e=0;e<r.length;e++){const t=r[e];t.attrs.every((e=>n.get(e.name)===e.value))&&(a+=1,a>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(xS)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:OS.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:OS.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(xS);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===OS.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===OS.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===OS.Element&&t.element===e))}}function SS(e){return{nodeName:"#text",value:e,parentNode:null}}const _S={createDocument:()=>({nodeName:"#document",mode:Nk.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,r)=>({nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,r,n){const a=e.childNodes.find((e=>"#documentType"===e.nodeName));if(a)a.name=t,a.publicId=r,a.systemId=n;else{const a={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};_S.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(_S.isTextNode(r))return void(r.value+=t)}_S.appendChild(e,SS(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&_S.isTextNode(n)?n.value+=t:_S.insertBefore(e,SS(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map((e=>e.name)));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ES="html",TS=["+//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//"],AS=[...TS,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],CS=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),PS=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],$S=[...PS,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function MS(e,t){return t.some((t=>e.startsWith(t)))}const DS="text/html",RS="application/xhtml+xml",NS=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"].map((e=>[e.toLowerCase(),e]))),IS=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:$k.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:$k.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:$k.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:$k.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:$k.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:$k.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:$k.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:$k.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:$k.XML}],["xml:space",{prefix:"xml",name:"space",namespace:$k.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:$k.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:$k.XMLNS}]]),LS=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"].map((e=>[e.toLowerCase(),e]))),jS=new Set([Bk.B,Bk.BIG,Bk.BLOCKQUOTE,Bk.BODY,Bk.BR,Bk.CENTER,Bk.CODE,Bk.DD,Bk.DIV,Bk.DL,Bk.DT,Bk.EM,Bk.EMBED,Bk.H1,Bk.H2,Bk.H3,Bk.H4,Bk.H5,Bk.H6,Bk.HEAD,Bk.HR,Bk.I,Bk.IMG,Bk.LI,Bk.LISTING,Bk.MENU,Bk.META,Bk.NOBR,Bk.OL,Bk.P,Bk.PRE,Bk.RUBY,Bk.S,Bk.SMALL,Bk.SPAN,Bk.STRONG,Bk.STRIKE,Bk.SUB,Bk.SUP,Bk.TABLE,Bk.TT,Bk.U,Bk.UL,Bk.VAR]);function BS(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function US(e){for(let t=0;t<e.attrs.length;t++){const r=NS.get(e.attrs[t].name);null!=r&&(e.attrs[t].name=r)}}function FS(e){for(let t=0;t<e.attrs.length;t++){const r=IS.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}var QS,zS;(zS=QS||(QS={}))[zS.INITIAL=0]="INITIAL",zS[zS.BEFORE_HTML=1]="BEFORE_HTML",zS[zS.BEFORE_HEAD=2]="BEFORE_HEAD",zS[zS.IN_HEAD=3]="IN_HEAD",zS[zS.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",zS[zS.AFTER_HEAD=5]="AFTER_HEAD",zS[zS.IN_BODY=6]="IN_BODY",zS[zS.TEXT=7]="TEXT",zS[zS.IN_TABLE=8]="IN_TABLE",zS[zS.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",zS[zS.IN_CAPTION=10]="IN_CAPTION",zS[zS.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",zS[zS.IN_TABLE_BODY=12]="IN_TABLE_BODY",zS[zS.IN_ROW=13]="IN_ROW",zS[zS.IN_CELL=14]="IN_CELL",zS[zS.IN_SELECT=15]="IN_SELECT",zS[zS.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",zS[zS.IN_TEMPLATE=17]="IN_TEMPLATE",zS[zS.AFTER_BODY=18]="AFTER_BODY",zS[zS.IN_FRAMESET=19]="IN_FRAMESET",zS[zS.AFTER_FRAMESET=20]="AFTER_FRAMESET",zS[zS.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",zS[zS.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";const qS={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},HS=new Set([Bk.TABLE,Bk.TBODY,Bk.TFOOT,Bk.THEAD,Bk.TR]),VS={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:_S,onParseError:null};let ZS=class{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=QS.INITIAL,this.originalInsertionMode=QS.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={...VS,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new uS(this.options,this),this.activeFormattingElements=new kS(this.treeAdapter),this.fragmentContextID=r?Zk(this.treeAdapter.getTagName(r)):Bk.UNKNOWN,this._setContextModes(null!=r?r:this.document,this.fragmentContextID),this.openElements=new yS(this.document,this.treeAdapter,this)}static parse(e,t){const r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){const r={...VS,...t};null!=e||(e=r.treeAdapter.createElement(Lk.TEMPLATE,$k.HTML,[]));const n=r.treeAdapter.createElement("documentmock",$k.HTML,[]),a=new this(r,n,e);return a.fragmentContextID===Bk.TEMPLATE&&a.tmplInsertionModeStack.unshift(QS.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;const a=null!==(n=e.location)&&void 0!==n?n:qS,o={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(o)}onItemPush(e,t,r){var n,a;null===(a=(n=this.treeAdapter).onItemPush)||void 0===a||a.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(n=(r=this.treeAdapter).onItemPop)||void 0===n||n.call(r,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===$k.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,$k.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=QS.TEXT}switchToPlaintextParsing(){this.insertionMode=QS.TEXT,this.originalInsertionMode=QS.IN_BODY,this.tokenizer.state=eS.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===Lk.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===$k.HTML)switch(this.fragmentContextID){case Bk.TITLE:case Bk.TEXTAREA:this.tokenizer.state=eS.RCDATA;break;case Bk.STYLE:case Bk.XMP:case Bk.IFRAME:case Bk.NOEMBED:case Bk.NOFRAMES:case Bk.NOSCRIPT:this.tokenizer.state=eS.RAWTEXT;break;case Bk.SCRIPT:this.tokenizer.state=eS.SCRIPT_DATA;break;case Bk.PLAINTEXT:this.tokenizer.state=eS.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const 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){const r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,$k.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,$k.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(Lk.HTML,$k.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Bk.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:r}=this._findFosterParentingLocation()),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),a=r?n.lastIndexOf(r):n.length,o=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:t,endCol:r,endOffset:n}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:t,endCol:r,endOffset:n})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),a=t.type===fk.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):({current:t,currentTagId:r}=this.openElements),(e.tagID!==Bk.SVG||this.treeAdapter.getTagName(t)!==Lk.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==$k.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Bk.MGLYPH||e.tagID===Bk.MALIGNMARK)&&!this._isIntegrationPoint(r,t,$k.HTML))}_processToken(e){switch(e.type){case fk.CHARACTER:this.onCharacter(e);break;case fk.NULL_CHARACTER:this.onNullCharacter(e);break;case fk.COMMENT:this.onComment(e);break;case fk.DOCTYPE:this.onDoctype(e);break;case fk.START_TAG:this._processStartTag(e);break;case fk.END_TAG:this.onEndTag(e);break;case fk.EOF:this.onEof(e);break;case fk.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,r){return function(e,t,r,n){return(!n||n===$k.HTML)&&function(e,t,r){if(t===$k.MATHML&&e===Bk.ANNOTATION_XML)for(let e=0;e<r.length;e++)if(r[e].name===Dk.ENCODING){const t=r[e].value.toLowerCase();return t===DS||t===RS}return t===$k.SVG&&(e===Bk.FOREIGN_OBJECT||e===Bk.DESC||e===Bk.TITLE)}(e,t,r)||(!n||n===$k.MATHML)&&function(e,t){return t===$k.MATHML&&(e===Bk.MI||e===Bk.MO||e===Bk.MN||e===Bk.MS||e===Bk.MTEXT)}(e,t)}(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===OS.Marker||this.openElements.contains(e.element)));for(let r=t<0?e-1:t-1;r>=0;r--){const e=this.activeFormattingElements.entries[r];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=QS.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Bk.P),this.openElements.popUntilTagNamePopped(Bk.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Bk.TR:return void(this.insertionMode=QS.IN_ROW);case Bk.TBODY:case Bk.THEAD:case Bk.TFOOT:return void(this.insertionMode=QS.IN_TABLE_BODY);case Bk.CAPTION:return void(this.insertionMode=QS.IN_CAPTION);case Bk.COLGROUP:return void(this.insertionMode=QS.IN_COLUMN_GROUP);case Bk.TABLE:return void(this.insertionMode=QS.IN_TABLE);case Bk.BODY:return void(this.insertionMode=QS.IN_BODY);case Bk.FRAMESET:return void(this.insertionMode=QS.IN_FRAMESET);case Bk.SELECT:return void this._resetInsertionModeForSelect(e);case Bk.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case Bk.HTML:return void(this.insertionMode=this.headElement?QS.AFTER_HEAD:QS.BEFORE_HEAD);case Bk.TD:case Bk.TH:if(e>0)return void(this.insertionMode=QS.IN_CELL);break;case Bk.HEAD:if(e>0)return void(this.insertionMode=QS.IN_HEAD)}this.insertionMode=QS.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===Bk.TEMPLATE)break;if(e===Bk.TABLE)return void(this.insertionMode=QS.IN_SELECT_IN_TABLE)}this.insertionMode=QS.IN_SELECT}_isElementCausesFosterParenting(e){return HS.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Bk.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===$k.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Bk.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return Xk[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case QS.INITIAL:n_(this,e);break;case QS.BEFORE_HTML:a_(this,e);break;case QS.BEFORE_HEAD:o_(this,e);break;case QS.IN_HEAD:l_(this,e);break;case QS.IN_HEAD_NO_SCRIPT:c_(this,e);break;case QS.AFTER_HEAD:u_(this,e);break;case QS.IN_BODY:case QS.IN_CAPTION:case QS.IN_CELL:case QS.IN_TEMPLATE:h_(this,e);break;case QS.TEXT:case QS.IN_SELECT:case QS.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case QS.IN_TABLE:case QS.IN_TABLE_BODY:case QS.IN_ROW:x_(this,e);break;case QS.IN_TABLE_TEXT:T_(this,e);break;case QS.IN_COLUMN_GROUP:$_(this,e);break;case QS.AFTER_BODY:U_(this,e);break;case QS.AFTER_AFTER_BODY:F_(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=nk,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case QS.INITIAL:n_(this,e);break;case QS.BEFORE_HTML:a_(this,e);break;case QS.BEFORE_HEAD:o_(this,e);break;case QS.IN_HEAD:l_(this,e);break;case QS.IN_HEAD_NO_SCRIPT:c_(this,e);break;case QS.AFTER_HEAD:u_(this,e);break;case QS.TEXT:this._insertCharacters(e);break;case QS.IN_TABLE:case QS.IN_TABLE_BODY:case QS.IN_ROW:x_(this,e);break;case QS.IN_COLUMN_GROUP:$_(this,e);break;case QS.AFTER_BODY:U_(this,e);break;case QS.AFTER_AFTER_BODY:F_(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)t_(this,e);else switch(this.insertionMode){case QS.INITIAL:case QS.BEFORE_HTML:case QS.BEFORE_HEAD:case QS.IN_HEAD:case QS.IN_HEAD_NO_SCRIPT:case QS.AFTER_HEAD:case QS.IN_BODY:case QS.IN_TABLE:case QS.IN_CAPTION:case QS.IN_COLUMN_GROUP:case QS.IN_TABLE_BODY:case QS.IN_ROW:case QS.IN_CELL:case QS.IN_SELECT:case QS.IN_SELECT_IN_TABLE:case QS.IN_TEMPLATE:case QS.IN_FRAMESET:case QS.AFTER_FRAMESET:t_(this,e);break;case QS.IN_TABLE_TEXT:A_(this,e);break;case QS.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case QS.AFTER_AFTER_BODY:case QS.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case QS.INITIAL:!function(e,t){e._setDocumentType(t);const r=t.forceQuirks?Nk.QUIRKS:function(e){if(e.name!==ES)return Nk.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return Nk.QUIRKS;let{publicId:r}=e;if(null!==r){if(r=r.toLowerCase(),CS.has(r))return Nk.QUIRKS;let e=null===t?AS:TS;if(MS(r,e))return Nk.QUIRKS;if(e=null===t?PS:$S,MS(r,e))return Nk.LIMITED_QUIRKS}return Nk.NO_QUIRKS}(t);(function(e){return e.name===ES&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,pk.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=QS.BEFORE_HTML}(this,e);break;case QS.BEFORE_HEAD:case QS.IN_HEAD:case QS.IN_HEAD_NO_SCRIPT:case QS.AFTER_HEAD:this._err(e,pk.misplacedDoctype);break;case QS.IN_TABLE_TEXT:A_(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,pk.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===Bk.FONT&&e.attrs.some((({name:e})=>e===Dk.COLOR||e===Dk.SIZE||e===Dk.FACE))||jS.has(t)}(t))Q_(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===$k.MATHML?BS(t):n===$k.SVG&&(function(e){const t=LS.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Zk(e.tagName))}(t),US(t)),FS(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case QS.INITIAL:n_(this,e);break;case QS.BEFORE_HTML:!function(e,t){t.tagID===Bk.HTML?(e._insertElement(t,$k.HTML),e.insertionMode=QS.BEFORE_HEAD):a_(e,t)}(this,e);break;case QS.BEFORE_HEAD:!function(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.HEAD:e._insertElement(t,$k.HTML),e.headElement=e.openElements.current,e.insertionMode=QS.IN_HEAD;break;default:o_(e,t)}}(this,e);break;case QS.IN_HEAD:i_(this,e);break;case QS.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.BASEFONT:case Bk.BGSOUND:case Bk.HEAD:case Bk.LINK:case Bk.META:case Bk.NOFRAMES:case Bk.STYLE:i_(e,t);break;case Bk.NOSCRIPT:e._err(t,pk.nestedNoscriptInHead);break;default:c_(e,t)}}(this,e);break;case QS.AFTER_HEAD:!function(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.BODY:e._insertElement(t,$k.HTML),e.framesetOk=!1,e.insertionMode=QS.IN_BODY;break;case Bk.FRAMESET:e._insertElement(t,$k.HTML),e.insertionMode=QS.IN_FRAMESET;break;case Bk.BASE:case Bk.BASEFONT:case Bk.BGSOUND:case Bk.LINK:case Bk.META:case Bk.NOFRAMES:case Bk.SCRIPT:case Bk.STYLE:case Bk.TEMPLATE:case Bk.TITLE:e._err(t,pk.abandonedHeadElementChild),e.openElements.push(e.headElement,Bk.HEAD),i_(e,t),e.openElements.remove(e.headElement);break;case Bk.HEAD:e._err(t,pk.misplacedStartTagForHeadElement);break;default:u_(e,t)}}(this,e);break;case QS.IN_BODY:v_(this,e);break;case QS.IN_TABLE:k_(this,e);break;case QS.IN_TABLE_TEXT:A_(this,e);break;case QS.IN_CAPTION:!function(e,t){const r=t.tagID;C_.has(r)?e.openElements.hasInTableScope(Bk.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Bk.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=QS.IN_TABLE,k_(e,t)):v_(e,t)}(this,e);break;case QS.IN_COLUMN_GROUP:P_(this,e);break;case QS.IN_TABLE_BODY:M_(this,e);break;case QS.IN_ROW:R_(this,e);break;case QS.IN_CELL:!function(e,t){const r=t.tagID;C_.has(r)?(e.openElements.hasInTableScope(Bk.TD)||e.openElements.hasInTableScope(Bk.TH))&&(e._closeTableCell(),R_(e,t)):v_(e,t)}(this,e);break;case QS.IN_SELECT:I_(this,e);break;case QS.IN_SELECT_IN_TABLE:!function(e,t){const r=t.tagID;r===Bk.CAPTION||r===Bk.TABLE||r===Bk.TBODY||r===Bk.TFOOT||r===Bk.THEAD||r===Bk.TR||r===Bk.TD||r===Bk.TH?(e.openElements.popUntilTagNamePopped(Bk.SELECT),e._resetInsertionMode(),e._processStartTag(t)):I_(e,t)}(this,e);break;case QS.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Bk.BASE:case Bk.BASEFONT:case Bk.BGSOUND:case Bk.LINK:case Bk.META:case Bk.NOFRAMES:case Bk.SCRIPT:case Bk.STYLE:case Bk.TEMPLATE:case Bk.TITLE:i_(e,t);break;case Bk.CAPTION:case Bk.COLGROUP:case Bk.TBODY:case Bk.TFOOT:case Bk.THEAD:e.tmplInsertionModeStack[0]=QS.IN_TABLE,e.insertionMode=QS.IN_TABLE,k_(e,t);break;case Bk.COL:e.tmplInsertionModeStack[0]=QS.IN_COLUMN_GROUP,e.insertionMode=QS.IN_COLUMN_GROUP,P_(e,t);break;case Bk.TR:e.tmplInsertionModeStack[0]=QS.IN_TABLE_BODY,e.insertionMode=QS.IN_TABLE_BODY,M_(e,t);break;case Bk.TD:case Bk.TH:e.tmplInsertionModeStack[0]=QS.IN_ROW,e.insertionMode=QS.IN_ROW,R_(e,t);break;default:e.tmplInsertionModeStack[0]=QS.IN_BODY,e.insertionMode=QS.IN_BODY,v_(e,t)}}(this,e);break;case QS.AFTER_BODY:!function(e,t){t.tagID===Bk.HTML?v_(e,t):U_(e,t)}(this,e);break;case QS.IN_FRAMESET:!function(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.FRAMESET:e._insertElement(t,$k.HTML);break;case Bk.FRAME:e._appendElement(t,$k.HTML),t.ackSelfClosing=!0;break;case Bk.NOFRAMES:i_(e,t)}}(this,e);break;case QS.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.NOFRAMES:i_(e,t)}}(this,e);break;case QS.AFTER_AFTER_BODY:!function(e,t){t.tagID===Bk.HTML?v_(e,t):F_(e,t)}(this,e);break;case QS.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.NOFRAMES:i_(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===Bk.P||t.tagID===Bk.BR)return Q_(e),void e._endTagOutsideForeignContent(t);for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===$k.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case QS.INITIAL:n_(this,e);break;case QS.BEFORE_HTML:!function(e,t){const r=t.tagID;r!==Bk.HTML&&r!==Bk.HEAD&&r!==Bk.BODY&&r!==Bk.BR||a_(e,t)}(this,e);break;case QS.BEFORE_HEAD:!function(e,t){const r=t.tagID;r===Bk.HEAD||r===Bk.BODY||r===Bk.HTML||r===Bk.BR?o_(e,t):e._err(t,pk.endTagWithoutMatchingOpenElement)}(this,e);break;case QS.IN_HEAD:!function(e,t){switch(t.tagID){case Bk.HEAD:e.openElements.pop(),e.insertionMode=QS.AFTER_HEAD;break;case Bk.BODY:case Bk.BR:case Bk.HTML:l_(e,t);break;case Bk.TEMPLATE:s_(e,t);break;default:e._err(t,pk.endTagWithoutMatchingOpenElement)}}(this,e);break;case QS.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Bk.NOSCRIPT:e.openElements.pop(),e.insertionMode=QS.IN_HEAD;break;case Bk.BR:c_(e,t);break;default:e._err(t,pk.endTagWithoutMatchingOpenElement)}}(this,e);break;case QS.AFTER_HEAD:!function(e,t){switch(t.tagID){case Bk.BODY:case Bk.HTML:case Bk.BR:u_(e,t);break;case Bk.TEMPLATE:s_(e,t);break;default:e._err(t,pk.endTagWithoutMatchingOpenElement)}}(this,e);break;case QS.IN_BODY:O_(this,e);break;case QS.TEXT:!function(e,t){var r;t.tagID===Bk.SCRIPT&&(null===(r=e.scriptHandler)||void 0===r||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case QS.IN_TABLE:S_(this,e);break;case QS.IN_TABLE_TEXT:A_(this,e);break;case QS.IN_CAPTION:!function(e,t){const r=t.tagID;switch(r){case Bk.CAPTION:case Bk.TABLE:e.openElements.hasInTableScope(Bk.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Bk.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=QS.IN_TABLE,r===Bk.TABLE&&S_(e,t));break;case Bk.BODY:case Bk.COL:case Bk.COLGROUP:case Bk.HTML:case Bk.TBODY:case Bk.TD:case Bk.TFOOT:case Bk.TH:case Bk.THEAD:case Bk.TR:break;default:O_(e,t)}}(this,e);break;case QS.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case Bk.COLGROUP:e.openElements.currentTagId===Bk.COLGROUP&&(e.openElements.pop(),e.insertionMode=QS.IN_TABLE);break;case Bk.TEMPLATE:s_(e,t);break;case Bk.COL:break;default:$_(e,t)}}(this,e);break;case QS.IN_TABLE_BODY:D_(this,e);break;case QS.IN_ROW:N_(this,e);break;case QS.IN_CELL:!function(e,t){const r=t.tagID;switch(r){case Bk.TD:case Bk.TH:e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=QS.IN_ROW);break;case Bk.TABLE:case Bk.TBODY:case Bk.TFOOT:case Bk.THEAD:case Bk.TR:e.openElements.hasInTableScope(r)&&(e._closeTableCell(),N_(e,t));break;case Bk.BODY:case Bk.CAPTION:case Bk.COL:case Bk.COLGROUP:case Bk.HTML:break;default:O_(e,t)}}(this,e);break;case QS.IN_SELECT:L_(this,e);break;case QS.IN_SELECT_IN_TABLE:!function(e,t){const r=t.tagID;r===Bk.CAPTION||r===Bk.TABLE||r===Bk.TBODY||r===Bk.TFOOT||r===Bk.THEAD||r===Bk.TR||r===Bk.TD||r===Bk.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(Bk.SELECT),e._resetInsertionMode(),e.onEndTag(t)):L_(e,t)}(this,e);break;case QS.IN_TEMPLATE:!function(e,t){t.tagID===Bk.TEMPLATE&&s_(e,t)}(this,e);break;case QS.AFTER_BODY:B_(this,e);break;case QS.IN_FRAMESET:!function(e,t){t.tagID!==Bk.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===Bk.FRAMESET||(e.insertionMode=QS.AFTER_FRAMESET))}(this,e);break;case QS.AFTER_FRAMESET:!function(e,t){t.tagID===Bk.HTML&&(e.insertionMode=QS.AFTER_AFTER_FRAMESET)}(this,e);break;case QS.AFTER_AFTER_BODY:F_(this,e)}}onEof(e){switch(this.insertionMode){case QS.INITIAL:n_(this,e);break;case QS.BEFORE_HTML:a_(this,e);break;case QS.BEFORE_HEAD:o_(this,e);break;case QS.IN_HEAD:l_(this,e);break;case QS.IN_HEAD_NO_SCRIPT:c_(this,e);break;case QS.AFTER_HEAD:u_(this,e);break;case QS.IN_BODY:case QS.IN_TABLE:case QS.IN_CAPTION:case QS.IN_COLUMN_GROUP:case QS.IN_TABLE_BODY:case QS.IN_ROW:case QS.IN_CELL:case QS.IN_SELECT:case QS.IN_SELECT_IN_TABLE:w_(this,e);break;case QS.TEXT:!function(e,t){e._err(t,pk.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case QS.IN_TABLE_TEXT:A_(this,e);break;case QS.IN_TEMPLATE:j_(this,e);break;case QS.AFTER_BODY:case QS.IN_FRAMESET:case QS.AFTER_FRAMESET:case QS.AFTER_AFTER_BODY:case QS.AFTER_AFTER_FRAMESET:r_(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===ak.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case QS.IN_HEAD:case QS.IN_HEAD_NO_SCRIPT:case QS.AFTER_HEAD:case QS.TEXT:case QS.IN_COLUMN_GROUP:case QS.IN_SELECT:case QS.IN_SELECT_IN_TABLE:case QS.IN_FRAMESET:case QS.AFTER_FRAMESET:this._insertCharacters(e);break;case QS.IN_BODY:case QS.IN_CAPTION:case QS.IN_CELL:case QS.IN_TEMPLATE:case QS.AFTER_BODY:case QS.AFTER_AFTER_BODY:case QS.AFTER_AFTER_FRAMESET:p_(this,e);break;case QS.IN_TABLE:case QS.IN_TABLE_BODY:case QS.IN_ROW:x_(this,e);break;case QS.IN_TABLE_TEXT:E_(this,e)}}};function WS(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):y_(e,t),r}function XS(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(n<0?0:n),e.activeFormattingElements.removeEntry(t)),r}function GS(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let o=0,i=a;i!==r;o++,i=a){a=e.openElements.getCommonAncestor(i);const r=e.activeFormattingElements.getElementEntry(i),s=r&&o>=3;!r||s?(s&&e.activeFormattingElements.removeEntry(r),e.openElements.remove(i)):(i=YS(e,r),n===t&&(e.activeFormattingElements.bookmark=r),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(i,n),n=i)}return n}function YS(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function KS(e,t,r){const n=Zk(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(n))e._fosterParentElement(r);else{const a=e.treeAdapter.getNamespaceURI(t);n===Bk.TEMPLATE&&a===$k.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function JS(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,o=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,o,a.tagID)}function e_(e,t){for(let r=0;r<8;r++){const r=WS(e,t);if(!r)break;const n=XS(e,r);if(!n)break;e.activeFormattingElements.bookmark=r;const a=GS(e,n,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),o&&KS(e,o,a),JS(e,n,r)}}function t_(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function r_(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],n=e.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const r=e.openElements.items[1],n=e.treeAdapter.getNodeSourceCodeLocation(r);n&&!n.endTag&&e._setEndLocation(r,t)}}}}function n_(e,t){e._err(t,pk.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Nk.QUIRKS),e.insertionMode=QS.BEFORE_HTML,e._processToken(t)}function a_(e,t){e._insertFakeRootElement(),e.insertionMode=QS.BEFORE_HEAD,e._processToken(t)}function o_(e,t){e._insertFakeElement(Lk.HEAD,Bk.HEAD),e.headElement=e.openElements.current,e.insertionMode=QS.IN_HEAD,e._processToken(t)}function i_(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.BASE:case Bk.BASEFONT:case Bk.BGSOUND:case Bk.LINK:case Bk.META:e._appendElement(t,$k.HTML),t.ackSelfClosing=!0;break;case Bk.TITLE:e._switchToTextParsing(t,eS.RCDATA);break;case Bk.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eS.RAWTEXT):(e._insertElement(t,$k.HTML),e.insertionMode=QS.IN_HEAD_NO_SCRIPT);break;case Bk.NOFRAMES:case Bk.STYLE:e._switchToTextParsing(t,eS.RAWTEXT);break;case Bk.SCRIPT:e._switchToTextParsing(t,eS.SCRIPT_DATA);break;case Bk.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=QS.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(QS.IN_TEMPLATE);break;case Bk.HEAD:e._err(t,pk.misplacedStartTagForHeadElement);break;default:l_(e,t)}}function s_(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Bk.TEMPLATE&&e._err(t,pk.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Bk.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,pk.endTagWithoutMatchingOpenElement)}function l_(e,t){e.openElements.pop(),e.insertionMode=QS.AFTER_HEAD,e._processToken(t)}function c_(e,t){const r=t.type===fk.EOF?pk.openElementsLeftAfterEof:pk.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=QS.IN_HEAD,e._processToken(t)}function u_(e,t){e._insertFakeElement(Lk.BODY,Bk.BODY),e.insertionMode=QS.IN_BODY,d_(e,t)}function d_(e,t){switch(t.type){case fk.CHARACTER:h_(e,t);break;case fk.WHITESPACE_CHARACTER:p_(e,t);break;case fk.COMMENT:t_(e,t);break;case fk.START_TAG:v_(e,t);break;case fk.END_TAG:O_(e,t);break;case fk.EOF:w_(e,t)}}function p_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function h_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function f_(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$k.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function m_(e){const t=bk(e,Dk.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function g_(e,t){e._switchToTextParsing(t,eS.RAWTEXT)}function b_(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$k.HTML)}function v_(e,t){switch(t.tagID){case Bk.I:case Bk.S:case Bk.B:case Bk.U:case Bk.EM:case Bk.TT:case Bk.BIG:case Bk.CODE:case Bk.FONT:case Bk.SMALL:case Bk.STRIKE:case Bk.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$k.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Bk.A:!function(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(Lk.A);r&&(e_(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,$k.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Bk.H1:case Bk.H2:case Bk.H3:case Bk.H4:case Bk.H5:case Bk.H6:!function(e,t){e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),Gk(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,$k.HTML)}(e,t);break;case Bk.P:case Bk.DL:case Bk.OL:case Bk.UL:case Bk.DIV:case Bk.DIR:case Bk.NAV:case Bk.MAIN:case Bk.MENU:case Bk.ASIDE:case Bk.CENTER:case Bk.FIGURE:case Bk.FOOTER:case Bk.HEADER:case Bk.HGROUP:case Bk.DIALOG:case Bk.DETAILS:case Bk.ADDRESS:case Bk.ARTICLE:case Bk.SECTION:case Bk.SUMMARY:case Bk.FIELDSET:case Bk.BLOCKQUOTE:case Bk.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),e._insertElement(t,$k.HTML)}(e,t);break;case Bk.LI:case Bk.DD:case Bk.DT:!function(e,t){e.framesetOk=!1;const r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const n=e.openElements.tagIDs[t];if(r===Bk.LI&&n===Bk.LI||(r===Bk.DD||r===Bk.DT)&&(n===Bk.DD||n===Bk.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==Bk.ADDRESS&&n!==Bk.DIV&&n!==Bk.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),e._insertElement(t,$k.HTML)}(e,t);break;case Bk.BR:case Bk.IMG:case Bk.WBR:case Bk.AREA:case Bk.EMBED:case Bk.KEYGEN:f_(e,t);break;case Bk.HR:!function(e,t){e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),e._appendElement(t,$k.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case Bk.RB:case Bk.RTC:!function(e,t){e.openElements.hasInScope(Bk.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,$k.HTML)}(e,t);break;case Bk.RT:case Bk.RP:!function(e,t){e.openElements.hasInScope(Bk.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Bk.RTC),e._insertElement(t,$k.HTML)}(e,t);break;case Bk.PRE:case Bk.LISTING:!function(e,t){e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),e._insertElement(t,$k.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Bk.XMP:!function(e,t){e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eS.RAWTEXT)}(e,t);break;case Bk.SVG:!function(e,t){e._reconstructActiveFormattingElements(),US(t),FS(t),t.selfClosing?e._appendElement(t,$k.SVG):e._insertElement(t,$k.SVG),t.ackSelfClosing=!0}(e,t);break;case Bk.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case Bk.BASE:case Bk.LINK:case Bk.META:case Bk.STYLE:case Bk.TITLE:case Bk.SCRIPT:case Bk.BGSOUND:case Bk.BASEFONT:case Bk.TEMPLATE:i_(e,t);break;case Bk.BODY:!function(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}(e,t);break;case Bk.FORM:!function(e,t){const r=e.openElements.tmplCount>0;e.formElement&&!r||(e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),e._insertElement(t,$k.HTML),r||(e.formElement=e.openElements.current))}(e,t);break;case Bk.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Bk.NOBR)&&(e_(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,$k.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Bk.MATH:!function(e,t){e._reconstructActiveFormattingElements(),BS(t),FS(t),t.selfClosing?e._appendElement(t,$k.MATHML):e._insertElement(t,$k.MATHML),t.ackSelfClosing=!0}(e,t);break;case Bk.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==Nk.QUIRKS&&e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),e._insertElement(t,$k.HTML),e.framesetOk=!1,e.insertionMode=QS.IN_TABLE}(e,t);break;case Bk.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$k.HTML),m_(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Bk.PARAM:case Bk.TRACK:case Bk.SOURCE:!function(e,t){e._appendElement(t,$k.HTML),t.ackSelfClosing=!0}(e,t);break;case Bk.IMAGE:!function(e,t){t.tagName=Lk.IMG,t.tagID=Bk.IMG,f_(e,t)}(e,t);break;case Bk.BUTTON:!function(e,t){e.openElements.hasInScope(Bk.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Bk.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,$k.HTML),e.framesetOk=!1}(e,t);break;case Bk.APPLET:case Bk.OBJECT:case Bk.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$k.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case Bk.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,eS.RAWTEXT)}(e,t);break;case Bk.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$k.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===QS.IN_TABLE||e.insertionMode===QS.IN_CAPTION||e.insertionMode===QS.IN_TABLE_BODY||e.insertionMode===QS.IN_ROW||e.insertionMode===QS.IN_CELL?QS.IN_SELECT_IN_TABLE:QS.IN_SELECT}(e,t);break;case Bk.OPTION:case Bk.OPTGROUP:!function(e,t){e.openElements.currentTagId===Bk.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,$k.HTML)}(e,t);break;case Bk.NOEMBED:g_(e,t);break;case Bk.FRAMESET:!function(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,$k.HTML),e.insertionMode=QS.IN_FRAMESET)}(e,t);break;case Bk.TEXTAREA:!function(e,t){e._insertElement(t,$k.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eS.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=QS.TEXT}(e,t);break;case Bk.NOSCRIPT:e.options.scriptingEnabled?g_(e,t):b_(e,t);break;case Bk.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(Bk.P)&&e._closePElement(),e._insertElement(t,$k.HTML),e.tokenizer.state=eS.PLAINTEXT}(e,t);break;case Bk.COL:case Bk.TH:case Bk.TD:case Bk.TR:case Bk.HEAD:case Bk.FRAME:case Bk.TBODY:case Bk.TFOOT:case Bk.THEAD:case Bk.CAPTION:case Bk.COLGROUP:break;default:b_(e,t)}}function y_(e,t){const r=t.tagName,n=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const a=e.openElements.items[t],o=e.openElements.tagIDs[t];if(n===o&&(n!==Bk.UNKNOWN||e.treeAdapter.getTagName(a)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,o))break}}function O_(e,t){switch(t.tagID){case Bk.A:case Bk.B:case Bk.I:case Bk.S:case Bk.U:case Bk.EM:case Bk.TT:case Bk.BIG:case Bk.CODE:case Bk.FONT:case Bk.NOBR:case Bk.SMALL:case Bk.STRIKE:case Bk.STRONG:e_(e,t);break;case Bk.P:!function(e){e.openElements.hasInButtonScope(Bk.P)||e._insertFakeElement(Lk.P,Bk.P),e._closePElement()}(e);break;case Bk.DL:case Bk.UL:case Bk.OL:case Bk.DIR:case Bk.DIV:case Bk.NAV:case Bk.PRE:case Bk.MAIN:case Bk.MENU:case Bk.ASIDE:case Bk.BUTTON:case Bk.CENTER:case Bk.FIGURE:case Bk.FOOTER:case Bk.HEADER:case Bk.HGROUP:case Bk.DIALOG:case Bk.ADDRESS:case Bk.ARTICLE:case Bk.DETAILS:case Bk.SECTION:case Bk.SUMMARY:case Bk.LISTING:case Bk.FIELDSET:case Bk.BLOCKQUOTE:case Bk.FIGCAPTION:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}(e,t);break;case Bk.LI:!function(e){e.openElements.hasInListItemScope(Bk.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Bk.LI),e.openElements.popUntilTagNamePopped(Bk.LI))}(e);break;case Bk.DD:case Bk.DT:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}(e,t);break;case Bk.H1:case Bk.H2:case Bk.H3:case Bk.H4:case Bk.H5:case Bk.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Bk.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Lk.BR,Bk.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case Bk.BODY:!function(e,t){if(e.openElements.hasInScope(Bk.BODY)&&(e.insertionMode=QS.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}(e,t);break;case Bk.HTML:!function(e,t){e.openElements.hasInScope(Bk.BODY)&&(e.insertionMode=QS.AFTER_BODY,B_(e,t))}(e,t);break;case Bk.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(Bk.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Bk.FORM):r&&e.openElements.remove(r))}(e);break;case Bk.APPLET:case Bk.OBJECT:case Bk.MARQUEE:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Bk.TEMPLATE:s_(e,t);break;default:y_(e,t)}}function w_(e,t){e.tmplInsertionModeStack.length>0?j_(e,t):r_(e,t)}function x_(e,t){if(HS.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=QS.IN_TABLE_TEXT,t.type){case fk.CHARACTER:T_(e,t);break;case fk.WHITESPACE_CHARACTER:E_(e,t)}else __(e,t)}function k_(e,t){switch(t.tagID){case Bk.TD:case Bk.TH:case Bk.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Lk.TBODY,Bk.TBODY),e.insertionMode=QS.IN_TABLE_BODY,M_(e,t)}(e,t);break;case Bk.STYLE:case Bk.SCRIPT:case Bk.TEMPLATE:i_(e,t);break;case Bk.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Lk.COLGROUP,Bk.COLGROUP),e.insertionMode=QS.IN_COLUMN_GROUP,P_(e,t)}(e,t);break;case Bk.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,$k.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case Bk.TABLE:!function(e,t){e.openElements.hasInTableScope(Bk.TABLE)&&(e.openElements.popUntilTagNamePopped(Bk.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Bk.TBODY:case Bk.TFOOT:case Bk.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$k.HTML),e.insertionMode=QS.IN_TABLE_BODY}(e,t);break;case Bk.INPUT:!function(e,t){m_(t)?e._appendElement(t,$k.HTML):__(e,t),t.ackSelfClosing=!0}(e,t);break;case Bk.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,$k.HTML),e.insertionMode=QS.IN_CAPTION}(e,t);break;case Bk.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$k.HTML),e.insertionMode=QS.IN_COLUMN_GROUP}(e,t);break;default:__(e,t)}}function S_(e,t){switch(t.tagID){case Bk.TABLE:e.openElements.hasInTableScope(Bk.TABLE)&&(e.openElements.popUntilTagNamePopped(Bk.TABLE),e._resetInsertionMode());break;case Bk.TEMPLATE:s_(e,t);break;case Bk.BODY:case Bk.CAPTION:case Bk.COL:case Bk.COLGROUP:case Bk.HTML:case Bk.TBODY:case Bk.TD:case Bk.TFOOT:case Bk.TH:case Bk.THEAD:case Bk.TR:break;default:__(e,t)}}function __(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,d_(e,t),e.fosterParentingEnabled=r}function E_(e,t){e.pendingCharacterTokens.push(t)}function T_(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function A_(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)__(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const C_=new Set([Bk.CAPTION,Bk.COL,Bk.COLGROUP,Bk.TBODY,Bk.TD,Bk.TFOOT,Bk.TH,Bk.THEAD,Bk.TR]);function P_(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.COL:e._appendElement(t,$k.HTML),t.ackSelfClosing=!0;break;case Bk.TEMPLATE:i_(e,t);break;default:$_(e,t)}}function $_(e,t){e.openElements.currentTagId===Bk.COLGROUP&&(e.openElements.pop(),e.insertionMode=QS.IN_TABLE,e._processToken(t))}function M_(e,t){switch(t.tagID){case Bk.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,$k.HTML),e.insertionMode=QS.IN_ROW;break;case Bk.TH:case Bk.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(Lk.TR,Bk.TR),e.insertionMode=QS.IN_ROW,R_(e,t);break;case Bk.CAPTION:case Bk.COL:case Bk.COLGROUP:case Bk.TBODY:case Bk.TFOOT:case Bk.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=QS.IN_TABLE,k_(e,t));break;default:k_(e,t)}}function D_(e,t){const r=t.tagID;switch(t.tagID){case Bk.TBODY:case Bk.TFOOT:case Bk.THEAD:e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=QS.IN_TABLE);break;case Bk.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=QS.IN_TABLE,S_(e,t));break;case Bk.BODY:case Bk.CAPTION:case Bk.COL:case Bk.COLGROUP:case Bk.HTML:case Bk.TD:case Bk.TH:case Bk.TR:break;default:S_(e,t)}}function R_(e,t){switch(t.tagID){case Bk.TH:case Bk.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,$k.HTML),e.insertionMode=QS.IN_CELL,e.activeFormattingElements.insertMarker();break;case Bk.CAPTION:case Bk.COL:case Bk.COLGROUP:case Bk.TBODY:case Bk.TFOOT:case Bk.THEAD:case Bk.TR:e.openElements.hasInTableScope(Bk.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=QS.IN_TABLE_BODY,M_(e,t));break;default:k_(e,t)}}function N_(e,t){switch(t.tagID){case Bk.TR:e.openElements.hasInTableScope(Bk.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=QS.IN_TABLE_BODY);break;case Bk.TABLE:e.openElements.hasInTableScope(Bk.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=QS.IN_TABLE_BODY,D_(e,t));break;case Bk.TBODY:case Bk.TFOOT:case Bk.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(Bk.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=QS.IN_TABLE_BODY,D_(e,t));break;case Bk.BODY:case Bk.CAPTION:case Bk.COL:case Bk.COLGROUP:case Bk.HTML:case Bk.TD:case Bk.TH:break;default:S_(e,t)}}function I_(e,t){switch(t.tagID){case Bk.HTML:v_(e,t);break;case Bk.OPTION:e.openElements.currentTagId===Bk.OPTION&&e.openElements.pop(),e._insertElement(t,$k.HTML);break;case Bk.OPTGROUP:e.openElements.currentTagId===Bk.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Bk.OPTGROUP&&e.openElements.pop(),e._insertElement(t,$k.HTML);break;case Bk.INPUT:case Bk.KEYGEN:case Bk.TEXTAREA:case Bk.SELECT:e.openElements.hasInSelectScope(Bk.SELECT)&&(e.openElements.popUntilTagNamePopped(Bk.SELECT),e._resetInsertionMode(),t.tagID!==Bk.SELECT&&e._processStartTag(t));break;case Bk.SCRIPT:case Bk.TEMPLATE:i_(e,t)}}function L_(e,t){switch(t.tagID){case Bk.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===Bk.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Bk.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Bk.OPTGROUP&&e.openElements.pop();break;case Bk.OPTION:e.openElements.currentTagId===Bk.OPTION&&e.openElements.pop();break;case Bk.SELECT:e.openElements.hasInSelectScope(Bk.SELECT)&&(e.openElements.popUntilTagNamePopped(Bk.SELECT),e._resetInsertionMode());break;case Bk.TEMPLATE:s_(e,t)}}function j_(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Bk.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):r_(e,t)}function B_(e,t){var r;if(t.tagID===Bk.HTML){if(e.fragmentContext||(e.insertionMode=QS.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Bk.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(null===(r=e.treeAdapter.getNodeSourceCodeLocation(n))||void 0===r?void 0:r.endTag)&&e._setEndLocation(n,t)}}else U_(e,t)}function U_(e,t){e.insertionMode=QS.IN_BODY,d_(e,t)}function F_(e,t){e.insertionMode=QS.IN_BODY,d_(e,t)}function Q_(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==$k.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function z_(e,t){return ZS.parse(e,t)}function q_(e,t,r){"string"==typeof e&&(r=t,t=e,e=null);const n=ZS.getFragmentParser(e,r);return n.tokenizer.write(t,!0),n.getFragment()}Lk.AREA,Lk.BASE,Lk.BASEFONT,Lk.BGSOUND,Lk.BR,Lk.COL,Lk.EMBED,Lk.FRAME,Lk.HR,Lk.IMG,Lk.INPUT,Lk.KEYGEN,Lk.LINK,Lk.META,Lk.PARAM,Lk.SOURCE,Lk.TRACK,Lk.WBR;const H_=Z_("end"),V_=Z_("start");function Z_(e){return function(t){const r=t&&t.position&&t.position[e]||{};if("number"==typeof r.line&&r.line>0&&"number"==typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"==typeof r.offset&&r.offset>-1?r.offset:void 0}}}function W_(e){const t=V_(e),r=H_(e);if(t&&r)return{start:t,end:r}}const X_=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),G_={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Y_(e,t){const r=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),n=Wx("type",{handlers:{root:J_,element:eE,text:tE,comment:nE,doctype:rE,raw:aE},unknown:oE}),a={parser:r?new ZS(G_):ZS.getFragmentParser(void 0,G_),handle(e){n(e,a)},stitches:!1,options:t||{}};n(e,a),iE(a,V_());const o=Fx(r?a.parser.document:a.parser.getFragment(),{file:a.options.file});return a.stitches&&pw(o,"comment",(function(e,t,r){const n=e;if(n.value.stitch&&r&&void 0!==t)return r.children[t]=n.value.stitch,t})),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type?o.children[0]:o}function K_(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function J_(e,t){K_(e.children,t)}function eE(e,t){!function(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===eS.PLAINTEXT)return;iE(t,V_(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:jx.html;a===jx.html&&"svg"===r&&(a=jx.svg);const o=function(e,t){return Yx(e,"svg"===(t||Xx).space?_x:Sx)}({...e,children:[]},{space:a===jx.svg?"svg":"html"}),i={type:fk.START_TAG,tagName:r,tagID:Zk(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in o?o.attrs:[],location:lE(e)};t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}(e,t),K_(e.children,t),function(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&tk.includes(r))return;if(t.parser.tokenizer.state===eS.PLAINTEXT)return;iE(t,H_(e));const n={type:fk.END_TAG,tagName:r,tagID:Zk(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:lE(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==eS.RCDATA&&t.parser.tokenizer.state!==eS.RAWTEXT&&t.parser.tokenizer.state!==eS.SCRIPT_DATA||(t.parser.tokenizer.state=eS.DATA)}(e,t)}function tE(e,t){const r={type:fk.CHARACTER,chars:e.value,location:lE(e)};iE(t,V_(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function rE(e,t){const r={type:fk.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:lE(e)};iE(t,V_(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function nE(e,t){const r=e.value,n={type:fk.COMMENT,data:r,location:lE(e)};iE(t,V_(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function aE(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,sE(t,V_(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function oE(e,t){const r=e;if(!t.options.passThrough||!t.options.passThrough.includes(r.type)){let e="";throw X_.has(r.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"),new Error("Cannot compile `"+r.type+"` node"+e)}!function(e,t){t.stitches=!0;const r=function(e){return XO("children"in e?{...e,children:[]}:e)}(e);if("children"in e&&"children"in r){const n=Y_({type:"root",children:e.children},t.options);r.children=n.children}nE({type:"comment",value:{stitch:r}},t)}(r,t)}function iE(e,t){sE(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,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=eS.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 sE(e,t){if(t&&void 0!==t.offset){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function lE(e){const t=V_(e)||{line:void 0,column:void 0,offset:void 0},r=H_(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function cE(e){return function(t,r){return Y_(t,{...e,file:r})}}const uE=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],dE={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...uE,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...uE],h2:[["className","sr-only"]],img:[...uE,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...uE,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...uE],table:[...uE],ul:[...uE,["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"]},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"]},pE={}.hasOwnProperty;function hE(e,t){if(t&&"object"==typeof t){const r=t;switch("string"==typeof r.type?r.type:""){case"comment":return function(e,t){if(e.schema.allowComments){const e="string"==typeof t.value?t.value:"",r=e.indexOf("--\x3e"),n={type:"comment",value:r<0?e:e.slice(0,r)};return bE(n,t),n}}(e,r);case"doctype":return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};return bE(e,t),e}}(e,r);case"element":return function(e,t){const r="string"==typeof t.tagName?t.tagName:"";e.stack.push(r);const n=fE(e,t.children),a=function(e,t){const r=e.stack[e.stack.length-1],n=e.schema.attributes,a=e.schema.required,o=n&&pE.call(n,r)?n[r]:void 0,i=n&&pE.call(n,"*")?n["*"]:void 0,s=t&&"object"==typeof t?t:{},l={};let c;for(c in s)if(pE.call(s,c)){const t=s[c];let r=mE(e,vE(o,c),c,t);null==r&&(r=mE(e,vE(i,c),c,t)),null!=r&&(l[c]=r)}if(a&&pE.call(a,r)){const e=a[r];for(c in e)pE.call(e,c)&&!pE.call(l,c)&&(l[c]=e[c])}return l}(e,t.properties);e.stack.pop();let o=!1;if(r&&"*"!==r&&(!e.schema.tagNames||e.schema.tagNames.includes(r))&&(o=!0,e.schema.ancestors&&pE.call(e.schema.ancestors,r))){const t=e.schema.ancestors[r];let n=-1;for(o=!1;++n<t.length;)e.stack.includes(t[n])&&(o=!0)}if(!o)return e.schema.strip&&!e.schema.strip.includes(r)?n:void 0;const i={type:"element",tagName:r,properties:a,children:n};return bE(i,t),i}(e,r);case"root":return function(e,t){const r={type:"root",children:fE(e,t.children)};return bE(r,t),r}(e,r);case"text":return function(e,t){const r={type:"text",value:"string"==typeof t.value?t.value:""};return bE(r,t),r}(0,r)}}}function fE(e,t){const r=[];if(Array.isArray(t)){const n=t;let a=-1;for(;++a<n.length;){const t=hE(e,n[a]);t&&(Array.isArray(t)?r.push(...t):r.push(t))}}return r}function mE(e,t,r,n){return t?Array.isArray(n)?function(e,t,r,n){let a=-1;const o=[];for(;++a<n.length;){const i=gE(e,t,r,n[a]);"number"!=typeof i&&"string"!=typeof i||o.push(i)}return o}(e,t,r,n):gE(e,t,r,n):void 0}function gE(e,t,r,n){if(("boolean"==typeof n||"number"==typeof n||"string"==typeof n)&&function(e,t,r){const n=e.schema.protocols&&pE.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!n||0===n.length)return!0;const a=String(r),o=a.indexOf(":"),i=a.indexOf("?"),s=a.indexOf("#"),l=a.indexOf("/");if(o<0||l>-1&&o>l||i>-1&&o>i||s>-1&&o>s)return!0;let c=-1;for(;++c<n.length;){const e=n[c];if(o===e.length&&a.slice(0,e.length)===e)return!0}return!1}(e,r,n)){if("object"==typeof t&&t.length>1){let e=!1,r=0;for(;++r<t.length;){const a=t[r];if(a&&"object"==typeof a&&"flags"in a){if(a.test(String(n))){e=!0;break}}else if(a===n){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(r)?e.schema.clobberPrefix+n:n}}function bE(e,t){const r=W_(t);t.data&&(e.data=XO(t.data)),r&&(e.position=r)}function vE(e,t){let r,n=-1;if(e)for(;++n<e.length;){const a=e[n],o="string"==typeof a?a:a[0];if(o===t)return a;"data*"===o&&(r=a)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return r}function yE(e){return function(t){const r=function(e,t){let r={type:"root",children:[]};const n=hE({schema:t?{...dE,...t}:dE,stack:[]},e);return n&&(Array.isArray(n)?1===n.length?r=n[0]:r.children=n:r=n),r}(t,e);return r}}const OE=/["&'<>`]/g,wE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xE=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,kE=/[|\\{}()[\]^$+*?.]/g,SE=new WeakMap;const _E=/[\dA-Fa-f]/,EE=/\d/,TE=["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"],AE={nbsp:" ",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:"€"},CE=["cent","copy","divide","gt","lt","not","para","times"],PE={}.hasOwnProperty,$E={};let ME;for(ME in AE)PE.call(AE,ME)&&($E[AE[ME]]=ME);const DE=/[^\dA-Za-z]/;function RE(e,t,r){let n,a=function(e,t,r){const n="&#x"+e.toString(16).toUpperCase();return r&&t&&!_E.test(String.fromCharCode(t))?n:n+";"}(e,t,r.omitOptionalSemicolons);if((r.useNamedReferences||r.useShortestReferences)&&(n=function(e,t,r,n){const a=String.fromCharCode(e);if(PE.call($E,a)){const e=$E[a],o="&"+e;return r&&TE.includes(e)&&!CE.includes(e)&&(!n||t&&61!==t&&DE.test(String.fromCharCode(t)))?o:o+";"}return""}(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!n)&&r.useShortestReferences){const n=function(e,t,r){const n="&#"+String(e);return r&&t&&!EE.test(String.fromCharCode(t))?n:n+";"}(e,t,r.omitOptionalSemicolons);n.length<a.length&&(a=n)}return n&&(!r.useShortestReferences||n.length<a.length)?n:a}function NE(e,t){return function(e,t){return e=e.replace(t.subset?function(e){let t=SE.get(e);return t||(t=function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(kE,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(e),SE.set(e,t)),t}(t.subset):OE,r),t.subset||t.escapeOnly?e:e.replace(wE,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(xE,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}(e,Object.assign({format:RE},t))}const IE=/^>|^->|<!--|-->|--!>|<!-$/g,LE=[">"],jE=["<",">"];function BE(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;-1!==a;)n++,a=r.indexOf(t,a+t.length);return n}const UE=zE(1),FE=zE(-1),QE=[];function zE(e){return function(t,r,n){const a=t?t.children:QE;let o=(r||0)+e,i=a[o];if(!n)for(;i&&Sw(i);)o+=e,i=a[o];return i}}const qE={}.hasOwnProperty;function HE(e){return function(t,r,n){return qE.call(e,t.tagName)&&e[t.tagName](t,r,n)}}const VE=HE({body:function(e,t,r){const n=UE(r,t);return!n||"comment"!==n.type},caption:ZE,colgroup:ZE,dd:function(e,t,r){const n=UE(r,t);return!n||"element"===n.type&&("dt"===n.tagName||"dd"===n.tagName)},dt:function(e,t,r){const n=UE(r,t);return Boolean(n&&"element"===n.type&&("dt"===n.tagName||"dd"===n.tagName))},head:ZE,html:function(e,t,r){const n=UE(r,t);return!n||"comment"!==n.type},li:function(e,t,r){const n=UE(r,t);return!n||"element"===n.type&&"li"===n.tagName},optgroup:function(e,t,r){const n=UE(r,t);return!n||"element"===n.type&&"optgroup"===n.tagName},option:function(e,t,r){const n=UE(r,t);return!n||"element"===n.type&&("option"===n.tagName||"optgroup"===n.tagName)},p:function(e,t,r){const n=UE(r,t);return n?"element"===n.type&&("address"===n.tagName||"article"===n.tagName||"aside"===n.tagName||"blockquote"===n.tagName||"details"===n.tagName||"div"===n.tagName||"dl"===n.tagName||"fieldset"===n.tagName||"figcaption"===n.tagName||"figure"===n.tagName||"footer"===n.tagName||"form"===n.tagName||"h1"===n.tagName||"h2"===n.tagName||"h3"===n.tagName||"h4"===n.tagName||"h5"===n.tagName||"h6"===n.tagName||"header"===n.tagName||"hgroup"===n.tagName||"hr"===n.tagName||"main"===n.tagName||"menu"===n.tagName||"nav"===n.tagName||"ol"===n.tagName||"p"===n.tagName||"pre"===n.tagName||"section"===n.tagName||"table"===n.tagName||"ul"===n.tagName):!r||!("element"===r.type&&("a"===r.tagName||"audio"===r.tagName||"del"===r.tagName||"ins"===r.tagName||"map"===r.tagName||"noscript"===r.tagName||"video"===r.tagName))},rp:WE,rt:WE,tbody:function(e,t,r){const n=UE(r,t);return!n||"element"===n.type&&("tbody"===n.tagName||"tfoot"===n.tagName)},td:XE,tfoot:function(e,t,r){return!UE(r,t)},th:XE,thead:function(e,t,r){const n=UE(r,t);return Boolean(n&&"element"===n.type&&("tbody"===n.tagName||"tfoot"===n.tagName))},tr:function(e,t,r){const n=UE(r,t);return!n||"element"===n.type&&"tr"===n.tagName}});function ZE(e,t,r){const n=UE(r,t,!0);return!n||"comment"!==n.type&&!("text"===n.type&&Sw(n.value.charAt(0)))}function WE(e,t,r){const n=UE(r,t);return!n||"element"===n.type&&("rp"===n.tagName||"rt"===n.tagName)}function XE(e,t,r){const n=UE(r,t);return!n||"element"===n.type&&("td"===n.tagName||"th"===n.tagName)}const GE=HE({body:function(e){const t=UE(e,-1,!0);return!(t&&("comment"===t.type||"text"===t.type&&Sw(t.value.charAt(0))||"element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName)))},colgroup:function(e,t,r){const n=FE(r,t),a=UE(e,-1,!0);return!(r&&n&&"element"===n.type&&"colgroup"===n.tagName&&VE(n,r.children.indexOf(n),r))&&Boolean(a&&"element"===a.type&&"col"===a.tagName)},head:function(e){const t=e.children,r=[];let n=-1;for(;++n<t.length;){const e=t[n];if("element"===e.type&&("title"===e.tagName||"base"===e.tagName)){if(r.includes(e.tagName))return!1;r.push(e.tagName)}}return t.length>0},html:function(e){const t=UE(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,r){const n=FE(r,t),a=UE(e,-1);return(!r||!n||"element"!==n.type||"thead"!==n.tagName&&"tbody"!==n.tagName||!VE(n,r.children.indexOf(n),r))&&Boolean(a&&"element"===a.type&&"tr"===a.tagName)}}),YE={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function KE(e,t,r){const n=wx(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=e.settings.allowDangerousCharacters?0:1;let i,s=e.quote;if(!n.overloadedBoolean||r!==n.attribute&&""!==r?(n.boolean||n.overloadedBoolean&&"string"!=typeof r)&&(r=Boolean(r)):r=!0,null==r||!1===r||"number"==typeof r&&Number.isNaN(r))return"";const l=NE(n.attribute,Object.assign({},e.settings.characterReferences,{subset:YE.name[a][o]}));return!0===r?l:(r=Array.isArray(r)?(n.commaSeparated?Tx:aw)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r?l:(e.settings.preferUnquoted&&(i=NE(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:YE.unquoted[a][o]}))),i!==r&&(e.settings.quoteSmart&&BE(r,s)>BE(r,e.alternative)&&(s=e.alternative),i=s+NE(r,Object.assign({},e.settings.characterReferences,{subset:("'"===s?YE.single:YE.double)[a][o],attribute:!0}))+s),l+(i?"="+i:i)))}const JE=["<","&"];function eT(e,t,r,n){return!r||"element"!==r.type||"script"!==r.tagName&&"style"!==r.tagName?NE(e.value,Object.assign({},n.settings.characterReferences,{subset:JE})):e.value}const tT=Wx("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,r,n){return n.settings.bogusComments?"<?"+NE(e.value,Object.assign({},n.settings.characterReferences,{subset:LE}))+">":"\x3c!--"+e.value.replace(IE,(function(e){return NE(e,Object.assign({},n.settings.characterReferences,{subset:jE}))}))+"--\x3e"},doctype:function(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,r,n){const a=n.schema,o="svg"!==a.space&&n.settings.omitOptionalTags;let i="svg"===a.space?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase());const s=[];let l;"html"===a.space&&"svg"===e.tagName&&(n.schema=_x);const c=function(e,t){const r=[];let n,a=-1;if(t)for(n in t)if(null!==t[n]&&void 0!==t[n]){const a=KE(e,n,t[n]);a&&r.push(a)}for(;++a<r.length;){const t=e.settings.tightAttributes?r[a].charAt(r[a].length-1):void 0;a!==r.length-1&&'"'!==t&&"'"!==t&&(r[a]+=" ")}return r.join("")}(n,e.properties),u=n.all("html"===a.space&&"template"===e.tagName?e.content:e);return n.schema=a,u&&(i=!1),!c&&o&&GE(e,t,r)||(s.push("<",e.tagName,c?" "+c:""),i&&("svg"===a.space||n.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!n.settings.tightSelfClosing||"/"===l||l&&'"'!==l&&"'"!==l)&&s.push(" "),s.push("/")),s.push(">")),s.push(u),i||o&&VE(e,t,r)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,r,n){return n.settings.allowDangerousHtml?e.value:eT(e,0,r,n)},root:function(e,t,r,n){return n.all(e)},text:eT}}),rT={},nT={},aT=[];function oT(e,t,r){return tT(e,t,r,this)}function iT(e){const t=[],r=e&&e.children||aT;let n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function sT(e){const t={...this.data("settings"),...e};this.compiler=function(e){return function(e,t){const r=t||rT,n=r.quote||'"',a='"'===n?"'":'"';if('"'!==n&&"'"!==n)throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:oT,all:iT,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||tk,characterReferences:r.characterReferences||nT,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:"svg"===r.space?_x:Sx,quote:n,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(e,t)}}const lT=OT(/[A-Za-z]/),cT=OT(/[\dA-Za-z]/),uT=OT(/[#-'*+\--9=?A-Z^-~]/);function dT(e){return null!==e&&(e<32||127===e)}const pT=OT(/\d/),hT=OT(/[\dA-Fa-f]/),fT=OT(/[!-/:-@[-`{-~]/);function mT(e){return null!==e&&e<-2}function gT(e){return null!==e&&(e<0||32===e)}function bT(e){return-2===e||-1===e||32===e}const vT=OT(new RegExp("\\p{P}|\\p{S}","u")),yT=OT(/\s/);function OT(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function wT(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function xT(e){return"function"==typeof e?e:function(){return e}}const kT="phrasing",ST=["autolink","link","image","label"];function _T(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ET(e){this.config.enter.autolinkProtocol.call(this,e)}function TT(e){this.config.exit.autolinkProtocol.call(this,e)}function AT(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function CT(e){this.config.exit.autolinkEmail.call(this,e)}function PT(e){this.exit(e)}function $T(e){!function(e,t,r){const n=ow((r||{}).ignore||[]),a=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const e=r[n];t.push([wT(e[0]),xT(e[1])])}return t}(t);let o=-1;for(;++o<a.length;)dw(e,"text",i);function i(e,t){let r,i=-1;for(;++i<t.length;){const e=t[i],a=r?r.children:void 0;if(n(e,a?a.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=t[t.length-1],n=a[o][0],i=a[o][1];let s=0;const l=r.children.indexOf(e);let c=!1,u=[];n.lastIndex=0;let d=n.exec(e.value);for(;d;){const r=d.index,a={index:d.index,input:d.input,stack:[...t,e]};let o=i(...d,a);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?n.lastIndex=r+1:(s!==r&&u.push({type:"text",value:e.value.slice(s,r)}),Array.isArray(o)?u.push(...o):o&&u.push(o),s=r+d[0].length,c=!0),!n.global)break;d=n.exec(e.value)}return c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),r.children.splice(l,1,...u)):u=[e],l+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,MT],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,DT]],{ignore:["link","linkReference"]})}function MT(e,t,r,n,a){let o="";if(!RT(a))return!1;if(/^w/i.test(t)&&(r=t+r,t="",o="http://"),!function(e){const 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])))}(r))return!1;const i=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=BE(e,"(");let o=BE(e,")");for(;-1!==n&&a>o;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),o++;return[e,r]}(r+n);if(!i[0])return!1;const s={type:"link",title:null,url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",value:i[1]}]:s}function DT(e,t,r,n){return!(!RT(n,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function RT(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||yT(r)||vT(r))&&(!t||47!==r)}function NT(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function IT(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function LT(){this.buffer()}function jT(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=t,r.identifier=NT(this.sliceSerialize(e)).toLowerCase()}function BT(e){this.exit(e)}function UT(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function FT(){this.buffer()}function QT(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=t,r.identifier=NT(this.sliceSerialize(e)).toLowerCase()}function zT(e){this.exit(e)}function qT(e,t,r,n){const a=r.createTracker(n);let o=a.move("[^");const i=r.enter("footnoteReference"),s=r.enter("reference");return o+=a.move(r.safe(r.associationId(e),{...a.current(),before:o,after:"]"})),s(),i(),o+=a.move("]"),o}function HT(e,t,r,n){const a=r.createTracker(n);let o=a.move("[^");const i=r.enter("footnoteDefinition"),s=r.enter("label");return o+=a.move(r.safe(r.associationId(e),{...a.current(),before:o,after:"]"})),s(),o+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),o+=a.move(r.indentLines(r.containerFlow(e,a.current()),VT)),i(),o}function VT(e,t,r){return 0===t?e:(r?"":" ")+e}qT.peek=function(){return"["};const ZT=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function WT(e){this.enter({type:"delete",children:[]},e)}function XT(e){this.exit(e)}function GT(e,t,r,n){const a=r.createTracker(n),o=r.enter("strikethrough");let i=a.move("~~");return i+=r.containerPhrasing(e,{...a.current(),before:i,after:"~"}),i+=a.move("~~"),o(),i}function YT(e){return e.length}function KT(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}GT.peek=function(){return"~"};const JT={}.hasOwnProperty;function eA(e,t){let r,n=-1;if(t.extensions)for(;++n<t.extensions.length;)eA(e,t.extensions[n]);for(r in t)if(JT.call(t,r))switch(r){case"extensions":break;case"unsafe":case"join":tA(e[r],t[r]);break;case"handlers":rA(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function tA(e,t){t&&e.push(...t)}function rA(e,t){t&&Object.assign(e,t)}function nA(e,t,r){return">"+(r?"":" ")+e}function aA(e,t){return oA(e,t.inConstruct,!0)&&!oA(e,t.notInConstruct,!1)}function oA(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function iA(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if("\n"===r.unsafe[a].character&&aA(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return"\\\n"}function sA(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function lA(e,t,r){return(r?"":" ")+e}function cA(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function uA(e,t,r,n){const a=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(r),o=r.enter("emphasis"),i=r.createTracker(n);let s=i.move(a);return s+=i.move(r.containerPhrasing(e,{before:s,after:a,...i.current()})),s+=i.move(a),o(),s}uA.peek=function(e,t,r){return r.options.emphasis||"*"};const dA={};function pA(e,t){return hA(e,"boolean"!=typeof dA.includeImageAlt||dA.includeImageAlt,"boolean"!=typeof dA.includeHtml||dA.includeHtml)}function hA(e,t,r){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return fA(e.children,t,r)}return Array.isArray(e)?fA(e,t,r):""}function fA(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=hA(e[a],t,r);return n.join("")}function mA(e,t){let r=!1;return pw(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,cw})),Boolean((!e.depth||e.depth<3)&&pA(e)&&(t.options.setext||r))}function gA(e){return e.value||""}function bA(e,t,r,n){const a=cA(r),o='"'===a?"Quote":"Apostrophe",i=r.enter("image");let s=r.enter("label");const l=r.createTracker(n);let c=l.move("![");return c+=l.move(r.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=r.enter(`title${o}`),c+=l.move(" "+a),c+=l.move(r.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),c+=l.move(")"),i(),c}function vA(e,t,r,n){const a=e.referenceType,o=r.enter("imageReference");let i=r.enter("label");const s=r.createTracker(n);let l=s.move("![");const c=r.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const u=r.stack;r.stack=[],i=r.enter("reference");const d=r.safe(r.associationId(e),{before:l,after:"]",...s.current()});return i(),r.stack=u,o(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function yA(e,t,r){let n=e.value||"",a="`",o=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<r.unsafe.length;){const e=r.unsafe[o],t=r.compilePattern(e);let a;if(e.atBreak)for(;a=t.exec(n);){let e=a.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(a.index+1)}}return a+n+a}function OA(e,t){const r=pA(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function wA(e,t,r,n){const a=cA(r),o='"'===a?"Quote":"Apostrophe",i=r.createTracker(n);let s,l;if(OA(e,r)){const t=r.stack;r.stack=[],s=r.enter("autolink");let n=i.move("<");return n+=i.move(r.containerPhrasing(e,{before:n,after:">",...i.current()})),n+=i.move(">"),s(),r.stack=t,n}s=r.enter("link"),l=r.enter("label");let c=i.move("[");return c+=i.move(r.containerPhrasing(e,{before:c,after:"](",...i.current()})),c+=i.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),c+=i.move("<"),c+=i.move(r.safe(e.url,{before:c,after:">",...i.current()})),c+=i.move(">")):(l=r.enter("destinationRaw"),c+=i.move(r.safe(e.url,{before:c,after:e.title?" ":")",...i.current()}))),l(),e.title&&(l=r.enter(`title${o}`),c+=i.move(" "+a),c+=i.move(r.safe(e.title,{before:c,after:a,...i.current()})),c+=i.move(a),l()),c+=i.move(")"),s(),c}function xA(e,t,r,n){const a=e.referenceType,o=r.enter("linkReference");let i=r.enter("label");const s=r.createTracker(n);let l=s.move("[");const c=r.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const u=r.stack;r.stack=[],i=r.enter("reference");const d=r.safe(r.associationId(e),{before:l,after:"]",...s.current()});return i(),r.stack=u,o(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function kA(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function SA(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}gA.peek=function(){return"<"},bA.peek=function(){return"!"},vA.peek=function(){return"!"},yA.peek=function(){return"`"},wA.peek=function(e,t,r){return OA(e,r)?"<":"["},xA.peek=function(){return"["};const _A=ow(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function EA(e,t,r,n){const a=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(r),o=r.enter("strong"),i=r.createTracker(n);let s=i.move(a+a);return s+=i.move(r.containerPhrasing(e,{before:s,after:a,...i.current()})),s+=i.move(a+a),o(),s}EA.peek=function(e,t,r){return r.options.strong||"*"};const TA={blockquote:function(e,t,r,n){const a=r.enter("blockquote"),o=r.createTracker(n);o.move("> "),o.shift(2);const i=r.indentLines(r.containerFlow(e,o.current()),nA);return a(),i},break:iA,code:function(e,t,r,n){const a=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(r),o=e.value||"",i="`"===a?"GraveAccent":"Tilde";if(sA(e,r)){const e=r.enter("codeIndented"),t=r.indentLines(o,lA);return e(),t}const s=r.createTracker(n),l=a.repeat(Math.max(function(e,t){const r=String(e);let n=r.indexOf(t),a=n,o=0,i=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==n;)n===a?++o>i&&(i=o):o=1,a=n+t.length,n=r.indexOf(t,a);return i}(o,a)+1,3)),c=r.enter("codeFenced");let u=s.move(l);if(e.lang){const t=r.enter(`codeFencedLang${i}`);u+=s.move(r.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){const t=r.enter(`codeFencedMeta${i}`);u+=s.move(" "),u+=s.move(r.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),o&&(u+=s.move(o+"\n")),u+=s.move(l),c(),u},definition:function(e,t,r,n){const a=cA(r),o='"'===a?"Quote":"Apostrophe",i=r.enter("definition");let s=r.enter("label");const l=r.createTracker(n);let c=l.move("[");return c+=l.move(r.safe(r.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=r.enter(`title${o}`),c+=l.move(" "+a),c+=l.move(r.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),i(),c},emphasis:uA,hardBreak:iA,heading:function(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),o=r.createTracker(n);if(mA(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),i=r.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return n(),t(),i+"\n"+(1===a?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const i="#".repeat(a),s=r.enter("headingAtx"),l=r.enter("phrasing");o.move(i+" ");let c=r.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?i+" "+c:i,r.options.closeAtx&&(c+=" "+i),l(),s(),c},html:gA,image:bA,imageReference:vA,inlineCode:yA,link:wA,linkReference:xA,list:function(e,t,r,n){const a=r.enter("list"),o=r.bulletCurrent;let i=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(r):kA(r);const s=e.ordered?"."===i?")":".":function(e){const t=kA(e),r=e.options.bulletOther;if(!r)return"*"===t?"-":"*";if("*"!==r&&"+"!==r&&"-"!==r)throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}(r);let l=!(!t||!r.bulletLastUsed)&&i===r.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==r.stack[r.stack.length-1]||"listItem"!==r.stack[r.stack.length-2]||"list"!==r.stack[r.stack.length-3]||"listItem"!==r.stack[r.stack.length-4]||0!==r.indexStack[r.indexStack.length-1]||0!==r.indexStack[r.indexStack.length-2]||0!==r.indexStack[r.indexStack.length-3]||(l=!0),SA(r)===i&&t){let t=-1;for(;++t<e.children.length;){const r=e.children[t];if(r&&"listItem"===r.type&&r.children&&r.children[0]&&"thematicBreak"===r.children[0].type){l=!0;break}}}}l&&(i=s),r.bulletCurrent=i;const c=r.containerFlow(e,n);return r.bulletLastUsed=i,r.bulletCurrent=o,a(),c},listItem:function(e,t,r,n){const a=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let o=r.bulletCurrent||kA(r);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+o);let i=o.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));const s=r.createTracker(n);s.move(o+" ".repeat(i-o.length)),s.shift(i);const l=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,s.current()),(function(e,t,r){return t?(r?"":" ".repeat(i))+e:(r?o:o+" ".repeat(i-o.length))+e}));return l(),c},paragraph:function(e,t,r,n){const a=r.enter("paragraph"),o=r.enter("phrasing"),i=r.containerPhrasing(e,n);return o(),a(),i},root:function(e,t,r,n){return(e.children.some((function(e){return _A(e)}))?r.containerPhrasing:r.containerFlow).call(r,e,n)},strong:EA,text:function(e,t,r,n){return r.safe(e.value,n)},thematicBreak:function(e,t,r){const n=(SA(r)+(r.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(r));return r.options.ruleSpaces?n.slice(0,-1):n}},AA=[function(e,t,r,n){if("code"===t.type&&sA(t,n)&&("list"===e.type||e.type===t.type&&sA(e,n)))return!1;if("spread"in r&&"boolean"==typeof r.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&mA(t,n)))return;return r.spread?1:0}}],CA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],PA=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",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:CA},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:CA},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:CA},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:CA},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:CA},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:CA},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:CA},{atBreak:!0,character:"~"}],$A=document.createElement("i");function MA(e){const t="&"+e+";";$A.innerHTML=t;const r=$A.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&r!==t&&r}function DA(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||!(65535&~r)||65534==(65535&r)||r>1114111?"�":String.fromCodePoint(r)}const RA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function NA(e){return e.replace(RA,IA)}function IA(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return DA(r.slice(t?2:1),t?16:10)}return MA(r)||e}function LA(e){return e.label||!e.identifier?e.label||"":NA(e.identifier)}function jA(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function BA(e,t,r,n){let a=n.join.length;for(;a--;){const o=n.join[a](e,t,r,n);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const UA=/\r?\n|\r/g;function FA(e,t){const r=[];let n,a=0,o=0;for(;n=UA.exec(e);)i(e.slice(a,n.index)),r.push(n[0]),a=n.index+n[0].length,o++;return i(e.slice(a)),r.join("");function i(e){r.push(t(e,o,!e))}}function QA(e,t){return e-t}function zA(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],a=[],o=e+t;let i,s=-1,l=0;for(;i=r.exec(o);)n.push(i.index);for(;++s<n.length;)l!==n[s]&&a.push(e.slice(l,n[s])),a.push("\\"),l=n[s];return a.push(e.slice(l)),a.join("")}function qA(e){const t=e||{},r=t.now||{};let n=t.lineShift||0,a=r.line||1,o=r.column||1;return{move:function(e){const t=e||"",r=t.split(/\r?\n|\r/g),i=r[r.length-1];return a+=r.length-1,o=1===r.length?o+i.length:1+i.length+n,t},current:function(){return{now:{line:a,column:o},lineShift:n}},shift:function(e){n+=e}}}function HA(e,t={}){const r={enter:function(e){return r.stack.push(e),function(){r.stack.pop()}},indentLines:FA,associationId:LA,containerPhrasing:XA,containerFlow:GA,createTracker:qA,compilePattern:jA,safe:YA,stack:[],unsafe:[...PA],join:[...AA],handlers:{...TA},options:{},indexStack:[],handle:void 0};eA(r,t),r.options.tightDefinitions&&r.join.push(WA),r.handle=Wx("type",{invalid:VA,unknown:ZA,handlers:r.handlers});let n=r.handle(e,void 0,r,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return n&&10!==n.charCodeAt(n.length-1)&&13!==n.charCodeAt(n.length-1)&&(n+="\n"),n}function VA(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function ZA(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function WA(e,t){if("definition"===e.type&&e.type===t.type)return 0}function XA(e,t){return function(e,t,r){const n=t.indexStack,a=e.children||[],o=[];let i=-1,s=r.before;n.push(-1);let l=t.createTracker(r);for(;++i<a.length;){const c=a[i];let u;if(n[n.length-1]=i,i+1<a.length){let r=t.handle.handlers[a[i+1].type];r&&r.peek&&(r=r.peek),u=r?r(a[i+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=r.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(r),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=o[o.length-1].slice(-1)}return n.pop(),o.join("")}(e,this,t)}function GA(e,t){return function(e,t,r){const n=t.indexStack,a=e.children||[],o=t.createTracker(r),i=[];let s=-1;for(n.push(-1);++s<a.length;){const r=a[s];n[n.length-1]=s,i.push(o.move(t.handle(r,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),s<a.length-1&&i.push(o.move(BA(r,a[s+1],e,t)))}return n.pop(),i.join("")}(e,this,t)}function YA(e,t){return function(e,t,r){const n=(r.before||"")+(t||"")+(r.after||""),a=[],o=[],i={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!aA(e.stack,t))continue;const r=e.compilePattern(t);let o;for(;o=r.exec(n);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=o.index+(e?o[1].length:0);a.includes(n)?(i[n].before&&!e&&(i[n].before=!1),i[n].after&&!r&&(i[n].after=!1)):(a.push(n),i[n]={before:e,after:r})}}a.sort(QA);let l=r.before?r.before.length:0;const c=n.length-(r.after?r.after.length:0);for(s=-1;++s<a.length;){const e=a[s];e<l||e>=c||e+1<c&&a[s+1]===e+1&&i[e].after&&!i[e+1].before&&!i[e+1].after||a[s-1]===e-1&&i[e].before&&!i[e-1].before&&!i[e-1].after||(l!==e&&o.push(zA(n.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(n.charAt(e))||r.encode&&r.encode.includes(n.charAt(e))?(o.push("&#x"+n.charCodeAt(e).toString(16).toUpperCase()+";"),l++):o.push("\\"))}return o.push(zA(n.slice(l,c),r.after)),o.join("")}(this,e,t)}function KA(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function JA(e){this.exit(e),this.data.inTable=void 0}function eC(e){this.enter({type:"tableRow",children:[]},e)}function tC(e){this.exit(e)}function rC(e){this.enter({type:"tableCell",children:[]},e)}function nC(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,aC));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function aC(e,t){return"|"===t?t:e}function oC(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,o=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,r){let n=TA.inlineCode(e,t,r);return r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&")),n},table:function(e,t,r,n){return s(function(e,t,r){const n=e.children;let a=-1;const o=[],i=t.enter("table");for(;++a<n.length;)o[a]=l(n[a],t,r);return i(),o}(e,r,n),e.align)},tableCell:i,tableRow:function(e,t,r,n){const a=s([l(e,r,n)]);return a.slice(0,a.indexOf("\n"))}}};function i(e,t,r,n){const a=r.enter("tableCell"),i=r.enter("phrasing"),s=r.containerPhrasing(e,{...n,before:o,after:o});return i(),a(),s}function s(e,t){return function(e,t={}){const r=(t.align||[]).concat(),n=t.stringLength||YT,a=[],o=[],i=[],s=[];let l=0,c=-1;for(;++c<e.length;){const r=[],a=[];let d=-1;for(e[c].length>l&&(l=e[c].length);++d<e[c].length;){const o=null==(u=e[c][d])?"":String(u);if(!1!==t.alignDelimiters){const e=n(o);a[d]=e,(void 0===s[d]||e>s[d])&&(s[d]=e)}r.push(o)}o[c]=r,i[c]=a}var u;let d=-1;if("object"==typeof r&&"length"in r)for(;++d<l;)a[d]=KT(r[d]);else{const e=KT(r);for(;++d<l;)a[d]=e}d=-1;const p=[],h=[];for(;++d<l;){const e=a[d];let r="",n="";99===e?(r=":",n=":"):108===e?r=":":114===e&&(n=":");let o=!1===t.alignDelimiters?1:Math.max(1,s[d]-r.length-n.length);const i=r+"-".repeat(o)+n;!1!==t.alignDelimiters&&(o=r.length+o+n.length,o>s[d]&&(s[d]=o),h[d]=o),p[d]=i}o.splice(1,0,p),i.splice(1,0,h),c=-1;const f=[];for(;++c<o.length;){const e=o[c],r=i[c];d=-1;const n=[];for(;++d<l;){const o=e[d]||"";let i="",c="";if(!1!==t.alignDelimiters){const e=s[d]-(r[d]||0),t=a[d];114===t?i=" ".repeat(e):99===t?e%2?(i=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(i=" ".repeat(e/2),c=i):c=" ".repeat(e)}!1===t.delimiterStart||d||n.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===o||!1===t.delimiterStart&&!d||n.push(" "),!1!==t.alignDelimiters&&n.push(i),n.push(o),!1!==t.alignDelimiters&&n.push(c),!1!==t.padding&&n.push(" "),!1===t.delimiterEnd&&d===l-1||n.push("|")}f.push(!1===t.delimiterEnd?n.join("").replace(/ +$/,""):n.join(""))}return f.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:a})}function l(e,t,r){const n=e.children;let a=-1;const o=[],s=t.enter("tableRow");for(;++a<n.length;)o[a]=i(n[a],0,t,r);return s(),o}}function iC(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function sC(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const r=e.children[0];if(r&&"text"===r.type){const n=t.children;let a,o=-1;for(;++o<n.length;){const e=n[o];if("paragraph"===e.type){a=e;break}}a===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function lC(e,t,r,n){const a=e.children[0],o="boolean"==typeof e.checked&&a&&"paragraph"===a.type,i="["+(e.checked?"x":" ")+"] ",s=r.createTracker(n);o&&s.move(i);let l=TA.listItem(e,t,r,{...n,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+i}))),l}function cC(e,t,r,n){const a=e.length;let o,i=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);i<n.length;)o=n.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function uC(e,t){return e.length>0?(cC(e,e.length,0,t),e):t}const dC={}.hasOwnProperty;function pC(e){const t={};let r=-1;for(;++r<e.length;)hC(t,e[r]);return t}function hC(e,t){let r;for(r in t){const n=(dC.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let o;if(a)for(o in a){dC.call(n,o)||(n[o]=[]);const e=a[o];fC(n[o],Array.isArray(e)?e:e?[e]:[])}}}function fC(e,t){let r=-1;const n=[];for(;++r<t.length;)("after"===t[r].add?e:n).push(t[r]);cC(e,0,0,n)}const mC={tokenize:function(e,t,r){let n=0;return function t(o){return(87===o||119===o)&&n<3?(n++,e.consume(o),t):46===o&&3===n?(e.consume(o),a):r(o)};function a(e){return null===e?r(e):t(e)}},partial:!0},gC={tokenize:function(e,t,r){let n,a,o;return i;function i(t){return 46===t||95===t?e.check(vC,l,s)(t):null===t||gT(t)||yT(t)||45!==t&&vT(t)?l(t):(o=!0,e.consume(t),i)}function s(t){return 95===t?n=!0:(a=n,n=void 0),e.consume(t),i}function l(e){return a||n||!o?r(e):t(e)}},partial:!0},bC={tokenize:function(e,t){let r=0,n=0;return a;function a(i){return 40===i?(r++,e.consume(i),a):41===i&&n<r?o(i):33===i||34===i||38===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||60===i||63===i||93===i||95===i||126===i?e.check(vC,t,o)(i):null===i||gT(i)||yT(i)?t(i):(e.consume(i),a)}function o(t){return 41===t&&n++,e.consume(t),a}},partial:!0},vC={tokenize:function(e,t,r){return n;function n(i){return 33===i||34===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||63===i||95===i||126===i?(e.consume(i),n):38===i?(e.consume(i),o):93===i?(e.consume(i),a):60===i||null===i||gT(i)||yT(i)?t(i):r(i)}function a(e){return null===e||40===e||91===e||gT(e)||yT(e)?t(e):n(e)}function o(e){return lT(e)?i(e):r(e)}function i(t){return 59===t?(e.consume(t),n):lT(t)?(e.consume(t),i):r(t)}},partial:!0},yC={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(e){return cT(e)?r(e):t(e)}},partial:!0},OC={tokenize:function(e,t,r){const n=this;return function(t){return 87!==t&&119!==t||!_C.call(n,n.previous)||CC(n.events)?r(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(mC,e.attempt(gC,e.attempt(bC,a),r),r)(t))};function a(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:_C},wC={tokenize:function(e,t,r){const n=this;let a="",o=!1;return function(t){return 72!==t&&104!==t||!EC.call(n,n.previous)||CC(n.events)?r(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(t),e.consume(t),i)};function i(t){if(lT(t)&&a.length<5)return a+=String.fromCodePoint(t),e.consume(t),i;if(58===t){const r=a.toLowerCase();if("http"===r||"https"===r)return e.consume(t),s}return r(t)}function s(t){return 47===t?(e.consume(t),o?l:(o=!0,s)):r(t)}function l(t){return null===t||dT(t)||gT(t)||yT(t)||vT(t)?r(t):e.attempt(gC,e.attempt(bC,c),r)(t)}function c(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:EC},xC={tokenize:function(e,t,r){const n=this;let a,o;return function(t){return AC(t)&&TC.call(n,n.previous)&&!CC(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),i(t)):r(t)};function i(t){return AC(t)?(e.consume(t),i):64===t?(e.consume(t),s):r(t)}function s(t){return 46===t?e.check(yC,c,l)(t):45===t||95===t||cT(t)?(o=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),a=!0,s}function c(i){return o&&a&&lT(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):r(i)}},previous:TC},kC={};let SC=48;for(;SC<123;)kC[SC]=xC,SC++,58===SC?SC=65:91===SC&&(SC=97);function _C(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||gT(e)}function EC(e){return!lT(e)}function TC(e){return!(47===e||AC(e))}function AC(e){return 43===e||45===e||46===e||95===e||cT(e)}function CC(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}function PC(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const o=e.charCodeAt(r);let i="";if(37===o&&cT(e.charCodeAt(r+1))&&cT(e.charCodeAt(r+2)))a=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(i=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(r+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),a=1):i="�"}else i=String.fromCharCode(o);i&&(t.push(e.slice(n,r),encodeURIComponent(i)),n=r+a+1,i=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function $C(e){return null===e||gT(e)||yT(e)?1:vT(e)?2:void 0}function MC(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const o=e[a].resolveAll;o&&!n.includes(o)&&(t=o(t,r),n.push(o))}return t}kC[43]=xC,kC[45]=xC,kC[46]=xC,kC[95]=xC,kC[72]=[xC,wC],kC[104]=[xC,wC],kC[87]=[xC,OC],kC[119]=[xC,OC];const DC={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=$C(n);let o;return function(t){return o=t,e.enter("attentionSequence"),i(t)};function i(s){if(s===o)return e.consume(s),i;const l=e.exit("attentionSequence"),c=$C(s),u=!c||2===c&&a||r.includes(s),d=!a||2===a&&c||r.includes(n);return l._open=Boolean(42===o?u:u&&(a||!d)),l._close=Boolean(42===o?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){let r,n,a,o,i,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(r=u;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[r][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),p=Object.assign({},e[u][1].start);RC(d,-s),RC(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},i={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},a={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[u][1].start)},n={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},i.end)},e[r][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},i.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=uC(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=uC(l,[["enter",n,t],["enter",o,t],["exit",o,t],["enter",a,t]]),l=uC(l,MC(t.parser.constructs.insideSpan.null,e.slice(r+1,u),t)),l=uC(l,[["exit",a,t],["enter",i,t],["exit",i,t],["exit",n,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=uC(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,cC(e,r-1,u-r+3,l),u=r+l.length-c-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function RC(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const NC={name:"autolink",tokenize:function(e,t,r){let n=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return lT(t)?(e.consume(t),o):64===t?r(t):l(t)}function o(e){return 43===e||45===e||46===e||cT(e)?(n=1,i(e)):l(e)}function i(t){return 58===t?(e.consume(t),n=0,s):(43===t||45===t||46===t||cT(t))&&n++<32?(e.consume(t),i):(n=0,l(t))}function s(n){return 62===n?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):null===n||32===n||60===n||dT(n)?r(n):(e.consume(n),s)}function l(t){return 64===t?(e.consume(t),c):uT(t)?(e.consume(t),l):r(t)}function c(e){return cT(e)?u(e):r(e)}function u(r){return 46===r?(e.consume(r),n=0,c):62===r?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):d(r)}function d(t){if((45===t||cT(t))&&n++<63){const r=45===t?d:u;return e.consume(t),r}return r(t)}}};function IC(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let o=0;return function(n){return bT(n)?(e.enter(r),i(n)):t(n)};function i(n){return bT(n)&&o++<a?(e.consume(n),i):(e.exit(r),t(n))}}const LC={tokenize:function(e,t,r){return function(t){return bT(t)?IC(e,n,"linePrefix")(t):n(t)};function n(e){return null===e||mT(e)?t(e):r(e)}},partial:!0},jC={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return r(t)};function a(r){return bT(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){const n=this;return function(t){return bT(t)?IC(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(n){return e.attempt(jC,t,r)(n)}}},exit:function(e){e.exit("blockQuote")}},BC={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),n};function n(n){return fT(n)?(e.enter("characterEscapeValue"),e.consume(n),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(n)}}},UC={name:"characterReference",tokenize:function(e,t,r){const n=this;let a,o,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,o=cT,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=hT,c):(e.enter("characterReferenceValue"),a=7,o=pT,c(t))}function c(s){if(59===s&&i){const a=e.exit("characterReferenceValue");return o!==cT||MA(n.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(s)}return o(s)&&i++<a?(e.consume(s),c):r(s)}}},FC={tokenize:function(e,t,r){const n=this;return function(t){return null===t?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},QC={name:"codeFenced",tokenize:function(e,t,r){const n=this,a={tokenize:function(e,t,r){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),bT(t)?IC(e,l,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):r(t)}function c(t){return t===o?(a++,e.consume(t),c):a>=s?(e.exit("codeFencedFenceSequence"),bT(t)?IC(e,u,"whitespace")(t):u(t)):r(t)}function u(n){return null===n||mT(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0};let o,i=0,s=0;return function(t){return function(t){const r=n.events[n.events.length-1];return i=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?r(t):(e.exit("codeFencedFenceSequence"),bT(t)?IC(e,c,"whitespace")(t):c(t))}function c(r){return null===r||mT(r)?(e.exit("codeFencedFence"),n.interrupt?t(r):e.check(FC,h,v)(r)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(r))}function u(t){return null===t||mT(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):bT(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),IC(e,d,"whitespace")(t)):96===t&&t===o?r(t):(e.consume(t),u)}function d(t){return null===t||mT(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||mT(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?r(t):(e.consume(t),p)}function h(t){return e.attempt(a,v,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return i>0&&bT(t)?IC(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||mT(t)?e.check(FC,h,v)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||mT(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),b)}function v(r){return e.exit("codeFenced"),t(r)}},concrete:!0},zC={name:"codeIndented",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("codeIndented"),IC(e,a,"linePrefix",5)(t)};function a(e){const t=n.events[n.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):r(e)}function o(t){return null===t?s(t):mT(t)?e.attempt(qC,o,s)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||mT(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function s(r){return e.exit("codeIndented"),t(r)}}},qC={tokenize:function(e,t,r){const n=this;return a;function a(t){return n.parser.lazy[n.now().line]?r(t):mT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):IC(e,o,"linePrefix",5)(t)}function o(e){const o=n.events[n.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):mT(e)?a(e):r(e)}},partial:!0},HC={name:"codeText",tokenize:function(e,t,r){let n,a,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)};function i(t){return 96===t?(e.consume(t),o++,i):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?r(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(a=e.enter("codeTextSequence"),n=0,c(t)):mT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||mT(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(r){return 96===r?(e.consume(r),n++,c):n===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(a.type="codeTextData",l(r))}},resolve:function(e){let t,r,n=e.length-4,a=3;if(!("lineEnding"!==e[a][1].type&&"space"!==e[a][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=a;++t<n;)if("codeTextData"===e[t][1].type){e[a][1].type="codeTextPadding",e[n][1].type="codeTextPadding",a+=2,n-=2;break}for(t=a-1,n++;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};class VC{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new 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){const r=null==t?Number.POSITIVE_INFINITY:t;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,t,r){const n=t||0;this.setCursor(Math.trunc(e));const a=this.right.splice(this.right.length-n,Number.POSITIVE_INFINITY);return r&&ZC(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),ZC(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ZC(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);ZC(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);ZC(this.left,t.reverse())}}}function ZC(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function WC(e){const t={};let r,n,a,o,i,s,l,c=-1;const u=new VC(e);for(;++c<u.length;){for(;c in t;)c=t[c];if(r=u.get(c),c&&"chunkFlow"===r[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(s=r[1]._tokenizer.events,a=0,a<s.length&&"lineEndingBlank"===s[a][1].type&&(a+=2),a<s.length&&"content"===s[a][1].type))for(;++a<s.length&&"content"!==s[a][1].type;)"chunkText"===s[a][1].type&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,XC(u,c)),c=t[c],l=!0);else if(r[1]._container){for(a=c,n=void 0;a--&&(o=u.get(a),"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),o[1].type="lineEnding",n=a);n&&(r[1].end=Object.assign({},u.get(n)[1].start),i=u.slice(n,c),i.unshift(r),u.splice(n,c-n+1,i))}}return cC(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!l}function XC(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const o=[],i=r._tokenizer||n.parser[r.contentType](r.start),s=i.events,l=[],c={};let u,d,p=-1,h=r,f=0,m=0;const g=[m];for(;h;){for(;e.get(++a)[1]!==h;);o.push(a),h._tokenizer||(u=n.sliceStream(h),h.next||u.push(null),d&&i.defineSkip(h.start),h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(u),h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),d=h,h=h.next}for(h=r;++p<s.length;)"exit"===s[p][0]&&"enter"===s[p-1][0]&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(m=p+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(i.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),p=g.length;p--;){const t=s.slice(g[p],g[p+1]),r=o.pop();l.push([r,r+t.length-1]),e.splice(r,2,t)}for(l.reverse(),p=-1;++p<l.length;)c[f+l[p][0]]=f+l[p][1],f+=l[p][1]-l[p][0]-1;return c}const GC={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?a(t):mT(t)?e.check(YC,o,a)(t):(e.consume(t),n)}function a(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function o(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return WC(e),e}},YC={tokenize:function(e,t,r){const n=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),IC(e,a,"linePrefix")};function a(a){if(null===a||mT(a))return r(a);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(n.parser.constructs.flow,r,t)(a)}},partial:!0};function KC(e,t,r,n,a,o,i,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(n),e.enter(a),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||dT(t)?r(t):(e.enter(n),e.enter(i),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t))};function d(r){return 62===r?(e.enter(o),e.consume(r),e.exit(o),e.exit(a),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||mT(t)?r(t):(e.consume(t),92===t?h:p)}function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(a){return u||null!==a&&41!==a&&!gT(a)?u<c&&40===a?(e.consume(a),u++,f):41===a?(e.consume(a),u--,f):null===a||32===a||40===a||dT(a)?r(a):(e.consume(a),92===a?m:f):(e.exit("chunkString"),e.exit(s),e.exit(i),e.exit(n),t(a))}function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function JC(e,t,r,n,a,o){const i=this;let s,l=0;return function(t){return e.enter(n),e.enter(a),e.consume(t),e.exit(a),e.enter(o),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?r(d):93===d?(e.exit(o),e.enter(a),e.consume(d),e.exit(a),e.exit(n),t):mT(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||mT(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!bT(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function eP(e,t,r,n,a,o){let i;return function(t){return 34===t||39===t||40===t?(e.enter(n),e.enter(a),e.consume(t),e.exit(a),i=40===t?41:t,s):r(t)};function s(r){return r===i?(e.enter(a),e.consume(r),e.exit(a),e.exit(n),t):(e.enter(o),l(r))}function l(t){return t===i?(e.exit(o),s(i)):null===t?r(t):mT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),IC(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||mT(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function tP(e,t){let r;return function n(a){return mT(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):bT(a)?IC(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const rP={name:"definition",tokenize:function(e,t,r){const n=this;let a;return function(t){return e.enter("definition"),function(t){return JC.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return a=NT(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):r(t)}function i(t){return gT(t)?tP(e,s)(t):s(t)}function s(t){return KC(e,l,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(nP,c,c)(t)}function c(t){return bT(t)?IC(e,u,"whitespace")(t):u(t)}function u(o){return null===o||mT(o)?(e.exit("definition"),n.parser.defined.push(a),t(o)):r(o)}}},nP={tokenize:function(e,t,r){return function(t){return gT(t)?tP(e,n)(t):r(t)};function n(t){return eP(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return bT(t)?IC(e,o,"whitespace")(t):o(t)}function o(e){return null===e||mT(e)?t(e):r(e)}},partial:!0},aP={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.consume(t),n};function n(n){return mT(n)?(e.exit("hardBreakEscape"),t(n)):r(n)}}},oP={name:"headingAtx",tokenize:function(e,t,r){let n=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),a(t)}(t)};function a(t){return 35===t&&n++<6?(e.consume(t),a):null===t||gT(t)?(e.exit("atxHeadingSequence"),o(t)):r(t)}function o(r){return 35===r?(e.enter("atxHeadingSequence"),i(r)):null===r||mT(r)?(e.exit("atxHeading"),t(r)):bT(r)?IC(e,o,"whitespace")(r):(e.enter("atxHeadingText"),s(r))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||gT(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}},resolve:function(e,t){let r,n,a=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),a-2>o&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(o===a-1||a-4>o&&"whitespace"===e[a-2][1].type)&&(a-=o+1===a?2:4),a>o&&(r={type:"atxHeadingText",start:e[o][1].start,end:e[a][1].end},n={type:"chunkText",start:e[o][1].start,end:e[a][1].end,contentType:"text"},cC(e,o,a-o+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]])),e}},iP=["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"],sP=["pre","script","style","textarea"],lP={name:"htmlFlow",tokenize:function(e,t,r){const n=this;let a,o,i,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,h):63===s?(e.consume(s),a=3,n.interrupt?t:R):lT(s)?(e.consume(s),i=String.fromCharCode(s),f):r(s)}function u(o){return 45===o?(e.consume(o),a=2,d):91===o?(e.consume(o),a=5,s=0,p):lT(o)?(e.consume(o),a=4,n.interrupt?t:R):r(o)}function d(a){return 45===a?(e.consume(a),n.interrupt?t:R):r(a)}function p(a){return a==="CDATA[".charCodeAt(s++)?(e.consume(a),6===s?n.interrupt?t:E:p):r(a)}function h(t){return lT(t)?(e.consume(t),i=String.fromCharCode(t),f):r(t)}function f(s){if(null===s||47===s||62===s||gT(s)){const l=47===s,c=i.toLowerCase();return l||o||!sP.includes(c)?iP.includes(i.toLowerCase())?(a=6,l?(e.consume(s),m):n.interrupt?t(s):E(s)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(s):o?g(s):b(s)):(a=1,n.interrupt?t(s):E(s))}return 45===s||cT(s)?(e.consume(s),i+=String.fromCharCode(s),f):r(s)}function m(a){return 62===a?(e.consume(a),n.interrupt?t:E):r(a)}function g(t){return bT(t)?(e.consume(t),g):S(t)}function b(t){return 47===t?(e.consume(t),S):58===t||95===t||lT(t)?(e.consume(t),v):bT(t)?(e.consume(t),b):S(t)}function v(t){return 45===t||46===t||58===t||95===t||cT(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),O):bT(t)?(e.consume(t),y):b(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),l=t,w):bT(t)?(e.consume(t),O):x(t)}function w(t){return t===l?(e.consume(t),l=null,k):null===t||mT(t)?r(t):(e.consume(t),w)}function x(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||gT(t)?y(t):(e.consume(t),x)}function k(e){return 47===e||62===e||bT(e)?b(e):r(e)}function S(t){return 62===t?(e.consume(t),_):r(t)}function _(t){return null===t||mT(t)?E(t):bT(t)?(e.consume(t),_):r(t)}function E(t){return 45===t&&2===a?(e.consume(t),P):60===t&&1===a?(e.consume(t),$):62===t&&4===a?(e.consume(t),N):63===t&&3===a?(e.consume(t),R):93===t&&5===a?(e.consume(t),D):!mT(t)||6!==a&&7!==a?null===t||mT(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(cP,I,T)(t))}function T(t){return e.check(uP,A,I)(t)}function A(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),C}function C(t){return null===t||mT(t)?T(t):(e.enter("htmlFlowData"),E(t))}function P(t){return 45===t?(e.consume(t),R):E(t)}function $(t){return 47===t?(e.consume(t),i="",M):E(t)}function M(t){if(62===t){const r=i.toLowerCase();return sP.includes(r)?(e.consume(t),N):E(t)}return lT(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),M):E(t)}function D(t){return 93===t?(e.consume(t),R):E(t)}function R(t){return 62===t?(e.consume(t),N):45===t&&2===a?(e.consume(t),R):E(t)}function N(t){return null===t||mT(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),N)}function I(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(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},concrete:!0},cP={tokenize:function(e,t,r){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(LC,t,r)}},partial:!0},uP={tokenize:function(e,t,r){const n=this;return function(t){return mT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):r(t)};function a(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},dP={name:"htmlText",tokenize:function(e,t,r){const n=this;let a,o,i;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),O):63===t?(e.consume(t),v):lT(t)?(e.consume(t),k):r(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,h):lT(t)?(e.consume(t),b):r(t)}function c(t){return 45===t?(e.consume(t),p):r(t)}function u(t){return null===t?r(t):45===t?(e.consume(t),d):mT(t)?(i=u,M(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?$(e):45===e?d(e):u(e)}function h(t){return t==="CDATA[".charCodeAt(o++)?(e.consume(t),6===o?f:h):r(t)}function f(t){return null===t?r(t):93===t?(e.consume(t),m):mT(t)?(i=f,M(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?$(t):93===t?(e.consume(t),g):f(t)}function b(t){return null===t||62===t?$(t):mT(t)?(i=b,M(t)):(e.consume(t),b)}function v(t){return null===t?r(t):63===t?(e.consume(t),y):mT(t)?(i=v,M(t)):(e.consume(t),v)}function y(e){return 62===e?$(e):v(e)}function O(t){return lT(t)?(e.consume(t),w):r(t)}function w(t){return 45===t||cT(t)?(e.consume(t),w):x(t)}function x(t){return mT(t)?(i=x,M(t)):bT(t)?(e.consume(t),x):$(t)}function k(t){return 45===t||cT(t)?(e.consume(t),k):47===t||62===t||gT(t)?S(t):r(t)}function S(t){return 47===t?(e.consume(t),$):58===t||95===t||lT(t)?(e.consume(t),_):mT(t)?(i=S,M(t)):bT(t)?(e.consume(t),S):$(t)}function _(t){return 45===t||46===t||58===t||95===t||cT(t)?(e.consume(t),_):E(t)}function E(t){return 61===t?(e.consume(t),T):mT(t)?(i=E,M(t)):bT(t)?(e.consume(t),E):S(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,A):mT(t)?(i=T,M(t)):bT(t)?(e.consume(t),T):(e.consume(t),C)}function A(t){return t===a?(e.consume(t),a=void 0,P):null===t?r(t):mT(t)?(i=A,M(t)):(e.consume(t),A)}function C(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||gT(t)?S(t):(e.consume(t),C)}function P(e){return 47===e||62===e||gT(e)?S(e):r(e)}function $(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}function M(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),D}function D(t){return bT(t)?IC(e,R,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),i(t)}}},pP={name:"labelEnd",tokenize:function(e,t,r){const n=this;let a,o,i=n.events.length;for(;i--;)if(("labelImage"===n.events[i][1].type||"labelLink"===n.events[i][1].type)&&!n.events[i][1]._balanced){a=n.events[i][1];break}return function(t){return a?a._inactive?u(t):(o=n.parser.defined.includes(NT(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):r(t)};function s(t){return 40===t?e.attempt(hP,c,o?c:u)(t):91===t?e.attempt(fP,c,o?l:u)(t):o?c(t):u(t)}function l(t){return e.attempt(mP,c,u)(t)}function c(e){return t(e)}function u(e){return a._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,a,o,i=e.length,s=0;for(;i--;)if(r=e[i][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[i][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(a){if("enter"===e[i][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=i,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(a=i);const l={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[a][1].end)},u={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=uC(o,e.slice(n+1,n+s+3)),o=uC(o,[["enter",u,t]]),o=uC(o,MC(t.parser.constructs.insideSpan.null,e.slice(n+s+4,a-3),t)),o=uC(o,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),o=uC(o,e.slice(a+1)),o=uC(o,[["exit",l,t]]),cC(e,n,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const r=e[t][1];"labelImage"!==r.type&&"labelLink"!==r.type&&"labelEnd"!==r.type||(e.splice(t+1,"labelImage"===r.type?4:2),r.type="data",t++)}return e}},hP={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),n};function n(t){return gT(t)?tP(e,a)(t):a(t)}function a(t){return 41===t?c(t):KC(e,o,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return gT(t)?tP(e,s)(t):c(t)}function i(e){return r(e)}function s(t){return 34===t||39===t||40===t?eP(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return gT(t)?tP(e,c)(t):c(t)}function c(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},fP={tokenize:function(e,t,r){const n=this;return function(t){return JC.call(n,e,a,o,"reference","referenceMarker","referenceString")(t)};function a(e){return n.parser.defined.includes(NT(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}function o(e){return r(e)}}},mP={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}},gP={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),a};function a(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):r(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:pP.resolveAll},bP={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),a};function a(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:pP.resolveAll},vP={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),IC(e,t,"linePrefix")}}},yP={name:"thematicBreak",tokenize:function(e,t,r){let n,a=0;return function(t){return e.enter("thematicBreak"),function(e){return n=e,o(e)}(t)};function o(o){return o===n?(e.enter("thematicBreakSequence"),i(o)):a>=3&&(null===o||mT(o))?(e.exit("thematicBreak"),t(o)):r(o)}function i(t){return t===n?(e.consume(t),a++,i):(e.exit("thematicBreakSequence"),bT(t)?IC(e,o,"whitespace")(t):o(t))}}},OP={name:"list",tokenize:function(e,t,r){const n=this,a=n.events[n.events.length-1];let o=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,i=0;return function(t){const a=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!n.containerState.marker||t===n.containerState.marker:pT(t)){if(n.containerState.type||(n.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(yP,r,l)(t):l(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return r(t)};function s(t){return pT(t)&&++i<10?(e.consume(t),s):(!n.interrupt||i<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):r(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(LC,n.interrupt?r:c,e.attempt(wP,d,u))}function c(e){return n.containerState.initialBlankLine=!0,o++,d(e)}function u(t){return bT(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):r(t)}function d(r){return n.containerState.size=o+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(LC,(function(r){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,IC(e,t,"listItemIndent",n.containerState.size+1)(r)}),(function(r){return n.containerState.furtherBlankLines||!bT(r)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,a(r)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(xP,t,a)(r))}));function a(a){return n.containerState._closeFlow=!0,n.interrupt=void 0,IC(e,e.attempt(OP,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},wP={tokenize:function(e,t,r){const n=this;return IC(e,(function(e){const a=n.events[n.events.length-1];return!bT(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):r(e)}),"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},xP={tokenize:function(e,t,r){const n=this;return IC(e,(function(e){const a=n.events[n.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===n.containerState.size?t(e):r(e)}),"listItemIndent",n.containerState.size+1)},partial:!0},kP={name:"setextUnderline",tokenize:function(e,t,r){const n=this;let a;return function(t){let i,s=n.events.length;for(;s--;)if("lineEnding"!==n.events[s][1].type&&"linePrefix"!==n.events[s][1].type&&"content"!==n.events[s][1].type){i="paragraph"===n.events[s][1].type;break}return n.parser.lazy[n.now().line]||!n.interrupt&&!i?r(t):(e.enter("setextHeadingLine"),a=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t))};function o(t){return t===a?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),bT(t)?IC(e,i,"lineSuffix")(t):i(t))}function i(n){return null===n||mT(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,a,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){r=o;break}"paragraph"===e[o][1].type&&(n=o)}else"content"===e[o][1].type&&e.splice(o,1),a||"definition"!==e[o][1].type||(a=o);const i={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",a?(e.splice(n,0,["enter",i,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=i,e.push(["exit",i,t]),e}},SP={tokenize:function(e,t,r){const n=this;return IC(e,(function(e){const a=n.events[n.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function _P(e,t,r){const n=this;let a=n.events.length;const o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i;for(;a--;){const e=n.events[a][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!i||!i._balanced)return r(a);const s=NT(n.sliceSerialize({start:i.end,end:n.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):r(a)}}function EP(e,t){let r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...s),e}function TP(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o,i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(i>999||93===s&&!o||null===s||91===s||gT(s))return r(s);if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return a.includes(NT(n.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(s)}return gT(s)||(o=!0),i++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,l):l(t)}}function AP(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o,i,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(t)}function c(t){if(s>999||93===t&&!i||null===t||91===t||gT(t))return r(t);if(93===t){e.exit("chunkString");const r=e.exit("gfmFootnoteDefinitionLabelString");return o=NT(n.sliceSerialize(r)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return gT(t)||(i=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a.includes(o)||a.push(o),IC(e,p,"gfmFootnoteDefinitionWhitespace")):r(t)}function p(e){return t(e)}}function CP(e,t,r){return e.check(LC,t,e.attempt(SP,t,r))}function PP(e){e.exit("gfmFootnoteDefinition")}function $P(e){let t=(e||{}).singleTilde;const r={tokenize:function(e,r,n){const a=this.previous,o=this.events;let i=0;return function(t){return 126===a&&"characterEscape"!==o[o.length-1][1].type?n(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(o){const l=$C(a);if(126===o)return i>1?n(o):(e.consume(o),i++,s);if(i<2&&!t)return n(o);const c=e.exit("strikethroughSequenceTemporary"),u=$C(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),r(o)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const a={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},o={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},i=[["enter",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&cC(i,i.length,0,MC(s,e.slice(n+1,r),t)),cC(i,i.length,0,[["exit",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",a,t]]),cC(e,n-1,r-n+3,i),r=n+i.length-2;break}}for(r=-1;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}class MP{constructor(){this.map=[]}add(e,t,r){!function(e,t,r,n){let a=0;if(0!==r||0!==n.length){for(;a<e.map.length;){if(e.map[a][0]===t)return e.map[a][1]+=r,void e.map[a][2].push(...n);a+=1}e.map.push([t,r,n])}}(this,e,t,r)}consume(e){if(this.map.sort((function(e,t){return e[0]-t[0]})),0===this.map.length)return;let t=this.map.length;const r=[];for(;t>0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];r.push([...e]),e.length=0;let n=r.pop();for(;n;)e.push(...n),n=r.pop();this.map.length=0}}function DP(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if("enter"===a[0])"tableContent"===a[1].type&&n.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===a[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=n.length-1;n[e]="left"===n[e]?"center":"right"}}else if("tableDelimiterRow"===a[1].type)break}else"enter"===a[0]&&"tableDelimiterRow"===a[1].type&&(r=!0);t+=1}return n}function RP(e,t,r){const n=this;let a,o=0,i=0;return function(e){let t=n.events.length-1;for(;t>-1;){const e=n.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const a=t>-1?n.events[t][1].type:null,o="tableHead"===a||"tableRow"===a?O:s;return o===O&&n.parser.lazy[n.now().line]?r(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(a=!0,i+=1),l(e)}(t)}function l(t){return null===t?r(t):mT(t)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):r(t):bT(t)?IC(e,l,"whitespace")(t):(i+=1,a&&(a=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||gT(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(t):(e.enter("tableDelimiterRow"),a=!1,bT(t)?IC(e,p,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(a=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){return bT(t)?IC(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(i+=1,m(t)):null===t||mT(t)?v(t):y(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):y(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(t))}function b(t){return bT(t)?IC(e,v,"whitespace")(t):v(t)}function v(r){return 124===r?p(r):(null===r||mT(r))&&a&&o===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(r)):y(r)}function y(e){return r(e)}function O(t){return e.enter("tableRow"),w(t)}function w(r){return 124===r?(e.enter("tableCellDivider"),e.consume(r),e.exit("tableCellDivider"),w):null===r||mT(r)?(e.exit("tableRow"),t(r)):bT(r)?IC(e,w,"whitespace")(r):(e.enter("data"),x(r))}function x(t){return null===t||124===t||gT(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?k:x)}function k(t){return 92===t||124===t?(e.consume(t),x):x(t)}}function NP(e,t){let r,n,a,o=-1,i=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new MP;for(;++o<e.length;){const h=e[o],f=h[1];"enter"===h[0]?"tableHead"===f.type?(u=!1,0!==d&&(LP(p,t,d,r,n),n=void 0,d=0),r={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(o,0,[["enter",r,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(i=!0,a=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,n={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(o,0,[["enter",n,t]])),s="tableDelimiterRow"===f.type?2:n?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(i?i=!1:(0!==l[1]&&(c[0]=c[1],a=IP(p,t,l,s,void 0,a)),l=c,c=[l[1],o,0,0])):(i=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],a=IP(p,t,l,s,void 0,a),l=[0,0,0,0]),c[2]=o)):"tableHead"===f.type?(u=!0,d=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=o,0!==l[1]?(c[0]=c[1],a=IP(p,t,l,s,o,a)):0!==c[1]&&(a=IP(p,t,c,s,o,a)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=o)}for(0!==d&&LP(p,t,d,r,n),p.consume(t.events),o=-1;++o<t.events.length;){const e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=DP(t.events,o))}return e}function IP(e,t,r,n,a,o){const i=1===n?"tableHeader":2===n?"tableDelimiter":"tableData";0!==r[0]&&(o.end=Object.assign({},jP(t.events,r[0])),e.add(r[0],0,[["exit",o,t]]));const s=jP(t.events,r[1]);if(o={type:i,start:Object.assign({},s),end:Object.assign({},s)},e.add(r[1],0,[["enter",o,t]]),0!==r[2]){const a=jP(t.events,r[2]),o=jP(t.events,r[3]),i={type:"tableContent",start:Object.assign({},a),end:Object.assign({},o)};if(e.add(r[2],0,[["enter",i,t]]),2!==n){const n=t.events[r[2]],a=t.events[r[3]];if(n[1].end=Object.assign({},a[1].end),n[1].type="chunkText",n[1].contentType="text",r[3]>r[2]+1){const t=r[2]+1,n=r[3]-r[2]-1;e.add(t,n,[])}}e.add(r[3]+1,0,[["exit",i,t]])}return void 0!==a&&(o.end=Object.assign({},jP(t.events,a)),e.add(a,0,[["exit",o,t]]),o=void 0),o}function LP(e,t,r,n,a){const o=[],i=jP(t.events,r);a&&(a.end=Object.assign({},i),o.push(["exit",a,t])),n.end=Object.assign({},i),o.push(["exit",n,t]),e.add(r+1,0,o)}function jP(e,t){const r=e[t],n="enter"===r[0]?"start":"end";return r[1][n]}const BP={tokenize:function(e,t,r){const n=this;return function(t){return null===n.previous&&n._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):r(t)};function a(t){return gT(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):r(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):r(t)}function i(n){return mT(n)?t(n):bT(n)?e.check({tokenize:UP},t,r)(n):r(n)}}};function UP(e,t,r){return IC(e,(function(e){return null===e?r(e):t(e)}),"whitespace")}const FP={};function QP(e){const t=e||FP,r=this.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(function(e){return pC([{text:kC},{document:{91:{tokenize:AP,continuation:{tokenize:CP},exit:PP}},text:{91:{tokenize:TP},93:{add:"after",tokenize:_P,resolveTo:EP}}},$P(e),{flow:{null:{tokenize:RP,resolveAll:NP}}},{text:{91:BP}}])}(t)),a.push([{transforms:[$T],enter:{literalAutolink:_T,literalAutolinkEmail:ET,literalAutolinkHttp:ET,literalAutolinkWww:ET},exit:{literalAutolink:PT,literalAutolinkEmail:CT,literalAutolinkHttp:TT,literalAutolinkWww:AT}},{enter:{gfmFootnoteDefinition:IT,gfmFootnoteDefinitionLabelString:LT,gfmFootnoteCall:UT,gfmFootnoteCallString:FT},exit:{gfmFootnoteDefinition:BT,gfmFootnoteDefinitionLabelString:jT,gfmFootnoteCall:zT,gfmFootnoteCallString:QT}},{canContainEols:["delete"],enter:{strikethrough:WT},exit:{strikethrough:XT}},{enter:{table:KA,tableData:rC,tableHeader:rC,tableRow:eC},exit:{codeText:nC,table:JA,tableData:tC,tableHeader:tC,tableRow:tC}},{exit:{taskListCheckValueChecked:iC,taskListCheckValueUnchecked:iC,paragraph:sC}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:kT,notInConstruct:ST},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:kT,notInConstruct:ST},{character:":",before:"[ps]",after:"\\/",inConstruct:kT,notInConstruct:ST}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:HT,footnoteReference:qT}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ZT}],handlers:{delete:GT}},oC(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:lC}}]}}(t))}const zP={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),IC(e,t,"linePrefix");e.consume(r)}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,a(t)}function a(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):mT(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),a)}}},qP={tokenize:function(e){const t=this,r=[];let n,a,o,i=0;return s;function s(n){if(i<r.length){const a=r[i];return t.containerState=a[1],e.attempt(a[0].continuation,l,c)(n)}return c(n)}function l(e){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&v();const r=t.events.length;let a,o=r;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){a=t.events[o][1].end;break}b(i);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},a),s++;return cC(t.events,o+1,0,t.events.slice(r)),t.events.length=s,c(e)}return s(e)}function c(a){if(i===r.length){if(!n)return p(a);if(n.currentConstruct&&n.currentConstruct.concrete)return f(a);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(HP,u,d)(a)}function u(e){return n&&v(),b(i),p(e)}function d(e){return t.parser.lazy[t.now().line]=i!==r.length,o=t.now().offset,f(e)}function p(r){return t.containerState={},e.attempt(HP,h,f)(r)}function h(e){return i++,r.push([t.currentConstruct,t.containerState]),p(e)}function f(r){return null===r?(n&&v(),b(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:n}),m(r))}function m(r){return null===r?(g(e.exit("chunkFlow"),!0),b(0),void e.consume(r)):mT(r)?(e.consume(r),g(e.exit("chunkFlow")),i=0,t.interrupt=void 0,s):(e.consume(r),m)}function g(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=a,a&&(a.next=e),a=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<o&&(!n.events[e][1].end||n.events[e][1].end.offset>o))return;const r=t.events.length;let a,s,l=r;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(a){s=t.events[l][1].end;break}a=!0}for(b(i),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;cC(t.events,l+1,0,t.events.slice(r)),t.events.length=e}}function b(n){let a=r.length;for(;a-- >n;){const n=r[a];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function v(){n.write([null]),a=void 0,n=void 0,t.containerState._closeFlow=void 0}}},HP={tokenize:function(e,t,r){return IC(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},VP={tokenize:function(e){const t=this,r=e.attempt(LC,(function(n){if(null!==n)return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r;e.consume(n)}),e.attempt(this.parser.constructs.flowInitial,n,IC(e,e.attempt(this.parser.constructs.flow,n,e.attempt(GC,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}},ZP={resolveAll:YP()},WP=GP("string"),XP=GP("text");function GP(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],a=t.attempt(n,o,i);return o;function o(e){return l(e)?a(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=n[e];let a=-1;if(t)for(;++a<t.length;){const e=t[a];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:YP("text"===e?KP:void 0)}}function YP(e){return function(t,r){let n,a=-1;for(;++a<=t.length;)void 0===n?t[a]&&"data"===t[a][1].type&&(n=a,a++):t[a]&&"data"===t[a][1].type||(a!==n+2&&(t[n][1].end=t[a-1][1].end,t.splice(n+2,a-n-2),a=n+2),n=void 0);return e?e(t,r):t}}function KP(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],a=t.sliceStream(n);let o,i=a.length,s=-1,l=0;for(;i--;){const e=a[i];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)o=!0,l++;else if(-1!==e){i++;break}}if(l){const a={type:r===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-l,offset:n.end.offset-l,_index:n.start._index+i,_bufferIndex:i?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},a.start),n.start.offset===n.end.offset?Object.assign(n,a):(e.splice(r,0,["enter",a,t],["exit",a,t]),r+=2)}r++}return e}function JP(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const a={},o=[];let i=[],s=[];const l={consume:function(e){mT(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,b()):-1!==e&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===i[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=e},enter:function(e,t){const r=t||{};return r.type=e,r.start=p(),c.events.push(["enter",r,c]),s.push(r),r},exit:function(e){const t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t},attempt:m((function(e,t){g(e,t.from)})),check:m(f),interrupt:m(f,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const o=e[r];let i;if("string"==typeof o)i=o;else switch(o){case-5:i="\r";break;case-4:i="\n";break;case-3:i="\r\n";break;case-2:i=t?" ":"\t";break;case-1:if(!t&&a)continue;i=" ";break;default:i=String.fromCharCode(o)}a=-2===o,n.push(i)}return n.join("")}(d(e),t)},now:p,defineSkip:function(e){a[e.line]=e.column,b()},write:function(e){return i=uC(i,e),function(){let e;for(;n._index<i.length;){const t=i[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)h(t.charCodeAt(n._bufferIndex));else h(t)}}(),null!==i[i.length-1]?[]:(g(t,0),c.events=MC(o,c.events,c),c.events)}};let u=t.tokenize.call(c,l);return t.resolveAll&&o.push(t),c;function d(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;let i;if(r===a)i=[e[r].slice(n,o)];else{if(i=e.slice(r,a),n>-1){const e=i[0];"string"==typeof e?i[0]=e.slice(n):i.shift()}o>0&&i.push(e[a].slice(0,o))}return i}(i,e)}function p(){const{line:e,column:t,offset:r,_index:a,_bufferIndex:o}=n;return{line:e,column:t,offset:r,_index:a,_bufferIndex:o}}function h(e){u=u(e)}function f(e,t){t.restore()}function m(e,t){return function(r,a,o){let i,u,d,h;return Array.isArray(r)?f(r):"tokenize"in r?f([r]):function(e){return function(t){const r=null!==t&&e[t],n=null!==t&&e.null;return f([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function f(e){return i=e,u=0,0===e.length?o:m(e[u])}function m(e){return function(r){return h=function(){const e=p(),t=c.previous,r=c.currentConstruct,a=c.events.length,o=Array.from(s);return{restore:function(){n=e,c.previous=t,c.currentConstruct=r,c.events.length=a,s=o,b()},from:a}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?v():e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,g,v)(r)}}function g(t){return e(d,h),a}function v(e){return h.restore(),++u<i.length?m(i[u]):o}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&cC(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}const e$={42:OP,43:OP,45:OP,48:OP,49:OP,50:OP,51:OP,52:OP,53:OP,54:OP,55:OP,56:OP,57:OP,62:jC},t$={91:rP},r$={[-2]:zC,[-1]:zC,32:zC},n$={35:oP,42:yP,45:[kP,yP],60:lP,61:kP,95:yP,96:QC,126:QC},a$={38:UC,92:BC},o$={[-5]:vP,[-4]:vP,[-3]:vP,33:gP,38:UC,42:DC,60:[NC,dP],91:bP,92:[aP,BC],93:pP,95:DC,96:HC},i$={null:[DC,ZP]},s$=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:t$,disable:{null:[]},document:e$,flow:n$,flowInitial:r$,insideSpan:i$,string:a$,text:o$},Symbol.toStringTag,{value:"Module"})),l$=/[\0\t\n\r]/g;function c$(e){return e&&"object"==typeof e?"position"in e||"type"in e?d$(e.position):"start"in e||"end"in e?d$(e):"line"in e||"column"in e?u$(e):"":""}function u$(e){return p$(e&&e.line)+":"+p$(e&&e.column)}function d$(e){return u$(e&&e.start)+"-"+u$(e&&e.end)}function p$(e){return e&&"number"==typeof e?e:1}const h$={}.hasOwnProperty;function f$(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(v),autolinkProtocol:u,autolinkEmail:u,atxHeading:a(m),blockQuote:a((function(){return{type:"blockquote",children:[]}})),characterEscape:u,characterReference:u,codeFenced:a(f),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(f,o),codeText:a((function(){return{type:"inlineCode",value:""}}),o),codeTextData:u,data:u,codeFlowValue:u,definition:a((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:a(g),hardBreakTrailing:a(g),htmlFlow:a(b,o),htmlFlowData:u,htmlText:a(b,o),htmlTextData:u,image:a((function(){return{type:"image",title:null,url:"",alt:null}})),label:o,link:a(v),listItem:a((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:a(y,(function(){this.data.expectingFirstListItemValue=!0})),listUnordered:a(y),paragraph:a((function(){return{type:"paragraph",children:[]}})),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(m),strong:a((function(){return{type:"strong",children:[]}})),thematicBreak:a((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:s(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}},autolink:s(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){const t=this.sliceSerialize(e),r=this.data.characterReferenceType;let n;r?(n=DA(t,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):n=MA(t);this.stack[this.stack.length-1].value+=n},characterReference:function(e){this.stack.pop().position.end=m$(e.end)},codeFenced:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0})),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:d,data:d,definition:s(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=NT(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(p),hardBreakTrailing:s(p),htmlFlow:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:d,htmlText:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:d,image:s((function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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})),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===r.type){const t=e.children;r.children=t}else r.alt=t},labelText:function(e){const t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=NA(t),r.identifier=NT(t).toLowerCase()},lineEnding:function(e){const r=this.stack[this.stack.length-1];if(this.data.atHardBreak)return r.children[r.children.length-1].position.end=m$(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(u.call(this,e),d.call(this,e))},link:s((function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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})),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=NT(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s((function(){this.data.setextHeadingSlurpLineEnding=void 0})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};g$(t,(e||{}).mdastExtensions||[]);const r={};return function(e){let a={type:"root",children:[]};const s={stack:[a],tokenStack:[],config:t,enter:i,exit:l,buffer:o,resume:c,data:r},u=[];let d=-1;for(;++d<e.length;)"listOrdered"!==e[d][1].type&&"listUnordered"!==e[d][1].type||("enter"===e[d][0]?u.push(d):d=n(e,u.pop(),d));for(d=-1;++d<e.length;){const r=t[e[d][0]];h$.call(r,e[d][1].type)&&r[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},s),e[d][1])}if(s.tokenStack.length>0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||v$).call(s,void 0,e[0])}for(a.position={start:m$(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:m$(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)a=t.transforms[d](a)||a;return a};function n(e,t,r){let n,a,o,i,s=t-1,l=-1,c=!1;for(;++s<=r;){const t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,i=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!n||i||l||o||(o=s),i=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:i=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let i=s;for(a=void 0;i--;){const t=e[i];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;a&&(e[a][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",a=i}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!a||o<a)&&(n._spread=!0),n.end=Object.assign({},a?e[a][1].start:t[1].end),e.splice(a||s,0,["exit",n,t[2]]),s++,r++}if("listItemPrefix"===t[1].type){const a={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};n=a,e.splice(s,0,["enter",a,t[2]]),s++,r++,o=void 0,i=!0}}}return e[t][1]._spread=c,r}function a(e,t){return function(r){i.call(this,e(r),r),t&&t.call(this,r)}}function o(){this.stack.push({type:"fragment",children:[]})}function i(e,t,r){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:m$(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+c$({start:e.start,end:e.end})+"): it’s not open");n[0].type!==e.type&&(t?t.call(this,e,n[0]):(n[1]||v$).call(this,e,n[0])),r.position.end=m$(e.end)}function c(){return pA(this.stack.pop())}function u(e){const t=this.stack[this.stack.length-1].children;let r=t[t.length-1];r&&"text"===r.type||(r={type:"text",value:""},r.position={start:m$(e.start),end:void 0},t.push(r)),this.stack.push(r)}function d(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=m$(e.end)}function p(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function f(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function b(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(r)(function(e){for(;!WC(e););return e}(function(e){const t={defined:[],lazy:{},constructs:pC([s$,...(e||{}).extensions||[]]),content:r(zP),document:r(qP),flow:r(VP),string:r(WP),text:r(XP)};return t;function r(e){return function(r){return JP(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(a,o,i){const s=[];let l,c,u,d,p;for(a=r+("string"==typeof a?a.toString():new TextDecoder(o||void 0).decode(a)),u=0,r="",n&&(65279===a.charCodeAt(0)&&u++,n=void 0);u<a.length;){if(l$.lastIndex=u,l=l$.exec(a),d=l&&void 0!==l.index?l.index:a.length,p=a.charCodeAt(d),!l){r=a.slice(u);break}if(10===p&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<d&&(s.push(a.slice(u,d)),t+=d-u),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return i&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))}function m$(e){return{line:e.line,column:e.column,offset:e.offset}}function g$(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?g$(e,n):b$(e,n)}}function b$(e,t){let r;for(r in t)if(h$.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function v$(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+c$({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+c$({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+c$({start:t.start,end:t.end})+") is still open")}function y$(e){const t=this;t.parser=function(r){return f$(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function O$(e,t){const r=t.referenceType;let n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),o=a[0];o&&"text"===o.type?o.value="["+o.value:a.unshift({type:"text",value:"["});const i=a[a.length-1];return i&&"text"===i.type?i.value+=n:a.push({type:"text",value:n}),a}function w$(e){const t=e.spread;return null==t?e.children.length>1:t}function x$(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const o=[];for(;n;)o.push(k$(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return o.push(k$(t.slice(a),a>0,!1)),o.join("")}function k$(e,t,r){let n=0,a=e.length;if(t){let t=e.codePointAt(n);for(;9===t||32===t;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}const S$={blockquote:function(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){const r=t.value?t.value+"\n":"",n={};t.lang&&(n.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a},delete:function(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:function(e,t){const r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=PC(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i,s=e.footnoteCounts.get(n);void 0===s?(s=0,e.footnoteOrder.push(n),i=e.footnoteOrder.length):i=o+1,s+=1,e.footnoteCounts.set(n,s);const l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}},imageReference:function(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return O$(e,t);const a={src:PC(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(a.title=n.title);const o={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const r={src:PC(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return O$(e,t);const a={href:PC(n.url||"")};null!==n.title&&void 0!==n.title&&(a.title=n.title);const o={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const r={href:PC(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,r){const n=e.all(t),a=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=w$(r[n])}return t}(r):w$(t),o={},i=[];if("boolean"==typeof t.checked){const e=n[0];let r;e&&"element"===e.type&&"p"===e.tagName?r=e:(r={type:"element",tagName:"p",properties:{},children:[]},n.unshift(r)),r.children.length>0&&r.children.unshift({type:"text",value:" "}),r.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const e=n[s];(a||0!==s||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||a?i.push(e):i.push(...e.children)}const l=n[n.length-1];l&&(a||"element"!==l.type||"p"!==l.tagName)&&i.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,children:i};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const r={},n=e.all(t);let a=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++a<n.length;){const e=n[a];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),a.push(r)}if(r.length>0){const n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=V_(t.children[1]),i=H_(t.children[t.children.length-1]);o&&i&&(n.position={start:o,end:i}),a.push(n)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){const n=r?r.children:void 0,a=0===(n?n.indexOf(t):1)?"th":"td",o=r&&"table"===r.type?r.align:void 0,i=o?o.length:t.children.length;let s=-1;const l=[];for(;++s<i;){const r=t.children[s],n={},i=o?o[s]:void 0;i&&(n.align=i);let c={type:"element",tagName:a,properties:n,children:[]};r&&(c.children=e.all(r),e.patch(r,c),c=e.applyData(r,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const r={type:"text",value:x$(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:_$,yaml:_$,definition:_$,footnoteDefinition:_$};function _$(){}function E$(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function T$(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const A$={}.hasOwnProperty,C$={};function P$(e,t){e.position&&(t.position=W_(e))}function $$(e,t){let r=t;if(e&&e.data){const t=e.data.hName,n=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:"children"in r?r.children:[r]}),"element"===r.type&&a&&Object.assign(r.properties,XO(a)),"children"in r&&r.children&&null!=n&&(r.children=n)}return r}function M$(e,t){const r=t.data||{},n=!("value"in t)||A$.call(r,"hProperties")||A$.call(r,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,n),e.applyData(t,n)}function D$(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:"\n"});++n<e.length;)n&&r.push({type:"text",value:"\n"}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function R$(e){let t=0,r=e.charCodeAt(t);for(;9===r||32===r;)t++,r=e.charCodeAt(t);return e.slice(t)}function N$(e,t){const r=function(e,t){const r=t||C$,n=new Map,a=new Map,o=new Map,i={...S$,...r.handlers},s={all:function(e){const t=[];if("children"in e){const r=e.children;let n=-1;for(;++n<r.length;){const a=s.one(r[n],e);if(a){if(n&&"break"===r[n-1].type&&(Array.isArray(a)||"text"!==a.type||(a.value=R$(a.value)),!Array.isArray(a)&&"element"===a.type)){const e=a.children[0];e&&"text"===e.type&&(e.value=R$(e.value))}Array.isArray(a)?t.push(...a):t.push(a)}}}return t},applyData:$$,definitionById:n,footnoteById:a,footnoteCounts:o,footnoteOrder:[],handlers:i,one:function(e,t){const r=e.type,n=s.handlers[r];if(A$.call(s.handlers,r)&&n)return n(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(r)){if("children"in e){const{children:t,...r}=e,n=XO(r);return n.children=s.all(e),n}return XO(e)}return(s.options.unknownHandler||M$)(s,e,t)},options:r,patch:P$,wrap:D$};return pw(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?n:a,r=String(e.identifier).toUpperCase();t.has(r)||t.set(r,e)}})),s}(e,t),n=r.one(e,void 0),a=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||E$,n=e.options.footnoteBackLabel||T$,a=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const a=e.footnoteById.get(e.footnoteOrder[l]);if(!a)continue;const o=e.all(a),i=String(a.identifier).toUpperCase(),c=PC(i.toLowerCase());let u=0;const d=[],p=e.footnoteCounts.get(i);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof r?r:r(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof n?n:n(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...d)}else o.push(...d);const f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(o,!0)};e.patch(a,f),s.push(f)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...XO(i),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(r),o=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&o.children.push({type:"text",value:"\n"},a),o}function I$(e,t){return e&&"run"in e?async function(r,n){const a=N$(r,{file:n,...t});await e.run(a,n)}:function(r,n){return N$(r,{file:n,...t||e})}}function L$(e){const t=this;t.compiler=function(r){return HA(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function j$(e){if(e)throw e}function B$(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var U$,F$,Q$=function(){if(F$)return U$;F$=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,a=e.call(r,"constructor"),o=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!a&&!o)return!1;for(n in r);return void 0===n||e.call(r,n)},i=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return U$=function e(){var t,r,n,l,c,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(f&&l&&(o(l)||(c=a(l)))?(c?(c=!1,u=n&&a(n)?n:[]):u=n&&o(n)?n:{},i(d,{name:r,newValue:e(f,u,l)})):void 0!==l&&i(d,{name:r,newValue:l}));return d},U$}();const z$=B$(Q$);function q$(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}class H$ extends Error{constructor(e,t,r){super(),"string"==typeof t&&(r=t,t=void 0);let n="",a={},o=!1;if(t&&(a="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?n=e:!a.cause&&e&&(o=!0,n=e.message,a.cause=e),!a.ruleId&&!a.source&&"string"==typeof r){const e=r.indexOf(":");-1===e?a.ruleId=r:(a.source=r.slice(0,e),a.ruleId=r.slice(e+1))}if(!a.place&&a.ancestors&&a.ancestors){const e=a.ancestors[a.ancestors.length-1];e&&(a.place=e.position)}const i=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=i?i.line:void 0,this.name=c$(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&"string"==typeof a.cause.stack?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}H$.prototype.file="",H$.prototype.name="",H$.prototype.reason="",H$.prototype.message="",H$.prototype.stack="",H$.prototype.column=void 0,H$.prototype.line=void 0,H$.prototype.ancestors=void 0,H$.prototype.cause=void 0,H$.prototype.fatal=void 0,H$.prototype.place=void 0,H$.prototype.ruleId=void 0,H$.prototype.source=void 0;const V$=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Y$(e);let r,n=0,a=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(r){n=o+1;break}}else a<0&&(r=!0,a=o+1);return a<0?"":e.slice(n,a)}if(t===e)return"";let i=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(r){n=o+1;break}}else i<0&&(r=!0,i=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(a=o):(s=-1,a=i));return n===a?a=i:a<0&&(a=e.length),e.slice(n,a)},Z$=function(e){if(Y$(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.codePointAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.codePointAt(0)?"/":".":1===r&&47===e.codePointAt(0)?"//":e.slice(0,r)},W$=function(e){Y$(e);let t,r=e.length,n=-1,a=0,o=-1,i=0;for(;r--;){const s=e.codePointAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?o<0?o=r:1!==i&&(i=1):o>-1&&(i=-1);else if(t){a=r+1;break}}return o<0||n<0||0===i||1===i&&o===n-1&&o===a+1?"":e.slice(o,n)},X$=function(...e){let t,r=-1;for(;++r<e.length;)Y$(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){Y$(e);const t=47===e.codePointAt(0);let r=function(e,t){let r,n,a="",o=0,i=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)r=e.codePointAt(l);else{if(47===r)break;r=47}if(47===r){if(i===l-1||1===s);else if(i!==l-1&&2===s){if(a.length<2||2!==o||46!==a.codePointAt(a.length-1)||46!==a.codePointAt(a.length-2))if(a.length>2){if(n=a.lastIndexOf("/"),n!==a.length-1){n<0?(a="",o=0):(a=a.slice(0,n),o=a.length-1-a.lastIndexOf("/")),i=l,s=0;continue}}else if(a.length>0){a="",o=0,i=l,s=0;continue}t&&(a=a.length>0?a+"/..":"..",o=2)}else a.length>0?a+="/"+e.slice(i+1,l):a=e.slice(i+1,l),o=l-i-1;i=l,s=0}else 46===r&&s>-1?s++:s=-1}return a}(e,!t);return 0!==r.length||t||(r="."),r.length>0&&47===e.codePointAt(e.length-1)&&(r+="/"),t?"/"+r:r}(t)},G$="/";function Y$(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const K$=function(){return"/"};function J$(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const eM=["history","path","basename","stem","extname","dirname"];class tM{constructor(e){let t;t=e?J$(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=K$(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r,n=-1;for(;++n<eM.length;){const e=eM[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)eM.includes(r)||(this[r]=t[r])}get basename(){return"string"==typeof this.path?V$(this.path):void 0}set basename(e){nM(e,"basename"),rM(e,"basename"),this.path=X$(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?Z$(this.path):void 0}set dirname(e){aM(this.basename,"dirname"),this.path=X$(e||"",this.basename)}get extname(){return"string"==typeof this.path?W$(this.path):void 0}set extname(e){if(rM(e,"extname"),aM(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=X$(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){J$(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!J$(e)){const t=new 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("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.codePointAt(r)&&50===t.codePointAt(r+1)){const e=t.codePointAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),nM(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?V$(this.path,this.extname):void 0}set stem(e){nM(e,"stem"),rM(e,"stem"),this.path=X$(this.dirname||"",e+(this.extname||""))}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=void 0,n}message(e,t,r){const n=new H$(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function rM(e,t){if(e&&e.includes(G$))throw new Error("`"+t+"` cannot be a path: did not expect `"+G$+"`")}function nM(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function aM(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const oM=function(e){const t=this.constructor.prototype,r=t[e],n=function(){return r.apply(n,arguments)};Object.setPrototypeOf(n,t);const a=Object.getOwnPropertyNames(r);for(const e of a){const t=Object.getOwnPropertyDescriptor(r,e);t&&Object.defineProperty(n,e,t)}return n},iM={}.hasOwnProperty;class sM extends oM{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=function(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function a(o,...i){const s=e[++r];let l=-1;if(o)n(o);else{for(;++l<t.length;)null!==i[l]&&void 0!==i[l]||(i[l]=t[l]);t=i,s?function(e,t){let r;return function(...t){const o=e.length>t.length;let i;o&&t.push(n);try{i=e.apply(this,t)}catch(e){if(o&&r)throw e;return n(e)}o||(i&&i.then&&"function"==typeof i.then?i.then(a,n):i instanceof Error?n(i):a(i))};function n(e,...n){r||(r=!0,t(e,...n))}function a(e){n(null,e)}}(s,a)(...i):n(null,...i)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}()}copy(){const e=new sM;let t=-1;for(;++t<this.attachers.length;){const r=this.attachers[t];e.use(...r)}return e.data(z$(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(dM("data",this.frozen),this.namespace[e]=t,this):iM.call(this.namespace,e)&&this.namespace[e]||void 0:e?(dM("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...r]=this.attachers[this.freezeIndex];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const n=t.call(e,...r);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=fM(e),r=this.parser||this.Parser;return cM("parse",r),r(String(t),t)}process(e,t){const r=this;return this.freeze(),cM("process",this.parser||this.Parser),uM("process",this.compiler||this.Compiler),t?n(void 0,t):new Promise(n);function n(n,a){const o=fM(e),i=r.parse(o);function s(e,r){e||!r?a(e):n?n(r):t(void 0,r)}r.run(i,o,(function(e,t,n){if(e||!t||!n)return s(e);const a=t,o=r.stringify(a,n);var i;"string"==typeof(i=o)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(i)?n.value=o:n.result=o,s(e,n)}))}}processSync(e){let t,r=!1;return this.freeze(),cM("processSync",this.parser||this.Parser),uM("processSync",this.compiler||this.Compiler),this.process(e,(function(e,n){r=!0,j$(e),t=n})),hM("processSync","process",r),t}run(e,t,r){pM(e),this.freeze();const n=this.transformers;return r||"function"!=typeof t||(r=t,t=void 0),r?a(void 0,r):new Promise(a);function a(a,o){const i=fM(t);n.run(e,i,(function(t,n,i){const s=n||e;t?o(t):a?a(s):r(void 0,s,i)}))}}runSync(e,t){let r,n=!1;return this.run(e,t,(function(e,t){j$(e),r=t,n=!0})),hM("runSync","run",n),r}stringify(e,t){this.freeze();const r=fM(t),n=this.compiler||this.Compiler;return uM("stringify",n),pM(e),n(e,r)}use(e,...t){const r=this.attachers,n=this.namespace;if(dM("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?i(e):o(e)}return this;function a(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;s(t,r)}else o(e)}}function o(e){if(!("plugins"in e)&&!("settings"in e))throw new 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");i(e.plugins),e.settings&&(n.settings=z$(!0,n.settings,e.settings))}function i(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)a(e[t])}}function s(e,t){let n=-1,a=-1;for(;++n<r.length;)if(r[n][0]===e){a=n;break}if(-1===a)r.push([e,...t]);else if(t.length>0){let[n,...o]=t;const i=r[a][1];q$(i)&&q$(n)&&(n=z$(!0,i,n)),r[a]=[e,n,...o]}}}}const lM=(new sM).freeze();function cM(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function uM(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function dM(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function pM(e){if(!q$(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function hM(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function fM(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new tM(e)}const mM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],gM=["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"],bM=["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"],vM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],yM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function OM(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 wM(e){const t=e.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},n=e.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const a={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[n,o,a,i,r,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[n,s,o,a,i,r]}}]}}var xM="[0-9](_*[0-9])*",kM=`\\.(${xM})`,SM="[0-9a-fA-F](_*[0-9a-fA-F])*",_M={className:"number",variants:[{begin:`(\\b(${xM})((${kM})|\\.)?|(${kM}))[eE][+-]?(${xM})[fFdD]?\\b`},{begin:`\\b(${xM})((${kM})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${kM})[fFdD]?\\b`},{begin:`\\b(${xM})[fFdD]\\b`},{begin:`\\b0[xX]((${SM})\\.?|(${SM})?\\.(${SM}))[pP][+-]?(${xM})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${SM})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function EM(e,t,r){return-1===r?"":e.replace(t,(n=>EM(e,t,r-1)))}const TM="[A-Za-z$_][0-9A-Za-z$_]*",AM=["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"],CM=["true","false","null","undefined","NaN","Infinity"],PM=["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"],$M=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],MM=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],DM=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],RM=[].concat(MM,PM,$M);var NM="[0-9](_*[0-9])*",IM=`\\.(${NM})`,LM="[0-9a-fA-F](_*[0-9a-fA-F])*",jM={className:"number",variants:[{begin:`(\\b(${NM})((${IM})|\\.)?|(${IM}))[eE][+-]?(${NM})[fFdD]?\\b`},{begin:`\\b(${NM})((${IM})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${IM})[fFdD]?\\b`},{begin:`\\b(${NM})[fFdD]\\b`},{begin:`\\b0[xX]((${LM})\\.?|(${LM})?\\.(${LM}))[pP][+-]?(${NM})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${LM})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const BM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],UM=["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"],FM=["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"],QM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],zM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),qM=FM.concat(QM),HM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],VM=["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"],ZM=["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"],WM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],XM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function GM(e){return e?"string"==typeof e?e:e.source:null}function YM(e){return KM("(?=",e,")")}function KM(...e){return e.map((e=>GM(e))).join("")}function JM(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>GM(e))).join("|")+")"}const eD=e=>KM(/\b/,e,/\w$/.test(e)?/\b/:/\B/),tD=["Protocol","Type"].map(eD),rD=["init","self"].map(eD),nD=["Any","Self"],aD=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],oD=["false","nil","true"],iD=["assignment","associativity","higherThan","left","lowerThan","none","right"],sD=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],lD=["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"],cD=JM(/[/=\-+!*%<>&|^~?]/,/[\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]/),uD=JM(cD,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),dD=KM(cD,uD,"*"),pD=JM(/[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]/),hD=JM(pD,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),fD=KM(pD,hD,"*"),mD=KM(/[A-Z]/,hD,"*"),gD=["attached","autoclosure",KM(/convention\(/,JM("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",KM(/objc\(/,fD,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],bD=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],vD="[A-Za-z$_][0-9A-Za-z$_]*",yD=["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"],OD=["true","false","null","undefined","NaN","Infinity"],wD=["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"],xD=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],kD=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],SD=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],_D=[].concat(kD,wD,xD);function ED(e){const t=e.regex,r=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),i=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,s,i,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,o,s,i]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},n,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(r,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var TD,AD;const CD={bash:function(e){const t=e.regex,r={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,a]};a.contains.push(i);const s={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,r]},l=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","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","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"]},contains:[l,e.SHEBANG(),c,s,e.HASH_COMMENT_MODE,o,{match:/(\/[a-z._-]+)+/},i,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},r]}},c:function(e){const t=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",o="("+n+"|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",i={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={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"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={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(s,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0},d=t.optional(a)+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","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],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"},h=[c,i,r,e.C_BLOCK_COMMENT_MODE,l,s],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,s,l,i,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,s,l,i]}]},i,r,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:p,disableAutodetect:!0,illegal:"</",contains:[].concat(f,m,h,[c,{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}},clojure:function(e){const t="a-zA-Z_\\-!.?+*=<>&'",r="[#]?["+t+"]["+t+"0-9/;:$#]*",n="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",a={$pattern:r,built_in:n+" 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"},o={begin:r,relevance:0},i={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}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",match:/,/,relevance:0},d=e.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},h={begin:"\\[|(#::?"+r+")?\\{",end:"[\\]\\}]",relevance:0},f={className:"symbol",begin:"[:]{1,2}"+r},m={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},b={keywords:a,className:"name",begin:r,relevance:0,starts:g},v=[u,m,s,l,c,d,f,h,i,p,o],y={beginKeywords:n,keywords:{$pattern:r,keyword:n},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:r,relevance:0,excludeEnd:!0,endsParent:!0}].concat(v)};return m.contains=[y,b,g],g.contains=v,h.contains=v,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[u,m,s,l,c,d,f,h,i,p]}},cpp:function(e){const t=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",i={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={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"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={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(s,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["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"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","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"]},h={className:"function.dispatch",relevance:0,keywords:{_hint:["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"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},f=[h,c,i,r,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:f.concat([{begin:/\(/,end:/\)/,keywords:p,contains:f.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,s,l,i,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,s,l,i]}]},i,r,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,h,f,[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)\\s*<(?!<)",end:">",keywords:p,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},csharp:function(e){const t={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"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},r=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},a={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},o=e.inherit(a,{illegal:/\n/}),i={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(i,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},i]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});i.contains=[c,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[c,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},r]},h=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",f={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{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"}},d,n,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},r,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[r,p,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:"("+h+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}},css:function(e){const t=e.regex,r=(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/},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_-]*/}}))(e),n=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},r.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},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+bM.join("|")+")"},{begin:":(:)?("+vM.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+yM.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...n,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...n,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:gM.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...n,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+mM.join("|")+")\\b"}]}},curl:B$(AD?TD:(AD=1,TD=function(e){const t={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},r={className:"number",variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:"curl",aliases:["curl"],keywords:"curl",case_insensitive:!0,contains:[{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},{className:"literal",begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},{className:"literal",begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},t,{className:"string",begin:/\\"/,relevance:0},{className:"string",begin:/'/,end:/'/,relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,{match:/(\/[a-z._-]+)+/}]}})),dart:function(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},r={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},n={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,t,r]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,r]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,r]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,r]}]};r.contains=[e.C_NUMBER_MODE,n];const a=["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"],o=a.map((e=>`${e}?`));return{name:"Dart",keywords:{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"],built_in:a.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[n,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]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}},diff:function(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\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:/$/}]}},docker:OM,dockerfile:OM,elixir:function(e){const t=e.regex,r="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",n={$pattern:r,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","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"],literal:["false","nil","true"]},a={className:"subst",begin:/#\{/,end:/\}/,keywords:n},o={match:/\\[\s\S]/,scope:"char.escape",relevance:0},i="[/|([{<\"']",s=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],l=e=>({scope:"char.escape",begin:t.concat(/\\/,e),relevance:0}),c={className:"string",begin:"~[a-z](?="+i+")",contains:s.map((t=>e.inherit(t,{contains:[l(t.end),o,a]})))},u={className:"string",begin:"~[A-Z](?="+i+")",contains:s.map((t=>e.inherit(t,{contains:[l(t.end)]})))},d={className:"regex",variants:[{begin:"~r(?="+i+")",contains:s.map((r=>e.inherit(r,{end:t.concat(r.end,/[uismxfU]{0,7}/),contains:[l(r.end),o,a]})))},{begin:"~R(?="+i+")",contains:s.map((r=>e.inherit(r,{end:t.concat(r.end,/[uismxfU]{0,7}/),contains:[l(r.end)]})))}]},p={className:"string",contains:[e.BACKSLASH_ESCAPE,a],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:/"/}]},h={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:r,endsParent:!0})]},f=e.inherit(h,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),m=[p,d,u,c,e.HASH_COMMENT_MODE,f,h,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[p,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:r+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},{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},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return a.contains=m,{name:"Elixir",aliases:["ex","exs"],keywords:n,contains:m}},go:function(e){const 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:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}},graphql:function(e){const 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/]}},haskell:function(e){const t="([0-9]_*)+",r="([0-9a-fA-F]_*)+",n="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",a={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},o={className:"meta",begin:/\{-#/,end:/#-\}/},i={className:"meta",begin:"^#",end:"$"},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[o,i,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),a]},c={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${r})(\\.(${r}))?([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:[l,a],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[l,a],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[s,l,a]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[o,s,l,{begin:/\{/,end:/\}/,contains:l.contains},a]},{beginKeywords:"default",end:"$",contains:[s,l,a]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,a]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[s,e.QUOTE_STRING_MODE,a]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},o,i,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,c,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${n}--+|--+(?!-)${n}`},a,{begin:"->|<-"}]}},html:ED,http:function(e){const t="HTTP/([32]|1\\.[01])",r={className:"attribute",begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},n=[r,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:n}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:n}},e.inherit(r,{relevance:0})]}},ini:wM,java:function(e){const t=e.regex,r="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=r+EM("(?:<"+r+"~~~(?:\\s*,\\s*"+r+"~~~)*>)?",/~~~/g,2),a={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"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},o={className:"meta",begin:"@"+r,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},i={className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:a,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+/,r],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,r),/\s+/,r,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,r],className:{1:"keyword",3:"title.class"},contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:a,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_M,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_M,o]}},javascript:function(e){const t=e.regex,r=TM,n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const r=e[0].length+e.index,n=e.input[r];if("<"===n||","===n)return void t.ignoreMatch();let a;">"===n&&(((e,{after:t})=>{const r="</"+e[0].slice(1);return-1!==e.input.indexOf(r,t)})(e,{after:r})||t.ignoreMatch());const o=e.input.substring(r);((a=o.match(/^\s*=/))||(a=o.match(/^\s+extends\s+/))&&0===a.index)&&t.ignoreMatch()}},a={$pattern:TM,keyword:AM,literal:CM,built_in:RM,"variable.language":DM},o="[0-9](_?[0-9])*",i=`\\.(${o})`,s="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${s})((${i})|\\.)?|(${i}))[eE][+-]?(${o})\\b`},{begin:`\\b(${s})\\b((${i})\\b|\\.)?|(${i})\\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},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},u={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},p={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},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]},m=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,d,p,h,{match:/\$\d+/},l];c.contains=m.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(m)});const g=[].concat(f,c.contains),b=g.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(g)}]),v={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b},y={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"}}]},O={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:{_:[...PM,...$M]}},w={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},x={match:t.concat(/\b/,(k=[...MM,"super","import"],t.concat("(?!",k.join("|"),")")),r,t.lookahead(/\(/)),className:"title.function",relevance:0};var k;const S={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},E="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",T={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(E)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:O},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,d,p,h,f,{match:/\$\d+/},l,O,{className:"attr",begin:r+t.lookahead(":"),relevance:0},T,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[f,e.REGEXP_MODE,{className:"function",begin:E,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},S,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},x,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},y,_,{match:/\$[(.]/}]}},json:function(e){const t=["true","false","null"],r={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}},kotlin:function(e){const 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"},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},n={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,n]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,n]}]};n.contains.push(o);const i={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},l=jM,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),u={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=u;return d.variants[1].contains=[u],u.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r,i,s,{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:[u,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,i,s,o,e.C_NUMBER_MODE]},c]},{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},i,s]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}},less:function(e){const t=(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/},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_-]*/}}))(e),r=qM,n="[\\w-]+",a="("+n+"|@\\{"+n+"\\})",o=[],i=[],s=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},l=function(e,t,r){return{className:e,begin:t,relevance:r}},c={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:UM.join(" ")},u={begin:"\\(",end:"\\)",contains:i,keywords:c,relevance:0};i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,u,l("variable","@@?"+n,10),l("variable","@\\{"+n+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:n+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=i.concat({begin:/\{/,end:/\}/,contains:o}),p={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(i)},h={begin:a+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+zM.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:i}}]},f={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:i,relevance:0}},m={className:"variable",variants:[{begin:"@"+n+"\\s*:",relevance:15},{begin:"@"+n}],starts:{end:"[;}]",returnEnd:!0,contains:d}},g={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:a,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,l("keyword","all\\b"),l("variable","@\\{"+n+"\\}"),{begin:"\\b("+BM.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",a,0),l("selector-id","#"+a),l("selector-class","\\."+a,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+FM.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+QM.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},b={begin:n+`:(:)?(${r.join("|")})`,returnBegin:!0,contains:[g]};return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,m,b,h,g,p,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:o}},lua:function(e){const t="\\[=*\\[",r="\\]=*\\]",n={begin:t,end:r,contains:["self"]},a=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,r,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local 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:a.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:a}].concat(a)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:r,contains:[n],relevance:5}])}},makefile:function(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},r={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},n={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]},a={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},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,r,n,a,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o]}},markdown:function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.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}]},n={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},a={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},o=e.inherit(n,{contains:[]}),i=e.inherit(a,{contains:[]});n.contains.push(i),a.contains.push(o);let s=[t,r];return[n,a,o,i].forEach((e=>{e.contains=e.contains.concat(s)})),s=s.concat(n,a),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},n,a,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{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}]},{begin:"^[-\\*]{3,}",end:"$"},r,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},matlab:function(e){const t="('|\\.')+",r={relevance:0,contains:[{begin:t}]};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:r},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:r},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:r},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:r},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}},nginx:function(e){const t=e.regex,r={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},n={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,r],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[r]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,r],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},r]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:n.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:n}],relevance:0}],illegal:"[^\\s\\}\\{]"}},objectivec:function(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,r={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,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"],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"]},illegal:"</",contains:[{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+"},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:"("+r.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:r,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},ocaml:function(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:/->/}]}},perl:function(e){const t=e.regex,r=/[dualxmsipngr]{0,12}/,n={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","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","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","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"].join(" ")},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},o={begin:/->\{/,end:/\}/},i={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},s=[e.BACKSLASH_ESCAPE,a,i],l=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],c=(e,n,a="\\1")=>{const o="\\1"===a?a:t.concat(a,n);return t.concat(t.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,o,/(?:\\.|[^\\\/])*?/,a,r)},u=(e,n,a)=>t.concat(t.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,a,r),d=[i,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:s,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}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{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:c("s|tr|y",t.either(...l,{capture:!0}))},{begin:c("s|tr|y","\\(","\\)")},{begin:c("s|tr|y","\\[","\\]")},{begin:c("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:u("(?:m|qr)?",/\//,/\//)},{begin:u("m|qr",t.either(...l,{capture:!0}),/\1/)},{begin:u("m|qr",/\(/,/\)/)},{begin:u("m|qr",/\[/,/\]/)},{begin:u("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=d,o.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:d}},php:function(e){const t=e.regex,r=/(?![A-Za-z0-9])(?![$])/,n=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),a=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),o={scope:"variable",match:"\\$+"+n},i={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l="[ \t\n]",c={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(i)}),s,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(i),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},u={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},d=["false","null","true"],p=["__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"],h=["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"],f={keyword:p,literal:(e=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(d),built_in:h},m=e=>e.map((e=>e.replace(/\|\d+$/,""))),g={variants:[{match:[/new/,t.concat(l,"+"),t.concat("(?!",m(h).join("\\b|"),"\\b)"),a],scope:{1:"keyword",4:"title.class"}}]},b=t.concat(n,"\\b(?!\\()"),v={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),b],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[a,t.concat(/::/,t.lookahead(/(?!class\b)/)),b],scope:{1:"title.class",3:"variable.constant"}},{match:[a,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[a,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},y={scope:"attr",match:t.concat(n,t.lookahead(":"),t.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:f,contains:[y,o,v,e.C_BLOCK_COMMENT_MODE,c,u,g]},w={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",m(p).join("\\b|"),"|",m(h).join("\\b|"),"\\b)"),n,t.concat(l,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(w);const x=[y,v,e.C_BLOCK_COMMENT_MODE,c,u,g];return{case_insensitive:!1,keywords:f,contains:[{begin:t.concat(/#\[\s*/,a),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:d,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:d,keyword:["new","array"]},contains:["self",...x]},...x,{scope:"meta",match:a}]},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}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},o,w,v,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},g,{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:f,contains:["self",o,v,e.C_BLOCK_COMMENT_MODE,c,u]}]},{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]},c,u]}},plaintext:function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}},powershell:function(e){const t={$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={begin:"`[\\s\\S]",relevance:0},n={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},a={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[r,n,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},o={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},i=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+/}]}]}),s={className:"built_in",variants:[{begin:"(".concat("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]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[n]}]},u={begin:/using\s/,end:/$/,returnBegin:!0,contains:[a,o,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[{className:"operator",begin:"(".concat("-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}]},p={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},h=[p,i,r,e.NUMBER_MODE,a,o,s,n,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],f={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",h,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return p.contains.unshift(f),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:t,contains:h.concat(l,c,u,d,f)}},properties:function(e){const t="[ \\t\\f]*",r=t+"[:=]"+t,n="[ \\t\\f]+",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",o={end:"("+r+"|"+n+")",relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+r},{begin:a+n}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:o},{className:"attr",begin:a+t+"$"}]}},python:function(e){const t=e.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","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","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},o={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,s,i]},{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:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,i]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${n.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[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(${c})[jJ](?=${d})`}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},f={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",o,p,l,e.HASH_COMMENT_MODE]}]};return i.contains=[l,p,o],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[o,p,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[f]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,f,l]}]}},r:function(e){const t=e.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=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]?/),a=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,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:r},{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:[a,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[o,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:a},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},ruby:function(e){const t=e.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),a=t.concat(n,/(::\w+)*/),o={"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"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},i={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[i]}),e.COMMENT("^=begin","^=end",{contains:[i],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],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,c]})]}]},d="[0-9](_?[0-9])*",p={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"}]},h={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},f=[u,{variants:[{match:[/class\s+/,a,/\s+<\s+/,a]},{match:[/\b(class|module)\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,a],scope:{2:"title.class"},keywords:o},{relevance:0,match:[a,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[h]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:r}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],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,l),relevance:0}].concat(s,l);c.contains=f,h.contains=f;const m=[{begin:/^\s*=>/,starts:{end:"$",contains:f}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:o,contains:f}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(f)}},rust:function(e){const t=e.regex,r={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))},n="([ui](8|16|32|64|128|size)|f(32|64))?",a=["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!"],o=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:o,keyword:["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","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:a},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+n}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:a,type:o}},{className:"punctuation",begin:"->"},r]}},scala:function(e){const t=e.regex,r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},n={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},i={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]},s={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[o]};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,n,a,s,i,e.C_NUMBER_MODE,{begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},{begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"},{begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}},{className:"meta",begin:"@[A-Za-z]+"}]}},scss:function(e){const t=(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/},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_-]*/}}))(e),r=WM,n=ZM,a="@[a-z-]+",o={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("+HM.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},o,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+XM.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,o,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:a,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:VM.join(" ")},contains:[{begin:a,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},o,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}},shell:function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}},sql:function(e){const t=e.regex,r=e.COMMENT("--","$"),n=["true","false","unknown"],a=["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"],o=["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"],i=["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"],s=o,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","add","asc","collation","desc","final","first","last","view"].filter((e=>!o.includes(e))),c={begin:t.concat(/\b/,t.either(...s),/\s*\(/),relevance:0,keywords:{built_in:s}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:r}={}){const n=r;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:n(e)?`${e}|0`:e))}(l,{when:e=>e.length<3}),literal:n,type:a,built_in:["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"]},contains:[{begin:t.either(...i),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:l.concat(i),literal:n,type:a}},{className:"type",begin:t.either("double precision","large object","with timezone","without timezone")},c,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},swift:function(e){const t={match:/\s+/,relevance:0},r=e.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[e.C_LINE_COMMENT_MODE,r],a={match:[/\./,JM(...tD,...rD)],className:{2:"keyword"}},o={match:KM(/\./,JM(...aD)),relevance:0},i=aD.filter((e=>"string"==typeof e)).concat(["_|0"]),s={variants:[{className:"keyword",match:JM(...aD.filter((e=>"string"!=typeof e)).concat(nD).map(eD),...rD)}]},l={$pattern:JM(/\b\w+/,/#\w+/),keyword:i.concat(sD),literal:oD},c=[a,o,s],u=[{match:KM(/\./,JM(...lD)),relevance:0},{className:"built_in",match:KM(/\b/,JM(...lD),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{className:"operator",relevance:0,variants:[{match:dD},{match:`\\.(\\.|${uD})+`}]}],h="([0-9]_*)+",f="([0-9a-fA-F]_*)+",m={className:"number",relevance:0,variants:[{match:`\\b(${h})(\\.(${h}))?([eE][+-]?(${h}))?\\b`},{match:`\\b0x(${f})(\\.(${f}))?([pP][+-]?(${h}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e="")=>({className:"subst",variants:[{match:KM(/\\/,e,/[0\\tnr"']/)},{match:KM(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),b=(e="")=>({className:"subst",match:KM(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e="")=>({className:"subst",label:"interpol",begin:KM(/\\/,e,/\(/),end:/\)/}),y=(e="")=>({begin:KM(e,/"""/),end:KM(/"""/,e),contains:[g(e),b(e),v(e)]}),O=(e="")=>({begin:KM(e,/"/),end:KM(/"/,e),contains:[g(e),v(e)]}),w={className:"string",variants:[y(),y("#"),y("##"),y("###"),O(),O("#"),O("##"),O("###")]},x=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],k={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:x},S=e=>{const t=KM(e,/\//),r=KM(/\//,e);return{begin:t,end:r,contains:[...x,{scope:"comment",begin:`#(?!.*${r})`,end:/$/}]}},_={scope:"regexp",variants:[S("###"),S("##"),S("#"),k]},E={match:KM(/`/,fD,/`/)},T=[E,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${hD}+`}],A=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:bD,contains:[...p,m,w]}]}},{scope:"keyword",match:KM(/@/,JM(...gD))},{scope:"meta",match:KM(/@/,fD)}],C={match:YM(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:KM(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,hD,"+")},{className:"type",match:mD,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:KM(/\s+&\s+/,YM(mD)),relevance:0}]},P={begin:/</,end:/>/,keywords:l,contains:[...n,...c,...A,d,C]};C.contains.push(P);const $={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:KM(fD,/\s*:/),keywords:"_|0",relevance:0},...n,_,...c,...u,...p,m,w,...T,...A,C]},M={begin:/</,end:/>/,keywords:"repeat each",contains:[...n,C]},D={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:JM(YM(KM(fD,/\s*:/)),YM(KM(fD,/\s+/,fD,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:fD}]},...n,...c,...p,m,w,...A,C,$],endsParent:!0,illegal:/["']/},R={match:[/(func|macro)/,/\s+/,JM(E.match,fD,dD)],className:{1:"keyword",3:"title.function"},contains:[M,D,t],illegal:[/\[/,/%/]},N={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[M,D,t],illegal:/\[|%/},I={match:[/operator/,/\s+/,dD],className:{1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,mD],className:{1:"keyword",3:"title"},contains:[C],keywords:[...iD,...oD],end:/}/};for(const e of w.variants){const t=e.contains.find((e=>"interpol"===e.label));t.keywords=l;const r=[...c,...u,...p,m,w,...T];t.contains=[...r,{begin:/\(/,end:/\)/,contains:["self",...r]}]}return{name:"Swift",keywords:l,contains:[...n,R,N,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]},I,L,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},_,...c,...u,...p,m,w,...T,...A,C,$]}},toml:wM,typescript:function(e){const t=function(e){const t=e.regex,r=vD,n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const r=e[0].length+e.index,n=e.input[r];if("<"===n||","===n)return void t.ignoreMatch();let a;">"===n&&(((e,{after:t})=>{const r="</"+e[0].slice(1);return-1!==e.input.indexOf(r,t)})(e,{after:r})||t.ignoreMatch());const o=e.input.substring(r);((a=o.match(/^\s*=/))||(a=o.match(/^\s+extends\s+/))&&0===a.index)&&t.ignoreMatch()}},a={$pattern:vD,keyword:yD,literal:OD,built_in:_D,"variable.language":SD},o="[0-9](_?[0-9])*",i=`\\.(${o})`,s="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${s})((${i})|\\.)?|(${i}))[eE][+-]?(${o})\\b`},{begin:`\\b(${s})\\b((${i})\\b|\\.)?|(${i})\\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},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},u={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},p={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},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]},m=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,d,p,h,{match:/\$\d+/},l];c.contains=m.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(m)});const g=[].concat(f,c.contains),b=g.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(g)}]),v={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b},y={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"}}]},O={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:{_:[...wD,...xD]}},w={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[v],illegal:/%/},x={match:t.concat(/\b/,(k=[...kD,"super","import"],t.concat("(?!",k.join("|"),")")),r,t.lookahead(/\(/)),className:"title.function",relevance:0};var k;const S={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},v]},E="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",T={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(E)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:O},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,d,p,h,f,{match:/\$\d+/},l,O,{className:"attr",begin:r+t.lookahead(":"),relevance:0},T,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[f,e.REGEXP_MODE,{className:"function",begin:E,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},S,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},x,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},y,_,{match:/\$[(.]/}]}}(e),r=vD,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[t.exports.CLASS_REFERENCE]},i={$pattern:vD,keyword:yD.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:OD,built_in:_D.concat(n),"variable.language":SD},s={className:"meta",begin:"@"+r},l=(e,t,r)=>{const n=e.contains.findIndex((e=>e.label===t));if(-1===n)throw new Error("can not find mode to replace");e.contains.splice(n,1,r)};return Object.assign(t.keywords,i),t.exports.PARAMS_CONTAINS.push(s),t.contains=t.contains.concat([s,a,o]),l(t,"shebang",e.SHEBANG()),l(t,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),t.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t},xml:ED,yaml:function(e){const t="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},a=e.inherit(n,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),o={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},i={begin:/\{/,end:/\}/,contains:[o],illegal:"\\n",relevance:0},s={begin:"\\[",end:"\\]",contains:[o],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{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+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{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}},{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"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},i,s,n],c=[...l];return c.pop(),c.push(a),o.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:l}}},PD=["note","tip","important","warning","caution","success"];function $D(e){return"text"===e.type&&"string"==typeof e.value&&/^\s*$/.test(e.value)}function MD(){return e=>{pw(e,"element",((e,t,r)=>{if("blockquote"!==e.tagName||"number"!=typeof t||!r||"root"!==r.type)return;const n=e.children.findIndex((e=>!$D(e)));if(-1===n)return;const a=e.children[n];if(!a||"element"!==a.type||"p"!==a.tagName)return;const o=a.children[0];if(!o||"text"!==o.type||!o.value.startsWith("[!"))return;const i=o.value.indexOf("]");if(-1===i)return;const s=o.value.slice(2,i).toLowerCase();if(!PD.includes(s))return;if(i+1===o.value.length){const t=a.children[1];if(t){if("element"!==t.type||"br"!==t.tagName)return;if(!a.children[2])return;a.children=a.children.slice(2);const e=a.children[0];e&&"text"===e.type&&"\n"===e.value.charAt(0)&&(e.value=e.value.slice(1))}else{const t=n+1<e.children.length&&$D(e.children[n+1])?n+2:n+1;if(t>=e.children.length||"element"!==e.children[t]?.type)return;e.children=e.children.slice(t)}}else"\n"!==o.value.charAt(i+1)||i+2!==o.value.length&&/^\s*$/.test(o.value.slice(i+2))?o.value=o.value.replace(/^\s*\[!.*?\]\s*/,""):o.value=o.value.slice(i+2);const l=[];for(let t=n;t<e.children.length;t++){const r=e.children[t];"element"===r?.type&&"p"===r.tagName&&r.children?l.push(...r.children):l.push(r)}r.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:" "},...l]}]}}))}}const DD=function(e,t,r){const n=ow(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if("number"==typeof t){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},RD=/\n/g,ND=/[\t ]+/g,ID=YO("br"),LD=YO((function(e){return"td"===e.tagName||"th"===e.tagName})),jD=YO("p"),BD=YO("tr"),UD=YO(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return Boolean((e.properties||{}).hidden)},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),FD=YO(["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"]);function QD(e,t){const r="children"in e?e.children:[],n=FD(e),a=VD(e,{whitespace:{}.whitespace||"normal"}),o=[];"text"!==e.type&&"comment"!==e.type||o.push(...qD(e,{breakBefore:!0,breakAfter:!0}));let i=-1;for(;++i<r.length;)o.push(...zD(r[i],e,{whitespace:a,breakBefore:i?void 0:n,breakAfter:i<r.length-1?ID(r[i+1]):n}));const s=[];let l;for(i=-1;++i<o.length;){const e=o[i];"number"==typeof e?void 0!==l&&e>l&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(e))}return s.join("")}function zD(e,t,r){return"element"===e.type?function(e,t,r){const n=VD(e,r),a=e.children||[];let o,i,s=-1,l=[];if(UD(e))return l;for(ID(e)||BD(e)&&DD(t,e,BD)?i="\n":jD(e)?(o=2,i=2):FD(e)&&(o=1,i=1);++s<a.length;)l=l.concat(zD(a[s],e,{whitespace:n,breakBefore:s?void 0:o,breakAfter:s<a.length-1?ID(a[s+1]):i}));return LD(e)&&DD(t,e,LD)&&l.push("\t"),o&&l.unshift(o),i&&l.push(i),l}(e,t,r):"text"===e.type?"normal"===r.whitespace?qD(e,r):function(e){return[String(e.value)]}(e):[]}function qD(e,t){const r=String(e.value),n=[],a=[];let o=0;for(;o<=r.length;){RD.lastIndex=o;const e=RD.exec(r),a=e&&"index"in e?e.index:r.length;n.push(HD(r.slice(o,a).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==o||t.breakBefore,a!==r.length||t.breakAfter)),o=a+1}let i,s=-1;for(;++s<n.length;)8203===n[s].charCodeAt(n[s].length-1)||s<n.length-1&&8203===n[s+1].charCodeAt(0)?(a.push(n[s]),i=void 0):n[s]?("number"==typeof i&&a.push(i),a.push(n[s]),i=0):0!==s&&s!==n.length-1||a.push(0);return a}function HD(e,t,r){const n=[];let a,o=0;for(;o<e.length;){ND.lastIndex=o;const r=ND.exec(e);a=r?r.index:e.length,o||a||!r||t||n.push(""),o!==a&&n.push(e.slice(o,a)),o=r?a+r[0].length:a}return o===a||r||n.push(""),n.join(" ")}function VD(e,t){if("element"===e.type){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}var ZD,WD;const XD=B$(function(){if(WD)return ZD;function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((r=>{const n=t[r],a=typeof n;"object"!==a&&"function"!==a||Object.isFrozen(n)||e(n)})),t}WD=1;class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function n(e,...t){const r=Object.create(null);for(const t in e)r[t]=e[t];return t.forEach((function(e){for(const t in e)r[t]=e[t]})),r}const a=e=>!!e.scope;class o{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!a(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){a(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const i=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class s{constructor(){this.rootNode=i(),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){const t=i({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"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{s._collapse(e)})))}}class l extends s{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const r=e.root;t&&(r.scope=`language:${t}`),this.add(r)}toHTML(){return new o(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function u(e){return h("(?=",e,")")}function d(e){return h("(?:",e,")*")}function p(e){return h("(?:",e,")?")}function h(...e){return e.map((e=>c(e))).join("")}function f(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>c(e))).join("|")+")"}function m(e){return new RegExp(e.toString()+"|").exec("").length-1}const g=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(e,{joinWith:t}){let r=0;return e.map((e=>{r+=1;const t=r;let n=c(e),a="";for(;n.length>0;){const e=g.exec(n);if(!e){a+=n;break}a+=n.substring(0,e.index),n=n.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&r++)}return a})).map((e=>`(${e})`)).join(t)}const v="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",O="\\b\\d+(\\.\\d+)?",w="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",x="\\b(0b[01]+)",k={begin:"\\\\[\\s\\S]",relevance:0},S={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[k]},_={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[k]},E=function(e,t,r={}){const a=n({scope:"comment",begin:e,end:t,contains:[]},r);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=f("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 a.contains.push({begin:h(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},T=E("//","$"),A=E("/\\*","\\*/"),C=E("#","$"),P={scope:"number",begin:O,relevance:0},$={scope:"number",begin:w,relevance:0},M={scope:"number",begin:x,relevance:0},D={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[k,{begin:/\[/,end:/\]/,relevance:0,contains:[k]}]},R={scope:"title",begin:v,relevance:0},N={scope:"title",begin:y,relevance:0},I={begin:"\\.\\s*"+y,relevance:0};var L=Object.freeze({__proto__:null,APOS_STRING_MODE:S,BACKSLASH_ESCAPE:k,BINARY_NUMBER_MODE:M,BINARY_NUMBER_RE:x,COMMENT:E,C_BLOCK_COMMENT_MODE:A,C_LINE_COMMENT_MODE:T,C_NUMBER_MODE:$,C_NUMBER_RE:w,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:C,IDENT_RE:v,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:I,NUMBER_MODE:P,NUMBER_RE:O,PHRASAL_WORDS_MODE:{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/},QUOTE_STRING_MODE:_,REGEXP_MODE:D,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),n({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:R,UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:N});function j(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function B(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function U(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=j,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function F(e,t){Array.isArray(e.illegal)&&(e.illegal=f(...e.illegal))}function Q(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function z(e,t){void 0===e.relevance&&(e.relevance=1)}const q=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=r.keywords,e.begin=h(r.beforeMatch,u(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},H=["of","and","for","in","not","or","if","then","parent","list","value"];function V(e,t,r="keyword"){const n=Object.create(null);return"string"==typeof e?a(r,e.split(" ")):Array.isArray(e)?a(r,e):Object.keys(e).forEach((function(r){Object.assign(n,V(e[r],t,r))})),n;function a(e,r){t&&(r=r.map((e=>e.toLowerCase()))),r.forEach((function(t){const r=t.split("|");n[r[0]]=[e,Z(r[0],r[1])]}))}}function Z(e,t){return t?Number(t):function(e){return H.includes(e.toLowerCase())}(e)?0:1}const W={},X=e=>{console.error(e)},G=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Y=(e,t)=>{W[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),W[`${e}/${t}`]=!0)},K=new Error;function J(e,t,{key:r}){let n=0;const a=e[r],o={},i={};for(let e=1;e<=t.length;e++)i[e+n]=a[e],o[e+n]=!0,n+=m(t[e-1]);e[r]=i,e[r]._emit=o,e[r]._multi=!0}function ee(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw X("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),K;if("object"!=typeof e.beginScope||null===e.beginScope)throw X("beginScope must be object"),K;J(e,e.begin,{key:"beginScope"}),e.begin=b(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw X("skip, excludeEnd, returnEnd not compatible with endScope: {}"),K;if("object"!=typeof e.endScope||null===e.endScope)throw X("endScope must be object"),K;J(e,e.end,{key:"endScope"}),e.end=b(e.end,{joinWith:""})}}(e)}function te(e){function t(t,r){return new RegExp(c(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class r{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+=m(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(b(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const r=t.findIndex(((e,t)=>t>0&&void 0!==e)),n=this.matchIndexes[r];return t.splice(0,r),Object.assign(t,n)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new r;return this.rules.slice(e).forEach((([e,r])=>t.addRule(e,r))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let r=t.exec(e);if(this.resumingScanAtSamePosition())if(r&&r.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,r=t.exec(e)}return r&&(this.regexIndex+=r.position+1,this.regexIndex===this.count&&this.considerAll()),r}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=n(e.classNameAliases||{}),function r(o,i){const s=o;if(o.isCompiled)return s;[B,Q,ee,q].forEach((e=>e(o,i))),e.compilerExtensions.forEach((e=>e(o,i))),o.__beforeBegin=null,[U,F,z].forEach((e=>e(o,i))),o.isCompiled=!0;let l=null;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),l=o.keywords.$pattern,delete o.keywords.$pattern),l=l||/\w+/,o.keywords&&(o.keywords=V(o.keywords,e.case_insensitive)),s.keywordPatternRe=t(l,!0),i&&(o.begin||(o.begin=/\B|\b/),s.beginRe=t(s.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(s.endRe=t(s.end)),s.terminatorEnd=c(s.end)||"",o.endsWithParent&&i.terminatorEnd&&(s.terminatorEnd+=(o.end?"|":"")+i.terminatorEnd)),o.illegal&&(s.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return n(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:re(e)?n(e,{starts:e.starts?n(e.starts):null}):Object.isFrozen(e)?n(e):e}("self"===e?o:e)}))),o.contains.forEach((function(e){r(e,s)})),o.starts&&r(o.starts,i),s.matcher=function(e){const t=new a;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}(s),s}(e)}function re(e){return!!e&&(e.endsWithParent||re(e.starts))}class ne extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ae=r,oe=n,ie=Symbol("nomatch"),se=function(r){const n=Object.create(null),a=Object.create(null),o=[];let i=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let m={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:l};function g(e){return m.noHighlightRe.test(e)}function b(e,t,r){let n="",a="";"object"==typeof t?(n=e,r=t.ignoreIllegals,a=t.language):(Y("10.7.0","highlight(lang, code, ...args) has been deprecated."),Y("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,n=t),void 0===r&&(r=!0);const o={code:n,language:a};E("before:highlight",o);const i=o.result?o.result:v(o.language,o.code,r);return i.code=o.code,E("after:highlight",i),i}function v(e,r,a,o){const l=Object.create(null);function c(){if(!_.keywords)return void T.addText(A);let e=0;_.keywordPatternRe.lastIndex=0;let t=_.keywordPatternRe.exec(A),r="";for(;t;){r+=A.substring(e,t.index);const a=w.case_insensitive?t[0].toLowerCase():t[0],o=(n=a,_.keywords[n]);if(o){const[e,n]=o;if(T.addText(r),r="",l[a]=(l[a]||0)+1,l[a]<=7&&(C+=n),e.startsWith("_"))r+=t[0];else{const r=w.classNameAliases[e]||e;d(t[0],r)}}else r+=t[0];e=_.keywordPatternRe.lastIndex,t=_.keywordPatternRe.exec(A)}var n;r+=A.substring(e),T.addText(r)}function u(){null!=_.subLanguage?function(){if(""===A)return;let e=null;if("string"==typeof _.subLanguage){if(!n[_.subLanguage])return void T.addText(A);e=v(_.subLanguage,A,!0,E[_.subLanguage]),E[_.subLanguage]=e._top}else e=y(A,_.subLanguage.length?_.subLanguage:null);_.relevance>0&&(C+=e.relevance),T.__addSublanguage(e._emitter,e.language)}():c(),A=""}function d(e,t){""!==e&&(T.startScope(t),T.addText(e),T.endScope())}function p(e,t){let r=1;const n=t.length-1;for(;r<=n;){if(!e._emit[r]){r++;continue}const n=w.classNameAliases[e[r]]||e[r],a=t[r];n?d(a,n):(A=a,c(),A=""),r++}}function h(e,t){return e.scope&&"string"==typeof e.scope&&T.openNode(w.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(d(A,w.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),A=""):e.beginScope._multi&&(p(e.beginScope,t),A="")),_=Object.create(e,{parent:{value:_}}),_}function f(e,r,n){let a=function(e,t){const r=e&&e.exec(t);return r&&0===r.index}(e.endRe,n);if(a){if(e["on:end"]){const n=new t(e);e["on:end"](r,n),n.isMatchIgnored&&(a=!1)}if(a){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return f(e.parent,r,n)}function g(e){return 0===_.matcher.regexIndex?(A+=e[0],1):(M=!0,0)}let b={};function O(n,o){const s=o&&o[0];if(A+=n,null==s)return u(),0;if("begin"===b.type&&"end"===o.type&&b.index===o.index&&""===s){if(A+=r.slice(o.index,o.index+1),!i){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=b.rule,t}return 1}if(b=o,"begin"===o.type)return function(e){const r=e[0],n=e.rule,a=new t(n),o=[n.__beforeBegin,n["on:begin"]];for(const t of o)if(t&&(t(e,a),a.isMatchIgnored))return g(r);return n.skip?A+=r:(n.excludeBegin&&(A+=r),u(),n.returnBegin||n.excludeBegin||(A=r)),h(n,e),n.returnBegin?0:r.length}(o);if("illegal"===o.type&&!a){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(_.scope||"<unnamed>")+'"');throw e.mode=_,e}if("end"===o.type){const e=function(e){const t=e[0],n=r.substring(e.index),a=f(_,e,n);if(!a)return ie;const o=_;_.endScope&&_.endScope._wrap?(u(),d(t,_.endScope._wrap)):_.endScope&&_.endScope._multi?(u(),p(_.endScope,e)):o.skip?A+=t:(o.returnEnd||o.excludeEnd||(A+=t),u(),o.excludeEnd&&(A=t));do{_.scope&&T.closeNode(),_.skip||_.subLanguage||(C+=_.relevance),_=_.parent}while(_!==a.parent);return a.starts&&h(a.starts,e),o.returnEnd?0:t.length}(o);if(e!==ie)return e}if("illegal"===o.type&&""===s)return 1;if($>1e5&&$>3*o.index)throw new Error("potential infinite loop, way more iterations than matches");return A+=s,s.length}const w=k(e);if(!w)throw X(s.replace("{}",e)),new Error('Unknown language: "'+e+'"');const x=te(w);let S="",_=o||x;const E={},T=new m.__emitter(m);!function(){const e=[];for(let t=_;t!==w;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>T.openNode(e)))}();let A="",C=0,P=0,$=0,M=!1;try{if(w.__emitTokens)w.__emitTokens(r,T);else{for(_.matcher.considerAll();;){$++,M?M=!1:_.matcher.considerAll(),_.matcher.lastIndex=P;const e=_.matcher.exec(r);if(!e)break;const t=O(r.substring(P,e.index),e);P=e.index+t}O(r.substring(P))}return T.finalize(),S=T.toHTML(),{language:e,value:S,relevance:C,illegal:!1,_emitter:T,_top:_}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:ae(r),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:P,context:r.slice(P-100,P+100),mode:t.mode,resultSoFar:S},_emitter:T};if(i)return{language:e,value:ae(r),illegal:!1,relevance:0,errorRaised:t,_emitter:T,_top:_};throw t}}function y(e,t){t=t||m.languages||Object.keys(n);const r=function(e){const t={value:ae(e),illegal:!1,relevance:0,_top:c,_emitter:new m.__emitter(m)};return t._emitter.addText(e),t}(e),a=t.filter(k).filter(_).map((t=>v(t,e,!1)));a.unshift(r);const o=a.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(k(e.language).supersetOf===t.language)return 1;if(k(t.language).supersetOf===e.language)return-1}return 0})),[i,s]=o,l=i;return l.secondBest=s,l}function O(e){let t=null;const r=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const r=m.languageDetectRe.exec(t);if(r){const t=k(r[1]);return t||(G(s.replace("{}",r[1])),G("Falling back to no-highlight mode for this block.",e)),t?r[1]:"no-highlight"}return t.split(/\s+/).find((e=>g(e)||k(e)))}(e);if(g(r))return;if(E("before:highlightElement",{el:e,language:r}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(m.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)),m.throwUnescapedHTML))throw new ne("One of your code blocks includes unescaped HTML.",e.innerHTML);t=e;const n=t.textContent,o=r?b(n,{language:r,ignoreIllegals:!0}):y(n);e.innerHTML=o.value,e.dataset.highlighted="yes",function(e,t,r){const n=t&&a[t]||r;e.classList.add("hljs"),e.classList.add(`language-${n}`)}(e,r,o.language),e.result={language:o.language,re:o.relevance,relevance:o.relevance},o.secondBest&&(e.secondBest={language:o.secondBest.language,relevance:o.secondBest.relevance}),E("after:highlightElement",{el:e,result:o,text:n})}let w=!1;function x(){"loading"!==document.readyState?document.querySelectorAll(m.cssSelector).forEach(O):w=!0}function k(e){return e=(e||"").toLowerCase(),n[e]||n[a[e]]}function S(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{a[e.toLowerCase()]=t}))}function _(e){const t=k(e);return t&&!t.disableAutodetect}function E(e,t){const r=e;o.forEach((function(e){e[r]&&e[r](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){w&&x()}),!1),Object.assign(r,{highlight:b,highlightAuto:y,highlightAll:x,highlightElement:O,highlightBlock:function(e){return Y("10.7.0","highlightBlock will be removed entirely in v12.0"),Y("10.7.0","Please use highlightElement now."),O(e)},configure:function(e){m=oe(m,e)},initHighlighting:()=>{x(),Y("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){x(),Y("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(e,t){let a=null;try{a=t(r)}catch(t){if(X("Language definition for '{}' could not be registered.".replace("{}",e)),!i)throw t;X(t),a=c}a.name||(a.name=e),n[e]=a,a.rawDefinition=t.bind(null,r),a.aliases&&S(a.aliases,{languageName:e})},unregisterLanguage:function(e){delete n[e];for(const t of Object.keys(a))a[t]===e&&delete a[t]},listLanguages:function(){return Object.keys(n)},getLanguage:k,registerAliases:S,autoDetection:_,inherit:oe,addPlugin:function(e){!function(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))})}(e),o.push(e)},removePlugin:function(e){const t=o.indexOf(e);-1!==t&&o.splice(t,1)}}),r.debugMode=function(){i=!1},r.safeMode=function(){i=!0},r.versionString="11.9.0",r.regex={concat:h,lookahead:u,either:f,optional:p,anyNumberOfTimes:d};for(const t in L)"object"==typeof L[t]&&e(L[t]);return Object.assign(r,L),r},le=se({});return le.newInstance=()=>se({}),ZD=le,le.HighlightJS=le,le.default=le,ZD}()),GD={};class YD{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;const t=this.stack[this.stack.length-1],r=t.children[t.children.length-1];r&&"text"===r.type?r.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){const r=this.stack[this.stack.length-1],n=e.root.children;t?r.children.push({type:"element",tagName:"span",properties:{className:[t]},children:n}):r.children.push(...n)}openNode(e){const t=this,r={type:"element",tagName:"span",properties:{className:e.split(".").map((function(e,r){return r?e+"_".repeat(r):t.options.classPrefix+e}))},children:[]};this.stack[this.stack.length-1].children.push(r),this.stack.push(r)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const KD={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},JD={};function eR(e){const t=e||JD,r=t.aliases,n=e?.detect??!1,a=t.languages,o=t.plainText,i=t.prefix,s=t.subset;let l="hljs";const c=e?.lowlight??function(e){const t=XD.newInstance();return e&&a(e),{highlight:r,highlightAuto:function(e,a){const o=(a||GD).subset||n();let i,s=-1,l=0;for(;++s<o.length;){const n=o[s];if(!t.getLanguage(n))continue;const c=r(n,e,a);c.data&&void 0!==c.data.relevance&&c.data.relevance>l&&(l=c.data.relevance,i=c)}return i||{type:"root",children:[],data:{language:void 0,relevance:l}}},listLanguages:n,register:a,registerAlias:function(e,r){if("string"==typeof e)t.registerAliases("string"==typeof r?r:[...r],{languageName:e});else{let r;for(r in e)if(Object.hasOwn(e,r)){const n=e[r];t.registerAliases("string"==typeof n?n:[...n],{languageName:r})}}},registered:function(e){return Boolean(t.getLanguage(e))}};function r(e,r,n){const a=n||GD,o="string"==typeof a.prefix?a.prefix:"hljs-";if(!t.getLanguage(e))throw new Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:YD,classPrefix:o});const i=t.highlight(r,{ignoreIllegals:!0,language:e});if(i.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:i.errorRaised});const s=i._emitter.root,l=s.data;return l.language=i.language,l.relevance=i.relevance,s}function n(){return t.listLanguages()}function a(e,r){if("string"==typeof e)t.registerLanguage(e,r);else{let r;for(r in e)Object.hasOwn(e,r)&&t.registerLanguage(r,e[r])}}}(a);if(r&&c.registerAlias(r),i){const e=i.indexOf("-");l=e>-1?i.slice(0,e):i}return(e,t)=>{pw(e,"element",((e,r,a)=>{if("code"!==e.tagName||!a||"element"!==a.type||"pre"!==a.tagName)return;const u=function(e){const t=e.properties.className;if(!Array.isArray(t))return"";const r=t.reduce(((e,t)=>{if(e)return e;const r=String(t);return"no-highlight"===r||"nohighlight"===r?"no-highlight":"lang-"===r.slice(0,5)?r.slice(5):"language-"===r.slice(0,9)?r.slice(9):e}),"");return KD[r||""]||r}(e);if("no-highlight"===u||!u&&!n||u&&o?.includes(u))return;let d;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(l)||e.properties.className.unshift(l);try{d=u?c.highlight(u,QD(a),{prefix:i}):c.highlightAuto(QD(a),{prefix:i,subset:s})}catch(r){const n=r;if(u&&/Unknown language/.test(n.message))return void t.message(`Cannot highlight as \`${u}\`, it's not registered`,{ancestors:[a,e],cause:n,place:e.position,ruleId:"missing-language",source:"rehype-highlight"});throw n}!u&&d.data?.language&&e.properties.className.push("language-"+d.data.language),d.children.length>0&&(e.children=d.children)}))}}const tR=(e,...t)=>t=>{e?.transform&&e?.type&&pw(t,e?.type,(t=>(e?.transform&&e?.transform(t),uw)))};function rR(e){return lM().use(y$).use(QP).parse(e)}function nR(e,t=1){const r=rR(e),n=[];return pw(r,"heading",(e=>{const r=aR(e);r&&n.push({depth:e.depth??t,value:r.value})})),n}function aR(e){if("text"===e.type)return e;if("children"in e&&e.children)for(const t of e.children){const e=aR(t);if(e)return e}return null}const oR=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,iR=Object.hasOwnProperty;class sR{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let n=lR(e,!0===t);const a=n;for(;iR.call(r.occurrences,n);)r.occurrences[a]++,n=a+"-"+r.occurrences[a];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}}function lR(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(oR,"").replace(/ /g,"-"))}const cR=Object.freeze(new Set(["connect","delete","get","head","options","patch","post","put","trace"])),uR=e=>!(!e||"string"!=typeof e)&&cR.has(e.toLowerCase()),dR=e=>Object.keys(e),pR=e=>e["$ref-value"],hR=(e,t=pR)=>"object"==typeof e&&null!==e&&"$ref"in e?t(e):e,fR=(e,t)=>(e.get(t)||e.set(t,{entries:[],tag:{name:t}}),e.get(t)),mR=(e,t,r,n="Unknown",a,o,i)=>{const s=i({...t,method:r,path:n},a),l=t.summary?.trim()?t.summary:n;return o.set(s,l),{id:s,title:l,path:n,method:r,ref:e,type:"operation"}},gR=(e,t="Unknown",r,n,a,o)=>{const i=n({name:t},a),s=hR(o),l=s&&"title"in s&&s.title||t;return r.set(i,l),{id:i,title:l,name:t,ref:e,type:"model"}},bR=(e,t,r,n,a=!1)=>{const o=r(e),i=e["x-displayName"]??e.name??"Untitled Tag";return t.set(o,i),{id:o,title:i,name:e.name||i,children:n,isGroup:a,type:"tag"}},vR=(e,t,r,{getTagId:n,tagsSorter:a,operationsSorter:o})=>{const i=e.includes("default"),s=i?e.filter((e=>"default"!==e)):e;return"alpha"===a?s.sort(((e,r)=>{const n=fR(t,e).tag["x-displayName"]||e||"Untitled Tag",a=fR(t,r).tag["x-displayName"]||r||"Untitled Tag";return n.localeCompare(a)})):"function"==typeof a&&s.sort(((e,r)=>a(fR(t,e).tag,fR(t,r).tag))),i&&s.push("default"),s.flatMap((e=>{const{tag:a,entries:i}=fR(t,e);return a["x-internal"]||a["x-scalar-ignore"]?[]:("alpha"===o?i.sort(((e,t)=>"method"in e&&"method"in t?e.title.localeCompare(t.title):0)):"method"===o?i.sort(((e,t)=>"method"in e&&"method"in t?e.method.localeCompare(t.method):0)):"function"==typeof o&&i.sort(((e,t)=>{if("operation"!==e.type&&"webhook"!==e.type||"operation"!==t.type&&"webhook"!==t.type)return 0;const r="operation"===e.type?e.path:e.name,n="operation"===t.type?t.path:t.name;return o({method:e.method,path:r,ref:e.ref,httpVerb:e.method},{method:t.method,path:n,ref:t.ref,httpVerb:t.method})})),i.length?bR(a,r,n,i):[])}))},yR=(e,t,r="Unknown",n="Unknown",a,o,i)=>{const s=o({name:r,method:t},i);return a.set(s,n),{id:s,title:n,name:r,ref:e,method:t,type:"webhook"}},OR=(e,{hideModels:t=!1,tagsSorter:r="alpha",operationsSorter:n="alpha",getHeadingId:a=e=>e.value,getOperationId:o=e=>e.summary??"",getWebhookId:i=e=>e?.name??"webhooks",getModelId:s=e=>e?.name??"",getTagId:l=e=>e.name??""})=>{const c=new Map,u=new Map(e.tags?.map((e=>[e.name??"Untitled Tag",{tag:e,entries:[]}]))??[]),d=((e,t,r)=>{if(!e?.trim())return[];const n=function(e){const t=new sR;return((e,t)=>e.map((e=>({...e,slug:t.slug(e.value)}))))(nR(e),t)}(e),a=(e=>{const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1})(n),o=[];let i=null;if(e&&!e.trim().startsWith("#")){const e={depth:1,value:"Introduction",slug:"introduction"},n=r(e),a=e.value;o.push({id:n,title:a,type:"text"}),t.set(n,a)}for(const e of n){if(e.depth!==a&&e.depth!==a+1)continue;const n={id:r(e),title:e.value,type:"text"};t.set(n.id,n.title),e.depth===a?(n.children=[],o.push(n),i=n):i&&i.children?.push(n)}return o})(e.info?.description,c,a);((e,t,r,n)=>{Object.entries(e.paths??{}).forEach((([e,a])=>{dR(a??{}).filter((e=>uR(e))).forEach((o=>{const i=a?.[o],s=hR(i);if(!s)return;if(s["x-internal"]||s["x-scalar-ignore"]||!uR(o))return;const l=`#/paths/${od(e)}/${o}`;if(s.tags?.length)s.tags.forEach((a=>{const{tag:i}=fR(t,a);t.get(a)?.entries.push(mR(l,s,o,e,i,r,n))}));else{const{tag:a}=fR(t,"default");t.get("default")?.entries.push(mR(l,s,o,e,a,r,n))}}))}))})(e,u,c,o);const p=((e,t,r,n)=>{const a=[];return Object.entries(e.webhooks??{}).forEach((([e,o])=>{dR(o??{}).filter((e=>uR(e))).forEach((i=>{const s=o?.[i],l=hR(s);if(!l)return;if(l["x-internal"]||l["x-scalar-ignore"])return;const c=`#/webhooks/${e}/${i}`;l.tags?.length?l.tags.forEach((a=>{const{tag:o}=fR(t,a);t.get(a)?.entries.push(yR(c,i,e,l.summary??e,r,n,o))})):a.push(yR(c,i,e,l.summary??e,r,n))}))})),a})(e,u,c,i),h=((e,t,r,{getTagId:n,tagsSorter:a,operationsSorter:o})=>{if(e["x-tagGroups"])return e["x-tagGroups"].flatMap((e=>{const i=vR(e.tags??[],t,r,{getTagId:n,tagsSorter:a,operationsSorter:o});return i.length?bR(e,r,n,i,!0):[]}));const i=Array.from(t.keys()),s=vR(i,t,r,{getTagId:n,tagsSorter:a,operationsSorter:o});return 1===s.length&&"default"===s[0]?.title?s[0]?.children??[]:s})(e,u,c,{getTagId:l,tagsSorter:r,operationsSorter:n});if(d.push(...h),p.length&&d.push({id:i({name:""}),title:"Webhooks",children:p,type:"text"}),!t&&e.components?.schemas){const t=((e,t,r,n)=>{const a=e.components?.schemas??{},o=[];for(const e in a){const i=hR(a[e]);if(i?.["x-internal"]||i?.["x-scalar-ignore"]||!Object.hasOwn(a,e))continue;const s=`#/content/components/schemas/${e}`;i?.["x-tags"]?i["x-tags"].forEach((a=>{const{tag:o}=fR(t,a);t.get(a)?.entries.push(gR(s,e,r,n,o))})):o.push(gR(s,e,r,n,void 0,hR(a[e])))}return o})(e,u,c,s);t.length&&d.push({id:s({}),title:"Models",children:t,type:"text"})}return{entries:d,titles:c}},wR={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:new RegExp("(?<!:)\\/{2,}","g"),VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/},xR=e=>!wR.PROTOCOL.test(e)&&!/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e),kR=(e,t)=>t&&e!==t?e?`${e.trim()}/${t.trim()}`.replace(wR.MULTIPLE_SLASHES,"/"):t.trim():e.trim(),SR=(e,t,r=new URLSearchParams,n=!1)=>{if(e&&(!xR(e)||"undefined"!=typeof window)){const a=n?e:xR(e)?kR(window.location.origin,e):function(e){return wR.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,"")}`}(e),[o="",i]=a.split("?"),s=new URLSearchParams(i||""),[l="",c]=t.split("?"),u=new URLSearchParams(c||""),d=e===t?o:kR(o,l),p=((...e)=>{const t={};e.forEach((e=>{const r=Array.from(e.keys());new Set(r).forEach((r=>{const n=e.getAll(r),a=n.length>1?n:n[0]??"";t[r]=a}))}));const r=new URLSearchParams;return Object.entries(t).forEach((([e,t])=>{Array.isArray(t)?t.forEach((t=>r.append(e,t))):r.append(e,t)})),r})(s,u,r).toString();return p?`${d}?${p}`:d}return t?kR(e,t):""};function _R(e){try{const t=new URL(e),r=t.port?`:${t.port}`:"";return`${t.protocol}//${t.hostname}${r}`}catch{return}}function ER(){if("undefined"!=typeof window&&"string"==typeof window?.location?.origin)return window.location.origin}function TR(e){return{url:e}}function AR(e){if(e.documentUrl){const t=function(e){const t=_R(e);if(t)return TR(t)}(e.documentUrl);if(t)return t}return function(){const e=ER();if(e)return TR(e)}()}const CR="x-scalar-navigation",PR="x-scalar-active-auth",$R="x-scalar-active-server",MR="x-scalar-dark-mode",DR="x-scalar-default-client",RR="x-scalar-active-document",NR="x-scalar-theme";function IR(e,t){return ug(void 0===t?e:{...t,...e})}function LR(e){return e.map((e=>jR(e)))}function jR(e,t){return dg(Rg(e)?Sg("Awaited",[Sg(e.target,e.parameters)]):jg(e)?db(LR(e.allOf)):ob(e)?function(e){return mb(LR(e))}(e.anyOf):Xg(e)?function(e){return jR(e)}(e.item):Yg(e)?Sg("Awaited",[dv(e.$ref)]):e,t)}function BR(e,t){const r=[];for(const n of e)r.push(...Jb(n,[t]));return function(e){return e.filter((e=>!Hg(e)))}(r)}function UR(e){return dg({[gg]:"Date",type:"Date"},e)}function FR(e){return dg({[gg]:"Null",type:"null"},e)}function QR(e){return dg({[gg]:"Symbol",type:"symbol"},e)}function zR(e){return dg({[gg]:"Undefined",type:"undefined"},e)}function qR(e){return dg({[gg]:"Uint8Array",type:"Uint8Array"},e)}function HR(e,t){return!0===t?e:iv(e)}function VR(e,t){return function(e){return ng(e)&&!Km(e)&&!ig(e)&&Symbol.asyncIterator in e}(e)||function(e){return ng(e)&&!Km(e)&&!ig(e)&&Symbol.iterator in e}(e)?HR(Iv(),t):Km(e)?iv(sv(e.map((e=>VR(e,!1))))):ig(e)?qR():tg(e)?UR():ng(e)?HR(av(function(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=iv(VR(e[r],!1));return t}(e)),t):function(e){return"function"==typeof e}(e)?HR(kg([],Lv()),t):sg(e)?zR():function(e){return null===e}(e)?FR():function(e){return"symbol"==typeof e}(e)?QR():Jm(e)?Rb():rg(e)||eg(e)||og(e)?Mb(e):av({})}function ZR(e){return iv(sb(e))}function WR(e,t,r){return dg({[gg]:"Record",type:"object",patternProperties:{[e]:t}},r)}function XR(e,t,r){const n={};for(const r of e)n[r]=t;return av(n,{...r,[mg]:"Record"})}function GR(e,t,r={}){return ob(e)?function(e,t,r){return XR(Gb(mb(e)),t,r)}(e.anyOf,t,r):tb(e)?function(e,t,r){return Eb(e)?XR(Gb(e),t,r):WR(e.pattern,t,r)}(e,t,r):Qg(e)?function(e,t,r){return XR([e.toString()],t,r)}(e.const,t,r):Dg(e)?function(e,t,r){return av({true:t,false:t},r)}(0,t,r):Lg(e)||Zg(e)?function(e,t,r){return WR(Qb,t,r)}(0,t,r):Kg(e)?function(e,t,r){return WR(e.source,t,r)}(e,t,r):Jg(e)?function(e,t,r){return WR(sg(e.pattern)?zb:e.pattern,t,r)}(e,t,r):Ag(e)?function(e,t,r){return WR(zb,t,r)}(0,t,r):Hg(e)?function(e,t,r){return WR("^(?!.*)$",t,r)}(0,t,r):_g(r)}function YR(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function KR(e){return e.patternProperties[YR(e)]}function JR(e,t){const r=Eg(t),n=Tg(t),a=tN(e,t);return r&&n?ZR(a):r&&!n?iv(a):!r&&n?sb(a):a}function eN(e,t){return t.map((t=>tN(e,t)))}function tN(e,t){return Ng(t)||Ig(t)?function(e,t){return t.parameters=eN(e,t.parameters),t.returns=tN(e,t.returns),t}(e,t):jg(t)?function(e,t){return t.allOf=eN(e,t.allOf),t}(e,t):ob(t)?function(e,t){return t.anyOf=eN(e,t.anyOf),t}(e,t):nb(t)?function(e,t){return sg(t.items)||(t.items=eN(e,t.items)),t}(e,t):Pg(t)||$g(t)||Bg(t)?function(e,t){return t.items=tN(e,t.items),t}(e,t):Xg(t)?function(e,t){return t.item=tN(e,t.item),t}(e,t):Wg(t)?function(e,t){const r=function(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce(((r,n)=>({...r,[n]:JR(e,t[n])})),{})}(e,t.properties);return{...t,...av(r)}}(e,t):Gg(t)?function(e,t){const r=tN(e,function(e){const t=YR(e);return t===zb?Ib():t===Qb?Nb():Ib({pattern:t})}(t)),n=GR(r,tN(e,KR(t)));return{...t,...n}}(e,t):Cg(t)?function(e,t){return t.index in e?e[t.index]:Lv()}(e,t):t}function rN(e,t,r){return{[e]:oN(Mb(e),t,ug(r))}}function nN(e,t){return"string"==typeof e?"Uncapitalize"===t?function(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}(e):"Capitalize"===t?function(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}(e):"Uppercase"===t?function(e){return e.toUpperCase()}(e):"Lowercase"===t?function(e){return e.toLowerCase()}(e):e:e.toString()}function aN(e,t){return e.map((e=>oN(e,t)))}function oN(e,t,r={}){return zg(e)?function(e,t,r){return vg(function(e,t,r){return function(e,t,r){return e.reduce(((e,n)=>({...e,...rN(n,t,r)})),{})}(e.keys,t,r)}(e,t,r))}(e,t,r):tb(e)?function(e,t,r){const n=kb(e.pattern);return _b(n)?Wb([mb(aN([...Pb(n)].map((e=>Mb(e))),t))],r):{...e,pattern:nN(e.pattern,t)}}(e,t,r):ob(e)?mb(aN(e.anyOf,t),r):Qg(e)?Mb(nN(e.const,t),r):dg(e,r)}function iN(e,t){return jg(e)?db(function(e,t){return e.map((e=>iN(e,t)))}(e.allOf,t)):ob(e)?mb(function(e,t){return e.map((e=>iN(e,t)))}(e.anyOf,t)):Wg(e)?function(e,t){const r=yg(e,[pg,"$id","required","properties"]),n=function(e,t){return t.reduce(((e,t)=>function(e,t){const{[t]:r,...n}=e;return n}(e,t)),e)}(e.properties,t);return av(n,r)}(e,t):av({})}function sN(e,t,r){const n=Km(t)?function(e){return mb(e.reduce(((e,t)=>Fg(t)?[...e,Mb(t)]:e),[]))}(t):t,a=ib(t)?Gb(t):t,o=Yg(e),i=Yg(t);return qg(e)?function(e,t,r){return vg(function(e,t,r){return function(e,t,r){const n={};for(const a of globalThis.Object.getOwnPropertyNames(e))n[a]=sN(e[a],t,ug(r));return n}(e.properties,t,r)}(e,t,r))}(e,a,r):zg(t)?function(e,t,r){const n=function(e,t,r){return function(e,t,r){return t.reduce(((t,n)=>({...t,...lN(e,n,r)})),{})}(e,t.keys,r)}(e,t,r);return vg(n)}(e,t,r):o&&i||!o&&i||o&&!i?Sg("Omit",[e,n],r):dg({...iN(e,a),...r})}function lN(e,t,r){return{[t]:sN(e,[t],ug(r))}}function cN(e,t){return jg(e)?db(function(e,t){return e.map((e=>cN(e,t)))}(e.allOf,t)):ob(e)?mb(function(e,t){return e.map((e=>cN(e,t)))}(e.anyOf,t)):Wg(e)?function(e,t){const r=yg(e,[pg,"$id","required","properties"]),n=function(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}(e.properties,t);return av(n,r)}(e,t):av({})}function uN(e,t,r){const n=Km(t)?function(e){return mb(e.reduce(((e,t)=>Fg(t)?[...e,Mb(t)]:e),[]))}(t):t,a=ib(t)?Gb(t):t,o=Yg(e),i=Yg(t);return qg(e)?function(e,t,r){return vg(function(e,t,r){return function(e,t,r){const n={};for(const a of globalThis.Object.getOwnPropertyNames(e))n[a]=uN(e[a],t,ug(r));return n}(e.properties,t,r)}(e,t,r))}(e,a,r):zg(t)?function(e,t,r){const n=function(e,t,r){return function(e,t,r){return t.reduce(((t,n)=>({...t,...dN(e,n,r)})),{})}(e,t.keys,r)}(e,t,r);return vg(n)}(e,t,r):o&&i||!o&&i||o&&!i?Sg("Pick",[e,n],r):dg({...cN(e,a),...r})}function dN(e,t,r){return{[t]:uN(e,[t],ug(r))}}function pN(e){return e.map((e=>hN(e)))}function hN(e){return Rg(e)?Sg("Partial",[Sg(e.target,e.parameters)]):Yg(e)?Sg("Partial",[dv(e.$ref)]):jg(e)?db(pN(e.allOf)):ob(e)?mb(pN(e.anyOf)):Wg(e)?function(e){const t=yg(e,[pg,"$id","required","properties"]),r=function(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=sb(e[r]);return t}(e.properties);return av(r,t)}(e):Mg(e)||Dg(e)||Lg(e)||Qg(e)||Vg(e)||Zg(e)||Jg(e)||eb(e)||ab(e)?e:av({})}function fN(e,t){return qg(e)?function(e,t){const r=function(e,t){return function(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=fN(e[n],ug(t));return r}(e.properties,t)}(e,t);return vg(r)}(e,t):dg({...hN(e),...t})}function mN(e){return e.map((e=>gN(e)))}function gN(e){return Rg(e)?Sg("Required",[Sg(e.target,e.parameters)]):Yg(e)?Sg("Required",[dv(e.$ref)]):jg(e)?db(mN(e.allOf)):ob(e)?mb(mN(e.anyOf)):Wg(e)?function(e){const t=yg(e,[pg,"$id","required","properties"]),r=function(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=yg(e[r],[fg]);return t}(e.properties);return av(r,t)}(e):Mg(e)||Dg(e)||Lg(e)||Qg(e)||Vg(e)||Zg(e)||Jg(e)||eb(e)||ab(e)?e:av({})}function bN(e,t){return qg(e)?function(e,t){const r=function(e,t){return function(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=bN(e[n],t);return r}(e.properties,t)}(e,t);return vg(r)}(e,t):dg({...gN(e),...t})}function vN(e,t){return t in e?Yg(e[t])?vN(e,e[t].$ref):ON(e,e[t]):_g()}function yN(e,t){return t.map((t=>ON(e,t)))}function ON(e,t){return Tg(t)?dg(ON(e,yg(t,[fg])),t):Eg(t)?dg(ON(e,yg(t,[hg])),t):rb(t)?dg(function(e,t){return Yg(t)?{...vN(e,t.$ref),[pg]:t[pg]}:t}(e,t),t):Pg(t)?dg(function(e,t){return Og(ON(e,t))}(e,t.items),t):$g(t)?dg(function(e,t){return wg(ON(e,t))}(e,t.items),t):Rg(t)?dg(function(e,t,r){const n=function(e,t){return t.map((t=>Yg(t)?vN(e,t.$ref):ON(e,t)))}(e,r);return"Awaited"===t?function(e){return jR(e[0])}(n):"Index"===t?function(e){return tv(e[0],e[1])}(n):"KeyOf"===t?function(e){return gv(e[0])}(n):"Partial"===t?function(e){return fN(e[0])}(n):"Omit"===t?function(e){return sN(e[0],e[1])}(n):"Pick"===t?function(e){return uN(e[0],e[1])}(n):"Required"===t?function(e){return bN(e[0])}(n):_g()}(e,t.target,t.parameters)):Ng(t)?dg(function(e,t,r){return xg(yN(e,t),ON(e,r))}(e,t.parameters,t.returns),t):Ig(t)?dg(function(e,t,r){return kg(yN(e,t),ON(e,r))}(e,t.parameters,t.returns),t):jg(t)?dg(function(e,t){return db(yN(e,t))}(e,t.allOf),t):Bg(t)?dg(function(e,t){return nv(ON(e,t))}(e,t.items),t):Wg(t)?dg(function(e,t){return av(globalThis.Object.keys(t).reduce(((r,n)=>({...r,[n]:ON(e,t[n])})),{}))}(e,t.properties),t):Gg(t)?dg(function(e,t){const[r,n]=[ON(e,KR(t)),YR(t)],a=IR(t);return a.patternProperties[n]=r,a}(e,t)):nb(t)?dg(function(e,t){return sv(yN(e,t))}(e,t.items||[]),t):ob(t)?dg(function(e,t){return mb(yN(e,t))}(e,t.anyOf),t):t}function wN(e,t){return t in e?ON(e,e[t]):_g()}class xN{constructor(e){const t=(r=e,globalThis.Object.getOwnPropertyNames(r).reduce(((e,t)=>({...e,[t]:wN(r,t)})),{}));var r;const n=this.WithIdentifiers(t);this.$defs=n}Import(e,t){const r={...this.$defs,[e]:dg(this.$defs[e],t)};return dg({[gg]:"Import",$defs:r,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:{...e[r],$id:r}})),{})}}let kN=0;class SN{constructor(e){this.schema=e}Decode(e){return new _N(this.schema,e)}}class _N{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){const r={Encode:r=>t[pg].Encode(e(r)),Decode:e=>this.decode(t[pg].Decode(e))};return{...t,[pg]:r}}EncodeSchema(e,t){const r={Decode:this.decode,Encode:e};return{...t,[pg]:r}}Encode(e){return rb(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}const EN=Object.freeze(Object.defineProperty({__proto__:null,Any:Iv,Argument:function(e){return dg({[gg]:"Argument",index:e})},Array:Og,AsyncIterator:wg,Awaited:jR,BigInt:Rb,Boolean:Db,Capitalize:function(e,t={}){return oN(e,"Capitalize",t)},Composite:function(e,t){const r=function(e,t){const r={};for(const n of t)r[n]=ub(BR(e,n));return r}(e,function(e){const t=[];for(const r of e)t.push(...hv(r));return function(e){return[...new Set(e)]}(t)}(e));return av(r,t)},Const:function(e,t){return dg(VR(e,!0),t)},Constructor:xg,ConstructorParameters:function(e,t){return Ng(e)?sv(e.parameters,t):_g(t)},Date:UR,Enum:function(e,t){if(sg(e))throw new Error("Enum undefined or empty");const r=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((t=>e[t]));return mb([...new Set(r)].map((e=>Mb(e))),{...t,[mg]:"Enum"})},Exclude:function e(t,r,n={}){return tb(t)?dg(function(t,r){return e(Zb(t),r)}(t,r),n):qg(t)?dg(function(t,r){const n=function(t,r){return function(t,r){const n={};for(const a of globalThis.Object.getOwnPropertyNames(t))n[a]=e(t[a],r);return n}(t.properties,r)}(t,r);return vg(n)}(t,r),n):dg(ob(t)?function(e,t){const r=e.filter((e=>iO(e,t)===Py.False));return 1===r.length?r[0]:mb(r)}(t.anyOf,r):iO(t,r)!==Py.False?_g():t,n)},Extends:sO,Extract:function e(t,r,n){return tb(t)?dg(function(t,r){return e(Zb(t),r)}(t,r),n):qg(t)?dg(function(t,r){const n=function(t,r){return function(t,r){const n={};for(const a of globalThis.Object.getOwnPropertyNames(t))n[a]=e(t[a],r);return n}(t.properties,r)}(t,r);return vg(n)}(t,r),n):dg(ob(t)?function(e,t){const r=e.filter((e=>iO(e,t)!==Py.False));return 1===r.length?r[0]:mb(r)}(t.anyOf,r):iO(t,r)!==Py.False?t:_g(),n)},Function:kg,Index:tv,InstanceType:function(e,t){return Ng(e)?dg(e.returns,t):_g(t)},Instantiate:function(e,t){return tN(t,IR(e))},Integer:function(e){return dg({[gg]:"Integer",type:"integer"},e)},Intersect:db,Iterator:nv,KeyOf:gv,Literal:Mb,Lowercase:function(e,t={}){return oN(e,"Lowercase",t)},Mapped:function(e,t,r){const n=ib(e)?Gb(e):e,a=function(e,t){const r={};for(const n of e)r[n]=uv(n,t);return r}(n,t({[gg]:"MappedKey",keys:n}));return av(a,r)},Module:function(e){return new xN(e)},Never:_g,Not:function(e,t){return dg({[gg]:"Not",not:e},t)},Null:FR,Number:Nb,Object:av,Omit:sN,Optional:sb,Parameters:function(e,t){return Ig(e)?sv(e.parameters,t):_g()},Partial:fN,Pick:uN,Promise:ov,Readonly:iv,ReadonlyOptional:ZR,Record:GR,Recursive:function(e,t={}){sg(t.$id)&&(t.$id="T"+kN++);const r=IR(e({[gg]:"This",$ref:`${t.$id}`}));return r.$id=t.$id,dg({[mg]:"Recursive",...r},t)},Ref:dv,RegExp:function(e,t){const r=og(e)?new globalThis.RegExp(e):e;return dg({[gg]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)},Required:bN,Rest:function(e){return function(e){return jg(e)?e.allOf:ob(e)?e.anyOf:nb(e)?e.items??[]:[]}(e)},ReturnType:function(e,t){return Ig(e)?dg(e.returns,t):_g(t)},String:Ib,Symbol:QR,TemplateLiteral:Wb,Transform:function(e){return new SN(e)},Tuple:sv,Uint8Array:qR,Uncapitalize:function(e,t={}){return oN(e,"Uncapitalize",t)},Undefined:zR,Union:mb,Unknown:Lv,Unsafe:function(e={}){return dg({[gg]:e[gg]??"Unsafe"},e)},Uppercase:function(e,t={}){return oN(e,"Uppercase",t)},Void:function(e){return dg({[gg]:"Void",type:"void"},e)}},Symbol.toStringTag,{value:"Module"})),TN=["c/libcurl","clojure/clj_http","csharp/httpclient","csharp/restsharp","dart/http","go/native","http/http1.1","java/asynchttp","java/nethttp","java/okhttp","java/unirest","js/axios","js/fetch","js/jquery","js/ofetch","js/xhr","kotlin/okhttp","node/axios","node/fetch","node/ofetch","node/undici","objc/nsurlsession","ocaml/cohttp","php/curl","php/guzzle","powershell/restmethod","powershell/webrequest","python/python3","python/requests","python/httpx_sync","python/httpx_async","r/httr","ruby/native","rust/reqwest","shell/curl","shell/httpie","shell/wget","swift/nsurlsession"],AN=(...e)=>EN.Composite(e),CN=EN.Object({name:EN.String(),value:EN.String(),domain:EN.Optional(EN.String()),path:EN.Optional(EN.String())}),PN=EN.Record(EN.String(),CN),$N=EN.Union([EN.Partial(EN.Object({description:EN.String(),default:EN.String()})),EN.String()]),MN=EN.Object({description:EN.Optional(EN.String()),color:EN.Optional(EN.String()),variables:EN.Record(EN.String(),$N)}),DN=EN.Record(EN.String(),MN),RN=EN.Object({type:EN.Union([EN.Literal("text"),EN.Literal("operation"),EN.Literal("model"),EN.Literal("tag"),EN.Literal("webhook")]),id:EN.String(),title:EN.String()}),NN=AN(RN,EN.Object({type:EN.Literal("text"),children:EN.Optional(EN.Array(RN))})),IN=AN(RN,EN.Object({type:EN.Literal("operation"),ref:EN.String(),method:EN.String(),path:EN.String()})),LN=AN(RN,EN.Object({type:EN.Literal("model"),ref:EN.String(),name:EN.String()})),jN=AN(RN,EN.Object({type:EN.Literal("webhook"),ref:EN.String(),method:EN.String(),name:EN.String()})),BN=EN.Ref("TraversedEntrySchema"),UN=EN.Ref("TraversedTagSchema"),FN=AN(RN,EN.Object({type:EN.Literal("tag"),name:EN.String(),children:EN.Optional(EN.Array(BN)),isGroup:EN.Boolean()})),QN=EN.Union([UN,NN,IN,LN,jN]),zN=EN.Module({TraversedTagSchema:FN,TraversedEntrySchema:QN});zN.Import("TraversedTagSchema");const qN=zN.Import("TraversedEntrySchema"),HN="ComponentsObject",VN="SecurityRequirementObject",ZN="TagObject",WN="CallbackObject",XN="PathsObject",GN="PathItemObject",YN="OperationObject",KN="SchemaObject",JN="EncodingObject",eI="HeaderObject",tI="MediaTypeObject",rI="ServerObject",nI="ExternalDocumentationObject",aI="InfoObject",oI="ContactObject",iI="LicenseObject",sI="ResponseObject",lI="ResponsesObject",cI="ParameterObject",uI="ExampleObject",dI="RequestBodyObject",pI="SecuritySchemeObject",hI="LinkObject",fI="XMLObject",mI="DiscriminatorObject",gI="OAuthFlowsObject",bI="ServerVariableObject",vI=EN.Ref(HN),yI=EN.Ref(VN),OI=EN.Ref(ZN),wI=EN.Ref(WN),xI=EN.Ref(GN),kI=EN.Ref(XN),SI=EN.Ref(YN),_I=EN.Ref(KN),EI=EN.Ref(JN),TI=EN.Ref(eI),AI=EN.Ref(tI),CI=EN.Ref(rI),PI=EN.Ref(nI),$I=EN.Ref(aI),MI=EN.Ref(oI),DI=EN.Ref(iI),RI=EN.Ref(sI),NI=EN.Ref(lI),II=EN.Ref(cI),LI=EN.Ref(uI),jI=EN.Ref(dI),BI=EN.Ref(pI),UI=EN.Ref(hI),FI=EN.Ref(fI),QI=EN.Ref(mI),zI=EN.Ref(gI),qI=EN.Ref(bI),HI=EN.Object({$status:EN.Optional(EN.Union([EN.Literal("loading"),EN.Literal("error")])),$global:EN.Optional(EN.Boolean())}),VI=AN(EN.Object({$ref:EN.String(),summary:EN.Optional(EN.String()),description:EN.Optional(EN.String())}),HI),ZI=e=>AN(VI,EN.Object({"$ref-value":e})),WI=EN.Record(EN.String(),EN.Union([xI,ZI(xI)])),XI=EN.Object({name:EN.Optional(EN.String()),url:EN.Optional(EN.String()),email:EN.Optional(EN.String())}),GI=EN.Object({propertyName:EN.String(),mapping:EN.Optional(EN.Record(EN.String(),EN.String()))}),YI=EN.Object({contentType:EN.Optional(EN.String()),headers:EN.Optional(EN.Record(EN.String(),EN.Union([TI,ZI(TI)])))}),KI=EN.Object({summary:EN.Optional(EN.String()),description:EN.Optional(EN.String()),value:EN.Optional(EN.Any()),externalValue:EN.Optional(EN.String())}),JI=EN.Object({description:EN.Optional(EN.String()),required:EN.Optional(EN.Boolean()),deprecated:EN.Optional(EN.Boolean())}),eL=AN(JI,EN.Object({style:EN.Optional(EN.String()),explode:EN.Optional(EN.Boolean()),schema:EN.Optional(EN.Union([_I,ZI(_I)])),example:EN.Optional(EN.Any()),examples:EN.Optional(EN.Record(EN.String(),EN.Union([LI,ZI(LI)])))})),tL=EN.Union([eL,AN(JI,EN.Object({content:EN.Optional(EN.Record(EN.String(),AI))}))]),rL=EN.Object({name:EN.Optional(EN.String()),identifier:EN.Optional(EN.String()),url:EN.Optional(EN.String())}),nL=EN.Object({operationRef:EN.Optional(EN.String()),operationId:EN.Optional(EN.String()),parameters:EN.Optional(EN.Record(EN.String(),EN.Any())),requestBody:EN.Optional(EN.Any()),description:EN.Optional(EN.String()),server:EN.Optional(CI)}),aL=EN.Object({schema:EN.Optional(EN.Union([_I,ZI(_I)])),example:EN.Optional(EN.Any()),examples:EN.Optional(EN.Record(EN.String(),EN.Union([LI,ZI(LI)]))),encoding:EN.Optional(EN.Record(EN.String(),EI))}),oL=EN.Object({"x-scalar-secret-token":EN.Optional(EN.String())}),iL=EN.Object({"x-scalar-secret-username":EN.Optional(EN.String()),"x-scalar-secret-password":EN.Optional(EN.String())}),sL=EN.Object({refreshUrl:EN.Optional(EN.String()),scopes:EN.Record(EN.String(),EN.String())}),lL=AN(sL,oL,EN.Object({authorizationUrl:EN.String()})),cL=AN(sL,oL,EN.Object({tokenUrl:EN.String()})),uL=AN(sL,oL,EN.Object({tokenUrl:EN.String()})),dL=AN(sL,oL,EN.Object({authorizationUrl:EN.String(),tokenUrl:EN.String()}));EN.Union([lL,cL,uL,dL]);const pL=EN.Object({implicit:EN.Optional(lL),password:EN.Optional(cL),clientCredentials:EN.Optional(uL),authorizationCode:EN.Optional(dL)}),hL=EN.Object({"x-internal":EN.Optional(EN.Boolean())}),fL=EN.Object({"x-scalar-ignore":EN.Optional(EN.Boolean())}),mL=EN.Object({name:EN.String({description:"The text that displays in the badge",minLength:1}),position:EN.Optional(EN.Union([EN.Literal("before"),EN.Literal("after")],{description:"The position of the badge in relation to the header",default:"after"})),color:EN.Optional(EN.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"}),gL=EN.Object({"x-badges":EN.Optional(EN.Array(mL))}),bL=EN.Object({lang:EN.Optional(EN.String()),label:EN.Optional(EN.String()),source:EN.String()}),vL=EN.Object({"x-codeSamples":EN.Optional(EN.Array(bL)),"x-code-samples":EN.Optional(EN.Array(bL)),"x-custom-examples":EN.Optional(EN.Array(bL))}),yL=EN.Object({"x-scalar-stability":EN.Optional(EN.Union([EN.Literal("deprecated"),EN.Literal("experimental"),EN.Literal("stable")]))}),OL=EN.Union([EN.Object({url:EN.String(),base64:EN.Optional(EN.String())}),EN.Null()]),wL=EN.Object({encoding:EN.Union(["application/json","text/plain","text/html","application/javascript","application/xml","application/yaml","application/edn","application/octet-stream","application/x-www-form-urlencoded","multipart/form-data","binary"].map((e=>EN.Literal(e)))),content:EN.Union([EN.Record(EN.String(),EN.Any()),EN.String()]),file:EN.Optional(OL)}),xL=EN.Optional(EN.Record(EN.String(),EN.String())),kL=EN.Partial(EN.Object({name:EN.String(),body:wL,parameters:EN.Object({path:xL,query:xL,header:xL,cookie:xL})})),SL=EN.Partial(EN.Object({"x-scalar-client-config-request-example":EN.Record(EN.String(),kL)})),_L=AN(EN.Object({tags:EN.Optional(EN.Array(EN.String())),summary:EN.Optional(EN.String()),description:EN.Optional(EN.String()),externalDocs:EN.Optional(PI),operationId:EN.Optional(EN.String()),parameters:EN.Optional(EN.Array(EN.Union([II,ZI(II)]))),requestBody:EN.Optional(EN.Union([jI,ZI(jI)])),responses:EN.Optional(NI),deprecated:EN.Optional(EN.Boolean()),security:EN.Optional(EN.Array(yI)),servers:EN.Optional(EN.Array(CI)),callbacks:EN.Optional(EN.Record(EN.String(),EN.Union([wI,ZI(wI)])))}),SL,gL,hL,fL,vL,yL),EL=EN.Object({name:EN.String(),in:EN.Union([EN.Literal("query"),EN.Literal("header"),EN.Literal("path"),EN.Literal("cookie")]),description:EN.Optional(EN.String()),required:EN.Optional(EN.Boolean()),deprecated:EN.Optional(EN.Boolean()),allowEmptyValue:EN.Optional(EN.Boolean())}),TL=AN(EL,EN.Object({style:EN.Optional(EN.String()),explode:EN.Optional(EN.Boolean()),schema:EN.Optional(EN.Union([_I,ZI(_I)])),example:EN.Optional(EN.Any()),examples:EN.Optional(EN.Record(EN.String(),EN.Union([LI,ZI(LI)])))})),AL=AN(EL,EN.Object({content:EN.Optional(EN.Record(EN.String(),AI))})),CL=EN.Union([TL,AL]),PL=EN.Object({$ref:EN.Optional(EN.String()),summary:EN.Optional(EN.String()),description:EN.Optional(EN.String()),get:EN.Optional(EN.Union([SI,ZI(SI)])),put:EN.Optional(EN.Union([SI,ZI(SI)])),post:EN.Optional(EN.Union([SI,ZI(SI)])),delete:EN.Optional(EN.Union([SI,ZI(SI)])),patch:EN.Optional(EN.Union([SI,ZI(SI)])),connect:EN.Optional(EN.Union([SI,ZI(SI)])),options:EN.Optional(EN.Union([SI,ZI(SI)])),head:EN.Optional(EN.Union([SI,ZI(SI)])),trace:EN.Optional(EN.Union([SI,ZI(SI)])),servers:EN.Optional(EN.Array(CI)),parameters:EN.Optional(EN.Array(EN.Union([II,ZI(II)])))}),$L=EN.Object({description:EN.Optional(EN.String()),content:EN.Record(EN.String(),AI),required:EN.Optional(EN.Boolean())}),ML=EN.Object({description:EN.String(),headers:EN.Optional(EN.Record(EN.String(),EN.Union([TI,ZI(TI)]))),content:EN.Optional(EN.Record(EN.String(),AI)),links:EN.Optional(EN.Record(EN.String(),EN.Union([UI,ZI(UI)])))}),DL=EN.Record(EN.String(),EN.Union([RI,ZI(RI)])),RL=EN.Object({"x-tags":EN.Optional(EN.Array(EN.String()))}),NL=EN.Object({"x-additionalPropertiesName":EN.Optional(EN.String())}),IL=EN.Object({"x-enumDescriptions":EN.Optional(EN.Union([EN.Record(EN.String(),EN.String()),EN.Array(EN.String())])),"x-enum-descriptions":EN.Optional(EN.Union([EN.Record(EN.String(),EN.String()),EN.Array(EN.String())]))}),LL=EN.Object({"x-enum-varnames":EN.Optional(EN.Array(EN.String())),"x-enumNames":EN.Optional(EN.Array(EN.String()))}),jL=EN.Object({"x-variable":EN.Optional(EN.String())}),BL=EN.Union([_I,ZI(_I)]),UL=EN.Object({type:EN.Union([EN.Literal("null"),EN.Literal("boolean"),EN.Array(EN.Union([EN.Literal("null"),EN.Literal("boolean"),EN.Literal("string"),EN.Literal("number"),EN.Literal("integer"),EN.Literal("object"),EN.Literal("array")]))])}),FL=EN.Object({type:EN.Union([EN.Literal("number"),EN.Literal("integer")]),format:EN.Optional(EN.Union([EN.Literal("int8"),EN.Literal("int16"),EN.Literal("int32"),EN.Literal("int64"),EN.Literal("uint8"),EN.Literal("uint16"),EN.Literal("uint32"),EN.Literal("uint64"),EN.Literal("double-int"),EN.Literal("float"),EN.Literal("double"),EN.Literal("decimal"),EN.Literal("decimal128"),EN.Literal("sf-integer"),EN.Literal("sf-decimal")])),multipleOf:EN.Optional(EN.Number()),maximum:EN.Optional(EN.Number()),exclusiveMaximum:EN.Optional(EN.Union([EN.Boolean(),EN.Number()])),minimum:EN.Optional(EN.Number()),exclusiveMinimum:EN.Optional(EN.Union([EN.Boolean(),EN.Number()]))}),QL=EN.Object({type:EN.Literal("string"),format:EN.Optional(EN.Union([EN.Literal("date"),EN.Literal("date-time"),EN.Literal("date-time-local"),EN.Literal("time"),EN.Literal("time-local"),EN.Literal("duration"),EN.Literal("http-date"),EN.Literal("email"),EN.Literal("idn-email"),EN.Literal("hostname"),EN.Literal("idn-hostname"),EN.Literal("ipv4"),EN.Literal("ipv6"),EN.Literal("uri"),EN.Literal("uri-reference"),EN.Literal("uri-template"),EN.Literal("iri"),EN.Literal("iri-reference"),EN.Literal("uuid"),EN.Literal("binary"),EN.Literal("byte"),EN.Literal("base64url"),EN.Literal("html"),EN.Literal("commonmark"),EN.Literal("password"),EN.Literal("regex"),EN.Literal("json-pointer"),EN.Literal("relative-json-pointer"),EN.Literal("media-range"),EN.Literal("char"),EN.Literal("sf-string"),EN.Literal("sf-token"),EN.Literal("sf-binary"),EN.Literal("sf-boolean")])),maxLength:EN.Optional(EN.Integer({minimum:0})),minLength:EN.Optional(EN.Integer({minimum:0})),pattern:EN.Optional(EN.String())}),zL=EN.Object({name:EN.Optional(EN.String()),title:EN.Optional(EN.String()),description:EN.Optional(EN.String()),default:EN.Optional(EN.Unknown()),enum:EN.Optional(EN.Array(EN.Unknown())),const:EN.Optional(EN.Unknown()),contentMediaType:EN.Optional(EN.String()),contentEncoding:EN.Optional(EN.String()),contentSchema:EN.Optional(BL),deprecated:EN.Optional(EN.Boolean()),discriminator:EN.Optional(QI),readOnly:EN.Optional(EN.Boolean()),writeOnly:EN.Optional(EN.Boolean()),xml:EN.Optional(FI),externalDocs:EN.Optional(PI),example:EN.Optional(EN.Unknown()),examples:EN.Optional(EN.Array(EN.Unknown())),allOf:EN.Optional(EN.Array(BL)),oneOf:EN.Optional(EN.Array(BL)),anyOf:EN.Optional(EN.Array(BL)),not:EN.Optional(BL)}),qL=EN.Object({type:EN.Literal("array"),maxItems:EN.Optional(EN.Integer({minimum:0})),minItems:EN.Optional(EN.Integer({minimum:0})),uniqueItems:EN.Optional(EN.Boolean()),items:EN.Optional(BL),prefixItems:EN.Optional(EN.Array(BL))}),HL=EN.Object({type:EN.Literal("object"),maxProperties:EN.Optional(EN.Integer({minimum:0})),minProperties:EN.Optional(EN.Integer({minimum:0})),required:EN.Optional(EN.Array(EN.String())),properties:EN.Optional(EN.Record(EN.String(),BL)),additionalProperties:EN.Optional(EN.Union([EN.Boolean(),BL])),patternProperties:EN.Optional(EN.Record(EN.String(),BL))}),VL=AN(fL,hL,jL,IL,LL,NL,RL),ZL=EN.Union([AN(EN.Object({_:EN.String()}),zL,VL),AN(UL,zL,VL),AN(FL,zL,VL),AN(QL,zL,VL),AN(HL,zL,VL),AN(qL,zL,VL)]),WL=EN.Object({description:EN.Optional(EN.String())}),XL=AN(WL,oL,EN.Object({type:EN.Literal("apiKey"),name:EN.String(),in:EN.String()})),GL=AN(WL,oL,iL,EN.Object({type:EN.Literal("http"),scheme:EN.String(),bearerFormat:EN.Optional(EN.String())})),YL=AN(WL,EN.Object({type:EN.Literal("oauth2"),flows:zI})),KL=AN(WL,EN.Object({type:EN.Literal("openIdConnect"),openIdConnectUrl:EN.String()})),JL=EN.Union([XL,GL,YL,KL]),ej=EN.Object({enum:EN.Optional(EN.Array(EN.String())),default:EN.Optional(EN.String()),description:EN.Optional(EN.String())}),tj=EN.Object({name:EN.Optional(EN.String()),namespace:EN.Optional(EN.String()),prefix:EN.Optional(EN.String()),attribute:EN.Optional(EN.Boolean()),wrapped:EN.Optional(EN.Boolean())}),rj=EN.Object({schemas:EN.Optional(EN.Record(EN.String(),EN.Union([_I,ZI(_I)]))),responses:EN.Optional(EN.Record(EN.String(),EN.Union([RI,ZI(RI)]))),parameters:EN.Optional(EN.Record(EN.String(),EN.Union([II,ZI(II)]))),examples:EN.Optional(EN.Record(EN.String(),EN.Union([LI,ZI(LI)]))),requestBodies:EN.Optional(EN.Record(EN.String(),EN.Union([jI,ZI(jI)]))),headers:EN.Optional(EN.Record(EN.String(),EN.Union([TI,ZI(TI)]))),securitySchemes:EN.Optional(EN.Record(EN.String(),EN.Union([BI,ZI(BI)]))),links:EN.Optional(EN.Record(EN.String(),EN.Union([UI,ZI(UI)]))),callbacks:EN.Optional(EN.Record(EN.String(),EN.Union([wI,ZI(wI)]))),pathItems:EN.Optional(EN.Record(EN.String(),xI))}),nj=EN.Object({description:EN.Optional(EN.String()),url:EN.String()}),aj=EN.Object({"x-scalar-sdk-installation":EN.Optional(EN.Array(EN.Object({lang:EN.String(),source:EN.Optional(EN.String()),description:EN.Optional(EN.String())})))}),oj=AN(EN.Object({title:EN.String(),summary:EN.Optional(EN.String()),description:EN.Optional(EN.String()),termsOfService:EN.Optional(EN.String()),contact:EN.Optional(MI),license:EN.Optional(DI),version:EN.String()}),aj),ij=EN.Record(EN.String(),xI),sj=EN.Record(EN.String(),EN.Array(EN.String())),lj=EN.Object({url:EN.String(),description:EN.Optional(EN.String()),variables:EN.Optional(EN.Record(EN.String(),qI))}),cj=EN.Object({"x-displayName":EN.Optional(EN.String())}),uj=AN(EN.Object({name:EN.String(),description:EN.Optional(EN.String()),externalDocs:EN.Optional(PI)}),cj,hL,fL),dj=EN.Partial(EN.Object({"x-tagGroups":EN.Array(AN(EN.Object({tags:EN.Array(EN.String())}),OI)),"x-scalar-client-config-active-environment":EN.String(),"x-scalar-client-config-icon":EN.String(),"x-scalar-client-config-environments":DN,"x-scalar-client-config-cookies":PN,"x-original-oas-version":EN.String(),[CR]:EN.Array(qN)})),pj=AN(EN.Object({openapi:EN.String(),info:$I,jsonSchemaDialect:EN.Optional(EN.String()),servers:EN.Optional(EN.Array(CI)),paths:EN.Optional(kI),webhooks:EN.Optional(EN.Record(EN.String(),xI)),components:EN.Optional(vI),security:EN.Optional(EN.Array(yI)),tags:EN.Optional(EN.Array(OI)),externalDocs:EN.Optional(PI)}),dj),hj=EN.Module({[HN]:rj,[VN]:sj,[ZN]:uj,[WN]:WI,[GN]:PL,[XN]:ij,[YN]:_L,[KN]:ZL,[JN]:YI,[tI]:aL,[eI]:tL,[rI]:lj,[nI]:nj,[aI]:oj,[oI]:XI,[iI]:rL,[sI]:ML,[lI]:DL,[cI]:CL,[uI]:KI,[dI]:$L,[pI]:JL,[hI]:nL,[fI]:tj,[mI]:GI,[gI]:pL,[bI]:ej,OpenApiDocument:pj}),fj=hj.Import("OpenApiDocument");hj.Import("ComponentsObject"),hj.Import("SecurityRequirementObject"),hj.Import("TagObject"),hj.Import("CallbackObject"),hj.Import("PathItemObject"),hj.Import("PathsObject"),hj.Import("OperationObject"),hj.Import("SchemaObject"),hj.Import("EncodingObject"),hj.Import("MediaTypeObject"),hj.Import("HeaderObject");const mj=hj.Import("ServerObject");hj.Import("ExternalDocumentationObject"),hj.Import("InfoObject"),hj.Import("ContactObject"),hj.Import("LicenseObject"),hj.Import("ResponseObject"),hj.Import("ResponsesObject"),hj.Import("ParameterObject"),hj.Import("ExampleObject"),hj.Import("RequestBodyObject");const gj=hj.Import("SecuritySchemeObject");hj.Import("LinkObject"),hj.Import("XMLObject"),hj.Import("DiscriminatorObject"),hj.Import("OAuthFlowsObject"),hj.Import("ServerVariableObject");const bj=EN.Partial(EN.Object({[PR]:EN.String(),[$R]:EN.String()})),vj=EN.Intersect([bj,fj]),yj=EN.Partial(EN.Object({[MR]:EN.Boolean(),[DR]:EN.Union(TN.map((e=>EN.Literal(e)))),[RR]:EN.String(),[NR]:EN.String()})),Oj=EN.Partial(EN.Object({"x-scalar-client-config-environments":DN,"x-scalar-client-config-cookies":PN,"x-scalar-client-config-servers":EN.Array(mj),"x-scalar-client-config-security-schemes":EN.Record(EN.String(),gj)}));AN(yj,EN.Object({documents:EN.Record(EN.String(),vj),activeDocument:EN.Union([EN.Undefined(),vj])}),Oj);const wj=EN.Partial(EN.Object({layout:EN.Union([EN.Literal("modern"),EN.Literal("classic")]),theme:EN.String(),favicon:EN.String(),initialColorMode:EN.Union([EN.Literal("auto"),EN.Literal("dark"),EN.Literal("light")]),forceColorMode:EN.Union([EN.Literal("dark"),EN.Literal("light")]),css:EN.String(),loadDefaultFonts:EN.Boolean()})),xj=EN.Partial(EN.Object({showSidebar:EN.Boolean(),showModels:EN.Boolean(),showDownload:EN.Boolean(),showTestRequestButton:EN.Boolean(),showSearch:EN.Boolean(),showApiClientImport:EN.Boolean(),showDarkModeToggle:EN.Boolean(),expandAllTagSections:EN.Boolean(),persistAuthenticationState:EN.Boolean()})),kj=EN.Partial(EN.Object({title:EN.String(),description:EN.String(),ogTitle:EN.String(),ogDescription:EN.String(),ogImage:EN.String(),twitterCard:EN.String()})),Sj=EN.Partial(EN.Object({basePath:EN.String(),pathNotFound:EN.String()})),_j=EN.Partial(EN.Object({proxyUrl:EN.String(),searchKey:EN.String(),servers:EN.Array(mj),baseServerUrl:EN.String()})),Ej=EN.Partial(EN.Object({title:EN.String(),slug:EN.String(),settings:_j,routing:Sj,appearance:wj,features:xj,meta:kj,httpClients:EN.Array(EN.Union(TN.map((e=>EN.Literal(e)))))})),Tj={title:"Scalar API Reference",slug:"scalar-api-reference",settings:{proxyUrl:"https://proxy.scalar.com",searchKey:"k",servers:[],baseServerUrl:""},routing:{basePath:"/",pathNotFound:"/"},appearance:{layout:"modern",theme:"default",favicon:"",initialColorMode:"auto",forceColorMode:"dark",css:"",loadDefaultFonts:!0},features:{showSidebar:!0,showModels:!0,showDownload:!0,showTestRequestButton:!0,showSearch:!0,showApiClientImport:!0,showDarkModeToggle:!0,expandAllTagSections:!1,persistAuthenticationState:!1},meta:{title:"Scalar API Reference",description:"Scalar API Reference",ogTitle:"Scalar API Reference",ogDescription:"Scalar API Reference",ogImage:"https://scalar.com/images/scalar-logo.png",twitterCard:"summary_large_image"},httpClients:TN},Aj=EN.Partial(EN.Object({"x-scalar-reference-config":Ej})),Cj=EN.Record(EN.String(),EN.Unknown()),Pj=EN.Object({meta:yj,documentConfigs:EN.Record(EN.String(),Aj),documents:EN.Record(EN.String(),vj),originalDocuments:EN.Record(EN.String(),Cj),intermediateDocuments:EN.Record(EN.String(),Cj),overrides:EN.Record(EN.String(),EN.Any()),documentMeta:EN.Record(EN.String(),EN.Partial(EN.Object({documentSource:EN.Optional(EN.String())})))}),$j=(e,t)=>MO(e,t),Mj=e=>({addCookie:t=>!!e&&(e["x-scalar-client-config-cookies"]||(e["x-scalar-client-config-cookies"]={}),e["x-scalar-client-config-cookies"][t.name]?(console.warn(`Cookie with name "${t.name}" already exists in the document.`),!1):(e["x-scalar-client-config-cookies"][t.name]=t,!0)),deleteCookie:t=>!(!e||!e["x-scalar-client-config-cookies"]||(delete e["x-scalar-client-config-cookies"][t],0))}),Dj=e=>({addEnvironment:(t,r)=>!!e&&(e["x-scalar-client-config-environments"]||(e["x-scalar-client-config-environments"]={}),e["x-scalar-client-config-environments"][t]?(console.warn(`Environment with name "${t}" already exists in the document.`),!1):(e["x-scalar-client-config-environments"][t]=r,!0)),deleteEnvironment:t=>!(!e||!e["x-scalar-client-config-environments"]||(delete e["x-scalar-client-config-environments"][t],0))}),Rj=e=>({moveRequest:({source:t,destination:r})=>{if(!e||!e.paths)return!1;const n=e.paths[t.path];if(!n)return!1;const a=n[t.method];if(!a)return!1;const o=r.path||t.path,i=r.method||t.method;return e.paths[o]?.[i]?(console.warn(`Request already exists at ${o} with method ${i}.`),!1):(delete n[t.method],e.paths[o]||(e.paths[o]={}),e.paths[o][i]=a,!0)},deleteRequest:({path:t,method:r})=>{if(!e)return!1;const n=e?.paths?.[t];return!!n&&(!!n[r]&&(delete n[r],!0))}}),Nj=e=>({addRequestExample:({path:t,method:r,slug:n,request:a})=>{if(!e||!e.paths)return!1;e.paths[t]||(e.paths[t]={}),e.paths[t][r]||(e.paths[t][r]={});const o=hR(e.paths[t][r]);return o["x-scalar-client-config-request-example"]||(o["x-scalar-client-config-request-example"]={}),o["x-scalar-client-config-request-example"][n]?(console.warn(`Request example with slug "${n}" already exists for ${r.toUpperCase()} ${t}.`),!1):(o["x-scalar-client-config-request-example"][n]=a,!0)},deleteRequestExample:({path:t,method:r,slug:n})=>{if(!e)return!1;const a=e?.paths?.[t];if(!a)return!1;const o=hR(a[r]);return!!o&&!!o["x-scalar-client-config-request-example"]&&(delete o["x-scalar-client-config-request-example"][n],!0)}}),Ij=e=>({addSecurityScheme:(t,r)=>!!e&&!e[t]&&(e[t]=r,!0),deleteSecurityScheme:t=>!(!e||!e[t]||(delete e[t],0))}),Lj=e=>({addServer:t=>!!e&&(e.push(t),!0),deleteServer:t=>{if(!e)return!1;const r=[...e.filter((e=>e.url!==t))];return e.splice(0,e.length),e.push(...r),!0}});const jj={"x-scalar-reference-config":Tj},Bj=e=>{if("url"in e)return e.url},Uj=e=>{const t={},r={},n={},a={},o={},i={},s=uo({...e?.meta,documents:{},get activeDocument(){const e=s[RR]??Object.keys(s.documents)[0]??"";return s.documents[e]}});function l(){return s[RR]??Object.keys(s.documents)[0]??""}function c(e,t){const n=r[e];if(n)return"json"===t?JSON.stringify(n):Kf.stringify(n)}const u=(e,t)=>{const r=function(e,t={}){if(!e?.length){const e=AR(t);return e?[e]:[]}if(!Array.isArray(e))return[];const r=e.map((e=>function(e,t){return e.url?.startsWith("/")&&(e.url=function(e,t){const{baseServerUrl:r,documentUrl:n}=t;if(r)return kR(r,e);if(n){const t=_R(n);if(t)return kR(t,e)}const a=ER();return a?kR(a,e):e}(e.url,t)),e}(e,t)));if(0===r.length){const e=AR(t);return e?[e]:[]}return r}(t["x-scalar-reference-config"]?.settings?.servers??e.servers,{baseServerUrl:t["x-scalar-reference-config"]?.settings?.baseServerUrl,documentUrl:t.documentSource});return r.length&&(e.servers=r.map((e=>({url:e.url,description:e.description,variables:e.variables})))),e};async function d(l){const{name:c,meta:d}=l,p=zu("deepClone",(()=>IO(l.document))),h=zu("upgrade",(()=>Tm(p)));zu("initialize",(()=>{!1!==l.initialize&&(t[c]=IO({...h}),r[c]=IO({...h}),n[c]=l.config??{},a[c]=l.overrides??{},o[c]={documentSource:l.documentSource},i[c]={fetch:l.fetch})}));const f=mm({...h,...d},{showInternal:!0});if(f["x-original-oas-version"]=l.document.openapi??l.document.swagger,void 0===f[CR]){await qu("bundle",(async()=>await wd(gm(f),{treeShake:!1,plugins:[em({fetch:i[c]?.fetch??e?.fetch}),{type:"lifecycle",onAfterNodeProcess:async(e,t)=>{const r=e.externalValue,n=t.resolutionCache;if("string"!=typeof r)return;const a=t.loaders.find((e=>e.validate(r)));if(!a)return;n.has(r)||n.set(r,a.exec(r));const o=await n.get(r);o?.ok&&(e.value=o.data)}},{type:"lifecycle",onBeforeNodeProcess:async(e,t)=>{const{path:r,resolutionCache:n,parentNode:a}=t,o=e.$ref;if("string"!=typeof o)return;if(!a||!r.length)return;const i=t.loaders.find((e=>e.validate(o)));if(i&&"info"===r[0]){n.has(o)||n.set(o,i.exec(o));const e=await n.get(o);e?.ok&&(a[r.at(-1)]=e.data)}}}],urlMap:!0,origin:o[c]?.documentSource})));const t=zu("coerceValue",(()=>$j(fj,IO(f))));qu("mergeObjects",(async()=>LO(f,t)))}if(!hO(fj,f)){const e=Array.from(function(...e){const t=3===e.length?yO(e[0],e[1],"",e[2]):yO(e[0],[],"",e[1]);return new bO(t)}(fj,f));console.warn("document validation errors: "),console.warn(e.map((e=>({message:e.message,path:e.path,schema:e.schema,value:e.value}))))}if(void 0===f[CR]){const e=l.config?.["x-scalar-reference-config"]?.features?.showModels;f[CR]=OR(f,{...l.config?.["x-scalar-reference-config"]??{},hideModels:void 0===e?void 0:!e}).entries,u(gm(f),{...l.config,documentSource:l.documentSource})}s.documents[c]=BO(mm(gm(f)),l.overrides)}async function p(t){const{name:r,meta:n}=t,a=await qu("loadDocument",(async()=>await async function(e){return"url"in e?em({fetch:e.fetch}).exec(e.url):{ok:!0,data:e.document}}({...t,fetch:t.fetch??e?.fetch})));await qu("addDocument",(async()=>a.ok?DO(a.data)?void await d({...t,document:a.data,documentSource:Bj(t)}):(console.error(`Failed to load document '${r}': response data is not a valid object`),void(s.documents[r]={...n,openapi:"3.1.0",info:{title:`Document '${r}' could not be loaded`,version:"unknown"}})):(console.error(`Failed to fetch document '${r}': request was not successful`),void(s.documents[r]={...n,openapi:"3.1.0",info:{title:`Document '${r}' could not be loaded`,version:"unknown"}}))))}const h=new Set;return{get workspace(){return s},update(e,t){if("__proto__"===e||"constructor"===e||"prototype"===e)throw new Error("Invalid key: cannot modify prototype");Object.assign(s,{[e]:t})},updateDocument(e,t,r){const n=s.documents["active"===e?l():e];if(!n)throw"Please select a valid document";Object.assign(n,{[t]:r})},async replaceDocument(e,t){const r=s.documents[e];if(!r)return console.error(`Document '${e}' does not exist in the workspace.`);await d({name:e,document:t,meta:{"x-scalar-active-auth":r["x-scalar-active-auth"],"x-scalar-active-server":r["x-scalar-active-server"]},initialize:!1})},resolve:async e=>{const t=s.activeDocument,r=(n=t,e.reduce(((e,t)=>{if(null!=e)return e[t]}),n));var n;if(DO(r))return wd(r,{root:t,treeShake:!1,plugins:[em(),{type:"lifecycle",onResolveStart:e=>{e.$status="loading"},onResolveError:e=>{e.$status="error"},onResolveSuccess:e=>{delete e.$status}},{type:"lifecycle",onAfterNodeProcess:async(e,t)=>{const r=e.externalValue,n=t.resolutionCache;if("string"!=typeof r)return;const a=t.loaders.find((e=>e.validate(r)));if(!a)return;n.has(r)||n.set(r,a.exec(r));const o=await n.get(r);o?.ok&&(e.value=o.data)}}],urlMap:!0,visitedNodes:h});console.error(`Invalid path provided for resolution. Path: [${e.join(", ")}]. Found value of type: ${typeof r}. Expected an object.`)},addDocument:p,get config(){return e=l(),LO(LO(jj,{}),n[e]??{});var e},exportDocument:c,exportActiveDocument:e=>c(l(),e),saveDocument:async function(e){const t=r[e],n=s.documents[e];if(!n)return;const a=gm(n);return t&&a?((e,t)=>{const r=tm(e,t),[n,a]=(o=e=>!e.path.some((e=>NO.has(e))),r.reduce((([e,t],r)=>o(r)?[[...e,r],t]:[e,[...t,r]]),[[],[]]));var o;return nm(e,n),[e,a]})(t,await wd(IO(a),{plugins:[{type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const r=e.$ref,n=t.rootNode["x-ext-urls"];if("string"!=typeof r||"object"!=typeof n||null===n||!r.startsWith("#"))return;const a=r.split("/").at(-1)??"";e.$ref=n[a]??r}}],treeShake:!1,urlMap:!0})):void 0},async revertDocumentChanges(e){const t=s.documents[e],n=r[e];t&&n&&await d({name:e,document:n,initialize:!1})},commitDocument(e){console.warn(`Commit operation for document '${e}' is not implemented yet.`)},exportWorkspace:()=>JSON.stringify({documents:{...Object.fromEntries(Object.entries(s.documents).map((([e,t])=>[e,gm(t)])))},meta:{},documentConfigs:n,originalDocuments:t,intermediateDocuments:r,overrides:a,documentMeta:o}),loadWorkspace(e){const i=$j(Pj,JSON.parse(e));RO(s.documents,Object.fromEntries(Object.entries(i.documents).map((([e,t])=>[e,BO(mm(t),i.overrides[e])])))),RO(t,i.originalDocuments),RO(r,i.intermediateDocuments),RO(n,i.documentConfigs),RO(a,i.overrides),RO(s,i.meta),RO(o,i.documentMeta)},importWorkspaceFromSpecification:e=>{const{documents:t,overrides:r,info:n,workspace:a,...o}=e;return RO(s,o),Promise.all(Object.entries(t??{}).map((([e,t])=>p({url:t.$ref,name:e,overrides:r?.[e]}))))},rebaseDocument:(e,n,o)=>{const i=Tm(n),l=t[e],c=r[e],u=s.documents[e]?gm(s.documents[e]):void 0;if(!l||!c||!u)return console.error("[ERROR]: Specified document is missing or internal corrupted workspace state");const d=tm(l,i),p=tm(l,c),h=cm(d,p);if(void 0===o)return h.conflicts;const f=h.diffs.concat(o),m=nm(IO(l),f);r[e]=m,t[e]=i;const g=tm(c,m),b=tm(c,u),v=cm(g,b),y=v.diffs.concat(v.conflicts.flatMap((e=>e[0]))),O=$j(fj,nm(IO(m),y));s.documents[e]=BO(mm({...O}),a[e])}}},Fj="workspace",Qj="scalar-reference-selected-client-v2",zj="scalar-client-auth",qj="scalar-client-selected-security-schemes",Hj=()=>"undefined"==typeof window?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage,Vj=(e,{baseUrl:t,basePath:r}={})=>{if("undefined"==typeof window&&!t)return e;try{return new URL(e),e}catch{}try{let n=t||window.location.href;if(r){const e=t?new URL(t).origin:window.location.origin;n=kR(e,r+"/")}return new URL(e,n).toString()}catch{return e}},Zj={parse:e=>{const t=Gf(e);if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return Zj.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:Yf},Wj={parse:e=>{const t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return Wj.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)},Xj=e=>"string"==typeof e&&!!Wj.parseSafe(e,!1);function Gj(e){const t=e.trim();if("{"!==t[0]&&"["!==t[0])return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}const Yj=["localhost","127.0.0.1","[::1]","0.0.0.0"],Kj=["test","example","invalid","localhost"];function Jj(e){try{const{hostname:t}=new URL(e);if(Yj.includes(t))return!0;const r=t.split(".").pop();return!(!r||!Kj.includes(r))}catch{return!0}}function eB(e,t){try{if(!tB(e,t))return t??"";const r=new URL(t),n=xR(e)?`http://localhost${e}`:e;return r.href=n,r.searchParams.append("scalar_url",t),xR(e)?r.toString().replace(/^http:\/\/localhost/,""):r.toString()}catch{return t??""}}function tB(e,t){try{return!(!e||!t||xR(t)||!xR(e)&&!Jj(e)&&Jj(t))}catch{return!1}}async function rB(e,t,r,n=!0){"https://api.scalar.com/request-proxy"===t&&(t="https://proxy.scalar.com");const a=await(r?r(e,void 0):fetch(eB(t,e)));if(200!==a.status)throw console.error(`[fetchDocument] Failed to fetch the OpenAPI document from ${e} (Status: ${a.status})`),t||console.warn(`[fetchDocument] Tried to fetch the OpenAPI document from ${e} without a proxy. Are the CORS headers configured to allow cross-domain requests? https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS`),new Error(`Failed to fetch the OpenAPI document from ${e} (Status: ${a.status})`);return n?Gj(await a.text()):await a.text()}function nB(e){if(!e)return e;const t={...e};return Object.entries(t).forEach((([e,r])=>{const n=function(e){if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/(?!.*vnd\.|fhir\+).*\+/,"/").trim()}(e);n&&(t[n]=r)})),t}const aB=e=>{if("string"==typeof e)return Xj(e)?JSON.stringify(JSON.parse(e),null,2):e;if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{return function(e){const t=new Set;return JSON.stringify(e,((e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r}),2)}(e)}return e?.toString()??""};function oB(e,t,r=!0,n){const a=t.safeParse(e);if(a.success||(console.group("Schema Error"),console.warn(JSON.stringify(a.error.format(),null,2)),console.log("Received: ",e),console.groupEnd()),r&&!a.success)throw new Error("Zod validation failure");return a.data}const iB=e=>!0===e?.["x-internal"]||!0===e?.["x-scalar-ignore"],sB=_t.object({lang:_t.string().optional().catch(void 0),label:_t.string().optional().catch(void 0),source:_t.string()}),lB=_t.object({"x-codeSamples":sB.array().optional().catch(void 0),"x-code-samples":sB.array().optional().catch(void 0),"x-custom-examples":sB.array().optional().catch(void 0)}),cB=_t.object({"x-scalar-sdk-installation":_t.object({lang:_t.string(),source:_t.string().optional().catch(void 0),description:_t.string().optional().catch(void 0)}).array().optional().catch(void 0)}),uB={Deprecated:"deprecated",Experimental:"experimental",Stable:"stable"};_t.object({"x-scalar-stability":_t.enum(Object.values(uB)).optional().catch(void 0)});const dB=_t.string(),pB=_t.object({"x-post-response":dB.optional()}),hB=e=>e.deprecated||e["x-scalar-stability"]===uB.Deprecated,fB=e=>e.deprecated?uB.Deprecated:e["x-scalar-stability"],mB=e=>{switch(fB(e)){case uB.Deprecated:return"text-red";case uB.Experimental:return"text-orange";case uB.Stable:return"text-green";default:return""}};let gB=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&r[e]];return t};const bB=_t.string().min(7).optional().default((()=>gB())),vB=_t.object({enum:_t.array(_t.string()).optional(),default:_t.string().optional(),description:_t.string().optional()}).extend({value:_t.string().optional()}).refine((e=>(Array.isArray(e.enum)&&!e.enum.includes(e.default??"")&&e.enum.length>0&&(e.default=e.enum[0]),Array.isArray(e.enum)&&0===e.enum.length&&delete e.enum,!0))),yB=_t.object({url:_t.string(),description:_t.string().optional(),variables:_t.record(_t.string(),vB).optional()}).extend({uid:bB.brand()}),OB=e=>null!=e;function wB(e,t={}){if(!e?.length){const e=_B(t);return e?[e]:[]}if(!Array.isArray(e))return[];const r=e.map((e=>function(e,t){try{const r=yB.parse(e);return r.url?.startsWith("/")&&(r.url=function(e,t){const{baseServerURL:r,documentUrl:n}=t;if(r)return kR(r,e);if(n){const t=xB(n);if(t)return kR(t,e)}const a=kB();return a?kR(a,e):e}(r.url,t)),r}catch(t){return void console.warn("Invalid server configuration:",e,"Error:",t)}}(e,t))).filter(OB);if(0===r.length){const e=_B(t);return e?[e]:[]}return r}function xB(e){try{const t=new URL(e),r=t.port?`:${t.port}`:"";return`${t.protocol}//${t.hostname}${r}`}catch{return}}function kB(){if("undefined"!=typeof window&&"string"==typeof window?.location?.origin)return window.location.origin}function SB(e,t){try{return yB.parse({url:e})}catch{return void console.warn(`Failed to create server from ${t}:`,e)}}function _B(e){if(e.documentUrl){const t=function(e){const t=xB(e);if(t)return SB(t,"document URL")}(e.documentUrl);if(t)return t}return function(){const e=kB();if(e)return SB(e,"fallback URL")}()}const EB=e=>{let t=0,r=0,n=0;if(!e?.length)return r;for(n=0;n<e.length;n++)t=e.charCodeAt(n),r=(r<<5)-r+t,r|=0;return r};function TB(e,t={}){const{indent:r=" ",format:n=!0,xmlDeclaration:a=!0}=t,o=(e,t,n)=>{let a="";if(Array.isArray(e))for(let r=0,i=e.length;r<i;r++)a+=o(e[r],t,n);else if("object"==typeof e&&null!==e){let i=!1,s="",l="";for(const t in e)"@"===t.charAt(0)&&(s+=" "+t.substr(1)+'="'+e[t].toString()+'"');for(const t in e)"#text"===t?l+=e[t]:"#cdata"===t?l+="<![CDATA["+e[t]+"]]>":"@"!==t.charAt(0)&&(i=!0,l+=o(e[t],t,n+r));i?(a+=n+"<"+t+s+">\n",a+=l,a+=n+"</"+t+">\n"):a+=n+"<"+t+s+"/>\n"}else a+=n+"<"+t+">"+(e?.toString()||"")+"</"+t+">\n";return a};let i="";a&&(i+='<?xml version="1.0" encoding="UTF-8"?>',n&&(i+="\n"));for(const t in e)Object.hasOwn(e,t)&&(i+=o(e[t],t,""));return n?i.trim():i.replace(/\n/g,"").replace(/>\s+</g,"><").trim()}const AB=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1),CB=["post","put","patch","delete"],PB=e=>CB.includes(e.toLowerCase()),$B={get:{short:"GET",colorClass:"text-blue",colorVar:"var(--scalar-color-blue)",backgroundColor:"bg-blue/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"},connect:{short:"CONN",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"}},MB=e=>{const t=e.trim().toLowerCase();return $B[t]??{short:t,color:"text-c-2",backgroundColor:"bg-c-2"}},DB={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)"}},RB=(e,t,r=" #")=>{if(!t(e))return e;const n=e.split(r),a=n.length>1?`${n.slice(0,-1).join()}${r}${Number(n.at(-1))+1}`:`${n.join()}${r}2`;return RB(a,t,r)},NB=So("dark"),IB=_t.enum(["dark","light","system"]).optional().catch(void 0);function LB(e={}){const{initialColorMode:t="system",overrideColorMode:r}=e;function n(e){NB.value=e,"undefined"!=typeof window&&window?.localStorage?.setItem("colorMode",NB.value)}function a(){return"undefined"==typeof window?"light":"function"!=typeof window?.matchMedia||window?.matchMedia("(prefers-color-scheme: dark)")?.matches?"dark":"light"}const o=gc({get:()=>"system"===NB.value?a():NB.value,set:n}),i=gc({get:()=>"dark"===o.value,set:e=>n(e?"dark":"light")});function s(e){"undefined"!=typeof document&&"undefined"!=typeof window&&("dark"===(r??("system"===e?a():e))?(document.body.classList.add("dark-mode"),document.body.classList.remove("light-mode")):(document.body.classList.add("light-mode"),document.body.classList.remove("dark-mode")))}const l=IB.parse("undefined"!=typeof window?window?.localStorage?.getItem("colorMode"):"system");NB.value=l??t,hl(NB,s,{immediate:!0});const c=()=>"system"===NB.value&&s("system"),u=So(null);return Yi((()=>{"undefined"!=typeof window&&"function"==typeof window?.matchMedia&&(u.value=window.matchMedia("(prefers-color-scheme: dark)"),u.value?.addEventListener("change",c))})),ts((()=>{u.value?.removeEventListener("change",c)})),{colorMode:gc({get:()=>NB.value,set:n}),darkLightMode:o,isDarkMode:i,toggleColorMode:function(){NB.value="dark"===o.value?"light":"dark","undefined"!=typeof window&&window?.localStorage?.setItem("colorMode",NB.value)},setColorMode:n,getSystemModePreference:a}}function jB(e){return!!ra()&&(na(e),!0)}const BB=new WeakMap,UB="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const FB=e=>null!=e,QB=Object.prototype.toString,zB=()=>{},qB=function(){var e,t;return UB&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))}();function HB(e,t){return function(...r){return new Promise(((n,a)=>{Promise.resolve(e((()=>t.apply(this,r)),{fn:t,thisArg:this,args:r})).then(n).catch(a)}))}}const VB=e=>e();function ZB(e,t={}){let r,n,a=zB;const o=e=>{clearTimeout(e),a(),a=zB};let i;return s=>{const l=Co(e),c=Co(t.maxWait);return r&&o(r),l<=0||void 0!==c&&c<=0?(n&&(o(n),n=void 0),Promise.resolve(s())):new Promise(((e,u)=>{a=t.rejectOnCancel?u:e,i=s,c&&!n&&(n=setTimeout((()=>{r&&o(r),n=void 0,e(i())}),c)),r=setTimeout((()=>{n&&o(n),n=void 0,e(s())}),l)}))}}function WB(e){return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}function XB(e){return Array.isArray(e)?e:[e]}function GB(e,t=200,r={}){return HB(ZB(t,r),e)}function YB(e,t=!0,r){ac()?Yi(e,r):t?e():Ko(e)}function KB(e,t,r={}){const{debounce:n=0,maxWait:a,...o}=r;return function(e,t,r={}){const{eventFilter:n=VB,...a}=r;return hl(e,HB(n,t),a)}(e,t,{...o,eventFilter:ZB(n,{maxWait:a})})}const JB=UB?window:void 0,eU=UB?window.document:void 0;function tU(e){var t;const r=Co(e);return null!=(t=null==r?void 0:r.$el)?t:r}function rU(...e){const t=[],r=()=>{t.forEach((e=>e())),t.length=0},n=gc((()=>{const t=XB(Co(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),a=(o=([e,n,a,o])=>{if(r(),!(null==e?void 0:e.length)||!(null==n?void 0:n.length)||!(null==a?void 0:a.length))return;const i=(e=>"[object Object]"===QB.call(e))(o)?{...o}:o;t.push(...e.flatMap((e=>n.flatMap((t=>a.map((r=>((e,t,r,n)=>(e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)))(e,t,r,i))))))))},i={flush:"post"},hl((()=>{var t,r;return[null!=(r=null==(t=n.value)?void 0:t.map((e=>tU(e))))?r:[JB].filter((e=>null!=e)),XB(Co(n.value?e[1]:e[0])),XB(Ao(n.value?e[2]:e[1])),Co(n.value?e[3]:e[2])]}),o,{...i,immediate:!0}));var o,i;return jB(r),()=>{a(),r()}}let nU=!1;function aU(e){const t=function(){const e=_o(!1),t=ac();return t&&Yi((()=>{e.value=!0}),t),e}();return gc((()=>(t.value,Boolean(e()))))}function oU(e,t,r={}){const{window:n=JB,...a}=r;let o;const i=aU((()=>n&&"MutationObserver"in n)),s=()=>{o&&(o.disconnect(),o=void 0)},l=hl(gc((()=>{const t=XB(Co(e)).map(tU).filter(FB);return new Set(t)})),(e=>{s(),i.value&&e.size&&(o=new MutationObserver(t),e.forEach((e=>o.observe(e,a))))}),{immediate:!0,flush:"post"}),c=()=>{l(),s()};return jB(c),{isSupported:i,stop:c,takeRecords:()=>null==o?void 0:o.takeRecords()}}const iU=Symbol("vueuse-ssr-width");function sU(){const e=Qs()?((...e)=>{var t;const r=e[0],n=null==(t=ac())?void 0:t.proxy;if(null==n&&!Qs())throw new Error("injectLocal must be called in setup");return n&&BB.has(n)&&r in BB.get(n)?BB.get(n)[r]:Fs(...e)})(iU,null):null;return"number"==typeof e?e:void 0}function lU(e,t={}){const{window:r=JB,ssrWidth:n=sU()}=t,a=aU((()=>r&&"matchMedia"in r&&"function"==typeof r.matchMedia)),o=_o("number"==typeof n),i=_o(),s=_o(!1);return pl((()=>{if(o.value){o.value=!a.value;const t=Co(e).split(",");s.value=t.some((e=>{const t=e.includes("not all"),r=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let o=Boolean(r||a);return r&&o&&(o=n>=WB(r[1])),a&&o&&(o=n<=WB(a[1])),t?!o:o}))}else a.value&&(i.value=r.matchMedia(Co(e)),s.value=i.value.matches)})),rU(i,"change",(e=>{s.value=e.matches}),{passive:!0}),gc((()=>s.value))}function cU(e,t,r={}){const{window:n=JB,...a}=r;let o;const i=aU((()=>n&&"ResizeObserver"in n)),s=()=>{o&&(o.disconnect(),o=void 0)},l=hl(gc((()=>{const t=Co(e);return Array.isArray(t)?t.map((e=>tU(e))):[tU(t)]})),(e=>{if(s(),i.value&&n){o=new ResizeObserver(t);for(const t of e)t&&o.observe(t,a)}}),{immediate:!0,flush:"post"}),c=()=>{s(),l()};return jB(c),{isSupported:i,stop:c}}const uU=new Map;function dU(e,t,r){let n=So(null==r?void 0:r.value),a=gc((()=>void 0!==e.value));return[gc((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}function pU(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function hU(){let e=[],t={addEventListener:(e,r,n,a)=>(e.addEventListener(r,n,a),t.add((()=>e.removeEventListener(r,n,a)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);t.add((()=>cancelAnimationFrame(r)))},nextFrame(...e){t.requestAnimationFrame((()=>{t.requestAnimationFrame(...e)}))},setTimeout(...e){let r=setTimeout(...e);t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return pU((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))},group(e){let t=hU();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}var fU;let mU=Symbol("headlessui.useid"),gU=0;const bU=null!=(fU=ji)?fU:function(){return Fs(mU,(()=>""+ ++gU))()};function vU(e){var t;if(null==e||null==e.value)return null;let r=null!=(t=e.value.$el)?t:e.value;return r instanceof Node?r:null}function yU(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,yU),n}var OU=Object.defineProperty,wU=(e,t,r)=>(((e,t,r)=>{t in e?OU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let xU=new class{constructor(){wU(this,"current",this.detect()),wU(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}};function kU(e){if(xU.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=vU(e);if(t)return t.ownerDocument}return document}let SU=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var _U,EU,TU,AU=((TU=AU||{})[TU.First=1]="First",TU[TU.Previous=2]="Previous",TU[TU.Next=4]="Next",TU[TU.Last=8]="Last",TU[TU.WrapAround=16]="WrapAround",TU[TU.NoScroll=32]="NoScroll",TU),CU=((EU=CU||{})[EU.Error=0]="Error",EU[EU.Overflow=1]="Overflow",EU[EU.Success=2]="Success",EU[EU.Underflow=3]="Underflow",EU),PU=((_U=PU||{})[_U.Previous=-1]="Previous",_U[_U.Next=1]="Next",_U);function $U(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(SU)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var MU=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(MU||{});function DU(e,t=0){var r;return e!==(null==(r=kU(e))?void 0:r.body)&&yU(t,{0:()=>e.matches(SU),1(){let t=e;for(;null!==t;){if(t.matches(SU))return!0;t=t.parentElement}return!1}})}function RU(e){let t=kU(e);Ko((()=>{t&&!DU(t.activeElement,0)&&IU(e)}))}var NU=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(NU||{});function IU(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let LU=["textarea","input"].join(",");function jU(e,t=e=>e){return e.slice().sort(((e,r)=>{let n=t(e),a=t(r);if(null===n||null===a)return 0;let o=n.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function BU(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){var o;let i=null!=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?o:document,s=Array.isArray(e)?r?jU(e):e:$U(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),n=null!=n?n:i.activeElement;let l,c=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},p=0,h=s.length;do{if(p>=h||p+h<=0)return 0;let e=u+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}l=s[e],null==l||l.focus(d),p+=c}while(l!==i.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,LU))&&r}(l)&&l.select(),2}function UU(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function FU(e,t,r){xU.isServer||pl((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function QU(e,t,r){xU.isServer||pl((n=>{window.addEventListener(e,t,r),n((()=>window.removeEventListener(e,t,r)))}))}function zU(e,t,r=gc((()=>!0))){function n(n,a){if(!r.value||n.defaultPrevented)return;let o=a(n);if(null===o||!o.getRootNode().contains(o))return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:vU(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!DU(o,MU.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=So(null);FU("pointerdown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),FU("mousedown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),FU("click",(e=>{UU()||/Android/gi.test(window.navigator.userAgent)||a.value&&(n(e,(()=>a.value)),a.value=null)}),!0),FU("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),QU("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function qU(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function HU(e,t){let r=So(qU(e.value.type,e.value.as));return Yi((()=>{r.value=qU(e.value.type,e.value.as)})),pl((()=>{var e;r.value||vU(t)&&vU(t)instanceof HTMLButtonElement&&(null==(e=vU(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function VU(e){return[e.screenX,e.screenY]}function ZU(){let e=So([-1,-1]);return{wasMoved(t){let r=VU(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=VU(t)}}}function WU({container:e,accept:t,walk:r,enabled:n}){pl((()=>{let a=e.value;if(!a||void 0!==n&&!n.value)return;let o=kU(e);if(!o)return;let i=Object.assign((e=>t(e)),{acceptNode:t}),s=o.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,i,!1);for(;s.nextNode();)r(s.currentNode)}))}var XU,GU=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(GU||{}),YU=((XU=YU||{})[XU.Unmount=0]="Unmount",XU[XU.Hidden=1]="Hidden",XU);function KU({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=tF(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?JU(s):1&t?yU(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>JU({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):JU(s)}function JU({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=nF(e,["unmount","static"]),c=null==(o=r.default)?void 0:o.call(r,n),u={};if(n){let e=!1,t=[];for(let[r,a]of Object.entries(n))"boolean"==typeof a&&(e=!0),!0===a&&t.push(r);e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===s){if(c=eF(null!=c?c:[]),Object.keys(l).length>0||Object.keys(t).length>0){let[e,...r]=null!=c?c:[];if(!function(e){return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)}(e)||r.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map((e=>e.trim())).filter(((e,t,r)=>r.indexOf(e)===t)).sort(((e,t)=>e.localeCompare(t))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let n=tF(null!=(i=e.props)?i:{},l,u),o=Vl(e,n,!0);for(let e in n)e.startsWith("on")&&(o.props||(o.props={}),o.props[e]=n[e]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return bc(s,Object.assign({},l,u),{default:()=>c})}function eF(e){return e.flatMap((e=>e.type===Tl?eF(e.children):[e]))}function tF(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let a=r[e];for(let e of a){if(t instanceof Event&&t.defaultPrevented)return;e(t,...n)}}});return t}function rF(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function nF(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var aF=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(aF||{});let oF=Li({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:r})=>()=>{var n;let{features:a,...o}=e;return KU({ourProps:{"aria-hidden":!(2&~a)||(null!=(n=o["aria-hidden"])?n:void 0),hidden:!(4&~a)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~a)&&!!(2&~a)&&{display:"none"}}},theirProps:o,slot:{},attrs:r,slots:t,name:"Hidden"})}}),iF=Symbol("Context");var sF=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(sF||{});function lF(){return Fs(iF,null)}function cF(e){Us(iF,e)}var uF,dF=((uF=dF||{}).Space=" ",uF.Enter="Enter",uF.Escape="Escape",uF.Backspace="Backspace",uF.Delete="Delete",uF.ArrowLeft="ArrowLeft",uF.ArrowUp="ArrowUp",uF.ArrowRight="ArrowRight",uF.ArrowDown="ArrowDown",uF.Home="Home",uF.End="End",uF.PageUp="PageUp",uF.PageDown="PageDown",uF.Tab="Tab",uF);let pF=[];!function(){function e(){"loading"!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&pF[0]!==e.target&&(pF.unshift(e.target),pF=pF.filter((e=>null!=e&&e.isConnected)),pF.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",e))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",e),e())}();var hF,fF=((hF=fF||{})[hF.First=0]="First",hF[hF.Previous=1]="Previous",hF[hF.Next=2]="Next",hF[hF.Last=3]="Last",hF[hF.Specific=4]="Specific",hF[hF.Nothing=5]="Nothing",hF);function mF(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1;switch(e.focus){case 0:for(let e=0;e<r.length;++e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 1:-1===a&&(a=r.length);for(let e=a-1;e>=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 2:for(let e=a+1;e<r.length;++e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 3:for(let e=r.length-1;e>=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 4:for(let n=0;n<r.length;++n)if(t.resolveId(r[n],n,r)===e.id)return n;return n;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}function gF(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))vF(r,bF(t,n),a);return r}function bF(e,t){return e?e+"["+t+"]":t}function vF(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())vF(e,bF(t,n.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):gF(r,t,e)}function yF(e,t,r,n){xU.isServer||pl((a=>{(e=null!=e?e:window).addEventListener(t,r,n),a((()=>e.removeEventListener(t,r,n)))}))}var OF=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(OF||{});function wF(){let e=So(0);return QU("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}function xF(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.value){let e=vU(r);e instanceof HTMLElement&&t.add(e)}return t}var kF=(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))(kF||{});let SF=Object.assign(Li({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:So(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let a=So(null);n({el:a,$el:a});let o=gc((()=>kU(a))),i=So(!1);Yi((()=>i.value=!0)),ts((()=>i.value=!1)),function({ownerDocument:e},t){let r=function(e){let t=So(pF.slice());return hl([e],(([e],[r])=>{!0===r&&!1===e?pU((()=>{t.value.splice(0)})):!1===r&&!0===e&&(t.value=pF.slice())}),{flush:"post"}),()=>{var e;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}(t);Yi((()=>{pl((()=>{var n,a;t.value||(null==(n=e.value)?void 0:n.activeElement)===(null==(a=e.value)?void 0:a.body)&&IU(r())}),{flush:"post"})})),ts((()=>{t.value&&IU(r())}))}({ownerDocument:o},gc((()=>i.value&&Boolean(16&e.features))));let s=function({ownerDocument:e,container:t,initialFocus:r},n){let a=So(null),o=So(!1);return Yi((()=>o.value=!0)),ts((()=>o.value=!1)),Yi((()=>{hl([t,r,n],((i,s)=>{if(i.every(((e,t)=>(null==s?void 0:s[t])===e))||!n.value)return;let l=vU(t);l&&pU((()=>{var t,n;if(!o.value)return;let i=vU(r),s=null==(t=e.value)?void 0:t.activeElement;if(i){if(i===s)return void(a.value=s)}else if(l.contains(s))return void(a.value=s);i?IU(i):BU(l,AU.First|AU.NoScroll)===CU.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),a.value=null==(n=e.value)?void 0:n.activeElement}))}),{immediate:!0,flush:"post"})})),a}({ownerDocument:o,container:a,initialFocus:gc((()=>e.initialFocus))},gc((()=>i.value&&Boolean(2&e.features))));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){var o;yF(null==(o=e.value)?void 0:o.defaultView,"focus",(e=>{if(!a.value)return;let o=xF(r);vU(t)instanceof HTMLElement&&o.add(vU(t));let i=n.value;if(!i)return;let s=e.target;s&&s instanceof HTMLElement?_F(o,s)?(n.value=s,IU(s)):(e.preventDefault(),e.stopPropagation(),IU(i)):IU(n.value)}),!0)}({ownerDocument:o,container:a,containers:e.containers,previousActiveElement:s},gc((()=>i.value&&Boolean(8&e.features))));let l=wF();function c(e){let t=vU(a);t&&yU(l.value,{[OF.Forwards]:()=>{BU(t,AU.First,{skipElements:[e.relatedTarget]})},[OF.Backwards]:()=>{BU(t,AU.Last,{skipElements:[e.relatedTarget]})}})}let u=So(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}function p(t){if(!i.value)return;let r=xF(e.containers);vU(a)instanceof HTMLElement&&r.add(vU(a));let n=t.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(_F(r,n)||(u.value?BU(vU(a),yU(l.value,{[OF.Forwards]:()=>AU.Next,[OF.Backwards]:()=>AU.Previous})|AU.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&IU(t.target)))}return()=>{let n={ref:a,onKeydown:d,onFocusout:p},{features:o,initialFocus:i,containers:s,...l}=e;return bc(Tl,[Boolean(4&o)&&bc(oF,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:aF.Focusable}),KU({ourProps:n,theirProps:{...t,...l},slot:{},attrs:t,slots:r,name:"FocusTrap"}),Boolean(4&o)&&bc(oF,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:aF.Focusable})])}}}),{features:kF});function _F(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function EF(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,a=n.clientWidth-n.offsetWidth,o=e-a;r.style(n,"paddingRight",`${o}px`)}}}function TF(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let AF=function(e,t){let r=new Map,n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...a){let o=t[e].call(r,...a);o&&(r=o,n.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:hU(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:TF(r)},a=[UU()?{before({doc:e,d:t,meta:r}){function n(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var r;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let r=hU();r.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>r.dispose()))))}let a=null!=(r=window.scrollY)?r:window.pageYOffset,o=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let r=t.target.closest("a");if(!r)return;let{hash:a}=new URL(r.href),i=e.querySelector(a);i&&!n(i)&&(o=i)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(n(e.target)){let r=e.target;for(;r.parentElement&&n(r.parentElement);)r=r.parentElement;t.style(r,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(n(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;a!==t&&window.scrollTo(0,a),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)}))}))}}:{},EF(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach((({before:e})=>null==e?void 0:e(n))),a.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});AF.subscribe((()=>{let e=AF.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&AF.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&AF.dispatch("TEARDOWN",r)}}));let CF=new Map,PF=new Map;function $F(e,t=So(!0)){pl((r=>{var n;if(!t.value)return;let a=vU(e);if(!a)return;r((function(){var e;if(!a)return;let t=null!=(e=PF.get(a))?e:1;if(1===t?PF.delete(a):PF.set(a,t-1),1!==t)return;let r=CF.get(a);r&&(null===r["aria-hidden"]?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",r["aria-hidden"]),a.inert=r.inert,CF.delete(a))}));let o=null!=(n=PF.get(a))?n:0;PF.set(a,o+1),0===o&&(CF.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)}))}function MF({defaultContainers:e=[],portals:t,mainTreeNodeRef:r}={}){let n=So(null),a=kU(n);function o(){var r,o,i;let s=[];for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"value"in t&&t.value instanceof HTMLElement&&s.push(t.value));if(null!=t&&t.value)for(let e of t.value)s.push(e);for(let e of null!=(r=null==a?void 0:a.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(vU(n))||e.contains(null==(i=null==(o=vU(n))?void 0:o.getRootNode())?void 0:i.host)||s.some((t=>e.contains(t)))||s.push(e));return s}return{resolveContainers:o,contains:e=>o().some((t=>t.contains(e))),mainTreeNodeRef:n,MainTreeNode:()=>null!=r?null:bc(oF,{features:aF.Hidden,ref:n})}}let DF=Symbol("ForcePortalRootContext"),RF=Li({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:r})=>(Us(DF,e.force),()=>{let{force:n,...a}=e;return KU({theirProps:a,ourProps:{},slot:{},slots:t,attrs:r,name:"ForcePortalRoot"})})}),NF=Symbol("StackContext");var IF=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(IF||{});let LF=Symbol("DescriptionContext");function jF({slot:e=So({}),name:t="Description",props:r={}}={}){let n=So([]);return Us(LF,{register:function(e){return n.value.push(e),()=>{let t=n.value.indexOf(e);-1!==t&&n.value.splice(t,1)}},slot:e,name:t,props:r}),gc((()=>n.value.length>0?n.value.join(" "):void 0))}const BF=new WeakMap;function UF(e,t){let r=t(function(e){var t;return null!=(t=BF.get(e))?t:0}(e));return r<=0?BF.delete(e):BF.set(e,r),r}let FF=Li({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=So(null),a=gc((()=>kU(n))),o=Fs(DF,!1),i=Fs(qF,null),s=So(!0===o||null==i?function(e){let t=kU(e);if(!t){if(null===e)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let r=t.getElementById("headlessui-portal-root");if(r)return r;let n=t.createElement("div");return n.setAttribute("id","headlessui-portal-root"),t.body.appendChild(n)}(n.value):i.resolveTarget());s.value&&UF(s.value,(e=>e+1));let l=So(!1);Yi((()=>{l.value=!0})),pl((()=>{o||null!=i&&(s.value=i.resolveTarget())}));let c=Fs(QF,null),u=!1,d=ac();return hl(n,(()=>{if(u||!c)return;let e=vU(n);e&&(ts(c.register(e),d),u=!0)})),ts((()=>{var e,t;let r=null==(e=a.value)?void 0:e.getElementById("headlessui-portal-root");!r||s.value!==r||UF(s.value,(e=>e-1))||s.value.children.length>0||null==(t=s.value.parentElement)||t.removeChild(s.value)})),()=>{if(!l.value||null===s.value)return null;let a={ref:n,"data-headlessui-portal":""};return bc(wi,{to:s.value},KU({ourProps:a,theirProps:e,slot:{},attrs:r,slots:t,name:"Portal"}))}}}),QF=Symbol("PortalParentContext");function zF(){let e=Fs(QF,null),t=So([]);function r(r){let n=t.value.indexOf(r);-1!==n&&t.value.splice(n,1),e&&e.unregister(r)}let n={register:function(n){return t.value.push(n),e&&e.register(n),()=>r(n)},unregister:r,portals:t};return[t,Li({name:"PortalWrapper",setup:(e,{slots:t})=>(Us(QF,n),()=>{var e;return null==(e=t.default)?void 0:e.call(t)})})]}let qF=Symbol("PortalGroupContext"),HF=Li({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:r}){let n=uo({resolveTarget:()=>e.target});return Us(qF,n),()=>{let{target:n,...a}=e;return KU({theirProps:a,ourProps:{},slot:{},attrs:t,slots:r,name:"PortalGroup"})}}});var VF,ZF=((VF=ZF||{})[VF.Open=0]="Open",VF[VF.Closed=1]="Closed",VF);let WF=Symbol("DialogContext");function XF(e){let t=Fs(WF,null);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,XF),t}return t}let GF="DC8F892D-2EBD-447C-A4C8-A03058436FF4",YF=Li({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:GF},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:r,slots:n,expose:a}){var o,i;let s=null!=(o=e.id)?o:`headlessui-dialog-${bU()}`,l=So(!1);Yi((()=>{l.value=!0}));let c=!1,u=gc((()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(c||(c=!0,console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog"))),d=So(0),p=lF(),h=gc((()=>e.open===GF&&null!==p?(p.value&sF.Open)===sF.Open:e.open)),f=So(null),m=gc((()=>kU(f)));if(a({el:f,$el:f}),e.open===GF&&null===p)throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if("boolean"!=typeof h.value)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value===GF?void 0:e.open}`);let g=gc((()=>l.value&&h.value?0:1)),b=gc((()=>0===g.value)),v=gc((()=>d.value>1)),y=null!==Fs(WF,null),[O,w]=zF(),{resolveContainers:x,mainTreeNodeRef:k,MainTreeNode:S}=MF({portals:O,defaultContainers:[gc((()=>{var e;return null!=(e=D.panelRef.value)?e:f.value}))]}),_=gc((()=>v.value?"parent":"leaf")),E=gc((()=>null!==p&&(p.value&sF.Closing)===sF.Closing)),T=gc((()=>!y&&!E.value&&b.value)),A=gc((()=>{var e,t,r;return null!=(r=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(vU(k))&&e instanceof HTMLElement)))?r:null}));$F(A,T);let C=gc((()=>!!v.value||b.value)),P=gc((()=>{var e,t,r;return null!=(r=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find((e=>e.contains(vU(k))&&e instanceof HTMLElement)))?r:null}));$F(P,C),function({type:e,enabled:t,element:r,onUpdate:n}){let a=Fs(NF,(()=>{}));function o(...e){null==n||n(...e),a(...e)}Yi((()=>{hl(t,((t,n)=>{t?o(0,e,r):!0===n&&o(1,e,r)}),{immediate:!0,flush:"sync"})})),ts((()=>{t.value&&o(1,e,r)})),Us(NF,o)}({type:"Dialog",enabled:gc((()=>0===g.value)),element:f,onUpdate:(e,t)=>{if("Dialog"===t)return yU(e,{[IF.Add]:()=>d.value+=1,[IF.Remove]:()=>d.value-=1})}});let $=jF({name:"DialogDescription",slot:gc((()=>({open:h.value})))}),M=So(null),D={titleId:M,panelRef:So(null),dialogState:g,setTitleId(e){M.value!==e&&(M.value=e)},close(){t("close",!1)}};Us(WF,D);let R=gc((()=>!(!b.value||v.value)));zU(x,((e,t)=>{e.preventDefault(),D.close(),Ko((()=>null==t?void 0:t.focus()))}),R);let N=gc((()=>!(v.value||0!==g.value)));yF(null==(i=m.value)?void 0:i.defaultView,"keydown",(e=>{N.value&&(e.defaultPrevented||e.key===dF.Escape&&(e.preventDefault(),e.stopPropagation(),D.close()))}));let I=gc((()=>!(E.value||0!==g.value||y)));return function(e,t,r){let n=function(e){let t=_o(e.getSnapshot());return ts(e.subscribe((()=>{t.value=e.getSnapshot()}))),t}(AF),a=gc((()=>{let t=e.value?n.value.get(e.value):void 0;return!!t&&t.count>0}));hl([e,t],(([e,t],[n],a)=>{if(!e||!t)return;AF.dispatch("PUSH",e,r);let o=!1;a((()=>{o||(AF.dispatch("POP",null!=n?n:e,r),o=!0)}))}),{immediate:!0})}(m,I,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],x]}})),pl((e=>{if(0!==g.value)return;let t=vU(f);if(!t)return;let r=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&D.close()}}));r.observe(t),e((()=>r.disconnect()))})),()=>{let{open:t,initialFocus:a,...o}=e,i={...r,ref:f,id:s,role:u.value,"aria-modal":0===g.value||void 0,"aria-labelledby":M.value,"aria-describedby":$.value},l={open:0===g.value};return bc(RF,{force:!0},(()=>[bc(FF,(()=>bc(HF,{target:f.value},(()=>bc(RF,{force:!1},(()=>bc(SF,{initialFocus:a,containers:x,features:b.value?yU(_.value,{parent:SF.features.RestoreFocus,leaf:SF.features.All&~SF.features.FocusLock}):SF.features.None},(()=>bc(w,{},(()=>KU({ourProps:i,theirProps:{...o,...r},slot:l,attrs:r,slots:n,visible:0===g.value,features:GU.RenderStrategy|GU.Static,name:"Dialog"}))))))))))),bc(S)]))}}}),KF=Li({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-dialog-panel-${bU()}`,i=XF("DialogPanel");function s(e){e.stopPropagation()}return n({el:i.panelRef,$el:i.panelRef}),()=>{let{...n}=e;return KU({ourProps:{id:o,ref:i.panelRef,onClick:s},theirProps:n,slot:{open:0===i.dialogState.value},attrs:t,slots:r,name:"DialogPanel"})}}}),JF=Li({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r}){var n;let a=null!=(n=e.id)?n:`headlessui-dialog-title-${bU()}`,o=XF("DialogTitle");return Yi((()=>{o.setTitleId(a),ts((()=>o.setTitleId(null)))})),()=>{let{...n}=e;return KU({ourProps:{id:a},theirProps:n,slot:{open:0===o.dialogState.value},attrs:t,slots:r,name:"DialogTitle"})}}});var eQ=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(eQ||{});let tQ=Symbol("DisclosureContext");function rQ(e){let t=Fs(tQ,null);if(null===t){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,rQ),t}return t}let nQ=Symbol("DisclosurePanelContext"),aQ=Li({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=So(e.defaultOpen?0:1),a=So(null),o=So(null),i={buttonId:So(`headlessui-disclosure-button-${bU()}`),panelId:So(`headlessui-disclosure-panel-${bU()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=yU(n.value,{0:1,1:0})},closeDisclosure(){1!==n.value&&(n.value=1)},close(e){i.closeDisclosure();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?vU(e):vU(i.button):vU(i.button);null==t||t.focus()}};return Us(tQ,i),cF(gc((()=>yU(n.value,{0:sF.Open,1:sF.Closed})))),()=>{let{defaultOpen:a,...o}=e;return KU({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),oQ=Li({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=rQ("DisclosureButton"),o=Fs(nQ,null),i=gc((()=>null!==o&&o.value===a.panelId.value));Yi((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),ts((()=>{i.value||(a.buttonId.value=null)}));let s=So(null);n({el:s,$el:s}),i.value||pl((()=>{a.button.value=s.value}));let l=HU(gc((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=vU(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case dF.Space:case dF.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=vU(a.button))||r.focus()}else switch(t.key){case dF.Space:case dF.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===dF.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return KU({ourProps:i.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:null!=(n=a.buttonId.value)?n:p,ref:s,type:l.value,"aria-expanded":0===a.disclosureState.value,"aria-controls":0===a.disclosureState.value||vU(a.panel)?a.panelId.value:void 0,disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:h,slot:o,attrs:t,slots:r,name:"DisclosureButton"})}}}),iQ=Li({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=rQ("DisclosurePanel");Yi((()=>{null!==e.id&&(a.panelId.value=e.id)})),ts((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),Us(nQ,a.panelId);let o=lF(),i=gc((()=>null!==o?(o.value&sF.Open)===sF.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return KU({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:GU.RenderStrategy|GU.Static,visible:i.value,name:"DisclosurePanel"})}}}),sQ=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function lQ(e){var t,r;let n=null!=(t=e.innerText)?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return n;let o=!1;for(let e of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let i=o?null!=(r=a.innerText)?r:"":n;return sQ.test(i)&&(i=i.replace(sQ,"")),i}function cQ(e){let t=So(""),r=So("");return()=>{let n=vU(e);if(!n)return"";let a=n.innerText;if(t.value===a)return r.value;let o=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():lQ(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return lQ(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}function uQ(e,t){return e===t}var dQ=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(dQ||{}),pQ=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(pQ||{}),hQ=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(hQ||{});let fQ=Symbol("ListboxContext");function mQ(e){let t=Fs(fQ,null);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,mQ),t}return t}let gQ=Li({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>uQ},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){let a=So(1),o=So(null),i=So(null),s=So(null),l=So([]),c=So(""),u=So(null),d=So(1);function p(e=e=>e){let t=null!==u.value?l.value[u.value]:null,r=jU(e(l.value.slice()),(e=>vU(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=gc((()=>e.multiple?1:0)),[f,m]=dU(gc((()=>e.modelValue)),(e=>n("update:modelValue",e)),gc((()=>e.defaultValue))),g=gc((()=>void 0===f.value?yU(h.value,{1:[],0:void 0}):f.value)),b={listboxState:a,value:g,mode:h,compare(t,r){if("string"==typeof e.by){let n=e.by;return(null==t?void 0:t[n])===(null==r?void 0:r[n])}return e.by(t,r)},orientation:gc((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:gc((()=>e.disabled)),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||1!==a.value&&(a.value=1,u.value=null)},openListbox(){e.disabled||0!==a.value&&(a.value=0)},goToOption(t,r,n){if(e.disabled||1===a.value)return;let o=p(),i=mF(t===fF.Specific?{focus:fF.Specific,id:r}:{focus:t},{resolveItems:()=>o.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});c.value="",u.value=i,d.value=null!=n?n:1,l.value=o.options},search(t){if(e.disabled||1===a.value)return;let r=""!==c.value?0:1;c.value+=t.toLowerCase();let n=(null!==u.value?l.value.slice(u.value+r).concat(l.value.slice(0,u.value+r)):l.value).find((e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled)),o=n?l.value.indexOf(n):-1;-1===o||o===u.value||(u.value=o,d.value=1)},clearSearch(){e.disabled||1!==a.value&&""!==c.value&&(c.value="")},registerOption(e,t){let r=p((r=>[...r,{id:e,dataRef:t}]));l.value=r.options,u.value=r.activeOptionIndex},unregisterOption(e){let t=p((t=>{let r=t.findIndex((t=>t.id===e));return-1!==r&&t.splice(r,1),t}));l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||m(t)},select(t){e.disabled||m(yU(h.value,{0:()=>t,1:()=>{let e=Oo(b.value.value).slice(),r=Oo(t),n=e.findIndex((e=>b.compare(r,Oo(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};zU([i,s],((e,t)=>{var r;b.closeListbox(),DU(t,MU.Loose)||(e.preventDefault(),null==(r=vU(i))||r.focus())}),gc((()=>0===a.value))),Us(fQ,b),cF(gc((()=>yU(a.value,{0:sF.Open,1:sF.Closed}))));let v=gc((()=>{var e;return null==(e=vU(i))?void 0:e.closest("form")}));return Yi((()=>{hl([v],(()=>{if(v.value&&void 0!==e.defaultValue)return v.value.addEventListener("reset",t),()=>{var e;null==(e=v.value)||e.removeEventListener("reset",t)};function t(){b.theirOnChange(e.defaultValue)}}),{immediate:!0})})),()=>{let{name:n,modelValue:o,disabled:i,form:s,...l}=e,c={open:0===a.value,disabled:i,value:g.value};return bc(Tl,[...null!=n&&null!=g.value?gF({[n]:g.value}).map((([e,t])=>bc(oF,rF({features:aF.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],KU({ourProps:{},theirProps:{...r,...nF(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),bQ=Li({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r}){var n;let a=null!=(n=e.id)?n:`headlessui-listbox-label-${bU()}`,o=mQ("ListboxLabel");function i(){var e;null==(e=vU(o.buttonRef))||e.focus({preventScroll:!0})}return()=>{let n={open:0===o.listboxState.value,disabled:o.disabled.value},{...s}=e;return KU({ourProps:{id:a,ref:o.labelRef,onClick:i},theirProps:s,slot:n,attrs:t,slots:r,name:"ListboxLabel"})}}}),vQ=Li({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-button-${bU()}`,i=mQ("ListboxButton");function s(e){switch(e.key){case dF.Space:case dF.Enter:case dF.ArrowDown:e.preventDefault(),i.openListbox(),Ko((()=>{var e;null==(e=vU(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(fF.First)}));break;case dF.ArrowUp:e.preventDefault(),i.openListbox(),Ko((()=>{var e;null==(e=vU(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(fF.Last)}))}}function l(e){e.key===dF.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Ko((()=>{var e;return null==(e=vU(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=vU(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=HU(gc((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n,a;let d={open:0===i.listboxState.value,disabled:i.disabled.value,value:i.value.value},{...p}=e;return KU({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=vU(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=vU(i.labelRef))?void 0:a.id,o].join(" "):void 0,disabled:!0===i.disabled.value||void 0,onKeydown:s,onKeyup:l,onClick:c},theirProps:p,slot:d,attrs:t,slots:r,name:"ListboxButton"})}}}),yQ=Li({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-options-${bU()}`,i=mQ("ListboxOptions"),s=So(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case dF.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case dF.Enter:if(e.preventDefault(),e.stopPropagation(),null!==i.activeOptionIndex.value){let e=i.options.value[i.activeOptionIndex.value];i.select(e.dataRef.value)}0===i.mode.value&&(i.closeListbox(),Ko((()=>{var e;return null==(e=vU(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case yU(i.orientation.value,{vertical:dF.ArrowDown,horizontal:dF.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(fF.Next);case yU(i.orientation.value,{vertical:dF.ArrowUp,horizontal:dF.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(fF.Previous);case dF.Home:case dF.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(fF.First);case dF.End:case dF.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(fF.Last);case dF.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Ko((()=>{var e;return null==(e=vU(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case dF.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}n({el:i.optionsRef,$el:i.optionsRef});let c=lF(),u=gc((()=>null!==c?(c.value&sF.Open)===sF.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return KU({ourProps:{"aria-activedescendant":null===i.activeOptionIndex.value||null==(n=i.options.value[i.activeOptionIndex.value])?void 0:n.id,"aria-multiselectable":1===i.mode.value||void 0,"aria-labelledby":null==(a=vU(i.buttonRef))?void 0:a.id,"aria-orientation":i.orientation.value,id:o,onKeydown:l,role:"listbox",tabIndex:0,ref:i.optionsRef},theirProps:c,slot:s,attrs:t,slots:r,features:GU.RenderStrategy|GU.Static,visible:u.value,name:"ListboxOptions"})}}}),OQ=Li({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-option-${bU()}`,i=mQ("ListboxOption"),s=So(null);n({el:s,$el:s});let l=gc((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=gc((()=>yU(i.mode.value,{0:()=>i.compare(Oo(i.value.value),Oo(e.value)),1:()=>Oo(i.value.value).some((t=>i.compare(Oo(t),Oo(e.value))))}))),u=gc((()=>yU(i.mode.value,{1:()=>{var e;let t=Oo(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(Oo(t),Oo(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=cQ(s),p=gc((()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s})));function h(t){if(e.disabled)return t.preventDefault();i.select(e.value),0===i.mode.value&&(i.closeListbox(),Ko((()=>{var e;return null==(e=vU(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(fF.Nothing);i.goToOption(fF.Specific,o)}Yi((()=>i.registerOption(o,p))),ts((()=>i.unregisterOption(o))),Yi((()=>{hl([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&yU(i.mode.value,{1:()=>{u.value&&i.goToOption(fF.Specific,o)},0:()=>{i.goToOption(fF.Specific,o)}})}),{immediate:!0})})),pl((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Ko((()=>{var e,t;return null==(t=null==(e=vU(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=ZU();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(fF.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(fF.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return KU({ourProps:{id:o,ref:s,role:"option",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:f,onPointerenter:g,onMouseenter:g,onPointermove:b,onMousemove:b,onPointerleave:v,onMouseleave:v},theirProps:d,slot:a,attrs:r,slots:t,name:"ListboxOption"})}}});var wQ=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wQ||{}),xQ=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(xQ||{});let kQ=Symbol("MenuContext");function SQ(e){let t=Fs(kQ,null);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,SQ),t}return t}let _Q=Li({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:r}){let n=So(1),a=So(null),o=So(null),i=So([]),s=So(""),l=So(null),c=So(1);function u(e=e=>e){let t=null!==l.value?i.value[l.value]:null,r=jU(e(i.value.slice()),(e=>vU(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{items:r,activeItemIndex:n}}let d={menuState:n,buttonRef:a,itemsRef:o,items:i,searchQuery:s,activeItemIndex:l,activationTrigger:c,closeMenu:()=>{n.value=1,l.value=null},openMenu:()=>n.value=0,goToItem(e,t,r){let n=u(),a=mF(e===fF.Specific?{focus:fF.Specific,id:t}:{focus:e},{resolveItems:()=>n.items,resolveActiveIndex:()=>n.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});s.value="",l.value=a,c.value=null!=r?r:1,i.value=n.items},search(e){let t=""!==s.value?0:1;s.value+=e.toLowerCase();let r=(null!==l.value?i.value.slice(l.value+t).concat(i.value.slice(0,l.value+t)):i.value).find((e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled)),n=r?i.value.indexOf(r):-1;-1===n||n===l.value||(l.value=n,c.value=1)},clearSearch(){s.value=""},registerItem(e,t){let r=u((r=>[...r,{id:e,dataRef:t}]));i.value=r.items,l.value=r.activeItemIndex,c.value=1},unregisterItem(e){let t=u((t=>{let r=t.findIndex((t=>t.id===e));return-1!==r&&t.splice(r,1),t}));i.value=t.items,l.value=t.activeItemIndex,c.value=1}};return zU([a,o],((e,t)=>{var r;d.closeMenu(),DU(t,MU.Loose)||(e.preventDefault(),null==(r=vU(a))||r.focus())}),gc((()=>0===n.value))),Us(kQ,d),cF(gc((()=>yU(n.value,{0:sF.Open,1:sF.Closed})))),()=>{let a={open:0===n.value,close:d.closeMenu};return KU({ourProps:{},theirProps:e,slot:a,slots:t,attrs:r,name:"Menu"})}}}),EQ=Li({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-button-${bU()}`,i=SQ("MenuButton");function s(e){switch(e.key){case dF.Space:case dF.Enter:case dF.ArrowDown:e.preventDefault(),e.stopPropagation(),i.openMenu(),Ko((()=>{var e;null==(e=vU(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(fF.First)}));break;case dF.ArrowUp:e.preventDefault(),e.stopPropagation(),i.openMenu(),Ko((()=>{var e;null==(e=vU(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(fF.Last)}))}}function l(e){e.key===dF.Space&&e.preventDefault()}function c(t){e.disabled||(0===i.menuState.value?(i.closeMenu(),Ko((()=>{var e;return null==(e=vU(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),i.openMenu(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=vU(i.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=HU(gc((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n;let a={open:0===i.menuState.value},{...d}=e;return KU({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"menu","aria-controls":null==(n=vU(i.itemsRef))?void 0:n.id,"aria-expanded":0===i.menuState.value,onKeydown:s,onKeyup:l,onClick:c},theirProps:d,slot:a,attrs:t,slots:r,name:"MenuButton"})}}}),TQ=Li({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-items-${bU()}`,i=SQ("MenuItems"),s=So(null);function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case dF.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case dF.Enter:e.preventDefault(),e.stopPropagation(),null!==i.activeItemIndex.value&&(null==(t=vU(i.items.value[i.activeItemIndex.value].dataRef.domRef))||t.click()),i.closeMenu(),RU(vU(i.buttonRef));break;case dF.ArrowDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(fF.Next);case dF.ArrowUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(fF.Previous);case dF.Home:case dF.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(fF.First);case dF.End:case dF.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(fF.Last);case dF.Escape:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Ko((()=>{var e;return null==(e=vU(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case dF.Tab:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Ko((()=>function(e,t){return BU($U(),t,{relativeTo:e})}(vU(i.buttonRef),e.shiftKey?AU.Previous:AU.Next)));break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}function c(e){e.key===dF.Space&&e.preventDefault()}n({el:i.itemsRef,$el:i.itemsRef}),WU({container:gc((()=>vU(i.itemsRef))),enabled:gc((()=>0===i.menuState.value)),accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let u=lF(),d=gc((()=>null!==u?(u.value&sF.Open)===sF.Open:0===i.menuState.value));return()=>{var n,a;let s={open:0===i.menuState.value},{...u}=e;return KU({ourProps:{"aria-activedescendant":null===i.activeItemIndex.value||null==(n=i.items.value[i.activeItemIndex.value])?void 0:n.id,"aria-labelledby":null==(a=vU(i.buttonRef))?void 0:a.id,id:o,onKeydown:l,onKeyup:c,role:"menu",tabIndex:0,ref:i.itemsRef},theirProps:u,slot:s,attrs:t,slots:r,features:GU.RenderStrategy|GU.Static,visible:d.value,name:"MenuItems"})}}}),AQ=Li({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-item-${bU()}`,i=SQ("MenuItem"),s=So(null);n({el:s,$el:s});let l=gc((()=>null!==i.activeItemIndex.value&&i.items.value[i.activeItemIndex.value].id===o)),c=cQ(s),u=gc((()=>({disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){if(e.disabled)return t.preventDefault();i.closeMenu(),RU(vU(i.buttonRef))}function p(){if(e.disabled)return i.goToItem(fF.Nothing);i.goToItem(fF.Specific,o)}Yi((()=>i.registerItem(o,u))),ts((()=>i.unregisterItem(o))),pl((()=>{0===i.menuState.value&&l.value&&0!==i.activationTrigger.value&&Ko((()=>{var e,t;return null==(t=null==(e=vU(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let h=ZU();function f(e){h.update(e)}function m(t){h.wasMoved(t)&&(e.disabled||l.value||i.goToItem(fF.Specific,o,0))}function g(t){h.wasMoved(t)&&(e.disabled||l.value&&i.goToItem(fF.Nothing))}return()=>{let{disabled:n,...a}=e,c={active:l.value,disabled:n,close:i.closeMenu};return KU({ourProps:{id:o,ref:s,role:"menuitem",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,onClick:d,onFocus:p,onPointerenter:f,onMouseenter:f,onPointermove:m,onMousemove:m,onPointerleave:g,onMouseleave:g},theirProps:{...r,...a},slot:c,attrs:r,slots:t,name:"MenuItem"})}}});var CQ,PQ=((CQ=PQ||{})[CQ.Open=0]="Open",CQ[CQ.Closed=1]="Closed",CQ);let $Q=Symbol("PopoverContext");function MQ(e){let t=Fs($Q,null);if(null===t){let t=new Error(`<${e} /> is missing a parent <${IQ.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,MQ),t}return t}let DQ=Symbol("PopoverGroupContext");function RQ(){return Fs(DQ,null)}let NQ=Symbol("PopoverPanelContext"),IQ=Li({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=So(null);n({el:o,$el:o});let i=So(1),s=So(null),l=So(null),c=So(null),u=So(null),d=gc((()=>kU(o))),p=gc((()=>{var e,t;if(!vU(s)||!vU(u))return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(vU(s)))^Number(null==e?void 0:e.contains(vU(u))))return!0;let r=$U(),n=r.indexOf(vU(s)),a=(n+r.length-1)%r.length,o=(n+1)%r.length,i=r[a],l=r[o];return!(null!=(e=vU(u))&&e.contains(i)||null!=(t=vU(u))&&t.contains(l))})),h={popoverState:i,buttonId:So(null),panelId:So(null),panel:u,button:s,isPortalled:p,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){i.value=yU(i.value,{0:1,1:0})},closePopover(){1!==i.value&&(i.value=1)},close(e){h.closePopover();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?vU(e):vU(h.button):vU(h.button);null==t||t.focus()}};Us($Q,h),cF(gc((()=>yU(i.value,{0:sF.Open,1:sF.Closed}))));let f={buttonId:h.buttonId,panelId:h.panelId,close(){h.closePopover()}},m=RQ(),g=null==m?void 0:m.registerPopover,[b,v]=zF(),y=MF({mainTreeNodeRef:null==m?void 0:m.mainTreeNodeRef,portals:b,defaultContainers:[s,u]});return pl((()=>null==g?void 0:g(f))),yF(null==(a=d.value)?void 0:a.defaultView,"focus",(e=>{var t,r;e.target!==window&&e.target instanceof HTMLElement&&0===i.value&&(function(){var e,t,r,n;return null!=(n=null==m?void 0:m.isFocusWithinPopoverGroup())?n:(null==(e=d.value)?void 0:e.activeElement)&&((null==(t=vU(s))?void 0:t.contains(d.value.activeElement))||(null==(r=vU(u))?void 0:r.contains(d.value.activeElement)))}()||s&&u&&(y.contains(e.target)||null!=(t=vU(h.beforePanelSentinel))&&t.contains(e.target)||null!=(r=vU(h.afterPanelSentinel))&&r.contains(e.target)||h.closePopover()))}),!0),zU(y.resolveContainers,((e,t)=>{var r;h.closePopover(),DU(t,MU.Loose)||(e.preventDefault(),null==(r=vU(s))||r.focus())}),gc((()=>0===i.value))),()=>{let n={open:0===i.value,close:h.close};return bc(Tl,[bc(v,{},(()=>KU({theirProps:{...e,...r},ourProps:{ref:o},slot:n,slots:t,attrs:r,name:"Popover"}))),bc(y.MainTreeNode)])}}}),LQ=Li({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:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-popover-button-${bU()}`,i=MQ("PopoverButton"),s=gc((()=>kU(i.button)));n({el:i.button,$el:i.button}),Yi((()=>{i.buttonId.value=o})),ts((()=>{i.buttonId.value=null}));let l=RQ(),c=null==l?void 0:l.closeOthers,u=Fs(NQ,null),d=gc((()=>null!==u&&u.value===i.panelId.value)),p=So(null),h=`headlessui-focus-sentinel-${bU()}`;d.value||pl((()=>{i.button.value=vU(p)}));let f=HU(gc((()=>({as:e.as,type:t.type}))),p);function m(e){var t,r,n,a,o;if(d.value){if(1===i.popoverState.value)return;switch(e.key){case dF.Space:case dF.Enter:e.preventDefault(),null==(r=(t=e.target).click)||r.call(t),i.closePopover(),null==(n=vU(i.button))||n.focus()}}else switch(e.key){case dF.Space:case dF.Enter:e.preventDefault(),e.stopPropagation(),1===i.popoverState.value&&(null==c||c(i.buttonId.value)),i.togglePopover();break;case dF.Escape:if(0!==i.popoverState.value)return null==c?void 0:c(i.buttonId.value);if(!vU(i.button)||null!=(a=s.value)&&a.activeElement&&(null==(o=vU(i.button))||!o.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),i.closePopover()}}function g(e){d.value||e.key===dF.Space&&e.preventDefault()}function b(t){var r,n;e.disabled||(d.value?(i.closePopover(),null==(r=vU(i.button))||r.focus()):(t.preventDefault(),t.stopPropagation(),1===i.popoverState.value&&(null==c||c(i.buttonId.value)),i.togglePopover(),null==(n=vU(i.button))||n.focus()))}function v(e){e.preventDefault(),e.stopPropagation()}let y=wF();function O(){let e=vU(i.panel);e&&yU(y.value,{[OF.Forwards]:()=>BU(e,AU.First),[OF.Backwards]:()=>BU(e,AU.Last)})===CU.Error&&BU($U().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),yU(y.value,{[OF.Forwards]:AU.Next,[OF.Backwards]:AU.Previous}),{relativeTo:vU(i.button)})}return()=>{let n=0===i.popoverState.value,a={open:n},{...s}=e,l=d.value?{ref:p,type:f.value,onKeydown:m,onClick:b}:{ref:p,id:o,type:f.value,"aria-expanded":0===i.popoverState.value,"aria-controls":vU(i.panel)?i.panelId.value:void 0,disabled:!!e.disabled||void 0,onKeydown:m,onKeyup:g,onClick:b,onMousedown:v};return bc(Tl,[KU({ourProps:l,theirProps:{...t,...s},slot:a,attrs:t,slots:r,name:"PopoverButton"}),n&&!d.value&&i.isPortalled.value&&bc(oF,{id:h,features:aF.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:O})])}}}),jQ=Li({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:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-popover-panel-${bU()}`,{focus:i}=e,s=MQ("PopoverPanel"),l=gc((()=>kU(s.panel))),c=`headlessui-focus-sentinel-before-${bU()}`,u=`headlessui-focus-sentinel-after-${bU()}`;n({el:s.panel,$el:s.panel}),Yi((()=>{s.panelId.value=o})),ts((()=>{s.panelId.value=null})),Us(NQ,s.panelId),pl((()=>{var e,t;if(!i||0!==s.popoverState.value||!s.panel)return;let r=null==(e=l.value)?void 0:e.activeElement;null!=(t=vU(s.panel))&&t.contains(r)||BU(vU(s.panel),AU.First)}));let d=lF(),p=gc((()=>null!==d?(d.value&sF.Open)===sF.Open:0===s.popoverState.value));function h(e){var t,r;if(e.key===dF.Escape){if(0!==s.popoverState.value||!vU(s.panel)||l.value&&(null==(t=vU(s.panel))||!t.contains(l.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),s.closePopover(),null==(r=vU(s.button))||r.focus()}}function f(e){var t,r,n,a,o;let i=e.relatedTarget;i&&vU(s.panel)&&(null!=(t=vU(s.panel))&&t.contains(i)||(s.closePopover(),(null!=(n=null==(r=vU(s.beforePanelSentinel))?void 0:r.contains)&&n.call(r,i)||null!=(o=null==(a=vU(s.afterPanelSentinel))?void 0:a.contains)&&o.call(a,i))&&i.focus({preventScroll:!0})))}let m=wF();function g(){let e=vU(s.panel);e&&yU(m.value,{[OF.Forwards]:()=>{var t;BU(e,AU.First)===CU.Error&&(null==(t=vU(s.afterPanelSentinel))||t.focus())},[OF.Backwards]:()=>{var e;null==(e=vU(s.button))||e.focus({preventScroll:!0})}})}function b(){let e=vU(s.panel);e&&yU(m.value,{[OF.Forwards]:()=>{let e=vU(s.button),t=vU(s.panel);if(!e)return;let r=$U(),n=r.indexOf(e),a=r.slice(0,n+1),o=[...r.slice(n+1),...a];for(let e of o.slice())if("true"===e.dataset.headlessuiFocusGuard||null!=t&&t.contains(e)){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}BU(o,AU.First,{sorted:!1})},[OF.Backwards]:()=>{var t;BU(e,AU.Previous)===CU.Error&&(null==(t=vU(s.button))||t.focus())}})}return()=>{let n={open:0===s.popoverState.value,close:s.close},{focus:a,...l}=e;return KU({ourProps:{ref:s.panel,id:o,onKeydown:h,onFocusout:i&&0===s.popoverState.value?f:void 0,tabIndex:-1},theirProps:{...t,...l},attrs:t,slot:n,slots:{...r,default:(...e)=>{var t;return[bc(Tl,[p.value&&s.isPortalled.value&&bc(oF,{id:c,ref:s.beforePanelSentinel,features:aF.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g}),null==(t=r.default)?void 0:t.call(r,...e),p.value&&s.isPortalled.value&&bc(oF,{id:u,ref:s.afterPanelSentinel,features:aF.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:b})])]}},features:GU.RenderStrategy|GU.Static,visible:p.value,name:"PopoverPanel"})}}}),BQ=Symbol("LabelContext");function UQ(){let e=Fs(BQ,null);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,UQ),e}return e}function FQ({slot:e={},name:t="Label",props:r={}}={}){let n=So([]);return Us(BQ,{register:function(e){return n.value.push(e),()=>{let t=n.value.indexOf(e);-1!==t&&n.value.splice(t,1)}},slot:e,name:t,props:r}),gc((()=>n.value.length>0?n.value.join(" "):void 0))}let QQ=Li({name:"Label",props:{as:{type:[Object,String],default:"label"},passive:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r}){var n;let a=null!=(n=e.id)?n:`headlessui-label-${bU()}`,o=UQ();return Yi((()=>ts(o.register(a)))),()=>{let{name:n="Label",slot:i={},props:s={}}=o,{passive:l,...c}=e,u={...Object.entries(s).reduce(((e,[t,r])=>Object.assign(e,{[t]:Ao(r)})),{}),id:a};return l&&(delete u.onClick,delete u.htmlFor,delete c.onClick),KU({ourProps:u,theirProps:c,slot:i,attrs:r,slots:t,name:n})}}});function zQ(e,t){return e===t}let qQ=Symbol("RadioGroupContext");function HQ(e){let t=Fs(qQ,null);if(null===t){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,HQ),t}return t}let VQ=Li({name:"RadioGroup",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"div"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>zQ},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},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{emit:t,attrs:r,slots:n,expose:a}){var o;let i=null!=(o=e.id)?o:`headlessui-radiogroup-${bU()}`,s=So(null),l=So([]),c=FQ({name:"RadioGroupLabel"}),u=jF({name:"RadioGroupDescription"});a({el:s,$el:s});let[d,p]=dU(gc((()=>e.modelValue)),(e=>t("update:modelValue",e)),gc((()=>e.defaultValue))),h={options:l,value:d,disabled:gc((()=>e.disabled)),firstOption:gc((()=>l.value.find((e=>!e.propsRef.disabled)))),containsCheckedOption:gc((()=>l.value.some((t=>h.compare(Oo(t.propsRef.value),Oo(e.modelValue)))))),compare(t,r){if("string"==typeof e.by){let n=e.by;return(null==t?void 0:t[n])===(null==r?void 0:r[n])}return e.by(t,r)},change(t){var r;if(e.disabled||h.compare(Oo(d.value),Oo(t)))return!1;let n=null==(r=l.value.find((e=>h.compare(Oo(e.propsRef.value),Oo(t)))))?void 0:r.propsRef;return!(null!=n&&n.disabled||(p(t),0))},registerOption(e){l.value.push(e),l.value=jU(l.value,(e=>e.element))},unregisterOption(e){let t=l.value.findIndex((t=>t.id===e));-1!==t&&l.value.splice(t,1)}};function f(e){if(!s.value||!s.value.contains(e.target))return;let t=l.value.filter((e=>!1===e.propsRef.disabled)).map((e=>e.element));switch(e.key){case dF.Enter:!function(e){var t,r;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n){for(let t of n.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(r=n.requestSubmit)||r.call(n)}}(e.currentTarget);break;case dF.ArrowLeft:case dF.ArrowUp:if(e.preventDefault(),e.stopPropagation(),BU(t,AU.Previous|AU.WrapAround)===CU.Success){let e=l.value.find((e=>{var t;return e.element===(null==(t=kU(s))?void 0:t.activeElement)}));e&&h.change(e.propsRef.value)}break;case dF.ArrowRight:case dF.ArrowDown:if(e.preventDefault(),e.stopPropagation(),BU(t,AU.Next|AU.WrapAround)===CU.Success){let e=l.value.find((e=>{var t;return e.element===(null==(t=kU(e.element))?void 0:t.activeElement)}));e&&h.change(e.propsRef.value)}break;case dF.Space:{e.preventDefault(),e.stopPropagation();let t=l.value.find((e=>{var t;return e.element===(null==(t=kU(e.element))?void 0:t.activeElement)}));t&&h.change(t.propsRef.value)}}}Us(qQ,h),WU({container:gc((()=>vU(s))),accept:e=>"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let m=gc((()=>{var e;return null==(e=vU(s))?void 0:e.closest("form")}));return Yi((()=>{hl([m],(()=>{if(m.value&&void 0!==e.defaultValue)return m.value.addEventListener("reset",t),()=>{var e;null==(e=m.value)||e.removeEventListener("reset",t)};function t(){h.change(e.defaultValue)}}),{immediate:!0})})),()=>{let{disabled:t,name:a,form:o,...l}=e,p={ref:s,id:i,role:"radiogroup","aria-labelledby":c.value,"aria-describedby":u.value,onKeydown:f};return bc(Tl,[...null!=a&&null!=d.value?gF({[a]:d.value}).map((([e,r])=>bc(oF,rF({features:aF.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:o,disabled:t,name:e,value:r})))):[],KU({ourProps:p,theirProps:{...r,...nF(l,["modelValue","defaultValue","by"])},slot:{},attrs:r,slots:n,name:"RadioGroup"})])}}});var ZQ,WQ=((ZQ=WQ||{})[ZQ.Empty=1]="Empty",ZQ[ZQ.Active=2]="Active",ZQ);let XQ=Li({name:"RadioGroupOption",props:{as:{type:[Object,String],default:"div"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-radiogroup-option-${bU()}`,i=HQ("RadioGroupOption"),s=FQ({name:"RadioGroupLabel"}),l=jF({name:"RadioGroupDescription"}),c=So(null),u=gc((()=>({value:e.value,disabled:e.disabled}))),d=So(1);n({el:c,$el:c});let p=gc((()=>vU(c)));Yi((()=>i.registerOption({id:o,element:p,propsRef:u}))),ts((()=>i.unregisterOption(o)));let h=gc((()=>{var e;return(null==(e=i.firstOption.value)?void 0:e.id)===o})),f=gc((()=>i.disabled.value||e.disabled)),m=gc((()=>i.compare(Oo(i.value.value),Oo(e.value)))),g=gc((()=>f.value?-1:m.value||!i.containsCheckedOption.value&&h.value?0:-1));function b(){var t;i.change(e.value)&&(d.value|=2,null==(t=vU(c))||t.focus())}function v(){d.value|=2}function y(){d.value&=-3}return()=>{let{value:n,disabled:a,...i}=e,u={checked:m.value,disabled:f.value,active:Boolean(2&d.value)};return KU({ourProps:{id:o,ref:c,role:"radio","aria-checked":m.value?"true":"false","aria-labelledby":s.value,"aria-describedby":l.value,"aria-disabled":!!f.value||void 0,tabIndex:g.value,onClick:f.value?void 0:b,onFocus:f.value?void 0:v,onBlur:f.value?void 0:y},theirProps:i,slot:u,attrs:t,slots:r,name:"RadioGroupOption"})}}}),GQ=QQ,YQ=Li({props:{onFocus:{type:Function,required:!0}},setup(e){let t=So(!0);return()=>t.value?bc(oF,{as:"button",type:"button",features:aF.Focusable,onFocus(r){r.preventDefault();let n,a=50;n=requestAnimationFrame((function r(){var o;if(!(a--<=0))return null!=(o=e.onFocus)&&o.call(e)?(t.value=!1,void cancelAnimationFrame(n)):void(n=requestAnimationFrame(r));n&&cancelAnimationFrame(n)}))}}):null}});var KQ,JQ=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(JQ||{}),ez=((KQ=ez||{})[KQ.Less=-1]="Less",KQ[KQ.Equal=0]="Equal",KQ[KQ.Greater=1]="Greater",KQ);let tz=Symbol("TabsContext");function rz(e){let t=Fs(tz,null);if(null===t){let t=new Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,rz),t}return t}let nz=Symbol("TabsSSRContext"),az=Li({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){var a;let o=So(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=So([]),s=So([]),l=gc((()=>null!==e.selectedIndex)),c=gc((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=jU(d.tabs.value,vU),n=jU(d.panels.value,vU),a=r.filter((e=>{var t;return!(null!=(t=vU(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=yU(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>yU(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=yU(t,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});-1!==i&&(o.value=i),d.tabs.value=r,d.panels.value=n}else{let i=r.slice(0,e),s=[...r.slice(e),...i].find((e=>a.includes(e)));if(!s)return;let l=null!=(t=r.indexOf(s))?t:d.selectedIndex.value;-1===l&&(l=d.selectedIndex.value),o.value=l,d.tabs.value=r,d.panels.value=n}}let d={selectedIndex:gc((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:gc((()=>e.vertical?"vertical":"horizontal")),activation:gc((()=>e.manual?"manual":"auto")),tabs:i,panels:s,setSelectedIndex(e){c.value!==e&&n("change",e),l.value||u(e)},registerTab(e){var t;if(i.value.includes(e))return;let r=i.value[o.value];if(i.value.push(e),i.value=jU(i.value,vU),!l.value){let e=null!=(t=i.value.indexOf(r))?t:o.value;-1!==e&&(o.value=e)}},unregisterTab(e){let t=i.value.indexOf(e);-1!==t&&i.value.splice(t,1)},registerPanel(e){s.value.includes(e)||(s.value.push(e),s.value=jU(s.value,vU))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};Us(tz,d);let p=So({tabs:[],panels:[]}),h=So(!1);Yi((()=>{h.value=!0})),Us(nz,gc((()=>h.value?null:p.value)));let f=gc((()=>e.selectedIndex));return Yi((()=>{hl([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),pl((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=jU(d.tabs.value,vU);e.some(((e,t)=>vU(d.tabs.value[t])!==vU(e)))&&d.setSelectedIndex(e.findIndex((e=>vU(e)===vU(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return bc(Tl,[i.value.length<=0&&bc(YQ,{onFocus:()=>{for(let e of i.value){let t=vU(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),KU({theirProps:{...r,...nF(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),oz=Li({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=rz("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return KU({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),iz=Li({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-tabs-tab-${bU()}`,i=rz("Tab"),s=So(null);n({el:s,$el:s}),Yi((()=>i.registerTab(s))),ts((()=>i.unregisterTab(s)));let l=Fs(nz),c=gc((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=gc((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=gc((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===CU.Success&&"auto"===i.activation.value){let e=null==(t=kU(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>vU(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>vU(e))).filter(Boolean);if(e.key===dF.Space||e.key===dF.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case dF.Home:case dF.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>BU(t,AU.First)));case dF.End:case dF.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>BU(t,AU.Last)))}return p((()=>yU(i.orientation.value,{vertical:()=>e.key===dF.ArrowUp?BU(t,AU.Previous|AU.WrapAround):e.key===dF.ArrowDown?BU(t,AU.Next|AU.WrapAround):CU.Error,horizontal:()=>e.key===dF.ArrowLeft?BU(t,AU.Previous|AU.WrapAround):e.key===dF.ArrowRight?BU(t,AU.Next|AU.WrapAround):CU.Error})))===CU.Success?e.preventDefault():void 0}let f=So(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=vU(s))||t.focus({preventScroll:!0}),i.setSelectedIndex(u.value),pU((()=>{f.value=!1}))))}function g(e){e.preventDefault()}let b=HU(gc((()=>({as:e.as,type:t.type}))),s);return()=>{var n,a;let l={selected:d.value,disabled:null!=(n=e.disabled)&&n},{...c}=e;return KU({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=vU(i.panels.value[u.value]))?void 0:a.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0},theirProps:c,slot:l,attrs:t,slots:r,name:"Tab"})}}}),sz=Li({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=rz("TabPanels");return()=>{let a={selectedIndex:n.selectedIndex.value};return KU({theirProps:e,ourProps:{},slot:a,attrs:r,slots:t,name:"TabPanels"})}}}),lz=Li({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null},tabIndex:{type:Number,default:0}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-tabs-panel-${bU()}`,i=rz("TabPanel"),s=So(null);n({el:s,$el:s}),Yi((()=>i.registerPanel(s))),ts((()=>i.unregisterPanel(s)));let l=Fs(nz),c=gc((()=>{if(l.value){let e=l.value.panels.indexOf(o);return-1===e?l.value.panels.push(o)-1:e}return-1})),u=gc((()=>{let e=i.panels.value.indexOf(s);return-1===e?c.value:e})),d=gc((()=>u.value===i.selectedIndex.value));return()=>{var n;let a={selected:d.value},{tabIndex:l,...c}=e,p={ref:s,id:o,role:"tabpanel","aria-labelledby":null==(n=vU(i.tabs.value[u.value]))?void 0:n.id,tabIndex:d.value?l:-1};return d.value||!e.unmount||e.static?KU({ourProps:p,theirProps:c,slot:a,attrs:t,slots:r,features:GU.Static|GU.RenderStrategy,visible:d.value,name:"TabPanel"}):bc(oF,{as:"span","aria-hidden":!0,...p})}}});function cz(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=cz(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function uz(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=cz(e))&&(n&&(n+=" "),n+=t);return n}const dz=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,pz=e=>{const t=gz(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),hz(r,t)||mz(e)},getConflictingClassGroupIds:(e,t)=>{const a=r[e]||[];return t&&n[e]?[...a,...n[e]]:a}}},hz=(e,t)=>{if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?hz(e.slice(1),n):void 0;if(a)return a;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find((({validator:e})=>e(o)))?.classGroupId},fz=/^\[(.+)\]$/,mz=e=>{if(fz.test(e)){const t=fz.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},gz=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Oz(Object.entries(e.classGroups),r).forEach((([e,r])=>{bz(r,n,e,t)})),n},bz=(e,t,r,n)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return yz(e)?void bz(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,a])=>{bz(a,vz(t,e),r,n)}))}else(""===e?t:vz(t,e)).classGroupId=r}))},vz=(e,t)=>{let r=e;return t.split("-").forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r},yz=e=>e.isThemeGetter,Oz=(e,t)=>t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e,wz=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const a=(a,o)=>{r.set(a,o),t++,t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(a(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):a(e,t)}}},xz=e=>{const{separator:t,experimentalParseClassName:r}=e,n=1===t.length,a=t[0],o=t.length,i=e=>{const r=[];let i,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===a&&(n||e.slice(c,c+o)===t)){r.push(e.slice(l,c)),l=c+o;continue}if("/"===u){i=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===r.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:r,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return r?e=>r({className:e,parseClassName:i}):i},kz=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t},Sz=/\s+/;function _z(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=Ez(e))&&(n&&(n+=" "),n+=t);return n}const Ez=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ez(e[n]))&&(r&&(r+=" "),r+=t);return r};function Tz(e,...t){let r,n,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return r=(e=>({cache:wz(e.cacheSize),parseClassName:xz(e),...pz(e)}))(l),n=r.cache.get,a=r.cache.set,o=i,i(s)};function i(e){const t=n(e);if(t)return t;const o=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Sz);let s="";for(let e=i.length-1;e>=0;e-=1){const t=i[e],{modifiers:l,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=r(t);let p=Boolean(d),h=n(p?u.substring(0,d):u);if(!h){if(!p){s=t+(s.length>0?" "+s:s);continue}if(h=n(u),!h){s=t+(s.length>0?" "+s:s);continue}p=!1}const f=kz(l).join(":"),m=c?f+"!":f,g=m+h;if(o.includes(g))continue;o.push(g);const b=a(h,p);for(let e=0;e<b.length;++e){const t=b[e];o.push(m+t)}s=t+(s.length>0?" "+s:s)}return s})(e,r);return a(e,o),o}return function(){return o(_z.apply(null,arguments))}}const Az=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Cz=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pz=/^\d+\/\d+$/,$z=new Set(["px","full","screen"]),Mz=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dz=/\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$/,Rz=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Nz=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Iz=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Lz=e=>Bz(e)||$z.has(e)||Pz.test(e),jz=e=>Kz(e,"length",Jz),Bz=e=>Boolean(e)&&!Number.isNaN(Number(e)),Uz=e=>Kz(e,"number",Bz),Fz=e=>Boolean(e)&&Number.isInteger(Number(e)),Qz=e=>e.endsWith("%")&&Bz(e.slice(0,-1)),zz=e=>Cz.test(e),qz=e=>Mz.test(e),Hz=new Set(["length","size","percentage"]),Vz=e=>Kz(e,Hz,eq),Zz=e=>Kz(e,"position",eq),Wz=new Set(["image","url"]),Xz=e=>Kz(e,Wz,rq),Gz=e=>Kz(e,"",tq),Yz=()=>!0,Kz=(e,t,r)=>{const n=Cz.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},Jz=e=>Dz.test(e)&&!Rz.test(e),eq=()=>!1,tq=e=>Nz.test(e),rq=e=>Iz.test(e),nq=()=>{const e=Az("colors"),t=Az("spacing"),r=Az("blur"),n=Az("brightness"),a=Az("borderColor"),o=Az("borderRadius"),i=Az("borderSpacing"),s=Az("borderWidth"),l=Az("contrast"),c=Az("grayscale"),u=Az("hueRotate"),d=Az("invert"),p=Az("gap"),h=Az("gradientColorStops"),f=Az("gradientColorStopPositions"),m=Az("inset"),g=Az("margin"),b=Az("opacity"),v=Az("padding"),y=Az("saturate"),O=Az("scale"),w=Az("sepia"),x=Az("skew"),k=Az("space"),S=Az("translate"),_=()=>["auto",zz,t],E=()=>[zz,t],T=()=>["",Lz,jz],A=()=>["auto",Bz,zz],C=()=>["","0",zz],P=()=>[Bz,zz];return{cacheSize:500,separator:":",theme:{colors:[Yz],spacing:[Lz,jz],blur:["none","",qz,zz],brightness:P(),borderColor:[e],borderRadius:["none","","full",qz,zz],borderSpacing:E(),borderWidth:T(),contrast:P(),grayscale:C(),hueRotate:P(),invert:C(),gap:E(),gradientColorStops:[e],gradientColorStopPositions:[Qz,jz],inset:_(),margin:_(),opacity:P(),padding:E(),saturate:P(),scale:P(),sepia:C(),skew:P(),space:E(),translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",zz]}],container:["container"],columns:[{columns:[qz]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",zz]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Fz,zz]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",zz]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",Fz,zz]}],"grid-cols":[{"grid-cols":[Yz]}],"col-start-end":[{col:["auto",{span:["full",Fz,zz]},zz]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Yz]}],"row-start-end":[{row:["auto",{span:[Fz,zz]},zz]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",zz]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",zz]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",zz,t]}],"min-w":[{"min-w":[zz,t,"min","max","fit"]}],"max-w":[{"max-w":[zz,t,"none","full","min","max","fit","prose",{screen:[qz]},qz]}],h:[{h:[zz,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[zz,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[zz,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[zz,t,"auto","min","max","fit"]}],"font-size":[{text:["base",qz,jz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Uz]}],"font-family":[{font:[Yz]}],"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:["tighter","tight","normal","wide","wider","widest",zz]}],"line-clamp":[{"line-clamp":["none",Bz,Uz]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Lz,zz]}],"list-image":[{"list-image":["none",zz]}],"list-style-type":[{list:["none","disc","decimal",zz]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Lz,jz]}],"underline-offset":[{"underline-offset":["auto",Lz,zz]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",zz]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",zz]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Zz]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vz]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xz]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Lz,zz]}],"outline-w":[{outline:[Lz,jz]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Lz,jz]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",qz,Gz]}],"shadow-color":[{shadow:[Yz]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",qz,zz]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",zz]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",zz]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",zz]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[Fz,zz]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",zz]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",zz]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",zz]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Lz,jz,Uz]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},aq=(e,t,r)=>{void 0!==r&&(e[t]=r)},oq=(e,t)=>{if(t)for(const r in t)aq(e,r,t[r])},iq=(e,t)=>{if(t)for(const r in t){const n=t[r];void 0!==n&&(e[r]=(e[r]||[]).concat(n))}},sq=((e,...t)=>"function"==typeof e?Tz(nq,e,...t):Tz((()=>((e,{cacheSize:t,prefix:r,separator:n,experimentalParseClassName:a,extend:o={},override:i={}})=>{aq(e,"cacheSize",t),aq(e,"prefix",r),aq(e,"separator",n),aq(e,"experimentalParseClassName",a);for(const t in i)oq(e[t],i[t]);for(const t in o)iq(e[t],o[t]);return e})(nq(),e)),...t))({extend:{classGroups:{"font-size":["text-3xs","text-xxs"],"font-weight":["font-sidebar","font-sidebar-active"]}}}),{cva:lq,cx:cq}=(e=>{const t=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a,o;return void 0!==(null==e||null===(a=e.hooks)||void 0===a?void 0:a["cx:done"])?null==e?void 0:e.hooks["cx:done"](uz(r)):void 0!==(null==e||null===(o=e.hooks)||void 0===o?void 0:o.onComplete)?null==e?void 0:e.hooks.onComplete(uz(r)):uz(r)};return{compose:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return e=>{const n=Object.fromEntries(Object.entries(e||{}).filter((e=>{let[t]=e;return!["class","className"].includes(t)})));return t(r.map((e=>e(n))),null==e?void 0:e.class,null==e?void 0:e.className)}},cva:e=>r=>{var n;if(null==(null==e?void 0:e.variants))return t(null==e?void 0:e.base,null==r?void 0:r.class,null==r?void 0:r.className);const{variants:a,defaultVariants:o}=e,i=Object.keys(a).map((e=>{const t=null==r?void 0:r[e],n=null==o?void 0:o[e],i=dz(t)||dz(n);return a[e][i]})),s={...o,...r&&Object.entries(r).reduce(((e,t)=>{let[r,n]=t;return void 0===n?e:{...e,[r]:n}}),{})},l=null==e||null===(n=e.compoundVariants)||void 0===n?void 0:n.reduce(((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every((e=>{let[t,r]=e;const n=s[t];return Array.isArray(r)?r.includes(n):n===r}))?[...e,r,n]:e}),[]);return t(null==e?void 0:e.base,i,l,null==r?void 0:r.class,null==r?void 0:r.className)},cx:t}})({hooks:{onComplete:e=>sq(e)}});function uq(){const e=ws(),t=gc((()=>{const{class:t,...r}=e;return{class:t||"",rest:r}}));return{cx:function(...e){return{class:cq(...e,t.value.class),...t.value.rest}},classCx:function(...e){return{class:cq(...e,t.value.class)}},otherAttrs:gc((()=>t.value.rest))}}const dq={solid:["scalar-button-solid","bg-b-btn text-c-btn shadow-sm focus-visible:border-c-btn active:bg-b-btn active:shadow-none hover:bg-h-btn outline-offset-1"],outlined:["scalar-button-outlined","active:bg-btn-1 border border-solid border-border bg-b-1 text-c-1 hover:bg-b-2 shadow"],ghost:["scalar-button-ghost","bg-transparent text-c-3 active:text-c-1 hover:text-c-1"],danger:["scalar-button-danger","bg-c-danger text-white active:brightness-90 hover:brightness-90"]},pq=lq({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"},fullWidth:{true:"w-full"},size:{sm:"px-2 py-1 text-xs",md:"h-10 px-6 text-sm"},variant:dq},compoundVariants:[{disabled:!0,variant:["solid","outlined","ghost","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-[_]"}]}),hq={key:0,class:"circular-loader"};function fq(){return uo({isValid:!1,isInvalid:!1,isLoading:!1,startLoading(){this.isLoading=!0},stopLoading(){this.isLoading=!1},validate(e=800,t){this.isInvalid=!1,this.isValid=!0;const r=t?e-300:e;return new Promise((e=>setTimeout(t?()=>this.clear().then((()=>e(!0))):()=>e(!0),r)))},invalidate(e=1100,t){this.isValid=!1,this.isInvalid=!0;const r=t?e-300:e;return new Promise((e=>setTimeout(t?()=>this.clear().then((()=>e(!0))):()=>e(!0),r)))},clear(e=300){return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise((t=>{setTimeout((()=>{t(!0)}),e)}))}})}const mq=Li({inheritAttrs:!1,__name:"ScalarLoading",props:{loadingState:{},size:{}},setup(e){const{cx:t}=uq(),r=lq({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(e,n)=>e.loadingState?(Dl(),Ll("div",qn(Jl({key:0},Ao(t)("loader-wrapper",Ao(r)({size:e.size})))),[(Dl(),Ll("svg",{class:zn(["svg-loader",{"icon-is-valid":e.loadingState.isValid,"icon-is-invalid":e.loadingState.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[n[0]||(n[0]=Wl('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-f525638b></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-f525638b></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-f525638b></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-f525638b></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-f525638b></path>',5)),e.loadingState.isLoading?(Dl(),Ll("g",hq,[zl("circle",{class:zn(["loader-path",{"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"3"},null,2)])):Xl("",!0)],2))],16)):Xl("",!0)}}),gq=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},bq=gq(mq,[["__scopeId","data-v-f525638b"]]),vq=["aria-disabled","type"],yq={key:3,class:"centered"},Oq=Li({inheritAttrs:!1,__name:"ScalarButton",props:{disabled:{type:Boolean},fullWidth:{type:Boolean,default:!1},loading:{},size:{default:"md"},variant:{default:"solid"},type:{default:"button"}},setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("button",Jl({"aria-disabled":e.disabled||void 0,type:e.type},Ao(t)(Ao(pq)({fullWidth:e.fullWidth,disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loading?.isLoading})),[e.$slots.icon?(Dl(),Ll("div",{key:0,class:zn(["mr-2 h-4 w-4",{invisible:e.loading?.isLoading}])},[fs(e.$slots,"icon")],2)):Xl("",!0),e.loading?(Dl(),Ll("span",{key:1,class:zn({invisible:e.loading?.isLoading})},[fs(e.$slots,"default")],2)):fs(e.$slots,"default",{key:2}),e.loading?.isLoading?(Dl(),Ll("div",yq,[ql(Ao(bq),{loadingState:e.loading,size:"xl"},null,8,["loadingState"])])):Xl("",!0)],16,vq))}}),wq=Symbol(),xq=Li({inheritAttrs:!1,__name:"ScalarCard",props:{label:{}},setup(e){const{id:t}=(()=>{const e=So();return Us(wq,e),{id:e}})(),r=gc((()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{})),{cx:n}=uq();return(e,t)=>(Dl(),Ll("section",qn(Hl({...r.value,...Ao(n)("scalar-card bg-b-2 flex flex-col divide-y rounded-lg border *:first:rounded-t-[inherit] *:last:rounded-b-[inherit]")})),[fs(e.$slots,"default")],16))}}),kq=Li({inheritAttrs:!1,__name:"ScalarCardSection",setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("div",qn(Hl(Ao(t)("scalar-card-content flex overflow-auto"))),[fs(e.$slots,"default")],16))}}),Sq=["id"],_q={key:0,class:"flex"},Eq=Li({inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){const{cx:t}=uq(),r=ji();return(e=>{const t=Fs(wq,void 0);t&&(t.value=e)})(r),(e,n)=>(Dl(),jl(kq,qn(Hl(Ao(t)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{default:ci((()=>[zl("div",{id:Ao(r),class:"scalar-card-header-title min-w-0 flex-1 truncate"},[fs(e.$slots,"default")],8,Sq),e.$slots.actions?(Dl(),Ll("div",_q,[fs(e.$slots,"actions")])):Xl("",!0)])),_:3},16))}}),Tq=Li({inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),jl(kq,qn(Hl(Ao(t)("scalar-card-footer"))),{default:ci((()=>[fs(e.$slots,"default")])),_:3},16))}}),Aq={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 `--\x3e` 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 `--\x3e` 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 `--\x3e` 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 `--\x3e` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `\x3c!--` 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 `\x3c!--`. Expected `--\x3e`"},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"}},Cq=/-[a-z]/g,Pq=/%c(?:([-+])(\d+))?/g,$q=/%x/g,Mq={2:!0,1:!1,0:null},Dq={};function Rq(e){return e.charAt(1).toUpperCase()}function Nq(e){const{emitParseErrors:t,...r}={...this.data("settings"),...e};this.parser=function(e,n){return function(e,t){const r=t||Dq,n=r.onerror,a=e instanceof tM?e:new tM(e),o=r.fragment?q_:z_,i=String(a),s=o(i,{sourceCodeLocationInfo:!0,onParseError:r.onerror?function(e){const t=e.code,o=function(e){return e.replace(Cq,Rq)}(t),s=r[o],l=null==s||s,c="number"==typeof l?l:l?1:0;if(c){const r=Aq[o],i=new H$(u(r.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"});a.path&&(i.file=a.path,i.name=a.path+":"+i.name),i.fatal=Mq[c],i.note=u(r.description),i.url=!1===r.url?void 0:"https://html.spec.whatwg.org/multipage/parsing.html#parse-error-"+t,n(i)}function u(t){return t.replace(Pq,(function(t,r,n){const a=(n?Number.parseInt(n,10):0)*("-"===r?-1:1);return function(e){return"`"===e?"` ` `":e}(i.charAt(e.startOffset+a))})).replace($q,(function(){return"0x"+i.charCodeAt(e.startOffset).toString(16).toUpperCase()}))}}:null,scriptingEnabled:!1});return Fx(s,{file:a,space:r.space,verbose:r.verbose})}(e,{...r,onerror:t?function(e){n.path&&(e.name=n.path+":"+e.name,e.file=n.path),n.messages.push(e)}:void 0})}}function Iq(e){return"text"===e?.type}function Lq(e){return"element"===e?.type}function jq(e){return{type:"text",value:e}}function Bq(){return e=>{pw(e,"element",((e,t,r)=>{if("element"===r?.type&&"pre"===r.tagName&&"code"===e.tagName){let t=0;e.children=Uq(e),e.children.forEach((e=>{if("element"===e.type&&"span"===e.tagName){const r=e.children[e.children.length-1];r&&(!Iq(r)||Iq(r)&&!Qq(r))&&(e.children.push({type:"text",value:"\n"}),t++)}})),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}}))}}function Uq(e,t=[],r){const n=()=>t[t.length-1]??(t.push(Fq())&&t[t.length-1]||void 0);return e.children.forEach((a=>{if(Iq(a)&&Qq(a)){const o=a.value.split(/\n/);o.forEach(((a,i)=>{r?n()?.children.push({...e,children:[jq(a)]}):n()?.children.push(jq(a)),i!==o.length-1&&t.push(Fq())}))}else Lq(a)&&a.children.some(Qq)?Uq(a,t,!0):n()?.children.push(a)})),t}function Fq(...e){return{type:"element",tagName:"span",properties:{class:["line"]},children:e}}function Qq(e){return Iq(e)&&/\r?\n/.test(e.value)||Lq(e)&&e.children.some(Qq)}function zq(e={}){const t=gc((()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"}));return{bind:gc((()=>({width:"1em",height:"1em",...t.value}))),weight:gc((()=>e.weight??"regular"))}}const qq={key:0},Hq={key:1},Vq={key:2},Zq={key:3},Wq={key:4},Xq={key:5},Gq=Li({name:"ScalarIconBook",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",qq,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",Hq,t[1]||(t[1]=[zl("path",{d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",Vq,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",Zq,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",Wq,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",Xq,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),Yq={key:0},Kq={key:1},Jq={key:2},eH={key:3},tH={key:4},rH={key:5},nH=Li({name:"ScalarIconBracketsCurly",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",Yq,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",Kq,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",Jq,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",eH,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",tH,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",rH,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),aH={key:0},oH={key:1},iH={key:2},sH={key:3},lH={key:4},cH={key:5},uH=Li({name:"ScalarIconCaretDown",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",aH,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",oH,t[1]||(t[1]=[zl("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",iH,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",sH,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",lH,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",cH,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),dH={key:0},pH={key:1},hH={key:2},fH={key:3},mH={key:4},gH={key:5},bH=Li({name:"ScalarIconCaretRight",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",dH,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",pH,t[1]||(t[1]=[zl("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",hH,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",fH,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",mH,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",gH,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),vH={key:0},yH={key:1},OH={key:2},wH={key:3},xH={key:4},kH={key:5},SH=Li({name:"ScalarIconCaretUpDown",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",vH,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",yH,t[1]||(t[1]=[zl("path",{d:"M80,176h96l-48,48ZM128,32,80,80h96Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",OH,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",wH,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",xH,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",kH,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),_H={key:0},EH={key:1},TH={key:2},AH={key:3},CH={key:4},PH={key:5},$H=Li({name:"ScalarIconCheck",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",_H,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",EH,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",TH,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",AH,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",CH,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",PH,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),MH={key:0},DH={key:1},RH={key:2},NH={key:3},IH={key:4},LH={key:5},jH=Li({name:"ScalarIconCopy",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",MH,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",DH,t[1]||(t[1]=[zl("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",RH,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",NH,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",IH,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",LH,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),BH={key:0},UH={key:1},FH={key:2},QH={key:3},zH={key:4},qH={key:5},HH=Li({name:"ScalarIconEnvelopeSimple",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",BH,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",UH,t[1]||(t[1]=[zl("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",FH,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",QH,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",zH,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",qH,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),VH={key:0},ZH={key:1},WH={key:2},XH={key:3},GH={key:4},YH={key:5},KH=Li({name:"ScalarIconEye",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",VH,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",ZH,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",WH,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",XH,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",GH,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",YH,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),JH={key:0},eV={key:1},tV={key:2},rV={key:3},nV={key:4},aV={key:5},oV=Li({name:"ScalarIconEyeSlash",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",JH,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",eV,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",tV,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",rV,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",nV,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",aV,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),iV={key:0},sV={key:1},lV={key:2},cV={key:3},uV={key:4},dV={key:5},pV=Li({name:"ScalarIconGavel",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",iV,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",sV,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",lV,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",cV,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",uV,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",dV,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),hV={key:0},fV={key:1},mV={key:2},gV={key:3},bV={key:4},vV={key:5},yV=Li({name:"ScalarIconGlobe",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",hV,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",fV,t[1]||(t[1]=[zl("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",mV,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",gV,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",bV,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",vV,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),OV={key:0},wV={key:1},xV={key:2},kV={key:3},SV={key:4},_V={key:5},EV=Li({name:"ScalarIconHash",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",OV,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",wV,t[1]||(t[1]=[zl("path",{d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",xV,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",kV,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",SV,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",_V,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),TV={key:0},AV={key:1},CV={key:2},PV={key:3},$V={key:4},MV={key:5},DV=Li({name:"ScalarIconInfo",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",TV,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",AV,t[1]||(t[1]=[zl("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",CV,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",PV,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",$V,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",MV,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),RV={key:0},NV={key:1},IV={key:2},LV={key:3},jV={key:4},BV={key:5},UV=Li({name:"ScalarIconLink",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",RV,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",NV,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",IV,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",LV,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",jV,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",BV,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),FV={key:0},QV={key:1},zV={key:2},qV={key:3},HV={key:4},VV={key:5},ZV=Li({name:"ScalarIconList",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",FV,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",QV,t[1]||(t[1]=[zl("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",zV,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",qV,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",HV,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",VV,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),WV={key:0},XV={key:1},GV={key:2},YV={key:3},KV={key:4},JV={key:5},eZ=Li({name:"ScalarIconMagnifyingGlass",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",WV,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",XV,t[1]||(t[1]=[zl("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",GV,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",YV,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",KV,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",JV,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),tZ={key:0},rZ={key:1},nZ={key:2},aZ={key:3},oZ={key:4},iZ={key:5},sZ=Li({name:"ScalarIconPlay",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",tZ,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",rZ,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",nZ,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",aZ,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",oZ,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",iZ,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),lZ={key:0},cZ={key:1},uZ={key:2},dZ={key:3},pZ={key:4},hZ={key:5},fZ=Li({name:"ScalarIconPlus",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",lZ,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",cZ,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",uZ,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",dZ,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",pZ,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",hZ,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),mZ={key:0},gZ={key:1},bZ={key:2},vZ={key:3},yZ={key:4},OZ={key:5},wZ=Li({name:"ScalarIconScroll",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",mZ,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",gZ,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",bZ,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",vZ,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",yZ,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",OZ,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),xZ={key:0},kZ={key:1},SZ={key:2},_Z={key:3},EZ={key:4},TZ={key:5},AZ=Li({name:"ScalarIconTag",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",xZ,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",kZ,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",SZ,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",_Z,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",EZ,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",TZ,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),CZ={key:0},PZ={key:1},$Z={key:2},MZ={key:3},DZ={key:4},RZ={key:5},NZ=Li({name:"ScalarIconTerminalWindow",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",CZ,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",PZ,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",$Z,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",MZ,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",DZ,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",RZ,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),IZ={key:0},LZ={key:1},jZ={key:2},BZ={key:3},UZ={key:4},FZ={key:5},QZ=Li({name:"ScalarIconTextAlignLeft",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",IZ,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",LZ,t[1]||(t[1]=[zl("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",jZ,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",BZ,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",UZ,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",FZ,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),zZ={key:0},qZ={key:1},HZ={key:2},VZ={key:3},ZZ={key:4},WZ={key:5},XZ=Li({name:"ScalarIconTrash",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",zZ,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",qZ,t[1]||(t[1]=[zl("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",HZ,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",VZ,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",ZZ,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",WZ,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),GZ={key:0},YZ={key:1},KZ={key:2},JZ={key:3},eW={key:4},tW={key:5},rW=Li({name:"ScalarIconWarning",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",GZ,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",YZ,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",KZ,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",JZ,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",eW,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",tW,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),nW={key:0},aW={key:1},oW={key:2},iW={key:3},sW={key:4},lW={key:5},cW=Li({name:"ScalarIconWebhooksLogo",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",nW,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",aW,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",oW,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",iW,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",sW,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",lW,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}}),uW={key:0},dW={key:1},pW={key:2},hW={key:3},fW={key:4},mW={key:5},gW=Li({name:"ScalarIconX",props:{label:{},weight:{}},setup(e){const t=e,{bind:r,weight:n}=zq(t);return(e,t)=>(Dl(),Ll("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Ao(r)),[fs(e.$slots,"default"),"bold"===Ao(n)?(Dl(),Ll("g",uW,t[0]||(t[0]=[zl("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)]))):"duotone"===Ao(n)?(Dl(),Ll("g",dW,t[1]||(t[1]=[zl("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),zl("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)]))):"fill"===Ao(n)?(Dl(),Ll("g",pW,t[2]||(t[2]=[zl("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)]))):"light"===Ao(n)?(Dl(),Ll("g",hW,t[3]||(t[3]=[zl("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)]))):"regular"===Ao(n)?(Dl(),Ll("g",fW,t[4]||(t[4]=[zl("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)]))):"thin"===Ao(n)?(Dl(),Ll("g",mW,t[5]||(t[5]=[zl("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)]))):Xl("",!0)],16))}});var bW=Object.defineProperty,vW=(e,t,r)=>(((e,t,r)=>{t in e?bW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px;transform:translateZ(0)}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let yW=0;const OW=new class{constructor(){vW(this,"subscribers"),vW(this,"toasts"),vW(this,"subscribe",(e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}))),vW(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))})),vW(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]})),vW(this,"create",(e=>{var t;const{message:r,...n}=e,a="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:yW++,o=this.toasts.find((e=>e.id===a)),i=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map((t=>t.id===a?(this.publish({...t,...e,id:a,title:r}),{...t,...e,id:a,dismissible:i,title:r}):t)):this.addToast({title:r,...n,dismissible:i,id:a}),a})),vW(this,"dismiss",(e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e))),vW(this,"message",((e,t)=>this.create({...t,message:e,type:"default"}))),vW(this,"error",((e,t)=>this.create({...t,type:"error",message:e}))),vW(this,"success",((e,t)=>this.create({...t,type:"success",message:e}))),vW(this,"info",((e,t)=>this.create({...t,type:"info",message:e}))),vW(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e}))),vW(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e}))),vW(this,"promise",((e,t)=>{if(!t)return;let r;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));const n=e instanceof Promise?e:e();let a=void 0!==r;return n.then((e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){a=!1;const e="function"==typeof t.error?t.error(`HTTP error! status: ${response.status}`):t.error,n="function"==typeof t.description?t.description(`HTTP error! status: ${response.status}`):t.description;this.create({id:r,type:"error",message:e,description:n})}else if(void 0!==t.success){a=!1;const n="function"==typeof t.success?t.success(e):t.success,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"success",message:n,description:o})}})).catch((e=>{if(void 0!==t.error){a=!1;const n="function"==typeof t.error?t.error(e):t.error,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"error",message:n,description:o})}})).finally((()=>{var e;a&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)})),r})),vW(this,"custom",((e,t)=>{const r=(null==t?void 0:t.id)||yW++;return this.publish({component:e,id:r,...t}),r})),this.subscribers=[],this.toasts=[]}},wW=Object.assign(((e,t)=>{const r=(null==t?void 0:t.id)||yW++;return OW.create({message:e,id:r,type:"default",...t}),r}),{success:OW.success,info:OW.info,warning:OW.warning,error:OW.error,custom:OW.custom,message:OW.message,promise:OW.promise,dismiss:OW.dismiss,loading:OW.loading}),xW=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},kW={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"},SW=[zl("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),zl("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)],_W=xW({},[["render",function(e,t){return Dl(),Ll("svg",kW,SW)}]]),EW=["aria-live","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],TW=["aria-label","data-disabled"],AW={key:0,"data-icon":""},CW={"data-content":""},PW=Li({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},duration:{},descriptionClass:{},style:{},cancelButtonStyle:{},actionButtonStyle:{},unstyled:{type:Boolean},loadingIcon:{},class:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},emits:["update:heights","removeToast"],setup(e,{emit:t}){const r=t,n=e,a=So(!1),o=So(!1),i=So(!1),s=So(!1),l=So(0),c=So(0),u=So(null),d=So(null),p=gc((()=>0===n.index)),h=gc((()=>n.index+1<=n.visibleToasts)),f=gc((()=>n.toast.type)),m=gc((()=>!1!==n.toast.dismissible)),g=gc((()=>{var e,t,r,a,o,i,s;return n.cn(null==(e=n.classes)?void 0:e.toast,null==(r=null==(t=n.toast)?void 0:t.classes)?void 0:r.toast,null==(a=n.classes)?void 0:a.default,null==(o=n.classes)?void 0:o[n.toast.type||"default"],null==(s=null==(i=n.toast)?void 0:i.classes)?void 0:s[n.toast.type||"default"])})),b=n.toast.style||{},v=gc((()=>n.heights.findIndex((e=>e.toastId===n.toast.id))||0)),y=gc((()=>n.toast.closeButton??n.closeButton)),O=gc((()=>n.toast.duration||n.duration||4e3)),w=So(0),x=So(0),k=So(O.value),S=So(0),_=So(null),E=gc((()=>n.position.split("-"))),T=gc((()=>E.value[0])),A=gc((()=>E.value[1])),C="string"!=typeof n.toast.title,P="string"!=typeof n.toast.description,$=gc((()=>n.heights.reduce(((e,t,r)=>r>=v.value?e:e+t.height),0))),M=(()=>{const e=So(!1);return pl((()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}})(),D=gc((()=>n.toast.invert||n.invert)),R=gc((()=>"loading"===f.value));Yi((()=>{if(!a.value)return;const e=d.value,t=null==e?void 0:e.style.height;e.style.height="auto";const o=e.getBoundingClientRect().height;let i;e.style.height=t,c.value=o,i=n.heights.find((e=>e.toastId===n.toast.id))?n.heights.map((e=>e.toastId===n.toast.id?{...e,height:o}:e)):[{toastId:n.toast.id,height:o,position:n.toast.position},...n.heights],r("update:heights",i)}));const N=()=>{o.value=!0,l.value=x.value;const e=n.heights.filter((e=>e.toastId!==n.toast.id));r("update:heights",e),setTimeout((()=>{r("removeToast",n.toast)}),200)},I=()=>{var e,t;R.value||!m.value||(N(),null==(t=(e=n.toast).onDismiss)||t.call(e,n.toast))},L=e=>{R.value||!m.value||(u.value=new Date,l.value=x.value,e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(i.value=!0,_.value={x:e.clientX,y:e.clientY}))},j=e=>{var t,r,a,o;if(s.value)return;_.value=null;const c=Number((null==(t=d.value)?void 0:t.style.getPropertyValue("--swipe-amount").replace("px",""))||0),p=(new Date).getTime()-u.value.getTime(),h=Math.abs(c)/p;if(Math.abs(c)>=20||h>.11)return l.value=x.value,null==(a=(r=n.toast).onDismiss)||a.call(r,n.toast),N(),void(s.value=!0);null==(o=d.value)||o.style.setProperty("--swipe-amount","0px"),i.value=!1},B=e=>{var t;if(!_.value)return;const r=e.clientY-_.value.y,n=e.clientX-_.value.x,a=("top"===E.value[0]?Math.min:Math.max)(0,r),o="touch"===e.pointerType?10:2;Math.abs(a)>o?null==(t=d.value)||t.style.setProperty("--swipe-amount",`${r}px`):Math.abs(n)>o&&(_.value=null)};return pl((()=>{x.value=14*v.value+$.value})),pl((e=>{if(n.toast.promise&&"loading"===f.value||n.toast.duration===1/0||"loading"===n.toast.type)return;let t;n.expanded||n.interacting||n.pauseWhenPageIsHidden&&M?(()=>{if(S.value<w.value){const e=(new Date).getTime()-w.value;k.value=k.value-e}S.value=(new Date).getTime()})():(w.value=(new Date).getTime(),t=setTimeout((()=>{var e,t;null==(t=(e=n.toast).onAutoClose)||t.call(e,n.toast),N()}),k.value)),e((()=>{clearTimeout(t)}))})),pl((()=>{n.toast.delete&&N()})),Yi((()=>{if(d.value){const e=d.value.getBoundingClientRect().height;c.value=e;const t=[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights];r("update:heights",t)}a.value=!0})),ts((()=>{if(d.value){const e=n.heights.filter((e=>e.toastId!==n.toast.id));r("update:heights",e)}})),(e,t)=>{var r,n,u,v,O,w,k,S,_,E,$,M;return Dl(),Ll("li",{"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0",ref_key:"toastRef",ref:d,"data-sonner-toast":"",class:zn(g.value),"data-styled":!(e.toast.component||null!=(r=e.toast)&&r.unstyled||e.unstyled),"data-mounted":a.value,"data-promise":!!e.toast.promise,"data-removed":o.value,"data-visible":h.value,"data-y-position":T.value,"data-x-position":A.value,"data-index":e.index,"data-front":p.value,"data-swiping":i.value,"data-dismissible":m.value,"data-type":f.value,"data-invert":D.value,"data-swipe-out":s.value,"data-expanded":!!(e.expanded||e.expandByDefault&&a.value),style:jn({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${o.value?l.value:x.value}px`,"--initial-height":e.expandByDefault?"auto":`${c.value}px`,...e.style,...Ao(b)}),onPointerdown:L,onPointerup:j,onPointermove:B},[y.value&&!e.toast.component?(Dl(),Ll("button",{key:0,"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":R.value,"data-close-button":"",class:zn(e.cn(null==(n=e.classes)?void 0:n.closeButton,null==(v=null==(u=e.toast)?void 0:u.classes)?void 0:v.closeButton)),onClick:I},[ql(_W)],10,TW)):Xl("",!0),e.toast.component?(Dl(),jl(cs(e.toast.component),Jl({key:1},e.toast.componentProps,{onCloseToast:N}),null,16)):(Dl(),Ll(Tl,{key:2},["default"!==f.value||e.toast.icon||e.toast.promise?(Dl(),Ll("div",AW,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?Xl("",!0):fs(e.$slots,"loading-icon",{key:0}),e.toast.icon?(Dl(),jl(cs(e.toast.icon),{key:1})):(Dl(),Ll(Tl,{key:2},["success"===f.value?fs(e.$slots,"success-icon",{key:0}):"error"===f.value?fs(e.$slots,"error-icon",{key:1}):"warning"===f.value?fs(e.$slots,"warning-icon",{key:2}):"info"===f.value?fs(e.$slots,"info-icon",{key:3}):Xl("",!0)],64))])):Xl("",!0),zl("div",CW,[zl("div",{"data-title":"",class:zn(e.cn(null==(O=e.classes)?void 0:O.title,null==(w=e.toast.classes)?void 0:w.title))},[C?(Dl(),jl(cs(e.toast.title),qn(Jl({key:0},e.toast.componentProps)),null,16)):(Dl(),Ll(Tl,{key:1},[Zl(Gn(e.toast.title),1)],64))],2),e.toast.description?(Dl(),Ll("div",{key:0,"data-description":"",class:zn(e.cn(e.descriptionClass,e.toast.descriptionClass,null==(k=e.classes)?void 0:k.description,null==(S=e.toast.classes)?void 0:S.description))},[P?(Dl(),jl(cs(e.toast.description),qn(Jl({key:0},e.toast.componentProps)),null,16)):(Dl(),Ll(Tl,{key:1},[Zl(Gn(e.toast.description),1)],64))],2)):Xl("",!0)]),e.toast.cancel?(Dl(),Ll("button",{key:1,class:zn(e.cn(null==(_=e.classes)?void 0:_.cancelButton,null==(E=e.toast.classes)?void 0:E.cancelButton)),"data-button":"","data-cancel":"",onClick:t[0]||(t[0]=()=>{var t;N(),null!=(t=e.toast.cancel)&&t.onClick&&e.toast.cancel.onClick()})},Gn(e.toast.cancel.label),3)):Xl("",!0),e.toast.action?(Dl(),Ll("button",{key:2,class:zn(e.cn(null==($=e.classes)?void 0:$.actionButton,null==(M=e.toast.classes)?void 0:M.actionButton)),"data-button":"",onClick:t[1]||(t[1]=t=>{var r;null==(r=e.toast.action)||r.onClick(t),!t.defaultPrevented&&N()})},Gn(e.toast.action.label),3)):Xl("",!0)],64))],46,EW)}}}),$W=["data-visible"],MW={class:"sonner-spinner"},DW=Li({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(e,r)=>(Dl(),Ll("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[zl("div",MW,[(Dl(!0),Ll(Tl,null,ps(Ao(t),(e=>(Dl(),Ll("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,$W))}}),RW={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},NW=[zl("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)],IW=xW({},[["render",function(e,t){return Dl(),Ll("svg",RW,NW)}]]),LW={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},jW=[zl("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)],BW=xW({},[["render",function(e,t){return Dl(),Ll("svg",LW,jW)}]]),UW={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},FW=[zl("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)],QW=xW({},[["render",function(e,t){return Dl(),Ll("svg",UW,FW)}]]),zW={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},qW=[zl("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)],HW=xW({},[["render",function(e,t){return Dl(),Ll("svg",zW,qW)}]]),VW=["aria-label"],ZW=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],WW="32px",XW=typeof window<"u"&&typeof document<"u",GW=Li({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{default:4e3},gap:{default:14},visibleToasts:{default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:WW},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{}},setup(e){function t(...e){return e.filter(Boolean).join(" ")}function r(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}const n=e,a=ws(),o=So([]),i=gc((()=>{const e=o.value.filter((e=>e.position)).map((e=>e.position));return e.length>0?Array.from(new Set([n.position].concat(e))):[n.position]})),s=So([]),l=So(!1),c=So(!1),u=So("system"!==n.theme?n.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=gc((()=>n.cn||t)),p=So(null),h=So(null),f=So(!1),m=n.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function g(e){o.value=o.value.filter((({id:t})=>t!==e.id))}const b=e=>{var t,r;f.value&&(null==(r=null==(t=e.currentTarget)?void 0:t.contains)||!r.call(t,e.relatedTarget))&&(f.value=!1,h.value&&(h.value.focus({preventScroll:!0}),h.value=null))},v=e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||f.value||(f.value=!0,h.value=e.relatedTarget)},y=e=>{e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(c.value=!1)};return pl((e=>{const t=OW.subscribe((e=>{e.dismiss?o.value=o.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):Ko((()=>{const t=o.value.findIndex((t=>t.id===e.id));-1!==t?o.value.splice(t,1,e):o.value=[e,...o.value]}))}));e((()=>{t()}))})),hl((()=>n.theme),(e=>{"system"===e?("system"===e&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?u.value="dark":u.value="light"),!(typeof window>"u")&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{u.value=e?"dark":"light"}))):u.value=e})),hl((()=>p.value),(()=>{if(p.value)return()=>{h.value&&(h.value.focus({preventScroll:!0}),h.value=null,f.value=!1)}})),pl((()=>{o.value.length<=1&&(l.value=!1)})),pl((e=>{function t(e){const t=n.hotkey.every((t=>e[t]||e.code===t)),r=Array.isArray(p.value)?p.value[0]:p.value;t&&(l.value=!0,null==r||r.focus());const a=document.activeElement===p.value||(null==r?void 0:r.contains(document.activeElement));"Escape"===e.code&&a&&(l.value=!1)}XW&&(document.addEventListener("keydown",t),e((()=>{document.removeEventListener("keydown",t)})))})),(e,t)=>(Dl(),Ll("section",{"aria-label":`${e.containerAriaLabel} ${Ao(m)}`,tabIndex:-1},[(Dl(!0),Ll(Tl,null,ps(i.value,((n,i)=>{var u;return Dl(),Ll("ol",Jl({key:n,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"",class:e.class,dir:"auto"===e.dir?r():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":n.split("-")[0],"data-x-position":n.split("-")[1],style:{"--front-toast-height":`${null==(u=s.value[0])?void 0:u.height}px`,"--offset":"number"==typeof e.offset?`${e.offset}px`:e.offset||WW,"--width":"356px","--gap":"14px",...e.style,...Ao(a).style},onBlur:b,onFocus:v,onMouseenter:t[1]||(t[1]=e=>l.value=!0),onMousemove:t[2]||(t[2]=e=>l.value=!0),onMouseleave:t[3]||(t[3]=()=>{c.value||(l.value=!1)}),onPointerdown:y,onPointerup:t[4]||(t[4]=e=>c.value=!1)},e.$attrs),[(Dl(!0),Ll(Tl,null,ps(o.value.filter((t=>!t.position&&0===i||t.position===e.position)),((r,n)=>{var a,i,u,p,h,f,m,b,v;return Dl(),jl(PW,{key:r.id,index:n,toast:r,duration:(null==(a=e.toastOptions)?void 0:a.duration)??e.duration,class:zn(null==(i=e.toastOptions)?void 0:i.class),descriptionClass:null==(u=e.toastOptions)?void 0:u.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:(null==(p=e.toastOptions)?void 0:p.closeButton)??e.closeButton,interacting:c.value,position:e.position,style:jn(null==(h=e.toastOptions)?void 0:h.style),unstyled:null==(f=e.toastOptions)?void 0:f.unstyled,classes:null==(m=e.toastOptions)?void 0:m.classes,cancelButtonStyle:null==(b=e.toastOptions)?void 0:b.cancelButtonStyle,actionButtonStyle:null==(v=e.toastOptions)?void 0:v.actionButtonStyle,toasts:o.value,expandByDefault:e.expand,gap:e.gap,expanded:l.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:d.value,heights:s.value,"onUpdate:heights":t[0]||(t[0]=e=>s.value=e),onRemoveToast:g},{"loading-icon":ci((()=>[fs(e.$slots,"loading-icon",{},(()=>[ql(DW,{visible:"loading"===r.type},null,8,["visible"])]))])),"success-icon":ci((()=>[fs(e.$slots,"success-icon",{},(()=>[ql(IW)]))])),"error-icon":ci((()=>[fs(e.$slots,"error-icon",{},(()=>[ql(HW)]))])),"warning-icon":ci((()=>[fs(e.$slots,"warning-icon",{},(()=>[ql(QW)]))])),"info-icon":ci((()=>[fs(e.$slots,"info-icon",{},(()=>[ql(BW)]))])),_:2},1032,["index","toast","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn","heights"])})),128))],16,ZW)})),128))],8,VW))}}),YW={toast:()=>null};function KW(e){YW.toast=e}function JW(){return{initializeToasts:KW,toast:(e,t="info",r={timeout:3e3})=>{YW.toast(e,t,r)}}}const eX=Li({__name:"ScalarToasts",setup(e){const t=So(!1);Yi((()=>t.value=!0));const r={success:wW.success,error:wW.error,warn:wW.warning,info:wW},{initializeToasts:n}=JW();return n(((e,t="info",n={})=>{(r[t]||r.info)(e,{duration:n.timeout||3e3,description:n.description})})),(e,r)=>t.value?(Dl(),jl(Ao(GW),{key:0,class:"scalar-toaster"})):Xl("",!0)}});function tX(e={}){const{notify:t=e=>r(e,"info")}=e,{toast:r}=JW();return{copyToClipboard:async function(e){try{await navigator.clipboard.writeText(e),t("Copied to the clipboard")}catch(e){const r=e;console.error(r.message),t("Failed to copy to clipboard")}}}}!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".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))}")),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();const rX={key:0,role:"alert",class:"sr-only"},nX=Li({__name:"ScalarCodeBlockCopy",props:{content:{},controls:{},class:{}},setup(e){const{copyToClipboard:t}=tX(),r=So(!1),n=async()=>{if(r.value)return;const n="string"==typeof e.content?e.content:JSON.stringify(e.content,null,2);await t(n),r.value=!0,setTimeout((()=>{r.value=!1}),1200)},a=lq({base:"absolute top-0 right-0 h-8 w-8 p-0 flex items-center justify-center brightness-lifted bg-inherit rounded focus-visible:opacity-100 -outline-offset-1",variants:{showCopied:{true:"text-c-1",false:"text-c-3 hover:text-c-1"}}});return(t,o)=>(Dl(),Ll("div",{class:zn(Ao(cq)("scalar-code-copy opacity-0 group-hover/code-block:opacity-100 sticky flex inset-0 justify-end items-start bg-inherit",e.class))},[ql(Ao(Oq),{class:zn(Ao(cq)(Ao(a)({showCopied:r.value}))),type:"button",variant:"ghost","aria-controls":t.controls,"aria-label":"Copy",onClick:n},{default:ci((()=>[ql(Ao(jH),{class:zn(["copy-icon size-4",{copied:r.value}])},null,8,["class"]),ql(Ao($H),{class:zn(["check-icon size-4",{visible:r.value}])},null,8,["class"])])),_:1},8,["class","aria-controls"]),r.value?(Dl(),Ll("div",rX," Copied ")):Xl("",!0)],2))}}),aX=gq(nX,[["__scopeId","data-v-0295860a"]]),oX={class:"scalar-code-block group/code-block custom-scroll min-h-12 focus-visible:outline",tabindex:"0"},iX=["id","innerHTML"],sX=Li({__name:"ScalarCodeBlock",props:{content:{},lang:{default:"plaintext"},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:Boolean,default:!0}},setup(e){const t=e,r=ji(),n=gc((()=>function(e,t){const r=("string"==typeof t?.maskCredentials?[t.maskCredentials]:t?.maskCredentials??[]).filter((e=>!(e.length<3))),n=`language-${KD[t.lang]??t.lang}`;var a;const o=lM().use(Nq,{fragment:!0}).use((a=e,()=>e=>{pw(e,"element",(e=>{"code"===e.tagName&&e.children.push({type:"text",value:a})}))})).use(eR,{languages:t.languages}).use(t?.lineNumbers?Bq:()=>{}).use(sT).processSync(`<pre><code class="${n}"></code></pre>`).toString();return r.length?r.reduce(((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`)),o):o}(aB(t.content),{lang:t.lang.trim(),languages:CD,lineNumbers:t.lineNumbers,maskCredentials:t.hideCredentials}).slice(5,-6))),a=gc((()=>null!==t.content&&"null"!==t.content&&"404 Not Found"!==t.content));return(e,o)=>(Dl(),Ll("div",oX,[e.copy&&a.value?(Dl(),jl(Ao(aX),{key:0,content:Ao(aB)(t.content),controls:Ao(r)},null,8,["content","controls"])):Xl("",!0),zl("pre",{id:Ao(r),class:"scalar-codeblock-pre",innerHTML:n.value},null,8,iX)]))}}),lX=Li({inheritAttrs:!1,__name:"ScalarColorModeToggleIcon",props:{is:{default:"button"},mode:{default:"light"}},setup(e){const{cx:t}=uq(),r=gc((()=>"dark"===e.mode?"Set light mode":"Set dark mode"));return(e,n)=>(Dl(),jl(cs(e.is),Jl({"aria-label":r.value,class:`toggle-icon-${e.mode}`,type:"button"===e.is?"button":void 0},Ao(t)("size-3 flex items-center justify-center text-c-1")),{default:ci((()=>n[0]||(n[0]=[zl("span",{class:"toggle-icon-sun-ray"},null,-1),zl("span",{class:"toggle-icon-sun-ray"},null,-1),zl("span",{class:"toggle-icon-sun-ray"},null,-1),zl("span",{class:"toggle-icon-sun-ray"},null,-1),zl("span",{class:"toggle-icon-ellipse"},[zl("span",{class:"toggle-icon-moon-mask"})],-1)]))),_:1,__:[0]},16,["aria-label","class","type"]))}}),cX=gq(lX,[["__scopeId","data-v-60be8692"]]),uX=["aria-pressed"],dX=Li({inheritAttrs:!1,__name:"ScalarColorModeToggleButton",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){const{cx:t}=uq(),r=bl(e,"modelValue");return(e,n)=>(Dl(),Ll("button",Jl({"aria-pressed":r.value,type:"button"},Ao(t)("group/toggle flex h-6 w-[38px] brightness-lifted -mx-px items-center py-1.5 -my-1.5 relative outline-none"),{onClick:n[0]||(n[0]=e=>r.value=!r.value)}),[n[1]||(n[1]=zl("div",{class:"h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1"},null,-1)),zl("div",{class:zn(["size-[23px] left-border absolute border rounded-full flex items-center justify-center bg-b-1 group-focus-visible/toggle:outline -outline-offset-1 transition-transform duration-300 ease-in-out",{"translate-x-[14px]":r.value}])},[ql(cX,{is:"div",mode:r.value?"dark":"light"},null,8,["mode"])],2)],16,uX))}}),pX=Li({__name:"ScalarColorModeToggle",props:{variant:{default:"switch"}},setup(e){const{isDarkMode:t,toggleColorMode:r,darkLightMode:n}=LB(),a=gc((()=>t.value?"Set light mode":"Set dark mode"));return(e,o)=>"switch"===e.variant?(Dl(),jl(dX,{key:0,modelValue:Ao(t),"onUpdate:modelValue":o[0]||(o[0]=e=>ko(t)?t.value=e:null),"aria-label":a.value},null,8,["modelValue","aria-label"])):(Dl(),jl(cX,{key:1,"aria-label":a.value,mode:Ao(n),onClick:Ao(r)},null,8,["aria-label","mode","onClick"]))}}),hX=["aria-selected"],fX=Li({__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){const t=lq({base:["group/item","flex min-w-0 items-center gap-1.5 rounded 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(e,r)=>(Dl(),Ll("li",{"aria-selected":e.selected,class:zn(Ao(cq)(Ao(t)({active:e.active,selected:e.selected}))),role:"option",tabindex:"-1"},[fs(e.$slots,"default",{active:e.active,selected:e.selected})],10,hX))}}),mX=["id","aria-labelledby","role"],gX=["id"],bX=Li({__name:"ScalarComboboxOptionGroup",props:{id:{default:()=>ji()},hidden:{type:Boolean,default:!1}},setup:e=>(e,t)=>(Dl(),Ll("div",{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:"contents",role:e.hidden?void 0:"group"},[e.hidden?Xl("",!0):(Dl(),Ll("div",{key:0,id:`${e.id}-label`,class:"min-w-0 truncate px-2.5 py-1.5 text-c-2"},[fs(e.$slots,"label")],8,gX)),fs(e.$slots,"default")],8,mX))});function vX(e){return!!e[0]&&function(e){return void 0!==e?.options}(e[0])}const yX=Li({__name:"ScalarListboxCheckbox",props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup:e=>(e,t)=>(Dl(),Ll("div",{class:zn(["flex size-4 items-center justify-center p-0.75",[e.selected?"bg-c-accent text-b-1":"text-transparent shadow-border",e.multiselect?"rounded":"rounded-full"]])},[e.selected?(Dl(),jl(Ao($H),{key:0,class:"size-3",weight:"bold"})):Xl("",!0)],2))}),OX={class:"relative flex"},wX=["aria-activedescendant","placeholder"],xX=["aria-multiselectable"],kX={class:"inline-block min-w-0 flex-1 truncate text-c-1"},SX=Li({inheritAttrs:!1,__name:"ScalarComboboxOptions",props:Ss({options:{},placeholder:{},multiselect:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:Ss(["add"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=bl(e,"modelValue"),a=t,o=Os(),i=`scalar-combobox-items-${ji()}`,s={id:`${ji()}-add`,label:"Add a new option"};function l(e){return`${i}-${e.id}`}const c=gc((()=>vX(r.options)?r.options.flatMap((e=>e.options)):r.options)),u=gc((()=>vX(r.options)?r.options:[{label:"",options:r.options}])),d=So(""),p=So(n.value?.[0]??c.value[0]);Yi((async()=>{d.value="",p.value=n.value?.[0]??c.value[0],n.value[0]&&setTimeout((()=>{const e=n.value[0];e&&document?.getElementById(l(e))?.scrollIntoView({block:"nearest"})}),10)})),hl((()=>d.value),(()=>p.value=f.value[0]));const h=gc((()=>""===d.value?c.value:c.value.filter((e=>e.label.toLowerCase().includes(d.value.toLowerCase()))))),f=gc((()=>o.add?[...h.value,s]:h.value));function m(e){if(e){if(e.id===s.id)return void b();r.multiselect?n.value.some((t=>t.id===e.id))?n.value=n.value.filter((t=>t.id!==e.id)):n.value=[...n.value,c.value.find((t=>t.id===e.id))]:n.value=[c.value.find((t=>t.id===e.id))]}}function g(e){const t=f.value,r=t.findIndex((e=>e.id===p.value?.id))+e;r<0||r>t.length-1||(p.value=t[r],p.value&&document?.getElementById(l(p.value))?.scrollIntoView({behavior:"smooth",block:"nearest"}))}function b(){a("add"),d.value=""}const v=So(null);return Yi((()=>setTimeout((()=>v.value?.focus()),0))),(e,t)=>(Dl(),Ll(Tl,null,[zl("div",OX,[ql(Ao(eZ),{class:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4"}),ui(zl("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>d.value=e),ref_key:"input",ref:v,"aria-activedescendant":p.value?l(p.value):void 0,"aria-autocomplete":"list","aria-controls":i,class:"min-w-0 flex-1 rounded border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 -outline-offset-1","data-1p-ignore":"",placeholder:e.placeholder,role:"combobox",tabindex:"0",type:"text",onKeydown:[t[1]||(t[1]=Cu(Tu((e=>g(1)),["prevent"]),["down"])),t[2]||(t[2]=Cu(Tu((e=>p.value&&m(p.value)),["prevent"]),["enter"])),t[3]||(t[3]=Cu(Tu((e=>g(-1)),["prevent"]),["up"]))]},null,40,wX),[[mu,d.value]])]),ui(zl("ul",{id:i,"aria-multiselectable":e.multiselect,class:"border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0",role:"listbox",tabindex:"-1"},[(Dl(!0),Ll(Tl,null,ps(u.value,((r,a)=>(Dl(),jl(bX,{id:`${i}-group-${a}`,key:a,hidden:!r.options.some((e=>h.value.some((t=>t.id===e.id))))||!r.label},{label:ci((()=>[e.$slots.group?fs(e.$slots,"group",{key:0,group:r}):(Dl(),Ll(Tl,{key:1},[Zl(Gn(r.label),1)],64))])),default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(h.value,(a=>(Dl(),Ll(Tl,{key:a.id},[r.options.some((e=>e.id===a.id))?(Dl(),jl(fX,{key:0,id:l(a),active:p.value?.id===a.id,selected:n.value.some((e=>e.id===a.id)),onClick:e=>m(a),onMousedown:t[4]||(t[4]=Tu((()=>{}),["prevent"])),onMouseenter:e=>p.value=a},{default:ci((({active:t,selected:r})=>[e.$slots.option?fs(e.$slots,"option",{key:0,option:a,active:t,selected:r}):(Dl(),Ll(Tl,{key:1},[ql(Ao(yX),{selected:n.value.some((e=>e.id===a.id)),multiselect:e.multiselect},null,8,["selected","multiselect"]),zl("span",kX,Gn(a.label),1)],64))])),_:2},1032,["id","active","selected","onClick","onMouseenter"])):Xl("",!0)],64)))),128))])),_:2},1032,["id","hidden"])))),128)),o.add?(Dl(),jl(fX,{key:0,id:l(s),active:p.value?.id===s.id,onClick:b,onMousedown:t[5]||(t[5]=Tu((()=>{}),["prevent"])),onMouseenter:t[6]||(t[6]=e=>p.value=s)},{default:ci((({active:t})=>[ql(Ao(fZ),{class:"size-4 p-px"}),fs(e.$slots,"add",{active:t})])),_:3},8,["id","active"])):Xl("",!0)],8,xX),[[qc,h.value.length||o.add]])],64))}}),_X=Math.min,EX=Math.max,TX=Math.round,AX=Math.floor,CX=e=>({x:e,y:e}),PX={left:"right",right:"left",bottom:"top",top:"bottom"},$X={start:"end",end:"start"};function MX(e,t,r){return EX(e,_X(t,r))}function DX(e,t){return"function"==typeof e?e(t):e}function RX(e){return e.split("-")[0]}function NX(e){return e.split("-")[1]}function IX(e){return"x"===e?"y":"x"}function LX(e){return"y"===e?"height":"width"}const jX=new Set(["top","bottom"]);function BX(e){return jX.has(RX(e))?"y":"x"}function UX(e){return IX(BX(e))}function FX(e){return e.replace(/start|end/g,(e=>$X[e]))}const QX=["left","right"],zX=["right","left"],qX=["top","bottom"],HX=["bottom","top"];function VX(e){return e.replace(/left|right|bottom|top/g,(e=>PX[e]))}function ZX(e){const{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function WX(e,t,r){let{reference:n,floating:a}=e;const o=BX(t),i=UX(t),s=LX(i),l=RX(t),c="y"===o,u=n.x+n.width/2-a.width/2,d=n.y+n.height/2-a.height/2,p=n[s]/2-a[s]/2;let h;switch(l){case"top":h={x:u,y:n.y-a.height};break;case"bottom":h={x:u,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:d};break;case"left":h={x:n.x-a.width,y:d};break;default:h={x:n.x,y:n.y}}switch(NX(t)){case"start":h[i]-=p*(r&&c?-1:1);break;case"end":h[i]+=p*(r&&c?-1:1)}return h}async function XX(e,t){var r;void 0===t&&(t={});const{x:n,y:a,platform:o,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=DX(t,e),f=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(h),m=s[p?"floating"===d?"reference":"floating":d],g=ZX(await o.getClippingRect({element:null==(r=await(null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),b="floating"===d?{x:n,y:a,width:i.floating.width,height:i.floating.height}:i.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},O=ZX(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:v,strategy:l}):b);return{top:(g.top-O.top+f.top)/y.y,bottom:(O.bottom-g.bottom+f.bottom)/y.y,left:(g.left-O.left+f.left)/y.x,right:(O.right-g.right+f.right)/y.x}}const GX=new Set(["left","top"]);function YX(){return"undefined"!=typeof window}function KX(e){return tG(e)?(e.nodeName||"").toLowerCase():"#document"}function JX(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eG(e){var t;return null==(t=(tG(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function tG(e){return!!YX()&&(e instanceof Node||e instanceof JX(e).Node)}function rG(e){return!!YX()&&(e instanceof Element||e instanceof JX(e).Element)}function nG(e){return!!YX()&&(e instanceof HTMLElement||e instanceof JX(e).HTMLElement)}function aG(e){return!(!YX()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof JX(e).ShadowRoot)}const oG=new Set(["inline","contents"]);function iG(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=vG(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!oG.has(a)}const sG=new Set(["table","td","th"]);function lG(e){return sG.has(KX(e))}const cG=[":popover-open",":modal"];function uG(e){return cG.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const dG=["transform","translate","scale","rotate","perspective"],pG=["transform","translate","scale","rotate","perspective","filter"],hG=["paint","layout","strict","content"];function fG(e){const t=mG(),r=rG(e)?vG(e):e;return dG.some((e=>!!r[e]&&"none"!==r[e]))||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||pG.some((e=>(r.willChange||"").includes(e)))||hG.some((e=>(r.contain||"").includes(e)))}function mG(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const gG=new Set(["html","body","#document"]);function bG(e){return gG.has(KX(e))}function vG(e){return JX(e).getComputedStyle(e)}function yG(e){return rG(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function OG(e){if("html"===KX(e))return e;const t=e.assignedSlot||e.parentNode||aG(e)&&e.host||eG(e);return aG(t)?t.host:t}function wG(e){const t=OG(e);return bG(t)?e.ownerDocument?e.ownerDocument.body:e.body:nG(t)&&iG(t)?t:wG(t)}function xG(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const a=wG(e),o=a===(null==(n=e.ownerDocument)?void 0:n.body),i=JX(a);if(o){const e=kG(i);return t.concat(i,i.visualViewport||[],iG(a)?a:[],e&&r?xG(e):[])}return t.concat(a,xG(a,[],r))}function kG(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function SG(e){const t=vG(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=nG(e),o=a?e.offsetWidth:r,i=a?e.offsetHeight:n,s=TX(r)!==o||TX(n)!==i;return s&&(r=o,n=i),{width:r,height:n,$:s}}function _G(e){return rG(e)?e:e.contextElement}function EG(e){const t=_G(e);if(!nG(t))return CX(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=SG(t);let i=(o?TX(r.width):r.width)/n,s=(o?TX(r.height):r.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const TG=CX(0);function AG(e){const t=JX(e);return mG()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:TG}function CG(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const a=e.getBoundingClientRect(),o=_G(e);let i=CX(1);t&&(n?rG(n)&&(i=EG(n)):i=EG(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==JX(e))&&t}(o,r,n)?AG(o):CX(0);let l=(a.left+s.x)/i.x,c=(a.top+s.y)/i.y,u=a.width/i.x,d=a.height/i.y;if(o){const e=JX(o),t=n&&rG(n)?JX(n):n;let r=e,a=kG(r);for(;a&&n&&t!==r;){const e=EG(a),t=a.getBoundingClientRect(),n=vG(a),o=t.left+(a.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(a.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,r=JX(a),a=kG(r)}}return ZX({width:u,height:d,x:l,y:c})}function PG(e,t){const r=yG(e).scrollLeft;return t?t.left+r:CG(eG(e)).left+r}function $G(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-PG(e,r),y:r.top+t.scrollTop}}const MG=new Set(["absolute","fixed"]);function DG(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=JX(e),n=eG(e),a=r.visualViewport;let o=n.clientWidth,i=n.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;const e=mG();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}const c=PG(n);if(c<=0){const e=n.ownerDocument,t=e.body,r=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,i=Math.abs(n.clientWidth-t.clientWidth-a);i<=25&&(o-=i)}else c<=25&&(o+=c);return{width:o,height:i,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=eG(e),r=yG(e),n=e.ownerDocument.body,a=EX(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=EX(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+PG(e);const s=-r.scrollTop;return"rtl"===vG(n).direction&&(i+=EX(t.clientWidth,n.clientWidth)-a),{width:a,height:o,x:i,y:s}}(eG(e));else if(rG(t))n=function(e,t){const r=CG(e,!0,"fixed"===t),n=r.top+e.clientTop,a=r.left+e.clientLeft,o=nG(e)?EG(e):CX(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:a*o.x,y:n*o.y}}(t,r);else{const r=AG(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return ZX(n)}function RG(e,t){const r=OG(e);return!(r===t||!rG(r)||bG(r))&&("fixed"===vG(r).position||RG(r,t))}function NG(e,t,r){const n=nG(t),a=eG(t),o="fixed"===r,i=CG(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=CX(0);function c(){l.x=PG(a)}if(n||!n&&!o)if(("body"!==KX(t)||iG(a))&&(s=yG(t)),n){const e=CG(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&c();o&&!n&&a&&c();const u=!a||n||o?CX(0):$G(a,s);return{x:i.left+s.scrollLeft-l.x-u.x,y:i.top+s.scrollTop-l.y-u.y,width:i.width,height:i.height}}function IG(e){return"static"===vG(e).position}function LG(e,t){if(!nG(e)||"fixed"===vG(e).position)return null;if(t)return t(e);let r=e.offsetParent;return eG(e)===r&&(r=r.ownerDocument.body),r}function jG(e,t){const r=JX(e);if(uG(e))return r;if(!nG(e)){let t=OG(e);for(;t&&!bG(t);){if(rG(t)&&!IG(t))return t;t=OG(t)}return r}let n=LG(e,t);for(;n&&lG(n)&&IG(n);)n=LG(n,t);return n&&bG(n)&&IG(n)&&!fG(n)?r:n||function(e){let t=OG(e);for(;nG(t)&&!bG(t);){if(fG(t))return t;if(uG(t))return null;t=OG(t)}return null}(e)||r}const BG={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e;const o="fixed"===a,i=eG(n),s=!!t&&uG(t.floating);if(n===i||s&&o)return r;let l={scrollLeft:0,scrollTop:0},c=CX(1);const u=CX(0),d=nG(n);if((d||!d&&!o)&&(("body"!==KX(n)||iG(i))&&(l=yG(n)),nG(n))){const e=CG(n);c=EG(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}const p=!i||d||o?CX(0):$G(i,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:r.y*c.y-l.scrollTop*c.y+u.y+p.y}},getDocumentElement:eG,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const o=[..."clippingAncestors"===r?uG(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=xG(e,[],!1).filter((e=>rG(e)&&"body"!==KX(e))),a=null;const o="fixed"===vG(e).position;let i=o?OG(e):e;for(;rG(i)&&!bG(i);){const t=vG(i),r=fG(i);r||"fixed"!==t.position||(a=null),(o?!r&&!a:!r&&"static"===t.position&&a&&MG.has(a.position)||iG(i)&&!r&&RG(e,i))?n=n.filter((e=>e!==i)):a=t,i=OG(i)}return t.set(e,n),n}(t,this._c):[].concat(r),n],i=o[0],s=o.reduce(((e,r)=>{const n=DG(t,r,a);return e.top=EX(n.top,e.top),e.right=_X(n.right,e.right),e.bottom=_X(n.bottom,e.bottom),e.left=EX(n.left,e.left),e}),DG(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:jG,getElementRects:async function(e){const t=this.getOffsetParent||jG,r=this.getDimensions,n=await r(e.floating);return{reference:NG(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=SG(e);return{width:t,height:r}},getScale:EG,isElement:rG,isRTL:function(e){return"rtl"===vG(e).direction}};function UG(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FG(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=_G(e),u=a||o?[...c?xG(c):[],...xG(t)]:[];u.forEach((e=>{a&&e.addEventListener("scroll",r,{passive:!0}),o&&e.addEventListener("resize",r)}));const d=c&&s?function(e,t){let r,n=null;const a=eG(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function i(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(s||t(),!p||!h)return;const f={rootMargin:-AX(d)+"px "+-AX(a.clientWidth-(u+p))+"px "+-AX(a.clientHeight-(d+h))+"px "+-AX(u)+"px",threshold:EX(0,_X(1,l))||1};let m=!0;function g(t){const n=t[0].intersectionRatio;if(n!==l){if(!m)return i();n?i(!1,n):r=setTimeout((()=>{i(!1,1e-7)}),1e3)}1!==n||UG(c,e.getBoundingClientRect())||i(),m=!1}try{n=new IntersectionObserver(g,{...f,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(g,f)}n.observe(e)}(!0),o}(c,r):null;let p,h=-1,f=null;i&&(f=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),r()})),c&&!l&&f.observe(c),f.observe(t));let m=l?CG(e):null;return l&&function t(){const n=CG(e);m&&!UG(m,n)&&r(),m=n,p=requestAnimationFrame(t)}(),r(),()=>{var e;u.forEach((e=>{a&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)})),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}const QG=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:a,y:o,placement:i,middlewareData:s}=t,l=await async function(e,t){const{placement:r,platform:n,elements:a}=e,o=await(null==n.isRTL?void 0:n.isRTL(a.floating)),i=RX(r),s=NX(r),l="y"===BX(r),c=GX.has(i)?-1:1,u=o&&l?-1:1,d=DX(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof f&&(h="end"===s?-1*f:f),l?{x:h*u,y:p*c}:{x:p*c,y:h*u}}(t,e);return i===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:i}}}}},zG=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=DX(e,t),c={x:r,y:n},u=await XX(t,l),d=BX(RX(a)),p=IX(d);let h=c[p],f=c[d];if(o){const e="y"===p?"bottom":"right";h=MX(h+u["y"===p?"top":"left"],h,h-u[e])}if(i){const e="y"===d?"bottom":"right";f=MX(f+u["y"===d?"top":"left"],f,f-u[e])}const m=s.fn({...t,[p]:h,[d]:f});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[p]:o,[d]:i}}}}}},qG=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:a,middlewareData:o,rects:i,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=DX(e,t);if(null!=(r=o.arrow)&&r.alignmentOffset)return{};const b=RX(a),v=BX(s),y=RX(s)===s,O=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=p||(y||!m?[VX(s)]:function(e){const t=VX(e);return[FX(e),t,FX(t)]}(s)),x="none"!==f;!p&&x&&w.push(...function(e,t,r,n){const a=NX(e);let o=function(e,t,r){switch(e){case"top":case"bottom":return r?t?zX:QX:t?QX:zX;case"left":case"right":return t?qX:HX;default:return[]}}(RX(e),"start"===r,n);return a&&(o=o.map((e=>e+"-"+a)),t&&(o=o.concat(o.map(FX)))),o}(s,m,f,O));const k=[s,...w],S=await XX(t,g),_=[];let E=(null==(n=o.flip)?void 0:n.overflows)||[];if(u&&_.push(S[b]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=NX(e),a=UX(e),o=LX(a);let i="x"===a?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=VX(i)),[i,VX(i)]}(a,i,O);_.push(S[e[0]],S[e[1]])}if(E=[...E,{placement:a,overflows:_}],!_.every((e=>e<=0))){var T,A;const e=((null==(T=o.flip)?void 0:T.index)||0)+1,t=k[e];if(t&&("alignment"!==d||v===BX(t)||E.every((e=>BX(e.placement)!==v||e.overflows[0]>0))))return{data:{index:e,overflows:E},reset:{placement:t}};let r=null==(A=E.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!r)switch(h){case"bestFit":{var C;const e=null==(C=E.filter((e=>{if(x){const t=BX(e.placement);return t===v||"y"===t}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])?void 0:C[0];e&&(r=e);break}case"initialPlacement":r=s}if(a!==r)return{reset:{placement:r}}}return{}}}},HG=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:a,rects:o,platform:i,elements:s}=t,{apply:l=()=>{},...c}=DX(e,t),u=await XX(t,c),d=RX(a),p=NX(a),h="y"===BX(a),{width:f,height:m}=o.floating;let g,b;"top"===d||"bottom"===d?(g=d,b=p===(await(null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(b=d,g="end"===p?"top":"bottom");const v=m-u.top-u.bottom,y=f-u.left-u.right,O=_X(m-u[g],v),w=_X(f-u[b],y),x=!t.middlewareData.shift;let k=O,S=w;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(S=y),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(k=v),x&&!p){const e=EX(u.left,0),t=EX(u.right,0),r=EX(u.top,0),n=EX(u.bottom,0);h?S=f-2*(0!==e||0!==t?e+t:EX(u.left,u.right)):k=m-2*(0!==r||0!==n?r+n:EX(u.top,u.bottom))}await l({...t,availableWidth:S,availableHeight:k});const _=await i.getDimensions(s.floating);return f!==_.width||m!==_.height?{reset:{rects:!0}}:{}}}};function VG(e){if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el;return tG(t)&&"#comment"===KX(t)?null:t}return e}function ZG(e){return"function"==typeof e?e():Ao(e)}function WG(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function XG(e,t){const r=WG(e);return Math.round(t*r)/r}function GG(e,t,r){void 0===r&&(r={});const n=r.whileElementsMounted,a=gc((()=>{var e;return null==(e=ZG(r.open))||e})),o=gc((()=>ZG(r.middleware))),i=gc((()=>{var e;return null!=(e=ZG(r.placement))?e:"bottom"})),s=gc((()=>{var e;return null!=(e=ZG(r.strategy))?e:"absolute"})),l=gc((()=>{var e;return null==(e=ZG(r.transform))||e})),c=gc((()=>VG(e.value))),u=gc((()=>VG(t.value))),d=So(0),p=So(0),h=So(s.value),f=So(i.value),m=_o({}),g=So(!1),b=gc((()=>{const e={position:h.value,left:"0",top:"0"};if(!u.value)return e;const t=XG(u.value,d.value),r=XG(u.value,p.value);return l.value?{...e,transform:"translate("+t+"px, "+r+"px)",...WG(u.value)>=1.5&&{willChange:"transform"}}:{position:h.value,left:t+"px",top:r+"px"}}));let v;function y(){if(null==c.value||null==u.value)return;const e=a.value;((e,t,r)=>{const n=new Map,a={platform:BG,...r},o={...a.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:o=[],platform:i}=r,s=o.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=WX(c,n,l),p=n,h={},f=0;for(let r=0;r<s.length;r++){const{name:o,fn:m}=s[r],{x:g,y:b,data:v,reset:y}=await m({x:u,y:d,initialPlacement:n,placement:p,strategy:a,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=b?b:d,h={...h,[o]:{...h[o],...v}},y&&f<=50&&(f++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(c=!0===y.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):y.rects),({x:u,y:d}=WX(c,p,l))),r=-1)}return{x:u,y:d,placement:p,strategy:a,middlewareData:h}})(e,t,{...a,platform:o})})(c.value,u.value,{middleware:o.value,placement:i.value,strategy:s.value}).then((t=>{d.value=t.x,p.value=t.y,h.value=t.strategy,f.value=t.placement,m.value=t.middlewareData,g.value=!1!==e}))}function O(){"function"==typeof v&&(v(),v=void 0)}return hl([o,i,s,a],y,{flush:"sync"}),hl([c,u],(function(){O(),void 0!==n?null==c.value||null==u.value||(v=n(c.value,u.value,y)):y()}),{flush:"sync"}),hl(a,(function(){a.value||(g.value=!1)}),{flush:"sync"}),ra()&&na(O),{x:fo(d),y:fo(p),strategy:fo(h),placement:fo(f),middlewareData:fo(m),isPositioned:fo(g),floatingStyles:b,update:y}}const YG=Symbol(),KG=Li({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){const t=Fs(YG,"body");return(e,r)=>(Dl(),jl(wi,{defer:!e.immediate,disabled:e.disabled,to:e.to||Ao(t)},[zl("div",Jl({class:"scalar-app",style:{display:"contents"}},e.$attrs),[fs(e.$slots,"default")],16)],8,["defer","disabled","to"]))}}),JG=Li({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){const t=So(null),r=So(null),n=gc((()=>{if(typeof window<"u"&&r.value){if("string"==typeof e.target){const 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;return r.value.children?.[0]||r.value}})),a=function(e,t={enabled:So(!0)}){const r=So(0),n=So(0),a=So();return typeof ResizeObserver<"u"&&(a.value=new ResizeObserver((([e])=>{e&&(r.value=e.borderBoxSize[0]?.inlineSize??0,n.value=e.borderBoxSize[0]?.blockSize??0)}))),hl([()=>Co(t.enabled),()=>Co(e)],(([e,t])=>{!t||!a.value||(e?a.value.observe(t):a.value.disconnect())}),{immediate:!0}),{width:gc((()=>Co(t.enabled)?`${r.value}px`:void 0)),height:gc((()=>Co(t.enabled)?`${n.value}px`:void 0))}}(n,{enabled:gc((()=>e.resize))}),o=gc((()=>"y"===BX(e.placement??"bottom")?a.width.value:void 0)),i=gc((()=>"x"===BX(e.placement??"bottom")?a.height.value:void 0)),{floatingStyles:s,middlewareData:l}=GG(n,t,{placement:gc((()=>e.placement??"bottom")),whileElementsMounted:FG,middleware:gc((()=>[QG(e.offset),qG(),zG({padding:10}),HG({apply({availableWidth:e,availableHeight:t,elements:r}){Object.assign(r.floating.style,{maxWidth:Math.max(0,e)-20+"px",maxHeight:Math.max(0,t)-20+"px"})}}),...e.middleware]))});return(e,n)=>(Dl(),Ll(Tl,null,[zl("div",{ref_key:"wrapperRef",ref:r,class:zn({contents:!!e.$slots.default})},[fs(e.$slots,"default")],2),e.$slots.floating?(Dl(),jl(Ao(KG),{key:0,disabled:!e.teleport,to:"string"==typeof e.teleport?e.teleport:void 0},{default:ci((()=>[zl("div",{ref_key:"floatingRef",ref:t,class:"relative z-context",style:jn(Ao(s))},[fs(e.$slots,"floating",{data:Ao(l),height:i.value,width:o.value})],4)])),_:3},8,["disabled","to"])):Xl("",!0)],64))}}),eY=Li({inheritAttrs:!1,__name:"ScalarFloatingBackdrop",setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("div",qn(Hl(Ao(t)("absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"))),[fs(e.$slots,"default")],16))}}),tY=Li({inheritAttrs:!1,__name:"ScalarComboboxPopover",props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){const{cx:r}=uq(),n=So(null),a=e=>{["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))};return t({popoverButtonRef:n}),(e,t)=>(Dl(),jl(Ao(IQ),{as:"template"},{default:ci((({open:t})=>[ql(Ao(JG),qn(Hl(e.$props)),hs({default:ci((()=>[ql(Ao(LQ),{ref_key:"popoverButtonRef",ref:n,as:"template",onKeydown:a},{default:ci((()=>[fs(e.$slots,"default",{open:t})])),_:2},1536)])),_:2},[t?{name:"floating",fn:ci((({width:n})=>[ql(Ao(jQ),Jl({style:{width:n}},Ao(r)("relative flex flex-col max-h-[inherit] w-40 rounded text-sm")),{default:ci((({close:r})=>[fs(e.$slots,"popover",{close:r,open:t}),ql(Ao(eY))])),_:2},1040,["style"])])),key:"0"}:void 0]),1040)])),_:3}))}}),rY=Li({__name:"ScalarCombobox",props:Ss({options:{},placeholder:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:Ss(["add"],["update:modelValue"]),setup(e,{emit:t}){const r=bl(e,"modelValue"),n=t;return(e,t)=>(Dl(),jl(tY,{middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:ci((({open:t})=>[fs(e.$slots,"default",{open:t})])),popover:ci((({open:t,close:a})=>[ql(SX,{modelValue:r.value?[r.value]:[],open:t,options:e.options,placeholder:e.placeholder,"onUpdate:modelValue":e=>(a(),r.value=e[0]),onAdd:()=>(a(),n("add"))},hs({_:2},[e.$slots.option?{name:"option",fn:ci((t=>[fs(e.$slots,"option",qn(Hl(t)))])),key:"0"}:void 0,e.$slots.group?{name:"group",fn:ci((t=>[fs(e.$slots,"group",qn(Hl(t)))])),key:"1"}:void 0,e.$slots.add?{name:"add",fn:ci((t=>[fs(e.$slots,"add",qn(Hl(t)))])),key:"2"}:void 0]),1032,["modelValue","open","options","placeholder","onUpdate:modelValue","onAdd"])])),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),nY=Li({__name:"ScalarComboboxMultiselect",props:Ss({options:{},placeholder:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:[]},modelModifiers:{}}),emits:Ss(["add"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const n=bl(e,"modelValue"),a=r;Os();const o=So(null);return t({comboboxPopoverRef:o}),(e,t)=>(Dl(),jl(tY,{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:ci((({open:t})=>[fs(e.$slots,"default",{open:t})])),popover:ci((({open:r})=>[e.options?.length?(Dl(),jl(SX,{key:0,modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e),multiselect:"",open:r,options:e.options,placeholder:e.placeholder,onAdd:t[1]||(t[1]=e=>a("add"))},hs({_:2},[e.$slots.option?{name:"option",fn:ci((t=>[fs(e.$slots,"option",qn(Hl(t)))])),key:"0"}:void 0,e.$slots.group?{name:"group",fn:ci((t=>[fs(e.$slots,"group",qn(Hl(t)))])),key:"1"}:void 0,e.$slots.add?{name:"add",fn:ci((t=>[fs(e.$slots,"add",qn(Hl(t)))])),key:"2"}:void 0]),1032,["modelValue","open","options","placeholder"])):Xl("",!0)])),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),aY={class:"custom-scroll min-h-0 flex-1"},oY={class:"flex flex-col p-0.75"},iY=Li({inheritAttrs:!1,__name:"ScalarDropdownMenu",props:{is:{}},setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),jl(cs(e.is??"div"),Jl({role:"menu",tabindex:"0"},Ao(t)("relative flex w-56")),{default:ci((()=>[zl("div",aY,[zl("div",oY,[fs(e.$slots,"default")]),fs(e.$slots,"backdrop",{},(()=>[ql(Ao(eY))]))])])),_:3},16))}}),sY=Li({inheritAttrs:!1,__name:"ScalarDropdown",props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),jl(Ao(_Q),null,{default:ci((({open:r})=>[ql(Ao(JG),Jl(e.$props,{placement:e.placement??"bottom-start"}),{floating:ci((({width:n})=>[ql(iY,Jl({is:Ao(TQ),style:{width:n}},Ao(t)("max-h-[inherit] max-w-[inherit]")),{default:ci((()=>[fs(e.$slots,"items",{open:r})])),_:2},1040,["is","style"])])),default:ci((()=>[ql(Ao(EQ),{as:"template"},{default:ci((()=>[fs(e.$slots,"default",{open:r})])),_:2},1024)])),_:2},1040,["placement"])])),_:3}))}}),lY={key:1,class:"rounded border bg-b-2 p-3 text-sm"},cY={key:0,class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},uY=Li({__name:"ScalarErrorBoundary",setup(e){const t=So(!1),r=So();return os(((e,n,a)=>(console.error("[ERROR]",e,a),t.value=!0,r.value=e,!1))),(e,n)=>t.value?(Dl(),Ll("div",lY,[n[0]||(n[0]=zl("div",{class:"p-2"},"Oops, something went wrong here.",-1)),r.value?(Dl(),Ll("div",cY,Gn(r.value?.name)+": "+Gn(r.value?.message),1)):Xl("",!0)])):fs(e.$slots,"default",{key:0})}}),dY=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],pY=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],hY=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],fY=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],mY=(e,t,r)=>{let n=e;return"string"==typeof t||Array.isArray(t)?n=e.toLocaleString(t,r):!0!==t&&void 0===r||(n=e.toLocaleString(void 0,r)),n},gY=()=>"undefined"!=typeof navigator&&(navigator.userAgentData?.platform?navigator.userAgentData.platform.toLowerCase().includes("mac"):/Mac/.test(navigator.userAgent)),bY={"⌘":"Command","^":"Control",ctrl:"Control","⌥":"Option",alt:"Alt","⇧":"Shift","⇪":"Caps Lock","↵":"Enter","←":"Left Arrow","→":"Right Arrow","↑":"Up Arrow","↓":"Down Arrow"},vY={Meta:"⌘",Shift:"⇧",Alt:"⌥",Control:"^"},yY={Meta:"ctrl",Shift:"⇧",Alt:"alt",Control:"ctrl"};function OY(e){return e in bY?bY[e]:e}const wY={"aria-hidden":"true",class:"contents"},xY={class:"sr-only"},kY=Li({inheritAttrs:!1,__name:"ScalarHotkey",props:{hotkey:{},modifier:{default:()=>["Meta"]}},setup(e){const{cx:t}=uq(),r=gc((()=>function(e,t){return[...t.map((e=>function(e){const t=function(e){return"default"===e}(e)?"Meta":e;return gY()?vY[t]:yY[t]}(e))),e]}(e.hotkey,e.modifier)));return(e,n)=>(Dl(),Ll("div",qn(Hl(Ao(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"))),[(Dl(!0),Ll(Tl,null,ps(r.value,((e,t)=>(Dl(),Ll("div",{key:t},[zl("span",wY,Gn(e),1),zl("span",xY,Gn(Ao(OY)(e)),1)])))),128))],16))}}),SY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function _Y(e,t){return Dl(),Ll("svg",SY,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5 11.988h14M12.006 5v14"},null,-1)]))}const EY={render:_Y},TY=Object.freeze(Object.defineProperty({__proto__:null,default:EY,render:_Y},Symbol.toStringTag,{value:"Module"})),AY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CY(e,t){return Dl(),Ll("svg",AY,t[0]||(t[0]=[zl("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)]))}const PY={render:CY},$Y=Object.freeze(Object.defineProperty({__proto__:null,default:PY,render:CY},Symbol.toStringTag,{value:"Module"})),MY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function DY(e,t){return Dl(),Ll("svg",MY,t[0]||(t[0]=[zl("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)]))}const RY={render:DY},NY=Object.freeze(Object.defineProperty({__proto__:null,default:RY,render:DY},Symbol.toStringTag,{value:"Module"})),IY={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function LY(e,t){return Dl(),Ll("svg",IY,t[0]||(t[0]=[zl("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)]))}const jY={render:LY},BY=Object.freeze(Object.defineProperty({__proto__:null,default:jY,render:LY},Symbol.toStringTag,{value:"Module"})),UY={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function FY(e,t){return Dl(),Ll("svg",UY,t[0]||(t[0]=[zl("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)]))}const QY={render:FY},zY=Object.freeze(Object.defineProperty({__proto__:null,default:QY,render:FY},Symbol.toStringTag,{value:"Module"})),qY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HY(e,t){return Dl(),Ll("svg",qY,t[0]||(t[0]=[zl("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)]))}const VY={render:HY},ZY=Object.freeze(Object.defineProperty({__proto__:null,default:VY,render:HY},Symbol.toStringTag,{value:"Module"})),WY={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function XY(e,t){return Dl(),Ll("svg",WY,t[0]||(t[0]=[zl("path",{d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),zl("circle",{cx:"7.6",cy:"4.4",r:"2.4"},null,-1),zl("circle",{cx:"7.6",cy:"19.6",r:"2.4"},null,-1),zl("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)]))}const GY={render:XY},YY=Object.freeze(Object.defineProperty({__proto__:null,default:GY,render:XY},Symbol.toStringTag,{value:"Module"})),KY={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function JY(e,t){return Dl(),Ll("svg",KY,t[0]||(t[0]=[zl("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),zl("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),zl("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)]))}const eK={render:JY},tK=Object.freeze(Object.defineProperty({__proto__:null,default:eK,render:JY},Symbol.toStringTag,{value:"Module"})),rK={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function nK(e,t){return Dl(),Ll("svg",rK,t[0]||(t[0]=[zl("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)]))}const aK={render:nK},oK=Object.freeze(Object.defineProperty({__proto__:null,default:aK,render:nK},Symbol.toStringTag,{value:"Module"})),iK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sK(e,t){return Dl(),Ll("svg",iK,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"},null,-1)]))}const lK={render:sK},cK=Object.freeze(Object.defineProperty({__proto__:null,default:lK,render:sK},Symbol.toStringTag,{value:"Module"})),uK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dK(e,t){return Dl(),Ll("svg",uK,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m14 18-6-6 6-6"},null,-1)]))}const pK={render:dK},hK=Object.freeze(Object.defineProperty({__proto__:null,default:pK,render:dK},Symbol.toStringTag,{value:"Module"})),fK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function mK(e,t){return Dl(),Ll("svg",fK,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"},null,-1)]))}const gK={render:mK},bK=Object.freeze(Object.defineProperty({__proto__:null,default:gK,render:mK},Symbol.toStringTag,{value:"Module"})),vK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yK(e,t){return Dl(),Ll("svg",vK,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 15-6-6-6 6"},null,-1)]))}const OK={render:yK},wK=Object.freeze(Object.defineProperty({__proto__:null,default:OK,render:yK},Symbol.toStringTag,{value:"Module"})),xK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function kK(e,t){return Dl(),Ll("svg",xK,t[0]||(t[0]=[zl("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)]))}const SK={render:kK},_K=Object.freeze(Object.defineProperty({__proto__:null,default:SK,render:kK},Symbol.toStringTag,{value:"Module"})),EK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function TK(e,t){return Dl(),Ll("svg",EK,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 6 6 18M6 6l12 12"},null,-1)]))}const AK={render:TK},CK=Object.freeze(Object.defineProperty({__proto__:null,default:AK,render:TK},Symbol.toStringTag,{value:"Module"})),PK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $K(e,t){return Dl(),Ll("svg",PK,t[0]||(t[0]=[zl("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)]))}const MK={render:$K},DK=Object.freeze(Object.defineProperty({__proto__:null,default:MK,render:$K},Symbol.toStringTag,{value:"Module"})),RK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function NK(e,t){return Dl(),Ll("svg",RK,t[0]||(t[0]=[zl("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)]))}const IK={render:NK},LK=Object.freeze(Object.defineProperty({__proto__:null,default:IK,render:NK},Symbol.toStringTag,{value:"Module"})),jK={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function BK(e,t){return Dl(),Ll("svg",jK,t[0]||(t[0]=[zl("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)]))}const UK={render:BK},FK=Object.freeze(Object.defineProperty({__proto__:null,default:UK,render:BK},Symbol.toStringTag,{value:"Module"})),QK={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function zK(e,t){return Dl(),Ll("svg",QK,t[0]||(t[0]=[zl("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),zl("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)]))}const qK={render:zK},HK=Object.freeze(Object.defineProperty({__proto__:null,default:qK,render:zK},Symbol.toStringTag,{value:"Module"})),VK={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ZK(e,t){return Dl(),Ll("svg",VK,t[0]||(t[0]=[zl("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),zl("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)]))}const WK={render:ZK},XK=Object.freeze(Object.defineProperty({__proto__:null,default:WK,render:ZK},Symbol.toStringTag,{value:"Module"})),GK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function YK(e,t){return Dl(),Ll("svg",GK,t[0]||(t[0]=[zl("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)]))}const KK={render:YK},JK=Object.freeze(Object.defineProperty({__proto__:null,default:KK,render:YK},Symbol.toStringTag,{value:"Module"})),eJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tJ(e,t){return Dl(),Ll("svg",eJ,t[0]||(t[0]=[zl("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),zl("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)]))}const rJ={render:tJ},nJ=Object.freeze(Object.defineProperty({__proto__:null,default:rJ,render:tJ},Symbol.toStringTag,{value:"Module"})),aJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function oJ(e,t){return Dl(),Ll("svg",aJ,t[0]||(t[0]=[zl("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)]))}const iJ={render:oJ},sJ=Object.freeze(Object.defineProperty({__proto__:null,default:iJ,render:oJ},Symbol.toStringTag,{value:"Module"})),lJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cJ(e,t){return Dl(),Ll("svg",lJ,t[0]||(t[0]=[zl("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)]))}const uJ={render:cJ},dJ=Object.freeze(Object.defineProperty({__proto__:null,default:uJ,render:cJ},Symbol.toStringTag,{value:"Module"})),pJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function hJ(e,t){return Dl(),Ll("svg",pJ,t[0]||(t[0]=[zl("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),zl("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)]))}const fJ={render:hJ},mJ=Object.freeze(Object.defineProperty({__proto__:null,default:fJ,render:hJ},Symbol.toStringTag,{value:"Module"})),gJ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function bJ(e,t){return Dl(),Ll("svg",gJ,t[0]||(t[0]=[zl("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),zl("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)]))}const vJ={render:bJ},yJ=Object.freeze(Object.defineProperty({__proto__:null,default:vJ,render:bJ},Symbol.toStringTag,{value:"Module"})),OJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function wJ(e,t){return Dl(),Ll("svg",OJ,t[0]||(t[0]=[zl("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)]))}const xJ={render:wJ},kJ=Object.freeze(Object.defineProperty({__proto__:null,default:xJ,render:wJ},Symbol.toStringTag,{value:"Module"})),SJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function _J(e,t){return Dl(),Ll("svg",SJ,t[0]||(t[0]=[zl("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),zl("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)]))}const EJ={render:_J},TJ=Object.freeze(Object.defineProperty({__proto__:null,default:EJ,render:_J},Symbol.toStringTag,{value:"Module"})),AJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CJ(e,t){return Dl(),Ll("svg",AJ,t[0]||(t[0]=[zl("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)]))}const PJ={render:CJ},$J=Object.freeze(Object.defineProperty({__proto__:null,default:PJ,render:CJ},Symbol.toStringTag,{value:"Module"})),MJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function DJ(e,t){return Dl(),Ll("svg",MJ,t[0]||(t[0]=[zl("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)]))}const RJ={render:DJ},NJ=Object.freeze(Object.defineProperty({__proto__:null,default:RJ,render:DJ},Symbol.toStringTag,{value:"Module"})),IJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function LJ(e,t){return Dl(),Ll("svg",IJ,t[0]||(t[0]=[zl("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),zl("path",{d:"m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014"},null,-1)]))}const jJ={render:LJ},BJ=Object.freeze(Object.defineProperty({__proto__:null,default:jJ,render:LJ},Symbol.toStringTag,{value:"Module"})),UJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function FJ(e,t){return Dl(),Ll("svg",UJ,t[0]||(t[0]=[zl("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),zl("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)]))}const QJ={render:FJ},zJ=Object.freeze(Object.defineProperty({__proto__:null,default:QJ,render:FJ},Symbol.toStringTag,{value:"Module"})),qJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HJ(e,t){return Dl(),Ll("svg",qJ,t[0]||(t[0]=[zl("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)]))}const VJ={render:HJ},ZJ=Object.freeze(Object.defineProperty({__proto__:null,default:VJ,render:HJ},Symbol.toStringTag,{value:"Module"})),WJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function XJ(e,t){return Dl(),Ll("svg",WJ,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)]))}const GJ={render:XJ},YJ=Object.freeze(Object.defineProperty({__proto__:null,default:GJ,render:XJ},Symbol.toStringTag,{value:"Module"})),KJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JJ(e,t){return Dl(),Ll("svg",KJ,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)]))}const e0={render:JJ},t0=Object.freeze(Object.defineProperty({__proto__:null,default:e0,render:JJ},Symbol.toStringTag,{value:"Module"})),r0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function n0(e,t){return Dl(),Ll("svg",r0,t[0]||(t[0]=[zl("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)]))}const a0={render:n0},o0=Object.freeze(Object.defineProperty({__proto__:null,default:a0,render:n0},Symbol.toStringTag,{value:"Module"})),i0={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"};function s0(e,t){return Dl(),Ll("svg",i0,t[0]||(t[0]=[zl("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)]))}const l0={render:s0},c0=Object.freeze(Object.defineProperty({__proto__:null,default:l0,render:s0},Symbol.toStringTag,{value:"Module"})),u0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function d0(e,t){return Dl(),Ll("svg",u0,t[0]||(t[0]=[zl("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)]))}const p0={render:d0},h0=Object.freeze(Object.defineProperty({__proto__:null,default:p0,render:d0},Symbol.toStringTag,{value:"Module"})),f0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function m0(e,t){return Dl(),Ll("svg",f0,t[0]||(t[0]=[zl("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)]))}const g0={render:m0},b0=Object.freeze(Object.defineProperty({__proto__:null,default:g0,render:m0},Symbol.toStringTag,{value:"Module"})),v0={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function y0(e,t){return Dl(),Ll("svg",v0,t[0]||(t[0]=[zl("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)]))}const O0={render:y0},w0=Object.freeze(Object.defineProperty({__proto__:null,default:O0,render:y0},Symbol.toStringTag,{value:"Module"})),x0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function k0(e,t){return Dl(),Ll("svg",x0,t[0]||(t[0]=[zl("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),zl("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)]))}const S0={render:k0},_0=Object.freeze(Object.defineProperty({__proto__:null,default:S0,render:k0},Symbol.toStringTag,{value:"Module"})),E0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function T0(e,t){return Dl(),Ll("svg",E0,t[0]||(t[0]=[zl("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)]))}const A0={render:T0},C0=Object.freeze(Object.defineProperty({__proto__:null,default:A0,render:T0},Symbol.toStringTag,{value:"Module"})),P0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function $0(e,t){return Dl(),Ll("svg",P0,t[0]||(t[0]=[zl("path",{d:"M12.9 6.8v6.1h4.7"},null,-1),zl("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)]))}const M0={render:$0},D0=Object.freeze(Object.defineProperty({__proto__:null,default:M0,render:$0},Symbol.toStringTag,{value:"Module"})),R0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function N0(e,t){return Dl(),Ll("svg",R0,t[0]||(t[0]=[zl("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)]))}const I0={render:N0},L0=Object.freeze(Object.defineProperty({__proto__:null,default:I0,render:N0},Symbol.toStringTag,{value:"Module"})),j0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function B0(e,t){return Dl(),Ll("svg",j0,t[0]||(t[0]=[zl("path",{d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),zl("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),zl("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)]))}const U0={render:B0},F0=Object.freeze(Object.defineProperty({__proto__:null,default:U0,render:B0},Symbol.toStringTag,{value:"Module"})),Q0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function z0(e,t){return Dl(),Ll("svg",Q0,t[0]||(t[0]=[zl("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),zl("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),zl("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)]))}const q0={render:z0},H0=Object.freeze(Object.defineProperty({__proto__:null,default:q0,render:z0},Symbol.toStringTag,{value:"Module"})),V0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function Z0(e,t){return Dl(),Ll("svg",V0,t[0]||(t[0]=[zl("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),zl("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)]))}const W0={render:Z0},X0=Object.freeze(Object.defineProperty({__proto__:null,default:W0,render:Z0},Symbol.toStringTag,{value:"Module"})),G0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function Y0(e,t){return Dl(),Ll("svg",G0,t[0]||(t[0]=[zl("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)]))}const K0={render:Y0},J0=Object.freeze(Object.defineProperty({__proto__:null,default:K0,render:Y0},Symbol.toStringTag,{value:"Module"})),e1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function t1(e,t){return Dl(),Ll("svg",e1,t[0]||(t[0]=[zl("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)]))}const r1={render:t1},n1=Object.freeze(Object.defineProperty({__proto__:null,default:r1,render:t1},Symbol.toStringTag,{value:"Module"})),a1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function o1(e,t){return Dl(),Ll("svg",a1,t[0]||(t[0]=[zl("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)]))}const i1={render:o1},s1=Object.freeze(Object.defineProperty({__proto__:null,default:i1,render:o1},Symbol.toStringTag,{value:"Module"})),l1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function c1(e,t){return Dl(),Ll("svg",l1,t[0]||(t[0]=[zl("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)]))}const u1={render:c1},d1=Object.freeze(Object.defineProperty({__proto__:null,default:u1,render:c1},Symbol.toStringTag,{value:"Module"})),p1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function h1(e,t){return Dl(),Ll("svg",p1,t[0]||(t[0]=[zl("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),zl("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)]))}const f1={render:h1},m1=Object.freeze(Object.defineProperty({__proto__:null,default:f1,render:h1},Symbol.toStringTag,{value:"Module"})),g1={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 593 593"};function b1(e,t){return Dl(),Ll("svg",g1,t[0]||(t[0]=[zl("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)]))}const v1={render:b1},y1=Object.freeze(Object.defineProperty({__proto__:null,default:v1,render:b1},Symbol.toStringTag,{value:"Module"})),O1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function w1(e,t){return Dl(),Ll("svg",O1,t[0]||(t[0]=[zl("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)]))}const x1={render:w1},k1=Object.freeze(Object.defineProperty({__proto__:null,default:x1,render:w1},Symbol.toStringTag,{value:"Module"})),S1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function _1(e,t){return Dl(),Ll("svg",S1,t[0]||(t[0]=[zl("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)]))}const E1={render:_1},T1=Object.freeze(Object.defineProperty({__proto__:null,default:E1,render:_1},Symbol.toStringTag,{value:"Module"})),A1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function C1(e,t){return Dl(),Ll("svg",A1,t[0]||(t[0]=[zl("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 6.8H2m20 10.4H2"},null,-1)]))}const P1={render:C1},$1=Object.freeze(Object.defineProperty({__proto__:null,default:P1,render:C1},Symbol.toStringTag,{value:"Module"})),M1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function D1(e,t){return Dl(),Ll("svg",M1,t[0]||(t[0]=[zl("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)]))}const R1={render:D1},N1=Object.freeze(Object.defineProperty({__proto__:null,default:R1,render:D1},Symbol.toStringTag,{value:"Module"})),I1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function L1(e,t){return Dl(),Ll("svg",I1,t[0]||(t[0]=[zl("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),zl("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)]))}const j1={render:L1},B1=Object.freeze(Object.defineProperty({__proto__:null,default:j1,render:L1},Symbol.toStringTag,{value:"Module"})),U1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function F1(e,t){return Dl(),Ll("svg",U1,t[0]||(t[0]=[zl("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)]))}const Q1={render:F1},z1=Object.freeze(Object.defineProperty({__proto__:null,default:Q1,render:F1},Symbol.toStringTag,{value:"Module"})),q1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function H1(e,t){return Dl(),Ll("svg",q1,t[0]||(t[0]=[zl("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)]))}const V1={render:H1},Z1=Object.freeze(Object.defineProperty({__proto__:null,default:V1,render:H1},Symbol.toStringTag,{value:"Module"})),W1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function X1(e,t){return Dl(),Ll("svg",W1,t[0]||(t[0]=[zl("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)]))}const G1={render:X1},Y1=Object.freeze(Object.defineProperty({__proto__:null,default:G1,render:X1},Symbol.toStringTag,{value:"Module"})),K1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function J1(e,t){return Dl(),Ll("svg",K1,t[0]||(t[0]=[zl("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)]))}const e2={render:J1},t2=Object.freeze(Object.defineProperty({__proto__:null,default:e2,render:J1},Symbol.toStringTag,{value:"Module"})),r2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function n2(e,t){return Dl(),Ll("svg",r2,t[0]||(t[0]=[zl("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)]))}const a2={render:n2},o2=Object.freeze(Object.defineProperty({__proto__:null,default:a2,render:n2},Symbol.toStringTag,{value:"Module"})),i2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function s2(e,t){return Dl(),Ll("svg",i2,t[0]||(t[0]=[zl("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)]))}const l2={render:s2},c2=Object.freeze(Object.defineProperty({__proto__:null,default:l2,render:s2},Symbol.toStringTag,{value:"Module"})),u2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function d2(e,t){return Dl(),Ll("svg",u2,t[0]||(t[0]=[zl("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),zl("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),zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]))}const p2={render:d2},h2=Object.freeze(Object.defineProperty({__proto__:null,default:p2,render:d2},Symbol.toStringTag,{value:"Module"})),f2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function m2(e,t){return Dl(),Ll("svg",f2,t[0]||(t[0]=[zl("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)]))}const g2={render:m2},b2=Object.freeze(Object.defineProperty({__proto__:null,default:g2,render:m2},Symbol.toStringTag,{value:"Module"})),v2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function y2(e,t){return Dl(),Ll("svg",v2,t[0]||(t[0]=[zl("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),zl("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)]))}const O2={render:y2},w2=Object.freeze(Object.defineProperty({__proto__:null,default:O2,render:y2},Symbol.toStringTag,{value:"Module"})),x2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function k2(e,t){return Dl(),Ll("svg",x2,t[0]||(t[0]=[zl("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)]))}const S2={render:k2},_2=Object.freeze(Object.defineProperty({__proto__:null,default:S2,render:k2},Symbol.toStringTag,{value:"Module"})),E2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function T2(e,t){return Dl(),Ll("svg",E2,t[0]||(t[0]=[zl("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 15h5M6 9l4 3-4 3"},null,-1),zl("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)]))}const A2={render:T2},C2=Object.freeze(Object.defineProperty({__proto__:null,default:A2,render:T2},Symbol.toStringTag,{value:"Module"})),P2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $2(e,t){return Dl(),Ll("svg",P2,t[0]||(t[0]=[zl("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)]))}const M2={render:$2},D2=Object.freeze(Object.defineProperty({__proto__:null,default:M2,render:$2},Symbol.toStringTag,{value:"Module"})),R2={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function N2(e,t){return Dl(),Ll("svg",R2,t[0]||(t[0]=[zl("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),zl("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)]))}const I2={render:N2},L2=Object.freeze(Object.defineProperty({__proto__:null,default:I2,render:N2},Symbol.toStringTag,{value:"Module"})),j2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function B2(e,t){return Dl(),Ll("svg",j2,t[0]||(t[0]=[zl("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)]))}const U2={render:B2},F2=Object.freeze(Object.defineProperty({__proto__:null,default:U2,render:B2},Symbol.toStringTag,{value:"Module"})),Q2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function z2(e,t){return Dl(),Ll("svg",Q2,t[0]||(t[0]=[zl("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)]))}const q2={render:z2},H2=Object.freeze(Object.defineProperty({__proto__:null,default:q2,render:z2},Symbol.toStringTag,{value:"Module"})),V2={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function Z2(e,t){return Dl(),Ll("svg",V2,t[0]||(t[0]=[zl("path",{d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),zl("circle",{cx:"12",cy:"6.2",r:"4.5"},null,-1)]))}const W2={render:Z2},X2=Object.freeze(Object.defineProperty({__proto__:null,default:W2,render:Z2},Symbol.toStringTag,{value:"Module"})),G2={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function Y2(e,t){return Dl(),Ll("svg",G2,t[0]||(t[0]=[zl("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),zl("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)]))}const K2={render:Y2},J2=Object.freeze(Object.defineProperty({__proto__:null,default:K2,render:Y2},Symbol.toStringTag,{value:"Module"})),e4={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function t4(e,t){return Dl(),Ll("svg",e4,t[0]||(t[0]=[zl("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)]))}const r4={render:t4},n4=Object.freeze(Object.defineProperty({__proto__:null,default:r4,render:t4},Symbol.toStringTag,{value:"Module"})),a4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function o4(e,t){return Dl(),Ll("svg",a4,t[0]||(t[0]=[zl("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)]))}const i4={render:o4},s4=Object.freeze(Object.defineProperty({__proto__:null,default:i4,render:o4},Symbol.toStringTag,{value:"Module"})),l4={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function c4(e,t){return Dl(),Ll("svg",l4,t[0]||(t[0]=[zl("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),zl("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)]))}const u4={render:c4},d4=Object.freeze(Object.defineProperty({__proto__:null,default:u4,render:c4},Symbol.toStringTag,{value:"Module"})),p4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function h4(e,t){return Dl(),Ll("svg",p4,t[0]||(t[0]=[zl("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)]))}const f4={render:h4},m4=Object.freeze(Object.defineProperty({__proto__:null,default:f4,render:h4},Symbol.toStringTag,{value:"Module"})),g4={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function b4(e,t){return Dl(),Ll("svg",g4,t[0]||(t[0]=[zl("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)]))}const v4={render:b4},y4=Object.freeze(Object.defineProperty({__proto__:null,default:v4,render:b4},Symbol.toStringTag,{value:"Module"})),O4={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function w4(e,t){return Dl(),Ll("svg",O4,t[0]||(t[0]=[zl("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)]))}const x4={render:w4},k4=Object.freeze(Object.defineProperty({__proto__:null,default:x4,render:w4},Symbol.toStringTag,{value:"Module"})),S4={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function _4(e,t){return Dl(),Ll("svg",S4,t[0]||(t[0]=[zl("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)]))}const E4={render:_4},T4=Object.freeze(Object.defineProperty({__proto__:null,default:E4,render:_4},Symbol.toStringTag,{value:"Module"})),A4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function C4(e,t){return Dl(),Ll("svg",A4,t[0]||(t[0]=[zl("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)]))}const P4={render:C4},$4=Object.freeze(Object.defineProperty({__proto__:null,default:P4,render:C4},Symbol.toStringTag,{value:"Module"})),M4={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function D4(e,t){return Dl(),Ll("svg",M4,t[0]||(t[0]=[zl("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)]))}const R4={render:D4},N4=Object.freeze(Object.defineProperty({__proto__:null,default:R4,render:D4},Symbol.toStringTag,{value:"Module"})),I4={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function L4(e,t){return Dl(),Ll("svg",I4,t[0]||(t[0]=[zl("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)]))}const j4={render:L4},B4=Object.freeze(Object.defineProperty({__proto__:null,default:j4,render:L4},Symbol.toStringTag,{value:"Module"})),U4={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function F4(e,t){return Dl(),Ll("svg",U4,t[0]||(t[0]=[zl("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),zl("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)]))}const Q4={render:F4},z4=Object.freeze(Object.defineProperty({__proto__:null,default:Q4,render:F4},Symbol.toStringTag,{value:"Module"})),q4={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function H4(e,t){return Dl(),Ll("svg",q4,t[0]||(t[0]=[zl("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)]))}const V4={render:H4},Z4=Object.freeze(Object.defineProperty({__proto__:null,default:V4,render:H4},Symbol.toStringTag,{value:"Module"})),W4={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function X4(e,t){return Dl(),Ll("svg",W4,t[0]||(t[0]=[zl("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)]))}const G4={render:X4},Y4=Object.freeze(Object.defineProperty({__proto__:null,default:G4,render:X4},Symbol.toStringTag,{value:"Module"})),K4={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function J4(e,t){return Dl(),Ll("svg",K4,t[0]||(t[0]=[zl("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)]))}const e3={render:J4},t3=Object.freeze(Object.defineProperty({__proto__:null,default:e3,render:J4},Symbol.toStringTag,{value:"Module"})),r3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function n3(e,t){return Dl(),Ll("svg",r3,t[0]||(t[0]=[zl("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)]))}const a3={render:n3},o3=Object.freeze(Object.defineProperty({__proto__:null,default:a3,render:n3},Symbol.toStringTag,{value:"Module"})),i3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 50 50"};function s3(e,t){return Dl(),Ll("svg",i3,t[0]||(t[0]=[zl("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)]))}const l3={render:s3},c3=Object.freeze(Object.defineProperty({__proto__:null,default:l3,render:s3},Symbol.toStringTag,{value:"Module"})),u3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function d3(e,t){return Dl(),Ll("svg",u3,t[0]||(t[0]=[zl("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)]))}const p3={render:d3},h3=Object.freeze(Object.defineProperty({__proto__:null,default:p3,render:d3},Symbol.toStringTag,{value:"Module"})),f3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function m3(e,t){return Dl(),Ll("svg",f3,t[0]||(t[0]=[zl("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)]))}const g3={render:m3},b3=Object.freeze(Object.defineProperty({__proto__:null,default:g3,render:m3},Symbol.toStringTag,{value:"Module"})),v3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function y3(e,t){return Dl(),Ll("svg",v3,t[0]||(t[0]=[zl("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)]))}const O3={render:y3},w3=Object.freeze(Object.defineProperty({__proto__:null,default:O3,render:y3},Symbol.toStringTag,{value:"Module"})),x3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function k3(e,t){return Dl(),Ll("svg",x3,t[0]||(t[0]=[zl("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),zl("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),zl("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)]))}const S3={render:k3},_3=Object.freeze(Object.defineProperty({__proto__:null,default:S3,render:k3},Symbol.toStringTag,{value:"Module"})),E3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function T3(e,t){return Dl(),Ll("svg",E3,t[0]||(t[0]=[zl("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)]))}const A3={render:T3},C3=Object.freeze(Object.defineProperty({__proto__:null,default:A3,render:T3},Symbol.toStringTag,{value:"Module"})),P3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function $3(e,t){return Dl(),Ll("svg",P3,t[0]||(t[0]=[zl("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),zl("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)]))}const M3={render:$3},D3=Object.freeze(Object.defineProperty({__proto__:null,default:M3,render:$3},Symbol.toStringTag,{value:"Module"})),R3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function N3(e,t){return Dl(),Ll("svg",R3,t[0]||(t[0]=[zl("path",{d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"},null,-1)]))}const I3={render:N3},L3=Object.freeze(Object.defineProperty({__proto__:null,default:I3,render:N3},Symbol.toStringTag,{value:"Module"})),j3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function B3(e,t){return Dl(),Ll("svg",j3,t[0]||(t[0]=[zl("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),zl("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)]))}const U3={render:B3},F3=Object.freeze(Object.defineProperty({__proto__:null,default:U3,render:B3},Symbol.toStringTag,{value:"Module"})),Q3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function z3(e,t){return Dl(),Ll("svg",Q3,t[0]||(t[0]=[zl("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),zl("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)]))}const q3={render:z3},H3=Object.freeze(Object.defineProperty({__proto__:null,default:q3,render:z3},Symbol.toStringTag,{value:"Module"})),V3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function Z3(e,t){return Dl(),Ll("svg",V3,t[0]||(t[0]=[zl("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)]))}const W3={render:Z3},X3=Object.freeze(Object.defineProperty({__proto__:null,default:W3,render:Z3},Symbol.toStringTag,{value:"Module"})),G3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function Y3(e,t){return Dl(),Ll("svg",G3,t[0]||(t[0]=[zl("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)]))}const K3={render:Y3},J3=Object.freeze(Object.defineProperty({__proto__:null,default:K3,render:Y3},Symbol.toStringTag,{value:"Module"})),e5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"};function t5(e,t){return Dl(),Ll("svg",e5,t[0]||(t[0]=[zl("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)]))}const r5={render:t5},n5=Object.freeze(Object.defineProperty({__proto__:null,default:r5,render:t5},Symbol.toStringTag,{value:"Module"})),a5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function o5(e,t){return Dl(),Ll("svg",a5,t[0]||(t[0]=[zl("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)]))}const i5={render:o5},s5=Object.freeze(Object.defineProperty({__proto__:null,default:i5,render:o5},Symbol.toStringTag,{value:"Module"})),l5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function c5(e,t){return Dl(),Ll("svg",l5,t[0]||(t[0]=[zl("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),zl("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)]))}const u5={render:c5},d5=Object.freeze(Object.defineProperty({__proto__:null,default:u5,render:c5},Symbol.toStringTag,{value:"Module"})),p5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function h5(e,t){return Dl(),Ll("svg",p5,t[0]||(t[0]=[zl("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)]))}const f5={render:h5},m5=Object.freeze(Object.defineProperty({__proto__:null,default:f5,render:h5},Symbol.toStringTag,{value:"Module"})),g5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function b5(e,t){return Dl(),Ll("svg",g5,t[0]||(t[0]=[zl("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)]))}const v5={render:b5},y5=Object.freeze(Object.defineProperty({__proto__:null,default:v5,render:b5},Symbol.toStringTag,{value:"Module"})),O5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function w5(e,t){return Dl(),Ll("svg",O5,t[0]||(t[0]=[zl("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)]))}const x5={render:w5},k5=Object.freeze(Object.defineProperty({__proto__:null,default:x5,render:w5},Symbol.toStringTag,{value:"Module"})),S5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"};function _5(e,t){return Dl(),Ll("svg",S5,t[0]||(t[0]=[zl("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)]))}const E5={render:_5},T5=Object.freeze(Object.defineProperty({__proto__:null,default:E5,render:_5},Symbol.toStringTag,{value:"Module"})),A5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function C5(e,t){return Dl(),Ll("svg",A5,t[0]||(t[0]=[zl("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)]))}const P5={render:C5},$5=Object.freeze(Object.defineProperty({__proto__:null,default:P5,render:C5},Symbol.toStringTag,{value:"Module"})),M5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function D5(e,t){return Dl(),Ll("svg",M5,t[0]||(t[0]=[zl("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)]))}const R5={render:D5},N5=Object.freeze(Object.defineProperty({__proto__:null,default:R5,render:D5},Symbol.toStringTag,{value:"Module"})),I5={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function L5(e,t){return Dl(),Ll("svg",I5,t[0]||(t[0]=[zl("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)]))}const j5={render:L5},B5=Object.freeze(Object.defineProperty({__proto__:null,default:j5,render:L5},Symbol.toStringTag,{value:"Module"})),U5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function F5(e,t){return Dl(),Ll("svg",U5,t[0]||(t[0]=[zl("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)]))}const Q5={render:F5},z5=Object.freeze(Object.defineProperty({__proto__:null,default:Q5,render:F5},Symbol.toStringTag,{value:"Module"})),q5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function H5(e,t){return Dl(),Ll("svg",q5,t[0]||(t[0]=[zl("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)]))}const V5={render:H5},Z5=Object.freeze(Object.defineProperty({__proto__:null,default:V5,render:H5},Symbol.toStringTag,{value:"Module"})),W5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function X5(e,t){return Dl(),Ll("svg",W5,t[0]||(t[0]=[zl("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)]))}const G5={render:X5},Y5=Object.freeze(Object.defineProperty({__proto__:null,default:G5,render:X5},Symbol.toStringTag,{value:"Module"})),K5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function J5(e,t){return Dl(),Ll("svg",K5,t[0]||(t[0]=[Wl('<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)]))}const e8={render:J5},t8=Object.freeze(Object.defineProperty({__proto__:null,default:e8,render:J5},Symbol.toStringTag,{value:"Module"})),r8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function n8(e,t){return Dl(),Ll("svg",r8,t[0]||(t[0]=[zl("path",{fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),zl("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)]))}const a8={render:n8},o8=Object.freeze(Object.defineProperty({__proto__:null,default:a8,render:n8},Symbol.toStringTag,{value:"Module"})),i8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function s8(e,t){return Dl(),Ll("svg",i8,t[0]||(t[0]=[Wl('<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)]))}const l8={render:s8},c8=Object.freeze(Object.defineProperty({__proto__:null,default:l8,render:s8},Symbol.toStringTag,{value:"Module"})),u8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function d8(e,t){return Dl(),Ll("svg",u8,t[0]||(t[0]=[zl("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)]))}const p8={render:d8},h8=Object.freeze(Object.defineProperty({__proto__:null,default:p8,render:d8},Symbol.toStringTag,{value:"Module"})),f8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function m8(e,t){return Dl(),Ll("svg",f8,t[0]||(t[0]=[zl("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)]))}const g8={render:m8},b8=Object.freeze(Object.defineProperty({__proto__:null,default:g8,render:m8},Symbol.toStringTag,{value:"Module"})),v8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function y8(e,t){return Dl(),Ll("svg",v8,t[0]||(t[0]=[zl("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)]))}const O8={render:y8},w8=Object.freeze(Object.defineProperty({__proto__:null,default:O8,render:y8},Symbol.toStringTag,{value:"Module"})),x8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function k8(e,t){return Dl(),Ll("svg",x8,t[0]||(t[0]=[zl("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),zl("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)]))}const S8={render:k8},_8=Object.freeze(Object.defineProperty({__proto__:null,default:S8,render:k8},Symbol.toStringTag,{value:"Module"})),E8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function T8(e,t){return Dl(),Ll("svg",E8,t[0]||(t[0]=[zl("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),zl("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)]))}const A8={render:T8},C8=Object.freeze(Object.defineProperty({__proto__:null,default:A8,render:T8},Symbol.toStringTag,{value:"Module"})),P8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $8(e,t){return Dl(),Ll("svg",P8,t[0]||(t[0]=[zl("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)]))}const M8={render:$8},D8=Object.freeze(Object.defineProperty({__proto__:null,default:M8,render:$8},Symbol.toStringTag,{value:"Module"})),R8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function N8(e,t){return Dl(),Ll("svg",R8,t[0]||(t[0]=[Wl('<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)]))}const I8={render:N8},L8=Object.freeze(Object.defineProperty({__proto__:null,default:I8,render:N8},Symbol.toStringTag,{value:"Module"})),j8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function B8(e,t){return Dl(),Ll("svg",j8,t[0]||(t[0]=[zl("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)]))}const U8={render:B8},F8=Object.freeze(Object.defineProperty({__proto__:null,default:U8,render:B8},Symbol.toStringTag,{value:"Module"})),Q8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function z8(e,t){return Dl(),Ll("svg",Q8,t[0]||(t[0]=[zl("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)]))}const q8={render:z8},H8=Object.freeze(Object.defineProperty({__proto__:null,default:q8,render:z8},Symbol.toStringTag,{value:"Module"})),V8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Z8(e,t){return Dl(),Ll("svg",V8,t[0]||(t[0]=[Wl('<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)]))}const W8={render:Z8},X8=Object.freeze(Object.defineProperty({__proto__:null,default:W8,render:Z8},Symbol.toStringTag,{value:"Module"})),G8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Y8(e,t){return Dl(),Ll("svg",G8,t[0]||(t[0]=[zl("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)]))}const K8={render:Y8},J8=Object.freeze(Object.defineProperty({__proto__:null,default:K8,render:Y8},Symbol.toStringTag,{value:"Module"})),e6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function t6(e,t){return Dl(),Ll("svg",e6,t[0]||(t[0]=[Wl('<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)]))}const r6={render:t6},n6=Object.freeze(Object.defineProperty({__proto__:null,default:r6,render:t6},Symbol.toStringTag,{value:"Module"})),a6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function o6(e,t){return Dl(),Ll("svg",a6,t[0]||(t[0]=[zl("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),zl("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)]))}const i6={render:o6},s6=Object.freeze(Object.defineProperty({__proto__:null,default:i6,render:o6},Symbol.toStringTag,{value:"Module"})),l6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function c6(e,t){return Dl(),Ll("svg",l6,t[0]||(t[0]=[zl("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),zl("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),zl("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),zl("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)]))}const u6={render:c6},d6=Object.freeze(Object.defineProperty({__proto__:null,default:u6,render:c6},Symbol.toStringTag,{value:"Module"})),p6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function h6(e,t){return Dl(),Ll("svg",p6,t[0]||(t[0]=[zl("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)]))}const f6={render:h6},m6=Object.freeze(Object.defineProperty({__proto__:null,default:f6,render:h6},Symbol.toStringTag,{value:"Module"})),g6={xmlns:"http://www.w3.org/2000/svg",fill:"green",viewBox:"-2 0 24 24"};function b6(e,t){return Dl(),Ll("svg",g6,t[0]||(t[0]=[zl("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),zl("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)]))}const v6={render:b6},y6=Object.freeze(Object.defineProperty({__proto__:null,default:v6,render:b6},Symbol.toStringTag,{value:"Module"})),O6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function w6(e,t){return Dl(),Ll("svg",O6,t[0]||(t[0]=[zl("path",{fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"},null,-1),zl("path",{fill:"#34495E",d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)]))}const x6={render:w6},k6=Object.freeze(Object.defineProperty({__proto__:null,default:x6,render:w6},Symbol.toStringTag,{value:"Module"})),S6=Object.assign({"../icons/Add.svg":TY,"../icons/AddTab.svg":$Y,"../icons/Alert.svg":NY,"../icons/ArrowLeft.svg":BY,"../icons/ArrowRight.svg":zY,"../icons/Brackets.svg":ZY,"../icons/Branch.svg":YY,"../icons/Changelog.svg":tK,"../icons/Checkmark.svg":oK,"../icons/ChevronDown.svg":cK,"../icons/ChevronLeft.svg":hK,"../icons/ChevronRight.svg":bK,"../icons/ChevronUp.svg":wK,"../icons/Clipboard.svg":_K,"../icons/Close.svg":CK,"../icons/CloseTab.svg":DK,"../icons/CloseTabs.svg":LK,"../icons/Cloud.svg":FK,"../icons/CodeFolder.svg":HK,"../icons/Cog.svg":XK,"../icons/Collection.svg":JK,"../icons/Cookie.svg":nJ,"../icons/DarkMode.svg":sJ,"../icons/Delete.svg":dJ,"../icons/Discord.svg":mJ,"../icons/DocsPage.svg":yJ,"../icons/Download.svg":kJ,"../icons/Duplicate.svg":TJ,"../icons/Edit.svg":$J,"../icons/Ellipses.svg":NJ,"../icons/Email.svg":BJ,"../icons/Error.svg":zJ,"../icons/Example.svg":ZJ,"../icons/ExternalLink.svg":YJ,"../icons/FilterList.svg":t0,"../icons/Folder.svg":o0,"../icons/GitHub.svg":c0,"../icons/GitHubLine.svg":h0,"../icons/Globe.svg":b0,"../icons/Google.svg":w0,"../icons/Help.svg":_0,"../icons/Hide.svg":C0,"../icons/History.svg":D0,"../icons/House.svg":L0,"../icons/Import.svg":F0,"../icons/Info.svg":H0,"../icons/Key.svg":X0,"../icons/Leave.svg":J0,"../icons/LightDarkModeToggle.svg":n1,"../icons/LightMode.svg":s1,"../icons/Link.svg":d1,"../icons/Lock.svg":m1,"../icons/Logo.svg":y1,"../icons/Magic.svg":k1,"../icons/Markdown.svg":T1,"../icons/Menu.svg":$1,"../icons/NotAllowed.svg":N1,"../icons/Page.svg":B1,"../icons/Pencil.svg":z1,"../icons/Play.svg":Z1,"../icons/Refresh.svg":Y1,"../icons/Roadmap.svg":t2,"../icons/Scribble.svg":o2,"../icons/Search.svg":c2,"../icons/Server.svg":h2,"../icons/Settings.svg":b2,"../icons/Show.svg":w2,"../icons/Sort.svg":_2,"../icons/Terminal.svg":C2,"../icons/Trash.svg":D2,"../icons/Unlock.svg":L2,"../icons/Unwatch.svg":F2,"../icons/Upload.svg":H2,"../icons/User.svg":X2,"../icons/UserSwitch.svg":J2,"../icons/Users.svg":n4,"../icons/Versions.svg":s4,"../icons/Wallet.svg":d4,"../icons/Watch.svg":m4,"../icons/Workspace.svg":y4,"../icons/programming-framework-angular.svg":k4,"../icons/programming-framework-astro.svg":T4,"../icons/programming-framework-laravel.svg":$4,"../icons/programming-framework-nextdotjs.svg":N4,"../icons/programming-framework-react.svg":B4,"../icons/programming-framework-vuedotjs.svg":z4,"../icons/programming-language-c.svg":Z4,"../icons/programming-language-clojure.svg":Y4,"../icons/programming-language-csharp.svg":t3,"../icons/programming-language-css3.svg":o3,"../icons/programming-language-dart.svg":c3,"../icons/programming-language-go.svg":h3,"../icons/programming-language-html5.svg":b3,"../icons/programming-language-http.svg":w3,"../icons/programming-language-java.svg":_3,"../icons/programming-language-javascript.svg":C3,"../icons/programming-language-json.svg":D3,"../icons/programming-language-kotlin.svg":L3,"../icons/programming-language-node.svg":F3,"../icons/programming-language-objc.svg":H3,"../icons/programming-language-ocaml.svg":X3,"../icons/programming-language-php.svg":J3,"../icons/programming-language-powershell.svg":n5,"../icons/programming-language-python.svg":s5,"../icons/programming-language-r.svg":d5,"../icons/programming-language-ruby.svg":m5,"../icons/programming-language-rust.svg":y5,"../icons/programming-language-scala.svg":k5,"../icons/programming-language-shell.svg":T5,"../icons/programming-language-swift.svg":$5,"../icons/programming-language-typescript.svg":N5,"../icons/programming-script-code.svg":B5,"../icons/programming-tool-git.svg":z5,"../icons/programming-tool-tailwindcss.svg":Z5}),_6=Object.assign({"../logos/Adonisjs.svg":Y5,"../logos/Docusaurus.svg":t8,"../logos/Dotnet.svg":o8,"../logos/Elysiajs.svg":c8,"../logos/Express.svg":h8,"../logos/Fastapi.svg":b8,"../logos/Fastify.svg":w8,"../logos/Go.svg":_8,"../logos/Hono.svg":C8,"../logos/Laravel.svg":D8,"../logos/Litestar.svg":L8,"../logos/Nestjs.svg":F8,"../logos/Nextjs.svg":H8,"../logos/Nitro.svg":X8,"../logos/Nuxt.svg":J8,"../logos/Openapi.svg":n6,"../logos/Platformatic.svg":s6,"../logos/React.svg":d6,"../logos/Rust.svg":m6,"../logos/Svelte.svg":y6,"../logos/Vue.svg":k6}),E6=lq({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"}}),T6=Li({inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){Zc((e=>({c07589c2:n.value})));const t=e,{cx:r}=uq(),n=gc((()=>t.thickness??"2")),a=gc((()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:"presentation"})),o=gc((()=>t.icon?(e=>{const t=`../icons/${e}.svg`;return S6[t]?S6[t]:(console.warn(`Could not find icon: ${e}`),null)})(t.icon):t.logo?(e=>{const t=`../logos/${e}.svg`;return _6[t]?_6[t]:(console.warn(`Could not find icon: ${e}`),null)})(t.logo):void 0));return(e,t)=>(Dl(),jl(cs(o.value),qn(Hl({...Ao(r)("scalar-icon",Ao(E6)({size:e.size})),...a.value})),null,16))}}),A6=gq(T6,[["__scopeId","data-v-b651bb23"]]),C6=Li({inheritAttrs:!1,__name:"ScalarIconLegacyAdapter",props:{icon:{},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){const{cx:t}=uq();return(e,r)=>"string"==typeof e.icon?(Dl(),jl(A6,Jl({key:0},{...e.$props,...e.$attrs},{icon:e.icon}),null,16,["icon"])):(Dl(),jl(cs(e.icon),Jl({key:1,label:e.label,weight:e.weight},Ao(t)(Ao(E6)({size:e.size}))),null,16,["label","weight"]))}}),P6=lq({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:dq},compoundVariants:[{size:"md",variant:"ghost",class:"size-8 p-2 m-1 -outline-offset-2 rounded-lg"}],defaultVariants:{size:"md",variant:"ghost"}}),$6="scalar-tooltip",M6=So(),D6=So(),R6=So(),{floatingStyles:N6}=GG(gc((()=>Ao(R6.value?.targetRef))),D6,{placement:gc((()=>Ao(R6.value?.placement))),whileElementsMounted:FG,middleware:gc((()=>[qG(),zG()]))});function I6(e){(function(e){const t=Ao(R6.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){const r=function(e){const t=[];let r=e.parentElement;for(;r;)t.push(r),r=r.parentElement;return t}(e.relatedTarget);return e.relatedTarget.id!==$6&&!r.some((e=>e.id===$6))&&e.relatedTarget!==t}return!0})(e)&&(j6(),R6.value=void 0)}function L6(e){"Escape"===e.key&&(e.stopPropagation(),I6(e))}function j6(){M6.value&&(clearTimeout(M6.value),M6.value=void 0)}function B6(e){function t(t){const n=Ao(e.delay)??300;j6(),n>0?M6.value=setTimeout((()=>r()),n):r()}function r(t){j6(),document.addEventListener("keydown",L6,{once:!0,capture:!0}),R6.value=e}!function(){if(typeof document>"u"||typeof window>"u"||D6.value)return;const e=document.getElementById($6);e?D6.value=e:(D6.value=document.createElement("div"),D6.value.role="tooltip",D6.value.id=$6,D6.value.classList.add("scalar-tooltip"),D6.value.classList.add("scalar-app"),D6.value.style.setProperty("display","none"),D6.value.addEventListener("mouseleave",I6),document.body.appendChild(D6.value))}(),hl((()=>Ao(e.targetRef)),((e,n)=>{n&&(n.removeEventListener("mouseenter",t),n.removeEventListener("mouseleave",I6),n.removeEventListener("focus",r),n.removeEventListener("blur",I6),n.removeAttribute("aria-describedby")),e&&(e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",I6),e.addEventListener("focus",r),e.addEventListener("blur",I6),e.setAttribute("aria-describedby",$6))}),{immediate:!0})}hl(N6,(()=>{D6.value&&(D6.value.style.position=N6.value.position,D6.value.style.top=N6.value.top,D6.value.style.left=N6.value.left,D6.value.style.transform=N6.value.transform??"",D6.value.style.willChange=N6.value.willChange??"")})),hl(R6,(e=>{if(D6.value)if(e){const t=Ao(e?.contentTarget)??"textContent";D6.value[t]=Ao(e?.content)??"";const r=Ao(e?.offset)??4;D6.value.style.setProperty("--scalar-tooltip-offset",`${r}px`),D6.value.style.setProperty("display","block")}else D6.value.innerHTML="",D6.value.style.removeProperty("--scalar-tooltip-offset"),D6.value.style.setProperty("display","none")}),{deep:!0});const U6=["aria-disabled"],F6={key:0,class:"sr-only"},Q6=Li({inheritAttrs:!1,__name:"ScalarIconButton",props:{label:{},icon:{},disabled:{type:Boolean},variant:{default:"ghost"},size:{},thickness:{},weight:{},tooltip:{type:Boolean}},setup(e){const{cx:t}=uq(),r=Ui("ref");return B6({content:gc((()=>e.label)),offset:gc((()=>"ghost"===e.variant?0:4)),placement:gc((()=>"boolean"==typeof e.tooltip?void 0:e.tooltip)),targetRef:gc((()=>e.tooltip?r.value:void 0))}),(e,r)=>(Dl(),Ll("button",Jl({ref:"ref","aria-disabled":e.disabled,type:"button"},Ao(t)(Ao(P6)({size:e.size,variant:e.variant,disabled:e.disabled}))),[ql(Ao(C6),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,["icon","thickness","weight"]),e.tooltip?Xl("",!0):(Dl(),Ll("span",F6,Gn(e.label),1))],16,U6))}}),z6=Li({__name:"ScalarListboxItem",props:{option:{},multiselect:{type:Boolean}},setup(e){const t=lq({base:["group/item","flex min-w-0 items-center gap-1.5 rounded 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(e,r)=>(Dl(),jl(Ao(OQ),{as:"template",disabled:e.option.disabled,value:e.option},{default:ci((({active:r,selected:n})=>[zl("li",{class:zn(Ao(cq)(Ao(t)({active:r,selected:n,disabled:e.option.disabled})))},[ql(yX,{selected:n,multiselect:e.multiselect},null,8,["selected","multiselect"]),zl("span",{class:zn(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])},Gn(e.option.label),3)],2)])),_:1},8,["disabled","value"]))}}),q6={class:"custom-scroll min-h-0 flex-1"},H6=Li({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){const{cx:t}=uq();return(e,r)=>(Dl(),jl(Ao(gQ),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||(r[0]=t=>e.$emit("update:modelValue",t))},{default:ci((({open:r})=>[e.label?(Dl(),jl(Ao(bQ),{key:0,class:"sr-only"},{default:ci((()=>[Zl(Gn(e.label),1)])),_:1})):Xl("",!0),ql(Ao(JG),Jl(e.$props,{placement:e.placement??"bottom-start"}),{floating:ci((({width:n})=>[r?(Dl(),Ll("div",Jl({key:0,style:{width:n}},Ao(t)("relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm")),[zl("div",q6,[ql(Ao(yQ),{class:"flex flex-col gap-0.75 p-0.75 -outline-offset-1"},{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(e.options,(t=>(Dl(),jl(z6,{key:t.id,option:t,multiselect:e.multiple},null,8,["option","multiselect"])))),128))])),_:1})]),ql(Ao(eY))],16)):Xl("",!0)])),default:ci((()=>[ql(Ao(vQ),{id:e.id,as:"template"},{default:ci((()=>[fs(e.$slots,"default",{open:r})])),_:2},1032,["id"])])),_:2},1040,["placement"])])),_:3},8,["modelValue","multiple"]))}}),V6=["innerHTML"],Z6=Li({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}){const{cx:r}=uq();t({el:Ui("div")});const n=t=>{if(!e.withAnchors)return e.transform?.(t)||t;const r=(t.children?.[0]?.value||"").toLowerCase().replace(/\s+/g,"-"),n=e.anchorPrefix?`${e.anchorPrefix}/description/${r}`:r;return t.data={hProperties:{id:n}},e.transform?e.transform(t):t},a=gc((()=>function(e,t){const r=t?.removeTags??[],n=[...dE.tagNames??[],...t?.allowTags??[]].filter((e=>!r.includes(e)));return lM().use(y$).use(QP).use(tR,{transform:t?.transform,type:t?.transformType}).use(I$,{allowDangerousHtml:!0}).use(MD).use(cE).use(yE,{...dE,clobberPrefix:"",tagNames:n,attributes:{...dE.attributes,abbr:["title"],div:["class",["className",/^markdown-alert(-.*)?$/]]}}).use(eR,{languages:CD,detect:!0}).use(gw,{target:"_blank"}).use(zw).use(sT).processSync(e).toString()}(e.value??"",{removeTags:e.withImages?[]:["img","picture"],transform:e.withAnchors&&"heading"===e.transformType?n:e.transform,transformType:e.transformType})));return(e,t)=>(Dl(),Ll("div",Jl({ref:"div"},Ao(r)("markdown",{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:a.value}),null,16,V6))}}),W6=["aria-controls","aria-expanded"],X6=Li({inheritAttrs:!1,__name:"ScalarMarkdownSummary",props:Ss({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=function(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}(e,["clamp"]),r=ji(),n=bl(e,"modelValue"),a=Ui("scalar-markdown"),o=So(!1);function i(){const e=a.value?.el;e&&(o.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}cU((()=>a.value?.el),i),Yi(i);const{cx:s}=uq();return(e,a)=>(Dl(),Ll("div",qn(Hl(Ao(s)("group/summary flex gap-0.5",n.value?"flex-col":"flex-row items-baseline"))),[ql(Z6,Jl({ref:"scalar-markdown"},t,{id:Ao(r),class:{"markdown-summary truncate":!n.value},clamp:n.value?void 0:e.clamp}),null,16,["id","class","clamp"]),o.value||n.value?(Dl(),Ll("button",{key:0,class:zn(["whitespace-nowrap font-medium hover:underline",{"self-end":n.value}]),type:"button","aria-controls":Ao(r),"aria-expanded":n.value,onClick:a[0]||(a[0]=e=>n.value=!n.value)},[fs(e.$slots,"button",{open:n.value},(()=>[Zl(Gn(n.value?" Show Less":"More"),1)]))],10,W6)):Xl("",!0)],16))}}),G6=Li({__name:"ScalarDropdownButton",props:{is:{default:"button"},active:{type:Boolean},disabled:{type:Boolean}},setup(e){const t=lq({base:["block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left","truncate no-underline text-sm text-c-1","cursor-pointer hover:bg-b-2 hover:text-c-1"],variants:{disabled:{true:"pointer-events-none text-c-3"},active:{true:"bg-b-2 text-c-1"}}});return(e,r)=>(Dl(),jl(cs(e.is),{class:zn(["item",Ao(cq)("scalar-dropdown-item",Ao(t)({active:e.active,disabled:e.disabled}))]),type:"button"===e.is?"button":void 0},{default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:3},8,["class","type"]))}}),Y6=gq(G6,[["__scopeId","data-v-7e7bf818"]]),K6={class:"-mx-0.75 my-0.75 h-border bg-border"},J6=gq({},[["render",function(e,t,r,n,a,o){return Dl(),Ll("div",K6)}]]),e7=Li({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){const{cx:t}=uq();return(e,r)=>(Dl(),jl(Ao(IQ),{as:"template"},{default:ci((({open:r})=>[ql(Ao(JG),qn(Hl(e.$props)),{floating:ci((({width:n,height:a})=>[ql(Ao(jQ),Jl({focus:e.focus,style:{width:n,height:a}},Ao(t)("relative flex flex-col p-0.75")),{default:ci((({close:t})=>[fs(e.$slots,"popover",{close:()=>t(),open:r}),fs(e.$slots,"backdrop",{open:r},(()=>[ql(Ao(eY))]))])),_:2},1040,["focus","style"])])),default:ci((()=>[ql(Ao(LQ),{as:"template"},{default:ci((()=>[fs(e.$slots,"default",{open:r})])),_:2},1024)])),_:2},1040)])),_:3}))}}),t7=["aria-label"],r7=Li({inheritAttrs:!1,__name:"ScalarSearchInput",props:Ss({loading:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=bl(e,"modelValue"),r=So(null);function n(){t.value="",r.value&&r.value.focus()}const{classCx:a,otherAttrs:o}=uq();return(e,i)=>(Dl(),Ll("label",qn(Hl(Ao(a)("flex items-center text-lg font-medium h-10 pl-3 pr-1 py-2 gap-2.25"))),[ql(Ao(eZ),{class:"text-sidebar-c-search size-4"}),ui(zl("input",Jl({ref_key:"inputRef",ref:r,"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"},Ao(o),{"onUpdate:modelValue":i[0]||(i[0]=e=>t.value=e)}),null,16,t7),[[mu,t.value]]),e.loading&&e.loading.isLoading?(Dl(),jl(Ao(bq),{key:0,class:"self-center",loadingState:e.loading,size:"md"},null,8,["loadingState"])):t.value?(Dl(),jl(Ao(Q6),{key:1,class:"p-0 size-5",icon:"Close",label:"Clear Search",thickness:"1.5",onClick:Tu(n,["stop","prevent"])})):Xl("",!0)],16))}}),n7=Li({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("div",Jl({role:"listbox"},Ao(t)("flex flex-col")),[e.noResults?fs(e.$slots,"noResults",{key:0},(()=>[r[0]||(r[0]=zl("div",{class:"flex flex-col items-center gap-2 px-3 py-4"},[zl("div",{class:"text-base font-medium text-c-2",role:"alert"}," No results found ")],-1))])):Xl("",!0),fs(e.$slots,"default")],16))}}),a7=["aria-selected"],o7={key:0,class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"},i7={class:"flex min-w-0 flex-1 flex-col gap-0.75"},s7={class:"flex items-center gap-1"},l7={class:"flex-1 truncate zoomed:!whitespace-normal break-words text-base font-medium"},c7={key:0,class:"text-base text-c-2"},u7={key:0,class:"truncate zoomed:!whitespace-normal break-words text-base text-c-2"},d7=Li({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{},selected:{type:Boolean}},setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("a",Jl({"aria-selected":e.selected,role:"option",tabindex:"-1"},Ao(t)("group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2",{"bg-b-2":e.selected})),[e.icon?(Dl(),Ll("div",o7,[fs(e.$slots,"icon",{},(()=>[e.icon?(Dl(),jl(Ao(C6),{key:0,icon:e.icon,class:"size-4"},null,8,["icon"])):Xl("",!0)])),r[0]||(r[0]=zl("span",null," ",-1))])):Xl("",!0),zl("div",i7,[zl("div",s7,[zl("div",l7,[fs(e.$slots,"default")]),e.$slots.addon?(Dl(),Ll("div",c7,[fs(e.$slots,"addon")])):Xl("",!0)]),e.$slots.description?(Dl(),Ll("div",u7,[fs(e.$slots,"description")])):Xl("",!0)])],16,a7))}}),p7={class:"flex items-center"},h7={class:"flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2"},f7=Li({inheritAttrs:!1,__name:"ScalarSidebarFooter",setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("div",qn(Hl(Ao(t)("flex flex-col gap-3 p-3 border-t"))),[fs(e.$slots,"default"),zl("div",p7,[zl("div",h7,[fs(e.$slots,"description",{},(()=>[r[0]||(r[0]=zl("a",{class:"no-underline hover:underline",href:"https://www.scalar.com",target:"_blank"}," Powered by Scalar ",-1))]))]),fs(e.$slots,"toggle",{},(()=>[ql(Ao(pX))]))])],16))}}),m7={class:"sr-only"},g7=Li({inheritAttrs:!1,__name:"ScalarSidebarGroupToggle",props:{is:{default:"div"},open:{type:Boolean,default:!1},icon:{}},setup(e){const t=lq({base:"size-4 flex items-center justify-center transition-transform duration-100",variants:{open:{true:"rotate-90"}},defaultVariants:{open:!1}}),{cx:r}=uq();return(e,n)=>(Dl(),jl(cs(e.is),Jl({type:"button"===e.is?"button":void 0},Ao(r)(Ao(t)({open:e.open}))),{default:ci((()=>[fs(e.$slots,"default",{open:e.open},(()=>[e.icon?(Dl(),jl(Ao(C6),{key:0,icon:e.icon},null,8,["icon"])):(Dl(),jl(Ao(bH),{key:1,class:"size-3",weight:"bold"}))])),zl("span",m7,[fs(e.$slots,"label",{open:e.open},(()=>[Zl(Gn(e.open?"Close":"Open")+" Group ",1)]))])])),_:3},16,["type"]))}}),b7={class:"flex-1 text-left leading-none"},v7={key:0,class:"uppercase text-sidebar-c-2 bg-b-2 leading-none py-1 px-1.25 rounded"},y7=Li({inheritAttrs:!1,__name:"ScalarSidebarSearchButton",props:{hotKey:{}},setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("button",Jl({type:"button",role:"search"},Ao(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")),[ql(Ao(eZ),{class:"size-4"}),zl("span",b7,[fs(e.$slots,"default",{},(()=>[r[0]||(r[0]=Zl("Search..."))]))]),e.$slots.shortcut?(Dl(),Ll("span",v7,[r[1]||(r[1]=zl("span",{class:"sr-only"},"Keyboard Shortcut:",-1)),zl("kbd",null,[fs(e.$slots,"shortcut")])])):Xl("",!0)],16))}}),O7=["aria-label"],w7=Li({inheritAttrs:!1,__name:"ScalarSidebarSearchInput",props:Ss({autofocus:{type:Boolean},loading:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=So(null),r=bl(e,"modelValue");function n(){r.value="",t.value&&t.value.focus()}const{classCx:a,otherAttrs:o}=uq();return Yi((()=>e.autofocus&&t.value?.focus())),(e,i)=>(Dl(),Ll("label",qn(Hl(Ao(a)("flex items-center rounded border text-base has-[:focus-visible]:bg-b-1 has-[:focus-visible]:outline h-8 gap-1 pl-2 pr-1.5","bg-sidebar-b-search border-sidebar-border-search",r.value?"text-c-1":"text-sidebar-c-search"))),[ql(Ao(eZ),{class:"text-sidebar-c-search size-4"}),ui(zl("input",Jl({ref_key:"inputRef",ref:t,"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"},Ao(o),{"onUpdate:modelValue":i[0]||(i[0]=e=>r.value=e)}),null,16,O7),[[mu,r.value]]),e.loading&&e.loading.isLoading?(Dl(),jl(Ao(bq),{key:0,class:"mr-3 self-center",loadingState:e.loading,size:"md"},null,8,["loadingState"])):r.value?(Dl(),jl(Ao(Q6),{key:1,class:"p-0.25 size-4",icon:Ao(gW),weight:"bold",label:"Clear Search",onClick:Tu(n,["stop","prevent"])},null,8,["icon"])):Xl("",!0)],16))}}),x7=["id"],k7=Li({inheritAttrs:!1,__name:"ScalarTeleportRoot",props:{id:{}},setup(e){const t=(e=>{const t=e??`scalar-teleport-${gB()}`;return Us(YG,`#${t}`),t})(e.id);return(e,r)=>(Dl(),Ll(Tl,null,[fs(e.$slots,"default"),zl("div",{id:Ao(t),class:"scalar-teleport-root contents"},null,8,x7)],64))}}),S7={class:"flex flex-1 relative"},_7={key:0,class:"select-none whitespace-nowrap text-sm text-transparent"},E7={key:1,class:"absolute inset-0 select-none overflow-hidden whitespace-nowrap text-sm"},T7={key:0,class:"text-c-2"},A7={class:"text-transparent"},C7={key:1,class:"text-c-2"},P7=Li({inheritAttrs:!1,__name:"ScalarTextInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=bl(e,"modelValue"),r=So(),{classCx:n,otherAttrs:a}=uq();return Yi((()=>{"autofocus"in a.value&&r.value?.focus()})),(e,o)=>(Dl(),Ll("div",Jl(Ao(n)("bg-b-1.5 flex cursor-text items-center gap-0.75 rounded-md border px-3 py-2.5 outline-offset-[-1px] focus-within:bg-b-1 has-[input:focus-visible]:outline"),{onClick:o[1]||(o[1]=e=>r.value?.focus())}),[zl("div",S7,[e.$slots.prefix?(Dl(),Ll("span",_7,[fs(e.$slots,"prefix")])):Xl("",!0),ui(zl("input",Jl({ref_key:"input",ref:r,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value=e),class:"z-1 min-w-0 flex-1 border-none bg-transparent text-sm placeholder:font-[inherit] focus-within:outline-none"},Ao(a)),null,16),[[ku,t.value]]),e.$slots.prefix||e.$slots.suffix?(Dl(),Ll("div",E7,[e.$slots.prefix?(Dl(),Ll("span",T7,[fs(e.$slots,"prefix")])):Xl("",!0),zl("span",A7,Gn(t.value||e.$attrs.placeholder),1),e.$slots.suffix?(Dl(),Ll("span",C7,[fs(e.$slots,"suffix")])):Xl("",!0)])):Xl("",!0)]),fs(e.$slots,"aside")],16))}}),$7=["aria-checked","aria-disabled"],M7={key:0,class:"sr-only"},D7=Li({__name:"ScalarToggle",props:{modelValue:{type:Boolean},disabled:{type:Boolean},label:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t;function a(){r.disabled||n("update:modelValue",!r.modelValue)}const o=lq({base:"relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300",variants:{checked:{true:"bg-c-accent"},disabled:{true:"cursor-not-allowed opacity-40"}}});return(e,t)=>(Dl(),Ll("button",{"aria-checked":e.modelValue,"aria-disabled":e.disabled,class:zn(Ao(cq)(Ao(o)({checked:e.modelValue,disabled:e.disabled}))),role:"switch",type:"button",onClick:a},[zl("div",{class:zn(["absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 text-c-accent transition-transform duration-300",{"translate-x-2.5":e.modelValue}])},null,2),e.label?(Dl(),Ll("span",M7,Gn(e.label),1)):Xl("",!0)],10,$7))}}),R7=Li({__name:"ScalarTooltip",props:{content:{default:""},delay:{default:()=>300},placement:{default:"top"},offset:{default:()=>4}},setup(e){const t=So(null);return B6({content:gc((()=>e.content)),delay:gc((()=>e.delay)),placement:gc((()=>e.placement)),offset:gc((()=>e.offset)),targetRef:gc((()=>t.value?.children?.[0]||t.value||void 0))}),(e,r)=>(Dl(),Ll("div",{ref_key:"wrapperRef",ref:t,class:zn({contents:!!e.$slots.default})},[fs(e.$slots,"default")],2))}}),N7=Li({__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},containerClass:{default:""},contentClass:{default:""},lineClass:{default:""}},setup(e){const t=e,r=So(null),n=So(null),a=So(0),o=So(0),i=gc((()=>t.text.split("\n"))),s=gc((()=>i.value.length*t.lineHeight)),l=gc((()=>Math.floor(a.value/t.lineHeight))),c=gc((()=>Math.min(Math.ceil((a.value+o.value)/t.lineHeight),i.value.length))),u=gc((()=>{const e=Math.max(0,l.value-10),t=Math.min(i.value.length,c.value+10);return i.value.slice(e,t)})),d=gc((()=>({height:`${s.value}px`,transform:`translateY(${Math.max(0,l.value-10)*t.lineHeight}px)`}))),p=()=>r.value&&(a.value=r.value.scrollTop),h=()=>r.value&&(o.value=r.value.clientHeight);return Yi((()=>{h(),window.addEventListener("resize",h)})),es((()=>{window.removeEventListener("resize",h)})),pl((()=>{n.value&&(n.value.style.transform=`translateY(${Math.max(0,l.value-10)*t.lineHeight}px)`)})),(e,a)=>(Dl(),Ll("div",{ref_key:"containerRef",ref:r,class:zn(["scalar-virtual-text overflow-auto",e.containerClass]),onScroll:p},[zl("code",{ref_key:"contentRef",ref:n,class:zn(["scalar-virtual-text-content",e.contentClass]),style:jn(d.value)},[(Dl(!0),Ll(Tl,null,ps(u.value,((r,n)=>(Dl(),Ll("div",{key:l.value+n,class:zn(["scalar-virtual-text-line",e.lineClass]),style:jn({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},Gn(r),7)))),128))],6)],34))}}),I7=Li({__name:"ScalarDropdownItem",props:{disabled:{type:Boolean}},emits:["click"],setup:e=>(e,t)=>(Dl(),jl(Ao(AQ),{disabled:e.disabled},{default:ci((({active:r})=>[ql(Y6,{active:r,disabled:e.disabled,onClick:t[0]||(t[0]=t=>e.$emit("click",t))},{default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:2},1032,["active","disabled"])])),_:3},8,["disabled"]))}),L7=gq(I7,[["__scopeId","data-v-788cdfbc"]]),j7={key:0,class:"close-button z-10 fixed right-2 top-2"};function B7(){return uo({open:!1,show(){this.open=!0},hide(){this.open=!1}})}const U7=Li({__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},setup(e){const t=lq({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"}}}),r=lq({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(e,n)=>(Dl(),jl(Ao(YF),{open:e.state.open,onClose:n[1]||(n[1]=t=>e.state.hide())},{default:ci((()=>[zl("div",{class:zn(Ao(cq)("full"===e.size?"scalar-modal-layout-full":"scalar-modal-layout","fixed left-0 top-0 flex items-start justify-center","z-[1001] h-[100dvh] w-[100dvw]","bg-backdrop opacity-0 dark:bg-backdrop-dark","full"===e.size&&"flex"))},[ql(Ao(KF),{class:zn(Ao(t)({size:e.size,variant:e.variant})),style:jn({maxWidth:e.maxWidth})},{default:ci((()=>[e.title?(Dl(),jl(Ao(JF),{key:0,class:"scalar-modal-header m-0 -mb-1 rounded-lg pt-3 px-3 text-left text-sm font-medium text-c-1"},{default:ci((()=>[Zl(Gn(e.title),1)])),_:1})):Xl("",!0),"full"===e.size?(Dl(),Ll("div",{key:1,class:zn(e.bodyClass)},[fs(e.$slots,"default",{},void 0,!0)],2)):(Dl(),Ll("div",{key:2,class:zn(Ao(cq)(Ao(r)({size:e.size,variant:e.variant}),e.bodyClass))},[fs(e.$slots,"default",{},void 0,!0)],2))])),_:3},8,["class","style"]),"full"===e.size?(Dl(),Ll("div",j7,[ql(Ao(Q6),{class:"hover:bg-b-3 focus:outline-none",icon:"Close",label:"Clear Search",onClose:n[0]||(n[0]=t=>e.state.hide())})])):Xl("",!0)],2)])),_:3},8,["open"]))}}),F7=gq(U7,[["__scopeId","data-v-589f8aa0"]]),Q7="scalar-app",z7="headlessui-portal-root",q7=e=>{!e||e.classList.contains(Q7)||e.classList.add(Q7)},H7=()=>{q7(document.getElementById(z7));const e=new MutationObserver((e=>e.forEach((({addedNodes:e})=>e.forEach((e=>{(e=>null!==e&&e instanceof HTMLElement)(e)&&e.id===z7&&q7(e)}))))));return e.observe(document.body,{childList:!0}),e},V7=["href"],Z7=Li({__name:"OpenApiClientButton",props:{buttonSource:{},source:{default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{}},setup(e){const t=gc((()=>{const t=e.url??(typeof window<"u"?window.location.href:void 0);if(!t)return;const r=Vj(t);if(!r?.length)return;const n=new URL(e.isDevelopment?"http://localhost:5065":"https://client.scalar.com");if(n.searchParams.set("url",r),null!==e.integration&&n.searchParams.set("integration",e.integration??"vue"),n.searchParams.set("utm_source","api-reference"),n.searchParams.set("utm_medium","button"),n.searchParams.set("utm_campaign",e.buttonSource),"gitbook"===e.source){n.searchParams.set("utm_source","gitbook");const e=document.querySelector("img.dark\\:block[alt='Logo']"),t=document.querySelector("img.dark\\:hidden[alt='Logo']");e&&e instanceof HTMLImageElement&&n.searchParams.set("dark_logo",encodeURIComponent(e.src)),t&&t instanceof HTMLImageElement&&n.searchParams.set("light_logo",encodeURIComponent(t.src))}return n.toString()}));return(e,r)=>t.value?(Dl(),Ll("a",{key:0,class:"open-api-client-button",href:t.value,target:"_blank"},[ql(Ao(A6),{icon:"ExternalLink",size:"xs",thickness:"2.5"}),r[0]||(r[0]=Zl(" Open API Client "))],8,V7)):Xl("",!0)}}),W7=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},X7=W7(Z7,[["__scopeId","data-v-f016469d"]]);let G7=[],Y7=[];function K7(e){if(e<768)return!1;for(let t=0,r=G7.length;;){let n=t+r>>1;if(e<G7[n])r=n;else{if(!(e>=Y7[n]))return!0;t=n+1}if(t==r)return!1}}function J7(e){return e>=127462&&e<=127487}(()=>{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,r=0;t<e.length;t++)(t%2?Y7:G7).push(r+=e[t])})();function e9(e,t,r=!0,n=!0){return(r?t9:r9)(e,t,n)}function t9(e,t,r){if(t==e.length)return t;t&&a9(e.charCodeAt(t))&&o9(e.charCodeAt(t-1))&&t--;let n=n9(e,t);for(t+=i9(n);t<e.length;){let a=n9(e,t);if(8205==n||8205==a||r&&K7(a))t+=i9(a),n=a;else{if(!J7(a))break;{let r=0,n=t-2;for(;n>=0&&J7(n9(e,n));)r++,n-=2;if(r%2==0)break;t+=2}}}return t}function r9(e,t,r){for(;t>0;){let n=t9(e,t-2,r);if(n<t)return n;t--}return 0}function n9(e,t){let r=e.charCodeAt(t);if(!o9(r)||t+1==e.length)return r;let n=e.charCodeAt(t+1);return a9(n)?n-56320+(r-55296<<10)+65536:r}function a9(e){return e>=56320&&e<57344}function o9(e){return e>=55296&&e<56320}function i9(e){return e<65536?1:2}class s9{lineAt(e){if(e<0||e>this.length)throw new 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 new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,r){[e,t]=g9(this,e,t);let n=[];return this.decompose(0,e,n,2),r.length&&r.decompose(0,r.length,n,3),this.decompose(t,this.length,n,1),c9.from(n,this.length-(t-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=g9(this,e,t);let r=[];return this.decompose(e,t,r,0),c9.from(r,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),r=this.length-this.scanIdentical(e,-1),n=new p9(this),a=new p9(e);for(let e=t,o=t;;){if(n.next(e),a.next(e),e=0,n.lineBreak!=a.lineBreak||n.done!=a.done||n.value!=a.value)return!1;if(o+=n.value.length,n.done||o>=r)return!0}}iter(e=1){return new p9(this,e)}iterRange(e,t=this.length){return new h9(this,e,t)}iterLines(e,t){let r;if(null==e)r=this.iter();else{null==t&&(t=this.lines+1);let n=this.line(e).from;r=this.iterRange(n,Math.max(n,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new f9(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw new RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new l9(e):c9.from(l9.split(e,[])):s9.empty}}class l9 extends s9{constructor(e,t=function(e){let t=-1;for(let r of e)t+=r.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,r,n){for(let a=0;;a++){let o=this.text[a],i=n+o.length;if((t?r:i)>=e)return new m9(n,i,r,o);n=i+1,r++}}decompose(e,t,r,n){let a=e<=0&&t>=this.length?this:new l9(d9(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&n){let e=r.pop(),t=u9(a.text,e.text.slice(),0,a.length);if(t.length<=32)r.push(new l9(t,e.length+a.length));else{let e=t.length>>1;r.push(new l9(t.slice(0,e)),new l9(t.slice(e)))}}else r.push(a)}replace(e,t,r){if(!(r instanceof l9))return super.replace(e,t,r);[e,t]=g9(this,e,t);let n=u9(this.text,u9(r.text,d9(this.text,0,e)),t),a=this.length+r.length-(t-e);return n.length<=32?new l9(n,a):c9.from(l9.split(n,[]),a)}sliceString(e,t=this.length,r="\n"){[e,t]=g9(this,e,t);let n="";for(let a=0,o=0;a<=t&&o<this.text.length;o++){let i=this.text[o],s=a+i.length;a>e&&o&&(n+=r),e<s&&t>a&&(n+=i.slice(Math.max(0,e-a),t-a)),a=s+1}return n}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let r=[],n=-1;for(let a of e)r.push(a),n+=a.length+1,32==r.length&&(t.push(new l9(r,n)),r=[],n=-1);return n>-1&&t.push(new l9(r,n)),t}}class c9 extends s9{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,r,n){for(let a=0;;a++){let o=this.children[a],i=n+o.length,s=r+o.lines-1;if((t?s:i)>=e)return o.lineInner(e,t,r,n);n=i+1,r=s+1}}decompose(e,t,r,n){for(let a=0,o=0;o<=t&&a<this.children.length;a++){let i=this.children[a],s=o+i.length;if(e<=s&&t>=o){let a=n&((o<=e?1:0)|(s>=t?2:0));o>=e&&s<=t&&!a?r.push(i):i.decompose(e-o,t-o,r,a)}o=s+1}}replace(e,t,r){if([e,t]=g9(this,e,t),r.lines<this.lines)for(let n=0,a=0;n<this.children.length;n++){let o=this.children[n],i=a+o.length;if(e>=a&&t<=i){let s=o.replace(e-a,t-a,r),l=this.lines-o.lines+s.lines;if(s.lines<l>>4&&s.lines>l>>6){let a=this.children.slice();return a[n]=s,new c9(a,this.length-(t-e)+r.length)}return super.replace(a,i,s)}a=i+1}return super.replace(e,t,r)}sliceString(e,t=this.length,r="\n"){[e,t]=g9(this,e,t);let n="";for(let a=0,o=0;a<this.children.length&&o<=t;a++){let i=this.children[a],s=o+i.length;o>e&&a&&(n+=r),e<s&&t>o&&(n+=i.sliceString(e-o,t-o,r)),o=s+1}return n}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof c9))return 0;let r=0,[n,a,o,i]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=t,a+=t){if(n==o||a==i)return r;let s=this.children[n],l=e.children[a];if(s!=l)return r+s.scanIdentical(l,t);r+=s.length+1}}static from(e,t=e.reduce(((e,t)=>e+t.length+1),-1)){let r=0;for(let t of e)r+=t.lines;if(r<32){let r=[];for(let t of e)t.flatten(r);return new l9(r,t)}let n=Math.max(32,r>>5),a=n<<1,o=n>>1,i=[],s=0,l=-1,c=[];function u(e){let t;if(e.lines>a&&e instanceof c9)for(let t of e.children)u(t);else e.lines>o&&(s>o||!s)?(d(),i.push(e)):e instanceof l9&&s&&(t=c[c.length-1])instanceof l9&&e.lines+t.lines<=32?(s+=e.lines,l+=e.length+1,c[c.length-1]=new l9(t.text.concat(e.text),t.length+1+e.length)):(s+e.lines>n&&d(),s+=e.lines,l+=e.length+1,c.push(e))}function d(){0!=s&&(i.push(1==c.length?c[0]:c9.from(c,l)),l=-1,s=c.length=0)}for(let t of e)u(t);return d(),1==i.length?i[0]:new c9(i,t)}}function u9(e,t,r=0,n=1e9){for(let a=0,o=0,i=!0;o<e.length&&a<=n;o++){let s=e[o],l=a+s.length;l>=r&&(l>n&&(s=s.slice(0,n-a)),a<r&&(s=s.slice(r-a)),i?(t[t.length-1]+=s,i=!1):t.push(s)),a=l+1}return t}function d9(e,t,r){return u9(e,[""],t,r)}s9.empty=new l9([""],0);class p9{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 l9?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,n=this.nodes[r],a=this.offsets[r],o=a>>1,i=n instanceof l9?n.text.length:n.children.length;if(o==(t>0?i:0)){if(0==r)return this.done=!0,this.value="",this;t>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&a)==(t>0?0:1)){if(this.offsets[r]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(n instanceof l9){let a=n.text[o+(t<0?-1:0)];if(this.offsets[r]+=t,a.length>Math.max(0,e))return this.value=0==e?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=n.children[o+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[r]+=t):(t<0&&this.offsets[r]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof l9?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class h9{constructor(e,t,r){this.value="",this.done=!1,this.cursor=new p9(e,t>r?-1:1),this.pos=t>r?e.length:0,this.from=Math.min(t,r),this.to=Math.max(t,r)}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 r=t<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:n}=this.cursor.next(e);return this.pos+=(n.length+e)*t,this.value=n.length<=r?n:t<0?n.slice(n.length-r):n.slice(0,r),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}}class f9{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:r,value:n}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(s9.prototype[Symbol.iterator]=function(){return this.iter()},p9.prototype[Symbol.iterator]=h9.prototype[Symbol.iterator]=f9.prototype[Symbol.iterator]=function(){return this});class m9{constructor(e,t,r,n){this.from=e,this.to=t,this.number=r,this.text=n}get length(){return this.to-this.from}}function g9(e,t,r){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,r))]}function b9(e,t,r=!0,n=!0){return e9(e,t,r,n)}function v9(e,t){let r=e.charCodeAt(t);if(!((n=r)>=55296&&n<56320&&t+1!=e.length))return r;var n;let a=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344}(a)?a-56320+(r-55296<<10)+65536:r}function y9(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function O9(e){return e<65536?1:2}const w9=/\r\n?|\n/;var x9=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(x9||(x9={}));class k9{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 r=this.sections[t+1];e+=r<0?this.sections[t]:r}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,r=0,n=0;t<this.sections.length;){let a=this.sections[t++],o=this.sections[t++];o<0?(e(r,n,a),n+=a):n+=o,r+=a}}iterChangedRanges(e,t=!1){T9(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let r=this.sections[t++],n=this.sections[t++];n<0?e.push(r,n):e.push(n,r)}return new k9(e)}composeDesc(e){return this.empty?e:e.empty?this:C9(this,e)}mapDesc(e,t=!1){return e.empty?this:A9(this,e,t)}mapPos(e,t=-1,r=x9.Simple){let n=0,a=0;for(let o=0;o<this.sections.length;){let i=this.sections[o++],s=this.sections[o++],l=n+i;if(s<0){if(l>e)return a+(e-n);a+=i}else{if(r!=x9.Simple&&l>=e&&(r==x9.TrackDel&&n<e&&l>e||r==x9.TrackBefore&&n<e||r==x9.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!i)return e==n||t<0?a:a+s;a+=s}n=l}if(e>n)throw new RangeError(`Position ${e} is out of range for changeset of length ${n}`);return a}touchesRange(e,t=e){for(let r=0,n=0;r<this.sections.length&&n<=t;){let a=n+this.sections[r++];if(this.sections[r++]>=0&&n<=t&&a>=e)return!(n<e&&a>t)||"cover";n=a}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let r=this.sections[t++],n=this.sections[t++];e+=(e?" ":"")+r+(n>=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some((e=>"number"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeDesc");return new k9(e)}static create(e){return new k9(e)}}class S9 extends k9{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return T9(this,((t,r,n,a,o)=>e=e.replace(n,n+(r-t),o)),!1),e}mapDesc(e,t=!1){return A9(this,e,t,!0)}invert(e){let t=this.sections.slice(),r=[];for(let n=0,a=0;n<t.length;n+=2){let o=t[n],i=t[n+1];if(i>=0){t[n]=i,t[n+1]=o;let s=n>>1;for(;r.length<s;)r.push(s9.empty);r.push(o?e.slice(a,a+o):s9.empty)}a+=o}return new S9(t,r)}compose(e){return this.empty?e:e.empty?this:C9(this,e,!0)}map(e,t=!1){return e.empty?this:A9(this,e,t,!0)}iterChanges(e,t=!1){T9(this,e,t)}get desc(){return k9.create(this.sections)}filter(e){let t=[],r=[],n=[],a=new P9(this);e:for(let o=0,i=0;;){let s=o==e.length?1e9:e[o++];for(;i<s||i==s&&0==a.len;){if(a.done)break e;let e=Math.min(a.len,s-i);_9(n,e,-1);let o=-1==a.ins?-1:0==a.off?a.ins:0;_9(t,e,o),o>0&&E9(r,t,a.text),a.forward(e),i+=e}let l=e[o++];for(;i<l;){if(a.done)break e;let e=Math.min(a.len,l-i);_9(t,e,-1),_9(n,e,-1==a.ins?-1:0==a.off?a.ins:0),a.forward(e),i+=e}}return{changes:new S9(t,r),filtered:k9.create(n)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let r=this.sections[t],n=this.sections[t+1];n<0?e.push(r):0==n?e.push([r]):e.push([r].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,r){let n=[],a=[],o=0,i=null;function s(e=!1){if(!e&&!n.length)return;o<t&&_9(n,t-o,-1);let r=new S9(n,a);i=i?i.compose(r.map(i)):r,n=[],a=[],o=0}return function e(l){if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof S9){if(l.length!=t)throw new RangeError(`Mismatched change set length (got ${l.length}, expected ${t})`);s(),i=i?i.compose(l.map(i)):l}else{let{from:e,to:i=e,insert:c}=l;if(e>i||e<0||i>t)throw new RangeError(`Invalid change range ${e} to ${i} (in doc of length ${t})`);let u=c?"string"==typeof c?s9.of(c.split(r||w9)):c:s9.empty,d=u.length;if(e==i&&0==d)return;e<o&&s(),e>o&&_9(n,e-o,-1),_9(n,i-e,d),E9(a,n,u),o=i}}(e),s(!i),i}static empty(e){return new S9(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],r=[];for(let n=0;n<e.length;n++){let a=e[n];if("number"==typeof a)t.push(a,-1);else{if(!Array.isArray(a)||"number"!=typeof a[0]||a.some(((e,t)=>t&&"string"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==a.length)t.push(a[0],0);else{for(;r.length<n;)r.push(s9.empty);r[n]=s9.of(a.slice(1)),t.push(a[0],r[n].length)}}}return new S9(t,r)}static createSet(e,t){return new S9(e,t)}}function _9(e,t,r,n=!1){if(0==t&&r<=0)return;let a=e.length-2;a>=0&&r<=0&&r==e[a+1]?e[a]+=t:a>=0&&0==t&&0==e[a]?e[a+1]+=r:n?(e[a]+=t,e[a+1]+=r):e.push(t,r)}function E9(e,t,r){if(0==r.length)return;let n=t.length-2>>1;if(n<e.length)e[e.length-1]=e[e.length-1].append(r);else{for(;e.length<n;)e.push(s9.empty);e.push(r)}}function T9(e,t,r){let n=e.inserted;for(let a=0,o=0,i=0;i<e.sections.length;){let s=e.sections[i++],l=e.sections[i++];if(l<0)a+=s,o+=s;else{let c=a,u=o,d=s9.empty;for(;c+=s,u+=l,l&&n&&(d=d.append(n[i-2>>1])),!(r||i==e.sections.length||e.sections[i+1]<0);)s=e.sections[i++],l=e.sections[i++];t(a,c,o,u,d),a=c,o=u}}}function A9(e,t,r,n=!1){let a=[],o=n?[]:null,i=new P9(e),s=new P9(t);for(let e=-1;;){if(i.done&&s.len||s.done&&i.len)throw new Error("Mismatched change set lengths");if(-1==i.ins&&-1==s.ins){let e=Math.min(i.len,s.len);_9(a,e,-1),i.forward(e),s.forward(e)}else if(s.ins>=0&&(i.ins<0||e==i.i||0==i.off&&(s.len<i.len||s.len==i.len&&!r))){let t=s.len;for(_9(a,s.ins,-1);t;){let r=Math.min(i.len,t);i.ins>=0&&e<i.i&&i.len<=r&&(_9(a,0,i.ins),o&&E9(o,a,i.text),e=i.i),i.forward(r),t-=r}s.next()}else{if(!(i.ins>=0)){if(i.done&&s.done)return o?S9.createSet(a,o):k9.create(a);throw new Error("Mismatched change set lengths")}{let t=0,r=i.len;for(;r;)if(-1==s.ins){let e=Math.min(r,s.len);t+=e,r-=e,s.forward(e)}else{if(!(0==s.ins&&s.len<r))break;r-=s.len,s.next()}_9(a,t,e<i.i?i.ins:0),o&&e<i.i&&E9(o,a,i.text),e=i.i,i.forward(i.len-r)}}}}function C9(e,t,r=!1){let n=[],a=r?[]:null,o=new P9(e),i=new P9(t);for(let e=!1;;){if(o.done&&i.done)return a?S9.createSet(n,a):k9.create(n);if(0==o.ins)_9(n,o.len,0,e),o.next();else if(0!=i.len||i.done){if(o.done||i.done)throw new Error("Mismatched change set lengths");{let t=Math.min(o.len2,i.len),r=n.length;if(-1==o.ins){let r=-1==i.ins?-1:i.off?0:i.ins;_9(n,t,r,e),a&&r&&E9(a,n,i.text)}else-1==i.ins?(_9(n,o.off?0:o.len,t,e),a&&E9(a,n,o.textBit(t))):(_9(n,o.off?0:o.len,i.off?0:i.ins,e),a&&!i.off&&E9(a,n,i.text));e=(o.ins>t||i.ins>=0&&i.len>t)&&(e||n.length>r),o.forward2(t),i.forward(t)}}else _9(n,0,i.ins,e),a&&E9(a,n,i.text),i.next()}}class P9{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-2==this.ins}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?s9.empty:e[t]}textBit(e){let{inserted:t}=this.set,r=this.i-2>>1;return r>=t.length&&!e?s9.empty:t[r].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class $9{constructor(e,t,r){this.from=e,this.to=t,this.flags=r}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(e,t=-1){let r,n;return this.empty?r=n=e.mapPos(this.from,t):(r=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),r==this.from&&n==this.to?this:new $9(r,n,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return M9.range(e,t);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return M9.range(this.anchor,r)}eq(e,t=!1){return!(this.anchor!=e.anchor||this.head!=e.head||t&&this.empty&&this.assoc!=e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return M9.range(e.anchor,e.head)}static create(e,t,r){return new $9(e,t,r)}}class M9{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:M9.create(this.ranges.map((r=>r.map(e,t))),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;r<this.ranges.length;r++)if(!this.ranges[r].eq(e.ranges[r],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new M9([this.main],0)}addRange(e,t=!0){return M9.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let r=this.ranges.slice();return r[t]=e,M9.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map((e=>e.toJSON())),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new M9(e.ranges.map((e=>$9.fromJSON(e))),e.main)}static single(e,t=e){return new M9([M9.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw new RangeError("A selection needs at least one range");for(let r=0,n=0;n<e.length;n++){let a=e[n];if(a.empty?a.from<=r:a.from<r)return M9.normalized(e.slice(),t);r=a.to}return new M9(e,t)}static cursor(e,t=0,r,n){return $9.create(e,e,(0==t?0:t<0?8:16)|(null==r?7:Math.min(6,r))|(null!=n?n:16777215)<<6)}static range(e,t,r,n){let a=(null!=r?r:16777215)<<6|(null==n?7:Math.min(6,n));return t<e?$9.create(t,e,48|a):$9.create(e,t,(t>e?8:0)|a)}static normalized(e,t=0){let r=e[t];e.sort(((e,t)=>e.from-t.from)),t=e.indexOf(r);for(let r=1;r<e.length;r++){let n=e[r],a=e[r-1];if(n.empty?n.from<=a.to:n.from<a.to){let o=a.from,i=Math.max(n.to,a.to);r<=t&&t--,e.splice(--r,2,n.anchor>n.head?M9.range(i,o):M9.range(o,i))}}return new M9(e,t)}}function D9(e,t){for(let r of e.ranges)if(r.to>t)throw new RangeError("Selection points outside of document")}let R9=0;class N9{constructor(e,t,r,n,a){this.combine=e,this.compareInput=t,this.compare=r,this.isStatic=n,this.id=R9++,this.default=e([]),this.extensions="function"==typeof a?a(this):a}get reader(){return this}static define(e={}){return new N9(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:I9),!!e.static,e.enables)}of(e){return new L9([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new L9(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new L9(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],(r=>t(r.field(e))))}}function I9(e,t){return e==t||e.length==t.length&&e.every(((e,r)=>e===t[r]))}class L9{constructor(e,t,r,n){this.dependencies=e,this.facet=t,this.type=r,this.value=n,this.id=R9++}dynamicSlot(e){var t;let r=this.value,n=this.facet.compareInput,a=this.id,o=e[a]>>1,i=2==this.type,s=!1,l=!1,c=[];for(let r of this.dependencies)"doc"==r?s=!0:"selection"==r?l=!0:1&(null!==(t=e[r.id])&&void 0!==t?t:1)||c.push(e[r.id]);return{create:e=>(e.values[o]=r(e),1),update(e,t){if(s&&t.docChanged||l&&(t.docChanged||t.selection)||B9(e,c)){let t=r(e);if(i?!j9(t,e.values[o],n):!n(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>{let s,l=t.config.address[a];if(null!=l){let a=G9(t,l);if(this.dependencies.every((r=>r instanceof N9?t.facet(r)===e.facet(r):!(r instanceof Q9)||t.field(r,!1)==e.field(r,!1)))||(i?j9(s=r(e),a,n):n(s=r(e),a)))return e.values[o]=a,0}else s=r(e);return e.values[o]=s,1}}}}function j9(e,t,r){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1;return!0}function B9(e,t){let r=!1;for(let n of t)1&X9(e,n)&&(r=!0);return r}function U9(e,t,r){let n=r.map((t=>e[t.id])),a=r.map((e=>e.type)),o=n.filter((e=>!(1&e))),i=e[t.id]>>1;function s(e){let r=[];for(let t=0;t<n.length;t++){let o=G9(e,n[t]);if(2==a[t])for(let e of o)r.push(e);else r.push(o)}return t.combine(r)}return{create(e){for(let t of n)X9(e,t);return e.values[i]=s(e),1},update(e,r){if(!B9(e,o))return 0;let n=s(e);return t.compare(n,e.values[i])?0:(e.values[i]=n,1)},reconfigure(e,a){let o=B9(e,n),l=a.config.facets[t.id],c=a.facet(t);if(l&&!o&&I9(r,l))return e.values[i]=c,0;let u=s(e);return t.compare(u,c)?(e.values[i]=c,0):(e.values[i]=u,1)}}}const F9=N9.define({static:!0});class Q9{constructor(e,t,r,n,a){this.id=e,this.createF=t,this.updateF=r,this.compareF=n,this.spec=a,this.provides=void 0}static define(e){let t=new Q9(R9++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(F9).find((e=>e.field==this));return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,r)=>{let n=e.values[t],a=this.updateF(n,r);return this.compareF(n,a)?0:(e.values[t]=a,1)},reconfigure:(e,r)=>null!=r.config.address[this.id]?(e.values[t]=r.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,F9.of({field:this,create:e})]}get extension(){return this}}function z9(e){return t=>new H9(t,e)}const q9={highest:z9(0),high:z9(1),default:z9(2),low:z9(3),lowest:z9(4)};class H9{constructor(e,t){this.inner=e,this.prec=t}}class V9{of(e){return new Z9(this,e)}reconfigure(e){return V9.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Z9{constructor(e,t){this.compartment=e,this.inner=t}}class W9{constructor(e,t,r,n,a,o){for(this.base=e,this.compartments=t,this.dynamicSlots=r,this.address=n,this.staticValues=a,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,r){let n=[],a=Object.create(null),o=new Map;for(let r of function(e,t,r){let n=[[],[],[],[],[]],a=new Map;return function e(o,i){let s=a.get(o);if(null!=s){if(s<=i)return;let e=n[s].indexOf(o);e>-1&&n[s].splice(e,1),o instanceof Z9&&r.delete(o.compartment)}if(a.set(o,i),Array.isArray(o))for(let t of o)e(t,i);else if(o instanceof Z9){if(r.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let n=t.get(o.compartment)||o.inner;r.set(o.compartment,n),e(n,i)}else if(o instanceof H9)e(o.inner,o.prec);else if(o instanceof Q9)n[i].push(o),o.provides&&e(o.provides,i);else if(o instanceof L9)n[i].push(o),o.facet.extensions&&e(o.facet.extensions,2);else{let t=o.extension;if(!t)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(t,i)}}(e,2),n.reduce(((e,t)=>e.concat(t)))}(e,t,o))r instanceof Q9?n.push(r):(a[r.facet.id]||(a[r.facet.id]=[])).push(r);let i=Object.create(null),s=[],l=[];for(let e of n)i[e.id]=l.length<<1,l.push((t=>e.slot(t)));let c=null==r?void 0:r.config.facets;for(let e in a){let t=a[e],n=t[0].facet,o=c&&c[e]||[];if(t.every((e=>0==e.type)))if(i[n.id]=s.length<<1|1,I9(o,t))s.push(r.facet(n));else{let e=n.combine(t.map((e=>e.value)));s.push(r&&n.compare(e,r.facet(n))?r.facet(n):e)}else{for(let e of t)0==e.type?(i[e.id]=s.length<<1|1,s.push(e.value)):(i[e.id]=l.length<<1,l.push((t=>e.dynamicSlot(t))));i[n.id]=l.length<<1,l.push((e=>U9(e,n,t)))}}let u=l.map((e=>e(i)));return new W9(e,o,u,i,s,a)}}function X9(e,t){if(1&t)return 2;let r=t>>1,n=e.status[r];if(4==n)throw new Error("Cyclic dependency between fields and/or facets");if(2&n)return n;e.status[r]=4;let a=e.computeSlot(e,e.config.dynamicSlots[r]);return e.status[r]=2|a}function G9(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}const Y9=N9.define(),K9=N9.define({combine:e=>e.some((e=>e)),static:!0}),J9=N9.define({combine:e=>e.length?e[0]:void 0,static:!0}),eee=N9.define(),tee=N9.define(),ree=N9.define(),nee=N9.define({combine:e=>!!e.length&&e[0]});class aee{constructor(e,t){this.type=e,this.value=t}static define(){return new oee}}class oee{of(e){return new aee(this,e)}}class iee{constructor(e){this.map=e}of(e){return new see(this,e)}}class see{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new see(this.type,t)}is(e){return this.type==e}static define(e={}){return new iee(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let r=[];for(let n of e){let e=n.map(t);e&&r.push(e)}return r}}see.reconfigure=see.define(),see.appendConfig=see.define();class lee{constructor(e,t,r,n,a,o){this.startState=e,this.changes=t,this.selection=r,this.effects=n,this.annotations=a,this.scrollIntoView=o,this._doc=null,this._state=null,r&&D9(r,t.newLength),a.some((e=>e.type==lee.time))||(this.annotations=a.concat(lee.time.of(Date.now())))}static create(e,t,r,n,a,o){return new lee(e,t,r,n,a,o)}get newDoc(){return this._doc||(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(e){let t=this.annotation(lee.userEvent);return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function cee(e,t){let r=[];for(let n=0,a=0;;){let o,i;if(n<e.length&&(a==t.length||t[a]>=e[n]))o=e[n++],i=e[n++];else{if(!(a<t.length))return r;o=t[a++],i=t[a++]}!r.length||r[r.length-1]<o?r.push(o,i):r[r.length-1]<i&&(r[r.length-1]=i)}}function uee(e,t,r){var n;let a,o,i;return r?(a=t.changes,o=S9.empty(t.changes.length),i=e.changes.compose(t.changes)):(a=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),i=e.changes.compose(a)),{changes:i,selection:t.selection?t.selection.map(o):null===(n=e.selection)||void 0===n?void 0:n.map(a),effects:see.mapEffects(e.effects,a).concat(see.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function dee(e,t,r){let n=t.selection,a=fee(t.annotations);return t.userEvent&&(a=a.concat(lee.userEvent.of(t.userEvent))),{changes:t.changes instanceof S9?t.changes:S9.of(t.changes||[],r,e.facet(J9)),selection:n&&(n instanceof M9?n:M9.single(n.anchor,n.head)),effects:fee(t.effects),annotations:a,scrollIntoView:!!t.scrollIntoView}}function pee(e,t,r){let n=dee(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(r=!1);for(let a=1;a<t.length;a++){!1===t[a].filter&&(r=!1);let o=!!t[a].sequential;n=uee(n,dee(e,t[a],o?n.changes.newLength:e.doc.length),o)}let a=lee.create(e,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return function(e){let t=e.startState,r=t.facet(ree),n=e;for(let a=r.length-1;a>=0;a--){let o=r[a](e);o&&Object.keys(o).length&&(n=uee(n,dee(t,o,e.changes.newLength),!0))}return n==e?e:lee.create(t,e.changes,e.selection,n.effects,n.annotations,n.scrollIntoView)}(r?function(e){let t=e.startState,r=!0;for(let n of t.facet(eee)){let t=n(e);if(!1===t){r=!1;break}Array.isArray(t)&&(r=!0===r?t:cee(r,t))}if(!0!==r){let n,a;if(!1===r)a=e.changes.invertedDesc,n=S9.empty(t.doc.length);else{let t=e.changes.filter(r);n=t.changes,a=t.filtered.mapDesc(t.changes).invertedDesc}e=lee.create(t,n,e.selection&&e.selection.map(a),see.mapEffects(e.effects,a),e.annotations,e.scrollIntoView)}let n=t.facet(tee);for(let r=n.length-1;r>=0;r--){let a=n[r](e);e=a instanceof lee?a:Array.isArray(a)&&1==a.length&&a[0]instanceof lee?a[0]:pee(t,fee(a),!1)}return e}(a):a)}lee.time=aee.define(),lee.userEvent=aee.define(),lee.addToHistory=aee.define(),lee.remote=aee.define();const hee=[];function fee(e){return null==e?hee:Array.isArray(e)?e:[e]}var mee=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(mee||(mee={}));const gee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let bee;try{bee=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class vee{constructor(e,t,r,n,a,o){this.config=e,this.doc=t,this.selection=r,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=a,o&&(o._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)X9(this,e<<1);this.computeSlot=null}field(e,t=!0){let r=this.config.address[e.id];if(null!=r)return X9(this,r),G9(this,r);if(t)throw new RangeError("Field is not present in this state")}update(...e){return pee(this,e,!0)}applyTransaction(e){let t,r=this.config,{base:n,compartments:a}=r;for(let t of e.effects)t.is(V9.reconfigure)?(r&&(a=new Map,r.compartments.forEach(((e,t)=>a.set(t,e))),r=null),a.set(t.value.compartment,t.value.extension)):t.is(see.reconfigure)?(r=null,n=t.value):t.is(see.appendConfig)&&(r=null,n=fee(n).concat(t.value));r?t=e.startState.values.slice():(r=W9.resolve(n,a,this),t=new vee(r,this.doc,this.selection,r.dynamicSlots.map((()=>null)),((e,t)=>t.reconfigure(e,this)),null).values);let o=e.startState.facet(K9)?e.newSelection:e.newSelection.asSingle();new vee(r,e.newDoc,o,t,((t,r)=>r.update(t,e)),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange((t=>({changes:{from:t.from,to:t.to,insert:e},range:M9.cursor(t.from+e.length)})))}changeByRange(e){let t=this.selection,r=e(t.ranges[0]),n=this.changes(r.changes),a=[r.range],o=fee(r.effects);for(let r=1;r<t.ranges.length;r++){let i=e(t.ranges[r]),s=this.changes(i.changes),l=s.map(n);for(let e=0;e<r;e++)a[e]=a[e].map(l);let c=n.mapDesc(s,!0);a.push(i.range.map(c)),n=n.compose(l),o=see.mapEffects(o,l).concat(see.mapEffects(fee(i.effects),c))}return{changes:n,selection:M9.create(a,t.mainIndex),effects:o}}changes(e=[]){return e instanceof S9?e:S9.of(e,this.doc.length,this.facet(vee.lineSeparator))}toText(e){return s9.of(e.split(this.facet(vee.lineSeparator)||w9))}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 null==t?e.default:(X9(this,t),G9(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let r in e){let n=e[r];n instanceof Q9&&null!=this.config.address[n.id]&&(t[r]=n.spec.toJSON(this.field(e[r]),this))}return t}static fromJSON(e,t={},r){if(!e||"string"!=typeof e.doc)throw new RangeError("Invalid JSON representation for EditorState");let n=[];if(r)for(let t in r)if(Object.prototype.hasOwnProperty.call(e,t)){let a=r[t],o=e[t];n.push(a.init((e=>a.spec.fromJSON(o,e))))}return vee.create({doc:e.doc,selection:M9.fromJSON(e.selection),extensions:t.extensions?n.concat([t.extensions]):n})}static create(e={}){let t=W9.resolve(e.extensions||[],new Map),r=e.doc instanceof s9?e.doc:s9.of((e.doc||"").split(t.staticFacet(vee.lineSeparator)||w9)),n=e.selection?e.selection instanceof M9?e.selection:M9.single(e.selection.anchor,e.selection.head):M9.single(0);return D9(n,r.length),t.staticFacet(K9)||(n=n.asSingle()),new vee(t,r,n,t.dynamicSlots.map((()=>null)),((e,t)=>t.create(e)),null)}get tabSize(){return this.facet(vee.tabSize)}get lineBreak(){return this.facet(vee.lineSeparator)||"\n"}get readOnly(){return this.facet(nee)}phrase(e,...t){for(let t of this.facet(vee.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,((e,r)=>{if("$"==r)return"$";let n=+(r||1);return!n||n>t.length?e:t[n-1]}))),e}languageDataAt(e,t,r=-1){let n=[];for(let a of this.facet(Y9))for(let o of a(this,t,r))Object.prototype.hasOwnProperty.call(o,e)&&n.push(o[e]);return n}charCategorizer(e){return function(e){return t=>{if(!/\S/.test(t))return mee.Space;if(function(e){if(bee)return bee.test(e);for(let t=0;t<e.length;t++){let r=e[t];if(/\w/.test(r)||r>""&&(r.toUpperCase()!=r.toLowerCase()||gee.test(r)))return!0}return!1}(t))return mee.Word;for(let r=0;r<e.length;r++)if(t.indexOf(e[r])>-1)return mee.Word;return mee.Other}}(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:r,length:n}=this.doc.lineAt(e),a=this.charCategorizer(e),o=e-r,i=e-r;for(;o>0;){let e=b9(t,o,!1);if(a(t.slice(e,o))!=mee.Word)break;o=e}for(;i<n;){let e=b9(t,i);if(a(t.slice(i,e))!=mee.Word)break;i=e}return o==i?null:M9.range(o+r,i+r)}}function yee(e,t,r={}){let n={};for(let t of e)for(let e of Object.keys(t)){let a=t[e],o=n[e];if(void 0===o)n[e]=a;else if(o===a||void 0===a);else{if(!Object.hasOwnProperty.call(r,e))throw new Error("Config merge conflict for field "+e);n[e]=r[e](o,a)}}for(let e in t)void 0===n[e]&&(n[e]=t[e]);return n}vee.allowMultipleSelections=K9,vee.tabSize=N9.define({combine:e=>e.length?e[0]:4}),vee.lineSeparator=J9,vee.readOnly=nee,vee.phrases=N9.define({compare(e,t){let r=Object.keys(e),n=Object.keys(t);return r.length==n.length&&r.every((r=>e[r]==t[r]))}}),vee.languageData=Y9,vee.changeFilter=eee,vee.transactionFilter=tee,vee.transactionExtender=ree,V9.reconfigure=see.define();class Oee{eq(e){return this==e}range(e,t=e){return wee.create(e,t,this)}}Oee.prototype.startSide=Oee.prototype.endSide=0,Oee.prototype.point=!1,Oee.prototype.mapMode=x9.TrackDel;let wee=class e{constructor(e,t,r){this.from=e,this.to=t,this.value=r}static create(t,r,n){return new e(t,r,n)}};function xee(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class kee{constructor(e,t,r,n){this.from=e,this.to=t,this.value=r,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(e,t,r,n=0){let a=r?this.to:this.from;for(let o=n,i=a.length;;){if(o==i)return o;let n=o+i>>1,s=a[n]-e||(r?this.value[n].endSide:this.value[n].startSide)-t;if(n==o)return s>=0?o:i;s>=0?i=n:o=n+1}}between(e,t,r,n){for(let a=this.findIndex(t,-1e9,!0),o=this.findIndex(r,1e9,!1,a);a<o;a++)if(!1===n(this.from[a]+e,this.to[a]+e,this.value[a]))return!1}map(e,t){let r=[],n=[],a=[],o=-1,i=-1;for(let s=0;s<this.value.length;s++){let l,c,u=this.value[s],d=this.from[s]+e,p=this.to[s]+e;if(d==p){let e=t.mapPos(d,u.startSide,u.mapMode);if(null==e)continue;if(l=c=e,u.startSide!=u.endSide&&(c=t.mapPos(d,u.endSide),c<l))continue}else if(l=t.mapPos(d,u.startSide),c=t.mapPos(p,u.endSide),l>c||l==c&&u.startSide>0&&u.endSide<=0)continue;(c-l||u.endSide-u.startSide)<0||(o<0&&(o=l),u.point&&(i=Math.max(i,c-l)),r.push(u),n.push(l-o),a.push(c-o))}return{mapped:r.length?new kee(n,a,r,i):null,pos:o}}}class See{constructor(e,t,r,n){this.chunkPos=e,this.chunk=t,this.nextLayer=r,this.maxPoint=n}static create(e,t,r,n){return new See(e,t,r,n)}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(e){let{add:t=[],sort:r=!1,filterFrom:n=0,filterTo:a=this.length}=e,o=e.filter;if(0==t.length&&!o)return this;if(r&&(t=t.slice().sort(xee)),this.isEmpty)return t.length?See.of(t):this;let i=new Tee(this,null,-1).goto(0),s=0,l=[],c=new _ee;for(;i.value||s<t.length;)if(s<t.length&&(i.from-t[s].from||i.startSide-t[s].value.startSide)>=0){let e=t[s++];c.addInner(e.from,e.to,e.value)||l.push(e)}else 1==i.rangeIndex&&i.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(i.chunkIndex)<t[s].from)&&(!o||n>this.chunkEnd(i.chunkIndex)||a<this.chunkPos[i.chunkIndex])&&c.addChunk(this.chunkPos[i.chunkIndex],this.chunk[i.chunkIndex])?i.nextChunk():((!o||n>i.to||a<i.from||o(i.from,i.to,i.value))&&(c.addInner(i.from,i.to,i.value)||l.push(wee.create(i.from,i.to,i.value))),i.next());return c.finishInner(this.nextLayer.isEmpty&&!l.length?See.empty:this.nextLayer.update({add:l,filter:o,filterFrom:n,filterTo:a}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],r=[],n=-1;for(let a=0;a<this.chunk.length;a++){let o=this.chunkPos[a],i=this.chunk[a],s=e.touchesRange(o,o+i.length);if(!1===s)n=Math.max(n,i.maxPoint),t.push(i),r.push(e.mapPos(o));else if(!0===s){let{mapped:a,pos:s}=i.map(o,e);a&&(n=Math.max(n,a.maxPoint),t.push(a),r.push(s))}}let a=this.nextLayer.map(e);return 0==t.length?a:new See(r,t,a||See.empty,n)}between(e,t,r){if(!this.isEmpty){for(let n=0;n<this.chunk.length;n++){let a=this.chunkPos[n],o=this.chunk[n];if(t>=a&&e<=a+o.length&&!1===o.between(a,e-a,t-a,r))return}this.nextLayer.between(e,t,r)}}iter(e=0){return Aee.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Aee.from(e).goto(t)}static compare(e,t,r,n,a=-1){let o=e.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=a)),i=t.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=a)),s=Eee(o,i,r),l=new Pee(o,s,a),c=new Pee(i,s,a);r.iterGaps(((e,t,r)=>$ee(l,e,c,t,r,n))),r.empty&&0==r.length&&$ee(l,0,c,0,0,n)}static eq(e,t,r=0,n){null==n&&(n=999999999);let a=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0)),o=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0));if(a.length!=o.length)return!1;if(!a.length)return!0;let i=Eee(a,o),s=new Pee(a,i,0).goto(r),l=new Pee(o,i,0).goto(r);for(;;){if(s.to!=l.to||!Mee(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1;if(s.to>n)return!0;s.next(),l.next()}}static spans(e,t,r,n,a=-1){let o=new Pee(e,null,a).goto(t),i=t,s=o.openStart;for(;;){let e=Math.min(o.to,r);if(o.point){let r=o.activeForPoint(o.to),a=o.pointFrom<t?r.length+1:o.point.startSide<0?r.length:Math.min(r.length,s);n.point(i,e,o.point,r,a,o.pointRank),s=Math.min(o.openEnd(e),r.length)}else e>i&&(n.span(i,e,o.active,s),s=o.openEnd(e));if(o.to>r)return s+(o.point&&o.to>r?1:0);i=o.to,o.next()}}static of(e,t=!1){let r=new _ee;for(let n of e instanceof wee?[e]:t?function(e){if(e.length>1)for(let t=e[0],r=1;r<e.length;r++){let n=e[r];if(xee(t,n)>0)return e.slice().sort(xee);t=n}return e}(e):e)r.add(n.from,n.to,n.value);return r.finish()}static join(e){if(!e.length)return See.empty;let t=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let n=e[r];n!=See.empty;n=n.nextLayer)t=new See(n.chunkPos,n.chunk,t,Math.max(n.maxPoint,t.maxPoint));return t}}See.empty=new See([],[],null,-1),See.empty.nextLayer=See.empty;class _ee{finishChunk(e){this.chunks.push(new kee(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,r){this.addInner(e,t,r)||(this.nextLayer||(this.nextLayer=new _ee)).add(e,t,r)}addInner(e,t,r){let n=e-this.lastTo||r.startSide-this.last.endSide;if(n<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(n<0||(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=t,this.value.push(r),r.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 r=t.value.length-1;return this.last=t.value[r],this.lastFrom=t.from[r]+e,this.lastTo=t.to[r]+e,!0}finish(){return this.finishInner(See.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=See.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Eee(e,t,r){let n=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&n.set(t.chunk[e],t.chunkPos[e]);let a=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let o=n.get(e.chunk[t]);null==o||(r?r.mapPos(o):o)!=e.chunkPos[t]||(null==r?void 0:r.touchesRange(o,o+e.chunk[t].length))||a.add(e.chunk[t])}return a}class Tee{constructor(e,t,r,n=0){this.layer=e,this.skip=t,this.minPoint=r,this.rank=n}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,r){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++,r=!1}if(this.chunkIndex<this.layer.chunk.length){let n=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!r||this.rangeIndex<n)&&this.setRangeIndex(n)}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}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],r=e+t.from[this.rangeIndex];if(this.from=r,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}}class Aee{constructor(e){this.heap=e}static from(e,t=null,r=-1){let n=[];for(let a=0;a<e.length;a++)for(let o=e[a];!o.isEmpty;o=o.nextLayer)o.maxPoint>=r&&n.push(new Tee(o,t,r,a));return 1==n.length?n[0]:new Aee(n)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let r of this.heap)r.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)Cee(this.heap,e);return this.next(),this}forward(e,t){for(let r of this.heap)r.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)Cee(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(0==this.heap.length)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(),Cee(this.heap,0)}}}function Cee(e,t){for(let r=e[t];;){let n=1+(t<<1);if(n>=e.length)break;let a=e[n];if(n+1<e.length&&a.compare(e[n+1])>=0&&(a=e[n+1],n++),r.compare(a)<0)break;e[n]=r,e[t]=a,t=n}}class Pee{constructor(e,t,r){this.minPoint=r,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=Aee.from(e,t,r)}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){Dee(this.active,e),Dee(this.activeTo,e),Dee(this.activeRank,e),this.minActive=Nee(this.active,this.activeTo)}addActive(e){let t=0,{value:r,to:n,rank:a}=this.cursor;for(;t<this.activeRank.length&&(a-this.activeRank[t]||n-this.activeTo[t])>0;)t++;Ree(this.active,t,r),Ree(this.activeTo,t,n),Ree(this.activeRank,t,a),e&&Ree(e,t,this.cursor.from),this.minActive=Nee(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let n=this.minActive;if(n>-1&&(this.activeTo[n]-this.cursor.from||this.active[n].endSide-this.cursor.startSide)<0){if(this.activeTo[n]>e){this.to=this.activeTo[n],this.endSide=this.active[n].endSide;break}this.removeActive(n),r&&Dee(r,n)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){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}this.cursor.next()}else this.addActive(r),this.cursor.next()}}}if(r){this.openStart=0;for(let t=r.length-1;t>=0&&r[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let r=this.active.length-1;r>=0&&!(this.activeRank[r]<this.pointRank);r--)(this.activeTo[r]>e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&t.push(this.active[r]);return t.reverse()}openEnd(e){let t=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)t++;return t}}function $ee(e,t,r,n,a,o){e.goto(t),r.goto(n);let i=n+a,s=n,l=n-t;for(;;){let t=e.to+l-r.to,n=t||e.endSide-r.endSide,a=n<0?e.to+l:r.to,c=Math.min(a,i);if(e.point||r.point?e.point&&r.point&&(e.point==r.point||e.point.eq(r.point))&&Mee(e.activeForPoint(e.to),r.activeForPoint(r.to))||o.comparePoint(s,c,e.point,r.point):c>s&&!Mee(e.active,r.active)&&o.compareRange(s,c,e.active,r.active),a>i)break;(t||e.openEnd!=r.openEnd)&&o.boundChange&&o.boundChange(a),s=a,n<=0&&e.next(),n>=0&&r.next()}}function Mee(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!=t[r]&&!e[r].eq(t[r]))return!1;return!0}function Dee(e,t){for(let r=t,n=e.length-1;r<n;r++)e[r]=e[r+1];e.pop()}function Ree(e,t,r){for(let r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=r}function Nee(e,t){let r=-1,n=1e9;for(let a=0;a<t.length;a++)(t[a]-n||e[a].endSide-e[r].endSide)<0&&(r=a,n=t[a]);return r}function Iee(e,t,r=e.length){let n=0;for(let a=0;a<r;)9==e.charCodeAt(a)?(n+=t-n%t,a++):(n++,a=b9(e,a));return n}const Lee="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),jee="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),Bee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class Uee{constructor(e,t){this.rules=[];let{finish:r}=t||{};function n(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function a(e,t,o,i){let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1];if(l&&null==t)return o.push(e[0]+";");for(let r in t){let i=t[r];if(/&/.test(r))a(r.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),i,o);else if(i&&"object"==typeof i){if(!l)throw new RangeError("The value of a property ("+r+") should be a primitive value.");a(n(r),i,s,c)}else null!=i&&s.push(r.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+i+";")}(s.length||c)&&o.push((!r||l||i?e:e.map(r)).join(", ")+" {"+s.join(" ")+"}")}for(let t in e)a(n(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=Bee[Lee]||1;return Bee[Lee]=e+1,"ͼ"+e.toString(36)}static mount(e,t,r){let n=e[jee],a=r&&r.nonce;n?a&&n.setNonce(a):n=new Qee(e,a),n.mount(Array.isArray(t)?t:[t],e)}}let Fee=new Map;class Qee{constructor(e,t){let r=e.ownerDocument||e,n=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let t=Fee.get(r);if(t)return e[jee]=t;this.sheet=new n.CSSStyleSheet,Fee.set(r,this)}else this.styleTag=r.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[jee]=this}mount(e,t){let r=this.sheet,n=0,a=0;for(let t=0;t<e.length;t++){let o=e[t],i=this.modules.indexOf(o);if(i<a&&i>-1&&(this.modules.splice(i,1),a--,i=-1),-1==i){if(this.modules.splice(a++,0,o),r)for(let e=0;e<o.rules.length;e++)r.insertRule(o.rules[e],n++)}else{for(;a<i;)n+=this.modules[a++].rules.length;n+=o.rules.length,a++}}if(r)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()+"\n";this.styleTag.textContent=e;let r=t.head||t;this.styleTag.parentNode!=r&&r.insertBefore(this.styleTag,r.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}for(var zee={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:"'"},qee={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Hee="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),Vee="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Zee=0;Zee<10;Zee++)zee[48+Zee]=zee[96+Zee]=String(Zee);for(Zee=1;Zee<=24;Zee++)zee[Zee+111]="F"+Zee;for(Zee=65;Zee<=90;Zee++)zee[Zee]=String.fromCharCode(Zee+32),qee[Zee]=String.fromCharCode(Zee);for(var Wee in zee)qee.hasOwnProperty(Wee)||(qee[Wee]=zee[Wee]);function Xee(e){let t;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function Gee(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function Yee(e,t){if(!t.anchorNode)return!1;try{return Gee(e,t.anchorNode)}catch(e){return!1}}function Kee(e){return 3==e.nodeType?dte(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function Jee(e,t,r,n){return!!r&&(rte(e,t,r,n,-1)||rte(e,t,r,n,1))}function ete(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function tte(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function rte(e,t,r,n,a){for(;;){if(e==r&&t==n)return!0;if(t==(a<0?0:nte(e))){if("DIV"==e.nodeName)return!1;let r=e.parentNode;if(!r||1!=r.nodeType)return!1;t=ete(e)+(a<0?0:1),e=r}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(a<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=a<0?nte(e):0}}}function nte(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function ate(e,t){let r=t?e.left:e.right;return{left:r,right:r,top:e.top,bottom:e.bottom}}function ote(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 ite(e,t){let r=t.width/e.offsetWidth,n=t.height/e.offsetHeight;return(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.width-e.offsetWidth)<1)&&(r=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.height-e.offsetHeight)<1)&&(n=1),{scaleX:r,scaleY:n}}class ste{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:r}=e;this.set(t,Math.min(e.anchorOffset,t?nte(t):0),r,Math.min(e.focusOffset,r?nte(r):0))}set(e,t,r,n){this.anchorNode=e,this.anchorOffset=t,this.focusNode=r,this.focusOffset=n}}let lte,cte=null;function ute(e){if(e.setActive)return e.setActive();if(cte)return e.focus(cte);let t=[];for(let r=e;r&&(t.push(r,r.scrollTop,r.scrollLeft),r!=r.ownerDocument);r=r.parentNode);if(e.focus(null==cte?{get preventScroll(){return cte={preventScroll:!0},!0}}:void 0),!cte){cte=!1;for(let e=0;e<t.length;){let r=t[e++],n=t[e++],a=t[e++];r.scrollTop!=n&&(r.scrollTop=n),r.scrollLeft!=a&&(r.scrollLeft=a)}}}function dte(e,t,r=t){let n=lte||(lte=document.createRange());return n.setEnd(e,r),n.setStart(e,t),n}function pte(e,t,r,n){let a={key:t,code:t,keyCode:r,which:r,cancelable:!0};n&&({altKey:a.altKey,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey}=n);let o=new KeyboardEvent("keydown",a);o.synthetic=!0,e.dispatchEvent(o);let i=new KeyboardEvent("keyup",a);return i.synthetic=!0,e.dispatchEvent(i),o.defaultPrevented||i.defaultPrevented}function hte(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function fte(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function mte(e,t){for(let r=e,n=t;;){if(3==r.nodeType&&n>0)return{node:r,offset:n};if(1==r.nodeType&&n>0){if("false"==r.contentEditable)return null;r=r.childNodes[n-1],n=nte(r)}else{if(!r.parentNode||tte(r))return null;n=ete(r),r=r.parentNode}}}function gte(e,t){for(let r=e,n=t;;){if(3==r.nodeType&&n<r.nodeValue.length)return{node:r,offset:n};if(1==r.nodeType&&n<r.childNodes.length){if("false"==r.contentEditable)return null;r=r.childNodes[n],n=0}else{if(!r.parentNode||tte(r))return null;n=ete(r)+1,r=r.parentNode}}}class bte{constructor(e,t,r=!0){this.node=e,this.offset=t,this.precise=r}static before(e,t){return new bte(e.parentNode,ete(e),t)}static after(e,t){return new bte(e.parentNode,ete(e)+1,t)}}const vte=[];class yte{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let r of this.children){if(r==e)return t;t+=r.length+r.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(2&this.flags){let r,n=this.dom,a=null;for(let o of this.children){if(7&o.flags){if(!o.dom&&(r=a?a.nextSibling:n.firstChild)){let e=yte.get(r);(!e||!e.parent&&e.canReuseDOM(o))&&o.reuseDOM(r)}o.sync(e,t),o.flags&=-8}if(r=a?a.nextSibling:n.firstChild,t&&!t.written&&t.node==n&&r!=o.dom&&(t.written=!0),o.dom.parentNode==n)for(;r&&r!=o.dom;)r=Ote(r);else n.insertBefore(o.dom,r);a=o.dom}for(r=a?a.nextSibling:n.firstChild,r&&t&&t.node==n&&(t.written=!0);r;)r=Ote(r)}else if(1&this.flags)for(let r of this.children)7&r.flags&&(r.sync(e,t),r.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let r;if(e==this.dom)r=this.dom.childNodes[t];else{let n=0==nte(e)?0:0==t?-1:1;for(;;){let t=e.parentNode;if(t==this.dom)break;0==n&&t.firstChild!=t.lastChild&&(n=e==t.firstChild?-1:1),e=t}r=n<0?e:e.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!yte.get(r);)r=r.nextSibling;if(!r)return this.length;for(let e=0,t=0;;e++){let n=this.children[e];if(n.dom==r)return t;t+=n.length+n.breakAfter}}domBoundsAround(e,t,r=0){let n=-1,a=-1,o=-1,i=-1;for(let s=0,l=r,c=r;s<this.children.length;s++){let r=this.children[s],u=l+r.length;if(l<e&&u>t)return r.domBoundsAround(e,t,l);if(u>=e&&-1==n&&(n=s,a=l),l>t&&r.dom.parentNode==this.dom){o=s,i=c;break}c=u,l=u+r.breakAfter}return{from:a,to:i<0?r+this.length:i,startDOM:(n?this.children[n-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o<this.children.length&&o>=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,r=vte){this.markDirty();for(let n=e;n<t;n++){let e=this.children[n];e.parent==this&&r.indexOf(e)<0&&e.destroy()}r.length<250?this.children.splice(e,t-e,...r):this.children=[].concat(this.children.slice(0,e),r,this.children.slice(t));for(let e=0;e<r.length;e++)r[e].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new wte(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,t,r,n,a,o){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!(8&(this.flags|e.flags))}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}}function Ote(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}yte.prototype.breakAfter=0;class wte{constructor(e,t,r){this.children=e,this.pos=t,this.i=r,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}}function xte(e,t,r,n,a,o,i,s,l){let{children:c}=e,u=c.length?c[t]:null,d=o.length?o[o.length-1]:null,p=d?d.breakAfter:i;if(!(t==n&&u&&!i&&!p&&o.length<2&&u.merge(r,a,o.length?d:null,0==r,s,l))){if(n<c.length){let e=c[n];e&&(a<e.length||e.breakAfter&&(null==d?void 0:d.breakAfter))?(t==n&&(e=e.split(a),a=0),!p&&d&&e.merge(0,a,d,!0,0,l)?o[o.length-1]=e:((a||e.children.length&&!e.children[0].length)&&e.merge(0,a,null,!1,0,l),o.push(e))):(null==e?void 0:e.breakAfter)&&(d?d.breakAfter=1:i=1),n++}for(u&&(u.breakAfter=i,r>0&&(!i&&o.length&&u.merge(r,u.length,o[0],!1,s,0)?u.breakAfter=o.shift().breakAfter:(r<u.length||u.children.length&&0==u.children[u.children.length-1].length)&&u.merge(r,u.length,null,!1,s,0),t++));t<n&&o.length;)if(c[n-1].become(o[o.length-1]))n--,o.pop(),l=o.length?0:s;else{if(!c[t].become(o[0]))break;t++,o.shift(),s=o.length?0:l}!o.length&&t&&n<c.length&&!c[t-1].breakAfter&&c[n].merge(0,0,c[t-1],!1,s,l)&&t--,(t<n||o.length)&&e.replaceChildren(t,n,o)}}function kte(e,t,r,n,a,o){let i=e.childCursor(),{i:s,off:l}=i.findPos(r,1),{i:c,off:u}=i.findPos(t,-1),d=t-r;for(let e of n)d+=e.length;e.length+=d,xte(e,c,u,s,l,n,0,a,o)}let Ste="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},_te="undefined"!=typeof document?document:{documentElement:{style:{}}};const Ete=/Edge\/(\d+)/.exec(Ste.userAgent),Tte=/MSIE \d/.test(Ste.userAgent),Ate=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ste.userAgent),Cte=!!(Tte||Ate||Ete),Pte=!Cte&&/gecko\/(\d+)/i.test(Ste.userAgent),$te=!Cte&&/Chrome\/(\d+)/.exec(Ste.userAgent),Mte="webkitFontSmoothing"in _te.documentElement.style,Dte=!Cte&&/Apple Computer/.test(Ste.vendor),Rte=Dte&&(/Mobile\/\w+/.test(Ste.userAgent)||Ste.maxTouchPoints>2);var Nte={mac:Rte||/Mac/.test(Ste.platform),windows:/Win/.test(Ste.platform),linux:/Linux|X11/.test(Ste.platform),ie:Cte,ie_version:Tte?_te.documentMode||6:Ate?+Ate[1]:Ete?+Ete[1]:0,gecko:Pte,gecko_version:Pte?+(/Firefox\/(\d+)/.exec(Ste.userAgent)||[0,0])[1]:0,chrome:!!$te,chrome_version:$te?+$te[1]:0,ios:Rte,android:/Android\b/.test(Ste.userAgent),webkit:Mte,safari:Dte,webkit_version:Mte?+(/\bAppleWebKit\/(\d+)/.exec(Ste.userAgent)||[0,0])[1]:0,tabSize:null!=_te.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};class Ite extends yte{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){3==e.nodeType&&this.createDOM(e)}merge(e,t,r){return!(8&this.flags||r&&(!(r instanceof Ite)||this.length-(t-e)+r.length>256||8&r.flags)||(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(t),this.markDirty(),0))}split(e){let t=new Ite(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=8&this.flags,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new bte(this.dom,e)}domBoundsAround(e,t,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return function(e,t,r){let n=e.nodeValue.length;t>n&&(t=n);let a=t,o=t,i=0;0==t&&r<0||t==n&&r>=0?Nte.chrome||Nte.gecko||(t?(a--,i=1):o<n&&(o++,i=-1)):r<0?a--:o<n&&o++;let s=dte(e,a,o).getClientRects();if(!s.length)return null;let l=s[(i?i<0:r>=0)?0:s.length-1];return Nte.safari&&!i&&0==l.width&&(l=Array.prototype.find.call(s,(e=>e.width))||l),i?ate(l,i<0):l||null}(this.dom,e,t)}}class Lte extends yte{constructor(e,t=[],r=0){super(),this.mark=e,this.children=t,this.length=r;for(let e of t)e.setParent(this)}setAttrs(e){if(hte(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!(8&(this.flags|e.flags))}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,r,n,a,o){return!(r&&(!(r instanceof Lte&&r.mark.eq(this.mark))||e&&a<=0||t<this.length&&o<=0)||(kte(this,e,t,r?r.children.slice():[],a-1,o-1),this.markDirty(),0))}split(e){let t=[],r=0,n=-1,a=0;for(let o of this.children){let i=r+o.length;i>e&&t.push(r<e?o.split(e-r):o),n<0&&r>=e&&(n=a),r=i,a++}let o=this.length-e;return this.length=e,n>-1&&(this.children.length=n,this.markDirty()),new Lte(this.mark,t,o)}domAtPos(e){return Ute(this,e)}coordsAt(e,t){return Qte(this,e,t)}}class jte extends yte{static create(e,t,r){return new jte(e,t,r)}constructor(e,t,r){super(),this.widget=e,this.length=t,this.side=r,this.prevWidget=null}split(e){let t=jte.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,t,r,n,a,o){return!(r&&(!(r instanceof jte&&this.widget.compare(r.widget))||e>0&&a<=0||t<this.length&&o<=0)||(this.length=e+(r?r.length:0)+(this.length-t),0))}become(e){return e instanceof jte&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(0==this.length)return s9.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,r=t&&t.state.doc,n=this.posAtStart;return r?r.slice(n,n+this.length):s9.empty}domAtPos(e){return(this.length?0==e:this.side>0)?bte.before(this.dom):bte.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let r=this.widget.coordsAt(this.dom,e,t);if(r)return r;let n=this.dom.getClientRects(),a=null;if(!n.length)return null;let o=this.side?this.side<0:e>0;for(let t=o?n.length-1:0;a=n[t],!(e>0?0==t:t==n.length-1||a.top<a.bottom);t+=o?-1:1);return ate(a,!o)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Bte extends yte{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof Bte&&e.side==this.side}split(){return new Bte(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?bte.before(this.dom):bte.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return s9.empty}get isHidden(){return!0}}function Ute(e,t){let r=e.dom,{children:n}=e,a=0;for(let e=0;a<n.length;a++){let o=n[a],i=e+o.length;if(!(i==e&&o.getSide()<=0)){if(t>e&&t<i&&o.dom.parentNode==r)return o.domAtPos(t-e);if(t<=e)break;e=i}}for(let e=a;e>0;e--){let t=n[e-1];if(t.dom.parentNode==r)return t.domAtPos(t.length)}for(let e=a;e<n.length;e++){let t=n[e];if(t.dom.parentNode==r)return t.domAtPos(0)}return new bte(r,0)}function Fte(e,t,r){let n,{children:a}=e;r>0&&t instanceof Lte&&a.length&&(n=a[a.length-1])instanceof Lte&&n.mark.eq(t.mark)?Fte(n,t.children[0],r-1):(a.push(t),t.setParent(e)),e.length+=t.length}function Qte(e,t,r){let n=null,a=-1,o=null,i=-1;!function e(t,s){for(let l=0,c=0;l<t.children.length&&c<=s;l++){let u=t.children[l],d=c+u.length;d>=s&&(u.children.length?e(u,s-c):(!o||o.isHidden&&r>0)&&(d>s||c==d&&u.getSide()>0)?(o=u,i=s-c):(c<s||c==d&&u.getSide()<0&&!u.isHidden)&&(n=u,a=s-c)),c=d}}(e,t);let s=(r<0?n:o)||n||o;return s?s.coordsAt(Math.max(0,s==n?a:i),r):function(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let r=Kee(t);return r[r.length-1]||null}(e)}function zte(e,t){for(let r in e)"class"==r&&t.class?t.class+=" "+e.class:"style"==r&&t.style?t.style+=";"+e.style:t[r]=e[r];return t}Ite.prototype.children=jte.prototype.children=Bte.prototype.children=vte;const qte=Object.create(null);function Hte(e,t,r){if(e==t)return!0;e||(e=qte),t||(t=qte);let n=Object.keys(e),a=Object.keys(t);if(n.length-(r&&n.indexOf(r)>-1?1:0)!=a.length-(r&&a.indexOf(r)>-1?1:0))return!1;for(let o of n)if(o!=r&&(-1==a.indexOf(o)||e[o]!==t[o]))return!1;return!0}function Vte(e,t,r){let n=!1;if(t)for(let a in t)r&&a in r||(n=!0,"style"==a?e.style.cssText="":e.removeAttribute(a));if(r)for(let a in r)t&&t[a]==r[a]||(n=!0,"style"==a?e.style.cssText=r[a]:e.setAttribute(a,r[a]));return n}function Zte(e){let t=Object.create(null);for(let r=0;r<e.attributes.length;r++){let n=e.attributes[r];t[n.name]=n.value}return t}class Wte{eq(e){return!1}updateDOM(e,t){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,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var Xte=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(Xte||(Xte={}));class Gte extends Oee{constructor(e,t,r,n){super(),this.startSide=e,this.endSide=t,this.widget=r,this.spec=n}get heightRelevant(){return!1}static mark(e){return new Yte(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),r=!!e.block;return t+=r&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new Jte(e,t,t,r,e.widget||null,!1)}static replace(e){let t,r,n=!!e.block;if(e.isBlockGap)t=-5e8,r=4e8;else{let{start:a,end:o}=ere(e,n);t=(a?n?-3e8:-1:5e8)-1,r=1+(o?n?2e8:1:-6e8)}return new Jte(e,t,r,n,e.widget||null,!0)}static line(e){return new Kte(e)}static set(e,t=!1){return See.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}Gte.none=See.empty;class Yte extends Gte{constructor(e){let{start:t,end:r}=ere(e);super(t?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,r;return this==e||e instanceof Yte&&this.tagName==e.tagName&&(this.class||(null===(t=this.attrs)||void 0===t?void 0:t.class))==(e.class||(null===(r=e.attrs)||void 0===r?void 0:r.class))&&Hte(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}Yte.prototype.point=!1;class Kte extends Gte{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Kte&&this.spec.class==e.spec.class&&Hte(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Kte.prototype.mapMode=x9.TrackBefore,Kte.prototype.point=!0;class Jte extends Gte{constructor(e,t,r,n,a,o){super(t,r,a,e),this.block=n,this.isReplace=o,this.mapMode=n?t<=0?x9.TrackBefore:x9.TrackAfter:x9.TrackDel}get type(){return this.startSide!=this.endSide?Xte.WidgetRange:this.startSide<=0?Xte.WidgetBefore:Xte.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Jte&&((t=this.widget)==(r=e.widget)||!!(t&&r&&t.compare(r)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide;var t,r}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}function ere(e,t=!1){let{inclusiveStart:r,inclusiveEnd:n}=e;return null==r&&(r=e.inclusive),null==n&&(n=e.inclusive),{start:null!=r?r:t,end:null!=n?n:t}}function tre(e,t,r,n=0){let a=r.length-1;a>=0&&r[a]+n>=e?r[a]=Math.max(r[a],t):r.push(e,t)}Jte.prototype.point=!0;class rre extends yte{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,r,n,a,o){if(r){if(!(r instanceof rre))return!1;this.dom||r.transferDOM(this)}return n&&this.setDeco(r?r.attrs:null),kte(this,e,t,r?r.children.slice():[],a,o),!0}split(e){let t=new rre;if(t.breakAfter=this.breakAfter,0==this.length)return t;let{i:r,off:n}=this.childPos(e);n&&(t.append(this.children[r].split(n),0),this.children[r].merge(n,this.children[r].length,null,!1,0,0),r++);for(let e=r;e<this.children.length;e++)t.append(this.children[e],0);for(;r>0&&0==this.children[r-1].length;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){Hte(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){Fte(this,e,t)}addLineDeco(e){let t=e.spec.attributes,r=e.spec.class;t&&(this.attrs=zte(t,this.attrs||{})),r&&(this.attrs=zte({class:r},this.attrs||{}))}domAtPos(e){return Ute(this,e)}reuseDOM(e){"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){var r;this.dom?4&this.flags&&(hte(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(Vte(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let n=this.dom.lastChild;for(;n&&yte.get(n)instanceof Lte;)n=n.lastChild;if(!(n&&this.length&&("BR"==n.nodeName||0!=(null===(r=yte.get(n))||void 0===r?void 0:r.isEditable)||Nte.ios&&this.children.some((e=>e instanceof Ite))))){let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let e,t=0;for(let r of this.children){if(!(r instanceof Ite)||/[^ -~]/.test(r.text))return null;let n=Kee(r.dom);if(1!=n.length)return null;t+=n[0].width,e=n[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:e}:null}coordsAt(e,t){let r=Qte(this,e,t);if(!this.children.length&&r&&this.parent){let{heightOracle:e}=this.parent.view.viewState,t=r.bottom-r.top;if(Math.abs(t-e.lineHeight)<2&&e.textHeight<t){let n=(t-e.textHeight)/2;return{top:r.top+n,bottom:r.bottom-n,left:r.left,right:r.left}}}return r}become(e){return e instanceof rre&&0==this.children.length&&0==e.children.length&&Hte(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter}covers(){return!0}static find(e,t){for(let r=0,n=0;r<e.children.length;r++){let a=e.children[r],o=n+a.length;if(o>=t){if(a instanceof rre)return a;if(o>t)break}n=o+a.breakAfter}return null}}class nre extends yte{constructor(e,t,r){super(),this.widget=e,this.length=t,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,t,r,n,a,o){return!(r&&(!(r instanceof nre&&this.widget.compare(r.widget))||e>0&&a<=0||t<this.length&&o<=0)||(this.length=e+(r?r.length:0)+(this.length-t),0))}domAtPos(e){return 0==e?bte.before(this.dom):bte.after(this.dom,e==this.length)}split(e){let t=this.length-e;this.length=e;let r=new nre(this.widget,t,this.deco);return r.breakAfter=this.breakAfter,r}get children(){return vte}sync(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):s9.empty}domBoundsAround(){return null}become(e){return e instanceof nre&&e.widget.constructor==this.widget.constructor&&(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,t){return this.widget.coordsAt(this.dom,e,t)||(this.widget instanceof are?null:ate(this.dom.getBoundingClientRect(),this.length?0==e:t<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:t,endSide:r}=this.deco;return t!=r&&(e<0?t<0:r>0)}}class are extends Wte{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}}class ore{constructor(e,t,r,n){this.doc=e,this.pos=t,this.end=r,this.disallowBlockEffectsFor=n,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof nre&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new rre),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(ire(new Bte(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,this.posCovered()||e&&this.content.length&&this.content[this.content.length-1]instanceof nre||this.getLine()}buildText(e,t,r){for(;e>0;){if(this.textOff==this.text.length){let{value:t,lineBreak:r,done:n}=this.cursor.next(this.skip);if(this.skip=0,n)throw new Error("Ran out of text content when drawing inline views");if(r){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}this.text=t,this.textOff=0}let n=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-r)),this.getLine().append(ire(new Ite(this.text.slice(this.textOff,this.textOff+n)),t),r),this.atCursorPos=!0,this.textOff+=n,e-=n,r=0}}span(e,t,r,n){this.buildText(t-e,r,n),this.pos=t,this.openStart<0&&(this.openStart=n)}point(e,t,r,n,a,o){if(this.disallowBlockEffectsFor[o]&&r instanceof Jte){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let i=t-e;if(r instanceof Jte)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new nre(r.widget||sre.block,i,r));else{let o=jte.create(r.widget||sre.inline,i,i?0:r.startSide),s=this.atCursorPos&&!o.isEditable&&a<=n.length&&(e<t||r.startSide>0),l=!o.isEditable&&(e<t||a>n.length||r.startSide<=0),c=this.getLine();2!=this.pendingBuffer||s||o.isEditable||(this.pendingBuffer=0),this.flushBuffer(n),s&&(c.append(ire(new Bte(1),n),a),a=n.length+Math.max(0,a-n.length)),c.append(ire(o,n),a),this.atCursorPos=l,this.pendingBuffer=l?e<t||a>n.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=n.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);i&&(this.textOff+i<=this.text.length?this.textOff+=i:(this.skip+=i-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=a)}static build(e,t,r,n,a){let o=new ore(e,t,r,a);return o.openEnd=See.spans(n,t,r,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function ire(e,t){for(let r of t)e=new Lte(r,[e],e.length);return e}class sre extends Wte{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}}sre.inline=new sre("span"),sre.block=new sre("div");var lre=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(lre||(lre={}));const cre=lre.LTR,ure=lre.RTL;function dre(e){let t=[];for(let r=0;r<e.length;r++)t.push(1<<+e[r]);return t}const pre=dre("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),hre=dre("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),fre=Object.create(null),mre=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),r=e.charCodeAt(1);fre[t]=r,fre[r]=-t}function gre(e){return e<=247?pre[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?hre[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}const bre=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class vre{get dir(){return this.level%2?ure:cre}constructor(e,t,r){this.from=e,this.to=t,this.level=r}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,r,n){let a=-1;for(let o=0;o<e.length;o++){let i=e[o];if(i.from<=t&&i.to>=t){if(i.level==r)return o;(a<0||(0!=n?n<0?i.from<t:i.to>t:e[a].level>i.level))&&(a=o)}}if(a<0)throw new RangeError("Index out of range");return a}}function yre(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++){let n=e[r],a=t[r];if(n.from!=a.from||n.to!=a.to||n.direction!=a.direction||!yre(n.inner,a.inner))return!1}return!0}const Ore=[];function wre(e,t,r,n,a,o,i){let s=n%2?2:1;if(n%2==a%2)for(let l=t,c=0;l<r;){let t=!0,u=!1;if(c==o.length||l<o[c].from){let e=Ore[l];e!=s&&(t=!1,u=16==e)}let d=t||1!=s?null:[],p=t?n:n+1,h=l;e:for(;;)if(c<o.length&&h==o[c].from){if(u)break e;let f=o[c];if(!t)for(let e=f.to,t=c+1;;){if(e==r)break e;if(!(t<o.length&&o[t].from==e)){if(Ore[e]==s)break e;break}e=o[t++].to}c++,d?d.push(f):(f.from>l&&i.push(new vre(l,f.from,p)),xre(e,f.direction==cre!=!(p%2)?n+1:n,a,f.inner,f.from,f.to,i),l=f.to),h=f.to}else{if(h==r||(t?Ore[h]!=s:Ore[h]==s))break;h++}d?wre(e,l,h,n+1,a,d,i):l<h&&i.push(new vre(l,h,p)),l=h}else for(let l=r,c=o.length;l>t;){let r=!0,u=!1;if(!c||l>o[c-1].to){let e=Ore[l-1];e!=s&&(r=!1,u=16==e)}let d=r||1!=s?null:[],p=r?n:n+1,h=l;e:for(;;)if(c&&h==o[c-1].to){if(u)break e;let f=o[--c];if(!r)for(let e=f.from,r=c;;){if(e==t)break e;if(!r||o[r-1].to!=e){if(Ore[e-1]==s)break e;break}e=o[--r].from}d?d.push(f):(f.to<l&&i.push(new vre(f.to,l,p)),xre(e,f.direction==cre!=!(p%2)?n+1:n,a,f.inner,f.from,f.to,i),l=f.from),h=f.from}else{if(h==t||(r?Ore[h-1]!=s:Ore[h-1]==s))break;h--}d?wre(e,h,l,n+1,a,d,i):h<l&&i.push(new vre(h,l,p)),l=h}}function xre(e,t,r,n,a,o,i){let s=t%2?2:1;!function(e,t,r,n,a){for(let o=0;o<=n.length;o++){let i=o?n[o-1].to:t,s=o<n.length?n[o].from:r,l=o?256:a;for(let t=i,r=l,n=l;t<s;t++){let a=gre(e.charCodeAt(t));512==a?a=r:8==a&&4==n&&(a=16),Ore[t]=4==a?2:a,7&a&&(n=a),r=a}for(let e=i,t=l,n=l;e<s;e++){let a=Ore[e];if(128==a)e<s-1&&t==Ore[e+1]&&24&t?a=Ore[e]=t:Ore[e]=256;else if(64==a){let a=e+1;for(;a<s&&64==Ore[a];)a++;let o=e&&8==t||a<r&&8==Ore[a]?1==n?1:8:256;for(let t=e;t<a;t++)Ore[t]=o;e=a-1}else 8==a&&1==n&&(Ore[e]=1);t=a,7&a&&(n=a)}}}(e,a,o,n,s),function(e,t,r,n,a){let o=1==a?2:1;for(let i=0,s=0,l=0;i<=n.length;i++){let c=i?n[i-1].to:t,u=i<n.length?n[i].from:r;for(let t,r,n,i=c;i<u;i++)if(r=fre[t=e.charCodeAt(i)])if(r<0){for(let e=s-3;e>=0;e-=3)if(mre[e+1]==-r){let t=mre[e+2],r=2&t?a:4&t?1&t?o:a:0;r&&(Ore[i]=Ore[mre[e]]=r),s=e;break}}else{if(189==mre.length)break;mre[s++]=i,mre[s++]=t,mre[s++]=l}else if(2==(n=Ore[i])||1==n){let e=n==a;l=e?0:1;for(let t=s-3;t>=0;t-=3){let r=mre[t+2];if(2&r)break;if(e)mre[t+2]|=2;else{if(4&r)break;mre[t+2]|=4}}}}}(e,a,o,n,s),function(e,t,r,n){for(let a=0,o=n;a<=r.length;a++){let i=a?r[a-1].to:e,s=a<r.length?r[a].from:t;for(let l=i;l<s;){let i=Ore[l];if(256==i){let i=l+1;for(;;)if(i==s){if(a==r.length)break;i=r[a++].to,s=a<r.length?r[a].from:t}else{if(256!=Ore[i])break;i++}let c=1==o,u=c==(1==(i<t?Ore[i]:n))?c?1:2:n;for(let t=i,n=a,o=n?r[n-1].to:e;t>l;)t==o&&(t=r[--n].from,o=n?r[n-1].to:e),Ore[--t]=u;l=i}else o=i,l++}}}(a,o,n,s),wre(e,a,o,t,r,n,i)}function kre(e){return[new vre(0,e,0)]}let Sre="";function _re(e,t,r,n,a){var o;let i=n.head-e.from,s=vre.find(t,i,null!==(o=n.bidiLevel)&&void 0!==o?o:-1,n.assoc),l=t[s],c=l.side(a,r);if(i==c){let e=s+=a?1:-1;if(e<0||e>=t.length)return null;l=t[s=e],i=l.side(!a,r),c=l.side(a,r)}let u=b9(e.text,i,l.forward(a,r));(u<l.from||u>l.to)&&(u=c),Sre=e.text.slice(Math.min(i,u),Math.max(i,u));let d=s==(a?t.length-1:0)?null:t[s+(a?1:-1)];return d&&u==c&&d.level+(a?0:1)<l.level?M9.cursor(d.side(!a,r)+e.from,d.forward(a,r)?1:-1,d.level):M9.cursor(u+e.from,l.forward(a,r)?-1:1,l.level)}function Ere(e,t,r){for(let n=t;n<r;n++){let t=gre(e.charCodeAt(n));if(1==t)return cre;if(2==t||4==t)return ure}return cre}const Tre=N9.define(),Are=N9.define(),Cre=N9.define(),Pre=N9.define(),$re=N9.define(),Mre=N9.define(),Dre=N9.define(),Rre=N9.define(),Nre=N9.define(),Ire=N9.define({combine:e=>e.some((e=>e))}),Lre=N9.define({combine:e=>e.some((e=>e))}),jre=N9.define();class Bre{constructor(e,t="nearest",r="nearest",n=5,a=5,o=!1){this.range=e,this.y=t,this.x=r,this.yMargin=n,this.xMargin=a,this.isSnapshot=o}map(e){return e.empty?this:new Bre(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Bre(M9.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const Ure=see.define({map:(e,t)=>e.map(t)}),Fre=see.define();function Qre(e,t,r){let n=e.facet(Pre);n.length?n[0](t):window.onerror?window.onerror(String(t),r,void 0,void 0,t):r?console.error(r+":",t):console.error(t)}const zre=N9.define({combine:e=>!e.length||e[0]});let qre=0;const Hre=N9.define();class Vre{constructor(e,t,r,n,a){this.id=e,this.create=t,this.domEventHandlers=r,this.domEventObservers=n,this.extension=a(this)}static define(e,t){const{eventHandlers:r,eventObservers:n,provide:a,decorations:o}=t||{};return new Vre(qre++,e,r,n,(e=>{let t=[Hre.of(e)];return o&&t.push(Gre.of((t=>{let r=t.plugin(e);return r?o(r):Gte.none}))),a&&t.push(a(e)),t}))}static fromClass(e,t){return Vre.define((t=>new e(t)),t)}}class Zre{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(Qre(e.state,t,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(e){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Qre(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{this.value.destroy()}catch(t){Qre(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Wre=N9.define(),Xre=N9.define(),Gre=N9.define(),Yre=N9.define(),Kre=N9.define(),Jre=N9.define();function ene(e,t){let r=e.state.facet(Jre);if(!r.length)return r;let n=r.map((t=>t instanceof Function?t(e):t)),a=[];return See.spans(n,t.from,t.to,{point(){},span(e,r,n,o){let i=e-t.from,s=r-t.from,l=a;for(let e=n.length-1;e>=0;e--,o--){let r,a=n[e].spec.bidiIsolate;if(null==a&&(a=Ere(t.text,i,s)),o>0&&l.length&&(r=l[l.length-1]).to==i&&r.direction==a)r.to=s,l=r.inner;else{let e={from:i,to:s,direction:a,inner:[]};l.push(e),l=e.inner}}}}),a}const tne=N9.define();function rne(e){let t=0,r=0,n=0,a=0;for(let o of e.state.facet(tne)){let i=o(e);i&&(null!=i.left&&(t=Math.max(t,i.left)),null!=i.right&&(r=Math.max(r,i.right)),null!=i.top&&(n=Math.max(n,i.top)),null!=i.bottom&&(a=Math.max(a,i.bottom)))}return{left:t,right:r,top:n,bottom:a}}const nne=N9.define();class ane{constructor(e,t,r,n){this.fromA=e,this.toA=t,this.fromB=r,this.toB=n}join(e){return new ane(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,r=this;for(;t>0;t--){let n=e[t-1];if(!(n.fromA>r.toA)){if(n.toA<r.fromA)break;r=r.join(n),e.splice(t-1,1)}}return e.splice(t,0,r),e}static extendWithRanges(e,t){if(0==t.length)return e;let r=[];for(let n=0,a=0,o=0,i=0;;n++){let s=n==e.length?null:e[n],l=o-i,c=s?s.fromB:1e9;for(;a<t.length&&t[a]<c;){let e=t[a],n=t[a+1],o=Math.max(i,e),s=Math.min(c,n);if(o<=s&&new ane(o+l,s+l,o,s).addToSet(r),n>c)break;a+=2}if(!s)return r;new ane(s.fromA,s.toA,s.fromB,s.toB).addToSet(r),o=s.toA,i=s.toB}}}class one{constructor(e,t,r){this.view=e,this.state=t,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=S9.empty(this.startState.doc.length);for(let e of r)this.changes=this.changes.compose(e.changes);let n=[];this.changes.iterChangedRanges(((e,t,r,a)=>n.push(new ane(e,t,r,a)))),this.changedRanges=n}static create(e,t,r){return new one(e,t,r)}get viewportChanged(){return(4&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(10&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some((e=>e.selection))}get empty(){return 0==this.flags&&0==this.transactions.length}}class ine extends yte{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=Gte.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.setDOM(e.contentDOM),this.children=[new rre],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new ane(0,0,0,e.state.doc.length)],0,null)}update(e){var t;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.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&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?n=this.domChanged.newSel.head:function(e,t){let r=!1;return t&&e.iterChangedRanges(((e,n)=>{e<t.to&&n>t.from&&(r=!0)})),r}(e.changes,this.hasComposition)||e.selectionSet||(n=e.state.selection.main.head));let a=n>-1?function(e,t,r){let n=sne(e,r);if(!n)return null;let{node:a,from:o,to:i}=n,s=a.nodeValue;if(/[\n\r]/.test(s))return null;if(e.state.doc.sliceString(n.from,n.to)!=s)return null;let l=t.invertedDesc,c=new ane(l.mapPos(o),l.mapPos(i),o,i),u=[];for(let t=a.parentNode;;t=t.parentNode){let r=yte.get(t);if(r instanceof Lte)u.push({node:t,deco:r.mark});else{if(r instanceof rre||"DIV"==t.nodeName&&t.parentNode==e.contentDOM)return{range:c,text:a,marks:u,line:t};if(t==e.contentDOM)return null;u.push({node:t,deco:new Yte({inclusive:!0,attributes:Zte(t),tagName:t.tagName.toLowerCase()})})}}}(this.view,e.changes,n):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:t,to:n}=this.hasComposition;r=new ane(t,n,e.changes.mapPos(t,-1),e.changes.mapPos(n,1)).addToSet(r.slice())}this.hasComposition=a?{from:a.range.fromB,to:a.range.toB}:null,(Nte.ie||Nte.chrome)&&!a&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=function(e,t,r){let n=new lne;return See.compare(e,t,r,n),n.changes}(this.decorations,this.updateDeco(),e.changes);return r=ane.extendWithRanges(r,o),!!(7&this.flags||0!=r.length)&&(this.updateInner(r,e.startState.doc.length,a),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,r);let{observer:n}=this.view;n.ignore((()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let e=Nte.chrome||Nte.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,e),this.flags&=-8,e&&(e.written||n.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),this.dom.style.height=""})),this.markedForComposition.forEach((e=>e.flags&=-9));let a=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.children)e instanceof nre&&e.widget instanceof are&&a.push(e.dom);n.updateGaps(a)}updateChildren(e,t,r){let n=r?r.range.addToSet(e.slice()):e,a=this.childCursor(t);for(let e=n.length-1;;e--){let t=e>=0?n[e]:null;if(!t)break;let o,i,s,l,{fromA:c,toA:u,fromB:d,toB:p}=t;if(r&&r.range.fromB<p&&r.range.toB>d){let e=ore.build(this.view.state.doc,d,r.range.fromB,this.decorations,this.dynamicDecorationMap),t=ore.build(this.view.state.doc,r.range.toB,p,this.decorations,this.dynamicDecorationMap);i=e.breakAtStart,s=e.openStart,l=t.openEnd;let n=this.compositionView(r);t.breakAtStart?n.breakAfter=1:t.content.length&&n.merge(n.length,n.length,t.content[0],!1,t.openStart,0)&&(n.breakAfter=t.content[0].breakAfter,t.content.shift()),e.content.length&&n.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),o=e.content.concat(n).concat(t.content)}else({content:o,breakAtStart:i,openStart:s,openEnd:l}=ore.build(this.view.state.doc,d,p,this.decorations,this.dynamicDecorationMap));let{i:h,off:f}=a.findPos(u,1),{i:m,off:g}=a.findPos(c,-1);xte(this,m,g,h,f,o,i,s,l)}r&&this.fixCompositionDOM(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(Fre)&&(this.editContextFormatting=e.value)}compositionView(e){let t=new Ite(e.text.nodeValue);t.flags|=8;for(let{deco:r}of e.marks)t=new Lte(r,[t],t.length);let r=new rre;return r.append(t,0),r}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|(t.children.some((e=>7&e.flags))?1:0),this.markedForComposition.add(t);let r=yte.get(e);r&&r!=t&&(r.dom=null),t.setDOM(e)},r=this.childPos(e.range.fromB,1),n=this.children[r.i];t(e.line,n);for(let a=e.marks.length-1;a>=-1;a--)r=n.childPos(r.off,1),n=n.children[r.i],t(a>=0?e.marks[a].node:e.text,n)}updateSelection(e=!1,t=!1){!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let r=this.view.root.activeElement,n=r==this.dom,a=!n&&!(this.view.state.facet(zre)||this.dom.tabIndex>-1)&&Yee(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(n||t||a))return;let o=this.forceSelection;this.forceSelection=!1;let i=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(i.anchor)),l=i.empty?s:this.moveToLine(this.domAtPos(i.head));if(Nte.gecko&&i.empty&&!this.hasComposition&&1==(c=s).node.nodeType&&c.node.firstChild&&(0==c.offset||"false"==c.node.childNodes[c.offset-1].contentEditable)&&(c.offset==c.node.childNodes.length||"false"==c.node.childNodes[c.offset].contentEditable)){let e=document.createTextNode("");this.view.observer.ignore((()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null))),s=l=new bte(e,0),o=!0}var c;let u=this.view.observer.selectionRange;!o&&u.focusNode&&(Jee(s.node,s.offset,u.anchorNode,u.anchorOffset)&&Jee(l.node,l.offset,u.focusNode,u.focusOffset)||this.suppressWidgetCursorChange(u,i))||(this.view.observer.ignore((()=>{Nte.android&&Nte.chrome&&this.dom.contains(u.focusNode)&&function(e,t){for(let r=e;r&&r!=t;r=r.assignedSlot||r.parentNode)if(1==r.nodeType&&"false"==r.contentEditable)return!0;return!1}(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let e=Xee(this.view.root);if(e)if(i.empty){if(Nte.gecko){let e=(t=s.node,n=s.offset,1!=t.nodeType?0:(n&&"false"==t.childNodes[n-1].contentEditable?1:0)|(n<t.childNodes.length&&"false"==t.childNodes[n].contentEditable?2:0));if(e&&3!=e){let t=(1==e?mte:gte)(s.node,s.offset);t&&(s=new bte(t.node,t.offset))}}e.collapse(s.node,s.offset),null!=i.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=i.bidiLevel)}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(l.node,l.offset)}catch(e){}}else{let t=document.createRange();i.anchor>i.head&&([s,l]=[l,s]),t.setEnd(l.node,l.offset),t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}var t,n;a&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())})),this.view.observer.setSelectionRange(s,l)),this.impreciseAnchor=s.precise?null:new bte(u.anchorNode,u.anchorOffset),this.impreciseHead=l.precise?null:new bte(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&Jee(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,r=Xee(e.root),{anchorNode:n,anchorOffset:a}=e.observer.selectionRange;if(!(r&&t.empty&&t.assoc&&r.modify))return;let o=rre.find(this,t.head);if(!o)return;let i=o.posAtStart;if(t.head==i||t.head==i+o.length)return;let s=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1);if(!s||!l||s.bottom>l.top)return;let c=this.domAtPos(t.head+t.assoc);r.collapse(c.node,c.offset),r.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&&r.collapse(n,a)}moveToLine(e){let t,r=this.dom;if(e.node!=r)return e;for(let n=e.offset;!t&&n<r.childNodes.length;n++){let e=yte.get(r.childNodes[n]);e instanceof rre&&(t=e.domAtPos(0))}for(let n=e.offset-1;!t&&n>=0;n--){let e=yte.get(r.childNodes[n]);e instanceof rre&&(t=e.domAtPos(e.length))}return t?new bte(t.node,t.offset,!0):e}nearest(e){for(let t=e;t;){let e=yte.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,t)+r.posAtStart}domAtPos(e){let{i:t,off:r}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let e=this.children[t];if(r<e.length||e instanceof rre)break;t++,r=0}return this.children[t].domAtPos(r)}coordsAt(e,t){let r=null,n=0;for(let a=this.length,o=this.children.length-1;o>=0;o--){let i=this.children[o],s=a-i.breakAfter,l=s-i.length;if(s<e)break;if(l<=e&&(l<e||i.covers(-1))&&(s>e||i.covers(1))&&(!r||i instanceof rre&&!(r instanceof rre&&t>=0)))r=i,n=l;else if(r&&l==e&&s==e&&i instanceof nre&&Math.abs(t)<2){if(i.deco.startSide<0)break;o&&(r=null)}a=l}return r?r.coordsAt(e-n,t):null}coordsForChar(e){let{i:t,off:r}=this.childPos(e,1),n=this.children[t];if(!(n instanceof rre))return null;for(;n.children.length;){let{i:e,off:t}=n.childPos(r,1);for(;;e++){if(e==n.children.length)return null;if((n=n.children[e]).length)break}r=t}if(!(n instanceof Ite))return null;let a=b9(n.text,r);if(a==r)return null;let o=dte(n.dom,r,a).getClientRects();for(let e=0;e<o.length;e++){let t=o[e];if(e==o.length-1||t.top<t.bottom&&t.left<t.right)return t}return null}measureVisibleLineHeights(e){let t=[],{from:r,to:n}=e,a=this.view.contentDOM.clientWidth,o=a>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,i=-1,s=this.view.textDirection==lre.LTR;for(let e=0,l=0;l<this.children.length;l++){let c=this.children[l],u=e+c.length;if(u>n)break;if(e>=r){let r=c.dom.getBoundingClientRect();if(t.push(r.height),o){let t=c.dom.lastChild,n=t?Kee(t):[];if(n.length){let t=n[n.length-1],o=s?t.right-r.left:r.right-t.left;o>i&&(i=o,this.minWidth=a,this.minWidthFrom=e,this.minWidthTo=u)}}}e=u+c.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return"rtl"==getComputedStyle(this.children[t].dom).direction?lre.RTL:lre.LTR}measureTextSize(){for(let e of this.children)if(e instanceof rre){let t=e.measureTextSize();if(t)return t}let e,t,r,n=document.createElement("div");return n.className="cm-line",n.style.width="99999px",n.style.position="absolute",n.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{this.dom.appendChild(n);let a=Kee(n.firstChild)[0];e=n.getBoundingClientRect().height,t=a?a.width/27:7,r=a?a.height:e,n.remove()})),{lineHeight:e,charWidth:t,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new wte(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let r=0,n=0;;n++){let a=n==t.viewports.length?null:t.viewports[n],o=a?a.from-1:this.length;if(o>r){let n=(t.lineBlockAt(o).bottom-t.lineBlockAt(r).top)/this.view.scaleY;e.push(Gte.replace({widget:new are(n),block:!0,inclusive:!0,isBlockGap:!0}).range(r,o))}if(!a)break;r=a.to+1}return Gte.set(e)}updateDeco(){let e=1,t=this.view.state.facet(Gre).map((t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t)),r=!1,n=this.view.state.facet(Yre).map(((e,t)=>{let n="function"==typeof e;return n&&(r=!0),n?e(this.view):e}));for(n.length&&(this.dynamicDecorationMap[e++]=r,t.push(See.join(n))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);return this.view.scrollDOM.scrollTop=t.top-e.yMargin,void(this.view.scrollDOM.scrollLeft=e.xMargin)}for(let t of this.view.state.facet(jre))try{if(t(this.view,e.range,e))return!0}catch(e){Qre(this.view.state,e,"scroll handler")}let t,{range:r}=e,n=this.coordsAt(r.head,r.empty?r.assoc:r.head>r.anchor?-1:1);if(!n)return;!r.empty&&(t=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(n={left:Math.min(n.left,t.left),top:Math.min(n.top,t.top),right:Math.max(n.right,t.right),bottom:Math.max(n.bottom,t.bottom)});let a=rne(this.view),o={left:n.left-a.left,top:n.top-a.top,right:n.right+a.right,bottom:n.bottom+a.bottom},{offsetWidth:i,offsetHeight:s}=this.view.scrollDOM;!function(e,t,r,n,a,o,i,s){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(1==u.nodeType){let e,p=u==l.body,h=1,f=1;if(p)e=ote(c);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:h,scaleY:f}=ite(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,top:t.top,bottom:t.top+u.clientHeight*f}}let m=0,g=0;if("nearest"==a)t.top<e.top?(g=-(e.top-t.top+i),r>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+g+i)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+i,r<0&&t.top-g<e.top&&(g=-(e.top+g-t.top+i)));else{let n=t.bottom-t.top,o=e.bottom-e.top;g=("center"==a&&n<=o?t.top+n/2-o/2:"start"==a||"center"==a&&r<0?t.top-i:t.bottom-o+i)-e.top}if("nearest"==n?t.left<e.left?(m=-(e.left-t.left+o),r>0&&t.right>e.right+m&&(m=t.right-e.right+m+o)):t.right>e.right&&(m=t.right-e.right+o,r<0&&t.left<e.left+m&&(m=-(e.left+m-t.left+o))):m=("center"==n?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==n==s?t.left-o:t.right-(e.right-e.left)+o)-e.left,m||g)if(p)c.scrollBy(m,g);else{let e=0,r=0;if(g){let e=u.scrollTop;u.scrollTop+=g/f,r=(u.scrollTop-e)*f}if(m){let t=u.scrollLeft;u.scrollLeft+=m/h,e=(u.scrollLeft-t)*h}t={left:t.left-e,top:t.top-r,right:t.right-e,bottom:t.bottom-r},e&&Math.abs(e-m)<1&&(n="nearest"),r&&Math.abs(r-g)<1&&(a="nearest")}if(p)break;u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}}(this.view.scrollDOM,o,r.head<r.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,i),-i),Math.max(Math.min(e.yMargin,s),-s),this.view.textDirection==lre.LTR)}}function sne(e,t){let r=e.observer.selectionRange;if(!r.focusNode)return null;let n=mte(r.focusNode,r.focusOffset),a=gte(r.focusNode,r.focusOffset),o=n||a;if(a&&n&&a.node!=n.node){let t=yte.get(a.node);if(!t||t instanceof Ite&&t.text!=a.node.nodeValue)o=a;else if(e.docView.lastCompositionAfterCursor){let e=yte.get(n.node);!e||e instanceof Ite&&e.text!=n.node.nodeValue||(o=a)}}if(e.docView.lastCompositionAfterCursor=o!=n,!o)return null;let i=t-o.offset;return{from:i,to:i+o.node.nodeValue.length,node:o.node}}let lne=class{constructor(){this.changes=[]}compareRange(e,t){tre(e,t,this.changes)}comparePoint(e,t){tre(e,t,this.changes)}boundChange(e){tre(e,e,this.changes)}};function cne(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function une(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function dne(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function pne(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function hne(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function fne(e,t,r){let n,a,o,i,s,l,c,u,d=!1;for(let p=e.firstChild;p;p=p.nextSibling){let e=Kee(p);for(let h=0;h<e.length;h++){let f=e[h];a&&dne(a,f)&&(f=pne(hne(f,a.bottom),a.top));let m=cne(t,f),g=une(r,f);if(0==m&&0==g)return 3==p.nodeType?mne(p,t,r):fne(p,t,r);if(!n||i>g||i==g&&o>m){n=p,a=f,o=m,i=g;let s=g?r<f.top?-1:1:m?t<f.left?-1:1:0;d=!s||(s>0?h<e.length-1:h>0)}0==m?r>f.bottom&&(!c||c.bottom<f.bottom)?(s=p,c=f):r<f.top&&(!u||u.top>f.top)&&(l=p,u=f):c&&dne(c,f)?c=hne(c,f.bottom):u&&dne(u,f)&&(u=pne(u,f.top))}}if(c&&c.bottom>=r?(n=s,a=c):u&&u.top<=r&&(n=l,a=u),!n)return{node:e,offset:0};let p=Math.max(a.left,Math.min(a.right,t));return 3==n.nodeType?mne(n,p,r):d&&"false"!=n.contentEditable?fne(n,p,r):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,n)+(t>=(a.left+a.right)/2?1:0)}}function mne(e,t,r){let n=e.nodeValue.length,a=-1,o=1e9,i=0;for(let s=0;s<n;s++){let n=dte(e,s,s+1).getClientRects();for(let l=0;l<n.length;l++){let c=n[l];if(c.top==c.bottom)continue;i||(i=t-c.left);let u=(c.top>r?c.top-r:r-c.bottom)-1;if(c.left-1<=t&&c.right+1>=t&&u<o){let r=t>=(c.left+c.right)/2,n=r;if((Nte.chrome||Nte.gecko)&&dte(e,s).getBoundingClientRect().left==c.right&&(n=!r),u<=0)return{node:e,offset:s+(n?1:0)};a=s+(n?1:0),o=u}}}return{node:e,offset:a>-1?a:i>0?e.nodeValue.length:0}}function gne(e,t,r,n=-1){var a,o;let i,s=e.contentDOM.getBoundingClientRect(),l=s.top+e.viewState.paddingTop,{docHeight:c}=e.viewState,{x:u,y:d}=t,p=d-l;if(p<0)return 0;if(p>c)return e.state.doc.length;for(let t=e.viewState.heightOracle.textHeight/2,a=!1;i=e.elementAtHeight(p),i.type!=Xte.Text;)for(;p=n>0?i.bottom+t:i.top-t,!(p>=0&&p<=c);){if(a)return r?null:0;a=!0,n=-n}d=l+p;let h=i.from;if(h<e.viewport.from)return 0==e.viewport.from?0:r?null:bne(e,s,i,u,d);if(h>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:r?null:bne(e,s,i,u,d);let f=e.dom.ownerDocument,m=e.root.elementFromPoint?e.root:f,g=m.elementFromPoint(u,d);g&&!e.contentDOM.contains(g)&&(g=null),g||(u=Math.max(s.left+1,Math.min(s.right-1,u)),g=m.elementFromPoint(u,d),g&&!e.contentDOM.contains(g)&&(g=null));let b,v=-1;if(g&&0!=(null===(a=e.docView.nearest(g))||void 0===a?void 0:a.isEditable)){if(f.caretPositionFromPoint){let e=f.caretPositionFromPoint(u,d);e&&({offsetNode:b,offset:v}=e)}else if(f.caretRangeFromPoint){let t=f.caretRangeFromPoint(u,d);t&&(({startContainer:b,startOffset:v}=t),(!e.contentDOM.contains(b)||Nte.safari&&function(e,t,r){let n;if(3!=e.nodeType||t!=(n=e.nodeValue.length))return!1;for(let t=e.nextSibling;t;t=t.nextSibling)if(1!=t.nodeType||"BR"!=t.nodeName)return!1;return dte(e,n-1,n).getBoundingClientRect().left>r}(b,v,u)||Nte.chrome&&function(e,t,r){if(0!=t)return!1;for(let t=e;;){let e=t.parentNode;if(!e||1!=e.nodeType||e.firstChild!=t)return!1;if(e.classList.contains("cm-line"))break;t=e}return r-(1==e.nodeType?e.getBoundingClientRect():dte(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}(b,v,u))&&(b=void 0))}b&&(v=Math.min(nte(b),v))}if(!b||!e.docView.dom.contains(b)){let t=rre.find(e.docView,h);if(!t)return p>i.top+i.height/2?i.to:i.from;({node:b,offset:v}=fne(t.dom,u,d))}let y=e.docView.nearest(b);if(!y)return null;if(y.isWidget&&1==(null===(o=y.dom)||void 0===o?void 0:o.nodeType)){let e=y.dom.getBoundingClientRect();return t.y<e.top||t.y<=e.bottom&&t.x<=(e.left+e.right)/2?y.posAtStart:y.posAtEnd}return y.localPosFromDOM(b,v)+y.posAtStart}function bne(e,t,r,n,a){let o=Math.round((n-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&r.height>1.5*e.defaultLineHeight){let t=e.viewState.heightOracle.textHeight;o+=Math.floor((a-r.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength}let i=e.state.sliceDoc(r.from,r.to);return r.from+function(e,t,r){for(let n=0,a=0;;){if(a>=t)return n;if(n==e.length)break;a+=9==e.charCodeAt(n)?r-a%r:1,n=b9(e,n)}return e.length}(i,o,e.state.tabSize)}function vne(e,t,r,n){let a=e.state.doc.lineAt(t.head),o=e.bidiSpans(a),i=e.textDirectionAt(a.from);for(let s=t,l=null;;){let t=_re(a,o,i,s,r),c=Sre;if(!t){if(a.number==(r?e.state.doc.lines:1))return s;c="\n",a=e.state.doc.line(a.number+(r?1:-1)),o=e.bidiSpans(a),t=e.visualLineSide(a,!r)}if(l){if(!l(c))return s}else{if(!n)return t;l=n(c)}s=t}}function yne(e,t,r){for(;;){let n=0;for(let a of e)a.between(t-1,t+1,((e,a,o)=>{if(t>e&&t<a){let o=n||r||(t-e<a-t?-1:1);t=o<0?e:a,n=o}}));if(!n)return t}}function One(e,t,r){let n=yne(e.state.facet(Kre).map((t=>t(e))),r.from,t.head>r.from?-1:1);return n==r.from?r:M9.cursor(n,n<r.from?1:-1)}const wne="";class xne{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(vee.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=wne}readRange(e,t){if(!e)return this;let r=e.parentNode;for(let n=e;;){this.findPointBefore(r,n);let e=this.text.length;this.readNode(n);let a=n.nextSibling;if(a==t)break;let o=yte.get(n),i=yte.get(a);(o&&i?o.breakAfter:(o?o.breakAfter:tte(n))||tte(a)&&("BR"!=n.nodeName||n.cmIgnore)&&this.text.length>e)&&this.lineBreak(),n=a}return this.findPointBefore(r,t),this}readTextNode(e){let t=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,t.length));for(let r=0,n=this.lineSeparator?null:/\r\n?|\n/g;;){let a,o=-1,i=1;if(this.lineSeparator?(o=t.indexOf(this.lineSeparator,r),i=this.lineSeparator.length):(a=n.exec(t))&&(o=a.index,i=a[0].length),this.append(t.slice(r,o<0?t.length:o)),o<0)break;if(this.lineBreak(),i>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=i-1);r=o+i}}readNode(e){if(e.cmIgnore)return;let t=yte.get(e),r=t&&t.overrideDOMText;if(null!=r){this.findPointInside(e,r.length);for(let e=r.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==t&&(r.pos=this.text.length)}findPointInside(e,t){for(let r of this.points)(3==e.nodeType?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(kne(e,r.node,r.offset)?t:0))}}function kne(e,t,r){for(;;){if(!t||r<nte(t))return!1;if(t==e)return!0;r=ete(t)+1,t=t.parentNode}}class Sne{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class _ne{constructor(e,t,r,n){this.typeOver=n,this.bounds=null,this.text="",this.domChanged=t>-1;let{impreciseHead:a,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,r,0))){let t=a||o?[]:function(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:r,anchorOffset:n,focusNode:a,focusOffset:o}=e.observer.selectionRange;return r&&(t.push(new Sne(r,n)),a==r&&o==n||t.push(new Sne(a,o))),t}(e),r=new xne(t,e.state);r.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=r.text,this.newSel=function(e,t){if(0==e.length)return null;let r=e[0].pos,n=2==e.length?e[1].pos:r;return r>-1&&n>-1?M9.single(r+t,n+t):null}(t,this.bounds.from)}else{let t=e.observer.selectionRange,r=a&&a.node==t.focusNode&&a.offset==t.focusOffset||!Gee(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),n=o&&o.node==t.anchorNode&&o.offset==t.anchorOffset||!Gee(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),i=e.viewport;if((Nte.ios||Nte.chrome)&&e.state.selection.main.empty&&r!=n&&(i.from>0||i.to<e.state.doc.length)){let t=Math.min(r,n),a=Math.max(r,n),o=i.from-t,s=i.to-a;0!=o&&1!=o&&0!=t||0!=s&&-1!=s&&a!=e.state.doc.length||(r=0,n=e.state.doc.length)}this.newSel=M9.single(n,r)}}}function Ene(e,t){let r,{newSel:n}=t,a=e.state.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:n,to:i}=t.bounds,s=a.from,l=null;(8===o||Nte.android&&t.text.length<i-n)&&(s=a.to,l="end");let c=function(e,t,r,n){let a=Math.min(e.length,t.length),o=0;for(;o<a&&e.charCodeAt(o)==t.charCodeAt(o);)o++;if(o==a&&e.length==t.length)return null;let i=e.length,s=t.length;for(;i>0&&s>0&&e.charCodeAt(i-1)==t.charCodeAt(s-1);)i--,s--;return"end"==n&&(r-=i+Math.max(0,o-Math.min(i,s))-o),i<o&&e.length<t.length?(o-=r<=o&&r>=i?o-r:0,s=o+(s-i),i=o):s<o&&(o-=r<=o&&r>=s?o-r:0,i=o+(i-s),s=o),{from:o,toA:i,toB:s}}(e.state.doc.sliceString(n,i,wne),t.text,s-n,l);c&&(Nte.chrome&&13==o&&c.toB==c.from+2&&t.text.slice(c.from,c.toB)==wne+wne&&c.toB--,r={from:n+c.from,to:n+c.toA,insert:s9.of(t.text.slice(c.from,c.toB).split(wne))})}else n&&(!e.hasFocus&&e.state.facet(zre)||n.main.eq(a))&&(n=null);if(!r&&!n)return!1;if(!r&&t.typeOver&&!a.empty&&n&&n.main.empty?r={from:a.from,to:a.to,insert:e.state.doc.slice(a.from,a.to)}:r&&r.from>=a.from&&r.to<=a.to&&(r.from!=a.from||r.to!=a.to)&&a.to-a.from-(r.to-r.from)<=4?r={from:a.from,to:a.to,insert:e.state.doc.slice(a.from,r.from).append(r.insert).append(e.state.doc.slice(r.to,a.to))}:(Nte.mac||Nte.android)&&r&&r.from==r.to&&r.from==a.head-1&&/^\. ?$/.test(r.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(n&&2==r.insert.length&&(n=M9.single(n.main.anchor-1,n.main.head-1)),r={from:a.from,to:a.to,insert:s9.of([" "])}):Nte.chrome&&r&&r.from==r.to&&r.from==a.head&&"\n "==r.insert.toString()&&e.lineWrapping&&(n&&(n=M9.single(n.main.anchor-1,n.main.head-1)),r={from:a.from,to:a.to,insert:s9.of([" "])}),r)return Tne(e,r,n,o);if(n&&!n.main.eq(a)){let t=!1,r="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),r=e.inputState.lastSelectionOrigin),e.dispatch({selection:n,scrollIntoView:t,userEvent:r}),!0}return!1}function Tne(e,t,r,n=-1){if(Nte.ios&&e.inputState.flushIOSKey(t))return!0;let a=e.state.selection.main;if(Nte.android&&(t.to==a.to&&(t.from==a.from||t.from==a.from-1&&" "==e.state.sliceDoc(t.from,a.from))&&1==t.insert.length&&2==t.insert.lines&&pte(e.contentDOM,"Enter",13)||(t.from==a.from-1&&t.to==a.to&&0==t.insert.length||8==n&&t.insert.length<t.to-t.from&&t.to>a.head)&&pte(e.contentDOM,"Backspace",8)||t.from==a.from&&t.to==a.to+1&&0==t.insert.length&&pte(e.contentDOM,"Delete",46)))return!0;let o,i=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let s=()=>o||(o=function(e,t,r){let n,a=e.state,o=a.selection.main;if(t.from>=o.from&&t.to<=o.to&&t.to-t.from>=(o.to-o.from)/3&&(!r||r.main.empty&&r.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let r=o.from<t.from?a.sliceDoc(o.from,t.from):"",i=o.to>t.to?a.sliceDoc(t.to,o.to):"";n=a.replaceSelection(e.state.toText(r+t.insert.sliceString(0,void 0,e.state.lineBreak)+i))}else{let i=a.changes(t),s=r&&r.main.to<=i.newLength?r.main:void 0;if(a.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=o.to&&t.to>=o.to-10){let l,c=e.state.sliceDoc(t.from,t.to),u=r&&sne(e,r.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(o.head);let d=o.to-t.to,p=o.to-o.from;n=a.changeByRange((r=>{if(r.from==o.from&&r.to==o.to)return{changes:i,range:s||r.map(i)};let n=r.to-d,u=n-c.length;if(r.to-r.from!=p||e.state.sliceDoc(u,n)!=c||r.to>=l.from&&r.from<=l.to)return{range:r};let h=a.changes({from:u,to:n,insert:t.insert}),f=r.to-o.to;return{changes:h,range:s?M9.range(Math.max(0,s.anchor+f),Math.max(0,s.head+f)):r.map(h)}}))}else n={changes:i,selection:s&&a.selection.replaceRange(s)}}let i="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,i+=".compose",e.inputState.compositionFirstChange&&(i+=".start",e.inputState.compositionFirstChange=!1)),a.update(n,{userEvent:i,scrollIntoView:!0})}(e,t,r));return e.state.facet(Mre).some((r=>r(e,t.from,t.to,i,s)))||e.dispatch(s()),!0}class Ane{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){var t;this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 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.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,Nte.safari&&e.contentDOM.addEventListener("input",(()=>null)),Nte.gecko&&(t=e.contentDOM.ownerDocument,eae.has(t)||(eae.add(t),t.addEventListener("copy",(()=>{})),t.addEventListener("cut",(()=>{}))))}handleEvent(e){(function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let r,n=t.target;n!=e.contentDOM;n=n.parentNode)if(!n||11==n.nodeType||(r=yte.get(n))&&r.ignoreEvent(t))return!1;return!0})(this.view,e)&&!this.ignoreDuringComposition(e)&&("keydown"==e.type&&this.keydown(e)||this.runHandlers(e.type,e))}runHandlers(e,t){let r=this.handlers[e];if(r){for(let e of r.observers)e(this.view,t);for(let e of r.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=function(e){let t=Object.create(null);function r(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let t of e){let e=t.spec;if(e&&e.domEventHandlers)for(let n in e.domEventHandlers){let a=e.domEventHandlers[n];a&&r(n).handlers.push(Cne(t.value,a))}if(e&&e.domEventObservers)for(let n in e.domEventObservers){let a=e.domEventObservers[n];a&&r(n).observers.push(Cne(t.value,a))}}for(let e in Nne)r(e).handlers.push(Nne[e]);for(let e in Ine)r(e).observers.push(Ine[e]);return t}(e),r=this.handlers,n=this.view.contentDOM;for(let e in t)if("scroll"!=e){let a=!t[e].handlers.length,o=r[e];o&&a!=!o.handlers.length&&(n.removeEventListener(e,this.handleEvent),o=null),o||n.addEventListener(e,this.handleEvent,{passive:a})}for(let e in r)"scroll"==e||t[e]||n.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&27!=e.keyCode&&Mne.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),Nte.android&&Nte.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return!Nte.ios||e.synthetic||e.altKey||e.metaKey||!((t=Pne.find((t=>t.keyCode==e.keyCode)))&&!e.ctrlKey||$ne.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(229!=e.keyCode&&this.view.observer.forceFlush(),!1):(this.pendingIOSKey=t||e,setTimeout((()=>this.flushIOSKey()),250),!0)}flushIOSKey(e){let t=this.pendingIOSKey;return!!t&&!("Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,pte(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0))}ignoreDuringComposition(e){return!!/^key/.test(e.type)&&(this.composing>0||!!(Nte.safari&&!Nte.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}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()}}function Cne(e,t){return(r,n)=>{try{return t.call(e,n,r)}catch(e){Qre(r.state,e)}}}const Pne=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],$ne="dthko",Mne=[16,17,18,20,91,92,224,225];function Dne(e){return.7*Math.max(0,e)+8}class Rne{constructor(e,t,r,n){this.view=e,this.startEvent=t,this.style=r,this.mustSelect=n,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=function(e){let t,r,n=e.ownerDocument;for(let a=e.parentNode;a&&!(a==n.body||t&&r);)if(1==a.nodeType)!r&&a.scrollHeight>a.clientHeight&&(r=a),!t&&a.scrollWidth>a.clientWidth&&(t=a),a=a.assignedSlot||a.parentNode;else{if(11!=a.nodeType)break;a=a.host}return{x:t,y:r}}(e.contentDOM),this.atoms=e.state.facet(Kre).map((t=>t(e)));let a=e.contentDOM.ownerDocument;a.addEventListener("mousemove",this.move=this.move.bind(this)),a.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(vee.allowMultipleSelections)&&function(e,t){let r=e.state.facet(Tre);return r.length?r[0](t):Nte.mac?t.metaKey:t.ctrlKey}(e,t),this.dragging=!(!function(e,t){let{main:r}=e.state.selection;if(r.empty)return!1;let n=Xee(e.root);if(!n||0==n.rangeCount)return!0;let a=n.getRangeAt(0).getClientRects();for(let e=0;e<a.length;e++){let r=a[e];if(r.left<=t.clientX&&r.right>=t.clientX&&r.top<=t.clientY&&r.bottom>=t.clientY)return!0}return!1}(e,t)||1!=Wne(t))&&null}start(e){!1===this.dragging&&this.select(e)}move(e){if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&(t=this.startEvent,r=e,Math.max(Math.abs(t.clientX-r.clientX),Math.abs(t.clientY-r.clientY))<10))return;var t,r;this.select(this.lastEvent=e);let n=0,a=0,o=0,i=0,s=this.view.win.innerWidth,l=this.view.win.innerHeight;this.scrollParents.x&&({left:o,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:i,bottom:l}=this.scrollParents.y.getBoundingClientRect());let c=rne(this.view);e.clientX-c.left<=o+6?n=-Dne(o-e.clientX):e.clientX+c.right>=s-6&&(n=Dne(e.clientX-s)),e.clientY-c.top<=i+6?a=-Dne(i-e.clientY):e.clientY+c.bottom>=l-6&&(a=Dne(e.clientY-l)),this.setScrollSpeed(n,a)}up(e){null==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),!1===this.dragging&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let r=0;r<e.ranges.length;r++){let n=e.ranges[r],a=null;if(n.empty){let e=yne(this.atoms,n.from,0);e!=n.from&&(a=M9.cursor(e,-1))}else{let e=yne(this.atoms,n.from,-1),t=yne(this.atoms,n.to,1);e==n.from&&t==n.to||(a=M9.range(n.from==n.anchor?e:t,n.from==n.head?e:t))}a&&(t||(t=e.ranges.slice()),t[r]=a)}return t?M9.create(t,e.mainIndex):e}select(e){let{view:t}=this,r=this.skipAtoms(this.style.get(e,this.extend,this.multiple));!this.mustSelect&&r.eq(t.state.selection,!1===this.dragging)||this.view.dispatch({selection:r,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)}}const Nne=Object.create(null),Ine=Object.create(null),Lne=Nte.ie&&Nte.ie_version<15||Nte.ios&&Nte.webkit_version<604;function jne(e,t,r){for(let n of e.facet(t))r=n(r,e);return r}function Bne(e,t){t=jne(e.state,Rre,t);let r,{state:n}=e,a=1,o=n.toText(t),i=o.lines==n.selection.ranges.length,s=null!=Gne&&n.selection.ranges.every((e=>e.empty))&&Gne==o.toString();if(s){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 l=n.toText((i?o.line(a++).text:t)+n.lineBreak);return{changes:{from:s.from,insert:l},range:M9.cursor(r.from+l.length)}}))}else r=i?n.changeByRange((e=>{let t=o.line(a++);return{changes:{from:e.from,to:e.to,insert:t.text},range:M9.cursor(e.from+t.length)}})):n.replaceSelection(o);e.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}function Une(e,t,r,n){if(1==n)return M9.cursor(t,r);if(2==n)return function(e,t,r=1){let n=e.charCategorizer(t),a=e.doc.lineAt(t),o=t-a.from;if(0==a.length)return M9.cursor(t);0==o?r=1:o==a.length&&(r=-1);let i=o,s=o;r<0?i=b9(a.text,o,!1):s=b9(a.text,o);let l=n(a.text.slice(i,s));for(;i>0;){let e=b9(a.text,i,!1);if(n(a.text.slice(e,i))!=l)break;i=e}for(;s<a.length;){let e=b9(a.text,s);if(n(a.text.slice(s,e))!=l)break;s=e}return M9.range(i+a.from,s+a.from)}(e.state,t,r);{let r=rre.find(e.docView,t),n=e.state.doc.lineAt(r?r.posAtEnd:t),a=r?r.posAtStart:n.from,o=r?r.posAtEnd:n.to;return o<e.state.doc.length&&o==n.to&&o++,M9.range(a,o)}}Ine.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},Nne.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),Ine.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},Ine.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},Nne.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let r=null;for(let n of e.state.facet(Cre))if(r=n(e,t),r)break;if(r||0!=t.button||(r=function(e,t){let r=zne(e,t),n=Wne(t),a=e.state.selection;return{update(e){e.docChanged&&(r.pos=e.changes.mapPos(r.pos),a=a.map(e.changes))},get(t,o,i){let s,l=zne(e,t),c=Une(e,l.pos,l.bias,n);if(r.pos!=l.pos&&!o){let t=Une(e,r.pos,r.bias,n),a=Math.min(t.from,c.from),o=Math.max(t.to,c.to);c=a<c.from?M9.range(a,o):M9.range(o,a)}return o?a.replaceRange(a.main.extend(c.from,c.to)):i&&1==n&&a.ranges.length>1&&(s=function(e,t){for(let r=0;r<e.ranges.length;r++){let{from:n,to:a}=e.ranges[r];if(n<=t&&a>=t)return M9.create(e.ranges.slice(0,r).concat(e.ranges.slice(r+1)),e.mainIndex==r?0:e.mainIndex-(e.mainIndex>r?1:0))}return null}(a,l.pos))?s:i?a.addRange(c):M9.create([c])}}}(e,t)),r){let n=!e.hasFocus;e.inputState.startMouseSelection(new Rne(e,t,r,n)),n&&e.observer.ignore((()=>{ute(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()}));let a=e.inputState.mouseSelection;if(a)return a.start(t),!1===a.dragging}return!1};let Fne=(e,t,r)=>t>=r.top&&t<=r.bottom&&e>=r.left&&e<=r.right;function Qne(e,t,r,n){let a=rre.find(e.docView,t);if(!a)return 1;let o=t-a.posAtStart;if(0==o)return 1;if(o==a.length)return-1;let i=a.coordsAt(o,-1);if(i&&Fne(r,n,i))return-1;let s=a.coordsAt(o,1);return s&&Fne(r,n,s)?1:i&&i.bottom>=n?-1:1}function zne(e,t){let r=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:r,bias:Qne(e,r,t.clientX,t.clientY)}}const qne=Nte.ie&&Nte.ie_version<=11;let Hne=null,Vne=0,Zne=0;function Wne(e){if(!qne)return e.detail;let t=Hne,r=Zne;return Hne=e,Zne=Date.now(),Vne=!t||r>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(Vne+1)%3:1}function Xne(e,t,r,n){if(!(r=jne(e.state,Rre,r)))return;let a=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:o}=e.inputState,i=n&&o&&function(e,t){let r=e.state.facet(Are);return r.length?r[0](t):Nte.mac?!t.altKey:!t.ctrlKey}(e,t)?{from:o.from,to:o.to}:null,s={from:a,insert:r},l=e.state.changes(i?[i,s]:s);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:i?"move.drop":"input.drop"}),e.inputState.draggedContent=null}Nne.dragstart=(e,t)=>{let{selection:{main:r}}=e.state;if(t.target.draggable){let n=e.docView.nearest(t.target);if(n&&n.isWidget){let e=n.posAtStart,t=e+n.length;(e>=r.to||t<=r.from)&&(r=M9.range(e,t))}}let{inputState:n}=e;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=r,t.dataTransfer&&(t.dataTransfer.setData("Text",jne(e.state,Nre,e.state.sliceDoc(r.from,r.to))),t.dataTransfer.effectAllowed="copyMove"),!1},Nne.dragend=e=>(e.inputState.draggedContent=null,!1),Nne.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let r=t.dataTransfer.files;if(r&&r.length){let n=Array(r.length),a=0,o=()=>{++a==r.length&&Xne(e,t,n.filter((e=>null!=e)).join(e.state.lineBreak),!1)};for(let e=0;e<r.length;e++){let t=new FileReader;t.onerror=o,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(n[e]=t.result),o()},t.readAsText(r[e])}return!0}{let r=t.dataTransfer.getData("Text");if(r)return Xne(e,t,r,!0),!0}return!1},Nne.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let r=Lne?null:t.clipboardData;return r?(Bne(e,r.getData("text/plain")||r.getData("text/uri-list")),!0):(function(e){let t=e.dom.parentNode;if(!t)return;let r=t.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout((()=>{e.focus(),r.remove(),Bne(e,r.value)}),50)}(e),!1)};let Gne=null;Nne.copy=Nne.cut=(e,t)=>{let{text:r,ranges:n,linewise:a}=function(e){let t=[],r=[],n=!1;for(let n of e.selection.ranges)n.empty||(t.push(e.sliceDoc(n.from,n.to)),r.push(n));if(!t.length){let a=-1;for(let{from:n}of e.selection.ranges){let o=e.doc.lineAt(n);o.number>a&&(t.push(o.text),r.push({from:o.from,to:Math.min(e.doc.length,o.to+1)})),a=o.number}n=!0}return{text:jne(e,Nre,t.join(e.lineBreak)),ranges:r,linewise:n}}(e.state);if(!r&&!a)return!1;Gne=a?r:null,"cut"!=t.type||e.state.readOnly||e.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let o=Lne?null:t.clipboardData;return o?(o.clearData(),o.setData("text/plain",r),!0):(function(e,t){let r=e.dom.parentNode;if(!r)return;let n=r.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=t,n.focus(),n.selectionEnd=t.length,n.selectionStart=0,setTimeout((()=>{n.remove(),e.focus()}),50)}(e,r),!1)};const Yne=aee.define();function Kne(e,t){let r=[];for(let n of e.facet(Dre)){let a=n(e,t);a&&r.push(a)}return r?e.update({effects:r,annotations:Yne.of(!0)}):null}function Jne(e){setTimeout((()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let r=Kne(e.state,t);r?e.dispatch(r):e.update([])}}),10)}Ine.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),Jne(e)},Ine.blur=e=>{e.observer.clearSelectionRange(),Jne(e)},Ine.compositionstart=Ine.compositionupdate=e=>{e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},Ine.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,Nte.chrome&&Nte.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then((()=>e.observer.flush())):setTimeout((()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])}),50))},Ine.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},Nne.beforeinput=(e,t)=>{var r,n;if("insertReplacementText"==t.inputType&&e.observer.editContext){let n=null===(r=t.dataTransfer)||void 0===r?void 0:r.getData("text/plain"),a=t.getTargetRanges();if(n&&a.length){let t=a[0],r=e.posAtDOM(t.startContainer,t.startOffset),o=e.posAtDOM(t.endContainer,t.endOffset);return Tne(e,{from:r,to:o,insert:e.state.toText(n)},null),!0}}let a;if(Nte.chrome&&Nte.android&&(a=Pne.find((e=>e.inputType==t.inputType)))&&(e.observer.delayAndroidKey(a.key,a.keyCode),"Backspace"==a.key||"Delete"==a.key)){let t=(null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0;setTimeout((()=>{var r;((null===(r=window.visualViewport)||void 0===r?void 0:r.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())}),100)}return Nte.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),Nte.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout((()=>Ine.compositionend(e,t)),20),!1};const eae=new Set,tae=["pre-wrap","normal","pre-line","break-spaces"];let rae=!1;function nae(){rae=!1}class aae{constructor(e){this.lineWrapping=e,this.doc=s9.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let r=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((t-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return tae.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];n<0?r++:this.heightSamples[Math.floor(10*n)]||(t=!0,this.heightSamples[Math.floor(10*n)]=!0)}return t}refresh(e,t,r,n,a,o){let i=tae.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=i;if(this.lineWrapping=i,this.lineHeight=t,this.charWidth=r,this.textHeight=n,this.lineLength=a,s){this.heightSamples={};for(let e=0;e<o.length;e++){let t=o[e];t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}}class oae{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class iae{constructor(e,t,r,n,a){this.from=e,this.length=t,this.top=r,this.height=n,this._content=a}get type(){return"number"==typeof this._content?Xte.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 Jte?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(e){let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new iae(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var sae=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(sae||(sae={}));const lae=.001;class cae{constructor(e,t,r=2){this.length=e,this.height=t,this.flags=r}get outdated(){return(2&this.flags)>0}set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>lae&&(rae=!0),this.height=e)}replace(e,t,r){return cae.of(r)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,r,n){let a=this,o=r.doc;for(let i=n.length-1;i>=0;i--){let{fromA:s,toA:l,fromB:c,toB:u}=n[i],d=a.lineAt(s,sae.ByPosNoHeight,r.setDoc(t),0,0),p=d.to>=l?d:a.lineAt(l,sae.ByPosNoHeight,r,0,0);for(u+=p.to-l,l=p.to;i>0&&d.from<=n[i-1].toA;)s=n[i-1].fromA,c=n[i-1].fromB,i--,s<d.from&&(d=a.lineAt(s,sae.ByPosNoHeight,r,0,0));c+=d.from-s,s=d.from;let h=gae.build(r.setDoc(o),e,c,u);a=uae(a,a.replace(s,l,h))}return a.updateHeight(r,0)}static empty(){return new pae(0,0)}static of(e){if(1==e.length)return e[0];let t=0,r=e.length,n=0,a=0;for(;;)if(t==r)if(n>2*a){let a=e[t-1];a.break?e.splice(--t,1,a.left,null,a.right):e.splice(--t,1,a.left,a.right),r+=1+a.break,n-=a.size}else{if(!(a>2*n))break;{let t=e[r];t.break?e.splice(r,1,t.left,null,t.right):e.splice(r,1,t.left,t.right),r+=2+t.break,a-=t.size}}else if(n<a){let r=e[t++];r&&(n+=r.size)}else{let t=e[--r];t&&(a+=t.size)}let o=0;return null==e[t-1]?(o=1,t--):null==e[t]&&(o=1,r++),new fae(cae.of(e.slice(0,t)),o,cae.of(e.slice(r)))}}function uae(e,t){return e==t?e:(e.constructor!=t.constructor&&(rae=!0),t)}cae.prototype.size=1;class dae extends cae{constructor(e,t,r){super(e,t),this.deco=r}blockAt(e,t,r,n){return new iae(n,this.length,r,this.height,this.deco||0)}lineAt(e,t,r,n,a){return this.blockAt(0,r,n,a)}forEachLine(e,t,r,n,a,o){e<=a+this.length&&t>=a&&o(this.blockAt(0,r,n,a))}updateHeight(e,t=0,r=!1,n){return n&&n.from<=t&&n.more&&this.setHeight(n.heights[n.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class pae extends dae{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,r,n){return new iae(n,this.length,r,this.height,this.breaks)}replace(e,t,r){let n=r[0];return 1==r.length&&(n instanceof pae||n instanceof hae&&4&n.flags)&&Math.abs(this.length-n.length)<10?(n instanceof hae?n=new pae(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):cae.of(r)}updateHeight(e,t=0,r=!1,n){return n&&n.from<=t&&n.more?this.setHeight(n.heights[n.index++]):(r||this.outdated)&&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:""})`}}class hae extends cae{constructor(e){super(e,0)}heightMetrics(e,t){let r,n=e.doc.lineAt(t).number,a=e.doc.lineAt(t+this.length).number,o=a-n+1,i=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*o);r=t/o,this.length>o+1&&(i=(this.height-t)/(this.length-o-1))}else r=this.height/o;return{firstLine:n,lastLine:a,perLine:r,perChar:i}}blockAt(e,t,r,n){let{firstLine:a,lastLine:o,perLine:i,perChar:s}=this.heightMetrics(t,n);if(t.lineWrapping){let a=n+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-r)/this.height))*this.length)),o=t.doc.lineAt(a),l=i+o.length*s,c=Math.max(r,e-l/2);return new iae(o.from,o.length,c,l,0)}{let n=Math.max(0,Math.min(o-a,Math.floor((e-r)/i))),{from:s,length:l}=t.doc.line(a+n);return new iae(s,l,r+i*n,i,0)}}lineAt(e,t,r,n,a){if(t==sae.ByHeight)return this.blockAt(e,r,n,a);if(t==sae.ByPosNoHeight){let{from:t,to:n}=r.doc.lineAt(e);return new iae(t,n-t,0,0,0)}let{firstLine:o,perLine:i,perChar:s}=this.heightMetrics(r,a),l=r.doc.lineAt(e),c=i+l.length*s,u=l.number-o,d=n+i*u+s*(l.from-a-u);return new iae(l.from,l.length,Math.max(n,Math.min(d,n+this.height-c)),c,0)}forEachLine(e,t,r,n,a,o){e=Math.max(e,a),t=Math.min(t,a+this.length);let{firstLine:i,perLine:s,perChar:l}=this.heightMetrics(r,a);for(let c=e,u=n;c<=t;){let t=r.doc.lineAt(c);if(c==e){let r=t.number-i;u+=s*r+l*(e-a-r)}let n=s+l*t.length;o(new iae(t.from,t.length,u,n,0)),u+=n,c=t.to+1}}replace(e,t,r){let n=this.length-t;if(n>0){let e=r[r.length-1];e instanceof hae?r[r.length-1]=new hae(e.length+n):r.push(null,new hae(n-1))}if(e>0){let t=r[0];t instanceof hae?r[0]=new hae(e+t.length):r.unshift(new hae(e-1),null)}return cae.of(r)}decomposeLeft(e,t){t.push(new hae(e-1),null)}decomposeRight(e,t){t.push(null,new hae(this.length-e-1))}updateHeight(e,t=0,r=!1,n){let a=t+this.length;if(n&&n.from<=t+this.length&&n.more){let r=[],o=Math.max(t,n.from),i=-1;for(n.from>t&&r.push(new hae(n.from-t-1).updateHeight(e,t));o<=a&&n.more;){let t=e.doc.lineAt(o).length;r.length&&r.push(null);let a=n.heights[n.index++];-1==i?i=a:Math.abs(a-i)>=lae&&(i=-2);let s=new pae(t,a);s.outdated=!1,r.push(s),o+=t+1}o<=a&&r.push(null,new hae(a-o).updateHeight(e,o));let s=cae.of(r);return(i<0||Math.abs(s.height-this.height)>=lae||Math.abs(i-this.heightMetrics(e,t).perLine)>=lae)&&(rae=!0),uae(this,s)}return(r||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class fae extends cae{constructor(e,t,r){super(e.length+t+r.length,e.height+r.height,t|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return 1&this.flags}blockAt(e,t,r,n){let a=r+this.left.height;return e<a?this.left.blockAt(e,t,r,n):this.right.blockAt(e,t,a,n+this.left.length+this.break)}lineAt(e,t,r,n,a){let o=n+this.left.height,i=a+this.left.length+this.break,s=t==sae.ByHeight?e<o:e<i,l=s?this.left.lineAt(e,t,r,n,a):this.right.lineAt(e,t,r,o,i);if(this.break||(s?l.to<i:l.from>i))return l;let c=t==sae.ByPosNoHeight?sae.ByPosNoHeight:sae.ByPos;return s?l.join(this.right.lineAt(i,c,r,o,i)):this.left.lineAt(i,c,r,n,a).join(l)}forEachLine(e,t,r,n,a,o){let i=n+this.left.height,s=a+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,r,n,a,o),t>=s&&this.right.forEachLine(e,t,r,i,s,o);else{let l=this.lineAt(s,sae.ByPos,r,n,a);e<l.from&&this.left.forEachLine(e,l.from-1,r,n,a,o),l.to>=e&&l.from<=t&&o(l),t>l.to&&this.right.forEachLine(l.to+1,t,r,i,s,o)}}replace(e,t,r){let n=this.left.length+this.break;if(t<n)return this.balanced(this.left.replace(e,t,r),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-n,t-n,r));let a=[];e>0&&this.decomposeLeft(e,a);let o=a.length;for(let e of r)a.push(e);if(e>0&&mae(a,o-1),t<this.length){let e=a.length;this.decomposeRight(t,a),mae(a,e)}return cae.of(a)}decomposeLeft(e,t){let r=this.left.length;if(e<=r)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(r++,e>=r&&t.push(null)),e>r&&this.right.decomposeLeft(e-r,t)}decomposeRight(e,t){let r=this.left.length,n=r+this.break;if(e>=n)return this.right.decomposeRight(e-n,t);e<r&&this.left.decomposeRight(e,t),this.break&&e<n&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?cae.of(this.break?[e,null,t]:[e,t]):(this.left=uae(this.left,e),this.right=uae(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,r=!1,n){let{left:a,right:o}=this,i=t+a.length+this.break,s=null;return n&&n.from<=t+a.length&&n.more?s=a=a.updateHeight(e,t,r,n):a.updateHeight(e,t,r),n&&n.from<=i+o.length&&n.more?s=o=o.updateHeight(e,i,r,n):o.updateHeight(e,i,r),s?this.balanced(a,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function mae(e,t){let r,n;null==e[t]&&(r=e[t-1])instanceof hae&&(n=e[t+1])instanceof hae&&e.splice(t-1,3,new hae(r.length+1+n.length))}class gae{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),r=this.nodes[this.nodes.length-1];r instanceof pae?r.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new pae(e-this.pos,-1)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,r){if(e<t||r.heightRelevant){let n=r.widget?r.widget.estimatedHeight:0,a=r.widget?r.widget.lineBreaks:0;n<0&&(n=this.oracle.lineHeight);let o=t-e;r.block?this.addBlock(new dae(o,n,r)):(o||a||n>=5)&&this.addLineDeco(n,a,o)}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||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new pae(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let r=new hae(t-e);return this.oracle.doc.lineAt(e).to==t&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof pae)return e;let t=new pae(0,-1);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=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,r){let n=this.ensureLine();n.length+=r,n.collapsed+=r,n.widgetHeight=Math.max(n.widgetHeight,e),n.breaks+=t,this.writtenTo=this.pos=this.pos+r}finish(e){let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof pae||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new pae(0,-1));let r=e;for(let e of this.nodes)e instanceof pae&&e.updateHeight(this.oracle,r),r+=e?e.length:1;return this.nodes}static build(e,t,r,n){let a=new gae(r,e);return See.spans(t,r,n,a,0),a.finish(r)}}class bae{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,r,n){(e<t||r&&r.heightRelevant||n&&n.heightRelevant)&&tre(e,t,this.changes,5)}}function vae(e,t){let r=e.getBoundingClientRect(),n=e.ownerDocument,a=n.defaultView||window,o=Math.max(0,r.left),i=Math.min(a.innerWidth,r.right),s=Math.max(0,r.top),l=Math.min(a.innerHeight,r.bottom);for(let t=e.parentNode;t&&t!=n.body;)if(1==t.nodeType){let r=t,n=window.getComputedStyle(r);if((r.scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth)&&"visible"!=n.overflow){let n=r.getBoundingClientRect();o=Math.max(o,n.left),i=Math.min(i,n.right),s=Math.max(s,n.top),l=Math.min(t==e.parentNode?a.innerHeight:l,n.bottom)}t="absolute"==n.position||"fixed"==n.position?r.offsetParent:r.parentNode}else{if(11!=t.nodeType)break;t=t.host}return{left:o-r.left,right:Math.max(o,i)-r.left,top:s-(r.top+t),bottom:Math.max(s,l)-(r.top+t)}}function yae(e,t){let r=e.getBoundingClientRect();return{left:0,right:r.right-r.left,top:t,bottom:r.bottom-(r.top+t)}}class Oae{constructor(e,t,r,n){this.from=e,this.to=t,this.size=r,this.displaySize=n}static same(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++){let n=e[r],a=t[r];if(n.from!=a.from||n.to!=a.to||n.size!=a.size)return!1}return!0}draw(e,t){return Gte.replace({widget:new wae(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}}class wae extends Wte{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}}class xae{constructor(e){this.state=e,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.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=Eae,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=lre.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(Xre).some((e=>"function"!=typeof e&&"cm-lineWrapping"==e.class));this.heightOracle=new aae(t),this.stateDeco=e.facet(Gre).filter((e=>"function"!=typeof e)),this.heightMap=cae.empty().applyChanges(this.stateDeco,s9.empty,this.heightOracle.setDoc(e.doc),[new ane(0,0,0,e.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=Gte.set(this.lineGaps.map((e=>e.draw(this,!1)))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let r=0;r<=1;r++){let n=r?t.head:t.anchor;if(!e.some((({from:e,to:t})=>n>=e&&n<=t))){let{from:t,to:r}=this.lineBlockAt(n);e.push(new kae(t,r))}}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?Eae:new Tae(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(Aae(e,this.scaler))}))}update(e,t=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(Gre).filter((e=>"function"!=typeof e));let n=e.changedRanges,a=ane.extendWithRanges(n,function(e,t,r){let n=new bae;return See.compare(e,t,r,n,0),n.changes}(r,this.stateDeco,e?e.changes:S9.empty(this.state.doc.length))),o=this.heightMap.height,i=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);nae(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),a),(this.heightMap.height!=o||rae)&&(e.flags|=2),i?(this.scrollAnchorPos=e.changes.mapPos(i.from,-1),this.scrollAnchorHeight=i.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let s=a.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 l=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(l||!e.changes.empty||2&e.flags)&&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(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Lre)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,r=window.getComputedStyle(t),n=this.heightOracle,a=r.whiteSpace;this.defaultTextDirection="rtl"==r.direction?lre.RTL:lre.LTR;let o=this.heightOracle.mustRefreshForWrapping(a),i=t.getBoundingClientRect(),s=o||this.mustMeasureContent||this.contentDOMHeight!=i.height;this.contentDOMHeight=i.height,this.mustMeasureContent=!1;let l=0,c=0;if(i.width&&i.height){let{scaleX:e,scaleY:r}=ite(t,i);(e>.005&&Math.abs(this.scaleX-e)>.005||r>.005&&Math.abs(this.scaleY-r)>.005)&&(this.scaleX=e,this.scaleY=r,l|=8,o=s=!0)}let u=(parseInt(r.paddingTop)||0)*this.scaleY,d=(parseInt(r.paddingBottom)||0)*this.scaleY;this.paddingTop==u&&this.paddingBottom==d||(this.paddingTop=u,this.paddingBottom=d,l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(n.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=8);let p=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,this.scrollTop=p),this.scrolledToBottom=fte(e.scrollDOM);let h=(this.printing?yae:vae)(t,this.paddingTop),f=h.top-this.pixelViewport.top,m=h.bottom-this.pixelViewport.bottom;this.pixelViewport=h;let g=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(g!=this.inView&&(this.inView=g,g&&(s=!0)),!this.inView&&!this.scrollTarget)return 0;let b=i.width;if(this.contentDOMWidth==b&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=i.width,this.editorHeight=e.scrollDOM.clientHeight,l|=8),s){let t=e.docView.measureVisibleLineHeights(this.viewport);if(n.mustRefreshForHeights(t)&&(o=!0),o||n.lineWrapping&&Math.abs(b-this.contentDOMWidth)>n.charWidth){let{lineHeight:r,charWidth:i,textHeight:s}=e.docView.measureTextSize();o=r>0&&n.refresh(a,r,i,s,b/i,t),o&&(e.docView.minWidth=0,l|=8)}f>0&&m>0?c=Math.max(f,m):f<0&&m<0&&(c=Math.min(f,m)),nae();for(let r of this.viewports){let a=r.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(r);this.heightMap=(o?cae.empty().applyChanges(this.stateDeco,s9.empty,this.heightOracle,[new ane(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(n,0,o,new oae(r.from,a))}rae&&(l|=2)}let v=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return v&&(2&l&&(l|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),l|=this.updateForViewport()),(2&l||v)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),n=this.heightMap,a=this.heightOracle,{visibleTop:o,visibleBottom:i}=this,s=new kae(n.lineAt(o-1e3*r,sae.ByHeight,a,0,0).from,n.lineAt(i+1e3*(1-r),sae.ByHeight,a,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let r,o=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),i=n.lineAt(e,sae.ByPos,a,0,0);r="center"==t.y?(i.top+i.bottom)/2-o/2:"start"==t.y||"nearest"==t.y&&e<s.from?i.top:i.bottom-o,s=new kae(n.lineAt(r-500,sae.ByHeight,a,0,0).from,n.lineAt(r+o+500,sae.ByHeight,a,0,0).to)}}return s}mapViewport(e,t){let r=t.mapPos(e.from,-1),n=t.mapPos(e.to,1);return new kae(this.heightMap.lineAt(r,sae.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(n,sae.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},r=0){if(!this.inView)return!0;let{top:n}=this.heightMap.lineAt(e,sae.ByPos,this.heightOracle,0,0),{bottom:a}=this.heightMap.lineAt(t,sae.ByPos,this.heightOracle,0,0),{visibleTop:o,visibleBottom:i}=this;return(0==e||n<=o-Math.max(10,Math.min(-r,250)))&&(t==this.state.doc.length||a>=i+Math.max(10,Math.min(r,250)))&&n>o-2e3&&a<i+2e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let r=[];for(let n of e)t.touchesRange(n.from,n.to)||r.push(new Oae(t.mapPos(n.from),t.mapPos(n.to),n.size,n.displaySize));return r}ensureLineGaps(e,t){let r=this.heightOracle.lineWrapping,n=r?1e4:2e3,a=n>>1,o=n<<1;if(this.defaultTextDirection!=lre.LTR&&!r)return[];let i=[],s=(n,o,l,c)=>{if(o-n<a)return;let u=this.state.selection.main,d=[u.from];u.empty||d.push(u.to);for(let e of d)if(e>n&&e<o)return s(n,e-10,l,c),void s(e+10,o,l,c);let p=function(e,t){for(let r of e)if(t(r))return r}(e,(e=>e.from>=l.from&&e.to<=l.to&&Math.abs(e.from-n)<a&&Math.abs(e.to-o)<a&&!d.some((t=>e.from<t&&e.to>t))));if(!p){if(o<l.to&&t&&r&&t.visibleRanges.some((e=>e.from<=o&&e.to>=o))){let e=t.moveToLineBoundary(M9.cursor(o),!1,!0).head;e>n&&(o=e)}let e=this.gapSize(l,n,o,c);p=new Oae(n,o,e,r||e<2e6?e:2e6)}i.push(p)},l=t=>{if(t.length<o||t.type!=Xte.Text)return;let a=function(e,t,r){let n=[],a=e,o=0;return See.spans(r,e,t,{span(){},point(e,t){e>a&&(n.push({from:a,to:e}),o+=e-a),a=t}},20),a<t&&(n.push({from:a,to:t}),o+=t-a),{total:o,ranges:n}}(t.from,t.to,this.stateDeco);if(a.total<o)return;let i,l,c=this.scrollTarget?this.scrollTarget.range.head:null;if(r){let e,r,o=n/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=c){let n=_ae(a,c),i=((this.visibleBottom-this.visibleTop)/2+o)/t.height;e=n-i,r=n+i}else e=(this.visibleTop-t.top-o)/t.height,r=(this.visibleBottom-t.top+o)/t.height;i=Sae(a,e),l=Sae(a,r)}else{let r=a.total*this.heightOracle.charWidth,o=n*this.heightOracle.charWidth,s=0;if(r>2e6)for(let r of e)r.from>=t.from&&r.from<t.to&&r.size!=r.displaySize&&r.from*this.heightOracle.charWidth+s<this.pixelViewport.left&&(s=r.size-r.displaySize);let u,d,p=this.pixelViewport.left+s,h=this.pixelViewport.right+s;if(null!=c){let e=_ae(a,c),t=((h-p)/2+o)/r;u=e-t,d=e+t}else u=(p-o)/r,d=(h+o)/r;i=Sae(a,u),l=Sae(a,d)}i>t.from&&s(t.from,i,t,a),l<t.to&&s(l,t.to,t,a)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(l):l(e);return i}gapSize(e,t,r,n){let a=_ae(n,r)-_ae(n,t);return this.heightOracle.lineWrapping?e.height*a:n.total*this.heightOracle.charWidth*a}updateLineGaps(e){Oae.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Gte.set(e.map((e=>e.draw(this,this.heightOracle.lineWrapping)))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];See.spans(e,this.viewport.from,this.viewport.to,{span(e,r){t.push({from:e,to:r})},point(){}},20);let r=t.length!=this.visibleRanges.length||this.visibleRanges.some(((e,r)=>e.from!=t[r].from||e.to!=t[r].to));return this.visibleRanges=t,r?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find((t=>t.from<=e&&t.to>=e))||Aae(this.heightMap.lineAt(e,sae.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))||Aae(this.heightMap.lineAt(this.scaler.fromDOM(e),sae.ByHeight,this.heightOracle,0,0),this.scaler)}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 Aae(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}}class kae{constructor(e,t){this.from=e,this.to=t}}function Sae({total:e,ranges:t},r){if(r<=0)return t[0].from;if(r>=1)return t[t.length-1].to;let n=Math.floor(e*r);for(let e=0;;e++){let{from:r,to:a}=t[e],o=a-r;if(n<=o)return r+n;n-=o}}function _ae(e,t){let r=0;for(let{from:n,to:a}of e.ranges){if(t<=a){r+=t-n;break}r+=a-n}return r/e.total}const Eae={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};class Tae{constructor(e,t,r){let n=0,a=0,o=0;this.viewports=r.map((({from:r,to:a})=>{let o=t.lineAt(r,sae.ByPos,e,0,0).top,i=t.lineAt(a,sae.ByPos,e,0,0).bottom;return n+=i-o,{from:r,to:a,top:o,bottom:i,domTop:0,domBottom:0}})),this.scale=(7e6-n)/(t.height-n);for(let e of this.viewports)e.domTop=o+(e.top-a)*this.scale,o=e.domBottom=e.domTop+(e.bottom-e.top),a=e.bottom}toDOM(e){for(let t=0,r=0,n=0;;t++){let a=t<this.viewports.length?this.viewports[t]:null;if(!a||e<a.top)return n+(e-r)*this.scale;if(e<=a.bottom)return a.domTop+(e-a.top);r=a.bottom,n=a.domBottom}}fromDOM(e){for(let t=0,r=0,n=0;;t++){let a=t<this.viewports.length?this.viewports[t]:null;if(!a||e<a.domTop)return r+(e-n)/this.scale;if(e<=a.domBottom)return a.top+(e-a.domTop);r=a.bottom,n=a.domBottom}}eq(e){return e instanceof Tae&&this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every(((t,r)=>t.from==e.viewports[r].from&&t.to==e.viewports[r].to))}}function Aae(e,t){if(1==t.scale)return e;let r=t.toDOM(e.top),n=t.toDOM(e.bottom);return new iae(e.from,e.length,r,n-r,Array.isArray(e._content)?e._content.map((e=>Aae(e,t))):e._content)}const Cae=N9.define({combine:e=>e.join(" ")}),Pae=N9.define({combine:e=>e.indexOf(!0)>-1}),$ae=Uee.newName(),Mae=Uee.newName(),Dae=Uee.newName(),Rae={"&light":"."+Mae,"&dark":"."+Dae};function Nae(e,t,r){return new Uee(t,{finish:t=>/&/.test(t)?t.replace(/&\w*/,(t=>{if("&"==t)return e;if(!r||!r[t])throw new RangeError(`Unsupported selector: ${t}`);return r[t]})):e+" "+t})}const Iae=Nae("."+$ae,{"&":{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":{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-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",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&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"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"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"}},Rae),Lae={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},jae=Nte.ie&&Nte.ie_version<=11;class Bae{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new ste,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);(Nte.ie&&Nte.ie_version<=11||Nte.ios&&e.composing)&&t.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),!window.EditContext||!1===e.constructor.EDIT_CONTEXT||Nte.chrome&&Nte.chrome_version<126||(this.editContext=new Qae(e),e.state.facet(zre)&&(e.contentDOM.editContext=this.editContext.editContext)),jae&&(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")),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver((()=>{var e;(null===(e=this.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&this.onResize()})),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),"function"==typeof IntersectionObserver&&(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){("change"!=e.type&&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,r)=>t!=e[r])))){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:r}=this,n=this.selectionRange;if(r.state.facet(zre)?r.root.activeElement!=this.dom:!Yee(this.dom,n))return;let a=n.anchorNode&&r.docView.nearest(n.anchorNode);a&&a.ignoreEvent(e)?t||(this.selectionChanged=!1):(Nte.ie&&Nte.ie_version<=11||Nte.android&&Nte.chrome)&&!r.state.selection.main.empty&&n.focusNode&&Jee(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Xee(e.root);if(!t)return!1;let r=Nte.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){if(t.getComposedRanges){let r=t.getComposedRanges(e.root)[0];if(r)return Fae(e,r)}let r=null;function n(e){e.preventDefault(),e.stopImmediatePropagation(),r=e.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",n,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",n,!0),r?Fae(e,r):null}(this.view,t)||t;if(!r||this.selectionRange.eq(r))return!1;let n=Yee(this.dom,r);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){let r=t.focusNode,n=t.focusOffset;if(!r||t.anchorNode!=r||t.anchorOffset!=n)return!1;for(n=Math.min(n,nte(r));;)if(n){if(1!=r.nodeType)return!1;let e=r.childNodes[n-1];"false"==e.contentEditable?n--:(r=e,n=nte(r))}else{if(r==e)return!0;n=ete(r),r=r.parentNode}}(this.dom,r)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(r),n&&(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 r=this.dom;r;)if(1==r.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==r?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(r),r=r.assignedSlot||r.parentNode;else{if(11!=r.nodeType)break;r=r.host}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,Lae),jae&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),jae&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var r;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&&pte(this.dom,e.key,e.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(null===(r=this.delayedAndroidKey)||void 0===r?void 0:r.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,r=-1,n=!1;for(let a of e){let e=this.readMutation(a);e&&(e.typeOver&&(n=!0),-1==t?({from:t,to:r}=e):(t=Math.min(e.from,t),r=Math.max(e.to,r)))}return{from:t,to:r,typeOver:n}}readChange(){let{from:e,to:t,typeOver:r}=this.processRecords(),n=this.selectionChanged&&Yee(this.dom,this.selectionRange);if(e<0&&!n)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let a=new _ne(this.view,e,t,r);return this.view.docView.domChanged={newSel:a.newSel?a.newSel.main:null},a}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let r=this.view.state,n=Ene(this.view,t);return this.view.state==r&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),n}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),"childList"==e.type){let r=Uae(t,e.previousSibling||e.target.previousSibling,-1),n=Uae(t,e.nextSibling||e.target.nextSibling,1);return{from:r?t.posAfter(r):t.posAtStart,to:n?t.posBefore(n):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{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(zre)!=e.state.facet(zre)&&(e.view.contentDOM.editContext=e.state.facet(zre)?this.editContext.editContext:null))}destroy(){var e,t,r;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),null===(t=this.gapIntersection)||void 0===t||t.disconnect(),null===(r=this.resizeScroll)||void 0===r||r.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())}}function Uae(e,t,r){for(;t;){let n=yte.get(t);if(n&&n.parent==e)return n;let a=t.parentNode;t=a!=e.dom?a:r>0?t.nextSibling:t.previousSibling}return null}function Fae(e,t){let r=t.startContainer,n=t.startOffset,a=t.endContainer,o=t.endOffset,i=e.docView.domAtPos(e.state.selection.main.anchor);return Jee(i.node,i.offset,a,o)&&([r,n,a,o]=[a,o,r,n]),{anchorNode:r,anchorOffset:n,focusNode:a,focusOffset:o}}class Qae{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=t=>{let{anchor:r}=e.state.selection.main,n=this.toEditorPos(t.updateRangeStart),a=this.toEditorPos(t.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:t.updateRangeStart,editorBase:n,drifted:!1});let o={from:n,to:a,insert:s9.of(t.text.split("\n"))};if(o.from==this.from&&r<this.from?o.from=r:o.to==this.to&&r>this.to&&(o.to=r),o.from!=o.to||o.insert.length){if(this.pendingContextChange=o,!e.state.readOnly){let r=this.to-this.from+(o.to-o.from+o.insert.length);Tne(e,o,M9.single(this.toEditorPos(t.selectionStart,r),this.toEditorPos(t.selectionEnd,r)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))}},this.handlers.characterboundsupdate=r=>{let n=[],a=null;for(let t=this.toEditorPos(r.rangeStart),o=this.toEditorPos(r.rangeEnd);t<o;t++){let r=e.coordsForChar(t);a=r&&new DOMRect(r.left,r.top,r.right-r.left,r.bottom-r.top)||a||new DOMRect,n.push(a)}t.updateCharacterBounds(r.rangeStart,n)},this.handlers.textformatupdate=t=>{let r=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,n=e.underlineThickness;if("None"!=t&&"None"!=n){let a=this.toEditorPos(e.rangeStart),o=this.toEditorPos(e.rangeEnd);if(a<o){let e=`text-decoration: underline ${"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${"Thin"==n?1:2}px`;r.push(Gte.mark({attributes:{style:e}}).range(a,o))}}}e.dispatch({effects:Fre.of(Gte.set(r))})},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=>{this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect());let t=Xee(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,r=!1,n=this.pendingContextChange;return e.changes.iterChanges(((a,o,i,s,l)=>{if(r)return;let c=l.length-(o-a);if(n&&o>=n.to){if(n.from==a&&n.to==o&&n.insert.eq(l))return n=this.pendingContextChange=null,t+=c,void(this.to+=c);n=null,this.revertPending(e.state)}if(a+=t,(o+=t)<=this.from)this.from+=c,this.to+=c;else if(a<this.to){if(a<this.from||o>this.to||this.to-this.from+l.length>3e4)return void(r=!0);this.editContext.updateText(this.toContextPos(a),this.toContextPos(o),l.toString()),this.to+=c}t+=c})),n&&!r&&this.revertPending(e.state),!r}update(e){let t=this.pendingContextChange;this.composing&&(this.composing.drifted||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)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,this.reset(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,r=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),n=this.toContextPos(t.head);this.editContext.selectionStart==r&&this.editContext.selectionEnd==n||this.editContext.updateSelection(r,n)}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 r=this.composing;return r&&r.drifted?r.editorBase+(e-r.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])}}class zae{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.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],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:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(e=>e.forEach((e=>r(e,this))))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}(e.parent)||document,this.viewState=new xae(e.state||vee.create(e)),e.scrollTo&&e.scrollTo.is(Ure)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Hre).map((e=>new Zre(e)));for(let e of this.plugins)e.update(this);this.observer=new Bae(this),this.inputState=new Ane(this),this.inputState.ensureHandlers(this.plugins),this.docView=new ine(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),(null===(t=document.fonts)||void 0===t?void 0:t.ready)&&document.fonts.ready.then((()=>this.requestMeasure()))}dispatch(...e){let t=1==e.length&&e[0]instanceof lee?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t,r=!1,n=!1,a=this.state;for(let t of e){if(t.startState!=a)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");a=t.state}if(this.destroyed)return void(this.viewState.state=a);let o=this.hasFocus,i=0,s=null;e.some((e=>e.annotation(Yne)))?(this.inputState.notifiedFocused=o,i=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,s=Kne(a,o),s||(i=1));let l=this.observer.delayedAndroidKey,c=null;if(l?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(a.doc)||!this.state.selection.eq(a.selection))&&(c=null)):this.observer.clear(),a.facet(vee.phrases)!=this.state.facet(vee.phrases))return this.setState(a);t=one.create(this,a,e),t.flags|=i;let u=this.viewState.scrollTarget;try{this.updateState=2;for(let t of e){if(u&&(u=u.map(t.changes)),t.scrollIntoView){let{main:e}=t.state.selection;u=new Bre(e.empty?e:M9.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(Ure)&&(u=e.value.clip(this.state))}this.viewState.update(t,u),this.bidiCache=Vae.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),r=this.docView.update(t),this.state.facet(nne)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(r,e.some((e=>e.isUserEvent("select.pointer"))))}finally{this.updateState=0}if(t.startState.facet(Cae)!=t.state.facet(Cae)&&(this.viewState.mustMeasureContent=!0),(r||n||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),r&&this.docViewUpdate(),!t.empty)for(let e of this.state.facet($re))try{e(t)}catch(e){Qre(this.state,e,"update listener")}(s||c)&&Promise.resolve().then((()=>{s&&this.state==s.startState&&this.dispatch(s),c&&!Ene(this,c)&&l.force&&pte(this.contentDOM,l.key,l.keyCode)}))}setState(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=e);this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new xae(e),this.plugins=e.facet(Hre).map((e=>new Zre(e))),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new ine(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(Hre),r=e.state.facet(Hre);if(t!=r){let n=[];for(let a of r){let r=t.indexOf(a);if(r<0)n.push(new Zre(a));else{let t=this.plugins[r];t.mustUpdate=e,n.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=n,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!=r&&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){Qre(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)return this.measureScheduled=-1,void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,r=this.scrollDOM,n=r.scrollTop*this.scaleY,{scrollAnchorPos:a,scrollAnchorHeight:o}=this.viewState;Math.abs(n-this.viewState.scrollTop)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(o<0)if(fte(r))a=-1,o=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(n);a=e.from,o=e.top}this.updateState=1;let i=this.viewState.measure(this);if(!i&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(e>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let s=[];4&i||([this.measureRequests,s]=[s,this.measureRequests]);let l=s.map((e=>{try{return e.read(this)}catch(e){return Qre(this.state,e),Hae}})),c=one.create(this,this.state,[]),u=!1;c.flags|=i,t?t.flags|=i:t=c,this.updateState=2,c.empty||(this.updatePlugins(c),this.inputState.update(c),this.updateAttrs(),u=this.docView.update(c),u&&this.docViewUpdate());for(let e=0;e<s.length;e++)if(l[e]!=Hae)try{let t=s[e];t.write&&t.write(l[e],this)}catch(e){Qre(this.state,e)}if(u&&this.docView.updateSelection(!0),!c.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,o=-1;continue}{let e=(a<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(a).top)-o;if(e>1||e<-1){n+=e,r.scrollTop=n/this.scaleY,o=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet($re))e(t)}get themeClasses(){return $ae+" "+(this.state.facet(Pae)?Dae:Mae)+" "+this.state.facet(Cae)}updateAttrs(){let e=Zae(this,Wre,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(zre)?"true":"false",class:"cm-content",style:`${Nte.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),Zae(this,Xre,t);let r=this.observer.ignore((()=>{let r=Vte(this.contentDOM,this.contentAttrs,t),n=Vte(this.dom,this.editorAttrs,e);return r||n}));return this.editorAttrs=e,this.contentAttrs=t,r}showAnnouncements(e){let t=!0;for(let r of e)for(let e of r.effects)e.is(zae.announce)&&(t&&(this.announceDOM.textContent=""),t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value)}mountStyles(){this.styleModules=this.state.facet(nne);let e=this.state.facet(zae.cspNonce);Uee.mount(this.root,this.styleModules.concat(Iae).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&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(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e);this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(void 0===t||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find((t=>t.spec==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,r){return One(this,e,vne(this,e,t,r))}moveByGroup(e,t){return One(this,e,vne(this,e,t,(t=>function(e,t,r){let n=e.state.charCategorizer(t),a=n(r);return e=>{let t=n(e);return a==mee.Space&&(a=t),a==t}}(this,e.head,t))))}visualLineSide(e,t){let r=this.bidiSpans(e),n=this.textDirectionAt(e.from),a=r[t?r.length-1:0];return M9.cursor(a.side(t,n)+e.from,a.forward(!t,n)?1:-1)}moveToLineBoundary(e,t,r=!0){return function(e,t,r,n){let a=function(e,t){let r=e.lineBlockAt(t);if(Array.isArray(r.type))for(let e of r.type)if(e.to>t||e.to==t&&(e.to==r.to||e.type==Xte.Text))return e;return r}(e,t.head),o=n&&a.type==Xte.Text&&(e.lineWrapping||a.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>a.from?t.head-1:t.head):null;if(o){let t=e.dom.getBoundingClientRect(),n=e.textDirectionAt(a.from),i=e.posAtCoords({x:r==(n==lre.LTR)?t.right-1:t.left+1,y:(o.top+o.bottom)/2});if(null!=i)return M9.cursor(i,r?-1:1)}return M9.cursor(r?a.to:a.from,r?-1:1)}(this,e,t,r)}moveVertically(e,t,r){return One(this,e,function(e,t,r,n){let a=t.head,o=r?1:-1;if(a==(r?e.state.doc.length:0))return M9.cursor(a,t.assoc);let i,s=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(a,t.assoc||-1),u=e.documentTop;if(c)null==s&&(s=c.left-l.left),i=o<0?c.top:c.bottom;else{let t=e.viewState.lineBlockAt(a);null==s&&(s=Math.min(l.right-l.left,e.defaultCharacterWidth*(a-t.from))),i=(o<0?t.top:t.bottom)+u}let d=l.left+s,p=null!=n?n:e.viewState.heightOracle.textHeight>>1;for(let t=0;;t+=10){let r=i+(p+t)*o,n=gne(e,{x:d,y:r},!1,o);if(r<l.top||r>l.bottom||(o<0?n<a:n>a)){let t=e.docView.coordsForChar(n),a=!t||r<t.top?-1:1;return M9.cursor(n,a,void 0,s)}}}(this,e,t,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),gne(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let r=this.docView.coordsAt(e,t);if(!r||r.left==r.right)return r;let n=this.state.doc.lineAt(e),a=this.bidiSpans(n);return ate(r,a[vre.find(a,e-n.from,-1,t)].dir==lre.LTR==t>0)}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(Ire)||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>qae)return kre(e.length);let t,r=this.textDirectionAt(e.from);for(let n of this.bidiCache)if(n.from==e.from&&n.dir==r&&(n.fresh||yre(n.isolates,t=ene(this,e))))return n.order;t||(t=ene(this,e));let n=function(e,t,r){if(!e)return[new vre(0,0,t==ure?1:0)];if(t==cre&&!r.length&&!bre.test(e))return kre(e.length);if(r.length)for(;e.length>Ore.length;)Ore[Ore.length]=256;let n=[],a=t==cre?0:1;return xre(e,a,a,r,0,e.length,n),n}(e.text,r,t);return this.bidiCache.push(new Vae(e.from,e.to,r,t,!0,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Nte.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore((()=>{ute(this.contentDOM),this.docView.updateSelection()}))}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?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.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return Ure.of(new Bre("number"==typeof e?M9.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return Ure.of(new Bre(M9.cursor(r.from),"start","start",r.top-e,t,!0))}setTabFocusMode(e){null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Vre.define((()=>({})),{eventHandlers:e})}static domEventObservers(e){return Vre.define((()=>({})),{eventObservers:e})}static theme(e,t){let r=Uee.newName(),n=[Cae.of(r),nne.of(Nae(`.${r}`,e))];return t&&t.dark&&n.push(Pae.of(!0)),n}static baseTheme(e){return q9.lowest(nne.of(Nae("."+$ae,e,Rae)))}static findFromDOM(e){var t;let r=e.querySelector(".cm-content"),n=r&&yte.get(r)||yte.get(e);return(null===(t=null==n?void 0:n.rootView)||void 0===t?void 0:t.view)||null}}zae.styleModule=nne,zae.inputHandler=Mre,zae.clipboardInputFilter=Rre,zae.clipboardOutputFilter=Nre,zae.scrollHandler=jre,zae.focusChangeEffect=Dre,zae.perLineTextDirection=Ire,zae.exceptionSink=Pre,zae.updateListener=$re,zae.editable=zre,zae.mouseSelectionStyle=Cre,zae.dragMovesSelection=Are,zae.clickAddsSelectionRange=Tre,zae.decorations=Gre,zae.outerDecorations=Yre,zae.atomicRanges=Kre,zae.bidiIsolatedRanges=Jre,zae.scrollMargins=tne,zae.darkTheme=Pae,zae.cspNonce=N9.define({combine:e=>e.length?e[0]:""}),zae.contentAttributes=Xre,zae.editorAttributes=Wre,zae.lineWrapping=zae.contentAttributes.of({class:"cm-lineWrapping"}),zae.announce=see.define();const qae=4096,Hae={};class Vae{constructor(e,t,r,n,a,o){this.from=e,this.to=t,this.dir=r,this.isolates=n,this.fresh=a,this.order=o}static update(e,t){if(t.empty&&!e.some((e=>e.fresh)))return e;let r=[],n=e.length?e[e.length-1].dir:lre.LTR;for(let a=Math.max(0,e.length-10);a<e.length;a++){let o=e[a];o.dir!=n||t.touchesRange(o.from,o.to)||r.push(new Vae(t.mapPos(o.from,1),t.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return r}}function Zae(e,t,r){for(let n=e.state.facet(t),a=n.length-1;a>=0;a--){let t=n[a],o="function"==typeof t?t(e):t;o&&zte(o,r)}return r}const Wae=Nte.mac?"mac":Nte.windows?"win":Nte.linux?"linux":"key";function Xae(e,t,r){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==r&&t.shiftKey&&(e="Shift-"+e),e}const Gae=q9.default(zae.domEventHandlers({keydown:(e,t)=>function(e,t,r,n){toe=t;let a=function(e){var t=!(Hee&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Vee&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?qee:zee)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(t),o=O9(v9(a,0))==a.length&&" "!=a,i="",s=!1,l=!1,c=!1;Jae&&Jae.view==r&&Jae.scope==n&&(i=Jae.prefix+" ",Mne.indexOf(t.keyCode)<0&&(l=!0,Jae=null));let u,d,p=new Set,h=e=>{if(e){for(let t of e.run)if(!p.has(t)&&(p.add(t),t(r)))return e.stopPropagation&&(c=!0),!0;e.preventDefault&&(e.stopPropagation&&(c=!0),l=!0)}return!1},f=e[n];return f&&(h(f[i+Xae(a,t,!o)])?s=!0:o&&(t.altKey||t.metaKey||t.ctrlKey)&&!(Nte.windows&&t.ctrlKey&&t.altKey)&&(u=zee[t.keyCode])&&u!=a?(h(f[i+Xae(u,t,!0)])||t.shiftKey&&(d=qee[t.keyCode])!=a&&d!=u&&h(f[i+Xae(d,t,!1)]))&&(s=!0):o&&t.shiftKey&&h(f[i+Xae(a,t,!0)])&&(s=!0),!s&&h(f._any)&&(s=!0)),l&&(s=!0),s&&c&&t.stopPropagation(),toe=null,s}(function(e){let t=e.facet(Yae),r=Kae.get(t);return r||Kae.set(t,r=function(e,t=Wae){let r=Object.create(null),n=Object.create(null),a=(e,t)=>{let r=n[e];if(null==r)n[e]=t;else if(r!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},o=(e,n,o,i,s)=>{var l,c;let u=r[e]||(r[e]=Object.create(null)),d=n.split(/ (?!$)/).map((e=>function(e,t){const r=e.split(/-(?!$)/);let n,a,o,i,s=r[r.length-1];"Space"==s&&(s=" ");for(let e=0;e<r.length-1;++e){const s=r[e];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))a=!0;else if(/^s(hift)?$/i.test(s))o=!0;else{if(!/^mod$/i.test(s))throw new Error("Unrecognized modifier name: "+s);"mac"==t?i=!0:a=!0}}return n&&(s="Alt-"+s),a&&(s="Ctrl-"+s),i&&(s="Meta-"+s),o&&(s="Shift-"+s),s}(e,t)));for(let t=1;t<d.length;t++){let r=d.slice(0,t).join(" ");a(r,!0),u[r]||(u[r]={preventDefault:!0,stopPropagation:!1,run:[t=>{let n=Jae={view:t,prefix:r,scope:e};return setTimeout((()=>{Jae==n&&(Jae=null)}),eoe),!0}]})}let p=d.join(" ");a(p,!1);let h=u[p]||(u[p]={preventDefault:!1,stopPropagation:!1,run:(null===(c=null===(l=u._any)||void 0===l?void 0:l.run)||void 0===c?void 0:c.slice())||[]});o&&h.run.push(o),i&&(h.preventDefault=!0),s&&(h.stopPropagation=!0)};for(let n of e){let e=n.scope?n.scope.split(" "):["editor"];if(n.any)for(let t of e){let e=r[t]||(r[t]=Object.create(null));e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:a}=n;for(let t in e)e[t].run.push((e=>a(e,toe)))}let a=n[t]||n.key;if(a)for(let t of e)o(t,a,n.run,n.preventDefault,n.stopPropagation),n.shift&&o(t,"Shift-"+a,n.shift,n.preventDefault,n.stopPropagation)}return r}(t.reduce(((e,t)=>e.concat(t)),[]))),r}(t.state),e,t,"editor")})),Yae=N9.define({enables:Gae}),Kae=new WeakMap;let Jae=null;const eoe=4e3;let toe=null;const roe={".cm-line":{},".cm-content":{}};function noe(e,t,r,n,a){t.lastIndex=0;for(let o,i=e.iterRange(r,n),s=r;!i.next().done;s+=i.value.length)if(!i.lineBreak)for(;o=t.exec(i.value);)a(s+o.index,o)}!(Nte.ios&&Nte.webkit&&Nte.webkit_version<534)&&(roe[".cm-line"].caretColor=roe[".cm-content"].caretColor="transparent !important");class aoe{constructor(e){const{regexp:t,decoration:r,decorate:n,boundary:a,maxLength:o=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,n)this.addMatch=(e,t,r,a)=>n(a,r,r+e[0].length,e,t);else if("function"==typeof r)this.addMatch=(e,t,n,a)=>{let o=r(e,t,n);o&&a(n,n+e[0].length,o)};else{if(!r)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(e,t,n,a)=>a(n,n+e[0].length,r)}this.boundary=a,this.maxLength=o}createDeco(e){let t=new _ee,r=t.add.bind(t);for(let{from:t,to:n}of function(e,t){let r=e.visibleRanges;if(1==r.length&&r[0].from==e.viewport.from&&r[0].to==e.viewport.to)return r;let n=[];for(let{from:a,to:o}of r)a=Math.max(e.state.doc.lineAt(a).from,a-t),o=Math.min(e.state.doc.lineAt(o).to,o+t),n.length&&n[n.length-1].to>=a?n[n.length-1].to=o:n.push({from:a,to:o});return n}(e,this.maxLength))noe(e.state.doc,this.regexp,t,n,((t,n)=>this.addMatch(n,e,t,r)));return t.finish()}updateDeco(e,t){let r=1e9,n=-1;return e.docChanged&&e.changes.iterChanges(((t,a,o,i)=>{i>e.view.viewport.from&&o<e.view.viewport.to&&(r=Math.min(o,r),n=Math.max(i,n))})),e.viewportChanged||n-r>1e3?this.createDeco(e.view):n>-1?this.updateRange(e.view,t.map(e.changes),r,n):t}updateRange(e,t,r,n){for(let a of e.visibleRanges){let o=Math.max(a.from,r),i=Math.min(a.to,n);if(i>o){let r=e.state.doc.lineAt(o),n=r.to<i?e.state.doc.lineAt(i):r,s=Math.max(a.from,r.from),l=Math.min(a.to,n.to);if(this.boundary){for(;o>r.from;o--)if(this.boundary.test(r.text[o-1-r.from])){s=o;break}for(;i<n.to;i++)if(this.boundary.test(n.text[i-n.from])){l=i;break}}let c,u=[],d=(e,t,r)=>u.push(r.range(e,t));if(r==n)for(this.regexp.lastIndex=s-r.from;(c=this.regexp.exec(r.text))&&c.index<l-r.from;)this.addMatch(c,e,c.index+r.from,d);else noe(e.state.doc,this.regexp,s,l,((t,r)=>this.addMatch(r,e,t,d)));t=t.update({filterFrom:s,filterTo:l,filter:(e,t)=>e<s||t>l,add:u})}}return t}}const ooe=null!=/x/.unicode?"gu":"g",ioe=new RegExp("[\0-\b\n--\u2028\u2029\ufeff-]",ooe),soe={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"};let loe=null;const coe=N9.define({combine(e){let t=yee(e,{render:null,specialChars:ioe,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==loe&&"undefined"!=typeof document&&document.body){let t=document.body.style;loe=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return loe||!1}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,ooe)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,ooe)),t}});function uoe(e={}){return[coe.of(e),doe||(doe=Vre.fromClass(class{constructor(e){this.view=e,this.decorations=Gte.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(coe)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new aoe({regexp:e.specialChars,decoration:(t,r,n)=>{let{doc:a}=r.state,o=v9(t[0],0);if(9==o){let e=a.lineAt(n),t=r.state.tabSize,o=Iee(e.text,t,n-e.from);return Gte.replace({widget:new hoe((t-o%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=Gte.replace({widget:new poe(e,o)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(coe);e.startState.facet(coe)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))]}let doe=null;class poe extends Wte{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=(r=this.code)>=32?"•":10==r?"":String.fromCharCode(9216+r);var r;let n=e.state.phrase("Control character")+" "+(soe[this.code]||"0x"+this.code.toString(16)),a=this.options.render&&this.options.render(this.code,n,t);if(a)return a;let o=document.createElement("span");return o.textContent=t,o.title=n,o.setAttribute("aria-label",n),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class hoe extends Wte{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}class foe extends Wte{constructor(e){super(),this.content=e}toDOM(e){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(e):this.content.cloneNode(!0)),"string"==typeof this.content?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),t}coordsAt(e){let t=e.firstChild?Kee(e.firstChild):[];if(!t.length)return null;let r=window.getComputedStyle(e.parentNode),n=ate(t[0],"rtl"!=r.direction),a=parseInt(r.lineHeight);return n.bottom-n.top>1.5*a?{left:n.left,right:n.right,top:n.top,bottom:n.top+a}:n}ignoreEvent(){return!1}}const moe="-10000px";class goe{constructor(e,t,r,n){this.facet=t,this.createTooltipView=r,this.removeTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter((e=>e));let a=null;this.tooltipViews=this.tooltips.map((e=>a=r(e,a)))}update(e,t){var r;let n=e.state.facet(this.facet),a=n.filter((e=>e));if(n===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let o=[],i=t?[]:null;for(let r=0;r<a.length;r++){let n=a[r],s=-1;if(n){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==n.create&&(s=e)}if(s<0)o[r]=this.createTooltipView(n,r?o[r-1]:null),i&&(i[r]=!!n.above);else{let n=o[r]=this.tooltipViews[s];i&&(i[r]=t[s]),n.update&&n.update(e)}}}for(let e of this.tooltipViews)o.indexOf(e)<0&&(this.removeTooltipView(e),null===(r=e.destroy)||void 0===r||r.call(e));return t&&(i.forEach(((e,r)=>t[r]=e)),t.length=i.length),this.input=n,this.tooltips=a,this.tooltipViews=o,!0}}function boe(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}const voe=N9.define({combine:e=>{var t,r,n;return{position:Nte.ios?"absolute":(null===(t=e.find((e=>e.position)))||void 0===t?void 0:t.position)||"fixed",parent:(null===(r=e.find((e=>e.parent)))||void 0===r?void 0:r.parent)||null,tooltipSpace:(null===(n=e.find((e=>e.tooltipSpace)))||void 0===n?void 0:n.tooltipSpace)||boe}}}),yoe=new WeakMap,Ooe=Vre.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(voe);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="function"==typeof ResizeObserver?new ResizeObserver((()=>this.measureSoon())):null,this.manager=new goe(e,Soe,((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="function"==typeof IntersectionObserver?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 r=t||e.geometryChanged,n=e.state.facet(voe);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;r=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);r=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);r&&this.maybeMeasure()}createTooltip(e,t){let r=e.create(this.view),n=t?t.dom:null;if(r.dom.classList.add("cm-tooltip"),e.arrow&&!r.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let e=document.createElement("div");e.className="cm-tooltip-arrow",r.dom.appendChild(e)}return r.dom.style.position=this.position,r.dom.style.top=moe,r.dom.style.left="0px",this.container.insertBefore(r.dom,n),r.mount&&r.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(r.dom),r}destroy(){var e,t,r;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),null===(e=t.destroy)||void 0===e||e.call(t);this.parent&&this.container.remove(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),null===(r=this.intersectionObserver)||void 0===r||r.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,r=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(Nte.gecko)r=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==moe&&"0px"==e.style.left){let t=e.getBoundingClientRect();r=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}if(r||"absolute"==this.position)if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,t=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),a=rne(this.view);return{visible:{left:n.left+a.left,top:n.top+a.top,right:n.right-a.right,bottom:n.bottom-a.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map(((e,t)=>{let r=this.manager.tooltipViews[t];return r.getCoords?r.getCoords(e.pos):this.view.coordsAtPos(e.pos)})),size:this.manager.tooltipViews.map((({dom:e})=>e.getBoundingClientRect())),space:this.view.state.facet(voe).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:r}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let e of this.manager.tooltipViews)e.dom.style.position="absolute"}let{visible:r,space:n,scaleX:a,scaleY:o}=e,i=[];for(let s=0;s<this.manager.tooltips.length;s++){let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,d=e.pos[s],p=e.size[s];if(!d||!1!==l.clip&&(d.bottom<=Math.max(r.top,n.top)||d.top>=Math.min(r.bottom,n.bottom)||d.right<Math.max(r.left,n.left)-.1||d.left>Math.min(r.right,n.right)+.1)){u.style.top=moe;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,f=h?7:0,m=p.right-p.left,g=null!==(t=yoe.get(c))&&void 0!==t?t:p.bottom-p.top,b=c.offset||koe,v=this.view.textDirection==lre.LTR,y=p.width>n.right-n.left?v?n.left:n.right-p.width:v?Math.max(n.left,Math.min(d.left-(h?14:0)+b.x,n.right-m)):Math.min(Math.max(n.left,d.left-m+(h?14:0)-b.x),n.right-m),O=this.above[s];!l.strictSide&&(O?d.top-g-f-b.y<n.top:d.bottom+g+f+b.y>n.bottom)&&O==n.bottom-d.bottom>d.top-n.top&&(O=this.above[s]=!O);let w=(O?d.top-n.top:n.bottom-d.bottom)-f;if(w<g&&!1!==c.resize){if(w<this.view.defaultLineHeight){u.style.top=moe;continue}yoe.set(c,g),u.style.height=(g=w)/o+"px"}else u.style.height&&(u.style.height="");let x=O?d.top-g-f-b.y:d.bottom+f+b.y,k=y+m;if(!0!==c.overlap)for(let e of i)e.left<k&&e.right>y&&e.top<x+g&&e.bottom>x&&(x=O?e.top-g-2-f:e.bottom+f+2);if("absolute"==this.position?(u.style.top=(x-e.parent.top)/o+"px",woe(u,(y-e.parent.left)/a)):(u.style.top=x/o+"px",woe(u,y/a)),h){let e=d.left+(v?b.x:-b.x)-(y+14-7);h.style.left=e/a+"px"}!0!==c.overlap&&i.push({left:y,top:x,right:k,bottom:x+g}),u.classList.toggle("cm-tooltip-above",O),u.classList.toggle("cm-tooltip-below",!O),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=moe}},{eventObservers:{scroll(){this.maybeMeasure()}}});function woe(e,t){let r=parseInt(e.style.left,10);(isNaN(r)||Math.abs(t-r)>1)&&(e.style.left=t+"px")}const xoe=zae.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"}}}),koe={x:0,y:0},Soe=N9.define({enables:[Ooe,xoe]}),_oe=N9.define({combine:e=>e.reduce(((e,t)=>e.concat(t)),[])});class Eoe{static create(e){return new Eoe(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new goe(e,_oe,((e,t)=>this.createHostedView(e,t)),(e=>e.dom.remove()))}createHostedView(e,t){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}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)null===(e=t.destroy)||void 0===e||e.call(t)}passProp(e){let t;for(let r of this.manager.tooltipViews){let n=r[e];if(void 0!==n)if(void 0===t)t=n;else if(t!==n)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")}}const Toe=Soe.compute([_oe],(e=>{let t=e.facet(_oe);return 0===t.length?null:{pos:Math.min(...t.map((e=>e.pos))),end:Math.max(...t.map((e=>{var t;return null!==(t=e.end)&&void 0!==t?t:e.pos}))),create:Eoe.create,above:t[0].above,arrow:t.some((e=>e.arrow))}}));class Aoe{constructor(e,t,r,n,a){this.view=e,this.source=t,this.field=r,this.setHover=n,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(){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,r=e.docView.nearest(t.target);if(!r)return;let n,a=1;if(r instanceof jte)n=r.posAtStart;else{if(n=e.posAtCoords(t),null==n)return;let r=e.coordsAtPos(n);if(!r||t.y<r.top||t.y>r.bottom||t.x<r.left-e.defaultCharacterWidth||t.x>r.right+e.defaultCharacterWidth)return;let o=e.bidiSpans(e.state.doc.lineAt(n)).find((e=>e.from<=n&&e.to>=n)),i=o&&o.dir==lre.RTL?-1:1;a=t.x<r.left?-i:i}let o=this.source(e,n,a);if(null==o?void 0:o.then){let t=this.pending={pos:n};o.then((r=>{this.pending==t&&(this.pending=null,!r||Array.isArray(r)&&!r.length||e.dispatch({effects:this.setHover.of(Array.isArray(r)?r:[r])}))}),(t=>Qre(e.state,t,"hover tooltip")))}else!o||Array.isArray(o)&&!o.length||e.dispatch({effects:this.setHover.of(Array.isArray(o)?o:[o])})}get tooltip(){let e=this.view.plugin(Ooe),t=e?e.manager.tooltips.findIndex((e=>e.create==Eoe.create)):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,r;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:n,tooltip:a}=this;if(n.length&&a&&!function(e,t){let r,{left:n,right:a,top:o,bottom:i}=e.getBoundingClientRect();if(r=e.querySelector(".cm-tooltip-arrow")){let e=r.getBoundingClientRect();o=Math.min(e.top,o),i=Math.max(e.bottom,i)}return t.clientX>=n-Coe&&t.clientX<=a+Coe&&t.clientY>=o-Coe&&t.clientY<=i+Coe}(a.dom,e)||this.pending){let{pos:a}=n[0]||this.pending,o=null!==(r=null===(t=n[0])||void 0===t?void 0:t.end)&&void 0!==r?r:a;(a==o?this.view.posAtCoords(this.lastMove)==a:function(e,t,r,n,a){let o=e.scrollDOM.getBoundingClientRect(),i=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>n||o.right<n||o.top>a||Math.min(o.bottom,i)<a)return!1;let s=e.posAtCoords({x:n,y:a},!1);return s>=t&&s<=r}(this.view,a,o,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){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=r=>{e.removeEventListener("mouseleave",t),this.active.length&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const Coe=4;function Poe(e,t){let r=e.plugin(Ooe);if(!r)return null;let n=r.manager.tooltips.indexOf(t);return n<0?null:r.manager.tooltipViews[n]}const $oe=see.define(),Moe=N9.define({combine(e){let t,r;for(let n of e)t=t||n.topContainer,r=r||n.bottomContainer;return{topContainer:t,bottomContainer:r}}}),Doe=Vre.fromClass(class{constructor(e){this.input=e.state.facet(Ioe),this.specs=this.input.filter((e=>e)),this.panels=this.specs.map((t=>t(e)));let t=e.state.facet(Moe);this.top=new Roe(e,!0,t.topContainer),this.bottom=new Roe(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(Moe);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new Roe(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new Roe(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let r=e.state.facet(Ioe);if(r!=this.input){let t=r.filter((e=>e)),n=[],a=[],o=[],i=[];for(let r of t){let t,s=this.specs.indexOf(r);s<0?(t=r(e.view),i.push(t)):(t=this.panels[s],t.update&&t.update(e)),n.push(t),(t.top?a:o).push(t)}this.specs=t,this.panels=n,this.top.sync(a),this.bottom.sync(o);for(let e of i)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=>zae.scrollMargins.of((t=>{let r=t.plugin(e);return r&&{top:r.top.scrollMargin(),bottom:r.bottom.scrollMargin()}}))});class Roe{constructor(e,t,r){this.view=e,this.top=t,this.container=r,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(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";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=Noe(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=Noe(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)}}}function Noe(e){let t=e.nextSibling;return e.remove(),t}const Ioe=N9.define({enables:Doe});class Loe extends Oee{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Loe.prototype.elementClass="",Loe.prototype.toDOM=void 0,Loe.prototype.mapMode=x9.TrackBefore,Loe.prototype.startSide=Loe.prototype.endSide=-1,Loe.prototype.point=!0;const joe=N9.define(),Boe=N9.define(),Uoe={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>See.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Foe=N9.define();function Qoe(e){return[qoe(),Foe.of(Object.assign(Object.assign({},Uoe),e))]}const zoe=N9.define({combine:e=>e.some((e=>e))});function qoe(e){return[Hoe]}const Hoe=Vre.fromClass(class{constructor(e){this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(Foe).map((t=>new Xoe(e,t)));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!e.state.facet(zoe),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,r=e.view.viewport,n=Math.min(t.to,r.to)-Math.max(t.from,r.from);this.syncGutters(n<.8*(r.to-r.from))}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(zoe)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let r=See.iter(this.view.state.facet(joe),this.view.viewport.from),n=[],a=this.gutters.map((e=>new Woe(e,this.view.viewport,-this.view.documentPadding.top)));for(let e of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(e.type)){let t=!0;for(let o of e.type)if(o.type==Xte.Text&&t){Zoe(r,n,o.from);for(let e of a)e.line(this.view,o,n);t=!1}else if(o.widget)for(let e of a)e.widget(this.view,o)}else if(e.type==Xte.Text){Zoe(r,n,e.from);for(let t of a)t.line(this.view,e,n)}else if(e.widget)for(let t of a)t.widget(this.view,e);for(let e of a)e.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(Foe),r=e.state.facet(Foe),n=e.docChanged||e.heightChanged||e.viewportChanged||!See.eq(e.startState.facet(joe),e.state.facet(joe),e.view.viewport.from,e.view.viewport.to);if(t==r)for(let t of this.gutters)t.update(e)&&(n=!0);else{n=!0;let a=[];for(let n of r){let r=t.indexOf(n);r<0?a.push(new Xoe(this.view,n)):(this.gutters[r].update(e),a.push(this.gutters[r]))}for(let e of this.gutters)e.dom.remove(),a.indexOf(e)<0&&e.destroy();for(let e of a)this.dom.appendChild(e.dom);this.gutters=a}return n}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>zae.scrollMargins.of((t=>{let r=t.plugin(e);return r&&0!=r.gutters.length&&r.fixed?t.textDirection==lre.LTR?{left:r.dom.offsetWidth*t.scaleX}:{right:r.dom.offsetWidth*t.scaleX}:null}))});function Voe(e){return Array.isArray(e)?e:[e]}function Zoe(e,t,r){for(;e.value&&e.from<=r;)e.from==r&&t.push(e.value),e.next()}class Woe{constructor(e,t,r){this.gutter=e,this.height=r,this.i=0,this.cursor=See.iter(e.markers,t.from)}addElement(e,t,r){let{gutter:n}=this,a=(t.top-this.height)/e.scaleY,o=t.height/e.scaleY;if(this.i==n.elements.length){let t=new Goe(e,o,a,r);n.elements.push(t),n.dom.appendChild(t.dom)}else n.elements[this.i].update(e,o,a,r);this.height=t.bottom,this.i++}line(e,t,r){let n=[];Zoe(this.cursor,n,t.from),r.length&&(n=n.concat(r));let a=this.gutter.config.lineMarker(e,t,n);a&&n.unshift(a);let o=this.gutter;(0!=n.length||o.config.renderEmptyElements)&&this.addElement(e,t,n)}widget(e,t){let r=this.gutter.config.widgetMarker(e,t.widget,t),n=r?[r]:null;for(let r of e.state.facet(Boe)){let a=r(e,t.widget,t);a&&(n||(n=[])).push(a)}n&&this.addElement(e,t,n)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class Xoe{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 r in t.domEventHandlers)this.dom.addEventListener(r,(n=>{let a,o=n.target;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let e=o.getBoundingClientRect();a=(e.top+e.bottom)/2}else a=n.clientY;let i=e.lineBlockAtHeight(a-e.documentTop);t.domEventHandlers[r](e,i,n)&&n.preventDefault()}));this.markers=Voe(t.markers(e)),t.initialSpacer&&(this.spacer=new Goe(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=Voe(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 r=e.view.viewport;return!See.eq(this.markers,t,r.from,r.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}}class Goe{constructor(e,t,r,n){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,r,n)}update(e,t,r,n){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),function(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].compare(t[r]))return!1;return!0}(this.markers,n)||this.setMarkers(e,n)}setMarkers(e,t){let r="cm-gutterElement",n=this.dom.firstChild;for(let a=0,o=0;;){let i=o,s=a<t.length?t[a++]:null,l=!1;if(s){let e=s.elementClass;e&&(r+=" "+e);for(let e=o;e<this.markers.length;e++)if(this.markers[e].compare(s)){i=e,l=!0;break}}else i=this.markers.length;for(;o<i;){let e=this.markers[o++];if(e.toDOM){e.destroy(n);let t=n.nextSibling;n.remove(),n=t}}if(!s)break;s.toDOM&&(l?n=n.nextSibling:this.dom.insertBefore(s.toDOM(e),n)),l&&o++}this.dom.className=r,this.markers=t}destroy(){this.setMarkers(null,[])}}const Yoe=N9.define(),Koe=N9.define(),Joe=N9.define({combine:e=>yee(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let r=Object.assign({},e);for(let e in t){let n=r[e],a=t[e];r[e]=n?(e,t,r)=>n(e,t,r)||a(e,t,r):a}return r}})});class eie extends Loe{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function tie(e,t){return e.state.facet(Joe).formatNumber(t,e.state)}const rie=Foe.compute([Joe],(e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:e=>e.state.facet(Yoe),lineMarker:(e,t,r)=>r.some((e=>e.toDOM))?null:new eie(tie(e,e.state.doc.lineAt(t.from).number)),widgetMarker:(e,t,r)=>{for(let n of e.state.facet(Koe)){let a=n(e,t,r);if(a)return a}return null},lineMarkerChange:e=>e.startState.facet(Joe)!=e.state.facet(Joe),initialSpacer:e=>new eie(tie(e,nie(e.state.doc.lines))),updateSpacer(e,t){let r=tie(t.view,nie(t.view.state.doc.lines));return r==e.number?e:new eie(r)},domEventHandlers:e.facet(Joe).domEventHandlers})));function nie(e){let t=9;for(;t<e;)t=10*t+9;return t}const aie=1024;let oie=0;class iie{constructor(e,t){this.from=e,this.to=t}}class sie{constructor(e={}){this.id=oie++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=uie.match(e)),t=>{let r=e(t);return void 0===r?null:[this,r]}}}sie.closedBy=new sie({deserialize:e=>e.split(" ")}),sie.openedBy=new sie({deserialize:e=>e.split(" ")}),sie.group=new sie({deserialize:e=>e.split(" ")}),sie.isolate=new sie({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),sie.contextHash=new sie({perNode:!0}),sie.lookAhead=new sie({perNode:!0}),sie.mounted=new sie({perNode:!0});class lie{constructor(e,t,r){this.tree=e,this.overlay=t,this.parser=r}static get(e){return e&&e.props&&e.props[sie.mounted.id]}}const cie=Object.create(null);class uie{constructor(e,t,r,n=0){this.name=e,this.props=t,this.id=r,this.flags=n}static define(e){let t=e.props&&e.props.length?Object.create(null):cie,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),n=new uie(e.name||"",t,e.id,r);if(e.props)for(let r of e.props)if(Array.isArray(r)||(r=r(n)),r){if(r[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}return n}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(sie.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let r in e)for(let n of r.split(" "))t[n]=e[r];return e=>{for(let r=e.prop(sie.group),n=-1;n<(r?r.length:0);n++){let a=t[n<0?e.name:r[n]];if(a)return a}}}}uie.none=new uie("",Object.create(null),0,8);class die{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let r of this.types){let n=null;for(let t of e){let e=t(r);e&&(n||(n=Object.assign({},r.props)),n[e[0].id]=e[1])}t.push(n?new uie(r.name,n,r.id,r.flags):r)}return new die(t)}}const pie=new WeakMap,hie=new WeakMap;var fie,mie;(mie=fie||(fie={}))[mie.ExcludeBuffers=1]="ExcludeBuffers",mie[mie.IncludeAnonymous=2]="IncludeAnonymous",mie[mie.IgnoreMounts=4]="IgnoreMounts",mie[mie.IgnoreOverlays=8]="IgnoreOverlays";class gie{constructor(e,t,r,n,a){if(this.type=e,this.children=t,this.positions=r,this.length=n,this.props=null,a&&a.length){this.props=Object.create(null);for(let[e,t]of a)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=lie.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let r=e.toString();r&&(t&&(t+=","),t+=r)}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 Cie(this.topNode,e)}cursorAt(e,t=0,r=0){let n=pie.get(this)||this.topNode,a=new Cie(n);return a.moveTo(e,t),pie.set(this,a._tree),a}get topNode(){return new xie(this,0,0,null)}resolve(e,t=0){let r=Oie(pie.get(this)||this.topNode,e,t,!1);return pie.set(this,r),r}resolveInner(e,t=0){let r=Oie(hie.get(this)||this.topNode,e,t,!0);return hie.set(this,r),r}resolveStack(e,t=0){return function(e,t,r){let n=e.resolveInner(t,r),a=null;for(let e=n instanceof xie?n:n.context.parent;e;e=e.parent)if(e.index<0){let o=e.parent;(a||(a=[n])).push(o.resolve(t,r)),e=o}else{let o=lie.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let i=new xie(o.tree,o.overlay[0].from+e.from,-1,e);(a||(a=[n])).push(Oie(i,t,r,!1))}}return a?Tie(a):n}(this,e,t)}iterate(e){let{enter:t,leave:r,from:n=0,to:a=this.length}=e,o=e.mode||0,i=(o&fie.IncludeAnonymous)>0;for(let e=this.cursor(o|fie.IncludeAnonymous);;){let o=!1;if(e.from<=a&&e.to>=n&&(!i&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;o=!0}for(;o&&r&&(i||!e.type.isAnonymous)&&r(e),!e.nextSibling();){if(!e.parent())return;o=!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(e={}){return this.children.length<=8?this:Die(uie.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,r)=>new gie(this.type,e,t,r,this.propValues)),e.makeTree||((e,t,r)=>new gie(uie.none,e,t,r)))}static build(e){return function(e){var t;let{buffer:r,nodeSet:n,maxBufferLength:a=aie,reused:o=[],minRepeatType:i=n.types.length}=e,s=Array.isArray(r)?new bie(r,r.length):r,l=n.types,c=0,u=0;function d(e,t,r,g,b,v){let{id:y,start:O,end:w,size:x}=s,k=u,S=c;for(;x<0;){if(s.next(),-1==x){let t=o[y];return r.push(t),void g.push(O-e)}if(-3==x)return void(c=y);if(-4==x)return void(u=y);throw new RangeError(`Unrecognized record size: ${x}`)}let _,E,T=l[y],A=O-e;if(w-O<=a&&(E=function(e,t){let r=s.fork(),n=0,o=0,l=0,c=r.end-a,u={size:0,start:0,skip:0};e:for(let a=r.pos-e;r.pos>a;){let e=r.size;if(r.id==t&&e>=0){u.size=n,u.start=o,u.skip=l,l+=4,n+=4,r.next();continue}let s=r.pos-e;if(e<0||s<a||r.start<c)break;let d=r.id>=i?4:0,p=r.start;for(r.next();r.pos>s;){if(r.size<0){if(-3!=r.size)break e;d+=4}else r.id>=i&&(d+=4);r.next()}o=p,n+=e,l+=d}return(t<0||n==e)&&(u.size=n,u.start=o,u.skip=l),u.size>4?u:void 0}(s.pos-t,b))){let t=new Uint16Array(E.size-E.skip),r=s.pos-E.size,a=t.length;for(;s.pos>r;)a=m(E.start,t,a);_=new vie(t,w-E.start,n),A=E.start-e}else{let e=s.pos-x;s.next();let t=[],r=[],n=y>=i?y:-1,o=0,l=w;for(;s.pos>e;)n>=0&&s.id==n&&s.size>=0?(s.end<=l-a&&(h(t,r,O,o,s.end,l,n,k,S),o=t.length,l=s.end),s.next()):v>2500?p(O,e,t,r):d(O,e,t,r,n,v+1);if(n>=0&&o>0&&o<t.length&&h(t,r,O,o,O,l,n,k,S),t.reverse(),r.reverse(),n>-1&&o>0){let e=function(e,t){return(r,n,a)=>{let o,i,s=0,l=r.length-1;if(l>=0&&(o=r[l])instanceof gie){if(!l&&o.type==e&&o.length==a)return o;(i=o.prop(sie.lookAhead))&&(s=n[l]+o.length+i)}return f(e,r,n,a,s,t)}}(T,S);_=Die(T,t,r,0,t.length,0,w-O,e,e)}else _=f(T,t,r,w-O,k-w,S)}r.push(_),g.push(A)}function p(e,t,r,o){let i=[],l=0,c=-1;for(;s.pos>t;){let{id:e,start:t,end:r,size:n}=s;if(n>4)s.next();else{if(c>-1&&t<c)break;c<0&&(c=r-a),i.push(e,t,r),l++,s.next()}}if(l){let t=new Uint16Array(4*l),a=i[i.length-2];for(let e=i.length-3,r=0;e>=0;e-=3)t[r++]=i[e],t[r++]=i[e+1]-a,t[r++]=i[e+2]-a,t[r++]=r;r.push(new vie(t,i[2]-a,n)),o.push(a-e)}}function h(e,t,r,a,o,i,s,l,c){let u=[],d=[];for(;e.length>a;)u.push(e.pop()),d.push(t.pop()+r-o);e.push(f(n.types[s],u,d,i-o,l-i,c)),t.push(o-r)}function f(e,t,r,n,a,o,i){if(o){let e=[sie.contextHash,o];i=i?[e].concat(i):[e]}if(a>25){let e=[sie.lookAhead,a];i=i?[e].concat(i):[e]}return new gie(e,t,r,n,i)}function m(e,t,r){let{id:n,start:a,end:o,size:l}=s;if(s.next(),l>=0&&n<i){let i=r;if(l>4){let n=s.pos-(l-4);for(;s.pos>n;)r=m(e,t,r)}t[--r]=i,t[--r]=o-e,t[--r]=a-e,t[--r]=n}else-3==l?c=n:-4==l&&(u=n);return r}let g=[],b=[];for(;s.pos>0;)d(e.start||0,e.bufferStart||0,g,b,-1,0);let v=null!==(t=e.length)&&void 0!==t?t:g.length?b[0]+g[0].length:0;return new gie(l[e.topID],g.reverse(),b.reverse(),v)}(e)}}gie.empty=new gie(uie.none,[],[],0);class bie{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 bie(this.buffer,this.index)}}class vie{constructor(e,t,r){this.buffer=e,this.length=t,this.set=r}get type(){return uie.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],r=this.buffer[e+3],n=this.set.types[t],a=n.name;if(/\W/.test(a)&&!n.isError&&(a=JSON.stringify(a)),r==(e+=4))return a;let o=[];for(;e<r;)o.push(this.childString(e)),e=this.buffer[e+3];return a+"("+o.join(",")+")"}findChild(e,t,r,n,a){let{buffer:o}=this,i=-1;for(let s=e;s!=t&&!(yie(a,n,o[s+1],o[s+2])&&(i=s,r>0));s=o[s+3]);return i}slice(e,t,r){let n=this.buffer,a=new Uint16Array(t-e),o=0;for(let i=e,s=0;i<t;){a[s++]=n[i++],a[s++]=n[i++]-r;let t=a[s++]=n[i++]-r;a[s++]=n[i++]-e,o=Math.max(o,t)}return new vie(a,o,this.set)}}function yie(e,t,r,n){switch(e){case-2:return r<t;case-1:return n>=t&&r<t;case 0:return r<t&&n>t;case 1:return r<=t&&n>t;case 2:return n>t;case 4:return!0}}function Oie(e,t,r,n){for(var a;e.from==e.to||(r<1?e.from>=t:e.from>t)||(r>-1?e.to<=t:e.to<t);){let t=!n&&e instanceof xie&&e.index<0?null:e.parent;if(!t)return e;e=t}let o=n?0:fie.IgnoreOverlays;if(n)for(let n=e,i=n.parent;i;n=i,i=n.parent)n instanceof xie&&n.index<0&&(null===(a=i.enter(t,r,o))||void 0===a?void 0:a.from)!=n.from&&(e=i);for(;;){let n=e.enter(t,r,o);if(!n)return e;e=n}}class wie{cursor(e=0){return new Cie(this,e)}getChild(e,t=null,r=null){let n=kie(this,e,t,r);return n.length?n[0]:null}getChildren(e,t=null,r=null){return kie(this,e,t,r)}resolve(e,t=0){return Oie(this,e,t,!1)}resolveInner(e,t=0){return Oie(this,e,t,!0)}matchContext(e){return Sie(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),r=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(r=t,t=e.prevSibling):t=e}return r}get node(){return this}get next(){return this.parent}}class xie extends wie{constructor(e,t,r,n){super(),this._tree=e,this.from=t,this.index=r,this._parent=n}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,r,n,a=0){for(let o=this;;){for(let{children:i,positions:s}=o._tree,l=t>0?i.length:-1;e!=l;e+=t){let l=i[e],c=s[e]+o.from;if(yie(n,r,c,c+l.length))if(l instanceof vie){if(a&fie.ExcludeBuffers)continue;let i=l.findChild(0,l.buffer.length,t,r-c,n);if(i>-1)return new Eie(new _ie(o,l,e,c),null,i)}else if(a&fie.IncludeAnonymous||!l.type.isAnonymous||Pie(l)){let i;if(!(a&fie.IgnoreMounts)&&(i=lie.get(l))&&!i.overlay)return new xie(i.tree,c,e,o);let s=new xie(l,c,e,o);return a&fie.IncludeAnonymous||!s.type.isAnonymous?s:s.nextChild(t<0?l.children.length-1:0,t,r,n)}}if(a&fie.IncludeAnonymous||!o.type.isAnonymous)return null;if(e=o.index>=0?o.index+t:t<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)}enter(e,t,r=0){let n;if(!(r&fie.IgnoreOverlays)&&(n=lie.get(this._tree))&&n.overlay){let r=e-this.from;for(let{from:e,to:a}of n.overlay)if((t>0?e<=r:e<r)&&(t<0?a>=r:a>r))return new xie(n.tree,n.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,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()}}function kie(e,t,r,n){let a=e.cursor(),o=[];if(!a.firstChild())return o;if(null!=r)for(let e=!1;!e;)if(e=a.type.is(r),!a.nextSibling())return o;for(;;){if(null!=n&&a.type.is(n))return o;if(a.type.is(t)&&o.push(a.node),!a.nextSibling())return null==n?o:[]}}function Sie(e,t,r=t.length-1){for(let n=e;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(t[r]&&t[r]!=n.name)return!1;r--}}return!0}class _ie{constructor(e,t,r,n){this.parent=e,this.buffer=t,this.index=r,this.start=n}}class Eie extends wie{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,r){super(),this.context=e,this._parent=t,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,t,r){let{buffer:n}=this.context,a=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.context.start,r);return a<0?null:new Eie(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)}enter(e,t,r=0){if(r&fie.ExcludeBuffers)return null;let{buffer:n}=this.context,a=n.findChild(this.index+4,n.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return a<0?null:new Eie(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:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Eie(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new Eie(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:r}=this.context,n=this.index+4,a=r.buffer[this.index+3];if(a>n){let o=r.buffer[this.index+1];e.push(r.slice(n,a,o)),t.push(0)}return new gie(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Tie(e){if(!e.length)return null;let t=0,r=e[0];for(let n=1;n<e.length;n++){let a=e[n];(a.from>r.from||a.to<r.to)&&(r=a,t=n)}let n=r instanceof xie&&r.index<0?null:r.parent,a=e.slice();return n?a[t]=n:a.splice(t,1),new Aie(a,r)}class Aie{constructor(e,t){this.heads=e,this.node=t}get next(){return Tie(this.heads)}}class Cie{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof xie)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)}yieldBuf(e,t){this.index=e;let{start:r,buffer:n}=this.buffer;return this.type=t||n.set.types[n.buffer[e]],this.from=r+n.buffer[e+1],this.to=r+n.buffer[e+2],!0}yield(e){return!!e&&(e instanceof xie?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,r,this.mode));let{buffer:n}=this.buffer,a=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.buffer.start,r);return!(a<0)&&(this.stack.push(this.index),this.yieldBuf(a))}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,r=this.mode){return this.buffer?!(r&fie.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&fie.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&fie.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));let{buffer:t}=this.buffer,r=this.stack.length-1;if(e<0){let e=r<0?0:this.stack[r]+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<(r<0?t.buffer.length:t.buffer[this.stack[r]+3]))return this.yieldBuf(e)}return r<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,r,{buffer:n}=this;if(n){if(e>0){if(this.index<n.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(n.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:r}=n)}else({index:t,_parent:r}=this._tree);for(;r;({index:t,_parent:r}=r))if(t>-1)for(let n=t+e,a=e<0?-1:r._tree.children.length;n!=a;n+=e){let e=r._tree.children[n];if(this.mode&fie.IncludeAnonymous||e instanceof vie||!e.type.isAnonymous||Pie(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,r=0;if(e&&e.context==this.buffer)e:for(let n=this.index,a=this.stack.length;a>=0;){for(let o=e;o;o=o._parent)if(o.index==n){if(n==this.index)return o;t=o,r=a+1;break e}n=this.stack[--a]}for(let e=r;e<this.stack.length;e++)t=new Eie(this.buffer,t,this.stack[e]);return this.bufferNode=new Eie(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let r=0;;){let n=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){r++;continue}this.type.isAnonymous||(n=!0)}for(;;){if(n&&t&&t(this),n=this.type.isAnonymous,!r)return;if(this.nextSibling())break;this.parent(),r--,n=!0}}}matchContext(e){if(!this.buffer)return Sie(this.node.parent,e);let{buffer:t}=this.buffer,{types:r}=t.set;for(let n=e.length-1,a=this.stack.length-1;n>=0;a--){if(a<0)return Sie(this._tree,e,n);let o=r[t.buffer[this.stack[a]]];if(!o.isAnonymous){if(e[n]&&e[n]!=o.name)return!1;n--}}return!0}}function Pie(e){return e.children.some((e=>e instanceof vie||!e.type.isAnonymous||Pie(e)))}const $ie=new WeakMap;function Mie(e,t){if(!e.isAnonymous||t instanceof vie||t.type!=e)return 1;let r=$ie.get(t);if(null==r){r=1;for(let n of t.children){if(n.type!=e||!(n instanceof gie)){r=1;break}r+=Mie(e,n)}$ie.set(t,r)}return r}function Die(e,t,r,n,a,o,i,s,l){let c=0;for(let r=n;r<a;r++)c+=Mie(e,t[r]);let u=Math.ceil(1.5*c/8),d=[],p=[];return function t(r,n,a,i,s){for(let c=a;c<i;){let a=c,h=n[c],f=Mie(e,r[c]);for(c++;c<i;c++){let t=Mie(e,r[c]);if(f+t>=u)break;f+=t}if(c==a+1){if(f>u){let e=r[a];t(e.children,e.positions,0,e.children.length,n[a]+s);continue}d.push(r[a])}else{let t=n[c-1]+r[c-1].length-h;d.push(Die(e,r,n,a,c,h,t,null,l))}p.push(h+s-o)}}(t,r,n,a,0),(s||l)(d,p,i)}class Rie{constructor(){this.map=new WeakMap}setBuffer(e,t,r){let n=this.map.get(e);n||this.map.set(e,n=new Map),n.set(t,r)}getBuffer(e,t){let r=this.map.get(e);return r&&r.get(t)}set(e,t){e instanceof Eie?this.setBuffer(e.context.buffer,e.index,t):e instanceof xie&&this.map.set(e.tree,t)}get(e){return e instanceof Eie?this.getBuffer(e.context.buffer,e.index):e instanceof xie?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)}}class Nie{constructor(e,t,r,n,a=!1,o=!1){this.from=e,this.to=t,this.tree=r,this.offset=n,this.open=(a?1:0)|(o?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],r=!1){let n=[new Nie(0,e.length,e,0,!1,r)];for(let r of t)r.to>e.length&&n.push(r);return n}static applyChanges(e,t,r=128){if(!t.length)return e;let n=[],a=1,o=e.length?e[0]:null;for(let i=0,s=0,l=0;;i++){let c=i<t.length?t[i]:null,u=c?c.fromA:1e9;if(u-s>=r)for(;o&&o.from<u;){let t=o;if(s>=t.from||u<=t.to||l){let e=Math.max(t.from,s)-l,r=Math.min(t.to,u)-l;t=e>=r?null:new Nie(e,r,t.tree,t.offset+l,i>0,!!c)}if(t&&n.push(t),o.to>u)break;o=a<e.length?e[a++]:null}if(!c)break;s=c.toA,l=c.toA-c.toB}return n}}class Iie{startParse(e,t,r){return"string"==typeof e&&(e=new Lie(e)),r=r?r.length?r.map((e=>new iie(e.from,e.to))):[new iie(0,0)]:[new iie(0,e.length)],this.createParse(e,t||[],r)}parse(e,t,r){let n=this.startParse(e,t,r);for(;;){let e=n.advance();if(e)return e}}}class Lie{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)}}class jie{constructor(e,t,r,n,a){this.parser=e,this.parse=t,this.overlay=r,this.target=n,this.from=a}}function Bie(e){if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class Uie{constructor(e,t,r,n,a,o,i){this.parser=e,this.predicate=t,this.mounts=r,this.index=n,this.start=a,this.target=o,this.prev=i,this.depth=0,this.ranges=[]}}const Fie=new sie({perNode:!0});class Qie{constructor(e,t,r,n,a){this.nest=t,this.input=r,this.fragments=n,this.ranges=a,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(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new gie(e.type,e.children,e.positions,e.length,e.propValues.concat([[Fie,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let r=Object.assign(Object.create(null),e.target.props);r[sie.mounted.id]=new lie(t,e.overlay,e.parser),e.target.props=r}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 Zie(this.fragments),t=null,r=null,n=new Cie(new xie(this.baseTree,this.ranges[0].from,0,null),fie.IncludeAnonymous|fie.IgnoreMounts);e:for(let a,o;;){let i,s=!0;if(null!=this.stoppedAt&&n.from>=this.stoppedAt)s=!1;else if(e.hasNode(n)){if(t){let e=t.mounts.find((e=>e.frag.from<=n.from&&e.frag.to>=n.to&&e.mount.overlay));if(e)for(let r of e.mount.overlay){let a=r.from+e.pos,o=r.to+e.pos;a>=n.from&&o<=n.to&&!t.ranges.some((e=>e.from<o&&e.to>a))&&t.ranges.push({from:a,to:o})}}s=!1}else if(r&&(o=zie(r.ranges,n.from,n.to)))s=2!=o;else if(!n.type.isAnonymous&&(a=this.nest(n,this.input))&&(n.from<n.to||!a.overlay)){n.tree||Hie(n);let o=e.findMounts(n.from,a.parser);if("function"==typeof a.overlay)t=new Uie(a.parser,a.overlay,o,this.inner.length,n.from,n.tree,t);else{let e=Wie(this.ranges,a.overlay||(n.from<n.to?[new iie(n.from,n.to)]:[]));e.length&&Bie(e),!e.length&&a.overlay||this.inner.push(new jie(a.parser,e.length?a.parser.startParse(this.input,Gie(o,e),e):a.parser.startParse(""),a.overlay?a.overlay.map((e=>new iie(e.from-n.from,e.to-n.from))):null,n.tree,e.length?e[0].from:n.from)),a.overlay?e.length&&(r={ranges:e,depth:0,prev:r}):s=!1}}else if(t&&(i=t.predicate(n))&&(!0===i&&(i=new iie(n.from,n.to)),i.from<i.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==i.from?t.ranges[e]={from:t.ranges[e].from,to:i.to}:t.ranges.push(i)}if(s&&n.firstChild())t&&t.depth++,r&&r.depth++;else for(;!n.nextSibling();){if(!n.parent())break e;if(t&&! --t.depth){let e=Wie(this.ranges,t.ranges);e.length&&(Bie(e),this.inner.splice(t.index,0,new jie(t.parser,t.parser.startParse(this.input,Gie(t.mounts,e),e),t.ranges.map((e=>new iie(e.from-t.start,e.to-t.start))),t.target,e[0].from))),t=t.prev}r&&! --r.depth&&(r=r.prev)}}}}function zie(e,t,r){for(let n of e){if(n.from>=r)break;if(n.to>t)return n.from<=t&&n.to>=r?2:1}return 0}function qie(e,t,r,n,a,o){if(t<r){let i=e.buffer[t+1];n.push(e.slice(t,r,i)),a.push(i-o)}}function Hie(e){let{node:t}=e,r=[],n=t.context.buffer;do{r.push(e.index),e.parent()}while(!e.tree);let a=e.tree,o=a.children.indexOf(n),i=a.children[o],s=i.buffer,l=[o];a.children[o]=function e(n,a,o,c,u,d){let p=r[d],h=[],f=[];qie(i,n,p,h,f,c);let m=s[p+1],g=s[p+2];l.push(h.length);let b=d?e(p+4,s[p+3],i.set.types[s[p]],m,g-m,d-1):t.toTree();return h.push(b),f.push(m-c),qie(i,s[p+3],a,h,f,c),new gie(o,h,f,u)}(0,s.length,uie.none,0,i.length,r.length-1);for(let t of l){let r=e.tree.children[t],n=e.tree.positions[t];e.yield(new xie(r,n+e.from,t,e._tree))}}class Vie{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(fie.IncludeAnonymous|fie.IgnoreMounts)}moveTo(e){let{cursor:t}=this,r=e-this.offset;for(;!this.done&&t.from<r;)t.to>=e&&t.enter(r,1,fie.IgnoreOverlays|fie.ExcludeBuffers)||t.next(!1)||(this.done=!0)}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&&0==t.positions[0]&&t.children[0]instanceof gie))break;t=t.children[0]}return!1}}let Zie=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let r=this.curFrag=e[0];this.curTo=null!==(t=r.tree.prop(Fie))&&void 0!==t?t:r.to,this.inner=new Vie(r.tree,-r.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(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(Fie))&&void 0!==e?e:t.to,this.inner=new Vie(t.tree,-t.offset)}}findMounts(e,t){var r;let n=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let a=null===(r=e.tree)||void 0===r?void 0:r.prop(sie.mounted);if(a&&a.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let r=this.fragments[t];if(r.from>=e.to)break;r.tree==this.curFrag.tree&&n.push({frag:r,pos:e.from-r.offset,mount:a})}}}return n}};function Wie(e,t){let r=null,n=t;for(let a=1,o=0;a<e.length;a++){let i=e[a-1].to,s=e[a].from;for(;o<n.length;o++){let e=n[o];if(e.from>=s)break;e.to<=i||(r||(n=r=t.slice()),e.from<i?(r[o]=new iie(e.from,i),e.to>s&&r.splice(o+1,0,new iie(s,e.to))):e.to>s?r[o--]=new iie(s,e.to):r.splice(o--,1))}}return n}function Xie(e,t,r,n){let a=0,o=0,i=!1,s=!1,l=-1e9,c=[];for(;;){let u=a==e.length?1e9:i?e[a].to:e[a].from,d=o==t.length?1e9:s?t[o].to:t[o].from;if(i!=s){let e=Math.max(l,r),t=Math.min(u,d,n);e<t&&c.push(new iie(e,t))}if(l=Math.min(u,d),1e9==l)break;u==l&&(i?(i=!1,a++):i=!0),d==l&&(s?(s=!1,o++):s=!0)}return c}function Gie(e,t){let r=[];for(let{pos:n,mount:a,frag:o}of e){let e=n+(a.overlay?a.overlay[0].from:0),i=e+a.tree.length,s=Math.max(o.from,e),l=Math.min(o.to,i);if(a.overlay){let i=a.overlay.map((e=>new iie(e.from+n,e.to+n))),c=Xie(t,i,s,l);for(let t=0,n=s;;t++){let i=t==c.length,s=i?l:c[t].from;if(s>n&&r.push(new Nie(n,s,a.tree,-e,o.from>=n||o.openStart,o.to<=s||o.openEnd)),i)break;n=c[t].to}}else r.push(new Nie(s,l,a.tree,-e,o.from>=e||o.openStart,o.to<=i||o.openEnd))}return r}let Yie=0,Kie=class e{constructor(e,t,r,n){this.name=e,this.set=t,this.base=r,this.modified=n,this.id=Yie++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(t,r){let n="string"==typeof t?t:"?";if(t instanceof e&&(r=t),null==r?void 0:r.base)throw new Error("Can not derive from a modified tag");let a=new e(n,[],null,[]);if(a.set.push(a),r)for(let e of r.set)a.set.push(e);return a}static defineModifier(e){let t=new ese(e);return e=>e.modified.indexOf(t)>-1?e:ese.get(e.base||e,e.modified.concat(t).sort(((e,t)=>e.id-t.id)))}},Jie=0;class ese{constructor(e){this.name=e,this.instances=[],this.id=Jie++}static get(e,t){if(!t.length)return e;let r=t[0].instances.find((r=>{return r.base==e&&(n=t,a=r.modified,n.length==a.length&&n.every(((e,t)=>e==a[t])));var n,a}));if(r)return r;let n=[],a=new Kie(e.name,n,e,t);for(let e of t)e.instances.push(a);let o=function(e){let t=[[]];for(let r=0;r<e.length;r++)for(let n=0,a=t.length;n<a;n++)t.push(t[n].concat(e[r]));return t.sort(((e,t)=>t.length-e.length))}(t);for(let t of e.set)if(!t.modified.length)for(let e of o)n.push(ese.get(t,e));return a}}function tse(e){let t=Object.create(null);for(let r in e){let n=e[r];Array.isArray(n)||(n=[n]);for(let e of r.split(" "))if(e){let r=[],a=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){a=1;break}let n=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!n)throw new RangeError("Invalid path: "+e);if(r.push("*"==n[0]?"":'"'==n[0][0]?JSON.parse(n[0]):n[0]),t+=n[0].length,t==e.length)break;let i=e[t++];if(t==e.length&&"!"==i){a=0;break}if("/"!=i)throw new RangeError("Invalid path: "+e);o=e.slice(t)}let i=r.length-1,s=r[i];if(!s)throw new RangeError("Invalid path: "+e);let l=new nse(n,a,i>0?r.slice(0,i):null);t[s]=l.sort(t[s])}}return rse.add(t)}const rse=new sie;class nse{constructor(e,t,r,n){this.tags=e,this.mode=t,this.context=r,this.next=n}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}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}}function ase(e,t){let r=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)r[e.id]=t.class;else r[t.tag.id]=t.class;let{scope:n,all:a=null}=t||{};return{style:e=>{let t=a;for(let n of e)for(let e of n.set){let n=r[e.id];if(n){t=t?t+" "+n:n;break}}return t},scope:n}}function ose(e,t,r,n=0,a=e.length){let o=new ise(n,Array.isArray(t)?t:[t],r);o.highlightRange(e.cursor(),n,a,"",o.highlighters),o.flush(a)}nse.empty=new nse([],2,null);class ise{constructor(e,t,r){this.at=e,this.highlighters=t,this.span=r,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,r,n,a){let{type:o,from:i,to:s}=e;if(i>=r||s<=t)return;o.isTop&&(a=this.highlighters.filter((e=>!e.scope||e.scope(o))));let l=n,c=function(e){let t=e.type.prop(rse);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||nse.empty,u=function(e,t){let r=null;for(let n of e){let e=n.style(t);e&&(r=r?r+" "+e:e)}return r}(a,c.tags);if(u&&(l&&(l+=" "),l+=u,1==c.mode&&(n+=(n?" ":"")+u)),this.startSpan(Math.max(t,i),l),c.opaque)return;let d=e.tree&&e.tree.prop(sie.mounted);if(d&&d.overlay){let o=e.node.enter(d.overlay[0].from+i,1),c=this.highlighters.filter((e=>!e.scope||e.scope(d.tree.type))),u=e.firstChild();for(let p=0,h=i;;p++){let f=p<d.overlay.length?d.overlay[p]:null,m=f?f.from+i:s,g=Math.max(t,h),b=Math.min(r,m);if(g<b&&u)for(;e.from<b&&(this.highlightRange(e,g,b,n,a),this.startSpan(Math.min(b,e.to),l),!(e.to>=m)&&e.nextSibling()););if(!f||m>r)break;h=f.to+i,h>t&&(this.highlightRange(o.cursor(),Math.max(t,f.from+i),Math.min(r,h),"",c),this.startSpan(Math.min(r,h),l))}u&&e.parent()}else if(e.firstChild()){d&&(n="");do{if(!(e.to<=t)){if(e.from>=r)break;this.highlightRange(e,t,r,n,a),this.startSpan(Math.min(r,e.to),l)}}while(e.nextSibling());e.parent()}}}const sse=Kie.define,lse=sse(),cse=sse(),use=sse(cse),dse=sse(cse),pse=sse(),hse=sse(pse),fse=sse(pse),mse=sse(),gse=sse(mse),bse=sse(),vse=sse(),yse=sse(),Ose=sse(yse),wse=sse(),xse={comment:lse,lineComment:sse(lse),blockComment:sse(lse),docComment:sse(lse),name:cse,variableName:sse(cse),typeName:use,tagName:sse(use),propertyName:dse,attributeName:sse(dse),className:sse(cse),labelName:sse(cse),namespace:sse(cse),macroName:sse(cse),literal:pse,string:hse,docString:sse(hse),character:sse(hse),attributeValue:sse(hse),number:fse,integer:sse(fse),float:sse(fse),bool:sse(pse),regexp:sse(pse),escape:sse(pse),color:sse(pse),url:sse(pse),keyword:bse,self:sse(bse),null:sse(bse),atom:sse(bse),unit:sse(bse),modifier:sse(bse),operatorKeyword:sse(bse),controlKeyword:sse(bse),definitionKeyword:sse(bse),moduleKeyword:sse(bse),operator:vse,derefOperator:sse(vse),arithmeticOperator:sse(vse),logicOperator:sse(vse),bitwiseOperator:sse(vse),compareOperator:sse(vse),updateOperator:sse(vse),definitionOperator:sse(vse),typeOperator:sse(vse),controlOperator:sse(vse),punctuation:yse,separator:sse(yse),bracket:Ose,angleBracket:sse(Ose),squareBracket:sse(Ose),paren:sse(Ose),brace:sse(Ose),content:mse,heading:gse,heading1:sse(gse),heading2:sse(gse),heading3:sse(gse),heading4:sse(gse),heading5:sse(gse),heading6:sse(gse),contentSeparator:sse(mse),list:sse(mse),quote:sse(mse),emphasis:sse(mse),strong:sse(mse),link:sse(mse),monospace:sse(mse),strikethrough:sse(mse),inserted:sse(),deleted:sse(),changed:sse(),invalid:sse(),meta:wse,documentMeta:sse(wse),annotation:sse(wse),processingInstruction:sse(wse),definition:Kie.defineModifier("definition"),constant:Kie.defineModifier("constant"),function:Kie.defineModifier("function"),standard:Kie.defineModifier("standard"),local:Kie.defineModifier("local"),special:Kie.defineModifier("special")};for(let e in xse){let t=xse[e];t instanceof Kie&&(t.name=e)}var kse;ase([{tag:xse.link,class:"tok-link"},{tag:xse.heading,class:"tok-heading"},{tag:xse.emphasis,class:"tok-emphasis"},{tag:xse.strong,class:"tok-strong"},{tag:xse.keyword,class:"tok-keyword"},{tag:xse.atom,class:"tok-atom"},{tag:xse.bool,class:"tok-bool"},{tag:xse.url,class:"tok-url"},{tag:xse.labelName,class:"tok-labelName"},{tag:xse.inserted,class:"tok-inserted"},{tag:xse.deleted,class:"tok-deleted"},{tag:xse.literal,class:"tok-literal"},{tag:xse.string,class:"tok-string"},{tag:xse.number,class:"tok-number"},{tag:[xse.regexp,xse.escape,xse.special(xse.string)],class:"tok-string2"},{tag:xse.variableName,class:"tok-variableName"},{tag:xse.local(xse.variableName),class:"tok-variableName tok-local"},{tag:xse.definition(xse.variableName),class:"tok-variableName tok-definition"},{tag:xse.special(xse.variableName),class:"tok-variableName2"},{tag:xse.definition(xse.propertyName),class:"tok-propertyName tok-definition"},{tag:xse.typeName,class:"tok-typeName"},{tag:xse.namespace,class:"tok-namespace"},{tag:xse.className,class:"tok-className"},{tag:xse.macroName,class:"tok-macroName"},{tag:xse.propertyName,class:"tok-propertyName"},{tag:xse.operator,class:"tok-operator"},{tag:xse.comment,class:"tok-comment"},{tag:xse.meta,class:"tok-meta"},{tag:xse.invalid,class:"tok-invalid"},{tag:xse.punctuation,class:"tok-punctuation"}]);const Sse=new sie;function _se(e){return N9.define({combine:e?t=>t.concat(e):void 0})}const Ese=new sie;class Tse{constructor(e,t,r=[],n=""){this.data=e,this.name=n,vee.prototype.hasOwnProperty("tree")||Object.defineProperty(vee.prototype,"tree",{get(){return Pse(this)}}),this.parser=t,this.extension=[Bse.of(this),vee.languageData.of(((e,t,r)=>{let n=Ase(e,t,r),a=n.type.prop(Sse);if(!a)return[];let o=e.facet(a),i=n.type.prop(Ese);if(i){let a=n.resolve(t-n.from,r);for(let t of i)if(t.test(a,e)){let r=e.facet(t.facet);return"replace"==t.type?r:r.concat(o)}}return o}))].concat(r)}isActiveAt(e,t,r=-1){return Ase(e,t,r).type.prop(Sse)==this.data}findRegions(e){let t=e.facet(Bse);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let r=[],n=(e,t)=>{if(e.prop(Sse)==this.data)return void r.push({from:t,to:t+e.length});let a=e.prop(sie.mounted);if(a){if(a.tree.prop(Sse)==this.data){if(a.overlay)for(let e of a.overlay)r.push({from:e.from+t,to:e.to+t});else r.push({from:t,to:t+e.length});return}if(a.overlay){let e=r.length;if(n(a.tree,a.overlay[0].from+t),r.length>e)return}}for(let r=0;r<e.children.length;r++){let a=e.children[r];a instanceof gie&&n(a,e.positions[r]+t)}};return n(Pse(e),0),r}get allowsNesting(){return!0}}function Ase(e,t,r){let n=e.facet(Bse),a=Pse(e).topNode;if(!n||n.allowsNesting)for(let e=a;e;e=e.enter(t,r,fie.ExcludeBuffers))e.type.isTop&&(a=e);return a}Tse.setState=see.define();class Cse extends Tse{constructor(e,t,r){super(e,t,[],r),this.parser=t}static define(e){let t=_se(e.languageData);return new Cse(t,e.parser.configure({props:[Sse.add((e=>e.isTop?t:void 0))]}),e.name)}configure(e,t){return new Cse(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Pse(e){let t=e.field(Tse.state,!1);return t?t.tree:gie.empty}class $se{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 r=this.cursorPos-this.string.length;return e<r||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-r,t-r)}}let Mse=null;class Dse{constructor(e,t,r=[],n,a,o,i,s){this.parser=e,this.state=t,this.fragments=r,this.tree=n,this.treeLen=a,this.viewport=o,this.skipped=i,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,t,r){return new Dse(e,t,[],gie.empty,0,r,[],null)}startParse(){return this.parser.startParse(new $se(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=gie.empty&&this.isDone(null!=t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext((()=>{var r;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||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(Nie.addTree(n,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(r=this.parse.stoppedAt)&&void 0!==r?r:this.state.doc.length,this.tree=n,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}}))}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||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(Nie.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=Mse;Mse=this;try{return e()}finally{Mse=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Rse(e,t.from,t.to);return e}changes(e,t){let{fragments:r,tree:n,treeLen:a,viewport:o,skipped:i}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges(((e,r,n,a)=>t.push({fromA:e,toA:r,fromB:n,toB:a}))),r=Nie.applyChanges(r,t),n=gie.empty,a=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){i=[];for(let t of this.skipped){let r=e.mapPos(t.from,1),n=e.mapPos(t.to,-1);r<n&&i.push({from:r,to:n})}}}return new Dse(this.parser,t,r,n,a,o,i,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:r,to:n}=this.skipped[t];r<e.to&&n>e.from&&(this.fragments=Rse(this.fragments,r,n),this.skipped.splice(t--,1))}return!(this.skipped.length>=t||(this.reset(),0))}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends Iie{createParse(t,r,n){let a=n[0].from,o=n[n.length-1].to,i={parsedPos:a,advance(){let t=Mse;if(t){for(let e of n)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new gie(uie.none,[],[],o-a)},stoppedAt:null,stopAt(){}};return i}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return Mse}}function Rse(e,t,r){return Nie.applyChanges(e,[{fromA:t,toA:r,fromB:t,toB:r}])}class Nse{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,r)||t.takeTree(),new Nse(t)}static init(e){let t=Math.min(3e3,e.doc.length),r=Dse.create(e.facet(Bse).parser,e,{from:0,to:t});return r.work(20,t)||r.takeTree(),new Nse(r)}}Tse.state=Q9.define({create:Nse.init,update(e,t){for(let e of t.effects)if(e.is(Tse.setState))return e.value;return t.startState.facet(Bse)!=t.state.facet(Bse)?Nse.init(t.state):e.apply(t)}});let Ise=e=>{let t=setTimeout((()=>e()),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(Ise=e=>{let t=-1,r=setTimeout((()=>{t=requestIdleCallback(e,{timeout:400})}),100);return()=>t<0?clearTimeout(r):cancelIdleCallback(t)});const Lse="undefined"!=typeof navigator&&(null===(kse=navigator.scheduling)||void 0===kse?void 0:kse.isInputPending)?()=>navigator.scheduling.isInputPending():null,jse=Vre.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(Tse.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(Tse.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=Ise(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:r,viewport:{to:n}}=this.view,a=r.field(Tse.state);if(a.tree==a.context.tree&&a.context.isDone(n+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!Lse?Math.max(25,e.timeRemaining()-5):1e9),i=a.context.treeLen<n&&r.doc.length>n+1e3,s=a.context.work((()=>Lse&&Lse()||Date.now()>o),n+(i?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(a.context.takeTree(),this.view.dispatch({effects:Tse.setState.of(new Nse(a.context))})),this.chunkBudget>0&&(!s||i)&&this.scheduleWork(),this.checkAsyncSchedule(a.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then((()=>this.scheduleWork())).catch((e=>Qre(this.view.state,e))).then((()=>this.workScheduled--)),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Bse=N9.define({combine:e=>e.length?e[0]:null,enables:e=>[Tse.state,jse,zae.contentAttributes.compute([e],(t=>{let r=t.facet(e);return r&&r.name?{"data-language":r.name}:{}}))]});class Use{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const Fse=N9.define(),Qse=N9.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 new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function zse(e){let t=e.facet(Qse);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function qse(e,t){let r="",n=e.tabSize,a=e.facet(Qse)[0];if("\t"==a){for(;t>=n;)r+="\t",t-=n;a=" "}for(let e=0;e<t;e++)r+=a;return r}function Hse(e,t){e instanceof vee&&(e=new Vse(e));for(let r of e.state.facet(Fse)){let n=r(e,t);if(void 0!==n)return n}let r=Pse(e.state);return r.length>=t?function(e,t,r){let n=t.resolveStack(r),a=t.resolveInner(r,-1).resolve(r,0).enterUnfinishedNodesBefore(r);if(a!=n.node){let e=[];for(let t=a;t!=n.node;t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)n={node:e[t],next:n}}return Wse(n,e,r)}(e,r,t):null}class Vse{constructor(e,t={}){this.state=e,this.options=t,this.unit=zse(e)}lineAt(e,t=1){let r=this.state.doc.lineAt(e),{simulateBreak:n,simulateDoubleBreak:a}=this.options;return null!=n&&n>=r.from&&n<=r.to?a&&n==e?{text:"",from:e}:(t<0?n<e:n<=e)?{text:r.text.slice(n-r.from),from:n}:{text:r.text.slice(0,n-r.from),from:r.from}:r}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:r,from:n}=this.lineAt(e,t);return r.slice(e-n,Math.min(r.length,e+100-n))}column(e,t=1){let{text:r,from:n}=this.lineAt(e,t),a=this.countColumn(r,e-n),o=this.options.overrideIndentation?this.options.overrideIndentation(n):-1;return o>-1&&(a+=o-this.countColumn(r,r.search(/\S|$/))),a}countColumn(e,t=e.length){return Iee(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:r,from:n}=this.lineAt(e,t),a=this.options.overrideIndentation;if(a){let e=a(n);if(e>-1)return e}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Zse=new sie;function Wse(e,t,r){for(let n=e;n;n=n.next){let e=Xse(n.node);if(e)return e(Yse.create(t,r,n))}return 0}function Xse(e){let t=e.type.prop(Zse);if(t)return t;let r,n=e.firstChild;if(n&&(r=n.type.prop(sie.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>ele(e,!0,1,void 0,n&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?Gse:null}function Gse(){return 0}class Yse extends Vse{constructor(e,t,r){super(e.state,e.options),this.base=e,this.pos=t,this.context=r}get node(){return this.context.node}static create(e,t,r){return new Yse(e,t,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 r=e.resolve(t.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(Kse(r,e))break;t=this.state.doc.lineAt(r.from)}return this.lineIndent(t.from)}continue(){return Wse(this.context.next,this.base,this.pos)}}function Kse(e,t){for(let r=t;r;r=r.parent)if(e==r)return!0;return!1}function Jse({closing:e,align:t=!0,units:r=1}){return n=>ele(n,t,r,e)}function ele(e,t,r,n,a){let o=e.textAfter,i=o.match(/^\s*/)[0].length,s=n&&o.slice(i,i+n.length)==n||a==e.pos+i,l=t?function(e){let t=e.node,r=t.childAfter(t.from),n=t.lastChild;if(!r)return null;let a=e.options.simulateBreak,o=e.state.doc.lineAt(r.from),i=null==a||a<=o.from?o.to:Math.min(o.to,a);for(let e=r.to;;){let a=t.childAfter(e);if(!a||a==n)return null;if(!a.type.isSkipped){if(a.from>=i)return null;let e=/^ */.exec(o.text.slice(r.to-o.from))[0].length;return{from:r.from,to:r.to+e}}e=a.to}}(e):null;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*r)}function tle({except:e,units:t=1}={}){return r=>{let n=e&&e.test(r.textAfter);return r.baseIndent+(n?0:t*r.unit)}}const rle=N9.define(),nle=new sie;function ale(e){let t=e.firstChild,r=e.lastChild;return t&&t.to<r.from?{from:t.to,to:r.type.isError?e.to:r.from}:null}function ole(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function ile(e,t,r){for(let n of e.facet(rle)){let a=n(e,t,r);if(a)return a}return function(e,t,r){let n=Pse(e);if(n.length<r)return null;let a=null;for(let o=n.resolveStack(r,1);o;o=o.next){let i=o.node;if(i.to<=r||i.from>r)continue;if(a&&i.from<t)break;let s=i.type.prop(nle);if(s&&(i.to<n.length-50||n.length==e.doc.length||!ole(i))){let n=s(i,e);n&&n.from<=r&&n.from>=t&&n.to>r&&(a=n)}}return a}(e,t,r)}function sle(e,t){let r=t.mapPos(e.from,1),n=t.mapPos(e.to,-1);return r>=n?void 0:{from:r,to:n}}const lle=see.define({map:sle}),cle=see.define({map:sle}),ule=Q9.define({create:()=>Gte.none,update(e,t){e=e.map(t.changes);for(let r of t.effects)if(r.is(lle)&&!ple(e,r.value.from,r.value.to)){let{preparePlaceholder:n}=t.state.facet(fle),a=n?Gte.replace({widget:new ble(n(t.state,r.value))}):gle;e=e.update({add:[a.range(r.value.from,r.value.to)]})}else r.is(cle)&&(e=e.update({filter:(e,t)=>r.value.from!=e||r.value.to!=t,filterFrom:r.value.from,filterTo:r.value.to}));if(t.selection){let r=!1,{head:n}=t.selection.main;e.between(n,n,((e,t)=>{e<n&&t>n&&(r=!0)})),r&&(e=e.update({filterFrom:n,filterTo:n,filter:(e,t)=>t<=n||e>=n}))}return e},provide:e=>zae.decorations.from(e),toJSON(e,t){let r=[];return e.between(0,t.doc.length,((e,t)=>{r.push(e,t)})),r},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let r=0;r<e.length;){let n=e[r++],a=e[r++];if("number"!=typeof n||"number"!=typeof a)throw new RangeError("Invalid JSON for fold state");t.push(gle.range(n,a))}return Gte.set(t,!0)}});function dle(e,t,r){var n;let a=null;return null===(n=e.field(ule,!1))||void 0===n||n.between(t,r,((e,t)=>{(!a||a.from>e)&&(a={from:e,to:t})})),a}function ple(e,t,r){let n=!1;return e.between(t,t,((e,a)=>{e==t&&a==r&&(n=!0)})),n}const hle={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},fle=N9.define({combine:e=>yee(e,hle)});function mle(e,t){let{state:r}=e,n=r.facet(fle),a=t=>{let r=e.lineBlockAt(e.posAtDOM(t.target)),n=dle(e.state,r.from,r.to);n&&e.dispatch({effects:cle.of(n)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,a,t);let o=document.createElement("span");return o.textContent=n.placeholderText,o.setAttribute("aria-label",r.phrase("folded code")),o.title=r.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=a,o}const gle=Gte.replace({widget:new class extends Wte{toDOM(e){return mle(e,null)}}});class ble extends Wte{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return mle(e,this.value)}}const vle={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class yle extends Loe{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}}function Ole(e={}){let t=Object.assign(Object.assign({},vle),e),r=new yle(t,!0),n=new yle(t,!1),a=Vre.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(Bse)!=e.state.facet(Bse)||e.startState.field(ule,!1)!=e.state.field(ule,!1)||Pse(e.startState)!=Pse(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new _ee;for(let a of e.viewportLineBlocks){let o=dle(e.state,a.from,a.to)?n:ile(e.state,a.from,a.to)?r:null;o&&t.add(a.from,a.from,o)}return t.finish()}}),{domEventHandlers:o}=t;return[a,Qoe({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(a))||void 0===t?void 0:t.markers)||See.empty},initialSpacer:()=>new yle(t,!1),domEventHandlers:Object.assign(Object.assign({},o),{click:(e,t,r)=>{if(o.click&&o.click(e,t,r))return!0;let n=dle(e.state,t.from,t.to);if(n)return e.dispatch({effects:cle.of(n)}),!0;let a=ile(e.state,t.from,t.to);return!!a&&(e.dispatch({effects:lle.of(a)}),!0)}})}),[ule,wle]]}const wle=zae.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"}});class xle{constructor(e,t){let r;function n(e){let t=Uee.newName();return(r||(r=Object.create(null)))["."+t]=e,t}this.specs=e;const a="string"==typeof t.all?t.all:t.all?n(t.all):void 0,o=t.scope;this.scope=o instanceof Tse?e=>e.prop(Sse)==o.data:o?e=>e==o:void 0,this.style=ase(e.map((e=>({tag:e.tag,class:e.class||n(Object.assign({},e,{tag:null}))}))),{all:a}).style,this.module=r?new Uee(r):null,this.themeType=t.themeType}static define(e,t){return new xle(e,t||{})}}const kle=N9.define(),Sle=N9.define({combine:e=>e.length?[e[0]]:null});function _le(e){let t=e.facet(kle);return t.length?t:e.facet(Sle)}function Ele(e,t){let r,n=[Tle];return e instanceof xle&&(e.module&&n.push(zae.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(Sle.of(e)):r?n.push(kle.computeN([zae.darkTheme],(t=>t.facet(zae.darkTheme)==("dark"==r)?[e]:[]))):n.push(kle.of(e)),n}const Tle=q9.high(Vre.fromClass(class{constructor(e){this.markCache=Object.create(null),this.tree=Pse(e.state),this.decorations=this.buildDeco(e,_le(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=Pse(e.state),r=_le(e.state),n=r!=_le(e.startState),{viewport:a}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length<a.to&&!n&&t.type==this.tree.type&&o>=a.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||n)&&(this.tree=t,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=a.to)}buildDeco(e,t){if(!t||!this.tree.length)return Gte.none;let r=new _ee;for(let{from:n,to:a}of e.visibleRanges)ose(this.tree,t,((e,t,n)=>{r.add(e,t,this.markCache[n]||(this.markCache[n]=Gte.mark({class:n})))}),n,a);return r.finish()}},{decorations:e=>e.decorations})),Ale=xle.define([{tag:xse.meta,color:"#404740"},{tag:xse.link,textDecoration:"underline"},{tag:xse.heading,textDecoration:"underline",fontWeight:"bold"},{tag:xse.emphasis,fontStyle:"italic"},{tag:xse.strong,fontWeight:"bold"},{tag:xse.strikethrough,textDecoration:"line-through"},{tag:xse.keyword,color:"#708"},{tag:[xse.atom,xse.bool,xse.url,xse.contentSeparator,xse.labelName],color:"#219"},{tag:[xse.literal,xse.inserted],color:"#164"},{tag:[xse.string,xse.deleted],color:"#a11"},{tag:[xse.regexp,xse.escape,xse.special(xse.string)],color:"#e40"},{tag:xse.definition(xse.variableName),color:"#00f"},{tag:xse.local(xse.variableName),color:"#30a"},{tag:[xse.typeName,xse.namespace],color:"#085"},{tag:xse.className,color:"#167"},{tag:[xse.special(xse.variableName),xse.macroName],color:"#256"},{tag:xse.definition(xse.propertyName),color:"#00c"},{tag:xse.comment,color:"#940"},{tag:xse.invalid,color:"#f00"}]),Cle=zae.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Ple="()[]{}",$le=N9.define({combine:e=>yee(e,{afterCursor:!0,brackets:Ple,maxScanDistance:1e4,renderMatch:Rle})}),Mle=Gte.mark({class:"cm-matchingBracket"}),Dle=Gte.mark({class:"cm-nonmatchingBracket"});function Rle(e){let t=[],r=e.matched?Mle:Dle;return t.push(r.range(e.start.from,e.start.to)),e.end&&t.push(r.range(e.end.from,e.end.to)),t}const Nle=[Q9.define({create:()=>Gte.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let r=[],n=t.state.facet($le);for(let e of t.state.selection.ranges){if(!e.empty)continue;let a=Ule(t.state,e.head,-1,n)||e.head>0&&Ule(t.state,e.head-1,1,n)||n.afterCursor&&(Ule(t.state,e.head,1,n)||e.head<t.state.doc.length&&Ule(t.state,e.head+1,-1,n));a&&(r=r.concat(n.renderMatch(a,t.state)))}return Gte.set(r,!0)},provide:e=>zae.decorations.from(e)}),Cle];function Ile(e={}){return[$le.of(e),Nle]}const Lle=new sie;function jle(e,t,r){let n=e.prop(t<0?sie.openedBy:sie.closedBy);if(n)return n;if(1==e.name.length){let n=r.indexOf(e.name);if(n>-1&&n%2==(t<0?1:0))return[r[n+t]]}return null}function Ble(e){let t=e.type.prop(Lle);return t?t(e.node):e}function Ule(e,t,r,n={}){let a=n.maxScanDistance||1e4,o=n.brackets||Ple,i=Pse(e),s=i.resolveInner(t,r);for(let n=s;n;n=n.parent){let a=jle(n.type,r,o);if(a&&n.from<n.to){let i=Ble(n);if(i&&(r>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return Fle(e,t,r,n,i,a,o)}}return function(e,t,r,n,a,o,i){let s=r<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=i.indexOf(s);if(l<0||l%2==0!=r>0)return null;let c={from:r<0?t-1:t,to:r>0?t+1:t},u=e.doc.iterRange(t,r>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=o;){let o=u.value;r<0&&(e+=o.length);let s=t+e*r;for(let e=r>0?0:o.length-1,t=r>0?o.length:-1;e!=t;e+=r){let t=i.indexOf(o[e]);if(!(t<0||n.resolveInner(s+e,1).type!=a))if(t%2==0==r>0)d++;else{if(1==d)return{start:c,end:{from:s+e,to:s+e+1},matched:t>>1==l>>1};d--}}r>0&&(e+=o.length)}return u.done?{start:c,matched:!1}:null}(e,t,r,i,s.type,a,o)}function Fle(e,t,r,n,a,o,i){let s=n.parent,l={from:a.from,to:a.to},c=0,u=null==s?void 0:s.cursor();if(u&&(r<0?u.childBefore(n.from):u.childAfter(n.to)))do{if(r<0?u.to<=n.from:u.from>=n.to){if(0==c&&o.indexOf(u.type.name)>-1&&u.from<u.to){let e=Ble(u);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(jle(u.type,r,i))c++;else if(jle(u.type,-r,i)){if(0==c){let e=Ble(u);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}}while(r<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}const Qle=Object.create(null),zle=[uie.none],qle=[],Hle=Object.create(null),Vle=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"]])Vle[e]=Wle(Qle,t);function Zle(e,t){qle.indexOf(e)>-1||(qle.push(e),console.warn(t))}function Wle(e,t){let r=[];for(let n of t.split(" ")){let t=[];for(let r of n.split(".")){let n=e[r]||xse[r];n?"function"==typeof n?t.length?t=t.map(n):Zle(r,`Modifier ${r} used at start of tag`):t.length?Zle(r,`Tag ${r} used as modifier`):t=Array.isArray(n)?n:[n]:Zle(r,`Unknown highlighting tag ${r}`)}for(let e of t)r.push(e)}if(!r.length)return 0;let n=t.replace(/ /g,"_"),a=n+" "+r.map((e=>e.id)),o=Hle[a];if(o)return o.id;let i=Hle[a]=uie.define({id:zle.length,name:n,props:[tse({[n]:r})]});return zle.push(i),i.id}lre.RTL,lre.LTR;const Xle=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"]]),Gle=new WeakMap;var Yle=function(e){return e.rgb="RGB",e.hex="HEX",e.named="NAMED",e.hsl="HSL",e}(Yle||(Yle={}));const Kle=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,Jle=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,ece=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i;function tce(e,t){const r=[],n=Pse(e.state);for(const a of e.visibleRanges)n.iterate({from:a.from,to:a.to,enter:({type:a,from:o,to:i})=>{var s;const l=t(n,o,i,a.name,e.state.doc,null===(s=e.state.facet(Bse))||void 0===s?void 0:s.name);if(l)if(Array.isArray(l))for(const e of l)r.push(Gte.widget({widget:new lce(e),side:1}).range(e.from));else r.push(Gte.widget({widget:new lce(l),side:1}).range(l.from))}});return Gte.set(r)}function rce(e){let t;if(e.endsWith("%")){const r=Number(e.slice(0,-1));t=Math.round(r/100*255)}else t=Number(e);return nce(t)}function nce(e){const t=e.toString(16);return 1===t.length?"0"+t:t}function ace(e){const t=e.slice(1,3),r=e.slice(3,5),n=e.slice(5,7);return[parseInt(t,16),parseInt(r,16),parseInt(n,16)]}function oce(e){return e<0?e+1:e>1?e-1:e}function ice(e,t,r){return 6*r<1?t+6*(e-t)*r:2*r<1?e:3*r<2?t+(e-t)*(.666-r)*6:t}const sce="cm-css-color-picker-wrapper";class lce extends Wte{constructor(e){var{color:t}=e,r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(e,["color"]);super(),this.state=r,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(){const e=document.createElement("input");Gle.set(e,this.state),e.type="color",e.value=this.color;const t=document.createElement("span");return t.appendChild(e),t.className=sce,t}ignoreEvent(){return!1}}const cce=zae.baseTheme({[`.${sce}`]:{display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",height:"1em",width:"1em",transform:"translateY(1px)"},[`.${sce} 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"}}}),uce=[(e=>Vre.fromClass(class{constructor(t){this.decorations=tce(t,e.discoverColors)}update(t){(t.docChanged||t.viewportChanged)&&(this.decorations=tce(t.view,e.discoverColors))}},{decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>{const r=e.target;if("INPUT"!==r.nodeName||!r.parentElement||!r.parentElement.classList.contains(sce))return!1;const n=Gle.get(r);let a=r.value+n.alpha;if(n.colorType===Yle.rgb)a=`rgb(${ace(r.value).join(", ")}${n.alpha})`;else if(n.colorType===Yle.named)for(const[e,t]of Xle.entries())t===r.value&&(a=e);else if(n.colorType===Yle.hsl){const[e,t,o]=ace(r.value),[i,s,l]=function(e,t,r){const n=e/255,a=t/255,o=r/255,i=Math.min(n,a,o),s=Math.max(n,a,o),l=(s+i)/2;if(s===i)return[0,0,l];let c,u;for(c=l<=.5?(s-i)/(s+i):(s-i)/(2-s-i),u=s===n?(a-o)/(s-i):a===s?2+(o-n)/(s-i):4+(n-a)/(s-i),u=Math.round(60*u);u<0;)u+=360;return[u,c,l]}(e,t,o);a=`hsl(${i}, ${Math.round(100*s)}%, ${Math.round(100*l)}%${n.alpha})`}return t.dispatch({changes:{from:n.from,to:n.to,insert:a}}),!0}}}))({discoverColors:function e(t,r,n,a,o,i){var s;switch(a){case"AttributeValue":{const n=t.resolveInner(r,0).tree;if(!n)return null;const a=null===(s=n.prop(sie.mounted))||void 0===s?void 0:s.tree;if("Styles"!==(null==a?void 0:a.type.name))return null;const i=[];return a.iterate({from:0,to:a.length,enter:({type:n,from:a,to:s})=>{const l=e(t,r+1+a,r+1+s,n.name,o);if(l){if(Array.isArray(l))throw new Error("Unexpected nested overlays");i.push(l)}}}),i}case"CallExpression":{const e=function(e){switch(e.slice(0,3)){case"rgb":{const t=Kle.exec(e);if(!t)return null;const[r,n,a,o,i]=t,s=function(e,t,r){return`#${rce(e)}${rce(t)}${rce(r)}`}(n,a,o);return{colorType:Yle.rgb,color:s,alpha:i||""}}case"hsl":{const t=Jle.exec(e);if(!t)return null;const[r,n,a,o,i]=t,s=function(e,t,r){const n=Number(t)/100,a=Number(r)/100,[o,i,s]=function(e,t,r){if(0===t){const e=Math.round(255*r);return[e,e,e]}let n;n=r<.5?r*(1+t):r+t-r*t;const a=2*r-n,o=oce(.333+(e/=360)),i=e,s=oce(e-.333),l=ice(n,a,o),c=ice(n,a,i),u=ice(n,a,s);return[Math.round(255*l),Math.round(255*c),Math.round(255*u)]}(Number(e),n,a);return`#${nce(o)}${nce(i)}${nce(s)}`}(n,a,o);return{colorType:Yle.hsl,color:s,alpha:i||""}}default:return null}}(o.sliceString(r,n));return e?Object.assign(Object.assign({},e),{from:r,to:n}):null}case"ColorLiteral":{const e=function(e){if(!ece.exec(e))return null;const[t,r]=function(e){return 4===e.length?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,""]:5===e.length?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,e[4].repeat(2)]:9===e.length?[`#${e.slice(1,-2)}`,e.slice(-2)]:[e,""]}(e);return{colorType:Yle.hex,color:t,alpha:r}}(o.sliceString(r,n));return e?Object.assign(Object.assign({},e),{from:r,to:n}):null}case"ValueName":{const e=function(e){const t=Xle.get(e);return t?{colorType:Yle.named,color:t,alpha:""}:null}(o.sliceString(r,n));return e?Object.assign(Object.assign({},e),{from:r,to:n}):null}default:return null}}}),cce];class dce{constructor(e,t,r,n){this.state=e,this.pos=t,this.explicit=r,this.view=n,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=Pse(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),r=Math.max(t.from,this.pos-250),n=t.text.slice(r-t.from,this.pos-t.from),a=n.search(gce(e,!1));return a<0?null:{from:r+a,to:this.pos,text:n.slice(a)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,r){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),r&&r.onDocChange&&(this.abortOnDocChange=!0))}}function pce(e){let t=Object.keys(e).join(""),r=/\w/.test(t);return r&&(t=t.replace(/\w/g,"")),`[${r?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function hce(e){let t=e.map((e=>"string"==typeof e?{label:e}:e)),[r,n]=t.every((e=>/^\w+$/.test(e.label)))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),r=Object.create(null);for(let{label:n}of e){t[n[0]]=!0;for(let e=1;e<n.length;e++)r[n[e]]=!0}let n=pce(t)+pce(r)+"*$";return[new RegExp("^"+n),new RegExp(n)]}(t);return e=>{let a=e.matchBefore(n);return a||e.explicit?{from:a?a.from:e.pos,options:t,validFor:r}:null}}class fce{constructor(e,t,r,n){this.completion=e,this.source=t,this.match=r,this.score=n}}function mce(e){return e.selection.main.from}function gce(e,t){var r;let{source:n}=e,a=t&&"^"!=n[0],o="$"!=n[n.length-1];return a||o?new RegExp(`${a?"^":""}(?:${n})${o?"$":""}`,null!==(r=e.flags)&&void 0!==r?r:e.ignoreCase?"i":""):e}const bce=aee.define(),vce=new WeakMap;function yce(e){if(!Array.isArray(e))return e;let t=vce.get(e);return t||vce.set(e,t=hce(e)),t}const Oce=see.define(),wce=see.define();class xce{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 r=v9(e,t),n=O9(r);this.chars.push(r);let a=e.slice(t,t+n),o=a.toUpperCase();this.folded.push(v9(o==a?a.toLowerCase():o,0)),t+=n}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:r,any:n,precise:a,byWord:o}=this;if(1==t.length){let n=v9(e,0),a=O9(n),o=a==e.length?0:-100;if(n==t[0]);else{if(n!=r[0])return null;o+=-200}return this.ret(o,[0,a])}let i=e.indexOf(this.pattern);if(0==i)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let s=t.length,l=0;if(i<0){for(let a=0,o=Math.min(e.length,200);a<o&&l<s;){let o=v9(e,a);o!=t[l]&&o!=r[l]||(n[l++]=a),a+=O9(o)}if(l<s)return null}let c=0,u=0,d=!1,p=0,h=-1,f=-1,m=/[a-z]/.test(e),g=!0;for(let n=0,l=Math.min(e.length,200),b=0;n<l&&u<s;){let l=v9(e,n);i<0&&(c<s&&l==t[c]&&(a[c++]=n),p<s&&(l==t[p]||l==r[p]?(0==p&&(h=n),f=n+1,p++):p=0));let v,y=l<255?l>=48&&l<=57||l>=97&&l<=122?2:l>=65&&l<=90?1:0:(v=y9(l))!=v.toLowerCase()?1:v!=v.toUpperCase()?2:0;(!n||1==y&&m||0==b&&0!=y)&&(t[u]==l||r[u]==l&&(d=!0)?o[u++]=n:o.length&&(g=!1)),b=y,n+=O9(l)}return u==s&&0==o[0]&&g?this.result((d?-200:0)-100,o,e):p==s&&0==h?this.ret(-200-e.length+(f==e.length?0:-100),[0,f]):i>-1?this.ret(-700-e.length,[i,i+this.pattern.length]):p==s?this.ret(-900-e.length,[h,f]):u==s?this.result((d?-200:0)-100-700+(g?0:-1100),o,e):2==t.length?null:this.result((n[0]?-700:0)-200-1100,n,e)}result(e,t,r){let n=[],a=0;for(let e of t){let t=e+(this.astral?O9(v9(r,e)):1);a&&n[a-1]==e?n[a-1]=t:(n[a++]=e,n[a++]=t)}return this.ret(e-r.length,n)}}class kce{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),r=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==r?null:(this.matched=[0,t.length],this.score=r+(e.length==this.pattern.length?0:-100),this)}}const Sce=N9.define({combine:e=>yee(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:Ece,filterStrict:!1,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>r=>_ce(e(r),t(r)),optionClass:(e,t)=>r=>_ce(e(r),t(r)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function _ce(e,t){return e?t?e+" "+t:e:t}function Ece(e,t,r,n,a,o){let i,s,l=e.textDirection==lre.RTL,c=l,u=!1,d="top",p=t.left-a.left,h=a.right-t.right,f=n.right-n.left,m=n.bottom-n.top;if(c&&p<Math.min(f,h)?c=!1:!c&&h<Math.min(f,p)&&(c=!0),f<=(c?p:h))i=Math.max(a.top,Math.min(r.top,a.bottom-m))-t.top,s=Math.min(400,c?p:h);else{u=!0,s=Math.min(400,(l?t.right:a.right-t.left)-30);let e=a.bottom-t.bottom;e>=m||e>t.top?i=r.bottom-t.top:(d="bottom",i=t.bottom-r.top)}return{style:`${d}: ${i/((t.bottom-t.top)/o.offsetHeight)}px; max-width: ${s/((t.right-t.left)/o.offsetWidth)}px`,class:"cm-completionInfo-"+(u?l?"left-narrow":"right-narrow":c?"left":"right")}}function Tce(e,t,r){if(e<=r)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/r);return{from:e*r,to:(e+1)*r}}let n=Math.floor((e-t)/r);return{from:e-(n+1)*r,to:e-n*r}}class Ace{constructor(e,t,r){this.view=e,this.stateField=t,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let n=e.state.field(t),{options:a,selected:o}=n.open,i=e.state.facet(Sce);this.optionContent=function(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,r,n){let a=document.createElement("span");a.className="cm-completionLabel";let o=e.displayLabel||e.label,i=0;for(let e=0;e<n.length;){let t=n[e++],r=n[e++];t>i&&a.appendChild(document.createTextNode(o.slice(i,t)));let s=a.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,r))),s.className="cm-completionMatchedText",i=r}return i<o.length&&a.appendChild(document.createTextNode(o.slice(i))),a},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))}(i),this.optionClass=i.optionClass,this.tooltipClass=i.tooltipClass,this.range=Tce(a.length,o,i.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",(r=>{let{options:n}=e.state.field(t).open;for(let t,a=r.target;a&&a!=this.dom;a=a.parentNode)if("LI"==a.nodeName&&(t=/-(\d+)$/.exec(a.id))&&+t[1]<n.length)return this.applyCompletion(e,n[+t[1]]),void r.preventDefault()})),this.dom.addEventListener("focusout",(t=>{let r=e.state.field(this.stateField,!1);r&&r.tooltip&&e.state.facet(Sce).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:wce.of(null)})})),this.showOptions(a,n.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){var t;let r=e.state.field(this.stateField),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=n){let{options:a,selected:o,disabled:i}=r.open;n.open&&n.open.options==a||(this.range=Tce(a.length,o,e.state.facet(Sce).maxRenderedOptions),this.showOptions(a,r.id)),this.updateSel(),i!=(null===(t=n.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!i)}}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;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=Tce(t.options.length,t.selected,this.view.state.facet(Sce).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:r}=t.options[t.selected],{info:n}=r;if(!n)return;let a="string"==typeof n?document.createTextNode(n):n(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=>Qre(this.view.state,e,"completion info"))):this.addInfoPane(a,r)}}addInfoPane(e,t){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",null!=e.nodeType)r.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:n}=e;r.appendChild(t),this.infoDestroy=n||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let r=this.list.firstChild,n=this.range.from;r;r=r.nextSibling,n++)"LI"==r.nodeName&&r.id?n==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),t=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected"):n--;return t&&function(e,t){let r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),a=r.height/e.offsetHeight;n.top<r.top?e.scrollTop-=(r.top-n.top)/a:n.bottom>r.bottom&&(e.scrollTop+=(n.bottom-r.bottom)/a)}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),n=e.getBoundingClientRect(),a=this.space;if(!a){let e=this.dom.ownerDocument.defaultView||window;a={left:0,top:0,right:e.innerWidth,bottom:e.innerHeight}}return n.top>Math.min(a.bottom,t.bottom)-10||n.bottom<Math.max(a.top,t.top)+10?null:this.view.state.facet(Sce).positionInfo(this.view,t,n,r,a,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,r){const n=document.createElement("ul");n.id=t,n.setAttribute("role","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("aria-label",this.view.state.phrase("Completions"));let a=null;for(let o=r.from;o<r.to;o++){let{completion:i,match:s}=e[o],{section:l}=i;if(l){let e="string"==typeof l?l:l.name;e!=a&&(o>r.from||0==r.from)&&(a=e,"string"!=typeof l&&l.header?n.appendChild(l.header(l)):n.appendChild(document.createElement("completion-section")).textContent=e)}const c=n.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let u=this.optionClass(i);u&&(c.className=u);for(let e of this.optionContent){let t=e(i,this.view.state,this.view,s);t&&c.appendChild(t)}}return r.from&&n.classList.add("cm-completionListIncompleteTop"),r.to<e.length&&n.classList.add("cm-completionListIncompleteBottom"),n}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function Cce(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class Pce{constructor(e,t,r,n,a,o){this.options=e,this.attrs=t,this.tooltip=r,this.timestamp=n,this.selected=a,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new Pce(this.options,Rce(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,r,n,a,o){if(n&&!o&&e.some((e=>e.isPending)))return n.setDisabled();let i=function(e,t){let r=[],n=null,a=e=>{r.push(e);let{section:t}=e.completion;if(t){n||(n=[]);let e="string"==typeof t?t:t.name;n.some((t=>t.name==e))||n.push("string"==typeof t?{name:e}:t)}},o=t.facet(Sce);for(let n of e)if(n.hasResult()){let e=n.result.getMatch;if(!1===n.result.filter)for(let t of n.result.options)a(new fce(t,n.source,e?e(t):[],1e9-r.length));else{let r,i=t.sliceDoc(n.from,n.to),s=o.filterStrict?new kce(i):new xce(i);for(let t of n.result.options)if(r=s.match(t.label)){let o=t.displayLabel?e?e(t,r.matched):[]:r.matched;a(new fce(t,n.source,o,r.score+(t.boost||0)))}}}if(n){let e=Object.create(null),t=0,a=(e,t)=>{var r,n;return(null!==(r=e.rank)&&void 0!==r?r:1e9)-(null!==(n=t.rank)&&void 0!==n?n:1e9)||(e.name<t.name?-1:1)};for(let r of n.sort(a))t-=1e5,e[r.name]=t;for(let t of r){let{section:r}=t.completion;r&&(t.score+=e["string"==typeof r?r:r.name])}}let i=[],s=null,l=o.compareCompletions;for(let e of r.sort(((e,t)=>t.score-e.score||l(e.completion,t.completion)))){let t=e.completion;!s||s.label!=t.label||s.detail!=t.detail||null!=s.type&&null!=t.type&&s.type!=t.type||s.apply!=t.apply||s.boost!=t.boost?i.push(e):Cce(e.completion)>Cce(s)&&(i[i.length-1]=e),s=e.completion}return i}(e,t);if(!i.length)return n&&e.some((e=>e.isPending))?n.setDisabled():null;let s=t.facet(Sce).selectOnOpen?0:-1;if(n&&n.selected!=s&&-1!=n.selected){let e=n.options[n.selected].completion;for(let t=0;t<i.length;t++)if(i[t].completion==e){s=t;break}}return new Pce(i,Rce(r,s),{pos:e.reduce(((e,t)=>t.hasResult()?Math.min(e,t.from):e),1e8),create:zce,above:a.aboveCursor},n?n.timestamp:Date.now(),s,!1)}map(e){return new Pce(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new Pce(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class $ce{constructor(e,t,r){this.active=e,this.id=t,this.open=r}static start(){return new $ce(Nce,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,r=t.facet(Sce),n=(r.override||t.languageDataAt("autocomplete",mce(t)).map(yce)).map((t=>{let n=this.active.find((e=>e.source==t))||new Lce(t,this.active.some((e=>0!=e.state))?1:0);return n.update(e,r)}));n.length==this.active.length&&n.every(((e,t)=>e==this.active[t]))&&(n=this.active);let a=this.open,o=e.effects.some((e=>e.is(Bce)));a&&e.docChanged&&(a=a.map(e.changes)),e.selection||n.some((t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to)))||!function(e,t){if(e==t)return!0;for(let r=0,n=0;;){for(;r<e.length&&!e[r].hasResult();)r++;for(;n<t.length&&!t[n].hasResult();)n++;let a=r==e.length,o=n==t.length;if(a||o)return a==o;if(e[r++].result!=t[n++].result)return!1}}(n,this.active)||o?a=Pce.build(n,t,this.id,a,r,o):a&&a.disabled&&!n.some((e=>e.isPending))&&(a=null),!a&&n.every((e=>!e.isPending))&&n.some((e=>e.hasResult()))&&(n=n.map((e=>e.hasResult()?new Lce(e.source,0):e)));for(let t of e.effects)t.is(Uce)&&(a=a&&a.setSelected(t.value,this.id));return n==this.active&&a==this.open?this:new $ce(n,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?Mce:Dce}}const Mce={"aria-autocomplete":"list"},Dce={};function Rce(e,t){let r={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(r["aria-activedescendant"]=e+"-"+t),r}const Nce=[];function Ice(e,t){if(e.isUserEvent("input.complete")){let r=e.annotation(bce);if(r&&t.activateOnCompletion(r))return 12}let r=e.isUserEvent("input.type");return r&&t.activateOnTyping?5:r?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class Lce{constructor(e,t,r=!1){this.source=e,this.state=t,this.explicit=r}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let r=Ice(e,t),n=this;(8&r||16&r&&this.touches(e))&&(n=new Lce(n.source,0)),4&r&&0==n.state&&(n=new Lce(this.source,1)),n=n.updateFor(e,r);for(let t of e.effects)if(t.is(Oce))n=new Lce(n.source,1,t.value);else if(t.is(wce))n=new Lce(n.source,0);else if(t.is(Bce))for(let e of t.value)e.source==n.source&&(n=e);return n}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(mce(e.state))}}class jce extends Lce{constructor(e,t,r,n,a,o){super(e,3,t),this.limit=r,this.result=n,this.from=a,this.to=o}hasResult(){return!0}updateFor(e,t){var r;if(!(3&t))return this.map(e.changes);let n=this.result;n.map&&!e.changes.empty&&(n=n.map(n,e.changes));let a=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),i=mce(e.state);if(i>o||!n||2&t&&(mce(e.startState)==this.from||i<this.limit))return new Lce(this.source,4&t?1:0);let s=e.changes.mapPos(this.limit);return function(e,t,r,n){if(!e)return!1;let a=t.sliceDoc(r,n);return"function"==typeof e?e(a,r,n,t):gce(e,!0).test(a)}(n.validFor,e.state,a,o)?new jce(this.source,this.explicit,s,n,a,o):n.update&&(n=n.update(n,a,o,new dce(e.state,i,!1)))?new jce(this.source,this.explicit,s,n,n.from,null!==(r=n.to)&&void 0!==r?r:mce(e.state)):new Lce(this.source,1,this.explicit)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new jce(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new Lce(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}const Bce=see.define({map:(e,t)=>e.map((e=>e.map(t)))}),Uce=see.define(),Fce=Q9.define({create:()=>$ce.start(),update:(e,t)=>e.update(t),provide:e=>[Soe.from(e,(e=>e.tooltip)),zae.contentAttributes.from(e,(e=>e.attrs))]});function Qce(e,t){const r=t.completion.apply||t.completion.label;let n=e.state.field(Fce).active.find((e=>e.source==t.source));return n instanceof jce&&("string"==typeof r?e.dispatch(Object.assign(Object.assign({},function(e,t,r,n){let{main:a}=e.selection,o=r-a.from,i=n-a.from;return Object.assign(Object.assign({},e.changeByRange((s=>{if(s!=a&&r!=n&&e.sliceDoc(s.from+o,s.from+i)!=e.sliceDoc(r,n))return{range:s};let l=e.toText(t);return{changes:{from:s.from+o,to:n==a.from?s.to:s.from+i,insert:l},range:M9.cursor(s.from+o+l.length)}}))),{scrollIntoView:!0,userEvent:"input.complete"})}(e.state,r,n.from,n.to)),{annotations:bce.of(t.completion)})):r(e,t.completion,n.from,n.to),!0)}const zce=function(e,t){return r=>new Ace(r,e,t)}(Fce,Qce);function qce(e,t="option"){return r=>{let n=r.state.field(Fce,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp<r.state.facet(Sce).interactionDelay)return!1;let a,o=1;"page"==t&&(a=Poe(r,n.open.tooltip))&&(o=Math.max(2,Math.floor(a.dom.offsetHeight/a.dom.querySelector("li").offsetHeight)-1));let{length:i}=n.open.options,s=n.open.selected>-1?n.open.selected+o*(e?1:-1):e?0:i-1;return s<0?s="page"==t?0:i-1:s>=i&&(s="page"==t?i-1:0),r.dispatch({effects:Uce.of(s)}),!0}}const Hce=e=>!!e.state.field(Fce,!1)&&(e.dispatch({effects:Oce.of(!0)}),!0);class Vce{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const Zce=Vre.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(Fce).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(Fce),r=e.state.facet(Sce);if(!e.selectionSet&&!e.docChanged&&e.startState.field(Fce)==t)return;let n=e.transactions.some((e=>{let t=Ice(e,r);return 8&t||(e.selection||e.docChanged)&&!(3&t)}));for(let t=0;t<this.running.length;t++){let r=this.running[t];if(n||r.context.abortOnDocChange&&e.docChanged||r.updates.length+e.transactions.length>50&&Date.now()-r.time>1e3){for(let e of r.context.abortListeners)try{e()}catch(e){Qre(this.view.state,e)}r.context.abortListeners=null,this.running.splice(t--,1)}else r.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some((e=>e.effects.some((e=>e.is(Oce)))))&&(this.pendingStart=!0);let a=this.pendingStart?50:r.activateOnTypingDelay;if(this.debounceUpdate=t.active.some((e=>e.isPending&&!this.running.some((t=>t.active.source==e.source))))?setTimeout((()=>this.startUpdate()),a):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(Fce);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(Sce).updateSyncTime))}startQuery(e){let{state:t}=this.view,r=mce(t),n=new dce(t,r,e.explicit,this.view),a=new Vce(e,n);this.running.push(a),Promise.resolve(e.source(n)).then((e=>{a.context.aborted||(a.done=e||null,this.scheduleAccept())}),(e=>{this.view.dispatch({effects:wce.of(null)}),Qre(this.view.state,e)}))}scheduleAccept(){this.running.every((e=>void 0!==e.done))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(Sce).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],r=this.view.state.facet(Sce),n=this.view.state.field(Fce);for(let a=0;a<this.running.length;a++){let o=this.running[a];if(void 0===o.done)continue;if(this.running.splice(a--,1),o.done){let n=mce(o.updates.length?o.updates[0].startState:this.view.state),a=Math.min(n,o.done.from+(o.active.explicit?0:1)),i=new jce(o.active.source,o.active.explicit,a,o.done,o.done.from,null!==(e=o.done.to)&&void 0!==e?e:n);for(let e of o.updates)i=i.update(e,r);if(i.hasResult()){t.push(i);continue}}let i=n.active.find((e=>e.source==o.active.source));if(i&&i.isPending)if(null==o.done){let e=new Lce(o.active.source,0);for(let t of o.updates)e=e.update(t,r);e.isPending||t.push(e)}else this.startQuery(i)}(t.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:Bce.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(Fce,!1);if(t&&t.tooltip&&this.view.state.facet(Sce).closeOnBlur){let r=t.open&&Poe(this.view,t.open.tooltip);r&&r.dom.contains(e.relatedTarget)||setTimeout((()=>this.view.dispatch({effects:wce.of(null)})),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({effects:Oce.of(!1)})),20),this.composing=0}}}),Wce="object"==typeof navigator&&/Win/.test(navigator.platform),Xce=q9.highest(zae.domEventHandlers({keydown(e,t){let r=t.state.field(Fce,!1);if(!r||!r.open||r.open.disabled||r.open.selected<0||e.key.length>1||e.ctrlKey&&(!Wce||!e.altKey)||e.metaKey)return!1;let n=r.open.options[r.open.selected],a=r.active.find((e=>e.source==n.source)),o=n.completion.commitCharacters||a.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&Qce(t,n),!1}})),Gce=zae.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"},".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"}}});class Yce{constructor(e,t,r,n){this.field=e,this.line=t,this.from=r,this.to=n}}class Kce{constructor(e,t,r){this.field=e,this.from=t,this.to=r}map(e){let t=e.mapPos(this.from,-1,x9.TrackDel),r=e.mapPos(this.to,1,x9.TrackDel);return null==t||null==r?null:new Kce(this.field,t,r)}}class Jce{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let r=[],n=[t],a=e.doc.lineAt(t),o=/^\s*/.exec(a.text)[0];for(let a of this.lines){if(r.length){let r=o,i=/^\t*/.exec(a)[0].length;for(let t=0;t<i;t++)r+=e.facet(Qse);n.push(t+r.length-i),a=r+a.slice(i)}r.push(a),t+=a.length+1}return{text:r,ranges:this.fieldPositions.map((e=>new Kce(e.field,n[e.line]+e.from,n[e.line]+e.to)))}}static parse(e){let t,r=[],n=[],a=[];for(let o of e.split(/\r\n?|\n/)){for(;t=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(o);){let e=t[1]?+t[1]:null,i=t[2]||t[3]||"",s=-1,l=i.replace(/\\[{}]/g,(e=>e[1]));for(let t=0;t<r.length;t++)(null!=e?r[t].seq==e:l&&r[t].name==l)&&(s=t);if(s<0){let t=0;for(;t<r.length&&(null==e||null!=r[t].seq&&r[t].seq<e);)t++;r.splice(t,0,{seq:e,name:l}),s=t;for(let e of a)e.field>=s&&e.field++}a.push(new Yce(s,n.length,t.index,t.index+l.length)),o=o.slice(0,t.index)+i+o.slice(t.index+t[0].length)}o=o.replace(/\\([{}])/g,((e,t,r)=>{for(let e of a)e.line==n.length&&e.from>r&&(e.from--,e.to--);return t})),n.push(o)}return new Jce(n,a)}}let eue=Gte.widget({widget:new class extends Wte{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),tue=Gte.mark({class:"cm-snippetField"});class rue{constructor(e,t){this.ranges=e,this.active=t,this.deco=Gte.set(e.map((e=>(e.from==e.to?eue:tue).range(e.from,e.to))))}map(e){let t=[];for(let r of this.ranges){let n=r.map(e);if(!n)return null;t.push(n)}return new rue(t,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))))}}const nue=see.define({map:(e,t)=>e&&e.map(t)}),aue=see.define(),oue=Q9.define({create:()=>null,update(e,t){for(let r of t.effects){if(r.is(nue))return r.value;if(r.is(aue)&&e)return new rue(e.ranges,r.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>zae.decorations.from(e,(e=>e?e.deco:Gte.none))});function iue(e,t){return M9.create(e.filter((e=>e.field==t)).map((e=>M9.range(e.from,e.to))))}function sue(e){let t=Jce.parse(e);return(e,r,n,a)=>{let{text:o,ranges:i}=t.instantiate(e.state,n),s={changes:{from:n,to:a,insert:s9.of(o)},scrollIntoView:!0,annotations:r?[bce.of(r),lee.userEvent.of("input.complete")]:void 0};if(i.length&&(s.selection=iue(i,0)),i.some((e=>e.field>0))){let t=new rue(i,0),r=s.effects=[nue.of(t)];void 0===e.state.field(oue,!1)&&r.push(see.appendConfig.of([oue,due,hue,Gce]))}e.dispatch(e.state.update(s))}}function lue(e){return({state:t,dispatch:r})=>{let n=t.field(oue,!1);if(!n||e<0&&0==n.active)return!1;let a=n.active+e,o=e>0&&!n.ranges.some((t=>t.field==a+e));return r(t.update({selection:iue(n.ranges,a),effects:nue.of(o?null:new rue(n.ranges,a)),scrollIntoView:!0})),!0}}const cue=[{key:"Tab",run:lue(1),shift:lue(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(oue,!1)&&(t(e.update({effects:nue.of(null)})),!0)}],uue=N9.define({combine:e=>e.length?e[0]:cue}),due=q9.highest(Yae.compute([uue],(e=>e.facet(uue))));function pue(e,t){return Object.assign(Object.assign({},t),{apply:sue(e)})}const hue=zae.domEventHandlers({mousedown(e,t){let r,n=t.state.field(oue,!1);if(!n||null==(r=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let a=n.ranges.find((e=>e.from<=r&&e.to>=r));return!(!a||a.field==n.active||(t.dispatch({selection:iue(n.ranges,a.field),effects:nue.of(n.ranges.some((e=>e.field>a.field))?new rue(n.ranges,a.field):null),scrollIntoView:!0}),0))}}),fue={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},mue=see.define({map(e,t){let r=t.mapPos(e,-1,x9.TrackAfter);return null==r?void 0:r}}),gue=new class extends Oee{};gue.startSide=1,gue.endSide=-1;const bue=Q9.define({create:()=>See.empty,update(e,t){if(e=e.map(t.changes),t.selection){let r=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=r.from&&e<=r.to})}for(let r of t.effects)r.is(mue)&&(e=e.update({add:[gue.range(r.value,r.value+1)]}));return e}}),vue="()[]{}<>";function yue(e){for(let t=0;t<8;t+=2)if(vue.charCodeAt(t)==e)return vue.charAt(t+1);return y9(e<128?e:e+1)}function Oue(e,t){return e.languageDataAt("closeBrackets",t)[0]||fue}const wue="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),xue=zae.inputHandler.of(((e,t,r,n)=>{if((wue?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let a=e.state.selection.main;if(n.length>2||2==n.length&&1==O9(v9(n,0))||t!=a.from||r!=a.to)return!1;let o=function(e,t){let r=Oue(e,e.selection.main.head),n=r.brackets||fue.brackets;for(let a of n){let o=yue(v9(a,0));if(t==a)return o==a?Aue(e,a,n.indexOf(a+a+a)>-1,r):Eue(e,a,o,r.before||fue.before);if(t==o&&Sue(e,e.selection.main.from))return Tue(e,a,o)}return null}(e.state,n);return!!o&&(e.dispatch(o),!0)})),kue=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=Oue(e,e.selection.main.head).brackets||fue.brackets,n=null,a=e.changeByRange((t=>{if(t.empty){let n=function(e,t){let r=e.sliceString(t-2,t);return O9(v9(r,0))==r.length?r:r.slice(1)}(e.doc,t.head);for(let a of r)if(a==n&&_ue(e.doc,t.head)==yue(v9(a,0)))return{changes:{from:t.head-a.length,to:t.head+a.length},range:M9.cursor(t.head-a.length)}}return{range:n=t}}));return n||t(e.update(a,{scrollIntoView:!0,userEvent:"delete.backward"})),!n}}];function Sue(e,t){let r=!1;return e.field(bue).between(0,e.doc.length,(e=>{e==t&&(r=!0)})),r}function _ue(e,t){let r=e.sliceString(t,t+2);return r.slice(0,O9(v9(r,0)))}function Eue(e,t,r,n){let a=null,o=e.changeByRange((o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:r,from:o.to}],effects:mue.of(o.to+t.length),range:M9.range(o.anchor+t.length,o.head+t.length)};let i=_ue(e.doc,o.head);return!i||/\s/.test(i)||n.indexOf(i)>-1?{changes:{insert:t+r,from:o.head},effects:mue.of(o.head+t.length),range:M9.cursor(o.head+t.length)}:{range:a=o}}));return a?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function Tue(e,t,r){let n=null,a=e.changeByRange((t=>t.empty&&_ue(e.doc,t.head)==r?{changes:{from:t.head,to:t.head+r.length,insert:r},range:M9.cursor(t.head+r.length)}:n={range:t}));return n?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Aue(e,t,r,n){let a=n.stringPrefixes||fue.stringPrefixes,o=null,i=e.changeByRange((n=>{if(!n.empty)return{changes:[{insert:t,from:n.from},{insert:t,from:n.to}],effects:mue.of(n.to+t.length),range:M9.range(n.anchor+t.length,n.head+t.length)};let i,s=n.head,l=_ue(e.doc,s);if(l==t){if(Cue(e,s))return{changes:{insert:t+t,from:s},effects:mue.of(s+t.length),range:M9.cursor(s+t.length)};if(Sue(e,s)){let n=r&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,to:s+n.length,insert:n},range:M9.cursor(s+n.length)}}}else{if(r&&e.sliceDoc(s-2*t.length,s)==t+t&&(i=Pue(e,s-2*t.length,a))>-1&&Cue(e,i))return{changes:{insert:t+t+t+t,from:s},effects:mue.of(s+t.length),range:M9.cursor(s+t.length)};if(e.charCategorizer(s)(l)!=mee.Word&&Pue(e,s,a)>-1&&!function(e,t,r,n){let a=Pse(e).resolveInner(t,-1),o=n.reduce(((e,t)=>Math.max(e,t.length)),0);for(let i=0;i<5;i++){let i=e.sliceDoc(a.from,Math.min(a.to,a.from+r.length+o)),s=i.indexOf(r);if(!s||s>-1&&n.indexOf(i.slice(0,s))>-1){let t=a.firstChild;for(;t&&t.from==a.from&&t.to-t.from>r.length+s;){if(e.sliceDoc(t.to-r.length,t.to)==r)return!1;t=t.firstChild}return!0}let l=a.to==t&&a.parent;if(!l)break;a=l}return!1}(e,s,t,a))return{changes:{insert:t+t,from:s},effects:mue.of(s+t.length),range:M9.cursor(s+t.length)}}return{range:o=n}}));return o?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function Cue(e,t){let r=Pse(e).resolveInner(t+1);return r.parent&&r.from==t}function Pue(e,t,r){let n=e.charCategorizer(t);if(n(e.sliceDoc(t-1,t))!=mee.Word)return t;for(let a of r){let r=t-a.length;if(e.sliceDoc(r,t)==a&&n(e.sliceDoc(r-1,r))!=mee.Word)return r}return-1}const $ue=[{key:"Ctrl-Space",run:Hce},{mac:"Alt-`",run:Hce},{key:"Escape",run:e=>{let t=e.state.field(Fce,!1);return!(!t||!t.active.some((e=>0!=e.state))||(e.dispatch({effects:wce.of(null)}),0))}},{key:"ArrowDown",run:qce(!0)},{key:"ArrowUp",run:qce(!1)},{key:"PageDown",run:qce(!0,"page")},{key:"PageUp",run:qce(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(Fce,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(Sce).interactionDelay)&&Qce(e,t.open.options[t.open.selected])}}],Mue=q9.highest(Yae.computeN([Sce],(e=>e.facet(Sce).defaultKeymap?[$ue]:[]))),Due=aee.define(),Rue=aee.define(),Nue=N9.define(),Iue=N9.define({combine:e=>yee(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(r,n)=>e(r,n)||t(r,n)})}),Lue=Q9.define({create:()=>ede.empty,update(e,t){let r=t.state.facet(Iue),n=t.annotation(Due);if(n){let a=que.fromTransaction(t,n.selection),o=n.side,i=0==o?e.undone:e.done;return i=a?Hue(i,i.length,r.minDepth,a):Xue(i,t.startState.selection),new ede(0==o?n.rest:i,0==o?i:n.rest)}let a=t.annotation(Rue);if("full"!=a&&"before"!=a||(e=e.isolate()),!1===t.annotation(lee.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=que.fromTransaction(t),i=t.annotation(lee.time),s=t.annotation(lee.userEvent);return o?e=e.addChanges(o,i,s,r,t):t.selection&&(e=e.addSelection(t.startState.selection,i,s,r.newGroupDelay)),"full"!=a&&"after"!=a||(e=e.isolate()),e},toJSON:e=>({done:e.done.map((e=>e.toJSON())),undone:e.undone.map((e=>e.toJSON()))}),fromJSON:e=>new ede(e.done.map(que.fromJSON),e.undone.map(que.fromJSON))});function jue(e={}){return[Lue,Iue.of(e),zae.domEventHandlers({beforeinput(e,t){let r="historyUndo"==e.inputType?Uue:"historyRedo"==e.inputType?Fue:null;return!!r&&(e.preventDefault(),r(t))}})]}function Bue(e,t){return function({state:r,dispatch:n}){if(!t&&r.readOnly)return!1;let a=r.field(Lue,!1);if(!a)return!1;let o=a.pop(e,r,t);return!!o&&(n(o),!0)}}const Uue=Bue(0,!1),Fue=Bue(1,!1),Que=Bue(0,!0),zue=Bue(1,!0);class que{constructor(e,t,r,n,a){this.changes=e,this.effects=t,this.mapped=r,this.startSelection=n,this.selectionsAfter=a}setSelAfter(e){return new que(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,r;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(r=this.startSelection)||void 0===r?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map((e=>e.toJSON()))}}static fromJSON(e){return new que(e.changes&&S9.fromJSON(e.changes),[],e.mapped&&k9.fromJSON(e.mapped),e.startSelection&&M9.fromJSON(e.startSelection),e.selectionsAfter.map(M9.fromJSON))}static fromTransaction(e,t){let r=Zue;for(let t of e.startState.facet(Nue)){let n=t(e);n.length&&(r=r.concat(n))}return!r.length&&e.changes.empty?null:new que(e.changes.invert(e.startState.doc),r,void 0,t||e.startState.selection,Zue)}static selection(e){return new que(void 0,Zue,void 0,void 0,e)}}function Hue(e,t,r,n){let a=t+1>r+20?t-r-1:0,o=e.slice(a,t);return o.push(n),o}function Vue(e,t){return e.length?t.length?e.concat(t):e:t}const Zue=[],Wue=200;function Xue(e,t){if(e.length){let r=e[e.length-1],n=r.selectionsAfter.slice(Math.max(0,r.selectionsAfter.length-Wue));return n.length&&n[n.length-1].eq(t)?e:(n.push(t),Hue(e,e.length-1,1e9,r.setSelAfter(n)))}return[que.selection([t])]}function Gue(e){let t=e[e.length-1],r=e.slice();return r[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),r}function Yue(e,t){if(!e.length)return e;let r=e.length,n=Zue;for(;r;){let a=Kue(e[r-1],t,n);if(a.changes&&!a.changes.empty||a.effects.length){let t=e.slice(0,r);return t[r-1]=a,t}t=a.mapped,r--,n=a.selectionsAfter}return n.length?[que.selection(n)]:Zue}function Kue(e,t,r){let n=Vue(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):Zue,r);if(!e.changes)return que.selection(n);let a=e.changes.map(t),o=t.mapDesc(e.changes,!0),i=e.mapped?e.mapped.composeDesc(o):o;return new que(a,see.mapEffects(e.effects,t),i,e.startSelection.map(o),n)}const Jue=/^(input\.type|delete)($|\.)/;class ede{constructor(e,t,r=0,n=void 0){this.done=e,this.undone=t,this.prevTime=r,this.prevUserEvent=n}isolate(){return this.prevTime?new ede(this.done,this.undone):this}addChanges(e,t,r,n,a){let o=this.done,i=o[o.length-1];return o=i&&i.changes&&!i.changes.empty&&e.changes&&(!r||Jue.test(r))&&(!i.selectionsAfter.length&&t-this.prevTime<n.newGroupDelay&&n.joinToEvent(a,function(e,t){let r=[],n=!1;return e.iterChangedRanges(((e,t)=>r.push(e,t))),t.iterChangedRanges(((e,t,a,o)=>{for(let e=0;e<r.length;){let t=r[e++],i=r[e++];o>=t&&a<=i&&(n=!0)}})),n}(i.changes,e.changes))||"input.type.compose"==r)?Hue(o,o.length-1,n.minDepth,new que(e.changes.compose(i.changes),Vue(see.mapEffects(e.effects,i.changes),i.effects),i.mapped,i.startSelection,Zue)):Hue(o,o.length,n.minDepth,e),new ede(o,Zue,t,r)}addSelection(e,t,r,n){let a=this.done.length?this.done[this.done.length-1].selectionsAfter:Zue;return a.length>0&&t-this.prevTime<n&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&(o=a[a.length-1],i=e,o.ranges.length==i.ranges.length&&0===o.ranges.filter(((e,t)=>e.empty!=i.ranges[t].empty)).length)?this:new ede(Xue(this.done,e),this.undone,t,r);var o,i}addMapping(e){return new ede(Yue(this.done,e),Yue(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,r){let n=0==e?this.done:this.undone;if(0==n.length)return null;let a=n[n.length-1],o=a.selectionsAfter[0]||t.selection;if(r&&a.selectionsAfter.length)return t.update({selection:a.selectionsAfter[a.selectionsAfter.length-1],annotations:Due.of({side:e,rest:Gue(n),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(a.changes){let r=1==n.length?Zue:n.slice(0,n.length-1);return a.mapped&&(r=Yue(r,a.mapped)),t.update({changes:a.changes,selection:a.startSelection,effects:a.effects,annotations:Due.of({side:e,rest:r,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}ede.empty=new ede(Zue,Zue);const tde=[{key:"Mod-z",run:Uue,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Fue,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Fue,preventDefault:!0},{key:"Mod-u",run:Que,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:zue,preventDefault:!0}],rde=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0);function nde(e,t){let r=-1;return e.changeByRange((n=>{let a=[];for(let o=n.from;o<=n.to;){let i=e.doc.lineAt(o);i.number>r&&(n.empty||n.to>i.from)&&(t(i,a,n),r=i.number),o=i.to+1}let o=e.changes(a);return{changes:a,range:M9.range(o.mapPos(n.anchor,1),o.mapPos(n.head,1))}}))}const ade={key:"Tab",run:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(nde(e,((t,r)=>{r.push({from:t.from,insert:e.facet(Qse)})})),{userEvent:"input.indent"})),!0),shift:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(nde(e,((t,r)=>{let n=/^\s*/.exec(t.text)[0];if(!n)return;let a=Iee(n,e.tabSize),o=0,i=qse(e,Math.max(0,a-zse(e)));for(;o<n.length&&o<i.length&&n.charCodeAt(o)==i.charCodeAt(o);)o++;r.push({from:t.from+o,to:t.from+n.length,insert:i.slice(o)})})),{userEvent:"delete.dedent"})),!0)};class ode{constructor(e,t,r,n,a,o,i,s,l,c=0,u){this.p=e,this.stack=t,this.state=r,this.reducePos=n,this.pos=a,this.score=o,this.buffer=i,this.bufferBase=s,this.curContext=l,this.lookAhead=c,this.parent=u}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,r=0){let n=e.parser.context;return new ode(e,[],t,r,r,0,[],0,n?new ide(n,n.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){var t;let r=e>>19,n=65535&e,{parser:a}=this.p,o=this.reducePos<this.pos-25;o&&this.setLookAhead(this.pos);let i=a.dynamicPrecedence(n);if(i&&(this.score+=i),0==r)return this.pushState(a.getGoto(this.state,n,!0),this.reducePos),n<a.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,o?8:4,!0),void this.reduceContext(n,this.reducePos);let s=this.stack.length-3*(r-1)-(262144&e?6:0),l=s?this.stack[s-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[n])||void 0===t?void 0:t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let u=s?this.stack[s-1]:0,d=this.bufferBase+this.buffer.length-u;if(n<a.minRepeatTerm||131072&e){let e=a.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,l,e,d+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=a.getGoto(e,n,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(n,l)}storeNode(e,t,r,n=4,a=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,n=this.buffer.length;if(0==n&&e.parent&&(n=e.bufferBase-e.parent.bufferBase,e=e.parent),n>0&&0==e.buffer[n-4]&&e.buffer[n-1]>-1){if(t==r)return;if(e.buffer[n-2]>=t)return void(e.buffer[n-2]=r)}}if(a&&this.pos!=r){let a=this.buffer.length;if(a>0&&0!=this.buffer[a-4]){let e=!1;for(let t=a;t>0&&this.buffer[t-2]>r;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;a>0&&this.buffer[a-2]>r;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,n>4&&(n-=4)}this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=r,this.buffer[a+3]=n}else this.buffer.push(e,t,r,n)}shift(e,t,r,n){if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=n,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,n,4);else{let a=e,{parser:o}=this.p;(n>this.pos||t<=o.maxNode)&&(this.pos=n,o.stateFlag(a,1)||(this.reducePos=n)),this.pushState(a,r),this.shiftContext(t,r),t<=o.maxNode&&this.buffer.push(t,r,n,4)}}apply(e,t,r,n){65536&e?this.reduce(e):this.shift(e,t,r,n)}useNode(e,t){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(t,n),this.buffer.push(r,n,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let r=e.buffer.slice(t),n=e.bufferBase+t;for(;e&&n==e.bufferBase;)e=e.parent;return new ode(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,n,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,r?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new sde(this);;){let r=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==r)return!1;if(!(65536&r))return!0;t.reduce(r)}}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 r=[];for(let n,a=0;a<t.length;a+=2)(n=t[a+1])!=this.state&&this.p.parser.hasAction(n,e)&&r.push(t[a],n);if(this.stack.length<120)for(let e=0;r.length<8&&e<t.length;e+=2){let n=t[e+1];r.some(((e,t)=>1&t&&e==n))||r.push(t[e],n)}t=r}let r=[];for(let e=0;e<t.length&&r.length<4;e+=2){let n=t[e+1];if(n==this.state)continue;let a=this.split();a.pushState(n,this.pos),a.storeNode(0,a.pos,a.pos,4,!0),a.shiftContext(t[e],this.pos),a.reducePos=this.pos,a.score-=200,r.push(a)}return r}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1;if(!e.validAction(this.state,t)){let r=t>>19,n=65535&t,a=this.stack.length-3*r;if(a<0||e.getGoto(this.stack[a],n,!1)<0){let e=this.findForcedReduction();if(null==e)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=[],r=(n,a)=>{if(!t.includes(n))return t.push(n),e.allActions(n,(t=>{if(393216&t);else if(65536&t){let r=(t>>19)-a;if(r>1){let n=65535&t,a=this.stack.length-3*r;if(a>=0&&e.getGoto(this.stack[a],n,!1)>=0)return r<<19|65536|n}}else{let e=r(t,a+1);if(null!=e)return e}}))};return r(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(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!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||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new ide(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class ide{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class sde{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,r=e>>19;0==r?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(r-1);let n=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=n}}class lde{constructor(e,t,r){this.stack=e,this.pos=t,this.index=r,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new lde(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(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,0==this.index&&this.maybeNext()}fork(){return new lde(this.stack,this.pos,this.index)}}function cde(e,t=Uint16Array){if("string"!=typeof e)return e;let r=null;for(let n=0,a=0;n<e.length;){let o=0;for(;;){let t=e.charCodeAt(n++),r=!1;if(126==t){o=65535;break}t>=92&&t--,t>=34&&t--;let a=t-32;if(a>=46&&(a-=46,r=!0),o+=a,r)break;o*=46}r?r[a++]=o:r=new t(o)}return r}class ude{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const dde=new ude;class pde{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=dde,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 r=this.range,n=this.rangeIndex,a=this.pos+e;for(;a<r.from;){if(!n)return null;let e=this.ranges[--n];a-=r.from-e.to,r=e}for(;t<0?a>r.to:a>=r.to;){if(n==this.ranges.length-1)return null;let e=this.ranges[++n];a+=e.from-r.to,r=e}return a}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,r,n=this.chunkOff+e;if(n>=0&&n<this.chunk.length)t=this.pos+e,r=this.chunk.charCodeAt(n);else{let n=this.resolveOffset(e,1);if(null==n)return-1;if(t=n,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,n=this.range;for(;n.to<=t;)n=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>n.to&&(this.chunk2=this.chunk2.slice(0,n.to-t)),r=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),r}acceptToken(e,t=0){let r=t?this.resolveOffset(t,-1):this.pos;if(null==r||r<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=r}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.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=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=dde,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 r="";for(let n of this.ranges){if(n.from>=t)break;n.to>e&&(r+=this.input.read(Math.max(n.from,e),Math.min(n.to,t)))}return r}}class hde{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:r}=t.p;gde(this.data,e,t,this.id,r.data,r.tokenPrecTable)}}hde.prototype.contextual=hde.prototype.fallback=hde.prototype.extend=!1;class fde{constructor(e,t,r){this.precTable=t,this.elseToken=r,this.data="string"==typeof e?cde(e):e}token(e,t){let r=e.pos,n=0;for(;;){let r=e.next<0,a=e.resolveOffset(1,1);if(gde(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(r||n++,null==a)break;e.reset(a,e.token)}n&&(e.reset(r,e.token),e.acceptToken(this.elseToken,n))}}fde.prototype.contextual=hde.prototype.fallback=hde.prototype.extend=!1;class mde{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function gde(e,t,r,n,a,o){let i=0,s=1<<n,{dialect:l}=r.p.parser;e:for(;s&e[i];){let r=e[i+1];for(let n=i+3;n<r;n+=2)if((e[n+1]&s)>0){let r=e[n];if(l.allows(r)&&(-1==t.token.value||t.token.value==r||vde(r,t.token.value,a,o))){t.acceptToken(r);break}}let n=t.next,c=0,u=e[i+2];if(!(t.next<0&&u>c&&65535==e[r+3*u-3])){for(;c<u;){let a=c+u>>1,o=r+a+(a<<1),s=e[o],l=e[o+1]||65536;if(n<s)u=a;else{if(!(n>=l)){i=e[o+2],t.advance();continue e}c=a+1}}break}i=e[r+3*u-1]}}function bde(e,t,r){for(let n,a=t;65535!=(n=e[a]);a++)if(n==r)return a-t;return-1}function vde(e,t,r,n){let a=bde(r,n,t);return a<0||bde(r,n,e)<a}const yde="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG);let Ode=null;function wde(e,t,r){let n=e.cursor(fie.IncludeAnonymous);for(n.moveTo(t);;)if(!(r<0?n.childBefore(t):n.childAfter(t)))for(;;){if((r<0?n.to<t:n.from>t)&&!n.type.isError)return r<0?Math.max(0,Math.min(n.to-1,t-25)):Math.min(e.length,Math.max(n.from+1,t+25));if(r<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return r<0?0:e.length}}class xde{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?wde(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?wde(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 r=this.trees[t],n=this.index[t];if(n==r.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let a=r.children[n],o=this.start[t]+r.positions[n];if(o>e)return this.nextStart=o,null;if(a instanceof gie){if(o==e){if(o<this.safeFrom)return null;let e=o+a.length;if(e<=this.safeTo){let t=a.prop(sie.lookAhead);if(!t||e+t<this.fragment.to)return a}}this.index[t]++,o+a.length>=Math.max(this.safeFrom,e)&&(this.trees.push(a),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+a.length}}}class kde{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new ude))}getActions(e){let t=0,r=null,{parser:n}=e.p,{tokenizers:a}=n,o=n.stateSlot(e.state,3),i=e.curContext?e.curContext.hash:0,s=0;for(let n=0;n<a.length;n++){if(!(1<<n&o))continue;let l=a[n],c=this.tokens[n];if((!r||l.fallback)&&((l.contextual||c.start!=e.pos||c.mask!=o||c.context!=i)&&(this.updateCachedToken(c,l,e),c.mask=o,c.context=i),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){let n=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!l.extend&&(r=c,t>n))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),r||e.pos!=this.stream.end||(r=new ude,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,t=this.addActions(e,r.value,r.end,t)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new ude,{pos:r,p:n}=e;return t.start=r,t.end=Math.min(r+1,n.stream.end),t.value=r==n.stream.end?n.parser.eofTerm:0,t}updateCachedToken(e,t,r){let n=this.stream.clipPos(r.pos);if(t.token(this.stream.reset(n,e),r),e.value>-1){let{parser:t}=r.p;for(let n=0;n<t.specialized.length;n++)if(t.specialized[n]==e.value){let a=t.specializers[n](this.stream.read(e.start,e.end),r);if(a>=0&&r.p.parser.dialect.allows(a>>1)){1&a?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(n+1)}putAction(e,t,r,n){for(let t=0;t<n;t+=3)if(this.actions[t]==e)return n;return this.actions[n++]=e,this.actions[n++]=t,this.actions[n++]=r,n}addActions(e,t,r,n){let{state:a}=e,{parser:o}=e.p,{data:i}=o;for(let e=0;e<2;e++)for(let s=o.stateSlot(a,e?2:1);;s+=3){if(65535==i[s]){if(1!=i[s+1]){0==n&&2==i[s+1]&&(n=this.putAction(Pde(i,s+2),t,r,n));break}s=Pde(i,s+2)}i[s]==t&&(n=this.putAction(Pde(i,s+1),t,r,n))}return n}}class Sde{constructor(e,t,r,n){this.parser=e,this.input=t,this.ranges=n,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 pde(t,n),this.tokens=new kde(e,this.stream),this.topTerm=e.top[1];let{from:a}=n[0];this.stacks=[ode.start(this,e.top[0],a)],this.fragments=r.length&&this.stream.end-a>4*e.bufferLength?new xde(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,r=this.stacks,n=this.minStackPos,a=this.stacks=[];if(this.bigReductionCount>300&&1==r.length){let[e]=r;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<r.length;o++){let i=r[o];for(;;){if(this.tokens.mainToken=null,i.pos>n)a.push(i);else{if(this.advanceStack(i,a,r))continue;{e||(e=[],t=[]),e.push(i);let r=this.tokens.getMainToken(i);t.push(r.value,r.end)}}break}}if(!a.length){let t=e&&function(e){let t=null;for(let r of e){let e=r.p.stoppedAt;(r.pos==r.p.stream.end||null!=e&&r.pos>e)&&r.p.parser.stateFlag(r.state,2)&&(!t||t.score<r.score)&&(t=r)}return t}(e);if(t)return yde&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw yde&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&e){let r=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,a);if(r)return yde&&console.log("Force-finish "+this.stackID(r)),this.stackToTree(r.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(a.length>e)for(a.sort(((e,t)=>t.score-e.score));a.length>e;)a.pop();a.some((e=>e.reducePos>n))&&this.recovering--}else if(a.length>1){e:for(let e=0;e<a.length-1;e++){let t=a[e];for(let r=e+1;r<a.length;r++){let n=a[r];if(t.sameState(n)||t.buffer.length>500&&n.buffer.length>500){if(!((t.score-n.score||t.buffer.length-n.buffer.length)>0)){a.splice(e--,1);continue e}a.splice(r--,1)}}}a.length>12&&a.splice(12,a.length-12)}this.minStackPos=a[0].pos;for(let e=1;e<a.length;e++)a[e].pos<this.minStackPos&&(this.minStackPos=a[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,r){let n=e.pos,{parser:a}=this,o=yde?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&n>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,r=t?e.curContext.hash:0;for(let i=this.fragments.nodeAt(n);i;){let n=this.parser.nodeSet.types[i.type.id]==i.type?a.getGoto(e.state,i.type.id):-1;if(n>-1&&i.length&&(!t||(i.prop(sie.contextHash)||0)==r))return e.useNode(i,n),yde&&console.log(o+this.stackID(e)+` (via reuse of ${a.getName(i.type.id)})`),!0;if(!(i instanceof gie)||0==i.children.length||i.positions[0]>0)break;let s=i.children[0];if(!(s instanceof gie&&0==i.positions[0]))break;i=s}}let i=a.stateSlot(e.state,4);if(i>0)return e.reduce(i),yde&&console.log(o+this.stackID(e)+` (via always-reduce ${a.getName(65535&i)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let i=0;i<s.length;){let l=s[i++],c=s[i++],u=s[i++],d=i==s.length||!r,p=d?e:e.split(),h=this.tokens.mainToken;if(p.apply(l,c,h?h.start:p.pos,u),yde&&console.log(o+this.stackID(p)+` (via ${65536&l?`reduce of ${a.getName(65535&l)}`:"shift"} for ${a.getName(c)} @ ${n}${p==e?"":", split"})`),d)return!0;p.pos>n?t.push(p):r.push(p)}return!1}advanceFully(e,t){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return _de(e,t),!0}}runRecovery(e,t,r){let n=null,a=!1;for(let o=0;o<e.length;o++){let i=e[o],s=t[o<<1],l=t[1+(o<<1)],c=yde?this.stackID(i)+" -> ":"";if(i.deadEnd){if(a)continue;if(a=!0,i.restart(),yde&&console.log(c+this.stackID(i)+" (restarted)"),this.advanceFully(i,r))continue}let u=i.split(),d=c;for(let e=0;u.forceReduce()&&e<10&&(yde&&console.log(d+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,r));e++)yde&&(d=this.stackID(u)+" -> ");for(let e of i.recoverByInsert(s))yde&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,r);this.stream.end>i.pos?(l==i.pos&&(l++,s=0),i.recoverByDelete(s,l),yde&&console.log(c+this.stackID(i)+` (via recover-delete ${this.parser.getName(s)})`),_de(i,r)):(!n||n.score<i.score)&&(n=i)}return n}stackToTree(e){return e.close(),gie.build({buffer:lde.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=(Ode||(Ode=new WeakMap)).get(e);return t||Ode.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function _de(e,t){for(let r=0;r<t.length;r++){let n=t[r];if(n.pos==e.pos&&n.sameState(e))return void(t[r].score<e.score&&(t[r]=e))}t.push(e)}class Ede{constructor(e,t,r){this.source=e,this.flags=t,this.disabled=r}allows(e){return!this.disabled||0==this.disabled[e]}}const Tde=e=>e;class Ade{constructor(e){this.start=e.start,this.shift=e.shift||Tde,this.reduce=e.reduce||Tde,this.reuse=e.reuse||Tde,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class Cde extends Iie{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let r=0;r<e.repeatNodeCount;r++)t.push("");let r=Object.keys(e.topRules).map((t=>e.topRules[t][1])),n=[];for(let e=0;e<t.length;e++)n.push([]);function a(e,t,r){n[e].push([t,t.deserialize(String(r))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=sie[e]);for(let r=1;r<t.length;){let n=t[r++];if(n>=0)a(n,e,t[r++]);else{let o=t[r+-n];for(let i=-n;i>0;i--)a(t[r++],e,o);r++}}}this.nodeSet=new die(t.map(((t,a)=>uie.define({name:a>=this.minRepeatTerm?void 0:t,id:a,props:n[a],top:r.indexOf(a)>-1,error:0==a,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=aie;let o=cde(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($de),this.states=cde(e.states,Uint32Array),this.data=cde(e.stateData),this.goto=cde(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new hde(o,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,r){let n=new Sde(this,e,t,r);for(let a of this.wrappers)n=a(n,e,t,r);return n}getGoto(e,t,r=!1){let n=this.goto;if(t>=n[0])return-1;for(let a=n[t+1];;){let t=n[a++],o=1&t,i=n[a++];if(o&&r)return i;for(let r=a+(t>>1);a<r;a++)if(n[a]==e)return i;if(o)return-1}}hasAction(e,t){let r=this.data;for(let n=0;n<2;n++)for(let a,o=this.stateSlot(e,n?2:1);;o+=3){if(65535==(a=r[o])){if(1!=r[o+1]){if(2==r[o+1])return Pde(r,o+2);break}a=r[o=Pde(r,o+2)]}if(a==t||0==a)return Pde(r,o+1)}return 0}stateSlot(e,t){return this.states[6*e+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 r=this.stateSlot(e,4),n=r?t(r):void 0;for(let r=this.stateSlot(e,1);null==n;r+=3){if(65535==this.data[r]){if(1!=this.data[r+1])break;r=Pde(this.data,r+2)}n=t(Pde(this.data,r+1))}return n}nextStates(e){let t=[];for(let r=this.stateSlot(e,1);;r+=3){if(65535==this.data[r]){if(1!=this.data[r+1])break;r=Pde(this.data,r+2)}if(!(1&this.data[r+2])){let e=this.data[r+1];t.some(((t,r)=>1&r&&t==e))||t.push(this.data[r],e)}}return t}configure(e){let t=Object.assign(Object.create(Cde.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=r}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let r=e.tokenizers.find((e=>e.from==t));return r?r.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((r,n)=>{let a=e.specializers.find((e=>e.from==r.external));if(!a)return r;let o=Object.assign(Object.assign({},r),{external:a.to});return t.specializers[n]=$de(o),o}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}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 null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),r=t.map((()=>!1));if(e)for(let n of e.split(" ")){let e=t.indexOf(n);e>=0&&(r[e]=!0)}let n=null;for(let e=0;e<t.length;e++)if(!r[e])for(let r,a=this.dialects[t[e]];65535!=(r=this.data[a++]);)(n||(n=new Uint8Array(this.maxTerm+1)))[r]=1;return new Ede(e,r,n)}static deserialize(e){return new Cde(e)}}function Pde(e,t){return e[t]|e[t+1]<<16}function $de(e){if(e.external){let t=e.extend?1:0;return(r,n)=>e.external(r,n)<<1|t}return e.get}const Mde=[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];function Dde(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function Rde(e){return e>=48&&e<=57}const Nde=new mde(((e,t)=>{for(let r=!1,n=0,a=0;;a++){let{next:o}=e;if(Dde(o)||45==o||95==o||r&&Rde(o))!r&&(45!=o||a>0)&&(r=!0),n===a&&45==o&&n++,e.advance();else{if(92!=o||10==e.peek(1)){r&&e.acceptToken(40==o?100:2==n&&t.canShift(2)?2:101);break}e.advance(),e.next>-1&&e.advance(),r=!0}}})),Ide=new mde((e=>{if(Mde.includes(e.peek(-1))){let{next:t}=e;(Dde(t)||95==t||35==t||46==t||91==t||58==t&&Dde(e.peek(1))||45==t||38==t)&&e.acceptToken(99)}})),Lde=new mde((e=>{if(!Mde.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),Dde(t)){do{e.advance()}while(Dde(e.next)||Rde(e.next));e.acceptToken(1)}}})),jde=tse({"AtKeyword import charset namespace keyframes media supports":xse.definitionKeyword,"from to selector":xse.keyword,NamespaceName:xse.namespace,KeyframeName:xse.labelName,KeyframeRangeName:xse.operatorKeyword,TagName:xse.tagName,ClassName:xse.className,PseudoClassName:xse.constant(xse.className),IdName:xse.labelName,"FeatureName PropertyName":xse.propertyName,AttributeName:xse.attributeName,NumberLiteral:xse.number,KeywordQuery:xse.keyword,UnaryQueryOp:xse.operatorKeyword,"CallTag ValueName":xse.atom,VariableName:xse.variableName,Callee:xse.operatorKeyword,Unit:xse.unit,"UniversalSelector NestingSelector":xse.definitionOperator,MatchOp:xse.compareOperator,"ChildOp SiblingOp, LogicOp":xse.logicOperator,BinOp:xse.arithmeticOperator,Important:xse.modifier,Comment:xse.blockComment,ColorLiteral:xse.color,"ParenthesizedContent StringLiteral":xse.string,":":xse.punctuation,"PseudoOp #":xse.derefOperator,"; ,":xse.separator,"( )":xse.paren,"[ ]":xse.squareBracket,"{ }":xse.brace}),Bde={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},Ude={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},Fde={__proto__:null,not:132,only:132},Qde=Cde.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO${QdO,59}O-kQ[O'#E^O-xQWO,5;_O-xQWO,5;_POOO'#EV'#EVP.TO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.zQXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/XQ`O1G/^O/rQXO1G/aO0YQXO1G/cO0pQXO1G/dO1WQWO,59|O1]Q[O'#DSO1dQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1kQpO,59]OOQS,59_,59_O${QdO,59aO1sQWO1G/mOOQS,59c,59cO1xQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2QQ[O,59jOOQS,59j,59jO2YQWO'#DjO2eQWO,5:VO2jQWO,5:]O&`Q[O,5:XO&`Q[O'#E_O2rQWO,5;`O2}QWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3`QWO1G0OO3eQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO3pQtO1G/iOOQO,5:x,5:xO4WQ[O,5:xOOQO-E8[-E8[O4eQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO4pQXO'#ErO4wQWO,59nO4|QtO'#EXO5tQdO'#EoO6OQWO,59ZO6TQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XO6]QWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6bQWO,5:yOOQO-E8]-E8]O6pQXO1G/xOOQS7+%j7+%jO6wQYO'#CsOOQO'#EQ'#EQO7SQ`O'#EPOOQO'#EP'#EPO7_QWO'#E`O7gQdO,5:jOOQS,5:j,5:jO7rQtO'#E]O${QdO'#E]O8sQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9WQpO<<HdO9`QWO,5;^OOQP1G/Y1G/YOOQS-E8V-E8VO${QdO'#EZO9hQWO,5;ZOOQT1G.u1G.uOOQP<<Hd<<HdOOQS7+$k7+$kO9pQdO7+%]OOQO7+%d7+%dOOQO,5:k,5:kO3hQdO'#EaO7_QWO,5:zOOQS,5:z,5:zOOQS-E8^-E8^OOQS1G0U1G0UO9wQtO,5:wOOQS-E8Z-E8ZOOQO<<Ho<<HoOOQPAN>OAN>OO:xQdO,5:uOOQO-E8X-E8XOOQO<<Hw<<HwOOQO,5:{,5:{OOQO-E8_-E8_OOQS1G0f1G0f",stateData:";[~O#ZOS#[QQ~OUYOXYO]VO^VOqXOxWO![aO!]ZO!i[O!k]O!m^O!p_O!v`O#XRO#bTO~OQfOUYOXYO]VO^VOqXOxWO![aO!]ZO!i[O!k]O!m^O!p_O!v`O#XeO#bTO~O#U#gP~P!ZO#[jO~O#XlO~O]qO^qOqsOtoOxrO!OtO!RvO#VuO#bnO~O!TwO~P#pO`}O#WzO#XyO~O#X!OO~O#X!QO~OQ![Ob!TOf![Oh![On!YOq!ZO#W!WO#X!SO#e!UO~Ob!^O!d!`O!g!aO#X!]O!T#hP~Oh!fOn!YO#X!eO~Oh!hO#X!hO~Ob!^O!d!`O!g!aO#X!]O~O!Y#hP~P%jO]WX]!WX^WXqWXtWXxWX!OWX!RWX!TWX#VWX#bWX~O]!mO~O!Y!nO#U#gX!S#gX~O#U#gX!S#gX~P!ZO#]!qO#^!qO#_!sO~OUYOXYO]VO^VOqXOxWO#XRO#bTO~OtoO!TwO~O`!zO#WzO#XyO~O!S#gP~P!ZOb#RO~Ob#SO~Op#TO|#UO~OP#WObgXjgX!YgX!dgX!ggX#XgXagXQgXfgXhgXngXqgXtgX!XgX#UgX#WgX#egXpgX!SgX~Ob!^Oj#XO!d!`O!g!aO#X!]O!Y#hP~Ob#[O~Op#`O#X#]O~Ob!^O!d!`O!g!aO#X#aO~Ot#eO!b#dO!T#hX!Y#hX~Ob#hO~Oj#XO!Y#jO~O!Y#kO~Oh#lOn!YO~O!T#mO~O!TwO!b#dO~O!TwO!Y#pO~O!Y#QX#U#QX!S#QX~P!ZO!Y!nO#U#ga!S#ga~O#]!qO#^!qO#_#wO~O]qO^qOqsOxrO!OtO!RvO#VuO#bnO~Ot#Oa!T#Oaa#Oa~P.`Op#yO|#zO~O]qO^qOqsOxrO#bnO~Ot}i!O}i!R}i!T}i#V}ia}i~P/aOt!Pi!O!Pi!R!Pi!T!Pi#V!Pia!Pi~P/aOt!Qi!O!Qi!R!Qi!T!Qi#V!Qia!Qi~P/aO!S#{O~Oa#fP~P(aOa#cP~P${Oa$SOj#XO~O!Y$UO~Oh$VOo$VO~Op$XO#X#]O~O]!`Xa!^X!b!^X~O]$YO~Oa$ZO!b#dO~Ot#eO!T#ha!Y#ha~O!b#dOt!ca!T!ca!Y!caa!ca~O!Y$`O~O!S$gO#X$bO#e$aO~Oj#XOt$iO!X$kO!Y!Vi#U!Vi!S!Vi~P${O!Y#Qa#U#Qa!S#Qa~P!ZO!Y!nO#U#gi!S#gi~Oa#fX~P#pOa$oO~Oj#XOQ!{Xa!{Xb!{Xf!{Xh!{Xn!{Xq!{Xt!{X#W!{X#X!{X#e!{X~Ot$qOa#cX~P${Oa$sO~Oj#XOp$tO~Oa$uO~O!b#dOt#Ra!T#Ra!Y#Ra~Oa$wO~P.`OP#WOtgX!TgX~O#e$aOt!sX!T!sX~Ot$yO!TwO~O!S$}O#X$bO#e$aO~Oj#XOQ#PXb#PXf#PXh#PXn#PXq#PXt#PX!X#PX!Y#PX#U#PX#W#PX#X#PX#e#PX!S#PX~Ot$iO!X%QO!Y!Vq#U!Vq!S!Vq~P${Oj#XOp%RO~OtoOa#fa~Ot$qOa#ca~Oa%UO~P${Oj#XOQ#Pab#Paf#Pah#Pan#Paq#Pat#Pa!X#Pa!Y#Pa#U#Pa#W#Pa#X#Pa#e#Pa!S#Pa~Oa!}at!}a~P${O#Zo#[#ej!R#e~",goto:"-g#jPPP#kP#nP#w$WP#w$g#wPP$mPPP$s$|$|P%`P$|P$|%z&^PPPP$|&vP&z'Q#wP'W#w'^P#wP#w#wPPP'd'y(WPP#nPP(_(_(i(_P(_P(_(_P#nP#nP#nP(l#nP(o(r(u(|#nP#nP)R)X)h)v)|*S*^*d*n*t*zPPPPPPPPPP+Q+ZP+v+yP,o,r,x-RRkQ_bOPdhw!n#skYOPdhotuvw!n#R#h#skSOPdhotuvw!n#R#h#sQmTR!tnQ{VR!xqQ!x}Q#Z!XR#x!zq![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SU$d#m$f$yR$x$cq!XZ]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#x!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ${$eR%X$zSgPwQ!phQ#r!nR$l#sZfPhw!n#sa!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$e#m$fR%V$yV$c#m$f$yQ!rjR#v!rQdOShPwU!ldh#sR#s!nQ$P#SU$p$P$v%SQ$v$YR%S$qQ#_!ZR$W#_Q$r$PR%T$rQpUS!vp$nR$n#|Q$j#qR%P$jQ!ogS#t!o#uR#u!pQ#f!_R$^#fQ$f#mR$|$fQ$z$eR%W$z_cOPdhw!n#s^UOPdhw!n#sQ!uoQ!}tQ#OuQ#PvQ#|#RR$_#hR$Q#SQ!VZQ!d]Q#V!TQ#q!m[$O#S$P$Y$q$v%SQ$R#UQ$T#XS$h#q$jQ$m#zR%O$iR#}#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$[#dR$]#e",nodeNames:"⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:117,nodeProps:[["isolate",-2,3,24,""],["openedBy",17,"(",32,"[",50,"{"],["closedBy",18,")",33,"]",51,"}"]],propSources:[jde],skippedNodes:[0,3,87],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#Z~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Uo`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUo`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Uo`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUo`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Uo`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUo`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Uo`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!X[o`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYxQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYo`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYo`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYf[o`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYf[o`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYo`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYf[o`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYo`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSf[o`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QS|So`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSb^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOa~n9{UUQjWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWjW!RQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l<cYo`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=WUo`Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=qUo`#e[Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l>[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[Ide,Lde,Nde,1,2,3,4,new fde("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>Bde[e]||-1},{term:58,get:e=>Ude[e]||-1},{term:101,get:e=>Fde[e]||-1}],tokenPrec:1200});let zde=null;function qde(){if(!zde&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],r=new Set;for(let n in e)"cssText"!=n&&"cssFloat"!=n&&"string"==typeof e[n]&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))),r.has(n)||(t.push(n),r.add(n)));zde=t.sort().map((e=>({type:"property",label:e,apply:e+": "})))}return zde||[]}const Hde=["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"].map((e=>({type:"class",label:e}))),Vde=["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"].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"].map((e=>({type:"constant",label:e})))),Zde=["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"].map((e=>({type:"type",label:e}))),Wde=["@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}))),Xde=/^(\w[\w-]*|-\w[\w-]*|)$/,Gde=/^-(-[\w-]*)?$/,Yde=new Rie,Kde=["Declaration"];function Jde(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function epe(e,t,r){if(t.to-t.from>4096){let n=Yde.get(t);if(n)return n;let a=[],o=new Set,i=t.cursor(fie.IncludeAnonymous);if(i.firstChild())do{for(let t of epe(e,i.node,r))o.has(t.label)||(o.add(t.label),a.push(t))}while(i.nextSibling());return Yde.set(t,a),a}{let n=[],a=new Set;return t.cursor().iterate((t=>{var o;if(r(t)&&t.matchContext(Kde)&&":"==(null===(o=t.node.nextSibling)||void 0===o?void 0:o.name)){let r=e.sliceString(t.from,t.to);a.has(r)||(a.add(r),n.push({label:r,type:"variable"}))}})),n}}const tpe=(e=>t=>{let{state:r,pos:n}=t,a=Pse(r).resolveInner(n,-1),o=a.type.isError&&a.from==a.to-1&&"-"==r.doc.sliceString(a.from,a.to);if("PropertyName"==a.name||(o||"TagName"==a.name)&&/^(Block|Styles)$/.test(a.resolve(a.to).name))return{from:a.from,options:qde(),validFor:Xde};if("ValueName"==a.name)return{from:a.from,options:Vde,validFor:Xde};if("PseudoClassName"==a.name)return{from:a.from,options:Hde,validFor:Xde};if(e(a)||(t.explicit||o)&&function(e,t){var r;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let n=null===(r=e.parent)||void 0===r?void 0:r.firstChild;return"Callee"==(null==n?void 0:n.name)&&"var"==t.sliceString(n.from,n.to)}(a,r.doc))return{from:e(a)||o?a.from:n,options:epe(r.doc,Jde(a),e),validFor:Gde};if("TagName"==a.name){for(let{parent:e}=a;e;e=e.parent)if("Block"==e.name)return{from:a.from,options:qde(),validFor:Xde};return{from:a.from,options:Zde,validFor:Xde}}if("AtKeyword"==a.name)return{from:a.from,options:Wde,validFor:Xde};if(!t.explicit)return null;let i=a.resolve(n),s=i.childBefore(n);return s&&":"==s.name&&"PseudoClassSelector"==i.name?{from:n,options:Hde,validFor:Xde}:s&&":"==s.name&&"Declaration"==i.name||"ArgList"==i.name?{from:n,options:Vde,validFor:Xde}:"Block"==i.name||"Styles"==i.name?{from:n,options:qde(),validFor:Xde}:null})((e=>"VariableName"==e.name)),rpe=Cse.define({name:"css",parser:Qde.configure({props:[Zse.add({Declaration:tle()}),nle.add({"Block KeyframeList":ale})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function npe(){return new Use(rpe,rpe.data.of({autocomplete:tpe}))}const ape={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},ope={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},ipe={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}};function spe(e){return 9==e||10==e||13==e||32==e}let lpe=null,cpe=null,upe=0;function dpe(e,t){let r=e.pos+t;if(upe==r&&cpe==e)return lpe;let n=e.peek(t);for(;spe(n);)n=e.peek(++t);let a="";for(;45==(o=n)||46==o||58==o||o>=65&&o<=90||95==o||o>=97&&o<=122||o>=161;)a+=String.fromCharCode(n),n=e.peek(++t);var o;return cpe=e,upe=r,lpe=a?a.toLowerCase():n==ppe||n==hpe?void 0:null}const ppe=63,hpe=33;function fpe(e,t){this.name=e,this.parent=t}const mpe=[6,10,7,8,9],gpe=new Ade({start:null,shift:(e,t,r,n)=>mpe.indexOf(t)>-1?new fpe(dpe(n,1)||"",e):e,reduce:(e,t)=>20==t&&e?e.parent:e,reuse(e,t,r,n){let a=t.type.id;return 6==a||36==a?new fpe(dpe(n,1)||"",e):e},strict:!1}),bpe=new mde(((e,t)=>{if(60!=e.next)return void(e.next<0&&t.context&&e.acceptToken(57));e.advance();let r=47==e.next;r&&e.advance();let n=dpe(e,0);if(void 0===n)return;if(!n)return e.acceptToken(r?14:6);let a=t.context?t.context.name:null;if(r){if(n==a)return e.acceptToken(11);if(a&&ope[a])return e.acceptToken(57,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==n)return;e.acceptToken(13)}else{if("script"==n)return e.acceptToken(7);if("style"==n)return e.acceptToken(8);if("textarea"==n)return e.acceptToken(9);if(ape.hasOwnProperty(n))return e.acceptToken(10);a&&ipe[a]&&ipe[a][n]?e.acceptToken(57,-1):e.acceptToken(6)}}),{contextual:!0}),vpe=new mde((e=>{for(let t=0,r=0;;r++){if(e.next<0){r&&e.acceptToken(58);break}if(45==e.next)t++;else{if(62==e.next&&t>=2){r>=3&&e.acceptToken(58,-2);break}t=0}e.advance()}})),ype=new mde(((e,t)=>{if(47==e.next&&62==e.peek(1)){let r=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(r?5:4,2)}else 62==e.next&&e.acceptToken(4,1)}));function Ope(e,t,r){let n=2+e.length;return new mde((a=>{for(let o=0,i=0,s=0;;s++){if(a.next<0){s&&a.acceptToken(t);break}if(0==o&&60==a.next||1==o&&47==a.next||o>=2&&o<n&&a.next==e.charCodeAt(o-2))o++,i++;else if(2!=o&&o!=n||!spe(a.next)){if(o==n&&62==a.next){s>i?a.acceptToken(t,-i):a.acceptToken(r,-(i-2));break}if((10==a.next||13==a.next)&&s){a.acceptToken(t,1);break}o=i=0}else i++;a.advance()}}))}const wpe=Ope("script",54,1),xpe=Ope("style",55,2),kpe=Ope("textarea",56,3),Spe=tse({"Text RawText":xse.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":xse.angleBracket,TagName:xse.tagName,"MismatchedCloseTag/TagName":[xse.tagName,xse.invalid],AttributeName:xse.attributeName,"AttributeValue UnquotedAttributeValue":xse.attributeValue,Is:xse.definitionOperator,"EntityReference CharacterReference":xse.character,Comment:xse.blockComment,ProcessingInst:xse.processingInstruction,DoctypeDecl:xse.documentMeta}),_pe=Cde.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^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 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:67,context:gpe,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[Spe],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$|c`PkW!a`!cpOX$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&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+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,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$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[/ebhSkWOX+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+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&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!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WihSkWc!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!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[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!_:sbhSkWa!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<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@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@TakWOX@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!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@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!_DsbhSkWb!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!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$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_khS`PkW!a`!cpOX$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_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$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!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*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!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,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!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!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!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[wpe,xpe,kpe,ype,bpe,vpe,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:509},tokenPrec:511});function Epe(e,t){let r=Object.create(null);for(let n of e.getChildren(23)){let e=n.getChild(24),a=n.getChild(26)||n.getChild(27);e&&(r[t.read(e.from,e.to)]=a?26==a.type.id?t.read(a.from+1,a.to-1):t.read(a.from,a.to):"")}return r}function Tpe(e,t){let r=e.getChild(22);return r?t.read(r.from,r.to):" "}function Ape(e,t,r){let n;for(let a of r)if(!a.attrs||a.attrs(n||(n=Epe(e.node.parent.firstChild,t))))return{parser:a.parser};return null}function Cpe(e=[],t=[]){let r=[],n=[],a=[],o=[];for(let t of e)("script"==t.tag?r:"style"==t.tag?n:"textarea"==t.tag?a:o).push(t);let i=t.length?Object.create(null):null;for(let e of t)(i[e.name]||(i[e.name]=[])).push(e);return s=(e,t)=>{let s=e.type.id;if(28==s)return Ape(e,t,r);if(31==s)return Ape(e,t,n);if(34==s)return Ape(e,t,a);if(20==s&&o.length){let r,n=e.node,a=n.firstChild,i=a&&Tpe(a,t);if(i)for(let e of o)if(e.tag==i&&(!e.attrs||e.attrs(r||(r=Epe(a,t))))){let t=n.lastChild,r=37==t.type.id?t.from:n.to;if(r>a.to)return{parser:e.parser,overlay:[{from:a.to,to:r}]}}}if(i&&23==s){let r,n=e.node;if(r=n.firstChild){let e=i[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=Tpe(n.parent,t))continue;let e=n.lastChild;if(26==e.type.id){let t=e.from+1,n=e.lastChild,a=e.to-(n&&n.isError?0:1);if(a>t)return{parser:r.parser,overlay:[{from:t,to:a}]}}else if(27==e.type.id)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null},(e,t,r,n)=>new Qie(e,s,t,r,n);var s}const Ppe=[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],$pe=new Ade({start:!1,shift:(e,t)=>5==t||6==t||315==t?e:316==t,strict:!1}),Mpe=new mde(((e,t)=>{let{next:r}=e;(125==r||-1==r||t.context)&&e.acceptToken(313)}),{contextual:!0,fallback:!0}),Dpe=new mde(((e,t)=>{let r,{next:n}=e;Ppe.indexOf(n)>-1||(47!=n||47!=(r=e.peek(1))&&42!=r)&&(125==n||59==n||-1==n||t.context||e.acceptToken(312))}),{contextual:!0}),Rpe=new mde(((e,t)=>{let{next:r}=e;if(43==r||45==r){if(e.advance(),r==e.next){e.advance();let r=!t.context&&t.canShift(1);e.acceptToken(r?1:2)}}else 63==r&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))}),{contextual:!0});function Npe(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}const Ipe=new mde(((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return;if(e.advance(),47==e.next)return;let r=0;for(;Ppe.indexOf(e.next)>-1;)e.advance(),r++;if(Npe(e.next,!0)){for(e.advance(),r++;Npe(e.next,!1);)e.advance(),r++;for(;Ppe.indexOf(e.next)>-1;)e.advance(),r++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!Npe(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),r++}}e.acceptToken(4,-r)})),Lpe=tse({"get set async static":xse.modifier,"for while do if else switch try catch finally return throw break continue default case":xse.controlKeyword,"in of await yield void typeof delete instanceof":xse.operatorKeyword,"let var const using function class extends":xse.definitionKeyword,"import export from":xse.moduleKeyword,"with debugger as new":xse.keyword,TemplateString:xse.special(xse.string),super:xse.atom,BooleanLiteral:xse.bool,this:xse.self,null:xse.null,Star:xse.modifier,VariableName:xse.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":xse.function(xse.variableName),VariableDefinition:xse.definition(xse.variableName),Label:xse.labelName,PropertyName:xse.propertyName,PrivatePropertyName:xse.special(xse.propertyName),"CallExpression/MemberExpression/PropertyName":xse.function(xse.propertyName),"FunctionDeclaration/VariableDefinition":xse.function(xse.definition(xse.variableName)),"ClassDeclaration/VariableDefinition":xse.definition(xse.className),PropertyDefinition:xse.definition(xse.propertyName),PrivatePropertyDefinition:xse.definition(xse.special(xse.propertyName)),UpdateOp:xse.updateOperator,"LineComment Hashbang":xse.lineComment,BlockComment:xse.blockComment,Number:xse.number,String:xse.string,Escape:xse.escape,ArithOp:xse.arithmeticOperator,LogicOp:xse.logicOperator,BitOp:xse.bitwiseOperator,CompareOp:xse.compareOperator,RegExp:xse.regexp,Equals:xse.definitionOperator,Arrow:xse.function(xse.punctuation),": Spread":xse.punctuation,"( )":xse.paren,"[ ]":xse.squareBracket,"{ }":xse.brace,"InterpolationStart InterpolationEnd":xse.special(xse.brace),".":xse.derefOperator,", ;":xse.separator,"@":xse.meta,TypeName:xse.typeName,TypeDefinition:xse.definition(xse.typeName),"type enum interface implements namespace module declare":xse.definitionKeyword,"abstract global Privacy readonly override":xse.modifier,"is keyof unique infer":xse.operatorKeyword,JSXAttributeValue:xse.attributeValue,JSXText:xse.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":xse.angleBracket,"JSXIdentifier JSXNameSpacedName":xse.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":xse.attributeName,"JSXBuiltin/JSXIdentifier":xse.standard(xse.tagName)}),jpe={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},Bpe={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},Upe={__proto__:null,"<":187},Fpe=Cde.deserialize({version:14,states:"$@QO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOO`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOO<nQWO'#HRO>VQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'#ISO?lQ?NdO'#CiO@nQ`O'#DiQOQWOOO%[Q^O'#D}OAUQWO'#EQO:VQ7[O'#EkOAaQWO'#EkOAlQpO'#FdOOQU'#Cg'#CgOOQ?Mp'#Dn'#DnOOQ?Mp'#Jq'#JqO%[Q^O'#JqOOQO'#Jt'#JtOOQO'#Id'#IdOBlQ`O'#EdOOQ?Mp'#Ec'#EcOOQ?Mp'#Jx'#JxOChQ?NQO'#EdOCrQ`O'#ETOOQO'#Js'#JsODWQ`O'#JtOEeQ`O'#ETOCrQ`O'#EdPErO#@ItO'#CbPOOO)CDx)CDxOOOO'#I['#I[OE}O!bO,59UOOQ?Mr,59U,59UOOOO'#I]'#I]OF]O#tO,59UO%[Q^O'#D`OOOO'#I_'#I_OFkO!0LbO,59xOOQ?Mr,59x,59xOFyQ^O'#I`OG^QWO'#JoOI]QrO'#JoO+}Q^O'#JoOIdQWO,5:OOIzQWO'#EmOJXQWO'#KOOJdQWO'#J}OJdQWO'#J}OJlQWO,5;ZOJqQWO'#J|OOQ?Mv,5:Z,5:ZOJxQ^O,5:ZOLvQ?NdO,5:cOMgQWO,5:kONQQ?MxO'#J{ONXQWO'#JzO9WQWO'#JzONmQWO'#JzONuQWO,5;YONzQWO'#JzO!#PQrO'#JnOOQ?Mr'#Ci'#CiO%[Q^O'#EPO!#oQrO,5:pOOQQ'#Ju'#JuOOQO-E<f-E<fO9^QWO,5=[O!$VQWO,5=[O!$[Q^O,5;WO!&_Q7[O'#EhO!'xQWO,5;WO!'}Q^O'#DvO!(XQ`O,5;aO!(aQ`O,5;aO%[Q^O,5;aOOQU'#FS'#FSOOQU'#FU'#FUO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bOOQU'#FY'#FYO!(oQ^O,5;sOOQ?Mr,5;x,5;xOOQ?Mr,5;y,5;yOOQ?Mr,5;{,5;{O%[Q^O'#IlO!*rQ?MxO,5<gO%[Q^O,5;bO!&_Q7[O,5;bO!+aQ7[O,5;bO!-RQ7[O'#EZO%[Q^O,5;vOOQ?Mr,5;z,5;zO!-YQ&jO'#FiO!.VQ&jO'#KSO!-qQ&jO'#KSO!.^Q&jO'#KSOOQO'#KS'#KSO!.rQ&jO,5<ROOOS,5<_,5<_O!/TQ^O'#FuOOOS'#Ik'#IkO7VO,YO,5<PO!/[Q&jO'#FwOOQ?Mr,5<P,5<PO!/{Q!LQO'#CvOOQ?Mr'#Cz'#CzO!0`O!0LbO'#DOO!0|Q7[O,5<dO!1TQWO,5<fO!2pQ$ISO'#GVO!2}QWO'#GWO!3SQWO'#GWO!4rQ$ISO'#G[O!5nQ`O'#G`OOQO'#Gk'#GkO!+hQ7[O'#GjOOQO'#Gm'#GmO!+hQ7[O'#GlO!6aQ!LQO'#JgOOQ?Mr'#Jg'#JgO!6kQWO'#JfO!6yQWO'#JeO!7RQWO'#CuOOQ?Mr'#Cx'#CxO!7ZQWO'#CzOOQ?Mr'#DS'#DSOOQ?Mr'#DU'#DUO1SQWO'#DWO!+hQ7[O'#F}O!+hQ7[O'#GPO!7`QWO'#GRO!7eQWO'#GSO!3SQWO'#GYO!+hQ7[O'#G_O!7jQWO'#EnO!8XQWO,5<eOOQ?Mp'#Cr'#CrO!8aQWO'#EoO!9ZQ`O'#EpOOQ?Mp'#J|'#J|O!9bQ?MxO'#K]O9hQ?MxO,5=`O`Q^O,5>pOOQU'#Jc'#JcOOQU,5>q,5>qOOQU-E<X-E<XO!;aQ?NdO,5:_O!9UQ`O,5:]O!=zQ?NdO,5:gO%[Q^O,5:gO!@bQ?NdO,5:iOOQO,5@v,5@vO!ARQ7[O,5=[O!AaQ?MxO'#JdO9RQWO'#JdO!ArQ?MxO,59ZO!A}Q`O,59ZO!BVQ7[O,59ZO:VQ7[O,59ZO!BbQWO,5;WO!BjQWO'#H^O!COQWO'#K`O%[Q^O,5;|O!9UQ`O,5<OO!CWQWO,5=wO!C]QWO,5=wO!CbQWO,5=wO9hQ?MxO,5=wO;wQWO,5=gOOQO'#Cv'#CvO!CpQ`O,5=dO!CxQ7[O,5=eO!DTQWO,5=gO!DYQpO,5=jO!DbQWO'#K[O>tQWO'#HTO9^QWO'#HVO!DgQWO'#HVO:VQ7[O'#HXO!DlQWO'#HXOOQU,5=m,5=mO!DqQWO'#HYO!ESQWO'#CoO!EXQWO,59PO!EcQWO,59PO!GhQ^O,59POOQU,59P,59PO!GxQ?MxO,59PO%[Q^O,59PO!JTQ^O'#HaOOQU'#Hb'#HbOOQU'#Hc'#HcO`Q^O,5=yO!JkQWO,5=yO`Q^O,5>PO`Q^O,5>RO!JpQWO,5>TO`Q^O,5>VO!JuQWO,5>YO!JzQ^O,5>`OOQU,5>f,5>fO%[Q^O,5>fO9hQ?MxO,5>hOOQU,5>j,5>jO# UQWO,5>jOOQU,5>l,5>lO# UQWO,5>lOOQU,5>n,5>nO# rQ`O'#D[O%[Q^O'#JqO# |Q`O'#JqO#!kQ`O'#DjO#!|Q`O'#DjO#%_Q^O'#DjO#%fQWO'#JpO#%nQWO,5:TO#%sQWO'#EqO#&RQWO'#KPO#&ZQWO,5;[O#&`Q`O'#DjO#&mQ`O'#ESOOQ?Mr,5:l,5:lO%[Q^O,5:lO#&tQWO,5:lO>tQWO,5;VO!A}Q`O,5;VO!BVQ7[O,5;VO:VQ7[O,5;VO#&|QWO,5@]O#'RQ(CYO,5:pOOQO-E<b-E<bO#(XQ?NQO,5;OOCrQ`O,5:oO#(cQ`O,5:oOCrQ`O,5;OO!ArQ?MxO,5:oOOQ?Mp'#Eg'#EgOOQO,5;O,5;OO%[Q^O,5;OO#(pQ?MxO,5;OO#({Q?MxO,5;OO!A}Q`O,5:oOOQO,5;U,5;UO#)ZQ?MxO,5;OPOOO'#IY'#IYP#)oO#@ItO,58|POOO,58|,58|OOOO-E<Y-E<YOOQ?Mr1G.p1G.pOOOO-E<Z-E<ZO#)zQpO,59zOOOO-E<]-E<]OOQ?Mr1G/d1G/dO#*PQrO,5>zO+}Q^O,5>zOOQO,5?Q,5?QO#*ZQ^O'#I`OOQO-E<^-E<^O#*hQWO,5@ZO#*pQrO,5@ZO#*wQWO,5@iOOQ?Mr1G/j1G/jO%[Q^O,5@jO#+PQWO'#IfOOQO-E<d-E<dO#*wQWO,5@iOOQ?Mp1G0u1G0uOOQ?Mv1G/u1G/uOOQ?Mv1G0V1G0VO%[Q^O,5@gO#+eQ?MxO,5@gO#+vQ?MxO,5@gO#+}QWO,5@fO9WQWO,5@fO#,VQWO,5@fO#,eQWO'#IiO#+}QWO,5@fOOQ?Mp1G0t1G0tO!(XQ`O,5:rO!(dQ`O,5:rOOQQ,5:t,5:tO#-VQYO,5:tO#-_Q7[O1G2vO9^QWO1G2vOOQ?Mr1G0r1G0rO#-mQ?NdO1G0rO#.rQ?NbO,5;SOOQ?Mr'#GU'#GUO#/`Q?NdO'#JgO!$[Q^O1G0rO#1hQrO'#JrO%[Q^O'#JrO#1rQWO,5:bOOQ?Mr'#D['#D[OOQ?Mr1G0{1G0{O%[Q^O1G0{OOQ?Mr1G1e1G1eO#1wQWO1G0{O#4]Q?NdO1G0|O#4dQ?NdO1G0|O#6zQ?NdO1G0|O#7RQ?NdO1G0|O#9iQ?NdO1G0|O#<PQ?NdO1G0|O#<WQ?NdO1G0|O#<_Q?NdO1G0|O#>uQ?NdO1G0|O#>|Q?NdO1G0|O#AZQ07bO'#CiO#CUQ07bO1G1_O#C]Q07bO'#JnO#CpQ?NdO,5?WOOQ?Mp-E<j-E<jO#E}Q?NdO1G0|O#FzQ?NdO1G0|OOQ?Mr1G0|1G0|O#GzQ7[O'#JwO#HUQWO,5:uO#HZQ?NdO1G1bO#H}Q&jO,5<VO#IVQ&jO,5<WO#I_Q&jO'#FnO#IvQWO'#FmOOQO'#KT'#KTOOQO'#Ij'#IjO#I{Q&jO1G1mOOQ?Mr1G1m1G1mOOOS1G1x1G1xO#J^Q07bO'#JmO#JhQWO,5<aO!(oQ^O,5<aOOOS-E<i-E<iOOQ?Mr1G1k1G1kO#JmQ`O'#KSOOQ?Mr,5<c,5<cO#JuQ`O,5<cO!&_Q7[O'#DQOOOO'#I^'#I^O#JzO!0LbO,59jOOQ?Mr,59j,59jO%[Q^O1G2OO!7eQWO'#InO#KVQ7[O,5<xOOQ?Mr,5<u,5<uO!+hQ7[O'#IqO#KuQ7[O,5=UO!+hQ7[O'#IsO#LhQ7[O,5=WO!&_Q7[O,5=YOOQO1G2Q1G2QO#LrQpO'#CrO#MVQ$ISO'#EoO#NUQ`O'#G`O#NrQpO,5<qO#NyQWO'#KWO9WQWO'#KWO$ XQWO,5<sO!+hQ7[O,5<rO$ ^QWO'#GXO$ oQWO,5<rO$ tQpO'#GUO$!RQpO'#KXO$!]QWO'#KXO!&_Q7[O'#KXO$!bQWO,5<vO$!gQ`O'#GaO!5iQ`O'#GaO$!xQWO'#GcO$!}QWO'#GeO!3SQWO'#GhO$#SQ?MxO'#IpO$#_Q`O,5<zOOQ?Mv,5<z,5<zO$#fQ`O'#GaO$#tQ`O'#GbO$#|Q`O'#GbO$$RQ7[O,5=UO$$cQ7[O,5=WOOQ?Mr,5=Z,5=ZO!+hQ7[O,5@QO!+hQ7[O,5@QO$$sQWO'#IuO$%OQWO,5@PO$%WQWO,59aOOQ?Mr,59f,59fO$%zQ!LSO,59rOOQ?Mr'#Jk'#JkO$&mQ7[O,5<iO$'`Q7[O,5<kO@fQWO,5<mOOQ?Mr,5<n,5<nO$'jQWO,5<tO$'oQ7[O,5<yO$(PQWO'#JzO!$[Q^O1G2PO$(UQWO1G2PO9WQWO'#J}O9WQWO'#EqO%[Q^O'#EqO9WQWO'#IwO$(ZQ?MxO,5@wOOQU1G2z1G2zOOQU1G4[1G4[OOQ?Mr1G/y1G/yOOQ?Mr1G/w1G/wO$*]Q?NdO1G0ROOQU1G2v1G2vO!&_Q7[O1G2vO%[Q^O1G2vO#-bQWO1G2vO$,aQ7[O'#EhOOQ?Mp,5@O,5@OO$,kQ?MxO,5@OOOQU1G.u1G.uO!ArQ?MxO1G.uO!A}Q`O1G.uO!BVQ7[O1G.uO$,|QWO1G0rO$-RQWO'#CiO$-^QWO'#KaO$-fQWO,5=xO$-kQWO'#KaO$-pQWO'#KaO$.OQWO'#I}O$.^QWO,5@zO$.fQrO1G1hOOQ?Mr1G1j1G1jO9^QWO1G3cO@fQWO1G3cO$.mQWO1G3cO$.rQWO1G3cOOQU1G3c1G3cO!DTQWO1G3RO!&_Q7[O1G3OO$.wQWO1G3OOOQU1G3P1G3PO!&_Q7[O1G3PO$.|QWO1G3PO$/UQ`O'#G}OOQU1G3R1G3RO!5iQ`O'#IyO!DYQpO1G3UOOQU1G3U1G3UOOQU,5=o,5=oO$/^Q7[O,5=qO9^QWO,5=qO$!}QWO,5=sO9RQWO,5=sO!A}Q`O,5=sO!BVQ7[O,5=sO:VQ7[O,5=sO$/lQWO'#K_O$/wQWO,5=tOOQU1G.k1G.kO$/|Q?MxO1G.kO@fQWO1G.kO$0XQWO1G.kO9hQ?MxO1G.kO$2aQrO,5@|O$2nQWO,5@|O9WQWO,5@|O$2yQ^O,5={O$3QQWO,5={OOQU1G3e1G3eO`Q^O1G3eOOQU1G3k1G3kOOQU1G3m1G3mO>oQWO1G3oO$3VQ^O1G3qO$7ZQ^O'#HpOOQU1G3t1G3tO$7hQWO'#HvO>tQWO'#HxOOQU1G3z1G3zO$7pQ^O1G3zO9hQ?MxO1G4QOOQU1G4S1G4SOOQ?Mp'#G]'#G]O9hQ?MxO1G4UO9hQ?MxO1G4WO$;wQWO,5@]O!(oQ^O,5;]O9WQWO,5;]O>tQWO,5:UO!(oQ^O,5:UO!A}Q`O,5:UO$;|Q07bO,5:UOOQO,5;],5;]O$<WQ`O'#IaO$<nQWO,5@[OOQ?Mr1G/o1G/oO$<vQ`O'#IgO$=QQWO,5@kOOQ?Mp1G0v1G0vO#!|Q`O,5:UOOQO'#Ic'#IcO$=YQ`O,5:nOOQ?Mv,5:n,5:nO#&wQWO1G0WOOQ?Mr1G0W1G0WO%[Q^O1G0WOOQ?Mr1G0q1G0qO>tQWO1G0qO!A}Q`O1G0qO!BVQ7[O1G0qOOQ?Mp1G5w1G5wO!ArQ?MxO1G0ZOOQO1G0j1G0jO%[Q^O1G0jO$=aQ?MxO1G0jO$=lQ?MxO1G0jO!A}Q`O1G0ZOCrQ`O1G0ZO$=zQ?MxO1G0jOOQO1G0Z1G0ZO$>`Q?NdO1G0jPOOO-E<W-E<WPOOO1G.h1G.hOOOO1G/f1G/fO$>jQpO,5<gO$>rQrO1G4fOOQO1G4l1G4lO%[Q^O,5>zO$>|QWO1G5uO$?UQWO1G6TO$?^QrO1G6UO9WQWO,5?QO$?hQ?NdO1G6RO%[Q^O1G6RO$?xQ?MxO1G6RO$@ZQWO1G6QO$@ZQWO1G6QO9WQWO1G6QO$@cQWO,5?TO9WQWO,5?TOOQO,5?T,5?TO$@wQWO,5?TO$(PQWO,5?TOOQO-E<g-E<gOOQQ1G0^1G0^OOQQ1G0`1G0`O#-YQWO1G0`OOQU7+(b7+(bO!&_Q7[O7+(bO%[Q^O7+(bO$AVQWO7+(bO$AbQ7[O7+(bO$ApQ?NdO,5=UO$CxQ?NdO,5=WO$FQQ?NdO,5=UO$H`Q?NdO,5=WO$JnQ?NdO,59rO$LsQ?NdO,5<iO$N{Q?NdO,5<kO%#TQ?NdO,5<yOOQ?Mr7+&^7+&^O%%cQ?NdO7+&^O%&VQ^O'#IbO%&dQWO,5@^O%&lQrO,5@^OOQ?Mr1G/|1G/|O%&vQWO7+&gOOQ?Mr7+&g7+&gO%&{Q07bO,5:cO%[Q^O7+&yO%'VQ07bO,5:_O%'dQ07bO,5:gO%'nQ07bO,5:iO%'xQ7[O'#IeO%(SQWO,5@cOOQ?Mr1G0a1G0aOOQO1G1q1G1qOOQO1G1r1G1rO%([QtO,5<YO!(oQ^O,5<XOOQO-E<h-E<hOOQ?Mr7+'X7+'XOOOS7+'d7+'dOOOS1G1{1G1{O%(gQWO1G1{OOQ?Mr1G1}1G1}O%(lQpO,59lOOOO-E<[-E<[OOQ?Mr1G/U1G/UO%(sQ?NdO7+'jOOQ?Mr,5?Y,5?YO%)gQpO,5?YOOQ?Mr1G2d1G2dP!&_Q7[O'#InPOQ?Mr-E<l-E<lO%*VQ7[O,5?]OOQ?Mr-E<o-E<oO%*xQ7[O,5?_OOQ?Mr-E<q-E<qO%+SQpO1G2tO%+ZQpO'#CrO%+qQ7[O'#J}O%+xQ^O'#EqOOQ?Mr1G2]1G2]O%,SQWO'#ImO%,hQWO,5@rO%,hQWO,5@rO%,pQWO,5@rO%,{QWO,5@rOOQO1G2_1G2_O%-ZQ7[O1G2^O!+hQ7[O1G2^O%-kQ$ISO'#IoO%-xQWO,5@sO!&_Q7[O,5@sO%.QQpO,5@sOOQ?Mr1G2b1G2bOOQ?Mp,5<{,5<{OOQ?Mp,5<|,5<|O$(PQWO,5<|OCcQWO,5<|O!A}Q`O,5<{OOQO'#Gd'#GdO%.[QWO,5<}OOQ?Mp,5=P,5=PO$(PQWO,5=SOOQO,5?[,5?[OOQO-E<n-E<nOOQ?Mv1G2f1G2fO!5iQ`O,5<{O%.dQWO,5<|O$!xQWO,5<}O%.oQ`O,5<|O!+hQ7[O'#IqO%/`Q7[O1G2pO!+hQ7[O'#IsO%0RQ7[O1G2rO%0]Q7[O1G5lO%0gQ7[O1G5lOOQO,5?a,5?aOOQO-E<s-E<sOOQO1G.{1G.{O!9UQ`O,59tO%[Q^O,59tOOQ?Mr,5<h,5<hO%0tQWO1G2XO!+hQ7[O1G2`O%0yQ?NdO7+'kOOQ?Mr7+'k7+'kO!$[Q^O7+'kO%1mQWO,5;]OOQ?Mp,5?c,5?cOOQ?Mp-E<u-E<uO%1rQpO'#KYO#&wQWO7+(bO4UQrO7+(bO$AYQWO7+(bO%1|Q?NbO'#CiO%2aQ?NbO,5=QO%3RQWO,5=QOOQ?Mp1G5j1G5jOOQU7+$a7+$aO!ArQ?MxO7+$aO!A}Q`O7+$aO!$[Q^O7+&^O%3WQWO'#I|O%3oQWO,5@{OOQO1G3d1G3dO9^QWO,5@{O%3oQWO,5@{O%3wQWO,5@{OOQO,5?i,5?iOOQO-E<{-E<{OOQ?Mr7+'S7+'SO%3|QWO7+(}O9hQ?MxO7+(}O9^QWO7+(}O@fQWO7+(}OOQU7+(m7+(mO%4RQ?NbO7+(jO!&_Q7[O7+(jO%4]QpO7+(kOOQU7+(k7+(kO!&_Q7[O7+(kO%4dQWO'#K^O%4oQWO,5=iOOQO,5?e,5?eOOQO-E<w-E<wOOQU7+(p7+(pO%6RQ`O'#HWOOQU1G3]1G3]O!&_Q7[O1G3]O%[Q^O1G3]O%6YQWO1G3]O%6eQ7[O1G3]O9hQ?MxO1G3_O$!}QWO1G3_O9RQWO1G3_O!A}Q`O1G3_O!BVQ7[O1G3_O%6sQWO'#I{O%7XQWO,5@yO%7aQ`O,5@yOOQ?Mp1G3`1G3`OOQU7+$V7+$VO@fQWO7+$VO9hQ?MxO7+$VO%7lQWO7+$VO%[Q^O1G6hO%[Q^O1G6iO%7qQ?MxO1G6hO%7{Q^O1G3gO%8SQWO1G3gO%8XQ^O1G3gOOQU7+)P7+)PO9hQ?MxO7+)ZO`Q^O7+)]OOQU'#Kd'#KdOOQU'#JO'#JOO%8`Q^O,5>[OOQU,5>[,5>[O%[Q^O'#HqO%8mQWO'#HsOOQU,5>b,5>bO9WQWO,5>bOOQU,5>d,5>dOOQU7+)f7+)fOOQU7+)l7+)lOOQU7+)p7+)pOOQU7+)r7+)rO%8rQ`O1G5wO%9WQ07bO1G0wO%9bQWO1G0wOOQO1G/p1G/pO%9mQ07bO1G/pO>tQWO1G/pO!(oQ^O'#DjOOQO,5>{,5>{OOQO-E<_-E<_OOQO,5?R,5?ROOQO-E<e-E<eO!A}Q`O1G/pOOQO-E<a-E<aOOQ?Mv1G0Y1G0YOOQ?Mr7+%r7+%rO#&wQWO7+%rOOQ?Mr7+&]7+&]O>tQWO7+&]O!A}Q`O7+&]OOQO7+%u7+%uO$>`Q?NdO7+&UOOQO7+&U7+&UO%[Q^O7+&UO%9wQ?MxO7+&UO!ArQ?MxO7+%uO!A}Q`O7+%uO%:SQ?MxO7+&UO%:bQ?NdO7++mO%[Q^O7++mO%:rQWO7++lO%:rQWO7++lOOQO1G4o1G4oO9WQWO1G4oO%:zQWO1G4oOOQQ7+%z7+%zO#&wQWO<<K|O4UQrO<<K|O%;YQWO<<K|OOQU<<K|<<K|O!&_Q7[O<<K|O%[Q^O<<K|O%;bQWO<<K|O%;mQ?NdO,5?]O%=uQ?NdO,5?_O%?}Q?NdO1G2^O%B]Q?NdO1G2pO%DeQ?NdO1G2rO%FmQrO,5>|O%[Q^O,5>|OOQO-E<`-E<`O%FwQWO1G5xOOQ?Mr<<JR<<JRO%GPQ07bO1G0rO%IWQ07bO1G0|O%I_Q07bO1G0|O%K`Q07bO1G0|O%KgQ07bO1G0|O%MhQ07bO1G0|O& iQ07bO1G0|O& pQ07bO1G0|O& wQ07bO1G0|O&#xQ07bO1G0|O&$PQ07bO1G0|O&$WQ?NdO<<JeO&&OQ07bO1G0|O&&{Q07bO1G0|O&'{Q07bO'#JgO&*OQ07bO1G1bO&*]Q07bO1G0RO&*gQ7[O,5?POOQO-E<c-E<cO!(oQ^O'#FpOOQO'#KU'#KUOOQO1G1t1G1tO&*qQWO1G1sO&*vQ07bO,5?WOOOS7+'g7+'gOOOO1G/W1G/WOOQ?Mr1G4t1G4tO!+hQ7[O7+(`O&-WQrO'#CiO&-bQWO,5?XO9WQWO,5?XOOQO-E<k-E<kO&-pQWO1G6^O&-pQWO1G6^O&-xQWO1G6^O&.TQ7[O7+'xO&.eQpO,5?ZO&.oQWO,5?ZO!&_Q7[O,5?ZOOQO-E<m-E<mO&.tQpO1G6_O&/OQWO1G6_OOQ?Mp1G2h1G2hO$(PQWO1G2hOOQ?Mp1G2g1G2gO&/WQWO1G2iO!&_Q7[O1G2iOOQ?Mp1G2n1G2nO!A}Q`O1G2gOCcQWO1G2hO&/]QWO1G2iO&/eQWO1G2hO$!xQWO1G2iO&0XQ7[O,5?]OOQ?Mr-E<p-E<pO&0zQ7[O,5?_OOQ?Mr-E<r-E<rO!+hQ7[O7++WOOQ?Mr1G/`1G/`O&1UQWO1G/`OOQ?Mr7+'s7+'sO&1ZQ7[O7+'zO&1kQ?NdO<<KVOOQ?Mr<<KV<<KVO&2_QWO1G0wO!&_Q7[O'#IvO&2dQWO,5@tO&4fQrO<<K|O!&_Q7[O1G2lOOQU<<G{<<G{O!ArQ?MxO<<G{O&4mQ?NdO<<IxOOQ?Mr<<Ix<<IxOOQO,5?h,5?hO&5aQWO,5?hO&5fQWO,5?hOOQO-E<z-E<zO&5tQWO1G6gO&5tQWO1G6gO9^QWO1G6gO@fQWO<<LiOOQU<<Li<<LiO&5|QWO<<LiO9hQ?MxO<<LiOOQU<<LU<<LUO%4RQ?NbO<<LUOOQU<<LV<<LVO%4]QpO<<LVO&6RQ`O'#IxO&6^QWO,5@xO!(oQ^O,5@xOOQU1G3T1G3TO%+xQ^O'#JqOOQO'#Iz'#IzO9hQ?MxO'#IzO&6fQ`O,5=rOOQU,5=r,5=rO&6mQ`O'#EdO&7RQ`O'#GcO&7WQWO7+(wO&7]QWO7+(wOOQU7+(w7+(wO!&_Q7[O7+(wO%[Q^O7+(wO&7eQWO7+(wOOQU7+(y7+(yO9hQ?MxO7+(yO$!}QWO7+(yO9RQWO7+(yO!A}Q`O7+(yO&7pQWO,5?gOOQO-E<y-E<yOOQO'#HZ'#HZO&7{QWO1G6eO9hQ?MxO<<GqOOQU<<Gq<<GqO@fQWO<<GqO&8TQWO7+,SO&8YQWO7+,TO%[Q^O7+,SO%[Q^O7+,TOOQU7+)R7+)RO&8_QWO7+)RO&8dQ^O7+)RO&8kQWO7+)ROOQU<<Lu<<LuOOQU<<Lw<<LwOOQU-E<|-E<|OOQU1G3v1G3vO&8pQWO,5>]OOQU,5>_,5>_O&8uQWO1G3|O9WQWO7+&cO!(oQ^O7+&cOOQO7+%[7+%[O&8zQ07bO1G6UO>tQWO7+%[OOQ?Mr<<I^<<I^OOQ?Mr<<Iw<<IwO>tQWO<<IwOOQO<<Ip<<IpO$>`Q?NdO<<IpO%[Q^O<<IpOOQO<<Ia<<IaO!ArQ?MxO<<IaO&9UQ?MxO<<IpO&9aQ?NdO<= XO&9qQWO<= WOOQO7+*Z7+*ZO9WQWO7+*ZOOQUANAhANAhO&9yQrOANAhO!&_Q7[OANAhO#&wQWOANAhO4UQrOANAhO&:QQWOANAhO%[Q^OANAhO&:YQ?NdO7+'xO&<hQ?NdO,5?]O&>pQ?NdO,5?_O&@xQ?NdO7+'zO&CWQrO1G4hO&CbQ07bO7+&^O&EcQ07bO,5=UO&GgQ07bO,5=WO&GwQ07bO,5=UO&HXQ07bO,5=WO&HiQ07bO,59rO&JlQ07bO,5<iO&LlQ07bO,5<kO&N}Q07bO,5<yO'!pQ07bO7+'jO'!}Q07bO7+'kO'#[QWO,5<[OOQO7+'_7+'_O'#aQ7[O<<KzOOQO1G4s1G4sO'#hQWO1G4sO'#sQWO1G4sO'$RQWO7++xO'$RQWO7++xO!&_Q7[O1G4uO'$ZQpO1G4uO'$eQWO7++yOOQ?Mp7+(S7+(SO'$mQWO7+(TO'$xQpO7+(TOOQ?Mp7+(R7+(RO$(PQWO7+(SO'%PQWO7+(TO!&_Q7[O7+(TOCcQWO7+(SO'%UQWO7+(TO'%^Q7[O<<NrOOQ?Mr7+$z7+$zO'%hQpO,5?bOOQO-E<t-E<tO'%rQ?NbO7+(WOOQUAN=gAN=gO9^QWO1G5SOOQO1G5S1G5SO'&SQWO1G5SO'&XQWO7+,RO'&XQWO7+,RO9hQ?MxOANBTO@fQWOANBTOOQUANBTANBTOOQUANApANApOOQUANAqANAqO'&aQWO,5?dOOQO-E<v-E<vO'&lQ07bO1G6dOOQO,5?f,5?fOOQO-E<x-E<xOOQU1G3^1G3^O%+xQ^O,5<}O'&vQWO,5<}OOQU<<Lc<<LcO!&_Q7[O<<LcO&7WQWO<<LcO'&{QWO<<LcO%[Q^O<<LcOOQU<<Le<<LeO9hQ?MxO<<LeO$!}QWO<<LeO9RQWO<<LeO''TQ`O1G5RO''`QWO7+,POOQUAN=]AN=]O9hQ?MxOAN=]OOQU<= n<= nOOQU<= o<= oO''hQWO<= nO''mQWO<= oOOQU<<Lm<<LmO''rQWO<<LmO''wQ^O<<LmOOQU1G3w1G3wO>tQWO7+)hO'(OQWO<<I}O'(ZQ07bO<<I}OOQO<<Hv<<HvOOQ?MrAN?cAN?cOOQOAN?[AN?[O$>`Q?NdOAN?[OOQOAN>{AN>{O%[Q^OAN?[OOQO<<Mu<<MuOOQUG27SG27SO!&_Q7[OG27SO#&wQWOG27SO'(eQrOG27SO4UQrOG27SO'(lQWOG27SO'(tQ07bO<<JeO')RQ07bO1G2^O'*tQ07bO,5?]O',tQ07bO,5?_O'.tQ07bO1G2pO'0tQ07bO1G2rO'2tQ07bO<<KVO'3RQ07bO<<IxOOQO1G1v1G1vO!+hQ7[OANAfOOQO7+*_7+*_O'3`QWO7+*_O'3kQWO<= dO'3sQpO7+*aOOQ?Mp<<Ko<<KoO$(PQWO<<KoOCcQWO<<KoO'3}QWO<<KoOOQ?Mp<<Kn<<KnO'4YQpO<<KoO$(PQWO<<KnO'4aQWO<<KoO!&_Q7[O<<KoOOQO7+*n7+*nO9^QWO7+*nO'4fQWO<= mOOQUG27oG27oO9hQ?MxOG27oO!(oQ^O1G5OO'4nQWO7+,OO&7WQWOANA}OOQUANA}ANA}O!&_Q7[OANA}O'4vQWOANA}OOQUANBPANBPO9hQ?MxOANBPO$!}QWOANBPOOQO'#H['#H[OOQO7+*m7+*mOOQUG22wG22wOOQUANEYANEYOOQUANEZANEZOOQUANBXANBXO'5OQWOANBXOOQU<<MS<<MSO!(oQ^OAN?iOOQOG24vG24vO$>`Q?NdOG24vO#&wQWOLD,nOOQULD,nLD,nO!&_Q7[OLD,nO'5TQrOLD,nO'5[Q07bO7+'xO'6}Q07bO,5?]O'8}Q07bO,5?_O':}Q07bO7+'zO'<pQ7[OG27QOOQO<<My<<MyOOQ?MpANAZANAZO$(PQWOANAZOCcQWOANAZO'=QQWOANAZOOQ?MpANAYANAYO'=]QpOANAZOOQO<<NY<<NYOOQULD-ZLD-ZO'=dQ07bO7+*jOOQUG27iG27iO&7WQWOG27iO!&_Q7[OG27iOOQUG27kG27kO9hQ?MxOG27kOOQUG27sG27sO'=nQ07bOG25TOOQOLD*bLD*bOOQU!$(!Y!$(!YO#&wQWO!$(!YO!&_Q7[O!$(!YO'=xQ?NdOG27QOOQ?MpG26uG26uO$(PQWOG26uOCcQWOG26uO'@WQWOG26uOOQULD-TLD-TO&7WQWOLD-TOOQULD-VLD-VOOQU!)9Et!)9EtO#&wQWO!)9EtOOQ?MpLD,aLD,aO$(PQWOLD,aOCcQWOLD,aOOQU!$(!o!$(!oOOQU!.K;`!.K;`O'@cQ07bOG27QOOQ?Mp!$( {!$( {O$(PQWO!$( {OOQ?Mp!)9Eg!)9EgO!(oQ^O'#DwO1PQWO'#EUO'BUQrO'#JmO'B]QMnO'#DsO'BdQ^O'#D{O'BkQrO'#CiO'ERQrO'#CiO!(oQ^O'#D}O'EcQ^O,5;WO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O'#IlO'GfQWO,5<gO!(oQ^O,5;bO'GnQ7[O,5;bO'IXQ7[O,5;bO!(oQ^O,5;vO!&_Q7[O'#GjO'GnQ7[O'#GjO!&_Q7[O'#GlO'GnQ7[O'#GlO1SQWO'#DWO1SQWO'#DWO!&_Q7[O'#F}O'GnQ7[O'#F}O!&_Q7[O'#GPO'GnQ7[O'#GPO!&_Q7[O'#G_O'GnQ7[O'#G_O!(oQ^O,5:gO'I`Q`O'#D[O!(oQ^O,5@jO'EcQ^O1G0rO'IjQ07bO'#CiO!(oQ^O1G2OO!&_Q7[O'#IqO'GnQ7[O'#IqO!&_Q7[O'#IsO'GnQ7[O'#IsO'ItQpO'#CrO!&_Q7[O,5<rO'GnQ7[O,5<rO'EcQ^O1G2PO!(oQ^O7+&yO!&_Q7[O1G2^O'GnQ7[O1G2^O!&_Q7[O'#IqO'GnQ7[O'#IqO!&_Q7[O'#IsO'GnQ7[O'#IsO!&_Q7[O1G2`O'GnQ7[O1G2`O'EcQ^O7+'kO'EcQ^O7+&^O!&_Q7[OANAfO'GnQ7[OANAfO'JXQWO'#ElO'J^QWO'#ElO'JfQWO'#F[O'JkQWO'#EvO'JpQWO'#KOO'J{QWO'#J|O'KWQWO,5;WO'K]Q7[O,5<dO'KdQWO'#GWO'KiQWO'#GWO'KnQWO,5<eO'KvQWO,5;WO'LOQ07bO1G1_O'LVQWO,5<rO'L[QWO,5<rO'LaQWO,5<tO'LfQWO,5<tO'LkQWO1G2PO'LpQWO1G0rO'LuQ7[O<<KzO'L|Q7[O<<KzO7eQ7[O'#FzO9RQWO'#FyOAaQWO'#EkO!(oQ^O,5;sO!3SQWO'#GWO!3SQWO'#GWO!3SQWO'#GYO!3SQWO'#GYO!+hQ7[O7+(`O!+hQ7[O7+(`O%+SQpO1G2tO%+SQpO1G2tO!&_Q7[O,5=YO!&_Q7[O,5=Y",stateData:"'NQ~O'wOS'xOSTOS'yRQ~OPYOQYOSfOY!VOaqOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![XO!fuO!iZO!lYO!mYO!nYO!pvO!rwO!uxO!y]O#t!PO$V|O%e}O%g!QO%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO%v!UO&S!WO&Y!XO&[!YO&^!ZO&`![O&c!]O&i!^O&o!_O&q!`O&s!aO&u!bO&w!cO(OSO(QTO(TUO([VO(j[O(yiO~OWtO~P`OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa!wOp!nO!P!oO!_!yO!`!vO!a!vO!y;QO#Q!pO#R!pO#S!xO#T!pO#U!pO#X!zO#Y!zO(P!lO(QTO(TUO(`!mO(j!sO~O'y!{O~OP]XR]X[]Xa]Xo]X}]X!P]X!Y]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X'u]X([]X(m]X(t]X(u]X~O!d%PX~P(qO_!}O(Q#PO(R!}O(S#PO~O_#QO(S#PO(T#PO(U#QO~Ou#SO!R#TO(]#TO(^#VO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O;UO(QTO(TUO([VO(j[O(yiO~O!X#ZO!Y#WO!V(cP!V(qP~P+}O!Z#cO~P`OPYOQYOSfOd!jOe!iOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(QTO(TUO([VO(j[O(yiO~Om#mO!X#iO!y]O#f#lO#g#iO(O;VO!h(nP~P.iO!i#oO(O#nO~O!u#sO!y]O%e#tO~O#h#uO~O!d#vO#h#uO~OP$[OR#zO[$cOo$aO}#yO!P#{O!Y$_O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~Oa(aX'u(aX's(aX!h(aX!V(aX![(aX%f(aX!d(aX~P1qO#P$dO#]$eO$P$eOP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#s(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX![(bX%f(bX~Oa(bX'u(bX's(bX!V(bX!h(bXs(bX!d(bX~P4UO#]$eO~O$[$hO$^$gO$e$mO~OSfO![$nO$h$oO$j$qO~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{%[O!P${O![$|O!f%aO!i$xO#g%bO$V%_O$r%]O$t%^O$w%`O(O$sO(QTO(TUO([$uO(t$}O(u%POg(XP~O!i%cO~O!P%fO![%gO(O%eO~O!d%kO~Oa%lO'u%lO~O}%pO~P%[O(P!lO~P%[O%k%tO~P%[Oh%VO!i%cO(O%eO(P!lO~Oe%{O!i%cO(O%eO~O#s$RO~O}&QO![%}O!i&PO%g&TO(O%eO(P!lO(QTO(TUO`)SP~O!u#sO~O%p&VO!P)OX![)OX(O)OX~O(O&WO~O!r&]O#t!PO%g!QO%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO~Od&bOe&aO!u&_O%e&`O%x&^O~P;|Od&eOeyO![&dO!r&]O!uxO!y]O#t!PO%e}O%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO%v!UO~Ob&hO#]&kO%g&fO(P!lO~P=RO!i&lO!r&pO~O!i#oO~O![XO~Oa%lO't&xO'u%lO~Oa%lO't&{O'u%lO~Oa%lO't&}O'u%lO~O's]X!V]Xs]X!h]X&W]X![]X%f]X!d]X~P(qO!_'[O!`'TO!a'TO(P!lO(QTO(TUO~Op'RO!P'QO!X'UO(`'PO!Z(dP!Z(sP~P@YOk'_O![']O(O%eO~Oe'dO!i%cO(O%eO~O}&QO!i&PO~Op!nO!P!oO!y;QO#Q!pO#R!pO#T!pO#U!pO(P!lO(QTO(TUO(`!mO(j!sO~O!_'jO!`'iO!a'iO#S!pO#X'kO#Y'kO~PAtOa%lOh%VO!d#vO!i%cO'u%lO(m'mO~O!m'qO#]'oO~PCSOp!nO!P!oO(QTO(TUO(`!mO(j!sO~O![XOp(hX!P(hX!_(hX!`(hX!a(hX!y(hX#Q(hX#R(hX#S(hX#T(hX#U(hX#X(hX#Y(hX(P(hX(Q(hX(T(hX(`(hX(j(hX~O!`'iO!a'iO(P!lO~PCrO'z'uO'{'uO'|'wO~O_!}O(Q'yO(R!}O(S'yO~O_#QO(S'yO(T'yO(U#QO~Ou#SO!R#TO(]#TO(^'}O~O!X(PO!V'SX!V'YX!Y'SX!Y'YX~P+}O!Y(RO!V(cX~OP$[OR#zO[$cOo$aO}#yO!P#{O!Y(RO!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~O!V(cX~PGfO!V(WO~O!V(pX!Y(pX!d(pX!h(pX(m(pX~O#](pX#h#aX!Z(pX~PIiO#](XO!V(rX!Y(rX~O!Y(YO!V(qX~O!V(]O~O#]$eO~PIiO!Z(^O~P`OR#zO}#yO!P#{O!i#xO([VOP!ka[!kao!ka!Y!ka!m!ka#O!ka#k!ka#l!ka#m!ka#n!ka#o!ka#p!ka#q!ka#r!ka#s!ka#u!ka#w!ka#y!ka#z!ka(m!ka(t!ka(u!ka~Oa!ka'u!ka's!ka!V!ka!h!kas!kaXO(QTO(TUO([VO(j[O(y<xO~O!Y$_Oa$oa'u$oa's$oa!h$oa!V$oa![$oa%f$oa!d$oa~O#t)`O~P!&_Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{%[O!P${O![$|O!f%aO!i$xO#g%bO$V%_O$r%]O$t%^O$w%`O(O(rO(QTO(TUO([$uO(t$}O(u%PO~Og(kP~P!+hO})eO!d)dO![$]X$Y$]X$[$]X$^$]X$e$]X~O!d)dO![(vX$Y(vX$[(vX$^(vX$e(vX~O})eO~P!-qO})eO![(vX$Y(vX$[(vX$^(vX$e(vX~O![)gO$Y)kO$[)fO$^)fO$e)lO~O!X)oO~P!(oO$[$hO$^$gO$e)sO~Ok$xX}$xX!P$xX#P$xX(t$xX(u$xX~OgjXg$xXkjX!YjX#]jX~P!/gOu)uO(])vO(^)xO~Ok*RO})zO!P){O(t$}O(u%PO~Og)yO~P!0kOg*SO~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;nO!P*UO![*VO!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(QTO(TUO([$uO(t$}O(u%PO~O!X*YO(O*TO!h(zP~P!1YO#h*[O~O!i*]O~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;nO!P${O![$|O!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(O*_O(QTO(TUO([$uO(t$}O(u%PO~O!X*bO!V({P~P!3XOo*nO!P*fO!_*lO!`*eO!a*eO!i*]O#X*mO%]*hO(P!lO(`!mO~O!Z*kO~P!4|O#P$dOk(ZX}(ZX!P(ZX(t(ZX(u(ZX!Y(ZX#](ZX~Og(ZX#}(ZX~P!5uOk*sO#]*rOg(YX!Y(YX~O!Y*tOg(XX~O(O&WOg(XP~Op*wO~O!i*|O~O(O(rO~Om+QO!P%fO!X#iO![%gO!y]O#f#lO#g#iO(O%eO!h(nP~O!d#vO#h+RO~O!P%fO!X+TO!Y(YO![%gO(O%eO!V(qP~Op'XO!P+VO!X+UO(QTO(TUO(`(xO~O!Z(sP~P!8uO!Y+WOa)PX'u)PX~OP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~Oa!ga!Y!ga'u!ga's!ga!V!ga!h!gas!ga![!ga%f!ga!d!ga~P!9mOR#zO}#yO!P#{O!i#xO([VOP!oa[!oao!oa!Y!oa!m!oa#O!oa#k!oa#l!oa#m!oa#n!oa#o!oa#p!oa#q!oa#r!oa#s!oa#u!oa#w!oa#y!oa#z!oa(m!oa(t!oa(u!oa~Oa!oa'u!oa's!oa!V!oa!h!oas!oa![!oa%f!oa!d!oa~P!<TOR#zO}#yO!P#{O!i#xO([VOP!qa[!qao!qa!Y!qa!m!qa#O!qa#k!qa#l!qa#m!qa#n!qa#o!qa#p!qa#q!qa#r!qa#s!qa#u!qa#w!qa#y!qa#z!qa(m!qa(t!qa(u!qa~Oa!qa'u!qa's!qa!V!qa!h!qas!qa![!qa%f!qa!d!qa~P!>kOh%VOk+aO![']O%f+`O~O!d+cOa(WX![(WX'u(WX!Y(WX~Oa%lO![XO'u%lO~Oh%VO!i%cO~Oh%VO!i%cO(O%eO~O!d#vO#h(tO~Ob+nO%g+oO(O+kO(QTO(TUO!Z)TP~O!Y+pO`)SX~O[+tO~O`+uO~O![%}O(O%eO(P!lO`)SP~Oh%VO#]+zO~Oh%VOk+}O![$|O~O![,PO~O},RO![XO~O%k%tO~O!u,WO~Oe,]O~Ob,^O(O#nO(QTO(TUO!Z)RP~Oe%{O~O%g!QO(O&WO~P=RO[,cO`,bO~OPYOQYOSfOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO!fuO!iZO!lYO!mYO!nYO!pvO!uxO!y]O%e}O(QTO(TUO([VO(j[O(yiO~O![!eO!r!gO$V!kO(O!dO~P!EkO`,bOa%lO'u%lO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa,hO!rwO#t!OO%i!OO%j!OO%k!OO~P!HTO!i&lO~O&Y,nO~O![,pO~O&k,rO&m,sOP&haQ&haS&haY&haa&had&hae&ham&hao&hap&haq&haw&hay&ha{&ha!P&ha!T&ha!U&ha![&ha!f&ha!i&ha!l&ha!m&ha!n&ha!p&ha!r&ha!u&ha!y&ha#t&ha$V&ha%e&ha%g&ha%i&ha%j&ha%k&ha%n&ha%p&ha%s&ha%t&ha%v&ha&S&ha&Y&ha&[&ha&^&ha&`&ha&c&ha&i&ha&o&ha&q&ha&s&ha&u&ha&w&ha's&ha(O&ha(Q&ha(T&ha([&ha(j&ha(y&ha!Z&ha&a&hab&ha&f&ha~O(O,xO~Oh!bX!Y!OX!Z!OX!d!OX!d!bX!i!bX#]!OX~O!Y!bX!Z!bX~P# ZO!d,}O#],|Oh(eX!Y#eX!Y(eX!Z#eX!Z(eX!d(eX!i(eX~Oh%VO!d-PO!i%cO!Y!^X!Z!^X~Op!nO!P!oO(QTO(TUO(`!mO~OP;POQ;POSfOd<zOe!iOmkOo;POpkOqkOwkOy;PO{;PO!PWO!TkO!UkO![!eO!f;SO!iZO!l;PO!m;PO!n;PO!p;TO!r;WO!u!hO$V!kO(QTO(TUO([VO(j[O(y<xO~O(O;zO~P##_O!Y-TO!Z(dX~O!Z-VO~O!d,}O#],|O!Y#eX!Z#eX~O!Y-WO!Z(sX~O!Z-YO~O!`-ZO!a-ZO(P!lO~P#!|O!Z-^O~P'_Ok-aO![']O~O!V-fO~Op!xa!_!xa!`!xa!a!xa#Q!xa#R!xa#S!xa#T!xa#U!xa#X!xa#Y!xa(P!xa(Q!xa(T!xa(`!xa(j!xa~P!#ZO!m-kO#]-iO~PCSO!`-mO!a-mO(P!lO~PCrOa%lO#]-iO'u%lO~Oa%lO!d#vO#]-iO'u%lO~Oa%lO!d#vO!m-kO#]-iO'u%lO(m'mO~O'z'uO'{'uO'|-rO~Os-sO~O!V'Sa!Y'Sa~P!9mO!X-wO!V'SX!Y'SX~P%[O!Y(RO!V(ca~O!V(ca~PGfO!Y(YO!V(qa~O!P%fO!X-{O![%gO(O%eO!V'YX!Y'YX~O#]-}O!Y(oa!h(oaa(oa'u(oa~O!d#vO~P#+eO!Y(fO!h(na~O!P%fO![%gO#g.RO(O%eO~Om.WO!P%fO!X.TO![%gO!y]O#f.VO#g.TO(O%eO!Y']X!h']X~OR.[O!i#xO~Oh%VOk._O![']O%f.^O~Oa#`i!Y#`i'u#`i's#`i!V#`i!h#`is#`i![#`i%f#`i!d#`i~P!9mOk=UO})zO!P){O(t$}O(u%PO~O#h#[aa#[a#]#[a'u#[a!Y#[a!h#[a![#[a!V#[a~P#.aO#h(ZXP(ZXR(ZX[(ZXa(ZXo(ZX!i(ZX!m(ZX#O(ZX#k(ZX#l(ZX#m(ZX#n(ZX#o(ZX#p(ZX#q(ZX#r(ZX#s(ZX#u(ZX#w(ZX#y(ZX#z(ZX'u(ZX([(ZX(m(ZX!h(ZX!V(ZX's(ZXs(ZX![(ZX%f(ZX!d(ZX~P!5uO!Y.lO!h(fX~P!9mO!h.oO~O!V.qO~OP$[OR#zO}#yO!P#{O!i#xO!m$[O([VO[#jia#jio#ji!Y#ji#O#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#k#ji~P#1|O#k$OO~P#1|OP$[OR#zOo$aO}#yO!P#{O!i#xO!m$[O#k$OO#l$PO#m$PO#n$PO([VO[#jia#ji!Y#ji#O#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#o#ji~P#4kO#o$QO~P#4kOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO([VOa#ji!Y#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#u#ji~P#7YOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO([VO(u#}Oa#ji!Y#ji#y#ji#z#ji'u#ji(m#ji(t#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#w$UO~P#9pO#w#ji~P#9pO#u$SO~P#7YOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO([VO(t#|O(u#}Oa#ji!Y#ji#z#ji'u#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#y#ji~P#<fO#y$WO~P#<fOP]XR]X[]Xo]X}]X!P]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X!Y]X!Z]X~O#}]X~P#?TOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O#w;`O#y;bO#z;cO([VO(m$YO(t#|O(u#}O~O#}.sO~P#AbO#P$dO#];iO$P;iO#}(bX!Z(bX~P! YOa'`a!Y'`a'u'`a's'`a!h'`a!V'`as'`a!['`a%f'`a!d'`a~P!9mO[#jia#jio#ji!Y#ji#O#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~OP$[OR#zO}#yO!P#{O!i#xO!m$[O#k$OO#l$PO#m$PO#n$PO([VO(t#ji(u#ji~P#DdOk=UO})zO!P){O(t$}O(u%POP#jiR#ji!i#ji!m#ji#k#ji#l#ji#m#ji#n#ji([#ji~P#DdO!Y.wOg(kX~P!0kOg.yO~Oa$Oi!Y$Oi'u$Oi's$Oi!V$Oi!h$Ois$Oi![$Oi%f$Oi!d$Oi~P!9mO$[.zO$^.zO~O$[.{O$^.{O~O!d)dO#].|O![$bX$Y$bX$[$bX$^$bX$e$bX~O!X.}O~O![)gO$Y/PO$[)fO$^)fO$e/QO~O!Y;dO!Z(aX~P#AbO!Z/RO~O!d)dO$e(vX~O$e/TO~Ou)uO(])vO(^/WO~O!V/[O~P!&_O(t$}Ok%^a}%^a!P%^a(u%^a!Y%^a#]%^a~Og%^a#}%^a~P#K^O(u%POk%`a}%`a!P%`a(t%`a!Y%`a#]%`a~Og%`a#}%`a~P#LPO!YfX!dfX!hfX!h$xX(mfX~P!/gO!X/eO!Y(YO(O/dO!V(qP!V({P~P!1YOo*nO!_*lO!`*eO!a*eO!i*]O#X*mO%]*hO(P!lO~Op'XO!P/fO!X+UO!Z*kO(QTO(TUO(`;wO!Z(sP~P#MjO!h/gO~P#.aO!Y/hO!d#vO(m'mO!h(zX~O!h/mO~O!P%fO!X*YO![%gO(O%eO!h(zP~O#h/oO~O!V$xX!Y$xX!d%PX~P!/gO!Y/pO!V({X~P#.aO!d/rO~O!V/tO~Oh%VOo/xO!d#vO!i%cO(m'mO~O(O/zO~O!d+cO~Oa%lO!Y0OO'u%lO~O!Z0QO~P!4|O!`0RO!a0RO(P!lO(`!mO~O!P0TO(`!mO~O#X0UO~Og%^a!Y%^a#]%^a#}%^a~P!0kOg%`a!Y%`a#]%`a#}%`a~P!0kO(O&WOg'iX!Y'iX~O!Y*tOg(Xa~Og0_O~OR0`O}0`O!P0aO#P$dOkza(tza(uza!Yza#]za~Ogza#}za~P$%]O})zO!P){Ok$qa(t$qa(u$qa!Y$qa#]$qa~Og$qa#}$qa~P$&UO})zO!P){Ok$sa(t$sa(u$sa!Y$sa#]$sa~Og$sa#}$sa~P$&wO#h0dO~Og%Ra!Y%Ra#]%Ra#}%Ra~P!0kO!d#vO~O#h0gO~O!Y+WOa)Pa'u)Pa~OR#zO}#yO!P#{O!i#xO([VOP!oi[!oio!oi!Y!oi!m!oi#O!oi#k!oi#l!oi#m!oi#n!oi#o!oi#p!oi#q!oi#r!oi#s!oi#u!oi#w!oi#y!oi#z!oi(m!oi(t!oi(u!oi~Oa!oi'u!oi's!oi!V!oi!h!ois!oi![!oi%f!oi!d!oi~P$(fOh%VOo%XOp$tOq$tOw%YOy%ZO{;nO!P${O![$|O!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(QTO(TUO([$uO(t$}O(u%PO~Om0pO(O0oO~P$*|O!d+cOa(Wa![(Wa'u(Wa!Y(Wa~O#h0vO~O[]X!YfX!ZfX~O!Y0wO!Z)TX~O!Z0yO~O[0zO~Ob0|O(O+kO(QTO(TUO~O![%}O(O%eO`'qX!Y'qX~O!Y+pO`)Sa~O!h1PO~P!9mO[1SO~O`1TO~O#]1WO~Ok1ZO![$|O~O(`(xO!Z)QP~Oh%VOk1dO![1aO%f1cO~O[1nO!Y1lO!Z)RX~O!Z1oO~O`1qOa%lO'u%lO~O(O#nO(QTO(TUO~O#P$dO#]$eO$P$eOP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX~O#s1tO&W1uOa(bX~P$0dO#]$eO#s1tO&W1uO~Oa1wO~P%[Oa1yO~O&a1|OP&_iQ&_iS&_iY&_ia&_id&_ie&_im&_io&_ip&_iq&_iw&_iy&_i{&_i!P&_i!T&_i!U&_i![&_i!f&_i!i&_i!l&_i!m&_i!n&_i!p&_i!r&_i!u&_i!y&_i#t&_i$V&_i%e&_i%g&_i%i&_i%j&_i%k&_i%n&_i%p&_i%s&_i%t&_i%v&_i&S&_i&Y&_i&[&_i&^&_i&`&_i&c&_i&i&_i&o&_i&q&_i&s&_i&u&_i&w&_i's&_i(O&_i(Q&_i(T&_i([&_i(j&_i(y&_i!Z&_ib&_i&f&_i~Ob2SO!Z2QO&f2RO~P`O![XO!i2UO~O&m,sOP&hiQ&hiS&hiY&hia&hid&hie&him&hio&hip&hiq&hiw&hiy&hi{&hi!P&hi!T&hi!U&hi![&hi!f&hi!i&hi!l&hi!m&hi!n&hi!p&hi!r&hi!u&hi!y&hi#t&hi$V&hi%e&hi%g&hi%i&hi%j&hi%k&hi%n&hi%p&hi%s&hi%t&hi%v&hi&S&hi&Y&hi&[&hi&^&hi&`&hi&c&hi&i&hi&o&hi&q&hi&s&hi&u&hi&w&hi's&hi(O&hi(Q&hi(T&hi([&hi(j&hi(y&hi!Z&hi&a&hib&hi&f&hi~O!V2[O~O!Y!^a!Z!^a~P#AbOp!nO!P!oO!X2bO(`!mO!Y'TX!Z'TX~P@YO!Y-TO!Z(da~O!Y'ZX!Z'ZX~P!8uO!Y-WO!Z(sa~O!Z2iO~P'_Oa%lO#]2rO'u%lO~Oa%lO!d#vO#]2rO'u%lO~Oa%lO!d#vO!m2vO#]2rO'u%lO(m'mO~Oa%lO'u%lO~P!9mO!Y$_Os$oa~O!V'Si!Y'Si~P!9mO!Y(RO!V(ci~O!Y(YO!V(qi~O!V(ri!Y(ri~P!9mO!Y(oi!h(oia(oi'u(oi~P!9mO#]2xO!Y(oi!h(oia(oi'u(oi~O!Y(fO!h(ni~O!P%fO![%gO!y]O#f2}O#g2|O(O%eO~O!P%fO![%gO#g2|O(O%eO~Ok3UO![']O%f3TO~Oh%VOk3UO![']O%f3TO~O#h%^aP%^aR%^a[%^aa%^ao%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a'u%^a([%^a(m%^a!h%^a!V%^a's%^as%^a![%^a%f%^a!d%^a~P#K^O#h%`aP%`aR%`a[%`aa%`ao%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a'u%`a([%`a(m%`a!h%`a!V%`a's%`as%`a![%`a%f%`a!d%`a~P#LPO#h%^aP%^aR%^a[%^aa%^ao%^a!Y%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a'u%^a([%^a(m%^a!h%^a!V%^a's%^a#]%^as%^a![%^a%f%^a!d%^a~P#.aO#h%`aP%`aR%`a[%`aa%`ao%`a!Y%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a'u%`a([%`a(m%`a!h%`a!V%`a's%`a#]%`as%`a![%`a%f%`a!d%`a~P#.aO#hzaPza[zaazaoza!iza!mza#Oza#kza#lza#mza#nza#oza#pza#qza#rza#sza#uza#wza#yza#zza'uza([za(mza!hza!Vza'szasza![za%fza!dza~P$%]O#h$qaP$qaR$qa[$qaa$qao$qa!i$qa!m$qa#O$qa#k$qa#l$qa#m$qa#n$qa#o$qa#p$qa#q$qa#r$qa#s$qa#u$qa#w$qa#y$qa#z$qa'u$qa([$qa(m$qa!h$qa!V$qa's$qas$qa![$qa%f$qa!d$qa~P$&UO#h$saP$saR$sa[$saa$sao$sa!i$sa!m$sa#O$sa#k$sa#l$sa#m$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#u$sa#w$sa#y$sa#z$sa'u$sa([$sa(m$sa!h$sa!V$sa's$sas$sa![$sa%f$sa!d$sa~P$&wO#h%RaP%RaR%Ra[%Raa%Rao%Ra!Y%Ra!i%Ra!m%Ra#O%Ra#k%Ra#l%Ra#m%Ra#n%Ra#o%Ra#p%Ra#q%Ra#r%Ra#s%Ra#u%Ra#w%Ra#y%Ra#z%Ra'u%Ra([%Ra(m%Ra!h%Ra!V%Ra's%Ra#]%Ras%Ra![%Ra%f%Ra!d%Ra~P#.aOa#`q!Y#`q'u#`q's#`q!V#`q!h#`qs#`q![#`q%f#`q!d#`q~P!9mO!X3^O!Y'UX!h'UX~P%[O!Y.lO!h(fa~O!Y.lO!h(fa~P!9mO!V3aO~O#}!ka!Z!ka~PKPO#}!ga!Y!ga!Z!ga~P#AbO#}!oa!Z!oa~P!<TO#}!qa!Z!qa~P!>kOg'XX!Y'XX~P!+hO!Y.wOg(ka~OSfO![3uO$c3vO~O!Z3zO~Os3{O~P#.aOa$lq!Y$lq'u$lq's$lq!V$lq!h$lqs$lq![$lq%f$lq!d$lq~P!9mO!V3|O~P#.aO})zO!P){O(u%POk'ea(t'ea!Y'ea#]'ea~Og'ea#}'ea~P%)nO})zO!P){Ok'ga(t'ga(u'ga!Y'ga#]'ga~Og'ga#}'ga~P%*aO(m$YO~P#.aO!VfX!V$xX!YfX!Y$xX!d%PX#]fX~P!/gO(O<QO~P!1YOmkO(O4OO~P.iO!P%fO!X4QO![%gO(O%eO!Y'aX!h'aX~O!Y/hO!h(za~O!Y/hO!d#vO!h(za~O!Y/hO!d#vO(m'mO!h(za~Og$zi!Y$zi#]$zi#}$zi~P!0kO!X4YO!V'cX!Y'cX~P!3XO!Y/pO!V({a~O!Y/pO!V({a~P#.aO!d#vO#s4bO~Oo4eO!d#vO(m'mO~O!P4hO(`!mO~O(t$}Ok%^i}%^i!P%^i(u%^i!Y%^i#]%^i~Og%^i#}%^i~P%.wO(u%POk%`i}%`i!P%`i(t%`i!Y%`i#]%`i~Og%`i#}%`i~P%/jOg(Yi!Y(Yi~P!0kO#]4mOg(Yi!Y(Yi~P!0kO!h4pO~Oa$mq!Y$mq'u$mq's$mq!V$mq!h$mqs$mq![$mq%f$mq!d$mq~P!9mO!V4tO~O!Y4uO![(|X~P#.aOa$xX![$xX%Z]X'u$xX!Y$xX~P!/gO%Z4xOalXklX}lX!PlX![lX'ulX(tlX(ulX!YlX~O%Z4xO~Ob5OO%g5PO(O+kO(QTO(TUO!Y'pX!Z'pX~O!Y0wO!Z)Ta~O[5TO~O`5UO~Oa%lO'u%lO~P#.aO![$|O~P#.aO!Y5^O#]5`O!Z)QX~O!Z5aO~Oo5hOp!nO!P5bO!_!yO!`!vO!a!vO!y;QO#Q!pO#R!pO#S!pO#T!pO#U!pO#X5gO#Y!zO(P!lO(QTO(TUO(`!mO(j!sO~O!Z5fO~P%4tOk5mO![1aO%f5lO~Oh%VOk5mO![1aO%f5lO~Ob5tO(O#nO(QTO(TUO!Y'oX!Z'oX~O!Y1lO!Z)Ra~O(QTO(TUO(`5vO~O`5zO~O#s5}O&W6OO~PMlO!h6PO~P%[Oa6RO~Oa6RO~P%[Ob2SO!Z6WO&f2RO~P`O!d6YO~O!d6[Oh(ei!Y(ei!Z(ei!d(ei!i(ei~O!Y#ei!Z#ei~P#AbO#]6]O!Y#ei!Z#ei~O!Y!^i!Z!^i~P#AbOa%lO#]6fO'u%lO~Oa%lO!d#vO#]6fO'u%lO~O!Y(oq!h(oqa(oq'u(oq~P!9mO!Y(fO!h(nq~O!P%fO![%gO#g6mO(O%eO~O![']O%f6pO~Ok6tO![']O%f6pO~O#h'eaP'eaR'ea['eaa'eao'ea!i'ea!m'ea#O'ea#k'ea#l'ea#m'ea#n'ea#o'ea#p'ea#q'ea#r'ea#s'ea#u'ea#w'ea#y'ea#z'ea'u'ea(['ea(m'ea!h'ea!V'ea's'eas'ea!['ea%f'ea!d'ea~P%)nO#h'gaP'gaR'ga['gaa'gao'ga!i'ga!m'ga#O'ga#k'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#u'ga#w'ga#y'ga#z'ga'u'ga(['ga(m'ga!h'ga!V'ga's'gas'ga!['ga%f'ga!d'ga~P%*aO#h$ziP$ziR$zi[$zia$zio$zi!Y$zi!i$zi!m$zi#O$zi#k$zi#l$zi#m$zi#n$zi#o$zi#p$zi#q$zi#r$zi#s$zi#u$zi#w$zi#y$zi#z$zi'u$zi([$zi(m$zi!h$zi!V$zi's$zi#]$zis$zi![$zi%f$zi!d$zi~P#.aO#h%^iP%^iR%^i[%^ia%^io%^i!i%^i!m%^i#O%^i#k%^i#l%^i#m%^i#n%^i#o%^i#p%^i#q%^i#r%^i#s%^i#u%^i#w%^i#y%^i#z%^i'u%^i([%^i(m%^i!h%^i!V%^i's%^is%^i![%^i%f%^i!d%^i~P%.wO#h%`iP%`iR%`i[%`ia%`io%`i!i%`i!m%`i#O%`i#k%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#u%`i#w%`i#y%`i#z%`i'u%`i([%`i(m%`i!h%`i!V%`i's%`is%`i![%`i%f%`i!d%`i~P%/jO!Y'Ua!h'Ua~P!9mO!Y.lO!h(fi~O#}#`i!Y#`i!Z#`i~P#AbOP$[OR#zO}#yO!P#{O!i#xO!m$[O([VO[#jio#ji#O#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#k#ji~P%G^O#k;YO~P%G^OP$[OR#zOo;fO}#yO!P#{O!i#xO!m$[O#k;YO#l;ZO#m;ZO#n;ZO([VO[#ji#O#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#o#ji~P%IfO#o;[O~P%IfOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O([VO#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#u#ji~P%KnOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O([VO(u#}O#y#ji#z#ji#}#ji(m#ji(t#ji!Y#ji!Z#ji~O#w;`O~P%MoO#w#ji~P%MoO#u;^O~P%KnOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O#w;`O([VO(t#|O(u#}O#z#ji#}#ji(m#ji!Y#ji!Z#ji~O#y#ji~P&!OO#y;bO~P&!OOa#{y!Y#{y'u#{y's#{y!V#{y!h#{ys#{y![#{y%f#{y!d#{y~P!9mO[#jio#ji#O#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji!Y#ji!Z#ji~OP$[OR#zO}#yO!P#{O!i#xO!m$[O#k;YO#l;ZO#m;ZO#n;ZO([VO(t#ji(u#ji~P&$zOk=VO})zO!P){O(t$}O(u%POP#jiR#ji!i#ji!m#ji#k#ji#l#ji#m#ji#n#ji([#ji~P&$zO#P$dOP(ZXR(ZX[(ZXk(ZXo(ZX}(ZX!P(ZX!i(ZX!m(ZX#O(ZX#k(ZX#l(ZX#m(ZX#n(ZX#o(ZX#p(ZX#q(ZX#r(ZX#s(ZX#u(ZX#w(ZX#y(ZX#z(ZX#}(ZX([(ZX(m(ZX(t(ZX(u(ZX!Y(ZX!Z(ZX~O#}$Oi!Y$Oi!Z$Oi~P#AbO#}!oi!Z!oi~P$(fOg'Xa!Y'Xa~P!0kO!Z7WO~O!Y'`a!Z'`a~P#AbOP]XR]X[]Xo]X}]X!P]X!V]X!Y]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X~O!d%WX#s%WX~P&+QO!d#vO(m'mO!Y'aa!h'aa~O!Y/hO!h(zi~O!Y/hO!d#vO!h(zi~Og$zq!Y$zq#]$zq#}$zq~P!0kO!V'ca!Y'ca~P#.aO!d7_O~O!Y/pO!V({i~P#.aO!Y/pO!V({i~O!V7cO~O!d#vO#s7hO~Oo7iO!d#vO(m'mO~O})zO!P){O(u%POk'fa(t'fa!Y'fa#]'fa~Og'fa#}'fa~P&/pO})zO!P){Ok'ha(t'ha(u'ha!Y'ha#]'ha~Og'ha#}'ha~P&0cO!V7lO~Og$|q!Y$|q#]$|q#}$|q~P!0kOa$my!Y$my'u$my's$my!V$my!h$mys$my![$my%f$my!d$my~P!9mO!d6[O~O!Y4uO![(|a~O![']OP$SaR$Sa[$Sao$Sa}$Sa!P$Sa!Y$Sa!i$Sa!m$Sa#O$Sa#k$Sa#l$Sa#m$Sa#n$Sa#o$Sa#p$Sa#q$Sa#r$Sa#s$Sa#u$Sa#w$Sa#y$Sa#z$Sa([$Sa(m$Sa(t$Sa(u$Sa~O%f6pO~P&2lOa#`y!Y#`y'u#`y's#`y!V#`y!h#`ys#`y![#`y%f#`y!d#`y~P!9mO[7qO~Ob7sO(O+kO(QTO(TUO~O!Y0wO!Z)Ti~O`7wO~O(`(xO!Y'lX!Z'lX~O!Y5^O!Z)Qa~O!Z8QO~P%4tOp!nO!P8RO(QTO(TUO(`!mO(j!sO~O#X8SO~O![1aO~O![1aO%f8UO~Ok8XO![1aO%f8UO~O[8^O!Y'oa!Z'oa~O!Y1lO!Z)Ri~O!h8bO~O!h8cO~O!h8fO~O!h8fO~P%[Oa8hO~O!d8iO~O!h8jO~O!Y(ri!Z(ri~P#AbOa%lO#]8rO'u%lO~O!Y(oy!h(oya(oy'u(oy~P!9mO!Y(fO!h(ny~O%f8uO~P&2lO![']O%f8uO~O#h$zqP$zqR$zq[$zqa$zqo$zq!Y$zq!i$zq!m$zq#O$zq#k$zq#l$zq#m$zq#n$zq#o$zq#p$zq#q$zq#r$zq#s$zq#u$zq#w$zq#y$zq#z$zq'u$zq([$zq(m$zq!h$zq!V$zq's$zq#]$zqs$zq![$zq%f$zq!d$zq~P#.aO#h'faP'faR'fa['faa'fao'fa!i'fa!m'fa#O'fa#k'fa#l'fa#m'fa#n'fa#o'fa#p'fa#q'fa#r'fa#s'fa#u'fa#w'fa#y'fa#z'fa'u'fa(['fa(m'fa!h'fa!V'fa's'fas'fa!['fa%f'fa!d'fa~P&/pO#h'haP'haR'ha['haa'hao'ha!i'ha!m'ha#O'ha#k'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#u'ha#w'ha#y'ha#z'ha'u'ha(['ha(m'ha!h'ha!V'ha's'has'ha!['ha%f'ha!d'ha~P&0cO#h$|qP$|qR$|q[$|qa$|qo$|q!Y$|q!i$|q!m$|q#O$|q#k$|q#l$|q#m$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#u$|q#w$|q#y$|q#z$|q'u$|q([$|q(m$|q!h$|q!V$|q's$|q#]$|qs$|q![$|q%f$|q!d$|q~P#.aO!Y'Ui!h'Ui~P!9mO#}#`q!Y#`q!Z#`q~P#AbO(t$}OP%^aR%^a[%^ao%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a#}%^a([%^a(m%^a!Y%^a!Z%^a~Ok%^a}%^a!P%^a(u%^a~P&CoO(u%POP%`aR%`a[%`ao%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a#}%`a([%`a(m%`a!Y%`a!Z%`a~Ok%`a}%`a!P%`a(t%`a~P&EsOk=VO})zO!P){O(u%PO~P&CoOk=VO})zO!P){O(t$}O~P&EsOR0`O}0`O!P0aO#P$dOPza[zakzaoza!iza!mza#Oza#kza#lza#mza#nza#oza#pza#qza#rza#sza#uza#wza#yza#zza#}za([za(mza(tza(uza!Yza!Zza~O})zO!P){OP$qaR$qa[$qak$qao$qa!i$qa!m$qa#O$qa#k$qa#l$qa#m$qa#n$qa#o$qa#p$qa#q$qa#r$qa#s$qa#u$qa#w$qa#y$qa#z$qa#}$qa([$qa(m$qa(t$qa(u$qa!Y$qa!Z$qa~O})zO!P){OP$saR$sa[$sak$sao$sa!i$sa!m$sa#O$sa#k$sa#l$sa#m$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#u$sa#w$sa#y$sa#z$sa#}$sa([$sa(m$sa(t$sa(u$sa!Y$sa!Z$sa~Ok=VO})zO!P){O(t$}O(u%PO~OP%RaR%Ra[%Rao%Ra!i%Ra!m%Ra#O%Ra#k%Ra#l%Ra#m%Ra#n%Ra#o%Ra#p%Ra#q%Ra#r%Ra#s%Ra#u%Ra#w%Ra#y%Ra#z%Ra#}%Ra([%Ra(m%Ra!Y%Ra!Z%Ra~P&NlO#}$lq!Y$lq!Z$lq~P#AbO#}$mq!Y$mq!Z$mq~P#AbO!Z9SO~O#}9TO~P!0kO!d#vO!Y'ai!h'ai~O!d#vO(m'mO!Y'ai!h'ai~O!Y/hO!h(zq~O!V'ci!Y'ci~P#.aO!Y/pO!V({q~Oo9[O!d#vO(m'mO~O!V9]O~P#.aO!V9]O~O!d#vO#s9bO~Og(Yy!Y(Yy~P!0kO!Y'ja!['ja~P#.aOa%Yq![%Yq'u%Yq!Y%Yq~P#.aO[9dO~O!Y0wO!Z)Tq~O#]9hO!Y'la!Z'la~O!Y5^O!Z)Qi~P#AbO!P4hO~O![1aO%f9lO~O(QTO(TUO(`9qO~O!Y1lO!Z)Rq~O!h9tO~O!h9uO~O!h9vO~O!h9vO~P%[O#]9yO!Y#ey!Z#ey~O!Y#ey!Z#ey~P#AbO%f:OO~P&2lO![']O%f:OO~O#}#{y!Y#{y!Z#{y~P#AbOP$ziR$zi[$zio$zi!i$zi!m$zi#O$zi#k$zi#l$zi#m$zi#n$zi#o$zi#p$zi#q$zi#r$zi#s$zi#u$zi#w$zi#y$zi#z$zi#}$zi([$zi(m$zi!Y$zi!Z$zi~P&NlO})zO!P){O(u%POP'eaR'ea['eak'eao'ea!i'ea!m'ea#O'ea#k'ea#l'ea#m'ea#n'ea#o'ea#p'ea#q'ea#r'ea#s'ea#u'ea#w'ea#y'ea#z'ea#}'ea(['ea(m'ea(t'ea!Y'ea!Z'ea~O})zO!P){OP'gaR'ga['gak'gao'ga!i'ga!m'ga#O'ga#k'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#u'ga#w'ga#y'ga#z'ga#}'ga(['ga(m'ga(t'ga(u'ga!Y'ga!Z'ga~O(t$}OP%^iR%^i[%^ik%^io%^i}%^i!P%^i!i%^i!m%^i#O%^i#k%^i#l%^i#m%^i#n%^i#o%^i#p%^i#q%^i#r%^i#s%^i#u%^i#w%^i#y%^i#z%^i#}%^i([%^i(m%^i(u%^i!Y%^i!Z%^i~O(u%POP%`iR%`i[%`ik%`io%`i}%`i!P%`i!i%`i!m%`i#O%`i#k%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#u%`i#w%`i#y%`i#z%`i#}%`i([%`i(m%`i(t%`i!Y%`i!Z%`i~O#}$my!Y$my!Z$my~P#AbO#}#`y!Y#`y!Z#`y~P#AbO!d#vO!Y'aq!h'aq~O!Y/hO!h(zy~O!V'cq!Y'cq~P#.aOo:YO!d#vO(m'mO~O!V:ZO~P#.aO!V:ZO~O!Y0wO!Z)Ty~O!Y5^O!Z)Qq~O![1aO%f:cO~O!h:fO~O%f:kO~P&2lOP$zqR$zq[$zqo$zq!i$zq!m$zq#O$zq#k$zq#l$zq#m$zq#n$zq#o$zq#p$zq#q$zq#r$zq#s$zq#u$zq#w$zq#y$zq#z$zq#}$zq([$zq(m$zq!Y$zq!Z$zq~P&NlO})zO!P){O(u%POP'faR'fa['fak'fao'fa!i'fa!m'fa#O'fa#k'fa#l'fa#m'fa#n'fa#o'fa#p'fa#q'fa#r'fa#s'fa#u'fa#w'fa#y'fa#z'fa#}'fa(['fa(m'fa(t'fa!Y'fa!Z'fa~O})zO!P){OP'haR'ha['hak'hao'ha!i'ha!m'ha#O'ha#k'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#u'ha#w'ha#y'ha#z'ha#}'ha(['ha(m'ha(t'ha(u'ha!Y'ha!Z'ha~OP$|qR$|q[$|qo$|q!i$|q!m$|q#O$|q#k$|q#l$|q#m$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#u$|q#w$|q#y$|q#z$|q#}$|q([$|q(m$|q!Y$|q!Z$|q~P&NlOg%b!Z!Y%b!Z#]%b!Z#}%b!Z~P!0kOo:oO!d#vO(m'mO~O!V:pO~P#.aO!Y'lq!Z'lq~P#AbO!Y#e!Z!Z#e!Z~P#AbO#h%b!ZP%b!ZR%b!Z[%b!Za%b!Zo%b!Z!Y%b!Z!i%b!Z!m%b!Z#O%b!Z#k%b!Z#l%b!Z#m%b!Z#n%b!Z#o%b!Z#p%b!Z#q%b!Z#r%b!Z#s%b!Z#u%b!Z#w%b!Z#y%b!Z#z%b!Z'u%b!Z([%b!Z(m%b!Z!h%b!Z!V%b!Z's%b!Z#]%b!Zs%b!Z![%b!Z%f%b!Z!d%b!Z~P#.aOo:xO!d#vO(m'mO~OP%b!ZR%b!Z[%b!Zo%b!Z!i%b!Z!m%b!Z#O%b!Z#k%b!Z#l%b!Z#m%b!Z#n%b!Z#o%b!Z#p%b!Z#q%b!Z#r%b!Z#s%b!Z#u%b!Z#w%b!Z#y%b!Z#z%b!Z#}%b!Z([%b!Z(m%b!Z!Y%b!Z!Z%b!Z~P&NlOs(aX~P1qO}%pO~P!(oO(P!lO~P!(oO!VfX!YfX#]fX~P&+QOP]XR]X[]Xo]X}]X!P]X!Y]X!YfX!i]X!m]X#O]X#P]X#]]X#]fX#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X~O!dfX!h]X!hfX(mfX~P'BxOP;POQ;POSfOd<zOe!iOmkOo;POpkOqkOwkOy;PO{;PO!PWO!TkO!UkO![XO!f;SO!iZO!l;PO!m;PO!n;PO!p;TO!r;WO!u!hO$V!kO(O)XO(QTO(TUO([VO(j[O(y<xO~O!Y;dO!Z$oa~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;oO!P${O![$|O!f=PO!i$xO#g;uO$V%_O$r;qO$t;sO$w%`O(O(rO(QTO(TUO([$uO(t$}O(u%PO~O#t)`O~P'GnOo!bX(m!bX~P# ZO!Z]X!ZfX~P'BxO!VfX!V$xX!YfX!Y$xX#]fX~P!/gO#h;XO~O!d#vO#h;XO~O#];iO~O#s;]O~O#];xO!Y(rX!Z(rX~O#];iO!Y(pX!Z(pX~O#h;yO~Og;{O~P!0kO#h<RO~O#h<SO~O!d#vO#h<TO~O!d#vO#h;yO~O#}<UO~P#AbO#h<VO~O#h<WO~O#h<]O~O#h<^O~O#h<_O~O#h<`O~O#}<aO~P!0kO#}<bO~P!0kO#P#Q#R#T#U#X#f#g#r(y$r$t$w%Z%e%f%g%n%p%s%t%v%x~'yT#l!U'w(P#mp#k#no}'x$['x(O$^(`~",goto:"$4Q)XPPPPPP)YPP)]P)nP+O/PPPPP5xPP6`PP<V?mP@QP@QPPP@QPBRP@QP@QP@QPBVPB[PByPGrPPPGvPPPPGvJxPPPKOKzPGvPGvPPNYGvPPPGvPGvP!!aGvP!%v!&{!'UP!'x!'|!'x!+YPPPPPPP!+y!&{PP!,Z!-gP!0jGvGv!0o!3z!8b!8b!<`PPP!<hGvPPPPPPPPPPP!?vP!ATPPGv!BfPGvPGvGvGvGvGvPGv!CxP!GRP!JWP!J[!Jf!Jj!JjP!GOP!Jn!JnP!MsP!MwGvGv!M}##RBV@QP@QP@Q@QP#$_@Q@Q#&j@Q#)Z@Q#+`@Q@Q#,O#.]#.]#.b#.k#.]#.wP#.]P@Q#/a@Q#3S@Q@Q5xPPP#6{PPP#7f#7fP#7fP#7|#7fPP#8SP#7yP#7y#8g#7y#9R#9X5u)]#9[)]P#9c#9c#9cP)]P)]P)]P)]PP)]P#9i#9lP#9l)]P#9pP#9sP)]P)]P)]P)]P)]P)])]PP#9y#:P#:[#:b#:h#:n#:t#;S#;Y#;d#;j#;t#;z#<[#<b#=S#=f#=l#=r#>Q#>g#@V#@e#@l#BR#Ba#C|#D[#Db#Dh#Dn#Dx#EO#EU#E`#Er#ExPPPPPPPPPP#FOPPPPPPP#Fs#Iz#KZ#Kb#KjPPP$!sP$!|$%t$,^$,a$,d$-P$-S$-Z$-cP$-i$-lP$.Y$.^$/U$0d$0i$1PPP$1U$1[$1`P$1c$1g$1k$2a$2x$3a$3e$3h$3k$3q$3t$3x$3|R!|RoqOXst!Z#d%k&o&q&r&t,k,p1|2PY!vQ']-]1a5eQ%rvQ%zyQ&R|Q&g!VS'T!e-TQ'c!iS'i!r!yU*e$|*V*jQ+i%{Q+v&TQ,[&aQ-Z'[Q-e'dQ-m'jQ0R*lQ1k,]R;v;T%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8rS#q];Q!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{U*y%[;n;oQ+n%}Q,^&dQ,e&lQ0m+aQ0q+cQ0|+oQ1s,cQ3Q._Q5O0wQ5t1lQ6r3UQ7s5PR8x6t'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{t!nQ!r!v!y!z'T'[']'i'j'k-T-Z-]-m1a5e5g$|$ti#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VQ&U|Q'R!eU'X%g*V-WQ+n%}Q,^&dQ0c*|Q0|+oQ1R+uQ1r,bQ1s,cQ5O0wQ5X1TQ5t1lQ5w1nQ5x1qQ7s5PQ7v5UQ8a5zQ9g7wR9r8^rnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PR,`&h&x^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<z<{[#]WZ#W#Z'U(P!b%hm#h#i#l$x%c%f(Y(d(e(f*U*Y*]+T+U+W,g,}-{.R.S.T.V/e/h2U2|2}4Q6[6mQ%uxQ%yyS&O|&TQ&[!TQ'`!hQ'b!iQ(m#sS+h%z%{Q+l%}Q,V&_Q,Z&aS-d'c'dQ.a(nQ0u+iQ0{+oQ0}+pQ1Q+tQ1f,WS1j,[,]Q2n-eQ4}0wQ5R0zQ5W1SQ5s1kQ7r5PQ7u5TQ9c7qR:^9d!O$zi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R!S%wy!i!u%y%z%{'S'b'c'd'h'r*d+h+i-Q-d-e-l/y0u2g2n2u4dQ+b%uQ+{&XQ,O&YQ,Y&aQ.`(mQ1e,VU1i,Z,[,]Q3V.aQ5n1fS5r1j1kQ8]5s#^<|#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vo<};g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bW%Ti%V*t<xS&X!Q&fQ&Y!RQ&Z!SR+y&V$}%Si#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VT)v$u)wV*y%[;n;oW'X!e%g*V-WS(y#y#zQ+]%pQ+s&QS.Y(i(jQ1[,PQ4n0`R7{5^'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{$i$^c#Y#e%o%q%s(O(U(p(u(})O)P)Q)R)S)T)U)V)W)Y)[)^)c)m+^+r-R-p-u-z-|.k.n.r.t.u.v/X0e2]2`2p2w3]3b3c3d3e3f3g3h3i3j3k3l3m3n3q3r3y4r4{6_6e6j6y6z7T7U7}8l8p8z9Q9R9{:`:g;R<oT#TV#U'PkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q'V!eR2c-Tv!nQ!e!r!v!y!z'T'[']'i'j'k-T-Z-]-m1a5e5gU*d$|*V*jS/y*e*lQ0S*mQ1^,RQ4d0RR4g0UnqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&v!^Q's!xS(o#u;XQ+f%xQ,T&[Q,U&^Q-b'aQ-o'lS.j(t;yS0f+R<TQ0s+gQ1`,SQ2T,rQ2V,sQ2_-OQ2l-cQ2o-gS4s0g<_Q4y0tS4|0v<`Q6^2aQ6b2mQ6g2tQ7p4zQ8m6`Q8n6cQ8q6hR9x8j$d$]c#Y#e%q%s(O(U(p(u(})O)P)Q)R)S)T)U)V)W)Y)[)^)c)m+^+r-R-p-u-z-|.k.n.r.u.v/X0e2]2`2p2w3]3b3c3d3e3f3g3h3i3j3k3l3m3n3q3r3y4r4{6_6e6j6y6z7T7U7}8l8p8z9Q9R9{:`:g;R<oS(k#p'fQ({#zS+[%o.tS.Z(j(lR3O.['OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{S#q];QQ&q!XQ&r!YQ&t![Q&u!]R1{,nQ'^!hQ+_%uQ-`'`S.](m+bQ2j-_W3S.`.a0l0nQ6a2kW6n3P3R3V4wU8t6o6q6sU9}8v8w8yS:i9|:PQ:t:jR:z:uU!wQ']-]T5c1a5e!Q_OXZ`st!V!Z#d#h%c%k&f&h&o&q&r&t(f,k,p.S1|2P]!pQ!r']-]1a5eT#q];Q%[{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rS(y#y#zS.Y(i(j!s<f$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{U$fd)Z,eS(l#p'fU*q%R(s3pU0b*x.f7PQ4w0mQ6o3QQ8w6rR:P8xm!tQ!r!v!y!z']'i'j'k-]-m1a5e5gQ'q!uS(b#g1vS-k'h'tQ/k*XQ/w*dQ2v-nQ4U/lS4_/x0SQ7Z4PS7f4e4gQ9V7[Q9Z7cQ9`7iS:X9[9]S:n:Y:ZS:w:o:pR:}:xQ#wbQ'p!uS(a#g1vS(c#m+QQ+S%dQ+d%vQ+j%|U-j'h'q'tQ.O(bQ/j*XQ/v*dQ/|*gQ0r+eQ1g,XS2s-k-nQ2{.WS4T/k/lS4^/w0SQ4a/{Q4c/}Q5p1hQ6i2vQ7Y4PQ7^4US7b4_4gQ7g4fQ8Z5qS9U7Z7[Q9Y7cQ9^7fQ9a7jQ9o8[Q:V9VS:W9Z9]Q:[9`Q:e9pS:m:X:ZS:v:n:pQ:|:wQ;O:}Q<i<dQ<t<mR<u<nV!wQ']-]%[aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rS#wz!j!r<c$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{R<i<z%[bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rQ%dj!S%vy!i!u%y%z%{'S'b'c'd'h'r*d+h+i-Q-d-e-l/y0u2g2n2u4dS%|z!jQ+e%wQ,X&aW1h,Y,Z,[,]U5q1i1j1kS8[5r5sQ9p8]!r<d$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q<m<yR<n<z%OeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rY#bWZ#W#Z(P!b%hm#h#i#l$x%c%f(Y(d(e(f*U*Y*]+T+U+W,g,}-{.R.S.T.V/e/h2U2|2}4Q6[6mQ,f&l!p<e$Z$n)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{R<h'UU'Y!e%g*VR2e-W%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8r!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q,e&lQ0m+aQ3Q._Q6r3UR8x6t!b$Tc#Y%o(O(U(p(u)V)W)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;R!P;_)Y)m-R.t2]2`3b3k3l3q3y6_6z7T7U7}8l8z9Q9R:`:g<o!f$Vc#Y%o(O(U(p(u)S)T)V)W)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;R!T;a)Y)m-R.t2]2`3b3h3i3k3l3q3y6_6z7T7U7}8l8z9Q9R:`:g<o!^$Zc#Y%o(O(U(p(u)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;RQ3}/cz<{)Y)m-R.t2]2`3b3q3y6_6z7T7U7}8l8z9Q9R:`:g<oQ=Q=SR=R=T'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{S$oh$pR3v.|'VgOPWXYZhstuvw!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%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.|.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{T$kf$qQ$ifS)f$l)jR)r$qT$jf$qT)h$l)j'VhOPWXYZhstuvw!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%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.|.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{T$oh$pQ$rhR)q$p%[jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8r!s<y$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{#elOPXZst!Z!`!o#S#d#o#{$n%k&h&k&l&o&q&r&t&x'Q'_(z)o+V+a,h,k,p-a._.}/f0a1d1t1u1w1y1|2P2R3U3u5b5m5}6O6R6t8R8X8h!O%Ri$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R#^(s#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=VQ*}%`Q/Y)zo3p;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!O$yi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=RQ*^$zU*g$|*V*jQ+O%aQ/}*h#^<k#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn<l;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bQ<p<|Q<q<}Q<r=OR<s=P!O%Ri$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R#^(s#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vo3p;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bnoOXst!Z#d%k&o&q&r&t,k,p1|2PS*a${*UQ,y&{Q,z&}R4X/p$|%Si#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VQ+|&YQ1Y,OQ5[1XR7z5]V*i$|*V*jU*i$|*V*jT5d1a5eU/{*f/f5bS4f0T8RR7j4hQ+d%vQ/|*gQ0r+eQ1g,XQ5p1hQ8Z5qQ9o8[R:e9p!O%Oi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=Rr)}$v)a*O*p+P/n0Z0[3s4V4q7X7k:U<j<v<wS0V*o0W#^;j#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn;k;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!`;|(q)_*W*`.b.e.i/U/Z/c/s0k1V1X3Y4W4[5Z5]6u6x7`7d7m7o9X9_:]:l=S=T`;}3o6{7O7S8{:Q:T:{S<X.d3ZT<Y6}9O!O%Qi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=Rv*P$v)a*Q*o+P/_/n0Z0[3s4V4i4q7X7k:U<j<v<wS0X*p0Y#^;l#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn;m;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!d<O(q)_*W*`.c.d.i/U/Z/c/s0k1V1X3W3Y4W4[5Z5]6u6v6x7`7d7m7o9X9_:]:l=S=Td<P3o6|6}7S8{8|:Q:R:T:{S<Z.e3[T<[7O9PrnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PQ&c!UR,h&lrnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PR&c!UQ,Q&ZR1U+ysnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PQ1b,VS5k1e1fU8T5i5j5nS9k8V8WS:a9j9mQ:q:bR:y:rQ&j!VR,a&fR5w1nS&O|&TR0}+pQ&o!WR,k&pR,q&uT1},p2PR,u&vQ,t&vR2W,uQ'v!{R-q'vSsOtQ#dXT%ns#dQ#OTR'x#OQ#RUR'z#RQ)w$uR/V)wQ#UVR'|#UQ#XWU(S#X(T-xQ(T#YR-x(UQ-U'VR2d-UQ.m(uS3_.m3`R3`.nQ-]']R2h-]Y!rQ']-]1a5eR'g!rQ.x)aR3t.xU#_W%f*UU(Z#_([-yQ([#`R-y(VQ-X'YR2f-Xt`OXst!V!Z#d%k&f&h&o&q&r&t,k,p1|2PS#hZ%cU#r`#h.SR.S(fQ(g#jQ.P(cW.X(g.P2y6kQ2y.QR6k2zQ)j$lR/O)jQ$phR)p$pQ$`cU)]$`-t;eQ-t;RR;e)mQ/i*XW4R/i4S7]9WU4S/j/k/lS7]4T4UR9W7^$Z)|$v(q)_)a*W*`*o*p*z*{+P.d.e.g.h.i/U/Z/_/a/c/n/s0Z0[0k1V1X3W3X3Y3o3s4V4W4[4i4k4q5Z5]6u6v6w6x6}7O7Q7R7S7X7`7d7k7m7o8{8|8}9X9_:Q:R:S:T:U:]:l:{<j<v<w=S=TQ/q*`U4Z/q4]7aQ4]/sR7a4[S*j$|*VR0P*jr*O$v)a*o*p+P/n0Z0[3s4V4q7X7k:U<j<v<w!`.b(q)_*W*`.d.e.i/U/Z/c/s0k1V1X3Y4W4[5Z5]6u6x7`7d7m7o9X9_:]:l=S=TU/`*O.b6{a6{3o6}7O7S8{:Q:T:{Q0W*oQ3Z.dU4j0W3Z9OR9O6}v*Q$v)a*o*p+P/_/n0Z0[3s4V4i4q7X7k:U<j<v<w!d.c(q)_*W*`.d.e.i/U/Z/c/s0k1V1X3W3Y4W4[5Z5]6u6v6x7`7d7m7o9X9_:]:l=S=TU/b*Q.c6|e6|3o6}7O7S8{8|:Q:R:T:{Q0Y*pQ3[.eU4l0Y3[9PR9P7OQ*u%UR0^*uQ4v0kR7n4vQ+X%iR0j+XQ5_1[S7|5_9iR9i7}Q,S&[R1_,SQ5e1aR8P5eQ1m,^S5u1m8_R8_5wQ0x+lW5Q0x5S7t9eQ5S0{Q7t5RR9e7uQ+q&OR1O+qQ2P,pR6V2PYrOXst#dQ&s!ZQ+Z%kQ,j&oQ,l&qQ,m&rQ,o&tQ1z,kS1},p2PR6U1|Q%mpQ&w!_Q&z!aQ&|!bQ'O!cQ'n!uQ+Y%jQ+f%xQ+x&UQ,`&jQ,w&yW-h'h'p'q'tQ-o'lQ0O*iQ0s+gS1p,a,dQ2X,vQ2Y,yQ2Z,zQ2o-gW2q-j-k-n-pQ4y0tQ5V1RQ5Y1VQ5o1gQ5y1rQ6T1{U6d2p2s2vQ6g2tQ7p4zQ7x5XQ7y5ZQ8O5dQ8Y5pQ8`5xS8o6e6iQ8q6hQ9f7vQ9n8ZQ9s8aQ9z8pQ:_9gQ:d9oQ:h9{R:s:eQ%xyQ'a!iQ'l!uU+g%y%z%{Q-O'SU-c'b'c'dS-g'h'rQ/u*dS0t+h+iQ2a-QS2m-d-eQ2t-lQ4`/yQ4z0uQ6`2gQ6c2nQ6h2uR7e4dS$wi<xR*v%VU%Ui%V<xR0]*tQ$viS(q#v+cS)_$b$cQ)a$dQ*W$xS*`${*UQ*o%OQ*p%QQ*z%]Q*{%^Q+P%bQ.d;jQ.e;lQ.g;pQ.h;rQ.i;tQ/U)uS/Z){/]Q/_)}Q/a*PQ/c*RQ/n*[S/s*b/eQ0Z*rQ0[*sh0k+`.^1c3T5l6p8U8u9l:O:c:kQ1V+zQ1X+}Q3W;|Q3X<OQ3Y<RS3o;g;hQ3s.wQ4V/oQ4W/pQ4[/rQ4i0VQ4k0XQ4q0dQ5Z1WQ5]1ZQ6u<VQ6v<XQ6w<ZQ6x<]Q6};kQ7O;mQ7Q;qQ7R;sQ7S;uQ7X3}Q7`4YQ7d4bQ7k4mQ7m4uQ7o4xQ8{<SQ8|;}Q8}<PQ9X7_Q9_7hQ:Q<WQ:R<YQ:S<[Q:T<^Q:U9TQ:]9bQ:l<aQ:{<bQ<j<xQ<v=QQ<w=RQ=S=UR=T=VQ*x%[Q.f;nR7P;onpOXst!Z#d%k&o&q&r&t,k,p1|2PQ!fPS#fZ#oQ&y!`U'e!o5b8RQ'{#SQ(|#{Q)n$nS,d&h&kQ,i&lQ,v&xQ,{'QQ-_'_Q.p(zQ/S)oS0h+V/fQ0n+aQ1x,hQ2k-aQ3R._Q3x.}Q4o0aQ5j1dQ5{1tQ5|1uQ6Q1wQ6S1yQ6X2RQ6s3UQ7V3uQ8W5mQ8d5}Q8e6OQ8g6RQ8y6tQ9m8XR9w8h#YcOPXZst!Z!`!o#d#o#{%k&h&k&l&o&q&r&t&x'Q'_(z+V+a,h,k,p-a._/f0a1d1t1u1w1y1|2P2R3U5b5m5}6O6R6t8R8X8hQ#YWQ#eYQ%ouQ%qvS%sw!gS(O#W(RQ(U#ZQ(p#uQ(u#xQ(}$OQ)O$PQ)P$QQ)Q$RQ)R$SQ)S$TQ)T$UQ)U$VQ)V$WQ)W$XQ)Y$ZQ)[$_Q)^$aQ)c$eW)m$n)o.}3uQ+^%rQ+r&PS-R'U2bQ-p'oS-u(P-wQ-z(XQ-|(`Q.k(tQ.n(vQ.r;PQ.t;SQ.u;TQ.v;WQ/X)yQ0e+RQ2],|Q2`-PQ2p-iQ2w-}Q3].lQ3b;XQ3c;YQ3d;ZQ3e;[Q3f;]Q3g;^Q3h;_Q3i;`Q3j;aQ3k;bQ3l;cQ3m.sQ3n;fQ3q;iQ3r;vQ3y;dQ4r0gQ4{0vQ6_;xQ6e2rQ6j2xQ6y3^Q6z;yQ7T;{Q7U<TQ7}5`Q8l6]Q8p6fQ8z<UQ9Q<_Q9R<`Q9{8rQ:`9hQ:g9yQ;R#SR<o<{R#[WR'W!el!tQ!r!v!y!z']'i'j'k-]-m1a5e5gS'S!e-TS-Q'T'[R2g-ZR(w#xQ!fQT-[']-]]!qQ!r']-]1a5eQ#p]R'f;QR)b$dY!uQ']-]1a5eQ'h!rS'r!v!yS't!z5gS-l'i'jQ-n'kR2u-mT#kZ%cS#jZ%cS%im,gU(c#h#i#lS.Q(d(eQ.U(fQ0i+WQ2z.RU2{.S.T.VS6l2|2}R8s6md#^W#W#Z%f(P(Y*U+T-{/er#gZm#h#i#l%c(d(e(f+W.R.S.T.V2|2}6mS*X$x*]Q/l*YQ1v,gQ2^,}Q4P/hQ6Z2UQ7[4QQ8k6[T<g'U+UV#aW%f*UU#`W%f*US(Q#W(YU(V#Z+T/eS-S'U+UT-v(P-{V'Z!e%g*VQ$lfR)t$qT)i$l)jR3w.|T*Z$x*]T*c${*UQ0l+`Q3P.^Q5i1cQ6q3TQ8V5lQ8v6pQ9j8UQ9|8uQ:b9lQ:j:OQ:r:cR:u:knqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&i!VR,`&ftmOXst!U!V!Z#d%k&f&o&q&r&t,k,p1|2PR,g&lT%jm,gR1],PR,_&dQ&S|R+w&TR+m%}T&m!W&pT&n!W&pT2O,p2P",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList 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 Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const 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 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 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:376,context:$pe,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[Lpe],skippedNodes:[0,5,6,274],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_$h&j(Rp(U!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$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(RpOY(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(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Rp(U!b'w0/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(S#S$h&j'x0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Rp(U!b'x0/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`$h&j!m),Q(Rp(U!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`#u(Ch$h&j(Rp(U!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_#u(Ch$h&j(Rp(U!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_(Q':f$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(U!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Rp(U!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$h&j(Rp(U!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$h&j(U!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&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(U!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$h&j(RpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(RpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Rp(U!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$h&j(j%1l(Rp(U!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$h&j(Rp(U!b$[#t(O,2j(`$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$h&j(Rp(U!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_`$h&j(Rp(U!b#m(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_$h&j$P(Ch(Rp(U!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(u+JY$h&j(Rp(U!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`$h&j#y(Ch(Rp(U!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_(T';W$h&j(RpOY!!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_$h&j(RpOY!!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$h&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]$c`$h&j(RpOY(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(RpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$c`(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!i/.^$h&j(Rp(U!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_!h!Lf$h&j(Rp(U!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$h&j(Rp(U!b(P%&f#n(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`$h&j(Rp(U!b#k(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!,|`$h&j(Rp(U!bo+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_!Y+Jf$h&j(Rp(U!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$h&j(Rp(U!b}.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$h&j(Rp(U!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_!X!L^$h&j(Rp(U!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$h&j(Rp(U!bp'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$h&j(Rp(U!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$h&j(Rp(U!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$h&j(Rp(U!bp'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$h&j(Rp(U!b#l(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$h&j(Rp(U!b!U7`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`$h&j(U!b!U7`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^$h&j!U7`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$h&j!U7`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!U7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!U7`#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][$h&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$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$h&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$h&j(U!b!U7`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(U!b!U7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(U!b!U7`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(U!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^$h&j(U!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`$h&j(Rp!U7`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$h&j(Rp!U7`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(Rp!U7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Rp!U7`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(RpOY#$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^$h&j(RpOY#%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$h&j(Rp(U!b!U7`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](Rp(U!b!U7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Rp(U!b!U7`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(Rp(U!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`$h&j(Rp(U!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$h&j(Rp(U!b'y0/l!U7`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_$h&j(Rp(U!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]$h&j(U!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$h&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(U!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]$h&j(RpT0/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(RpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Rp(U!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$h&j$P(Ch(Rp(U!b!U7`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$Y#t$h&j(Rp(U!b!U7`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$h&j(Rp(U!bp'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$h&j(Rp(U!bp'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_$h&j(Rp(U!bp'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$h&j(Rp(U!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$h&j(Rp(U!bp'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$h&j(Rp(U!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$h&j(Rp(U!bp'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$h&j(Rp(U!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$h&j(Rp(U!bp'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_!d$b$h&j#})Lv(Rp(U!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$h&j(Rp(U!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#)`#O-<U(Rp(U!b(y7`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$j&j(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#o(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$P(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#p(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#]*!Y$h&j(Rp(U!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_#h(Cl$h&j(Rp(U!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#p(Ch$e#|$h&j(Rp(U!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_#p(Ch$h&j(Rp(U!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#o(Ch$h&j(Rp(U!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`#o(Ch$h&j(Rp(U!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(m(Ct$h&j(Rp(U!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`$h&j#z(Ch(Rp(U!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%#`$,}_!y$Ip$h&j(Rp(U!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_!P0,v$h&j(Rp(U!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$h&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$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$h&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$h&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$h&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$h&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_!V#)l$h&j(Rp(U!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`#w(Ch$h&j(Rp(U!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_$h&j(Rp(U!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$h&j(Rp(U!b(O,2j$^#t(`$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$h&j(Rp(U!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(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(t+JY$h&j(Rp(U!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(Kd$?V_!Z(Cds`$h&j(Rp(U!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_!n7`$h&j(Rp(U!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|$h&j(Rp(U!b'w0/l$[#t(O,2j(`$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$h&j(Rp(U!b'x0/l$[#t(O,2j(`$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:[Dpe,Rpe,Ipe,2,3,4,5,6,7,8,9,10,11,12,13,14,Mpe,new fde("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOu~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!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(^~~",141,335),new fde("j~RQYZXz{^~^O'{~~aP!P!Qd~iO'|~~",25,318)],topRules:{Script:[0,7],SingleExpression:[1,272],SingleClassItem:[2,273]},dialects:{jsx:0,ts:14725},dynamicPrecedences:{77:1,79:1,91:1,167:1,196:1},specialized:[{term:322,get:e=>jpe[e]||-1},{term:338,get:e=>Bpe[e]||-1},{term:92,get:e=>Upe[e]||-1}],tokenPrec:14749}),Qpe=[pue("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),pue("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),pue("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),pue("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),pue("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),pue("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),pue("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),pue("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),pue("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),pue('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),pue('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],zpe=Qpe.concat([pue("interface ${name} {\n\t${}\n}",{label:"interface",detail:"definition",type:"keyword"}),pue("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),pue("enum ${name} {\n\t${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),qpe=new Rie,Hpe=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Vpe(e){return(t,r)=>{let n=t.node.getChild("VariableDefinition");return n&&r(n,e),!0}}const Zpe=["FunctionDeclaration"],Wpe={FunctionDeclaration:Vpe("function"),ClassDeclaration:Vpe("class"),ClassExpression:()=>!0,EnumDeclaration:Vpe("constant"),TypeAliasDeclaration:Vpe("type"),NamespaceDeclaration:Vpe("namespace"),VariableDefinition(e,t){e.matchContext(Zpe)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function Xpe(e,t){let r=qpe.get(t);if(r)return r;let n=[],a=!0;function o(t,r){let a=e.sliceString(t.from,t.to);n.push({label:a,type:r})}return t.cursor(fie.IncludeAnonymous).iterate((t=>{if(a)a=!1;else if(t.name){let e=Wpe[t.name];if(e&&e(t,o)||Hpe.has(t.name))return!1}else if(t.to-t.from>8192){for(let r of Xpe(e,t.node))n.push(r);return!1}})),qpe.set(t,n),n}const Gpe=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Ype=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function Kpe(e){let t=Pse(e.state).resolveInner(e.pos,-1);if(Ype.indexOf(t.name)>-1)return null;let r="VariableName"==t.name||t.to-t.from<20&&Gpe.test(e.state.sliceDoc(t.from,t.to));if(!r&&!e.explicit)return null;let n=[];for(let r=t;r;r=r.parent)Hpe.has(r.name)&&(n=n.concat(Xpe(e.state.doc,r)));return{options:n,from:r?t.from:e.pos,validFor:Gpe}}const Jpe=Cse.define({name:"javascript",parser:Fpe.configure({props:[Zse.add({IfStatement:tle({except:/^\s*({|else\b)/}),TryStatement:tle({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:e=>e.baseIndent,SwitchBody:e=>{let t=e.textAfter,r=/^\s*\}/.test(t),n=/^\s*(case|default)\b/.test(t);return e.baseIndent+(r?0:n?1:2)*e.unit},Block:Jse({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":tle({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=>e.column(e.node.from)+e.unit}),nle.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":ale,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),ehe={test:e=>/^JSX/.test(e.name),facet:_se({commentTokens:{block:{open:"{/*",close:"*/}"}}})},the=Jpe.configure({dialect:"ts"},"typescript"),rhe=Jpe.configure({dialect:"jsx",props:[Ese.add((e=>e.isTop?[ehe]:void 0))]}),nhe=Jpe.configure({dialect:"jsx ts",props:[Ese.add((e=>e.isTop?[ehe]:void 0))]},"typescript");let ahe=e=>({label:e,type:"keyword"});const ohe="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(ahe),ihe=ohe.concat(["declare","implements","private","protected","public"].map(ahe));function she(e={}){let t=e.jsx?e.typescript?nhe:rhe:e.typescript?the:Jpe,r=e.typescript?zpe.concat(ihe):Qpe.concat(ohe);return new Use(t,[Jpe.data.of({autocomplete:(n=Ype,a=hce(r),e=>{for(let t=Pse(e.state).resolveInner(e.pos,-1);t;t=t.parent){if(n.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return a(e)})}),Jpe.data.of({autocomplete:Kpe}),e.jsx?uhe:[]]);var n,a}function lhe(e,t,r=e.length){for(let n=null==t?void 0:t.firstChild;n;n=n.nextSibling)if("JSXIdentifier"==n.name||"JSXBuiltin"==n.name||"JSXNamespacedName"==n.name||"JSXMemberExpression"==n.name)return e.sliceString(n.from,Math.min(n.to,r));return""}const che="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),uhe=zae.inputHandler.of(((e,t,r,n,a)=>{if((che?e.composing:e.compositionStarted)||e.state.readOnly||t!=r||">"!=n&&"/"!=n||!Jpe.isActiveAt(e.state,t,-1))return!1;let o=a(),{state:i}=o,s=i.changeByRange((e=>{var t;let r,{head:a}=e,o=Pse(i).resolveInner(a-1,-1);if("JSXStartTag"==o.name&&(o=o.parent),i.doc.sliceString(a-1,a)!=n||"JSXAttributeValue"==o.name&&o.to>a);else{if(">"==n&&"JSXFragmentTag"==o.name)return{range:e,changes:{from:a,insert:"</>"}};if("/"==n&&"JSXStartCloseTag"==o.name){let e=o.parent,n=e.parent;if(n&&e.from==a-2&&((r=lhe(i.doc,n.firstChild,a))||"JSXFragmentTag"==(null===(t=n.firstChild)||void 0===t?void 0:t.name))){let e=`${r}>`;return{range:M9.cursor(a+e.length,-1),changes:{from:a,insert:e}}}}else if(">"==n){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(o);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(i.doc.sliceString(a,a+2))&&(r=lhe(i.doc,t,a)))return{range:e,changes:{from:a,insert:`</${r}>`}}}}return{range:e}}));return!s.changes.empty&&(e.dispatch([o,i.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})),dhe=["_blank","_self","_top","_parent"],phe=["ascii","utf-8","utf-16","latin1","latin1"],hhe=["get","post","put","delete"],fhe=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],mhe=["true","false"],ghe={},bhe={a:{attrs:{href:null,ping:null,type:null,media:null,target:dhe,hreflang:null}},abbr:ghe,address:ghe,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:ghe,aside:ghe,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:ghe,base:{attrs:{href:null,target:dhe}},bdi:ghe,bdo:ghe,blockquote:{attrs:{cite:null}},body:ghe,br:ghe,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:fhe,formmethod:hhe,formnovalidate:["novalidate"],formtarget:dhe,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:ghe,center:ghe,cite:ghe,code:ghe,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:ghe,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:ghe,div:ghe,dl:ghe,dt:ghe,em:ghe,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:ghe,figure:ghe,footer:ghe,form:{attrs:{action:null,name:null,"accept-charset":phe,autocomplete:["on","off"],enctype:fhe,method:hhe,novalidate:["novalidate"],target:dhe}},h1:ghe,h2:ghe,h3:ghe,h4:ghe,h5:ghe,h6:ghe,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:ghe,hgroup:ghe,hr:ghe,html:{attrs:{manifest:null}},i:ghe,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:fhe,formmethod:hhe,formnovalidate:["novalidate"],formtarget:dhe,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:ghe,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:ghe,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:ghe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:phe,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:ghe,noscript:ghe,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:ghe,param:{attrs:{name:null,value:null}},pre:ghe,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:ghe,rt:ghe,ruby:ghe,samp:ghe,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:phe}},section:ghe,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:ghe,source:{attrs:{src:null,type:null,media:null}},span:ghe,strong:ghe,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:ghe,summary:ghe,sup:ghe,table:ghe,tbody:ghe,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:ghe,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:ghe,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:ghe,time:{attrs:{datetime:null}},title:ghe,tr:ghe,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:ghe,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:ghe},vhe={accesskey:null,class:null,contenteditable:mhe,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:mhe,autocorrect:mhe,autocapitalize:mhe,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":mhe,"aria-autocomplete":["inline","list","both","none"],"aria-busy":mhe,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":mhe,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":mhe,"aria-hidden":mhe,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":mhe,"aria-multiselectable":mhe,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":mhe,"aria-relevant":null,"aria-required":mhe,"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},yhe="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 yhe)vhe[e]=null;let Ohe=class{constructor(e,t){this.tags=Object.assign(Object.assign({},bhe),e),this.globalAttrs=Object.assign(Object.assign({},vhe),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};function whe(e,t,r=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,r)):""}function xhe(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function khe(e,t,r){let n=r.tags[whe(e,xhe(t))];return(null==n?void 0:n.children)||r.allTags}function She(e,t){let r=[];for(let n=xhe(t);n&&!n.type.isTop;n=xhe(n.parent)){let a=whe(e,n);if(a&&"CloseTag"==n.lastChild.name)break;a&&r.indexOf(a)<0&&("EndTag"==t.name||t.from>=n.firstChild.to)&&r.push(a)}return r}Ohe.default=new Ohe;const _he=/^[:\-\.\w\u00b7-\uffff]*$/;function Ehe(e,t,r,n,a){let o=/\s*>/.test(e.sliceDoc(a,a+5))?"":">",i=xhe(r,!0);return{from:n,to:a,options:khe(e.doc,i,t).map((e=>({label:e,type:"type"}))).concat(She(e.doc,r).map(((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t})))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function The(e,t,r,n){let a=/\s*>/.test(e.sliceDoc(n,n+5))?"":">";return{from:r,to:n,options:She(e.doc,t).map(((e,t)=>({label:e,apply:e+a,type:"type",boost:99-t}))),validFor:_he}}function Ahe(e){let{extraTags:t,extraGlobalAttributes:r}=e,n=r||t?new Ohe(t,r):Ohe.default;return e=>function(e,t){let{state:r,pos:n}=t,a=Pse(r).resolveInner(n,-1),o=a.resolve(n);for(let e,t=n;o==a&&(e=a.childBefore(t));){let r=e.lastChild;if(!r||!r.type.isError||r.from<r.to)break;o=a=e,t=r.from}return"TagName"==a.name?a.parent&&/CloseTag$/.test(a.parent.name)?The(r,a,a.from,n):Ehe(r,e,a,a.from,n):"StartTag"==a.name?Ehe(r,e,a,n,n):"StartCloseTag"==a.name||"IncompleteCloseTag"==a.name?The(r,a,n,n):"OpenTag"==a.name||"SelfClosingTag"==a.name||"AttributeName"==a.name?function(e,t,r,n,a){let o=xhe(r),i=o?t.tags[whe(e.doc,o)]:null,s=i&&i.attrs?Object.keys(i.attrs):[];return{from:n,to:a,options:(i&&!1===i.globalAttrs?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map((e=>({label:e,type:"property"}))),validFor:_he}}(r,e,a,"AttributeName"==a.name?a.from:n,n):"Is"==a.name||"AttributeValue"==a.name||"UnquotedAttributeValue"==a.name?function(e,t,r,n,a){var o;let i,s=null===(o=r.parent)||void 0===o?void 0:o.getChild("AttributeName"),l=[];if(s){let o=e.sliceDoc(s.from,s.to),c=t.globalAttrs[o];if(!c){let n=xhe(r),a=n?t.tags[whe(e.doc,n)]:null;c=(null==a?void 0:a.attrs)&&a.attrs[o]}if(c){let t=e.sliceDoc(n,a).toLowerCase(),r='"',o='"';/^['"]/.test(t)?(i='"'==t[0]?/^[^"]*$/:/^[^']*$/,r="",o=e.sliceDoc(a,a+1)==t[0]?"":t[0],t=t.slice(1),n++):i=/^[^\s<>='"]*$/;for(let e of c)l.push({label:e,apply:r+e+o,type:"constant"})}}return{from:n,to:a,options:l,validFor:i}}(r,e,a,"Is"==a.name?n:a.from,n):!t.explicit||"Element"!=o.name&&"Text"!=o.name&&"Document"!=o.name?null:function(e,t,r,n){let a=[],o=0;for(let n of khe(e.doc,r,t))a.push({label:"<"+n,type:"type"});for(let t of She(e.doc,r))a.push({label:"</"+t+">",type:"type",boost:99-o++});return{from:n,to:n,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(r,e,a,n)}(n,e)}const Che=Jpe.parser.configure({top:"SingleExpression"}),Phe=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:the.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:rhe.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:nhe.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:Che},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:Jpe.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:rpe.parser}],$he=[{name:"style",parser:rpe.parser.configure({top:"Styles"})}].concat(yhe.map((e=>({name:e,parser:Jpe.parser})))),Mhe=Cse.define({name:"html",parser:_pe.configure({props:[Zse.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=>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,r=null;for(let t=e.node;;){let e=t.lastChild;if(!e||"Element"!=e.name||e.to!=t.to)break;r=t=e}return r&&(!(t=r.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(r.from)+e.unit:null}}),nle.add({Element(e){let t=e.firstChild,r=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==r.name?r.from:e.to}:null}}),Lle.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Dhe=Mhe.configure({wrap:Cpe(Phe,$he)}),Rhe=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Nhe=zae.inputHandler.of(((e,t,r,n,a)=>{if(e.composing||e.state.readOnly||t!=r||">"!=n&&"/"!=n||!Dhe.isActiveAt(e.state,t,-1))return!1;let o=a(),{state:i}=o,s=i.changeByRange((e=>{var t,r,a;let o,s=i.doc.sliceString(e.from-1,e.to)==n,{head:l}=e,c=Pse(i).resolveInner(l,-1);if(s&&">"==n&&"EndTag"==c.name){let n=c.parent;if("CloseTag"!=(null===(r=null===(t=n.parent)||void 0===t?void 0:t.lastChild)||void 0===r?void 0:r.name)&&(o=whe(i.doc,n.parent,l))&&!Rhe.has(o))return{range:e,changes:{from:l,to:l+(">"===i.doc.sliceString(l,l+1)?1:0),insert:`</${o}>`}}}else if(s&&"/"==n&&"IncompleteCloseTag"==c.name){let e=c.parent;if(c.from==l-2&&"CloseTag"!=(null===(a=e.lastChild)||void 0===a?void 0:a.name)&&(o=whe(i.doc,e,l))&&!Rhe.has(o)){let e=l+(">"===i.doc.sliceString(l,l+1)?1:0),t=`${o}>`;return{range:M9.cursor(l+t.length,-1),changes:{from:l,to:e,insert:t}}}}return{range:e}}));return!s.changes.empty&&(e.dispatch([o,i.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})),Ihe=tse({String:xse.string,Number:xse.number,"True False":xse.bool,PropertyName:xse.propertyName,Null:xse.null,",":xse.separator,"[ ]":xse.squareBracket,"{ }":xse.brace}),Lhe=Cde.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!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,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[Ihe],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~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#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!]~$zOh~~$}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~&yOg~~'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}),jhe=Cse.define({name:"json",parser:Lhe.configure({props:[Zse.add({Object:tle({except:/^\s*\}/}),Array:tle({except:/^\s*\]/})}),nle.add({"Object Array":ale})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function Bhe(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}let Uhe=null,Fhe=null,Qhe=0;function zhe(e,t){let r=e.pos+t;if(Fhe==e&&Qhe==r)return Uhe;for(;9==(n=e.peek(t))||10==n||13==n||32==n;)t++;var n;let a="";for(;;){let r=e.peek(t);if(!Bhe(r))break;a+=String.fromCharCode(r),t++}return Fhe=e,Qhe=r,Uhe=a||null}function qhe(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let t=0;t<e.length;t++)this.hash+=(this.hash<<4)+e.charCodeAt(t)+(e.charCodeAt(t)<<8)}const Hhe=new Ade({start:null,shift:(e,t,r,n)=>1==t?new qhe(zhe(n,1)||"",e):e,reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,r,n){let a=t.type.id;return 1==a||13==a?new qhe(zhe(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),Vhe=new mde(((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance();let r=zhe(e,0);if(!r)return e.acceptToken(5);if(t.context&&r==t.context.name)return e.acceptToken(2);for(let n=t.context;n;n=n.parent)if(n.name==r)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}),{contextual:!0});function Zhe(e,t){return new mde((r=>{let n=0,a=t.charCodeAt(0);e:for(;!(r.next<0);r.advance(),n++)if(r.next==a){for(let e=1;e<t.length;e++)if(r.peek(e)!=t.charCodeAt(e))continue e;break}n&&r.acceptToken(e)}))}const Whe=Zhe(35,"--\x3e"),Xhe=Zhe(36,"?>"),Ghe=Zhe(37,"]]>"),Yhe=tse({Text:xse.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":xse.angleBracket,TagName:xse.tagName,"MismatchedCloseTag/TagName":[xse.tagName,xse.invalid],AttributeName:xse.attributeName,AttributeValue:xse.attributeValue,Is:xse.definitionOperator,"EntityReference CharacterReference":xse.character,Comment:xse.blockComment,ProcessingInst:xse.processingInstruction,DoctypeDecl:xse.documentMeta,Cdata:xse.special(xse.string)}),Khe=Cde.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#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'#C}'#C}O$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-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.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'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|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:47,context:Hhe,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:[Yhe],skippedNodes:[0],repeatNodeCount:8,tokenData:"Jy~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O,^!O!P$n!P!Q.m!Q![$n![!]0V!]!^$n!^!_3h!_!`El!`!aF_!a!bGQ!b!c$n!c!}0V!}#P$n#P#QHj#Q#R$n#R#S0V#S#T$n#T#o0V#o%W$n%W%o0V%o%p$n%p&a0V&a&b$n&b1p0V1p4U$n4U4d0V4d4e$n4e$IS0V$IS$I`$n$I`$Ib0V$Ib$Kh$n$Kh%#t0V%#t&/x$n&/x&Et0V&Et&FV$n&FV;'S0V;'S;:j3b;:j;=`&e<%l?&r$n?&r?Ah0V?Ah?BY$n?BY?Mn0V?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^ast)c![!]*g!c!}*g#R#S*g#T#o*g%W%o*g%p&a*g&b1p*g4U4d*g4e$IS*g$I`$Ib*g$Kh%#t*g&/x&Et*g&FV;'S*g;'S;:j,W?&r?Ah*g?BY?Mn*g~)fQ!Q![)l#l#m)z~)oQ!Q![)l!]!^)u~)zOX~~)}R!Q![*W!c!i*W#T#Z*W~*ZS!Q![*W!]!^)u!c!i*W#T#Z*W~*jg}!O*g!O!P*g!Q![*g![!]*g!]!^,R!c!}*g#R#S*g#T#o*g$}%O*g%W%o*g%p&a*g&b1p*g1p4U*g4U4d*g4e$IS*g$I`$Ib*g$Je$Jg*g$Kh%#t*g&/x&Et*g&FV;'S*g;'S;:j,W?&r?Ah*g?BY?Mn*g~,WOW~~,ZP;=`<%l*gZ,eYVP{WOr$nrs%_sv$nw}$n}!O-T!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ-[YVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-z!a;'S$n;'S;=`&e<%lO$nZ.TW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n].tYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a/d!a;'S$n;'S;=`&e<%lO$n]/mWdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_0b!O`S^QVP{WOr$nrs%_sv$nw}$n}!O0V!O!P0V!P!Q$n!Q![0V![!]0V!]!^$n!^!_%y!_!c$n!c!}0V!}#R$n#R#S0V#S#T$n#T#o0V#o$}$n$}%O0V%O%W$n%W%o0V%o%p$n%p&a0V&a&b$n&b1p0V1p4U0V4U4d0V4d4e$n4e$IS0V$IS$I`$n$I`$Ib0V$Ib$Je$n$Je$Jg0V$Jg$Kh$n$Kh%#t0V%#t&/x$n&/x&Et0V&Et&FV$n&FV;'S0V;'S;:j3b;:j;=`&e<%l?&r$n?&r?Ah0V?Ah?BY$n?BY?Mn0V?MnO$n_3eP;=`<%l0VX3mW{WOq%yqr4Vsv%yw!a%y!a!bEU!b;'S%y;'S;=`&_<%lO%yX4[]{WOr%ysv%yw}%y}!O5T!O!f%y!f!g6V!g!}%y!}#O;f#O#W%y#W#XAr#X;'S%y;'S;=`&_<%lO%yX5YV{WOr%ysv%yw}%y}!O5o!O;'S%y;'S;=`&_<%lO%yX5vT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!q%y!q!r6q!r;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!e%y!e!f7]!f;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!v%y!v!w7w!w;'S%y;'S;=`&_<%lO%yX7|V{WOr%ysv%yw!{%y!{!|8c!|;'S%y;'S;=`&_<%lO%yX8hV{WOr%ysv%yw!r%y!r!s8}!s;'S%y;'S;=`&_<%lO%yX9SV{WOr%ysv%yw!g%y!g!h9i!h;'S%y;'S;=`&_<%lO%yX9nX{WOr9irs:Zsv9ivw:Zw!`9i!`!a:x!a;'S9i;'S;=`;`<%lO9iP:^TO!`:Z!`!a:m!a;'S:Z;'S;=`:r<%lO:ZP:rOiPP:uP;=`<%l:ZX;PTiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX;cP;=`<%l9iX;kX{WOr%ysv%yw!e%y!e!f<W!f#V%y#V#W?f#W;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!f%y!f!g<r!g;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!c%y!c!d=^!d;'S%y;'S;=`&_<%lO%yX=cV{WOr%ysv%yw!v%y!v!w=x!w;'S%y;'S;=`&_<%lO%yX=}V{WOr%ysv%yw!c%y!c!d>d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[Vhe,Whe,Xhe,Ghe,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function Jhe(e,t){let r=t&&t.getChild("TagName");return r?e.sliceString(r.from,r.to):""}function efe(e,t){let r=t&&t.firstChild;return r&&"OpenTag"==r.name?Jhe(e,r):""}function tfe(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}let rfe=class{constructor(e,t,r){this.attrs=t,this.attrValues=r,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"}))):[]}};const nfe=/^[:\-\.\w\u00b7-\uffff]*$/;function afe(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function ofe(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function ife(e,t){let r=[],n=[],a=Object.create(null);for(let e of t){let t=afe(e);r.push(t),e.global&&n.push(t),e.values&&(a[e.name]=e.values.map(ofe))}let o=[],i=[],s=Object.create(null);for(let t of e){let e=n,l=a;t.attributes&&(e=e.concat(t.attributes.map((e=>"string"==typeof e?r.find((t=>t.label==e))||{label:e,type:"property"}:(e.values&&(l==a&&(l=Object.create(l)),l[e.name]=e.values.map(ofe)),afe(e))))));let c=new rfe(t,e,l);s[c.name]=c,o.push(c),t.top&&i.push(c)}i.length||(i=o);for(let t=0;t<o.length;t++){let r=e[t],n=o[t];if(r.children)for(let e of r.children)s[e]&&n.children.push(s[e]);else n.children=o}return e=>{var t;let{doc:r}=e.state,l=function(e,t){var r;let n=Pse(e).resolveInner(t,-1),a=null;for(let e=n;!a&&e.parent;e=e.parent)"OpenTag"!=e.name&&"CloseTag"!=e.name&&"SelfClosingTag"!=e.name&&"MismatchedCloseTag"!=e.name||(a=e);if(a&&(a.to>t||a.lastChild.type.isError)){let e=a.parent;if("TagName"==n.name)return"CloseTag"==a.name||"MismatchedCloseTag"==a.name?{type:"closeTag",from:n.from,context:e}:{type:"openTag",from:n.from,context:tfe(e)};if("AttributeName"==n.name)return{type:"attrName",from:n.from,context:a};if("AttributeValue"==n.name)return{type:"attrValue",from:n.from,context:a};let r=n==a||"Attribute"==n.name?n.childBefore(t):n;return"StartTag"==(null==r?void 0:r.name)?{type:"openTag",from:t,context:tfe(e)}:"StartCloseTag"==(null==r?void 0:r.name)&&r.to<=t?{type:"closeTag",from:t,context:e}:"Is"==(null==r?void 0:r.name)?{type:"attrValue",from:t,context:a}:r?{type:"attrName",from:t,context:a}:null}if("StartCloseTag"==n.name)return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(null===(r=n.lastChild)||void 0===r?void 0:r.type.isError);)n=n.parent;return"Element"==n.name||"Text"==n.name||"Document"==n.name?{type:"tag",from:t,context:"Element"==n.name?n:tfe(n)}:null}(e.state,e.pos);if(!l||"tag"==l.type&&!e.explicit)return null;let{type:c,from:u,context:d}=l;if("openTag"==c){let e=i,t=efe(r,d);if(t){let r=s[t];e=(null==r?void 0:r.children)||o}return{from:u,options:e.map((e=>e.completion)),validFor:nfe}}if("closeTag"==c){let n=efe(r,d);return n?{from:u,to:e.pos+(">"==r.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(t=s[n])||void 0===t?void 0:t.closeNameCompletion)||{label:n+">",type:"type"}],validFor:nfe}:null}if("attrName"==c){let e=s[Jhe(r,d)];return{from:u,options:(null==e?void 0:e.attrs)||n,validFor:nfe}}if("attrValue"==c){let t=function(e,t,r){let n=t&&t.getChildren("Attribute").find((e=>e.from<=r&&e.to>=r)),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}(r,d,u);if(!t)return null;let n=s[Jhe(r,d)],o=((null==n?void 0:n.attrValues)||a)[t];return o&&o.length?{from:u,to:e.pos+('"'==r.sliceString(e.pos,e.pos+1)?1:0),options:o,validFor:/^"[^"]*"?$/}:null}if("tag"==c){let t=efe(r,d),n=s[t],a=[],l=d&&d.lastChild;!t||l&&"CloseTag"==l.name&&Jhe(r,l)==t||a.push(n?n.closeCompletion:{label:"</"+t+">",type:"type",boost:2});let c=a.concat(((null==n?void 0:n.children)||(d?o:i)).map((e=>e.openCompletion)));if(d&&(null==n?void 0:n.text.length)){let t=d.firstChild;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(c=c.concat(n.text))}return{from:u,options:c,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}const sfe=Cse.define({name:"xml",parser:Khe.configure({props:[Zse.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),nle.add({Element(e){let t=e.firstChild,r=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==r.name?r.from:e.to}:null}}),Lle.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function lfe(e,t,r=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,r)):""}const cfe=zae.inputHandler.of(((e,t,r,n,a)=>{if(e.composing||e.state.readOnly||t!=r||">"!=n&&"/"!=n||!sfe.isActiveAt(e.state,t,-1))return!1;let o=a(),{state:i}=o,s=i.changeByRange((e=>{var t,r,a;let o,{head:s}=e,l=i.doc.sliceString(s-1,s)==n,c=Pse(i).resolveInner(s,-1);if(l&&">"==n&&"EndTag"==c.name){let n=c.parent;if("CloseTag"!=(null===(r=null===(t=n.parent)||void 0===t?void 0:t.lastChild)||void 0===r?void 0:r.name)&&(o=lfe(i.doc,n.parent,s)))return{range:e,changes:{from:s,to:s+(">"===i.doc.sliceString(s,s+1)?1:0),insert:`</${o}>`}}}else if(l&&"/"==n&&"StartCloseTag"==c.name){let e=c.parent;if(c.from==s-2&&"CloseTag"!=(null===(a=e.lastChild)||void 0===a?void 0:a.name)&&(o=lfe(i.doc,e,s))){let e=s+(">"===i.doc.sliceString(s,s+1)?1:0),t=`${o}>`;return{range:M9.cursor(s+t.length,-1),changes:{from:s,to:e,insert:t}}}}return{range:e}}));return!s.changes.empty&&(e.dispatch([o,i.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})),ufe=63;class dfe{constructor(e,t,r){this.parent=e,this.depth=t,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+r}}function pfe(e,t){for(let r=0,n=t-e.pos-1;;n--,r++){let t=e.peek(n);if(ffe(t)||-1==t)return r}}function hfe(e){return 32==e||9==e}function ffe(e){return 10==e||13==e}function mfe(e){return hfe(e)||ffe(e)}function gfe(e){return e<0||mfe(e)}dfe.top=new dfe(null,-1,0);const bfe=new Ade({start:dfe.top,reduce:(e,t)=>3!=e.type||20!=t&&34!=t?e:e.parent,shift(e,t,r,n){if(3==t)return new dfe(e,pfe(n,n.pos),1);if(65==t||5==t)return new dfe(e,pfe(n,n.pos),2);if(t==ufe)return e.parent;if(19==t||33==t)return new dfe(e,0,3);if(13==t&&4==e.type)return e.parent;if(47==t){let t=/[1-9]/.exec(n.read(n.pos,r.pos));if(t)return new dfe(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash});function vfe(e,t,r=0){return e.peek(r)==t&&e.peek(r+1)==t&&e.peek(r+2)==t&&gfe(e.peek(r+3))}const yfe=new mde(((e,t)=>{if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let r=e.peek(-1);if((ffe(r)||r<0)&&3!=t.context.type){if(vfe(e,45)){if(!t.canShift(ufe))return e.acceptToken(1,3);e.acceptToken(ufe)}if(vfe(e,46)){if(!t.canShift(ufe))return e.acceptToken(2,3);e.acceptToken(ufe)}let r=0;for(;32==e.next;)r++,e.advance();!(r<t.context.depth)&&(r!=t.context.depth||1!=t.context.type||45==e.next&&gfe(e.peek(1)))||-1==e.next||ffe(e.next)||35==e.next||e.acceptToken(ufe,-r)}}),{contextual:!0}),Ofe=new mde(((e,t)=>{if(3!=t.context.type)if(45==e.next)e.advance(),gfe(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==pfe(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),gfe(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==pfe(e,e.pos-1)?6:5);else{let r=e.pos;for(;;)if(hfe(e.next)){if(e.pos==r)return;e.advance()}else if(33==e.next)kfe(e);else{if(38!=e.next){if(42==e.next){Sfe(e);break}if(39==e.next||34==e.next){if(_fe(e,!0))break;return}if(91==e.next||123==e.next){if(!Efe(e))return;break}Pfe(e,!0,!1,0);break}Sfe(e)}for(;hfe(e.next);)e.advance();if(58==e.next){if(e.pos==r&&t.canShift(29))return;gfe(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==pfe(e,r)?66:65,r)}}else 63==e.next&&(e.advance(),gfe(e.next)&&e.acceptToken(7))}),{contextual:!0});function wfe(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function xfe(e,t){return 37==e.next?(e.advance(),wfe(e.next)&&e.advance(),wfe(e.next)&&e.advance(),!0):!!((r=e.next)>32&&r<127&&34!=r&&37!=r&&44!=r&&60!=r&&62!=r&&92!=r&&94!=r&&96!=r&&123!=r&&124!=r&&125!=r||t&&44==e.next)&&(e.advance(),!0);var r}function kfe(e){if(e.advance(),60==e.next){for(e.advance();;)if(!xfe(e,!0)){62==e.next&&e.advance();break}}else for(;xfe(e,!1););}function Sfe(e){for(e.advance();!gfe(e.next)&&"f"!=Afe(e.tag);)e.advance()}function _fe(e,t){let r=e.next,n=!1,a=e.pos;for(e.advance();;){let o=e.next;if(o<0)break;if(e.advance(),o==r){if(39!=o)break;if(39!=e.next)break;e.advance()}else if(92==o&&34==r)e.next>=0&&e.advance();else if(ffe(o)){if(t)return!1;n=!0}else if(t&&e.pos>=a+1024)return!1}return!n}function Efe(e){for(let t=[],r=e.pos+1024;;)if(91==e.next||123==e.next)t.push(e.next),e.advance();else if(39==e.next||34==e.next){if(!_fe(e,!0))return!1}else if(93==e.next||125==e.next){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>r||ffe(e.next))return!1;e.advance()}}const Tfe="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function Afe(e){return e<33?"u":e>125?"s":Tfe[e-33]}function Cfe(e,t){let r=Afe(e);return"u"!=r&&!(t&&"f"==r)}function Pfe(e,t,r,n){if("s"!=Afe(e.next)&&(63!=e.next&&58!=e.next&&45!=e.next||!Cfe(e.peek(1),r)))return!1;e.advance();let a=e.pos;for(;;){let o=e.next,i=0,s=n+1;for(;mfe(o);){if(ffe(o)){if(t)return!1;s=0}else s++;o=e.peek(++i)}if(!(o>=0&&(58==o?Cfe(e.peek(i+1),r):35==o?32!=e.peek(i-1):Cfe(o,r)))||!r&&s<=n||0==s&&!r&&(vfe(e,45,i)||vfe(e,46,i)))break;if(t&&"f"==Afe(o))return!1;for(let t=i;t>=0;t--)e.advance();if(t&&e.pos>a+1024)return!1}return!0}const $fe=new mde(((e,t)=>{if(33==e.next)kfe(e),e.acceptToken(12);else if(38==e.next||42==e.next){let t=38==e.next?10:11;Sfe(e),e.acceptToken(t)}else 39==e.next||34==e.next?(_fe(e,!1),e.acceptToken(9)):Pfe(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)})),Mfe=new mde(((e,t)=>{let r=4==t.context.type?t.context.depth:-1,n=e.pos;e:for(;;){let a=0,o=e.next;for(;32==o;)o=e.peek(++a);if(!a&&(vfe(e,45,a)||vfe(e,46,a)))break;if(!ffe(o)&&(r<0&&(r=Math.max(t.context.depth+1,a)),a<r))break;for(;;){if(e.next<0)break e;let t=ffe(e.next);if(e.advance(),t)continue e;n=e.pos}}e.acceptTokenTo(13,n)})),Dfe=tse({DirectiveName:xse.keyword,DirectiveContent:xse.attributeValue,"DirectiveEnd DocEnd":xse.meta,QuotedLiteral:xse.string,BlockLiteralHeader:xse.special(xse.string),BlockLiteralContent:xse.content,Literal:xse.content,"Key/Literal Key/QuotedLiteral":xse.definition(xse.propertyName),"Anchor Alias":xse.labelName,Tag:xse.typeName,Comment:xse.lineComment,": , -":xse.separator,"?":xse.punctuation,"[ ]":xse.squareBracket,"{ }":xse.brace}),Rfe=Cde.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:bfe,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[Dfe],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:[yfe,Ofe,$fe,Mfe,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),Nfe=Cse.define({name:"yaml",parser:Rfe.configure({props:[Zse.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if("BlockLiteralContent"==t.name&&t.from<t.to)return e.baseIndentFor(t);if("BlockLiteral"==t.name)return e.baseIndentFor(t)+e.unit;if("BlockSequence"==t.name||"BlockMapping"==t.name)return e.column(t.from,1);if("QuotedLiteral"==t.name)return null;if("Literal"==t.name){let r=e.column(t.from,1);if(r==e.lineIndent(t.from,1))return r;if(t.to>e.pos)return null}}return null},FlowMapping:Jse({closing:"}"}),FlowSequence:Jse({closing:"]"})}),nle.add({"FlowMapping FlowSequence":ale,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function Ife(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,r=arguments[1];if(r&&"object"==typeof r&&null==r.nodeType&&!Array.isArray(r)){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var a=r[n];"string"==typeof a?e.setAttribute(n,a):null!=a&&(e[n]=a)}t++}for(;t<arguments.length;t++)Lfe(e,arguments[t]);return e}function Lfe(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var r=0;r<t.length;r++)Lfe(e,t[r])}}class jfe{constructor(e,t,r){this.from=e,this.to=t,this.diagnostic=r}}class Bfe{constructor(e,t,r){this.diagnostics=e,this.panel=t,this.selected=r}static init(e,t,r){let n=e,a=r.facet(Gfe).markerFilter;a&&(n=a(n,r));let o=e.slice().sort(((e,t)=>e.from-t.from||e.to-t.to)),i=new _ee,s=[],l=0;for(let e=0;;){let t,n,a=e==o.length?null:o[e];if(!a&&!s.length)break;for(s.length?(t=l,n=s.reduce(((e,t)=>Math.min(e,t.to)),a&&a.from>t?a.from:1e8)):(t=a.from,n=a.to,s.push(a),e++);e<o.length;){let r=o[e];if(r.from!=t||!(r.to>r.from||r.to==t)){n=Math.min(r.from,n);break}s.push(r),e++,n=Math.min(r.to,n)}let c=ome(s);if(s.some((e=>e.from==e.to||e.from==e.to-1&&r.doc.lineAt(e.from).to==e.from)))i.add(t,t,Gte.widget({widget:new Jfe(c),diagnostics:s.slice()}));else{let e=s.reduce(((e,t)=>t.markClass?e+" "+t.markClass:e),"");i.add(t,n,Gte.mark({class:"cm-lintRange cm-lintRange-"+c+e,diagnostics:s.slice(),inclusiveEnd:s.some((e=>e.to>n))}))}l=n;for(let e=0;e<s.length;e++)s[e].to<=l&&s.splice(e--,1)}let c=i.finish();return new Bfe(c,t,Ufe(c))}}function Ufe(e,t=null,r=0){let n=null;return e.between(r,1e9,((e,r,{spec:a})=>{if(!(t&&a.diagnostics.indexOf(t)<0))if(n){if(a.diagnostics.indexOf(n.diagnostic)<0)return!1;n=new jfe(n.from,r,n.diagnostic)}else n=new jfe(e,r,t||a.diagnostics[0])})),n}function Ffe(e,t){return e.field(Hfe,!1)?t:t.concat(see.appendConfig.of(ime))}const Qfe=see.define(),zfe=see.define(),qfe=see.define(),Hfe=Q9.define({create:()=>new Bfe(Gte.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let r=e.diagnostics.map(t.changes),n=null,a=e.panel;if(e.selected){let a=t.changes.mapPos(e.selected.from,1);n=Ufe(r,e.selected.diagnostic,a)||Ufe(r,null,a)}!r.size&&a&&t.state.facet(Gfe).autoPanel&&(a=null),e=new Bfe(r,a,n)}for(let r of t.effects)if(r.is(Qfe)){let n=t.state.facet(Gfe).autoPanel?r.value.length?tme.open:null:e.panel;e=Bfe.init(r.value,n,t.state)}else r.is(zfe)?e=new Bfe(e.diagnostics,r.value?tme.open:null,e.selected):r.is(qfe)&&(e=new Bfe(e.diagnostics,e.panel,r.value));return e},provide:e=>[Ioe.from(e,(e=>e.panel)),zae.decorations.from(e,(e=>e.diagnostics))]}),Vfe=Gte.mark({class:"cm-lintRange cm-lintRange-active"});function Zfe(e,t){return Ife("ul",{class:"cm-tooltip-lint"},t.map((t=>Kfe(e,t,!1))))}const Wfe=e=>{let t=e.state.field(Hfe,!1);return!(!t||!t.panel||(e.dispatch({effects:zfe.of(!1)}),0))},Xfe=Vre.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(Gfe);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(Gfe);t.length&&function(e,t,r){let n=[],a=-1;for(let o of e)o.then((r=>{n.push(r),clearTimeout(a),n.length==e.length?t(n):a=setTimeout((()=>t(n)),200)}),r)}(t.map((e=>Promise.resolve(e(this.view)))),(t=>{this.view.state.doc==e.doc&&this.view.dispatch(function(e,t){return{effects:Ffe(e,[Qfe.of(t)])}}(this.view.state,t.reduce(((e,t)=>e.concat(t)))))}),(e=>{Qre(this.view.state,e)}))}}update(e){let t=e.state.facet(Gfe);(e.docChanged||t!=e.startState.facet(Gfe)||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)}}),Gfe=N9.define({combine:e=>Object.assign({sources:e.map((e=>e.source)).filter((e=>null!=e))},yee(e.map((e=>e.config)),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,t)=>e?t?r=>e(r)||t(r):e:t}))});function Yfe(e){let t=[];if(e)e:for(let{name:r}of e){for(let e=0;e<r.length;e++){let n=r[e];if(/[a-zA-Z]/.test(n)&&!t.some((e=>e.toLowerCase()==n.toLowerCase()))){t.push(n);continue e}}t.push("")}return t}function Kfe(e,t,r){var n;let a=r?Yfe(t.actions):[];return Ife("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Ife("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null===(n=t.actions)||void 0===n?void 0:n.map(((r,n)=>{let o=!1,i=n=>{if(n.preventDefault(),o)return;o=!0;let a=Ufe(e.state.field(Hfe).diagnostics,t);a&&r.apply(e,a.from,a.to)},{name:s}=r,l=a[n]?s.indexOf(a[n]):-1,c=l<0?s:[s.slice(0,l),Ife("u",s.slice(l,l+1)),s.slice(l+1)];return Ife("button",{type:"button",class:"cm-diagnosticAction",onclick:i,onmousedown:i,"aria-label":` Action: ${s}${l<0?"":` (access key "${a[n]})"`}.`},c)})),t.source&&Ife("div",{class:"cm-diagnosticSource"},t.source))}class Jfe extends Wte{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return Ife("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class eme{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Kfe(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class tme{constructor(e){this.view=e,this.items=[],this.list=Ife("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)Wfe(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:r}=this.items[this.selectedIndex],n=Yfe(r.actions);for(let a=0;a<n.length;a++)if(n[a].toUpperCase().charCodeAt(0)==t.keyCode){let t=Ufe(this.view.state.field(Hfe).diagnostics,r);t&&r.actions[a].apply(e,t.from,t.to)}}}t.preventDefault()},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=Ife("div",{class:"cm-panel-lint"},this.list,Ife("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>Wfe(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Hfe).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(Hfe),r=0,n=!1,a=null,o=new Set;for(e.between(0,this.view.state.doc.length,((e,i,{spec:s})=>{for(let e of s.diagnostics){if(o.has(e))continue;o.add(e);let i,s=-1;for(let t=r;t<this.items.length;t++)if(this.items[t].diagnostic==e){s=t;break}s<0?(i=new eme(this.view,e),this.items.splice(r,0,i),n=!0):(i=this.items[s],s>r&&(this.items.splice(r,s-r),n=!0)),t&&i.diagnostic==t.diagnostic?i.dom.hasAttribute("aria-selected")||(i.dom.setAttribute("aria-selected","true"),a=i):i.dom.hasAttribute("aria-selected")&&i.dom.removeAttribute("aria-selected"),r++}}));r<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)n=!0,this.items.pop();0==this.items.length&&(this.items.push(new eme(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),n=!0),a?(this.list.setAttribute("aria-activedescendant",a.id),this.view.requestMeasure({key:this,read:()=>({sel:a.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let r=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/r:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/r)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),n&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;e!=r.dom;)t();e=r.dom.nextSibling}else this.list.insertBefore(r.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=Ufe(this.view.state.field(Hfe).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:qfe.of(t)})}static open(e){return new tme(e)}}function rme(e){return function(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>')`}(`<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"')}const nme=zae.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:rme("#d11")},".cm-lintRange-warning":{backgroundImage:rme("orange")},".cm-lintRange-info":{backgroundImage:rme("#999")},".cm-lintRange-hint":{backgroundImage:rme("#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}}});function ame(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function ome(e){let t="hint",r=1;for(let n of e){let e=ame(n.severity);e>r&&(r=e,t=n.severity)}return t}const ime=[Hfe,zae.decorations.compute([Hfe],(e=>{let{selected:t,panel:r}=e.field(Hfe);return t&&r&&t.from!=t.to?Gte.set([Vfe.range(t.from,t.to)]):Gte.none})),function(e,t={}){let r=see.define(),n=Q9.define({create:()=>[],update(e,n){if(e.length&&(t.hideOnChange&&(n.docChanged||n.selection)?e=[]:t.hideOn&&(e=e.filter((e=>!t.hideOn(n,e)))),n.docChanged)){let t=[];for(let r of e){let e=n.changes.mapPos(r.pos,-1,x9.TrackDel);if(null!=e){let a=Object.assign(Object.create(null),r);a.pos=e,null!=a.end&&(a.end=n.changes.mapPos(a.end)),t.push(a)}}e=t}for(let t of n.effects)t.is(r)&&(e=t.value),t.is($oe)&&(e=[]);return e},provide:e=>_oe.from(e)});return{active:n,extension:[n,Vre.define((a=>new Aoe(a,e,n,r,t.hoverTime||300))),Toe]}}((function(e,t,r){let n,{diagnostics:a}=e.state.field(Hfe),o=-1,i=-1;a.between(t-(r<0?1:0),t+(r>0?1:0),((e,a,{spec:s})=>{if(t>=e&&t<=a&&(e==a||(t>e||r>0)&&(t<a||r<0)))return n=s.diagnostics,o=e,i=a,!1}));let s=e.state.facet(Gfe).tooltipFilter;return n&&s&&(n=s(n,e.state)),n?{pos:o,end:i,above:e.state.doc.lineAt(o).to<i,create:()=>({dom:Zfe(e,n)})}:null}),{hideOn:function(e,t){let r=t.pos,n=t.end||r,a=e.state.facet(Gfe).hideOn(e,r,n);if(null!=a)return a;let o=e.startState.doc.lineAt(t.pos);return!(!e.effects.some((e=>e.is(Qfe)))&&!e.changes.touchesRange(o.from,Math.max(o.to,n)))}}),nme],sme=(({theme:e,settings:t={},styles:r=[]})=>{const n={".cm-gutters":{}},a={};t.background&&(a.backgroundColor=t.background),t.backgroundImage&&(a.backgroundImage=t.backgroundImage),t.foreground&&(a.color=t.foreground),t.fontSize&&(a.fontSize=t.fontSize),(t.background||t.foreground)&&(n["&"]=a),t.fontFamily&&(n["&.cm-editor .cm-scroller"]={fontFamily:t.fontFamily}),t.gutterBackground&&n[".cm-gutters"]&&(n[".cm-gutters"].backgroundColor=t.gutterBackground),t.gutterForeground&&n[".cm-gutters"]&&(n[".cm-gutters"].color=t.gutterForeground),t.gutterBorder&&n[".cm-gutters"]&&(n[".cm-gutters"].borderRightColor=t.gutterBorder),t.caret&&(n[".cm-content"]={caretColor:t.caret},n[".cm-cursor, .cm-dropCursor"]={borderLeftColor:t.caret});const o={};return t.gutterActiveForeground&&(o.color=t.gutterActiveForeground),t.lineHighlight&&(n[".cm-activeLine"]={backgroundColor:t.lineHighlight},o.backgroundColor=t.lineHighlight),n[".cm-activeLineGutter"]=o,t.selection&&(n["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:t.selection+" !important"}),t.selectionMatch&&(n["& .cm-selectionMatch"]={backgroundColor:t.selectionMatch}),[zae.theme(n,{dark:"dark"===e}),Ele(xle.define(r))]})({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:[xse.standard(xse.tagName),xse.tagName],color:"var(--scalar-color-purple)"},{tag:[xse.comment],color:"var(--scalar-color-3)"},{tag:[xse.className],color:"var(--scalar-color-orange)"},{tag:[xse.variableName,xse.propertyName,xse.attributeName],color:"var(--scalar-color-1)"},{tag:[xse.operator],color:"var(--scalar-color-2)"},{tag:[xse.keyword,xse.typeName,xse.typeOperator],color:"var(--scalar-color-green)"},{tag:[xse.string],color:"var(--scalar-color-blue)"},{tag:[xse.bracket,xse.regexp,xse.meta],color:"var(--scalar-color-3)"},{tag:[xse.number],color:"var(--scalar-color-orange)"},{tag:[xse.name,xse.quote],color:"var(--scalar-color-3)"},{tag:[xse.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[xse.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[xse.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[xse.atom,xse.bool,xse.special(xse.variableName)],color:"var(--scalar-color-3)"},{tag:[xse.url,xse.escape,xse.regexp,xse.link],color:"var(--scalar-color-1)"},{tag:xse.link,textDecoration:"underline"},{tag:xse.strikethrough,textDecoration:"line-through"},{tag:xse.invalid,color:"var(--scalar-color-3)"}]}),lme=new aoe({regexp:/(\{[^}]+\})/g,decoration:()=>Gte.mark({attributes:{class:"api-client-url-variable"}})}),cme=()=>Vre.fromClass(class{variables;constructor(e){this.variables=lme.createDeco(e)}update(e){this.variables=lme.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>zae.atomicRanges.of((t=>t.plugin(e)?.variables||Gte.none))}),ume=e=>"provider"in e&&!!Co(e.provider),dme={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},pme=e=>{const t=So(null),r=(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)}})},n=gc((()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:Co(e.disableTabIndent),language:Co(e.language),classes:Co(e.classes),readOnly:Co(e.readOnly),lineNumbers:Co(e.lineNumbers),withVariables:Co(e.withVariables),forceFoldGutter:Co(e.forceFoldGutter),disableEnter:Co(e.disableEnter),disableCloseBrackets:Co(e.disableCloseBrackets),withoutTheme:Co(e.withoutTheme),lint:Co(e.lint),additionalExtensions:Co(e.extensions),placeholder:Co(e.placeholder)})));function a(){if(e.codeMirrorRef.value){const a=ume(e)?Co(e.provider):null,o=fme({...n.value,provider:a});t.value=new zae({parent:e.codeMirrorRef.value,extensions:o}),ume(e)||r(Co(e.content))}}return hl(e.codeMirrorRef,(()=>{t.value?.destroy(),a()}),{immediate:!0}),es((()=>t.value?.destroy())),hl((()=>ume(e)?Co(e.provider):null),(()=>{ume(e)&&(t.value?.destroy(),a())})),hl(n,(()=>{if(!t.value)return;const r=ume(e)?Co(e.provider):null,a=fme({...n.value,provider:r});requestAnimationFrame((()=>{t.value?.dispatch({effects:see.reconfigure.of(a)})}))}),{immediate:!0}),hl((()=>Co(e.content)),(()=>{ume(e)||r(Co(e.content))}),{immediate:!0}),{setCodeMirrorContent:r,codeMirror:t}},hme={html:function(e={}){let t,r="";!1===e.matchClosingTags&&(r="noMatch"),!0===e.selfClosingTags&&(r=(r?r+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=Cpe((e.nestedLanguages||[]).concat(Phe),(e.nestedAttributes||[]).concat($he)));let n=t?Mhe.configure({wrap:t,dialect:r}):r?Dhe.configure({dialect:r}):Dhe;return new Use(n,[Dhe.data.of({autocomplete:Ahe(e)}),!1!==e.autoCloseTags?Nhe:[],she().support,npe().support])},json:function(){return new Use(jhe)},yaml:function(){return new Use(Nfe)},css:npe,xml:function(e={}){let t=[sfe.data.of({autocomplete:ife(e.elements||[],e.attributes||[])})];return!1!==e.autoCloseTags&&t.push(cfe),new Use(sfe,t)}};function fme({onChange:e,onBlur:t,onFocus:r,provider:n,language:a,classes:o=[],readOnly:i=!1,lineNumbers:s=!1,withVariables:l=!1,forceFoldGutter:c=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:p=!1,withoutTheme:h=!1,lint:f=!1,additionalExtensions:m=[],placeholder:g}){const b=[uoe(),jue(),Yae.of(tde),Ele(Ale,{fallback:!0}),zae.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-tooltip":{border:"1px solid #f5c6cb",fontSize:"12px"},".cm-tooltip-lint":{backgroundColor:"#ffffff"},".cm-diagnostic-error":{borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",border:"none",fontFamily:"var(--scalar-font)"}}),zae.updateListener.of((t=>{t.docChanged&&e?.(t.state.doc.toString())})),zae.domEventHandlers({blur:(e,r)=>{t?.(r.state.doc.toString())},focus:(e,t)=>{r?.(t.state.doc.toString())}}),zae.editorAttributes.of({class:o.join(" ")}),...m];var v;if(n&&b.push(n),h||b.push(sme),i?b.push(zae.editable.of(!1)):(b.push(vee.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 r=e.newDoc,{head:n}=e.newSelection.main,a=r.lineAt(n);if(n>a.from+200)return e;let o=r.sliceString(a.from,n);if(!t.some((e=>e.test(o))))return e;let{state:i}=e,s=-1,l=[];for(let{head:e}of i.selection.ranges){let t=i.doc.lineAt(e);if(t.from==s)continue;s=t.from;let r=Hse(i,t.from);if(null==r)continue;let n=/^\s*/.exec(t.text)[0],a=qse(i,r);n!=a&&l.push({from:t.from,to:t.from+n.length,insert:a})}return l.length?[e,{changes:l,sequential:!0}]:e})),Ile(),function(e={}){return[Xce,Fce,Sce.of(e),Zce,Mue,Gce]}(),Yae.of([...$ue,dme]),Ile()),d||b.push([xue,bue],Yae.of([...kue])),p?b.push(Yae.of([{key:"Tab",run:()=>!1,shift:()=>!1}])):b.push(Yae.of([ade]))),g&&b.push((v=g,Vre.fromClass(class{constructor(e){this.view=e,this.placeholder=v?Gte.set([Gte.widget({widget:new foe(v),side:1}).range(0)]):Gte.none}get decorations(){return this.view.state.doc.length?Gte.none:this.placeholder}},{decorations:e=>e.decorations}))),s&&b.push(function(e={}){return[Joe.of(e),qoe(),rie]}()),c&&b.push(Ole({markerDOM:e=>{const t=document.createElement("div");t.classList.add("cm-foldMarker");const r=bc(A6,{icon:e?"ChevronDown":"ChevronRight",size:"md"});return Du(r,t),t}})),a&&hme[a]&&(b.push(hme[a]()),c||b.push(Ole({markerDOM:e=>{const t=document.createElement("div");t.classList.add("cm-foldMarker");const r=bc(A6,{icon:e?"ChevronDown":"ChevronRight",size:"md"});return Du(r,t),t}}))),f&&"json"===a){const e=function(e,t={}){return[Gfe.of({source:e,config:t}),Xfe,ime]}((e=>{const t=[],r=e.state.doc.toString();if(r.trim())try{JSON.parse(r)}catch(r){r instanceof Error&&t.push({from:0,to:e.state.doc.length,severity:"error",message:r.message})}return t}));b.push(e)}return l&&b.push(cme()),u?b.push(Yae.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):b.push(Yae.of([{key:"Enter",run:rde}])),b}function mme(e){return Array.isArray?Array.isArray(e):"[object Array]"===wme(e)}function gme(e){return"string"==typeof e}function bme(e){return"number"==typeof e}function vme(e){return"object"==typeof e}function yme(e){return null!=e}function Ome(e){return!e.trim().length}function wme(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const xme=Object.prototype.hasOwnProperty;class kme{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let r=Sme(e);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Sme(e){let t=null,r=null,n=null,a=1,o=null;if(gme(e)||mme(e))n=e,t=_me(e),r=Eme(e);else{if(!xme.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(n=i,xme.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=_me(i),r=Eme(i),o=e.getFn}return{path:t,id:r,weight:a,src:n,getFn:o}}function _me(e){return mme(e)?e:e.split(".")}function Eme(e){return mme(e)?e.join("."):e}const Tme={useExtendedSearch:!1,getFn:function(e,t){let r=[],n=!1;const a=(e,t,o)=>{if(yme(e))if(t[o]){const i=e[t[o]];if(!yme(i))return;if(o===t.length-1&&(gme(i)||bme(i)||function(e){return!0===e||!1===e||function(e){return vme(e)&&null!==e}(e)&&"[object Boolean]"==wme(e)}(i)))r.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(i));else if(mme(i)){n=!0;for(let e=0,r=i.length;e<r;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else r.push(e)};return a(e,gme(t)?t.split("."):t,0),n?r:r[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Ame={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,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...Tme};const Cme=/[^ ]+/g;class Pme{constructor({getFn:e=Ame.getFn,fieldNormWeight:t=Ame.fieldNormWeight}={}){this.norm=function(e=1,t=3){const r=new Map,n=Math.pow(10,t);return{get(t){const a=t.match(Cme).length;if(r.has(a))return r.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*n)/n);return r.set(a,i),i},clear(){r.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,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(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,gme(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();gme(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,r=this.size();t<r;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!yme(e)||Ome(e))return;let r={v:e,i:t,n:this.norm.get(e)};this.records.push(r)}_addObject(e,t){let r={i:t,$:{}};this.keys.forEach(((t,n)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(yme(a))if(mme(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:r,value:n}=t.pop();if(yme(n))if(gme(n)&&!Ome(n)){let t={v:n,i:r,n:this.norm.get(n)};e.push(t)}else mme(n)&&n.forEach(((e,r)=>{t.push({nestedArrIndex:r,value:e})}))}r.$[n]=e}else if(gme(a)&&!Ome(a)){let e={v:a,n:this.norm.get(a)};r.$[n]=e}})),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function $me(e,t,{getFn:r=Ame.getFn,fieldNormWeight:n=Ame.fieldNormWeight}={}){const a=new Pme({getFn:r,fieldNormWeight:n});return a.setKeys(e.map(Sme)),a.setSources(t),a.create(),a}function Mme(e,{errors:t=0,currentLocation:r=0,expectedLocation:n=0,distance:a=Ame.distance,ignoreLocation:o=Ame.ignoreLocation}={}){const i=t/e.length;if(o)return i;const s=Math.abs(n-r);return a?i+s/a:s?1:i}const Dme=32;function Rme(e){let t={};for(let r=0,n=e.length;r<n;r+=1){const a=e.charAt(r);t[a]=(t[a]||0)|1<<n-r-1}return t}const Nme=String.prototype.normalize?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,""):e=>e;class Ime{constructor(e,{location:t=Ame.location,threshold:r=Ame.threshold,distance:n=Ame.distance,includeMatches:a=Ame.includeMatches,findAllMatches:o=Ame.findAllMatches,minMatchCharLength:i=Ame.minMatchCharLength,isCaseSensitive:s=Ame.isCaseSensitive,ignoreDiacritics:l=Ame.ignoreDiacritics,ignoreLocation:c=Ame.ignoreLocation}={}){if(this.options={location:t,threshold:r,distance:n,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c},e=s?e:e.toLowerCase(),e=l?Nme(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:Rme(e),startIndex:t})},d=this.pattern.length;if(d>Dme){let e=0;const t=d%Dme,r=d-t;for(;e<r;)u(this.pattern.substr(e,Dme),e),e+=Dme;if(t){const e=d-Dme;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,ignoreDiacritics:r,includeMatches:n}=this.options;if(e=t?e:e.toLowerCase(),e=r?Nme(e):e,this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:a,distance:o,threshold:i,findAllMatches:s,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],d=0,p=!1;this.chunks.forEach((({pattern:t,alphabet:r,startIndex:h})=>{const{isMatch:f,score:m,indices:g}=function(e,t,r,{location:n=Ame.location,distance:a=Ame.distance,threshold:o=Ame.threshold,findAllMatches:i=Ame.findAllMatches,minMatchCharLength:s=Ame.minMatchCharLength,includeMatches:l=Ame.includeMatches,ignoreLocation:c=Ame.ignoreLocation}={}){if(t.length>Dme)throw new Error("Pattern length exceeds max of 32.");const u=t.length,d=e.length,p=Math.max(0,Math.min(n,d));let h=o,f=p;const m=s>1||l,g=m?Array(d):[];let b;for(;(b=e.indexOf(t,f))>-1;){let e=Mme(t,{currentLocation:b,expectedLocation:p,distance:a,ignoreLocation:c});if(h=Math.min(e,h),f=b+u,m){let e=0;for(;e<u;)g[b+e]=1,e+=1}}f=-1;let v=[],y=1,O=u+d;const w=1<<u-1;for(let n=0;n<u;n+=1){let o=0,s=O;for(;o<s;)Mme(t,{errors:n,currentLocation:p+s,expectedLocation:p,distance:a,ignoreLocation:c})<=h?o=s:O=s,s=Math.floor((O-o)/2+o);O=s;let l=Math.max(1,p-s+1),b=i?d:Math.min(p+s,d)+u,x=Array(b+2);x[b+1]=(1<<n)-1;for(let o=b;o>=l;o-=1){let i=o-1,s=r[e.charAt(i)];if(m&&(g[i]=+!!s),x[o]=(x[o+1]<<1|1)&s,n&&(x[o]|=(v[o+1]|v[o])<<1|1|v[o+1]),x[o]&w&&(y=Mme(t,{errors:n,currentLocation:i,expectedLocation:p,distance:a,ignoreLocation:c}),y<=h)){if(h=y,f=i,f<=p)break;l=Math.max(1,2*p-f)}}if(Mme(t,{errors:n+1,currentLocation:p,expectedLocation:p,distance:a,ignoreLocation:c})>h)break;v=x}const x={isMatch:f>=0,score:Math.max(.001,y)};if(m){const e=function(e=[],t=Ame.minMatchCharLength){let r=[],n=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===n?n=o:i||-1===n||(a=o-1,a-n+1>=t&&r.push([n,a]),n=-1)}return e[o-1]&&o-n>=t&&r.push([n,o-1]),r}(g,s);e.length?l&&(x.indices=e):x.isMatch=!1}return x}(e,t,r,{location:a+h,distance:o,threshold:i,findAllMatches:s,minMatchCharLength:l,includeMatches:n,ignoreLocation:c});f&&(p=!0),d+=m,f&&g&&(u=[...u,...g])}));let h={isMatch:p,score:p?d/this.chunks.length:1};return p&&n&&(h.indices=u),h}}class Lme{constructor(e){this.pattern=e}static isMultiMatch(e){return jme(e,this.multiRegex)}static isSingleMatch(e){return jme(e,this.singleRegex)}search(){}}function jme(e,t){const r=e.match(t);return r?r[1]:null}class Bme extends Lme{constructor(e,{location:t=Ame.location,threshold:r=Ame.threshold,distance:n=Ame.distance,includeMatches:a=Ame.includeMatches,findAllMatches:o=Ame.findAllMatches,minMatchCharLength:i=Ame.minMatchCharLength,isCaseSensitive:s=Ame.isCaseSensitive,ignoreDiacritics:l=Ame.ignoreDiacritics,ignoreLocation:c=Ame.ignoreLocation}={}){super(e),this._bitapSearch=new Ime(e,{location:t,threshold:r,distance:n,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ume extends Lme{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,r=0;const n=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,r))>-1;)r=t+a,n.push([t,r-1]);const o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}const Fme=[class extends Lme{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Ume,class extends Lme{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Lme{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Lme{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Lme{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Lme{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Bme],Qme=Fme.length,zme=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,qme=new Set([Bme.type,Ume.type]);const Hme=[];function Vme(e,t){for(let r=0,n=Hme.length;r<n;r+=1){let n=Hme[r];if(n.condition(e,t))return new n(e,t)}return new Ime(e,t)}const Zme="$and",Wme="$path",Xme=e=>!(!e[Zme]&&!e.$or),Gme=e=>({[Zme]:Object.keys(e).map((t=>({[t]:e[t]})))});function Yme(e,t,{auto:r=!0}={}){const n=e=>{let a=Object.keys(e);const o=(e=>!!e[Wme])(e);if(!o&&a.length>1&&!Xme(e))return n(Gme(e));if((e=>!mme(e)&&vme(e)&&!Xme(e))(e)){const n=o?e[Wme]:a[0],i=o?e.$val:e[n];if(!gme(i))throw new Error((e=>`Invalid value for key ${e}`)(n));const s={keyId:Eme(n),pattern:i};return r&&(s.searcher=Vme(i,t)),s}let i={children:[],operator:a[0]};return a.forEach((t=>{const r=e[t];mme(r)&&r.forEach((e=>{i.children.push(n(e))}))})),i};return Xme(e)||(e=Gme(e)),n(e)}function Kme(e,t){const r=e.matches;t.matches=[],yme(r)&&r.forEach((e=>{if(!yme(e.indices)||!e.indices.length)return;const{indices:r,value:n}=e;let a={indices:r,value:n};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function Jme(e,t){t.score=e.score}class ege{constructor(e,t={},r){this.options={...Ame,...t},this.options.useExtendedSearch,this._keyStore=new kme(this.options.keys),this.setCollection(e,r)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Pme))throw new Error("Incorrect 'index' type");this._myIndex=t||$me(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){yme(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let r=0,n=this._docs.length;r<n;r+=1){const a=this._docs[r];e(a,r)&&(this.removeAt(r),r-=1,n-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:r,includeScore:n,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let s=gme(e)?gme(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Ame.ignoreFieldNorm}){e.forEach((e=>{let r=1;e.matches.forEach((({key:e,norm:n,score:a})=>{const o=e?e.weight:null;r*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:n))})),e.score=r}))}(s,{ignoreFieldNorm:i}),a&&s.sort(o),bme(t)&&t>-1&&(s=s.slice(0,t)),function(e,t,{includeMatches:r=Ame.includeMatches,includeScore:n=Ame.includeScore}={}){const a=[];return r&&a.push(Kme),n&&a.push(Jme),e.map((e=>{const{idx:r}=e,n={item:t[r],refIndex:r};return a.length&&a.forEach((t=>{t(e,n)})),n}))}(s,this._docs,{includeMatches:r,includeScore:n})}_searchStringList(e){const t=Vme(e,this.options),{records:r}=this._myIndex,n=[];return r.forEach((({v:e,i:r,n:a})=>{if(!yme(e))return;const{isMatch:o,score:i,indices:s}=t.searchIn(e);o&&n.push({item:e,idx:r,matches:[{score:i,value:e,norm:a,indices:s}]})})),n}_searchLogical(e){const t=Yme(e,this.options),r=(e,t,n)=>{if(!e.children){const{keyId:r,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(t,r),searcher:a});return o&&o.length?[{idx:n,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],s=r(i,t,n);if(s.length)a.push(...s);else if(e.operator===Zme)return[]}return a},n=this._myIndex.records,a={},o=[];return n.forEach((({$:e,i:n})=>{if(yme(e)){let i=r(t,e,n);i.length&&(a[n]||(a[n]={idx:n,item:e,matches:[]},o.push(a[n])),i.forEach((({matches:e})=>{a[n].matches.push(...e)})))}})),o}_searchObjectList(e){const t=Vme(e,this.options),{keys:r,records:n}=this._myIndex,a=[];return n.forEach((({$:e,i:n})=>{if(!yme(e))return;let o=[];r.forEach(((r,n)=>{o.push(...this._findMatches({key:r,value:e[n],searcher:t}))})),o.length&&a.push({idx:n,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:r}){if(!yme(t))return[];let n=[];if(mme(t))t.forEach((({v:t,i:a,n:o})=>{if(!yme(t))return;const{isMatch:i,score:s,indices:l}=r.searchIn(t);i&&n.push({score:s,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:s,indices:l}=r.searchIn(a);i&&n.push({score:s,key:e,value:a,norm:o,indices:l})}return n}}ege.version="7.1.0",ege.createIndex=$me,ege.parseIndex=function(e,{getFn:t=Ame.getFn,fieldNormWeight:r=Ame.fieldNormWeight}={}){const{keys:n,records:a}=e,o=new Pme({getFn:t,fieldNormWeight:r});return o.setKeys(n),o.setIndexRecords(a),o},ege.config=Ame,ege.parseQuery=Yme,function(...e){Hme.push(...e)}(class{constructor(e,{isCaseSensitive:t=Ame.isCaseSensitive,ignoreDiacritics:r=Ame.ignoreDiacritics,includeMatches:n=Ame.includeMatches,minMatchCharLength:a=Ame.minMatchCharLength,ignoreLocation:o=Ame.ignoreLocation,findAllMatches:i=Ame.findAllMatches,location:s=Ame.location,threshold:l=Ame.threshold,distance:c=Ame.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:r,includeMatches:n,minMatchCharLength:a,findAllMatches:i,ignoreLocation:o,location:s,threshold:l,distance:c},e=t?e:e.toLowerCase(),e=r?Nme(e):e,this.pattern=e,this.query=function(e,t={}){return e.split("|").map((e=>{let r=e.trim().split(zme).filter((e=>e&&!!e.trim())),n=[];for(let e=0,a=r.length;e<a;e+=1){const a=r[e];let o=!1,i=-1;for(;!o&&++i<Qme;){const e=Fme[i];let r=e.isMultiMatch(a);r&&(n.push(new e(r,t)),o=!0)}if(!o)for(i=-1;++i<Qme;){const e=Fme[i];let r=e.isSingleMatch(a);if(r){n.push(new e(r,t));break}}}return n}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:n,ignoreDiacritics:a}=this.options;e=n?e:e.toLowerCase(),e=a?Nme(e):e;let o=0,i=[],s=0;for(let n=0,a=t.length;n<a;n+=1){const a=t[n];i.length=0,o=0;for(let t=0,n=a.length;t<n;t+=1){const n=a[t],{isMatch:l,indices:c,score:u}=n.search(e);if(!l){s=0,o=0,i.length=0;break}if(o+=1,s+=u,r){const e=n.constructor.type;qme.has(e)?i=[...i,...c]:i.push(c)}}if(o){let e={isMatch:!0,score:s/o};return r&&(e.indices=i),e}}return{isMatch:!1,score:1}}});
/*!
* vue-router v4.5.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/
const tge="undefined"!=typeof document;function rge(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const nge=Object.assign;function age(e,t){const r={};for(const n in t){const a=t[n];r[n]=ige(a)?a.map(e):e(a)}return r}const oge=()=>{},ige=Array.isArray,sge=/#/g,lge=/&/g,cge=/\//g,uge=/=/g,dge=/\?/g,pge=/\+/g,hge=/%5B/g,fge=/%5D/g,mge=/%5E/g,gge=/%60/g,bge=/%7B/g,vge=/%7C/g,yge=/%7D/g,Oge=/%20/g;function wge(e){return encodeURI(""+e).replace(vge,"|").replace(hge,"[").replace(fge,"]")}function xge(e){return wge(e).replace(pge,"%2B").replace(Oge,"+").replace(sge,"%23").replace(lge,"%26").replace(gge,"`").replace(bge,"{").replace(yge,"}").replace(mge,"^")}function kge(e){return null==e?"":function(e){return wge(e).replace(sge,"%23").replace(dge,"%3F")}(e).replace(cge,"%2F")}function Sge(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}const _ge=/\/$/;function Ege(e,t,r="/"){let n,a={},o="",i="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=t.slice(0,l),o=t.slice(l+1,s>-1?s:t.length),a=e(o)),s>-1&&(n=n||t.slice(0,s),i=t.slice(s,t.length)),n=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),a=n[n.length-1];".."!==a&&"."!==a||n.push("");let o,i,s=r.length-1;for(o=0;o<n.length;o++)if(i=n[o],"."!==i){if(".."!==i)break;s>1&&s--}return r.slice(0,s).join("/")+"/"+n.slice(o).join("/")}(null!=n?n:t,r),{fullPath:n+(o&&"?")+o+i,path:n,query:a,hash:Sge(i)}}function Tge(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Age(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!Cge(e[r],t[r]))return!1;return!0}function Cge(e,t){return ige(e)?Pge(e,t):ige(t)?Pge(t,e):e===t}function Pge(e,t){return ige(t)?e.length===t.length&&e.every(((e,r)=>e===t[r])):1===e.length&&e[0]===t}const $ge={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Mge,Dge,Rge,Nge;(Dge=Mge||(Mge={})).pop="pop",Dge.push="push",(Nge=Rge||(Rge={})).back="back",Nge.forward="forward",Nge.unknown="";const Ige=/^[^#]+#/;function Lge(e,t){return e.replace(Ige,"#")+t}function jge(e,t){return(history.state?history.state.position-t:-1)+e}const Bge=new Map;function Uge(e=""){let t=[],r=[["",{}]],n=0;function a(e,t={}){n++,n!==r.length&&r.splice(n),r.push([e,t])}const o={location:"",state:{},base:e=function(e){if(!e)if(tge){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),(e=>e.replace(_ge,""))(e)}(e),createHref:Lge.bind(null,e),replace(e,t){r.splice(n--,1),a(e,t)},push(e,t){a(e,t)},listen:e=>(t.push(e),()=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)}),destroy(){t=[],r=[["",{}]],n=0},go(e,a=!0){const o=this.location,i=e<0?Rge.back:Rge.forward;n=Math.max(0,Math.min(n+e,r.length-1)),a&&function(e,r,{direction:n,delta:a}){const o={direction:n,delta:a,type:Mge.pop};for(const n of t)n(e,r,o)}(this.location,o,{direction:i,delta:e})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>r[n][0]}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>r[n][1]}),o}function Fge(e){return"string"==typeof e||"symbol"==typeof e}const Qge=Symbol("");var zge,qge;function Hge(e,t){return nge(new Error,{type:e,[Qge]:!0},t)}function Vge(e,t){return e instanceof Error&&Qge in e&&(null==t||!!(e.type&t))}(qge=zge||(zge={}))[qge.aborted=4]="aborted",qge[qge.cancelled=8]="cancelled",qge[qge.duplicated=16]="duplicated";const Zge="[^/]+?",Wge={sensitive:!1,strict:!1,start:!0,end:!0},Xge=/[.+*?^${}()[\]/\\]/g;function Gge(e,t){let r=0;for(;r<e.length&&r<t.length;){const n=t[r]-e[r];if(n)return n;r++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function Yge(e,t){let r=0;const n=e.score,a=t.score;for(;r<n.length&&r<a.length;){const e=Gge(n[r],a[r]);if(e)return e;r++}if(1===Math.abs(a.length-n.length)){if(Kge(n))return 1;if(Kge(a))return-1}return a.length-n.length}function Kge(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Jge={type:0,value:""},ebe=/[a-zA-Z0-9_]/;function tbe(e,t,r){const n=function(e,t){const r=nge({},Wge,t),n=[];let a=r.start?"^":"";const o=[];for(const t of e){const e=t.length?[]:[90];r.strict&&!t.length&&(a+="/");for(let n=0;n<t.length;n++){const i=t[n];let s=40+(r.sensitive?.25:0);if(0===i.type)n||(a+="/"),a+=i.value.replace(Xge,"\\$&"),s+=40;else if(1===i.type){const{value:e,repeatable:r,optional:l,regexp:c}=i;o.push({name:e,repeatable:r,optional:l});const u=c||Zge;if(u!==Zge){s+=10;try{new RegExp(`(${u})`)}catch(t){throw new Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=r?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;n||(d=l&&t.length<2?`(?:/${d})`:"/"+d),l&&(d+="?"),a+=d,s+=20,l&&(s+=-8),r&&(s+=-20),".*"===u&&(s+=-50)}e.push(s)}n.push(e)}if(r.strict&&r.end){const e=n.length-1;n[e][n[e].length-1]+=.7000000000000001}r.strict||(a+="/?"),r.end?a+="$":r.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const i=new RegExp(a,r.sensitive?"":"i");return{re:i,score:n,keys:o,parse:function(e){const t=e.match(i),r={};if(!t)return null;for(let e=1;e<t.length;e++){const n=t[e]||"",a=o[e-1];r[a.name]=n&&a.repeatable?n.split("/"):n}return r},stringify:function(t){let r="",n=!1;for(const a of e){n&&r.endsWith("/")||(r+="/"),n=!1;for(const e of a)if(0===e.type)r+=e.value;else if(1===e.type){const{value:o,repeatable:i,optional:s}=e,l=o in t?t[o]:"";if(ige(l)&&!i)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const c=ige(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${o}"`);a.length<2&&(r.endsWith("/")?r=r.slice(0,-1):n=!0)}r+=c}}return r||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Jge]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${r})/"${c}": ${e}`)}let r=0,n=r;const a=[];let o;function i(){o&&a.push(o),o=[]}let s,l=0,c="",u="";function d(){c&&(0===r?o.push({type:0,value:c}):1===r||2===r||3===r?(o.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===r)switch(r){case 0:"/"===s?(c&&d(),i()):":"===s?(d(),r=1):p();break;case 4:p(),r=n;break;case 1:"("===s?r=2:ebe.test(s)?p():(d(),r=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:r=3:u+=s;break;case 3:d(),r=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else n=r,r=4;return 2===r&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),a}(e.path),r),a=nge(n,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function rbe(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function nbe(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:abe(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function abe(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]="object"==typeof r?r[n]:r;return t}function obe(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ibe(e){return e.reduce(((e,t)=>nge(e,t.meta)),{})}function sbe(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function lbe({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function cbe(e){const t={};if(""===e||"?"===e)return t;const r=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;e<r.length;++e){const n=r[e].replace(pge," "),a=n.indexOf("="),o=Sge(a<0?n:n.slice(0,a)),i=a<0?null:Sge(n.slice(a+1));if(o in t){let e=t[o];ige(e)||(e=t[o]=[e]),e.push(i)}else t[o]=i}return t}function ube(e){let t="";for(let r in e){const n=e[r];(r=xge(r).replace(uge,"%3D"),null!=n)?(ige(n)?n.map((e=>e&&xge(e))):[n&&xge(n)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+r,null!=e&&(t+="="+e))})):void 0!==n&&(t+=(t.length?"&":"")+r)}return t}function dbe(e){const t={};for(const r in e){const n=e[r];void 0!==n&&(t[r]=ige(n)?n.map((e=>null==e?null:""+e)):null==n?n:""+n)}return t}const pbe=Symbol(""),hbe=Symbol(""),fbe=Symbol(""),mbe=Symbol(""),gbe=Symbol("");function bbe(){let e=[];return{add:function(t){return e.push(t),()=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function vbe(e,t,r,n,a,o=e=>e()){const i=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var o;!1===e?l(Hge(4,{from:r,to:t})):e instanceof Error?l(e):"string"==typeof(o=e)||o&&"object"==typeof o?l(Hge(2,{from:t,to:e})):(i&&n.enterCallbacks[a]===i&&"function"==typeof e&&i.push(e),s())},u=o((()=>e.call(n&&n.instances[a],t,r,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function ybe(e,t,r,n,a=e=>e()){const o=[];for(const i of e)for(const e in i.components){let s=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(rge(s)){const l=(s.__vccOpts||s)[t];l&&o.push(vbe(l,r,n,i,e,a))}else{let l=s();o.push((()=>l.then((o=>{if(!o)throw new Error(`Couldn't resolve component "${e}" at "${i.path}"`);const s=(l=o).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&rge(l.default)?o.default:o;var l;i.mods[e]=o,i.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&vbe(c,r,n,i,e,a)()}))))}}return o}function Obe(e){const t=Fs(fbe),r=Fs(mbe),n=gc((()=>{const r=Ao(e.to);return t.resolve(r)})),a=gc((()=>{const{matched:e}=n.value,{length:t}=e,a=e[t-1],o=r.matched;if(!a||!o.length)return-1;const i=o.findIndex(Tge.bind(null,a));if(i>-1)return i;const s=xbe(e[t-2]);return t>1&&xbe(a)===s&&o[o.length-1].path!==s?o.findIndex(Tge.bind(null,e[t-2])):i})),o=gc((()=>a.value>-1&&function(e,t){for(const r in t){const n=t[r],a=e[r];if("string"==typeof n){if(n!==a)return!1}else if(!ige(a)||a.length!==n.length||n.some(((e,t)=>e!==a[t])))return!1}return!0}(r.params,n.value.params))),i=gc((()=>a.value>-1&&a.value===r.matched.length-1&&Age(r.params,n.value.params)));return{route:n,href:gc((()=>n.value.href)),isActive:o,isExactActive:i,navigate:function(r={}){if(function(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}(r)){const r=t[Ao(e.replace)?"replace":"push"](Ao(e.to)).catch(oge);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>r)),r}return Promise.resolve()}}}const wbe=Li({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Obe,setup(e,{slots:t}){const r=uo(Obe(e)),{options:n}=Fs(fbe),a=gc((()=>({[kbe(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[kbe(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive})));return()=>{const n=t.default&&(1===(o=t.default(r)).length?o[0]:o);var o;return e.custom?n:bc("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},n)}}});function xbe(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kbe=(e,t,r)=>null!=e?e:null!=t?t:r;function Sbe(e,t){if(!e)return null;const r=e(t);return 1===r.length?r[0]:r}const _be=Li({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=Fs(gbe),a=gc((()=>e.route||n.value)),o=Fs(hbe,0),i=gc((()=>{let e=Ao(o);const{matched:t}=a.value;let r;for(;(r=t[e])&&!r.components;)e++;return e})),s=gc((()=>a.value.matched[i.value]));Us(hbe,gc((()=>i.value+1))),Us(pbe,s),Us(gbe,a);const l=So();return hl((()=>[l.value,s.value,e.name]),(([e,t,r],[n,a,o])=>{t&&(t.instances[r]=e,a&&a!==t&&e&&e===n&&(t.leaveGuards.size||(t.leaveGuards=a.leaveGuards),t.updateGuards.size||(t.updateGuards=a.updateGuards))),!e||!t||a&&Tge(t,a)&&n||(t.enterCallbacks[r]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const n=a.value,o=e.name,i=s.value,c=i&&i.components[o];if(!c)return Sbe(r.default,{Component:c,route:n});const u=i.props[o],d=u?!0===u?n.params:"function"==typeof u?u(n):u:null,p=bc(c,nge({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(i.instances[o]=null)},ref:l}));return Sbe(r.default,{Component:p,route:n})||p}}});function Ebe(e){const t=function(e,t){const r=[],n=new Map;function a(e,r,n){const s=!n,l=nbe(e);l.aliasOf=n&&n.record;const c=sbe(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(nbe(nge({},l,{components:n?n.record.components:l.components,path:e,aliasOf:n?n.record:l})))}let d,p;for(const t of u){const{path:u}=t;if(r&&"/"!==u[0]){const e=r.record.path,n="/"===e[e.length-1]?"":"/";t.path=r.record.path+(u&&n+u)}if(d=tbe(t,r,c),n?n.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),s&&e.name&&!obe(d)&&o(e.name)),lbe(d)&&i(d),l.children){const e=l.children;for(let t=0;t<e.length;t++)a(e[t],d,n&&n.children[t])}n=n||d}return p?()=>{o(p)}:oge}function o(e){if(Fge(e)){const t=n.get(e);t&&(n.delete(e),r.splice(r.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{const t=r.indexOf(e);t>-1&&(r.splice(t,1),e.record.name&&n.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function i(e){const t=function(e,t){let r=0,n=t.length;for(;r!==n;){const a=r+n>>1;Yge(e,t[a])<0?n=a:r=a+1}const a=function(e){let t=e;for(;t=t.parent;)if(lbe(t)&&0===Yge(e,t))return t}(e);return a&&(n=t.lastIndexOf(a,n-1)),n}(e,r);r.splice(t,0,e),e.record.name&&!obe(e)&&n.set(e.record.name,e)}return t=sbe({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>a(e))),{addRoute:a,resolve:function(e,t){let a,o,i,s={};if("name"in e&&e.name){if(a=n.get(e.name),!a)throw Hge(1,{location:e});i=a.record.name,s=nge(rbe(t.params,a.keys.filter((e=>!e.optional)).concat(a.parent?a.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&rbe(e.params,a.keys.map((e=>e.name)))),o=a.stringify(s)}else if(null!=e.path)o=e.path,a=r.find((e=>e.re.test(o))),a&&(s=a.parse(o),i=a.record.name);else{if(a=t.name?n.get(t.name):r.find((e=>e.re.test(t.path))),!a)throw Hge(1,{location:e,currentLocation:t});i=a.record.name,s=nge({},t.params,e.params),o=a.stringify(s)}const l=[];let c=a;for(;c;)l.unshift(c.record),c=c.parent;return{name:i,path:o,params:s,matched:l,meta:ibe(l)}},removeRoute:o,clearRoutes:function(){r.length=0,n.clear()},getRoutes:function(){return r},getRecordMatcher:function(e){return n.get(e)}}}(e.routes,e),r=e.parseQuery||cbe,n=e.stringifyQuery||ube,a=e.history,o=bbe(),i=bbe(),s=bbe(),l=_o($ge);let c=$ge;tge&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=age.bind(null,(e=>""+e)),d=age.bind(null,kge),p=age.bind(null,Sge);function h(e,o){if(o=nge({},o||l.value),"string"==typeof e){const n=Ege(r,e,o.path),i=t.resolve({path:n.path},o),s=a.createHref(n.fullPath);return nge(n,i,{params:p(i.params),hash:Sge(n.hash),redirectedFrom:void 0,href:s})}let i;if(null!=e.path)i=nge({},e,{path:Ege(r,e.path,o.path).path});else{const t=nge({},e.params);for(const e in t)null==t[e]&&delete t[e];i=nge({},e,{params:d(t)}),o.params=d(o.params)}const s=t.resolve(i,o),c=e.hash||"";s.params=u(p(s.params));const h=function(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}(n,nge({},e,{hash:(f=c,wge(f).replace(bge,"{").replace(yge,"}").replace(mge,"^")),path:s.path}));var f;const m=a.createHref(h);return nge({fullPath:h,hash:c,query:n===ube?dbe(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function f(e){return"string"==typeof e?Ege(r,e,l.value.path):nge({},e)}function m(e,t){if(c!==e)return Hge(8,{from:t,to:e})}function g(e){return v(e)}function b(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:r}=t;let n="function"==typeof r?r(e):r;return"string"==typeof n&&(n=n.includes("?")||n.includes("#")?n=f(n):{path:n},n.params={}),nge({query:e.query,hash:e.hash,params:null!=n.path?{}:e.params},n)}}function v(e,t){const r=c=h(e),a=l.value,o=e.state,i=e.force,s=!0===e.replace,u=b(r);if(u)return v(nge(f(u),{state:"object"==typeof u?nge({},o,u.state):o,force:i,replace:s}),t||r);const d=r;let p;return d.redirectedFrom=t,!i&&function(e,t,r){const n=t.matched.length-1,a=r.matched.length-1;return n>-1&&n===a&&Tge(t.matched[n],r.matched[a])&&Age(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}(n,a,r)&&(p=Hge(16,{to:d,from:a}),P(a,a,!0,!1)),(p?Promise.resolve(p):w(d,a)).catch((e=>Vge(e)?Vge(e,2)?e:C(e):A(e,d,a))).then((e=>{if(e){if(Vge(e,2))return v(nge({replace:s},f(e.to),{state:"object"==typeof e.to?nge({},o,e.to.state):o,force:i}),t||d)}else e=k(d,a,!0,s,o);return x(d,a,e),e}))}function y(e,t){const r=m(e,t);return r?Promise.reject(r):Promise.resolve()}function O(e){const t=D.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let r;const[n,a,s]=function(e,t){const r=[],n=[],a=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const o=t.matched[i];o&&(e.matched.find((e=>Tge(e,o)))?n.push(o):r.push(o));const s=e.matched[i];s&&(t.matched.find((e=>Tge(e,s)))||a.push(s))}return[r,n,a]}(e,t);r=ybe(n.reverse(),"beforeRouteLeave",e,t);for(const a of n)a.leaveGuards.forEach((n=>{r.push(vbe(n,e,t))}));const l=y.bind(null,e,t);return r.push(l),N(r).then((()=>{r=[];for(const n of o.list())r.push(vbe(n,e,t));return r.push(l),N(r)})).then((()=>{r=ybe(a,"beforeRouteUpdate",e,t);for(const n of a)n.updateGuards.forEach((n=>{r.push(vbe(n,e,t))}));return r.push(l),N(r)})).then((()=>{r=[];for(const n of s)if(n.beforeEnter)if(ige(n.beforeEnter))for(const a of n.beforeEnter)r.push(vbe(a,e,t));else r.push(vbe(n.beforeEnter,e,t));return r.push(l),N(r)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),r=ybe(s,"beforeRouteEnter",e,t,O),r.push(l),N(r)))).then((()=>{r=[];for(const n of i.list())r.push(vbe(n,e,t));return r.push(l),N(r)})).catch((e=>Vge(e,8)?e:Promise.reject(e)))}function x(e,t,r){s.list().forEach((n=>O((()=>n(e,t,r)))))}function k(e,t,r,n,o){const i=m(e,t);if(i)return i;const s=t===$ge,c=tge?history.state:{};r&&(n||s?a.replace(e.fullPath,nge({scroll:s&&c&&c.scroll},o)):a.push(e.fullPath,o)),l.value=e,P(e,t,r,s),C()}let S;let _,E=bbe(),T=bbe();function A(e,t,r){C(e);const n=T.list();return n.length?n.forEach((n=>n(e,t,r))):console.error(e),Promise.reject(e)}function C(e){return _||(_=!e,S||(S=a.listen(((e,t,r)=>{if(!R.listening)return;const n=h(e),o=b(n);if(o)return void v(nge(o,{replace:!0,force:!0}),n).catch(oge);c=n;const i=l.value;var s,u;tge&&(s=jge(i.fullPath,r.delta),u={left:window.scrollX,top:window.scrollY},Bge.set(s,u)),w(n,i).catch((e=>Vge(e,12)?e:Vge(e,2)?(v(nge(f(e.to),{force:!0}),n).then((e=>{Vge(e,20)&&!r.delta&&r.type===Mge.pop&&a.go(-1,!1)})).catch(oge),Promise.reject()):(r.delta&&a.go(-r.delta,!1),A(e,n,i)))).then((e=>{(e=e||k(n,i,!1))&&(r.delta&&!Vge(e,8)?a.go(-r.delta,!1):r.type===Mge.pop&&Vge(e,20)&&a.go(-1,!1)),x(n,i,e)})).catch(oge)}))),E.list().forEach((([t,r])=>e?r(e):t())),E.reset()),e}function P(t,r,n,a){const{scrollBehavior:o}=e;if(!tge||!o)return Promise.resolve();const i=!n&&function(e){const t=Bge.get(e);return Bge.delete(e),t}(jge(t.fullPath,0))||(a||!n)&&history.state&&history.state.scroll||null;return Ko().then((()=>o(t,r,i))).then((e=>e&&function(e){let t;if("el"in e){const r=e.el,n="string"==typeof r&&r.startsWith("#"),a="string"==typeof r?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!a)return;t=function(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}(e))).catch((e=>A(e,t,r)))}const $=e=>a.go(e);let M;const D=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,r){let n,a;return Fge(e)?(n=t.getRecordMatcher(e),a=r):a=e,t.addRoute(a,n)},removeRoute:function(e){const r=t.getRecordMatcher(e);r&&t.removeRoute(r)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:h,options:e,push:g,replace:function(e){return g(nge(f(e),{replace:!0}))},go:$,back:()=>$(-1),forward:()=>$(1),beforeEach:o.add,beforeResolve:i.add,afterEach:s.add,onError:T.add,isReady:function(){return _&&l.value!==$ge?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",wbe),e.component("RouterView",_be),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Ao(l)}),tge&&!M&&l.value===$ge&&(M=!0,g(a.location).catch((e=>{})));const t={};for(const e in $ge)Object.defineProperty(t,e,{get:()=>l.value[e],enumerable:!0});e.provide(fbe,this),e.provide(mbe,po(t)),e.provide(gbe,l);const r=e.unmount;D.add(e),e.unmount=function(){D.delete(e),D.size<1&&(c=$ge,S&&S(),S=null,l.value=$ge,M=!1,_=!1),r()}}};function N(e){return e.reduce(((e,t)=>e.then((()=>O(t)))),Promise.resolve())}return R}function Tbe(){return Fs(fbe)}function Abe(e){return Fs(mbe)}function Cbe(e){return e?.color||"#FFFFFF"}var Pbe=(e=>(e.Request="request",e.Examples="examples",e.Cookies="cookies",e.Collection="collection",e.Schema="schema",e.Environment="environment",e.Servers="servers",e.Workspace="workspace",e.Settings="settings",e))(Pbe||{});const $be=[{name:"request.root",path:"",component:()=>Promise.resolve().then((()=>nQe)),redirect:e=>({name:"request",params:{...e.params,request:"default"}}),children:[{name:"request",path:"request/:request",component:()=>Promise.resolve().then((()=>Qze))},{name:"request.examples",path:"request/:request/examples/:examples",component:()=>Promise.resolve().then((()=>Qze))},{name:"collection",path:"collection/:collection",component:()=>Promise.resolve().then((()=>nqe)),redirect:()=>({name:"collection.overview"}),children:[{name:"collection.overview",path:"overview",component:()=>Promise.resolve().then((()=>pqe))},{name:"collection.servers",path:"servers",component:()=>Promise.resolve().then((()=>Eqe)),children:[{name:"collection.servers.edit",path:":servers",component:()=>Promise.resolve().then((()=>Eqe))}]},{name:"collection.environment",path:"environment",component:()=>Promise.resolve().then((()=>Xqe))},{name:"collection.authentication",path:"authentication",component:()=>Promise.resolve().then((()=>rHe))},{name:"collection.cookies",path:"cookies",component:()=>Promise.resolve().then((()=>aHe))},{name:"collection.scripts",path:"scripts",component:()=>Promise.resolve().then((()=>iHe))},{name:"collection.sync",path:"sync",component:()=>Promise.resolve().then((()=>lHe))},{name:"collection.settings",path:"settings",component:()=>Promise.resolve().then((()=>OHe))}]}]}],Mbe=[{name:"root",path:"/",redirect:function(){const e=localStorage.getItem("activeWorkspace");return e?{name:"request.root",params:{workspace:e}}:{name:"workspace.default"}}},{name:"workspace.default",path:"/workspace",redirect:{name:"workspace",params:{workspace:"default"}}},{name:"workspace",path:"/workspace/:workspace",redirect:{name:"request.root"},children:$be}];function Dbe(e,t){const r=e.split(".").reduce(((e,t)=>e?.[t]),t);return"string"==typeof r?r:JSON.stringify(r)}function Rbe(e,t){let r=e;const n=new Set;return r=r.replace(wR.VARIABLES,((e,r)=>{const a=r.trim();n.add(a);const o=Dbe(a,t);return OB(o)&&""!==o?o:`{{${a}}}`})),r=r.replace(wR.PATH,((e,r)=>{const a=r.trim();if(n.has(a))return`{${a}}`;const o=Dbe(a,t);return OB(o)&&""!==o?o:`{${a}}`})),r=r.replace(/:\b[\w.]+\b/g,(e=>{const r=e.slice(1);if(n.has(r))return e;const a=Dbe(r,t);return OB(a)&&""!==a?a:e})),r}function Nbe(e){return function e(t,r){const n=Object.keys(t),a=[];return n.forEach((n=>{const o=r?`${r}.${n}`:n;"object"==typeof t[n]?a.push(...e(t[n],o)):a.push([o,String(t[n])])})),a}(e)}const Ibe=_t.object({uid:_t.string().brand(),name:_t.string().optional().default("Default Environment"),color:_t.string().optional().default("#FFFFFF"),value:_t.string().default(""),isDefault:_t.boolean().optional()}),Lbe=({collections:e,requestExamples:t,requests:r,router:n,servers:a,workspaces:o})=>{const i=gc(function(e){return()=>{const t={[Pbe.Collection]:"default",[Pbe.Environment]:"default",[Pbe.Request]:"default",[Pbe.Examples]:"default",[Pbe.Schema]:"default",[Pbe.Cookies]:"default",[Pbe.Servers]:"default",[Pbe.Workspace]:"default",[Pbe.Settings]:"default"},r=e?.currentRoute.value;return r&&Object.keys(t).forEach((e=>{r.params[e]&&(t[e]=r.params[e])})),t}}(n)),s=gc((()=>o[i.value[Pbe.Workspace]]??Object.values(o)[0])),l=gc((()=>s.value?.collections.map((t=>e[t])).filter(OB).sort(((e,t)=>"Drafts"===e.info?.title?1:"Drafts"===t.info?.title?-1:0))??[])),c=gc((()=>l.value?.flatMap((e=>e.servers.map((e=>a[e])))))),u=gc((()=>l.value?.flatMap((e=>e.requests))??[])),d=gc((()=>{if(!s.value?.activeEnvironmentId)return Ibe.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(s.value?.environments,null,2)});const e=l.value.find((e=>e["x-scalar-environments"]?.[s.value?.activeEnvironmentId??""]));return e&&s.value?.activeEnvironmentId?Ibe.parse({uid:s.value.activeEnvironmentId,name:s.value.activeEnvironmentId,value:JSON.stringify(e["x-scalar-environments"]?.[s.value?.activeEnvironmentId]?.variables,null,2),color:e["x-scalar-environments"]?.[s.value?.activeEnvironmentId]?.color||"#FFFFFF",isDefault:!1}):Ibe.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(s.value.environments,null,2)})})),p=gc((()=>{const t=i.value[Pbe.Request],n=e[i.value.collection]||e[s.value?.collections[0]??""];return r[t]||r[n?.requests[0]??""]||Object.values(r)[0]})),h=gc((()=>{const e="default"===i.value[Pbe.Examples]?p.value?.examples[0]||"":i.value[Pbe.Examples];return t[e]})),f=gc((()=>{const t=e[i.value[Pbe.Collection]];if(t)return t;const r=p.value?.uid;if(r)return Object.values(e).find((e=>e.requests?.includes(r)));const n=s.value?.collections[0]??e[0]?.uid??"";return e[n]})),m=gc((()=>{if(p.value?.selectedServerUid){const e=a[p.value.selectedServerUid];if(e)return e}if(f.value?.selectedServerUid){const e=a[f.value.selectedServerUid];if(e)return e}})),g=gc((()=>"default"===i.value[Pbe.Cookies]?s.value?.cookies[0]??"default":i.value[Pbe.Cookies])),b=gc((()=>{const e=s.value?.environments??{},t=d.value.uid?JSON.parse(d.value.value):{},r=Nbe(e).map((([e,t])=>({key:e,value:t,source:"global"}))),n=Nbe(t).map((([e,t])=>({key:e,value:t,source:"collection"}))),a=new Map;return n.forEach((e=>{a.set(e.key,e)})),r.forEach((e=>{a.has(e.key)||a.set(e.key,e)})),Array.from(a.values())}));return{activeCollection:f,activeCookieId:g,activeExample:h,activeRequest:p,activeRouterParams:i,activeEnvironment:d,activeServer:m,activeWorkspace:s,activeWorkspaceCollections:l,activeWorkspaceServers:c,activeEnvVariables:b,activeWorkspaceRequests:u}},jbe=Symbol(),Bbe=()=>{const e=Fs(jbe);if(!e)throw new Error("Active entities store not provided");return e};function Ube(e){return e.flatMap((e=>{if("value"===e.key)try{const t=JSON.parse(e.value);return Object.keys(t).map((r=>({key:r,value:t[r],source:e.source})))}catch{}return[e]}))}const Fbe={key:0,class:"gap-1/2 flex flex-col"},Qbe=["onClick"],zbe={class:"flex items-center gap-2 whitespace-nowrap"},qbe={class:"w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap"},Hbe=Li({__name:"EnvironmentVariableDropdown",props:{query:{},environment:{},envVariables:{},dropdownPosition:{}},emits:["select"],setup(e,{expose:t,emit:r}){const n=e,a=r,o=So(!0),i=So(null),s=So(0),l=Tbe(),{activeCollection:c}=Bbe(),u=()=>{if(!l)return;const{currentRoute:e,push:t}=l,r=e.value.params.workspace;c.value&&"Drafts"!==c.value.info?.title?t({name:"collection.environment",params:{[Pbe.Collection]:c.value.uid}}):t({name:"environment.default",params:{[Pbe.Workspace]:r}}),o.value=!1},d=new ege(Ube(n.envVariables),{keys:["key","value"]}),p=gc((()=>{const e=n.query;if(!e)return Ube(n.envVariables).slice(-4).filter((({key:e,value:t})=>""!==e||""!==t));const t=d.search(e,{limit:10});return t.length>0?t.map((e=>e.item)).filter((({key:e,value:t})=>""!==e||""!==t)):[]})),h=e=>{a("select",e)};t({handleArrowKey:e=>{const t="up"===e?-1:1,r=p.value.length;0!==r&&(s.value=(s.value+t+r)%r)},handleSelect:()=>{if(s.value>=0){const e=p.value[s.value];e&&h(e.key)}}}),Yi((()=>{s.value=0}));const f=gc((()=>({left:(n.dropdownPosition?.left??0)+"px",top:(n.dropdownPosition?.top??0)+5+"px"})));return function(e,t,r={}){const{window:n=JB,ignore:a=[],capture:o=!0,detectIframe:i=!1,controls:s=!1}=r;if(!n)return s?{stop:zB,cancel:zB,trigger:zB}:zB;if(qB&&!nU){nU=!0;const e={passive:!0};Array.from(n.document.body.children).forEach((t=>t.addEventListener("click",zB,e))),n.document.documentElement.addEventListener("click",zB,e)}let l=!0;const c=e=>Co(a).some((t=>{if("string"==typeof t)return Array.from(n.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const r=tU(t);return r&&(e.target===r||e.composedPath().includes(r))}})),u=r=>{const n=tU(e);null!=r.target&&(n instanceof Element||!function(e){const t=Co(e);return t&&16===t.$.subTree.shapeFlag}(e)||!function(e,t){const r=Co(e),n=r.$.subTree&&r.$.subTree.children;return!(null==n||!Array.isArray(n))&&n.some((e=>e.el===t.target||t.composedPath().includes(e.el)))}(e,r))&&n&&n!==r.target&&!r.composedPath().includes(n)&&("detail"in r&&0===r.detail&&(l=!c(r)),l?t(r):l=!0)};let d=!1;const p=[rU(n,"click",(e=>{d||(d=!0,setTimeout((()=>{d=!1}),0),u(e))}),{passive:!0,capture:o}),rU(n,"pointerdown",(t=>{const r=tU(e);l=!c(t)&&!(!r||t.composedPath().includes(r))}),{passive:!0}),i&&rU(n,"blur",(r=>{setTimeout((()=>{var a;const o=tU(e);"IFRAME"!==(null==(a=n.document.activeElement)?void 0:a.tagName)||(null==o?void 0:o.contains(n.document.activeElement))||t(r)}),0)}),{passive:!0})].filter(Boolean),h=()=>p.forEach((e=>e()))}(i,(()=>{o.value=!1}),{ignore:[i]}),(e,t)=>o.value?(Dl(),jl(Ao(KG),{key:0,class:"scalar-client"},{default:ci((()=>[zl("div",{ref_key:"dropdownRef",ref:i,class:"custom-scroll fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:jn(f.value)},[p.value.length?(Dl(),Ll("ul",Fbe,[(Dl(!0),Ll(Tl,null,ps(p.value,((t,r)=>(Dl(),Ll("li",{key:t.key,class:zn(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-2":r===s.value}]),onClick:e=>h(t.key)},[zl("div",zbe,["collection"===t.source&&"No Environment"!==e.environment.name?(Dl(),Ll("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:jn({backgroundColor:Ao(Cbe)(e.environment)})},null,4)):(Dl(),jl(Ao(yV),{key:1,class:"-ml-0.25 size-2.5",icon:"Globe"})),Zl(" "+Gn(t.key),1)]),zl("span",qbe,Gn(t.value),1)],10,Qbe)))),128))])):Ao(l)?(Dl(),jl(Ao(Oq),{key:1,class:"font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:u},{default:ci((()=>[ql(Ao(fZ),{class:"size-3"}),t[0]||(t[0]=Zl(" Add Variable "))])),_:1,__:[0]})):Xl("",!0),t[1]||(t[1]=zl("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],4)])),_:1})):Xl("",!0)}}),Vbe={class:"group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline"},Zbe={class:"text-c-1 whitespace-nowrap"},Wbe={class:"text-c-1 overflow-hidden text-ellipsis"},Xbe={class:"overflow-hidden text-ellipsis"},Gbe={class:"flex h-4 w-4 items-center justify-center"},Ybe=Li({__name:"DataTableInputSelect",props:{modelValue:{},value:{},default:{},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,a=gc((()=>r.value??[])),o=So(!1),i=So(""),s=So(null);hl(i,(e=>{n("update:modelValue",e)}));const l=e=>{n("update:modelValue",e),o.value=!1},c=()=>{i.value.trim()&&l(i.value)},u=()=>{i.value.trim()||n("update:modelValue",""),o.value=!1},d=e=>r.modelValue.toString()===e;hl(o,(e=>{e&&Ko((()=>{s.value?.focus()}))}));const p=gc((()=>void 0!==r.modelValue?r.modelValue:r.default)),h=gc((()=>{const e=new Set(r.modelValue.toString().split(", "));return a.value.filter((t=>e.has(t))).map((e=>({id:e,label:e,value:e})))})),f=gc((()=>a.value.map((e=>({id:e,label:e,value:e}))))),m=e=>{const t=e.map((e=>e.value));n("update:modelValue",t.join(", "))};return(e,t)=>(Dl(),Ll("div",Vbe,["array"===e.type?(Dl(),jl(Ao(nY),{key:0,modelValue:h.value,options:f.value,"onUpdate:modelValue":m},{default:ci((()=>[ql(Ao(Oq),{class:"custom-scroll h-full justify-start gap-1.5 px-2 py-1.5 pr-6 font-normal outline-none",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("span",Zbe,Gn(h.value.length>0?h.value.map((e=>e.label)).join(", "):"Select a value"),1),ql(Ao(A6),{icon:"ChevronDown",size:"md",class:"min-w-4"})])),_:1})])),_:1},8,["modelValue","options"])):o.value?ui((Dl(),Ll("input",{key:1,ref_key:"inputRef",ref:s,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",placeholder:"Value",type:"text",onBlur:u,onKeyup:Cu(c,["enter"])},null,544)),[[mu,i.value]]):(Dl(),jl(Ao(sY),{key:2,resize:"",value:p.value},{items:ci((()=>[(Dl(!0),Ll(Tl,null,ps(a.value,(e=>(Dl(),jl(Ao(L7),{key:e,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:e,onClick:t=>l(e)},{default:ci((()=>[zl("div",{class:zn(["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"])},[ql(Ao(A6),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),zl("span",Xbe,Gn(e),1)])),_:2},1032,["value","onClick"])))),128)),e.canAddCustomValue?(Dl(),Ll(Tl,{key:0},[a.value.length?(Dl(),jl(Ao(J6),{key:0})):Xl("",!0),ql(Ao(L7),{class:"flex items-center gap-1.5",onClick:t[1]||(t[1]=e=>o.value=!0)},{default:ci((()=>[zl("div",Gbe,[ql(Ao(A6),{icon:"Add",size:"sm"})]),t[2]||(t[2]=zl("span",null,"Add value",-1))])),_:1,__:[2]})],64)):Xl("",!0)])),default:ci((()=>[ql(Ao(Oq),{class:"h-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("span",Wbe,Gn(p.value||"Select a value"),1),ql(Ao(A6),{icon:"ChevronDown",size:"md"})])),_:1})])),_:1},8,["value"]))]))}});let Kbe=class e extends Wte{constructor(e,t,r,n,a){super(),this.variableName=e,this.variableName=e,this.environment=t,this.envVariables=r,this.workspace=n,this.isReadOnly=a??!1,this.uid=gB()}app;uid;environment;envVariables;workspace;isReadOnly;toDOM(){const e=document.createElement("span");e.className="cm-pill",e.textContent=`${this.variableName}`;const t=Li({props:{variableName:{type:String,default:null}},render:()=>{const t=this.envVariables?Ube(this.envVariables).find((e=>e.key===this.variableName)):void 0,r="global"===t?.source,n=r?"var(--scalar-color-1)":t&&this.environment&&"No Environment"!==this.environment.name?Cbe(this.environment):"var(--scalar-color-1)";e.style.setProperty("--tw-bg-base",n),e.style.opacity=t?.value?"1":"0.5";const a=t?.value||"No value",o=bc("div",{class:"flex items-center gap-1 whitespace-nowrap"},[(r||"No Environment"===this.environment?.name&&t?.value)&&bc(yV,{class:"size-3 -ml-1",icon:"Globe"}),bc("span",this.variableName)]);return bc(R7,{content:a,delay:0,placement:"bottom",offset:6},{default:()=>o})}});return this.app=Ru(t,{variableName:this.variableName}),this.app.mount(e),e}destroy(){this.app&&this.app.unmount()}eq(t){return t instanceof e&&t.variableName===this.variableName&&t.uid===this.uid}ignoreEvent(){return!1}};const Jbe=e=>Vre.fromClass(class{decorations;constructor(e){this.decorations=this.buildDecorations(e)}update(e){(e.docChanged||e.viewportChanged)&&requestAnimationFrame((()=>{this.decorations=this.buildDecorations(e.view),e.view.update([])}))}buildDecorations(t){const r=new _ee;for(const{from:n,to:a}of t.visibleRanges){const o=t.state.doc.sliceString(n,a);let i;for(;null!==(i=wR.VARIABLES.exec(o));){const t=n+i.index,a=t+i[0].length,o=i[1]??"";r.add(t,a,Gte.widget({widget:new Kbe(o,e.environment,e.envVariables,e.workspace,e.isReadOnly),side:1}))}}return r.finish()}},{decorations:e=>e.decorations}),eve=zae.domEventHandlers({keydown(e,t){if("Backspace"===e.key){const{state:r}=t,{from:n,to:a}=r.selection.main;if(0===n&&a===r.doc.length)return t.dispatch({changes:{from:0,to:r.doc.length},selection:{anchor:0}}),e.preventDefault(),!0;if(n===a&&n>0&&"}}"===r.doc.sliceString(n-2,n))return t.dispatch({changes:{from:n-2,to:a},selection:{anchor:n-2}}),e.preventDefault(),!0}return!1}}),tve=Symbol(),rve=()=>({layout:Fs(tve,"desktop")}),nve={class:"whitespace-nowrap"},ave=["id"],ove={key:0,class:"z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block",role:"alert"},ive={key:5,class:"centered-y text-orange absolute right-7 text-xs"},sve={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},lve={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"},cve=Li({inheritAttrs:!1,__name:"CodeInput",props:{colorPicker:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},modelValue:{},error:{type:Boolean},emitOnBlur:{type:Boolean,default:!0},extensions:{default:()=>[]},lineNumbers:{type:Boolean},lint:{type:Boolean},disableTabIndent:{type:Boolean,default:!1},language:{},handleFieldSubmit:{},handleFieldChange:{},placeholder:{},required:{type:Boolean},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},enum:{},examples:{},type:{},nullable:{type:Boolean,default:!1},withVariables:{type:Boolean,default:!0},importCurl:{type:Boolean},default:{},environment:{},envVariables:{},workspace:{},lineWrapping:{type:Boolean,default:!1}},emits:["submit","update:modelValue","curl","blur"],setup(e,{expose:t,emit:r}){const n=e,a=r,o=ws(),i=o.id||`id-${gB()}`,s=So(!1),l=So(!1),c=So(""),u=So({left:0,top:0}),d=So(null),{layout:p}=rve();function h(e){return e===n.modelValue?null:n.importCurl&&e.trim().toLowerCase().startsWith("curl")?(a("curl",e),O.value?.dispatch({changes:{from:0,to:O.value.state.doc.length,insert:String(n.modelValue)}}),null):n.handleFieldChange?n.handleFieldChange(e):a("update:modelValue",e)}function f(e){return n.handleFieldSubmit?n.handleFieldSubmit(e):a("submit",e)}function m(e){s.value=!1,n.emitOnBlur&&n.modelValue&&f(e),a("blur",e)}const g=[...n.extensions];n.colorPicker&&g.push(uce);const b=gc((()=>Jbe({environment:n.environment,envVariables:n.envVariables,workspace:n.workspace,isReadOnly:"modal"===p}))),v=gc((()=>[...g,b.value,eve])),y=So(null),{codeMirror:O}=pme({content:Io((()=>void 0!==n.modelValue?String(n.modelValue):"")),onChange:e=>{h(e),x()},onFocus:()=>s.value=!0,onBlur:e=>m(e),codeMirrorRef:y,disableTabIndent:Io((()=>n.disableTabIndent)),disableEnter:Io((()=>n.disableEnter)),disableCloseBrackets:Io((()=>n.disableCloseBrackets)),lineNumbers:Io((()=>n.lineNumbers)),language:Io((()=>n.language)),lint:Io((()=>n.lint)),extensions:v,placeholder:Io((()=>n.placeholder))});O.value?.focus(),hl(O,(()=>{O.value&&Object.hasOwn(o,"autofocus")&&O.value.focus()}));const{handleDropdownSelect:w,updateDropdownVisibility:x}=function(e){const{codeMirror:t,query:r,showDropdown:n,dropdownPosition:a}=e;function o(){return t.value?.state.selection.main.head||0}function i(e){return t.value?.coordsAtPos(e)}function s(){const e=o();requestAnimationFrame((()=>{const t=i(e-r.value.length-2);t&&(a.value={left:t.left,top:Math.max(t.bottom)})}))}function l(){const e=o(),l=t.value?.state.doc.sliceString(0,e)||"",c=l.lastIndexOf("{{");c>l.lastIndexOf("}}")?(r.value=l.slice(c+2),n.value=!0,a.value=i(e)||{left:0,top:0},""===r.value&&s()):n.value=!1}return hl(r,s),hl((()=>t.value?.state.doc.toString()),l),{handleDropdownSelect:function(e){const a=`{{${e}}}`,i=o(),s=Math.max(0,i-r.value.length-2),l=i;t.value?.dispatch({changes:{from:s,to:l,insert:a}}),n.value=!1},updateDropdownVisibility:l}}({codeMirror:O,query:c,showDropdown:l,dropdownPosition:u}),k=gc((()=>n.nullable?["true","false","null"]:["true","false"])),S=(e,t)=>{l.value?"down"===e?(t.preventDefault(),d.value?.handleArrowKey("down")):"up"===e?(t.preventDefault(),d.value?.handleArrowKey("up")):"enter"===e&&(t.preventDefault(),d.value?.handleSelect()):"escape"===e?n.disableTabIndent||t.stopPropagation():"enter"===e&&t.target instanceof HTMLDivElement&&f(t.target.textContent??"")},_=gc((()=>Array.isArray(n.type)?n.type.find((e=>"null"!==e))??"string":n.type)),E=gc((()=>l.value&&n.withVariables&&"modal"!==p&&n.environment));return t({focus:()=>{O.value?.focus()},handleChange:h,handleSubmit:f,handleBlur:m,booleanOptions:k,codeMirror:O,modelValue:n.modelValue}),(e,t)=>(Dl(),Ll(Tl,null,[e.disabled?(Dl(),Ll("div",{key:0,class:zn(["text-c-2 flex cursor-default items-center justify-center","modal"===Ao(p)?"font-code pr-2 pl-1 text-base":"px-2"]),"data-testid":"code-input-disabled"},[zl("span",nve,Gn(e.modelValue),1)],2)):n.enum&&n.enum.length?(Dl(),jl(Ybe,{key:1,default:n.default,modelValue:e.modelValue,type:_.value,value:n.enum,"onUpdate:modelValue":t[0]||(t[0]=e=>a("update:modelValue",e))},null,8,["default","modelValue","type","value"])):"boolean"===e.type||e.type?.includes("boolean")?(Dl(),jl(Ybe,{key:2,default:n.default,modelValue:e.modelValue,value:k.value,"onUpdate:modelValue":t[1]||(t[1]=e=>a("update:modelValue",e))},null,8,["default","modelValue","value"])):n.examples&&n.examples.length?(Dl(),jl(Ybe,{key:3,default:n.default,modelValue:n.modelValue,value:n.examples,"onUpdate:modelValue":t[2]||(t[2]=e=>a("update:modelValue",e))},null,8,["default","modelValue","value"])):(Dl(),Ll("div",Jl({key:4,id:Ao(i)},e.$attrs,{ref_key:"codeMirrorRef",ref:y,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}],onKeydown:[t[3]||(t[3]=Cu(Tu((e=>S("down",e)),["stop"]),["down"])),t[4]||(t[4]=Cu((e=>S("enter",e)),["enter"])),t[5]||(t[5]=Cu((e=>S("escape",e)),["escape"])),t[6]||(t[6]=Cu(Tu((e=>S("up",e)),["stop"]),["up"]))]}),[e.disableTabIndent?Xl("",!0):(Dl(),Ll("div",ove,t[7]||(t[7]=[Zl(" Press "),zl("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),Zl(" then "),zl("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),Zl(" to exit ")])))],16,ave)),e.$slots.warning?(Dl(),Ll("div",ive,[fs(e.$slots,"warning",{},void 0,!0)])):Xl("",!0),e.$slots.icon?(Dl(),Ll("div",sve,[fs(e.$slots,"icon",{},void 0,!0)])):Xl("",!0),e.required?(Dl(),Ll("div",lve," Required ")):Xl("",!0),E.value?(Dl(),jl(Hbe,{key:8,ref_key:"dropdownRef",ref:d,dropdownPosition:u.value,envVariables:e.envVariables,environment:e.environment,query:c.value,onSelect:Ao(w)},null,8,["dropdownPosition","envVariables","environment","query","onSelect"])):Xl("",!0)],64))}}),uve=W7(cve,[["__scopeId","data-v-26202746"]]),dve=Li({__name:"HttpMethod",props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const r=e,n=t,a=gc((()=>MB(r.method))),o=Object.entries($B).map((([e])=>({id:e,label:e.toUpperCase(),color:MB(e).colorClass}))),i=gc({get:()=>o.find((({id:e})=>e===r.method)),set:e=>e?.id&&n("change",e.id)}),s=lq({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 border-r",false:"cursor-auto"}}}),l=gc((()=>a.value.short));return(e,t)=>e.isEditable?(Dl(),jl(Ao(H6),{key:0,modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),class:"font-code scalar-client mt-1 text-sm",options:Ao(o)},{default:ci((()=>[zl("div",{class:zn(["h-full",{"pointer-events-none":!e.isEditable}])},[zl("button",{class:zn(["relative h-full",Ao(cq)(Ao(s)({isSquare:e.isSquare,isEditable:e.isEditable}),a.value.colorClass)]),type:"button"},[zl("span",null,Gn(l.value),1)],2)],2)])),_:1},8,["modelValue","options"])):(Dl(),Ll("div",{key:1,class:zn(["relative gap-1 whitespace-nowrap",Ao(cq)(Ao(s)({isSquare:e.isSquare,isEditable:e.isEditable}),a.value.colorClass)]),type:"button"},Gn(a.value.short),3))}}),pve=W7(dve,[["__scopeId","data-v-076b14a1"]]),hve=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e+"ms",fve={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"}},mve=e=>fve[e]||{color:"text-grey"},gve=_t.union([_t.string().brand(),_t.string().brand().array()]).array().default([]),bve=_t.union([_t.object({description:_t.string().optional(),default:_t.string().default("")}),_t.string()]),vve=_t.object({description:_t.string().optional(),color:_t.string().optional(),variables:_t.record(_t.string(),bve)}),yve=_t.record(_t.string(),vve),Ove=_t.object({description:_t.string().optional(),example:_t.string().optional()}),wve=_t.record(_t.string(),Ove),xve=_t.object({description:_t.string().optional()}),kve=_t.object({uid:bB.brand(),nameKey:_t.string().optional().default("")}),Sve=xve.extend({type:_t.literal("apiKey"),name:_t.string().optional().default(""),in:_t.enum(["query","header","cookie"]).optional().default("header").catch("header")}),_ve=_t.object({value:_t.string().default("")}),Eve=Sve.merge(kve).merge(_ve),Tve=xve.extend({type:_t.literal("http"),scheme:_t.string().toLowerCase().pipe(_t.enum(["basic","bearer"])).optional().default("basic"),bearerFormat:_t.union([_t.literal("JWT"),_t.string()]).optional().default("JWT")}),Ave=_t.object({username:_t.string().default(""),password:_t.string().default(""),token:_t.string().default("")}),Cve=Tve.merge(kve).merge(Ave),Pve=xve.extend({type:_t.literal("openIdConnect"),openIdConnectUrl:_t.string().optional().default("")}),$ve=Pve.merge(kve),Mve=_t.string().default(""),Dve=_t.string().default(""),Rve=_t.object({refreshUrl:_t.string().optional().default(""),scopes:_t.record(_t.string(),_t.string().optional().default("")).optional().default({}).catch({}),selectedScopes:_t.array(_t.string()).optional().default([]),"x-scalar-client-id":_t.string().optional().default(""),token:_t.string().default(""),"x-scalar-security-query":_t.record(_t.string(),_t.string()).optional(),"x-scalar-security-body":_t.record(_t.string(),_t.string()).optional(),"x-tokenName":_t.string().optional()}),Nve="undefined"!=typeof window?window.location.origin+window.location.pathname:"",Ive=["SHA-256","plain","no"],Lve=_t.enum(["header","body"]).optional(),jve=xve.extend({type:_t.literal("oauth2"),"x-default-scopes":_t.string().or(_t.array(_t.string())).optional(),flows:_t.object({implicit:Rve.extend({type:_t.literal("implicit").default("implicit"),authorizationUrl:Mve,"x-scalar-redirect-uri":_t.string().optional().default(Nve)}),password:Rve.extend({type:_t.literal("password").default("password"),tokenUrl:Dve,clientSecret:_t.string().default(""),username:_t.string().default(""),password:_t.string().default(""),"x-scalar-credentials-location":Lve}),clientCredentials:Rve.extend({type:_t.literal("clientCredentials").default("clientCredentials"),tokenUrl:Dve,clientSecret:_t.string().default(""),"x-scalar-credentials-location":Lve}),authorizationCode:Rve.extend({type:_t.literal("authorizationCode").default("authorizationCode"),authorizationUrl:Mve,"x-usePkce":_t.enum(Ive).optional().default("no"),"x-scalar-redirect-uri":_t.string().optional().default(Nve),tokenUrl:Dve,clientSecret:_t.string().default(""),"x-scalar-credentials-location":Lve})}).partial().default({implicit:{type:"implicit",authorizationUrl:"http://localhost:8080"}})}),Bve=jve.merge(kve),Uve=_t.record(_t.string(),_t.array(_t.string()).optional().default([]));_t.union([Sve,Tve,jve,Pve]);const Fve=_t.discriminatedUnion("type",[Eve,Cve,$ve,Bve]).transform((e=>("oauth2"===e.type&&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))),Qve=e=>Array.isArray(e)?e.map((e=>"object"==typeof e&&null!==e?Qve(e):e)):Object.fromEntries(Object.entries(e).filter((([e,t])=>void 0!==t)).map((([e,t])=>"object"==typeof t&&null!==t?[e,Qve(t)]:[e,t]))),zve=_t.object({name:_t.string().optional().nullable().catch(null),identifier:_t.string().optional().catch(void 0),url:_t.string().url().optional().catch(void 0)}).transform(Qve),qve=_t.object({name:_t.string().optional(),url:_t.string().url().optional().catch(void 0),email:_t.string().optional().catch(void 0)}).transform(Qve),Hve=_t.object({title:_t.string().catch("API"),summary:_t.string().optional().catch(void 0),description:_t.string().optional().catch(void 0),termsOfService:_t.string().url().optional().catch(void 0),contact:qve.optional().catch(void 0),license:zve.optional().catch(void 0),version:_t.string().catch("1.0")}).merge(cB).transform(Qve),Vve=_t.object({description:_t.string().optional().catch(void 0),url:_t.string()}).transform(Qve),Zve=_t.object({tagName:_t.string()}).array(),Wve=_t.object({type:_t.literal("tag").optional().default("tag"),name:_t.string(),description:_t.string().optional().catch(void 0),externalDocs:Vve.optional(),"x-scalar-children":Zve.default([]).optional(),"x-internal":_t.boolean().optional(),"x-scalar-ignore":_t.boolean().optional()}).extend({uid:bB.brand(),children:_t.union([_t.string().brand(),_t.string().brand()]).array().default([])}),Xve=_t.object({type:_t.literal("collection").optional().default("collection"),openapi:_t.union([_t.string(),_t.literal("3.0.0"),_t.literal("3.1.0"),_t.literal("4.0.0")]).optional().default("3.1.0"),jsonSchemaDialect:_t.string().optional(),info:Hve.catch({title:"API",version:"1.0"}),security:_t.array(Uve).optional().default([]),externalDocs:Vve.optional().catch(void 0),components:_t.record(_t.string(),_t.unknown()).optional(),webhooks:_t.record(_t.string(),_t.unknown()).optional(),"x-scalar-icon":_t.string().optional().default("interface-content-folder"),"x-scalar-active-environment":_t.string().optional(),"x-scalar-environments":yve.optional(),"x-scalar-secrets":wve.optional()}),Gve=_t.object({uid:bB.brand(),securitySchemes:_t.string().array().default([]),selectedSecuritySchemeUids:gve,selectedServerUid:_t.string().brand().optional(),servers:_t.string().brand().array().default([]),requests:_t.string().brand().array().default([]),tags:_t.string().brand().array().default([]),children:_t.union([_t.string().brand(),_t.string().brand()]).array().default([]),documentUrl:_t.string().optional(),watchMode:_t.boolean().optional().default(!1),integration:_t.string().nullable().optional(),useCollectionSecurity:_t.boolean().optional().default(!1),watchModeStatus:_t.enum(["IDLE","WATCHING","ERROR"]).optional().default("IDLE")}),Yve=Xve.merge(Gve),Kve=_t.enum(["path","query","header","cookie"]),Jve=_t.enum(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]);_t.unknown();const eye=_t.object({in:Kve,name:_t.string(),description:_t.string().optional(),required:_t.boolean().optional().default(!1),deprecated:_t.boolean().optional().default(!1),schema:_t.unknown().optional(),content:_t.unknown().optional(),style:Jve.optional(),explode:_t.boolean().optional(),example:_t.unknown().optional(),examples:_t.union([_t.record(_t.string(),_t.object({value:_t.unknown().optional(),summary:_t.string().optional(),externalValue:_t.string().optional()})),_t.array(_t.unknown())]).optional()});var tye=(e=>(e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable",e))(tye||{});const rye=(new Date).toISOString(),nye=rye.split("T")[0],aye=rye.split("T")[1].split(".")[0],oye={"date-time":rye,date:nye,email:"hello@example.com",hostname:"example.com","idn-email":"jane.doe@example.com","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:aye,"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"};function iye(e,t=!1,r=""){return"binary"===e.format?new File([""],"filename"):t?oye[e.format??""]??r:""}const sye=new WeakMap;function lye(e,t){return"object"!=typeof t||null===t||sye.set(e,t),t}const cye=(e,t,r=0,n,a)=>{const o=hR(e);if(!OB(o))return;if(sye.has(o))return sye.get(o);if(r>10)return"[Max Depth Exceeded]";const i=!!t?.emptyString;if(o.deprecated)return;if("write"===t?.mode&&o.readOnly||"read"===t?.mode&&o.writeOnly)return;if(o["x-variable"]){const e=t?.variables?.[o["x-variable"]];if(void 0!==e){if("number"===o.type||"integer"===o.type){const t=Number.parseInt(e,10);return lye(o,t)}return lye(o,e)}}if(Array.isArray(o.examples)&&o.examples.length>0)return lye(o,o.examples[0]);if(void 0!==o.example)return lye(o,o.example);if(void 0!==o.default)return lye(o,o.default);if(void 0!==o.const)return lye(o,o.const);if(Array.isArray(o.enum)&&o.enum.length>0)return lye(o,o.enum[0]);if(!("object"===o.type||"array"===o.type||o.allOf?.at?.(0)||o.anyOf?.at?.(0)||o.oneOf?.at?.(0)||!0!==t?.omitEmptyAndOptionalProperties||!0===o.required||!0===n?.required||n?.required?.includes(a??o.title??"")))return;if("object"===o.type||void 0!==o.properties){const e={};let n=0;if(void 0!==o.properties){const a=Object.keys(o.properties),i=r>3?10:a.length;for(const s of a.slice(0,i)){const a=hR(o.properties[s]);if(!a)continue;const i=t?.xml?a?.xml?.name:void 0,l=cye(a,t,r+1,o,s);void 0!==l&&(e[i??s]=l,n++)}r>3&&n>=10&&a.length>10&&(e["..."]="[Additional Properties Truncated]")}if(void 0!==o.patternProperties)for(const n of Object.keys(o.patternProperties)){const a=hR(o.patternProperties[n]);a&&(e[n]=cye(a,t,r+1,o,n))}if(void 0!==o.additionalProperties){const n=!0===o.additionalProperties||"object"==typeof o.additionalProperties&&!Object.keys(o.additionalProperties).length,a=hR(o.additionalProperties),i="object"==typeof a&&a["x-additionalPropertiesName"]&&"string"==typeof a["x-additionalPropertiesName"]&&a["x-additionalPropertiesName"].trim().length>0?`${a["x-additionalPropertiesName"].trim()}*`:"propertyName*";n?e[i]="anything":"object"==typeof a&&(e[i]=cye(a,t,r+1))}if(o.anyOf?.[0]?Object.assign(e,cye(hR(o.anyOf[0]),t,r+1)):void 0!==o.oneOf?.[0]?Object.assign(e,cye(hR(o.oneOf[0]),t,r+1)):o.allOf?.[0]&&Object.assign(e,...o.allOf.filter(OB).map((e=>cye(hR(e),t,r+1,o)))),t?.xml&&o.xml?.name&&0===r){const t={};return t[o.xml.name]=e,lye(o,t)}return lye(o,e)}if("array"===o.type||void 0!==o.items){const e=hR(o.items),n=e?.xml?.name,a=!!(t?.xml&&o.xml?.wrapped&&n);if(void 0!==o.example)return lye(o,a?{[n]:o.example}:o.example);if(e){if(e.allOf){const i=e.allOf.filter(OB),s=hR(i[0]);if("object"===s?.type){const e=cye({type:"object",allOf:i},t,r+1,o);return lye(o,a?[{[n]:e}]:[e])}const l=i.map((e=>cye(hR(e),t,r+1,o))).filter(OB);return lye(o,a?l.map((e=>({[n]:e}))):l)}if(e.anyOf||e.oneOf){const i=e.anyOf||e.oneOf;if(i&&i.length>0){const e=i[0];if(e){const i=cye(hR(e),t,r+1,o);return lye(o,a?[{[n]:i}]:[i])}}}}const i="object"===e?.type||void 0!==e?.properties,s="array"===e?.type||void 0!==e?.items;if(e?.type||i||s){const i=cye(e,t,r+1);return lye(o,a?[{[n]:i}]:[i])}return lye(o,[])}const s={string:iye(o,i,t?.emptyString),boolean:!0,integer:o.minimum??1,number:o.minimum??1,array:[]};if(o.type&&!Array.isArray(o.type)&&void 0!==s[o.type])return lye(o,s[o.type]);const l=o.oneOf||o.anyOf;if(Array.isArray(l)&&l.length>0){const e=l.map((e=>hR(e))).find((e=>"null"!==e.type));if(e){const n=cye(e,t,r+1);return lye(o,n)}return lye(o,null)}if(Array.isArray(o.allOf)){let e=null;return o.allOf.forEach((n=>{const a=cye(hR(n),t,r+1);e="object"==typeof a&&"object"==typeof e?{...e??{},...a}:Array.isArray(a)&&Array.isArray(e)?[...e??{},...a]:a})),lye(o,e)}if(Array.isArray(o.type)){if(o.type.includes("null"))return lye(o,null);const e=s[o.type[0]??""];if(void 0!==e)return lye(o,e)}return lye(o,null)};function uye(e=[],t=[],r,n=!0){return[...t||[],...e||[]].filter((e=>e.in===r)).filter((e=>n&&e.required||!n)).map((e=>({name:e.name??"Unknown Parameter",description:e.description??null,value:e.example?e.example:e.schema?cye(e.schema,{mode:"write"}):"",required:e.required??!1,enabled:e.required??!1}))).sort(((e,t)=>e.required&&!t.required?-1:!e.required&&t.required?1:0))}function dye(e,t=!1,r){return Object.entries(e).flatMap((([e,n])=>{const a=r??e;return Array.isArray(n)&&!t?dye(n,!0,e):("object"!=typeof n||n instanceof File||null===n||(n=JSON.stringify(n)),[{name:a,value:n}])}))}const pye=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"],hye=_t.object({key:_t.string().default(""),value:_t.coerce.string().default(""),enabled:_t.boolean().default(!0),file:_t.any().optional(),description:_t.string().optional(),required:_t.boolean().optional(),enum:_t.array(_t.string()).optional(),examples:_t.array(_t.any()).optional(),type:_t.union([_t.string(),_t.array(_t.string())]).optional(),format:_t.string().optional(),minimum:_t.number().optional(),maximum:_t.number().optional(),default:_t.any().optional(),nullable:_t.boolean().optional()}).transform((e=>{const t={...e};return Array.isArray(t.type)&&t.type.includes("null")&&(t.nullable=!0),Array.isArray(t.type)&&2===t.type.length&&t.type.includes("null")&&(t.type=t.type.find((e=>"null"!==e))),t})),fye=_t.object({url:_t.string(),base64:_t.string().optional()}).nullable();_t.union([_t.object({type:_t.literal("string"),value:_t.string()}),_t.object({type:_t.literal("file"),file:fye})]);const mye=_t.object({raw:_t.object({encoding:_t.enum(["json","text","html","javascript","xml","yaml","edn"]),value:_t.string().default(""),mimeType:_t.string().optional()}).optional(),formData:_t.object({encoding:_t.union([_t.literal("form-data"),_t.literal("urlencoded")]).default("form-data"),value:hye.array().default([])}).optional(),binary:_t.instanceof(Blob).optional(),activeBody:_t.union([_t.literal("raw"),_t.literal("formData"),_t.literal("binary")]).default("raw")}),gye=_t.object({encoding:_t.enum(["application/json","text/plain","text/html","application/javascript","application/xml","application/yaml","application/edn","application/octet-stream","application/x-www-form-urlencoded","multipart/form-data","binary"]),content:_t.union([_t.record(_t.string(),_t.any()),_t.string()]),file:fye.optional()}),bye=_t.object({uid:bB.brand(),type:_t.literal("requestExample").optional().default("requestExample"),requestUid:_t.string().brand().optional(),name:_t.string().optional().default("Name"),body:mye.optional().default({}),parameters:_t.object({path:hye.array().default([]),query:hye.array().default([]),headers:hye.array().default([{key:"Accept",value:"*/*",enabled:!0}]),cookies:hye.array().default([])}).optional().default({}),serverVariables:_t.record(_t.string(),_t.array(_t.string())).optional()}),vye=_t.record(_t.string(),_t.string()).optional(),yye=_t.object({name:_t.string().optional(),body:gye.optional(),parameters:_t.object({path:vye,query:vye,headers:vye,cookies:vye})});function Oye(e,t,r){const n={path:[],query:[],cookie:[],header:[],headers:[{key:"Accept",value:"*/*",enabled:!0}]};e.parameters?.forEach((e=>n[e.in].push(function(e){const t=e.schema,r=(()=>{if(e.examples&&!Array.isArray(e.examples)&&dR(e.examples).length>0){const t=Object.entries(e.examples).map((([e,t])=>t.externalValue?t.externalValue:t.value));return{value:t[0],examples:t}}if(OB(e.example))return{value:e.example};if(Array.isArray(e.examples)&&e.examples.length>0)return{value:e.examples[0]};if(OB(t?.example))return{value:t.example};if(Array.isArray(t?.examples)&&t.examples.length>0)return"boolean"===t?.type?{value:t.default??!1}:{value:t.examples[0]};if(e.content){const t=dR(e.content)[0];if(t){const r=e.content[t];if(r?.examples){const e=Object.keys(r.examples)[0];if(e){const t=r.examples[e];if(OB(t?.value))return{value:t.value}}}if(OB(r?.example))return{value:r.example}}}return null})(),n=String(r?.value??t?.default??""),a=t?.enum&&"string"!==t?.type?t.enum?.map(String):t?.items?.enum&&"array"===t?.type?t.items.enum.map(String):t?.enum,o=r?.examples||(t?.examples&&"string"!==t?.type?t.examples?.map(String):t?.examples);return oB({...t,key:e.name,value:n,description:e.description,required:e.required,enabled:!!e.required,enum:a,examples:o},hye,!1)||(console.warn(`Example at ${e.name} is invalid.`),hye.parse({}))}(e)))),n.header.length>0&&(n.headers=n.header,n.header=[]);const a=n.headers.find((e=>"content-type"===e.key.toLowerCase())),o={activeBody:"raw"};if(e.requestBody||a?.value){const t=function(e){const t=e.requestBody?.content,r=nB(t),n=pye.find((e=>!!r?.[e]))??(Object.keys(r??{})[0]||"application/json"),a=n.includes("json")||n.endsWith("+json"),o=r?.[n]?.examples??r?.["application/json"]?.examples,i=o?.[Object.keys(o??{})[0]??""];if(i)return{mimeType:n,text:aB("value"in i?i.value:i)};const s=uye(e.parameters??[],[],"body",!1);if(s.length>0)return{mimeType:"application/json",text:aB(s[0]?.value??"")};const l=uye(e.parameters??[],[],"formData",!1);if(l.length>0)return{mimeType:"application/x-www-form-urlencoded",params:l.map((e=>({name:e.name,value:"string"==typeof e.value?e.value:JSON.stringify(e.value)})))};if(!n)return null;const c=r?.[n],u=c?.example?c?.example:void 0;if(a){const e=c?.schema?cye(hR(c?.schema),{mode:"write",omitEmptyAndOptionalProperties:!1}):null,t=u??e;return{mimeType:n,text:t?"string"==typeof t?t:JSON.stringify(t,null,2):void 0}}if("application/xml"===n){const e=c?.schema?cye(hR(c?.schema),{xml:!0,mode:"write"}):null;return{mimeType:n,text:u??TB(e)}}if("application/octet-stream"===n)return{mimeType:n,text:"BINARY"};if("text/plain"===n){const e=c?.schema?cye(hR(c?.schema),{xml:!0,mode:"write"}):null;return{mimeType:n,text:u??e??""}}if("multipart/form-data"===n||"application/x-www-form-urlencoded"===n){const e=c?.schema?cye(hR(c?.schema),{xml:!0,mode:"write"}):null;return{mimeType:n,params:dye(u??e??{})}}return null}(e),r=e.requestBody?t?.mimeType:a?.value;(r?.includes("/json")||r?.endsWith("+json"))&&(o.activeBody="raw",o.raw={encoding:"json",mimeType:r,value:t?.text??JSON.stringify({})}),"application/xml"===r&&(o.activeBody="raw",o.raw={encoding:"xml",value:t?.text??""}),"application/octet-stream"===r&&(o.activeBody="binary",o.binary=void 0),"application/x-www-form-urlencoded"!==r&&"multipart/form-data"!==r||(o.activeBody="formData",o.formData={encoding:"application/x-www-form-urlencoded"===r?"urlencoded":"form-data",value:(t?.params||[]).map((e=>e.value instanceof File?{key:e.name,value:"BINARY",file:e.value,enabled:!0}:{key:e.name,value:e.value||"",enabled:!0}))}),!t?.mimeType||a||t.mimeType.startsWith("multipart/")||n.headers.push({key:"Content-Type",value:t.mimeType,enabled:!0})}return oB({requestUid:e.uid,parameters:n,name:t,body:o,serverVariables:{}},bye,!1)||(console.warn(`Example at ${e.uid} is invalid.`),bye.parse({}))}const wye=_t.any(),xye=_t.object({tags:_t.string().array().optional(),summary:_t.string().optional(),description:_t.string().optional(),operationId:_t.string().optional(),security:_t.array(Uve).optional(),requestBody:wye.optional(),parameters:eye.array().optional(),externalDocs:Vve.optional(),deprecated:_t.boolean().optional(),responses:_t.record(_t.string(),_t.any()).optional(),callbacks:_t.record(_t.string(),_t.record(_t.string(),_t.record(_t.string(),_t.any()))).optional(),"x-scalar-examples":_t.record(_t.string(),yye).optional(),"x-internal":_t.boolean().optional(),"x-scalar-ignore":_t.boolean().optional()}),kye=_t.object({"x-scalar-stability":_t.enum([tye.Deprecated,tye.Experimental,tye.Stable]).optional().catch(void 0)}),Sye=_t.object({type:_t.literal("request").optional().default("request"),uid:bB.brand(),path:_t.string().optional().default(""),method:_t.enum(["connect","delete","get","head","options","patch","post","put","trace"]).default("get"),servers:_t.string().brand().array().default([]),selectedServerUid:_t.string().brand().optional().nullable().default(null),examples:_t.string().brand().array().default([]),selectedSecuritySchemeUids:gve}),_ye=xye.omit({"x-scalar-examples":!0}).merge(lB).merge(kye).merge(Sye).merge(pB);function Eye(e,t,r){const n=t.split(".");return n.reduce(((e,t,a)=>(a===n.length-1&&(e[t]=r),e[t])),e),e}function Tye(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)}class Aye{parentData;maxRecords;records=[];sideEffects=[];idx=0;debug;constructor(e,t=5e3,r=!1){this.maxRecords=t,this.parentData=e,this.debug=r}_unsavedMutate(e,t){Eye(this.parentData,e,t),this.runSideEffects(e)}addSideEffect(e,t,r,n=!0){this.sideEffects.push({triggers:e,effect:t,name:r}),n&&(t(this.parentData),this.debug&&console.info(`Running mutation side effect: ${r}`,"debug"))}runSideEffects(e){this.sideEffects.forEach((({effect:t,triggers:r,name:n})=>{(r.some((t=>e.includes(t)))||e.length<1)&&(t(this.parentData),this.debug&&console.info(`Running mutation side effect: ${n}`,"debug"))}))}mutate(e,t,r=null){this.idx<this.records.length-1&&this.records.splice(this.idx+1);const n=Tye(this.parentData,e);n!==t&&(Eye(this.parentData,e,t),this.runSideEffects(e),this.records.push({prev:r??n,value:t,path:e}),this.idx=this.records.length-1,this.records.length>this.maxRecords&&this.records.shift(),this.debug&&console.info(`Set object '${this.idx}' '${e}' to ${t}`,"debug"))}undo(){if(this.idx<0||this.records.length<1)return!1;this.debug&&console.info("Undoing Mutation","debug");const e=this.records[this.idx];return this.idx-=1,e&&this._unsavedMutate(e.path,e.prev),!0}redo(){if(this.idx>this.records.length-2)return!1;this.debug&&console.info("Redoing Mutation","debug");const e=this.records[this.idx+1];return this.idx+=1,e&&this._unsavedMutate(e.path,e.value),!0}}const Cye=328,Pye=1e3,{parse:$ye,stringify:Mye}=JSON,{keys:Dye}=Object,Rye=String,Nye="string",Iye={},Lye="object",jye=(e,t)=>t,Bye=e=>e instanceof Rye?Rye(e):e,Uye=(e,t)=>typeof t===Nye?new Rye(t):t,Fye=(e,t,r,n)=>{const a=[];for(let o=Dye(r),{length:i}=o,s=0;s<i;s++){const i=o[s],l=r[i];if(l instanceof Rye){const o=e[l];typeof o!==Lye||t.has(o)?r[i]=n.call(r,i,o):(t.add(o),r[i]=Iye,a.push({k:i,a:[e,t,o,n]}))}else r[i]!==Iye&&(r[i]=n.call(r,i,l))}for(let{length:e}=a,t=0;t<e;t++){const{k:e,a:o}=a[t];r[e]=n.call(r,e,Fye.apply(null,o))}return r},Qye=(e,t,r)=>{const n=Rye(t.push(r)-1);return e.set(r,n),n},zye=(e,t)=>{const r=$ye(e,Uye).map(Bye),n=r[0],a=jye,o=typeof n===Lye&&n?Fye(r,new Set,n,a):n;return a.call({"":o},"",o)},qye=(e,t,r)=>{const n=jye,a=new Map,o=[],i=[];let s=+Qye(a,o,n.call({"":e},"",e)),l=!s;for(;s<o.length;)l=!0,i[s]=Mye(o[s++],c,r);return"["+i.join(",")+"]";function c(e,t){if(l)return l=!l,t;const r=n.call(this,e,t);switch(typeof r){case Lye:if(null===r)return r;case Nye:return a.get(r)||Qye(a,o,r)}return r}};function Hye(e,t,r,n=500){function a(r){const n=t[r];return n||console.warn(`Missing ${e[r]?"mutator":"object"} for uid: ${r}`),n??null}const o=r?function(e,t,{maxWait:r}={}){let n=null,a=null;return function(...o){n&&clearTimeout(n),n=setTimeout((()=>{null!==a&&clearTimeout(a),a=null,e.apply(this,o)}),t),r&&!a&&(a=setTimeout((()=>{null!==n&&clearTimeout(n),a=null,e.apply(this,o)}),r))}}((()=>Hj().setItem(r,qye(e))),Cye,{maxWait:Pye}):()=>null;return{add:r=>{e[r.uid]=r,t[r.uid]=new Aye(r,n),o()},delete:r=>{r?(delete e[r],delete t[r],o()):console.warn("[@scalar/object-utils] No uid provided to delete")},set:r=>{e[r.uid]=r,t[r.uid]=new Aye(r,n),o()},edit:(e,t,r)=>{if(!e)return void console.warn("[@scalar/object-utils] No uid provided to edit",t,r);const n=a(e);n?.mutate(t,r),o()},untrackedEdit:(e,t,r)=>{const n=a(e);n?._unsavedMutate(t,r),o()},undo:e=>{const t=a(e);t?.undo(),o()},redo:e=>{const t=a(e);t?.redo(),o()},reset:()=>{Object.keys(e).forEach((r=>{delete e[r],delete t[r]})),o()}}}function Vye({requests:e,requestMutators:t,requestExamples:r,requestExampleMutators:n,workspaces:a,workspaceMutators:o,collections:i,collectionMutators:s,tagMutators:l,serverMutators:c}){return{addCollection:(e,t)=>{const r=Yve.parse(e),n=a[t];return n&&o.edit(t,"collections",[...n.collections,r.uid]),s.add(r),r},deleteCollection:(a,u)=>{if(u.uid){if("Drafts"===i[a.uid]?.info?.title)return void console.warn("The drafts collection cannot be deleted");if(1===Object.values(i).length)return void console.warn("You must have at least one collection");a.tags.forEach((e=>l.delete(e))),a.requests.forEach((a=>{const o=e[a];o&&(t.delete(a),o.examples.forEach((e=>r[e]&&n.delete(e))))})),a.servers.forEach((e=>{e&&c.delete(e)})),o.edit(u.uid,"collections",u.collections.filter((e=>e!==a.uid))),s.delete(a.uid)}},addCollectionEnvironment:(e,t,r)=>{const n=i[r];if(n){const a=n["x-scalar-environments"]||{};s.edit(r,"x-scalar-environments",{...a,[e]:t})}},removeCollectionEnvironment:(e,t)=>{const r=i[t];if(r){const n=r["x-scalar-environments"]||{};e in n&&(delete n[e],s.edit(t,"x-scalar-environments",n))}}}}function Zye(){const e=new Set;function t(t){return e.add(t),()=>r(t)}function r(t){e.delete(t)}return{on:t,once:function(e){return t((function t(...n){r(t),e(...n)}))},off:r,emit:function(t){e?.forEach((e=>e(t)))},reset:function(){e.clear()},listeners:()=>Array.from(e)}}const Wye=Object.keys({"2.0":{title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string",enum:["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for responses"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},consumes:{description:"A list of MIME types the API can consume.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},in:{type:"string",description:"Determines the location of the parameter.",enum:["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean",enum:[!0],description:"Determines whether or not this parameter is required or optional."},in:{type:"string",description:"Determines the location of the parameter.",enum:["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{type:"string"},readOnly:{type:"boolean",default:!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string",enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},collectionFormatWithMulti:{type:"string",enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},"3.0":{id:"https://spec.openapis.org/oas/3.0/schema/2021-09-28",$schema:"http://json-schema.org/draft-04/schema#",description:"The description of OpenAPI v3.0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3",type:"object",required:["openapi","info","paths"],properties:{openapi:{type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{type:"object",required:["title","version"],properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",required:["name"],properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Server:{type:"object",required:["url"],properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ServerVariable:{type:"object",required:["default"],properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Components:{type:"object",properties:{schemas:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},minItems:1,uniqueItems:!1},type:{type:"string",enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},properties:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],default:!0},description:{type:"string"},format:{type:"string"},default:{},nullable:{type:"boolean",default:!1},discriminator:{$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],properties:{propertyName:{type:"string"},mapping:{type:"object",additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",required:["description"],properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}},encoding:{type:"object",additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:{},externalValue:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Header:{type:"object",properties:{description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"}]},Paths:{type:"object",patternProperties:{"^\\/":{$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{type:"object",required:["responses"],properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{type:"string"},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},callbacks:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{type:"boolean",default:!1},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,additionalProperties:!1},SecurityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExampleXORExamples:{description:"Example and examples are mutually exclusive",not:{required:["example","examples"]}},SchemaXORContent:{description:"Schema and content are mutually exclusive, at least one is required",not:{required:["schema","content"]},oneOf:[{required:["schema"]},{required:["content"],description:"Some properties are not allowed if content is present",allOf:[{not:{required:["style"]}},{not:{required:["explode"]}},{not:{required:["allowReserved"]}},{not:{required:["example"]}},{not:{required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{type:"string"},in:{type:"string"},description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,required:["name","in"],allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{description:"Parameter location",oneOf:[{description:"Parameter in path",required:["required"],properties:{in:{enum:["path"]},style:{enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{description:"Parameter in query",properties:{in:{enum:["query"]},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{description:"Parameter in header",properties:{in:{enum:["header"]},style:{enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},RequestBody:{type:"object",required:["content"],properties:{description:{type:"string"},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{$ref:"#/definitions/APIKeySecurityScheme"},{$ref:"#/definitions/HTTPSecurityScheme"},{$ref:"#/definitions/OAuth2SecurityScheme"},{$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{type:"object",required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query","cookie"]},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{description:"Bearer",properties:{scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}},{description:"Non Bearer",not:{required:["bearerFormat"]},properties:{scheme:{not:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}}}]},OAuth2SecurityScheme:{type:"object",required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{type:"string",format:"uri-reference"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},additionalProperties:!1},ImplicitOAuthFlow:{type:"object",required:["authorizationUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},PasswordOAuthFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ClientCredentialsFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},AuthorizationCodeOAuthFlow:{type:"object",required:["authorizationUrl","tokenUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},additionalProperties:!1,not:{description:"Operation Id and Operation Ref are mutually exclusive",required:["operationId","operationRef"]}},Callback:{type:"object",additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},style:{type:"string",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1}},additionalProperties:!1}}},3.1:{$id:"https://spec.openapis.org/oas/3.1/schema/2022-10-07",$schema:"https://json-schema.org/draft/2020-12/schema",description:"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{type:"string",format:"uri-reference",default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",items:{$ref:"#/$defs/server"},default:[{url:"/"}]},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{$comment:"https://spec.openapis.org/oas/v3.1.0#info-object",type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{$comment:"https://spec.openapis.org/oas/v3.1.0#contact-object",type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{$comment:"https://spec.openapis.org/oas/v3.1.0#license-object",type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["name"],dependentSchemas:{identifier:{not:{required:["url"]}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{$comment:"https://spec.openapis.org/oas/v3.1.0#server-object",type:"object",properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{$comment:"https://spec.openapis.org/oas/v3.1.0#server-variable-object",type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},description:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{$comment:"https://spec.openapis.org/oas/v3.1.0#components-object",type:"object",properties:{schemas:{type:"object",additionalProperties:{$ref:"#/$defs/schema"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},patternProperties:{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{$comment:"https://spec.openapis.org/oas/v3.1.0#paths-object",type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{$comment:"https://spec.openapis.org/oas/v3.1.0#path-item-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},get:{$ref:"#/$defs/operation"},put:{$ref:"#/$defs/operation"},post:{$ref:"#/$defs/operation"},delete:{$ref:"#/$defs/operation"},options:{$ref:"#/$defs/operation"},head:{$ref:"#/$defs/operation"},patch:{$ref:"#/$defs/operation"},trace:{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/path-item"}},operation:{$comment:"https://spec.openapis.org/oas/v3.1.0#operation-object",type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{$comment:"https://spec.openapis.org/oas/v3.1.0#external-documentation-object",type:"object",properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameter:{$comment:"https://spec.openapis.org/oas/v3.1.0#parameter-object",type:"object",properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},required:["name","in"],oneOf:[{required:["schema"]},{required:["content"]}],if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{allowEmptyValue:{default:!1,type:"boolean"}}},dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{properties:{name:{pattern:"[^/#?]+$"},style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},then:{properties:{style:{default:"simple",const:"simple"}}}},"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},allowReserved:{default:!1,type:"boolean"}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",const:"form"}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"parameter-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{$comment:"https://spec.openapis.org/oas/v3.1.0#request-body-object",type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{$comment:"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10",type:"object",additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{format:"media-range"}},"media-type":{$comment:"https://spec.openapis.org/oas/v3.1.0#media-type-object",type:"object",properties:{schema:{$ref:"#/$defs/schema"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],unevaluatedProperties:!1},encoding:{$comment:"https://spec.openapis.org/oas/v3.1.0#encoding-object",type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}},responses:{$comment:"https://spec.openapis.org/oas/v3.1.0#responses-object",type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5](?:[0-9]{2}|XX)$":{$ref:"#/$defs/response-or-reference"}},minProperties:1,$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},response:{$comment:"https://spec.openapis.org/oas/v3.1.0#response-object",type:"object",properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},required:["description"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{$comment:"https://spec.openapis.org/oas/v3.1.0#callback-object",type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{$comment:"https://spec.openapis.org/oas/v3.1.0#example-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:!0,externalValue:{type:"string",format:"uri-reference"}},not:{required:["value","externalValue"]},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{$comment:"https://spec.openapis.org/oas/v3.1.0#link-object",type:"object",properties:{operationRef:{type:"string",format:"uri-reference"},operationId:{type:"string"},parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{$comment:"https://spec.openapis.org/oas/v3.1.0#header-object",type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{default:"simple",const:"simple"},explode:{default:!1,type:"boolean"}},$ref:"#/$defs/examples"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"header-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{$comment:"https://spec.openapis.org/oas/v3.1.0#tag-object",type:"object",properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{$comment:"https://spec.openapis.org/oas/v3.1.0#reference-object",type:"object",properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},description:{type:"string"}},unevaluatedProperties:!1},schema:{$comment:"https://spec.openapis.org/oas/v3.1.0#schema-object",$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-scheme-object",type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}}}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}},required:["type"]},then:{properties:{openIdConnectUrl:{type:"string",format:"uri-reference"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-requirement-object",type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{$comment:"https://spec.openapis.org/oas/v3.1.0#specification-extensions",patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}}}),Xye={INVALID_REFERENCE:"Can't resolve reference: %s",EXTERNAL_REFERENCE_NOT_FOUND:"Can't resolve external reference: %s",NO_CONTENT:"No content found"},Gye=e=>"object"==typeof e&&!Array.isArray(e)&&null!==e;function Yye(e){if(null===e)return{version:void 0,specificationType:void 0,specificationVersion:void 0};if(Gye(e))for(const t of new Set(Wye)){const r="2.0"===t?"swagger":"openapi",n=e[r];if("string"==typeof n&&n.startsWith(t))return{version:t,specificationType:r,specificationVersion:n}}return{version:void 0,specificationType:void 0,specificationVersion:void 0}}function Kye(e){return e?.find((e=>e.isEntrypoint))}function Jye(e,t,r=[]){const n={};for(const[a,o]of Object.entries(e)){const e=[...r,a];Array.isArray(o)?n[a]=o.map(((r,n)=>"object"!=typeof r||Array.isArray(r)||null===r?r:Jye(r,t,[...e,n.toString()]))):n[a]="object"!=typeof o||null===o?o:Jye(o,t,e)}return t(n,r)}function eOe(e){const t=[];return e&&"object"==typeof e?(Jye(e,(e=>(e.$ref&&"string"==typeof e.$ref&&!e.$ref.startsWith("#")&&t.push(e.$ref.split("#")[0]),e))),[...new Set(t)]):t}function tOe(e){return void 0!==e&&Array.isArray(e)&&e.length>0&&e.some((e=>!0===e.isEntrypoint))}function rOe(e){if(null!==e){if("string"==typeof e){if(""===e.trim())return;try{return JSON.parse(e)}catch(t){const r=/^[^:]+:/.test(e),n=e.slice(0,50).trimStart().startsWith("{");if(!r||n)return;return Gf(e,{maxAliasCount:1e4})}}return tOe(e),e}}function nOe(e,t={}){if(tOe(e))return e;const r=rOe(e);return[{isEntrypoint:!0,specification:r,filename:null,dir:"./",references:eOe(r),...t}]}function aOe(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function oOe(e,t,r,n=[]){const a=nOe(structuredClone(e)),o=Kye(a),i=r?.specification??o.specification;return Gye(i)?(iOe(i,a,o,new WeakSet,n,t),n=n.filter(((e,t,r)=>t===r.findIndex((t=>t.message===e.message&&t.code===e.code)))),{valid:0===n.length,errors:n,schema:i}):{valid:!1,errors:n,schema:i}}function iOe(e,t,r,n,a,o){if(null!==e&&!n.has(e)){for(n.add(e);void 0!==e.$ref;){const n=sOe(e.$ref,o,r,t,i,a);if("object"!=typeof n||null===n)break;e.$ref,delete e.$ref;for(const t of Object.keys(n))void 0===e[t]&&(e[t]=n[t])}for(const i of Object.values(e))"object"==typeof i&&null!==i&&iOe(i,t,r,n,a,o)}function i(e){return iOe(e.specification,t,e,n,a,o),e}}function sOe(e,t,r,n,a,o){if("string"!=typeof e)return void o.push({code:"INVALID_REFERENCE",message:Xye.INVALID_REFERENCE.replace("%s",e)});const[i,s]=e.split("#",2),l=i!==r.filename;if(i&&l){const e=n.find((e=>e.filename===i));return e?void 0===s?e.specification:sOe(`#${s}`,t,a(e),n,a,o):void o.push({code:"EXTERNAL_REFERENCE_NOT_FOUND",message:Xye.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",i)})}const c=function(e){return e.split("/").slice(1).map(aOe)}(s);try{return c.reduce(((e,t)=>e[t]),r.specification)}catch(t){o.push({code:"INVALID_REFERENCE",message:Xye.INVALID_REFERENCE.replace("%s",e)})}}async function lOe(e,t){const r=nOe(e),n=Kye(r),a=oOe(r,t);return{specification:n.specification,errors:a.errors,schema:a.schema,...Yye(n.specification)}}const cOe=async(e,{shouldLoad:t=!0,dereferencedDocument:r}={})=>{const{schema:n,errors:a}=r?{schema:r,errors:[]}:await(async(e,{shouldLoad:t=!0}={})=>{if(null===e||"string"==typeof e&&""===e.trim())return console.warn("[@scalar/oas-utils] Empty OpenAPI document provided."),{schema:{},errors:[]};let r=e,n=[];if(t){const t=await async function(e){const t=[];let r;if(r=rOe(e),void 0===r)return t.push({code:"NO_CONTENT",message:Xye.NO_CONTENT}),{specification:null,filesystem:[],errors:t};let n=nOe(r,{filename:null});const a=Kye(n).references??eOe(r);if(0===a.length)return{specification:Kye(n)?.specification,filesystem:n,errors:t};for(const e of a);return{specification:Kye(n)?.specification,filesystem:n,errors:t}}(e).catch((e=>({errors:[{code:e.code,message:e.message}],filesystem:[]})));r=t.filesystem,n=t.errors??[]}const{specification:a}=(o=r)?{specification:Tm(tOe(o)?Kye(o).specification:rOe(o)),version:"3.1"}:{specification:null,version:"3.1"};var o;const{schema:i,errors:s=[]}=await lOe(a);return{schema:i,errors:[...n,...s]}})(e??"",{shouldLoad:t});return n||console.warn("[@scalar/oas-utils] OpenAPI Parser Warning: Schema is undefined"),{schema:Array.isArray(n)?{}:n,errors:a}},uOe=(e,t=[],r)=>(e[0]&&!t.length?[e[0]]:t).map((e=>Array.isArray(e)?e.map((e=>r[e])).filter(OB):r[e])).filter(OB),dOe=e=>`slug-uid-${e}`;const pOe=(e,t="An unknown error has occurred.")=>(console.error(e),e instanceof Error?(e.message=hOe(e.message),e):"string"==typeof e?new Error(hOe(e)):new Error(t)),hOe=e=>"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."===e?"File uploads are not saved in history, you must re-upload the file.":"Failed to construct 'URL': Invalid URL"===e?"The URL seems to be invalid. Try adding a valid URL.":"Failed to execute 'fetch' on 'Window': Invalid name"===e?"There is an invalid header present, please double check your params.":e,fOe={};function mOe({collections:e,tags:t}){return function(r){const n=Object.values(e).find((e=>e.requests?.includes(r.uid)));if(!n)return[];const a=Object.keys(t).reduce(((e,t)=>(e[t]=[],e)),{[n?.uid]:[]});!function e(r,n){n.forEach((e=>a[e]?.push(...r.children))),r.children.forEach((r=>{t[r]&&e(t[r],[...n,r])}))}(n,[n.uid]);const o=new Set;return Object.entries(a).forEach((([e,t])=>{t.includes(r.uid)&&o.add(e)})),[...o]}}function gOe(){return{request:_ye.parse({method:"get",parameters:[],path:"",summary:"My First Request",examples:[]})}}const bOe="/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #0099ff;\n --scalar-border-color: #dfdfdf;\n}\n.dark-mode {\n --scalar-background-1: #0f0f0f;\n --scalar-background-2: #1a1a1a;\n --scalar-background-3: #272727;\n\n --scalar-color-1: #e7e7e7;\n --scalar-color-2: #a4a4a4;\n --scalar-color-3: #797979;\n\n --scalar-color-accent: #00aeff;\n --scalar-background-accent: #3ea6ff1f;\n\n --scalar-border-color: #2d2d2d;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-2);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);\n --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);\n --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #ff5800;\n --scalar-color-purple: #5203d1;\n\n --scalar-link-color: var(--scalar-color-1);\n --scalar-link-color-hover: var(--scalar-link-color);\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n\n --scalar-tooltip-background: color-mix(in srgb, #1a1a1a, transparent 10%);\n --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 15%);\n\n --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);\n --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);\n\n --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-link-color: var(--scalar-color-1);\n --scalar-link-color-hover: var(--scalar-link-color);\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n\n --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);\n --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);\n\n --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);\n\n --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n@supports (color: color(display-p3 1 1 1)) {\n .light-mode {\n --scalar-color-accent: color(display-p3 0 0.6 1 / 1);\n --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);\n --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);\n --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);\n --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1);\n --scalar-color-orange: color(display-p3 1 0.4 0.02);\n --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);\n }\n .dark-mode {\n --scalar-color-accent: color(display-p3 0.07 0.67 1);\n --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);\n --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);\n --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);\n --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);\n --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);\n --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);\n }\n}\n";function vOe(){if("undefined"==typeof window)return!1;const e=document.createElement("div");e.setAttribute("style","width:30px;height:30px;overflow-y:scroll;"),e.classList.add("scrollbar-test");const t=document.createElement("div");t.setAttribute("style","width:100%;height:40px"),e.appendChild(t),document.body.appendChild(e);const r=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!r}const yOe={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:""},OOe={default:{uid:"qTQR9jSM8E-LihpyZzPOi",name:"Default",description:"Default Scalar theme",theme:bOe,slug:"default"},alternate:{uid:"2skUDSH4S8HYFF9yXysr-",name:"Alternate",description:"Alternate Scalar theme",theme:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n\n.dark-mode {\n --scalar-background-1: #131313;\n --scalar-background-2: #1d1d1d;\n --scalar-background-3: #272727;\n --scalar-background-card: #1d1d1d;\n\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: var(--scalar-background-3);\n\n --scalar-border-color: #2a2b2a;\n}\n\n.light-mode,\n.light-mode .dark-mode {\n --scalar-background-1: #f9f9f9;\n --scalar-background-2: #f1f1f1;\n --scalar-background-3: #e7e7e7;\n --scalar-background-card: #fff;\n\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: var(--scalar-background-3);\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n\n/* Document Sidebar */\n.t-doc__sidebar {\n --scalar-color-green: var(--scalar-color-1);\n --scalar-color-red: var(--scalar-color-1);\n --scalar-color-yellow: var(--scalar-color-1);\n --scalar-color-blue: var(--scalar-color-1);\n --scalar-color-orange: var(--scalar-color-1);\n --scalar-color-purple: var(--scalar-color-1);\n}\n\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode .dark-mode,\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dd2f2c;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n\n.scalar-api-client__item,\n.scalar-card,\n.dark-mode .dark-mode.scalar-card {\n --scalar-background-1: var(--scalar-background-card);\n --scalar-background-2: var(--scalar-background-1);\n --scalar-background-3: var(--scalar-background-1);\n}\n.dark-mode .dark-mode.scalar-card {\n --scalar-background-3: var(--scalar-background-3);\n}\n\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);\n}\n",slug:"alternate"},moon:{uid:"DG9ZUNp5lJhDeX_kPX4Bl",name:"Moon",description:"Lunar styles",theme:".light-mode {\n color-scheme: light;\n --scalar-color-1: #000000;\n --scalar-color-2: #000000;\n --scalar-color-3: #000000;\n --scalar-color-accent: #645b0f;\n --scalar-background-1: #ccc9b3;\n --scalar-background-2: #c2bfaa;\n --scalar-background-3: #b8b5a1;\n --scalar-background-accent: #000000;\n\n --scalar-border-color: rgba(0, 0, 0, 0.2);\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2:\n 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;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fffef3;\n --scalar-color-2: #fffef3;\n --scalar-color-3: #fffef3;\n --scalar-color-accent: #c3b531;\n --scalar-background-1: #313332;\n --scalar-background-2: #393b3a;\n --scalar-background-3: #414342;\n --scalar-background-accent: #fffef3;\n\n --scalar-border-color: #505452;\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2:\n 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);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n*::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 80%);\n}\n",slug:"moon"},purple:{uid:"pE_1ysxcZ-y2LM1GGNBUv",name:"Purple",description:"Purple Scalar theme",theme:"/* basic theme */\n.light-mode {\n --scalar-background-1: #fff;\n --scalar-background-2: #f5f6f8;\n --scalar-background-3: #eceef1;\n\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #5469d4;\n --scalar-background-accent: #5469d41f;\n\n --scalar-border-color: rgba(215, 215, 206, 0.68);\n}\n.dark-mode {\n --scalar-background-1: #15171c;\n --scalar-background-2: #1c1e24;\n --scalar-background-3: #22252b;\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: #c9ced8;\n --scalar-color-3: #8c99ad;\n\n --scalar-color-accent: #5469d4;\n --scalar-background-accent: #5469d41f;\n\n --scalar-border-color: #3f4145;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-3);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n",slug:"purple"},solarized:{uid:"BdGVG1vf-4nYl3wJKyj8l",name:"Solarized",description:"Solarized Scalar theme",theme:".light-mode {\n color-scheme: light;\n --scalar-color-1: #584c27;\n --scalar-color-2: #616161;\n --scalar-color-3: #a89f84;\n --scalar-color-accent: #b58900;\n --scalar-background-1: #fdf6e3;\n --scalar-background-2: #eee8d5;\n --scalar-background-3: #ddd6c1;\n --scalar-background-accent: #b589001f;\n\n --scalar-border-color: #ded8c8;\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --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;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fff;\n --scalar-color-2: #cccccc;\n --scalar-color-3: #6d8890;\n --scalar-color-accent: #007acc;\n --scalar-background-1: #00212b;\n --scalar-background-2: #012b36;\n --scalar-background-3: #004052;\n --scalar-background-accent: #015a6f;\n\n --scalar-border-color: #2f4851;\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --scalar-shadow-2:\n 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);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n*::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n",slug:"solarized"},bluePlanet:{uid:"X12IfAvl7ue-42V2lW40S",name:"Blue Planet",description:"Blue Planet Scalar theme",theme:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #f0f2f5;\n --scalar-background-2: #eaecf0;\n --scalar-background-3: #e0e2e6;\n --scalar-border-color: rgb(213 213 213);\n\n --scalar-color-1: rgb(9, 9, 11);\n --scalar-color-2: rgb(113, 113, 122);\n --scalar-color-3: rgba(25, 25, 28, 0.5);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: #8ab4f81f;\n}\n.light-mode .scalar-card.dark-mode,\n.dark-mode {\n --scalar-background-1: #000e23;\n --scalar-background-2: #01132e;\n --scalar-background-3: #03193b;\n --scalar-border-color: #2e394c;\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n z-index: 1;\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-search-background: white;\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom theme */\n/* Document header */\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--scalar-header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n\n.light-mode .t-doc__header,\n.dark-mode .t-doc__header {\n animation: headerbackground forwards;\n animation-timeline: scroll();\n animation-range: 0px 200px;\n}\n\n/* Document Layout */\n.dark-mode .t-doc .layout-content {\n background: transparent;\n}\n\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n/* Hero Section Flare */\n.section-flare-item:nth-of-type(1) {\n --c1: #ffffff;\n --c2: #babfd8;\n --c3: #2e8bb2;\n --c4: #1a8593;\n --c5: #0a143e;\n --c6: #0a0f52;\n --c7: #2341b8;\n\n --solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);\n --solid-wrap: var(--solid), var(--c1);\n --trans:\n var(--c1), transparent, var(--c2), transparent, var(--c3),\n transparent, var(--c4), transparent, var(--c5), transparent, var(--c6),\n transparent, var(--c7);\n --trans-wrap: var(--trans), transparent, var(--c1);\n\n background:\n radial-gradient(circle, var(--trans)), conic-gradient(from 180deg, var(--trans-wrap)),\n radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap));\n width: 70vw;\n height: 700px;\n border-radius: 50%;\n filter: blur(100px);\n z-index: 0;\n right: 0;\n position: absolute;\n transform: rotate(-45deg);\n top: -300px;\n opacity: 0.3;\n}\n.section-flare-item:nth-of-type(3) {\n --star-color: #6b9acc;\n --star-color2: #446b8d;\n --star-color3: #3e5879;\n background-image:\n radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));\n background-repeat: repeat;\n background-size: 200px 200px;\n width: 100%;\n height: 100%;\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n}\n.section-flare {\n top: -150px !important;\n height: 100vh;\n background: linear-gradient(#000, var(--scalar-background-1));\n width: 100vw;\n overflow-x: hidden;\n}\n.light-mode .section-flare {\n display: none;\n}\n.light-mode .scalar-card {\n --scalar-background-1: #fff;\n --scalar-background-2: #fff;\n --scalar-background-3: #fff;\n}\n\n*::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 60%);\n}\n\n@media (max-width: 1000px) {\n .light-mode .t-doc__sidebar,\n .dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n }\n .light-mode .t-doc__header,\n .dark-mode .t-doc__header {\n animation: none;\n background: var(--scalar-header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n",slug:"blue-planet"},deepSpace:{uid:"K8b38NWQiicq4-zXGXKdI",name:"Deep Space",description:"Deep Space Scalar theme",theme:'/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-color-1: rgb(9, 9, 11);\n --scalar-color-2: rgb(113, 113, 122);\n --scalar-color-3: rgba(25, 25, 28, 0.5);\n --scalar-color-accent: var(--scalar-color-1);\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f4f4f5;\n --scalar-background-3: #e3e3e6;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: rgb(228, 228, 231);\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n --scalar-color-accent: var(--scalar-color-1);\n\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.16);\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-item-active-background: var(--scalar-background-2);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n.examples .scalar-card-footer {\n --scalar-background-3: transparent;\n padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n width: 100vw;\n height: 550px;\n position: absolute;\n}\n.section-flare-item:nth-of-type(1) {\n position: absolute;\n width: 100vw;\n height: 550px;\n --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);\n --rainbow: repeating-linear-gradient(100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30%);\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 300%, 200%;\n background-position:\n 50% 50%,\n 50% 50%;\n filter: invert(100%);\n -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n pointer-events: none;\n opacity: 0.07;\n}\n.dark-mode .section-flare-item:nth-of-type(1) {\n background-image: var(--stripesDark), var(--rainbow);\n filter: opacity(50%) saturate(200%);\n opacity: 0.25;\n height: 350px;\n}\n.section-flare-item:nth-of-type(1):after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 200%, 100%;\n background-attachment: fixed;\n mix-blend-mode: difference;\n}\n.dark-mode .section-flare:after {\n background-image: var(--stripesDark), var(--rainbow);\n}\n.section-flare-item:nth-of-type(2) {\n --star-color: #fff;\n --star-color2: #fff;\n --star-color3: #fff;\n width: 100%;\n height: 100%;\n position: absolute;\n background-image:\n radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));\n background-repeat: repeat;\n background-size: 200px 200px;\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n opacity: 0.2;\n}\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);\n}\n\n/* document header */\n.light-mode .t-doc__header,\n.dark-mode .t-doc__header {\n animation: headerbackground forwards;\n animation-timeline: scroll();\n animation-range: 0px 200px;\n}\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--scalar-header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n/* remove flare on safari to prevent dropped frames on scroll */\n@supports (-webkit-hyphens: none) {\n .section-flare {\n display: none;\n }\n}\n\n/* document background */\n.light-mode .t-doc .layout-content,\n.dark-mode .t-doc .layout-content {\n background: transparent;\n}\n',slug:"deep-space"},saturn:{uid:"1jyAjmbIZQG-RUU4Ugk9o",name:"Saturn",description:"Saturn Scalar theme",theme:"/* basic theme */\n.light-mode {\n --scalar-background-1: #f3f3ee;\n --scalar-background-2: #e8e8e3;\n --scalar-background-3: #e4e4df;\n --scalar-border-color: rgba(215, 215, 206, 0.85);\n\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #1763a6;\n --scalar-background-accent: #1f648e1f;\n}\n.dark-mode {\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-border-color: rgba(255, 255, 255, 0.17);\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: #4eb3ec;\n --scalar-background-accent: #8ab4f81f;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n",slug:"saturn"},kepler:{uid:"jZ6dnWbtqQ0Hz3s9jLPH0",name:"Kepler-11e",description:"Kepler-11e Scalar theme",theme:"/* basic theme */\n.light-mode {\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n --scalar-color-accent: #7070ff;\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n --scalar-background-accent: #7070ff1f;\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n\n --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n.dark-mode {\n --scalar-color-1: #f7f8f8;\n --scalar-color-2: rgb(180, 188, 208);\n --scalar-color-3: #b4bcd099;\n --scalar-color-accent: #828fff;\n\n --scalar-background-1: #000212;\n --scalar-background-2: #0d0f1e;\n --scalar-background-3: #232533;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: #313245;\n --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: rgba(0, 0, 0, 0.05);\n --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-background-2: rgba(0, 0, 0, 0.03);\n}\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n.sidebar-search {\n backdrop-filter: blur(12px);\n}\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--scalar-header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n.dark-mode .scalar-card {\n background: rgba(255, 255, 255, 0.05) !important;\n}\n.dark-mode .scalar-card * {\n --scalar-background-2: transparent !important;\n --scalar-background-1: transparent !important;\n}\n.light-mode .dark-mode.scalar-card *,\n.light-mode .dark-mode.scalar-card {\n --scalar-background-1: #0d0f1e !important;\n --scalar-background-2: #0d0f1e !important;\n --scalar-background-3: #191b29 !important;\n}\n.light-mode .dark-mode.scalar-card {\n background: #191b29 !important;\n}\n.badge {\n box-shadow: 0 0 0 1px var(--scalar-border-color);\n margin-right: 6px;\n}\n\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n background: transparent;\n box-shadow: none;\n}\n/* Hero Section Flare */\n.section-flare {\n width: 100vw;\n background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent);\n height: 100vh;\n}\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n\n/* document layout */\n.light-mode .t-doc .layout-content,\n.dark-mode .t-doc .layout-content {\n background: transparent;\n}\n",slug:"kepler-11e"},mars:{uid:"YY4LQgwiXix55-TmMz9qd",name:"Mars",description:"Mars Scalar theme",theme:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #f9f6f0;\n --scalar-background-2: #f2efe8;\n --scalar-background-3: #e9e7e2;\n --scalar-border-color: rgba(203, 165, 156, 0.6);\n\n --scalar-color-1: #c75549;\n --scalar-color-2: #c75549;\n --scalar-color-3: #c75549;\n\n --scalar-color-accent: #c75549;\n --scalar-background-accent: #dcbfa81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n --scalar-background-1: #140507;\n --scalar-background-2: #20090c;\n --scalar-background-3: #321116;\n --scalar-border-color: #3c3031;\n\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n --scalar-color-accent: rgba(255, 255, 255, 0.9);\n --scalar-background-accent: #441313;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n z-index: 1;\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #09533a;\n --scalar-color-red: #aa181d;\n --scalar-color-yellow: #ab8d2b;\n --scalar-color-blue: #19689a;\n --scalar-color-orange: #b26c34;\n --scalar-color-purple: #4c2191;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-search-background: white;\n}\n.examples .scalar-card-footer {\n --scalar-background-3: transparent;\n padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n overflow-x: hidden;\n height: 100vh;\n left: initial;\n}\n.section-flare-item:nth-of-type(1) {\n background: #d25019;\n position: relative;\n top: -150px;\n right: -400px;\n width: 80vw;\n height: 500px;\n margin-top: -150px;\n border-radius: 50%;\n filter: blur(100px);\n z-index: 0;\n}\n.light-mode .section-flare {\n display: none;\n}\n*::selection {\n background-color: color-mix(in srgb, var(--scalar-color-red), transparent 75%);\n}\n\n/* document layout */\n.dark-mode .t-doc .layout-content {\n background: transparent;\n}\n",slug:"mars"},laserwave:{uid:"c5fZEi-K-hP-xXf885dkf",name:"Laserwave",description:"Laserwave Scalar theme",theme:"/* basic theme */\n.light-mode {\n color-scheme: light;\n --scalar-color-1: #322b3b;\n --scalar-color-2: #645676;\n --scalar-color-3: #9789a9;\n --scalar-color-accent: #40b4c4;\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f4f2f7;\n --scalar-background-3: #cfc7dc;\n --scalar-background-accent: #f3fafb;\n\n --scalar-border-color: #e4e0eb;\n}\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fff;\n --scalar-color-2: #b8b6ba;\n --scalar-color-3: #706c74;\n --scalar-color-accent: #ed78c2;\n\n --scalar-background-1: #27212e;\n --scalar-background-2: #322c39;\n --scalar-background-3: #4c4059;\n --scalar-background-accent: #eb64b91f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-border-color);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: #514c56;\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-green: #74dfc4;\n --scalar-color-red: #d887f5;\n --scalar-color-yellow: #ffe261;\n --scalar-color-blue: #40b4c4;\n --scalar-color-orange: #ff52bf;\n --scalar-color-purple: #91889b;\n\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #27212e;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #74dfc4;\n --scalar-color-red: #d887f5;\n --scalar-color-yellow: #ffe261;\n --scalar-color-blue: #40b4c4;\n --scalar-color-orange: #ff52bf;\n --scalar-color-purple: #91889b;\n\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n/* Radius */\n:root {\n --scalar-radius: 2px;\n --scalar-radius-lg: 3px;\n --scalar-radius-xl: 4px;\n}\n/* P3 color support */\n@supports (color: color(display-p3 1 1 1)) {\n .light-mode {\n --scalar-color-accent: color(display-p3 0.25098 0.705882 0.768627 / 1);\n --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);\n --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);\n --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);\n --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);\n --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);\n --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);\n }\n .dark-mode {\n --scalar-color-accent: color(display-p3 0.929412 0.470588 0.760784 / 1);\n --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);\n --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);\n --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);\n --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);\n --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);\n --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);\n }\n}\n",slug:"laserwave"},elysiajs:{uid:"nEVZkRmCylPkT0o9YJa7y",name:"Elysia.js",description:"Elysia.js theme",theme:'.light-mode {\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n --scalar-color-accent: #f06292;\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(156, 163, 175, 1);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n --scalar-color-accent: #f06292;\n\n --scalar-background-1: #111728;\n --scalar-background-2: #1e293b;\n --scalar-background-3: #334155;\n --scalar-background-accent: #f062921f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: #f062921f;\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #a3ffa9;\n --scalar-color-red: #ffa3a3;\n --scalar-color-yellow: #fffca3;\n --scalar-color-blue: #a5d6ff;\n --scalar-color-orange: #e2ae83;\n --scalar-color-purple: #d2a8ff;\n\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n.section-flare {\n width: 100%;\n height: 400px;\n position: absolute;\n}\n.section-flare-item:first-of-type:before {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n --stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 0%, transparent 2%, transparent 12%, #fff 17%);\n --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 0%, transparent 10%, transparent 12%, #000 17%);\n --rainbow: repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 16%, #5eead4 22%, #60a5fa 30%);\n contain: strict;\n contain-intrinsic-size: 100vw 40vh;\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 300%, 200%;\n background-position:\n 50% 50%,\n 50% 50%;\n filter: opacity(20%) saturate(200%);\n -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n pointer-events: none;\n}\n.section-flare-item:first-of-type:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-image: var(--stripes), var(--rainbow);\n background-size: 200%, 100%;\n background-attachment: fixed;\n mix-blend-mode: difference;\n background-image: var(--stripesDark), var(--rainbow);\n pointer-events: none;\n}\n.light-mode .section-flare-item:first-of-type:after,\n.light-mode .section-flare-item:first-of-type:before {\n background-image: var(--stripes), var(--rainbow);\n filter: opacity(4%) saturate(200%);\n}\n',slug:"elysiajs"},fastify:{uid:"nTZcdcM2_yHFZFxTQe9Kk",name:"Fastify",description:"Fastify theme",theme:".light-mode {\n color-scheme: light;\n --scalar-color-1: #1c1e21;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n --scalar-color-disabled: #b4b1b1;\n --scalar-color-ghost: #a7a7a7;\n --scalar-color-accent: #2f8555;\n --scalar-background-1: #fff;\n --scalar-background-2: #f5f5f5;\n --scalar-background-3: #ededed;\n --scalar-background-4: rgba(0, 0, 0, 0.06);\n --scalar-background-accent: #2f85551f;\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --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;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-green: #007300;\n --scalar-color-red: #af272b;\n --scalar-color-yellow: #b38200;\n --scalar-color-blue: #3b8ba5;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n --scalar-color-disabled: rgba(255, 255, 255, 0.34);\n --scalar-color-ghost: rgba(255, 255, 255, 0.26);\n --scalar-color-accent: #27c2a0;\n --scalar-background-1: #1b1b1d;\n --scalar-background-2: #242526;\n --scalar-background-3: #3b3b3b;\n --scalar-background-4: rgba(255, 255, 255, 0.06);\n --scalar-background-accent: #27c2a01f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --scalar-shadow-2:\n 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);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #26b226;\n --scalar-color-red: #fb565b;\n --scalar-color-yellow: #ffc426;\n --scalar-color-blue: #6ecfef;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n",slug:"fastify"}},wOe=_t.enum(["Meta","Control","Shift","Alt","default"]).optional().default("default"),xOe=_t.array(wOe).optional().default(["default"]),kOe=_t.record(_t.enum(["Space","Backspace","Tab","Enter","Escape","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Delete","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","*","+","-",".","/","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12",";","=",",","-",".","/","`","[","\\","]",""]),_t.object({modifiers:xOe.optional(),event:_t.enum(["addTopNav","closeModal","closeTopNav","createNew","executeRequest","focusAddressBar","focusRequestSearch","jumpToLastTab","jumpToTab","navigateSearchResultsDown","navigateSearchResultsUp","navigateTopNavLeft","navigateTopNavRight","openCommandPalette","selectSearchResult","toggleSidebar"])})),SOe=_t.object({modifiers:xOe,hotKeys:kOe.optional()}).optional(),_Oe=_t.object({uid:bB.brand(),name:_t.string().default("Default Workspace"),description:_t.string().default("Basic Scalar Workspace"),collections:_t.array(_t.string().brand()).default([]),environments:_t.record(_t.string()).default({}),hotKeyConfig:SOe,activeEnvironmentId:_t.string().optional().default("default"),cookies:_t.array(_t.string().brand()).default([]),proxyUrl:_t.string().optional(),themeId:_t.enum(["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"]).optional().default("default").catch("default"),selectedHttpClient:_t.object({targetKey:_t.string(),clientKey:_t.string()}).optional().default({targetKey:"shell",clientKey:"curl"})}),EOe=({useLocalStorage:e=!0,showSidebar:t=!0,proxyUrl:r,theme:n,hideClientButton:a=!1,_integration:o})=>{const{collections:i,collectionMutators:s}=function(e){const t=uo({});return{collections:t,collectionMutators:Hye(t,uo({}),e&&"collection")}}(e),{tags:l,tagMutators:c}=function(e){const t=uo({});return{tags:t,tagMutators:Hye(t,uo({}),e&&"tag")}}(e),{requests:u,requestMutators:d}=function(e){const t=uo({});return{requests:t,requestMutators:Hye(t,uo({}),e&&"request")}}(e),{requestExamples:p,requestExampleMutators:h}=function(e){const t=uo({});return{requestExamples:t,requestExampleMutators:Hye(t,uo({}),e&&"requestExample")}}(e),{cookies:f,cookieMutators:m}=function(e){const t=uo({});return{cookies:t,cookieMutators:Hye(t,uo({}),e&&"cookie")}}(e),{environments:g,environmentMutators:b}=function(e){const t=uo({}),r=Hye(t,uo({}),e&&"environment");return r.add(Ibe.parse({uid:"default",name:"Default Environment",color:"#FFFFFF",value:JSON.stringify({exampleKey:"exampleValue"},null,2),isDefault:!0})),{environments:t,environmentMutators:r}}(e),{servers:v,serverMutators:y}=function(e){const t=uo({});return{servers:t,serverMutators:Hye(t,uo({}),e&&"server")}}(e),{securitySchemes:O,securitySchemeMutators:w}=function(e){const t=uo({});return{securitySchemes:t,securitySchemeMutators:Hye(t,uo({}),e&&"securityScheme")}}(e),{workspaces:x,workspaceMutators:k}=function(e){const t=uo({});return{workspaces:t,workspaceMutators:Hye(t,uo({}),e&&Fj)}}(e),S={collections:i,collectionMutators:s,tags:l,tagMutators:c,requests:u,requestMutators:d,requestExamples:p,requestExampleMutators:h,environmentMutators:b,serverMutators:y,securitySchemeMutators:w,workspaces:x,workspaceMutators:k},{addTag:_,deleteTag:E}=function({collectionMutators:e,collections:t,requests:r,requestMutators:n,tagMutators:a}){return{addTag:(r,n)=>{const o=t[n],i=oB(r,Wve,!1);return i&&o?(e.edit(n,"tags",[...o.tags,i.uid]),e.edit(n,"children",[...o.children,i.uid]),a.add(i),i):console.error("INVALID TAG DATA",r)},deleteTag:(o,i)=>{const s=t[i];s&&(e.edit(i,"tags",s.tags.filter((e=>e!==o.uid))),e.edit(i,"children",s.children.filter((e=>e!==o.uid))),o.children.forEach((t=>{const a=r[t];if(!a)return;const l=a.tags?.filter((e=>e!==o.name));n.edit(a.uid,"tags",l),!l?.length&&!s.children.includes(t)&&e.edit(i,"children",[...s.children,t])})),a.delete(o.uid))}}}(S),{addRequest:T,deleteRequest:A,findRequestParents:C}=function({requestExamples:e,requestExampleMutators:t,requestMutators:r,collectionMutators:n,collections:a,tags:o,tagMutators:i},s){return{addRequest:(l,c)=>{const u=oB(l,_ye,!1);if(!u)return console.error("INVALID REQUEST DATA",l);const d=a[c],p=Oye(u,RB((u.summary??"Example")+" #1",(t=>u.examples.some((r=>t===e[r]?.name)))));return u.examples.push(p.uid),r.add(u),t.add(p),d&&n.edit(c,"requests",[...d.requests,u.uid]),u.tags?.length?u.tags.forEach((e=>{const t=d?.tags.find((t=>o[t]?.name===e));t&&o[t]?i.edit(t,"children",[...o[t].children,u.uid]):s({name:e,children:[u.uid]},c)})):d&&n.edit(c,"children",[...d.children,u.uid]),u},deleteRequest:(e,s)=>{const l=a[s];e.examples.forEach((e=>t.delete(e))),l&&(n.edit(s,"requests",l.requests.filter((t=>t!==e.uid))),n.edit(s,"children",l.children.filter((t=>t!==e.uid))),e.tags?.forEach((t=>{const r=l.tags.find((e=>o[e]?.name===t));r&&i.edit(r,"children",o[r]?.children.filter((t=>t!==e.uid))||[])}))),r.delete(e.uid)},findRequestParents:mOe({collections:a,tags:o})}}(S,_),{deleteEnvironment:P}=function({environmentMutators:e}){return{deleteEnvironment:t=>{"default"!==t?e.delete(t):console.warn("Default environment cannot be deleted.")}}}(S),{addServer:$,deleteServer:M}=function({serverMutators:e,collections:t,collectionMutators:r,requests:n,requestMutators:a}){return{addServer:(o,i)=>{const s=yB.parse(o);return t[i]?r.edit(i,"servers",[...t[i].servers,s.uid]):n[i]&&a.edit(i,"servers",[...n[i].servers,s.uid]),e.add(s),s},deleteServer:(n,a)=>{t[a]&&(r.edit(a,"servers",t[a].servers.filter((e=>e!==n))),e.delete(n))}}}(S),{addCollection:D,deleteCollection:R}=Vye(S),{addRequestExample:N,deleteRequestExample:I}=function({requestExamples:e,requestExampleMutators:t,requestMutators:r,requests:n}){return{addRequestExample:(n,a)=>{const o=a??RB((n.summary??"Example")+" #1",(t=>n.examples.some((r=>e[r]?.name===t)))),i=Oye(n,o);return t.add(i),r.edit(n.uid,"examples",[...n.examples,i.uid]),i},deleteRequestExample:e=>{e.requestUid&&(r.edit(e.requestUid,"examples",n[e.requestUid]?.examples.filter((t=>t!==e.uid))||[]),t.delete(e.uid))}}}(S),{addWorkspace:L,deleteWorkspace:j}=function({workspaces:e,workspaceMutators:t,collectionMutators:r,requestMutators:n,requestExampleMutators:a}){return{addWorkspace:(e={})=>{const{request:o}=gOe(),i=bye.parse({name:"Example",requestUid:o.uid});o.examples.push(i.uid);const s=Yve.parse({info:{title:"Drafts"},children:[o.uid],requests:[o.uid]}),l=_Oe.parse({...e,collections:[s.uid]});return a.add(i),n.add(o),r.add(s),t.add(l),l},deleteWorkspace:r=>{Object.keys(e).length<=1?console.warn("The last workspace cannot be deleted."):t.delete(r)}}}(S),{addSecurityScheme:B,deleteSecurityScheme:U}=function({securitySchemeMutators:e,collectionMutators:t,collections:r,requests:n,requestMutators:a}){return{addSecurityScheme:(n,a)=>{const o=Fve.parse(n);return e.add(o),a&&r[a]&&t.edit(a,"securitySchemes",[...r[a].securitySchemes,o.uid]),o},deleteSecurityScheme:o=>{Object.values(r).forEach((e=>{e.securitySchemes.includes(o)&&t.edit(e.uid,"securitySchemes",e.securitySchemes.filter((e=>e!==o)))})),Object.values(n).forEach((e=>{e.security?.some((e=>Object.keys(e).includes(o)))&&a.edit(e.uid,"security",n[e.uid]?.security?.filter((e=>!Object.keys(e).includes(o)))),e.selectedSecuritySchemeUids.flat().includes(o)&&a.edit(e.uid,"selectedSecuritySchemeUids",e.selectedSecuritySchemeUids?.filter((e=>Array.isArray(e)?!e.includes(o):e!==o)))})),e.delete(o)}}}(S),{addCollectionEnvironment:F,removeCollectionEnvironment:Q}=Vye(S),z=uo([]),{importSpecFile:q,importSpecFromUrl:H}=function({requestMutators:e,collectionMutators:t,serverMutators:r,tagMutators:n,securitySchemeMutators:a,requestExampleMutators:o,workspaceMutators:i,workspaces:s}){const l=async(l,c,u={})=>{const d=Oo(l),p=await async function(e,{dereferencedDocument:t,authentication:r,baseServerURL:n,documentUrl:a,servers:o,useCollectionSecurity:i=!1,slug:s,shouldLoad:l,watchMode:c=!1}={}){const{schema:u,errors:d}=await cOe(e,{shouldLoad:l,dereferencedDocument:t}),p=[...d.map((e=>e.message))];if(!u)return{importWarnings:p,error:!0,collection:void 0};const h=performance.now(),f=[],m=wB(o||u.servers,{baseServerURL:n,documentUrl:a}),g=[],b=new Set,v=u.components?.securitySchemes??u?.securityDefinitions??{};(r?.oAuth2||r?.apiKey||r?.http)&&console.warn("DEPRECATION WARNING: It looks like you're using legacy authentication config. Please migrate to use the updated config. See https://github.com/scalar/scalar/blob/main/documentation/configuration.md#authentication-partial This will be removed in a future version.");const y=Object.entries(v).map?.((([e,t])=>{const n={...t,...r?.securitySchemes?.[e]??{},nameKey:e};"oauth2"===n.type&&n.flows?Object.keys(n.flows).forEach((a=>{if(!n.flows?.[a]||"oauth2"!==t.type)return;const o=r?.securitySchemes?.[e]?.flows?.[a]??{};n.flows[a]={...t.flows?.[a]??{},...o};const i=n.flows[a];i.type=a,r?.oAuth2&&(r.oAuth2.accessToken&&(i.token=r.oAuth2.accessToken),r.oAuth2.clientId&&(i["x-scalar-client-id"]=r.oAuth2.clientId),r.oAuth2.scopes&&(i.selectedScopes=r.oAuth2.scopes),"password"===i.type&&(i.username=r.oAuth2.username,i.password=r.oAuth2.password)),Array.isArray(i.scopes)&&(i.scopes=i.scopes.reduce(((e,t)=>({...e,[t]:""})),{})),i["x-defaultClientId"]&&(i["x-scalar-client-id"]=i["x-defaultClientId"])})):r&&("apiKey"===n.type&&r.apiKey?.token?n.value=r.apiKey.token:"http"===n.type&&("basic"===n.scheme&&r.http?.basic?(n.username=r.http.basic.username??"",n.password=r.http.basic.password??""):"bearer"===n.scheme&&r.http?.bearer?.token&&(n.token=r.http.bearer.token??"")));const a=oB(n,Fve,!1);return a||p.push(`Security scheme ${e} is invalid.`),a})).filter((e=>!!e)),O={};var w;y.forEach((e=>{O[e.nameKey]=e.uid})),(w=u.paths??{},w?Object.keys(w).map((e=>String(e))):[]).forEach((e=>{const t=u?.paths?.[e];if(!t)return;const n=yB.array().parse(t.servers??[]);for(const e of n)m.push(e);Object.keys(t).filter(uR).forEach((a=>{const o=t[a];if(!o)return;const s=yB.array().parse(o.servers??[]);for(const e of s)g.push(e);o.tags?.forEach((e=>b.add(e)));const{security:l,...c}=o,d=(l??u.security??[]).map((e=>{const t=Object.keys(e);return t.length>1?t:t[0]})).filter(OB),h=[r?.preferredSecurityScheme??[]].flat().filter((e=>Array.isArray(e)?d.some((t=>Array.isArray(t)&&t.length===e.length&&t.every(((t,r)=>t===e[r])))):d.includes(e))),m=d.length&&!i?uOe(d,h,O):[],v={...c,method:a,path:e,security:l,selectedServerUid:s?.[0]?.uid,selectedSecuritySchemeUids:m,parameters:[...t?.parameters??[],...o.parameters??[]],servers:[...n,...s].map((e=>e.uid))};v.examples&&(console.warn("[@scalar/api-client] operation.examples is not a valid openapi property"),delete v.examples);const y=oB(v,_ye,!1);y?f.push(y):p.push(`${a} Request at ${t} is invalid.`)}))}));const x=oB(u?.tags??[],Wve.array(),!1)??[];x.forEach((e=>b.delete(e.name))),b.forEach((e=>e&&x.push(Wve.parse({name:e}))));const k={};x.forEach((e=>{k[e.name]=e}));const S=new Set(x.map((e=>e.uid)));x.forEach((e=>{e["x-scalar-children"]?.forEach((t=>{const r=k[t.tagName]?.uid;r&&(e.children.push(r),S.delete(r))}))})),f.forEach((e=>{e.tags?.length?e.tags.forEach((t=>{k[t]?.children.push(e.uid)})):S.add(e.uid)}));const _=[];f.forEach((e=>{const t=Oye(e,"Default Example");_.push(t),e.examples.push(t.uid)}));const E=(u.security??[]).map((e=>{const t=Object.keys(e);return t.length>1?t:t[0]})).filter(OB),T=[r?.preferredSecurityScheme??[]].flat(),A=(E.length||T?.length)&&i?uOe(E,T,O):[],C=s?.length?{uid:dOe(s)}:{},P=Yve.parse({...C,...u,watchMode:c,documentUrl:a,useCollectionSecurity:i,requests:f.map((e=>e.uid)),servers:m.map((e=>e.uid)),tags:x.map((e=>e.uid)),children:[...S],security:u.security??[{}],selectedServerUid:m?.[0]?.uid,selectedSecuritySchemeUids:A,components:{...u.components},securitySchemes:y.map((e=>e.uid))}),$=performance.now();return console.log(`workspace: ${Math.round($-h)} ms`),{error:!1,servers:[...m,...g],schema:u,requests:f,examples:_,collection:P,tags:x,securitySchemes:y}}(d,u);return p.error?(console.group("IMPORT ERRORS"),p.importWarnings.forEach((e=>console.warn(e))),void console.groupEnd()):(u.documentUrl&&"string"==typeof d&&(fOe[u.documentUrl]={hash:EB(d),schema:p.schema}),p.examples.forEach((e=>o.add(e))),p.requests.forEach((t=>e.add(t))),p.tags.forEach((e=>n.add(e))),p.servers.forEach((e=>r.add(e))),p.securitySchemes.forEach((e=>a.add(e))),t.add(p.collection),i.edit(c,"collections",[...s[c]?.collections??[],p.collection.uid]),p)};return{importSpecFile:l,importSpecFromUrl:async function(e,t,{proxyUrl:r,...n}={}){try{const a=await rB(e,r);return[null,await l(a,t,{documentUrl:e,...n})]}catch(e){return console.error("Failed to fetch spec from URL:",e),[pOe(e),null]}}}}(S),V=So((e?localStorage?.getItem("sidebarWidth"):void 0)||"280px"),Z=B7();Object.values(x).forEach((({uid:e})=>{r&&k.edit(e,"proxyUrl",r),n&&k.edit(e,"themeId",n)})),typeof window<"u"&&(window.dataDump=()=>({collections:Oo(i),cookies:Oo(f),environments:Oo(g),requestExamples:Oo(p),requests:Oo(u),securitySchemes:Oo(O),servers:Oo(v),tags:Oo(l),workspaces:Oo(x)}));const W={executeRequest:Zye(),focusAddressBar:Zye(),cancelRequest:Zye(),requestStatus:Zye(),commandPalette:Zye(),hotKeys:Zye()};return{workspaces:x,collections:i,tags:l,cookies:f,environments:g,requestExamples:p,requests:u,servers:v,securitySchemes:O,modalState:Z,events:W,sidebarWidth:V,setSidebarWidth:t=>{V.value=t,e&&localStorage?.setItem("sidebarWidth",t)},proxyUrl:r,hideClientButton:a,showSidebar:t,integration:o,importSpecFile:q,importSpecFromUrl:H,cookieMutators:m,collectionMutators:{...s,rawAdd:s.add,add:D,delete:R,addEnvironment:F,removeEnvironment:Q},environmentMutators:{...b,delete:P},requestMutators:{...d,rawAdd:d.add,add:T,delete:A},findRequestParents:C,requestExampleMutators:{...h,rawAdd:h.add,add:N,delete:I},requestHistory:z,securitySchemeMutators:{...w,rawAdd:w.add,add:B,delete:U},serverMutators:{...y,rawAdd:y.add,add:$,delete:M},tagMutators:{...c,rawAdd:c.add,add:_,delete:E},workspaceMutators:{...k,rawAdd:k.add,add:L,delete:j},addCollectionEnvironment:F,removeCollectionEnvironment:Q}},TOe="WORKSPACE_SYMBOL",AOe=()=>{const e=Fs(TOe);if(!e)throw new Error("Workspace store not provided");return e},COe={class:"min-w-0"},POe={class:"text-c-1 min-w-0 truncate"},$Oe=Li({__name:"AddressBarHistory",props:{operation:{},target:{}},setup(e){const{requestHistory:t}=AOe(),r=gc((()=>t.filter((t=>t.request.requestUid===e.operation.uid)).slice().reverse()));return(e,t)=>(Dl(),jl(Ao(_Q),{as:"div"},{default:ci((({open:n})=>[ql(Ao(JG),{offset:0,resize:"",target:e.target},hs({default:ci((()=>[r.value?.length?(Dl(),jl(Ao(EQ),{key:0,class:"address-bar-history-button z-context-plus text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5"},{default:ci((()=>[ql(Ao(A6),{icon:"History",size:"sm",thickness:"2.25"}),t[0]||(t[0]=zl("span",{class:"sr-only"},"Request History",-1))])),_:1,__:[0]})):Xl("",!0)])),_:2},[n?{name:"floating",fn:ci((({width:e})=>[ql(Ao(TQ),{class:"custom-scroll grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center border-t p-0.75",static:"",style:jn({width:e})},{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(r.value,((e,t)=>(Dl(),jl(Ao(AQ),{key:e.timestamp,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:t=>function(e){console.warn("Restoring from the request history doesn't work yet. Request History Item:",e)}(e)},{default:ci((()=>[e.response.method?(Dl(),jl(pve,{key:0,class:"text-[11px]",method:e.response.method},null,8,["method"])):Xl("",!0),zl("div",COe,[zl("div",POe,Gn(e.response.path),1)]),zl("div",null,Gn(Ao(hve)(e.response.duration)),1),zl("div",{class:zn([Ao(mve)(e.response.status).color])},Gn(e.response.status),3),zl("div",null,Gn(Ao(DB)[e.response.status]?.name),1)])),_:2},1032,["value","onClick"])))),128))])),_:2},1032,["style"]),ql(Ao(eY),{class:"-top-(--scalar-address-bar-height) rounded-lg"})])),key:"0"}:void 0]),1032,["target"])])),_:1}))}}),MOe=W7($Oe,[["__scopeId","data-v-a93fa60f"]]);function DOe(e,t,r){const n=new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0});e?.dispatchEvent(n)}function ROe(e,t,r){hl((()=>e.value),(e=>{e&&e.addEventListener(t,r)}),{immediate:!0}),es((()=>{e.value&&e.value.removeEventListener(t,r)}))}const NOe={key:0,class:"sr-only"},IOe=Li({__name:"ServerVariablesSelect",props:{enum:{},value:{},controls:{}},emits:["change"],setup(e,{emit:t}){const r=e,n=t,a=gc((()=>r.enum.map((e=>({id:e,label:e}))))),o=gc({get:()=>a.value.find((e=>e.id===r.value)),set:e=>n("change",e?.id??"")});return(e,t)=>(Dl(),jl(Ao(H6),{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),options:a.value},{default:ci((()=>[ql(Ao(Oq),{"aria-controls":e.controls,class:"group/button h-8 gap-1.5 p-1.5 text-base font-normal",variant:"ghost"},{default:ci((()=>[zl("span",{class:zn({"text-c-1":e.value})},[e.value?(Dl(),Ll("span",NOe," Selected: ")):Xl("",!0),Zl(" "+Gn(e.value||"Select value"),1)],2),ql(Ao(uH),{weight:"bold",class:"mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180"})])),_:1},8,["aria-controls"])])),_:1},8,["modelValue","options"]))}}),LOe=Li({__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],setup(e,{emit:t}){const r=e,n=t,a=gc({get:()=>r.value,set:e=>n("change",e)});return(e,t)=>ui((Dl(),Ll("input",Jl({"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e)},e.controls?{...e.$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:"value",spellcheck:"false",type:"text"}),null,16)),[[mu,a.value]])}}),jOe=["for"],BOe=Li({__name:"ServerVariablesForm",props:{variables:{},values:{},controls:{},layout:{default:"client"}},emits:["update:variable"],setup(e,{emit:t}){const r=t,n=ji();function a(e,t){r("update:variable",e,t)}const o=t=>(e.values?.[t]??e.variables?.[t]?.default??"").toString();return(e,t)=>e.variables&&Object.keys(e.variables??{}).length?(Dl(!0),Ll(Tl,{key:0},ps(Object.keys(e.variables),(t=>(Dl(),Ll("div",{key:t,class:zn(["group/label flex w-full","reference"===e.layout&&"items-center border-x border-b last:rounded-b-lg"])},[zl("label",{for:`${Ao(n)}-${t}`,class:"flex items-center py-1.5 pl-3 group-has-[input]/label:mr-0 after:content-[':']"},Gn(t),9,jOe),e.variables?.[t]?.enum?.length?(Dl(),jl(IOe,{key:0,id:`${Ao(n)}-${t}`,controls:e.controls,enum:e.variables[t]?.enum?.map((e=>`${e}`))??[],value:o(t),onChange:e=>a(t,e)},null,8,["id","controls","enum","value","onChange"])):(Dl(),jl(LOe,{key:1,id:`${Ao(n)}-${t}`,controls:e.controls,value:o(t),onChange:e=>a(t,e)},null,8,["id","controls","value","onChange"]))],2)))),128)):Xl("",!0)}}),UOe=["aria-expanded"],FOe={class:"overflow-hidden text-ellipsis whitespace-nowrap"},QOe=["id"],zOe={key:0},qOe={class:"description text-c-3 px-3 py-1.5"},HOe=Li({__name:"ServerDropdownItem",props:{collection:{},operation:{},server:{},serverOption:{},type:{}},emits:["update:variable"],setup(e,{emit:t}){const r=e,n=t,a=ji(),{collectionMutators:o,requestMutators:i,servers:s}=AOe(),l=gc((()=>"collection"===r.type?r.collection.selectedServerUid===r.serverOption.id&&!r.operation?.selectedServerUid:!("request"!==r.type||!r.operation)&&r.operation.selectedServerUid===r.serverOption.id)),c=e=>{if(!e)return!1;const t=s[e];return Object.keys(t?.variables??{}).length>0},u=gc((()=>l.value&&c(r.server?.uid??""))),d=(e,t)=>{n("update:variable",e,t)},p=Ui("wrapper-ref");return(e,t)=>(Dl(),Ll("div",{ref:"wrapper-ref",class:zn(["group/item flex min-h-fit flex-col rounded border",{"border-transparent":!l.value}])},[zl("button",Jl(u.value?{"aria-controls":Ao(a)}:{},{"aria-expanded":u.value,class:["flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5",l.value?"text-c-1 bg-b-2":"hover:bg-b-2"],type:"button",onClick:t[0]||(t[0]=t=>((e,t)=>{if(c(e)&&t?.stopPropagation(),l.value)return r.operation?.servers?.length&&i.edit(r.operation.uid,"selectedServerUid",null),void("collection"===r.type?(o.edit(r.collection.uid,"selectedServerUid",void 0),DOe(p.value,"scalar-update-selected-server",{value:void 0,options:{disableOldStoreUpdate:!0}})):"request"===r.type&&r.operation&&i.edit(r.operation.uid,"selectedServerUid",null));"collection"===r.type&&r.collection?(r.operation?.servers?.length&&i.edit(r.operation.uid,"selectedServerUid",null),o.edit(r.collection.uid,"selectedServerUid",e),DOe(p.value,"scalar-update-selected-server",{value:s[e]?.url,options:{disableOldStoreUpdate:!0}})):"request"===r.type&&r.operation&&i.edit(r.operation.uid,"selectedServerUid",e)})(e.serverOption.id,t))}),[ql(Ao(yX),{selected:l.value},null,8,["selected"]),zl("span",FOe,Gn(e.serverOption.label),1)],16,UOe),u.value?(Dl(),Ll("div",{key:0,id:Ao(a),class:"bg-b-2 divide divide-y rounded-b border-t *:pl-4",onClick:t[1]||(t[1]=Tu((()=>{}),["stop"]))},[ql(BOe,{variables:e.server?.variables,"onUpdate:variable":d},null,8,["variables"]),e.server?.description?(Dl(),Ll("div",zOe,[zl("div",qOe,[ql(Ao(Z6),{value:e.server.description},null,8,["value"])])])):Xl("",!0)],8,QOe)):Xl("",!0)],2))}}),VOe=W7(HOe,[["__scopeId","data-v-92012388"]]),ZOe=["onClick"],WOe={class:"flex h-4 w-4 items-center justify-center"},XOe=Li({__name:"ServerDropdown",props:{collection:{},operation:{},server:{},target:{}},setup(e){const{layout:t}=rve(),{servers:r,collectionMutators:n,events:a,serverMutators:o}=AOe(),i=gc((()=>e.operation?.servers?.map((e=>({id:e,label:r[e]?.url??"Unknown server"}))))),s=gc((()=>e.collection?.servers?.filter((t=>!e.operation?.servers?.includes(t))).map((e=>({id:e,label:r[e]?.url??"Unknown server"}))))),l=gc((()=>i.value?.length&&s.value?.length));hl([()=>e.collection,()=>e.operation],(([t,r])=>{if(!t||t.selectedServerUid||r?.selectedServerUid)return;const a=e.collection.servers?.[0];a&&n.edit(e.collection.uid,"selectedServerUid",a)}));const c=()=>a.commandPalette.emit({commandName:"Add Server"}),u=gc((()=>e.server?.url?.endsWith("/")?e.server.url.slice(0,-1):e.server?.url||"")),d=(t,r)=>{if(!e.server)return;const n=e.server.variables||{};n[t]={...n[t],default:r},o.edit(e.server.uid,"variables",n),DOe(p.value?.$el,"scalar-update-selected-server-variables",{key:t,value:r})},p=Ui("wrapper-ref");return(e,r)=>(Dl(),jl(Ao(e7),{ref:"wrapper-ref",class:"max-h-[inherit] p-0 text-base",focus:"",offset:0,placement:"bottom-start",resize:"",target:e.target,teleport:`#${e.target}`},{popover:ci((({close:n})=>[zl("div",{class:"custom-scroll flex max-h-[inherit] flex-col gap-1 border-t p-1",onClick:n},[(Dl(!0),Ll(Tl,null,ps(i.value,(t=>(Dl(),jl(VOe,{key:t.id,collection:e.collection,operation:e.operation,server:e.server,serverOption:t,type:"request","onUpdate:variable":d},null,8,["collection","operation","server","serverOption"])))),128)),l.value?(Dl(),Ll(Tl,{key:0},[ql(Ao(J6)),r[2]||(r[2]=zl("div",{class:"text-xxs text-c-2 px-2.5 py-1"},"Collection",-1))],64)):Xl("",!0),(Dl(!0),Ll(Tl,null,ps(s.value,(t=>(Dl(),jl(VOe,{key:t.id,collection:e.collection,operation:e.operation,server:e.server,serverOption:t,type:"collection","onUpdate:variable":d},null,8,["collection","operation","server","serverOption"])))),128)),"modal"!==Ao(t)?(Dl(),Ll("button",{key:1,class:"text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75",type:"button",onClick:c},[zl("div",WOe,[ql(Ao(A6),{icon:"Add",size:"sm"})]),r[3]||(r[3]=zl("span",null,"Add Server",-1))])):Xl("",!0)],8,ZOe)])),backdrop:ci((()=>[ql(Ao(eY),{class:"-top-(--scalar-address-bar-height) rounded-lg"})])),default:ci((()=>[ql(Ao(Oq),{class:"z-context-plus hover:bg-b-2 font-code text-c-2 ml-0.75 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap",variant:"ghost"},{default:ci((()=>[e.operation?.selectedServerUid||e.collection.selectedServerUid?(Dl(),Ll(Tl,{key:0},[r[0]||(r[0]=zl("span",{class:"sr-only"},"Server:",-1)),Zl(" "+Gn(u.value),1)],64)):(Dl(),Ll(Tl,{key:1},[r[1]||(r[1]=zl("span",{class:"sr-only"},"Add Server",-1)),ql(Ao(A6),{icon:"Add",size:"xs"})],64))])),_:1})])),_:1},8,["target","teleport"]))}}),GOe=["id"],YOe={class:"address-bar-bg-states text-xxs group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg p-0.75 lg:order-none lg:max-w-[580px] lg:min-w-[580px] xl:max-w-[720px] xl:min-w-[720px]"},KOe={class:"pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border"},JOe={class:"z-context-plus flex gap-1"},ewe={class:"scroll-timeline-x scroll-timeline-x-hidden z-context-plus relative flex w-full bg-blend-normal"},twe={"aria-hidden":"true",class:"inline-flex items-center gap-1"},rwe={class:"sr-only"},nwe=Li({__name:"AddressBar",props:{collection:{},operation:{},server:{},environment:{},envVariables:{},workspace:{}},emits:["importCurl"],setup(e){const t=ji(),{requestMutators:r,events:n}=AOe(),{layout:a}=rve(),o=So(null),i=So(null);hl((()=>e.operation.path),(t=>{t&&(t=>{e.operation.path!==t&&r.edit(e.operation.uid,"path",t)})(t)}));const s=So(100),l=So(0),c=So(!1),u=So();function d(){c.value?s.value-=(s.value-15)/60:s.value-=l.value/20,s.value<=0&&(clearInterval(u.value),u.value=void 0,s.value=100,c.value=!1)}function p(t){r.edit(e.operation.uid,"method",t)}function h(){const{method:t}=e.operation;return $B[t].colorVar}function f(){c.value||(c.value=!0,n.executeRequest.emit({requestUid:e.operation.uid}))}function m(t){r.edit(e.operation.uid,"path",t)}return n.requestStatus.on((e=>{"start"===e&&(u.value||(c.value=!0,u.value=setInterval(d,20))),"stop"===e&&(l.value=s.value,c.value=!1),"abort"===e&&(clearInterval(u.value),u.value=void 0,s.value=100,c.value=!1)})),n.focusAddressBar.on((()=>{"modal"===a?i.value?.$el?.focus():o.value?.focus()})),n.hotKeys.on((e=>{e?.focusAddressBar&&o.value?.focus(),e?.executeRequest&&f()})),(e,r)=>(Dl(),Ll("div",{id:Ao(t),class:"scalar-address-bar order-last flex h-(--scalar-address-bar-height) w-full [--scalar-address-bar-height:32px] lg:order-none lg:w-auto"},[zl("div",YOe,[zl("div",KOe,[zl("div",{class:"absolute top-0 left-0 z-[1002] h-full w-full",style:jn({backgroundColor:`color-mix(in srgb, transparent 90%, ${h()})`,transform:`translate3d(-${s.value}%,0,0)`})},null,4)]),zl("div",JOe,[ql(pve,{isEditable:"modal"!==Ao(a),isSquare:"",method:e.operation.method,teleport:"",onChange:p},null,8,["isEditable","method"])]),zl("div",ewe,[e.collection.servers.length?(Dl(),jl(Ao(XOe),{key:0,collection:e.collection,layout:"client",operation:e.operation,server:e.server,target:Ao(t)},null,8,["collection","operation","server","target"])):Xl("",!0),r[1]||(r[1]=zl("div",{class:"fade-left"},null,-1)),ql(uve,{ref_key:"addressBarRef",ref:o,"aria-label":"Path",class:"min-w-fit outline-none",disableCloseBrackets:"",disabled:"modal"===Ao(a),disableEnter:"",disableTabIndent:"",emitOnBlur:!1,envVariables:e.envVariables,environment:e.environment,importCurl:"",modelValue:e.operation.path,placeholder:e.server?.uid&&e.collection.servers.includes(e.server.uid)?"":"Enter a URL or cURL command",server:"",workspace:e.workspace,onCurl:r[0]||(r[0]=t=>e.$emit("importCurl",t)),onSubmit:f,"onUpdate:modelValue":m},null,8,["disabled","envVariables","environment","modelValue","placeholder","workspace"]),r[2]||(r[2]=zl("div",{class:"fade-right"},null,-1))]),ql(MOe,{operation:e.operation,target:Ao(t)},null,8,["operation","target"]),ql(Ao(Oq),{ref_key:"sendButtonRef",ref:i,class:"z-context-plus relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold",disabled:c.value,onClick:f},{default:ci((()=>[zl("span",twe,[ql(Ao(A6),{class:"relative shrink-0 fill-current",icon:"Play",size:"xs"}),r[3]||(r[3]=zl("span",{class:"text-xxs hidden lg:flex"},"Send",-1))]),zl("span",rwe," Send "+Gn(e.operation.method)+" request to "+Gn(e.server?.url??"")+Gn(e.operation.path),1)])),_:1},8,["disabled"])])],8,GOe))}}),awe=W7(nwe,[["__scopeId","data-v-78c9dbb9"]]),owe={xs:"(min-width: 400px)",sm:"(min-width: 600px)",md:"(min-width: 800px)",lg:"(min-width: 1000px)",xl:"(min-width: 1200px)",zoomed:"(max-width: 720px) and (max-height: 480px)"};function iwe(){const e={xs:lU(owe.xs),sm:lU(owe.sm),md:lU(owe.md),lg:lU(owe.lg),xl:lU(owe.xl),zoomed:lU(owe.zoomed)},t=gc((()=>Object.fromEntries(Object.entries(e).map((([e,t])=>[e,Ao(t)])))));return{screens:owe,mediaQueries:e,breakpoints:t}}const swe=Symbol(),lwe=()=>{const e=Fs(swe);if(!e)throw new Error("useSidebar must have injected SIDEBAR_SYMBOL");const{collapsedSidebarFolders:t,isSidebarOpen:r}=e;return{collapsedSidebarFolders:ho(t),isSidebarOpen:ho(r),setCollapsedSidebarFolder:(e,r)=>t[e]=r,toggleSidebarFolder:e=>t[e]=!t[e],setSidebarOpen:e=>r.value=e,toggleSidebarOpen:()=>r.value=!r.value}},cwe={key:0,class:"xl:min-h-header flex min-h-12 items-center justify-between px-3 py-1.5 text-sm md:px-[18px] md:py-2.5"},uwe={class:"m-0 text-sm font-medium whitespace-nowrap"},dwe={class:"bg-b-1 relative sticky bottom-0 z-10 w-[inherit] pt-0 has-[.empty-sidebar-item]:border-t md:px-2.5 md:pb-2.5"},pwe=Li({__name:"Sidebar",props:{title:{}},setup(e){const{isSidebarOpen:t}=lwe(),{sidebarWidth:r,setSidebarWidth:n}=AOe(),{layout:a}=rve(),o=So(!1),i=So(null),{breakpoints:s}=iwe(),l=e=>{e.preventDefault();const t=e.clientX,a=Number.parseInt(getComputedStyle(i.value).width||r.value,10),s=e=>{o.value=!0,document.body.classList.add("dragging");let r=a+e.clientX-t;r>420&&(r=420+.2*(r-420)),r<240&&(r=240),n(`${r}px`)},l=()=>{o.value=!1,document.body.classList.remove("dragging"),document.documentElement.removeEventListener("mousemove",s,!1),document.documentElement.removeEventListener("mouseup",l,!1),Number.parseInt(r.value,10)>420?n("360px"):Number.parseInt(r.value,10)<240&&n("240px")};document.documentElement.addEventListener("mousemove",s,!1),document.documentElement.addEventListener("mouseup",l,!1)};return(e,n)=>ui((Dl(),Ll("aside",{ref_key:"sidebarRef",ref:i,class:zn(["sidebar bg-b-1 relative flex min-w-full flex-1 flex-col overflow-hidden leading-3 md:min-w-fit md:flex-none md:border-r md:border-b-0",{dragging:o.value}]),style:jn({width:Ao(s).lg?Ao(r):"100%"})},[fs(e.$slots,"header",{},void 0,!0),"modal"!==Ao(a)&&e.title?(Dl(),Ll("div",cwe,[zl("h2",uwe,Gn(e.title),1),Ao(s).lg?Xl("",!0):fs(e.$slots,"button",{key:0},void 0,!0)])):Xl("",!0),zl("div",{class:zn(["custom-scroll sidebar-height w-[inherit] pb-0 md:pb-[37px]",{"sidebar-mask":"modal"!==Ao(a)}])},[fs(e.$slots,"content",{},void 0,!0)],2),Ao(s).lg?(Dl(),Ll(Tl,{key:1},[zl("div",dwe,[fs(e.$slots,"button",{},void 0,!0)]),zl("div",{class:"resizer",onMousedown:l},null,32)],64)):Xl("",!0)],6)),[[qc,Ao(t)]])}}),hwe=W7(pwe,[["__scopeId","data-v-72824faa"]]);function fwe({multiple:e,accept:t,onChange:r,onError:n}={}){const a=So(null);let o;return typeof document<"u"&&(o=document.createElement("input"),o.type="file",o.onchange=e=>{const t=e.target;a.value=t.files,r?.(a.value)},o.onerror=()=>n?.(),o.multiple=e,o.accept=t),{files:ho(a),open:()=>{if(!o)return n?.();o.click()}}}var mwe,gwe,bwe,vwe,ywe,Owe,wwe,xwe,kwe,Swe={};function _we(){return mwe||(mwe=1,Swe.removeLeadingAndTrailingHTTPWhitespace=e=>e.replace(/^[ \t\n\r]+/u,"").replace(/[ \t\n\r]+$/u,""),Swe.removeTrailingHTTPWhitespace=e=>e.replace(/[ \t\n\r]+$/u,""),Swe.isHTTPWhitespaceChar=e=>" "===e||"\t"===e||"\n"===e||"\r"===e,Swe.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),Swe.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),Swe.asciiLowercase=e=>e.replace(/[A-Z]/gu,(e=>e.toLowerCase())),Swe.collectAnHTTPQuotedString=(e,t)=>{let r="";for(t++;;){for(;t<e.length&&'"'!==e[t]&&"\\"!==e[t];)r+=e[t],++t;if(t>=e.length)break;const n=e[t];if(++t,"\\"!==n)break;if(t>=e.length){r+="\\";break}r+=e[t],++t}return[r,t]}),Swe}const Ewe=B$(function(){if(kwe)return xwe;kwe=1;const e=function(){if(bwe)return gwe;bwe=1;const{asciiLowercase:e,solelyContainsHTTPTokenCodePoints:t,soleyContainsHTTPQuotedStringTokenCodePoints:r}=_we();return gwe=class{constructor(e){this._map=e}get size(){return this._map.size}get(t){return t=e(String(t)),this._map.get(t)}has(t){return t=e(String(t)),this._map.has(t)}set(n,a){if(n=e(String(n)),a=String(a),!t(n))throw new Error(`Invalid MIME type parameter name "${n}": only HTTP token code points are valid.`);if(!r(a))throw new Error(`Invalid MIME type parameter value "${a}": only HTTP quoted-string token code points are valid.`);return this._map.set(n,a)}clear(){this._map.clear()}delete(t){return t=e(String(t)),this._map.delete(t)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}}(),t=function(){if(ywe)return vwe;ywe=1;const{removeLeadingAndTrailingHTTPWhitespace:e,removeTrailingHTTPWhitespace:t,isHTTPWhitespaceChar:r,solelyContainsHTTPTokenCodePoints:n,soleyContainsHTTPQuotedStringTokenCodePoints:a,asciiLowercase:o,collectAnHTTPQuotedString:i}=_we();return vwe=s=>{s=e(s);let l=0,c="";for(;l<s.length&&"/"!==s[l];)c+=s[l],++l;if(0===c.length||!n(c))return null;if(l>=s.length)return null;++l;let u="";for(;l<s.length&&";"!==s[l];)u+=s[l],++l;if(u=t(u),0===u.length||!n(u))return null;const d={type:o(c),subtype:o(u),parameters:new Map};for(;l<s.length;){for(++l;r(s[l]);)++l;let e="";for(;l<s.length&&";"!==s[l]&&"="!==s[l];)e+=s[l],++l;if(e=o(e),l<s.length){if(";"===s[l])continue;++l}let c=null;if('"'===s[l])for([c,l]=i(s,l);l<s.length&&";"!==s[l];)++l;else{for(c="";l<s.length&&";"!==s[l];)c+=s[l],++l;if(c=t(c),""===c)continue}e.length>0&&n(e)&&a(c)&&!d.parameters.has(e)&&d.parameters.set(e,c)}return d}}(),r=function(){if(wwe)return Owe;wwe=1;const{solelyContainsHTTPTokenCodePoints:e}=_we();return Owe=t=>{let r=`${t.type}/${t.subtype}`;if(0===t.parameters.size)return r;for(let[n,a]of t.parameters)r+=";",r+=n,r+="=",e(a)&&0!==a.length||(a=a.replace(/(["\\])/gu,"\\$1"),a=`"${a}"`),r+=a;return r}}(),{asciiLowercase:n,solelyContainsHTTPTokenCodePoints:a}=_we();return xwe=class{constructor(r){r=String(r);const n=t(r);if(null===n)throw new Error(`Could not parse MIME type string "${r}"`);this._type=n.type,this._subtype=n.subtype,this._parameters=new e(n.parameters)}static parse(e){try{return new this(e)}catch(e){return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){if(0===(e=n(String(e))).length)throw new Error("Invalid type: must be a non-empty string");if(!a(e))throw new Error(`Invalid type ${e}: must contain only HTTP token code points`);this._type=e}get subtype(){return this._subtype}set subtype(e){if(0===(e=n(String(e))).length)throw new Error("Invalid subtype: must be a non-empty string");if(!a(e))throw new Error(`Invalid subtype ${e}: must contain only HTTP token code points`);this._subtype=e}get parameters(){return this._parameters}toString(){return r(this)}isJavaScript({prohibitParameters:e=!1}={}){switch(this._type){case"text":switch(this._subtype){case"ecmascript":case"javascript":case"javascript1.0":case"javascript1.1":case"javascript1.2":case"javascript1.3":case"javascript1.4":case"javascript1.5":case"jscript":case"livescript":case"x-ecmascript":case"x-javascript":return!e||0===this._parameters.size;default:return!1}case"application":switch(this._subtype){case"ecmascript":case"javascript":case"x-ecmascript":case"x-javascript":return!e||0===this._parameters.size;default:return!1}default:return!1}}isXML(){return"xml"===this._subtype&&("text"===this._type||"application"===this._type)||this._subtype.endsWith("+xml")}isHTML(){return"html"===this._subtype&&"text"===this._type}}}());function Twe(e){const t=gc((()=>ko(e.data)?e.data.value:e.data)),r=gc((()=>ko(e.headers)?e.headers.value:e.headers)),n=gc((()=>{const e=r.value.find((e=>"content-type"===e.name.toLowerCase()))?.value??"";return new Ewe(e)})),a=gc((()=>function(e){let t="";if(e){const r=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];r&&(t=(e=>{try{return decodeURIComponent(e)}catch{return e}})(r.trim()))}return t}(r.value.find((e=>"content-disposition"===e.name.toLowerCase()))?.value??""))),o=gc((()=>t.value instanceof Blob?URL.createObjectURL(t.value):"string"==typeof t.value?URL.createObjectURL(new Blob([t.value],{type:n.value.toString()})):t.value instanceof Object&&Object.keys(t.value).length?URL.createObjectURL(new Blob([JSON.stringify(t.value)],{type:n.value.toString()})):""));return{mimeType:n,attachmentFilename:a,dataUrl:o}}const Awe=e=>new Promise((t=>setTimeout(t,e))),Cwe=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},Pwe={class:"references-classic-header-container"},$we={class:"references-classic-header"},Mwe={class:"references-classic-header-content"},Dwe=Cwe({},[["render",function(e,t){return Dl(),Ll("div",Pwe,[zl("div",$we,[zl("div",Mwe,[fs(e.$slots,"default",{},void 0,!0)]),fs(e.$slots,"dark-mode-toggle",{},void 0,!0)])])}],["__scopeId","data-v-9198d025"]]),Rwe=function(e){const t=ra();function r(r){var a;const o=uU.get(e)||new Set;o.add(r),uU.set(e,o);const i=()=>n(r);return null==(a=null==t?void 0:t.cleanups)||a.push(i),i}function n(t){const r=uU.get(e);r&&(r.delete(t),r.size||a())}function a(){uU.delete(e)}return{on:r,once:function(e){return r((function t(...r){n(t),e(...r)}))},off:n,emit:function(t,r){var n;null==(n=uU.get(e))||n.forEach((e=>e(t,r)))},reset:a}}(Symbol()),Nwe=So(!1),Iwe=Li({__name:"Lazy",props:{id:{},isLazy:{type:Boolean,default:!0},lazyTimeout:{default:0},prev:{type:Boolean,default:!1}},setup(e){const t=e.prev||!e.isLazy,r=So(!e.isLazy);var n;return Rwe.emit({loading:e.id,save:t}),e.isLazy?(n=()=>{r.value=!0,e.id&&Ko((()=>Rwe.emit({loaded:e.id,save:t})))},"undefined"==typeof window||("requestIdleCallback"in window?setTimeout((()=>window.requestIdleCallback(n)),e.lazyTimeout):setTimeout((()=>{Ko((()=>{n()}))}),e.lazyTimeout??300))):e.id&&Ko((()=>Rwe.emit({loaded:e.id,save:t}))),(e,t)=>r.value?fs(e.$slots,"default",{key:0}):Xl("",!0)}}),Lwe=Symbol(),jwe=()=>Fs(Lwe,gc((()=>zt.parse({})))),Bwe=Symbol(),Uwe=So(!1),Fwe=So(""),Qwe=So(""),zwe=e=>{const{isIntersectionEnabled:t,hash:r,hashPrefix:n}=Fs(Bwe,{isIntersectionEnabled:Uwe,hash:Fwe,hashPrefix:Qwe}),a=e??jwe(),o=e=>{if(!a.value.pathRouting)return"";const t=new RegExp("^"+a.value.pathRouting?.basePath+"/?");return decodeURIComponent(e.replace(t,""))},i=()=>a.value.pathRouting?o(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,"")).slice(n.value.length),s=e=>"function"==typeof a.value.generateTagSlug?`tag/${a.value.generateTagSlug(e)}`:`tag/${lR(e.name??"")}`;return{hash:r,setHashPrefix:e=>{n.value=e},getFullHash:(e=r.value)=>`${n.value}${e}`,getHashedUrl:(e,t=window.location.href,r=window.location.search)=>{const o=new URL(t);return a.value.pathRouting?o.pathname=kR(a.value.pathRouting.basePath,e):o.hash=n.value+e,o.search=r,o.toString()},replaceUrlState:(e,t=window.location.href)=>{const o=new URL(t);a.value.pathRouting?o.pathname=kR(a.value.pathRouting.basePath,e):o.hash=n.value+e,r.value=e,window.history.replaceState({},"",o)},getReferenceId:i,getWebhookId:(e,t)=>{if(!e?.name)return"webhooks";const r=t?`${s(t)}/`:"";return"function"==typeof a.value.generateWebhookSlug?`${r}webhook/${a.value.generateWebhookSlug(e)}`:`${r}webhook/${e.method}/${lR(e.name)}`},getModelId:(e,t)=>{if(!e?.name)return"models";const r=t?`${s(t)}/`:"";return"function"==typeof a.value.generateModelSlug?`${r}model/${a.value.generateModelSlug(e)}`:`${r}model/${lR(e.name)}`},getHeadingId:e=>"function"==typeof a.value.generateHeadingSlug?`${a.value.generateHeadingSlug(e)}`:e.slug?`description/${e.slug}`:"",getOperationId:(e,t)=>"function"==typeof a.value.generateOperationSlug?`${s(t)}/${a.value.generateOperationSlug({path:e.path,operationId:e.operationId,method:e.method,summary:e.summary})}`:`${s(t)}/${e.method}${e.path}`,getPathRoutingId:o,getSectionId:(e=r.value)=>{const t=e.match(/(tag\/[^/]+)/)?.[0],n=e.startsWith("model")?"models":"",a=e.startsWith("webhook")?"webhooks":"";return t||n||a},getTagId:s,isIntersectionEnabled:t,updateHash:()=>r.value=i()}},qwe=Li({__name:"IntroductionSection",props:{showEmptyState:{type:Boolean}},setup(e){const{hash:t}=zwe();return(e,r)=>e.showEmptyState?fs(e.$slots,"empty-state",{key:0}):(Dl(),jl(Ao(Iwe),{key:1,id:"introduction-card",prev:"",isLazy:Boolean(Ao(t))&&!Ao(t).startsWith("description")},{default:ci((()=>[fs(e.$slots,"default")])),_:3},8,["isLazy"]))}}),Hwe={key:0,class:"screenreader-only"},Vwe=Cwe(Li({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup:e=>(e,t)=>e.$props.if?(Dl(),Ll("span",Hwe,[fs(e.$slots,"default",{},void 0,!0)])):fs(e.$slots,"default",{key:1},void 0,!0)}),[["__scopeId","data-v-df2e1026"]]),Zwe=["id"],Wwe={class:"relative"},Xwe=Li({__name:"Anchor",props:{id:{}},setup(e){const t=ji(),{cx:r}=uq(),{copyToClipboard:n}=tX(),{getHashedUrl:a}=zwe(),o=()=>{n(a(e.id))};return(e,n)=>(Dl(),Ll("span",qn(Hl(Ao(r)("group/heading word-break-all relative"))),[zl("span",{id:Ao(t),class:"contents"},[fs(e.$slots,"default")],8,Zwe),zl("span",Wwe,[n[1]||(n[1]=zl("span",null,"",-1)),ql(Ao(Oq),{"aria-describedby":Ao(t),class:"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:Tu(o,["stop"])},{default:ci((()=>[ql(Ao(EV),{"aria-hidden":"true",class:"size-4.5"}),ql(Vwe,null,{default:ci((()=>n[0]||(n[0]=[Zl("Copy link")]))),_:1,__:[0]})])),_:1},8,["aria-describedby"])])],16))}}),Gwe=async(e,t)=>{const r=e=>{e.scrollIntoView(),t&&e.focus()},n=document.getElementById(e);if(n)return void r(n);const a=Date.now()+1e3,o=()=>{const t=document.getElementById(e);t?r(t):Date.now()<a&&requestAnimationFrame(o)};requestAnimationFrame(o)},Ywe=["id"],Kwe={class:"sr-only"},Jwe=Li({__name:"WithBreadcrumb",props:{breadcrumb:{}},setup(e){const{copyToClipboard:t}=tX(),{getHashedUrl:r,isIntersectionEnabled:n,replaceUrlState:a}=zwe(),o=gc((()=>e.breadcrumb?.join("."))),i=async()=>{o.value&&(t(r(o.value)),n.value=!1,a(o.value),Gwe(o.value,!0),await Awe(100),n.value=!0)};return(e,t)=>e.breadcrumb?(Dl(),Ll("div",{key:0,class:"relative scroll-mt-24",id:o.value},[fs(e.$slots,"default"),zl("button",{class:"text-c-3 hover:text-c-1 absolute -top-2 -left-4.5 flex h-[calc(100%+16px)] w-4.5 cursor-pointer items-center justify-center pr-1.5 opacity-0 group-hover:opacity-100 focus-visible:opacity-100",type:"button",onClick:i},[ql(Ao(UV),{class:"size-3",weight:"bold"}),zl("span",Kwe,[fs(e.$slots,"sr-label",{},(()=>[t[0]||(t[0]=Zl("Copy link to ")),fs(e.$slots,"default")]))])])],8,Ywe)):fs(e.$slots,"default",{key:1})}}),exe=Li({__name:"IntersectionObserver",props:{id:{},is:{}},emits:["intersecting"],setup(e,{emit:t}){const r=e,n=t,a=So(),o=e=>{const t=e.offsetHeight;return`${t/2}px 0px ${t/2}px 0px`};return Yi((()=>{if(a.value){const t={rootMargin:o(a.value),threshold:(e=a.value,e.offsetHeight<window.innerHeight?.8:.5)};!function(e,t,r={}){const{root:n,rootMargin:a="0px",threshold:o=0,window:i=JB,immediate:s=!0}=r,l=aU((()=>i&&"IntersectionObserver"in i)),c=gc((()=>XB(Co(e)).map(tU).filter(FB)));let u=zB;const d=_o(s),p=l.value?hl((()=>[c.value,tU(n),d.value]),(([e,r])=>{if(u(),!d.value)return;if(!e.length)return;const n=new IntersectionObserver(t,{root:tU(r),rootMargin:a,threshold:o});e.forEach((e=>e&&n.observe(e))),u=()=>{n.disconnect(),u=zB}}),{immediate:s,flush:"post"}):zB;jB((()=>{u(),p(),d.value=!1}))}(a,(([{isIntersecting:e}])=>{e&&r.id&&n("intersecting")}),t)}var e})),(e,t)=>(Dl(),jl(cs(e.is??"div"),{id:e.id,ref_key:"intersectionObserverRef",ref:a},{default:ci((()=>[fs(e.$slots,"default")])),_:3},8,["id"]))}}),txe="introduction",rxe=(e,t)=>{let r=e.get(t);return r||(r={entries:[],tag:{name:t}},e.set(t,r)),r},nxe=(e,t,r="Unknown",n,a,o)=>{const i=o({...e,method:t,path:r},n),s=e.summary?.trim()?e.summary:r;return a.set(i,s),{id:i,title:s,path:r,method:t,operation:e}},axe=(e,t="Unkown",r,n,a)=>{const o=n({name:t},a),i="title"in e&&"string"==typeof e.title?e.title:t;return r.set(o,i),{id:o,title:i,name:t,schema:e}},oxe=(e,t,r,n,a=!1)=>{const o=r(e),i=e["x-displayName"]||e.name||"Untitled Tag";return t.set(o,i),{id:o,title:i,tag:e,children:n,isGroup:a}},ixe=(e,t,r,{getTagId:n,tagsSorter:a,operationsSorter:o})=>{const i=e.includes("default"),s=i?e.filter((e=>"default"!==e)):e;return"alpha"===a?s.sort(((e,r)=>{const n=rxe(t,e).tag["x-displayName"]||e||"Untitle Tag",a=rxe(t,r).tag["x-displayName"]||r||"Untitled Tag";return n.localeCompare(a)})):"function"==typeof a&&s.sort(((e,r)=>a(rxe(t,e).tag,rxe(t,r).tag))),i&&s.push("default"),s.flatMap((e=>{const{tag:a,entries:i}=rxe(t,e);return a["x-internal"]||a["x-scalar-ignore"]?[]:("alpha"===o?i.sort(((e,t)=>"method"in e&&"method"in t?e.title.localeCompare(t.title):0)):"method"===o?i.sort(((e,t)=>"method"in e&&"method"in t?e.method.localeCompare(t.method):0)):"function"==typeof o&&i.sort(((e,t)=>{if(!("method"in e)||!("method"in t))return 0;const r="path"in e?e.path:e.name,n="path"in t?t.path:t.name,a="operation"in e?e.operation:e.webhook,i="operation"in t?t.operation:t.webhook;return o({method:e.method,httpVerb:e.method,path:r,operation:a},{method:t.method,httpVerb:t.method,path:n,operation:i})})),i.length?oxe(a,r,n,i):[])}))},sxe=(e,t,r="Unknown",n,a,o)=>{const i=e.summary||r,s=a({name:r,method:t},o);return n.set(s,i),{id:s,title:i,name:r,webhook:e,method:t}},lxe=(e,{config:t,getHeadingId:r,getOperationId:n,getWebhookId:a,getModelId:o,getTagId:i})=>{const s=new Map,l=new Map(e.tags?.map((e=>[e.name??"Untitled Tag",{tag:e,entries:[]}]))??[]);((e,t,r,n)=>{Object.entries(e.paths??{}).forEach((([e,a])=>{Object.entries(a??{}).forEach((([a,o])=>{if(!o["x-internal"]&&!o["x-scalar-ignore"]&&cR.has(a))if(o.tags?.length)o.tags.forEach((i=>{const{tag:s}=rxe(t,i);t.get(i)?.entries.push(nxe(o,a,e,s,r,n))}));else{const{tag:i}=rxe(t,"default");t.get("default")?.entries.push(nxe(o,a,e,i,r,n))}}))}))})(e,l,s,n);const c=((e,t,r)=>{if(!e?.trim())return[];const n=function(e){const t=new sR;return((e,t)=>e.map((e=>({...e,slug:t.slug(e.value)}))))(nR(e),t)}(e),a=(e=>{const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1})(n),o=[];let i=null;if(e&&!e.trim().startsWith("#")){const e={depth:1,value:"Introduction",slug:txe},n=r(e),a=e.value;o.push({id:n,title:a}),t.set(n,a)}for(const e of n){if(e.depth!==a&&e.depth!==a+1)continue;const n={id:r(e),title:e.value};t.set(n.id,n.title),e.depth===a?(n.children=[],o.push(n),i=n):i&&i.children?.push(n)}return o})(e.info?.description,s,r),u=((e,t,r,n)=>{const a=[];return Object.entries(e.webhooks??{}).forEach((([e,o])=>{Object.entries(o??{}).forEach((([o,i])=>{i["x-internal"]||i["x-scalar-ignore"]||(i.tags?.length?i.tags.forEach((a=>{const{tag:s}=rxe(t,a);t.get(a)?.entries.push(sxe(i,o,e,r,n,s))})):a.push(sxe(i,o,e,r,n)))}))})),a})(e,l,s,a),d=((e,t,r,{getTagId:n,tagsSorter:a,operationsSorter:o})=>{if(e["x-tagGroups"])return e["x-tagGroups"].flatMap((e=>{const i=ixe(e.tags??[],t,r,{getTagId:n,tagsSorter:a,operationsSorter:o});return i.length?oxe(e,r,n,i,!0):[]}));const i=Array.from(t.keys()),s=ixe(i,t,r,{getTagId:n,tagsSorter:a,operationsSorter:o});return 1===s.length&&"default"===s[0].title?s[0].children??[]:s})(e,l,s,{getTagId:i,tagsSorter:t.value.tagsSorter,operationsSorter:t.value.operationsSorter});if(c.push(...d),u.length&&c.push({id:a(),isWebhooks:!0,title:"Webhooks",children:u}),!t.value.hideModels&&e.components?.schemas){const t=((e,t,r,n)=>{const a=e.components?.schemas??{},o=[];for(const e in a)a[e]["x-internal"]||a[e]["x-scalar-ignore"]||!Object.hasOwn(a,e)||(a[e]["x-tags"]?.length?a[e]["x-tags"].forEach((o=>{const{tag:i}=rxe(t,o);t.get(o)?.entries.push(axe(a[e],e,r,n,i))})):o.push(axe(a[e],e,r,n)));return o})(e,l,s,o);t.length&&c.push({id:o(),title:"Models",children:t})}return{entries:c,titles:s}},cxe=Symbol(),uxe=(e,t)=>{if(e&&t){const r=((e,t)=>{const r=uo({}),n=So(!1),a=(e,t)=>r[e]=t,o=gc((()=>{const r=lxe(e.value,t);return t.config.value.defaultOpenAllTags&&r.entries.forEach((e=>a(e.id,!0))),r}));return{collapsedSidebarItems:r,isSidebarOpen:n,items:o,scrollToOperation:(e,n)=>{const o=t.getSectionId(e);if(o&&o!==e)if(r[o])Gwe(e,n);else{const t=Rwe.on((r=>{r.loaded===e&&(Gwe(e,n),t())}));a(o,!0)}},setCollapsedSidebarItem:a,toggleCollapsedSidebarItem:e=>r[e]=!r[e]}})(e,t);return Us(cxe,r),r}const r=Fs(cxe);if(!r)throw new Error("useSidebar() was called without a collection and no sidebar instance was found. Make sure to call useSidebar(collection) in a parent component first.");return r},dxe="get",pxe=Li({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){const t=e,r=gc((()=>MB(String(t.method||"")))),n=gc((()=>(e=>{if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${dxe} as the default.`),dxe;const t=e.trim().toLowerCase();return uR(t)?t:(console.warn(`${e||"Request method"} is not a valid request method. Using ${dxe} as the default.`),dxe)})(t.method)));return(e,t)=>(Dl(),jl(cs(e.as??"span"),{class:"uppercase",style:jn({[e.property||"color"]:r.value.colorVar})},{default:ci((()=>[fs(e.$slots,"default"),Zl(" "+Gn(e.short?r.value.short:n.value),1)])),_:3},8,["style"]))}}),hxe=Cwe(Li({__name:"SidebarHttpBadge",props:{method:{},active:{type:Boolean}},setup:e=>(e,t)=>(Dl(),jl(Ao(pxe),{class:zn(["sidebar-heading-type",`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:"--method-color",short:""},{default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:3},8,["class","method"]))}),[["__scopeId","data-v-522f945c"]]),fxe=["id"],mxe={key:0,class:"sidebar-heading-chevron"},gxe=["aria-expanded"],bxe=["href","tabindex"],vxe={class:"sidebar-heading-link-title"},yxe={key:0,class:"hanging-indent"},Oxe={key:1},wxe={key:0,class:"sidebar-heading-link-method"},xxe={key:1,class:"action-menu"},kxe=Cwe(Li({__name:"SidebarElement",props:{id:{},item:{},isActive:{type:Boolean},hasChildren:{type:Boolean},open:{type:Boolean}},emits:["toggleOpen"],setup(e,{emit:t}){const r=e,n=t,{getFullHash:a,isIntersectionEnabled:o,replaceUrlState:i}=zwe(),s=jwe(),l=async()=>{o.value=!1,r.hasChildren&&n("toggleOpen"),await Awe(100),o.value=!0},c=()=>{if(s.value.pathRouting)return kR(s.value.pathRouting.basePath,r.item.id);if("undefined"!=typeof window){const e=new URL(window.location.href);return e.hash=a(r.item.id),`${e.search}${e.hash}`}return`#${a(r.item.id)}`},u=async e=>{s.value.onSidebarClick?.(r.item.id),s.value.pathRouting&&(e.preventDefault(),r.hasChildren&&n("toggleOpen"),n("toggleOpen"),o.value=!1,i(r.item.id),Gwe(r.item.id),await Awe(100),o.value=!0)};return(e,t)=>{return Dl(),Ll("li",{id:e.id,class:"sidebar-group-item"},[zl("div",{class:zn(["sidebar-heading",{"sidebar-group-item__folder":e.hasChildren,active_page:e.isActive,deprecated:"operation"in e.item&&Ao(hB)(e.item.operation)}]),onClick:l},[e.hasChildren&&!Ao(s).defaultOpenAllTags?(Dl(),Ll("p",mxe,[zl("button",{"aria-expanded":e.open,class:"toggle-nested-icon",type:"button",onClick:Tu(l,["stop"])},[ql(Ao(g7),{open:e.open},{label:ci((()=>[Zl(Gn(e.open?"Collapse":"Expand")+" "+Gn(e.item.title),1)])),_:1},8,["open"])],8,gxe),t[0]||(t[0]=Zl(" "))])):Xl("",!0),zl("a",{class:"sidebar-heading-link",href:c(),tabindex:e.hasChildren?-1:0,onClick:u},[zl("p",vxe,["path"===Ao(s).operationTitleSource?(Dl(),Ll("span",yxe,Gn((r=e.item,"path"in r?r.path.replace(/\//g,"/"):r.title)),1)):(Dl(),Ll("span",Oxe,Gn(e.item.title),1))]),"method"in e.item&&!e.hasChildren?(Dl(),Ll("p",wxe,[t[1]||(t[1]=Zl(" ")),t[2]||(t[2]=zl("span",{class:"sr-only"},"HTTP Method: ",-1)),ql(hxe,{active:e.isActive,class:"min-w-9.75 justify-end text-right",method:e.item.method},{default:ci((()=>["webhook"in e.item?(Dl(),jl(Ao(cW),{key:0,style:jn({color:Ao(MB)(e.item.method).colorVar}),weight:"bold"},null,8,["style"])):Xl("",!0)])),_:1},8,["active","method"])])):Xl("",!0)],8,bxe)],2),e.open?fs(e.$slots,"default",{key:0},void 0,!0):Xl("",!0),e.$slots["action-menu"]?(Dl(),Ll("div",xxe,[fs(e.$slots,"action-menu",{},void 0,!0)])):Xl("",!0)],8,fxe);var r}}}),[["__scopeId","data-v-c1dfe8cc"]]),Sxe=Cwe(Li({__name:"SidebarGroup",props:{level:{}},setup:e=>(e,t)=>(Dl(),Ll("ul",{class:"sidebar-group sidebar-indent-nested",style:jn({"--scalar-sidebar-level":e.level})},[fs(e.$slots,"default",{},void 0,!0)],4))}),[["__scopeId","data-v-a0601651"]]),_xe={class:"sidebar"},Exe=["aria-label"],Txe={class:"sidebar-group-title"},Axe=Cwe(Li({__name:"Sidebar",props:{title:{}},setup(e){const{hash:t,isIntersectionEnabled:r}=zwe(),{items:n,toggleCollapsedSidebarItem:a,collapsedSidebarItems:o}=uxe(),i=So(null),s=So(!0);hl(t,(e=>{r.value&&!s.value&&"undefined"!=typeof window&&l(e)}));const l=e=>{const t=document.getElementById(`sidebar-${e}`);if(!t||!i.value)return;let r=-160;"heading"===t.getAttribute("data-sidebar-type")?r+=t.offsetTop+(t.getElementsByClassName("sidebar-heading")?.[0]).offsetHeight:r+=t.offsetTop+(t.parentElement?.offsetTop??0)+(t.parentElement?.parentElement?.offsetTop??0),i.value.scrollTo({top:r,behavior:"smooth"})},c=e=>t.value===e||!!t.value.includes("/description/")&&t.value.split("/description/")[0]===e,u=So(void 0);Yi((()=>{u.value=(e=>{if(!i.value)return;const t=new MutationObserver(((t,r)=>{document.getElementById(`sidebar-${e}`)&&(l(e),s.value=!1,r.disconnect())}));return t.observe(i.value,{childList:!0,subtree:!0}),t})(t.value),t.value||setTimeout((()=>s.value=!1),300)})),ts((()=>{u.value?.disconnect()}));const d=e=>"children"in e&&(e.children?.length??0)>0;return(e,t)=>(Dl(),Ll("div",_xe,[fs(e.$slots,"sidebar-start",{},void 0,!0),zl("nav",{ref_key:"scrollerEl",ref:i,"aria-label":`Table of contents for ${e.title}`,class:"sidebar-pages custom-scroll custom-scroll-self-contain-overflow"},[ql(Sxe,{level:0},{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(Ao(n).entries,(e=>(Dl(),Ll(Tl,{key:e.id},["isGroup"in e&&e.isGroup?(Dl(),Ll(Tl,{key:0},[zl("li",Txe,Gn(e.title),1),(Dl(!0),Ll(Tl,null,ps(e.children,(e=>(Dl(),jl(kxe,{key:e.id,id:`sidebar-${e.id}`,"data-sidebar-type":"heading",hasChildren:d(e),isActive:c(e.id),item:e,open:Ao(o)[e.id]??!1,onToggleOpen:async()=>{s.value=!0,Ao(a)(e.id),await Ao(Awe)(100),s.value=!1}},{default:ci((()=>[d(e)?(Dl(),jl(Sxe,{key:0,level:1},{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(e.children,(e=>(Dl(),jl(kxe,{key:e.id,id:`sidebar-${e.id}`,isActive:c(e.id),item:e},null,8,["id","isActive","item"])))),128))])),_:2},1024)):Xl("",!0)])),_:2},1032,["id","hasChildren","isActive","item","open","onToggleOpen"])))),128))],64)):(Dl(),jl(kxe,{key:1,id:`sidebar-${e.id}`,"data-sidebar-type":"heading",hasChildren:d(e),isActive:c(e.id),item:e,open:Ao(o)[e.id]??!1,onToggleOpen:async()=>{s.value=!0,Ao(a)(e.id),await Ao(Awe)(100),s.value=!1}},{default:ci((()=>[d(e)?(Dl(),jl(Sxe,{key:0,level:1},{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(e.children,(e=>(Dl(),jl(kxe,{key:e.id,id:`sidebar-${e.id}`,isActive:c(e.id),item:e},null,8,["id","isActive","item"])))),128))])),_:2},1024)):Xl("",!0)])),_:2},1032,["id","hasChildren","isActive","item","open","onToggleOpen"]))],64)))),128))])),_:1})],8,Exe),fs(e.$slots,"sidebar-end",{},void 0,!0)]))}}),[["__scopeId","data-v-603204fe"]]),Cxe=Cwe(Li({__name:"Section",props:{id:{},label:{}},setup(e){const t=e,{getSectionId:r,isIntersectionEnabled:n,replaceUrlState:a}=zwe(),{setCollapsedSidebarItem:o}=uxe();function i(){t.label&&n.value&&(a(t.id??""),(t.id?.startsWith("model")||t.id?.startsWith("webhook"))&&o(r(t.id),!0))}return(e,t)=>(Dl(),jl(exe,{is:"section",id:e.id,class:"section",onIntersecting:i},{default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:3},8,["id"]))}}),[["__scopeId","data-v-393971a5"]]),Pxe={class:"section-accordion-button-content"},$xe={key:0,class:"section-accordion-button-actions"},Mxe={key:0,class:"section-accordion-description"},Dxe={class:"section-accordion-content-card"},Rxe=Cwe(Li({__name:"SectionAccordion",props:{id:{},transparent:{type:Boolean}},setup(e){const t=So(),r=function(e,t={}){const{delayEnter:r=0,delayLeave:n=0,triggerOnRemoval:a=!1,window:o=JB}=t,i=_o(!1);let s;const l=e=>{const t=e?r:n;s&&(clearTimeout(s),s=void 0),t?s=setTimeout((()=>i.value=e),t):i.value=e};return o?(rU(e,"mouseenter",(()=>l(!0)),{passive:!0}),rU(e,"mouseleave",(()=>l(!1)),{passive:!0}),a&&function(e,t,r={}){const{window:n=JB,document:a=(null==n?void 0:n.document),flush:o="sync"}=r;if(!n||!a)return zB;let i;const s=e=>{null==i||i(),i=e},l=pl((()=>{const r=tU(e);if(r){const{stop:e}=oU(a,(e=>{e.map((e=>[...e.removedNodes])).flat().some((e=>e===r||e.contains(r)))&&t(e)}),{window:n,childList:!0,subtree:!0});s(e)}}),{flush:o});jB((()=>{l(),s()}))}(gc((()=>tU(e))),(()=>l(!1))),i):i}(t),{getSectionId:n,isIntersectionEnabled:a,replaceUrlState:o}=zwe(),{setCollapsedSidebarItem:i}=uxe(),s=()=>{e.id&&a.value&&(o(e.id),(e.id?.startsWith("model")||e.id?.startsWith("webhook"))&&i(n(e.id),!0))};return(e,n)=>(Dl(),jl(exe,{id:e.id,class:"section-wrapper",onIntersecting:s},{default:ci((()=>[ql(Ao(aQ),{as:"section",class:zn(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:ci((({open:n})=>[ql(Ao(oQ),{ref_key:"button",ref:t,class:"section-accordion-button"},{default:ci((()=>[zl("div",Pxe,[fs(e.$slots,"title",{},void 0,!0)]),e.$slots.actions?(Dl(),Ll("div",$xe,[fs(e.$slots,"actions",{active:Ao(r)||n},void 0,!0)])):Xl("",!0),ql(Ao(bH),{class:zn(["section-accordion-chevron size-4.5 transition-transform",{"rotate-90":n}])},null,8,["class"])])),_:2},1536),ql(Ao(iQ),{class:"section-accordion-content"},{default:ci((()=>[e.$slots.description?(Dl(),Ll("div",Mxe,[fs(e.$slots,"description",{},void 0,!0)])):Xl("",!0),zl("div",Dxe,[fs(e.$slots,"default",{},void 0,!0)])])),_:3})])),_:3},8,["class"])])),_:3},8,["id"]))}}),[["__scopeId","data-v-d3d6e381"]]),Nxe={class:"section-column"},Ixe=Cwe({},[["render",function(e,t){return Dl(),Ll("div",Nxe,[fs(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-699c28e3"]]),Lxe={class:"section-columns"},jxe=Cwe({},[["render",function(e,t){return Dl(),Ll("div",Lxe,[fs(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8b9602bf"]]),Bxe={key:1,class:"section-container"},Uxe=Cwe(Li({__name:"SectionContainer",props:{omit:{type:Boolean}},setup:e=>(e,t)=>e.omit?fs(e.$slots,"default",{key:0},void 0,!0):(Dl(),Ll("div",Bxe,[fs(e.$slots,"default",{},void 0,!0)]))}),[["__scopeId","data-v-20a1472a"]]),Fxe={class:"section-accordion-wrapper"},Qxe={class:"section-accordion-title"},zxe=Cwe(Li({__name:"SectionContainerAccordion",setup:e=>(e,t)=>(Dl(),Ll("div",Fxe,[ql(Ao(aQ),{as:"div",class:"section-accordion",defaultOpen:""},{default:ci((({open:t})=>[ql(Ao(oQ),{class:"section-accordion-button"},{default:ci((()=>[ql(Ao(bH),{class:zn(["section-accordion-chevron size-5 transition-transform",{"rotate-90":t}])},null,8,["class"]),zl("div",Qxe,[fs(e.$slots,"title",{},void 0,!0)])])),_:2},1024),ql(Ao(iQ),{class:"section-accordion-content"},{default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})]))}),[["__scopeId","data-v-797031c0"]]),qxe=Cwe(Li({__name:"LoadingSkeleton",props:{lines:{default:1}},setup:e=>(e,t)=>(Dl(!0),Ll(Tl,null,ps([...Array(e.lines).keys()],(t=>(Dl(),Ll("div",{key:t,class:zn(["loading",{"single-line":1===e.lines}])},null,2)))),128))}),[["__scopeId","data-v-8e0226d7"]]),Hxe={class:"section-content"},Vxe=Cwe(Li({__name:"SectionContent",props:{loading:{type:Boolean,default:!1}},setup:e=>(e,t)=>(Dl(),Ll("div",Hxe,[e.loading?(Dl(),jl(qxe,{key:1,lines:8})):fs(e.$slots,"default",{key:0},void 0,!0)]))}),[["__scopeId","data-v-9735459e"]]),Zxe={class:"section-header-wrapper xl:gap-12"},Wxe=Cwe(Li({__name:"SectionHeader",props:{loading:{type:Boolean},tight:{type:Boolean}},setup:e=>(e,t)=>(Dl(),Ll("div",Zxe,[e.loading?(Dl(),jl(qxe,{key:0})):(Dl(),Ll("div",{key:1,class:zn(["section-header",{tight:e.tight}])},[fs(e.$slots,"default",{},void 0,!0)],2)),e.$slots.links?fs(e.$slots,"links",{key:2},void 0,!0):Xl("",!0)]))}),[["__scopeId","data-v-465a7a78"]]),Xxe=Cwe(Li({__name:"SectionHeaderTag",props:{level:{default:1}},setup:e=>(e,t)=>(Dl(),jl(cs(`h${e.level}`),{class:"section-header-label"},{default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:3}))}),[["__scopeId","data-v-f1ac6c38"]]),Gxe={class:"collapsible-section"},Yxe=["id","aria-controls","aria-expanded"],Kxe=Cwe(Li({__name:"CompactSection",props:{id:{},label:{},defaultOpen:{type:Boolean,default:!1}},setup(e){const{hash:t}=zwe(),r=So(e.defaultOpen);return hl(t,(async t=>{e.id!==t||r.value||(r.value=!0,await Ko(),Gwe(e.id))}),{immediate:!0}),(e,t)=>(Dl(),Ll("div",Gxe,[zl("button",{id:e.id,"aria-controls":e.id,"aria-expanded":r.value,class:zn(["collapsible-section-trigger",{"collapsible-section-trigger-open":r.value}]),type:"button",onClick:t[0]||(t[0]=e=>r.value=!r.value)},[ql(Ao(bH),{class:zn(["size-3 transition-transform duration-100",{"rotate-90":r.value}]),weight:"bold"},null,8,["class"]),ql(Ao(Xwe),{id:e.id,class:"collapsible-section-header"},{default:ci((()=>[fs(e.$slots,"heading",{},void 0,!0)])),_:3},8,["id"])],10,Yxe),r.value?(Dl(),jl(Ao(Cxe),{key:0,id:e.id,class:"collapsible-section-content",label:e.label},{default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:3},8,["id","label"])):Xl("",!0)]))}}),[["__scopeId","data-v-0a6031fe"]]),Jxe=e=>{if(null===e||"object"!=typeof e||Array.isArray(e))return!1;if("oneOf"in e||"anyOf"in e||"allOf"in e||"not"in e)return!1;const t="type"in e;if(t&&Array.isArray(e.type))return e.type.includes("object");const r=t&&"object"===e.type;return!!r||!(t&&!r)&&("properties"in e||"additionalProperties"in e||"patternProperties"in e)},eke=e=>"type"in e&&("array"===e.type||Array.isArray(e.type)&&e.type.includes("array")),tke=e=>"type"in e&&("string"===e.type||Array.isArray(e.type)&&e.type.includes("string")),rke=e=>"type"in e&&("number"===e.type||"integer"===e.type||Array.isArray(e.type)&&e.type.includes("number")||Array.isArray(e.type)&&e.type.includes("integer")),nke={key:0,class:"schema-type"},ake=["title"],oke=Cwe(Li({__name:"SchemaHeading",props:{value:{},name:{}},setup(e){const t=gc((()=>"type"in e.value?e.value.type:e.value.enum?"enum":eke(e.value)&&e.value.items?"array":Jxe(e.value)&&(e.value.properties||e.value.additionalProperties)?"object":"unknown"));return(e,r)=>"object"==typeof e.value?(Dl(),Ll("span",nke,[zl("span",{class:"schema-type-icon",title:"type"in e.value&&"string"==typeof e.value.type?e.value.type:"type"in e.value&&Array.isArray(e.value.type)?e.value.type.join(" | "):"unknown type"},[Ao(Jxe)(e.value)?(Dl(),Ll(Tl,{key:0},[Zl(" {} ")],64)):Xl("",!0),Ao(eke)(e.value)?(Dl(),Ll(Tl,{key:1},[Zl(" [] ")],64)):Xl("",!0),e.value.enum?(Dl(),Ll(Tl,{key:2},[Zl(" enum ")],64)):Xl("",!0)],8,ake),e.name?(Dl(),Ll(Tl,{key:0},[Zl(Gn(e.name),1)],64)):(Dl(),Ll(Tl,{key:1},[Zl(Gn(t.value),1)],64))])):Xl("",!0)}}),[["__scopeId","data-v-0759195c"]]),ike=({plugins:e=[]})=>{const t=new Map;return e.forEach((e=>{const r=e();t.set(r.name,r)})),{getSpecificationExtensions:e=>{const r=[];for(const n of t.values())for(const t of n.extensions)t.name===e&&r.push(t);return r}}},ske=Symbol(),lke={key:0,class:"text-base"},cke=Li({__name:"SpecificationExtension",props:{value:{}},setup(e){const{getSpecificationExtensions:t}=Fs(ske)||ike({}),r=gc((()=>{return t=e.value,Object.keys(t??{}).filter((e=>e.startsWith("x-")));var t})),n=gc((()=>r.value.flatMap((e=>t(e))).filter((e=>e.component))));return(e,t)=>"object"==typeof e.value&&n.value.length?(Dl(),Ll("div",lke,[(Dl(!0),Ll(Tl,null,ps(n.value,(t=>(Dl(),jl(Ao(uY),null,{default:ci((()=>[t.renderer?(Dl(),jl(cs(t.renderer),Jl({key:0,ref_for:!0},{[t.name]:e.value?.[t.name],component:t.component}),null,16)):(Dl(),jl(cs(t.component),Jl({key:1,ref_for:!0},{[t.name]:e.value?.[t.name]}),null,16))])),_:2},1024)))),256))])):Xl("",!0)}}),uke=e=>e?Object.fromEntries(Object.entries(e).filter((([e])=>e.startsWith("x-")))):{},dke=["oneOf","anyOf","allOf","not"],pke=e=>{const t=e.$ref;if(!t)return null;const r=t.match(wR.REF_NAME);return r?r[1]:null},hke=(e,t=!1)=>{if(!e.items)return t?"array":e.title||e.xml?.name||"array";const r=(e=>e?`array ${e.includes(" | ")?`(${e})`:e}[]`:"array")(fke(e.items));return t?r:e.nullable?`${r} | null`:r},fke=e=>{if(!e)return"";const t=hR(e);if(void 0!==t.const)return"const";if("type"in t&&Array.isArray(t.type)){if(t.type.includes("array")&&t.items){const e=hke(t,!0),r=t.type.filter((e=>"array"!==e));return r.length>0?`${e} | ${r.join(" | ")}`:e}return t.type.join(" | ")}if(eke(t))return hke(t,!1);if(t.title)return t.title;if(t.xml?.name)return t.xml.name;if("type"in t&&t.type&&t.contentEncoding)return`${t.type} • ${t.contentEncoding}`;if("$ref"in e){const t=pke(e);if(t)return t}return"type"in t?t.type:""},mke=(e,t)=>{if(!e?.allOf?.length||!Array.isArray(e.allOf))return t||{};const r={},{allOf:n,...a}=e;for(const t of e.allOf){if(!t||"object"!=typeof t)continue;const e=hR(t);if(e.allOf){const t=mke(e);gke(r,t)}else gke(r,e)}if(Object.keys(a).length>0&&gke(r,a,!0),t&&"object"==typeof t)if(t.allOf){const e=mke(t);gke(r,e,!0)}else gke(r,t,!0);return r},gke=(e,t,r=!1)=>{const n=dR(t);if(0!==n.length)for(const a of n){const n=hR(t[a]);if(void 0!==n)if("required"===a)Array.isArray(n)&&n.length>0&&(e.required?.length?e.required=[...new Set([...e.required,...n])]:e.required=n.slice());else if("properties"===a)n&&"object"==typeof n&&(e.properties||(e.properties={}),bke(e.properties,n));else if("items"===a){const r=hR(n);if(r)if(eke(t))if(e.items||(e.items={}),r.allOf){const t=mke(r);Object.assign(e.items,t)}else vke(hR(e.items),r);else if(r.allOf){const t=mke(r);"properties"in t&&("properties"in e||(e.properties={}),"properties"in e&&bke(e.properties,t.properties))}else"items"in e||(e.items=r)}else if("enum"===a)Array.isArray(n)&&n.length>0&&(e.enum=[...new Set([...e.enum||[],...n])]);else if("oneOf"===a||"anyOf"===a){if(Array.isArray(n)){"properties"in e||(e.properties={});for(const t of n){const r=hR(t);r.properties&&"properties"in e&&bke(e.properties,r.properties)}}}else{if("allOf"===a)continue;(r||void 0===e[a])&&(e[a]=n)}}},bke=(e,t)=>{const r=Object.keys(t??{});if(t&&e&&0!==r.length)for(const n of r){const r=hR(t[n]);if(!r||"object"!=typeof r){e[n]=r;continue}if(!e[n]){r.allOf?e[n]=mke(r):"type"in r&&"array"===r.type&&hR(r.items)?.allOf?e[n]={...r,items:mke(hR(r.items))}:e[n]=t[n];continue}const a=hR(e[n]);if(r.allOf)e[n]=mke({allOf:[a,...r.allOf]});else if(eke(r)&&eke(a)&&r.items){const t=hR(a.items);e[n]={...a,type:"array",items:t?yke(t,hR(r.items)):hR(r.items)}}else if("properties"in a&&"properties"in r){const t={...a,...r};t.properties={...a.properties},bke(t.properties,r.properties),e[n]=t}else e[n]={...r,...a}}},vke=(e,t)=>{if(t.allOf||e.allOf){const r=[];if(e.allOf)for(const t of e.allOf)r.push(hR(t));else r.push(e);if(t.allOf)for(const e of t.allOf)r.push(hR(e));else r.push(t);const n=mke({allOf:r});Object.assign(e,n)}else Object.assign(e,t),"properties"in e&&"properties"in t&&bke(e.properties,t.properties)},yke=(e,t)=>{if(e.allOf||t.allOf){const r=[];if(e.allOf)for(const t of e.allOf)r.push(hR(t));else r.push(e);if(t.allOf)for(const e of t.allOf)r.push(hR(e));else r.push(t);return mke({allOf:r})}const r={...e,...t};return"properties"in e&&"properties"in t&&(r.properties={...e.properties},bke(r.properties,t.properties)),r},Oke={class:"property-rule"},wke={class:"composition-selector bg-b-1.5 hover:bg-b-2 flex w-full cursor-pointer items-center gap-1 rounded-t-lg border border-b-0 px-2 py-1.25 pr-3 text-left",type:"button"},xke={class:"text-c-2"},kke={key:0,class:"text-red"},Ske={class:"composition-panel"},_ke=Li({__name:"SchemaComposition",props:{composition:{},discriminator:{},name:{},value:{},level:{},compact:{type:Boolean,default:!1},hideHeading:{type:Boolean,default:!1},hideReadOnly:{type:Boolean},hideWriteOnly:{type:Boolean},breadcrumb:{}},setup(e){const t=e,r=gc((()=>[t.value[t.composition]].flat().map((e=>({value:hR(e),original:e}))).filter((e=>OB(e.value))))),n=gc((()=>r.value.map(((e,t)=>({id:String(t),label:fke(e.original)||"Schema"}))))),a=So(n.value[0]),o=gc((()=>r.value[Number(a.value.id)].value));return(e,r)=>(Dl(),Ll("div",Oke,["allOf"===t.composition?(Dl(),jl(bSe,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,discriminator:e.discriminator,hideHeading:e.hideHeading,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level,name:e.name,noncollapsible:!0,schema:Ao(mke)(t.value)},null,8,["breadcrumb","compact","discriminator","hideHeading","hideReadOnly","hideWriteOnly","level","name","schema"])):(Dl(),Ll(Tl,{key:1},[ql(Ao(H6),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=e=>a.value=e),options:n.value,resize:""},{default:ci((()=>{return[zl("button",wke,[zl("span",xke,Gn((e=t.composition,e.replace(/([A-Z])/g," $1").replace(/^./,(e=>e.toUpperCase())).toLowerCase().replace(/^(\w)/,(e=>e.toUpperCase())))),1),zl("span",{class:zn(["composition-selector-label text-c-1",{"line-through":o.value?.deprecated}])},Gn(a.value?.label||"Schema"),3),o.value?.deprecated?(Dl(),Ll("div",kke," deprecated ")):Xl("",!0),ql(Ao(uH))])];var e})),_:1},8,["modelValue","options"]),zl("div",Ske,[ql(bSe,{breadcrumb:e.breadcrumb,compact:e.compact,discriminator:e.discriminator,hideHeading:e.hideHeading,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level+1,name:e.name,noncollapsible:!0,schema:o.value},null,8,["breadcrumb","compact","discriminator","hideHeading","hideReadOnly","hideWriteOnly","level","name","schema"])])],64))]))}}),Eke={class:"property-enum-value"},Tke={class:"property-enum-value-content"},Ake={class:"property-enum-value-label"},Cke={key:0,class:"property-enum-value-description"},Pke=Cwe(Li({__name:"SchemaEnumPropertyItem",props:{label:{},description:{}},setup:e=>(e,t)=>(Dl(),Ll("li",Eke,[zl("div",Tke,[zl("span",Ake,Gn(e.label),1),e.description?(Dl(),Ll("span",Cke,[ql(Ao(Z6),{value:e.description},null,8,["value"])])):Xl("",!0)])]))}),[["__scopeId","data-v-7d21d96b"]]),$ke={key:0,class:"property-enum"},Mke={class:"property-enum-values"},Dke={key:1},Rke=Cwe(Li({__name:"SchemaEnumValues",props:{value:{}},setup(e){const t=gc((()=>e.value&&(e.value.enum||eke(e.value)&&hR(e.value.items)?.enum)||[])),r=gc((()=>t.value.length>9)),n=gc((()=>r.value?5:t.value.length)),a=gc((()=>t.value.slice(0,n.value))),o=gc((()=>t.value.slice(n.value))),i=(t,r)=>{const n=e.value?.["x-enumDescriptions"]??e.value?.["x-enum-descriptions"];if(n)return Array.isArray(n)?n[r]:"object"==typeof n&&null!==n?n[String(t)]:void 0},s=(t,r)=>{const n=e.value?.["x-enum-varnames"]??e.value?.["x-enumNames"],a=Array.isArray(n)?n[r]:void 0;return a?`${t} = ${a}`:String(t)},l=So(!1),c=()=>{l.value=!l.value};return(e,u)=>t.value.length>0?(Dl(),Ll("div",$ke,[zl("ul",Mke,[(Dl(!0),Ll(Tl,null,ps(a.value,((e,t)=>(Dl(),jl(Pke,{key:String(e),description:i(e,t),label:s(e,t)},null,8,["description","label"])))),128)),r.value&&l.value?(Dl(!0),Ll(Tl,{key:0},ps(o.value,((e,t)=>(Dl(),jl(Pke,{key:String(e),description:i(e,n.value+t),label:s(e,n.value+t)},null,8,["description","label"])))),128)):Xl("",!0),r.value?(Dl(),Ll("li",Dke,[ql(Ao(Oq),{class:"enum-toggle-button my-2 flex h-fit gap-1 rounded-full border py-1.5 pr-2.5 pl-2 leading-none",variant:"ghost",onClick:c},{default:ci((()=>[ql(Ao(fZ),{class:zn({"rotate-45":l.value}),weight:"bold"},null,8,["class"]),Zl(" "+Gn(l.value?"Hide values":"Show all values"),1)])),_:1})])):Xl("",!0)])])):Xl("",!0)}}),[["__scopeId","data-v-d4946030"]]),Nke=Cwe(Li({__name:"Badge",props:{color:{}},setup(e){const t=gc((()=>e.color?{"--badge-background-color":e.color,"--badge-text-color":`color-mix(in srgb, ${e.color}, black 40%)`}:{}));return(e,r)=>(Dl(),Ll("div",{class:"badge",style:jn(t.value)},[fs(e.$slots,"default",{},void 0,!0)],4))}}),[["__scopeId","data-v-3dedb7e4"]]),Ike=e=>{if(!e)return null;if("$ref"in e){const t=pke(e);if(t)return t}const t=hR(e);return t.title?t.title:t.name?t.name:null},Lke=(e,t)=>`${e} ${t}${"array"===e?"[]":""}`,jke=Li({__name:"RenderString",props:{value:{}},setup(e){const t=gc((()=>""===e.value?"''":null===e.value?"null":void 0===e.value?"undefined":e.value));return(e,r)=>Gn(t.value)}}),Bke={key:0,class:"property-detail-prefix"},Uke={key:1,class:"property-detail-value"},Fke={key:2,class:"property-detail-value"},Qke=Cwe(Li({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup:e=>(e,t)=>(Dl(),Ll("span",{class:zn(["property-detail",{"property-detail-truncate":e.truncate}])},[e.$slots.prefix?(Dl(),Ll("div",Bke,[fs(e.$slots,"prefix",{},void 0,!0),t[0]||(t[0]=Zl(" "))])):Xl("",!0),e.code?(Dl(),Ll("code",Uke,[fs(e.$slots,"default",{},void 0,!0)])):(Dl(),Ll("span",Fke,[fs(e.$slots,"default",{},void 0,!0)]))],2))}),[["__scopeId","data-v-827ea49d"]]);function zke(e){return Array.isArray(e)?`[${e.map((e=>"string"==typeof e?`"${e.toString().trim()}"`:"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":null===e?"null":e)).join(", ")}]`:null===e?"null":"object"==typeof e?"value"in e?e.value:"externalValue"in e?e.externalValue:JSON.stringify(e):void 0===e?"undefined":"string"==typeof e?e.trim():e.toString().trim()}const qke={key:0,class:"property-example"},Hke={class:"property-example-value-list"},Vke={key:1,class:"property-example"},Zke={type:"button",class:"property-example-label"},Wke={class:"property-example-value-list"},Xke=["onClick"],Gke=Cwe(Li({__name:"SchemaPropertyExamples",props:{examples:{},example:{}},setup(e){const{copyToClipboard:t}=tX();return(e,r)=>(Dl(),Ll(Tl,null,[e.example?(Dl(),Ll("div",qke,[r[1]||(r[1]=zl("button",{type:"button",class:"property-example-label"},[zl("span",null,"Example")],-1)),zl("div",Hke,[zl("button",{type:"button",class:"property-example-value group",onClick:r[0]||(r[0]=r=>Ao(t)(String(Ao(zke)(e.example))))},[zl("span",null,Gn(Ao(zke)(e.example)),1),ql(Ao(A6),{icon:"Clipboard",size:"xs",class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3"})])])])):Xl("",!0),e.examples&&"object"==typeof e.examples&&Object.keys(e.examples).length>0?(Dl(),Ll("div",Vke,[zl("button",Zke,[zl("span",null,Gn(1===Object.keys(e.examples).length?"Example":"Examples"),1)]),zl("div",Wke,[(Dl(!0),Ll(Tl,null,ps(e.examples,((e,r)=>(Dl(),Ll("button",{type:"button",key:r,class:"property-example-value group",onClick:r=>Ao(t)(String(Ao(zke)(e)))},[zl("span",null,Gn(Ao(zke)(e)),1),ql(Ao(A6),{icon:"Clipboard",size:"xs",class:"text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3"})],8,Xke)))),128))])])):Xl("",!0)],64))}}),[["__scopeId","data-v-64e15694"]]),Yke={class:"property-heading"},Kke={key:1,class:"property-discriminator"},Jke={key:3,class:"property-additional"},eSe={key:4,class:"property-deprecated"},tSe={key:5,class:"property-const"},rSe={key:7,class:"property-write-only"},nSe={key:8,class:"property-read-only"},aSe={key:9,class:"property-required"},oSe=Cwe(Li({__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},isDiscriminator:{type:Boolean,default:!1},required:{type:Boolean,default:!1},additional:{type:Boolean},withExamples:{type:Boolean,default:!0},hideModelNames:{type:Boolean,default:!1}},setup(e){const t=e,r=Io(t,"value"),n=gc((()=>{if(!r.value)return;const e=r.value;if(void 0!==e.const)return e.const;if(1===e.enum?.length)return e.enum[0];if(eke(e)&&e.items){const t=hR(e.items);if(OB(t.const))return t.const;if(1===t.enum?.length)return t.enum[0]}})),a=gc((()=>{if(!r.value)return[];const e=r.value,t=[];return eke(e)&&((e.minItems||e.maxItems)&&t.push({key:"array-range",value:`${e.minItems||""}…${e.maxItems||""}`}),e.uniqueItems&&t.push({key:"unique-items",value:"unique!"})),tke(e)&&(e.minLength&&t.push({key:"min-length",prefix:"min length: ",value:e.minLength}),e.maxLength&&t.push({key:"max-length",prefix:"max length: ",value:e.maxLength}),e.pattern&&t.push({key:"pattern",value:e.pattern,code:!0,truncate:!0})),(tke(e)||rke(e))&&e.format&&t.push({key:"format",value:e.format,truncate:!0}),rke(e)&&(OB(e.exclusiveMinimum)&&t.push({key:"exclusive-minimum",prefix:"greater than: ",value:e.exclusiveMinimum}),OB(e.minimum)&&t.push({key:"minimum",prefix:"min: ",value:e.minimum}),OB(e.exclusiveMaximum)&&t.push({key:"exclusive-maximum",prefix:"less than: ",value:e.exclusiveMaximum}),OB(e.maximum)&&t.push({key:"maximum",prefix:"max: ",value:e.maximum}),OB(e.multipleOf)&&t.push({key:"multiple-of",prefix:"multiple of: ",value:e.multipleOf})),t})),o=gc((()=>t.value?((e,t=!1)=>{if(!("type"in e)||t)return null;const r=e.type,n=Ike(e);if(n&&e.title)return"array"===r?`array ${n}[]`:n;if("array"===r&&e.items){const t=hR(e.items),n=t.title;if(n)return Lke(r,n);const a=Ike(e.items);return a&&"type"in t&&a!==t.type?Lke(r,a):Lke(r,"type"in t?Array.isArray(t.type)?t.type.join(" | "):t.type:"object")}return n&&n!==r?n.startsWith("Array of ")?`array ${n.slice(9)}[]`:n:null})(t.value,t.hideModelNames):null)),i=gc((()=>!(!t.value||!("type"in t.value)||"array"!==t.value.type&&n.value))),s=gc((()=>t.value?o.value||fke(t.value):"")),l=gc((()=>{const e=t.value;return null===e?.default?"null":Array.isArray(e?.default)&&1===e?.default.length?String(e?.default[0]):"string"==typeof e?.default?JSON.stringify(e.default):Array.isArray(e?.default)||"object"==typeof e?.default?JSON.stringify(e?.default):e?.default}));return(e,r)=>(Dl(),Ll("div",Yke,[e.$slots.name?(Dl(),Ll("div",{key:0,class:zn(["property-name",{deprecated:t.value?.deprecated}])},[fs(e.$slots,"name",{},void 0,!0)],2)):Xl("",!0),t.isDiscriminator?(Dl(),Ll("div",Kke," Discriminator ")):Xl("",!0),t.value?(Dl(),Ll(Tl,{key:2},[i.value?(Dl(),jl(Qke,{key:0,truncate:""},{default:ci((()=>[ql(Vwe,null,{default:ci((()=>r[0]||(r[0]=[Zl("Type: ")]))),_:1,__:[0]}),Zl(Gn(s.value),1)])),_:1})):Xl("",!0),(Dl(!0),Ll(Tl,null,ps(a.value,(e=>(Dl(),jl(Qke,{key:e.key,code:e.code,truncate:e.truncate},hs({default:ci((()=>["format"===e.key?(Dl(),jl(Vwe,{key:0},{default:ci((()=>r[1]||(r[1]=[Zl("Format:")]))),_:1,__:[1]})):"pattern"===e.key?(Dl(),jl(Vwe,{key:1},{default:ci((()=>r[2]||(r[2]=[Zl(" Pattern: ")]))),_:1,__:[2]})):Xl("",!0),Zl(" "+Gn(e.value),1)])),_:2},[e.prefix?{name:"prefix",fn:ci((()=>[Zl(Gn(e.prefix),1)])),key:"0"}:void 0]),1032,["code","truncate"])))),128)),t.enum?(Dl(),jl(Qke,{key:1},{default:ci((()=>r[3]||(r[3]=[Zl("enum")]))),_:1,__:[3]})):Xl("",!0),void 0!==l.value?(Dl(),jl(Qke,{key:2,truncate:""},{prefix:ci((()=>r[4]||(r[4]=[Zl("default:")]))),default:ci((()=>[Zl(Gn(l.value),1)])),_:1})):Xl("",!0)],64)):Xl("",!0),t.additional?(Dl(),Ll("div",Jke,[t.value?.["x-additionalPropertiesName"]?(Dl(),Ll(Tl,{key:0},[Zl(Gn(t.value["x-additionalPropertiesName"]),1)],64)):(Dl(),Ll(Tl,{key:1},[Zl("additional properties")],64))])):Xl("",!0),t.value?.deprecated?(Dl(),Ll("div",eSe,[ql(Ao(Nke),null,{default:ci((()=>r[5]||(r[5]=[Zl("deprecated")]))),_:1,__:[5]})])):Xl("",!0),void 0!==n.value?(Dl(),Ll("div",tSe,[ql(Qke,{truncate:""},{prefix:ci((()=>r[6]||(r[6]=[Zl("const: ")]))),default:ci((()=>[ql(jke,{value:n.value},null,8,["value"])])),_:1})])):(Dl(),Ll(Tl,{key:6},[!0===t.value?.nullable?(Dl(),jl(Qke,{key:0},{default:ci((()=>r[7]||(r[7]=[Zl(" nullable ")]))),_:1,__:[7]})):Xl("",!0)],64)),t.value?.writeOnly?(Dl(),Ll("div",rSe," write-only ")):t.value?.readOnly?(Dl(),Ll("div",nSe," read-only ")):Xl("",!0),t.required?(Dl(),Ll("div",aSe," required ")):Xl("",!0),t.withExamples?(Dl(),jl(Gke,{key:10,example:t.value?.example||t.value&&Ao(eke)(t.value)&&Ao(hR)(t.value?.items)?.example,examples:t.value?.examples},null,8,["example","examples"])):Xl("",!0)]))}}),[["__scopeId","data-v-bfc3b782"]]),iSe={key:0,class:"property-name-pattern-properties"},sSe={key:1,class:"property-name-additional-properties"},lSe={key:1,class:"property-description"},cSe={key:2,class:"property-description"},uSe={key:4,class:"children"},dSe={key:0,class:"children"},pSe=Cwe(Li({__name:"SchemaProperty",props:{is:{},value:{},noncollapsible:{type:Boolean},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},discriminator:{},description:{},hideModelNames:{type:Boolean,default:!1},hideHeading:{type:Boolean},hideReadOnly:{type:Boolean},hideWriteOnly:{type:Boolean},variant:{},breadcrumb:{}},setup(e){const t=e,r={integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",base64:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}},n=e=>e&&r[e.type]?r[e.type][e.format||e.contentEncoding||"_default"]:null,a=e=>e?.enum||e?.items?.enum||[],o=gc((()=>function(e){if(!e||"object"!=typeof e)return e;const t=dke.find((t=>t in e&&"not"!==t));if(!t)return{...e};const r=e[t];if(!Array.isArray(r))return{...e};const{[t]:n,nullable:a,...o}=e,i=Object.keys(o).length>0,{filteredSchemas:s,hasNullSchema:l}=r.reduce(((e,t)=>{const r=hR(t);return"type"in r&&"null"===r.type?e.hasNullSchema=!0:e.filteredSchemas.push(r),e}),{filteredSchemas:[],hasNullSchema:!1}),c=l||!0===a;if(1===s.length){const e={...o,...s[0]};return c&&(e.nullable=!0),e}if(("oneOf"===t||"anyOf"===t)&&(i||s.some((e=>e.allOf)))){const e=s.map((e=>{const t=hR(e);if(1===t.allOf?.length){const{allOf:e,...r}=t;return{...o,...r,...hR(e[0])}}return{...o,...t}})),r={[t]:e};return c&&(r.nullable=!0),r}if(s.length!==r.length){const r={...e,[t]:s};return c&&(r.nullable=!0),r}return{...e}}(t.value))),i=gc((()=>{const e=o.value;return e?"properties"in e||"additionalProperties"in e||"patternProperties"in e||e?.allOf||e?.allOf?null:t.description||e?.description||null:null})),s=gc((()=>{const e=o.value;if(!e||!eke(e)||"object"!=typeof e.items)return!1;const t=e.items;return"type"in t&&t.type&&(Array.isArray(t.type)?t.type.includes("object"):["object"].includes(t.type))||"properties"in t||"$ref"in t||"discriminator"in t||"allOf"in t||"oneOf"in t||"anyOf"in t})),l=gc((()=>s.value)),c=gc((()=>{if(!o.value)return!1;const e=o.value;return Jxe(e)&&("properties"in e||"additionalProperties"in e)})),u=gc((()=>t.level<=1)),d=gc((()=>o.value?dke.map((e=>!o.value?.[e]||eke(o.value)&&o.value?.items&&"string"==typeof e&&"object"==typeof o.value.items&&e in o.value.items?(e=>{const t=o.value;return!(t&&!1===eke(t)||!t?.items||"object"!=typeof t.items||!(e in t.items)||s.value)})(e)&&o.value&&eke(o.value)&&o.value.items?{composition:e,value:o.value.items}:null:{composition:e,value:o.value})).filter(OB):[]));return(e,r)=>(Dl(),jl(cs(e.is??"li"),{class:zn(["property",[`property--level-${e.level}`,{"property--compact":e.compact,"property--deprecated":o.value?.deprecated}]])},{default:ci((()=>{return[(r=o.value,s=e.name,p=e.required,s||r?.deprecated||void 0!==r?.const||r?.enum&&1===r.enum.length||r?.type||!0===r?.nullable||r?.writeOnly||r?.readOnly||p?(Dl(),jl(oSe,{key:0,class:"group",enum:a(o.value).length>0,hideModelNames:e.hideModelNames,isDiscriminator:e.discriminator&&e.discriminator.propertyName===e.name,required:e.required,value:o.value},hs({_:2},[e.name?{name:"name",fn:ci((()=>[ql(Ao(Jwe),{breadcrumb:u.value&&e.breadcrumb?[...e.breadcrumb,e.name]:void 0},{default:ci((()=>["patternProperties"===e.variant?(Dl(),Ll("span",iSe,Gn(e.name),1)):"additionalProperties"===e.variant?(Dl(),Ll("span",sSe,Gn(e.name),1)):(Dl(),Ll(Tl,{key:2},[Zl(Gn(e.name),1)],64))])),_:1},8,["breadcrumb"])])),key:"0"}:void 0,o.value?.example?{name:"example",fn:ci((()=>[Zl(" Example: "+Gn(o.value.example),1)])),key:"1"}:void 0]),1032,["enum","hideModelNames","isDiscriminator","required","value"])):Xl("",!0)),i.value?(Dl(),Ll("div",lSe,[ql(Ao(Z6),{value:i.value},null,8,["value"])])):n(o.value)?(Dl(),Ll("div",cSe,[ql(Ao(Z6),{value:n(o.value)||""},null,8,["value"])])):Xl("",!0),(o.value?.enum||o.value&&Ao(eke)(o.value)&&Ao(hR)(o.value?.items)?.enum||[]).length?(Dl(),jl(Rke,{key:3,value:o.value},null,8,["value"])):Xl("",!0),c.value?(Dl(),Ll("div",uSe,[ql(bSe,{breadcrumb:e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:void 0,compact:e.compact,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,schema:o.value},null,8,["breadcrumb","compact","hideReadOnly","hideWriteOnly","level","name","noncollapsible","schema"])])):Xl("",!0),o.value&&Ao(eke)(o.value)&&"object"==typeof o.value.items?(Dl(),Ll(Tl,{key:5},[l.value?(Dl(),Ll("div",dSe,[ql(bSe,{compact:e.compact,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,schema:Ao(hR)(o.value.items)},null,8,["compact","hideReadOnly","hideWriteOnly","level","name","noncollapsible","schema"])])):Xl("",!0)],64)):Xl("",!0),(Dl(!0),Ll(Tl,null,ps(d.value,(r=>(Dl(),jl(_ke,{key:r.composition,breadcrumb:e.breadcrumb,compact:e.compact,composition:r.composition,discriminator:e.value?.discriminator,hideHeading:e.hideHeading,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level,name:e.name,noncollapsible:e.noncollapsible,value:Ao(hR)(t.value)},null,8,["breadcrumb","compact","composition","discriminator","hideHeading","hideReadOnly","hideWriteOnly","level","name","noncollapsible","value"])))),128)),ql(Ao(cke),{value:o.value},null,8,["value"])];var r,s,p})),_:1},8,["class"]))}}),[["__scopeId","data-v-7569fa08"]]),hSe=Li({__name:"SchemaObjectProperties",props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{type:Boolean},level:{},hideModelNames:{type:Boolean},hideReadOnly:{type:Boolean},hideWriteOnly:{type:Boolean},breadcrumb:{},orderSchemaPropertiesBy:{default:"alpha"},orderRequiredPropertiesFirst:{default:!0}},setup(e){const t=gc((()=>{if(!Jxe(e.schema)||!e.schema.properties)return[];const t=Object.keys(e.schema.properties),r=new Set(e.schema.required||[]);return t.sort(((t,n)=>{const a=t===e.discriminator?.propertyName,o=n===e.discriminator?.propertyName,i=r.has(t),s=r.has(n);if(a&&!o)return-1;if(!a&&o)return 1;if(e.orderRequiredPropertiesFirst){if(i&&!s)return-1;if(!i&&s)return 1}return"alpha"===e.orderSchemaPropertiesBy?t.localeCompare(n):0})).filter((t=>e.hideReadOnly?!(e.schema.properties&&!0===hR(e.schema.properties[t])?.readOnly):!e.hideWriteOnly||!(e.schema.properties&&!0===hR(e.schema.properties[t])?.writeOnly)))})),r=e=>{const t=hR(e);return"object"==typeof t&&"string"==typeof t["x-additionalPropertiesName"]&&t["x-additionalPropertiesName"].trim().length>0?`${t["x-additionalPropertiesName"].trim()}*`:"propertyName*"};return(e,n)=>{return Dl(),Ll(Tl,null,[Ao(Jxe)(e.schema)&&e.schema.properties?(Dl(!0),Ll(Tl,{key:0},ps(t.value,(t=>(Dl(),jl(pSe,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,discriminator:e.discriminator,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level,name:t,required:e.schema.required?.includes(t),value:Ao(hR)(e.schema.properties[t])},null,8,["breadcrumb","compact","discriminator","hideHeading","hideModelNames","hideReadOnly","hideWriteOnly","level","name","required","value"])))),128)):Xl("",!0),Ao(Jxe)(e.schema)&&e.schema.patternProperties?(Dl(!0),Ll(Tl,{key:1},ps(Object.entries(e.schema.patternProperties),(([t,r])=>(Dl(),jl(pSe,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,discriminator:e.discriminator,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level,name:t,value:Ao(hR)(r)},null,8,["breadcrumb","compact","discriminator","hideHeading","hideModelNames","hideReadOnly","hideWriteOnly","level","name","value"])))),128)):Xl("",!0),Ao(Jxe)(e.schema)&&e.schema.additionalProperties?(Dl(),jl(pSe,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,discriminator:e.discriminator,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level,name:r(e.schema.additionalProperties),noncollapsible:"",value:(a=e.schema.additionalProperties,!0===a||"object"==typeof a&&0===Object.keys(a).length||"object"!=typeof a||!("type"in a)?{type:"anything",..."object"==typeof a?a:{}}:a),variant:"additionalProperties"},null,8,["breadcrumb","compact","discriminator","hideHeading","hideModelNames","hideReadOnly","hideWriteOnly","level","name","value"])):Xl("",!0)],64);var a}}}),fSe={key:0,class:"schema-card-description"},mSe={key:0,class:"schema-properties"},gSe=Li({__name:"Schema",props:{schema:{},level:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean,default:!1},hideHeading:{type:Boolean},hideReadOnly:{type:Boolean},hideWriteOnly:{type:Boolean},additionalProperties:{type:Boolean},hideModelNames:{type:Boolean,default:!1},discriminator:{},breadcrumb:{}},setup(e){const t=gc((()=>!e.noncollapsible&&e.level>0)),r=gc((()=>e.schema?.allOf&&e.schema.allOf.length>0&&"Request Body"===e.name?e.schema.description||e.schema.allOf[0].description:e.schema?.description&&"string"==typeof e.schema.description?e.schema.oneOf||e.schema.anyOf||e.schema.enum?null:"properties"in e.schema||"patternProperties"in e.schema||"additionalProperties"in e.schema?e.schema.description:null:null)),n=t=>e.noncollapsible&&t.stopPropagation();return(e,a)=>"object"==typeof e.schema&&Object.keys(e.schema).length?(Dl(),jl(Ao(aQ),{key:0,defaultOpen:e.noncollapsible},{default:ci((({open:o})=>[zl("div",{class:zn(["schema-card",[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":o},{"border-t":e.additionalProperties&&o}]])},[r.value?(Dl(),Ll("div",fSe,[ql(Ao(Z6),{value:r.value},null,8,["value"])])):Xl("",!0),zl("div",{class:zn(["schema-properties",{"schema-properties-open":o}])},[e.additionalProperties?ui((Dl(),Ll("div",mSe,[ql(Ao(oQ),{as:"button",class:"schema-card-title schema-card-title--compact",onClickCapture:n},{default:ci((()=>[ql(Ao(A6),{class:"schema-card-title-icon",icon:"Add",size:"sm"}),a[0]||(a[0]=Zl(" Show additional properties ")),e.name?(Dl(),jl(Vwe,{key:0},{default:ci((()=>[Zl("for "+Gn(e.name),1)])),_:1})):Xl("",!0)])),_:1,__:[0]})],512)),[[qc,!o]]):t.value?ui((Dl(),jl(Ao(oQ),{key:1,as:e.noncollapsible?"div":"button",class:zn(["schema-card-title",{"schema-card-title--compact":e.compact}]),style:jn({top:`calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${e.level}))`}),onClickCapture:n},{default:ci((()=>[e.compact?(Dl(),Ll(Tl,{key:0},[ql(Ao(A6),{class:zn(["schema-card-title-icon",{"schema-card-title-icon--open":o}]),icon:"Add",size:"sm"},null,8,["class"]),o?(Dl(),Ll(Tl,{key:0},[Zl(" Hide "+Gn(e.schema?.title??"Child Attributes"),1)],64)):(Dl(),Ll(Tl,{key:1},[Zl(" Show "+Gn(e.schema?.title??"Child Attributes"),1)],64)),e.name?(Dl(),jl(Vwe,{key:2},{default:ci((()=>[Zl("for "+Gn(e.name),1)])),_:1})):Xl("",!0)],64)):(Dl(),Ll(Tl,{key:1},[ql(Ao(A6),{class:zn(["schema-card-title-icon",{"schema-card-title-icon--open":o}]),icon:"Add",size:"sm"},null,8,["class"]),ql(oke,{name:e.schema?.title??e.name,value:e.schema},null,8,["name","value"])],64))])),_:2},1032,["as","class","style"])),[[qc,!(e.hideHeading||e.noncollapsible&&e.compact)]]):Xl("",!0),!e.additionalProperties||o?(Dl(),jl(Ao(iQ),{key:2,as:"ul",static:!t.value},{default:ci((()=>[Ao(Jxe)(e.schema)?(Dl(),jl(hSe,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,discriminator:e.discriminator,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level+1,schema:e.schema},null,8,["breadcrumb","compact","discriminator","hideHeading","hideModelNames","hideReadOnly","hideWriteOnly","level","schema"])):(Dl(),Ll(Tl,{key:1},[e.schema?(Dl(),jl(pSe,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,hideReadOnly:e.hideReadOnly,hideWriteOnly:e.hideWriteOnly,level:e.level,value:e.schema},null,8,["breadcrumb","compact","hideHeading","hideModelNames","hideReadOnly","hideWriteOnly","level","value"])):Xl("",!0)],64))])),_:1},8,["static"])):Xl("",!0)],2)],2)])),_:1},8,["defaultOpen"])):Xl("",!0)}}),bSe=Cwe(gSe,[["__scopeId","data-v-6897f9dc"]]),vSe={key:0,class:"properties"},ySe={key:1},OSe=Cwe(Li({__name:"ClassicLayout",props:{models:{}},setup(e){const{getModelId:t}=zwe();return(e,r)=>e.models.length?(Dl(),jl(Ao(zxe),{key:0,class:"reference-models"},{title:ci((()=>[ql(Ao(Wxe),{level:2},{default:ci((()=>r[0]||(r[0]=[Zl("Models")]))),_:1,__:[0]})])),default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(e.models,(({name:e,schema:r})=>(Dl(),jl(Ao(Rxe),{id:Ao(t)({name:e}),key:e,label:e},{title:ci((()=>[ql(Ao(Xwe),{id:Ao(t)({name:e}),class:"reference-models-anchor"},{default:ci((()=>[ql(Ao(Xxe),{level:3},{default:ci((()=>[ql(Ao(oke),{class:"reference-models-label",name:r.title??e,value:r},null,8,["name","value"])])),_:2},1024)])),_:2},1032,["id"])])),default:ci((()=>["properties"in r?(Dl(),Ll("div",vSe,[(Dl(!0),Ll(Tl,null,ps(Object.entries(r.properties??{}),(([e,t])=>(Dl(),jl(Ao(pSe),{key:e,name:e,required:r.required?.includes(e),value:Ao(hR)(t)},null,8,["name","required","value"])))),128))])):(Dl(),Ll("div",ySe,[ql(Ao(pSe),{value:r},null,8,["value"])]))])),_:2},1032,["id","label"])))),128))])),_:1})):Xl("",!0)}}),[["__scopeId","data-v-59fedb4d"]]),wSe=Cwe(Li({__name:"ShowMoreButton",props:{id:{}},setup(e){const{setCollapsedSidebarItem:t}=uxe(),r=jwe(),n=()=>{t(e.id,!0),r.value.onShowMore?.(e.id)};return(e,t)=>(Dl(),Ll("button",{class:"show-more",type:"button",onClick:n},[t[0]||(t[0]=Zl(" Show More ")),ql(Ao(uH),{weight:"bold",class:"text-c-2 mt-0.25 size-3"})]))}}),[["__scopeId","data-v-b2ca4789"]]),xSe=Cwe(Li({__name:"ModernLayout",props:{config:{},schemas:{default:()=>[]}},setup(e){const t=ji(),{collapsedSidebarItems:r}=uxe(),{getModelId:n}=zwe(),a=gc((()=>e.config.expandAllModelSections||e.schemas.length<=10||r[n()])),o=gc((()=>a.value?e.schemas:e.schemas.slice(0,10)));return(e,r)=>e.schemas?(Dl(),jl(Ao(Uxe),{key:0,id:"models"},{default:ci((()=>[ql(Ao(Cxe),{"aria-labelledby":Ao(t)},{default:ci((()=>[ql(Ao(Wxe),null,{default:ci((()=>[ql(Ao(Xxe),{id:Ao(t),level:2},{default:ci((()=>r[0]||(r[0]=[Zl(" Models ")]))),_:1,__:[0]},8,["id"])])),_:1}),zl("div",{class:zn(["models-list",{"models-list-truncated":!a.value}])},[(Dl(!0),Ll(Tl,null,ps(o.value,(({name:t,schema:r})=>(Dl(),jl(Ao(Kxe),{id:Ao(n)({name:t}),key:t,class:"models-list-item",defaultOpen:e.config.expandAllModelSections,label:t},{heading:ci((()=>[ql(Ao(Xxe),{level:3},{default:ci((()=>[ql(Ao(oke),{name:r.title??t,value:r},null,8,["name","value"])])),_:2},1024)])),default:ci((()=>[ql(Ao(uY),null,{default:ci((()=>[ql(Ao(bSe),{hideHeading:!0,hideModelNames:!0,level:1,noncollapsible:"",schema:r},null,8,["schema"])])),_:2},1024)])),_:2},1032,["id","defaultOpen","label"])))),128))],2),a.value?Xl("",!0):(Dl(),jl(wSe,{key:0,id:Ao(n)(),class:"show-more-models"},null,8,["id"]))])),_:1},8,["aria-labelledby"])])),_:1})):Xl("",!0)}}),[["__scopeId","data-v-cd0edd51"]]),kSe=Li({__name:"Models",props:{document:{},config:{}},setup(e){const{hash:t}=zwe(),r=gc((()=>{const t=e.document.components?.schemas;return t?Object.entries(t).flatMap((([e,t])=>{const r=hR(t);return r["x-internal"]||r["x-scalar-ignore"]?[]:[{name:e,schema:r}]})):[]}));return(e,n)=>r.value&&Object.keys(r.value).length>0?(Dl(),jl(Ao(Iwe),{key:0,id:"models",isLazy:Boolean(Ao(t))&&!Ao(t).startsWith("model")},{default:ci((()=>["classic"===e.config?.layout?(Dl(),jl(OSe,{key:0,models:r.value},null,8,["models"])):(Dl(),jl(xSe,{key:1,config:e.config,schemas:r.value},null,8,["config","schemas"]))])),_:1},8,["isLazy"])):Xl("",!0)}}),SSe={class:"section-flare"},_Se=Cwe({},[["render",function(e,t){return Dl(),Ll("div",SSe,t[0]||(t[0]=[Wl('<div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div>',8)]))}],["__scopeId","data-v-2a9c8c02"]]),ESe=["aria-labelledby"],TSe={class:"text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]"},ASe=["id"],CSe={key:0,class:"sr-only"},PSe={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"},$Se={class:"sr-only"},MSe={key:0,class:"ui-not-open:hidden flex items-center gap-2 pr-0.75"},DSe=Li({__name:"ViewLayoutCollapse",props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},layout:{default:"client"}},emits:["update:modelValue"],setup(e,{emit:t}){const r=t,n=ji(),a=So(e.defaultOpen),o=()=>{a.value=!a.value,r("update:modelValue",a.value)};return Yi((()=>{r("update:modelValue",a.value)})),(e,t)=>(Dl(),jl(Ao(aQ),{as:"div",class:zn(["group/collapse focus-within:text-c-1 text-c-2 last:ui-open:border-b-0 border-b",{"last-of-type:first-of-type:border-b-0":"reference"===e.layout}]),defaultOpen:e.defaultOpen,static:"reference"===e.layout||void 0,onClick:o},{default:ci((({open:t})=>[zl("section",{"aria-labelledby":Ao(n),class:"contents"},[zl("div",{class:zn(["bg-b-2 flex items-center","reference"===e.layout&&"rounded-t-lg border border-b-0"])},[ql(Ao(oQ),{class:zn(["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",{"!pl-3":"reference"===e.layout}]),disabled:"reference"===e.layout},{default:ci((()=>["reference"!==e.layout?(Dl(),jl(Ao(A6),{key:0,class:zn(["text-c-3 group-hover:text-c-1 ui-open:rotate-90 ui-not-open:rotate-0 rounded-px outline-offset-2 group-focus-visible:outline"]),icon:"ChevronRight",size:"md"})):Xl("",!0),zl("h2",TSe,[zl("span",{id:Ao(n),class:"contents"},[fs(e.$slots,"title",{open:t}),t?Xl("",!0):(Dl(),Ll("span",CSe," (Collapsed) "))],8,ASe),!t&&e.itemCount?(Dl(),Ll("span",PSe,[Zl(Gn(e.itemCount)+" ",1),zl("span",$Se,"Item"+Gn(1===e.itemCount?"":"s"),1)])):Xl("",!0)])])),_:2},1032,["class","disabled"]),e.$slots.actions?(Dl(),Ll("div",MSe,[fs(e.$slots,"actions",{open:t})])):Xl("",!0)],2),ql(Ao(iQ),Jl(e.$attrs,{class:"diclosure-panel h-full max-h-fit rounded-b"}),{default:ci((()=>[fs(e.$slots,"default",{open:t})])),_:2},1040)],8,ESe)])),_:3},8,["class","defaultOpen","static"]))}}),RSe=Object.entries({apiKeyCookie:{label:"API Key in Cookies",payload:{type:"apiKey",in:"cookie",nameKey:"apiKeyCookie"}},apiKeyHeader:{label:"API Key in Headers",payload:{type:"apiKey",in:"header",nameKey:"apiKeyHeader"}},apiKeyQuery:{label:"API Key in Query Params",payload:{type:"apiKey",in:"query",nameKey:"apiKeyQuery"}},httpBasic:{label:"HTTP Basic",payload:{type:"http",scheme:"basic",nameKey:"httpBasic"}},httpBearer:{label:"HTTP Bearer",payload:{type:"http",scheme:"bearer",nameKey:"httpBearer"}},oauth2Implicit:{label:"Oauth2 Implicit Flow",payload:{type:"oauth2",nameKey:"oauth2Implicit",flows:{implicit:{type:"implicit"}}}},oauth2Password:{label:"Oauth2 Password Flow",payload:{type:"oauth2",nameKey:"oauth2Password",flows:{password:{type:"password"}}}},oauth2ClientCredentials:{label:"Oauth2 Client Credentials",payload:{type:"oauth2",nameKey:"oauth2ClientCredentials",flows:{clientCredentials:{type:"clientCredentials"}}}},oauth2AuthorizationFlow:{label:"Oauth2 Authorization Code",payload:{type:"oauth2",nameKey:"oauth2AuthorizationFlow",flows:{authorizationCode:{type:"authorizationCode"}}}}}).map((([e,t])=>({id:e,isDeletable:!1,...t}))),NSe=e=>({id:e.uid,label:"openIdConnect"===e.type?`${e.nameKey} (coming soon)`:e.nameKey}),ISe=(e,t)=>NSe(e.reduce(((e,r,n)=>{const a=t[r];return a&&(e.nameKey+=`${n>0?" & ":""}${a.nameKey}`,e.uid=`${e.uid}${n>0?",":""}${a.uid}`),e}),{type:"complex",nameKey:"",uid:""})),LSe=(e,t)=>"[{}]"===JSON.stringify(e?.security)&&t?.security?.length?t?.security.find((e=>"{}"===JSON.stringify(e)))?t.security:[...t.security,{}]:e?.security??t?.security??[],jSe=(e,t,r,n=!1)=>{{const a=t.reduce(((e,t)=>{const n=r[t];return n&&(e[n.nameKey]=n),e}),{}),o=e.flatMap((e=>{const t=Object.keys(e);if(t.length>1){const e=t.map((e=>a[e]?.uid)).filter(OB);return ISe(e,r)}if(t[0]){const e=a[t[0]];if(e)return NSe(e)}return[]})),i=t.filter((e=>!o.some((t=>t.id===e)))).map((e=>{const t=r[e];return t?NSe(t):null})).filter(OB),s=[{label:"Required authentication",options:o},{label:"Available authentication",options:i}];return n?o.length?s:i:(s.push({label:"Add new authentication",options:RSe}),s)}},BSe="function"==typeof Buffer;"function"==typeof TextDecoder&&new TextDecoder;const USe="function"==typeof TextEncoder?new TextEncoder:void 0,FSe=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=");(e=>{let t={};e.forEach(((e,r)=>t[e]=r))})(FSe);const QSe=String.fromCharCode.bind(String);"function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array);const zSe=e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")),qSe="function"==typeof btoa?e=>btoa(e):BSe?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,r,n,a,o="";const i=e.length%3;for(let i=0;i<e.length;){if((r=e.charCodeAt(i++))>255||(n=e.charCodeAt(i++))>255||(a=e.charCodeAt(i++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|a,o+=FSe[t>>18&63]+FSe[t>>12&63]+FSe[t>>6&63]+FSe[63&t]}return i?o.slice(0,i-3)+"===".substring(i):o},HSe=BSe?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(QSe.apply(null,e.subarray(r,r+4096)));return qSe(t.join(""))},VSe=(e,t=!1)=>t?zSe(HSe(e)):HSe(e),ZSe=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?QSe(192|t>>>6)+QSe(128|63&t):QSe(224|t>>>12&15)+QSe(128|t>>>6&63)+QSe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return QSe(240|t>>>18&7)+QSe(128|t>>>12&63)+QSe(128|t>>>6&63)+QSe(128|63&t)},WSe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,XSe=BSe?e=>Buffer.from(e,"utf8").toString("base64"):USe?e=>HSe(USe.encode(e)):e=>qSe((e=>e.replace(WSe,ZSe))(e)),GSe=(e,t=!1)=>t?zSe(XSe(e)):XSe(e),YSe=async(e,t,r)=>{try{if(!e)return[new Error("Flow not found"),null];const n=e.selectedScopes.join(" ");if("clientCredentials"===e.type||"password"===e.type)return KSe(e,n,{proxyUrl:r});const a=(Math.random()+1).toString(36).substring(2,10),o=new URL(e.authorizationUrl);let i=null;if("implicit"===e.type)o.searchParams.set("response_type","token");else if("authorizationCode"===e.type&&(o.searchParams.set("response_type","code"),"no"!==e["x-usePkce"])){const t=(()=>{const e=new Uint8Array(32);return crypto.getRandomValues(e),VSe(e,!0)})(),r=await(async(e,t)=>{if("plain"===t)return e;const r=(new TextEncoder).encode(e),n=await crypto.subtle.digest("SHA-256",r);return VSe(new Uint8Array(n),!0)})(t,e["x-usePkce"]);i={codeVerifier:t,codeChallenge:r,codeChallengeMethod:"SHA-256"===e["x-usePkce"]?"S256":"plain"},o.searchParams.set("code_challenge",r),o.searchParams.set("code_challenge_method",i.codeChallengeMethod)}if(e["x-scalar-redirect-uri"].startsWith("/")){const r=t.url||window.location.origin+window.location.pathname,n=new URL(e["x-scalar-redirect-uri"],r).toString();o.searchParams.set("redirect_uri",n)}else o.searchParams.set("redirect_uri",e["x-scalar-redirect-uri"]);e["x-scalar-security-query"]&&Object.keys(e["x-scalar-security-query"]).forEach((t=>{const r=e["x-scalar-security-query"]?.[t];r&&o.searchParams.set(t,r)})),o.searchParams.set("client_id",e["x-scalar-client-id"]),o.searchParams.set("state",a),n&&o.searchParams.set("scope",n);const s=window.open(o,"openAuth2Window","left=100,top=100,width=800,height=600");return s?new Promise((t=>{const o=setInterval((()=>{let l=null,c=null,u=null,d=null;try{const t=new URL(s.location.href).searchParams,r=e["x-tokenName"]||"access_token";l=t.get(r),c=t.get("code"),u=t.get("error"),d=t.get("error_description");const n=new URLSearchParams(s.location.href.split("#")[1]);l||=n.get(r),c||=n.get("code"),u||=n.get("error"),d||=n.get("error_description")}catch{}if(s.closed||l||c||u)if(clearInterval(o),s.close(),u)t([new Error(`OAuth error: ${u}${d?` (${d})`:""}`),null]);else if(l){const e=s.location.href.match(/state=([^&]*)/)?.[1];t(e===a?[null,l]:[new Error("State mismatch"),null])}else c?new URL(s.location.href).searchParams.get("state")===a?KSe(e,n,{code:c,pkce:i,proxyUrl:r}).then(t):t([new Error("State mismatch"),null]):(clearInterval(o),t([new Error("Window was closed without granting authorization"),null]))}),200)})):[new Error("Failed to open auth window"),null]}catch{return[new Error("Failed to authorize oauth2 flow"),null]}},KSe=async(e,t,{code:r,pkce:n,proxyUrl:a}={})=>{if(!e)return[new Error("OAuth2 flow was not defined"),null];const o=new URLSearchParams;o.set("client_id",e["x-scalar-client-id"]),t&&("clientCredentials"===e.type||"password"===e.type)&&o.set("scope",t),e.clientSecret&&(!e["x-scalar-credentials-location"]||"body"===e["x-scalar-credentials-location"])&&o.set("client_secret",e.clientSecret),"x-scalar-redirect-uri"in e&&e["x-scalar-redirect-uri"]&&o.set("redirect_uri",e["x-scalar-redirect-uri"]),r?(o.set("code",r),o.set("grant_type","authorization_code"),n&&o.set("code_verifier",n.codeVerifier)):"password"===e.type?(o.set("grant_type","password"),o.set("username",e.username),o.set("password",e.password)):o.set("grant_type","client_credentials"),e["x-scalar-security-body"]&&Object.entries(e["x-scalar-security-body"]).forEach((([e,t])=>{t&&o.set(e,t)}));try{const t={"Content-Type":"application/x-www-form-urlencoded"};e.clientSecret&&(!e["x-scalar-credentials-location"]||"header"===e["x-scalar-credentials-location"])&&(t.Authorization=`Basic ${GSe(`${e["x-scalar-client-id"]}:${e.clientSecret}`)}`);const r=tB(a,e.tokenUrl)?`${a}?${new URLSearchParams([["scalar_url",e.tokenUrl]]).toString()}`:e.tokenUrl;return[null,(await(await fetch(r,{method:"POST",headers:t,body:o})).json())[e["x-tokenName"]||"access_token"]]}catch{return[new Error("Failed to get an access token. Please check your credentials."),null]}},JSe={Date:!0,RegExp:!0,String:!0,Number:!0};function e_e(e,t,r={cyclesFix:!0},n=[]){let a=[];const o=Array.isArray(e);for(const i in e){const s=e[i],l=o?+i:i;if(!(i in t)){a.push({type:"REMOVE",path:[l],oldValue:e[i]});continue}const c=t[i],u="object"==typeof s&&"object"==typeof c&&Array.isArray(s)===Array.isArray(c);!(s&&c&&u)||JSe[Object.getPrototypeOf(s)?.constructor?.name]||r.cyclesFix&&n.includes(s)?s===c||Number.isNaN(s)&&Number.isNaN(c)||u&&(isNaN(s)?s+""==c+"":+s==+c)||a.push({path:[l],type:"CHANGE",value:c,oldValue:s}):a.push.apply(a,e_e(s,c,r,r.cyclesFix?n.concat([s]):[]).map((e=>(e.path.unshift(l),e))))}const i=Array.isArray(t);for(const r in t)r in e||a.push({type:"CREATE",path:[i?+r:r],value:t[r]});return a}const t_e=(e,t=[])=>{const r=[];let n=!1;for(let a=0;a<e.length;a++){if(n){n=!1;continue}const o=e[a],i=e[a+1];if(o){if(t.length)o.path=[...t,...o.path],i&&(i.path=[...t,...i.path]);else if("paths"!==o.path[0]){r.push(o);continue}if("REMOVE"===o.type&&"CREATE"===i?.type){const[,e,a]=o.path,[,s,l]=i.path,c=["paths",s].filter((e=>"string"==typeof e));if(e!==s&&r.push({type:"CHANGE",path:["paths","path"],oldValue:e,value:s}),a&&"string"==typeof l&&a!==l&&s&&(r.push({type:"CHANGE",path:["paths",s,"method"],oldValue:a,value:l}),c.push(l)),0===t.length){const e=e_e(o.oldValue,i.value);if(e.length){const t=t_e(e,c);r.push(...t)}}n=!0}else"CREATE"===o.type&&o.path.length>3&&"number"!=typeof o.path.at(-1)?r.push({...o,type:"CHANGE",oldValue:void 0}):"REMOVE"===o.type&&o.path.length>3&&"number"!=typeof o.path.at(-1)?r.push({...o,type:"CHANGE",value:void 0}):r.push(o)}}return r},r_e=(e,t,r)=>{for(const n of e){const e=t[n];if(e&&r(e))return e}return null},n_e=e=>e instanceof _t.ZodOptional?n_e(e.unwrap()):e instanceof _t.ZodDefault?n_e(e._def.innerType):e instanceof _t.ZodEffects?n_e(e._def.schema):e instanceof _t.ZodCatch?n_e(e._def.innerType):e,a_e=(e,t)=>{const r=((e,t)=>{let r=e;for(const e of t){if(r=n_e(r),r instanceof _t.ZodAny)return r;if(r instanceof _t.ZodObject&&"string"==typeof e&&e in r.shape)r=r.shape[e];else if(r instanceof _t.ZodArray)if("number"==typeof e)r=r.element;else{if("string"!=typeof e)return null;if(r=r.element,!(r instanceof _t.ZodObject&&e in r.shape))return null;r=r.shape[e]}else{if(!(r instanceof _t.ZodRecord))return null;r=r.valueSchema}r=n_e(r)}return r})(e,t.path);if(!r)return null;const n=t.path.join("."),a=t.path.slice(0,-1).join(".");if("REMOVE"===t.type)return{path:n,pathMinusOne:a,value:void 0};const o=oB(t.value,r,!1);return typeof o>"u"||null===o?null:{path:n,pathMinusOne:a,value:o}},o_e=(e,t)=>{const{requests:r,requestExamples:n,requestExampleMutators:a}=t,o=r[e];o?.examples.forEach((e=>{const t=Oye(o,n[e]?.name??"Default");t&&a.set({...t,uid:e})}))},i_e=(e,{activeCollection:t},{securitySchemes:r,securitySchemeMutators:n})=>{if(!t.value)return!1;const[,,a,...o]=e.path,i=r[a]??r_e(t.value.securitySchemes,r,(e=>e.nameKey===a));if(o?.length){const t=((e,t,r)=>{const n=n_e(e);if(n instanceof _t.ZodUnion||n instanceof _t.ZodDiscriminatedUnion)for(const e of n.options)if(e instanceof _t.ZodObject&&t in e.shape&&e.shape[t]instanceof _t.ZodLiteral&&e.shape[t].value===r)return e;return null})(Fve,"type",i?.type??"");if(!t||!i)return!1;const r=a_e(t,{...e,path:o});if(!r)return!1;const a=r.path;n.edit(i.uid,a,r.value)}else if("REMOVE"===e.type){if(!i)return!1;n.delete(i.uid)}else"CREATE"===e.type&&n.add(Fve.parse(e.value),t.value.uid);return!0},s_e={class:"text-c-2 mb-4 text-sm leading-normal"},l_e={class:"flex justify-between gap-2"},c_e=Li({__name:"DeleteRequestAuthModal",props:{state:{},scheme:{}},emits:["close","delete"],setup(e,{emit:t}){const r=e,n=t,a=()=>{r.scheme?.id&&DOe(o.value?.$el,"scalar-delete-security-scheme",{uid:r.scheme.id}),n("delete")},o=Ui("wrapperRef");return(e,t)=>(Dl(),jl(Ao(F7),{ref_key:"wrapperRef",ref:o,size:"xxs",state:e.state,title:"Delete Security Scheme"},{default:ci((()=>[zl("p",s_e," This cannot be undone. You're about to delete the "+Gn(e.scheme?.label)+" security scheme from the collection. ",1),zl("div",l_e,[ql(Ao(Oq),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:t[0]||(t[0]=e=>n("close"))},{default:ci((()=>t[1]||(t[1]=[Zl(" Cancel ")]))),_:1,__:[1]}),ql(Ao(Oq),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"submit",onClick:a},{default:ci((()=>[Zl(" Delete "+Gn(e.scheme?.label),1)])),_:1})])])),_:1},8,["state"]))}}),u_e=["role"],d_e={key:0,class:"sr-only"},p_e=Li({__name:"DataTable",props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("div",qn(Hl(Ao(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[zl("table",{class:zn(["mb-0 grid min-h-8 auto-rows-auto",{"w-max min-w-full":e.scroll}]),role:e.presentational?"presentation":"table",style:jn({gridTemplateColumns:e.columns.map((e=>e||"1fr")).join(" ")})},[e.$slots.caption?(Dl(),Ll("caption",d_e,[fs(e.$slots,"caption")])):Xl("",!0),fs(e.$slots,"default")],14,u_e)],16))}}),h_e=Li({inheritAttrs:!1,__name:"DataTableCell",props:{is:{default:"td"}},setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),jl(cs(e.is),Jl(Ao(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 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:ci((()=>[fs(e.$slots,"default")])),_:3},16))}}),f_e=["checked","disabled"],m_e=Li({__name:"DataTableCheckbox",props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"}},emits:["update:modelValue"],setup(e){const t=lq({base:"w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-1 pointer-events-none absolute",variants:{align:{left:"left-0",center:"centered"}}});return(e,r)=>(Dl(),jl(h_e,{class:"group/cell relative flex min-w-8"},{default:ci((()=>[zl("input",{checked:e.modelValue,class:"peer absolute inset-0 cursor-pointer opacity-0 disabled:cursor-default",disabled:!!e.disabled,type:"checkbox",onChange:r[0]||(r[0]=t=>e.$emit("update:modelValue",t.target.checked))},null,40,f_e),zl("div",{class:zn(Ao(t)({align:e.align}))},[zl("div",{class:zn(["absolute m-auto size-3/4 rounded border-[1px] opacity-0",!e.disabled&&"group-has-[:focus-visible]/cell:border-c-accent group-hover/cell:opacity-100 group-has-[:focus-visible]/cell:opacity-100"])},null,2),ql(Ao(A6),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)])),_:1}))}}),g_e=Li({__name:"DataTableHeader",setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),jl(h_e,Jl({is:"th"},Ao(t)("items-center font-medium px-2 min-w-0 -outline-offset-1")),{default:ci((()=>[fs(e.$slots,"default")])),_:3},16))}}),b_e=["for"],v_e={class:"relative flex min-w-0 flex-1"},y_e=["readOnly","type","value"],O_e={key:1,class:"centered-y text-orange absolute right-7 text-xs"},w_e=Li({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:{},min:{},max:{},environment:{},envVariables:{},workspace:{},description:{},lineWrapping:{type:Boolean,default:!1}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){const r=e,n=t,a=So(!0),o=So(!1),i=So(null),s=()=>{o.value||n("inputBlur")},l=gc((()=>"password"===r.type?"text":r.type??"text")),c=()=>{!r.enum?.length&&!r.readOnly&&i.value?.focus()};return(e,t)=>(Dl(),jl(h_e,{class:zn(["relative flex",e.containerClass])},{default:ci((()=>[e.$slots.default?(Dl(),Ll("div",{key:0,class:"text-c-1 flex items-center pr-0 pl-3",for:e.id??"",onClick:c},[fs(e.$slots,"default",{},void 0,!0),t[5]||(t[5]=Zl(": "))],8,b_e)):Xl("",!0),zl("div",v_e,[r.enum&&r.enum.length?(Dl(),jl(Ybe,{key:0,canAddCustomValue:r.canAddCustomEnumValue,modelValue:r.modelValue,value:r.enum,"onUpdate:modelValue":t[0]||(t[0]=e=>n("update:modelValue",e))},null,8,["canAddCustomValue","modelValue","value"])):(Dl(),Ll(Tl,{key:1},[a.value&&"password"===e.type?(Dl(),Ll("input",Jl({key:0},e.id?{...e.$attrs,id:e.id}:e.$attrs,{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":"password"===e.type}],"data-1p-ignore":"",readOnly:e.readOnly,spellcheck:"false",type:l.value,value:e.modelValue,onInput:t[1]||(t[1]=e=>n("update:modelValue",e.target.value??""))}),null,16,y_e)):(Dl(),jl(uve,Jl({key:1},e.$attrs,{id:e.id,ref_key:"codeInput",ref:i,class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1",["password"===e.type&&e.description&&"pr-12",e.description&&"pr-8","password"===e.type&&"scalar-password-input"]],description:e.description,disableCloseBrackets:"",disableTabIndent:"",envVariables:e.envVariables,environment:e.environment,lineWrapping:!!e.lineWrapping,max:e.max,min:e.min,modelValue:e.modelValue??"",readOnly:e.readOnly,required:!!e.required,spellcheck:"false",type:l.value,workspace:e.workspace,onBlur:s,onFocus:t[2]||(t[2]=e=>n("inputFocus")),"onUpdate:modelValue":t[3]||(t[3]=e=>n("update:modelValue",e))}),null,16,["id","class","description","envVariables","environment","lineWrapping","max","min","modelValue","readOnly","required","type","workspace"]))],64))]),e.$slots.warning?(Dl(),Ll("div",O_e,[fs(e.$slots,"warning",{},void 0,!0)])):Xl("",!0),fs(e.$slots,"icon",{},void 0,!0),"password"===e.type?(Dl(),jl(Ao(Q6),{key:2,class:"-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25",icon:a.value?Ao(KH):Ao(oV),label:a.value?"Show Password":"Hide Password",onClick:t[4]||(t[4]=e=>a.value=!a.value)},null,8,["icon","label"])):Xl("",!0)])),_:3},8,["class"]))}}),x_e=W7(w_e,[["__scopeId","data-v-46e1ae6e"]]),k_e={class:"group contents"},S_e=W7({},[["render",function(e,t){return Dl(),Ll("tr",k_e,[fs(e.$slots,"default")])}]]),__e={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},E_e=Li({__name:"DataTableText",props:{text:{}},setup:e=>(e,t)=>(Dl(),jl(h_e,{class:"relative flex"},{default:ci((()=>[zl("span",__e,[fs(e.$slots,"default",{},(()=>[Zl(Gn(e.text),1)]))])])),_:3}))}),T_e=(e,t,r,{securitySchemes:n},a,o=!1)=>{if(DOe(a,"scalar-edit-security-scheme",{uid:e,path:t,value:r}),o)try{const a=JSON.parse(Hj().getItem(zj)??"{}"),o=n[e];a&&o?.nameKey&&((a[o.nameKey]||={})[t]=r,Hj().setItem(zj,JSON.stringify(a)))}catch(e){console.error(e)}},A_e={class:"flex h-fit w-full"},C_e={class:"flex-1"},P_e={class:"flex items-center gap-1.75"},$_e={class:"grid auto-rows-auto",style:{gridTemplateColumns:"1fr auto"}},M_e={key:0},D_e={class:"font-code text-xs"},R_e=Li({__name:"OAuthScopesInput",props:{flow:{},updateScheme:{type:Function}},setup(e){const t=gc((()=>Object.entries(e.flow?.scopes??{}).map((([e,t])=>({id:e,label:e,description:t}))))),r=gc((()=>e.flow?.selectedScopes||[])),n=gc((()=>e.flow?.selectedScopes?.length===Object.keys(e.flow?.scopes??{}).length)),a=()=>{e.updateScheme(`flows.${e.flow.type}.selectedScopes`,Object.keys(e.flow?.scopes??{}))},o=()=>{e.updateScheme(`flows.${e.flow.type}.selectedScopes`,[])};return(i,s)=>(Dl(),jl(Ao(h_e),{class:"h-auto !max-h-[initial] min-h-8 items-center"},{default:ci((()=>[zl("div",A_e,[s[2]||(s[2]=zl("div",{class:"text-c-1 h-full items-center"},null,-1)),ql(Ao(aQ),{as:"div",class:"bl flex w-full flex-col"},{default:ci((()=>[ql(Ao(oQ),{class:zn(["group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pr-2.25 pl-3 text-left",(i.flow?.selectedScopes?.length||0)>0?"text-c-1":"text-c-3"])},{default:ci((({open:e})=>[zl("div",C_e," Scopes Selected "+Gn(i.flow?.selectedScopes?.length||0)+" / "+Gn(Object.keys(i.flow?.scopes??{}).length||0),1),zl("div",P_e,[n.value?(Dl(),jl(Ao(Oq),{key:0,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Tu(o,["stop"])},{default:ci((()=>s[0]||(s[0]=[Zl(" Deselect All ")]))),_:1,__:[0]})):Xl("",!0),n.value?Xl("",!0):(Dl(),jl(Ao(Oq),{key:1,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Tu(a,["stop"])},{default:ci((()=>s[1]||(s[1]=[Zl(" Select All ")]))),_:1,__:[1]})),ql(Ao(A6),{class:"text-c-3 group-hover/scopes-accordion:text-c-2",icon:e?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])])])),_:1},8,["class"]),ql(Ao(iQ),{as:"template"},{default:ci((()=>[zl("table",$_e,[(Dl(!0),Ll(Tl,null,ps(t.value,(({id:t,label:n,description:a})=>(Dl(),jl(Ao(S_e),{key:t,class:"text-c-2",onClick:n=>function(t,n){n?e.updateScheme(`flows.${e.flow.type}.selectedScopes`,[...r.value,t]):e.updateScheme(`flows.${e.flow.type}.selectedScopes`,r.value.filter((e=>e!==t)))}(t,!r.value.includes(t))},{default:ci((()=>[ql(Ao(h_e),{class:"hover:text-c-1 box-border !max-h-[initial] w-full cursor-pointer px-3 py-1.5"},{default:ci((()=>[a?(Dl(),Ll("div",M_e,[zl("span",D_e,Gn(n),1),Zl(" – "+Gn(a),1)])):Xl("",!0)])),_:2},1024),ql(Ao(m_e),{modelValue:r.value.includes(t),"onUpdate:modelValue":()=>{}},null,8,["modelValue"])])),_:2},1032,["onClick"])))),128))])])),_:1})])),_:1})])])),_:1}))}}),N_e=["for"],I_e=Li({__name:"RequestAuthDataTableInput",props:{type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},readOnly:{type:Boolean,default:!1},environment:{},envVariables:{},workspace:{}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){const r=e,n=t,a=ji();return(e,t)=>(Dl(),jl(Ao(x_e),Jl({id:Ao(a),canAddCustomEnumValue:!r.readOnly,containerClass:r.containerClass},e.$attrs,{envVariables:r.envVariables,environment:r.environment,lineWrapping:"",modelValue:r.modelValue,readOnly:r.readOnly,required:r.required,type:r.type,workspace:r.workspace,onInputBlur:t[0]||(t[0]=e=>n("inputBlur")),onInputFocus:t[1]||(t[1]=e=>n("inputFocus")),onSelectVariable:t[2]||(t[2]=e=>n("selectVariable",e)),"onUpdate:modelValue":t[3]||(t[3]=e=>n("update:modelValue",e))}),{default:ci((()=>[zl("label",{for:Ao(a)},[fs(e.$slots,"default")],8,N_e)])),icon:ci((()=>[fs(e.$slots,"icon")])),_:3},16,["id","canAddCustomEnumValue","containerClass","envVariables","environment","modelValue","readOnly","required","type","workspace"]))}}),L_e={class:"flex h-8 items-center justify-end gap-2 border-t"},j_e={class:"flex h-8 w-full items-center justify-end border-t"},B_e=Li({__name:"OAuth2",props:{collection:{},environment:{},envVariables:{},flow:{},persistAuth:{type:Boolean,default:!1},scheme:{},server:{},workspace:{}},setup(e){const t=fq(),{toast:r}=JW(),n=AOe(),a=(t,r)=>T_e(e.scheme.uid,t,r,n,s.value,e.persistAuth),o=async()=>{if(t.isLoading||!e.collection?.uid)return;if(!e.server)return void r("No server selected","error");t.startLoading();const[n,o]=await YSe(e.flow,e.server,e.workspace?.proxyUrl).finally((()=>t.stopLoading()));o?a(`flows.${e.flow.type}.token`,o):(console.error(n),r(n?.message??"Failed to authorize","error"))},i={environment:e.environment,envVariables:e.envVariables,workspace:e.workspace},s=Ui("wrapperRef");return(e,r)=>(Dl(),Ll(Tl,null,[zl("div",{ref_key:"wrapperRef",ref:s},null,512),e.flow.token?(Dl(),Ll(Tl,{key:0},[ql(Ao(S_e),null,{default:ci((()=>[ql(I_e,Jl(i,{class:"border-r-transparent",modelValue:e.flow.token,placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":r[0]||(r[0]=t=>a(`flows.${e.flow.type}.token`,t))}),{default:ci((()=>r[10]||(r[10]=[Zl(" Access Token ")]))),_:1,__:[10]},16,["modelValue"])])),_:1}),ql(Ao(S_e),{class:"min-w-full"},{default:ci((()=>[zl("div",L_e,[ql(Ao(Oq),{class:"mr-1 p-0 px-2 py-0.5",loading:Ao(t),size:"sm",variant:"outlined",onClick:r[1]||(r[1]=t=>a(`flows.${e.flow.type}.token`,""))},{default:ci((()=>r[11]||(r[11]=[Zl(" Clear ")]))),_:1,__:[11]},8,["loading"])])])),_:1})],64)):(Dl(),Ll(Tl,{key:1},[ql(Ao(S_e),null,{default:ci((()=>["authorizationUrl"in e.flow?(Dl(),jl(I_e,Jl({key:0},i,{containerClass:"border-r-0",modelValue:e.flow.authorizationUrl,placeholder:"https://galaxy.scalar.com/authorize","onUpdate:modelValue":r[2]||(r[2]=t=>a(`flows.${e.flow.type}.authorizationUrl`,t))}),{default:ci((()=>r[12]||(r[12]=[Zl(" Auth URL ")]))),_:1,__:[12]},16,["modelValue"])):Xl("",!0),"tokenUrl"in e.flow?(Dl(),jl(I_e,Jl({key:1},i,{modelValue:e.flow.tokenUrl,placeholder:"https://galaxy.scalar.com/token","onUpdate:modelValue":r[3]||(r[3]=t=>a(`flows.${e.flow.type}.tokenUrl`,t))}),{default:ci((()=>r[13]||(r[13]=[Zl(" Token URL ")]))),_:1,__:[13]},16,["modelValue"])):Xl("",!0)])),_:1}),"x-scalar-redirect-uri"in e.flow?(Dl(),jl(Ao(S_e),{key:0},{default:ci((()=>[ql(I_e,Jl(i,{modelValue:e.flow["x-scalar-redirect-uri"],placeholder:"https://galaxy.scalar.com/callback","onUpdate:modelValue":r[4]||(r[4]=t=>a(`flows.${e.flow.type}.x-scalar-redirect-uri`,t))}),{default:ci((()=>r[14]||(r[14]=[Zl(" Redirect URL ")]))),_:1,__:[14]},16,["modelValue"])])),_:1})):Xl("",!0),"password"===e.flow.type?(Dl(),Ll(Tl,{key:1},[ql(Ao(S_e),null,{default:ci((()=>[ql(I_e,Jl(i,{class:"text-c-2",modelValue:e.flow.username,placeholder:"janedoe","onUpdate:modelValue":r[5]||(r[5]=t=>a(`flows.${e.flow.type}.username`,t))}),{default:ci((()=>r[15]||(r[15]=[Zl(" Username ")]))),_:1,__:[15]},16,["modelValue"])])),_:1}),ql(Ao(S_e),null,{default:ci((()=>[ql(I_e,Jl(i,{modelValue:e.flow.password,placeholder:"********",type:"password","onUpdate:modelValue":r[6]||(r[6]=t=>a(`flows.${e.flow.type}.password`,t))}),{default:ci((()=>r[16]||(r[16]=[Zl(" Password ")]))),_:1,__:[16]},16,["modelValue"])])),_:1})],64)):Xl("",!0),ql(Ao(S_e),null,{default:ci((()=>[ql(I_e,Jl(i,{modelValue:e.flow["x-scalar-client-id"],placeholder:"12345","onUpdate:modelValue":r[7]||(r[7]=t=>a(`flows.${e.flow.type}.x-scalar-client-id`,t))}),{default:ci((()=>r[17]||(r[17]=[Zl(" Client ID ")]))),_:1,__:[17]},16,["modelValue"])])),_:1}),"clientSecret"in e.flow?(Dl(),jl(Ao(S_e),{key:2},{default:ci((()=>[ql(I_e,Jl(i,{modelValue:e.flow.clientSecret,placeholder:"XYZ123",type:"password","onUpdate:modelValue":r[8]||(r[8]=t=>a(`flows.${e.flow.type}.clientSecret`,t))}),{default:ci((()=>r[18]||(r[18]=[Zl(" Client Secret ")]))),_:1,__:[18]},16,["modelValue"])])),_:1})):Xl("",!0),"x-usePkce"in e.flow?(Dl(),jl(Ao(S_e),{key:3},{default:ci((()=>[ql(I_e,Jl(i,{enum:Ao(Ive),modelValue:e.flow["x-usePkce"],readOnly:"","onUpdate:modelValue":r[9]||(r[9]=t=>a(`flows.${e.flow.type}.x-usePkce`,t))}),{default:ci((()=>r[19]||(r[19]=[Zl(" Use PKCE ")]))),_:1,__:[19]},16,["enum","modelValue"])])),_:1})):Xl("",!0),Object.keys(e.flow.scopes??{}).length?(Dl(),jl(Ao(S_e),{key:4},{default:ci((()=>[ql(R_e,{flow:e.flow,updateScheme:a},null,8,["flow"])])),_:1})):Xl("",!0)],64)),e.flow.token?Xl("",!0):(Dl(),jl(Ao(S_e),{key:2,class:"min-w-full"},{default:ci((()=>[zl("div",j_e,[ql(Ao(Oq),{class:"mr-0.75 p-0 px-2 py-0.5",loading:Ao(t),size:"sm",variant:"outlined",onClick:o},{default:ci((()=>r[20]||(r[20]=[Zl(" Authorize ")]))),_:1,__:[20]},8,["loading"])])])),_:1}))],64))}}),U_e={class:"bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow-hidden px-3 py-1.25 text-ellipsis group-hover/auth:absolute group-hover/auth:h-auto group-hover/auth:border-b *:first:line-clamp-1 *:first:text-ellipsis group-hover/auth:*:first:line-clamp-none"},F_e={key:0,class:"flex min-h-8 border-t text-base"},Q_e={class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},z_e=["onClick"],q_e={class:"relative z-10"},H_e=Li({__name:"RequestAuthTab",props:{collection:{},environment:{},envVariables:{},layout:{},persistAuth:{type:Boolean,default:!1},securitySchemeUids:{},server:{},workspace:{}},setup(e){const t=AOe(),{securitySchemes:r}=t,n=gc((()=>e.securitySchemeUids.map((e=>({scheme:r[e]}))))),a=So(""),o=e=>{const t=e.description?`: ${e.description}`:"",r=`${Pn(e.nameKey)}${t||`: ${e.type}`}`;if("apiKey"===e.type)return`${Pn(e.nameKey)}${t||`: ${e.in}`}`;if("oauth2"===e.type){const r=Object.values(e.flows??{})[0];return`${Pn(e.nameKey)}: ${a.value?a.value:r?.type??""}${t}`}return"http"===e.type?`${Pn(e.nameKey)}: ${e.scheme}${t}`:`${r}${t}`},i=(r,n,a)=>{T_e(r,n,a,t,l.value,e.persistAuth)};Yi((()=>{if(!e.persistAuth)return;const t=JSON.parse(Hj().getItem(zj)??"{}"),n=Object.keys(r).reduce(((e,t)=>{const n=r[t];return n&&(e[n.nameKey]=n.uid),e}),{});Object.entries(t).forEach((([e,t])=>{const r=n[e];r&&Object.entries(t).forEach((([e,t])=>{DOe(l.value,"scalar-edit-security-scheme",{uid:r,path:e,value:t})}))}));try{const e=JSON.parse(Hj().getItem(qj)??"").map((e=>Array.isArray(e)?e.map((e=>n[e])).filter(OB):n[e])).filter(OB);DOe(l.value,"scalar-select-security-schemes",{uids:e})}catch{}}));const s={environment:e.environment,envVariables:e.envVariables,workspace:e.workspace},l=Ui("wrapperRef");return(e,t)=>(Dl(),Ll(Tl,null,[zl("div",{ref_key:"wrapperRef",ref:l},null,512),(Dl(!0),Ll(Tl,null,ps(n.value,(({scheme:r})=>(Dl(),Ll(Tl,{key:r?.uid},[n.value.length>1&&r?(Dl(),jl(Ao(S_e),{key:0},{default:ci((()=>[ql(Ao(h_e),{"aria-label":o(r),class:"text-c-2 group/auth flex items-center leading-[22px] whitespace-nowrap outline-none hover:whitespace-normal"},{default:ci((()=>[zl("p",U_e,Gn(o(r)),1)])),_:2},1032,["aria-label"])])),_:2},1024)):Xl("",!0),r?.description&&n.value.length<=1?(Dl(),jl(Ao(S_e),{key:1},{default:ci((()=>[ql(Ao(h_e),{"aria-label":r.description,class:"max-h-[auto]"},{default:ci((()=>[ql(Ao(X6),{class:"auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25",value:r.description},null,8,["value"])])),_:2},1032,["aria-label"])])),_:2},1024)):Xl("",!0),"http"===r?.type?(Dl(),Ll(Tl,{key:2},["bearer"===r.scheme?(Dl(),jl(Ao(S_e),{key:0},{default:ci((()=>[ql(I_e,Jl({ref_for:!0},s,{containerClass:"reference"===e.layout&&"border-t",modelValue:r.token,placeholder:"Token",type:"password","onUpdate:modelValue":e=>i(r.uid,"token",e)}),{default:ci((()=>t[0]||(t[0]=[Zl(" Bearer Token ")]))),_:2,__:[0]},1040,["containerClass","modelValue","onUpdate:modelValue"])])),_:2},1024)):"basic"===r?.scheme?(Dl(),Ll(Tl,{key:1},[ql(Ao(S_e),null,{default:ci((()=>[ql(I_e,Jl({ref_for:!0},s,{class:"text-c-2",modelValue:r.username,placeholder:"janedoe",required:"","onUpdate:modelValue":e=>i(r.uid,"username",e)}),{default:ci((()=>t[1]||(t[1]=[Zl(" Username ")]))),_:2,__:[1]},1040,["modelValue","onUpdate:modelValue"])])),_:2},1024),ql(Ao(S_e),null,{default:ci((()=>[ql(I_e,Jl({ref_for:!0},s,{modelValue:r.password,placeholder:"********",type:"password","onUpdate:modelValue":e=>i(r.uid,"password",e)}),{default:ci((()=>t[2]||(t[2]=[Zl(" Password ")]))),_:2,__:[2]},1040,["modelValue","onUpdate:modelValue"])])),_:2},1024)],64)):Xl("",!0)],64)):"apiKey"===r?.type?(Dl(),Ll(Tl,{key:3},[ql(Ao(S_e),null,{default:ci((()=>[ql(I_e,Jl({ref_for:!0},s,{containerClass:"reference"===e.layout&&"border-t",modelValue:r.name,placeholder:"api-key","onUpdate:modelValue":e=>i(r.uid,"name",e)}),{default:ci((()=>t[3]||(t[3]=[Zl(" Name ")]))),_:2,__:[3]},1040,["containerClass","modelValue","onUpdate:modelValue"])])),_:2},1024),ql(Ao(S_e),null,{default:ci((()=>[ql(I_e,Jl({ref_for:!0},s,{modelValue:r.value,placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":e=>i(r.uid,"value",e)}),{default:ci((()=>t[4]||(t[4]=[Zl(" Value ")]))),_:2,__:[4]},1040,["modelValue","onUpdate:modelValue"])])),_:2},1024)],64)):"oauth2"===r?.type?(Dl(),Ll(Tl,{key:4},[ql(Ao(S_e),null,{default:ci((()=>[Object.keys(r.flows).length>1?(Dl(),Ll("div",F_e,[zl("div",Q_e,[(Dl(!0),Ll(Tl,null,ps(r?.flows,((t,r,n)=>(Dl(),Ll("button",{key:r,class:zn(["floating-bg text-c-3 relative cursor-pointer border-b-[1px] border-transparent py-1 text-base font-medium",{"!text-c-1 !rounded-none border-b-[1px] !border-current":"reference"!==e.layout&&(a.value===r||0===n&&!a.value),"!text-c-1 !rounded-none border-b-[1px] !border-current opacity-100":"reference"===e.layout&&(a.value===r||0===n&&!a.value)}]),type:"button",onClick:e=>a.value=r},[zl("span",q_e,Gn(r),1)],10,z_e)))),128))])])):Xl("",!0)])),_:2},1024),(Dl(!0),Ll(Tl,null,ps(r?.flows,((t,n,o)=>(Dl(),Ll(Tl,{key:n},[a.value===n||0===o&&!a.value?(Dl(),jl(B_e,Jl({key:0,ref_for:!0},s,{collection:e.collection,flow:t,persistAuth:e.persistAuth,scheme:r,server:e.server,workspace:e.workspace}),null,16,["collection","flow","persistAuth","scheme","server","workspace"])):Xl("",!0)],64)))),128))],64)):"openIdConnect"===r?.type?(Dl(),Ll("div",{key:5,class:zn(["text-c-3 bg-b-1 flex min-h-[calc(4rem+1px)] items-center justify-center border-t border-b-0 px-4 text-base",{"rounded-b-lg":"reference"===e.layout}])}," Coming soon ",2)):Xl("",!0)],64)))),128))],64))}}),V_e=["onClick"],Z_e={class:"relative z-10 font-medium whitespace-nowrap"},W_e={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"},X_e=Cwe(Li({__name:"RequestAuthDataTable",props:{collection:{},environment:{},envVariables:{},layout:{default:"client"},persistAuth:{type:Boolean,default:!1},selectedSchemeOptions:{default:()=>[]},server:{},workspace:{}},setup(e){const t=B7(),r=So(null),n=So(0),a=gc((()=>{if(!e.selectedSchemeOptions||0===e.selectedSchemeOptions.length)return[];const t=e.selectedSchemeOptions[n.value];if(!t)return[];const r=t.id.split(",").filter(Boolean);return r.length>1?r:[t.id]})),o=gc((()=>a.value.length>0));return hl((()=>e.selectedSchemeOptions),(e=>{e&&e[n.value]||(n.value=Math.max(0,n.value-1))})),(e,i)=>(Dl(),Ll("form",{onSubmit:i[1]||(i[1]=Tu((()=>{}),["prevent"]))},[e.selectedSchemeOptions.length>1?(Dl(),Ll("div",{key:0,class:zn(["box-content flex flex-wrap gap-x-2.5 overflow-hidden border border-b-0 px-3","client"===e.layout&&"border-x-0"])},[(Dl(!0),Ll(Tl,null,ps(e.selectedSchemeOptions,((e,t)=>(Dl(),Ll("div",{key:e.id,class:zn(["relative z-1 -mb-[var(--scalar-border-width)] flex h-8 cursor-pointer",[n.value===t?"text-c-1":"text-c-3"]])},[zl("button",{class:"floating-bg relative cursor-pointer border-b-[1px] border-transparent py-1 text-sm font-medium",type:"button",onClick:e=>n.value=t},[zl("span",Z_e,Gn(e.label),1)],8,V_e),n.value===t?(Dl(),Ll("div",W_e)):Xl("",!0)],2)))),128))],2)):Xl("",!0),o.value?(Dl(),jl(Ao(p_e),{key:1,class:zn(["flex-1","reference"===e.layout&&"bg-b-1 rounded-b-lg border border-t-0"]),columns:[""],presentational:""},{default:ci((()=>[ql(H_e,{collection:e.collection,envVariables:e.envVariables,environment:e.environment,layout:e.layout,persistAuth:e.persistAuth,securitySchemeUids:a.value,server:e.server,workspace:e.workspace},null,8,["collection","envVariables","environment","layout","persistAuth","securitySchemeUids","server","workspace"])])),_:1},8,["class"])):(Dl(),Ll("div",{key:2,class:zn(["text-c-3 bg-b-1 flex min-h-16 items-center justify-center border-t px-4 text-sm","reference"===e.layout&&"min-h-[calc(4rem+0.5px)] rounded-b-lg border"])}," No authentication selected ",2)),ql(c_e,{scheme:r.value,state:Ao(t),onClose:i[0]||(i[0]=e=>Ao(t).hide())},null,8,["scheme","state"])],32))}}),[["__scopeId","data-v-8fdc6369"]]),G_e=["id"],Y_e={class:"flex flex-1"},K_e={class:"min-w-0 flex-1 truncate"},J_e=Li({__name:"AuthSelector",props:{collection:{},environment:{},envVariables:{},layout:{},operation:{},persistAuth:{type:Boolean,default:!1},selectedSecuritySchemeUids:{},server:{},title:{},workspace:{}},setup(e){const{layout:t}=rve(),{securitySchemes:r}=AOe(),n=ji(),a=So(null),o=B7(),i=So(null),s=So(!1),l=gc((()=>{const t=LSe(e.operation,e.collection),r=t.filter((e=>Object.keys(e).length));return{filteredRequirements:r,requirements:t}})),c=gc((()=>{const{filteredRequirements:e,requirements:t}=l.value;if(!t.length)return null;const r=!t.some((e=>Object.keys(e).length>1))&&e.length<t.length;return{icon:r?"Unlock":"Lock",text:r?"Optional":"Required"}})),u=gc((()=>e.selectedSecuritySchemeUids.map((e=>{if(Array.isArray(e))return ISe(e,r);const t=r[e??""];return t?NSe(t):void 0})).filter(OB)));function d(e){const t=e.find((e=>e.payload)),r=e.filter((e=>!e.payload)).map((({id:e})=>{const t=e.split(",");return t.length>1?t:e}));t?.payload&&(DOe(g.value?.$el,"scalar-add-auth-option",{payload:t.payload}),t.payload.uid&&r.push(t.payload.uid)),p(r)}const p=t=>{if(e.collection.useCollectionSecurity){if(DOe(g.value?.$el,"scalar-select-security-schemes",{uids:t}),!e.persistAuth)return;const n=t.map((e=>Array.isArray(e)?e.map((e=>r[e]?.nameKey)):r[e]?.nameKey));Hj().setItem(qj,JSON.stringify(n))}else e.operation?.uid&&DOe(g.value?.$el,"scalar-select-operation-security-schemes",{operationUid:e.operation.uid,uids:t})};function h({id:e,label:t}){i.value={id:e,label:t},o.show()}const f=gc((()=>jSe(l.value.filteredRequirements,e.collection?.securitySchemes??[],r,"modal"===t||"reference"===e.layout))),m=e=>{s.value&&e.stopPropagation(),a.value?.$el.click()},g=Ui("wrapperRef");return(r,l)=>(Dl(),jl(Ao(DSe),{ref_key:"wrapperRef",ref:g,class:"group/params relative",itemCount:u.value.length,layout:r.layout,"onUpdate:modelValue":l[2]||(l[2]=e=>s.value=e)},{title:ci((()=>[zl("div",{id:Ao(n),class:"inline-flex items-center gap-0.5 leading-[20px]"},[zl("span",null,Gn(r.title),1),c.value?(Dl(),Ll("span",{key:0,class:zn(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]",{"text-c-1":"Required"===c.value.text}]),onClick:m},Gn(c.value.text),3)):Xl("",!0)],8,G_e)])),actions:ci((()=>[zl("div",Y_e,[ql(Ao(nY),{class:"w-72 text-xs",modelValue:u.value,multiple:"",options:f.value,placement:"bottom-end",teleport:"",onDelete:h,"onUpdate:modelValue":d},{option:ci((({option:e,selected:n})=>[ql(Ao(yX),{multiselect:"",selected:n},null,8,["selected"]),zl("div",K_e,Gn(e.label),1),e.isDeletable??("modal"!==Ao(t)&&"reference"!==r.layout)?(Dl(),jl(Ao(Q6),{key:0,class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",icon:Ao(XZ),label:`Delete ${e.label}`,size:"xs",onClick:Tu((t=>h(e)),["stop"])},null,8,["icon","label","onClick"])):Xl("",!0)])),default:ci((()=>[ql(Ao(Oq),{ref_key:"comboboxButtonRef",ref:a,"aria-describedby":Ao(n),class:"group/combobox-button hover:text-c-1 text-c-2 flex h-fit items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",fullWidth:"",variant:"ghost"},{default:ci((()=>[1===u.value.length?(Dl(),Ll(Tl,{key:0},[l[3]||(l[3]=zl("span",{class:"sr-only"},"Selected Auth Type:",-1)),Zl(" "+Gn(u.value[0]?.label),1)],64)):u.value.length>1?(Dl(),Ll(Tl,{key:1},[l[4]||(l[4]=Zl(" Multiple ")),l[5]||(l[5]=zl("span",{class:"sr-only"},"Auth Types Selected",-1))],64)):(Dl(),Ll(Tl,{key:2},[l[6]||(l[6]=zl("span",{class:"sr-only"},"Select",-1)),l[7]||(l[7]=Zl(" Auth Type "))],64)),ql(Ao(uH),{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"])])])),default:ci((()=>[ql(X_e,{collection:r.collection,envVariables:r.envVariables,environment:r.environment,layout:r.layout,persistAuth:r.persistAuth,selectedSchemeOptions:u.value,server:r.server,workspace:r.workspace},null,8,["collection","envVariables","environment","layout","persistAuth","selectedSchemeOptions","server","workspace"]),ql(c_e,{scheme:i.value,state:Ao(o),onClose:l[0]||(l[0]=e=>Ao(o).hide()),onDelete:l[1]||(l[1]=t=>(t=>{if(!t)return;const r=e.selectedSecuritySchemeUids.filter((e=>{const r=t.split(",");return r.length>1&&Array.isArray(e)&&r.length===e.length?e.every((e=>!r.includes(e))):e!==t}));p(r),a.value?.$el.focus(),o.hide()})(i.value?.id))},null,8,["scheme","state"])])),_:1},8,["itemCount","layout"]))}}),eEe=Cwe(J_e,[["__scopeId","data-v-6b2a41a3"]]),tEe=["shell/curl","ruby/native","node/undici","php/guzzle","python/python3"],rEe=(e,t=tEe)=>Boolean(e&&t.includes(e)),nEe=(e=[])=>{const t=new URLSearchParams;return e.forEach((e=>{t.append(e.name,e.value)})),t};class aEe{constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter="",this.lineJoin="\n",this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{const r=this.indentLine(e,t);this.code.unshift(r)},this.push=(e,t)=>{const r=this.indentLine(e,t);this.code.push(r)},this.blank=()=>{this.code.push("")},this.join=()=>{const e=this.code.join(this.lineJoin);return this.postProcessors.reduce(((e,t)=>t(e)),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",this.lineJoin=null!=t?t:"\n"}}function oEe(e,t={}){const{delimiter:r='"',escapeChar:n="\\",escapeNewlines:a=!0}=t;return[...e.toString()].map((e=>"\b"===e?`${n}b`:"\t"===e?`${n}t`:"\n"===e?a?`${n}n`:e:"\f"===e?`${n}f`:"\r"===e?a?`${n}r`:e:e===n?n+n:e===r?n+r:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")}const iEe=e=>oEe(e,{delimiter:"'"}),sEe=e=>oEe(e,{delimiter:'"'}),lEe={info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:r,allHeaders:n,postData:a})=>{const{push:o,blank:i,join:s}=new aEe({indent:" "});o("CURL *hnd = curl_easy_init();"),i(),o(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),o(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(r);return l.length&&(i(),o("struct curl_slist *headers = NULL;"),l.forEach((e=>{r[e]?o(`headers = curl_slist_append(headers, "${e}: ${sEe(r[e])}");`):o(`headers = curl_slist_append(headers, "${e};");`)})),o("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),n.cookie&&(i(),o(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${n.cookie}");`)),null!=a&&(i(),a.text?o(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(a.text)});`):"application/x-www-form-urlencoded"===a.mimeType&&a.params?o(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "${nEe(a.params).toString()}");`):"multipart/form-data"===a.mimeType&&a.params&&(o("curl_mime *mime = curl_mime_init(hnd);"),a.params.forEach((e=>{i(),o("{"),o("curl_mimepart *part = curl_mime_addpart(mime);",1),e.name&&o(`curl_mime_name(part, "${e.name}");`,1),e.fileName?o(`curl_mime_filedata(part, "${e.fileName}");`,1):e.value&&o(`curl_mime_data(part, "${sEe(e.value)}", CURL_ZERO_TERMINATED);`,1),o("}")})),i(),o("curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime);"))),i(),o("CURLcode ret = curl_easy_perform(hnd);"),s()}};function cEe(e,t){const r=new URL(t?.url??""),n="/"===r.pathname?r.origin:r.toString(),a={method:t?.method??"GET",url:n,httpVersion:"HTTP/1.1",cookies:[],headers:t?.headers??[],headersSize:-1,bodySize:-1,queryString:Array.from(r.searchParams.entries()).map((([e,t])=>({name:e,value:t}))),postData:t?.postData},o=(a?.headers??[]).reduce(((e,t)=>({...e,[t.name]:t.value})),{}),i=(a.queryString??[]).reduce(((e,t)=>({...e,[t.name]:t.value})),{}),s=(a.cookies??[]).reduce(((e,t)=>({...e,[t.name]:t.value})),{}),l=new URL(a.url),c={protocol:l.protocol,hostname:l.hostname,host:l.hostname,port:l.port,pathname:l.pathname.split("/").map((e=>encodeURIComponent(decodeURIComponent(e)))).join("/")+l.search,path:l.pathname.split("/").map((e=>encodeURIComponent(decodeURIComponent(e)))).join("/")+l.search,search:l.search,hash:l.hash,href:l.href,origin:l.origin,password:l.password,searchParams:l.searchParams,username:l.username,toString:l.toString,toJSON:()=>l.toJSON()},u={url:a.url,uriObj:c,method:a.method?.toLocaleUpperCase()??"GET",httpVersion:a.httpVersion,cookies:a.cookies??[],headers:a.headers??[],headersSize:a.headersSize,headersObj:o??{},bodySize:a.bodySize,queryString:a.queryString??[],postData:a.postData?{mimeType:a.postData.mimeType??"application/json",text:a.postData.text??"",params:a.postData.params??[],paramsObj:a.postData.params?.reduce(((e,t)=>(t.name&&void 0!==t.value&&(e[t.name]=t.value),e)),{})??{}}:void 0,allHeaders:o??{},fullUrl:a.url,queryObj:i??{},cookiesObj:s??{}};if("application/json"===u.postData?.mimeType&&u.postData?.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(e){console.error("Error parsing JSON:",e)}return"function"==typeof e.convert?e.convert(u):""}const uEe={target:"c",client:"libcurl",title:"Libcurl",generate:e=>cEe(lEe,e)},dEe=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),pEe=(e,t)=>{const r=dEe(e,t);if(r)return e[r]},hEe=(e,t)=>Boolean(dEe(e,t));class fEe{constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}let mEe=class{constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}};const gEe=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),bEe=e=>"object"===gEe(e)&&0===Object.keys(e).length,vEe=e=>(Object.keys(e).filter((t=>bEe(e[t]))).forEach((t=>{delete e[t]})),e),yEe=(e,t)=>{const r=" ".repeat(e);return t.replace(/\n/g,`\n${r}`)},OEe=e=>{switch(gEe(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce(((t,r)=>`${t}:${r} ${yEe(r.length+2,OEe(e[r]))}\n `),"").trim();return`{${yEe(1,t)}}`}case"array":{const t=e.reduce(((e,t)=>`${e} ${OEe(t)}`),"").trim();return`[${yEe(1,t)}]`}}},wEe={info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:r,url:n,allHeaders:a},o)=>{const{push:i,join:s}=new aEe({indent:null==o?void 0:o.indent});if(t=t.toLowerCase(),!["get","post","put","delete","patch","head","options"].includes(t))return i("Method not supported"),s();const l={headers:a,"query-params":e};switch(e&&Object.keys(e).length>0&&(n=n.split("?")[0]),null==r?void 0:r.mimeType){case"application/json":{l["content-type"]=new fEe("json"),l["form-params"]=r.jsonObj;const e=dEe(l.headers,"content-type");e&&delete l.headers[e]}break;case"application/x-www-form-urlencoded":{l["form-params"]=r.paramsObj;const e=dEe(l.headers,"content-type");e&&delete l.headers[e]}break;case"text/plain":{l.body=r.text;const e=dEe(l.headers,"content-type");e&&delete l.headers[e]}break;case"multipart/form-data":if(r.params){l.multipart=r.params.map((e=>e.fileName&&!e.value?{name:e.name,content:new mEe(e.fileName)}:{name:e.name,content:e.value}));const e=dEe(l.headers,"content-type");e&&delete l.headers[e]}}if("application/json"===pEe(l.headers,"accept")){l.accept=new fEe("json");const e=dEe(l.headers,"accept");e&&delete l.headers[e]}if(i("(require '[clj-http.client :as client])\n"),bEe(vEe(l)))i(`(client/${t} "${n}")`);else{const e=11+t.length+n.length;i(`(client/${t} "${n}" ${yEe(e,OEe(vEe(l)))})`)}return s()}},xEe={target:"clojure",client:"clj_http",title:"clj-http",generate:e=>cEe(wEe,e)},kEe={info:{key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},convert:({allHeaders:e,postData:t,method:r,fullUrl:n},a)=>{let o,i;const s={indent:" ",...a},{push:l,join:c}=new aEe({indent:s.indent});l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{let t=pEe(e,"accept-encoding");if(!t)return[];const r={gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},n=[];return"string"==typeof t&&(t=[t]),t.forEach((e=>{e.split(",").forEach((e=>{const t=/\s*([^;\s]+)/.exec(e);if(t){const e=r[t[1]];e&&n.push(e)}}))})),n})(e);(d||p.length)&&(u="clientHandler",l("var clientHandler = new HttpClientHandler"),l("{"),d&&l("UseCookies = false,",1),p.length&&l(`AutomaticDecompression = ${p.join(" | ")},`,1),l("};")),l(`var client = new HttpClient(${u});`),l("var request = new HttpRequestMessage"),l("{"),r=(r=r.toUpperCase())&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"].includes(r)?`HttpMethod.${r[0]}${r.substring(1).toLowerCase()}`:`new HttpMethod("${r}")`,l(`Method = ${r},`,1),l(`RequestUri = new Uri("${n}"),`,1);const h=Object.keys(e).filter((e=>{switch(e.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}}));if(h.length&&(l("Headers =",1),l("{",1),h.forEach((t=>{l(`{ "${t}", "${sEe(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded":l("Content = new FormUrlEncodedContent(new Dictionary<string, string>",1),l("{",1),null===(o=t.params)||void 0===o||o.forEach((e=>{l(`{ "${e.name}", "${e.value}" },`,2)})),l("}),",1);break;case"multipart/form-data":l("Content = new MultipartFormDataContent",1),l("{",1),null===(i=t.params)||void 0===i||i.forEach((e=>{l(`new StringContent(${JSON.stringify(e.value||"")})`,2),l("{",2),l("Headers =",3),l("{",3),e.contentType&&l(`ContentType = new MediaTypeHeaderValue("${e.contentType}"),`,4),l('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),l("{",4),l(`Name = "${e.name}",`,5),e.fileName&&l(`FileName = "${e.fileName}",`,5),l("}",4),l("}",3),l("},",2)})),l("},",1);break;default:l(`Content = new StringContent(${JSON.stringify((null==t?void 0:t.text)||"")})`,1),l("{",1),l("Headers =",2),l("{",2),l(`ContentType = new MediaTypeHeaderValue("${e}")`,3),l("}",2),l("}",1)}}return l("};"),l("using (var response = await client.SendAsync(request))"),l("{"),l("response.EnsureSuccessStatusCode();",1),l("var body = await response.Content.ReadAsStringAsync();",1),l("Console.WriteLine(body);",1),l("}"),c()}},SEe={target:"csharp",client:"httpclient",title:"HttpClient",generate:e=>cEe(kEe,e)},_Ee={info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:r,headersObj:n,cookies:a,postData:o})=>{const{push:i,join:s}=new aEe;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(i(`var client = new RestClient("${r}");`),i(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(n).forEach((e=>{i(`request.AddHeader("${e}", "${sEe(n[e])}");`)})),null==a||a.forEach((({name:e,value:t})=>{i(`request.AddCookie("${e}", "${t}");`)})),null==o?void 0:o.text){const t=pEe(e,"content-type"),r=JSON.stringify(o.text);i(`request.AddParameter("${t}", ${r}, ParameterType.RequestBody);`)}return i("IRestResponse response = client.Execute(request);"),s()}},EEe={target:"csharp",client:"restsharp",title:"RestSharp",generate:e=>cEe(_Ee,e)},TEe={target:"dart",client:"http",title:"Http",generate(e,t){const r={method:"GET",...e};r.method=r.method.toUpperCase();let n="import 'package:http/http.dart' as http;\n\nvoid main() async {\n",a="",o="";r.cookies&&r.cookies.length>0&&(o=r.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; "),a=` "Cookie": "${o}",\n`);const i=r.headers?.reduce(((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),e)),{})||{};if(t?.auth){const{username:e,password:r}=t.auth;if(e&&r){const t=`${e}:${r}`;i.Authorization=`'Basic ' + base64Encode(utf8.encode('${t}'))`}}if(a&&(i.Cookie=o),Object.keys(i).length>0){n+=" final headers = <String,String>{\n";for(const[e,t]of Object.entries(i))t.includes("utf8.encode")?n+=` '${e}': ${t},\n`:n+=` '${e}': '${t}',\n`;n+=" };\n\n"}const s=r.queryString?.length?"?"+r.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&"):"",l=`${r.url}${s}`;let c="";if(r.postData)if("application/json"===r.postData.mimeType)c=` final body = r'${r.postData.text}';\n\n`;else if("application/x-www-form-urlencoded"===r.postData.mimeType)c=` final body = '${r.postData.params?.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)).join("&")||""}';\n\n`;else if("multipart/form-data"===r.postData.mimeType){c=" final body = <String,String>{\n";for(const e of r.postData.params||[]){const t=e.value||"",r=e.fileName||"";c+=` '${e.name}': '${r||t}',\n`}c+=" };\n\n"}else"application/octet-stream"===r.postData.mimeType&&(c=` final body = '${r.postData.text}';\n\n`);return c&&(n+=c),n+=` final response = await http.${r.method.toLowerCase()}(Uri.parse('${l}')${Object.keys(i).length>0?", headers: headers":""}${c?", body: body":""});\n`,n+=" print(response.body);\n",n+="}",n}},AEe={info:{key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},convert:({postData:e,method:t,allHeaders:r,fullUrl:n},a={})=>{const{blank:o,push:i,join:s,addPostProcessor:l}=new aEe({indent:"\t"}),{showBoilerplate:c=!0,checkErrors:u=!1,printBody:d=!0,timeout:p=-1,insecureSkipVerify:h=!1}=a,f=u?"err":"_",m=c?1:0,g=()=>{u&&(i("if err != nil {",m),i("panic(err)",m+1),i("}",m))},b=new Set;c&&(i("package main"),o(),i("import ()"),l((e=>{const t=[...b];t.sort();const r=t.map((e=>`\t"${e}"`)).join("\n");return e.replace(/import \(\)/,`import (\n${r}\n)`)})),b.add("fmt"),b.add("net/http"),o(),i("func main() {")),h&&(b.add("crypto/tls"),i("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",m),i("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",m));const v=p>0,y=v||h,O=y?"client":"http.DefaultClient";return y&&(i("client := http.Client{",m),v&&(b.add("time"),i(`Timeout: time.Duration(${p} * time.Second),`,m+1)),h&&i("Transport: insecureTransport,",m+1),i("}",m),o()),i(`url := "${n}"`,m),o(),null!=e&&(e.params||e.text)?"application/x-www-form-urlencoded"===e.mimeType&&e.params?(b.add("net/url"),b.add("strings"),i("postData := url.Values{}",m),e.params.forEach((e=>{i(`postData.Set("${e.name}", "${sEe(e.value)}")`,m)})),o(),i(`req, ${f} := http.NewRequest("${t}", url, strings.NewReader(postData.Encode()))`,m)):"multipart/form-data"===e.mimeType&&e.params?(b.add("bytes"),b.add("mime/multipart"),i("payload := &bytes.Buffer{}",m),i("writer := multipart.NewWriter(payload)",m),e.params.forEach((e=>{o(),e.fileName?(i(`part, ${f} := writer.CreateFormFile("${e.name}", "${e.fileName}")`,m),g(),o(),i(`f, ${f} := os.Open("${e.fileName}")`,m),g(),i("defer f.Close()",m),o(),i(`_, ${f} = io.Copy(part, f)`,m),g()):(i(`${f} = writer.WriteField("${e.name}", "${sEe(e.value)}")`,m),g())})),i("writer.Close()",m),o(),i(`req, ${f} := http.NewRequest("${t}", url, payload)`,m)):(b.add("strings"),i(`payload := strings.NewReader(${JSON.stringify(e.text)})`,m),o(),i(`req, ${f} := http.NewRequest("${t}", url, payload)`,m)):i(`req, ${f} := http.NewRequest("${t}", url, nil)`,m),g(),o(),null!=e&&"multipart/form-data"===e.mimeType&&e.params&&i('req.Header.Set("Content-Type", writer.FormDataContentType())',m),Object.keys(r).length&&(Object.keys(r).forEach((e=>{i(`req.Header.Add("${e}", "${sEe(r[e])}")`,m)})),o()),i(`res, ${f} := ${O}.Do(req)`,m),g(),d&&(b.add("io"),o(),i("defer res.Body.Close()",m),i(`body, ${f} := io.ReadAll(res.Body)`,m),g()),o(),i("fmt.Println(res)",m),d&&i("fmt.Println(string(body))",m),c&&(o(),i("}")),s()}},CEe={target:"go",client:"native",title:"NewRequest",generate:e=>cEe(AEe,e)},PEe={target:"http",client:"http1.1",title:"HTTP/1.1",generate(e){const t={method:"GET",headers:[],queryString:[],...e};let r,n;t.method=t.method.toUpperCase();try{r=new URL(t.url||"http://"),n=r.pathname+(r.search||"")}catch(e){n=t.url||"/"}const a=r?.hostname||"UNKNOWN_HOSTNAME";let o=`${t.method} ${n} HTTP/1.1\r\n`;if(t.queryString.length){const e=t.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&");o=`${t.method} ${n}?${e} HTTP/1.1\r\n`}const i=new Map;if(i.set("Host",a),t.headers.forEach((e=>{i.has(e.name)?i.set(e.name,`${i.get(e.name)}, ${e.value}`):i.set(e.name,e.value)})),t.queryString.length){const e=t.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&");o=`${t.method} ${n}?${e} HTTP/1.1\r\n`}let s="";if(t.postData)if("application/json"===t.postData.mimeType&&t.postData.text)i.set("Content-Type","application/json"),s=t.postData.text;else if("application/octet-stream"===t.postData.mimeType&&t.postData.text)i.set("Content-Type","application/octet-stream"),s=t.postData.text;else if("application/x-www-form-urlencoded"===t.postData.mimeType&&t.postData.params){const e=t.postData.params.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)).join("&");i.set("Content-Type","application/x-www-form-urlencoded"),s=e}else if("multipart/form-data"===t.postData.mimeType&&t.postData.params){const e="----WebKitFormBoundary7MA4YWxkTrZu0gW";i.set("Content-Type",`multipart/form-data; boundary=${e}`),s=t.postData.params.map((t=>t.fileName?`--${e}\r\nContent-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"\r\n\r\n`:`--${e}\r\nContent-Disposition: form-data; name="${t.name}"\r\n\r\n${t.value}\r\n`)).join("")+`--${e}--\r\n`}return i.forEach(((e,t)=>{o+=`${t}: ${e}\r\n`})),o+=`\r\n${s}`,o}},$Ee={info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},a)=>{const o={indent:" ",...a},{blank:i,push:s,join:l}=new aEe({indent:o.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${n}")`),Object.keys(t).forEach((e=>{s(`.setHeader("${e}", "${sEe(t[e])}")`,1)})),(null==r?void 0:r.text)&&s(`.setBody(${JSON.stringify(r.text)})`,1),s(".execute()",1),s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),s(".join();",1),i(),s("client.close();"),l()}},MEe={target:"java",client:"asynchttp",title:"AsyncHttp",generate:e=>cEe($Ee,e)},DEe={info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:r,postData:n},a)=>{const o={indent:" ",...a},{push:i,join:s}=new aEe({indent:o.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{i(`.header("${t}", "${sEe(e[t])}")`,2)})),(null==n?void 0:n.text)?i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(n.text)}))`,2):i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),i(".build();",2),i("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),i("System.out.println(response.body());"),s()}},REe={target:"java",client:"nethttp",title:"java.net.http",generate:e=>cEe(DEe,e)},NEe={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:r,allHeaders:n},a)=>{const o={indent:" ",...a},{push:i,blank:s,join:l}=new aEe({indent:o.indent});return i("OkHttpClient client = new OkHttpClient();"),s(),null!=e&&("application/x-www-form-urlencoded"===e.mimeType&&e.params?(i("FormBody formBody = new FormBody.Builder()"),e.params.forEach((e=>{i(`.addEncoded("${e.name}", "${e.value}")`,1)})),i(".build();",1),s()):"multipart/form-data"===e.mimeType&&e.params?(i("MultipartBody body = new MultipartBody.Builder()"),i(".setType(MultipartBody.FORM)",1),e.params.forEach((e=>{void 0!==e.fileName?i(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1):void 0!==e.value&&i(`.addFormDataPart("${e.name}", "${e.value}")`,1)})),i(".build();",1),s()):(i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),i("Request request = new Request.Builder()"),i(`.url("${r}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text||e.params)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),Object.keys(n).forEach((e=>{i(`.addHeader("${e}", "${sEe(n[e])}")`,1)})),i(".build();",1),s(),i("Response response = client.newCall(request).execute();"),l()}},IEe={target:"java",client:"okhttp",title:"OkHttp",generate:e=>cEe(NEe,e)},LEe={info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},a)=>{const o={indent:" ",...a},{join:i,push:s}=new aEe({indent:o.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${n}")`):s(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${n}")`),Object.keys(t).forEach((e=>{s(`.header("${e}", "${sEe(t[e])}")`,1)})),(null==r?void 0:r.text)&&s(`.body(${JSON.stringify(r.text)})`,1),s(".asString();",1),i()}},jEe={target:"java",client:"unirest",title:"Unirest",generate:e=>cEe(LEe,e)},{toString:BEe}=Object.prototype,{propertyIsEnumerable:UEe}=Object.prototype;function FEe(e,t,r){const n=[];return function e(t,r={},a=""){const o=r.indent||"\t";let i;i=void 0===r.inlineCharacterLimit?{newline:"\n",newlineOrSpace:"\n",pad:a,indent:a+o}:{newline:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newlineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const s=e=>{if(void 0===r.inlineCharacterLimit)return e;const t=e.replace(new RegExp(i.newline,"g"),"").replace(new RegExp(i.newlineOrSpace,"g")," ").replace(new RegExp(i.pad+"|"+i.indent,"g"),"");return t.length<=r.inlineCharacterLimit?t:e.replace(new RegExp(i.newline+"|"+i.newlineOrSpace,"g"),"\n").replace(new RegExp(i.pad,"g"),a).replace(new RegExp(i.indent,"g"),a+o)};if(n.includes(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||(l=t,"[object RegExp]"===BEe.call(l)))return String(t);var l,c;if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";n.push(t);const l="["+i.newline+t.map(((n,s)=>{const l=t.length-1===s?i.newline:","+i.newlineOrSpace;let c=e(n,r,a+o);return r.transform&&(c=r.transform(t,s,c)),i.indent+c+l})).join("")+i.pad+"]";return n.pop(),s(l)}if(function(e){const t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){let l=(c=t,[...Object.keys(c),...Object.getOwnPropertySymbols(c).filter((e=>UEe.call(c,e)))]);if(r.filter&&(l=l.filter((e=>r.filter(t,e)))),0===l.length)return"{}";n.push(t);const u="{"+i.newline+l.map(((n,s)=>{const c=l.length-1===s?i.newline:","+i.newlineOrSpace,u="symbol"==typeof n,d=!u&&/^[a-z$_][$\w]*$/i.test(n),p=u||d?n:e(n,r);let h=e(t[n],r,a+o);return r.transform&&(h=r.transform(t,n,h)),i.indent+String(p)+": "+h+c})).join("")+i.pad+"}";return n.pop(),s(u)}return t=t.replace(/\\/g,"\\\\"),t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),!1===r.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/'/g,"\\'")}'`}(e,t,r)}const QEe={info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({allHeaders:e,method:t,url:r,queryObj:n,postData:a},o)=>{const i={indent:" ",...o},{blank:s,push:l,join:c,addPostProcessor:u}=new aEe({indent:i.indent});l("import axios from 'axios';"),s();const d={method:t,url:r};switch(Object.keys(n).length&&(d.params=n),Object.keys(e).length&&(d.headers=e),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.params&&(l("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":a.jsonObj&&(d.data=a.jsonObj);break;case"multipart/form-data":if(!a.params)break;l("const form = new FormData();"),a.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),s(),d.data="[form]";break;default:(null==a?void 0:a.text)&&(d.data=a.text)}const p=FEe(d,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form");return l(`const options = ${p};`),s(),l("try {"),l("const { data } = await axios.request(options);",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},zEe={target:"js",client:"axios",title:"Axios",generate:e=>cEe(QEe,e)};function qEe(e){return/\s|-/.test(e)}class HEe{constructor(e){this.value=e}}function VEe(e,t=0){const r=[],n=" ".repeat(t),a=" ".repeat(t+2);if(0===Object.keys(e).length)return"{}";for(const[n,o]of Object.entries(e)){const e=qEe(n)?`'${n}'`:n;if(o instanceof HEe){const t=o.value.split("\n");let n=`${o.value}`;t.length>1&&(n=t.map(((e,t)=>0===t?e:`${a}${e}`)).join("\n")),r.push(`${a}${e}: ${n}`)}else if(Array.isArray(o)){const n=o.map((e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?VEe(e):JSON.stringify(e)));if(n.some((e=>e.includes("\n")))){const o=n.map((e=>ZEe(e,t+4))).join(",\n");r.push(`${a}${e}: [\n${o}\n${a}]`)}else r.push(`${a}${e}: [${n.join(", ")}]`)}else if(o&&"object"==typeof o)r.push(`${a}${e}: ${VEe(o,t+2)}`);else if("string"==typeof o){const t=`'${o}'`;r.push(`${a}${e}: ${t}`)}else r.push(`${a}${e}: ${o}`)}return`{\n${r.join(",\n")}\n${n}}`}function ZEe(e,t){const r=" ".repeat(t);return e.split("\n").map((e=>`${r}${e}`)).join("\n")}const WEe={target:"js",client:"fetch",title:"Fetch",generate(e){const t={method:"GET",...e};let r="";t.method=t.method.toUpperCase();const n={method:"GET"===t.method?void 0:t.method},a=nEe(t.queryString),o=a.size?`?${a.toString()}`:"";if(t.headers?.length&&(n.headers={},t.headers.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=>{void 0===n[e]&&delete n[e]})),t.postData){const{mimeType:e,text:a,params:o}=t.postData;if("application/json"===e&&a)try{n.body=new HEe(`JSON.stringify(${VEe(JSON.parse(a))})`)}catch(e){n.body=a}else if("multipart/form-data"===e&&o)r="const formData = new FormData()\n",o.forEach((e=>{void 0!==e.fileName?r+=`formData.append('${e.name}', new Blob([]), '${e.fileName}')\n`:void 0!==e.value&&(r+=`formData.append('${e.name}', '${e.value}')\n`)})),r+="\n",n.body=new HEe("formData");else if("application/x-www-form-urlencoded"===e&&o){const e=Object.fromEntries(o.map((e=>[e.name,e.value])));n.body=new HEe(`new URLSearchParams(${VEe(e)})`)}else n.body=t.postData.text}const i=Object.keys(n).length?`, ${VEe(n)}`:"";return`${r}fetch('${t.url}${o}'${i})`}},XEe={info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:r,postData:n},a)=>{let o;const i={indent:" ",...a},{blank:s,push:l,join:c}=new aEe({indent:i.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:r};switch(null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":u.data=n.paramsObj?n.paramsObj:n.text;break;case"application/json":u.processData=!1,u.data=n.text;break;case"multipart/form-data":if(!n.params)break;if(l("const form = new FormData();"),n.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",hEe(r,"content-type")&&(null===(o=pEe(r,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=dEe(r,"content-type");e&&delete u.headers[e]}s();break;default:(null==n?void 0:n.text)&&(u.data=n.text)}const d=FEe(u,{indent:i.indent}).replace("'[form]'","form");return l(`const settings = ${d};`),s(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}},GEe={target:"js",client:"jquery",title:"jQuery",generate:e=>cEe(XEe,e)},YEe={target:"js",client:"ofetch",title:"ofetch",generate(e){const t={method:"GET",...e};t.method=t.method.toUpperCase();const r={method:"GET"===t.method?void 0:t.method};t.queryString?.length&&(r.query=Object.fromEntries(t.queryString.map((e=>[e.name,e.value])))),t.headers?.length&&(r.headers={},t.headers.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=>{void 0===r[e]&&delete r[e]})),t.postData&&(r.body=t.postData.text,"application/json"===t.postData.mimeType&&(r.body=JSON.parse(r.body)));const n=Object.keys(r).length?`, ${VEe(r)}`:"";return`import { ofetch } from 'ofetch'\n\nofetch('${t.url}'${n})`}},KEe={info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:r,fullUrl:n},a)=>{let o;const i={indent:" ",cors:!0,...a},{blank:s,push:l,join:c}=new aEe({indent:i.indent});switch(null==e?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${FEe(e.jsonObj,{indent:i.indent})});`),s();break;case"multipart/form-data":if(!e.params)break;if(l("const data = new FormData();"),e.params.forEach((e=>{l(`data.append('${e.name}', '${e.value||e.fileName||""}');`)})),hEe(t,"content-type")&&(null===(o=pEe(t,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=dEe(t,"content-type");e&&delete t[e]}s();break;default:l(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}return l("const xhr = new XMLHttpRequest();"),i.cors&&l("xhr.withCredentials = true;"),s(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),s(),l(`xhr.open('${r}', '${n}');`),Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${iEe(t[e])}');`)})),s(),l("xhr.send(data);"),c()}},JEe={target:"js",client:"xhr",title:"XHR",generate:e=>cEe(KEe,e)},eTe={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:r,allHeaders:n},a)=>{const o={indent:" ",...a},{blank:i,join:s,push:l}=new aEe({indent:o.indent});return l("val client = OkHttpClient()"),i(),null!=e&&("application/x-www-form-urlencoded"===e.mimeType&&e.params?(l("val formBody = FormBody.Builder()"),e.params.forEach((e=>{l(`.addEncoded("${e.name}", "${e.value}")`,1)})),l(".build()",1),i()):"multipart/form-data"===e.mimeType&&e.params?(l("val body = MultipartBody.Builder()"),l(".setType(MultipartBody.FORM)",1),e.params.forEach((e=>{void 0!==e.fileName?l(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), File("${e.fileName}")))`,1):void 0!==e.value&&l(`.addFormDataPart("${e.name}", "${e.value}")`,1)})),l(".build()",1),i()):(l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`))),l("val request = Request.Builder()"),l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(r.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(r.toUpperCase())?(null==e?void 0:e.text||e.params)?l(`.${r.toLowerCase()}(body)`,1):l(`.${r.toLowerCase()}(null)`,1):l(`.${r.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${r.toUpperCase()}", body)`,1):l(`.method("${r.toUpperCase()}", null)`,1),Object.keys(n).forEach((e=>{l(`.addHeader("${e}", "${sEe(n[e])}")`,1)})),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),s()}},tTe={target:"kotlin",client:"okhttp",title:"OkHttp",generate:e=>cEe(eTe,e)},rTe={info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({method:e,url:t,queryObj:r,allHeaders:n,postData:a},o)=>{const i={indent:" ",...o},{blank:s,join:l,push:c,addPostProcessor:u}=new aEe({indent:i.indent});c("const axios = require('axios').default;");const d={method:e,url:t};switch(Object.keys(r).length&&(d.params=r),Object.keys(n).length&&(d.headers=n),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.params&&(c("const { URLSearchParams } = require('url');"),s(),c("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{c(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":s(),a.jsonObj&&(d.data=a.jsonObj);break;default:s(),(null==a?void 0:a.text)&&(d.data=a.text)}const p=FEe(d,{indent:" ",inlineCharacterLimit:80});return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1),c("console.log(data);",1),c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},nTe={target:"node",client:"axios",title:"Axios",generate:e=>cEe(rTe,e)},aTe={target:"node",client:"fetch",title:"Fetch",generate(e){const t={method:"GET",...e};let r="";t.method=t.method.toUpperCase();const n={method:"GET"===t.method?void 0:t.method},a=nEe(t.queryString),o=a.size?`?${a.toString()}`:"";if(t.headers?.length&&(n.headers={},t.headers.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=>{void 0===n[e]&&delete n[e]})),t.postData){const{mimeType:e,text:a,params:o}=t.postData;let i=!1;if("application/json"===e&&a)try{n.body=new HEe(`JSON.stringify(${VEe(JSON.parse(a))})`)}catch(e){n.body=a}else if("multipart/form-data"===e&&o)r="const formData = new FormData()\n",o.forEach((e=>{void 0!==e.fileName?(i||(r=`import fs from 'node:fs'\n\n${r}`,i=!0),r+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}')\n`):void 0!==e.value&&(r+=`formData.append('${e.name}', '${e.value}')\n`)})),r+="\n",n.body=new HEe("formData");else if("application/x-www-form-urlencoded"===e&&o){const e=Object.fromEntries(o.map((e=>[e.name,e.value])));n.body=new HEe(`new URLSearchParams(${VEe(e)})`)}else n.body=t.postData.text}const i=Object.keys(n).length?`, ${VEe(n)}`:"";return`${r}fetch('${t.url}${o}'${i})`}},oTe={target:"node",client:"ofetch",title:"ofetch",generate(e){const t={method:"GET",...e};t.method=t.method.toUpperCase();const r={method:"GET"===t.method?void 0:t.method};t.queryString?.length&&(r.query=Object.fromEntries(t.queryString.map((e=>[e.name,e.value])))),t.headers?.length&&(r.headers={},t.headers.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=>{void 0===r[e]&&delete r[e]})),t.postData&&(r.body=t.postData.text,"application/json"===t.postData.mimeType&&(r.body=JSON.parse(r.body)));const n=Object.keys(r).length?`, ${VEe(r)}`:"";return`import { ofetch } from 'ofetch'\n\nofetch('${t.url}'${n})`}},iTe={target:"node",client:"undici",title:"undici",generate(e){const t={method:"GET",...e};t.method=t.method.toUpperCase();const r={method:"GET"===t.method?void 0:t.method},n=nEe(t.queryString),a=n.size?`?${n.toString()}`:"";t.headers?.length&&(r.headers={},t.headers.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=>{void 0===r[e]&&delete r[e]})),t.postData&&(r.body=t.postData.text,"application/json"===t.postData.mimeType&&(r.body=new HEe(`JSON.stringify(${VEe(JSON.parse(r.body))})`)));const o=Object.keys(r).length?`, ${VEe(r)}`:"";return`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${t.url}${a}'${o})`}},sTe=(e,t,r,n)=>{const a=`${e} *${t} = `;return`${a}${lTe(r,n?a.length:void 0)};`},lTe=(e,t)=>{const r=void 0===t?", ":`,\n ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map((e=>lTe(e))).join(r)} ]`;case"[object Object]":{const t=[];for(const r in e)t.push(`@"${r}": ${lTe(e[r])}`);return`@{ ${t.join(r)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},cTe={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:r,fullUrl:n},a)=>{let o;const i={indent:" ",pretty:!0,timeout:10,...a},{push:s,join:l,blank:c}=new aEe({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("#import <Foundation/Foundation.h>"),Object.keys(e).length&&(u.hasHeaders=!0,c(),s(sTe("NSDictionary","headers",e,i.pretty))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(null===(o=t.params)||void 0===o?void 0:o.length){c();const[e,...r]=t.params;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),r.forEach((({name:e,value:t})=>{s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(sTe("NSDictionary","parameters",t.jsonObj,i.pretty)),c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":s(sTe("NSArray","parameters",t.params||[],i.pretty)),s(`NSString *boundary = @"${t.boundary}";`),c(),s("NSError *error;"),s("NSMutableString *body = [NSMutableString string];"),s("for (NSDictionary *param in parameters) {"),s('[body appendFormat:@"--%@\\r\\n", boundary];',1),s('if (param[@"fileName"]) {',1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),s('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),s('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),s("if (error) {",2),s('NSLog(@"%@", error);',3),s("}",2),s("} else {",1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),s('[body appendFormat:@"%@", param[@"value"]];',2),s("}",1),s("}"),s('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),s("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:c(),s(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),s(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${n}"]`),s(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),s(` timeoutInterval:${i.timeout.toFixed(1)}];`),s(`[request setHTTPMethod:@"${r}"];`),u.hasHeaders&&s("[request setAllHTTPHeaderFields:headers];"),u.hasBody&&s("[request setHTTPBody:postData];"),c(),s("NSURLSession *session = [NSURLSession sharedSession];"),s("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),s(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),s(" if (error) {",1),s(' NSLog(@"%@", error);',2),s(" } else {",1),s(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),s(' NSLog(@"%@", httpResponse);',2),s(" }",1),s(" }];"),s("[dataTask resume];"),l()}},uTe={target:"objc",client:"nsurlsession",title:"NSURLSession",generate:e=>cEe(cTe,e)},dTe={info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:r,method:n},a)=>{const o={indent:" ",...a},{push:i,blank:s,join:l}=new aEe({indent:o.indent});i("open Cohttp_lwt_unix"),i("open Cohttp"),i("open Lwt"),s(),i(`let uri = Uri.of_string "${e}" in`);const c=Object.keys(t);1===c.length?i(`let headers = Header.add (Header.init ()) "${c[0]}" "${sEe(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),c.forEach((e=>{i(`("${e}", "${sEe(t[e])}");`,1)})),i("] in")),(null==r?void 0:r.text)&&i(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(r.text)} in`),s();const u=c.length?"~headers ":"",d=(null==r?void 0:r.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(n.toLowerCase())?`\`${n.toUpperCase()}`:`(Code.method_of_string "${n}")`;return i(`Client.call ${u}${d}${p} uri`),i(">>= fun (res, body_stream) ->"),i("(* Do stuff with the result *)",1),l()}},pTe={target:"ocaml",client:"cohttp",title:"Cohttp",generate:e=>cEe(dTe,e)},hTe={target:"php",client:"curl",title:"cURL",generate(e,t){const r={method:"GET",...e};r.method=r.method.toUpperCase();const n=[],a=r.queryString?.length?"?"+r.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&"):"",o=`${r.url}${a}`;if(n.push(`$ch = curl_init("${o}");`),n.push(""),"POST"===r.method&&n.push("curl_setopt($ch, CURLOPT_POST, true);"),t?.auth?.username&&t?.auth?.password&&n.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`),r.headers?.length){const e=r.headers.map((e=>`'${e.name}: ${e.value}'`));n.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(", ")}]);`);const t=r.headers.find((e=>"accept-encoding"===e.name.toLowerCase()));t&&/gzip|deflate/.test(t.value)&&n.push("curl_setopt($ch, CURLOPT_ENCODING, '');")}if(r.cookies?.length){const e=r.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");n.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(r.postData)if("application/json"===r.postData.mimeType){if(r.postData.text)try{const e=mTe(JSON.parse(r.postData.text));n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${r.postData.text}');`)}}else if("multipart/form-data"===r.postData.mimeType&&r.postData.params){const e=r.postData.params.reduce(((e,t)=>(void 0!==t.fileName?e.push(`'${t.name}' => '@${t.fileName}'`):void 0!==t.value&&e.push(`'${t.name}' => '${t.value}'`),e)),[]);n.push("curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: multipart/form-data']);"),n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, [${e.join(", ")}]);`)}else if("application/x-www-form-urlencoded"===r.postData.mimeType&&r.postData.params){const e=r.postData.params.map((e=>`${encodeURIComponent(e.name)}=${e.value?encodeURIComponent(e.value):""}`)).join("&");n.push("curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/x-www-form-urlencoded']);"),n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if("application/octet-stream"===r.postData.mimeType)n.push("curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/octet-stream']);"),n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${r.postData.text||""}');`);else if(r.postData.text)try{const e=mTe(JSON.parse(r.postData.text));n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${r.postData.text}');`)}return n.push(""),n.push("curl_exec($ch);"),n.push(""),n.push("curl_close($ch);"),n.join("\n").replace(/\n\n\n/g,"\n\n")}};function fTe(e){return" ".repeat(2*e)}function mTe(e,t=0){if(null==e)return"null";if("string"==typeof e)return`'${e.replace(/'/g,"\\'")}'`;if("number"==typeof e||"boolean"==typeof e)return String(e);if(Array.isArray(e)){if(0===e.length)return"[]";const r=e.map((e=>mTe(e,t+1))).join(",\n"+fTe(t+1));return`[\n${fTe(t+1)}${r}\n${fTe(t)}]`}if("object"==typeof e){const r=Object.entries(e);if(0===r.length)return"[]";const n=r.map((([e,r])=>`'${e}' => ${mTe(r,t+1)}`)).join(",\n"+fTe(t+1));return`[\n${fTe(t+1)}${n}\n${fTe(t)}]`}return"null"}const gTe={target:"php",client:"guzzle",title:"Guzzle",generate(e,t){if(!e)return"";const r={},n=(e.method||"GET").toUpperCase(),a=e.url||"";if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){const t={};e.headers.forEach((e=>{void 0===t[e.name]?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]})),r.headers=t}if(e.queryString&&e.queryString.length>0){const t={};e.queryString.forEach((e=>{t[e.name]=e.value})),r.query=t}if(e.cookies&&e.cookies.length>0){const t={};e.cookies.forEach((e=>{t[e.name]=e.value})),r.cookies=t}if(t?.auth?.username&&t.auth.password&&(r.auth=[t.auth.username,t.auth.password]),e.postData)if("application/json"===e.postData.mimeType)try{r.json=JSON.parse(e.postData.text||"{}")}catch(t){r.body=e.postData.text}else if("multipart/form-data"===e.postData.mimeType){if(e.postData.params)r.multipart=e.postData.params.map((e=>({name:e.name,contents:e.fileName?`fopen('${e.fileName}', 'r')`:e.value||""})));else if(e.postData.text)try{r.form_params=JSON.parse(e.postData.text)}catch(t){r.body=e.postData.text}}else if("application/x-www-form-urlencoded"===e.postData.mimeType){if(e.postData.params){const t={};e.postData.params.forEach((e=>{t[e.name]=e.value||""})),r.form_params=t}}else r.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some((e=>"Accept-Encoding"===e.name&&e.value.includes("gzip")))&&(r.decode_content=!0);let o="$client = new GuzzleHttp\\Client();\n\n";return Object.keys(r).length>0?o+=`$response = $client->request('${n}', '${a}', ${bTe(r)});`:o+=`$response = $client->request('${n}', '${a}');`,o}};function bTe(e,t=0){if(0===Object.keys(e).length)return"[]";const r=" ".repeat(4);let n="[\n";for(const[a,o]of Object.entries(e)){const e=vTe(o,t+1);n+=`${r.repeat(t+1)}'${a}' => ${e},\n`}return n+=`${r.repeat(t)}]`,n}function vTe(e,t){if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e&&e.startsWith("fopen("))return e;if("string"==typeof e)return`'${e}'`;if("number"==typeof e)return e.toString();if(Array.isArray(e)){if(0===e.length)return"[]";const r=" ".repeat(4);let n="[\n";return e.forEach((e=>{const a=vTe(e,t+1);n+=`${r.repeat(t+1)}${a},\n`})),n+=`${r.repeat(t)}]`,n}return"object"==typeof e?bTe(e,t):`'${e}'`}const yTe=e=>({method:t,headersObj:r,cookies:n,uriObj:a,fullUrl:o,postData:i,allHeaders:s})=>{const{push:l,join:c}=new aEe;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";const u=[],d=Object.keys(r);return d.length&&(l("$headers=@{}"),d.forEach((e=>{"connection"!==e&&l(`$headers.Add("${e}", "${oEe(r[e],{escapeChar:"`"})}")`)})),u.push("-Headers $headers")),n.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),n.forEach((e=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),l(`$cookie.Value = '${e.value}'`),l(`$cookie.Domain = '${a.host}'`),l("$session.Cookies.Add($cookie)")})),u.push("-WebSession $session")),(null==i?void 0:i.text)&&(u.push(`-ContentType '${oEe(pEe(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),c()},OTe={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:yTe("Invoke-RestMethod")},wTe={target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate:e=>cEe(OTe,e)},xTe={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:yTe("Invoke-WebRequest")},kTe={target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate:e=>cEe(xTe,e)},STe={info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:({uriObj:{path:e,protocol:t,host:r},postData:n,allHeaders:a,method:o},i={})=>{const{insecureSkipVerify:s=!1}=i,{push:l,blank:c,join:u}=new aEe;l("import http.client"),s&&l("import ssl"),c(),"https:"===t?(l(`conn = http.client.HTTPSConnection("${r}"${s?", context = ssl._create_unverified_context()":""})`),c()):(l(`conn = http.client.HTTPConnection("${r}")`),c());const d=JSON.stringify(null==n?void 0:n.text);d&&(l(`payload = ${d}`),c());const p=a,h=Object.keys(p).length;if(1===h)for(const e in p)l(`headers = { '${e}': "${sEe(p[e])}" }`),c();else if(h>1){let e=1;l("headers = {");for(const t in p)e++!==h?l(` '${t}': "${sEe(p[t])}",`):l(` '${t}': "${sEe(p[t])}"`);l("}"),c()}return l(d&&h?`conn.request("${o}", "${e}", payload, headers)`:d&&!h?`conn.request("${o}", "${e}", payload)`:!d&&h?`conn.request("${o}", "${e}", headers=headers)`:`conn.request("${o}", "${e}")`),c(),l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),u()}},_Te={target:"python",client:"python3",title:"http.client",generate:e=>cEe(STe,e)};function ETe(e){const t=[["true","True"],["false","False"],["null","None"]];let r=e;for(const[e,n]of t){const t=[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`];for(const e of t)r=r.replace(new RegExp(e,"gm"),`$1${n}`)}return r}function TTe(e,t,r){const n={url:"https://example.com",method:"get",...t},a=n.method.toLowerCase(),o={};if(n.headers?.length&&(o.headers=n.headers.reduce(((e,t)=>(t.name in e||(e[t.name]=t.value),e)),{})),n.queryString?.length&&(o.params=Object.fromEntries(n.queryString.map((e=>[e.name,e.value])))),n.cookies?.length&&(o.cookies=Object.fromEntries(n.cookies.map((e=>[e.name,e.value])))),r?.auth?.username&&r?.auth?.password&&(o.auth=[r.auth.username,r.auth.password]),n.postData){const{mimeType:e,text:t,params:r}=n.postData;if("application/json"===e&&t)try{o.json=JSON.parse(t)}catch{o.data=t}else if("application/octet-stream"===e&&t)o.data=t;else if("multipart/form-data"===e&&r){const e=[],t={};r.forEach((r=>{void 0!==r.fileName?e.push({key:r.name,file:`open("${r.fileName}", "rb")`}):void 0!==r.value&&(t[r.name]=r.value)})),Object.keys(e).length&&(o.files=e),Object.keys(t).length&&(o.data=t)}else"application/x-www-form-urlencoded"===e&&r&&(o.data=Object.fromEntries(r.map((e=>[e.name,e.value]))))}const i=[],s=`"${n.url}"`;n.url.length>40?i.push(s):i.push("");for(const[e,t]of Object.entries(o))if("auth"===e)i.push(`${e}=(${ETe(JSON.stringify(t[0]))}, ${ETe(JSON.stringify(t[1]))})`);else if("files"===e){const r="[\n"+t.map((({key:e,file:t})=>` ("${e}", ${t})`)).join(",\n")+"\n ]";i.push(`${e}=${r}`)}else if("json"===e){const r=ETe(JSON.stringify(t,null,2).split("\n").map(((e,t)=>0===t?e:" "+e)).join("\n"));i.push(`${e}=${r}`)}else if("data"===e&&"application/octet-stream"===n.postData?.mimeType)i.push(`${e}=b"${t}"`);else{const r=ETe(JSON.stringify(t,null,2).split("\n").map(((e,t)=>0===t?e:" "+e)).join("\n"));i.push(`${e}=${r}`)}return n.url.length>40?`${e}.${a}(\n ${i.join(",\n ")}\n)`:i.length<=1?`${e}.${a}(${s})`:`${e}.${a}(${s}${i.length>1?",":""}\n ${i.slice(1).join(",\n ")}\n)`}const ATe={target:"python",client:"requests",title:"Requests",generate:(e,t)=>TTe("requests",e,t)},CTe={target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate:(e,t)=>TTe("httpx",e,t)},PTe={target:"python",client:"httpx_async",title:"HTTPX (Async)",generate(e,t){let r=TTe("await client",e,t);return r=r.split("\n").map((e=>""===e.trim()?e:" "+e)).join("\n"),`with httpx.AsyncClient() as client:\n${r}`}},$Te={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:({url:e,queryObj:t,queryString:r,postData:n,allHeaders:a,method:o},i={})=>{let s,l;const{push:c,blank:u,join:d}=new aEe({indent:null!==(s=i.indent)&&void 0!==s?s:" "});c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key;const h=Object.entries(p),f=h.length;if(1===f){const e=h[0];c(`queryString <- list(${e[0]} = "${e[1]}")`),u()}else f>1&&(c("queryString <- list("),h.forEach((([e,t],r)=>{c(`${e} = "${t}"${r!==f-1?",":""}`,1)})),c(")"),u());const m=JSON.stringify(null==n?void 0:n.text);if(m&&(c(`payload <- ${m}`),u()),n&&(n.text||n.jsonObj||n.params))switch(n.mimeType){case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break;case"application/json":c('encode <- "json"'),u();break;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:c('encode <- "raw"'),u()}const g=pEe(a,"cookie"),b=pEe(a,"accept"),v=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,y=b?`accept("${sEe(b)}")`:void 0,O=`content_type("${sEe(null!==(l=null==n?void 0:n.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(a).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${iEe(t)}'`)).join(", "),x=w?`add_headers(${w})`:void 0;let k=`response <- VERB("${o}", url`;m&&(k+=", body = payload"),r.length&&(k+=", query = queryString");const S=[x,O,y,v].filter((e=>!!e)).join(", ");return S&&(k+=`, ${S}`),n&&(n.text||n.jsonObj||n.params)&&(k+=", encode = encode"),k+=")",c(k),u(),c('content(response, "text")'),d()}},MTe={target:"r",client:"httr",title:"httr",generate:e=>cEe($Te,e)},DTe={info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:({uriObj:e,method:t,fullUrl:r,postData:n,allHeaders:a},o={})=>{const{insecureSkipVerify:i=!1}=o,{push:s,blank:l,join:c}=new aEe;s("require 'uri'"),s("require 'net/http'"),l();const u=t.toUpperCase(),d=u.charAt(0)+u.substring(1).toLowerCase();["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(u)||(s(`class Net::HTTP::${d} < Net::HTTPRequest`),s(` METHOD = '${u.toUpperCase()}'`),s(` REQUEST_HAS_BODY = '${(null==n?void 0:n.text)?"true":"false"}'`),s(" RESPONSE_HAS_BODY = true"),s("end"),l()),s(`url = URI("${r}")`),l(),s("http = Net::HTTP.new(url.host, url.port)"),"https:"===e.protocol&&(s("http.use_ssl = true"),i&&s("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),l(),s(`request = Net::HTTP::${d}.new(url)`);const p=Object.keys(a);return p.length&&p.forEach((e=>{s(`request["${e}"] = '${iEe(a[e])}'`)})),(null==n?void 0:n.text)&&s(`request.body = ${JSON.stringify(n.text)}`),l(),s("response = http.request(request)"),s("puts response.read_body"),c()}},RTe={target:"ruby",client:"native",title:"net::http",generate:e=>cEe(DTe,e)};function NTe(e){return`"${function(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")}(e)}"`}const ITe={target:"rust",client:"reqwest",title:"reqwest",generate(e,t){const r=UTe(e),n=FTe(r.queryString),a=QTe(r.url,n),o=zTe(r),i=[],s=qTe(t?.auth);s&&i.push(s),i.push(...HTe(o));const l=VTe(r.postData);return l&&i.push(l),ZTe(a,r.method,i)}},LTe=(e,t)=>`${" ".repeat(4*e)}${t}`,jTe=(e,...t)=>LTe(1,`.${e}(${t.join(", ")})`),BTe=e=>e.fileName?[LTe(2,`let part = reqwest::multipart::Part::text(${NTe(e.value||"")})`),LTe(3,`.file_name(${NTe(e.fileName)});`),LTe(2,`form = form.part(${NTe(e.name)}, part);`)].join("\n"):LTe(2,`form = form.text(${NTe(e.name)}, ${NTe(e.value||"")});`),UTe=e=>({...e,method:(e.method||"GET").toUpperCase()}),FTe=e=>e?.length?`?${e.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&")}`:"",QTe=(e,t)=>`${e}${t}`,zTe=e=>{const t={};if(e.headers)for(const r of e.headers)r.value&&!/[; ]/.test(r.name)&&(t[r.name]=r.value);if(e.cookies?.length>0){const r=e.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");t.Cookie=r}return t},qTe=e=>e?.username&&e?.password?jTe("basic_auth",NTe(e.username),NTe(e.password)):null,HTe=e=>Object.entries(e).map((([e,t])=>jTe("header",NTe(e),NTe(t)))),VTe=e=>{if(!e)return null;const{mimeType:t,text:r,params:n}=e;switch(t){case"application/json":{const e=(e=>{try{const t=JSON.parse(e),r=JSON.stringify(t,null,4).split("\n");return r.map(((e,t)=>0===t?e:(r.length,LTe(1,e)))).join("\n")}catch{return e}})(r);return jTe("json",`&serde_json::json!(${e})`)}case"application/x-www-form-urlencoded":{const e=n?.map((e=>`(${NTe(e.name)}, ${NTe(e.value||"")})`)).join(", ")||"";return jTe("form",`&[${e}]`)}case"multipart/form-data":{const e=n?.map(BTe).join("\n")||"",t=[".multipart({",LTe(2,"let mut form = reqwest::multipart::Form::new();"),e,LTe(3,"form"),LTe(2,"})")].join("\n");return LTe(1,t)}default:return jTe("body",NTe(r||""))}},ZTe=(e,t,r)=>{const n=["let client = reqwest::Client::new();",""];r.length>0?(n.push("let request = client"),n.push(LTe(1,`.${t.toLowerCase()}(${NTe(e)})`)),n.push(...r)):n.push(`let request = client.${t.toLowerCase()}(${NTe(e)})`);const a=n[n.length-1];return n[n.length-1]=a+";",n.push(""),n.push("let response = request.send().await?;"),n.join("\n")},WTe=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,XTe={info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:r,fullUrl:n,method:a,url:o},i)=>{const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...i},{push:l,join:c,unshift:u}=new aEe({indent:s.indent,join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[];return s.headers&&p.push(s.short?"-h":"--headers"),s.body&&p.push(s.short?"-b":"--body"),s.verbose&&p.push(s.short?"-v":"--verbose"),s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&p.push(`--verify=${s.verify}`),s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),s.style&&p.push(`--style=${s.style}`),s.timeout&&p.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(r).forEach((e=>{const t=r[e];Array.isArray(t)?t.forEach((t=>{l(`${e}==${WTe(t)}`)})):l(`${e}==${WTe(t)}`)})),Object.keys(e).sort().forEach((t=>{l(`${t}:${WTe(e[t])}`)})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params?.length&&(p.push(s.short?"-f":"--form"),t.params.forEach((e=>{l(`${e.name}=${WTe(e.value)}`)}))):"multipart/form-data"===(null==t?void 0:t.mimeType)?t.params?.length&&(p.push("--multipart"),t.params.forEach((e=>{e.fileName?l(`${e.name}@${WTe(e.fileName)}`):l(`${e.name}='${WTe(e.value)}'`)}))):d=!0,u(`http ${p.length?`${p.join(" ")} `:""}${a} ${o=WTe(s.queryParams?o:n)}`),d&&(null==t?void 0:t.text)&&u(`echo ${WTe(t.text)} | `),c()}},GTe={info:{key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/",description:"a free software package for retrieving files using HTTP, HTTPS"},convert:({method:e,postData:t,allHeaders:r,fullUrl:n},a)=>{const o={indent:" ",short:!1,verbose:!1,...a},{push:i,join:s}=new aEe({indent:o.indent,join:!1!==o.indent?` \\\n${o.indent}`:" "});var l;return o.verbose?i("wget "+(o.short?"-v":"--verbose")):i("wget "+(o.short?"-q":"--quiet")),i(`--method ${WTe(e)}`),Object.keys(r).forEach((e=>{const t=`${e}: ${r[e]}`;i(`--header ${WTe(t)}`)})),(null==t?void 0:t.text)&&i(`--body-data ${l=WTe(t.text),l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),i(o.short?"-O":"--output-document"),i(`- ${WTe(n)}`),s()}},YTe=(e,t)=>t.repeat(e),KTe=(e,t,r,n)=>{const a=YTe(n,r),o=YTe(n-1,r),i=t?`,\n${a}`:", ";return t?`[\n${a}${e.join(i)}\n${o}]`:`[${e.join(i)}]`},JTe=(e,t,r)=>`let ${e} = ${eAe(t,r)}`,eAe=(e,t,r)=>{switch(r=void 0===r?1:r+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let n=!1;const a=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(n=Object.keys(e).length>1),eAe(e,t,r))));return KTe(a,n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${eAe(e[a],t,r)}`);return KTe(n,t.pretty&&n.length>1,t.indent,r)}case"[object Boolean]":return e.toString();default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},tAe={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,fullUrl:r,method:n},a)=>{let o;const i={indent:" ",pretty:!0,timeout:"10",...a},{push:s,blank:l,join:c}=new aEe({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),s(JTe("headers",e,i))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(l(),null===(o=t.params)||void 0===o?void 0:o.length){const[e,...r]=t.params;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),r.forEach((({name:e,value:t})=>{s(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(`${JTe("parameters",t.jsonObj,i)} as [String : Any]`),l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":s(JTe("parameters",t.params,i)),l(),s(`let boundary = "${t.boundary}"`),l(),s('var body = ""'),s("var error: NSError? = nil"),s("for param in parameters {"),s('let paramName = param["name"]!',1),s('body += "--\\(boundary)\\r\\n"',1),s('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),s('if let filename = param["fileName"] {',1),s('let contentType = param["content-type"]!',2),s("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),s("if (error != nil) {",2),s("print(error as Any)",3),s("}",2),s('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),s('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),s("body += fileContent",2),s('} else if let paramValue = param["value"] {',1),s('body += "\\r\\n\\r\\n\\(paramValue)"',2),s("}",1),s("}");break;default:l(),s(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return l(),s(`let request = NSMutableURLRequest(url: NSURL(string: "${r}")! as URL,`),s(" cachePolicy: .useProtocolCachePolicy,"),s(` timeoutInterval: ${Number.parseInt(i.timeout,10).toFixed(1)})`),s(`request.httpMethod = "${n}"`),u.hasHeaders&&s("request.allHTTPHeaderFields = headers"),u.hasBody&&s("request.httpBody = postData as Data"),l(),s("let session = URLSession.shared"),s("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),s("if (error != nil) {",1),s("print(error as Any)",2),s("} else {",1),s("let httpResponse = response as? HTTPURLResponse",2),s("print(httpResponse)",2),s("}",1),s("})"),l(),s("dataTask.resume()"),c()}},rAe=[{key:"c",title:"C",default:"libcurl",clients:[uEe]},{key:"csharp",title:"C#",default:"restsharp",clients:[SEe,EEe]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[xEe]},{key:"dart",title:"Dart",default:"http",clients:[TEe]},{key:"go",title:"Go",default:"native",clients:[CEe]},{key:"http",title:"HTTP",default:"http1.1",clients:[PEe]},{key:"java",title:"Java",default:"unirest",clients:[MEe,REe,IEe,jEe]},{key:"js",title:"JavaScript",default:"fetch",clients:[WEe,zEe,YEe,GEe,JEe]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[tTe]},{key:"node",title:"Node.js",default:"fetch",clients:[aTe,nTe,oTe,iTe]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[uTe]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[pTe]},{key:"php",title:"PHP",default:"curl",clients:[hTe,gTe]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[kTe,wTe]},{key:"python",title:"Python",default:"python3",clients:[_Te,ATe,CTe,PTe]},{key:"r",title:"R",default:"httr",clients:[MTe]},{key:"ruby",title:"Ruby",default:"native",clients:[RTe]},{key:"rust",title:"Rust",default:"reqwest",clients:[ITe]},{key:"shell",title:"Shell",default:"curl",clients:[{target:"shell",client:"curl",title:"Curl",generate(e,t){const r={method:"GET",...e};r.method=r.method.toUpperCase();const n=["curl"],a=r.queryString?.length?"?"+r.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&"):"",o=`${r.url}${a}`,i=/[\s<>[\]{}|\\^%$]/.test(o),s=a||i?`'${o}'`:o;if(n[0]=`curl ${s}`,"GET"!==r.method&&n.push(`--request ${r.method}`),t?.auth?.username&&t?.auth?.password&&n.push(`--user '${t.auth.username}:${t.auth.password}'`),r.headers?.length){r.headers.forEach((e=>{n.push(`--header '${e.name}: ${e.value}'`)}));const e=r.headers.find((e=>"accept-encoding"===e.name.toLowerCase()));e&&/gzip|deflate/.test(e.value)&&n.push("--compressed")}if(r.cookies?.length){const e=r.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");n.push(`--cookie '${e}'`)}if(r.postData)if("application/json"===r.postData.mimeType){if(r.postData.text)try{const e=JSON.parse(r.postData.text),t=JSON.stringify(e,null,2);n.push(`--data '${t}'`)}catch{n.push(`--data '${r.postData.text}'`)}}else if("application/octet-stream"===r.postData.mimeType)n.push(`--data-binary '${r.postData.text}'`);else if("application/x-www-form-urlencoded"===r.postData.mimeType&&r.postData.params)r.postData.params.forEach((e=>{n.push(`--data-urlencode '${encodeURIComponent(e.name)}=${e.value}'`)}));else if("multipart/form-data"===r.postData.mimeType&&r.postData.params)r.postData.params.forEach((e=>{void 0!==e.fileName?n.push(`--form '${e.name}=@${e.fileName}'`):n.push(`--form '${e.name}=${e.value}'`)}));else try{const e=JSON.parse(r.postData.text??""),t=JSON.stringify(e,null,2);n.push(`--data '${t}'`)}catch{n.push(`--data '${r.postData.text}'`)}return n.join(" \\\n ")}},{target:"shell",client:"wget",title:"Wget",generate:e=>cEe(GTe,e)},{target:"shell",client:"httpie",title:"HTTPie",generate:e=>cEe(XTe,e)}]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[{target:"swift",client:"nsurlsession",title:"NSURLSession",generate:e=>cEe(tAe,e)}]}];function nAe(){function e(e,t){return rAe.find((({key:t})=>t===e))?.clients.find((e=>e.client===t))}return{print:(t,r,n)=>e(t,r)?.generate(n),clients:()=>rAe,plugins:()=>rAe.flatMap((({key:e,clients:t})=>t.map((t=>({target:e,client:t.client}))))),findPlugin:e,hasPlugin:(t,r)=>Boolean(e(t,r))}}const aAe="shell/curl",oAe=e=>TN.includes(e),iAe=(e,t)=>{const r=e[0]?.options[0];if(t)for(const r of e){const e=r.options.find((e=>e.id===t));if(e)return e}if(!r?.id.startsWith("custom"))for(const t of e){const e=t.options.find((e=>e.id===aAe));if(e)return e}return r},sAe=e=>{if(!e)return()=>null;const t=e.getBoundingClientRect().top;let r=null;const n=new MutationObserver((n=>{n.some((e=>"childList"===e.type||"attributes"===e.type&&("style"===e.attributeName||"class"===e.attributeName)))&&(null!==r&&cancelAnimationFrame(r),r=requestAnimationFrame((()=>{const n=e.getBoundingClientRect().top;if(n!==t){const e=n-t;window.scrollBy(0,e)}r=null})))}));return n.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"],characterData:!1}),()=>{null!==r&&cancelAnimationFrame(r),n.disconnect()}},lAe={class:"client-libraries-text"},cAe={"aria-hidden":"true",class:"client-libraries-icon__more"},uAe={key:1,class:"client-libraries-icon",height:"50",role:"presentation",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},dAe={key:0,class:"client-libraries-text client-libraries-text-more"},pAe=Cwe(Li({__name:"ClientDropdown",props:{clientOptions:{},xSelectedClient:{},featuredClients:{},morePanel:{}},setup(e){const t=So(),r=e=>`programming-language-${"js"===e?"javascript":e}`,n=gc((()=>e.xSelectedClient?.split("/")[0]));return(e,a)=>(Dl(),Ll("div",{ref_key:"containerRef",ref:t,class:"client-libraries-content"},[(Dl(!0),Ll(Tl,null,ps(e.featuredClients,(t=>(Dl(),jl(Ao(iz),{key:t.clientKey,class:zn(["client-libraries rendered-code-sdks",{"client-libraries__active":t.id===e.xSelectedClient}])},{default:ci((()=>[zl("div",{class:zn(`client-libraries-icon__${t.targetKey}`)},[ql(Ao(A6),{class:"client-libraries-icon",icon:r(t.targetKey)},null,8,["icon"])],2),zl("span",lAe,Gn(t.targetTitle),1)])),_:2},1032,["class"])))),128)),ql(Ao(rY),{options:e.clientOptions,modelValue:Ao(iAe)(e.clientOptions,e.xSelectedClient),"onUpdate:modelValue":a[0]||(a[0]=e=>(e=>{if(!t.value)return;const r=sAe(t.value);setTimeout((()=>{r()}),300),DOe(t.value,"scalar-update-selected-client",e.id)})(e)),placement:"bottom-end",teleport:""},{default:ci((()=>[zl("button",{class:zn(["client-libraries client-libraries__select",{"client-libraries__active":e.xSelectedClient&&!Ao(rEe)(e.xSelectedClient)}])},[zl("div",cAe,[e.xSelectedClient&&!Ao(rEe)(e.xSelectedClient)?(Dl(),Ll("div",{key:0,class:zn(`client-libraries-icon__${n.value}`)},[n.value?(Dl(),jl(Ao(A6),{key:0,class:"client-libraries-icon",icon:r(n.value)},null,8,["icon"])):Xl("",!0)],2)):(Dl(),Ll("svg",uAe,a[1]||(a[1]=[zl("g",{fill:"currentColor","fill-rule":"nonzero"},[zl("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?(Dl(),Ll("span",dAe," More ")):Xl("",!0),a[2]||(a[2]=zl("span",{class:"sr-only"},"Select from all clients",-1))],2)])),_:1},8,["options","modelValue"])],512))}}),[["__scopeId","data-v-d7b97a77"]]),hAe={key:0,ref:"wrapper-ref"},fAe=["id"],mAe={key:1,class:"selected-client card-footer border-t-0 p-0",role:"tabpanel",tabindex:"1"},gAe=["id"],bAe=Li({__name:"ClientSelector",props:{xScalarSdkInstallation:{},clientOptions:{},xSelectedClient:{default:()=>aAe}},setup(e,{expose:t}){const r=ji(),n=ji(),a=gc((()=>e.clientOptions.flatMap((t=>t.options.find((t=>t.id===e.xSelectedClient))??[]))[0])),o=gc((()=>((e,t=tEe)=>{const r=new Map;for(const t of e)for(const e of t.options)r.set(e.id,e);return t.flatMap((e=>r.get(e)??[]))})(e.clientOptions))),i=gc((()=>o.value.findIndex((t=>e.xSelectedClient===t.id)))),s=Ui("wrapper-ref"),l=e=>{const t=o.value[e];t&&s.value&&DOe(s.value,"scalar-update-selected-client",t.id)},c=gc((()=>{if(!Array.isArray(e.xScalarSdkInstallation)||!e.xScalarSdkInstallation?.length)return;const t=e.xScalarSdkInstallation.find((t=>{const r=e.xSelectedClient?.split("/")[0]?.toLowerCase();return t.lang.toLowerCase()===r}));return t||void 0}));return t({selectedClientOption:a}),(e,t)=>e.clientOptions.length?(Dl(),Ll("div",hAe,[ql(Ao(az),{manual:"",selectedIndex:i.value,onChange:l},{default:ci((()=>[zl("div",{id:Ao(r),class:"client-libraries-heading"}," Client Libraries ",8,fAe),ql(Ao(oz),{"aria-labelledby":Ao(r),class:"client-libraries-list"},{default:ci((()=>[ql(pAe,{clientOptions:e.clientOptions,featuredClients:o.value,morePanel:Ao(n),xSelectedClient:e.xSelectedClient},null,8,["clientOptions","featuredClients","morePanel","xSelectedClient"])])),_:1},8,["aria-labelledby"]),ql(Ao(sz),null,{default:ci((()=>[c.value?.source||c.value?.description?(Dl(),Ll(Tl,{key:0},[c.value.description?(Dl(),Ll("div",{key:0,class:zn(["selected-client card-footer -outline-offset-2",c.value.source&&"rounded-b-none"]),role:"tabpanel",tabindex:"0"},[ql(Ao(Z6),{value:c.value.description},null,8,["value"])],2)):Xl("",!0),c.value.source?(Dl(),Ll("div",mAe,[ql(Ao(sX),{class:"rounded-t-none rounded-b-lg px-3 py-2 -outline-offset-1 has-focus:outline",content:c.value.source,copy:!0,lang:"shell"},null,8,["content"])])):Xl("",!0)],64)):Ao(rEe)(e.xSelectedClient)?(Dl(!0),Ll(Tl,{key:1},ps(o.value,(e=>(Dl(),jl(Ao(lz),{key:e.id,class:"selected-client card-footer -outline-offset-2"},{default:ci((()=>[Zl(Gn(e.title),1)])),_:2},1024)))),128)):(Dl(),Ll("div",{key:2,id:Ao(n),class:"selected-client card-footer -outline-offset-2",role:"tabpanel",tabindex:"0"},Gn(a.value?.title),9,gAe))])),_:1})])),_:1},8,["selectedIndex"])],512)):Xl("",!0)}}),vAe=Cwe(bAe,[["__scopeId","data-v-ce2bcf3d"]]),yAe=Cwe(Li({__name:"IntroductionCard",props:{row:{type:Boolean}},setup:e=>(e,t)=>(Dl(),Ll("div",{class:zn(["introduction-card",{"introduction-card-row":e.row}])},[fs(e.$slots,"default",{},void 0,!0)],2))}),[["__scopeId","data-v-b19be652"]]);function OAe(e,t,r){const n="json"===r||!OB(r)&&Xj(e),a=function(e,t){return t&&!Xj(e)?(e=>JSON.stringify(e,null,2))(rOe(e)):!t&&Xj(e)?(e=>Yf(e))(rOe(e)):e}(e,n),o=n?".json":".yaml",i=t?t+o:"openapi"+o,s=new Blob([a],{type:n?"application/json":"application/x-yaml"}),l=URL.createObjectURL(s),c=document.createElement("a");c.href=l,c.download=i,c.dispatchEvent(function(){try{return new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})}catch{return new MouseEvent("click",{bubbles:!0,cancelable:!0})}}()),setTimeout((()=>{window.URL.revokeObjectURL(l),c.remove()}),100)}const wAe=["href"],xAe=Cwe(Li({__name:"DownloadLink",props:{title:{},getOriginalDocument:{type:Function}},setup(e){const t=jwe(),r=new sR,n=gc((()=>r.slug(e.title??""))),a=t=>{OAe(e.getOriginalDocument(),n.value,t)};return(e,r)=>["yaml","json","both"].includes(Ao(t)?.documentDownloadType)?(Dl(),Ll("div",{key:0,class:zn(["download-container group",{"download-both":"both"===Ao(t)?.documentDownloadType}])},["json"===Ao(t)?.documentDownloadType||"both"===Ao(t)?.documentDownloadType?(Dl(),Ll("button",{key:0,class:"download-button",type:"button",onClick:r[0]||(r[0]=Tu((e=>a("json")),["prevent"]))},[r[4]||(r[4]=zl("span",null," Download OpenAPI Document ",-1)),ql(Nke,{class:"extension hidden group-hover:flex"},{default:ci((()=>r[3]||(r[3]=[Zl("json")]))),_:1,__:[3]})])):Xl("",!0),"yaml"===Ao(t)?.documentDownloadType||"both"===Ao(t)?.documentDownloadType?(Dl(),Ll("button",{key:1,class:"download-button",type:"button",onClick:r[1]||(r[1]=Tu((e=>a("yaml")),["prevent"]))},[r[6]||(r[6]=zl("span",null," Download OpenAPI Document ",-1)),ql(Nke,{class:"extension hidden group-hover:flex"},{default:ci((()=>r[5]||(r[5]=[Zl("yaml")]))),_:1,__:[5]})])):Xl("",!0)],2)):"direct"===Ao(t)?.documentDownloadType?(Dl(),Ll(Tl,{key:1},[Ao(t).url?(Dl(),Ll("a",{key:0,class:"download-link",href:Ao(t).url}," Download OpenAPI Document ",8,wAe)):(Dl(),Ll("a",{key:1,class:"download-link",href:"#",onClick:r[2]||(r[2]=Tu((e=>a("json")),["prevent"]))}," Download OpenAPI Document "))],64)):Xl("",!0)}}),[["__scopeId","data-v-0adf68b9"]]),kAe={key:0,class:"introduction-description"},SAe=Cwe(Li({__name:"InfoDescription",props:{description:{}},setup(e){const t=gc((()=>{if(!e.description)return[];const t=new sR;return function(e){const t=rR(e),r=[];let n=[];return t.children?.forEach((e=>{"heading"===e.type?(n.length&&r.push(n),r.push([e]),n=[]):n.push(e)})),n.length&&r.push(n),r.map((e=>function(e){return lM().use(L$).use(QP).stringify({type:"root",children:e}).trim()}(e)))}(e.description).map((e=>{const[n]=nR(e);return{id:n?r({...n,slug:t.slug(n.value)}):void 0,content:e}}))})),{getHeadingId:r,getFullHash:n,isIntersectionEnabled:a,replaceUrlState:o}=zwe(),i=new sR,s=e=>(e.data={hProperties:{id:r({depth:e.depth,value:e.children[0].value,slug:i.slug(e.children[0].value)})}},e);return(e,r)=>e.description?(Dl(),Ll("div",kAe,[(Dl(!0),Ll(Tl,null,ps(t.value,(e=>(Dl(),Ll(Tl,{key:e.id},[e.id?(Dl(),jl(exe,{key:0,id:Ao(n)(e.id),class:"introduction-description-heading",onIntersecting:()=>function(e=""){a.value&&o(e)}(e.id)},{default:ci((()=>[ql(Ao(Z6),{transform:s,transformType:"heading",value:e.content},null,8,["value"])])),_:2},1032,["id","onIntersecting"])):(Dl(),jl(Ao(Z6),{key:1,value:e.content,withImages:""},null,8,["value"]))],64)))),128))])):Xl("",!0)}}),[["__scopeId","data-v-7d7f7b21"]]),_Ae=Cwe(Li({__name:"LinkList",setup(e){const t=So(),r=So(!1),n=()=>{if(!t.value)return;const{scrollWidth:e,clientWidth:n}=t.value;r.value=e>n};let a=null;return Yi((()=>{n(),window.addEventListener("resize",n),t.value&&(a=new MutationObserver((()=>{n()})),a.observe(t.value,{childList:!0,subtree:!0}))})),ts((()=>{window.removeEventListener("resize",n),a&&(a.disconnect(),a=null)})),(e,n)=>(Dl(),Ll("div",{ref_key:"containerRef",ref:t,class:zn([{"icons-only":r.value},"custom-scroll mb-3 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-xs whitespace-nowrap xl:mb-1.5"])},[fs(e.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-0939d4d9"]]),EAe={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},TAe=["href"],AAe={key:0,class:"ml-1 empty:hidden"},CAe={key:1,class:"ml-1 empty:hidden"},PAe=Li({__name:"ExternalDocs",props:{value:{}},setup:e=>(e,t)=>e.value?(Dl(),Ll("div",EAe,[zl("a",{href:e.value.url,class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",target:"_blank",rel:"noopener noreferrer"},[ql(Ao(Gq),{weight:"bold",class:"size-3 text-current"}),e.value.description?(Dl(),Ll("span",AAe,Gn(e.value.description),1)):(Dl(),Ll("span",CAe,Gn(e.value.url),1))],8,TAe)])):Xl("",!0)}),$Ae={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},MAe=["href"],DAe={class:"ml-1 empty:hidden"},RAe=Li({__name:"Contact",props:{value:{}},setup(e){const t=lq({base:"text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 group-last:mr-0 xl:border-none",variants:{link:{true:"no-underline hover:bg-b-2"}}});return(e,r)=>e.value?(Dl(),Ll("div",$Ae,[e.value?.email?(Dl(),Ll("a",{key:0,class:zn(Ao(t)({link:!0})),href:`mailto:${e.value?.email}`},[ql(Ao(HH),{weight:"bold",class:"size-3 text-current"}),zl("span",DAe,Gn(e.value.name),1)],10,MAe)):e.value?.name?(Dl(),Ll("span",{key:1,class:zn(Ao(t)({link:!1}))},Gn(e.value.name),3)):Xl("",!0)])):Xl("",!0)}}),NAe={class:"group flex h-fit items-center last:border-r-0 xl:border-r xl:first:ml-auto"},IAe=["href"],LAe={class:"ml-1 empty:hidden"},jAe={class:"ml-1 empty:hidden"},BAe=Li({__name:"License",props:{value:{}},setup:e=>(e,t)=>(Dl(),Ll("div",NAe,[e.value?.url?(Dl(),Ll("a",{key:0,class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",href:e.value.url,target:"_blank",rel:"noopener noreferrer"},[ql(Ao(pV),{weight:"bold",class:"size-3 text-current"}),zl("span",LAe,Gn(e.value?.name||e.value.identifier||e.value.url),1)],8,IAe)):(Dl(),Ll(Tl,{key:1},[ql(Ao(pV),{weight:"bold",class:"size-3 text-current"}),zl("span",jAe,Gn(e.value?.name),1)],64))]))}),UAe={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},FAe=["href"],QAe=Li({__name:"TermsOfService",props:{value:{}},setup:e=>(e,t)=>e.value?(Dl(),Ll("div",UAe,[zl("a",{class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",href:e.value,target:"_blank",rel:"noopener noreferrer"},[ql(Ao(wZ),{weight:"bold",class:"size-3 text-current"}),t[0]||(t[0]=zl("span",{class:"ml-1 empty:hidden"},"Terms of Service",-1))],8,FAe)])):Xl("",!0)}),zAe=Li({__name:"InfoLinks",props:{info:{},externalDocs:{}},setup:e=>(e,t)=>(Dl(),jl(Ao(_Ae),null,{default:ci((()=>[ql(Ao(PAe),{value:e.externalDocs},null,8,["value"]),e.info.contact?(Dl(),jl(Ao(RAe),{key:0,value:e.info.contact},null,8,["value"])):Xl("",!0),e.info.license?(Dl(),jl(Ao(BAe),{key:1,value:e.info.license},null,8,["value"])):Xl("",!0),e.info.termsOfService?(Dl(),jl(Ao(QAe),{key:2,value:e.info.termsOfService},null,8,["value"])):Xl("",!0)])),_:1}))}),qAe=Li({__name:"InfoVersion",props:{version:{}},setup(e){const t=gc((()=>{if(null==e.version)return e.version;const t=String(e.version);return/^\d/.test(t)?`v${t}`:t}));return(e,r)=>t.value?(Dl(),jl(Ao(Nke),{key:0},{default:ci((()=>[Zl(Gn(t.value),1)])),_:1})):Xl("",!0)}}),HAe=Li({__name:"OpenApiVersion",props:{oasVersion:{}},setup:e=>(e,t)=>e.oasVersion?(Dl(),jl(Ao(Nke),{key:0},{default:ci((()=>[Zl("OAS "+Gn(e.oasVersion),1)])),_:1})):Xl("",!0)}),VAe={class:"flex gap-1.5"},ZAe={class:"sticky-cards"},WAe=Cwe(Li({__name:"IntroductionLayout",props:{oasVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},isLoading:{type:Boolean},getOriginalDocument:{type:Function},onLoaded:{type:Function},id:{}},setup:e=>(Yi((()=>e.onLoaded?.())),(e,t)=>(Dl(),jl(Ao(Uxe),null,{default:ci((()=>[ql(Ao(Cxe),{id:e.id,class:"introduction-section z-1 gap-12"},{default:ci((()=>[ql(Ao(Vxe),{loading:e.isLoading??(!e.info?.description&&!e.info?.title)},{default:ci((()=>[zl("div",VAe,[ql(qAe,{version:e.info?.version},null,8,["version"]),ql(HAe,{oasVersion:e.oasVersion},null,8,["oasVersion"])]),ql(Ao(Wxe),{loading:!e.info?.title,tight:""},{links:ci((()=>[ql(zAe,{externalDocs:e.externalDocs,info:e.info},null,8,["externalDocs","info"])])),default:ci((()=>[ql(Ao(Xxe),{level:1},{default:ci((()=>[Zl(Gn(e.info?.title),1)])),_:1})])),_:1},8,["loading"]),ql(Ao(jxe),null,{default:ci((()=>[ql(Ao(Ixe),null,{default:ci((()=>[ql(xAe,{getOriginalDocument:e.getOriginalDocument,title:e.info?.title},null,8,["getOriginalDocument","title"]),ql(SAe,{description:e.info?.description},null,8,["description"])])),_:1}),e.$slots.aside?(Dl(),jl(Ao(Ixe),{key:0},{default:ci((()=>[zl("div",ZAe,[fs(e.$slots,"aside",{},void 0,!0)])])),_:3})):Xl("",!0)])),_:3}),ql(Ao(cke),{value:e.documentExtensions},null,8,["value"]),ql(Ao(cke),{value:e.infoExtensions},null,8,["value"])])),_:3},8,["loading"]),fs(e.$slots,"after",{},void 0,!0)])),_:3},8,["id"])])),_:3})))}),[["__scopeId","data-v-1405b00e"]]),XAe=Li({__name:"InfoBlock",props:{id:{},layout:{},oasVersion:{},getOriginalDocument:{type:Function},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},isLoading:{type:Boolean},onLoaded:{type:Function}},setup(e){const t=gc((()=>"classic"===e.layout?"after":"aside"));return(e,r)=>(Dl(),jl(WAe,{id:e.id,documentExtensions:e.documentExtensions,externalDocs:e.externalDocs,getOriginalDocument:e.getOriginalDocument,info:e.info,infoExtensions:e.infoExtensions,isLoading:e.isLoading,oasVersion:e.oasVersion,onLoaded:e.onLoaded},{[t.value]:ci((()=>[ql(yAe,{row:"classic"===e.layout},{default:ci((()=>[fs(e.$slots,"selectors")])),_:3},8,["row"])])),_:2},1032,["id","documentExtensions","externalDocs","getOriginalDocument","info","infoExtensions","isLoading","oasVersion","onLoaded"]))}}),GAe={class:"introduction-card-item"},YAe=Cwe({},[["render",function(e,t){return Dl(),Ll("div",GAe,[fs(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-225524a7"]]),KAe=e=>`custom/${e.lang}`,JAe={class:"overflow-x-auto"},eCe={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"},tCe={class:"overflow-x-auto"},rCe=Li({__name:"Selector",props:{xSelectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:r}){const n=r,a=gc((()=>e.servers.map((e=>({id:e.url,label:e.url}))))),o=gc((()=>e.servers.find((t=>t.url===e.xSelectedServer)))),i=gc((()=>o.value?.url?.replace(/\/$/,"")||"")),s=gc({get:()=>{if(e.xSelectedServer&&a.value.length>0)return a.value.find((t=>t.id===e.xSelectedServer))},set:e=>{e&&n("update:modelValue",e.id)}});return t({server:o,servers:e.servers,serverUrlWithoutTrailingSlash:i,serverOptions:a,selectedServer:s}),(e,t)=>a.value.length>1?(Dl(),jl(Ao(H6),{key:0,ref:"elem",modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),class:"group",options:a.value,placement:"bottom-start",resize:"",target:e.target},{default:ci((()=>[ql(Ao(Oq),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-lg px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:ci((()=>[t[1]||(t[1]=zl("span",{class:"sr-only"},"Server:",-1)),zl("span",JAe,Gn(i.value),1),ql(Ao(uH),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})])),_:1,__:[1]})])),_:1},8,["modelValue","options","target"])):(Dl(),Ll("div",eCe,[t[2]||(t[2]=zl("span",{class:"sr-only"},"Server:",-1)),zl("span",tCe,Gn(i.value),1)]))}}),nCe=["id"],aCe=Li({__name:"ServerSelector",props:{xSelectedServer:{},servers:{}},setup(e){const t=ji(),r=e=>{DOe(o.value,"scalar-update-selected-server",{value:e})},n=(e,t)=>{o.value&&DOe(o.value,"scalar-update-selected-server-variables",{key:e,value:t})},a=gc((()=>e.servers.find((t=>t.url===e.xSelectedServer))));hl((()=>e.servers),(t=>{t.length&&(e.xSelectedServer||Ko((()=>{r(t[0].url)})))}),{immediate:!0});const o=function(e,t=null){const r=ac();let n=()=>{};const a=Do(((a,o)=>(n=o,{get(){var n,o;return a(),null!=(o=null==(n=null==r?void 0:r.proxy)?void 0:n.$refs[e])?o:t},set(){}})));return YB(n),Ji(n),a}("containerRef");return(e,i)=>(Dl(),Ll(Tl,null,[i[0]||(i[0]=zl("label",{class:"bg-b-2 flex h-8 items-center rounded-t-lg border border-b-0 px-3 py-2.5 font-medium"}," Server ",-1)),zl("div",{id:Ao(t),ref_key:"containerRef",ref:o,class:zn(["border",{"rounded-b-lg":!a.value?.description&&!a.value?.variables}])},[e.servers.length?(Dl(),jl(rCe,{key:0,servers:e.servers,target:Ao(t),xSelectedServer:e.xSelectedServer,"onUpdate:modelValue":r},null,8,["servers","target","xSelectedServer"])):Xl("",!0)],10,nCe),ql(Ao(BOe),{layout:"reference",variables:a.value?.variables,"onUpdate:variable":n},null,8,["variables"]),a.value?.description?(Dl(),jl(Ao(Z6),{key:0,class:"text-c-3 rounded-b-lg border border-t-0 px-3 py-1.5",value:a.value.description},null,8,["value"])):Xl("",!0)],64))}}),oCe=/^.*?(?=\.query|\.path|\.headers|\.cookies|\.body)/,iCe=(e,t)=>{const r=(e=>{if(e.startsWith("model"))return"models";if(e.includes(".")){const t=e.match(oCe);if(t?.[0])return t[0]}return e})(e);return t.findIndex((e=>"tag"in e?r.startsWith(e.id):r===e.id))},sCe=Cwe(Li({__name:"ClassicLayout",props:{tag:{}},setup:e=>(e,t)=>(Dl(),jl(Ao(zxe),{class:"tag-section"},{title:ci((()=>[ql(Ao(Wxe),{class:"tag-name"},{default:ci((()=>[ql(Ao(Xwe),{id:e.tag.id},{default:ci((()=>[ql(Ao(Xxe),{level:2},{default:ci((()=>[Zl(Gn(e.tag.title),1)])),_:1})])),_:1},8,["id"])])),_:1}),ql(Ao(Z6),{class:"tag-description",value:e.tag.tag?.description,withImages:""},null,8,["value"])])),default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:3}))}),[["__scopeId","data-v-56f55c2b"]]),lCe=["href"],cCe=Cwe(Li({__name:"OperationsListItem",props:{operation:{},isCollapsed:{type:Boolean}},setup(e){const{scrollToOperation:t}=uxe(),r=gc((()=>"path"in e.operation?e.operation.path:e.operation.title));return(e,n)=>{return Dl(),Ll("li",{key:e.operation.id,class:"contents"},[e.isCollapsed?(Dl(),jl(Ao(Xxe),{key:0,class:"sr-only",level:3},{default:ci((()=>[Zl(Gn(e.operation.title)+" (Hidden) ",1)])),_:1})):Xl("",!0),zl("a",{class:"endpoint",href:`#${e.operation.id}`,onClick:n[0]||(n[0]=Tu((r=>(async e=>{t(e.id,!0)})(e.operation)),["prevent"]))},[ql(Ao(pxe),{class:"endpoint-method items-center justify-end gap-2",method:e.operation.method},{default:ci((()=>{return[(t=e.operation,"webhook"in t?(Dl(),jl(Ao(cW),{key:0,style:jn({color:Ao(MB)(e.operation.method).colorVar}),class:"size-3.5"},null,8,["style"])):Xl("",!0))];var t})),_:1},8,["method"]),zl("span",{class:zn(["endpoint-path",{deprecated:(a=e.operation,"operation"in a&&hB(a.operation))}])},Gn(r.value),3)],8,lCe)]);var a}}}),[["__scopeId","data-v-e2dcc62f"]]),uCe=["aria-label"],dCe=Cwe(Li({__name:"OperationsList",props:{tag:{}},setup(e){const t=gc((()=>e.tag.children?.filter((e=>"operation"in e||"webhook"in e))));return(e,r)=>e.tag.children?.length>0?(Dl(),jl(Ao(xq),{key:0,class:"endpoints-card"},{default:ci((()=>[ql(Ao(Eq),{muted:""},{default:ci((()=>[ql(Vwe,null,{default:ci((()=>[Zl(Gn(e.tag.title),1)])),_:1}),Zl(" "+Gn(e.tag.isWebhooks?"Webhooks":"Operations"),1)])),_:1}),ql(Ao(kq),{class:"custom-scroll max-h-[60vh]"},{default:ci((()=>[zl("ul",{"aria-label":`${e.tag.title} endpoints`,class:"endpoints"},[(Dl(!0),Ll(Tl,null,ps(t.value,(e=>(Dl(),jl(cCe,{key:e.id,operation:e},null,8,["operation"])))),128))],8,uCe)])),_:1})])),_:1})):Xl("",!0)}}),[["__scopeId","data-v-d474b1bb"]]),pCe=Li({__name:"TagSection",props:{tag:{},headerId:{},isCollapsed:{type:Boolean}},setup(e){const t=jwe();return(e,r)=>e.tag?(Dl(),jl(Ao(Cxe),{key:0,id:e.tag.id,label:e.tag.title?.toUpperCase(),role:"none"},{default:ci((()=>[ui(ql(Ao(Wxe),null,{default:ci((()=>[ql(Ao(Xwe),{id:e.tag.id},{default:ci((()=>[ql(Ao(Xxe),{id:e.headerId,level:2},{default:ci((()=>[Zl(Gn(e.tag.title)+" ",1),e.isCollapsed?(Dl(),jl(Vwe,{key:0},{default:ci((()=>r[0]||(r[0]=[Zl(" (Collapsed)")]))),_:1,__:[0]})):Xl("",!0)])),_:1},8,["id"])])),_:1},8,["id"])])),_:1},512),[[qc,!Ao(t).isLoading]]),ql(Ao(Vxe),{loading:Ao(t).isLoading},{default:ci((()=>[ql(Ao(jxe),null,{default:ci((()=>[ql(Ao(Ixe),null,{default:ci((()=>[ql(Ao(Z6),{clamp:e.isCollapsed?7:void 0,value:e.tag.tag?.description??"",withImages:""},null,8,["clamp","value"])])),_:1}),ql(Ao(Ixe),null,{default:ci((()=>[ql(Ao(dCe),{tag:e.tag},null,8,["tag"])])),_:1})])),_:1})])),_:1},8,["loading"]),ql(Ao(cke),{value:e.tag.tag},null,8,["value"])])),_:1},8,["id","label"])):Xl("",!0)}}),hCe=Cwe(Li({__name:"ModernLayout",props:{tag:{},moreThanOneTag:{type:Boolean}},setup(e){const t=So(),r=So(),n=ji(),{collapsedSidebarItems:a}=uxe(),{hash:o}=zwe(),i=gc((()=>e.moreThanOneTag||"default"!==e.tag?.title||""!==e.tag?.tag.description));async function s(){await Ko(),r.value?.querySelector("button")?.focus()}const l=e=>!a[e];return(e,a)=>(Dl(),jl(Ao(Uxe),{ref_key:"sectionContainerRef",ref:t,"aria-labelledby":Ao(n),class:"tag-section-container",role:"region"},{default:ci((()=>[ql(Ao(Iwe),{id:`modern-tag-${e.tag.id}`,isLazy:Boolean(Ao(o))&&Ao(o)!==e.tag.id&&Ao(o).startsWith(e.tag.id)},{default:ci((()=>[i.value?(Dl(),jl(pCe,{key:0,headerId:Ao(n),isCollapsed:l(e.tag.id),tag:e.tag},null,8,["headerId","isCollapsed","tag"])):Xl("",!0),l(e.tag.id)&&e.moreThanOneTag?(Dl(),jl(wSe,{key:1,id:e.tag.id,"aria-label":`Show all ${e.tag.title} endpoints`,onClick:s},null,8,["id","aria-label"])):Xl("",!0)])),_:1},8,["id","isLazy"]),l(e.tag.id)&&e.moreThanOneTag?Xl("",!0):(Dl(),Ll("div",{key:0,ref_key:"contentsRef",ref:r,class:"contents"},[fs(e.$slots,"default",{},void 0,!0)],512))])),_:3},8,["aria-labelledby"]))}}),[["__scopeId","data-v-91405c72"]]),fCe=Li({__name:"Tag",props:{tag:{},layout:{},moreThanOneTag:{type:Boolean}},setup:e=>(e,t)=>"classic"===e.layout?(Dl(),jl(sCe,qn(Jl({key:0},e.$props)),{default:ci((()=>[fs(e.$slots,"default")])),_:3},16)):(Dl(),jl(hCe,qn(Jl({key:1},e.$props)),{default:ci((()=>[fs(e.$slots,"default")])),_:3},16))}),mCe=["aria-controls","aria-selected","tabindex"],gCe=Li({__name:"SectionFilterButton",props:{selected:{type:Boolean},controls:{}},setup:e=>(e,t)=>(Dl(),Ll("button",{"aria-controls":e.controls??"","aria-selected":!!e.selected,class:zn(["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"},[fs(e.$slots,"default")],10,mCe))}),bCe={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"},vCe={class:"filter-button context-bar-group-hover:text-c-1 absolute -right-[30px] flex items-center"},yCe={class:"context-bar-group-hover:hidden mr-1.5"},OCe=Li({__name:"SectionFilter",props:Ss({filters:{default:()=>[]},filterIds:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=bl(e,"modelValue"),r=So(),n=n=>{const a="prev"===n?-1:1,o=t.value?e.filters.indexOf(t.value):0,i=e.filters.length,s=(o+a+i)%i;t.value=e.filters[s],Ko((()=>{if(r.value){const e=r.value.querySelector('button[aria-selected="true"]');e&&e.focus()}}))};return(e,a)=>(Dl(),Ll("div",{ref_key:"tablist",ref:r,class:"filter-hover context-bar-group ml-auto hidden lg:flex",role:"tablist",onKeydown:[a[0]||(a[0]=Cu((e=>n("prev")),["left"])),a[1]||(a[1]=Cu((e=>n("next")),["right"]))]},[zl("div",bCe,[(Dl(!0),Ll(Tl,null,ps(e.filters,(r=>(Dl(),jl(gCe,{key:r,class:"filter-hover-item",controls:e.filterIds?.[r],role:"tab",selected:t.value===r,onClick:e=>t.value=r},{default:ci((()=>[Zl(Gn(r),1)])),_:2},1032,["controls","selected","onClick"])))),128)),zl("div",vCe,[zl("span",yCe,Gn(t.value),1),ql(Ao(A6),{icon:"FilterList",size:"md",thickness:"2"})])])],544))}}),wCe=W7(OCe,[["__scopeId","data-v-f97cc68c"]]),xCe={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"},kCe=Li({inheritAttrs:!1,__name:"ViewLayoutSection",setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("section",qn(Hl(Ao(t)("xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0"))),[e.$slots.title?(Dl(),Ll("div",xCe,[fs(e.$slots,"title")])):Xl("",!0),fs(e.$slots,"default")],16))}}),SCe=_t.object({uid:bB.brand(),name:_t.string().default(""),value:_t.string().default(""),domain:_t.string().optional(),path:_t.string().optional()}),_Ce=(e,t)=>{if(!e||!t)return!0;try{const r=e.startsWith("http")?e:`http://${e}`,n=new URL(r).hostname,a=!t,o=t===n,i=t.startsWith(".")&&t===`.${n}`,s=t.startsWith(".")&&n?.endsWith(t);return a||o||s||i}catch{return!1}},ECe=e=>!!(e.description||e.type||e.default||e.format||e.minimum||e.maximum),TCe=e=>gc((()=>{if(void 0===e.value||""===e.value)return!1;if(e.type){if("integer"===e.type){const t=Number(e.value);if(isNaN(t)||!Number.isInteger(t))return"Value must be a whole number (e.g., 42)";if(void 0!==e.minimum&&t<e.minimum)return`Value must be ${e.minimum} or greater`;if(void 0!==e.maximum&&t>e.maximum)return`Value must be ${e.maximum} or less`}if("number"===e.type){const t=Number(e.value);if(isNaN(t))return"Value must be a number (e.g., 42.5)";if(void 0!==e.minimum&&t<e.minimum)return`Value must be ${e.minimum} or greater`;if(void 0!==e.maximum&&t>e.maximum)return`Value must be ${e.maximum} or less`}if("string"===e.type&&e.format){if("date"===e.format&&!/^\d{4}-\d{2}-\d{2}$/.test(e.value))return"Please enter a valid date in YYYY-MM-DD format (e.g., 2024-03-20)";if("date-time"===e.format&&!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/.test(e.value))return"Please enter a valid date and time in RFC 3339 format (e.g., 2024-03-20T13:45:30Z)";if("email"===e.format&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.value))return"Please enter a valid email address (e.g., user@example.com)";if("uri"===e.format&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:.+$/.test(e.value))return"Please enter a valid URI (e.g., https://example.com)"}}return!1})),ACe=["aria-label","role"],CCe={class:"w-content text-xxs text-c-1 grid min-w-48 gap-1.5 rounded px-1.5 pt-2 pb-1.5 leading-none"},PCe={key:0,class:"text-error-1"},$Ce={key:1,class:"schema text-c-2 flex items-center"},MCe={key:0},DCe={key:1},RCe={key:2},NCe={key:3},ICe={key:4},LCe={key:2,class:"text-sm leading-snug text-pretty",style:{maxWidth:"16rem"}},jCe=Li({__name:"RequestTableTooltip",props:{item:{}},setup(e){const t=gc((()=>!!TCe(e.item).value));return(e,r)=>(Dl(),jl(Ao(e7),{teleport:"",offset:4,placement:"left"},{popover:ci((()=>[zl("div",CCe,[t.value?(Dl(),Ll("div",PCe,Gn(Ao(TCe)(e.item).value),1)):e.item.type||e.item.format||e.item.minimum||e.item.maximum||e.item.default?(Dl(),Ll("div",$Ce,[e.item.type?(Dl(),Ll("span",MCe,Gn(e.item.type),1)):Xl("",!0),e.item.format?(Dl(),Ll("span",DCe,Gn(e.item.format),1)):Xl("",!0),e.item.minimum?(Dl(),Ll("span",RCe,"min: "+Gn(e.item.minimum),1)):Xl("",!0),e.item.maximum?(Dl(),Ll("span",NCe,"max: "+Gn(e.item.maximum),1)):Xl("",!0),e.item.default?(Dl(),Ll("span",ICe,"default: "+Gn(e.item.default),1)):Xl("",!0)])):Xl("",!0),e.item.description&&!t.value?(Dl(),Ll("span",LCe,Gn(e.item.description),1)):Xl("",!0)])])),default:ci((()=>[zl("button",{type:"button","aria-label":t.value?"Input is invalid":"More Information",class:"text-c-2 hover:text-c-1 hover:bg-b-2 rounded p-1",role:t.value?"alert":"none"},[t.value?(Dl(),jl(Ao(rW),{key:0,class:"text-orange size-3.5 brightness-90 hover:brightness-75"})):(Dl(),jl(Ao(DV),{key:1,class:"text-c-2 hover:text-c-1 size-3.5"}))],8,ACe)])),_:1}))}}),BCe=W7(jCe,[["__scopeId","data-v-4df72868"]]),UCe={class:"text-c-2 filemask flex w-full max-w-[100%] items-end justify-end overflow-hidden p-1"},FCe=["onClick"],QCe={key:1,class:"p-0.5"},zCe=Li({__name:"RequestTable",props:{items:{},hasCheckboxDisabled:{type:Boolean,default:!1},showUploadButton:{type:Boolean,default:!1},isGlobal:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},environment:{},envVariables:{},workspace:{},invalidParams:{},label:{}},emits:["updateRow","toggleRow","addRow","deleteRow","inputFocus","inputBlur","uploadFile","removeFile"],setup(e,{emit:t}){const r=e,n=t,a=["","","36px"],o=(e,t,r)=>{n("updateRow",e,t,r)},i=e=>Array.isArray(e.default)&&1===e.default.length?e.default[0]:e.default,s=e=>!(!e.key&&!e.value);return(e,t)=>(Dl(),jl(p_e,{class:"group/table flex-1",columns:a},{default:ci((()=>[ql(S_e,{class:"sr-only !block"},{default:ci((()=>[ql(g_e,null,{default:ci((()=>[Zl(Gn(e.label)+" Enabled",1)])),_:1}),ql(g_e,null,{default:ci((()=>[Zl(Gn(e.label)+" Key",1)])),_:1}),ql(g_e,null,{default:ci((()=>[Zl(Gn(e.label)+" Value",1)])),_:1})])),_:1}),(Dl(!0),Ll(Tl,null,ps(e.items,((a,l)=>(Dl(),jl(S_e,{id:a.key,key:l,class:zn({alert:Ao(TCe)(a).value,error:e.invalidParams&&e.invalidParams.has(a.key)})},{default:ci((()=>[e.isGlobal?(Dl(),jl(Ao(wbe),{key:0,class:"text-c-2 flex items-center justify-center border-t !border-r",to:a.route??{}},{default:ci((()=>[t[4]||(t[4]=zl("span",{class:"sr-only"},"Global",-1)),ql(Ao(R7),{content:"Global cookies are shared across the whole workspace.",placement:"top"},{default:ci((()=>[ql(Ao(A6),{tabindex:"0",class:"text-c-1",icon:"Globe",size:"xs"})])),_:1})])),_:2,__:[4]},1032,["to"])):(Dl(),jl(m_e,{key:1,class:"!border-r",disabled:r.hasCheckboxDisabled,modelValue:a.enabled,"onUpdate:modelValue":e=>n("toggleRow",l,e)},null,8,["disabled","modelValue","onUpdate:modelValue"])),ql(h_e,null,{default:ci((()=>[ql(uve,{"aria-label":`${e.label} Key`,disableCloseBrackets:"",disabled:r.isReadOnly,disableEnter:"",disableTabIndent:"",lineWrapping:"",envVariables:e.envVariables,environment:e.environment,modelValue:a.key,placeholder:"Key",required:!!a.required,workspace:e.workspace,onBlur:t[0]||(t[0]=e=>n("inputBlur")),onFocus:t[1]||(t[1]=e=>n("inputFocus")),onSelectVariable:e=>o(l,"key",e),"onUpdate:modelValue":e=>n("updateRow",l,"key",e)},null,8,["aria-label","disabled","envVariables","environment","modelValue","required","workspace","onSelectVariable","onUpdate:modelValue"])])),_:2},1024),ql(h_e,null,{default:ci((()=>[ql(uve,{"aria-label":`${e.label} Value`,class:zn(Ao(ECe)(a)?"pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10":"group-hover:pr-6 group-has-[.cm-focused]:pr-6"),default:a.default,disableCloseBrackets:"",disabled:r.isReadOnly,disableEnter:"",disableTabIndent:"",lineWrapping:"",enum:a.enum??[],envVariables:e.envVariables,environment:e.environment,examples:a.examples??[],max:a.maximum,min:a.minimum,modelValue:a.value,nullable:!!a.nullable,placeholder:"Value",type:a.type,workspace:e.workspace,onBlur:t[2]||(t[2]=e=>n("inputBlur")),onFocus:t[3]||(t[3]=e=>n("inputFocus")),onSelectVariable:e=>o(l,"value",e),"onUpdate:modelValue":e=>n("updateRow",l,"value",e)},{icon:ci((()=>[s(a)&&!a.required?(Dl(),jl(Ao(Oq),{key:0,class:zn([{"-mr-0.5":Ao(ECe)(a)},"text-c-2 hover:text-c-1 hover:bg-b-2 z-context hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex"]),size:"sm",variant:"ghost",onClick:e=>n("deleteRow",l)},{default:ci((()=>[ql(Ao(XZ),{class:"size-3.5"})])),_:2},1032,["class","onClick"])):Xl("",!0),Ao(ECe)(a)?(Dl(),jl(BCe,{key:1,item:{...a,default:i(a)}},null,8,["item"])):Xl("",!0)])),_:2},1032,["aria-label","class","default","disabled","enum","envVariables","environment","examples","max","min","modelValue","nullable","type","workspace","onSelectVariable","onUpdate:modelValue"])])),_:2},1024),e.showUploadButton?(Dl(),jl(h_e,{key:2,class:"group/upload flex items-center justify-center whitespace-nowrap"},{default:ci((()=>[a.file?(Dl(),Ll(Tl,{key:0},[zl("div",UCe,[zl("span",null,Gn(a.file?.name),1)]),zl("button",{class:"bg-b-2 centered-x centered-y absolute hidden w-[calc(100%_-_8px)] rounded p-0.5 text-center text-xs font-medium group-hover/upload:block",type:"button",onClick:e=>n("removeFile",l)}," Delete ",8,FCe)],64)):(Dl(),Ll("div",QCe,[ql(Ao(Oq),{class:"bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",size:"sm",variant:"outlined",onClick:e=>(e=>{n("uploadFile",e)})(l)},{default:ci((()=>[t[5]||(t[5]=zl("span",null,"Upload File",-1)),ql(Ao(A6),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})])),_:2,__:[5]},1032,["onClick"])]))])),_:2},1024)):Xl("",!0)])),_:2},1032,["id","class"])))),128))])),_:1}))}}),qCe=W7(zCe,[["__scopeId","data-v-04661eb4"]]),HCe={key:0,class:"text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm"},VCe={key:1,class:"flex items-center justify-center overflow-hidden border-t p-1.5"},ZCe={class:"text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap"},WCe=Li({__name:"RequestBody",props:{example:{},operation:{},environment:{},envVariables:{},workspace:{},title:{}},setup(e){const{requestExampleMutators:t}=AOe(),r={json:"json",xml:"xml",yaml:"yaml",edn:"edn",other:"html"},n=Object.entries({multipartForm:"Multipart Form",formUrlEncoded:"Form URL Encoded",binaryFile:"Binary File",json:"JSON",xml:"XML",yaml:"YAML",edn:"EDN",other:"Other",none:"None"}).map((([e,t])=>({id:e,label:t}))),a=gc((()=>{const{activeBody:t,formData:r,raw:n}=e.example.body;return"formData"===t?"urlencoded"===r?.encoding?"formUrlEncoded":"multipartForm":"binary"===t?"binaryFile":"raw"===t&&n?.encoding?"html"===n.encoding?"other":n.encoding:Object.keys(e.operation.requestBody?.content||{})[0]||"none"})),o=gc({get:()=>n.find((e=>e.id===a.value))??n[n.length-1]??n[0],set:e=>{e?.id&&g(e.id)}}),i=So(null),s=gc((()=>{const e=o.value?.id;return r[e]??"plaintext"})),l=r=>{const n=u.value;if(n.length>r){const a=[...n];a.splice(r,1),t.edit(e.example.uid,"body.formData.value",a)}},c=(r,n,a)=>{const o=u.value;if(o.length>r){const i=[...o];i[r]={...i[r],value:i[r]?.value||"",key:i[r]?.key||"",enabled:i[r]?.enabled??!1,[n]:a||""},(""!==i[r]?.key||""!==i[r]?.value)&&(i[r].enabled=!0),""===i[r]?.key&&""===i[r]?.value&&i.splice(r,1),t.edit(e.example.uid,"body.formData.value",i)}else{const r=[hye.parse({[n]:a})];t.edit(e.example.uid,"body.formData.value",r),Ko((()=>{i.value&&i.value.querySelectorAll("input")["key"===n?0:1]?.focus()}))}r===o.length-1&&p()},u=gc((()=>e.example.body.formData?.value??[])),d=()=>{const e=u.value[u.value.length-1];(!e||""!==e.key||""!==e.value)&&p()},p=()=>{const r=hye.parse({enabled:!1}),n=[...u.value,r];e.example.body.formData?t.edit(e.example.uid,"body.formData.value",n):t.edit(e.example.uid,"body.formData",{value:n,encoding:"form-data"})},h=(r,n)=>{const a=u.value;if(a.length>r){const o=[...a];o[r]&&(o[r].enabled=n),t.edit(e.example.uid,"body.formData.value",o)}},f=r=>t.edit(e.example.uid,"body.raw.value",r),m=t=>"multipartForm"===t?{activeBody:"formData",encoding:"form-data",header:"multipart/form-data"}:"formUrlEncoded"===t?{activeBody:"formData",encoding:"urlencoded",header:"application/x-www-form-urlencoded"}:"binaryFile"===t?{activeBody:"binary",encoding:void 0,header:"application/octet-stream"}:"json"===t?{activeBody:"raw",encoding:"json",header:Object.keys(e.operation.requestBody?.content??{}).find((e=>e.includes("json")||e.endsWith("+json")))||"application/json"}:"xml"===t?{activeBody:"raw",encoding:"xml",header:"application/xml"}:"yaml"===t?{activeBody:"raw",encoding:"yaml",header:"application/yaml"}:"edn"===t?{activeBody:"raw",encoding:"edn",header:"application/edn"}:"other"===t?{activeBody:"raw",encoding:"html",header:"application/html"}:{activeBody:"raw",encoding:void 0,header:void 0},g=r=>{const{activeBody:n,encoding:a,header:o}=m(r);if(t.edit(e.example.uid,"body.activeBody",n),a&&"raw"===n)t.edit(e.example.uid,"body.raw",{encoding:a,value:e.example.body.raw?.value??""});else if(a&&"formData"===n)t.edit(e.example.uid,"body.formData",{encoding:a,value:e.example.body.formData?.value??[]});else if(!a&&"binary"!==n){const{raw:r,...n}=e.example.body;t.edit(e.example.uid,"body",n)}const i=[...e.example.parameters.headers],s=i.findIndex((e=>"content-type"===e.key.toLowerCase()));if(s>=0)o&&i[s]?i[s].value=o:i[s]&&("raw"!==n||"none"===r)&&i.splice(s,1);else if(o){const e=i[i.length-1];e&&""===e.key&&""===e.value?i.splice(i.length-1,0,{key:"Content-Type",value:o,enabled:!0}):i.push({key:"Content-Type",value:o,enabled:!0})}t.edit(e.example.uid,"parameters.headers",i)},b=async r=>{const{open:n}=fwe({onChange:async n=>{const a=n?.[0];if(a){const n=[...u.value];n[r]={...n[r],file:a,value:n[r]?.value||a.name,key:n[r]?.key||a.name,enabled:!0},t.edit(e.example.uid,"body.formData.value",n),d()}},multiple:!1,accept:"*/*"});n()},v=()=>t.edit(e.example.uid,"body.binary",void 0);function y(r){const n=u.value,a=[...n],o=n[r],i=o?.file;n.length>1&&(!o?.key&&!o?.value||i&&o?.key===i.name&&o?.value===i.name)?a.splice(r,1):a[r]&&(a[r].file=void 0),t.edit(e.example.uid,"body.formData.value",a)}function O(){const{open:r}=fwe({onChange:async r=>{const n=r?.[0];n&&t.edit(e.example.uid,"body.binary",n)},multiple:!1,accept:"*/*"});r()}hl(o,(e=>{["multipartForm","formUrlEncoded"].includes(e?.id||"")&&d()}),{immediate:!0}),hl((()=>e.example.uid),(()=>{e.operation.method&&PB(e.operation.method)&&g(a.value),["multipartForm","formUrlEncoded"].includes(a.value)&&d()}),{immediate:!0});const w=gc((()=>{const t=o.value?.id,{header:r}=m(t),n=e.operation.requestBody?.content||{},a=r&&n[r]?.examples||{};return Object.entries(a).map((([e,t])=>({id:e,label:e,value:t})))})),x=gc({get:()=>{const t=e.example.body.raw?.value??"{}",r=JSON.parse(t);return w.value.find((e=>{const t=e.value;return JSON.stringify(t.value)===JSON.stringify(r)}))??w.value[0]},set:e=>{if(e?.id){const t=w.value.find((t=>t.id===e.id));if(t){const e=t.value;f(JSON.stringify(e.value,null,2))}}}});return(e,t)=>(Dl(),jl(DSe,null,{title:ci((()=>[Zl(Gn(e.title),1)])),default:ci((()=>[ql(p_e,{columns:[""],presentational:""},{default:ci((()=>[ql(S_e,null,{default:ci((()=>[ql(g_e,{class:"relative col-span-full flex h-8 cursor-pointer items-center justify-between !p-0"},{default:ci((()=>[ql(Ao(H6),{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),options:Ao(n),teleport:""},{default:ci((()=>[ql(Ao(Oq),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("span",null,Gn(o.value?.label),1),ql(Ao(A6),{icon:"ChevronDown",size:"md"})])),_:1})])),_:1},8,["modelValue","options"]),w.value.length>0?(Dl(),jl(Ao(H6),{key:0,modelValue:x.value,"onUpdate:modelValue":t[1]||(t[1]=e=>x.value=e),options:w.value,side:"left",teleport:""},{default:ci((()=>[ql(Ao(Oq),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-2 font-normal",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("span",null,Gn(x.value?.label),1),ql(Ao(A6),{icon:"ChevronDown",size:"md"})])),_:1})])),_:1},8,["modelValue","options"])):Xl("",!0)])),_:1})])),_:1}),ql(S_e,null,{default:ci((()=>["none"===o.value?.id?(Dl(),Ll("div",HCe,t[2]||(t[2]=[zl("span",null,"No Body",-1)]))):"binaryFile"===o.value?.id?(Dl(),Ll("div",VCe,[e.example.body.binary?(Dl(),Ll(Tl,{key:0},[zl("span",ZCe,Gn(e.example.body.binary.name),1),ql(Ao(Oq),{class:"bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none",size:"sm",variant:"outlined",onClick:v},{default:ci((()=>t[3]||(t[3]=[Zl(" Delete ")]))),_:1,__:[3]})],64)):(Dl(),jl(Ao(Oq),{key:1,class:"bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none",size:"sm",variant:"outlined",onClick:O},{default:ci((()=>[t[4]||(t[4]=zl("span",null,"Upload File",-1)),ql(Ao(A6),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})])),_:1,__:[4]}))])):"multipartForm"==o.value?.id?(Dl(),jl(qCe,{key:2,ref_key:"tableWrapperRef",ref:i,class:"!m-0 rounded-t-none border-t-0 border-r-0 border-b-0 border-l-0 shadow-none",columns:["32px","","","104px"],envVariables:e.envVariables,environment:e.environment,items:u.value,showUploadButton:"",workspace:e.workspace,onDeleteRow:l,onRemoveFile:y,onToggleRow:h,onUpdateRow:c,onUploadFile:b},null,8,["envVariables","environment","items","workspace"])):"formUrlEncoded"==o.value?.id?(Dl(),jl(qCe,{key:3,ref_key:"tableWrapperRef",ref:i,class:"!m-0 rounded-t-none border-t-0 border-r-0 border-b-0 border-l-0 shadow-none",columns:["32px","","","104px"],envVariables:e.envVariables,environment:e.environment,items:u.value,showUploadButton:"",workspace:e.workspace,onDeleteRow:l,onRemoveFile:y,onToggleRow:h,onUpdateRow:c,onUploadFile:b},null,8,["envVariables","environment","items","workspace"])):(Dl(),jl(uve,{key:4,class:"border-t px-3",content:"",envVariables:e.envVariables,environment:e.environment,language:s.value,lineNumbers:"",lint:"",modelValue:e.example.body?.raw?.value??"",workspace:e.workspace,"onUpdate:modelValue":f},null,8,["envVariables","environment","language","modelValue","workspace"]))])),_:1}),ql(S_e)])),_:1})])),_:1}))}}),XCe=W7(WCe,[["__scopeId","data-v-a4d93a6f"]]),GCe={class:"text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100"},YCe={class:"sr-only"},KCe=Li({__name:"RequestParams",props:{example:{},environment:{},envVariables:{},workspace:{},title:{},label:{},paramKey:{},readOnlyEntries:{default:()=>[]},invalidParams:{}},setup(e){const{requestExampleMutators:t}=AOe(),r=gc((()=>e.example.parameters[e.paramKey]??[]));Yi((()=>{Ko((()=>{c()}))}));const n=()=>{const n=hye.parse({enabled:!1}),a=[...r.value,n];t.edit(e.example.uid,`parameters.${e.paramKey}`,a)},a=So(null),o=(o,i,s)=>{const l=r.value;if(l.length>o){const r=[...l];if(!r[o])return;r[o]={...r[o],[i]:s},(""!==r[o].key||""!==r[o].value)&&(r[o].enabled=!0),""===r[o].key&&""===r[o].value&&r.splice(o,1),t.edit(e.example.uid,`parameters.${e.paramKey}`,r)}else{const r=[hye.parse({[i]:s})];t.edit(e.example.uid,`parameters.${e.paramKey}`,r),Ko((()=>{a.value&&a.value.querySelectorAll("input")["key"===i?0:1]?.focus()}))}o===l.length-1&&n()},i=(r,n)=>t.edit(e.example.uid,`parameters.${e.paramKey}.${r}.enabled`,n),s=()=>{const a=r.value.filter((e=>e.required));t.edit(e.example.uid,`parameters.${e.paramKey}`,a),Ko((()=>n()))},l=n=>{const a=r.value;if(a.length>n){const r=[...a];r.splice(n,1),t.edit(e.example.uid,`parameters.${e.paramKey}`,r)}};function c(){if(0===r.value.length)n();else if(r.value.length>=1){const e=r.value[r.value.length-1];e&&""!==e.key&&""!==e.value&&n()}}const u=gc((()=>r.value.filter((e=>e.key||e.value)).length)),d=gc((()=>r.value.length>1));hl((()=>e.example),((e,t)=>{e!==t&&c()}),{immediate:!0});const p=gc((()=>(e.readOnlyEntries??[]).length>0));return(e,t)=>(Dl(),jl(DSe,{class:"group/params",itemCount:u.value},{title:ci((()=>[Zl(Gn(e.title),1)])),actions:ci((()=>[zl("div",GCe,[d.value?(Dl(),jl(Ao(R7),{key:0,content:"Clear optional parameters",placement:"left"},{default:ci((()=>[ql(Ao(Oq),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Tu(s,["stop"])},{default:ci((()=>[t[0]||(t[0]=Zl(" Clear ")),zl("span",YCe,"All "+Gn(e.title),1)])),_:1,__:[0]})])),_:1})):Xl("",!0)])])),default:ci((()=>[zl("div",{ref_key:"tableWrapperRef",ref:a},[p.value?(Dl(),jl(qCe,{key:0,class:zn(["flex-1",{"bg-c-3/5":p.value}]),columns:["32px","",""],envVariables:e.envVariables,environment:e.environment,invalidParams:e.invalidParams,isGlobal:"",isReadOnly:"",items:e.readOnlyEntries,label:e.label,workspace:e.workspace},null,8,["class","envVariables","environment","invalidParams","items","label","workspace"])):Xl("",!0),ql(qCe,{class:"flex-1",columns:["32px","",""],envVariables:e.envVariables,environment:e.environment,invalidParams:e.invalidParams,items:r.value,label:e.label,workspace:e.workspace,onToggleRow:i,onUpdateRow:o,onDeleteRow:l},null,8,["envVariables","environment","invalidParams","items","label","workspace"])],512)])),_:1},8,["itemCount"]))}}),JCe=Li({__name:"RequestPathParams",props:{example:{},operation:{},paramKey:{},title:{},environment:{},envVariables:{},workspace:{},invalidParams:{}},setup(e){const{requestMutators:t,requestExampleMutators:r}=AOe(),n=gc((()=>e.example.parameters[e.paramKey].map((e=>({...e,enum:e.enum}))))),a=(n,a,o)=>{const i=e.example.parameters[e.paramKey],s=i[n]?.key;if(s){if("key"===a){if(i[n]?.required)return;if(o){const r=encodeURIComponent(s),n=encodeURIComponent(o),a=new RegExp(`(?<=/):${r}(?=[/?#]|$)`,"g"),i=e.operation.path.replace(a,`:${n}`);t.edit(e.operation.uid,"path",i)}else{i.splice(n,1);const r=new RegExp(`/:${encodeURIComponent(s)}(?=[/?#]|$)`,"g"),a=e.operation.path.replace(r,"");t.edit(e.operation.uid,"path",a)}}r.edit(e.example.uid,`parameters.${e.paramKey}.${n}.${a}`,o)}},o=t=>{const a=n.value;if(a.length>t){const n=[...a];n.splice(t,1),r.edit(e.example.uid,`parameters.${e.paramKey}`,n)}},i=t=>{t&&(t=>{const n=t.match(wR.PATH)?.map((e=>e.slice(1,-1)))||[],a=e.example.parameters[e.paramKey],o=new Map(a.map((e=>[e.key,e]))),i=n.map((e=>o.get(e)||{key:e,value:"",enabled:!0}));a.forEach((e=>{!n.includes(e.key)&&(e.value||e.required)&&i.push(e)})),a.splice(0,a.length,...i),r.edit(e.example.uid,`parameters.${e.paramKey}`,a)})(t)};return hl((()=>e.operation.path),(e=>{e&&i(e)})),(e,t)=>(Dl(),jl(DSe,{itemCount:n.value.length},{title:ci((()=>[Zl(Gn(e.title),1)])),default:ci((()=>[n.value.length?(Dl(),jl(qCe,{key:0,class:"flex-1",columns:["32px","",""],envVariables:e.envVariables,environment:e.environment,invalidParams:e.invalidParams,items:n.value,workspace:e.workspace,onUpdateRow:a,onDeleteRow:o},null,8,["envVariables","environment","invalidParams","items","workspace"])):Xl("",!0)])),_:1},8,["itemCount"]))}}),ePe={class:"text-c-2 mb-4 text-sm leading-normal"},tPe={class:"flex justify-between gap-2"},rPe=Li({__name:"DeleteRequestAuthModal",props:{state:{},scheme:{}},emits:["close","delete"],setup(e,{emit:t}){const r=e,n=t,{securitySchemeMutators:a}=AOe(),o=()=>{r.scheme?.id&&a.delete(r.scheme.id),n("delete")};return(e,t)=>(Dl(),jl(Ao(F7),{size:"xxs",state:e.state,title:"Delete Security Scheme"},{default:ci((()=>[zl("p",ePe," This cannot be undone. You're about to delete the "+Gn(e.scheme?.label)+" security scheme from the collection. ",1),zl("div",tPe,[ql(Ao(Oq),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:t[0]||(t[0]=e=>n("close"))},{default:ci((()=>t[1]||(t[1]=[Zl(" Cancel ")]))),_:1,__:[1]}),ql(Ao(Oq),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"submit",onClick:o},{default:ci((()=>[Zl(" Delete "+Gn(e.scheme?.label),1)])),_:1})])])),_:1},8,["state"]))}}),nPe=(e,t,r,{securitySchemeMutators:n,securitySchemes:a},o=!1)=>{if(n.edit(e,t,r),o)try{const n=JSON.parse(Hj().getItem(zj)??"{}"),o=a[e];n&&o?.nameKey&&((n[o.nameKey]||={})[t]=r,Hj().setItem(zj,JSON.stringify(n)))}catch(e){console.error(e)}},aPe={class:"flex h-fit w-full"},oPe={class:"flex-1"},iPe={class:"flex items-center gap-1.75"},sPe={class:"grid auto-rows-auto",style:{gridTemplateColumns:"1fr auto"}},lPe={key:0},cPe={class:"font-code text-xs"},uPe=Li({__name:"OAuthScopesInput",props:{flow:{},updateScheme:{type:Function}},setup(e){const t=gc((()=>Object.entries(e.flow?.scopes??{}).map((([e,t])=>({id:e,label:e,description:t}))))),r=gc((()=>e.flow?.selectedScopes||[])),n=gc((()=>e.flow?.selectedScopes?.length===Object.keys(e.flow?.scopes??{}).length)),a=()=>{e.updateScheme(`flows.${e.flow.type}.selectedScopes`,Object.keys(e.flow?.scopes??{}))},o=()=>{e.updateScheme(`flows.${e.flow.type}.selectedScopes`,[])};return(i,s)=>(Dl(),jl(Ao(h_e),{class:"h-auto !max-h-[initial] min-h-8 items-center"},{default:ci((()=>[zl("div",aPe,[s[2]||(s[2]=zl("div",{class:"text-c-1 h-full items-center"},null,-1)),ql(Ao(aQ),{as:"div",class:"bl flex w-full flex-col"},{default:ci((()=>[ql(Ao(oQ),{class:zn(["group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pr-2.25 pl-3 text-left",(i.flow?.selectedScopes?.length||0)>0?"text-c-1":"text-c-3"])},{default:ci((({open:e})=>[zl("div",oPe," Scopes Selected "+Gn(i.flow?.selectedScopes?.length||0)+" / "+Gn(Object.keys(i.flow?.scopes??{}).length||0),1),zl("div",iPe,[n.value?(Dl(),jl(Ao(Oq),{key:0,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Tu(o,["stop"])},{default:ci((()=>s[0]||(s[0]=[Zl(" Deselect All ")]))),_:1,__:[0]})):Xl("",!0),n.value?Xl("",!0):(Dl(),jl(Ao(Oq),{key:1,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Tu(a,["stop"])},{default:ci((()=>s[1]||(s[1]=[Zl(" Select All ")]))),_:1,__:[1]})),ql(Ao(A6),{class:"text-c-3 group-hover/scopes-accordion:text-c-2",icon:e?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])])])),_:1},8,["class"]),ql(Ao(iQ),{as:"template"},{default:ci((()=>[zl("table",sPe,[(Dl(!0),Ll(Tl,null,ps(t.value,(({id:t,label:n,description:a})=>(Dl(),jl(Ao(S_e),{key:t,class:"text-c-2",onClick:n=>function(t,n){n?e.updateScheme(`flows.${e.flow.type}.selectedScopes`,[...r.value,t]):e.updateScheme(`flows.${e.flow.type}.selectedScopes`,r.value.filter((e=>e!==t)))}(t,!r.value.includes(t))},{default:ci((()=>[ql(Ao(h_e),{class:"hover:text-c-1 box-border !max-h-[initial] w-full cursor-pointer px-3 py-1.5"},{default:ci((()=>[a?(Dl(),Ll("div",lPe,[zl("span",cPe,Gn(n),1),Zl(" – "+Gn(a),1)])):Xl("",!0)])),_:2},1024),ql(Ao(m_e),{modelValue:r.value.includes(t),"onUpdate:modelValue":()=>{}},null,8,["modelValue"])])),_:2},1032,["onClick"])))),128))])])),_:1})])),_:1})])])),_:1}))}}),dPe=["for"],pPe=Li({__name:"RequestAuthDataTableInput",props:{type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},readOnly:{type:Boolean,default:!1},environment:{},envVariables:{},workspace:{}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){const r=e,n=t,a=ji();return(e,t)=>(Dl(),jl(x_e,Jl({id:Ao(a),canAddCustomEnumValue:!r.readOnly,containerClass:r.containerClass},e.$attrs,{envVariables:r.envVariables,environment:r.environment,lineWrapping:"",modelValue:r.modelValue,readOnly:r.readOnly,required:r.required,type:r.type,workspace:r.workspace,onInputBlur:t[0]||(t[0]=e=>n("inputBlur")),onInputFocus:t[1]||(t[1]=e=>n("inputFocus")),onSelectVariable:t[2]||(t[2]=e=>n("selectVariable",e)),"onUpdate:modelValue":t[3]||(t[3]=e=>n("update:modelValue",e))}),{default:ci((()=>[zl("label",{for:Ao(a)},[fs(e.$slots,"default")],8,dPe)])),icon:ci((()=>[fs(e.$slots,"icon")])),_:3},16,["id","canAddCustomEnumValue","containerClass","envVariables","environment","modelValue","readOnly","required","type","workspace"]))}}),hPe={class:"flex h-8 items-center justify-end border-t"},fPe={class:"flex h-8 w-full items-center justify-end border-t"},mPe=Li({__name:"OAuth2",props:{collection:{},environment:{},envVariables:{},flow:{},persistAuth:{type:Boolean,default:!1},scheme:{},server:{},workspace:{}},emits:["authorized"],setup(e,{emit:t}){const r=t,n=fq(),{toast:a}=JW(),o=AOe(),i=(t,r)=>nPe(e.scheme.uid,t,r,o,e.persistAuth),s=async()=>{if(n.isLoading||!e.collection?.uid)return;if(!e.server)return void a("No server selected","error");n.startLoading();const[t,o]=await YSe(e.flow,e.server,e.workspace?.proxyUrl).finally((()=>n.stopLoading()));o?(i(`flows.${e.flow.type}.token`,o),r("authorized")):(console.error(t),a(t?.message??"Failed to authorize","error"))},l={environment:e.environment,envVariables:e.envVariables,workspace:e.workspace};return(e,t)=>(Dl(),Ll(Tl,null,[e.flow.token?(Dl(),Ll(Tl,{key:0},[ql(Ao(S_e),null,{default:ci((()=>[ql(pPe,Jl(l,{class:"border-r-transparent",modelValue:e.flow.token,placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":t[0]||(t[0]=t=>i(`flows.${e.flow.type}.token`,t))}),{default:ci((()=>t[10]||(t[10]=[Zl(" Access Token ")]))),_:1,__:[10]},16,["modelValue"])])),_:1}),ql(Ao(S_e),{class:"min-w-full"},{default:ci((()=>[zl("div",hPe,[ql(Ao(Oq),{class:"mr-1 p-0 px-2 py-0.5",loading:Ao(n),size:"sm",variant:"outlined",onClick:t[1]||(t[1]=t=>i(`flows.${e.flow.type}.token`,""))},{default:ci((()=>t[11]||(t[11]=[Zl(" Clear ")]))),_:1,__:[11]},8,["loading"]),fs(e.$slots,"oauth-actions")])])),_:3})],64)):(Dl(),Ll(Tl,{key:1},[ql(Ao(S_e),null,{default:ci((()=>["authorizationUrl"in e.flow?(Dl(),jl(pPe,Jl({key:0},l,{containerClass:"border-r-0",modelValue:e.flow.authorizationUrl,placeholder:"https://galaxy.scalar.com/authorize","onUpdate:modelValue":t[2]||(t[2]=t=>i(`flows.${e.flow.type}.authorizationUrl`,t))}),{default:ci((()=>t[12]||(t[12]=[Zl(" Auth URL ")]))),_:1,__:[12]},16,["modelValue"])):Xl("",!0),"tokenUrl"in e.flow?(Dl(),jl(pPe,Jl({key:1},l,{modelValue:e.flow.tokenUrl,placeholder:"https://galaxy.scalar.com/token","onUpdate:modelValue":t[3]||(t[3]=t=>i(`flows.${e.flow.type}.tokenUrl`,t))}),{default:ci((()=>t[13]||(t[13]=[Zl(" Token URL ")]))),_:1,__:[13]},16,["modelValue"])):Xl("",!0)])),_:1}),"x-scalar-redirect-uri"in e.flow?(Dl(),jl(Ao(S_e),{key:0},{default:ci((()=>[ql(pPe,Jl(l,{modelValue:e.flow["x-scalar-redirect-uri"],placeholder:"https://galaxy.scalar.com/callback","onUpdate:modelValue":t[4]||(t[4]=t=>i(`flows.${e.flow.type}.x-scalar-redirect-uri`,t))}),{default:ci((()=>t[14]||(t[14]=[Zl(" Redirect URL ")]))),_:1,__:[14]},16,["modelValue"])])),_:1})):Xl("",!0),"password"===e.flow.type?(Dl(),Ll(Tl,{key:1},[ql(Ao(S_e),null,{default:ci((()=>[ql(pPe,Jl(l,{class:"text-c-2",modelValue:e.flow.username,placeholder:"janedoe","onUpdate:modelValue":t[5]||(t[5]=t=>i(`flows.${e.flow.type}.username`,t))}),{default:ci((()=>t[15]||(t[15]=[Zl(" Username ")]))),_:1,__:[15]},16,["modelValue"])])),_:1}),ql(Ao(S_e),null,{default:ci((()=>[ql(pPe,Jl(l,{modelValue:e.flow.password,placeholder:"********",type:"password","onUpdate:modelValue":t[6]||(t[6]=t=>i(`flows.${e.flow.type}.password`,t))}),{default:ci((()=>t[16]||(t[16]=[Zl(" Password ")]))),_:1,__:[16]},16,["modelValue"])])),_:1})],64)):Xl("",!0),ql(Ao(S_e),null,{default:ci((()=>[ql(pPe,Jl(l,{modelValue:e.flow["x-scalar-client-id"],placeholder:"12345","onUpdate:modelValue":t[7]||(t[7]=t=>i(`flows.${e.flow.type}.x-scalar-client-id`,t))}),{default:ci((()=>t[17]||(t[17]=[Zl(" Client ID ")]))),_:1,__:[17]},16,["modelValue"])])),_:1}),"clientSecret"in e.flow?(Dl(),jl(Ao(S_e),{key:2},{default:ci((()=>[ql(pPe,Jl(l,{modelValue:e.flow.clientSecret,placeholder:"XYZ123",type:"password","onUpdate:modelValue":t[8]||(t[8]=t=>i(`flows.${e.flow.type}.clientSecret`,t))}),{default:ci((()=>t[18]||(t[18]=[Zl(" Client Secret ")]))),_:1,__:[18]},16,["modelValue"])])),_:1})):Xl("",!0),"x-usePkce"in e.flow?(Dl(),jl(Ao(S_e),{key:3},{default:ci((()=>[ql(pPe,Jl(l,{enum:Ao(Ive),modelValue:e.flow["x-usePkce"],readOnly:"","onUpdate:modelValue":t[9]||(t[9]=t=>i(`flows.${e.flow.type}.x-usePkce`,t))}),{default:ci((()=>t[19]||(t[19]=[Zl(" Use PKCE ")]))),_:1,__:[19]},16,["enum","modelValue"])])),_:1})):Xl("",!0),Object.keys(e.flow.scopes??{}).length?(Dl(),jl(Ao(S_e),{key:4},{default:ci((()=>[ql(uPe,{flow:e.flow,updateScheme:i},null,8,["flow"])])),_:1})):Xl("",!0)],64)),e.flow.token?Xl("",!0):(Dl(),jl(Ao(S_e),{key:2,class:"min-w-full"},{default:ci((()=>[zl("div",fPe,[ql(Ao(Oq),{class:"mr-0.75 p-0 px-2 py-0.5",loading:Ao(n),size:"sm",variant:"outlined",onClick:s},{default:ci((()=>t[20]||(t[20]=[Zl(" Authorize ")]))),_:1,__:[20]},8,["loading"])])])),_:1}))],64))}}),gPe={class:"bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow-hidden px-3 py-1.25 text-ellipsis group-hover/auth:absolute group-hover/auth:h-auto group-hover/auth:border-b *:first:line-clamp-1 *:first:text-ellipsis group-hover/auth:*:first:line-clamp-none"},bPe={key:0,class:"flex min-h-8 border-t text-base"},vPe={class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},yPe=["onClick"],OPe={class:"relative z-10"},wPe=Li({__name:"RequestAuthTab",props:{collection:{},environment:{},envVariables:{},layout:{},persistAuth:{type:Boolean,default:!1},securitySchemeUids:{},server:{},workspace:{}},emits:["authorized"],setup(e,{emit:t}){const r=t,n=AOe(),{securitySchemes:a}=n,o=gc((()=>e.securitySchemeUids.map((e=>({scheme:a[e]}))))),i=So(""),s=e=>{const t=e.description?`: ${e.description}`:"",r=`${Pn(e.nameKey)}${t||`: ${e.type}`}`;if("apiKey"===e.type)return`${Pn(e.nameKey)}${t||`: ${e.in}`}`;if("oauth2"===e.type){const r=Object.values(e.flows??{})[0];return`${Pn(e.nameKey)}: ${i.value?i.value:r?.type??""}${t}`}return"http"===e.type?`${Pn(e.nameKey)}: ${e.scheme}${t}`:`${r}${t}`},l=(t,r,a)=>{nPe(t,r,a,n,e.persistAuth)};Yi((()=>{e.persistAuth&&((e,t)=>{try{const{collectionMutators:r,securitySchemes:n,securitySchemeMutators:a}=e,o=JSON.parse(Hj().getItem(zj)??"{}"),i=Object.keys(n).reduce(((e,t)=>{const r=n[t];return r&&(e[r.nameKey]=r.uid),e}),{});Object.entries(o).forEach((([e,t])=>{const r=i[e];r&&Object.entries(t).forEach((([e,t])=>{a.edit(r,e,t)}))}));const s=JSON.parse(Hj().getItem(qj)??"[]").map((e=>Array.isArray(e)?e.map((e=>i[e])).filter(OB):i[e])).filter(OB);r.edit(t,"selectedSecuritySchemeUids",s)}catch(e){console.error(e)}})(n,e.collection.uid)}));const c={environment:e.environment,envVariables:e.envVariables,workspace:e.workspace};return(e,t)=>(Dl(!0),Ll(Tl,null,ps(o.value,(({scheme:n})=>(Dl(),Ll(Tl,{key:n?.uid},[o.value.length>1&&n?(Dl(),jl(Ao(S_e),{key:0},{default:ci((()=>[ql(Ao(h_e),{"aria-label":s(n),class:"text-c-2 group/auth flex items-center leading-[22px] whitespace-nowrap outline-none hover:whitespace-normal"},{default:ci((()=>[zl("p",gPe,Gn(s(n)),1)])),_:2},1032,["aria-label"])])),_:2},1024)):Xl("",!0),n?.description&&o.value.length<=1?(Dl(),jl(Ao(S_e),{key:1},{default:ci((()=>[ql(Ao(h_e),{"aria-label":n.description,class:"max-h-[auto]"},{default:ci((()=>[ql(Ao(X6),{class:"auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25",value:n.description},null,8,["value"])])),_:2},1032,["aria-label"])])),_:2},1024)):Xl("",!0),"http"===n?.type?(Dl(),Ll(Tl,{key:2},["bearer"===n.scheme?(Dl(),jl(Ao(S_e),{key:0},{default:ci((()=>[ql(pPe,Jl({ref_for:!0},c,{containerClass:"reference"===e.layout&&"border-t",modelValue:n.token,placeholder:"Token",type:"password","onUpdate:modelValue":e=>l(n.uid,"token",e)}),{default:ci((()=>t[1]||(t[1]=[Zl(" Bearer Token ")]))),_:2,__:[1]},1040,["containerClass","modelValue","onUpdate:modelValue"])])),_:2},1024)):"basic"===n?.scheme?(Dl(),Ll(Tl,{key:1},[ql(Ao(S_e),null,{default:ci((()=>[ql(pPe,Jl({ref_for:!0},c,{class:"text-c-2",modelValue:n.username,placeholder:"janedoe",required:"","onUpdate:modelValue":e=>l(n.uid,"username",e)}),{default:ci((()=>t[2]||(t[2]=[Zl(" Username ")]))),_:2,__:[2]},1040,["modelValue","onUpdate:modelValue"])])),_:2},1024),ql(Ao(S_e),null,{default:ci((()=>[ql(pPe,Jl({ref_for:!0},c,{modelValue:n.password,placeholder:"********",type:"password","onUpdate:modelValue":e=>l(n.uid,"password",e)}),{default:ci((()=>t[3]||(t[3]=[Zl(" Password ")]))),_:2,__:[3]},1040,["modelValue","onUpdate:modelValue"])])),_:2},1024)],64)):Xl("",!0)],64)):"apiKey"===n?.type?(Dl(),Ll(Tl,{key:3},[ql(Ao(S_e),null,{default:ci((()=>[ql(pPe,Jl({ref_for:!0},c,{containerClass:"reference"===e.layout&&"border-t",modelValue:n.name,placeholder:"api-key","onUpdate:modelValue":e=>l(n.uid,"name",e)}),{default:ci((()=>t[4]||(t[4]=[Zl(" Name ")]))),_:2,__:[4]},1040,["containerClass","modelValue","onUpdate:modelValue"])])),_:2},1024),ql(Ao(S_e),null,{default:ci((()=>[ql(pPe,Jl({ref_for:!0},c,{modelValue:n.value,placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":e=>l(n.uid,"value",e)}),{default:ci((()=>t[5]||(t[5]=[Zl(" Value ")]))),_:2,__:[5]},1040,["modelValue","onUpdate:modelValue"])])),_:2},1024)],64)):"oauth2"===n?.type?(Dl(),Ll(Tl,{key:4},[ql(Ao(S_e),null,{default:ci((()=>[Object.keys(n.flows).length>1?(Dl(),Ll("div",bPe,[zl("div",vPe,[(Dl(!0),Ll(Tl,null,ps(n?.flows,((t,r,n)=>(Dl(),Ll("button",{key:r,class:zn(["floating-bg text-c-3 relative cursor-pointer border-b-[1px] border-transparent py-1 text-base font-medium",{"!text-c-1 !rounded-none border-b-[1px] !border-current":"reference"!==e.layout&&(i.value===r||0===n&&!i.value),"!text-c-1 !rounded-none border-b-[1px] !border-current opacity-100":"reference"===e.layout&&(i.value===r||0===n&&!i.value)}]),type:"button",onClick:e=>i.value=r},[zl("span",OPe,Gn(r),1)],10,yPe)))),128))])])):Xl("",!0)])),_:2},1024),(Dl(!0),Ll(Tl,null,ps(n?.flows,((a,o,s)=>(Dl(),Ll(Tl,{key:o},[i.value===o||0===s&&!i.value?(Dl(),jl(mPe,Jl({key:0,ref_for:!0},c,{collection:e.collection,flow:a,persistAuth:e.persistAuth,scheme:n,server:e.server,workspace:e.workspace,onAuthorized:t[0]||(t[0]=e=>r("authorized"))}),{"oauth-actions":ci((()=>[fs(e.$slots,"oauth-actions")])),_:2},1040,["collection","flow","persistAuth","scheme","server","workspace"])):Xl("",!0)],64)))),128))],64)):"openIdConnect"===n?.type?(Dl(),Ll("div",{key:5,class:zn(["text-c-3 bg-b-1 flex min-h-[calc(4rem+1px)] items-center justify-center border-t border-b-0 px-4 text-base",{"rounded-b-lg":"reference"===e.layout}])}," Coming soon ",2)):Xl("",!0)],64)))),128))}}),xPe=["onClick"],kPe={class:"relative z-10 font-medium whitespace-nowrap"},SPe={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"},_Pe=Li({__name:"RequestAuthDataTable",props:{collection:{},environment:{},envVariables:{},layout:{default:"client"},persistAuth:{type:Boolean,default:!1},selectedSchemeOptions:{default:()=>[]},server:{},workspace:{}},emits:["authorized","activeSchemes"],setup(e,{emit:t}){const r=t,{securitySchemes:n}=AOe(),a=B7(),o=So(null),i=So(0),s=gc((()=>{if(!e.selectedSchemeOptions||0===e.selectedSchemeOptions.length)return[];const t=e.selectedSchemeOptions[i.value];if(!t)return[];const r=t.id.split(",").filter(Boolean);return r.length>1?r:[t.id]}));hl(s,(e=>{r("activeSchemes",e.map((e=>n[e])).filter(OB))}),{immediate:!0});const l=gc((()=>s.value.length>0));return hl((()=>e.selectedSchemeOptions),(e=>{(!e||!e[i.value])&&(i.value=Math.max(0,i.value-1))})),(e,t)=>(Dl(),Ll("form",{onSubmit:t[2]||(t[2]=Tu((()=>{}),["prevent"]))},[e.selectedSchemeOptions.length>1?(Dl(),Ll("div",{key:0,class:zn(["box-content flex flex-wrap gap-x-2.5 overflow-hidden border border-b-0 px-3","client"===e.layout&&"border-x-0"])},[(Dl(!0),Ll(Tl,null,ps(e.selectedSchemeOptions,((e,t)=>(Dl(),Ll("div",{key:e.id,class:zn(["relative z-1 -mb-[var(--scalar-border-width)] flex h-8 cursor-pointer",[i.value===t?"text-c-1":"text-c-3"]])},[zl("button",{class:"floating-bg relative cursor-pointer border-b-[1px] border-transparent py-1 text-sm font-medium",type:"button",onClick:e=>i.value=t},[zl("span",kPe,Gn(e.label),1)],8,xPe),i.value===t?(Dl(),Ll("div",SPe)):Xl("",!0)],2)))),128))],2)):Xl("",!0),l.value?(Dl(),jl(Ao(p_e),{key:1,class:zn(["flex-1","reference"===e.layout&&"bg-b-1 rounded-b-lg border border-t-0"]),columns:[""],presentational:""},{default:ci((()=>[ql(wPe,{collection:e.collection,envVariables:e.envVariables,environment:e.environment,layout:e.layout,persistAuth:e.persistAuth,securitySchemeUids:s.value,server:e.server,workspace:e.workspace,onAuthorized:t[0]||(t[0]=e=>r("authorized"))},{"oauth-actions":ci((()=>[fs(e.$slots,"oauth-actions",{},void 0,!0)])),_:3},8,["collection","envVariables","environment","layout","persistAuth","securitySchemeUids","server","workspace"])])),_:3},8,["class"])):(Dl(),Ll("div",{key:2,class:zn(["text-c-3 bg-b-1 flex min-h-16 items-center justify-center border-t px-4 text-sm","reference"===e.layout&&"min-h-[calc(4rem+0.5px)] rounded-b-lg border"])}," No authentication selected ",2)),ql(rPe,{scheme:o.value,state:Ao(a),onClose:t[1]||(t[1]=e=>Ao(a).hide())},null,8,["scheme","state"])],32))}}),EPe=W7(_Pe,[["__scopeId","data-v-0bb98074"]]),TPe=["id"],APe={class:"flex flex-1"},CPe={class:"min-w-0 flex-1 truncate"},PPe=Li({__name:"RequestAuth",props:{collection:{},isReadOnly:{type:Boolean,default:!1},environment:{},envVariables:{},layout:{},operation:{},persistAuth:{type:Boolean,default:!1},selectedSecuritySchemeUids:{},server:{},title:{},workspace:{}},emits:["authorized","activeSchemes"],setup(e,{emit:t}){const r=t,{securitySchemes:n,securitySchemeMutators:a,requestMutators:o,collectionMutators:i}=AOe(),s=ji(),l=So(null),c=B7(),u=So(null),d=So(!1),p=gc((()=>{const t=LSe(e.operation,e.collection);return{filteredRequirements:t.filter((e=>Object.keys(e).length)),requirements:t}})),h=gc((()=>{const{filteredRequirements:e,requirements:t}=p.value;if(!t.length)return null;const r=!t.some((e=>Object.keys(e).length>1))&&e.length<t.length;return{icon:r?"Unlock":"Lock",text:r?"Optional":"Required"}})),f=gc((()=>e.selectedSecuritySchemeUids.map((e=>{if(Array.isArray(e))return ISe(e,n);const t=n[e??""];return t?NSe(t):void 0})).filter(OB)));function m(t){const r=t.find((e=>e.payload)),n=t.filter((e=>!e.payload)).map((({id:e})=>{const t=e.split(",");return t.length>1?t:e}));if(r?.payload){const t=a.add(r.payload,e.collection?.uid);t&&n.push(t.uid)}g(n)}const g=t=>{if(e.collection.useCollectionSecurity){if(i.edit(e.collection.uid,"selectedSecuritySchemeUids",t),!e.persistAuth)return;const r=t.map((e=>Array.isArray(e)?e.map((e=>n[e]?.nameKey)):n[e]?.nameKey));Hj().setItem(qj,JSON.stringify(r))}else e.operation?.uid&&o.edit(e.operation.uid,"selectedSecuritySchemeUids",t)};function b({id:e,label:t}){u.value={id:e,label:t},c.show()}const v=gc((()=>jSe(p.value.filteredRequirements,e.collection?.securitySchemes??[],n,e.isReadOnly))),y=e=>{d.value&&e.stopPropagation(),l.value?.$el.click()};return(t,n)=>(Dl(),jl(DSe,{class:"group/params relative",itemCount:f.value.length,layout:t.layout,"onUpdate:modelValue":n[4]||(n[4]=e=>d.value=e)},{title:ci((()=>[zl("div",{id:Ao(s),class:"inline-flex items-center gap-0.5 leading-[20px]"},[zl("span",null,Gn(t.title),1),h.value?(Dl(),Ll("span",{key:0,class:zn(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]",{"text-c-1":"Required"===h.value.text}]),onClick:y},Gn(h.value.text),3)):Xl("",!0)],8,TPe)])),actions:ci((()=>[zl("div",APe,[ql(Ao(nY),{class:"w-72 text-xs",modelValue:f.value,multiple:"",options:v.value,placement:"bottom-end",teleport:"",onDelete:b,"onUpdate:modelValue":m},{option:ci((({option:e,selected:r})=>[ql(Ao(yX),{multiselect:"",selected:r},null,8,["selected"]),zl("div",CPe,Gn(e.label),1),e.isDeletable??!t.isReadOnly?(Dl(),jl(Ao(Q6),{key:0,class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",icon:Ao(XZ),label:`Delete ${e.label}`,size:"xs",onClick:Tu((t=>b(e)),["stop"])},null,8,["icon","label","onClick"])):Xl("",!0)])),default:ci((()=>[ql(Ao(Oq),{ref_key:"comboboxButtonRef",ref:l,"aria-describedby":Ao(s),class:"group/combobox-button hover:text-c-1 text-c-2 flex h-fit items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",fullWidth:"",variant:"ghost"},{default:ci((()=>[1===f.value.length?(Dl(),Ll(Tl,{key:0},[n[5]||(n[5]=zl("span",{class:"sr-only"},"Selected Auth Type:",-1)),Zl(" "+Gn(f.value[0]?.label),1)],64)):f.value.length>1?(Dl(),Ll(Tl,{key:1},[n[6]||(n[6]=Zl(" Multiple ")),n[7]||(n[7]=zl("span",{class:"sr-only"},"Auth Types Selected",-1))],64)):(Dl(),Ll(Tl,{key:2},[n[8]||(n[8]=zl("span",{class:"sr-only"},"Select",-1)),n[9]||(n[9]=Zl(" Auth Type "))],64)),ql(Ao(uH),{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"])])])),default:ci((()=>[ql(EPe,{collection:t.collection,envVariables:t.envVariables,environment:t.environment,layout:t.layout,persistAuth:t.persistAuth,selectedSchemeOptions:f.value,server:t.server,workspace:t.workspace,onActiveSchemes:n[0]||(n[0]=e=>r("activeSchemes",e)),onAuthorized:n[1]||(n[1]=e=>r("authorized"))},{"oauth-actions":ci((()=>[fs(t.$slots,"oauth-actions",{},void 0,!0)])),_:3},8,["collection","envVariables","environment","layout","persistAuth","selectedSchemeOptions","server","workspace"]),ql(rPe,{scheme:u.value,state:Ao(c),onClose:n[2]||(n[2]=e=>Ao(c).hide()),onDelete:n[3]||(n[3]=t=>(t=>{if(!t)return;const r=e.selectedSecuritySchemeUids.filter((e=>{const r=t.split(",");return r.length>1&&Array.isArray(e)&&r.length===e.length?e.every((e=>!r.includes(e))):e!==t}));g(r),l.value?.$el.focus(),c.hide()})(u.value?.id))},null,8,["scheme","state"])])),_:3},8,["itemCount","layout"]))}}),$Pe=W7(PPe,[["__scopeId","data-v-f622cd82"]]),MPe=(e=[],t={},r="")=>{const n={},a=[],o=new URLSearchParams;return e.forEach((e=>{if("apiKey"===e.type){const i=Rbe(e.value,t)||r;"header"===e.in&&(n[e.name]=i),"query"===e.in&&o.append(e.name,i),"cookie"===e.in&&a.push(SCe.parse({uid:e.uid,name:e.name,value:i,path:"/"}))}if("http"===e.type)if("basic"===e.scheme){const r=`${Rbe(e.username,t)}:${Rbe(e.password,t)}`;n.Authorization=`Basic ${":"===r?"username:password":GSe(r)}`}else{const a=Rbe(e.token,t);n.Authorization=`Bearer ${a||r}`}if("oauth2"===e.type){const t=Object.values(e.flows).filter(OB).find((e=>e.token))?.token;n.Authorization=`Bearer ${t||r}`}})),{headers:n,cookies:a,urlParams:o}},DPe="ws://replace.me",RPe=(e,t,r)=>{try{if(!r.url)return[new Error("Please enter a URL to see a code snippet"),null];const n=r.url.startsWith("/")?"":"/";try{new URL(r.url)}catch(e){console.error("[getSnippet] Invalid URL",e),r.url=`${DPe}${n}${r.url}`}if("application/json"===r.postData?.mimeType)try{JSON.parse(r.postData.text||"{}")}catch(e){return console.error("[getSnippet] Invalid JSON body",e),[new Error("Invalid JSON body"),null]}const a=e.replace("javascript","js");if(nAe().hasPlugin(a,t)){const e=nAe().print(a,t,r);return e?[null,e.replace(`${DPe}${n}`,"")]:[new Error("Error generating snippet"),null]}}catch(e){return console.error("[getSnippet] Error generating snippet",e),[new Error("Error generating snippet"),null]}return[new Error("No snippet found"),null]},NPe={key:0,class:"text-c-3 flex min-h-16 items-center justify-center px-4 text-sm"},IPe=Li({__name:"CodeSnippet",props:{target:{},client:{},operation:{},server:{},example:{},securitySchemes:{default:()=>[]},environment:{}},setup(e){const t=gc((()=>e.securitySchemes.flatMap((e=>"apiKey"===e.type?e.value:"http"===e?.type?[e.token,e.password,GSe(`${e.username}:${e.password}`)]:"oauth2"===e.type?Object.values(e.flows).map((e=>e?.token)).filter(OB):[])))),r=gc((()=>{const t=(({operation:e,example:t,server:r,securitySchemes:n=[],environment:a})=>{const o=a&&Array.isArray(a)?Object.fromEntries(a.map((e=>[e.key,e.value]))):a||{},i=(()=>{if(r?.url&&(wR.VARIABLES.test(r.url)||wR.PATH.test(r.url))){const e=Object.entries(r?.variables||{}).reduce(((e,[r,n])=>{const a=t?.parameters?.path.find((e=>e.enabled&&e.key===r))?.value;return a?e[r]=Rbe(a,o):n.default&&(e[r]=Rbe(n.default,o)),e}),{});return Rbe(Rbe(r.url,o),e)}return r?.url})(),s=(()=>{const r=e?.path??"/";if(r&&(wR.VARIABLES.test(r)||wR.PATH.test(r))){const e=(t?.parameters?.path??[]).reduce(((e,t)=>(t.enabled&&(e[t.key]=Rbe(t.value,o)),e)),{});return Rbe(Rbe(r,o),e)}return r})(),l=MPe(n,o,"YOUR_SECRET_TOKEN"),c=[...(t?.parameters.headers??[]).map((e=>({...e,value:wR.VARIABLES.test(e.value)||wR.PATH.test(e.value)?Rbe(e.value,o):e.value})))??[],...Object.entries(l.headers).map((([e,t])=>({key:e,value:t,enabled:!0})))],u=[...(t?.parameters.cookies??[]).map((e=>({...e,value:wR.VARIABLES.test(e.value)||wR.PATH.test(e.value)?Rbe(e.value,o):e.value})))??[],...l.cookies.map((e=>({key:e.name,value:e.value,enabled:!0})))],d=[...(t?.parameters.query??[]).map((e=>({...e,value:wR.VARIABLES.test(e.value)||wR.PATH.test(e.value)?Rbe(e.value,o):e.value})))??[],...Array.from(l.urlParams.entries()).map((([e,t])=>({key:e,value:t,enabled:!0})))],p=(()=>{const e=t?.body;return e?.raw?.value&&(wR.VARIABLES.test(e.raw.value)||wR.PATH.test(e.raw.value))?{...e,raw:{...e.raw,value:Rbe(e.raw.value,o)}}:e})();return(({baseUrl:e="",method:t,body:r,path:n,cookies:a,headers:o,query:i})=>{const s=SR(e,n,void 0,!0),l={method:t.toUpperCase(),url:s.toString(),httpVersion:"HTTP/1.1",headers:[],queryString:[],cookies:[],headersSize:-1,bodySize:-1};if(a.length&&(l.cookies=a.filter((e=>e.enabled)).map((({key:e,value:t})=>({name:e,value:t})))),o.length&&(l.headers=o.filter((e=>e.enabled&&!("accept"===e.key.toLowerCase()&&"*/*"===e.value))).map((({key:e,value:t})=>({name:e.replace(/\b\w/g,(e=>e.toUpperCase())),value:t})))),i.length&&(l.queryString=i.filter((e=>e.enabled)).map((({key:e,value:t})=>({name:e,value:t})))),r)try{const e=o.find((e=>"content-type"===e.key.toLowerCase()))?.value;if("formData"===r.activeBody&&r.formData){const t=[];r.formData.value.forEach((({key:e,value:r,file:n,enabled:a})=>{a&&(n?t.push({name:e||"blob",value:"BINARY",fileName:n.name,contentType:n.type||"application/octet-stream"}):t.push({name:e,value:r}))})),"urlencoded"===r.formData?.encoding?l.postData={mimeType:e||"application/x-www-form-urlencoded",params:t}:l.postData={mimeType:e||"multipart/form-data",params:t}}else"raw"===r.activeBody&&r.raw&&(l.postData={mimeType:e||"application/json",text:r.raw?.value??""})}catch{}return l})({baseUrl:i,method:e?.method??"get",path:s,body:p,cookies:u,headers:c,query:d})})({operation:e.operation,example:e.example,server:e.server,securitySchemes:e.securitySchemes,environment:e.environment}),[r,n]=RPe(e.target,e.client,t);return{error:r,payload:n}})),n=gc((()=>"shell"===e.target&&"curl"===e.client?"curl":e.target??"plaintext"));return(e,a)=>r.value.error?(Dl(),Ll("div",NPe,Gn(r.value.error.message),1)):r.value.payload?(Dl(),jl(Ao(sX),{key:1,class:"w-full",content:r.value.payload,hideCredentials:t.value,lang:n.value,lineNumbers:""},null,8,["content","hideCredentials","lang"])):Xl("",!0)}}),LPe={class:"w-full"},jPe={class:"flex flex-1"},BPe={class:"bg-b-1 flex items-center justify-center overflow-hidden border-t"},UPe=Li({__name:"RequestCodeExample",props:{collection:{},example:{},operation:{},server:{},workspace:{},environment:{}},setup(e){const{securitySchemes:t,workspaceMutators:r}=AOe(),n=gc((()=>"custom"===o.value.targetKey&&a.value?.some((e=>e.lang===o.value.clientKey))?o.value:{targetKey:e.workspace.selectedHttpClient?.targetKey??"js",clientKey:e.workspace.selectedHttpClient?.clientKey??"fetch"})),a=gc((()=>e.operation["x-codeSamples"]||e.operation["x-code-samples"]||e.operation["x-custom-examples"])),o=So(a.value?.length?{targetKey:"custom",clientKey:a.value[0]?.lang}:{targetKey:e.workspace.selectedHttpClient?.targetKey??"js",clientKey:e.workspace.selectedHttpClient?.clientKey??"fetch"}),i=gc((()=>(e.operation.selectedSecuritySchemeUids||e.collection.selectedSecuritySchemeUids||[]).flat().map((e=>t[e])).filter((e=>!!e)))),s=gc((()=>{const t={},r=nAe().clients().map((e=>({label:e.title,options:e.clients.map((r=>(t[`${e.key},${r.client}`]=r.title,{id:`${e.key},${r.client}`,label:r.title})))}))),n=(e.operation["x-codeSamples"]||e.operation["x-code-samples"]||e.operation["x-custom-examples"]||[]).map((e=>({id:`custom,${e.lang}`,label:e.label||e.lang}))),a=n.length>0?[{id:"customExamples",label:"Code Examples",options:n.map((e=>({id:e.id,label:e.label??e.id})))},...r]:r;return n.forEach((e=>{t[e.id]=e.label??e.id})),{options:a,dict:t}})),l=gc((()=>{const e=n.value;if("custom"===e.targetKey){const t=`custom,${e.clientKey}`;return{id:t,label:s.value.dict[t]??"Unknown"}}const t=`${e.targetKey},${e.clientKey}`;return{id:t,label:s.value.dict[t]??"Unknown"}})),c=gc((()=>n.value.targetKey)),u=gc((()=>n.value.clientKey)),d=t=>{if(!t)return;const{id:n}=t,[a,i]=n.split(",");!a||!i||(o.value={targetKey:a,clientKey:i},"custom"!==a&&r.edit(e.workspace.uid,"selectedHttpClient",{targetKey:a,clientKey:i}))},p=gc((()=>{if(!l.value.id.startsWith("custom,"))return;const e=l.value.id.split(",")[1];return a.value?.find((t=>t.lang===e))?.source}));return(e,t)=>(Dl(),Ll("div",LPe,[ql(DSe,{class:"group/preview w-full border-b-0",defaultOpen:!1},{title:ci((()=>t[0]||(t[0]=[Zl("Code Snippet")]))),actions:ci((()=>[zl("div",jPe,[ql(Ao(rY),{modelValue:l.value,options:s.value.options,placement:"bottom-end","onUpdate:modelValue":d},{default:ci((()=>[ql(Ao(Oq),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-1.25 py-0.75 font-normal",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("span",null,Gn(l.value?.label),1),ql(Ao(A6),{icon:"ChevronDown",size:"md"})])),_:1})])),_:1},8,["modelValue","options"])])])),default:ci((()=>[ql(p_e,{columns:[""],presentational:""},{default:ci((()=>[ql(S_e,null,{default:ci((()=>[zl("div",BPe,[p.value?(Dl(),jl(Ao(sX),{key:0,content:p.value,lang:l.value.id.split(",")[1]??"plaintext"},null,8,["content","lang"])):(Dl(),jl(Ao(IPe),{key:1,client:u.value,example:e.example,operation:e.operation,securitySchemes:i.value,server:e.server,target:c.value,environment:e.environment},null,8,["client","example","operation","securitySchemes","server","target","environment"]))])])),_:1})])),_:1})])),_:1})]))}}),FPe=W7(UPe,[["__scopeId","data-v-73c4a2cf"]]),QPe=({plugins:e=[]})=>{const t=new Map;return e.forEach((e=>{const r=e();t.set(r.name,r)})),{getViewComponents:e=>Array.from(t.values()).flatMap((t=>t.views?.[e]||[])),executeHook:(e,...r)=>{const n=Array.from(t.values()).flatMap((t=>t.hooks?.[e]||[]));return Promise.all(n.filter((e=>null!=e)).map((e=>e?.(...r))))}}},zPe=Symbol(),qPe=()=>Fs(zPe)||QPe({}),HPe={class:"group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24"},VPe=["for"],ZPe=["id","placeholder","value"],WPe={key:2,class:"text-c-1 flex h-8 items-center"},XPe=["id","role"],GPe=Li({__name:"RequestSection",props:{collection:{},environment:{},envVariables:{},example:{},invalidParams:{},operation:{},selectedSecuritySchemeUids:{},server:{},workspace:{}},setup(e){const t=["Auth","Variables","Cookies","Headers","Query","Body"],{requestMutators:r,cookies:n,securitySchemes:a}=AOe(),{layout:o}=rve(),i=gc((()=>{const r=new Set(["All",...t]);return e.example.parameters.path.length||r.delete("Variables"),PB(e.operation.method??"get")||r.delete("Body"),l.value&&r.delete("Auth"),[...r]})),s=gc((()=>Object.fromEntries(i.value.map((e=>[e,ji()]))))),l=gc((()=>"modal"===o&&!e.operation.security&&!Object.keys(a??{}).length)),c=So("All");hl((()=>e.operation),(e=>{"Body"===c.value&&e&&!PB(e.method)&&(c.value="All")}));const u=t=>{const n=t.target;r.edit(e.operation.uid,"summary",n.value)},d=gc((()=>(e.workspace.cookies??[]).map((e=>n[e])).filter(OB).filter((e=>e.name)).filter((t=>_Ce(e.server?.url||e.operation.path,t.domain))).map((e=>({key:e.name,value:e.value,route:{name:"cookies",params:{cookies:e.uid}},enabled:!0}))))),p=ji(),h=qPe().getViewComponents("request.section"),f=(t,n)=>r.edit(e.operation.uid,t,n);return hl((()=>l.value),(e=>{e&&"Auth"===c.value&&(c.value="All")})),(t,r)=>(Dl(),jl(kCe,{"aria-label":`Request: ${t.operation.summary}`},{title:ci((()=>[zl("div",HPe,["modal"!==Ao(o)?(Dl(),Ll("label",{key:0,class:"pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",for:Ao(p)},null,8,VPe)):Xl("",!0),"modal"!==Ao(o)?(Dl(),Ll("input",{key:1,id:Ao(p),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:e.operation.summary?e.operation.summary:e.operation.path.replace(wR.PROTOCOL,"")?e.operation.path.replace(wR.PROTOCOL,""):"Request Name",value:t.operation.summary,onInput:u},null,40,ZPe)):(Dl(),Ll("span",WPe,Gn(t.operation.summary),1))]),ql(wCe,{modelValue:c.value,"onUpdate:modelValue":r[0]||(r[0]=e=>c.value=e),filterIds:s.value,filters:i.value},null,8,["modelValue","filterIds","filters"])])),default:ci((()=>[zl("div",{id:s.value.All,class:"request-section-content custom-scroll relative flex flex-1 flex-col",role:"All"===c.value?"tabpanel":"none"},[t.collection&&t.workspace&&("modal"!==Ao(o)||Object.keys(Ao(a)??{}).length)?ui((Dl(),jl($Pe,{key:0,id:s.value.Auth,class:"request-section-content-auth",collection:t.collection,envVariables:t.envVariables,environment:t.environment,isReadOnly:"modal"===Ao(o),layout:"client",operation:t.operation,role:"All"===c.value?"none":"tabpanel",selectedSecuritySchemeUids:t.selectedSecuritySchemeUids,server:t.server,title:"Authentication",workspace:t.workspace},null,8,["id","collection","envVariables","environment","isReadOnly","operation","role","selectedSecuritySchemeUids","server","workspace"])),[[qc,!l.value&&("All"===c.value||"Auth"===c.value)]]):Xl("",!0),ui(ql(JCe,{id:s.value.Variables,class:"request-section-content-path-params",envVariables:t.envVariables,environment:t.environment,example:t.example,invalidParams:t.invalidParams,operation:t.operation,paramKey:"path",role:"All"===c.value?"none":"tabpanel",title:"Variables",workspace:t.workspace},null,8,["id","envVariables","environment","example","invalidParams","operation","role","workspace"]),[[qc,("All"===c.value||"Variables"===c.value)&&t.example.parameters.path.length]]),ui(ql(KCe,{id:s.value.Cookies,class:"request-section-content-cookies",envVariables:t.envVariables,environment:t.environment,example:t.example,invalidParams:t.invalidParams,label:"Cookie",operation:t.operation,paramKey:"cookies",readOnlyEntries:d.value,role:"All"===c.value?"none":"tabpanel",title:"Cookies",workspace:t.workspace},null,8,["id","envVariables","environment","example","invalidParams","operation","readOnlyEntries","role","workspace"]),[[qc,"All"===c.value||"Cookies"===c.value]]),ui(ql(KCe,{id:s.value.Headers,class:"request-section-content-headers",envVariables:t.envVariables,environment:t.environment,example:t.example,invalidParams:t.invalidParams,label:"Header",operation:t.operation,paramKey:"headers",role:"All"===c.value?"none":"tabpanel",title:"Headers",workspace:t.workspace},null,8,["id","envVariables","environment","example","invalidParams","operation","role","workspace"]),[[qc,"All"===c.value||"Headers"===c.value]]),ui(ql(KCe,{id:s.value.Query,class:"request-section-content-query",envVariables:t.envVariables,environment:t.environment,example:t.example,invalidParams:t.invalidParams,label:"Parameter",operation:t.operation,paramKey:"query",role:"All"===c.value?"none":"tabpanel",title:"Query Parameters",workspace:t.workspace},null,8,["id","envVariables","environment","example","invalidParams","operation","role","workspace"]),[[qc,"All"===c.value||"Query"===c.value]]),t.operation.method&&("All"===c.value||"Body"===c.value)&&Ao(PB)(t.operation.method)?(Dl(),jl(XCe,{key:1,id:s.value.Body,class:"request-section-content-body",envVariables:t.envVariables,environment:t.environment,example:t.example,operation:t.operation,role:"All"===c.value?"none":"tabpanel",title:"Body",workspace:t.workspace},null,8,["id","envVariables","environment","example","operation","role","workspace"])):Xl("",!0),(Dl(!0),Ll(Tl,null,ps(Ao(h),(e=>(Dl(),jl(Ao(uY),{key:e.component},{default:ci((()=>[ui((Dl(),jl(cs(e.component),{operation:t.operation,"onUpdate:operation":f},null,40,["operation"])),[[qc,"All"===c.value||c.value===e.title]])])),_:2},1024)))),128)),r[1]||(r[1]=zl("div",{class:"flex flex-grow"},null,-1)),ql(Ao(uY),null,{default:ci((()=>[ql(FPe,{class:"request-section-content-code-example -mt-1/2 border-t",collection:t.collection,environment:t.envVariables,example:t.example,operation:t.operation,server:t.server,workspace:t.workspace},null,8,["collection","environment","example","operation","server","workspace"])])),_:1})],8,XPe)])),_:1},8,["aria-label"]))}}),YPe=W7(GPe,[["__scopeId","data-v-fbbc9b8b"]]),KPe=e=>"apiKey"===e.type?{...e,"x-scalar-secret-token":e.value}:"http"===e.type?{...e,"x-scalar-secret-token":e.token,"x-scalar-secret-username":e.username,"x-scalar-secret-password":e.password}:"oauth2"===e.type?{...e,flows:Object.fromEntries(Object.entries(e.flows).map((([e,t])=>[e,t?{...t,"x-scalar-secret-token":t.token}:t])))}:e,JPe={key:0},e$e=Li({__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},setup(e){const t=e,r=e=>e.startsWith("{")&&e.endsWith("}"),n=gc((()=>t.path.split(/({[^}]+})/)));return(e,t)=>(Dl(),Ll("span",{class:zn(["operation-path",{deprecated:e.deprecated}])},[(Dl(!0),Ll(Tl,null,ps(n.value,((e,t)=>(Dl(),Ll(Tl,{key:t},[r(e)?(Dl(),Ll("em",JPe,Gn(e),1)):(Dl(),Ll(Tl,{key:1},[Zl(Gn(e),1)],64))],64)))),128))],2))}}),t$e=Cwe(e$e,[["__scopeId","data-v-ec6c8861"]]),r$e=e=>{if("header"===e.in)return{style:"simple",explode:"explode"in e&&void 0!==e.explode&&e.explode};if("cookie"===e.in)return{style:"form",explode:!("explode"in e)||void 0===e.explode||e.explode};const t={path:"simple",query:"form",header:"simple",cookie:"form"}[e.in],r="style"in e&&e.style?e.style:t;return{style:r,explode:"explode"in e&&void 0!==e.explode?e.explode:"form"===r}},n$e=(e,t)=>{if(t&&"object"==typeof t&&e.name){const r=t[e.name];if(void 0!==r)return r}if("example"in e&&e.example)return e.example;if("examples"in e&&e.examples){const t=e.examples;return t[e.name]||Object.values(t)[0]?.value}if("schema"in e&&e.schema){const t="path"===e.in?{emptyString:`{${e.name}}`}:{};return cye(hR(e.schema),t)}},a$e=(e,t,r,n,a)=>{switch(n){case"matrix":if(a){if(Array.isArray(r)){const n=r.map((e=>`${t.name}=${e}`)).join(";");return e.replace(`{;${t.name}}`,`;${n}`)}if("object"==typeof r&&null!==r){const n=Object.entries(r).map((([e,t])=>`${e}=${t}`)).join(";");return e.replace(`{;${t.name}}`,`;${n}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}if(Array.isArray(r))return e.replace(`{;${t.name}}`,`;${t.name}=${r.join(",")}`);if("object"==typeof r&&null!==r){const n=Object.entries(r).map((([e,t])=>`${e},${t}`)).join(",");return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${r}`);case"label":if(a){if(Array.isArray(r))return e.replace(`{.${t.name}}`,`.${r.join(".")}`);if("object"==typeof r&&null!==r){const n=Object.entries(r).map((([e,t])=>`${e}=${t}`)).join(".");return e.replace(`{.${t.name}}`,`.${n}`)}return e.replace(`{.${t.name}}`,`.${r}`)}if(Array.isArray(r))return e.replace(`{.${t.name}}`,`.${r.join(",")}`);if("object"==typeof r&&null!==r){const n=Object.entries(r).map((([e,t])=>`${e},${t}`)).join(",");return e.replace(`{.${t.name}}`,`.${n}`)}return e.replace(`{.${t.name}}`,`.${r}`);case"simple":if(a){if(Array.isArray(r))return e.replace(`{${t.name}}`,r.join(","));if("object"==typeof r&&null!==r){const n=Object.entries(r).map((([e,t])=>`${e}=${t}`)).join(",");return e.replace(`{${t.name}}`,n)}return e.replace(`{${t.name}}`,String(r))}if(Array.isArray(r))return e.replace(`{${t.name}}`,r.join(","));if("object"==typeof r&&null!==r){const n=Object.entries(r).map((([e,t])=>`${e},${t}`)).join(",");return e.replace(`{${t.name}}`,n)}return e.replace(`{${t.name}}`,String(r));default:return e.replace(`{${t.name}}`,String(r))}},o$e=e=>{const t=[];for(const[r,n]of Object.entries(e))if(null!=n)if(Array.isArray(n))for(const e of n)t.push({name:r,value:String(e)});else if("object"==typeof n){const e=o$e(n);for(const n of e)t.push({name:`${r}.${n.name}`,value:n.value})}else t.push({name:r,value:String(n)});return t},i$e=({operation:e,contentType:t,method:r,path:n,server:a,securitySchemes:o,example:i})=>{const s={method:r,url:n,headers:[],queryString:[],postData:void 0,httpVersion:"HTTP/1.1",cookies:[],headersSize:-1,bodySize:-1};if(a?.url&&(s.url=((e,t)=>{if(!e.url)return t;const r=e.url;if(e.variables){const n=function(e,t){const r=(e,r)=>"function"==typeof t?t(r):t[r]?.toString()||`{${r}}`;return e.replace(/{{\s*([\w.-]+)\s*}}/g,r).replace(/{\s*([\w.-]+)\s*}/g,r)}(r,Object.entries(e.variables).reduce(((e,[t,r])=>(void 0!==r.default&&(e[t]=r.default),e)),{}));return SR(n,t)}return SR(r,t)})(a,n)),e.parameters){const{url:t,headers:r,queryString:n,cookies:a}=((e,t,r)=>{const n=[...e.headers],a=[...e.queryString];let o=e.url;const i=(t??[]).map((e=>hR(e)));for(const t of i){if(!t.in||!t.name)continue;const i=n$e(t,r);if(void 0===i)continue;const{style:s,explode:l}=r$e(t);switch(t.in){case"path":o=a$e(o,t,i,s,l);break;case"query":switch(s){case"form":if(l)if(Array.isArray(i))for(const e of i)a.push({name:t.name,value:String(e)});else if("object"==typeof i&&null!==i)for(const[e,t]of Object.entries(i))a.push({name:e,value:String(t)});else a.push({name:t.name,value:String(i)});else if(Array.isArray(i))a.push({name:t.name,value:i.join(",")});else if("object"==typeof i&&null!==i){const e=Object.entries(i).map((([e,t])=>`${e},${t}`)).join(",");a.push({name:t.name,value:e})}else a.push({name:t.name,value:String(i)});break;case"spaceDelimited":if(Array.isArray(i))a.push({name:t.name,value:i.join(" ")});else if("object"==typeof i&&null!==i){const e=Object.entries(i).map((([e,t])=>`${e} ${t}`)).join(" ");a.push({name:t.name,value:e})}break;case"pipeDelimited":if(Array.isArray(i))a.push({name:t.name,value:i.join("|")});else if("object"==typeof i&&null!==i){const e=Object.entries(i).flat().join("|");a.push({name:t.name,value:e})}break;case"deepObject":if(l&&"object"==typeof i&&null!==i)for(const[e,r]of Object.entries(i))a.push({name:`${t.name}[${e}]`,value:String(r)});break;default:a.push({name:t.name,value:String(i)})}break;case"header":if(l)if(Array.isArray(i))for(const e of i)n.push({name:t.name,value:String(e)});else if("object"==typeof i&&null!==i){const e=Object.entries(i).map((([e,t])=>`${e}=${t}`)).join(",");n.push({name:t.name,value:e})}else n.push({name:t.name,value:String(i)});else if(Array.isArray(i))n.push({name:t.name,value:i.join(",")});else if("object"==typeof i&&null!==i){const e=Object.entries(i).map((([e,t])=>`${e},${t}`)).join(",");n.push({name:t.name,value:e})}else n.push({name:t.name,value:String(i)});break;case"cookie":if(l)if(Array.isArray(i))for(const r of i)e.cookies.push({name:t.name,value:null===r?"null":String(r)});else if("object"==typeof i&&null!==i)for(const[t,r]of Object.entries(i))e.cookies.push({name:t,value:null===r?"null":String(r)});else e.cookies.push({name:t.name,value:null===i?"null":String(i)});else if(Array.isArray(i)){const r=i.map((e=>null===e?"null":String(e))).join(",");e.cookies.push({name:t.name,value:r})}else if("object"==typeof i&&null!==i){const r=e=>{const t=[];for(const[n,a]of Object.entries(e))"object"!=typeof a||null===a||Array.isArray(a)?t.push(n,null===a?"null":String(a)):t.push(n,...r(a));return t},n=r(i).join(",");e.cookies.push({name:t.name,value:n})}else e.cookies.push({name:t.name,value:null===i?"null":String(i)})}}return{url:o,headers:n,queryString:a,cookies:e.cookies}})(s,e.parameters,i);s.url=t,s.headers=r,s.queryString=n,s.cookies=a}const l=hR(e.requestBody);if(l?.content){const e=(({content:e,contentType:t,example:r})=>{const n=(t||Object.keys(e)[0])??"",a="multipart/form-data"===n||"application/x-www-form-urlencoded"===n,o="application/xml"===n;if(r)return a&&"object"==typeof r&&null!==r?{mimeType:n,params:o$e(r)}:o&&"object"==typeof r&&null!==r?{mimeType:n,text:TB(r)}:{mimeType:n,text:JSON.stringify(r)};const i=hR(e[n]?.schema);if(i){const e=cye(i,{mode:"write",xml:o});if(void 0!==e)return a&&"object"==typeof e&&null!==e?{mimeType:n,params:o$e(e)}:o&&"object"==typeof e&&null!==e?{mimeType:n,text:TB(e)}:{mimeType:n,text:JSON.stringify(e)}}return{mimeType:n,text:"null"}})({content:l.content,contentType:t,example:i});if(s.postData=e,s.bodySize=e.text?.length??-1,e.mimeType){const t=s.headers.find((e=>"content-type"===e.name.toLowerCase()));t&&!t.value?t.value=e.mimeType:s.headers.push({name:"Content-Type",value:e.mimeType})}}if(o){const{headers:e,queryString:t,cookies:r}=(e=>{const t={headers:[],queryString:[],cookies:[]};for(const r of e)if("apiKey"!==r.type){if("http"!==r.type){if("oauth2"===r.type&&r.flows){const e=Object.values(r.flows).find((e=>e["x-scalar-secret-token"])),n=e?.["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${n}`})}}else if("basic"===r.scheme){const e=`${r["x-scalar-secret-username"]||""}:${r["x-scalar-secret-password"]||""}`,n=":"===e?"username:password":GSe(e);t.headers.push({name:"Authorization",value:`Basic ${n}`})}else if("bearer"===r.scheme){const e=r["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${e}`})}}else{const e=r["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";if(!r.name)continue;const n={name:r.name,value:e};switch(r.in){case"header":t.headers.push(n);break;case"query":t.queryString.push(n);break;case"cookie":t.cookies.push(n)}}return t})(o);s.headers.push(...e),s.queryString.push(...t),s.cookies.push(...r)}const c=s.headers.map((e=>`${e.name}: ${e.value}`)).join("\r\n");return s.headersSize=c.length,s},s$e=e=>{const t=new WeakSet,r=e=>{if(null==e||"object"!=typeof e)return e;const n=gm(e);if(t.has(n))return"[circular]";if(t.add(n),"object"==typeof e&&null!==e&&"$ref"in e){const a=e["$ref-value"],o=r(a);return t.delete(n),o}if(Array.isArray(e)){const a=e.map((e=>r(e)));return t.delete(n),a}if("object"==typeof e&&null!==e){const a={};for(const[t,n]of Object.entries(e))a[t]=r(n);return t.delete(n),a}return t.delete(n),e};return r(e)},l$e={class:"min-w-0 flex-1 truncate"},c$e=Li({__name:"ExamplePicker",props:Ss({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=bl(e,"modelValue"),r=gc((()=>Object.entries(e.examples).map((([e,t])=>({id:e,label:t?.summary??e}))))),n=gc({get:()=>r.value.find((({id:e})=>e===t.value)),set:e=>t.value=e?.id??""});return(e,t)=>(Dl(),jl(Ao(H6),{modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e),class:"w-fit min-w-32",options:r.value,placement:"bottom-start"},{default:ci((()=>[ql(Ao(Oq),{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",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("div",l$e,Gn(n.value?.label??"Select an example"),1),ql(Ao(uH),{class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})])),_:1})])),_:1},8,["modelValue","options"]))}}),u$e=["innerHTML"],d$e={class:"text-base font-normal"},p$e=["id"],h$e={key:0,class:"request-card-footer-addon"},f$e={class:"request-header"},m$e=Cwe(Li({__name:"RequestExample",props:{clientOptions:{},selectedClient:{},selectedServer:{default:()=>({url:"/"})},selectedContentType:{},selectedExample:{},securitySchemes:{default:()=>[]},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean}},setup(e){const t=gc((()=>{const t=hR(e.operation.requestBody)?.content??{},r=e.selectedContentType||Object.keys(t)[0];return t[r]?.examples??{}})),r=So(e.selectedExample??Object.keys(t.value)[0]),n=gc((()=>["x-custom-examples","x-codeSamples","x-code-samples"].flatMap((t=>e.operation[t]??[])))),a=gc((()=>n.value.length?[{label:"Code Examples",options:n.value.map((e=>{const t=KAe(e),r=e.label||e.lang||t;return{id:t,lang:e.lang||"plaintext",title:r,label:r}}))},...e.clientOptions]:e.clientOptions)),o=So(iAe(a.value,e.selectedClient)??null);hl((()=>e.selectedClient),(e=>{const t=iAe(a.value,e);t&&(o.value=t)}));const i=gc((()=>{if(!e.isWebhook)return null;try{const n=t.value[r.value||""],a=s$e(n),o=a?.value??a?.summary;return i$e({operation:e.operation,method:e.method,path:e.path,example:o})}catch(e){return console.error("[webhookHar]",e),null}})),s=gc((()=>{try{if(o.value?.id.startsWith("custom"))return n.value.find((e=>KAe(e)===o.value?.id))?.source??"Custom example not found";const a=t.value[r.value||""],s=s$e(a),l=s?.value??s?.summary;return e.isWebhook?i.value?.postData?.text??"":(({clientId:e,operation:t,method:r,path:n,example:a,contentType:o,server:i,securitySchemes:s})=>{const l=i$e({operation:t,contentType:o,method:r,path:n,server:i,securitySchemes:s,example:a}),[c,u]=e.split("/"),[d,p]=RPe(c,u,l);return d?d.message??"Error generating code snippet":p})({clientId:o.value?.id,operation:e.operation,method:e.method,server:e.selectedServer,securitySchemes:e.securitySchemes,contentType:e.selectedContentType,path:e.path,example:l})}catch(e){return console.error("[generateSnippet]",e),""}})),l=gc((()=>e.isWebhook?c.value:o.value?.lang)),c=gc((()=>{if(!i.value?.postData)return"json";const e=i.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"})),u=gc((()=>e.securitySchemes.flatMap((e=>"apiKey"===e.type?e["x-scalar-secret-token"]:"http"===e?.type?[e["x-scalar-secret-token"],e["x-scalar-secret-username"],e["x-scalar-secret-password"],GSe(`${e["x-scalar-secret-username"]}:${e["x-scalar-secret-password"]}`)]:"oauth2"===e.type?Object.values(e.flows).map((e=>e["x-scalar-secret-token"])):[])).filter(OB))),d=So(null),p=ji();return(e,n)=>s.value?(Dl(),jl(Ao(xq),{key:0,ref_key:"elem",ref:d,class:"request-card dark-mode"},{default:ci((()=>[ql(Ao(Eq),{class:"pr-2.5"},hs({default:ci((()=>[n[3]||(n[3]=zl("span",{class:"sr-only"},"Request Example for",-1)),ql(Ao(pxe),{as:"span",class:"request-method",method:e.method},null,8,["method"]),e.generateLabel?(Dl(),Ll("span",{key:0,innerHTML:e.generateLabel()},null,8,u$e)):Xl("",!0),fs(e.$slots,"header",{},void 0,!0)])),_:2},[!e.isWebhook&&a.value.length?{name:"actions",fn:ci((()=>[ql(Ao(rY),{class:"max-h-80",modelValue:o.value,options:a.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":n[0]||(n[0]=e=>(e=>{if(d.value){const e=sAe(d.value.$el);setTimeout((()=>{e()}),300)}o.value=e,e.id.startsWith("custom")||DOe(d.value?.$el,"scalar-update-selected-client",e.id)})(e))},{default:ci((()=>[ql(Ao(Oq),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5","data-testid":"client-picker",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("span",d$e,Gn(o.value.title),1),ql(Ao(uH),{class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})])),_:1})])),_:1},8,["modelValue","options"])])),key:"0"}:void 0]),1024),ql(Ao(kq),{class:"request-editor-section custom-scroll p-0"},{default:ci((()=>[zl("div",{id:`${Ao(p)}-example`,class:"code-snippet"},[ql(Ao(sX),{class:"bg-b-2 !min-h-full -outline-offset-2",content:s.value,hideCredentials:u.value,lang:l.value,lineNumbers:""},null,8,["content","hideCredentials","lang"])],8,p$e)])),_:1}),Object.keys(t.value).length>1||e.$slots.footer?(Dl(),jl(Ao(Tq),{key:0,class:"request-card-footer bg-b-3"},{default:ci((()=>[Object.keys(t.value).length>1?(Dl(),Ll("div",h$e,[Object.keys(t.value).length?(Dl(),jl(c$e,{key:0,modelValue:r.value,"onUpdate:modelValue":[n[1]||(n[1]=e=>r.value=e),n[2]||(n[2]=e=>Ao(DOe)(d.value?.$el,"scalar-update-selected-example",e))],examples:t.value},null,8,["modelValue","examples"])):Xl("",!0)])):Xl("",!0),fs(e.$slots,"footer",{},void 0,!0)])),_:3})):Xl("",!0)])),_:3},512)):e.fallback?(Dl(),jl(Ao(xq),{key:1,class:"request-card dark-mode"},{default:ci((()=>[ql(Ao(kq),{class:"request-card-simple"},{default:ci((()=>[zl("div",f$e,[ql(Ao(pxe),{as:"span",class:"request-method",method:e.method},null,8,["method"]),fs(e.$slots,"header",{},void 0,!0)]),fs(e.$slots,"footer",{},void 0,!0)])),_:3})])),_:3})):Xl("",!0)}}),[["__scopeId","data-v-8b2bccdf"]]),g$e={key:2,class:"empty-state"},b$e=Cwe(Li({__name:"ExampleResponse",props:{response:{},example:{}},setup:e=>(e,t)=>void 0!==e.example?(Dl(),jl(Ao(sX),{key:0,class:"bg-b-2 -outline-offset-2",content:Ao(s$e)(e.example)?.value,lang:"json"},null,8,["content"])):e.response?.schema?(Dl(),jl(Ao(sX),{key:1,class:"bg-b-2 -outline-offset-2",content:Ao(cye)(Ao(hR)(e.response.schema),{emptyString:"string",mode:"read"}),lang:"json"},null,8,["content"])):(Dl(),Ll("div",g$e," No Body "))}),[["__scopeId","data-v-d0d01485"]]),v$e=Cwe(Li({__name:"ExampleResponseTab",setup:e=>(e,t)=>(Dl(),jl(Ao(iz),{as:"template"},{default:ci((({selected:t})=>[zl("button",{class:zn(["tab",{"tab-selected":t}]),type:"button"},[zl("span",null,[fs(e.$slots,"default",{},void 0,!0)])],2)])),_:3}))}),[["__scopeId","data-v-c8207e48"]]),y$e=Cwe(Li({__name:"ExampleResponseTabList",emits:["change"],setup(e,{emit:t}){const r=t,n=e=>{r("change",e)};return(e,t)=>(Dl(),jl(Ao(Eq),{class:"scalar-card-header scalar-card-header-tabs"},{actions:ci((()=>[fs(e.$slots,"actions",{},void 0,!0)])),default:ci((()=>[ql(Ao(az),{onChange:n},{default:ci((()=>[ql(Ao(oz),{class:"tab-list custom-scroll"},{default:ci((()=>[fs(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})])),_:3}))}}),[["__scopeId","data-v-fec8fbbb"]]),O$e={key:1,class:"scalar-card-checkbox"},w$e=["aria-controls"],x$e={key:0,class:"response-description"},k$e=Cwe(Li({__name:"ExampleResponses",props:{responses:{}},setup(e){const t=ji(),{copyToClipboard:r}=tX(),n=gc((()=>Object.keys(e.responses??{}).sort())),a=So(0),o=gc((()=>{const t=Co(n)[Co(a)];return hR(e.responses?.[t])})),i=gc((()=>{const e=nB(o.value?.content),t=dR(e??{});return e?.["application/json"]??e?.["application/xml"]??e?.["text/plain"]??e?.["text/html"]??e?.["*/*"]??e?.[t[0]]??void 0})),s=gc((()=>!!i.value?.examples&&Object.keys(i.value?.examples??{}).length>1)),l=So(Object.keys(i.value?.examples??{})[0]??""),c=gc((()=>s.value&&l.value?i.value?.examples?.[l.value]:(()=>{const e=Co(i);if(!e)return;if(Array.isArray(e.examples))return e.examples[0];const t=Object.keys(e.examples??{})[0],r=e.examples?.[t];return r})())),u=e=>{a.value=e,l.value=""},d=So(!1);return(e,a)=>n.value.length?(Dl(),jl(Ao(xq),{key:0,"aria-label":"Example Responses",class:"response-card",role:"region"},{default:ci((()=>[ql(y$e,{onChange:u},{actions:ci((()=>[i.value?.example?(Dl(),Ll("button",{key:0,class:"code-copy",type:"button",onClick:a[0]||(a[0]=()=>Ao(r)(i.value?.example))},[ql(Ao(A6),{icon:"Clipboard",width:"12px"})])):Xl("",!0),i.value?.schema?(Dl(),Ll("label",O$e,[a[4]||(a[4]=Zl(" Show Schema ")),ui(zl("input",{"onUpdate:modelValue":a[1]||(a[1]=e=>d.value=e),"aria-controls":Ao(t),class:"scalar-card-checkbox-input",type:"checkbox"},null,8,w$e),[[gu,d.value]]),a[5]||(a[5]=zl("span",{class:"scalar-card-checkbox-checkmark"},null,-1))])):Xl("",!0)])),default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(n.value,(e=>(Dl(),jl(v$e,{key:e,"aria-controls":Ao(t)},{default:ci((()=>[ql(Vwe,null,{default:ci((()=>a[3]||(a[3]=[Zl("Status:")]))),_:1,__:[3]}),Zl(" "+Gn(e),1)])),_:2},1032,["aria-controls"])))),128))])),_:1}),ql(Ao(kq),{class:"grid flex-1"},{default:ci((()=>[d.value&&i.value?.schema?(Dl(),jl(Ao(sX),{key:0,id:Ao(t),class:"-outline-offset-2",content:Ao(s$e)(i.value?.schema),lang:"json"},null,8,["id","content"])):(Dl(),jl(b$e,{key:1,id:Ao(t),example:c.value,response:i.value},null,8,["id","example","response"]))])),_:1}),o.value?.description||s.value?(Dl(),jl(Ao(Tq),{key:0,class:"response-card-footer"},{default:ci((()=>[o.value?.description?(Dl(),Ll("div",x$e,[ql(Ao(Z6),{class:"markdown",value:o.value.description},null,8,["value"])])):Xl("",!0),s.value?(Dl(),jl(Ao(c$e),{key:1,modelValue:l.value,"onUpdate:modelValue":a[2]||(a[2]=e=>l.value=e),class:"response-example-selector",examples:i.value?.examples},null,8,["modelValue","examples"])):Xl("",!0)])),_:1})):Xl("",!0)])),_:1})):Xl("",!0)}}),[["__scopeId","data-v-7dc85889"]]),S$e=Li({__name:"ContentTypeSelect",props:Ss({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=bl(e,"modelValue"),r=gc((()=>Object.keys(e.content??{}))),n=gc({get:()=>a.value.find((e=>e.id===t.value)),set:e=>{e&&(t.value=e.id)}}),a=gc((()=>r.value.map((e=>({id:e,label:e}))))),o=lq({base:"font-normal text-c-2 bg-b-2 py-0.75 flex cursor-pointer items-center gap-1 rounded-full text-xs",variants:{dropdown:{true:"border hover:text-c-1 pl-2 pr-1.5",false:"px-2"}}});return(e,i)=>r.value.length>1?(Dl(),jl(Ao(H6),{key:0,modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=e=>n.value=e),options:a.value,placement:"bottom-end"},{default:ci((()=>[ql(Ao(Oq),{class:zn(["h-fit",Ao(o)({dropdown:!0})]),variant:"ghost"},{default:ci((()=>[ql(Vwe,null,{default:ci((()=>i[1]||(i[1]=[Zl("Selected Content Type:")]))),_:1,__:[1]}),zl("span",null,Gn(t.value),1),ql(Ao(uH),{class:"ui-open:rotate-180 size-2.75 transition-transform duration-100",weight:"bold"})])),_:1},8,["class"])])),_:1},8,["modelValue","options"])):(Dl(),Ll("div",{key:1,class:zn(["selected-content-type",Ao(o)({dropdown:!1})]),tabindex:"0"},[zl("span",null,Gn(t.value),1)],2))}}),_$e=Li({__name:"Header",props:{header:{},name:{},breadcrumb:{}},setup:e=>(e,t)=>"schema"in e.header&&e.header.schema?(Dl(),jl(pSe,{key:0,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,description:e.header.description,name:e.name,value:Ao(hR)(e.header.schema)},null,8,["breadcrumb","description","name","value"])):Xl("",!0)}),E$e=Cwe(Li({__name:"Headers",props:{headers:{},breadcrumb:{}},setup:e=>(e,t)=>(Dl(),jl(Ao(aQ),null,{default:ci((({open:t})=>[zl("div",{class:zn(["headers-card headers-card--compact",[{"headers-card--open":t}]])},[zl("div",{class:zn(["headers-properties",{"headers-properties-open":t}])},[ql(Ao(oQ),{class:"headers-card-title headers-card-title--compact",style:{top:"calc(var(--refs-header-height)))"}},{default:ci((()=>[ql(Ao(A6),{class:zn(["headers-card-title-icon",{"headers-card-title-icon--open":t}]),icon:"Add",size:"sm"},null,8,["class"]),t?(Dl(),Ll(Tl,{key:0},[Zl(" Hide Headers ")],64)):(Dl(),Ll(Tl,{key:1},[Zl(" Show Headers ")],64))])),_:2},1024),ql(Ao(iQ),null,{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(e.headers,((t,r)=>(Dl(),jl(_$e,{key:r,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,header:Ao(hR)(t),name:r},null,8,["breadcrumb","header","name"])))),128))])),_:1})],2)],2)])),_:1}))}),[["__scopeId","data-v-755d65e4"]]),T$e={class:"parameter-item group/parameter-item relative"},A$e={class:"parameter-item-name"},C$e={class:"parameter-item-type"},P$e={class:"absolute top-3 right-0 opacity-0 group-focus-within/parameter-item:opacity-100 group-hover/parameter-item:opacity-100"},$$e=Cwe(Li({__name:"ParameterListItem",props:{parameter:{},name:{},collapsableItems:{type:Boolean,default:!1},withExamples:{type:Boolean,default:!0},breadcrumb:{}},setup(e){const t=gc((()=>"schema"in e.parameter&&e.parameter.schema?hR(e.parameter.schema):null)),r=gc((()=>"content"in e.parameter&&e.parameter.content?e.parameter.content:null)),n=So(Object.keys(r.value||{})[0]),a=gc((()=>"headers"in e.parameter&&e.parameter.headers?e.parameter.headers:null)),o=gc((()=>{const a=r.value?r.value?.[n.value]?.schema:t.value,o="deprecated"in e.parameter?e.parameter.deprecated:t.value?.deprecated,i="examples"in e.parameter?e.parameter.examples:{},s=t.value?.examples??[],l=[...Object.values({...i,...r.value?.[n.value]?.examples}),...s];return{...hR(a),deprecated:o,..."example"in e.parameter&&OB(e.parameter.example)&&{example:e.parameter.example},examples:l}})),i=gc((()=>Boolean(e.collapsableItems&&(r.value||a.value||t.value))));return(e,t)=>(Dl(),Ll("li",T$e,[ql(Ao(aQ),null,{default:ci((({open:t})=>[i.value?(Dl(),jl(Ao(oQ),{key:0,class:zn(["parameter-item-trigger",{"parameter-item-trigger-open":t}])},{default:ci((()=>[zl("span",A$e,[ql(Ao(bH),{class:zn(["parameter-item-icon size-3 transition-transform duration-100",{"rotate-90":t}]),weight:"bold"},null,8,["class"]),zl("span",null,Gn(e.name),1)]),zl("span",C$e,[e.parameter.description?(Dl(),jl(Ao(Z6),{key:0,class:"markdown",value:e.parameter.description},null,8,["value"])):Xl("",!0)])])),_:2},1032,["class"])):Xl("",!0),ql(Ao(iQ),{class:"parameter-item-container parameter-item-container-markdown",static:!i.value},{default:ci((()=>[a.value?(Dl(),jl(E$e,{key:0,breadcrumb:e.breadcrumb,headers:a.value},null,8,["breadcrumb","headers"])):Xl("",!0),ql(pSe,{is:"div",breadcrumb:e.breadcrumb,compact:"",description:i.value?"":e.parameter.description,hideWriteOnly:!0,name:i.value?"":e.name,noncollapsible:!0,required:"required"in e.parameter&&e.parameter.required,value:o.value,withExamples:e.withExamples},null,8,["breadcrumb","description","name","required","value","withExamples"])])),_:1},8,["static"])])),_:1}),zl("div",P$e,[i.value&&r.value?(Dl(),jl(S$e,{key:0,modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e),class:"parameter-item-content-type",content:r.value},null,8,["modelValue","content"])):Xl("",!0)])]))}}),[["__scopeId","data-v-f259ff0d"]]),M$e={key:0,class:"mt-6"},D$e={class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},R$e={class:"mb-3 list-none p-0 text-sm"},N$e=Li({__name:"ParameterList",props:{parameters:{},collapsableItems:{type:Boolean,default:!1},withExamples:{type:Boolean,default:!0},breadcrumb:{}},setup:e=>(e,t)=>e.parameters?.length?(Dl(),Ll("div",M$e,[zl("div",D$e,[fs(e.$slots,"title")]),zl("ul",R$e,[(Dl(!0),Ll(Tl,null,ps(e.parameters,(t=>(Dl(),jl($$e,{key:t.name,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,name:t.name,parameter:t,withExamples:e.withExamples},null,8,["breadcrumb","collapsableItems","name","parameter","withExamples"])))),128))])])):Xl("",!0)}),I$e={key:0,class:"request-body"},L$e={class:"request-body-header"},j$e={class:"request-body-title"},B$e={key:0,class:"request-body-required"},U$e={key:0,class:"request-body-description"},F$e={key:0,class:"request-body-schema"},Q$e={key:1,class:"request-body-schema"},z$e=Cwe(Li({__name:"RequestBody",props:{breadcrumb:{},requestBody:{}},setup(e){const t=gc((()=>Object.keys(e.requestBody?.content??{}))),r=So("application/json");e.requestBody?.content&&t.value.length>0&&(r.value=t.value[0]);const n=gc((()=>hR(e.requestBody?.content?.[r.value]?.schema))),a=gc((()=>{if(!n.value||!Jxe(n.value))return null;const e=Object.entries(n.value.properties??{});if(e.length<=12)return null;const{properties:t,...r}=n.value;return{visibleProperties:{...r,properties:Object.fromEntries(e.slice(0,12))},collapsedProperties:{...r,properties:Object.fromEntries(e.slice(12))}}}));return(e,t)=>e.requestBody?(Dl(),Ll("div",I$e,[zl("div",L$e,[zl("span",j$e,[fs(e.$slots,"title",{},void 0,!0),e.requestBody.required?(Dl(),Ll("div",B$e," required ")):Xl("",!0)]),ql(S$e,{modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e),content:e.requestBody.content},null,8,["modelValue","content"]),e.requestBody.description?(Dl(),Ll("div",U$e,[ql(Ao(Z6),{value:e.requestBody.description},null,8,["value"])])):Xl("",!0)]),a.value?(Dl(),Ll("div",F$e,[ql(Ao(bSe),{breadcrumb:e.breadcrumb,compact:"",hideReadOnly:!0,name:"Request Body",noncollapsible:"",schema:a.value.visibleProperties},null,8,["breadcrumb","schema"]),ql(Ao(bSe),{additionalProperties:"",breadcrumb:e.breadcrumb,compact:"",hideReadOnly:!0,name:"Request Body",schema:a.value.collapsedProperties},null,8,["breadcrumb","schema"])])):n.value?(Dl(),Ll("div",Q$e,[ql(Ao(bSe),{breadcrumb:e.breadcrumb,compact:"",hideReadOnly:!0,name:"Request Body",noncollapsible:"",schema:n.value},null,8,["breadcrumb","schema"])])):Xl("",!0)])):Xl("",!0)}}),[["__scopeId","data-v-74a1b5fb"]]),q$e=Li({__name:"OperationParameters",props:{breadcrumb:{},parameters:{default:()=>[]},requestBody:{}},setup(e){const t=t=>e.parameters?.filter((e=>e.in===t))??[];return(e,r)=>(Dl(),Ll(Tl,null,[ql(N$e,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"path"]:void 0,parameters:t("path")},{title:ci((()=>r[0]||(r[0]=[Zl("Path Parameters")]))),_:1},8,["breadcrumb","parameters"]),ql(N$e,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"query"]:void 0,parameters:t("query")},{title:ci((()=>r[1]||(r[1]=[Zl("Query Parameters")]))),_:1},8,["breadcrumb","parameters"]),ql(N$e,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,parameters:t("header")},{title:ci((()=>r[2]||(r[2]=[Zl("Headers")]))),_:1},8,["breadcrumb","parameters"]),ql(N$e,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"cookies"]:void 0,parameters:t("cookie")},{title:ci((()=>r[3]||(r[3]=[Zl("Cookies")]))),_:1},8,["breadcrumb","parameters"]),e.requestBody?(Dl(),jl(z$e,{key:0,breadcrumb:e.breadcrumb?[...e.breadcrumb,"body"]:void 0,requestBody:e.requestBody},{title:ci((()=>r[4]||(r[4]=[Zl("Body")]))),_:1},8,["breadcrumb","requestBody"])):Xl("",!0)],64))}}),H$e={key:0,class:"mt-6"},V$e={class:"mb-3 list-none p-0 text-sm"},Z$e=Li({__name:"OperationResponses",props:{responses:{},collapsableItems:{type:Boolean,default:!0},breadcrumb:{}},setup:e=>(e,t)=>Object.keys(e.responses??{}).length?(Dl(),Ll("div",H$e,[t[0]||(t[0]=zl("div",{class:"text-c-1 mt-3 mb-3 leading-[1.45] font-medium"},"Responses",-1)),zl("ul",V$e,[(Dl(!0),Ll(Tl,null,ps(e.responses,((t,r)=>(Dl(),jl($$e,{key:r,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,name:r,parameter:Ao(hR)(t),withExamples:!1},null,8,["breadcrumb","collapsableItems","name","parameter"])))),128))])])):Xl("",!0)}),W$e={class:"group callback-list-item"},X$e={class:"font-code bg-b-1 callback-sticky-offset callback-list-item-title sticky flex cursor-pointer flex-row items-start gap-2 border-t py-3 text-sm group-open:flex-wrap"},G$e={class:"text-c-1 min-w-0 flex-1 truncate leading-3 group-open:whitespace-normal"},Y$e={class:"text-c-2"},K$e={class:"callback-operation-container flex flex-col gap-2"},J$e=Cwe(Li({__name:"Callback",props:{callback:{},method:{},name:{},url:{},breadcrumb:{}},setup:e=>(e,t)=>(Dl(),Ll("details",W$e,[zl("summary",X$e,[ql(Ao(bH),{class:"callback-list-item-icon text-c-3 group-hover:text-c-1 absolute top-3.5 -left-5 size-4 transition-transform duration-100 group-open:rotate-90"}),ql(Ao(pxe),{as:"span",class:"request-method py-0.75",method:e.method},null,8,["method"]),zl("div",G$e,[Zl(Gn(e.name)+" ",1),zl("span",Y$e,Gn(e.url),1)])]),zl("div",K$e,[ql(q$e,{parameters:e.callback.parameters?.map((e=>Ao(hR)(e)))??[],requestBody:Ao(hR)(e.callback.requestBody)},null,8,["parameters","requestBody"]),ql(Z$e,{collapsableItems:!1,responses:e.callback.responses},null,8,["responses"])])]))}),[["__scopeId","data-v-e62d24fd"]]),eMe={class:"callbacks-list gap-3"},tMe=Li({__name:"Callbacks",props:{path:{},method:{},callbacks:{}},setup:e=>(t,r)=>(Dl(),Ll("div",eMe,[r[0]||(r[0]=zl("div",{class:"callbacks-title text-c-1 my-3 text-lg font-medium"}," Callbacks ",-1)),(Dl(!0),Ll(Tl,null,ps(t.callbacks,((r,n)=>(Dl(),Ll(Tl,{key:n},[(Dl(!0),Ll(Tl,null,ps(Ao(hR)(r),((r,a)=>(Dl(),Ll(Tl,null,[(Dl(!0),Ll(Tl,null,ps(r,((r,o)=>(Dl(),Ll(Tl,{key:o},[Ao(uR)(o)?(Dl(),jl(J$e,{key:0,callback:r,method:o,name:n,operationMethod:e.method,path:t.path,url:a},null,8,["callback","method","name","operationMethod","path","url"])):Xl("",!0)],64)))),128))],64)))),256))],64)))),128))]))}),rMe=So(),nMe=So();
/*!
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/
var aMe=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],oMe=aMe.join(","),iMe="undefined"==typeof Element,sMe=iMe?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,lMe=!iMe&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},cMe=function e(t,r){var n;void 0===r&&(r=!0);var a=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===a||"true"===a||r&&t&&e(t.parentNode)},uMe=function(e,t,r){if(cMe(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(oMe));return t&&sMe.call(e,oMe)&&n.unshift(e),n.filter(r)},dMe=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(!cMe(i,!1))if("SLOT"===i.tagName){var s=i.assignedElements(),l=e(s.length?s:i.children,!0,n);n.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{sMe.call(i,oMe)&&n.filter(i)&&(r||!t.includes(i))&&a.push(i);var c=i.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(i),u=!cMe(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&u){var d=e(!0===c?i.children:c.children,!0,n);n.flatten?a.push.apply(a,d):a.push({scopeParent:i,candidates:d})}else o.unshift.apply(o,i.children)}}return a},pMe=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},hMe=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&!pMe(e)?0:e.tabIndex},fMe=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},mMe=function(e){return"INPUT"===e.tagName},gMe=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},bMe=function(e,t){return!(t.disabled||cMe(t)||function(e){return mMe(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var a=sMe.call(e,"details>summary:first-of-type")?e.parentElement:e;if(sMe.call(a,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return gMe(e)}else{if("function"==typeof n){for(var o=e;e;){var i=e.parentElement,s=lMe(e);if(i&&!i.shadowRoot&&!0===n(i))return gMe(e);e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=o}if(function(e){var t,r,n,a,o=e&&lMe(e),i=null===(t=o)||void 0===t?void 0:t.host,s=!1;if(o&&o!==e)for(s=!!(null!==(r=i)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(i)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!s&&i;){var l,c,u;s=!(null===(c=i=null===(l=o=lMe(i))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(i))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!sMe.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},vMe=function(e,t){return!(function(e){return function(e){return mMe(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||lMe(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=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 a=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!a||a===e}(e)}(t)||hMe(t)<0||!bMe(e,t))},yMe=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},OMe=function e(t){var r=[],n=[];return t.forEach((function(t,a){var o=!!t.scopeParent,i=o?t.scopeParent:t,s=function(e,t){var r=hMe(e);return r<0&&t&&!pMe(e)?0:r}(i,o),l=o?e(t.candidates):i;0===s?o?r.push.apply(r,l):r.push(i):n.push({documentOrder:a,tabIndex:s,item:t,isScope:o,content:l})})),n.sort(fMe).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},wMe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==sMe.call(e,oMe)&&vMe(t,e)},xMe=aMe.concat("iframe").join(","),kMe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==sMe.call(e,xMe)&&bMe(t,e)};
/*!
* focus-trap 7.6.2
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/function SMe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _Me(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EMe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function TMe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?EMe(Object(r),!0).forEach((function(t){_Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):EMe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var AMe=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},CMe=function(e){return AMe(e)&&!e.shiftKey},PMe=function(e){return AMe(e)&&e.shiftKey},$Me=function(e){return setTimeout(e,0)},MMe=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,r):e},DMe=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},RMe=[],NMe=function(e,t){var r,n=(null==t?void 0:t.document)||document,a=(null==t?void 0:t.trapStack)||RMe,o=TMe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:CMe,isKeyBackward:PMe},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s=function(e,t,r){return e&&void 0!==e[t]?e[t]:o[r||t]},l=function(e,t){var r="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return i.containerGroups.findIndex((function(t){var n=t.container,a=t.tabbableNodes;return n.contains(e)||(null==r?void 0:r.includes(n))||a.find((function(t){return t===e}))}))},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.hasFallback,a=void 0!==r&&r,i=t.params,s=void 0===i?[]:i,l=o[e];if("function"==typeof l&&(l=l.apply(void 0,function(e){return function(e){if(Array.isArray(e))return SMe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return SMe(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?SMe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(s))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=l;if("string"==typeof l){try{c=n.querySelector(l)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!c&&!a)throw new Error("`".concat(e,"` as selector refers to no known node"))}return c},u=function(){var e=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!kMe(e,o.tabbableOptions))if(l(n.activeElement)>=0)e=n.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}else null===e&&(e=c("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(i.containerGroups=i.containers.map((function(e){var t=function(e,t){var r;return r=(t=t||{}).getShadowRoot?dMe([e],t.includeContainer,{filter:vMe.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:yMe}):uMe(e,t.includeContainer,vMe.bind(null,t)),OMe(r)}(e,o.tabbableOptions),r=function(e,t){return(t=t||{}).getShadowRoot?dMe([e],t.includeContainer,{filter:bMe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):uMe(e,t.includeContainer,bMe.bind(null,t))}(e,o.tabbableOptions),n=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,i=r.find((function(e){return wMe(e)})),s=r.slice().reverse().find((function(e){return wMe(e)})),l=!!t.find((function(e){return hMe(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:l,firstTabbableNode:n,lastTabbableNode:a,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=t.indexOf(e);return a<0?n?r.slice(r.indexOf(e)+1).find((function(e){return wMe(e)})):r.slice(0,r.indexOf(e)).reverse().find((function(e){return wMe(e)})):t[a+(n?1:-1)]}}})),i.tabbableGroups=i.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find((function(e){return e.posTabIndexesFound}))&&i.containerGroups.length>1)throw new 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){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?p(t.shadowRoot):t},h=function(e){!1!==e&&e!==p(document)&&(e&&e.focus?(e.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):h(u()))},f=function(e){var t=c("setReturnFocus",{params:[e]});return t||!1!==t&&e},m=function(e){var t=e.target,r=e.event,n=e.isBackward,a=void 0!==n&&n;t=t||DMe(r),d();var s=null;if(i.tabbableGroups.length>0){var u=l(t,r),p=u>=0?i.containerGroups[u]:void 0;if(u<0)s=a?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(a){var h=i.tabbableGroups.findIndex((function(e){var r=e.firstTabbableNode;return t===r}));if(h<0&&(p.container===t||kMe(t,o.tabbableOptions)&&!wMe(t,o.tabbableOptions)&&!p.nextTabbableNode(t,!1))&&(h=u),h>=0){var f=0===h?i.tabbableGroups.length-1:h-1,m=i.tabbableGroups[f];s=hMe(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode}else AMe(r)||(s=p.nextTabbableNode(t,!1))}else{var g=i.tabbableGroups.findIndex((function(e){var r=e.lastTabbableNode;return t===r}));if(g<0&&(p.container===t||kMe(t,o.tabbableOptions)&&!wMe(t,o.tabbableOptions)&&!p.nextTabbableNode(t))&&(g=u),g>=0){var b=g===i.tabbableGroups.length-1?0:g+1,v=i.tabbableGroups[b];s=hMe(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else AMe(r)||(s=p.nextTabbableNode(t))}}else s=c("fallbackFocus");return s},g=function(e){var t=DMe(e);l(t,e)>=0||(MMe(o.clickOutsideDeactivates,e)?r.deactivate({returnFocus:o.returnFocusOnDeactivate}):MMe(o.allowOutsideClick,e)||e.preventDefault())},b=function(e){var t=DMe(e),r=l(t,e)>=0;if(r||t instanceof Document)r&&(i.mostRecentlyFocusedNode=t);else{var n;e.stopImmediatePropagation();var a=!0;if(i.mostRecentlyFocusedNode)if(hMe(i.mostRecentlyFocusedNode)>0){var s=l(i.mostRecentlyFocusedNode),c=i.containerGroups[s].tabbableNodes;if(c.length>0){var d=c.findIndex((function(e){return e===i.mostRecentlyFocusedNode}));d>=0&&(o.isKeyForward(i.recentNavEvent)?d+1<c.length&&(n=c[d+1],a=!1):d-1>=0&&(n=c[d-1],a=!1))}}else i.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return hMe(e)>0}))}))||(a=!1);else a=!1;a&&(n=m({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(n||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},v=function(e){(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i.recentNavEvent=e;var r=m({event:e,isBackward:t});r&&(AMe(e)&&e.preventDefault(),h(r))}(e,o.isKeyBackward(e))},y=function(e){(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)})(e)&&!1!==MMe(o.escapeDeactivates,e)&&(e.preventDefault(),r.deactivate())},O=function(e){var t=DMe(e);l(t,e)>=0||MMe(o.clickOutsideDeactivates,e)||MMe(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(i.active)return function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)}(a,r),i.delayInitialFocusTimer=o.delayInitialFocus?$Me((function(){h(u())})):h(u()),n.addEventListener("focusin",b,!0),n.addEventListener("mousedown",g,{capture:!0,passive:!1}),n.addEventListener("touchstart",g,{capture:!0,passive:!1}),n.addEventListener("click",O,{capture:!0,passive:!1}),n.addEventListener("keydown",v,{capture:!0,passive:!1}),n.addEventListener("keydown",y),r},x=function(){if(i.active)return n.removeEventListener("focusin",b,!0),n.removeEventListener("mousedown",g,!0),n.removeEventListener("touchstart",g,!0),n.removeEventListener("click",O,!0),n.removeEventListener("keydown",v,!0),n.removeEventListener("keydown",y),r},k="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===i.mostRecentlyFocusedNode}))}))&&h(u())})):void 0,S=function(){k&&(k.disconnect(),i.active&&!i.paused&&i.containers.map((function(e){k.observe(e,{subtree:!0,childList:!0})})))};return(r={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t=s(e,"onActivate"),r=s(e,"onPostActivate"),a=s(e,"checkCanFocusTrap");a||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=n.activeElement,null==t||t();var o=function(){a&&d(),w(),S(),null==r||r()};return a?(a(i.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!i.active)return this;var t=TMe({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,x(),i.active=!1,i.paused=!1,S(),function(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}(a,r);var n=s(t,"onDeactivate"),l=s(t,"onPostDeactivate"),c=s(t,"checkCanReturnFocus"),u=s(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var d=function(){$Me((function(){u&&h(f(i.nodeFocusedBeforeActivation)),null==l||l()}))};return u&&c?(c(f(i.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(i.paused||!i.active)return this;var t=s(e,"onPause"),r=s(e,"onPostPause");return i.paused=!0,null==t||t(),x(),S(),null==r||r(),this},unpause:function(e){if(!i.paused||!i.active)return this;var t=s(e,"onUnpause"),r=s(e,"onPostUnpause");return i.paused=!1,null==t||t(),d(),w(),S(),null==r||r(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map((function(e){return"string"==typeof e?n.querySelector(e):e})),i.active&&d(),S(),this}}).updateContainerElements(e),r};const IMe=["Escape","ArrowDown","ArrowUp","Enter","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"],LMe={Escape:{event:"closeModal"},Enter:{event:"executeRequest",modifiers:["default"]},b:{event:"toggleSidebar",modifiers:["default"]},k:{event:"openCommandPalette",modifiers:["default"]},l:{event:"focusAddressBar",modifiers:["default"]}},jMe={Alt:"altKey",Control:"ctrlKey",Shift:"shiftKey",Meta:"metaKey"},BMe=e=>e.map((e=>"default"===e?gY()?"metaKey":"ctrlKey":jMe[e])),UMe={class:"scalar scalar-app"},FMe={class:"scalar-container"},QMe=["id"],zMe=Li({__name:"ApiClientModal",setup(e){const{activeWorkspace:t}=Bbe(),{modalState:r,events:n}=AOe(),a=So(null),o=ji(),{activate:i,deactivate:s}=function(e,t={}){let r;const{immediate:n,...a}=t,o=_o(!1),i=_o(!1),s=e=>r&&r.activate(e),l=e=>r&&r.deactivate(e);return hl(gc((()=>XB(Co(e)).map((e=>{const t=Co(e);return"string"==typeof t?t:tU(t)})).filter(FB))),(e=>{if(e.length)if(r){const t=null==r?void 0:r.active;null==r||r.updateContainerElements(e),!t&&n&&s()}else r=NMe(e,{...a,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),n&&s()}),{flush:"post"}),jB((()=>l())),{hasFocus:o,isPaused:i,activate:s,deactivate:l,pause:()=>{r&&(r.pause(),i.value=!0)},unpause:()=>{r&&(r.unpause(),i.value=!1)}}}(a,{allowOutsideClick:!0,fallbackFocus:`#${o}`}),l=e=>((e,t,{hotKeys:r=LMe,modifiers:n=["default"]}={})=>{const a=" "===e.key?"Space":e.key,o=r[a];o&&("Escape"===a?t.emit({[o.event]:e}):BMe(o.modifiers||n).every((t=>!0===e[t]))?t.emit({[o.event]:e}):!(e=>{if(!(e.target instanceof HTMLElement))return!1;const t=e.target;return"INPUT"===t.tagName?!IMe.includes(e.key):!("TEXTAREA"!==t.tagName&&!t.getAttribute("contenteditable")&&"true"!==t.contentEditable)})(e)&&void 0===o.modifiers&&t.emit({[o.event]:e}))})(e,n.hotKeys,t.value?.hotKeyConfig);hl((()=>r.open),(e=>{e?(window.addEventListener("keydown",l),document.documentElement.style.overflow="hidden",i({checkCanFocusTrap:()=>Ko()})):(window.removeEventListener("keydown",l),document.documentElement.style.removeProperty("overflow"),s())})),Gi((()=>H7()));const c=e=>e?.closeModal&&r.open&&r.hide();return Yi((()=>n.hotKeys.on(c))),es((()=>{document.documentElement.style.removeProperty("overflow"),n.hotKeys.off(c)})),(e,t)=>ui((Dl(),Ll("div",UMe,[zl("div",FMe,[zl("div",{id:Ao(o),ref_key:"client",ref:a,"aria-label":"API Client","aria-modal":"true",class:"scalar-app-layout scalar-client",role:"dialog",tabindex:"-1"},[ql(Ao(k7),null,{default:ci((()=>[ql(Ao(_be),{key:"$route.fullPath"})])),_:1})],8,QMe),zl("div",{class:"scalar-app-exit",onClick:t[0]||(t[0]=e=>Ao(r).hide())})])],512)),[[qc,Ao(r).open]])}}),qMe=W7(zMe,[["__scopeId","data-v-45e9730e"]]),HMe=Symbol(),VMe=()=>Fs(HMe,So(jt.parse({}))),ZMe="2.5.0",WMe="scalar_api_client_data_version",XMe=e=>{const t=localStorage.getItem(e)||"[{}]";return"["===t[0]?zye(t):JSON.parse(t)},GMe=(e,t)=>{const r=e=>{const[t=0,r=0,n=0]=e.split(".").map((e=>Number.parseInt(e,10)));return{major:t,minor:r,patch:n}},{major:n,minor:a,patch:o}=r(e),{major:i,minor:s,patch:l}=r(t);return n<i||!(n>i)&&(a<s||!(a>s)&&o<l)},YMe=(e,t,r)=>e.forEach((e=>{const n=oB(e,t,!1);n&&r(n)})),KMe=({el:e,appComponent:t,configuration:r={},isReadOnly:n=!1,store:a,persistData:o=!0,mountOnInitialize:i=!0,layout:s="desktop",router:l})=>{const c=So(jt.parse(r)),u=a||EOe({proxyUrl:c.value.proxyUrl,theme:c.value.theme,showSidebar:c.value.showSidebar??!0,hideClientButton:c.value.hideClientButton??!1,_integration:c.value._integration,useLocalStorage:o}),d=Lbe({...u,router:l}),p=(({layout:e})=>({collapsedSidebarFolders:uo({}),isSidebarOpen:So("modal"!==e)}))({layout:s}),h=QPe({plugins:c.value.plugins??[]}),f=()=>{try{return typeof window<"u"&&void 0!==window.localStorage}catch{return!1}};if(f()&&localStorage.getItem(Fj)&&!n)try{const e={};let t=0,r=0,n="";for(n in localStorage)Object.hasOwn(localStorage,n)&&(r=2*(localStorage[n].length+n.length),t+=r,e[n]=(r/1024).toFixed(2)+" KB");e.Total=(t/1024).toFixed(2)+" KB",console.table(e),(e=>{const{collectionMutators:t,cookieMutators:r,environmentMutators:n,tagMutators:a,requestExampleMutators:o,requestMutators:i,serverMutators:s,securitySchemeMutators:l,workspaceMutators:c}=e;try{const{collections:e,cookies:u,environments:d,requestExamples:p,requests:h,servers:f,securitySchemes:m,tags:g,workspaces:b}=(()=>{const e=(()=>{const e=localStorage.getItem("collection"),t=localStorage.getItem(WMe);if(t)return t;if(!e?.length||"{"===e?.[0])return"0.0.0";try{const[t]=Object.values(zye(e)??{});return"collection"===t?.type?"2.1.0":"0.0.0"}catch(e){return console.error(e),"0.0.0"}})();console.info("Data version: "+e);let t={collections:XMe("collection"),cookies:XMe("cookie"),environments:XMe("environment"),requestExamples:XMe("requestExample"),requests:XMe("request"),securitySchemes:XMe("securityScheme"),servers:XMe("server"),tags:XMe("tag"),workspaces:XMe("workspace")};return GMe(e,"2.1.0")&&(t=(e=>{console.info("Performing data migration v-0.0.0 to v-2.1.0");const t={...e,folders:XMe("folder")},r=e=>e.reduce(((e,n)=>{const a=t.requests[n];if(a)e.requestUids.add(n),a.securitySchemeUids?.forEach((t=>e.authUids.add(t)));else if(t.folders[n]){const{requestUids:a,tagUids:o,authUids:i}=r(t.folders[n].childUids??[]);e.tagUids.add(n),a.forEach((t=>e.requestUids.add(t))),o.forEach((t=>e.tagUids.add(t))),i.forEach((t=>e.authUids.add(t)))}return e}),{requestUids:new Set,tagUids:new Set,authUids:new Set}),n={},a=Object.values(t.collections??{}).reduce(((e,a)=>{const{requestUids:o,tagUids:i,authUids:s}=r(a.childUids??[]),l=[...new Set([...s,...Object.values(a.securitySchemeDict??{})])];o.forEach((e=>n[e]=l));const c=l.reduce(((e,r)=>{const n=t.securitySchemes[r];return n?.uid&&e&&(e[r]=(e=>"apiKey"===e.type?{type:"apiKey",name:e.name,value:e.value??""}:"http"===e.type?{type:"http",username:e.value??"",password:e.secondValue??"",token:e.value??""}:"oauth2"===e.type&&"implicit"===e.flow.type?{type:"oauth-implicit",token:e.flow.token??""}:"oauth2"===e.type&&"password"===e.flow.type?{type:"oauth-password",token:e.flow.token??"",username:e.flow.value??"",password:e.flow.secondValue??"",clientSecret:e.flow.clientSecret??""}:"oauth2"===e.type&&"clientCredentials"===e.flow.type?{type:"oauth-clientCredentials",token:e.flow.token??"",clientSecret:e.flow.clientSecret??""}:"oauth2"===e.type&&"authorizationCode"===e.flow.type?{type:"oauth-authorizationCode",token:e.flow.token??"",clientSecret:e.flow.clientSecret??""}:{type:"apiKey",name:"",value:""})(n)),e}),{});return e[a.uid]={type:"collection",openapi:a.spec?.openapi||"3.1.0",info:a.spec?.info||{title:"OpenAPI Spec",version:"0.0.1"},security:a.spec?.security||[],externalDocs:a.spec?.externalDocs,uid:a.uid,securitySchemes:l,selectedSecuritySchemeUids:[],selectedServerUid:a.selectedServerUid||a.spec?.serverUids?.[0]||"",servers:a.spec?.serverUids||[],requests:[...o],tags:[...i],auth:c,children:a.childUids||[],"x-scalar-icon":"interface-content-folder",watchMode:!1,watchModeStatus:"IDLE"},e}),{}),o=t.cookies??{},i=Object.values(t.environments??{}).reduce(((e,t)=>(e[t.uid]={...t,value:t.raw??""},e)),{}),s=Object.values(t.requests??{}).reduce(((e,t)=>{const r=[...Object.values(t.parameters?.path??{}),...Object.values(t.parameters?.query??{}),...Object.values(t.parameters?.headers??{}),...Object.values(t.parameters?.cookies??{})].filter((e=>e)),a=(t.selectedSecuritySchemeUids||[]).filter((e=>n[t.uid]?.includes(e)));return e[t.uid]={...t,parameters:r,type:"request",method:t.method?.toLowerCase()??"get",examples:t.childUids||[],selectedSecuritySchemeUids:a,selectedServerUid:"",servers:[]},e}),{}),l=Object.values(t.requestExamples??{}).reduce(((e,t)=>(e[t.uid]={...t,type:"requestExample"},e)),{}),c=e=>{const t={refreshUrl:e.refreshUrl||"",selectedScopes:e.selectedScopes||[],scopes:e.scopes||{}};return"implicit"===e.type?{...e,...t,type:"implicit","x-scalar-redirect-uri":("redirectUri"in e?e.redirectUri:"")||""}:"password"===e.type||"clientCredentials"===e.type?{...e,...t,tokenUrl:e.tokenUrl||""}:{...e,...t,"x-usePkce":"no","x-scalar-redirect-uri":("redirectUri"in e?e.redirectUri:"")||"",authorizationUrl:e.authorizationUrl||"",tokenUrl:e.tokenUrl||""}},u=e=>{switch(e?.type){case"apiKey":return`${AB(e.in)}`;case"http":return`${AB(e.scheme)} Authentication`;case"oauth2":return((e="")=>e.replace(/([A-Z]{2,})/g," $1").replace(/([A-Z])(?=[a-z])/g," $1").replace(/^./,(e=>e.toUpperCase())).trim())(e.flow.type);case"openIdConnect":return"Open ID Connect";default:return"None"}},d=Object.values(t.securitySchemes??{}).reduce(((e,t)=>(e[t.uid]="oauth2"===t.type?{...t,nameKey:u(t),"x-scalar-client-id":t.clientId||"",flow:c(t.flow)}:{...t,nameKey:u(t)},e)),{}),p=Object.values(t.servers??{}).reduce(((e,t)=>(e[t.uid]={...t,variables:t.variables??{}},e)),{});return{collections:a,cookies:o,environments:i,requestExamples:l,requests:s,securitySchemes:d,servers:p,tags:Object.values(t.folders??{}).reduce(((e,t)=>(e[t.uid]={type:"tag",uid:t.uid,name:t.name||"unknownTag",description:t.description,children:t.childUids||[],"x-scalar-children":[]},e)),{}),workspaces:Object.values(t.workspaces??{}).reduce(((e,t)=>(e[t.uid]={...t,description:t.description??"Basic Scalar Workspace",cookies:t.cookieUids||[],collections:t.collectionUids||[],environments:t.environmentUids||[]},e)),{})}})(t)),GMe(e,"2.2.0")&&(t=(e=>{console.info("Performing data migration v-2.1.0 to v-2.2.0");const t=Object.values(e.securitySchemes).reduce(((t,r)=>{const n=Object.values(e.collections).find((e=>e.securitySchemes.includes(r.uid))),a=n?.auth?.[r.uid];if(!a)return t;const o=((e,t)=>{if("apiKey"===e.type&&"apiKey"===t.type)return{...e,value:t.value};if("http"===e.type&&"http"===t.type)return{...e,username:t.username,password:t.password,token:t.token};if("oauth2"===e.type){const{flow:r,...n}=e;if("implicit"===r.type&&"oauth-implicit"===t.type)return{...n,flows:{implicit:{...r,scopes:r.scopes,token:t.token,"x-scalar-client-id":n["x-scalar-client-id"]}}};if("password"===r.type&&"oauth-password"===t.type)return{...n,flows:{password:{...r,username:t.username,password:t.password,token:t.token,clientSecret:t.clientSecret,scopes:r.scopes,"x-scalar-client-id":n["x-scalar-client-id"]}}};if("clientCredentials"===r.type&&"oauth-clientCredentials"===t.type)return{...n,flows:{clientCredentials:{...r,token:t.token,clientSecret:t.clientSecret,scopes:r.scopes,"x-scalar-client-id":n["x-scalar-client-id"]}}};if("authorizationCode"===r.type&&"oauth-authorizationCode"===t.type)return{...n,flows:{authorizationCode:{...r,token:t.token,clientSecret:t.clientSecret,scopes:r.scopes,"x-scalar-client-id":n["x-scalar-client-id"]}}}}return null})(r,a);return o&&(t[r.uid]=o),t}),{}),r=e.servers;return{...e,securitySchemes:t,servers:r}})(t)),GMe(e,"2.3.0")&&(t=(e=>{console.info("Performing data migration v-2.2.0 to v-2.3.0");const t=e.environments,r=Object.values(e.workspaces).reduce(((e,r)=>{const n={};return Object.entries(t).forEach((([e,t])=>{const r="string"==typeof t.value?JSON.parse(t.value):t.value;"default"===e&&Object.assign(n,r)})),e[r.uid]={...r,environments:n},e}),{}),n=Object.values(e.collections).reduce(((e,t)=>(e[t.uid]={...t,"x-scalar-environments":t["x-scalar-environments"]||{}},e)),{});return Object.values(r).forEach((e=>{Object.entries(t).forEach((([t,r])=>{if("default"!==t){const a="string"==typeof r.value?JSON.parse(r.value):r.value,o=r.name;Object.values(n).forEach((r=>{r["x-scalar-environments"]=r["x-scalar-environments"]||{},r["x-scalar-environments"][o]={variables:a},e.activeEnvironmentId===t&&(r["x-scalar-active-environment"]=o??"")}))}}))})),{...e,collections:n,workspaces:r}})(t)),GMe(e,"2.4.0")&&(t=(e=>{console.info("Performing data migration v-2.3.0 to v-2.4.0");const t=Object.values(e.collections).reduce(((t,r)=>("Drafts"===r.info?.title&&(r.servers=[],Object.values(e.requests).forEach((t=>{if(t.selectedServerUid&&r.requests.includes(t.uid)){const r=e.servers[t.selectedServerUid];r&&(t.path=`${r.url}${t.path}`),t.selectedServerUid=""}}))),t[r.uid]=r,t)),{});return{...e,collections:t}})(t)),GMe(e,"2.5.0")&&(t=(e=>{console.info("Performing data migration v-2.4.0 to v-2.5.0");const t=Object.entries(e.cookies||{}).reduce(((e,[t,r])=>(e[t]={...r,uid:r.uid},e)),{}),r=Object.entries(e.collections||{}).reduce(((e,[t,r])=>(e[t]={...r,info:r.info??{title:"API",version:"1.0"},uid:r.uid,selectedSecuritySchemeUids:r.selectedSecuritySchemeUids,servers:r.servers.map((e=>e)),tags:r.tags.map((e=>e)),requests:r.requests.map((e=>e)),children:r.children.map((e=>e)),selectedServerUid:r.selectedServerUid,useCollectionSecurity:!1},e)),{}),n=Object.entries(e.environments||{}).reduce(((e,[t,r])=>(e[t]={...r,uid:r.uid},e)),{}),a=Object.entries(e.requests||{}).reduce(((e,[t,r])=>(e[t]={...r,uid:r.uid,servers:r.servers,selectedServerUid:r.selectedServerUid,examples:r.examples,selectedSecuritySchemeUids:r.selectedSecuritySchemeUids},e)),{}),o=Object.entries(e.requestExamples||{}).reduce(((e,[t,r])=>{const n=r.parameters.headers;return n.some((e=>"accept"===e.key.toLowerCase()))||n.unshift({key:"Accept",value:"*/*",enabled:!0}),e[t]={...r,uid:r.uid,requestUid:r.requestUid,parameters:{...r.parameters,headers:n}},e}),{}),i=Object.entries(e.securitySchemes||{}).reduce(((e,[t,r])=>(e[t]={...r,uid:r.uid},e)),{}),s=Object.entries(e.servers||{}).reduce(((e,[t,r])=>(e[t]={...r,uid:r.uid,variables:Object.entries(r.variables||{}).reduce(((e,[t,r])=>(e[t]={default:r.default??"",description:r.description??"",...r.enum?.length&&{enum:r.enum}},e)),{})},e)),{}),l=Object.entries(e.tags||{}).reduce(((e,[t,r])=>(e[t]={...r,uid:r.uid,children:r.children},e)),{}),c=Object.entries(e.workspaces||{}).reduce(((e,[t,r])=>(e[t]={...r,uid:r.uid,collections:r.collections.map((e=>e)),cookies:r.cookies.map((e=>e)),selectedHttpClient:{targetKey:"shell",clientKey:"curl"}},e)),{});return{...e,collections:r,cookies:t,environments:n,requests:a,requestExamples:o,securitySchemes:i,servers:s,tags:l,workspaces:c}})(t)),t={collections:Object.values(t.collections),cookies:Object.values(t.cookies),environments:Object.values(t.environments),requestExamples:Object.values(t.requestExamples),requests:Object.values(t.requests),securitySchemes:Object.values(t.securitySchemes),servers:Object.values(t.servers),tags:Object.values(t.tags),workspaces:Object.values(t.workspaces)},t})();YMe(e,Yve,t.rawAdd),YMe(u,SCe,r.add),YMe(d,Ibe,n.add),YMe(p,bye,o.rawAdd),YMe(h,_ye,i.rawAdd),YMe(f,yB,s.rawAdd),YMe(m,Fve,l.rawAdd),YMe(g,Wve,a.rawAdd),YMe(b,_Oe,c.rawAdd),localStorage.setItem(WMe,ZMe)}catch(e){console.error(e)}})(u)}catch(e){console.warn("Failed to load from localStorage:",e)}else if(n||c.value.url||c.value.content){const e=_Oe.parse({uid:"default",name:"Workspace",proxyUrl:c.value.proxyUrl});u.workspaceMutators.rawAdd(e)}else if(u.workspaceMutators.add({uid:"default",name:"Workspace",proxyUrl:c.value.proxyUrl}),f())try{localStorage.setItem(WMe,ZMe)}catch(e){console.warn("Failed to set localStorage version:",e)}const m=Ru(t);m.use(l),m.provide(TOe,u),m.provide(tve,s),m.provide(jbe,d),m.provide(swe,p),m.provide(HMe,c),m.provide(zPe,h),m.config.idPrefix="scalar-client";const{collectionMutators:g,importSpecFile:b,importSpecFromUrl:v,modalState:y,requests:O,securitySchemes:w,securitySchemeMutators:x,servers:k,workspaceMutators:S,requestExampleMutators:_}=u,{activeCollection:E,activeWorkspace:T}=d,A=(t=e)=>{t?m.mount(t):console.error("[@scalar/api-client-modal] Could not create the API client.","Invalid HTML element provided.","Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")};i&&A();const C=e=>{const t=((e,t)=>{const{requestUid:r,method:n,path:a}=t??{};if(r)return r;if(!a||!n)return Object.keys(e)[0];const o=Object.values(e),i=o.find((e=>e.path.toLowerCase()===a.toLowerCase()&&e.method.toLowerCase()===n.toLowerCase()));if(i)return i.uid;const{request:s}=((e,t,r)=>{let n=[];return{request:r.find((r=>{if(r.method.toLowerCase()!==t.toLowerCase())return!1;if(r.path===e)return!0;const a=(e=>{const t="^"+e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/\\\{([^}]+)\\\}/g,"([^/]+)")+"(\\?.*)?$";return new RegExp(t)})(r.path),o=e.match(a);return!!o&&(n=o.slice(1).flatMap(((e,t)=>{const n=r.path.split("{")[t+1]?.split("}")[0];return n?[{key:n,value:e}]:[]})),!0)})),pathParams:n}})(a,n,o);return s?.uid||Object.keys(e)[0]})(O,e);t?l.push({name:"request",query:e?._source?{source:e._source}:{},params:{workspace:"default",request:t}}):console.warn("[@scalar/api-client] Could not find request for path and method",e)},P=()=>{u.collectionMutators.reset(),u.requestMutators.reset(),u.requestExampleMutators.reset(),u.securitySchemeMutators.reset(),u.serverMutators.reset(),u.tagMutators.reset(),S.edit(T.value?.uid,"collections",[])};return{app:m,resetStore:P,updateConfig:async e=>{const t=jt.parse(e);if(t.url||t.content||t.servers||t.authentication||t.slug||t.title||t.baseServerURL||t.proxyUrl||t.showSidebar){P();const e={...t,useCollectionSecurity:n};c.value=e,t.url?await v(t.url,T.value?.uid??"default",e):t.content?await b(t.content,T.value?.uid??"default",e):console.error("[@scalar/api-client-modal] Could not create the API client.",'Please provide an OpenAPI document: { url: "…" }',"Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")}},updateServer:e=>{const t=Object.values(k).find((t=>t.url===e));t&&E.value&&g.edit(E.value?.uid,"selectedServerUid",t.uid)},onUpdateServer:e=>{hl((()=>E.value?.selectedServerUid),(t=>{const r=Object.values(k).find((e=>e.uid===t));r?.url&&e(r.url)}))},updateAuth:({nameKey:e,propertyKey:t,value:r})=>{const n=Object.values(w).find((t=>t.nameKey===e));n&&x.edit(n.uid,t,r)},route:C,open:e=>{const{method:t,path:r,requestUid:n}=e??{};(t&&r||n)&&C(e),y.open=!0},mount:A,modalState:y,store:u,updateExample:(e,t)=>{if(!e||!t)return;const r=Object.values(O).find((({operationId:e,path:r})=>e===t||r===t));if(!r)return;const n=Object.keys(r.requestBody?.content||{})[0]||"",a=r.requestBody?.content?.[n]?.examples?.[e];a&&_.edit(r.examples[0],"body.raw.value",aB(a.value))}}},JMe=So(null),eDe=()=>({client:JMe,init:async e=>{const t=await(async({el:e=null,configuration:t={},mountOnInitialize:r=!0,store:n})=>{const a={...t},o=KMe({el:e,appComponent:qMe,configuration:a,persistData:!1,isReadOnly:!0,store:n,mountOnInitialize:r,router:Ebe({history:Uge(),routes:Mbe}),layout:"modal"}),{importSpecFile:i,importSpecFromUrl:s}=o.store;return n||(t.url?await s(t.url,"default",{proxyUrl:t.proxyUrl,useCollectionSecurity:!0,...t}):t.content&&await i(t.content,"default",{useCollectionSecurity:!0,...t})),o})(e);return JMe.value=t,t}}),tDe=Li({__name:"ApiClientModal",props:{configuration:{},dereferencedDocument:{}},setup(e){const t=So(null),{client:r,init:n}=eDe(),{selectedExampleKey:a,operationId:o}={selectedExampleKey:rMe,operationId:nMe},i=Bbe(),s=AOe(),{isIntersectionEnabled:l}=zwe(),c=()=>({name:"on-before-request",hooks:{onBeforeRequest:e.configuration.onBeforeRequest}});return Yi((()=>{t.value&&n({el:t.value,configuration:{...e.configuration,plugins:e.configuration.onBeforeRequest?[c]:[]},store:s})})),KB((()=>e.dereferencedDocument),((t,n)=>{if(!t)return;const a=e_e(t,n||{});a?.length&&(i.activeCollection.value&&r.value?.resetStore(),s.importSpecFile(void 0,"default",{dereferencedDocument:t,shouldLoad:!1,documentUrl:e.configuration?.url,useCollectionSecurity:!0,...e.configuration}))})),KB((()=>e.configuration),((r,n)=>{if(!n||!i.activeCollection.value)return;const a=e_e(n,r),o=a.some((e=>"url"===e.path[0]||"content"===e.path[0]||"url"===e.path[1]||"content"===e.path[1]));if(o);else if(a.forEach((e=>{"authentication"===e.path[0]&&i_e(e,i,s)})),r.servers||n.servers){const n=wB(r.servers??e.dereferencedDocument.servers,{baseServerURL:r.baseServerURL});DOe(t.value,"scalar-replace-servers",{servers:n,options:{disableOldStoreUpdate:!0}})}l.value=!1,setTimeout((()=>{l.value=!0}),1e3)}),{deep:!0,debounce:300}),hl(a,(e=>{r.value&&e&&o.value&&r.value.updateExample(e,o.value)})),es((()=>r.value?.app.unmount())),(e,r)=>(Dl(),Ll("div",{ref_key:"el",ref:t},null,512))}}),rDe=["method"],nDe=Cwe(Li({__name:"TestRequestButton",props:{method:{},path:{}},setup(e){const{client:t}=eDe(),r=jwe(),n=gc((()=>!0!==r.value.hideTestRequestButton)),a=()=>{t.value?.open({method:e.method,path:e.path})};return(e,t)=>n.value?(Dl(),Ll("button",{key:0,class:"show-api-client-button",method:e.method,type:"button",onClick:Tu(a,["stop"])},[ql(Ao(sZ),{class:"size-3",weight:"fill"}),t[0]||(t[0]=zl("span",null,"Test Request",-1)),ql(Vwe,null,{default:ci((()=>[Zl("("+Gn(e.method)+" "+Gn(e.path)+")",1)])),_:1})],8,rDe)):(Dl(),Ll(Tl,{key:1},[Zl(" ")],64))}}),[["__scopeId","data-v-976c9c1f"]]),aDe=Li({__name:"XBadges",props:{position:{},badges:{}},setup(e){const t=gc((()=>Array.isArray(e.badges)?e.badges.filter((t=>t.position===e.position||"after"===e.position&&!t.position)):[]));return(e,r)=>t.value.length?(Dl(!0),Ll(Tl,{key:0},ps(t.value,(e=>(Dl(),jl(Ao(Nke),{key:e.name,color:e.color},{default:ci((()=>[Zl(Gn(e.name),1)])),_:2},1032,["color"])))),128)):Xl("",!0)}}),oDe={class:"operation-title"},iDe={class:"operation-details"},sDe={class:"endpoint-label"},lDe={class:"endpoint-label-path"},cDe={class:"endpoint-label-name"},uDe={class:"endpoint-content"},dDe={class:"operation-details-card"},pDe={class:"operation-details-card-item"},hDe={class:"operation-details-card-item"},fDe={key:0,class:"operation-details-card-item"},mDe=Cwe(Li({__name:"ClassicLayout",props:{id:{},path:{},clientOptions:{},method:{},config:{},operation:{},isWebhook:{type:Boolean},server:{},securitySchemes:{},store:{}},setup(e){const t=gc((()=>e.operation.summary||e.path||"")),{copyToClipboard:r}=tX();return(e,n)=>(Dl(),jl(Ao(Rxe),{id:e.id,class:"reference-endpoint",transparent:""},hs({title:ci((()=>[zl("div",oDe,[zl("div",iDe,[ql(Ao(pxe),{class:"endpoint-type",method:e.method,short:""},null,8,["method"]),ql(Ao(Xwe),{id:e.id,class:"endpoint-anchor"},{default:ci((()=>[zl("h3",sDe,[zl("div",lDe,[ql(t$e,{deprecated:Ao(hB)(e.operation),path:e.path},null,8,["deprecated","path"])]),zl("div",cDe,Gn(t.value),1),Ao(fB)(e.operation)?(Dl(),jl(Ao(Nke),{key:0,class:zn(["capitalize",Ao(mB)(e.operation)])},{default:ci((()=>[Zl(Gn(Ao(fB)(e.operation)),1)])),_:1},8,["class"])):Xl("",!0),e.isWebhook?(Dl(),jl(Ao(Nke),{key:1,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:ci((()=>[ql(Ao(cW),{weight:"bold"}),n[1]||(n[1]=Zl("Webhook "))])),_:1,__:[1]})):Xl("",!0),ql(Ao(aDe),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])])])),_:1},8,["id"])])])])),actions:ci((({active:t})=>[ql(Ao(aDe),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"]),t&&!e.isWebhook?(Dl(),jl(Ao(nDe),{key:0,method:e.method,path:e.path},null,8,["method","path"])):e.config?.hideTestRequestButton?Xl("",!0):(Dl(),jl(Ao(sZ),{key:1,class:"endpoint-try-hint size-4.5"})),ql(Ao(Q6),{class:"endpoint-copy p-0.5",icon:Ao(jH),label:"Copy endpoint URL",size:"xs",variant:"ghost",onClick:n[0]||(n[0]=Tu((t=>Ao(r)(e.path)),["stop"]))},null,8,["icon"])])),default:ci((()=>[zl("div",uDe,[zl("div",dDe,[zl("div",pDe,[ql(q$e,{parameters:e.operation.parameters,requestBody:Ao(hR)(e.operation.requestBody)},null,8,["parameters","requestBody"])]),zl("div",hDe,[ql(Z$e,{collapsableItems:!1,responses:e.operation.responses},null,8,["responses"])]),e.operation?.callbacks?(Dl(),Ll("div",fDe,[ql(tMe,{callbacks:e.operation.callbacks,method:e.method,path:e.path},null,8,["callbacks","method","path"])])):Xl("",!0)]),e.operation.responses?(Dl(),jl(Ao(k$e),{key:0,class:"operation-example-card",responses:e.operation.responses},null,8,["responses"])):Xl("",!0),zl("div",null,[e.operation.externalDocs?(Dl(),jl(Ao(_Ae),{key:0},{default:ci((()=>[ql(Ao(PAe),{value:e.operation.externalDocs},null,8,["value"])])),_:1})):Xl("",!0),ql(Ao(uY),null,{default:ci((()=>[ql(Ao(m$e),{class:"operation-example-card",clientOptions:e.clientOptions,fallback:"",method:e.method,operation:e.operation,path:e.path,isWebhook:e.isWebhook,securitySchemes:e.securitySchemes,selectedClient:e.store.workspace["x-scalar-default-client"],selectedServer:e.server},null,8,["clientOptions","method","operation","path","isWebhook","securitySchemes","selectedClient","selectedServer"])])),_:1})])])])),_:2},[e.operation.description?{name:"description",fn:ci((()=>[ql(Ao(Z6),{anchorPrefix:e.id,transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","value"])])),key:"0"}:void 0]),1032,["id"]))}}),[["__scopeId","data-v-fcc3cd5c"]]),gDe={class:"flex flex-row justify-between gap-1"},bDe={class:"flex gap-1"},vDe={class:"flex gap-1"},yDe={class:"operation-details"},ODe={class:"examples"},wDe=Cwe(Li({__name:"ModernLayout",props:{id:{},path:{},clientOptions:{},config:{},method:{},operation:{},isWebhook:{type:Boolean},securitySchemes:{},server:{},store:{}},setup(e){const t=gc((()=>e.operation.summary||e.path||"")),r=ji();return(e,n)=>(Dl(),jl(Ao(Cxe),{id:e.id,"aria-labelledby":Ao(r),label:t.value,tabindex:"-1"},{default:ci((()=>[ql(Ao(Vxe),{loading:e.config.isLoading},{default:ci((()=>[zl("div",gDe,[zl("div",bDe,[Ao(fB)(e.operation)?(Dl(),jl(Ao(Nke),{key:0,class:zn(["capitalize",Ao(mB)(e.operation)])},{default:ci((()=>[Zl(Gn(Ao(fB)(e.operation)),1)])),_:1},8,["class"])):Xl("",!0),e.isWebhook?(Dl(),jl(Ao(Nke),{key:1,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:ci((()=>[ql(Ao(cW),{weight:"bold"}),n[0]||(n[0]=Zl("Webhook "))])),_:1,__:[0]})):Xl("",!0),ql(Ao(aDe),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),zl("div",vDe,[ql(Ao(aDe),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"])])]),zl("div",{class:zn(Ao(hB)(e.operation)?"deprecated":"")},[ql(Ao(Wxe),null,{default:ci((()=>[ql(Ao(Xwe),{id:e.id},{default:ci((()=>[ql(Ao(Xxe),{id:Ao(r),level:3},{default:ci((()=>[Zl(Gn(t.value),1)])),_:1},8,["id"])])),_:1},8,["id"])])),_:1})],2),ql(Ao(jxe),null,{default:ci((()=>[ql(Ao(Ixe),null,{default:ci((()=>[zl("div",yDe,[ql(Ao(Z6),{anchorPrefix:e.id,transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","value"]),ql(q$e,{breadcrumb:[e.id],parameters:e.operation.parameters,requestBody:Ao(hR)(e.operation.requestBody)},null,8,["breadcrumb","parameters","requestBody"]),ql(Z$e,{breadcrumb:[e.id],collapsableItems:!e.config.expandAllResponses,responses:e.operation.responses},null,8,["breadcrumb","collapsableItems","responses"]),ql(Ao(uY),null,{default:ci((()=>[e.operation.callbacks?(Dl(),jl(tMe,{key:0,callbacks:e.operation.callbacks,class:"mt-6",method:e.method,path:e.path},null,8,["callbacks","method","path"])):Xl("",!0)])),_:1})])])),_:1}),ql(Ao(Ixe),null,{default:ci((()=>[zl("div",ODe,[e.operation.externalDocs?(Dl(),jl(Ao(_Ae),{key:0},{default:ci((()=>[ql(Ao(PAe),{value:e.operation.externalDocs},null,8,["value"])])),_:1})):Xl("",!0),ql(Ao(uY),null,{default:ci((()=>[ql(Ao(m$e),{clientOptions:e.clientOptions,fallback:"",method:e.method,operation:e.operation,path:e.path,isWebhook:e.isWebhook,securitySchemes:e.securitySchemes,selectedClient:e.store.workspace["x-scalar-default-client"],selectedServer:e.server},hs({header:ci((()=>[ql(t$e,{class:"font-code text-c-2 [&_em]:text-c-1 [&_em]:not-italic",deprecated:e.operation?.deprecated,path:e.path},null,8,["deprecated","path"])])),_:2},[e.isWebhook?void 0:{name:"footer",fn:ci((()=>[ql(Ao(nDe),{method:e.method,path:e.path},null,8,["method","path"])])),key:"0"}]),1032,["clientOptions","method","operation","path","isWebhook","securitySchemes","selectedClient","selectedServer"])])),_:1}),ql(Ao(uY),null,{default:ci((()=>[e.operation.responses?(Dl(),jl(Ao(k$e),{key:0,responses:e.operation.responses,style:{"margin-top":"12px"}},null,8,["responses"])):Xl("",!0)])),_:1})])])),_:1})])),_:1})])),_:1},8,["loading"])])),_:1},8,["id","aria-labelledby","label"]))}}),[["__scopeId","data-v-288c0a52"]]),xDe=Li({__name:"Operation",props:{path:{},method:{},clientOptions:{},config:{},document:{},isWebhook:{type:Boolean},id:{},server:{},store:{},collection:{}},setup(e){const t=gc((()=>{const t=e.isWebhook?"webhooks":"paths";return e.document[t]?.[e.path]})),r=gc((()=>{const r=hR(t.value?.[e.method]);if(!r)return null;const n=((e=[],t=[])=>{const r=[...e,...t].map((e=>hR(e))).filter((e=>OB(e)&&e.name)),n=new Map;for(const e of r){const t=`${e.in}:${e.name}`;n.set(t,e)}return Array.from(n.values())})(t.value?.parameters,r.parameters);return{...r,parameters:n}})),{securitySchemes:n}=AOe(),a=gc((()=>((e,t=[],r={})=>{if(!e||0===e.length)return[];const n=e.filter((e=>Object.keys(e).length>0));if(0===n.length)return[];if(0===t.length){const e=n[0],t=e?Object.keys(e)[0]:void 0,a=Object.values(r).find((e=>e.nameKey===t));return a?[a]:[]}const a=new Set(n.map((e=>Object.keys(e).sort().join(",")))),o=[];for(const e of t){const t=Array.isArray(e)?e:[e],n=[],i=[];for(const e of t){const t=r[e];t?.nameKey&&(n.push(t),i.push(t.nameKey))}if(i.length>0){const e=i.sort().join(",");a.has(e)&&o.push(...n)}}return o})(r.value?.security||e.document.security||[],e.collection.selectedSecuritySchemeUids,n).map(KPe)));return(e,t)=>r.value?(Dl(),Ll(Tl,{key:0},["classic"===e.config.layout?(Dl(),jl(mDe,{key:0,id:e.id,clientOptions:e.clientOptions,config:e.config,isWebhook:e.isWebhook,method:e.method,operation:r.value,path:e.path,securitySchemes:a.value,server:e.server,store:e.store},null,8,["id","clientOptions","config","isWebhook","method","operation","path","securitySchemes","server","store"])):(Dl(),jl(wDe,{key:1,id:e.id,clientOptions:e.clientOptions,config:e.config,isWebhook:e.isWebhook,method:e.method,operation:r.value,path:e.path,securitySchemes:a.value,server:e.server,store:e.store},null,8,["id","clientOptions","config","isWebhook","method","operation","path","securitySchemes","server","store"]))],64)):Xl("",!0)}}),kDe=Li({__name:"TraversedEntry",props:{level:{default:0},rootIndex:{},entries:{},config:{},document:{},clientOptions:{},activeCollection:{},activeServer:{},store:{}},setup(e,{expose:t}){const r=e=>"isGroup"in e&&e.isGroup,n=e=>"tag"in e&&!r(e),a=e=>"operation"in e,o=e=>"webhook"in e,i=e=>"isWebhooks"in e&&Boolean(e.isWebhooks),s=gc((()=>0===e.level)),{hash:l}=zwe(),c=gc((()=>s.value?e.rootIndex:iCe(l.value,e.entries))),u=(e,t)=>r(e)?null:t<c.value?"prev":t>c.value+2?"after":null;return t({currentIndex:c,isLazy:u}),(e,t)=>{const l=ss("TraversedEntry",!0);return Dl(!0),Ll(Tl,null,ps(e.entries,((t,c)=>(Dl(),jl(Ao(Iwe),{id:t.id,key:t.id,isLazy:Boolean(u(t,c)),prev:"prev"===u(t,c)},{default:ci((()=>[a(t)||o(t)?(Dl(),jl(Ao(Uxe),{key:0,omit:!s.value},{default:ci((()=>[ql(Ao(xDe),{id:t.id,clientOptions:e.clientOptions,collection:e.activeCollection,config:e.config,document:e.document,isWebhook:o(t),method:t.method,path:o(t)?t.name:t.path,server:e.activeServer,store:e.store},null,8,["id","clientOptions","collection","config","document","isWebhook","method","path","server","store"])])),_:2},1032,["omit"])):i(t)||n(t)?(Dl(),jl(Ao(fCe),{key:1,layout:e.config.layout,moreThanOneTag:e.entries.filter(n).length>1,tag:t},{default:ci((()=>["children"in t&&t.children?.length?(Dl(),jl(l,{key:0,activeCollection:e.activeCollection,activeServer:e.activeServer,clientOptions:e.clientOptions,config:e.config,document:e.document,entries:t.children,level:e.level+1,rootIndex:e.rootIndex,store:e.store},null,8,["activeCollection","activeServer","clientOptions","config","document","entries","level","rootIndex","store"])):Xl("",!0)])),_:2},1032,["layout","moreThanOneTag","tag"])):r(t)?(Dl(),jl(l,{key:2,activeCollection:e.activeCollection,activeServer:e.activeServer,clientOptions:e.clientOptions,config:e.config,document:e.document,entries:t.children||[],level:e.level+1,rootIndex:e.rootIndex,store:e.store},null,8,["activeCollection","activeServer","clientOptions","config","document","entries","level","rootIndex","store"])):Xl("",!0)])),_:2},1032,["id","isLazy","prev"])))),128)}}}),SDe={key:0},_De=Li({__name:"TraversedEntryContainer",props:{config:{},clientOptions:{},document:{},store:{}},setup(e){const{collections:t,servers:r}=AOe(),{activeCollection:n}=Bbe(),a=gc((()=>{if(e.config?.slug){const r=t[dOe(e.config.slug)];if(r)return r}return n.value})),o=gc((()=>{if(a.value){if(a.value.selectedServerUid){const e=r[a.value.selectedServerUid];if(e)return e}return r[a.value.servers[0]]}})),{items:i}=uxe(),{hash:s}=zwe(),l=gc((()=>iCe(s.value,i.value.entries)));return(e,t)=>Ao(i).entries.length&&a.value?(Dl(),Ll("div",SDe,[ql(kDe,{activeCollection:a.value,activeServer:o.value,clientOptions:e.clientOptions,config:e.config,document:e.document,entries:Ao(i).entries,rootIndex:l.value,store:e.store},null,8,["activeCollection","activeServer","clientOptions","config","document","entries","rootIndex","store"])])):Xl("",!0)}}),EDe={class:"narrow-references-container"},TDe=Li({__name:"Content",props:{config:{},store:{}},setup(e){(()=>{const{hash:e,isIntersectionEnabled:t}=zwe(),r=So(new Set),n=(e=>{if(!e)return()=>null;let t=null,r=document.getElementById(e);const n=new MutationObserver((()=>{r||=document.getElementById(e),r&&(null!==t&&cancelAnimationFrame(t),t=requestAnimationFrame((()=>{r?.scrollIntoView(),t=null})))}));return n.observe(document.body,{childList:!0,subtree:!0}),()=>{null!==t&&cancelAnimationFrame(t),n.disconnect()}})(e.value);Rwe.on((({loading:e,loaded:a,save:o})=>{if(!Nwe.value&&(e&&o&&r.value.add(e),a&&o&&r.value.delete(a),0===r.value.size)){let e=Date.now();const a=()=>{const o=Date.now();if(0===r.value.size){if(o-e>=500)return n?.(),Nwe.value=!0,void(t.value=!0)}else e=o;setTimeout(a,25)};a()}}))})();const t=gc((()=>{return!0===(t=e.config.hiddenClients)?[]:nAe().clients().flatMap((e=>{const r=e.clients.flatMap((r=>{const n=`${e.key}/${r.client}`;if(Array.isArray(t)&&t.includes(r.client))return[];if("object"==typeof t&&null!==t){const n=t[e.key];if(!0===n)return[];if(Array.isArray(n)&&n.includes(r.client))return[]}return{id:n,lang:"curl"===r.client?"curl":e.key,title:`${Pn(e.title)} ${r.title}`,label:r.title,targetKey:e.key,targetTitle:e.title,clientKey:r.client}}));return 0===r.length?[]:{label:e.title,options:r}}));var t})),{getHeadingId:r}=zwe(),n=gc((()=>r({slug:txe,depth:1,value:"Introduction"}))),a=gc((()=>uke(e.store.workspace.activeDocument))),o=gc((()=>uke(e.store.workspace.activeDocument?.info))),{collections:i,securitySchemes:s,servers:l}=AOe(),{activeCollection:c,activeEnvVariables:u,activeEnvironment:d,activeWorkspace:p}=Bbe(),h=gc((()=>{if(e.config.slug){const t=i[dOe(e.config.slug)];if(t)return t}return c.value})),f=gc((()=>{if(h.value){if(h.value.selectedServerUid){const e=l[h.value.selectedServerUid];if(e)return e}return l[h.value.servers[0]]}})),m=()=>e.store.exportActiveDocument("json")??"{}";return(e,r)=>(Dl(),Ll(Tl,null,[ql(Ao(_Se)),zl("div",EDe,[fs(e.$slots,"start"),ql(qwe,{showEmptyState:!e.store.workspace.activeDocument},{"empty-state":ci((()=>[fs(e.$slots,"empty-state")])),default:ci((()=>[e.store.workspace.activeDocument?(Dl(),jl(Ao(XAe),{key:0,id:n.value,documentExtensions:a.value,externalDocs:e.store.workspace.activeDocument.externalDocs,getOriginalDocument:m,info:e.store.workspace.activeDocument.info,infoExtensions:o.value,isLoading:e.config.isLoading,layout:e.config.layout,oasVersion:e.store.workspace.activeDocument?.["x-original-oas-version"],onLoaded:e.config.onLoaded},{selectors:ci((()=>[ql(Ao(uY),null,{default:ci((()=>[e.store.workspace.activeDocument?.servers?.length?(Dl(),jl(Ao(YAe),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:ci((()=>[ql(Ao(aCe),{servers:e.store.workspace.activeDocument?.servers??[],xSelectedServer:e.store.workspace.activeDocument?.["x-scalar-active-server"]},null,8,["servers","xSelectedServer"])])),_:1})):Xl("",!0)])),_:1}),ql(Ao(uY),null,{default:ci((()=>[h.value&&Ao(p)&&Object.keys(Ao(s)??{}).length?(Dl(),jl(Ao(YAe),{key:0,class:"scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"},{default:ci((()=>[ql(Ao(eEe),{collection:h.value,envVariables:Ao(u),environment:Ao(d),layout:"reference",persistAuth:e.config?.persistAuth,selectedSecuritySchemeUids:h.value?.selectedSecuritySchemeUids??[],server:f.value,title:"Authentication",workspace:Ao(p)},null,8,["collection","envVariables","environment","persistAuth","selectedSecuritySchemeUids","server","workspace"])])),_:1})):Xl("",!0)])),_:1}),ql(Ao(uY),null,{default:ci((()=>[!0!==e.config?.hiddenClients&&t.value.length?(Dl(),jl(Ao(YAe),{key:0,class:"introduction-card-item scalar-reference-intro-clients"},{default:ci((()=>[ql(Ao(vAe),{class:"introduction-card-item scalar-reference-intro-clients",clientOptions:t.value,xScalarSdkInstallation:e.store.workspace.activeDocument?.info?.["x-scalar-sdk-installation"],xSelectedClient:e.store.workspace["x-scalar-default-client"]},null,8,["clientOptions","xScalarSdkInstallation","xSelectedClient"])])),_:1})):Xl("",!0)])),_:1})])),_:1},8,["id","documentExtensions","externalDocs","info","infoExtensions","isLoading","layout","oasVersion","onLoaded"])):Xl("",!0)])),_:3},8,["showEmptyState"]),e.store.workspace.activeDocument?(Dl(),jl(Ao(_De),{key:0,clientOptions:t.value,config:e.config,document:e.store.workspace.activeDocument,store:e.store},null,8,["clientOptions","config","document","store"])):Xl("",!0),!e.config?.hideModels&&e.store.workspace.activeDocument?(Dl(),jl(Ao(kSe),{key:1,config:e.config,document:e.store.workspace.activeDocument},null,8,["config","document"])):Xl("",!0),fs(e.$slots,"end")])],64))}}),ADe={class:"start custom-scroll"},CDe={class:"start-copy"},PDe={class:"start-cta"},$De={class:"start-row"},MDe={class:"start-section start-section-colors"},DDe=["onClick"],RDe=Cwe(Li({__name:"GettingStarted",props:{theme:{}},emits:["changeTheme","loadSwaggerFile","linkSwaggerFile","updateContent"],setup(e,{emit:t}){const r=t,n=["default","alternate","moon","purple","solarized","bluePlanet","saturn","kepler","mars","deepSpace"];async function a(){const e=await fetch("https://registry.scalar.com/@scalar/apis/galaxy/latest?format=yaml");r("updateContent",await e.text())}return(e,t)=>(Dl(),Ll("div",ADe,[zl("div",CDe,[t[3]||(t[3]=Wl('<div class="start-logo" data-v-bc17fac9><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-bc17fac9><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-bc17fac9></path></svg></div><h1 class="start-h1" data-v-bc17fac9>Swagger Editor</h1><p class="start-p" data-v-bc17fac9> Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>',3)),zl("div",PDe,[ql(Ao(Oq),{fullWidth:"",onClick:a},{default:ci((()=>t[1]||(t[1]=[Zl(" Show Example ")]))),_:1,__:[1]}),ql(Ao(Oq),{fullWidth:"",variant:"outlined",onClick:t[0]||(t[0]=t=>e.$emit("loadSwaggerFile"))},{default:ci((()=>t[2]||(t[2]=[Zl(" Upload File ")]))),_:1,__:[2]})])]),zl("div",$De,[t[5]||(t[5]=Wl('<div class="start-section start-section-integrations" data-v-bc17fac9><div class="start-h2" data-v-bc17fac9>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/integrations/fastify#readme" target="_blank" data-v-bc17fac9><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-bc17fac9><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-bc17fac9></path></svg><span data-v-bc17fac9>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/documentation/integrations/html-js.md#html" target="_blank" data-v-bc17fac9><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-bc17fac9><g data-v-bc17fac9><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-bc17fac9></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-bc17fac9></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-bc17fac9></path></g></svg><span data-v-bc17fac9>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/packages/api-reference/README.md#vuejs" target="_blank" data-v-bc17fac9><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-bc17fac9><g fill="currentColor" fill-rule="nonzero" data-v-bc17fac9><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-bc17fac9></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-bc17fac9></polygon></g></svg><span data-v-bc17fac9>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/blob/main/packages/api-reference-react/README.md#usage" target="_blank" data-v-bc17fac9><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-bc17fac9><g fill="none" fill-rule="evenodd" data-v-bc17fac9><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-bc17fac9></circle><g stroke="currentColor" data-v-bc17fac9><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-bc17fac9></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-bc17fac9></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-bc17fac9></ellipse></g></g></svg><span data-v-bc17fac9>React</span></a></div>',1)),zl("div",MDe,[t[4]||(t[4]=zl("p",{class:"start-h2"},"THEMING",-1)),(Dl(),Ll(Tl,null,ps(n,(t=>zl("div",{key:t,class:zn(["start-item",{"start-item-active":t===e.theme}]),onClick:r=>e.$emit("changeTheme",{id:t,label:Ao(yOe)[t]})},Gn(Ao(yOe)[t]),11,DDe))),64))])]),t[6]||(t[6]=Wl('<p class="start-h1" data-v-bc17fac9>Features</p><ul class="start-ul" data-v-bc17fac9><li data-v-bc17fac9><p class="start-h3" data-v-bc17fac9>Customize</p> Bring your typography & color palettes, or use our themes! </li><li data-v-bc17fac9><p class="start-h3" data-v-bc17fac9>Testing</p> A deeply integrated Rest API Client (Also Free & Open-Source) </li><li data-v-bc17fac9><p class="start-h3" data-v-bc17fac9>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-bc17fac9><p class="start-h3" data-v-bc17fac9>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-bc17fac9><p class="start-h3" data-v-bc17fac9>OpenAPI & Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-bc17fac9><p class="start-h3" data-v-bc17fac9>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>',2))]))}}),[["__scopeId","data-v-bc17fac9"]]),NDe={class:"references-mobile-header t-doc__header"},IDe={class:"references-mobile-breadcrumbs"},LDe={class:"references-mobile-header-actions"},jDe=Cwe(Li({__name:"MobileHeader",props:{breadcrumb:{}},setup(e){const{isSidebarOpen:t}=uxe();return(e,r)=>(Dl(),Ll("div",NDe,[ql(Ao(Q6),{icon:Ao(t)?Ao(gW):Ao(ZV),label:Ao(t)?"Close Menu":"Open Menu",size:"md",onClick:r[0]||(r[0]=e=>t.value=!Ao(t))},null,8,["icon","label"]),zl("span",IDe,Gn(e.breadcrumb),1),zl("div",LDe,[fs(e.$slots,"actions",{},void 0,!0)])]))}}),[["__scopeId","data-v-ba06ff2c"]]);function BDe({originalDocument:e,dereferencedDocument:t,configuration:r}){const{originalDocument:n}=function({configuration:e}){const t=So("");return hl((()=>Co(e)),(async r=>{if(!r)return;const n=await(async({url:e,content:t},r,n)=>{if(e&&!t)try{return await rB(e,r,n)}catch(e){console.error("Failed to fetch OpenAPI document from URL:",e)}const a="function"==typeof t?t():t;return"string"==typeof a?a:"object"==typeof a?aB(a):void 0})(r,Co(e)?.proxyUrl,Co(e)?.fetch);"string"==typeof n&&(t.value=n.trim())}),{immediate:!0,deep:!0}),{originalDocument:t}}({configuration:r}),a=gc((()=>Co(e||n))),o=So(""),i=gc((()=>Co(t||s))),s=So({openapi:"3.1.0",info:{title:"",version:""},paths:{}});hl((()=>Co(a)),(async e=>{if(!e)return;const r=rOe(e);if(void 0===r)return void console.error("Failed to parse the OpenAPI document:",e);if(o.value="object"==typeof r&&(r.openapi||r.swagger)||"",t)return;const n=o.value.startsWith("3.1")?r:Tm(r),a=await qu("dereference",(async()=>{const{schema:e,errors:t}=await lOe(n);return t?.length&&console.warn("Please open an issue on https://github.com/scalar/scalar\n","Scalar OpenAPI Parser Warning:\n",t),void 0===e&&console.error("Failed to dereference the OpenAPI document",t),e}));s.value=a}),{immediate:!0});const l=EOe({useLocalStorage:!1,...Co(r)??zt.parse({})}),c=Lbe(l);return{originalDocument:a,originalOpenApiVersion:o,dereferencedDocument:i,workspaceStore:l,activeEntitiesStore:c}}function UDe(e){const t=[];return function e(r){r.forEach((r=>{!function(e,t){if("operation"in e){const r=function(e){try{const t=hR(e?.requestBody)?.content?.["application/json"];if(!t)throw new Error("Body not found");return function(e){const t=["Body"],r=hR(e?.schema),n=r?.properties;return n&&Object.keys(n).forEach((a=>{if(!e.schema)return;t.push(function(e,t){let r=e;const n=t.required?.includes(e);r+=n?" REQUIRED ":" optional ";const a=hR(t.properties?.[e]);return a&&(r+=a.type,a.description&&(r+=" "+a.description)),r}(a,r));const o=hR(n[a]);"object"===o.type&&Boolean(o.properties)&&o.properties&&Object.keys(o.properties).forEach((e=>{t.push(`${e} ${hR(o.properties?.[e])?.type}`)}))})),t}(t)}catch(e){return!1}}(e.operation)||function(e){const t={path:[],query:[],header:[],cookie:[],body:[],formData:[]},r=e.parameters??[];return r&&r.forEach((e=>{(e=>"object"==typeof e&&null!==e&&!("$ref"in e&&"string"==typeof e.$ref))(e)&&("object"==typeof e&&null!==e&&"$ref"in e||("path"===e.in?t.path.push(e):"query"===e.in?t.query.push(e):"header"===e.in?t.header.push(e):"cookie"===e.in?t.cookie.push(e):"body"===e.in?t.body.push(e):"formData"===e.in&&t.formData.push(e)))})),t}(e.operation),n="boolean"!=typeof r?r:null;t.push({type:"operation",title:e.title,href:`#${e.id}`,id:e.operation.operationId,description:e.operation.description||"",method:e.method,path:e.path,body:n||"",entry:e})}else if("webhook"in e)t.push({type:"webhook",title:e.title,href:`#${e.id}`,description:"Webhook",method:e.method,body:e.webhook.description||"",entry:e});else if("schema"in e){const r="description"in e.schema&&"string"==typeof e.schema.description?e.schema.description:"";t.push({type:"model",title:e.title,href:`#${e.id}`,description:"Model",body:r,entry:e})}else"tag"in e?t.push({title:e.title,href:`#${e.id}`,description:e.tag.description||"",type:"tag",body:"",entry:e}):"isGroup"in e?t.push({title:e.title,href:`#${e.id}`,description:"Tag Group",type:"tag",body:"",entry:e}):"isWebhooks"in e?t.push({type:"heading",title:"Webhooks",href:`#${e.id}`,description:"Heading",body:"",entry:e}):"Models"!==e.title?e.title&&t.push({type:"heading",title:e.title??"",description:"Description",href:`#${e.id}`,body:"",entry:e}):t.push({type:"heading",title:"Models",href:`#${e.id}`,description:"Heading",body:"",entry:e})}(r,t),"children"in r&&r.children&&e(r.children)}))}(e),t}const FDe={class:"sr-only"},QDe={class:"inline-flex items-center gap-1"},zDe={class:"sr-only"},qDe=Cwe(Li({__name:"SearchModal",props:{modalState:{},hideModels:{type:Boolean}},setup(e){const t=e,r=gB(),n=`${r}-search-result`,a=`${r}-search-instructions`,o=e=>`${r}${e}`,{items:i}=uxe(),{resetSearch:s,selectedIndex:l,selectedSearchResult:c,searchResultsWithPlaceholderResults:u,query:d}=function(e){const t=new ege([],{keys:[{name:"title",weight:.7},{name:"description",weight:.3},{name:"body",weight:.2},{name:"id",weight:.6},{name:"path",weight:.5},{name:"tag",weight:.4},{name:"method",weight:.3}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0}),r=So();hl(e,(()=>{const{entries:r}=Co(e),n=UDe(r);t.setCollection(n)}),{immediate:!0});const n=So("");function a(){n.value="",r.value=void 0,o.value=[]}hl(n,(e=>{e.length?i():a()}));const o=So([]),i=()=>{r.value=0,o.value=t.search(n.value,{limit:25})},s=gc((()=>0!==n.value.length?o.value:t._docs.slice(0,25).map(((e,t)=>({item:e,refIndex:t}))))),l=gc((()=>"number"==typeof r.value?s.value[r.value]:void 0));return{resetSearch:a,selectedIndex:r,selectedSearchResult:l,searchResultsWithPlaceholderResults:s,query:n}}(i),p={heading:QZ,model:nH,operation:NZ,tag:AZ,webhook:NZ},h={heading:"Heading",operation:"Operation",tag:"Tag",model:"Model",webhook:"Webhook"},f=So(null);hl((()=>t.modalState.open),(e=>{e&&s()}));const{setCollapsedSidebarItem:m}=uxe(),g=/#(tag\/[^/]*)/;function b(e){let r="models";const n=e.item.href.match(g);n?.length&&n.length>1&&(r=n[1]),m(r,!0);const a=e.item.href.replace("#","");if(document.getElementById(a))Gwe(a),t.modalState.hide();else{const e=Rwe.on((r=>{r.loaded===a&&(Gwe(a),e(),t.modalState.hide())}))}}hl(l,(e=>{if("number"!=typeof e)return;const t=u.value[e],r=o(t?.item.href);document.getElementById(r)?.scrollIntoView({behavior:"smooth",block:"nearest"})}));const v=e=>{const t="up"===e?-1:1,r=u.value.length;if("number"==typeof l.value){const e=(l.value+t+r)%r;l.value=e}else l.value=-1===t?r-1:0};function y(e){const t=new URL(window.location.href);return t.hash=e,t.toString()}function O(){if(!OB(l.value))return;const e=u.value;0!==e.length&&b(e[l.value])}return(e,t)=>(Dl(),jl(Ao(F7),{"aria-label":"Reference Search",state:e.modalState,variant:"search"},{default:ci((()=>[zl("div",{ref_key:"searchModalRef",ref:f,class:"ref-search-container",role:"search"},[ql(Ao(r7),{modelValue:Ao(d),"onUpdate:modelValue":t[0]||(t[0]=e=>ko(d)?d.value=e:null),"aria-activedescendant":Ao(c)?o(Ao(c).item.href):void 0,"aria-autocomplete":"list","aria-controls":n,"aria-describedby":a,role:"combobox",onBlur:t[1]||(t[1]=e=>l.value=void 0),onKeydown:[t[2]||(t[2]=Cu(Tu((e=>v("down")),["stop","prevent"]),["down"])),Cu(Tu(O,["stop","prevent"]),["enter"]),t[3]||(t[3]=Cu(Tu((e=>v("up")),["stop","prevent"]),["up"]))]},null,8,["modelValue","aria-activedescendant","onKeydown"])],512),ql(Ao(n7),{id:n,"aria-label":"Reference Search Results",class:"ref-search-results custom-scroll",noResults:!Ao(u).length},{query:ci((()=>[Zl(Gn(Ao(d)),1)])),default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(Ao(u),((e,r)=>(Dl(),jl(Ao(d7),{id:o(e.item.href),key:e.refIndex,href:y(e.item.href),icon:p[e.item.type],selected:Ao(l)===r,onClick:t=>b(e),onFocus:e=>l.value=r},hs({default:ci((()=>[zl("span",{class:zn({deprecated:"operation"in e.item.entry&&Ao(hB)(e.item.entry.operation)})},[zl("span",FDe,[Zl(Gn(h[e.item.type])+": ",1),"operation"in e.item.entry&&Ao(hB)(e.item.entry.operation)?(Dl(),Ll(Tl,{key:0},[Zl(" (Deprecated) ")],64)):Xl("",!0)]),Zl(" "+Gn(e.item.title)+" ",1),t[4]||(t[4]=zl("span",{class:"sr-only"},",",-1))],2)])),_:2},["webhook"!==e.item.type&&(e.item.method||e.item.path)&&e.item.path!==e.item.title?{name:"description",fn:ci((()=>[zl("span",QDe,["operation"===e.item.type?(Dl(),Ll(Tl,{key:0},[ql(hxe,{"aria-hidden":"true",method:e.item.method??"get"},null,8,["method"]),zl("span",zDe," HTTP Method: "+Gn(e.item.method??"get"),1)],64)):Xl("",!0),t[5]||(t[5]=zl("span",{class:"sr-only"},"Path: ",-1)),Zl(" "+Gn(e.item.path),1)])])),key:"0"}:e.item.description?{name:"description",fn:ci((()=>[t[6]||(t[6]=zl("span",{class:"sr-only"},"Description: ",-1)),Zl(" "+Gn(e.item.description),1)])),key:"1"}:void 0]),1032,["id","href","icon","selected","onClick","onFocus"])))),128))])),_:1},8,["noResults"]),zl("div",{id:a,class:"ref-search-meta"},t[7]||(t[7]=[zl("span",{"aria-hidden":"true",class:"contents"},[zl("span",null,"↑↓ Navigate"),zl("span",null,"⏎ Select")],-1),zl("span",{class:"sr-only"}," Press up arrow / down arrow to navigate, enter to select, type to filter results ",-1)]))])),_:1},8,["state"]))}}),[["__scopeId","data-v-d38e7ee7"]]),HDe=Li({__name:"SearchButton",props:{searchHotKey:{default:"k"},hideModels:{type:Boolean,default:!1}},setup(e){const t=So(),r=B7(),{client:n}=eDe(),a=t=>{(gY()?t.metaKey:t.ctrlKey)&&t.key===e.searchHotKey&&!n.value?.modalState.open&&(t.preventDefault(),t.stopPropagation(),r.open?r.hide():r.show())};function o(){r.show()}return hl((()=>r.open),((e,r)=>{!e&&r&&Ko((()=>{t.value?.$el.focus()}))})),Yi((()=>window.addEventListener("keydown",a))),es((()=>window.removeEventListener("keydown",a))),(e,n)=>(Dl(),Ll(Tl,null,[ql(Ao(y7),{ref_key:"button",ref:t,class:zn(["w-full",e.$attrs.class]),onClick:o},{shortcut:ci((()=>[Ao(gY)()?(Dl(),Ll(Tl,{key:0},[n[0]||(n[0]=zl("span",{class:"sr-only"},"Command",-1)),n[1]||(n[1]=zl("span",{"aria-hidden":"true"},"⌘",-1))],64)):(Dl(),Ll(Tl,{key:1},[n[2]||(n[2]=zl("span",{class:"sr-only"},"CTRL",-1)),n[3]||(n[3]=zl("span",{"aria-hidden":"true"},"⌃",-1))],64)),Zl(" "+Gn(e.searchHotKey),1)])),default:ci((()=>[n[4]||(n[4]=zl("span",{class:"sr-only"},"Open Search",-1)),n[5]||(n[5]=zl("span",{"aria-hidden":"true",class:"sidebar-search-placeholder"}," Search ",-1))])),_:1,__:[4,5]},8,["class"]),ql(qDe,{modalState:Ao(r),hideModels:e.hideModels},null,8,["modalState","hideModels"])],64))}}),VDe=["innerHTML"],ZDe={class:"references-header"},WDe=["aria-label"],XDe={class:"references-navigation-list"},GDe={key:0},YDe={key:1,class:"scalar-api-references-standalone-search"},KDe={key:1},JDe={class:"references-editor"},eRe={class:"references-editor-textarea"},tRe=["aria-label"],rRe={key:0,class:"w-64 *:!p-0 empty:hidden"},nRe={key:0,class:"references-footer"},aRe=Li({inheritAttrs:!1,__name:"ApiReferenceLayout",props:{configuration:{},dereferencedDocument:{},originalDocument:{},isDark:{type:Boolean},rawSpec:{},store:{}},emits:["changeTheme","updateContent","loadSwaggerFile","linkSwaggerFile","toggleDarkMode"],setup(e){const t=gc((()=>zt.parse(e.configuration))),{initializeToasts:r,toast:n}=JW();r((e=>n(e)));const{dereferencedDocument:a,workspaceStore:o,activeEntitiesStore:i}=BDe({configuration:t,dereferencedDocument:e.dereferencedDocument,originalDocument:e.originalDocument});Us(TOe,o),Us(jbe,i);const s=lU("(min-width: 1150px)"),l=So("100dvh"),c=So(null);cU(c,(e=>{l.value=e[0]?e[0].contentRect.height+"px":"100dvh"}));const u=gc(vOe),d=zwe(t),{isSidebarOpen:p,setCollapsedSidebarItem:h,scrollToOperation:f,items:m}=uxe(a,{...d,config:t}),{getReferenceId:g,getPathRoutingId:b,getSectionId:v,getTagId:y,hash:O,isIntersectionEnabled:w,updateHash:x,replaceUrlState:k}=d;if(t.value.redirect&&"undefined"!=typeof window){const e=t.value.redirect((t.value.pathRouting?window.location.pathname:"")+window.location.hash);e&&history.replaceState({},"",e)}Gi((()=>{x(),H7()}));const S=async e=>{w.value=!1,x(),e?f(e):c.value?.scrollTo(0,0),await Awe(100),w.value=!0},_=So(0);Yi((()=>{history.scrollRestoration="manual";const e=c.value?.parentElement?.getBoundingClientRect(),r=c.value?.getBoundingClientRect();if(e&&r){const t=r.top-e.top;_.value=t<2?0:t}window.onhashchange=()=>{S(g())},window.onpopstate=()=>t.value.pathRouting&&S(b(window.location.pathname)),window.addEventListener("scroll",T,{passive:!0})}));const E=gc((()=>s.value||!t.value.isEditable)),T=GB((()=>{window.scrollY<50&&Nwe.value&&k("")})),A=So(!1);hl(a,(e=>{if(O.value){const e=v(O.value);e&&h(e,!0)}else if(e.tags?.length){const t=e.tags?.[0];t&&h(y(t),!0)}else{const e=m.value.entries.find((e=>"tag"in e));e&&h(e.id,!0)}A.value=!0}));const C=gc((()=>({breadcrumb:m.value?.titles.get(O.value)??""})));ts((()=>{window.removeEventListener("scroll",T)})),Us(mU,(()=>ji())),Us(tve,"modal"),Us(Lwe,t),Us(ske,ike({plugins:t.value.plugins}));const P=gc((()=>`<style>\n ${((e,t)=>{const{fonts:r=!0,layer:n="scalar-theme"}=t??{},a=[OOe[e||"default"]?.theme??bOe,r?'/* Inter (--scalar-font) */\n/* cyrillic-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2");\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2");\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2");\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-greek.woff2) format("woff2");\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2");\n unicode-range:\n U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2");\n unicode-range:\n 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,\n U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-latin.woff2) format("woff2");\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* keyboard symbols (←↑→↓↵⇧⇪⌘⌥) */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-symbols.woff2) format("woff2");\n unicode-range: U+2190-2193, U+21B5, U+21E7, U+21EA, U+2318, U+2325;\n}\n/* JetBrains Mono (--scalar-font-code) */\n/* cyrillic-ext */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2");\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2");\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-greek.woff2) format("woff2");\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2");\n unicode-range:\n U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2");\n unicode-range:\n 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,\n U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-latin.woff2) format("woff2");\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n':""].join("");return n?`@layer ${n} {\n${a}}`:a})(t.value.theme,{fonts:t.value.withDefaultFonts})}</style>`)),{mediaQueries:$}=iwe();return hl($.lg,((e,t)=>{t&&!e&&(p.value=!1)})),hl(O,((e,t)=>{e&&e!==t&&(p.value=!1)})),((e,t,r,n)=>{const{servers:a,serverMutators:o,requestMutators:i,collectionMutators:s,securitySchemeMutators:l}=t,{activeCollection:c,activeServer:u}=r;ROe(n,"scalar-replace-servers",(({detail:{servers:e,options:t}})=>{if(!0===t?.disableOldStoreUpdate)return;const r=c.value;if(!r)return console.warn("No active collection found");r.servers.forEach((e=>{o.delete(e,r.uid)})),e.forEach((e=>{const t=Object.values(a).find((t=>t.url===e.url));t&&o.add(t,r.uid)}));const n=Object.values(a).find((t=>t.url===e.at(-1)?.url));s.edit(r.uid,"selectedServerUid",n?.uid)})),ROe(n,"scalar-update-selected-server",(({detail:{value:e,options:t}})=>{if(!0===t?.disableOldStoreUpdate)return;const r=c.value;if(!r)return;const n=Object.values(a).find((t=>t.url===e));n&&s.edit(r.uid,"selectedServerUid",n.uid)})),ROe(n,"store-update-selected-server-properties",(({detail:{key:e,value:t,options:r}})=>{if(r?.disableOldStoreUpdate)return;const n=u.value;n&&o.edit(n.uid,e,t)})),ROe(n,"scalar-update-selected-server-variables",(({detail:{key:t,value:r,options:n}})=>{if(!0===n?.disableOldStoreUpdate)return;const a=u.value;if(!a||a.url!==e.workspace.activeDocument?.["x-scalar-active-server"])return;const i=a.variables||{};i[t]={...i[t],default:r},o.edit(a.uid,"variables",i)})),ROe(n,"scalar-select-security-schemes",(({detail:{uids:e}})=>{const t=c.value;if(!t)return console.warn("No active collection found");s.edit(t.uid,"selectedSecuritySchemeUids",e)})),ROe(n,"scalar-select-operation-security-schemes",(({detail:{operationUid:e,uids:t}})=>{i.edit(e,"selectedSecuritySchemeUids",t)})),ROe(n,"scalar-edit-security-scheme",(({detail:{uid:e,path:t,value:r}})=>{l.edit(e,t,r)})),ROe(n,"scalar-add-auth-option",(({detail:{payload:e}})=>{const t=c.value;if(!t)return console.warn("No active collection found");l.add(e,t.uid)})),ROe(n,"scalar-delete-security-scheme",(({detail:{uid:e}})=>{if(!c.value)return console.warn("No active collection found");l.delete(e)}))})(e.store,o,i,c),(e,r)=>(Dl(),Ll(Tl,null,[zl("div",{innerHTML:P.value},null,8,VDe),zl("div",{ref_key:"documentEl",ref:c,class:zn(["scalar-app scalar-api-reference references-layout",[{"scalar-api-references-standalone-mobile":t.value.showSidebar??!0,"scalar-scrollbars-obtrusive":u.value,"references-editable":t.value.isEditable,"references-sidebar":t.value.showSidebar,"references-sidebar-mobile-open":Ao(p),"references-classic":"classic"===t.value.layout},e.$attrs.class]]),style:jn({"--scalar-y-offset":`var(--scalar-custom-header-height, ${_.value}px)`})},[zl("div",ZDe,["modern"===t.value.layout&&(t.value.showSidebar??1)?(Dl(),jl(jDe,{key:0,breadcrumb:C.value.breadcrumb},null,8,["breadcrumb"])):Xl("",!0),fs(e.$slots,"header",qn(Hl(C.value)),void 0,!0)]),t.value.showSidebar?(Dl(),Ll("aside",{key:0,"aria-label":`Sidebar for ${Ao(a)?.info?.title}`,class:"references-navigation t-doc__sidebar"},[zl("div",XDe,[ql(Ao(uY),null,{default:ci((()=>[ql(Ao(Axe),{title:Ao(a)?.info?.title??"The OpenAPI Schema"},{"sidebar-start":ci((()=>[e.$slots["document-selector"]?(Dl(),Ll("div",GDe,[fs(e.$slots,"document-selector",{},void 0,!0)])):Xl("",!0),t.value.hideSearch?Xl("",!0):(Dl(),Ll("div",YDe,[ql(Ao(HDe),{hideModels:t.value?.hideModels,searchHotKey:t.value?.searchHotKey},null,8,["hideModels","searchHotKey"])])),fs(e.$slots,"sidebar-start",qn(Hl(C.value)),void 0,!0)])),"sidebar-end":ci((()=>[fs(e.$slots,"sidebar-end",qn(Hl(C.value)),(()=>[ql(Ao(f7),{class:"darklight-reference"},{toggle:ci((()=>[t.value.hideDarkModeToggle?(Dl(),Ll("span",KDe)):(Dl(),jl(Ao(dX),{key:0,modelValue:e.isDark,"onUpdate:modelValue":r[0]||(r[0]=t=>e.$emit("toggleDarkMode"))},null,8,["modelValue"]))])),default:ci((()=>[t.value.hideClientButton?Xl("",!0):(Dl(),jl(Ao(X7),{key:0,buttonSource:"sidebar",integration:t.value._integration,isDevelopment:!1,url:t.value.url},null,8,["integration","url"]))])),_:1})]),!0)])),_:3},8,["title"])])),_:3})])],8,WDe)):Xl("",!0),ui(zl("div",JDe,[zl("div",eRe,[fs(e.$slots,"editor",qn(Hl(C.value)),void 0,!0)])],512),[[qc,t.value.isEditable]]),E.value?(Dl(),Ll(Tl,{key:1},[zl("main",{"aria-label":`Open API Documentation for ${Ao(a)?.info?.title}`,class:"references-rendered"},[ql(Ao(TDe),{config:t.value,store:e.store},hs({start:ci((()=>[fs(e.$slots,"content-start",qn(Hl(C.value)),void 0,!0),"classic"===t.value.layout?(Dl(),jl(Dwe,{key:0},{"dark-mode-toggle":ci((()=>[t.value.hideDarkModeToggle?Xl("",!0):(Dl(),jl(Ao(cX),{key:0,class:"text-c-2 hover:text-c-1",mode:e.isDark?"dark":"light",style:{transform:"scale(1.4)"},variant:"icon",onClick:r[1]||(r[1]=t=>e.$emit("toggleDarkMode"))},null,8,["mode"]))])),default:ci((()=>[e.$slots["document-selector"]?(Dl(),Ll("div",rRe,[fs(e.$slots,"document-selector",{},void 0,!0)])):Xl("",!0),t.value.hideSearch?Xl("",!0):(Dl(),jl(Ao(HDe),{key:1,class:"t-doc__sidebar max-w-64",hideModels:t.value?.hideModels,searchHotKey:t.value.searchHotKey},null,8,["hideModels","searchHotKey"]))])),_:3})):Xl("",!0)])),end:ci((()=>[fs(e.$slots,"content-end",qn(Hl(C.value)),void 0,!0)])),_:2},[t.value?.isEditable?{name:"empty-state",fn:ci((()=>[ql(RDe,{theme:t.value?.theme||"default",onChangeTheme:r[2]||(r[2]=t=>e.$emit("changeTheme",t)),onLinkSwaggerFile:r[3]||(r[3]=t=>e.$emit("linkSwaggerFile")),onLoadSwaggerFile:r[4]||(r[4]=t=>e.$emit("loadSwaggerFile")),onUpdateContent:r[5]||(r[5]=t=>e.$emit("updateContent",t))},null,8,["theme"])])),key:"0"}:void 0]),1032,["config","store"])],8,tRe),e.$slots.footer?(Dl(),Ll("div",nRe,[fs(e.$slots,"footer",qn(Hl(C.value)),void 0,!0)])):Xl("",!0)],64)):Xl("",!0),ql(Ao(tDe),{configuration:t.value,dereferencedDocument:Ao(a)},null,8,["configuration","dereferencedDocument"])],6),ql(Ao(eX))],64))}}),oRe=Cwe(aRe,[["__scopeId","data-v-3cb06588"]]),iRe={key:0,class:"document-selector -mb-1 p-3 pb-0"},sRe={class:"group/dropdown-label hover:bg-b-2 text-c-2 flex h-8 w-full cursor-pointer items-center rounded border px-2 py-1.75",type:"button"},lRe={class:"text-c-1 overflow-hidden text-base text-ellipsis"},cRe=Li({__name:"DocumentSelector",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=t,n=gc((()=>e.options&&e.options?.length>1)),a=gc((()=>e.options?.map(((e,t)=>({id:String(t),label:e.title||e.slug||`API #${t+1}`})))||[])),o=gc({get:()=>a.value.find((({id:t})=>t===String(e.modelValue))),set:e=>r("update:modelValue",Number(e.id))});return(e,t)=>n.value?(Dl(),Ll("div",iRe,[ql(Ao(H6),{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),options:a.value,resize:""},{default:ci((()=>[zl("button",sRe,[ql(Ao(SH),{class:"mr-1 size-4 text-current"}),zl("span",lRe,Gn(o.value?.label||"Select API"),1)])])),_:1},8,["modelValue","options"])])):Xl("",!0)}}),uRe=new sR,dRe=({configuration:e,initialIndex:t,isIntersectionEnabled:r,hash:n,hashPrefix:a})=>{const o=gc((()=>(e=>e?(Array.isArray(e)?e:[e]).flatMap((e=>{if(qt(e)){const{sources:t,...r}=e;return t?.map((e=>({...r,...e})))??[]}return[e]})).map(((e,t)=>e&&((e,t=0)=>{const r={...e,...e.spec??{}};if(r?.url||r?.content)return uRe.reset(),r.title?{...r,slug:r.slug||uRe.slug(r.title),title:r.title}:r.slug?{...r,title:r.slug}:{...r,slug:`api-${t+1}`,title:`API #${t+1}`}})(e,t))).filter(OB):[])(e.value))),i=So((()=>{if("undefined"==typeof window)return"number"==typeof t?t:0;const e=new URL(window.location.href).searchParams.get("api");if(e){const t=o.value.findIndex((t=>t.slug===e));if(-1!==t)return t;const r=Number.parseInt(e,10);if(!isNaN(r)&&r>=0&&r<o.value.length)return r}const r=o.value.findIndex((e=>"default"in e&&!0===e.default));return-1!==r?r:"number"==typeof t?t:0})()),s=gc((()=>e.value&&qt(e.value)?{...e.value,...e.value?.sources?.[i.value],...o.value[i.value]}:{...[e.value].flat()[i.value]??{},...o.value[i.value]}));return hl(i,(e=>{if("undefined"==typeof window)return;if(1===o.value.length)return;const t=new URL(window.location.href),i=o.value[e];s.value.pathRouting&&(t.pathname=s.value.pathRouting?.basePath??"");const l=i?.slug??e.toString();t.searchParams.set("api",l),t.hash="",window.history.replaceState({},"",t.toString()),n.value="",a.value="",r.value=!1,"undefined"!=typeof window&&window.scrollTo({top:0,behavior:"instant"}),s.value.onDocumentSelect?.()}),{flush:"sync"}),{selectedConfiguration:s,availableDocuments:o,selectedDocumentIndex:i,isIntersectionEnabled:r,hash:n,hashPrefix:a}},pRe=e=>({"x-scalar-reference-config":{title:e.title,slug:e.slug,features:{showModels:!e.hideModels,expandAllTagSections:e.defaultOpenAllTags,persistAuthenticationState:e.persistAuth,showDarkModeToggle:!e.hideDarkModeToggle,showDownload:!e.hideDownloadButton,showSearch:!e.hideSearch,showSidebar:e.showSidebar,showTestRequestButton:!e.hideTestRequestButton},appearance:{css:e.customCss,favicon:e.favicon,forceColorMode:e.forceDarkModeState,initialColorMode:e.darkMode?"dark":void 0,layout:e.layout,loadDefaultFonts:e.withDefaultFonts,theme:e.theme},routing:{basePath:e.pathRouting?.basePath},settings:{proxyUrl:e.proxyUrl,searchKey:e.searchHotKey,baseServerUrl:e.baseServerURL,servers:e.servers},meta:e.metaData,tagSort:e.tagsSorter,operationsSorter:e.operationsSorter,generateHeadingSlug:e.generateHeadingSlug,generateModelSlug:e.generateModelSlug,generateOperationSlug:e.generateOperationSlug,generateTagSlug:e.generateTagSlug,generateWebhookSlug:e.generateWebhookSlug}}),hRe=e=>{if(e)return"function"==typeof e?hRe(e()):"string"==typeof e?(e=>{if("string"!=typeof e)return e;const t=Wj.parseSafe(e,null);if(t)return t;if(e.length>0&&["{","["].includes(e[0]??""))throw Error("Invalid JSON or YAML");return Zj.parseSafe(e,(e=>{throw Error(e)}))})(e):e||void 0},fRe=Li({__name:"ApiReferenceWorkspace",props:{configuration:{},store:{}},emits:["updateContent"],setup(e){const t=e,{availableDocuments:r,selectedConfiguration:n,selectedDocumentIndex:a,isIntersectionEnabled:o,hash:i,hashPrefix:s}=dRe({configuration:Io(t,"configuration"),isIntersectionEnabled:So(!1),hash:So(""),hashPrefix:So("")}),l=(e,t)=>fetch(eB(n.value.proxyUrl,e.toString()),t);Us(Bwe,{isIntersectionEnabled:o,hash:i,hashPrefix:s});const c=Ui("root"),u=t.store;Gi((()=>{const e=Hj().getItem(Qj);oAe(e)&&!u.workspace["x-scalar-default-client"]&&u.update("x-scalar-default-client",e)})),hl([()=>n.value.slug,()=>n.value.url,()=>n.value.content],(([e,t,r])=>{(e||t||r)&&(async e=>{const t=hRe(e.content),r=(({name:e,url:t,document:r}={})=>{if(e)return e;if(t)return t;if(r?.info){const e=r.info;if(e.title)return e.title}return"default"})({name:e.slug||e.title,url:e.url,document:t});if(!u.workspace.documents[r])return t?await u.addDocument({name:r,document:t,config:pRe(e)}):e.url?await u.addDocument({name:e.slug??"default",url:Vj(e.url,{basePath:n.value.pathRouting?.basePath}),fetch:e.fetch??l,config:pRe(e)}):void 0;t&&(o.value=!1,u.replaceDocument(r,t),u.update("x-scalar-active-document",r),setTimeout((()=>{o.value=!0}),300))})(n.value)}),{immediate:!0}),((e,t)=>{const r=function(e){const t=t=>{const r=((e,t)=>{const r=e.workspace.documents[t];if(r)return r})(e,t);return r&&(r.servers||(r.servers=[]),r.components||(r.components={}),r.components.securitySchemes||(r.components.securitySchemes={})),{requestExampleMutators:Nj(r),requestMutators:Rj(r),securitySchemeMutators:Ij(r?.components?.securitySchemes),environmentMutators:Dj(r),cookieMutators:Mj(r),serverMutators:Lj(r?.servers)}};return{workspace:()=>(()=>{const t=e.workspace;return t["x-scalar-client-config-servers"]||(t["x-scalar-client-config-servers"]=[]),e.workspace["x-scalar-client-config-security-schemes"]||(e.workspace["x-scalar-client-config-security-schemes"]={}),{environmentMutators:Dj(e.workspace),cookieMutators:Mj(e.workspace),serverMutators:Lj(e.workspace["x-scalar-client-config-servers"]),securitySchemeMutators:Ij(e.workspace["x-scalar-client-config-security-schemes"])}})(),active:()=>t(e.workspace["x-scalar-active-document"]??Object.keys(e.workspace.documents)[0]??""),doc:e=>t(e)}}(e);ROe(t,"scalar-update-dark-mode",(t=>{e.update("x-scalar-dark-mode",t.detail.value)})),ROe(t,"scalar-update-active-document",(t=>{e.update("x-scalar-active-document",t.detail.value)})),ROe(t,"scalar-update-selected-client",(t=>{e.update("x-scalar-default-client",t.detail),Hj().setItem(Qj,t.detail)})),ROe(t,"scalar-replace-servers",(t=>{const r=e.workspace.activeDocument;r&&(r.servers=t.detail.servers,r["x-scalar-active-server"]=t.detail.servers.at(-1)?.url)})),ROe(t,"scalar-update-selected-server",(t=>{const r=e.workspace.activeDocument;r&&(r["x-scalar-active-server"]=t.detail.value)})),ROe(t,"store-update-selected-server-properties",(t=>{const r=e.workspace.activeDocument;if(!r)return;const n=r.servers?.find((e=>e.url===r["x-scalar-active-server"]));n&&(n[t.detail.key]=t.detail.value)})),ROe(t,"scalar-update-selected-server-variables",(t=>{const r=e.workspace.activeDocument;if(!r)return;const n=r.servers?.find((e=>e.url===r["x-scalar-active-server"]));n&&n.variables?.[t.detail.key]&&(n.variables[t.detail.key].default=t.detail.value)})),ROe(t,"scalar-add-server",(t=>{r.active().serverMutators.addServer(t.detail.server);const n=e.workspace.activeDocument;n&&(n["x-scalar-active-server"]=t.detail.server.url)})),ROe(t,"scalar-delete-server",(e=>{r.active().serverMutators.deleteServer(e.detail.url)}))})(u,c),hl((()=>n.value.defaultHttpClient),(e=>{if(e){const{targetKey:t,clientKey:r}=e,n=`${t}/${r}`;oAe(n)&&u.update("x-scalar-default-client",n)}}),{immediate:!0});const{toggleColorMode:d,isDarkMode:p}=LB({initialColorMode:(h=n.value.darkMode,!0===h?"dark":!1===h?"light":void 0),overrideColorMode:n.value.forceDarkModeState});var h;return hl((()=>n.value.darkMode),(e=>u.update("x-scalar-dark-mode",!!e))),hl((()=>p.value),(e=>u.update("x-scalar-dark-mode",e)),{immediate:!0}),hl((()=>a.value),(e=>u.update("x-scalar-active-document",r.value[e]?.slug)),{immediate:!0}),n.value.metaData&&function(e){const{title:t,titleTemplate:r,...n}=e;Qu({title:t,titleTemplate:r,_flatMeta:n},{transform(e){const t=pr({...e._flatMeta});return delete e._flatMeta,{...e,meta:t}}})}(n.value.metaData),function(e=null,t={}){const{baseUrl:r="",rel:n="icon",document:a=eU}=t,o=function(...e){if(1!==e.length)return Io(...e);const t=e[0];return"function"==typeof t?ho(Do((()=>({get:t,set:zB})))):So(t)}(e);hl(o,((e,t)=>{"string"==typeof e&&e!==t&&(e=>{const t=null==a?void 0:a.head.querySelectorAll(`link[rel*="${n}"]`);if(t&&0!==t.length)null==t||t.forEach((t=>t.href=`${r}${e}`));else{const t=null==a?void 0:a.createElement("link");t&&(t.rel=n,t.href=`${r}${e}`,t.type=`image/${e.split(".").pop()}`,null==a||a.head.append(t))}})(e)}),{immediate:!0})}(gc((()=>n.value.favicon))),(e,t)=>(Dl(),Ll("div",{ref_key:"root",ref:c},[Ao(n)?.customCss?(Dl(),jl(cs("style"),{key:0},{default:ci((()=>[Zl(Gn(Ao(n).customCss),1)])),_:1})):Xl("",!0),ql(oRe,{configuration:Ao(n),isDark:!!Ao(u).workspace["x-scalar-dark-mode"],store:Ao(u),onToggleDarkMode:t[1]||(t[1]=()=>Ao(d)()),onUpdateContent:t[2]||(t[2]=t=>e.$emit("updateContent",t))},{"document-selector":ci((()=>[ql(Ao(cRe),{modelValue:Ao(a),"onUpdate:modelValue":t[0]||(t[0]=e=>ko(a)?a.value=e:null),options:Ao(r)},null,8,["modelValue","options"])])),"content-start":ci((()=>[fs(e.$slots,"content-start")])),"content-end":ci((()=>[fs(e.$slots,"content-end")])),"sidebar-start":ci((()=>[fs(e.$slots,"sidebar-start")])),"sidebar-end":ci((()=>[fs(e.$slots,"sidebar-end")])),footer:ci((()=>[fs(e.$slots,"footer")])),_:3},8,["configuration","isDark","store"])],512))}}),mRe=Li({__name:"ApiReference",props:{configuration:{}},setup(e){const t=Uj();return"undefined"!=typeof window&&(window.dataDumpWorkspace=()=>t),(e,r)=>(Dl(),jl(fRe,{configuration:e.configuration,store:Ao(t)},{"content-start":ci((()=>[fs(e.$slots,"content-start")])),"content-end":ci((()=>[fs(e.$slots,"content-end")])),"sidebar-start":ci((()=>[fs(e.$slots,"sidebar-start")])),"sidebar-end":ci((()=>[fs(e.$slots,"sidebar-end")])),footer:ci((()=>[fs(e.$slots,"footer")])),_:3},8,["configuration","store"]))}}),gRe=e=>e.getElementById("api-reference"),bRe=(e,t)=>{const r="scalar-refs",n=uo({configuration:t??e??{}});let a=Ru((()=>bc(mRe,n)));if(a.use(Bu()),a.config.idPrefix=r,t){const t="string"==typeof e?document.querySelector(e):e;t?a.mount(t):console.error("Could not find a mount point for API References:",e)}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;const t="string"==typeof e?document.querySelector(e):e;t&&(t&&!document.body.contains(t)&&document.body.appendChild(t),a.unmount(),a=Ru((()=>bc(mRe,n))),a.use(Bu()),a.config.idPrefix=r,a.mount(t))}),!1);const o=()=>{delete n.configuration,a.unmount()};return document.addEventListener("scalar:destroy-references",(()=>{console.warn("scalar:destroy-references event has been deprecated, please use scalarInstance.destroy instead."),o()}),!1),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)}),!1),{app:a,getConfiguration:()=>n.configuration??{},updateConfiguration:e=>{n.configuration=e},destroy:o}};console.info("@scalar/api-reference@1.35.7"),"object"==typeof window&&(window.Scalar={createApiReference:bRe}),function(e,t){const r=e.querySelector("[data-spec]"),n=e.querySelector("[data-spec-url]");t?.darkMode?e.body?.classList.add("dark-mode"):e.body?.classList.add("light-mode");const a=((e,t)=>{let r=null;const n=gRe(e);return n?(r=e.createElement("div"),n?.parentNode?.insertBefore(r,n)):t&&(r=t),r})(e,r||n);a&&bRe(a,t)}(document,function(e){const t=e.querySelector("[data-spec]"),r=e.querySelector("[data-spec-url]"),n=e.querySelector("#api-reference[data-configuration]"),a=()=>{if(n){const e=n.getAttribute("data-configuration");if(e)return{_integration:"html",...JSON.parse(e.split(""").join('"'))}}return zt.parse({_integration:"html"})},o=()=>{if(a().url)return a().url;if(a().spec?.url)return a().spec?.url;const t=gRe(e);if(t){const e=t.getAttribute("data-url")?.trim();if(e)return e}if(r){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.');const e=r.getAttribute("data-spec-url");if(e)return e}},i=()=>{const r=gRe(e);if(r){const e=r.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.');const e=t.getAttribute("data-spec")?.trim();if(e)return e}},s=()=>{const t=gRe(e);if(t){const e=t.getAttribute("data-proxy-url");if(e)return e.trim()}};if(r||t||gRe(e)){const e=i()?{content:i()}:{url:o()};return zt.parse({_integration:"html",proxyUrl:s(),...a(),...e})}return zt.parse({_integration:"html"})}(document));const vRe={parse(e){try{return{error:!1,data:JSON.parse(e)}}catch(e){return{error:!0,message:e.message?String(e.message):"Unknown Error"}}}},yRe=["aria-pressed"],ORe={class:"sr-only"},wRe={class:"size-4",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},xRe={"clip-path":"url(#mask)"},kRe=Li({__name:"SidebarToggle",setup(e){const{isSidebarOpen:t,toggleSidebarOpen:r}=lwe();return(e,n)=>(Dl(),Ll("button",{"aria-pressed":Ao(t),class:"scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 rounded-lg p-2",type:"button",onClick:n[0]||(n[0]=(...e)=>Ao(r)&&Ao(r)(...e))},[zl("span",ORe,Gn(Ao(t)?"Hide":"Show")+" sidebar",1),(Dl(),Ll("svg",wRe,[n[1]||(n[1]=zl("defs",null,[zl("clipPath",{id:"mask"},[zl("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)),zl("g",xRe,[zl("path",{class:zn(["transition-transform duration-300",Ao(t)?"translate-x-0":"-translate-x-1/2"]),d:"M1 3.2h8v17.5H1z",fill:"currentColor"},null,2)]),n[2]||(n[2]=zl("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))]))],8,yRe))}}),SRe={"page-view":_t.object({to:_t.string(),from:_t.string(),hostname:_t.string()}),"client-send-request":_t.undefined()},_Re=Object.keys(SRe);_t.enum(_Re);const ERe={capture:async function(e,...[t]){if(!_Re.includes(e))throw new Error("[Analytics]: Invalid event submission");await fetch("https://api.scalar.com/analytics/send",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({event:e,data:t})})}};const TRe=()=>{const{toast:e}=JW(),t=Bbe(),r=AOe(),{activeCollection:n,activeWorkspace:a}=t,{collectionMutators:o}=r,i=t=>e(`[useOpenApiWatcher] Changes to the ${t} were not applied`,"error"),s=e=>{"info"===e.path[0]||"security"===e.path[0]?((e,{activeCollection:t},{collectionMutators:r})=>{if(!t.value)return!1;if("number"!=typeof e.path[e.path.length-1]||"CREATE"!==e.type&&"REMOVE"!==e.type){const n=a_e(Yve,e);if(!n)return!1;r.edit(t.value.uid,n.path,n.value)}else{const n=a_e(Yve,{...e,path:e.path});if(!n)return!1;const a=[...Tye(t.value,n.pathMinusOne)];"CREATE"===e.type?a.push(n.value):"REMOVE"===e.type&&a.pop(),r.edit(t.value.uid,n.pathMinusOne,a)}return!0})(e,t,r)||i("collection"):"components"===e.path[0]&&"securitySchemes"===e.path[1]?i_e(e,t,r)||i("securitySchemes"):"servers"===e.path[0]?((e,{activeCollection:t},{servers:r,serverMutators:n})=>{if(!t.value)return!1;const[,a,...o]=e.path;if(o?.length){const i=t.value.servers[a];if(!i)return!1;const s=r[i],l=a_e(yB,{...e,path:o});if(!s||!l)return!1;const c="REMOVE"===e.type&&"variables"===o[o.length-1]?{}:l.value;n.edit(i,l.path,c)}else if("REMOVE"===e.type){if(!t.value.servers[a])return!1;n.delete(t.value.servers[a],t.value.uid)}else if("CREATE"===e.type){const r=oB(e.value,yB,!1);if(!r)return!1;n.add(r,t.value.uid)}return!0})(e,t,r)||i("servers"):"tags"===e.path[0]?((e,{activeCollection:t},{tags:r,tagMutators:n})=>{if(!t.value)return!1;const[,a,...o]=e.path;if(o?.length){const i=t.value.tags[a];if(!i)return!1;const s=r[i],l=a_e(Wve,{...e,path:o});if(!s||!l)return!1;n.edit(i,l.path,l.value)}else if("REMOVE"===e.type){const e=t.value.tags[a];if(!e)return!1;const o=r[e];if(!o)return!1;n.delete(o,t.value.uid)}else if("CREATE"===e.type){const r=oB(e.value,Wve,!1);if(!r)return!1;n.add(r,t.value.uid)}return!0})(e,t,r)||i("tags"):"paths"===e.path[0]&&(((e,{activeCollection:t},r)=>{if(!t.value)return!1;const{requests:n,requestMutators:a}=r,[,o,i,...s]=e.path;if("path"===o&&"CHANGE"===e.type)t.value.requests.forEach((t=>{n[t]?.path===e.oldValue&&a.edit(t,"path",e.value)}));else if("method"===i&&"CHANGE"===e.type)t.value.requests.forEach((t=>{n[t]?.method===e.oldValue&&n[t]?.path===o&&a.edit(t,"method",e.value)}));else if("CHANGE"!==e.type&&"number"==typeof s.at(-1)){const s=r_e(t.value.requests,n,(e=>e.path===o&&e.method===i)),l=a_e(_ye,{...e,path:e.path.slice(3)});if(!s||!l)return!1;const c=[...Tye(s,l.pathMinusOne)];"CREATE"===e.type?c.push(l.value):"REMOVE"===e.type&&c.pop(),a.edit(s.uid,l.pathMinusOne,c),("parameters"===e.path[3]||"requestBody"===e.path[3])&&o_e(s.uid,r)}else if("CREATE"===e.type){const[r]=Object.entries(e.value??{}),[n,s]=r??[],l=i?e.value:s,c=i||n,u=yB.array().parse(l.servers??[]),{security:d,...p}=l,h={...p,method:uR(c)?c:"get",path:o,parameters:l.parameters??[],servers:u.map((e=>e.uid))};d?.length&&(h.security=d.map((e=>{if(Object.keys(e).length){const[t]=Object.keys(e);return t?{[t]:e[t]}:e}return e})));const f=oB(h,_ye,!1);if(!f)return!1;a.add(f,t.value.uid)}else if("REMOVE"===e.type){const e=r_e(t.value.requests,n,(e=>e.path===o&&e.method===i));if(!e)return!1;a.delete(e,t.value.uid)}else if("CHANGE"===e.type){const l=r_e(t.value.requests,n,(e=>e.path===o&&e.method===i)),c=a_e(_ye,{...e,path:s});if(!l||!c)return!1;a.edit(l.uid,c.path,c.value),("parameters"===e.path[3]||"requestBody"===e.path[3])&&o_e(l.uid,r)}return!0})(e,t,r)||i("requests"))},{pause:l,resume:c}=function(e,t,r={}){const{immediate:n=!0,immediateCallback:a=!1}=r,{start:o}=function(e,t,r={}){const{immediate:n=!0,immediateCallback:a=!1}=r,o=_o(!1);let i;function s(){i&&(clearTimeout(i),i=void 0)}function l(){o.value=!1,s()}function c(...r){a&&e(),s(),o.value=!0,i=setTimeout((()=>{o.value=!1,i=void 0,e(...r)}),Co(t))}return n&&(o.value=!0,UB&&c()),jB(l),{isPending:fo(o),start:c,stop:l}}((async function(){i.value&&(await e(),o())}),t,{immediate:n}),i=_o(!1);function s(){i.value||(i.value=!0,a&&e(),o())}function l(){i.value=!1}return n&&UB&&s(),jB(l),{isActive:i,pause:l,resume:s}}((async()=>{const t=n.value?.documentUrl;if(!t)return;const r=fOe[t];try{const e=await rB(t,a.value?.proxyUrl,void 0,!1),i=EB(e);if(o.edit(n.value.uid,"watchModeStatus","WATCHING"),r?.hash)if(r.hash&&r.hash!==i){const{schema:n}=await cOe(e),a=e_e(r.schema,n),o=t_e(a);try{o.forEach(s),fOe[t]={hash:i,schema:n}}catch(e){console.error("[useOpenApiWatcher] Error:",e)}}else console.log("[useOpenApiWatcher] No changes detected yet…");else{const{schema:r}=await cOe(e);r&&(fOe[t]={hash:i,schema:r})}}catch(t){console.error("[useOpenApiWatcher] Error:",t),console.info("[useOpenApiWatcher] Pausing watcher for 60 seconds"),l(),o.edit(n.value.uid,"watchModeStatus","ERROR"),e("[useOpenApiWatcher] Unable to fetch the spec file, paused the watcher for 60 seconds","error"),setTimeout((()=>{console.info("[useOpenApiWatcher] Resuming watcher"),c()}),6e4)}}),5e3);hl([()=>n.value?.documentUrl,()=>n.value?.watchMode],(([e,t])=>{e&&t?(console.info(`[useOpenApiWatcher] Watching ${e} …`),c()):n.value&&(l(),o.edit(n.value.uid,"watchModeStatus","IDLE"))}),{immediate:!0})},ARe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CRe(e,t){return Dl(),Ll("svg",ARe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m10.812 2.492-8.32 8.32a1.68 1.68 0 0 0 0 2.377l8.32 8.319a1.68 1.68 0 0 0 2.377 0l8.319-8.32a1.68 1.68 0 0 0 0-2.377l-8.32-8.319a1.68 1.68 0 0 0-2.377 0Z"},null,-1)]))}const PRe={render:CRe},$Re=Object.freeze(Object.defineProperty({__proto__:null,default:PRe,render:CRe},Symbol.toStringTag,{value:"Module"})),MRe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function DRe(e,t){return Dl(),Ll("svg",MRe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.711 16.963V7.044a1.37 1.37 0 0 0-.759-1.229l-7.338-3.67a1.37 1.37 0 0 0-1.227 0l-7.34 3.662a1.37 1.37 0 0 0-.758 1.23v9.919a1.37 1.37 0 0 0 .759 1.229l7.34 3.67a1.38 1.38 0 0 0 1.229 0l7.34-3.663a1.37 1.37 0 0 0 .754-1.23Z"},null,-1)]))}const RRe={render:DRe},NRe=Object.freeze(Object.defineProperty({__proto__:null,default:RRe,render:DRe},Symbol.toStringTag,{value:"Module"})),IRe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function LRe(e,t){return Dl(),Ll("svg",IRe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const jRe={render:LRe},BRe=Object.freeze(Object.defineProperty({__proto__:null,default:jRe,render:LRe},Symbol.toStringTag,{value:"Module"})),URe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function FRe(e,t){return Dl(),Ll("svg",URe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"},null,-1)]))}const QRe={render:FRe},zRe=Object.freeze(Object.defineProperty({__proto__:null,default:QRe,render:FRe},Symbol.toStringTag,{value:"Module"})),qRe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HRe(e,t){return Dl(),Ll("svg",qRe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.334 4.82v6.768a10.58 10.58 0 0 0 6.783 9.878l.926.356a2.67 2.67 0 0 0 1.914 0l.926-.356a10.58 10.58 0 0 0 6.783-9.878V4.821a1.32 1.32 0 0 0-.771-1.211A19.3 19.3 0 0 0 12 2a19.3 19.3 0 0 0-7.895 1.61 1.32 1.32 0 0 0-.771 1.21"},null,-1)]))}const VRe={render:HRe},ZRe=Object.freeze(Object.defineProperty({__proto__:null,default:VRe,render:HRe},Symbol.toStringTag,{value:"Module"})),WRe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function XRe(e,t){return Dl(),Ll("svg",WRe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 20h18M5 4h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const GRe={render:XRe},YRe=Object.freeze(Object.defineProperty({__proto__:null,default:GRe,render:XRe},Symbol.toStringTag,{value:"Module"})),KRe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JRe(e,t){return Dl(),Ll("svg",KRe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8m-5 4h5m6-7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2"},null,-1)]))}const eNe={render:JRe},tNe=Object.freeze(Object.defineProperty({__proto__:null,default:eNe,render:JRe},Symbol.toStringTag,{value:"Module"})),rNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nNe(e,t){return Dl(),Ll("svg",rNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.522 14.167V6.64a2.13 2.13 0 0 0-2.13-2.13H5.608a2.13 2.13 0 0 0-2.13 2.13v7.526m17.044 0H3.478m17.044 0 1.364 4.778a1.066 1.066 0 0 1-.959 1.545H3.073a1.065 1.065 0 0 1-.959-1.545l1.364-4.778m6.855 3.333h3.334"},null,-1)]))}const aNe={render:nNe},oNe=Object.freeze(Object.defineProperty({__proto__:null,default:aNe,render:nNe},Symbol.toStringTag,{value:"Module"})),iNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sNe(e,t){return Dl(),Ll("svg",iNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.333 2h7.334s2.666 0 2.666 2.667v14.666s0 2.667-2.666 2.667H8.333s-2.666 0-2.666-2.667V4.667S5.667 2 8.333 2"},null,-1),zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9.186 4.563h1.246s.889 0 .889.889V9.88s0 .889-.889.889H9.186s-.89 0-.89-.89V5.453s0-.89.89-.89"},null,-1)]))}const lNe={render:sNe},cNe=Object.freeze(Object.defineProperty({__proto__:null,default:lNe,render:sNe},Symbol.toStringTag,{value:"Module"})),uNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dNe(e,t){return Dl(),Ll("svg",uNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 2H8.333a2.667 2.667 0 0 0-2.666 2.667v14.666A2.667 2.667 0 0 0 8.333 22h7.334a2.667 2.667 0 0 0 2.666-2.667V4.667A2.667 2.667 0 0 0 15.667 2"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 5a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const pNe={render:dNe},hNe=Object.freeze(Object.defineProperty({__proto__:null,default:pNe,render:dNe},Symbol.toStringTag,{value:"Module"})),fNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function mNe(e,t){return Dl(),Ll("svg",fNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 2H8.333a2.667 2.667 0 0 0-2.666 2.667v14.666A2.667 2.667 0 0 0 8.333 22h7.334a2.667 2.667 0 0 0 2.666-2.667V4.667A2.667 2.667 0 0 0 15.667 2"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M8 5a1 1 0 1 1 2 0 1 1 0 0 1-2 0m3 2a1 1 0 1 1 2 0 1 1 0 0 1-2 0M8 9a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const gNe={render:mNe},bNe=Object.freeze(Object.defineProperty({__proto__:null,default:gNe,render:mNe},Symbol.toStringTag,{value:"Module"})),vNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yNe(e,t){return Dl(),Ll("svg",vNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.198 2h9.603s1.74 0 1.74 1.74v16.52s0 1.74-1.74 1.74H7.198s-1.74 0-1.74-1.74V3.74S5.459 2 7.199 2Z"},null,-1),zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14.684 4.935H9.315a.94.94 0 0 1-.932-.8L8.067 2h7.865l-.315 2.133a.94.94 0 0 1-.933.802"},null,-1)]))}const ONe={render:yNe},wNe=Object.freeze(Object.defineProperty({__proto__:null,default:ONe,render:yNe},Symbol.toStringTag,{value:"Module"})),xNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function kNe(e,t){return Dl(),Ll("svg",xNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 11V7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h6m1.034-7.319a.499.499 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"},null,-1)]))}const SNe={render:kNe},_Ne=Object.freeze(Object.defineProperty({__proto__:null,default:SNe,render:kNe},Symbol.toStringTag,{value:"Module"})),ENe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function TNe(e,t){return Dl(),Ll("svg",ENe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.667 22H8.333a2.667 2.667 0 0 1-2.666-2.667V4.667A2.667 2.667 0 0 1 8.333 2h7.334a2.667 2.667 0 0 1 2.666 2.667v14.666A2.667 2.667 0 0 1 15.667 22"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 19a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const ANe={render:TNe},CNe=Object.freeze(Object.defineProperty({__proto__:null,default:ANe,render:TNe},Symbol.toStringTag,{value:"Module"})),PNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $Ne(e,t){return Dl(),Ll("svg",PNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M10 7.5v2.813M14 7.5v2.813M14 7.5h2.5a1.125 1.125 0 0 1 1.125 1.125v5.062a1.125 1.125 0 0 1-1.125 1.125h-.543c-.373 0-.73.149-.994.412l-.864.864a1.4 1.4 0 0 1-.994.412h-2.21c-.373 0-.73-.148-.994-.412l-.864-.864a1.4 1.4 0 0 0-.994-.412H7.5a1.125 1.125 0 0 1-1.125-1.125V8.625A1.125 1.125 0 0 1 7.5 7.5zM4.2 3h15.6S21 3 21 4.2v15.6s0 1.2-1.2 1.2H4.2S3 21 3 19.8V4.2S3 3 4.2 3"},null,-1)]))}const MNe={render:$Ne},DNe=Object.freeze(Object.defineProperty({__proto__:null,default:MNe,render:$Ne},Symbol.toStringTag,{value:"Module"})),RNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function NNe(e,t){return Dl(),Ll("svg",RNe,t[0]||(t[0]=[zl("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)]))}const INe={render:NNe},LNe=Object.freeze(Object.defineProperty({__proto__:null,default:INe,render:NNe},Symbol.toStringTag,{value:"Module"})),jNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function BNe(e,t){return Dl(),Ll("svg",jNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 8.82a15 15 0 0 1 20 0M5 12.859a10 10 0 0 1 14 0m-10.5 3.57a5 5 0 0 1 7 0"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const UNe={render:BNe},FNe=Object.freeze(Object.defineProperty({__proto__:null,default:UNe,render:BNe},Symbol.toStringTag,{value:"Module"})),QNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function zNe(e,t){return Dl(),Ll("svg",QNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14.7 10.2v3.6m2.556-6.147a3.6 3.6 0 0 0-5.094 0m7.632-2.547a7.2 7.2 0 0 0-10.179 0M4.8 13.8h14.4a1.8 1.8 0 0 1 1.8 1.8v3.6a1.8 1.8 0 0 1-1.8 1.8H4.8A1.8 1.8 0 0 1 3 19.2v-3.6a1.8 1.8 0 0 1 1.8-1.8"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6 17.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0m4 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const qNe={render:zNe},HNe=Object.freeze(Object.defineProperty({__proto__:null,default:qNe,render:zNe},Symbol.toStringTag,{value:"Module"})),VNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZNe(e,t){return Dl(),Ll("svg",VNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.5 2h7m-5.3 1v6.774a1.8 1.8 0 0 1-.19.807l-4.562 9.114A.9.9 0 0 0 6.258 21h11.484a.9.9 0 0 0 .81-1.305l-4.562-9.114a1.8 1.8 0 0 1-.19-.807V3M7.5 15.6h9"},null,-1)]))}const WNe={render:ZNe},XNe=Object.freeze(Object.defineProperty({__proto__:null,default:WNe,render:ZNe},Symbol.toStringTag,{value:"Module"})),GNe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function YNe(e,t){return Dl(),Ll("svg",GNe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.802 13.8a.899.899 0 0 1-.702-1.467l8.908-9.178a.45.45 0 0 1 .774.414l-1.728 5.417A.9.9 0 0 0 12.9 10.2h6.298a.899.899 0 0 1 .702 1.467l-8.908 9.178a.45.45 0 0 1-.774-.414l1.728-5.417A.9.9 0 0 0 11.1 13.8z"},null,-1)]))}const KNe={render:YNe},JNe=Object.freeze(Object.defineProperty({__proto__:null,default:KNe,render:YNe},Symbol.toStringTag,{value:"Module"})),eIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tIe(e,t){return Dl(),Ll("svg",eIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9.286a2.5 2.5 0 1 1 2.5 2.5m-2.5-2.5a2.5 2.5 0 1 0-2.5 2.5m2.5-2.5v.833m2.5 1.667a2.5 2.5 0 1 1-2.5 2.5m2.5-2.5h-.833m-4.167 0a2.5 2.5 0 1 0 2.5 2.5m-2.5-2.5h.833M12 10.119c-.92 0-1.667.746-1.667 1.667M12 10.119c.92 0 1.667.746 1.667 1.667M12 14.286v-.834m0 .834V20.5m-1.667-8.714c0 .92.746 1.666 1.667 1.666m1.667-1.666c0 .92-.746 1.666-1.667 1.666M4.2 3h15.6S21 3 21 4.2v15.6s0 1.2-1.2 1.2H4.2S3 21 3 19.8V4.2S3 3 4.2 3"},null,-1)]))}const rIe={render:tIe},nIe=Object.freeze(Object.defineProperty({__proto__:null,default:rIe,render:tIe},Symbol.toStringTag,{value:"Module"})),aIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oIe(e,t){return Dl(),Ll("svg",aIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m10.812 2.492-8.32 8.32a1.68 1.68 0 0 0 0 2.377l8.32 8.319a1.68 1.68 0 0 0 2.377 0l8.319-8.32a1.68 1.68 0 0 0 0-2.377l-8.32-8.319a1.68 1.68 0 0 0-2.377 0ZM12 8v4"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const iIe={render:oIe},sIe=Object.freeze(Object.defineProperty({__proto__:null,default:iIe,render:oIe},Symbol.toStringTag,{value:"Module"})),lIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cIe(e,t){return Dl(),Ll("svg",lIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9.57v4.296m7.926 7.516H4.074c-.798 0-1.318-.84-.96-1.554L11.04 3.976a1.074 1.074 0 0 1 1.92 0l7.927 15.852a1.074 1.074 0 0 1-.96 1.554Z"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 18a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const uIe={render:cIe},dIe=Object.freeze(Object.defineProperty({__proto__:null,default:uIe,render:cIe},Symbol.toStringTag,{value:"Module"})),pIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function hIe(e,t){return Dl(),Ll("svg",pIe,t[0]||(t[0]=[zl("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),zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"10",d:"M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2"},null,-1),zl("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)]))}const fIe={render:hIe},mIe=Object.freeze(Object.defineProperty({__proto__:null,default:fIe,render:hIe},Symbol.toStringTag,{value:"Module"})),gIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function bIe(e,t){return Dl(),Ll("svg",gIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.999 21.002H19M11.56 3.264a.5.5 0 0 1 .877 0l2.953 5.605a1 1 0 0 0 1.516.294L21.185 5.5a.5.5 0 0 1 .798.519l-2.835 10.248a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.018 6.019a.5.5 0 0 1 .798-.52l4.277 3.665a1 1 0 0 0 1.516-.294l2.953-5.606Z"},null,-1)]))}const vIe={render:bIe},yIe=Object.freeze(Object.defineProperty({__proto__:null,default:vIe,render:bIe},Symbol.toStringTag,{value:"Module"})),OIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function wIe(e,t){return Dl(),Ll("svg",OIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.527 3.525a1.8 1.8 0 0 0-1.273-.527H5.798a1.8 1.8 0 0 0-1.8 1.8v6.456c0 .478.19.936.527 1.273l7.836 7.836a2.184 2.184 0 0 0 3.078 0l5.924-5.924a2.184 2.184 0 0 0 0-3.078z"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M8 8a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const xIe={render:wIe},kIe=Object.freeze(Object.defineProperty({__proto__:null,default:xIe,render:wIe},Symbol.toStringTag,{value:"Module"})),SIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function _Ie(e,t){return Dl(),Ll("svg",SIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"},null,-1)]))}const EIe={render:_Ie},TIe=Object.freeze(Object.defineProperty({__proto__:null,default:EIe,render:_Ie},Symbol.toStringTag,{value:"Module"})),AIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CIe(e,t){return Dl(),Ll("svg",AIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 14h1v4m4-16v4M3 10h18M8 2v4M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const PIe={render:CIe},$Ie=Object.freeze(Object.defineProperty({__proto__:null,default:PIe,render:CIe},Symbol.toStringTag,{value:"Module"})),MIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function DIe(e,t){return Dl(),Ll("svg",MIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.333 5.01c1.39-.224 2.796-.34 4.205-.346.121 0 .238.044.329.125.085.084.133.2.133.32v14a.453.453 0 0 1-.444.444C14.186 19.66 12 21.997 12 21.997m0 0V7.091m0 14.906s-2.187-2.337-9.556-2.444A.453.453 0 0 1 2 19.109v-14c0-.12.048-.236.133-.32a.5.5 0 0 1 .33-.125C9.822 4.762 12 7.091 12 7.091m0 0a5.5 5.5 0 0 1 1.458-3.05 6.9 6.9 0 0 1 3.235-2.017.53.53 0 0 1 .436.053.41.41 0 0 1 .204.356V16.31a7.27 7.27 0 0 0-3.875 2.186A5.33 5.33 0 0 0 12 21.562"},null,-1)]))}const RIe={render:DIe},NIe=Object.freeze(Object.defineProperty({__proto__:null,default:RIe,render:DIe},Symbol.toStringTag,{value:"Module"})),IIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function LIe(e,t){return Dl(),Ll("svg",IIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 3v8l3-3 3 3V3M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2"},null,-1)]))}const jIe={render:LIe},BIe=Object.freeze(Object.defineProperty({__proto__:null,default:jIe,render:LIe},Symbol.toStringTag,{value:"Module"})),UIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function FIe(e,t){return Dl(),Ll("svg",UIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 3v4a2 2 0 0 0 2 2h4m-5-6H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8z"},null,-1)]))}const QIe={render:FIe},zIe=Object.freeze(Object.defineProperty({__proto__:null,default:QIe,render:FIe},Symbol.toStringTag,{value:"Module"})),qIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HIe(e,t){return Dl(),Ll("svg",qIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 6h6a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.93a2 2 0 0 1 1.67.9l.81 1.2a2 2 0 0 0 1.69.9"},null,-1)]))}const VIe={render:HIe},ZIe=Object.freeze(Object.defineProperty({__proto__:null,default:VIe,render:HIe},Symbol.toStringTag,{value:"Module"})),WIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function XIe(e,t){return Dl(),Ll("svg",WIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m1-2h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1"},null,-1)]))}const GIe={render:XIe},YIe=Object.freeze(Object.defineProperty({__proto__:null,default:GIe,render:XIe},Symbol.toStringTag,{value:"Module"})),KIe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JIe(e,t){return Dl(),Ll("svg",KIe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m20.72 11.12-8.51 8.51a5.559 5.559 0 1 1-7.86-7.861l7.935-7.936a3.71 3.71 0 0 1 5.25 5.241L9.581 17.01a1.853 1.853 0 1 1-2.62-2.62l7.861-7.853"},null,-1)]))}const eLe={render:JIe},tLe=Object.freeze(Object.defineProperty({__proto__:null,default:eLe,render:JIe},Symbol.toStringTag,{value:"Module"})),rLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nLe(e,t){return Dl(),Ll("svg",rLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M10.2 16.8a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0m0 0V5.7a2.1 2.1 0 0 0-4.125-.56L3.13 15.844m10.67.956a3.6 3.6 0 1 0 7.2 0 3.6 3.6 0 0 0-7.2 0m0 0V5.7a2.1 2.1 0 0 1 4.125-.56l2.945 10.7M10.2 9.6h3.6V12h-3.6z"},null,-1)]))}const aLe={render:nLe},oLe=Object.freeze(Object.defineProperty({__proto__:null,default:aLe,render:nLe},Symbol.toStringTag,{value:"Module"})),iLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sLe(e,t){return Dl(),Ll("svg",iLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 6V4m2 2.983 1.414-1.415M18 9h2m-3 2 1.2 1.2M4 20 15 9m-1.8-1.8L12 6"},null,-1)]))}const lLe={render:sLe},cLe=Object.freeze(Object.defineProperty({__proto__:null,default:lLe,render:sLe},Symbol.toStringTag,{value:"Module"})),uLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dLe(e,t){return Dl(),Ll("svg",uLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.8 15.6v-1.8A1.8 1.8 0 0 0 12 12H4.8A1.8 1.8 0 0 1 3 10.2V7.5a1.8 1.8 0 0 1 1.8-1.8h1.8M19.2 3H8.4a1.8 1.8 0 0 0-1.8 1.8v1.8a1.8 1.8 0 0 0 1.8 1.8h10.8A1.8 1.8 0 0 0 21 6.6V4.8A1.8 1.8 0 0 0 19.2 3m-4.5 12.6h-1.8a.9.9 0 0 0-.9.9v3.6a.9.9 0 0 0 .9.9h1.8a.9.9 0 0 0 .9-.9v-3.6a.9.9 0 0 0-.9-.9"},null,-1)]))}const pLe={render:dLe},hLe=Object.freeze(Object.defineProperty({__proto__:null,default:pLe,render:dLe},Symbol.toStringTag,{value:"Module"})),fLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function mLe(e,t){return Dl(),Ll("svg",fLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16.494 3.913a2.56 2.56 0 0 1 1.855-.905 2.58 2.58 0 0 1 1.923.749 2.54 2.54 0 0 1 .741 1.915 2.53 2.53 0 0 1-.924 1.835l-12.13 12.13-4.943 1.348 1.348-4.942z"},null,-1)]))}const gLe={render:mLe},bLe=Object.freeze(Object.defineProperty({__proto__:null,default:gLe,render:mLe},Symbol.toStringTag,{value:"Module"})),vLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yLe(e,t){return Dl(),Ll("svg",vLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526M18 8A6 6 0 1 1 6 8a6 6 0 0 1 12 0"},null,-1)]))}const OLe={render:yLe},wLe=Object.freeze(Object.defineProperty({__proto__:null,default:OLe,render:yLe},Symbol.toStringTag,{value:"Module"})),xLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function kLe(e,t){return Dl(),Ll("svg",xLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.8 14.7s.9-.9 3.6-.9 4.5 1.8 7.2 1.8 3.6-.9 3.6-.9V3.9s-.9.9-3.6.9S11.1 3 8.4 3s-3.6.9-3.6.9zm0 0V21"},null,-1)]))}const SLe={render:kLe},_Le=Object.freeze(Object.defineProperty({__proto__:null,default:SLe,render:kLe},Symbol.toStringTag,{value:"Module"})),ELe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function TLe(e,t){return Dl(),Ll("svg",ELe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7z"},null,-1)]))}const ALe={render:TLe},CLe=Object.freeze(Object.defineProperty({__proto__:null,default:ALe,render:TLe},Symbol.toStringTag,{value:"Module"})),PLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $Le(e,t){return Dl(),Ll("svg",PLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"},null,-1)]))}const MLe={render:$Le},DLe=Object.freeze(Object.defineProperty({__proto__:null,default:MLe,render:$Le},Symbol.toStringTag,{value:"Module"})),RLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function NLe(e,t){return Dl(),Ll("svg",RLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 3v4M2 5h4m14 12v2m-1-1h2m-6.937-2.5a2 2 0 0 1 1.437-1.437l6.135-1.582a.5.5 0 0 0 0-.962L15.5 9.936A2 2 0 0 1 14.063 8.5l-1.582-6.135a.5.5 0 0 0-.963 0L9.937 8.5A2 2 0 0 1 8.5 9.937l-6.135 1.581a.5.5 0 0 0 0 .964L8.5 14.063A2 2 0 0 1 9.937 15.5l1.582 6.135a.5.5 0 0 0 .963 0z"},null,-1)]))}const ILe={render:NLe},LLe=Object.freeze(Object.defineProperty({__proto__:null,default:ILe,render:NLe},Symbol.toStringTag,{value:"Module"})),jLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function BLe(e,t){return Dl(),Ll("svg",jLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7 11v4a2 2 0 0 0 2 2h4"},null,-1),zl("circle",{cx:"7",cy:"7",r:"3.25",stroke:"currentColor"},null,-1),zl("circle",{cx:"17",cy:"17",r:"3.25",stroke:"currentColor"},null,-1)]))}const ULe={render:BLe},FLe=Object.freeze(Object.defineProperty({__proto__:null,default:ULe,render:BLe},Symbol.toStringTag,{value:"Module"})),QLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function zLe(e,t){return Dl(),Ll("svg",QLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 21v-6a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v6M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"},null,-1)]))}const qLe={render:zLe},HLe=Object.freeze(Object.defineProperty({__proto__:null,default:qLe,render:zLe},Symbol.toStringTag,{value:"Module"})),VLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZLe(e,t){return Dl(),Ll("svg",VLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.414 17.657 12 19.07A5 5 0 0 1 4.929 12l1.414-1.414m4.243-4.243L12 4.93A5 5 0 0 1 19.071 12l-1.414 1.414m-8.485 1.414 5.656-5.656"},null,-1)]))}const WLe={render:ZLe},XLe=Object.freeze(Object.defineProperty({__proto__:null,default:WLe,render:ZLe},Symbol.toStringTag,{value:"Module"})),GLe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function YLe(e,t){return Dl(),Ll("svg",GLe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32 1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0"},null,-1)]))}const KLe={render:YLe},JLe=Object.freeze(Object.defineProperty({__proto__:null,default:KLe,render:YLe},Symbol.toStringTag,{value:"Module"})),eje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tje(e,t){return Dl(),Ll("svg",eje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",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),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const rje={render:tje},nje=Object.freeze(Object.defineProperty({__proto__:null,default:rje,render:tje},Symbol.toStringTag,{value:"Module"})),aje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oje(e,t){return Dl(),Ll("svg",aje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",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),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11 16a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const ije={render:oje},sje=Object.freeze(Object.defineProperty({__proto__:null,default:ije,render:oje},Symbol.toStringTag,{value:"Module"})),lje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cje(e,t){return Dl(),Ll("svg",lje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.5 21a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m3.9-9.4L19 4m-3.5 3.5 3 3M22 7l-3-3"},null,-1)]))}const uje={render:cje},dje=Object.freeze(Object.defineProperty({__proto__:null,default:uje,render:cje},Symbol.toStringTag,{value:"Module"})),pje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function hje(e,t){return Dl(),Ll("svg",pje,t[0]||(t[0]=[zl("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)]))}const fje={render:hje},mje=Object.freeze(Object.defineProperty({__proto__:null,default:fje,render:hje},Symbol.toStringTag,{value:"Module"})),gje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function bje(e,t){return Dl(),Ll("svg",gje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 11.78v.44a2 2 0 0 0 2 2h.18a2 2 0 0 1 1.73 1l.25.43a2 2 0 0 1 0 2l-.08.15a2 2 0 0 0 .73 2.73l.38.22a2 2 0 0 0 2.73-.73l.1-.15a2 2 0 0 1 1.72-1h.51a2 2 0 0 1 1.74 1l.09.15a2 2 0 0 0 2.73.73l.38-.22a2 2 0 0 0 .73-2.73l-.08-.15a2 2 0 0 1 0-2l.25-.43a2 2 0 0 1 1.73-1H20a2 2 0 0 0 2-2v-.44a2 2 0 0 0-2-2h-.18a2 2 0 0 1-1.73-1l-.25-.43a2 2 0 0 1 0-2l.08-.15a2 2 0 0 0-.73-2.73l-.39-.22a2 2 0 0 0-2.73.73l-.08.15a2 2 0 0 1-1.74 1h-.5a2 2 0 0 1-1.74-1l-.09-.15a2 2 0 0 0-2.73-.73l-.38.22a2 2 0 0 0-.73 2.73l.08.15a2 2 0 0 1 0 2l-.25.43a2 2 0 0 1-1.73 1H4a2 2 0 0 0-2 2"},null,-1),zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0"},null,-1)]))}const vje={render:bje},yje=Object.freeze(Object.defineProperty({__proto__:null,default:vje,render:bje},Symbol.toStringTag,{value:"Module"})),Oje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function wje(e,t){return Dl(),Ll("svg",Oje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728M11 4.702a.706.706 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"},null,-1)]))}const xje={render:wje},kje=Object.freeze(Object.defineProperty({__proto__:null,default:xje,render:wje},Symbol.toStringTag,{value:"Module"})),Sje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function _je(e,t){return Dl(),Ll("svg",Sje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.566 18.582v2.778s3.367-.611 4.445-2.222c.58-.87.599-2.196.465-3.334m-10.698-3.01H3s.611-3.367 2.222-4.445c.87-.58 2.196-.6 3.334-.465m-.82 8.883-1.571-1.571-.625-.625a20.2 20.2 0 0 1 1.837-4.667 10.76 10.76 0 0 1 5.199-4.825c2.26-1.003 4.914-1.314 7.712-.903.486 3.46.349 9.4-5.665 12.92a20.6 20.6 0 0 1-4.73 1.828l-.586-.585zm0 0L6.165 18.34"},null,-1)]))}const Eje={render:_je},Tje=Object.freeze(Object.defineProperty({__proto__:null,default:Eje,render:_je},Symbol.toStringTag,{value:"Module"})),Aje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Cje(e,t){return Dl(),Ll("svg",Aje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 15 3-3m5 1a6 6 0 0 0-6-6m10 6A10 10 0 0 0 11 3m-7 7a7.31 7.31 0 0 0 10 10z"},null,-1)]))}const Pje={render:Cje},$je=Object.freeze(Object.defineProperty({__proto__:null,default:Pje,render:Cje},Symbol.toStringTag,{value:"Module"})),Mje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Dje(e,t){return Dl(),Ll("svg",Mje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 3v4M2 5h4m14 12v2m-1-1h2m-10.582-5.578L5.368 13.5a.763.763 0 0 1-.906-.574l-.439-1.757a.875.875 0 0 1 .565-1.034l11.036-3.629m-2.35 5.307 3.541-.755m-1.546 8.317L12.73 14.3M7.225 9.268l.91 3.642m.596 6.465 2.537-5.075m4.397-7.233a1.635 1.635 0 0 1 1.19-1.982l.89-.222a.817.817 0 0 1 .99.594l1.239 4.953a.82.82 0 0 1-.594.99l-.891.223a1.634 1.634 0 0 1-1.982-1.189zm-2.03 5.77a1.635 1.635 0 1 1-3.27 0 1.635 1.635 0 0 1 3.27 0"},null,-1)]))}const Rje={render:Dje},Nje=Object.freeze(Object.defineProperty({__proto__:null,default:Rje,render:Dje},Symbol.toStringTag,{value:"Module"})),Ije={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Lje(e,t){return Dl(),Ll("svg",Ije,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m7.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98M20 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0M8 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0m12 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0"},null,-1)]))}const jje={render:Lje},Bje=Object.freeze(Object.defineProperty({__proto__:null,default:jje,render:Lje},Symbol.toStringTag,{value:"Module"})),Uje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Fje(e,t){return Dl(),Ll("svg",Uje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 12h-1.488a1.2 1.2 0 0 0-1.158.876l-1.41 5.016a.15.15 0 0 1-.288 0L10.344 6.108a.15.15 0 0 0-.288 0l-1.41 5.016A1.2 1.2 0 0 1 7.494 12H6"},null,-1),zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"},null,-1)]))}const Qje={render:Fje},zje=Object.freeze(Object.defineProperty({__proto__:null,default:Qje,render:Fje},Symbol.toStringTag,{value:"Module"})),qje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Hje(e,t){return Dl(),Ll("svg",qje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6l4 2M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const Vje={render:Hje},Zje=Object.freeze(Object.defineProperty({__proto__:null,default:Vje,render:Hje},Symbol.toStringTag,{value:"Module"})),Wje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Xje(e,t){return Dl(),Ll("svg",Wje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.263 5.71v.181c0 .558-.222 1.094-.617 1.489l-3.157 3.158a2.105 2.105 0 0 1-2.978 0L7.353 7.38a2.1 2.1 0 0 1-.616-1.489v-.18m10.526 0V3.605A2.105 2.105 0 0 0 15.158 1.5H8.842a2.105 2.105 0 0 0-2.105 2.105v2.106m10.526 0H6.737m0 15.789h10.526m-10.526 0 3.948-3.158a2.105 2.105 0 0 1 2.63 0l3.948 3.158m-10.526 0v-4.391c0-.559.222-1.094.616-1.489l3.158-3.158a2.105 2.105 0 0 1 2.978 0l3.157 3.158c.395.395.617.93.617 1.489V21.5"},null,-1)]))}const Gje={render:Xje},Yje=Object.freeze(Object.defineProperty({__proto__:null,default:Gje,render:Xje},Symbol.toStringTag,{value:"Module"})),Kje={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function Jje(e,t){return Dl(),Ll("svg",Kje,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m20 0v-2a4 4 0 0 0-3-3.87m-3-12a4 4 0 0 1 0 7.75M13 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0"},null,-1)]))}const eBe={render:Jje},tBe=Object.freeze(Object.defineProperty({__proto__:null,default:eBe,render:Jje},Symbol.toStringTag,{value:"Module"})),rBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nBe(e,t){return Dl(),Ll("svg",rBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2a7.071 7.071 0 1 0 10 10M12 2a10 10 0 0 0-7.071 17.071M12 2a10 10 0 0 0-7.071 17.071M22 12a10 10 0 0 1-17.071 7.071M22 12a10 10 0 0 1-17.071 7.071"},null,-1)]))}const aBe={render:nBe},oBe=Object.freeze(Object.defineProperty({__proto__:null,default:aBe,render:nBe},Symbol.toStringTag,{value:"Module"})),iBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sBe(e,t){return Dl(),Ll("svg",iBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"},null,-1)]))}const lBe={render:sBe},cBe=Object.freeze(Object.defineProperty({__proto__:null,default:lBe,render:sBe},Symbol.toStringTag,{value:"Module"})),uBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dBe(e,t){return Dl(),Ll("svg",uBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11.023 12.976a1.8 1.8 0 0 0-.603-.397L3.284 9.718a.45.45 0 0 1 .021-.843l17.098-5.85a.446.446 0 0 1 .572.572l-5.85 17.098a.45.45 0 0 1-.843.021l-2.861-7.138a1.8 1.8 0 0 0-.398-.601Zm0 0 9.845-9.843"},null,-1)]))}const pBe={render:dBe},hBe=Object.freeze(Object.defineProperty({__proto__:null,default:pBe,render:dBe},Symbol.toStringTag,{value:"Module"})),fBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function mBe(e,t){return Dl(),Ll("svg",fBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7m2-3h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"},null,-1)]))}const gBe={render:mBe},bBe=Object.freeze(Object.defineProperty({__proto__:null,default:gBe,render:mBe},Symbol.toStringTag,{value:"Module"})),vBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yBe(e,t){return Dl(),Ll("svg",vBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12h5M9 8h5m-9 9V5a2 2 0 0 1 2-2h13m0 0a2 2 0 0 0-2 2v14a2 2 0 0 1-2 2m4-18a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1h-3m-2 13H4a2 2 0 0 1-2-2v-1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1a2 2 0 0 0 2 2"},null,-1)]))}const OBe={render:yBe},wBe=Object.freeze(Object.defineProperty({__proto__:null,default:OBe,render:yBe},Symbol.toStringTag,{value:"Module"})),xBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function kBe(e,t){return Dl(),Ll("svg",xBe,t[0]||(t[0]=[zl("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)]))}const SBe={render:kBe},_Be=Object.freeze(Object.defineProperty({__proto__:null,default:SBe,render:kBe},Symbol.toStringTag,{value:"Module"})),EBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function TBe(e,t){return Dl(),Ll("svg",EBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m22 7-8.5 8.5-5-5L2 17M22 7h-6m6 0v6"},null,-1)]))}const ABe={render:TBe},CBe=Object.freeze(Object.defineProperty({__proto__:null,default:ABe,render:TBe},Symbol.toStringTag,{value:"Module"})),PBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function $Be(e,t){return Dl(),Ll("svg",PBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8 17v-7m4 7v-4m4 4V8M5 21h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2"},null,-1)]))}const MBe={render:$Be},DBe=Object.freeze(Object.defineProperty({__proto__:null,default:MBe,render:$Be},Symbol.toStringTag,{value:"Module"})),RBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function NBe(e,t){return Dl(),Ll("svg",RBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.011 20.99c1.124-.887 2.04-1.775 3.506-1.977 1.268 0 2.49.481 3.416 1.348a3.595 3.595 0 0 0 5.561-2.115 3.146 3.146 0 0 0 3.317-4.599 3.148 3.148 0 0 0 1.234-5.241 3.145 3.145 0 1 0-4.45-4.45 3.147 3.147 0 0 0-5.24 1.234 3.146 3.146 0 0 0-4.6 3.317 3.596 3.596 0 0 0-2.11 5.533c.714 1.035 1.532 2.197 1.344 3.444-.247 1.477-1.066 2.366-1.978 3.506m0 0L16.494 7.507"},null,-1)]))}const IBe={render:NBe},LBe=Object.freeze(Object.defineProperty({__proto__:null,default:IBe,render:NBe},Symbol.toStringTag,{value:"Module"})),jBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function BBe(e,t){return Dl(),Ll("svg",jBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.038 16.44v2.71a1.81 1.81 0 0 1-1.97 1.807 17.9 17.9 0 0 1-7.794-2.773 17.6 17.6 0 0 1-5.42-5.42 17.9 17.9 0 0 1-2.773-7.83 1.806 1.806 0 0 1 1.798-1.97h2.71a1.806 1.806 0 0 1 1.806 1.554 11.6 11.6 0 0 0 .632 2.538 1.8 1.8 0 0 1-.406 1.906l-1.147 1.147a14.45 14.45 0 0 0 5.42 5.42l1.146-1.148a1.81 1.81 0 0 1 1.906-.406c.82.305 1.671.518 2.538.632a1.807 1.807 0 0 1 1.554 1.833"},null,-1)]))}const UBe={render:BBe},FBe=Object.freeze(Object.defineProperty({__proto__:null,default:UBe,render:BBe},Symbol.toStringTag,{value:"Module"})),QBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function zBe(e,t){return Dl(),Ll("svg",QBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m8.21 2.5 1.782 1.781m4.016 0L15.79 2.5M9.158 7.36v-.947a2.845 2.845 0 1 1 5.684 0v.947M12 19.553c-3.126 0-5.684-2.558-5.684-5.685v-2.842a3.79 3.79 0 0 1 3.79-3.79h3.789a3.79 3.79 0 0 1 3.79 3.79v2.842c0 3.127-2.559 5.685-5.685 5.685m0 0v-8.527M6.818 9.132c-1.829-.19-3.344-1.8-3.344-3.79m2.842 7.58h-3.79m.948 7.578c0-1.99 1.61-3.695 3.6-3.79M20.498 5.342c0 1.99-1.516 3.6-3.316 3.79m4.292 3.79h-3.79m-.758 3.788c1.99.095 3.6 1.8 3.6 3.79"},null,-1)]))}const qBe={render:zBe},HBe=Object.freeze(Object.defineProperty({__proto__:null,default:qBe,render:zBe},Symbol.toStringTag,{value:"Module"})),VBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZBe(e,t){return Dl(),Ll("svg",VBe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M17.662 18.661a4.33 4.33 0 1 0-2.455-7.891 6.662 6.662 0 1 0-6.537 7.89h8.993Z"},null,-1)]))}const WBe={render:ZBe},XBe=Object.freeze(Object.defineProperty({__proto__:null,default:WBe,render:ZBe},Symbol.toStringTag,{value:"Module"})),GBe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function YBe(e,t){return Dl(),Ll("svg",GBe,t[0]||(t[0]=[zl("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),zl("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),zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]))}const KBe={render:YBe},JBe=Object.freeze(Object.defineProperty({__proto__:null,default:KBe,render:YBe},Symbol.toStringTag,{value:"Module"})),eUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tUe(e,t){return Dl(),Ll("svg",eUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 6.601c0 .955.948 1.87 2.636 2.546S9.613 10.2 12 10.2s4.676-.38 6.364-1.054C20.052 8.47 21 7.556 21 6.6m-18 0c0-.955.948-1.87 2.636-2.546C7.324 3.38 9.613 3.001 12 3.001s4.676.38 6.364 1.054C20.052 4.731 21 5.646 21 6.601m-18 0v5.4m18-5.4v5.4M3 12c0 1.987 4.03 3.6 9 3.6s9-1.612 9-3.6M3 12v5.4c0 1.987 4.03 3.6 9 3.6s9-1.613 9-3.6V12"},null,-1)]))}const rUe={render:tUe},nUe=Object.freeze(Object.defineProperty({__proto__:null,default:rUe,render:tUe},Symbol.toStringTag,{value:"Module"})),aUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oUe(e,t){return Dl(),Ll("svg",aUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 3H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1m11 0h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1m0 11h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1M9 14H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1"},null,-1)]))}const iUe={render:oUe},sUe=Object.freeze(Object.defineProperty({__proto__:null,default:iUe,render:oUe},Symbol.toStringTag,{value:"Module"})),lUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cUe(e,t){return Dl(),Ll("svg",lUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 14h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1M9 14H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1m5-11H9a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1"},null,-1)]))}const uUe={render:cUe},dUe=Object.freeze(Object.defineProperty({__proto__:null,default:uUe,render:cUe},Symbol.toStringTag,{value:"Module"})),pUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function hUe(e,t){return Dl(),Ll("svg",pUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m3.3 7 8.7 5m0 0 8.7-5M12 12v10m9-14a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"},null,-1)]))}const fUe={render:hUe},mUe=Object.freeze(Object.defineProperty({__proto__:null,default:fUe,render:hUe},Symbol.toStringTag,{value:"Module"})),gUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function bUe(e,t){return Dl(),Ll("svg",gUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m7 14 2.5-2.5L7 9m5 7.5h5M5 4h14c1.105 0 2 .796 2 1.778v12.444c0 .982-.895 1.778-2 1.778H5c-1.105 0-2-.796-2-1.778V5.778C3 4.796 3.895 4 5 4"},null,-1)]))}const vUe={render:bUe},yUe=Object.freeze(Object.defineProperty({__proto__:null,default:vUe,render:bUe},Symbol.toStringTag,{value:"Module"})),OUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function wUe(e,t){return Dl(),Ll("svg",OUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.347",d:"M2.02 3.015h1.796l2.39 11.156a1.8 1.8 0 0 0 1.796 1.42h8.784a1.796 1.796 0 0 0 1.752-1.411l1.482-6.674H4.777"},null,-1),zl("path",{fill:"currentColor","fill-rule":"evenodd",d:"M7 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0m9 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}const xUe={render:wUe},kUe=Object.freeze(Object.defineProperty({__proto__:null,default:xUe,render:wUe},Symbol.toStringTag,{value:"Module"})),SUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function _Ue(e,t){return Dl(),Ll("svg",SUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8v13m0-13c-.362-1.49-.985-2.765-1.787-3.657C9.41 3.451 8.465 2.983 7.5 3a2.5 2.5 0 1 0 0 5M12 8c.362-1.49.985-2.765 1.787-3.657.803-.892 1.748-1.36 2.713-1.343a2.5 2.5 0 0 1 0 5m2.5 4v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M4 8h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1"},null,-1)]))}const EUe={render:_Ue},TUe=Object.freeze(Object.defineProperty({__proto__:null,default:EUe,render:_Ue},Symbol.toStringTag,{value:"Module"})),AUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CUe(e,t){return Dl(),Ll("svg",AUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 9h18M3 9v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9M3 9l2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9m-9-6v6"},null,-1)]))}const PUe={render:CUe},$Ue=Object.freeze(Object.defineProperty({__proto__:null,default:PUe,render:CUe},Symbol.toStringTag,{value:"Module"})),MUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function DUe(e,t){return Dl(),Ll("svg",MUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.929 19.071a10 10 0 0 0 14.142 0m0-14.142a10 10 0 0 0-14.142 0M4 15.5v-7l2.8 7v-7m5.6 7H11a1.4 1.4 0 0 1-1.4-1.4V9.9A1.4 1.4 0 0 1 11 8.5h1.4m-2.8 4.2h2.8m2.8-4.2v1.883a8.4 8.4 0 0 0 .601 3.119L16.6 15.5l1.4-4.9 1.4 4.9.8-1.998a8.4 8.4 0 0 0 .6-3.12V8.5"},null,-1)]))}const RUe={render:DUe},NUe=Object.freeze(Object.defineProperty({__proto__:null,default:RUe,render:DUe},Symbol.toStringTag,{value:"Module"})),IUe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function LUe(e,t){return Dl(),Ll("svg",IUe,t[0]||(t[0]=[zl("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7 20.5 8 14h1.08a1.48 1.48 0 0 0 1.18-.58 1.44 1.44 0 0 0 .27-1.28l-.75-3A1.49 1.49 0 0 0 8.33 8H3m16-3h-3.753a1.49 1.49 0 0 0-1.45 1.14l-.75 3a1.44 1.44 0 0 0 .28 1.28 1.48 1.48 0 0 0 1.18.58h1.58l.78 4.75a1.5 1.5 0 0 0 1.46 1.25h2M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0"},null,-1)]))}const jUe={render:LUe},BUe=Object.freeze(Object.defineProperty({__proto__:null,default:jUe,render:LUe},Symbol.toStringTag,{value:"Module"})),UUe=function(e){const t=Object.entries(e).map((([e,t])=>{const r=e.replace("./icons/","").replace(".svg","");return{icon:{src:r,title:r.replaceAll("-"," "),tags:[]},rawData:t}})),r=t.map((e=>e.icon)),n=Object.fromEntries(t.map((e=>[e.icon.src,e.rawData])));return{iconDefinitionList:r,iconDataMap:n}}(Object.assign({"./icons/basic-shape-diamond.svg":$Re,"./icons/basic-shape-hexagon.svg":NRe,"./icons/basic-shape-primary-circle-ellipse-round.svg":BRe,"./icons/basic-shape-primary-square-rectangle.svg":zRe,"./icons/basic-shape-shield.svg":ZRe,"./icons/computer-device-desktop-monitor.svg":YRe,"./icons/computer-device-desktop.svg":tNe,"./icons/computer-device-laptop.svg":oNe,"./icons/computer-device-mobile-phone-android-samsung-back.svg":cNe,"./icons/computer-device-mobile-phone-android-samsung.svg":hNe,"./icons/computer-device-mobile-phone-iphone-x-back.svg":bNe,"./icons/computer-device-mobile-phone-iphone-x.svg":wNe,"./icons/computer-device-mobile-tablet-touch.svg":_Ne,"./icons/computer-device-mobile-tablet.svg":CNe,"./icons/computer-device-network-ethernet-cat6.svg":DNe,"./icons/computer-device-network-lan-www.svg":LNe,"./icons/computer-device-network-wifi-connection.svg":FNe,"./icons/computer-device-network-wifi-router.svg":HNe,"./icons/ecology-science-erlenmeyer-flask.svg":XNe,"./icons/image-flash-lightning.svg":JNe,"./icons/image-picture-flower.svg":nIe,"./icons/interface-alert-exclamation-diamond.svg":sIe,"./icons/interface-alert-exclamation-triangle-warning.svg":dIe,"./icons/interface-alert-information-circle.svg":mIe,"./icons/interface-award-crown.svg":yIe,"./icons/interface-bookmark-tag.svg":kIe,"./icons/interface-bookmark.svg":TIe,"./icons/interface-calendar-date-one.svg":$Ie,"./icons/interface-content-book-open-pages.svg":NIe,"./icons/interface-content-book-page.svg":BIe,"./icons/interface-content-file.svg":zIe,"./icons/interface-content-folder.svg":ZIe,"./icons/interface-copy-clipboard.svg":YIe,"./icons/interface-edit-attachment.svg":tLe,"./icons/interface-edit-binocular.svg":oLe,"./icons/interface-edit-magic-wand.svg":cLe,"./icons/interface-edit-tool-paint-roller.svg":hLe,"./icons/interface-edit-tool-pencil.svg":bLe,"./icons/interface-favorite-award.svg":wLe,"./icons/interface-favorite-flag.svg":_Le,"./icons/interface-favorite-heart.svg":CLe,"./icons/interface-favorite-star.svg":DLe,"./icons/interface-favorite-stars-sparkles.svg":LLe,"./icons/interface-hierarchy-flowchart.svg":FLe,"./icons/interface-home-house.svg":HLe,"./icons/interface-hyperlink.svg":XLe,"./icons/interface-lighting-brightness.svg":JLe,"./icons/interface-lock-closed.svg":nje,"./icons/interface-lock-open-unlock.svg":sje,"./icons/interface-login-key.svg":dje,"./icons/interface-search.svg":mje,"./icons/interface-setting-cog.svg":yje,"./icons/interface-share-megaphone-bullhorn.svg":kje,"./icons/interface-share-rocket.svg":Tje,"./icons/interface-share-satellite.svg":$je,"./icons/interface-share-space-ship.svg":Nje,"./icons/interface-share.svg":Bje,"./icons/interface-signal-square.svg":zje,"./icons/interface-time-clock-circle.svg":Zje,"./icons/interface-time-hour-glass.svg":Yje,"./icons/interface-users-multiple.svg":tBe,"./icons/interface-weather-moon.svg":oBe,"./icons/mail-chat-bubble-square.svg":cBe,"./icons/mail-send-email-paper-airplane.svg":hBe,"./icons/mail-send-envelope.svg":bBe,"./icons/money-cashier-receipt.svg":wBe,"./icons/money-currency-dollar-pay.svg":_Be,"./icons/money-graph-arrow-increase.svg":CBe,"./icons/money-graph-bar-chart-increase.svg":DBe,"./icons/nature-ecology-leaf.svg":LBe,"./icons/phone-telephone.svg":FBe,"./icons/programming-bug.svg":HBe,"./icons/programming-cloud.svg":XBe,"./icons/programming-computer-database-server.svg":JBe,"./icons/programming-computer-database.svg":nUe,"./icons/programming-module-four-layout.svg":sUe,"./icons/programming-module-three.svg":dUe,"./icons/programming-module.svg":mUe,"./icons/programming-script-code.svg":yUe,"./icons/shopping-cart.svg":kUe,"./icons/shopping-gift-present.svg":TUe,"./icons/shopping-shipping-box-parcel-package.svg":$Ue,"./icons/tag-new-circle.svg":NUe,"./icons/travel-map-earth-globe.svg":BUe})),FUe=UUe.iconDefinitionList,QUe=UUe.iconDataMap,zUe=Li({__name:"LibraryIcon",props:{src:{}},setup(e){const t=e,r=gc((()=>(e=>QUe[e])(t.src)));return(e,t)=>r.value?(Dl(),jl(cs(r.value),{key:0})):Xl("",!0)}}),qUe={class:"m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"},HUe={class:"flex h-4 w-4 items-center justify-center"},VUe=Li({__name:"EnvironmentSelector",setup(e){const{activeCollection:t,activeWorkspace:r,activeEnvironment:n}=Bbe(),{collectionMutators:a}=AOe(),{layout:o}=rve(),i=Tbe(),s=e=>{t.value&&r.value&&(a.edit(t.value.uid,"x-scalar-active-environment",e),r.value.activeEnvironmentId=e)},l=()=>i.push({name:"environment.default",params:{[Pbe.Workspace]:r.value?.uid}}),c=gc((()=>{const{value:e}=n,{value:r}=t;return e?.name||r?.["x-scalar-active-environment"]||"No Environment"})),u=gc((()=>{const{value:e}=t,r=e?.["x-scalar-environments"];return r?Object.entries(r).map((([e,t])=>({...t,uid:e,name:e}))):[]}));hl(u,((e,t)=>{e.length>t.length&&(()=>{const e=u.value;if(e.length>0){const t=e[e.length-1];t?.uid&&s(t.uid)}})()}));const d=e=>{const n=e["x-scalar-active-environment"];n&&t.value&&r.value?(t.value["x-scalar-active-environment"]=n,r.value.activeEnvironmentId=n):r.value&&(r.value.activeEnvironmentId="")};return hl(t,(e=>e&&d(e))),Yi((()=>{t.value&&d(t.value)})),(e,r)=>(Dl(),jl(Ao(sY),{teleport:""},{items:ci((()=>[(Dl(!0),Ll(Tl,null,ps(u.value,(e=>(Dl(),jl(Ao(L7),{key:e.uid,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:Tu((t=>s(e.uid)),["stop"])},{default:ci((()=>[ql(Ao(yX),{selected:Ao(t)?.["x-scalar-active-environment"]===e.uid},null,8,["selected"]),Zl(" "+Gn(e.name),1)])),_:2},1032,["onClick"])))),128)),ql(Ao(L7),{class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:r[0]||(r[0]=Tu((e=>s("")),["stop"]))},{default:ci((()=>[ql(Ao(yX),{selected:""===Ao(n)?.uid&&""===Ao(t)?.["x-scalar-active-environment"]||"No Environment"===Ao(n)?.name},null,8,["selected"]),r[1]||(r[1]=Zl(" No Environment "))])),_:1,__:[1]}),ql(Ao(J6)),"modal"!==Ao(o)?(Dl(),jl(Ao(L7),{key:0,class:"flex items-center gap-1.5",onClick:l},{default:ci((()=>[zl("div",HUe,[ql(Ao(A6),{icon:"Brackets",size:"sm"})]),r[2]||(r[2]=zl("span",{class:"leading-none"},"Manage Environments",-1))])),_:1,__:[2]})):Xl("",!0)])),default:ci((()=>[ql(Ao(Oq),{class:"text-c-1 hover:bg-b-2 line-clamp-1 h-auto w-fit justify-start px-1.5 py-1.5 font-normal",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("h2",qUe,Gn(c.value),1)])),_:1})])),_:1}))}}),ZUe=Li({__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){const t=e,r=gc((()=>t.art.split("\n"))),n=(e,t)=>({animationDuration:100*e+"ms, 500ms",animationTimingFunction:`steps(${e}), step-end`,animationDelay:100*t+"ms, 0ms",animationIterationCount:"1, "+100*((r.value?.length??0)+(r.value?.[r.value?.length-1]?.length??0)+5)/500});return(e,t)=>(Dl(),Ll("div",{"aria-hidden":"true",class:zn(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{"ascii-art-animate":e.animate}]),role:"presentation",inert:""},[(Dl(!0),Ll(Tl,null,ps(r.value,((e,t)=>(Dl(),Ll("span",{key:t,class:"inline-block",style:jn({width:`calc(${e.length+1}ch)`})},[zl("span",{class:"inline-block whitespace-pre overflow-hidden",style:jn(n(e.length,t))},Gn(e),5)],4)))),128))],2))}}),WUe=W7(ZUe,[["__scopeId","data-v-69ebd973"]]);const XUe=Li({__name:"SidebarButton",props:{click:{type:Function},hotkey:{}},setup(e){const t=e,{layout:r}=rve(),n=()=>{t.click()};return(e,t)=>(Dl(),jl(Ao(Oq),{class:"bg-b-1 text-c-1 hover:bg-b-2 group relative h-auto w-auto border px-2 py-1 md:w-full md:p-1.5",icon:"Plus",variant:"outlined",onClick:n},{default:ci((()=>[fs(e.$slots,"title"),e.hotkey&&"desktop"===Ao(r)?(Dl(),jl(Ao(kY),{key:0,class:"text-c-2 add-item-hotkey absolute right-2 hidden group-hover:opacity-80 md:flex",hotkey:e.hotkey},null,8,["hotkey"])):Xl("",!0)])),_:3}))}}),GUe={class:"flex justify-between gap-10"},YUe=Li({__name:"SidebarListElementForm",props:{danger:{type:Boolean},label:{}},emits:["cancel","submit"],setup(e,{emit:t}){const r=t;return(e,t)=>(Dl(),Ll("form",{class:"flex flex-col gap-4 text-base",onSubmit:t[1]||(t[1]=Tu((e=>r("submit")),["prevent"]))},[fs(e.$slots,"default",{},void 0,!0),zl("div",GUe,[ql(Ao(Oq),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-2.5 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:t[0]||(t[0]=e=>r("cancel"))},{default:ci((()=>t[2]||(t[2]=[Zl(" Cancel ")]))),_:1,__:[2]}),ql(Ao(Oq),{class:"custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",type:"submit",variant:e.danger?"danger":"solid"},{default:ci((()=>[Zl(Gn(e.label??"Save"),1)])),_:1},8,["variant"])])],32))}}),KUe=W7(YUe,[["__scopeId","data-v-a93bfefe"]]),JUe={key:0,class:"text-c-2 text-sm leading-normal text-pretty"},eFe=Li({__name:"DeleteSidebarListElement",props:{variableName:{},warningMessage:{}},emits:["close","delete"],setup(e,{emit:t}){const r=e,n=t,a=gc((()=>r.variableName.length>18?r.variableName.slice(0,18)+"…":r.variableName));return(e,t)=>(Dl(),jl(KUe,{danger:"",label:`Delete ${a.value}`,onCancel:t[0]||(t[0]=e=>n("close")),onSubmit:t[1]||(t[1]=e=>n("delete"))},{default:ci((()=>[e.warningMessage?(Dl(),Ll("p",JUe,Gn(e.warningMessage),1)):Xl("",!0)])),_:1},8,["label"]))}}),tFe={class:"flex text-sm"},rFe={class:"bg-b-1 custom-scroll grid w-dvw max-w-[420px] auto-rows-[32px] grid-cols-[repeat(auto-fill,minmax(32px,1fr))] content-between justify-between rounded border p-1"},nFe=Li({__name:"IconSelector",props:{modelValue:{},placement:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,a=gc({get:()=>r.modelValue,set:e=>n("update:modelValue",e)});return(e,t)=>(Dl(),jl(Ao(e7),{class:"bg-b-2 rounded",focus:"",placement:e.placement??"bottom"},{popover:ci((({close:r})=>[ql(Ao(VQ),{modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),class:"flex flex-col"},{default:ci((()=>[zl("div",tFe,[ql(Ao(GQ),{class:"text-c-2 px-1 py-1"},{default:ci((()=>[fs(e.$slots,"title",{},(()=>[t[1]||(t[1]=Zl("Select an icon"))]))])),_:3})]),zl("ul",rFe,[(Dl(!0),Ll(Tl,null,ps(Ao(FUe),(e=>(Dl(),jl(Ao(XQ),{key:e.src,as:"li",class:"text-c-3 hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2 flex cursor-pointer items-center justify-center rounded p-2",value:e.src,onClick:r},{default:ci((()=>[ql(Ao(GQ),{class:"sr-only"},{default:ci((()=>[Zl(Gn(e.src.replaceAll("-"," "))+" Icon ",1)])),_:2},1024),ql(Ao(zUe),{class:"stroke-[1.5]",src:e.src},null,8,["src"])])),_:2},1032,["value","onClick"])))),128))])])),_:2},1032,["modelValue"])])),default:ci((()=>[fs(e.$slots,"default")])),_:3},8,["placement"]))}}),aFe={class:"grid grid-cols-[auto_1fr] gap-2"},oFe={class:"flex aspect-square"},iFe=Li({__name:"EditSidebarListCollection",props:{name:{},icon:{}},emits:["close","edit"],setup(e,{emit:t}){const r=e,n=t,a=So(r.name),o=So(r.icon);return(e,t)=>(Dl(),jl(KUe,{onCancel:t[2]||(t[2]=e=>n("close")),onSubmit:t[3]||(t[3]=e=>n("edit",a.value,o.value))},{default:ci((()=>[zl("div",aFe,[zl("div",oFe,[ql(nFe,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),placement:"bottom-start"},{default:ci((()=>[ql(Ao(Oq),{class:"aspect-square h-auto px-0",variant:"outlined"},{default:ci((()=>[ql(Ao(zUe),{class:"text-c-2 size-4",src:o.value},null,8,["src"])])),_:1})])),_:1},8,["modelValue"])]),ql(Ao(P7),{modelValue:a.value,"onUpdate:modelValue":t[1]||(t[1]=e=>a.value=e),autofocus:"",class:"flex-1"},null,8,["modelValue"])])])),_:1}))}}),sFe=Li({__name:"EditSidebarListElement",props:{name:{}},emits:["close","edit"],setup(e,{emit:t}){const r=t,n=So(e.name);return(e,t)=>(Dl(),jl(KUe,{onCancel:t[1]||(t[1]=e=>r("close")),onSubmit:t[2]||(t[2]=e=>r("edit",n.value))},{default:ci((()=>[ql(Ao(P7),{modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e),autofocus:""},null,8,["modelValue"])])),_:1}))}}),lFe=Li({__name:"RequestSidebarItemMenu",props:{menuItem:{}},emits:["closeMenu","toggleWatchMode","clearDrafts"],setup(e,{emit:t}){const r=e,n=t,{replace:a}=Tbe(),{activeRouterParams:o,activeWorkspaceCollections:i,activeWorkspaceRequests:s}=Bbe(),{events:l,requestMutators:c}=AOe(),u=B7(),d=B7(),p=B7(),h=()=>l.commandPalette.emit({commandName:"Add Example",metaData:{itemUid:r.menuItem.item?.entity.uid}}),f=(e,t)=>{r.menuItem.item?.edit(e,t),u.hide()},m=()=>{if(r.menuItem.item?.delete(),!s.value.length){const{request:e}=gOe(),t=i.value.find((e=>"Drafts"===e.info?.title));t&&(c.add(e,t.uid),a({name:"request",params:{[Pbe.Request]:e.uid}}))}if(o.value[Pbe.Request]===r.menuItem.item?.entity.uid&&a({name:"request",params:{[Pbe.Request]:"default"}}),o.value[Pbe.Examples]===r.menuItem.item?.entity.uid&&a({name:"request",params:{[Pbe.Request]:"default"}}),i.value[0]){const e=i.value[0].requests[0];a({name:"request",params:{[Pbe.Request]:e}})}d.hide()},g=So(null);hl([()=>r.menuItem.open,g],(async([e])=>{e&&g.value?.$parent?.$el&&g.value.$parent.$el.focus()}));const b=()=>r.menuItem.open&&n("closeMenu");Yi((()=>window.addEventListener("click",b))),es((()=>window.removeEventListener("click",b)));const v=()=>{n("toggleWatchMode",r.menuItem.item)},y=()=>{n("clearDrafts"),p.hide()},O=gc((()=>"Drafts"===r.menuItem.item?.title));return(e,t)=>(Dl(),Ll(Tl,null,[e.menuItem.targetRef&&e.menuItem.open?(Dl(),jl(Ao(JG),{key:0,placement:"right-start",target:e.menuItem.targetRef,teleport:""},{floating:ci((()=>[ql(Ao(iY),{onKeydown:t[3]||(t[3]=Cu((t=>e.$emit("closeMenu")),["escape"]))},{default:ci((()=>["request"===e.menuItem.item?.entity.type?(Dl(),jl(Ao(Y6),{key:0,class:"flex items-center gap-2",onClick:h},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:"Example",size:"md",thickness:"1.5"}),t[8]||(t[8]=zl("span",null,"Add Example",-1))])),_:1,__:[8]})):Xl("",!0),O.value?Xl("",!0):(Dl(),jl(Ao(Y6),{key:1,ref_key:"menuRef",ref:g,class:"flex items-center gap-2",onClick:t[0]||(t[0]=e=>Ao(u).show())},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:"Edit",size:"md",thickness:"1.5"}),zl("span",null,["collection"===e.menuItem.item?.entity.type?(Dl(),Ll(Tl,{key:0},[Zl(" Edit ")],64)):(Dl(),Ll(Tl,{key:1},[Zl(" Rename ")],64))])])),_:1},512)),e.menuItem.item?.documentUrl?(Dl(),jl(Ao(Y6),{key:2,ref_key:"menuRef",ref:g,class:"flex items-center gap-2",onClick:v},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:e.menuItem.item?.watchMode?"Unwatch":"Watch",size:"md",thickness:"1.5"},null,8,["icon"]),zl("span",null,Gn(e.menuItem.item?.watchMode?"Disable Watch Mode":"Enable Watch Mode"),1)])),_:1},512)):Xl("",!0),O.value?Xl("",!0):(Dl(),jl(Ao(Y6),{key:3,class:"flex items-center gap-2",onClick:t[1]||(t[1]=e=>Ao(d).show())},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),t[9]||(t[9]=zl("span",null,"Delete",-1))])),_:1,__:[9]})),O.value?(Dl(),jl(Ao(Y6),{key:4,class:"flex items-center gap-2",onClick:t[2]||(t[2]=e=>Ao(p).show())},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),t[10]||(t[10]=zl("span",null,"Clear Drafts",-1))])),_:1,__:[10]})):Xl("",!0)])),_:1})])),_:1},8,["target"])):Xl("",!0),ql(Ao(F7),{size:"xxs",state:Ao(d),title:`Delete ${e.menuItem.item?.resourceTitle}`},{default:ci((()=>[ql(eFe,{variableName:e.menuItem.item?.title??"",warningMessage:e.menuItem.item?.warning,onClose:t[4]||(t[4]=e=>Ao(d).hide()),onDelete:m},null,8,["variableName","warningMessage"])])),_:1},8,["state","title"]),ql(Ao(F7),{size:"xxs",state:Ao(u),title:`Edit ${e.menuItem.item?.resourceTitle}`},{default:ci((()=>["Collection"===e.menuItem.item?.resourceTitle?(Dl(),jl(iFe,{key:0,icon:e.menuItem.item?.icon||"interface-content-folder",name:e.menuItem.item?.title,onClose:t[5]||(t[5]=e=>Ao(u).hide()),onEdit:f},null,8,["icon","name"])):(Dl(),jl(sFe,{key:1,name:e.menuItem.item?.title??"",onClose:t[6]||(t[6]=e=>Ao(u).hide()),onEdit:f},null,8,["name"]))])),_:1},8,["state","title"]),ql(Ao(F7),{size:"xxs",state:Ao(p),title:"Clear Drafts"},{default:ci((()=>[ql(eFe,{variableName:"All Drafts",warningMessage:"This action will clear all drafts. This cannot be undone.",onClose:t[7]||(t[7]=e=>Ao(p).hide()),onDelete:y})])),_:1},8,["state"])],64))}}),cFe=W7(lFe,[["__scopeId","data-v-c405ab35"]]),uFe=So(null),dFe=So(null),pFe=["draggable"],hFe=Li({__name:"Draggable",props:{ceiling:{default:.8},floor:{default:.2},isDraggable:{type:Boolean,default:!0},isDroppable:{type:[Boolean,Function],default:!0},parentIds:{},id:{}},emits:["onDragEnd","onDragStart"],setup(e,{expose:t,emit:r}){const n=r,a=gc((()=>e.parentIds.at(-1)??null)),o=t=>{!t.dataTransfer||!(t.target instanceof HTMLElement)||!e.isDraggable||(t.target.classList.add("dragging"),t.dataTransfer.dropEffect="move",t.dataTransfer.effectAllowed="move",uFe.value={id:e.id,parentId:a.value},n("onDragStart",{id:e.id,parentId:a.value}))},i=(e=>{let t=!1;return(...r)=>{t||(e(...r),t=!0,setTimeout((()=>t=!1),25))}})((t=>{if(!uFe.value||uFe.value.id===e.id||e.parentIds.includes(uFe.value?.id??""))return;const r=dFe.value?.offset,n=t.target.offsetHeight,o=e.floor*n,i=e.ceiling*n;let s=3;t.offsetY<=0&&r&&3!==r?s=r:t.offsetY<=o?s=0:t.offsetY>=i?s=1:t.offsetY>o&&t.offsetY<i&&(s=2),(t=>"function"==typeof e.isDroppable?e.isDroppable(uFe.value,{id:e.id,parentId:a.value,offset:t}):e.isDroppable)(s)&&(dFe.value={id:e.id,parentId:a.value,offset:s})})),s=["above","below","asChild"],l=gc((()=>{let t="sidebar-indent-nested";return e.id===dFe.value?.id&&(t+=` dragover-${s[dFe.value.offset]}`),t})),c=()=>{if(!dFe.value||!uFe.value)return;const e={...uFe.value},t={...dFe.value};uFe.value=null,dFe.value=null,document.querySelectorAll("div.dragging").forEach((e=>e.classList.remove("dragging"))),e.id!==t.id&&n("onDragEnd",e,t)};return t({draggingItem:uFe,hoveredItem:dFe}),(e,t)=>(Dl(),Ll("div",{class:zn(l.value),draggable:e.isDraggable,onDragend:c,onDragover:t[0]||(t[0]=Tu(((...e)=>Ao(i)&&Ao(i)(...e)),["prevent","stop"])),onDragstart:Tu(o,["stop"])},[fs(e.$slots,"default",{},void 0,!0)],42,pFe))}}),fFe=((e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r})(hFe,[["__scopeId","data-v-a89d6a6e"]]),mFe={class:"line-clamp-1 w-full pl-2 break-all"},gFe={class:"flex flex-row items-center gap-1"},bFe={class:"relative"},vFe={class:"flex items-start"},yFe={class:"flex flex-1 flex-row justify-between font-medium"},OFe={class:"line-clamp-1 w-full text-left break-all"},wFe={class:"relative flex h-fit justify-end"},xFe={class:"flex items-center justify-center",type:"button"},kFe=["aria-expanded"],SFe={class:"flex h-5 max-w-[14px] items-center justify-center"},_Fe={class:"flex flex-1 flex-row justify-between"},EFe={class:"line-clamp-1 w-full text-left font-medium break-all"},TFe={class:"relative flex h-fit justify-end"},AFe={class:"flex items-center justify-center",type:"button"},CFe={key:3},PFe="hover:bg-sidebar-b-active indent-padding-left",$Fe=Li({__name:"RequestSidebarItem",props:{isDraggable:{type:Boolean,default:!1},isDroppable:{type:[Boolean,Function],default:!1},parentUids:{},uid:{},menuItem:{}},emits:["onDragEnd","newTab","openMenu"],setup(e,{emit:t}){Zc((e=>({eae2c57a:x.value,"7c91ad9b":k.value})));const r=t,{activeCollection:n,activeRequest:a,activeRouterParams:o,activeWorkspace:i}=Bbe(),{collections:s,tags:l,requests:c,requestExamples:u,collectionMutators:d,tagMutators:p,requestMutators:h,requestExampleMutators:f,events:m}=AOe(),g=Tbe(),{collapsedSidebarFolders:b,toggleSidebarFolder:v}=lwe(),{layout:y}=rve(),O=gc((()=>{const t=s[e.uid],r=l[e.uid],n=c[e.uid],a=u[e.uid];return t?{title:t.info?.title||"Untitled Collection",entity:t,resourceTitle:"Collection",children:t.children,icon:t["x-scalar-icon"],documentUrl:t.documentUrl,watchMode:t.watchMode,to:t.uid&&"Drafts"!==t?.info?.title?{name:"collection",params:{[Pbe.Workspace]:i.value?.uid,[Pbe.Collection]:t.uid}}:void 0,warning:"This cannot be undone. You're about to delete the collection and all folders and requests inside it.",edit:(e,r)=>{d.edit(t.uid,"info.title",e),r&&d.edit(t.uid,"x-scalar-icon",r)},delete:()=>{i.value&&d.delete(t,i.value)}}:r?{title:r.name,entity:r,resourceTitle:"Tag",children:r.children,warning:"This cannot be undone. You're about to delete the tag and all requests inside it",edit:e=>p.edit(r.uid,"name",e),delete:()=>e.parentUids[0]&&p.delete(r,e.parentUids[0])}:n?{title:n.summary??n.path,to:{name:"request",params:{workspace:i.value?.uid,request:n.uid}},method:n.method,entity:n,resourceTitle:"Request",warning:"This cannot be undone. You're about to delete the request.",children:n.examples.slice(1),edit:e=>h.edit(n.uid,"summary",e),delete:()=>e.parentUids[0]&&h.delete(n,e.parentUids[0])}:a?.requestUid?{title:a.name,to:{name:"request.examples",params:{workspace:i.value?.uid,request:a.requestUid,examples:a.uid}},method:c[a.requestUid]?.method,entity:a,resourceTitle:"Example",warning:"This cannot be undone. You're about to delete the example from the request.",children:[],edit:e=>f.edit(a.uid,"name",e),delete:()=>f.delete(a)}:{title:"Unknown",entity:{uid:"",type:"unknown"},resourceTitle:"Unknown",children:[],edit:()=>null,delete:()=>null}})),w=gc((()=>"collection"===O.value.entity.type&&"Drafts"===O.value.title)),x=gc((()=>e.parentUids.length?"modal"===y?12*(e.parentUids.length-1)+"px":12*e.parentUids.length+"px":"12px")),k=gc((()=>e.parentUids.length?"modal"===y?12*(e.parentUids.length-1)+"px":12*e.parentUids.length+"px":"0px")),S=gc((()=>b[e.uid]||a.value?.uid===e.uid&&O.value.entity.examples.length>1)),_=gc((()=>"string"==typeof g.currentRoute.value.name&&g.currentRoute.value.name.startsWith("request")&&"default"===o.value[Pbe.Request]&&a.value?.uid===e.uid)),E=So(null),T=gc((()=>{let e=.5,t=.5;if(!E.value)return{ceiling:e,floor:t};const{draggingItem:r}=E.value;return s[r?.id]||"collection"!==O.value.entity.type?"tag"===O.value.entity.type&&(e=.8,t=.2):(e=1,t=0),{ceiling:e,floor:t}})),A=(e,t)=>!("modal"===y||u[t.id]||s[e.id]);function C(t){const r=e.parentUids[0]?s[e.parentUids[0]]?.uid||"":t,n=e.parentUids[0]&&l[t]?.name?{tags:[l[t].name]}:{},a=h.add(n,r);a&&(g.push({name:"request",params:{workspace:i.value?.uid,request:a.uid}}),m.hotKeys.emit({focusAddressBar:new KeyboardEvent("keydown",{key:"l"})}))}const P=gc((()=>{const{uid:e,watchModeStatus:t}=n.value||{};return e!==O.value.entity.uid?"text-c-3":"WATCHING"===t?"text-c-1":"ERROR"===t?"text-red":"text-c-3"})),$=gc((()=>"Drafts"===O.value.title&&"modal"!==y&&O.value.children.length>0)),M=gc((()=>{const t=c[e.uid];if(t)return!iB(t);const r=l[e.uid];return!r||!iB(r)}));return(e,t)=>{const n=ss("RequestSidebarItem",!0);return M.value?(Dl(),Ll("li",{key:0,class:zn(["relative flex flex-row",["modal"===Ao(y)&&e.parentUids.length>1||"modal"!==Ao(y)&&e.parentUids.length?"before:bg-border indent-border-line-offset mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-[calc(.75rem_+_.5px)] before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full":""]])},[ql(Ao(fFe),{id:O.value.entity.uid,ref_key:"draggableRef",ref:E,ceiling:T.value.ceiling,class:"gap-1/2 flex flex-1 flex-col text-base",floor:T.value.floor,isDraggable:e.isDraggable,isDroppable:e.isDroppable,parentIds:e.parentUids,onOnDragEnd:t[12]||(t[12]=(...t)=>e.$emit("onDragEnd",...t))},{default:ci((()=>["request"!==O.value.entity.type&&"requestExample"!==O.value.entity.type||!O.value.to?("modal"!==Ao(y)||e.parentUids.length)&&"collection"===O.value.entity.type&&O.value.to?(Dl(),jl(Ao(wbe),{key:1,"aria-expanded":!!Ao(b)[O.value.entity.uid],class:zn(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 no-underline focus-visible:z-10",[PFe,{"bg-sidebar-b-active text-sidebar-c-active transition-none":"string"==typeof Ao(g).currentRoute.value.name&&Ao(g).currentRoute.value.name.startsWith("collection")&&Ao(g).currentRoute.value.params[Ao(Pbe).Collection]===O.value.entity.uid,"text-c-2":"Untitled Collection"===O.value.title}]]),to:O.value.to},{default:ci((()=>[zl("span",{class:"flex h-5 max-w-[14px] cursor-pointer items-center justify-center",onClick:t[2]||(t[2]=Tu((e=>Ao(v)(O.value.entity.uid)),["stop","prevent"]))},[fs(e.$slots,"leftIcon",{},(()=>[ql(Ao(g7),{class:"text-c-3 shrink-0",open:!!Ao(b)[O.value.entity.uid]},null,8,["open"])]),!0),t[15]||(t[15]=Zl(" "))]),zl("div",yFe,[zl("span",OFe,Gn(O.value.title),1),zl("div",wFe,[zl("div",{class:zn(["items-center gap-px opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:e.menuItem.open,hidden:!e.menuItem.open||e.menuItem.item?.entity.uid!==O.value.entity.uid}])},["modal"!==Ao(y)&&!w.value||w.value&&$.value?(Dl(),jl(Ao(Oq),{key:0,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:t[3]||(t[3]=Tu((t=>e.$emit("openMenu",{item:O.value,parentUids:e.parentUids,targetRef:t.currentTarget.parentNode,open:!0})),["stop","prevent"]))},{default:ci((()=>[ql(Ao(A6),{icon:"Ellipses",size:"md"})])),_:1})):Xl("",!0),"modal"!==Ao(y)?(Dl(),jl(Ao(Oq),{key:1,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:t[4]||(t[4]=Tu((e=>C(O.value.entity.uid)),["stop","prevent"]))},{default:ci((()=>[ql(Ao(A6),{icon:"Add",size:"md",thickness:"2"})])),_:1})):Xl("",!0)],2),O.value.watchMode?(Dl(),jl(Ao(R7),{key:0,placement:"right",offset:12,content:`Watching: ${O.value.documentUrl}`},{default:ci((()=>[zl("button",xFe,[ql(Ao(A6),{class:zn(["ml-0.5 text-sm",P.value]),icon:"Watch",size:"md",thickness:"2"},null,8,["class"])])])),_:1},8,["content"])):Xl("",!0),t[16]||(t[16]=zl("span",null," ",-1))])])])),_:3},8,["aria-expanded","class","to"])):"modal"!==Ao(y)||e.parentUids.length?(Dl(),Ll("button",{key:2,"aria-expanded":!!Ao(b)[O.value.entity.uid],class:zn(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10",[PFe]]),type:"button",onClick:t[7]||(t[7]=e=>Ao(v)(O.value.entity.uid))},[zl("span",SFe,[fs(e.$slots,"leftIcon",{},(()=>[ql(Ao(g7),{class:"text-c-3 hover:text-c-1 shrink-0",open:!!Ao(b)[O.value.entity.uid]},null,8,["open"])]),!0),t[17]||(t[17]=Zl(" "))]),zl("div",_Fe,[zl("span",EFe,Gn(O.value.title),1),zl("div",TFe,[zl("div",{class:zn(["items-center gap-px opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:e.menuItem.open,hidden:!e.menuItem.open||e.menuItem.item?.entity.uid!==O.value.entity.uid}])},["modal"!==Ao(y)&&!w.value||w.value&&$.value?(Dl(),jl(Ao(Oq),{key:0,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:t[5]||(t[5]=Tu((t=>e.$emit("openMenu",{item:O.value,parentUids:e.parentUids,targetRef:t.currentTarget.parentNode,open:!0})),["stop","prevent"]))},{default:ci((()=>[ql(Ao(A6),{icon:"Ellipses",size:"md"})])),_:1})):Xl("",!0),"modal"!==Ao(y)?(Dl(),jl(Ao(Oq),{key:1,class:"hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",size:"sm",variant:"ghost",onClick:t[6]||(t[6]=Tu((e=>C(O.value.entity.uid)),["stop","prevent"]))},{default:ci((()=>[ql(Ao(A6),{icon:"Add",size:"md",thickness:"2"})])),_:1})):Xl("",!0)],2),O.value.watchMode?(Dl(),jl(Ao(R7),{key:0,content:"Watching: {{ item.documentUrl }}",placement:"right",offset:12},{default:ci((()=>[zl("button",AFe,[ql(Ao(A6),{class:zn(["ml-0.5 text-sm",P.value]),icon:"Watch",size:"md",thickness:"2"},null,8,["class"])])])),_:1})):Xl("",!0),t[18]||(t[18]=zl("span",null," ",-1))])])],10,kFe)):Xl("",!0):(Dl(),jl(Ao(wbe),{key:0,class:"group no-underline",to:O.value.to,onClick:t[1]||(t[1]=Tu((e=>((e,t)=>{e&&(BMe(["default"]).some((t=>e[t]))?r("newTab",t.title||"",t.entity.uid):t.to&&g.push(t.to),Ko((()=>m.focusAddressBar.emit())))})(e,O.value)),["prevent"]))},{default:ci((({isExactActive:r})=>[zl("div",{class:zn(["relative flex min-h-8 w-full cursor-pointer flex-row items-start justify-between gap-0.5 rounded py-1.5 pr-2",[PFe,r||_.value?"bg-sidebar-b-active text-sidebar-c-active font-medium transition-none":"text-sidebar-c-2"]])},[zl("span",mFe,Gn(O.value.title||"Untitled"),1),zl("div",gFe,[zl("div",bFe,["modal"!==Ao(y)?(Dl(),jl(Ao(Oq),{key:0,class:zn(["hover:bg-b-3 hidden aspect-square h-fit px-0.5 py-0 opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{flex:e.menuItem?.item?.entity.uid===O.value.entity.uid&&e.menuItem.open}]),size:"sm",type:"button",variant:"ghost",onClick:t[0]||(t[0]=Tu((t=>e.$emit("openMenu",{item:O.value,parentUids:e.parentUids,targetRef:t.currentTarget,open:!e.menuItem.open})),["stop","prevent"]))},{default:ci((()=>[ql(Ao(A6),{icon:"Ellipses",size:"md"})])),_:1},8,["class"])):Xl("",!0)]),zl("span",vFe,[t[13]||(t[13]=Zl(" ")),t[14]||(t[14]=zl("span",{class:"sr-only"},"HTTP Method:",-1)),O.value.method?(Dl(),jl(Ao(pve),{key:0,class:"font-bold",method:O.value.method},null,8,["method"])):Xl("",!0)])])],2)])),_:1},8,["to"])),S.value?(Dl(),Ll("ul",CFe,[(Dl(!0),Ll(Tl,null,ps(O.value.children,(r=>(Dl(),jl(n,{key:r,isDraggable:!Ao(u)[r],isDroppable:A,menuItem:e.menuItem,parentUids:[...e.parentUids,e.uid],uid:r,onNewTab:t[8]||(t[8]=(t,r)=>e.$emit("newTab",t,r)),onOnDragEnd:t[9]||(t[9]=(...t)=>e.$emit("onDragEnd",...t)),onOpenMenu:t[10]||(t[10]=t=>e.$emit("openMenu",t))},null,8,["isDraggable","menuItem","parentUids","uid"])))),128)),0===O.value.children.length?(Dl(),jl(Ao(Oq),{key:0,class:zn(["text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 text-xs",e.parentUids.length?"pl-9":""]),variant:"ghost",onClick:t[11]||(t[11]=e=>C(O.value.entity.uid))},{default:ci((()=>[ql(Ao(A6),{icon:"Add",size:"sm"}),t[19]||(t[19]=zl("span",null,"Add Request",-1))])),_:1,__:[19]},8,["class"])):Xl("",!0)])):Xl("",!0)])),_:3},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)):Xl("",!0)}}}),MFe=W7($Fe,[["__scopeId","data-v-4dedda07"]]),DFe={class:"flex w-[inherit] items-center text-base"},RFe={class:"m-0 flex items-center gap-1.5 font-bold"},NFe={class:"line-clamp-1 text-left"},IFe={class:"overflow-hidden text-ellipsis"},LFe={class:"flex h-4 w-4 items-center justify-center"},jFe=Li({__name:"WorkspaceDropdown",setup(e){const{activeWorkspace:t}=Bbe(),{workspaces:r,workspaceMutators:n,events:a}=AOe(),{push:o}=Tbe(),i=gc((()=>1===Object.keys(r).length)),s=()=>a.commandPalette.emit({commandName:"Create Workspace"}),l=So(""),c=So(""),u=B7(),d=B7(),p=e=>{const t=r[e];t&&(l.value=t.name,c.value=e,u.show())},h=e=>{e.trim()&&(n.edit(c.value,"name",e.trim()),u.hide())},f=e=>{const t=r[e];t&&(l.value=t.name,c.value=e,d.show())},m=async()=>{if(!i.value){const e=t.value?.uid===c.value,a={...r};if(delete a[c.value],n.delete(c.value),e){const e=Object.keys(a)[0];await o({name:"workspace",params:{workspace:e}})}}d.hide()};return(e,n)=>(Dl(),Ll("div",null,[zl("div",DFe,[ql(Ao(sY),null,{items:ci((()=>[(Dl(!0),Ll(Tl,null,ps(Ao(r),((e,r)=>(Dl(),jl(Ao(L7),{key:r,class:"group/item flex w-full items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:Tu((r=>(e=>{e!==t.value?.uid&&o({name:"workspace",params:{workspace:e}})})(e.uid)),["stop"])},{default:ci((()=>[ql(Ao(yX),{selected:Ao(t)?.uid===r},null,8,["selected"]),zl("span",IFe,Gn(e.name),1),ql(Ao(sY),{placement:"right-start",teleport:""},{items:ci((()=>[ql(Ao(L7),{class:"flex gap-2",onMousedown:t=>p(e.uid),onTouchend:Tu((t=>p(e.uid)),["prevent"])},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:"Edit",size:"md",thickness:"1.5"}),n[2]||(n[2]=zl("span",null,"Rename",-1))])),_:2,__:[2]},1032,["onMousedown","onTouchend"]),i.value?Xl("",!0):(Dl(),jl(Ao(L7),{key:0,class:"flex gap-2",onMousedown:Tu((t=>f(e.uid)),["prevent"]),onTouchend:Tu((t=>f(e.uid)),["prevent"])},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"}),n[3]||(n[3]=zl("span",null,"Delete",-1))])),_:2,__:[3]},1032,["onMousedown","onTouchend"]))])),default:ci((()=>[ql(Ao(Oq),{class:"hover:bg-b-3 -mr-1 ml-auto aspect-square h-fit px-0.5 py-0 group-hover/item:flex",size:"sm",type:"button",variant:"ghost"},{default:ci((()=>[ql(Ao(A6),{icon:"Ellipses",size:"sm"})])),_:1})])),_:2},1024)])),_:2},1032,["onClick"])))),128)),ql(Ao(J6)),ql(Ao(L7),{class:"flex items-center gap-1.5",onClick:s},{default:ci((()=>[zl("div",LFe,[ql(Ao(A6),{icon:"Add",size:"sm"})]),n[4]||(n[4]=zl("span",null,"Create Workspace",-1))])),_:1,__:[4]})])),default:ci((()=>[ql(Ao(Oq),{class:"text-c-1 hover:bg-b-2 line-clamp-1 h-full w-fit justify-start px-1.5 py-1.5 font-normal",fullWidth:"",variant:"ghost"},{default:ci((()=>[zl("div",RFe,[zl("h2",NFe,Gn(Ao(t)?.name),1)])])),_:1})])),_:1})]),ql(Ao(F7),{size:"xxs",state:Ao(d),title:"Delete workspace"},{default:ci((()=>[ql(eFe,{variableName:l.value,warningMessage:"This cannot be undone. You're about to delete the workspace and everything inside it.",onClose:n[0]||(n[0]=e=>Ao(d).hide()),onDelete:m},null,8,["variableName"])])),_:1},8,["state"]),ql(Ao(F7),{size:"xxs",state:Ao(u),title:"Rename Workspace"},{default:ci((()=>[ql(sFe,{name:l.value,onClose:n[1]||(n[1]=e=>Ao(u).hide()),onEdit:h},null,8,["name"])])),_:1},8,["state"])]))}}),BFe={class:"bg-b-1 sticky top-0 z-20 flex h-12 items-center px-3"},UFe={key:1,class:"text-c-3"},FFe=["aria-pressed"],QFe={class:"sr-only"},zFe={key:0,class:"search-button-fade sticky top-12 z-10 px-3 py-2.5 pt-0 focus-within:z-20",role:"search"},qFe={key:1,class:"contents"},HFe={key:0,class:"empty-sidebar-item-content px-2.5 py-2.5"},VFe={class:"rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]"},ZFe=Li({__name:"RequestSidebar",emits:["newTab","clearDrafts"],setup(e,{emit:t}){const r=t,{collapsedSidebarFolders:n,isSidebarOpen:a,setCollapsedSidebarFolder:o,toggleSidebarOpen:i}=lwe(),{layout:s}=rve(),l=AOe(),{activeCollection:c,activeWorkspaceCollections:u,activeRequest:d,activeWorkspaceRequests:p,activeWorkspace:h}=Bbe(),{findRequestParents:f,events:m,requestMutators:g,requests:b}=l,{handleDragEnd:v,isDroppable:y}=function(e,{collections:t,collectionMutators:r,tags:n,tagMutators:a,workspaceMutators:o}){const{layout:i}=rve(),s=(e,t)=>{"collection"===e.type?r.edit(e.uid,"children",t):"tag"===e.type&&a.edit(e.uid,"children",t)};return{handleDragEnd:(i,l)=>{if(!i||!l)return;const{id:c,parentId:u}=i,{id:d,parentId:p,offset:h}=l;if(u?t[u]?r.edit(u,"children",t[u].children.filter((e=>e!==c))):n[u]&&a.edit(u,"children",n[u].children.filter((e=>e!==c))):o.edit(e.value?.uid,"collections",e.value?.collections.filter((e=>e!==c))??[]),2===h){const e=t[d]||n[d];e&&s(e,[...e.children??[],c])}else if(p){const e=t[p]||n[p];if(!e)return;const r=[...e.children??[]],a=r.findIndex((e=>d===e))??0;r.splice(a+h,0,c),s(e,r)}else{const t=[...e.value?.collections??[]],r=t.findIndex((e=>d===e))??0;t.splice(r+h,0,c),o.edit(e.value?.uid,"collections",t)}},isDroppable:(e,r)=>!("modal"===i||!t[e.id]&&2!==r.offset||t[e.id]&&"Drafts"===t[r.id]?.info?.title)}}(h,l),{replace:O}=Tbe(),w=()=>{m.commandPalette.emit({commandName:"Import from OpenAPI/Swagger/Postman/cURL"})},x=ji(),{toast:k}=JW(),S=uo({open:!1}),_=So(!1);hl(d,(e=>{e&&f(e).forEach((e=>o(e,!0)))}),{immediate:!0});const{searchText:E,searchResultsWithPlaceholderResults:T,selectedSearchResult:A,onSearchResultClick:C,fuseSearch:P,searchInputRef:$,searchResultRefs:M,navigateSearchResults:D,selectSearchResult:R}=function(){const e=Tbe(),{activeWorkspace:t,activeWorkspaceRequests:r,activeWorkspaceCollections:n}=Bbe(),{requests:a,tags:o}=AOe(),i=So([]),s=So([]),l=So(0),c=So(""),u=So(null),d=So([]),p=new ege(i.value,{keys:["title","description","body"]}),h=r=>{i.value=r.filter((e=>!iB(e))).filter((e=>!n.value?.find((t=>t.requests.includes(e.uid)))?.tags.map((e=>o[e])).filter(OB).filter((t=>e.tags?.includes(t.name))).filter((e=>iB(e))).length)).map((r=>({id:r.uid,title:r.summary??r.method,description:r.description??"",httpVerb:r.method,path:r.path,link:e?.resolve({name:"request",params:{[Pbe.Request]:r.uid,[Pbe.Workspace]:t.value?.uid}})?.href}))),p.setCollection(i.value)},f=()=>{l.value=0,s.value=p.search(c.value)};hl(c,(e=>{e.length?f():s.value=[]}));const m=gc((()=>r.value.map((e=>a[e])).filter(OB)));hl(r,(()=>{h(m.value)}),{immediate:!0});const g=t=>{e.push(t.item.id),c.value="",l.value=0,s.value=[],u.value instanceof HTMLInputElement&&u.value.blur()},b=gc((()=>0===c.value.length?i.value.map((e=>({item:e}))):s.value));return{searchText:c,searchResultsWithPlaceholderResults:b,selectedSearchResult:l,onSearchResultClick:g,fuseSearch:f,searchInputRef:u,searchResultRefs:d,navigateSearchResults:e=>{const t="up"===e?-1:1,r=b.value.length;l.value=(l.value+t+r)%r,Ko((()=>{const e=d.value[l.value];e instanceof HTMLElement&&e.scrollIntoView({behavior:"smooth",block:"center"})}))},selectSearchResult:()=>{if(l.value>=0){const e=b.value[l.value];e&&g(e)}},populateFuseDataArray:h}}(),N=So(),I=e=>{e&&(e.toggleSidebar&&i(),e.focusRequestSearch&&$.value?.focus())};Yi((()=>m.hotKeys.on(I))),es((()=>{m.hotKeys.off(I)}));const L=e=>{if(e?.documentUrl){e.watchMode=!e.watchMode;const t=u.value.find((t=>t.uid===e.entity.uid));t&&(t.watchMode=e.watchMode)}};hl((()=>u.value.map((e=>e.watchMode))),((e,t)=>{e.forEach(((e,r)=>{if("modal"!==s&&e!==t[r]&&"Drafts"!==u.value[r]?.info?.title&&u.value[r]){const t=u.value[r];if(!t)return;const n=`${t.info?.title}: Watch Mode ${e?"enabled":"disabled"}`;k(n,"info")}}))}));const j=gc((()=>{const e=T.value;if(!e.length)return"No results found";const t=e[A.value]?.item;if(!t)return"No result selected";const r=E.value.length?`${e.length} result${1===e.length?"":"s"} found, `:"",n=`, HTTP Method ${t.httpVerb}, Path ${t.path}`;return`${r}Selected: ${t.title} ${n}`})),B=()=>{const e=u.value.find((e=>"Drafts"===e.info?.title));if(e&&e.requests.forEach((t=>{b[t]&&g.delete(b[t],e.uid)})),p.value.length){const e=u.value[0]?.requests[0];e&&O({name:"request",params:{[Pbe.Request]:e}})}else{const{request:t}=gOe();e&&(g.add(t,e.uid),O({name:"request",params:{[Pbe.Request]:t.uid}}))}};hl(_,(e=>{e||(E.value="")}));const U=gc((()=>((e,t,r)=>{const n=e.find((e=>"Drafts"===e.info?.title)),a=1===t.length;if(!t[0])return!1;const o=n?.requests.includes(t[0]);if(!o)return!1;const i="My First Request"!==r[n?.requests[0]??""]?.summary;return a&&o&&!i})(u.value,p.value,b))),F=gc((()=>"modal"===s&&c.value?[c.value]:u.value));function Q(e){!E.value&&e.relatedTarget!==N.value&&(_.value=!1)}return(e,t)=>(Dl(),Ll(Tl,null,[ui(ql(Ao(hwe),{class:zn([Ao(a)?"sidebar-active-width":""])},hs({content:ci((()=>[zl("div",BFe,[zl("div",{class:zn(["size-8",{"xl:hidden":"modal"!==Ao(s)}])},null,2),"modal"!==Ao(s)?(Dl(),jl(Ao(jFe),{key:0})):Xl("",!0),"modal"!==Ao(s)?(Dl(),Ll("span",UFe," / ")):Xl("",!0),"modal"!==Ao(s)?(Dl(),jl(VUe,{key:2})):Xl("",!0),zl("button",{ref_key:"searchToggleRef",ref:N,"aria-pressed":_.value,class:"ml-auto",type:"button",onClick:t[0]||(t[0]=e=>_.value=!_.value)},[zl("span",QFe,Gn(_.value?"Hide":"Show")+" search ",1),ql(Ao(A6),{class:"text-c-3 hover:bg-b-2 max-h-8 max-w-8 rounded-lg p-1.75 text-sm",icon:"Search"})],8,FFe)]),_.value?(Dl(),Ll("div",zFe,[ql(Ao(w7),{ref_key:"searchInputRef",ref:$,modelValue:Ao(E),"onUpdate:modelValue":t[1]||(t[1]=e=>ko(E)?E.value=e:null),autofocus:"","aria-controls":Ao(x),label:j.value,onInput:Ao(P),onKeydown:[t[2]||(t[2]=Cu(Tu((e=>Ao(D)("down")),["stop"]),["down"])),t[3]||(t[3]=Cu(Tu((e=>Ao(R)()),["stop"]),["enter"])),t[4]||(t[4]=Cu(Tu((e=>Ao(D)("up")),["stop"]),["up"]))],onBlur:Q},null,8,["modelValue","aria-controls","label","onInput"])])):Xl("",!0),zl("div",{class:zn(["gap-1/2 flex flex-1 flex-col overflow-visible overflow-y-auto px-3 pt-0 pb-3",[{"pb-14":"modal"!==Ao(s)},{"h-[calc(100%-273.5px)]":U.value}]]),onDragenter:t[7]||(t[7]=Tu((()=>{}),["prevent"])),onDragover:t[8]||(t[8]=Tu((()=>{}),["prevent"]))},[Ao(E)?(Dl(),jl(Ao(n7),{key:0,id:Ao(x),"aria-label":"Search Results",class:"gap-px",noResults:!Ao(T).length},{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(Ao(T),((e,r)=>(Dl(),jl(Ao(d7),{id:`#search-input-${e.item.id}`,key:e.refIndex,ref_for:!0,ref:e=>Ao(M)[r]=e,selected:Ao(A)===r,class:"px-2",href:e.item.link,onClick:Tu((t=>Ao(C)(e)),["prevent"]),onFocus:e=>A.value=r},{addon:ci((()=>[t[10]||(t[10]=zl("span",{class:"sr-only"},"HTTP Method:",-1)),ql(pve,{class:"font-bold",method:e.item.httpVerb??"get"},null,8,["method"])])),default:ci((()=>[Zl(Gn(e.item.title)+" ",1)])),_:2},1032,["id","selected","href","onClick","onFocus"])))),128))])),_:1},8,["id","noResults"])):(Dl(),Ll("nav",qFe,[(Dl(!0),Ll(Tl,null,ps(F.value,(e=>(Dl(),jl(MFe,{key:e.uid,isDraggable:"modal"!==Ao(s)&&"Drafts"!==e.info?.title,isDroppable:Ao(y),menuItem:S,parentUids:[],uid:e.uid,onNewTab:t[5]||(t[5]=(e,t)=>r("newTab",{name:e,uid:t})),onOnDragEnd:Ao(v),onOpenMenu:t[6]||(t[6]=e=>Object.assign(S,e))},{leftIcon:ci((()=>["Drafts"===e.info?.title?(Dl(),jl(Ao(A6),{key:0,class:"text-sidebar-c-2 group-hover:hidden",icon:"Scribble",thickness:"2.25"})):(Dl(),jl(Ao(zUe),{key:1,class:"text-sidebar-c-2 size-3.5 min-w-3.5 stroke-2 group-hover:hidden",src:e["x-scalar-icon"]||"interface-content-folder"},null,8,["src"])),zl("div",{class:zn({"rotate-90":Ao(n)[e.uid]})},[ql(Ao(A6),{class:"text-c-3 hover:text-c-1 hidden text-sm group-hover:block",icon:"ChevronRight",size:"md"})],2)])),_:2},1032,["isDraggable","isDroppable","menuItem","uid","onOnDragEnd"])))),128))]))],34)])),button:ci((()=>[zl("div",{class:zn({"empty-sidebar-item":U.value})},[U.value?(Dl(),Ll("div",HFe,[zl("div",VFe,[ql(WUe,{art:Ao(' ,\\\n \\\\\\,_\n \\` ,\\\n __,.-" =__)\n ." )\n,_/ , \\/\\_\n\\_| )_-\\ \\_-`\n `-----` `--`'),class:"rabbitsit font-bold"},null,8,["art"]),ql(WUe,{art:Ao(' __\n // \\,_\n \\` ,\\\n __,.-" =__)\n ." )\n,_/ , \\/\\ \n\\_| // / / /\n / / '),class:"rabbitjump absolute top-0 left-0 font-bold"},null,8,["art"])]),t[11]||(t[11]=zl("div",{class:"mt-2 mb-2 text-center text-sm text-balance"},[zl("b",{class:"font-medium"},"Let's Get Started"),zl("p",{class:"mt-2"}," Create request, folder, collection or import from OpenAPI/Postman ")],-1))])):Xl("",!0),"modal"!==Ao(s)?(Dl(),jl(Ao(Oq),{key:1,class:zn(["mb-1.5 hidden h-fit w-full p-1.5 opacity-0",{"flex opacity-100":U.value}]),onClick:w},{default:ci((()=>t[12]||(t[12]=[Zl(" Import Collection ")]))),_:1,__:[12]},8,["class"])):Xl("",!0),"modal"!==Ao(s)?(Dl(),jl(XUe,{key:2,click:Ao(m).commandPalette.emit,hotkey:"K"},{title:ci((()=>t[13]||(t[13]=[Zl(" Add Item ")]))),_:1},8,["click"])):Xl("",!0)],2)])),_:2},["modal"!==Ao(s)?{name:"header",fn:ci((()=>[])),key:"0"}:void 0]),1032,["class"]),[[qc,Ao(a)]]),"modal"!==Ao(s)&&S?(Dl(),jl(cFe,{key:0,menuItem:S,onClearDrafts:B,onCloseMenu:t[9]||(t[9]=e=>S.open=!1),onToggleWatchMode:L},null,8,["menuItem"])):Xl("",!0)],64))}}),WFe=W7(ZFe,[["__scopeId","data-v-bca9c474"]]),XFe={"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/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 GFe(e){return XFe[e]||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json"}:void 0)}Object.entries(XFe).filter((([,e])=>e?.raw)).map((([e])=>e));const YFe=()=>typeof window<"u"&&"electron"in window,KFe=({environment:e,example:t,globalCookies:r,proxyUrl:n,request:a,securitySchemes:o,selectedSecuritySchemeUids:i=[],server:s,status:l,pluginManager:c})=>{try{const u=e??{},d=new AbortController,p=t.parameters.path.reduce(((e,t)=>(t.enabled&&(e[t.key]=Rbe(t.value,u)),e)),{}),h=Rbe(s?.url??"",u),f=Rbe(Rbe(a.path,u),p);let m=h||f;if(!m)throw"The address bar input seems to be empty. Try adding a URL.";Object.entries(s?.variables??{}).forEach((([e,t])=>{m=Rbe(m,{[e]:p[e]||t.default})}));const g=function(e,t,r){const n=new URLSearchParams,a=(r?.parameters??[]).reduce(((e,t)=>("query"===t.in&&(e[t.name]=t),e)),{});return e.parameters.query.forEach((e=>{if(!e.enabled)return;const r=a[e.key];switch(e.type){case"array":{const a=Rbe(e.value??"",t).split(/,\ ?/);if(!1===r?.explode){const t=a.join(",");n.append(e.key,t)}else a.forEach((t=>{n.append(e.key,t.trim())}));break}default:{const r=Rbe(e.value??"",t);n.append(e.key,r.trim());break}}})),n}(t,u,a),b=function(e,t){const r={};return e.parameters.headers.forEach((e=>{const n=e.key.trim().toLowerCase();e.enabled&&("content-type"!==n||"multipart/form-data"!==e.value)&&(r[n]=Rbe(e.value,t))})),r}(t,u),{body:v}=function(e,t,r){if(!PB(e))return{body:void 0,contentType:void 0};if("formData"===t.body.activeBody&&t.body.formData){const e="form-data"===t.body.formData.encoding?"multipart/form-data":"application/x-www-form-urlencoded",n="form-data"===t.body.formData.encoding?new FormData:new URLSearchParams;return t.body.formData.value.forEach((e=>{!e.enabled||!e.key||(e.file&&n instanceof FormData?n.append(e.key,e.file,e.file.name):void 0!==e.value&&n.append(e.key,Rbe(e.value,r)))})),{body:n,contentType:e}}return"raw"===t.body.activeBody?{body:Rbe(t.body.raw?.value??"",r),contentType:t.body.raw?.encoding}:"binary"===t.body.activeBody?{body:t.body.binary,contentType:t.body.binary?.type}:{body:void 0,contentType:void 0}}(a.method,t,u),{cookieParams:y}=function({example:e,env:t,globalCookies:r,serverUrl:n,proxyUrl:a}){const o=[],i=(e=>{const t=new URL(e.startsWith("http")?e:`http://${e}`).hostname;return t.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)||t.match(/^[a-fA-F0-9:]+$/)||t.startsWith(".")?t:`.${t}`})(tB(a,n)?a:n??"http://localhost");return r.forEach((e=>{const{name:t,value:r,domain:a,...i}=e;!_Ce(n,a)||!t||o.push(SCe.parse({name:t,value:r,domain:a,path:i.path}))})),e.parameters.cookies.forEach((e=>{!e.enabled||!e.key||o.push(SCe.parse({name:e.key,value:Rbe(e.value,t),domain:i,path:"/"}))})),{cookieParams:o}}({example:t,env:u,globalCookies:r,serverUrl:m,proxyUrl:n}),O=i.flat().map((e=>o[e])).filter(OB),w=MPe(O,u),x={...Object.entries(w.headers).reduce(((e,[t,r])=>(e[t.toLowerCase()]=r,e)),{}),...b},k=[...y,...w.cookies],S=new URLSearchParams([...g,...w.urlParams]);YFe()&&x["user-agent"]&&(x["X-Scalar-User-Agent"]=x["user-agent"]),m=SR(m,f,S);const _=Rbe(((e,t)=>{const r=e.map((e=>`${e.name}=${e.value}`)).join("; ");return t?`${t}; ${r}`.trim():r.trim()})(k,x.Cookie),u);_&&(YFe()||tB(n,m)?(console.warn("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."),x["X-Scalar-Cookie"]=_):(console.warn("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:\n\n - The browser URL must be on the same domain as the server URL.\n - The connection must be made over HTTPS.\n "),x.Cookie=_));const E=eB(n,m),T=new Request(E,{method:a.method.toUpperCase(),body:v??null,headers:x});return[null,{request:T,sendRequest:async()=>{l?.emit("start"),c&&c.executeHook("onBeforeRequest",{request:T});const e=Date.now();try{const r=await fetch(T,{signal:d.signal}),o=r.headers.get("content-type")?.startsWith("text/event-stream");l?.emit("stop");const i=Date.now()-e,s=r.clone(),u=((e,t=!1)=>{const r=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 r[e]));const n=Object.keys(r).find((e=>"x-scalar-modified-headers"===e.toLowerCase())),a=n?r[n]?.toString().split(", ")?.map((e=>e.toLowerCase()))??[]:[];return Object.keys(r).forEach((e=>{a.includes(e.toLowerCase())&&delete r[e]})),n&&delete r[n],Object.keys(r).forEach((e=>{const t=/^x-scalar-original-/i;if(t.test(e)){const n=e.replace(t,"");r[e]&&(r[n]=r[e],delete r[e])}})),Object.keys(r).forEach((e=>{const t=(e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1))).join("-"))(e);e!==t&&r[e]&&(r[t]=r[e],delete r[e])})),Object.fromEntries(Object.entries(r).sort((([e],[t])=>e.localeCompare(t))))})(r.headers,tB(n,m)),p=r.headers.get("content-type")??"text/plain;charset=UTF-8",h=await s.arrayBuffer(),g=function(e,t){const r=new Ewe(t);return function(e){return!!GFe(e)?.raw}(r.essence)?new TextDecoder(r.parameters.get("charset")).decode(e):new Blob([e],{type:r.essence})}(h,p),b=r.clone(),v=b.statusText||DB[b.status]?.name||"",y=[204,205,304].includes(b.status),O=new Response(y?null:b.body,{status:b.status,statusText:v,headers:b.headers});c&&c.executeHook("onResponseReceived",{response:O,operation:a});const w="getSetCookie"in O.headers&&"function"==typeof O.headers.getSetCookie?O.headers.getSetCookie():[];return o&&r.body?[null,{timestamp:Date.now(),request:t,response:{...O,headers:u,cookieHeaderKeys:w,reader:r.body?.getReader(),duration:i,method:a.method,path:f}}]:[null,{timestamp:Date.now(),request:t,response:{...r,headers:u,cookieHeaderKeys:w,data:g,size:h.byteLength,duration:Date.now()-e,method:a.method,status:r.status,path:f}}]}catch(e){return l?.emit("abort"),[pOe(e,"An error occurred while making the request"),null]}},controller:d}]}catch(e){return console.error(e),l?.emit("abort"),[pOe(e),null]}},JFe={class:"flex h-full"},eQe={class:"flex h-full flex-1 flex-col"},tQe=Li({__name:"RequestRoot",emits:["newTab"],setup(e){const t=AOe(),{toast:r}=JW(),{layout:n}=rve(),a=VMe(),{isSidebarOpen:o}=lwe(),i=function(){const{layout:e}=rve();if(VMe().value.telemetry&&"modal"!==e)return ERe}(),{activeCollection:s,activeExample:l,activeEnvironment:c,activeRequest:u,activeWorkspace:d,activeServer:p}=Bbe(),{cookies:h,requestHistory:f,showSidebar:m,securitySchemes:g,events:b}=t,v=qPe(),y=So(),O=So(),w=So(new Set),x=So(null),k=gc((()=>(s.value?.useCollectionSecurity?s.value?.selectedSecuritySchemeUids:u.value?.selectedSecuritySchemeUids)??[])),S=async()=>{if(!u.value||!l.value||!s.value)return;w.value=(e=>{const t=new Set;return e&&["path","query","headers","cookies"].some((r=>e.parameters?.[r]?.some((e=>{e.required&&""===e.value&&t.add(e.key)})))),t})(l.value);const e="object"==typeof c.value?c.value.value:"{}",t=vRe.parse(e);t.error&&console.error("INVALID ENVIRONMENT!");const n=t.error||"object"!=typeof t.data?{}:t.data??{},o=d.value?.cookies.map((e=>h[e])).filter(OB)??[],i="Drafts"===s.value?.info?.title?void 0:p.value,[m,y]=KFe({request:u.value,example:l.value,selectedSecuritySchemeUids:k.value,proxyUrl:d.value?.proxyUrl??"",environment:n,globalCookies:o,status:b.requestStatus,securitySchemes:g,server:i,pluginManager:v});if(a.value?.onRequestSent?.(u.value.path??""),m)return void r(m.message,"error");O.value=y.controller;const[S,_]=await y.sendRequest();x.value=_,S?r(S.message,"error"):f.push(T(_))},_=async()=>O.value?.abort("The request has been cancelled");function E(){i?.capture("client-send-request")}Yi((()=>{b.executeRequest.on(S),b.executeRequest.on(E),b.cancelRequest.on(_)})),TRe(),es((()=>{b.executeRequest.off(S),b.executeRequest.off(E)})),hl((()=>l.value?.parameters),(()=>{w.value.clear()}),{deep:!0});const T=e=>{try{return structuredClone(e)}catch{const t={...e};return e.response?.data&&(e.response.data instanceof Blob||e.response.data instanceof ArrayBuffer?t.response.data=e.response.data:t.response.data=JSON.parse(JSON.stringify(e.response.data))),t}};return(e,t)=>(Dl(),Ll("div",{ref_key:"element",ref:y,class:zn(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0",{"!mr-0 !mb-0 !border-0":"modal"===Ao(n)}])},[Ao(m)?(Dl(),jl(kRe,{key:0,modelValue:Ao(o),"onUpdate:modelValue":t[0]||(t[0]=e=>ko(o)?o.value=e:null),class:zn(["absolute top-2 left-3 z-50",[{hidden:Ao(o)},{"xl:!flex":!Ao(o)},{"!flex":"modal"===Ao(n)}]])},null,8,["modelValue","class"])):Xl("",!0),zl("div",JFe,[Ao(m)?(Dl(),jl(WFe,{key:0,onNewTab:t[1]||(t[1]=t=>e.$emit("newTab",t))})):Xl("",!0),zl("div",eQe,[ql(Ao(_be),{invalidParams:w.value,requestResult:x.value,selectedSecuritySchemeUids:k.value},null,8,["invalidParams","requestResult","selectedSecuritySchemeUids"])])])],2))}}),rQe=W7(tQe,[["__scopeId","data-v-c648cff4"]]),nQe=Object.freeze(Object.defineProperty({__proto__:null,default:rQe},Symbol.toStringTag,{value:"Module"})),aQe=" .:=+++++=================-\n .--#* :.\n .-:-** -.\n .:-::-+* =:\n .:-:::-=# ::\n .-:::----** ..\n .-:::::---=# ..\n :-::::::----** ..\n.:-::::::::----*= ..\n.-::::::::------+- ..\n..::::::::-------= ..\n .:::::----------++ ..\n .:::----------+**+*++*+*++*+++*++++++++++:.\n ------------+*+=-=======================.\n .----------+*+=========================:.\n :--------+*+=-========================.\n .=------+*+=-========================:.\n .=----+*+=-------=================+-.\n .----+*+=----------================.\n .:=-+*+=----------=-==============-\n .-+*+=----------------===========.\n .-+=------------------====-====:.",oQe={class:"flex-center flex w-full scale-75"},iQe={class:"relative"},sQe={class:"relative -ml-12"},lQe=W7(Li({__name:"EmptyState",setup:e=>(e,t)=>(Dl(),Ll("div",oQe,[zl("div",iQe,[ql(Ao(kY),{class:"keycap-hotkey right-14 border-transparent py-0 text-xl",hotkey:""}),ql(WUe,{art:Ao(aQe),class:"text-c-3 !leading-[6px]"},null,8,["art"])]),zl("div",sQe,[t[0]||(t[0]=zl("div",{class:"keycap-hotkey right-16 text-xl"},"K",-1)),ql(WUe,{art:Ao(aQe),class:"keycap-n !leading-[6px]"},null,8,["art"])])]))}),[["__scopeId","data-v-45a9fc44"]]),cQe=Li({__name:"ViewLayout",setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("div",qn(Hl(Ao(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-3"))),[fs(e.$slots,"default")],16))}}),uQe={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"},dQe=W7({},[["render",function(e,t){return Dl(),Ll("div",uQe,[fs(e.$slots,"default")])}]]);var pQe,hQe,fQe,mQe,gQe,bQe={};var vQe=(gQe||(gQe=1,bQe.quote=(hQe||(hQe=1,pQe=function(e){return e.map((function(e){return e&&"object"==typeof e?e.op.replace(/(.)/g,"\\$1"):/["\s]/.test(e)&&!/'/.test(e)?"'"+e.replace(/(['\\])/g,"\\$1")+"'":/["'\s]/.test(e)?'"'+e.replace(/(["\\$`!])/g,"\\$1")+'"':String(e).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")})).join(" ")}),pQe),bQe.parse=function(){if(mQe)return fQe;mQe=1;for(var e="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",t=new RegExp("^"+e+"$"),r="|&;()<> \\t",n=/^#$/,a="",o=0;o<4;o++)a+=(4294967296*Math.random()).toString(16);var i=new RegExp("^"+a);function s(o,i,s){s||(s={});var l=s.escape||"\\",c=new RegExp(["("+e+")","((\\"+l+"['\""+r+"]|[^\\s'\""+r+"])+|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"),u=function(e,t){for(var r,n=t.lastIndex,a=[];r=t.exec(e);)a.push(r),t.lastIndex===r.index&&(t.lastIndex+=1);return t.lastIndex=n,a}(o,c);if(0===u.length)return[];i||(i={});var d=!1;return u.map((function(e){var r=e[0];if(r&&!d){if(t.test(r))return{op:r};var s,c=!1,u=!1,p="",h=!1;for(s=0;s<r.length;s++){var f=r.charAt(s);if(h=h||!c&&("*"===f||"?"===f),u)p+=f,u=!1;else if(c)f===c?c=!1:"'"==c?p+=f:f===l?(s+=1,p+='"'===(f=r.charAt(s))||f===l||"$"===f?f:l+f):p+="$"===f?g():f;else if('"'===f||"'"===f)c=f;else{if(t.test(f))return{op:r};if(n.test(f)){d=!0;var m={comment:o.slice(e.index+s+1)};return p.length?[p,m]:[m]}f===l?u=!0:p+="$"===f?g():f}}return h?{op:"glob",pattern:p}:p}function g(){var e,t;s+=1;var n=r.charAt(s);if("{"===n){if(s+=1,"}"===r.charAt(s))throw new Error("Bad substitution: "+r.slice(s-2,s+1));if((e=r.indexOf("}",s))<0)throw new Error("Bad substitution: "+r.slice(s));t=r.slice(s,e),s=e}else if(/[*@#?$!_-]/.test(n))t=n,s+=1;else{var o=r.slice(s);(e=o.match(/[^\w\d_]/))?(t=o.slice(0,e.index),s+=e.index-1):(t=o,s=r.length)}return function(e,t,r){var n="function"==typeof e?e(r):e[r];return void 0===n&&""!=r?n="":void 0===n&&(n="$"),"object"==typeof n?""+a+JSON.stringify(n)+a:""+n}(i,0,t)}})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}return fQe=function(e,t,r){var n=s(e,t,r);return"function"!=typeof t?n:n.reduce((function(e,t){if("object"==typeof t)return e.concat(t);var r=t.split(RegExp("("+a+".*?"+a+")","g"));return 1===r.length?e.concat(r[0]):e.concat(r.filter(Boolean).map((function(e){return i.test(e)?JSON.parse(e.split(a)[1]):e})))}),[])},fQe}()),bQe);function yQe(e,t){t.method=e.next().value.toLowerCase()}function OQe(e,t){const r=new URL(e.next().value.replace(/['"]/g,""));t.servers=[r.origin],t.path="/"!==r.pathname?r.pathname:"",t.url=t.servers[0]+t.path;const n=kQe(r.search);t.queryParameters=t.queryParameters?[...t.queryParameters,...n]:n}function wQe(e,t){const r=e.next().value.split(/:(.*)/);t.headers=t.headers||{},void 0!==r[1]?t.headers[r[0].trim()]=r[1].trim():t.headers[r[0].trim()]=""}function xQe(e,t){const r=e.next().value.replace(/['"]/g,"").split("=");t.pathVariables=t.pathVariables||{},void 0!==r[1]?t.pathVariables[r[0].trim()]=r[1].trim():t.pathVariables[r[0].trim()]=""}function kQe(e){const t=[];return new URL(e,"http://example.com").searchParams.forEach(((e,r)=>{t.push({key:r,value:e})})),t}function SQe(e,t){const r=e.replace(/['"]/g,"").split(/:(.+)/);t.headers=t.headers||{},r[0]&&(void 0!==r[1]?t.headers[r[0].trim()]=r[1].trim():t.headers[r[0].trim()]="")}function _Qe(e,t){const r=e.next().value;try{const e=GSe(r);t.headers=t.headers||{},t.headers.Authorization=`Basic ${e}`}catch(e){console.warn("Could not base64 encode these HTTP basic auth credentials:",r,e)}}function EQe(e,t){const r=e.next().value;t.headers=t.headers||{},t.headers.Cookie?t.headers.Cookie+=`; ${r}`:t.headers.Cookie=r.replace(/;$/,"")}function TQe(e,t,r){const n=e.next().value;if("string"==typeof n&&(n.startsWith("@")?t.body="":t.body=n,!t.url||r.includes("-G"))){const e=kQe(`?${t.body}`);t.queryParameters=t.queryParameters?[...t.queryParameters,...e]:e}}function AQe(e){const t=function(e){const t=vQe.parse(e).map((e=>"object"==typeof e&&"op"in e&&"glob"===e.op?e.pattern.trim():"string"==typeof e?e.trim():e)).filter((e=>""!==e)),r={url:""},n=t[Symbol.iterator]();let a=n.next().value;for(;a;)"-X"===a||"--request"===a?yQe(n,r):"--url"===a?OQe(n,r):"-H"===a||"--header"===a?wQe(n,r):"--data"===a||"-d"===a||"--data-raw"===a||"--data-urlencode"===a||"--data-binary"===a||"--data-ascii"===a?TQe(n,r,e):"string"!=typeof a||r.url||!a.startsWith("http")&&!a.startsWith("www.")?"-P"===a?xQe(n,r):"string"==typeof a&&a.toLowerCase().includes("content-type")?SQe(a,r):"-u"===a||"--user"===a?_Qe(n,r):("-b"===a||"--cookie"===a)&&EQe(n,r):OQe([a][Symbol.iterator](),r),a=n.next().value;return r}(e),{method:r="get",url:n,body:a="",headers:o={},servers:i,queryParameters:s=[]}=t,l=new URL(n).pathname,c=a?.includes("=")&&!a.startsWith("{")?"application/x-www-form-urlencoded":o["Content-Type"]||"",u=a?function(e){try{return JSON.parse(e)}catch{const t={};return e.split("&").forEach((e=>{const[r,n]=e.split("=");r&&n&&(t[decodeURIComponent(r)]=decodeURIComponent(n))})),t}}(a):{},d=[...Array.isArray(s)?s.map((({key:e,value:t})=>({name:e,in:"query",schema:{type:typeof t,examples:[t]}}))):[],...Object.entries(o||{}).map((([e,t])=>({name:e,in:"header",schema:{type:typeof t},example:t})))];return{method:r,url:n,path:l,headers:o,servers:i??[],...Object.keys(u).length>0&&{requestBody:{content:{[c]:{schema:{type:"object",properties:Object.fromEntries(Object.entries(u).map((([e,t])=>[e,{type:typeof t}])))},example:u}}}},parameters:d}}const CQe={class:"lg:min-h-header t-app__top-container flex w-full flex-wrap items-center justify-center border-b p-2 pt-2 lg:p-1 lg:pt-1"},PQe={class:"mb-2 flex w-1/2 flex-row items-center gap-1 lg:mb-0 lg:flex-1 lg:px-1"},$Qe={class:"mb-2 flex w-1/2 flex-row items-center justify-end gap-1 lg:mb-0 lg:flex-1 lg:px-2.5"},MQe=Li({__name:"RequestSubpageHeader",props:{collection:{},operation:{},server:{},environment:{},envVariables:{},workspace:{}},emits:["hideModal","importCurl"],setup(e){const{hideClientButton:t,showSidebar:r,integration:n}=AOe(),{isSidebarOpen:a}=lwe(),{layout:o}=rve(),{currentRoute:i}=Tbe();return(e,s)=>(Dl(),Ll("div",CQe,[zl("div",PQe,[Ao(r)?(Dl(),Ll("div",{key:0,class:zn(["size-8",{hidden:"modal"===Ao(o)&&!Ao(a)}])},null,2)):Xl("",!0)]),ql(awe,{collection:e.collection,envVariables:e.envVariables,environment:e.environment,operation:e.operation,server:e.server,workspace:e.workspace,onImportCurl:s[0]||(s[0]=t=>e.$emit("importCurl",t))},null,8,["collection","envVariables","environment","operation","server","workspace"]),zl("div",$Qe,["modal"===Ao(o)&&e.collection.documentUrl&&!Ao(t)?(Dl(),jl(Ao(X7),{key:0,buttonSource:"modal",class:"!w-fit lg:-mr-1",integration:Ao(n)??e.collection.integration??null,source:"gitbook"===Ao(i).query.source?"gitbook":"api-reference",url:e.collection.documentUrl},null,8,["integration","source","url"])):Xl("",!0),"modal"===Ao(o)?(Dl(),Ll("button",{key:1,class:"app-exit-button gitbook-hidden zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",type:"button",onClick:s[1]||(s[1]=t=>e.$emit("hideModal"))},[ql(Ao(A6),{icon:"Close",size:"lg",thickness:"2"}),s[3]||(s[3]=zl("span",{class:"sr-only"},"Close Client",-1))])):Xl("",!0),"modal"===Ao(o)?(Dl(),Ll("button",{key:2,class:"text-c-1 hover:bg-b-2 active:text-c-1 gitbook-show -mr-1.5 rounded p-2",type:"button",onClick:s[2]||(s[2]=t=>e.$emit("hideModal"))},[ql(Ao(A6),{icon:"Close",size:"md",thickness:"1.75"}),s[4]||(s[4]=zl("span",{class:"sr-only"},"Close Client",-1))])):Xl("",!0)])]))}}),DQe=W7(MQe,[["__scopeId","data-v-c8df97c6"]]),RQe=["href"],NQe=Li({__name:"HelpfulLink",props:{href:{}},setup:e=>(e,t)=>(Dl(),Ll("a",{class:"decoration-c-3 cursor-help underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[fs(e.$slots,"default")],8,RQe))}),IQe=[{name:"Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept"},{name:"Accept-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH"},{name:"Accept-CH-Lifetime",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime"},{name:"Accept-Charset",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset"},{name:"Accept-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding"},{name:"Accept-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language"},{name:"Accept-Patch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Patch"},{name:"Accept-Post",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Post"},{name:"Accept-Ranges",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges"},{name:"Access-Control-Allow-Credentials",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials"},{name:"Access-Control-Allow-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers"},{name:"Access-Control-Allow-Methods",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods"},{name:"Access-Control-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin"},{name:"Access-Control-Expose-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers"},{name:"Access-Control-Max-Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age"},{name:"Access-Control-Request-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers"},{name:"Access-Control-Request-Method",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method"},{name:"Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Age"},{name:"Allow",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow"},{name:"Alt-Svc",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc"},{name:"Alt-Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Used"},{name:"Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization"},{name:"Cache-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control"},{name:"Clear-Site-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data"},{name:"Connection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection"},{name:"Content-Disposition",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition"},{name:"Content-DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-DPR"},{name:"Content-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding"},{name:"Content-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language"},{name:"Content-Length",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length"},{name:"Content-Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location"},{name:"Content-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range"},{name:"Content-Security-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"},{name:"Content-Security-Policy-Report-Only",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only"},{name:"Content-Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type"},{name:"Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie"},{name:"Critical-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Critical-CH"},{name:"Cross-Origin-Embedder-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy"},{name:"Cross-Origin-Opener-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy"},{name:"Cross-Origin-Resource-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy"},{name:"Date",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date"},{name:"Device-Memory",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Device-Memory"},{name:"Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest"},{name:"DNT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT"},{name:"Downlink",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Downlink"},{name:"DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DPR"},{name:"Early-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Early-Data"},{name:"ECT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ECT"},{name:"ETag",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag"},{name:"Expect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect"},{name:"Expect-CT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT"},{name:"Expires",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires"},{name:"Forwarded",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded"},{name:"From",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/From"},{name:"Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host"},{name:"If-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match"},{name:"If-Modified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"},{name:"If-None-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match"},{name:"If-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range"},{name:"If-Unmodified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since"},{name:"Keep-Alive",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive"},{name:"Large-Allocation",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation"},{name:"Last-Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified"},{name:"Link",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link"},{name:"Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location"},{name:"Max-Forwards",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards"},{name:"NEL",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/NEL"},{name:"Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin"},{name:"Permissions-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy"},{name:"Pragma",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma"},{name:"Proxy-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authenticate"},{name:"Proxy-Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization"},{name:"Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range"},{name:"Referer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer"},{name:"Referrer-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy"},{name:"Retry-After",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After"},{name:"RTT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/RTT"},{name:"Save-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data"},{name:"Sec-CH-Prefers-Reduced-Motion",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion"},{name:"Sec-CH-Prefers-Reduced-Transparency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Transparency"},{name:"Sec-CH-UA",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA"},{name:"Sec-CH-UA-Arch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Arch"},{name:"Sec-CH-UA-Bitness",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Bitness"},{name:"Sec-CH-UA-Full-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version"},{name:"Sec-CH-UA-Full-Version-List",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version-List"},{name:"Sec-CH-UA-Mobile",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Mobile"},{name:"Sec-CH-UA-Model",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Model"},{name:"Sec-CH-UA-Platform",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform"},{name:"Sec-CH-UA-Platform-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform-Version"},{name:"Sec-Fetch-Dest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest"},{name:"Sec-Fetch-Mode",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode"},{name:"Sec-Fetch-Site",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site"},{name:"Sec-Fetch-User",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User"},{name:"Sec-GPC",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-GPC"},{name:"Sec-Purpose",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Purpose"},{name:"Sec-WebSocket-Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept"},{name:"Server",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server"},{name:"Server-Timing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing"},{name:"Service-Worker-Navigation-Preload",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Service-Worker-Navigation-Preload"},{name:"Set-Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie"},{name:"SourceMap",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap"},{name:"Strict-Transport-Security",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security"},{name:"TE",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/TE"},{name:"Timing-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin"},{name:"Tk",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Tk"},{name:"Trailer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer"},{name:"Transfer-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding"},{name:"Upgrade",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade"},{name:"Upgrade-Insecure-Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests"},{name:"User-Agent",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent"},{name:"Vary",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary"},{name:"Via",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via"},{name:"Viewport-Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width"},{name:"Want-Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest"},{name:"Warning",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning"},{name:"Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width"},{name:"WWW-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate"},{name:"X-Content-Type-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options"},{name:"X-DNS-Prefetch-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-For",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Forwarded-Proto",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto"},{name:"Non-standard",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{name:"X-Frame-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options"},{name:"X-XSS-Protection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection"},{name:"Cf-Cache-Status",url:"https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#cloudflare-cache-responses"},{name:"Cf-Ray",url:"https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-ray"},{name:"Report-To",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to"},{name:"X-Cloud-Trace-Context",url:"https://cloud.google.com/trace/docs/trace-context#legacy-http-header"},{name:"Speculation-Rules",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Speculation-Rules"}],LQe={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},jQe={key:1,class:"text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base"},BQe=Li({__name:"RequestHeaders",props:{headers:{}},setup(e){const t=e=>IQe.find((t=>t.name.toLowerCase()===e.toLowerCase()));return(e,r)=>(Dl(),jl(DSe,{class:"overflow-auto",defaultOpen:!1,itemCount:e.headers.length},{title:ci((()=>r[0]||(r[0]=[Zl("Request Headers")]))),default:ci((()=>[e.headers.length?(Dl(),Ll("div",LQe,[ql(p_e,{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:ci((()=>[ql(S_e,{class:"sr-only !block"},{default:ci((()=>[ql(Ao(g_e),null,{default:ci((()=>r[1]||(r[1]=[Zl("Header Key")]))),_:1,__:[1]}),ql(Ao(g_e),null,{default:ci((()=>r[2]||(r[2]=[Zl("Header Value")]))),_:1,__:[2]})])),_:1}),(Dl(!0),Ll(Tl,null,ps(e.headers,(e=>(Dl(),jl(S_e,{key:e.name,class:"group/row text-c-1"},{default:ci((()=>[ql(E_e,{class:"bg-b-1 sticky left-0 z-1 max-w-48 group-first/row:border-t-0"},{default:ci((()=>["string"==typeof t(e.name)?.url?(Dl(),jl(NQe,{key:0,class:"decoration-c-3",href:t(e.name).url},{default:ci((()=>[Zl(Gn(e.name),1)])),_:2},1032,["href"])):(Dl(),Ll(Tl,{key:1},[Zl(Gn(e.name),1)],64))])),_:2},1024),ql(E_e,{class:"z-0 group-first/row:border-t-0",text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})])):(Dl(),Ll("div",jQe," No Headers "))])),_:1},8,["itemCount"]))}}),UQe=["download","href"],FQe=Li({__name:"ResponseBodyDownload",props:{href:{},type:{},filename:{}},setup(e){const t=e,r=gc((()=>{const e=GFe(t.type??"")?.extension??".unknown";return t.filename?t.filename:`response${e}`}));return(e,t)=>(Dl(),Ll("a",{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:t[0]||(t[0]=Tu((()=>{}),["stop"]))},[ql(Ao(A6),{icon:"Download",size:"xs"}),t[1]||(t[1]=zl("span",null,[zl("span",null,"Download"),zl("span",{class:"sr-only"},"Response Body")],-1))],8,UQe))}}),QQe={class:"flex justify-center px-2 py-3"},zQe={class:"text-c-3 p-2 text-sm"},qQe=W7({},[["render",function(e,t){return Dl(),Ll("div",QQe,[zl("div",zQe,[fs(e.$slots,"default")])])}]]),HQe=["src"],VQe=["src","type"],ZQe=["src","type"],WQe=["data","type"],XQe=Li({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){const t=So(!1);return hl((()=>e.src),(()=>t.value=!1)),(e,r)=>!t.value&&e.src?(Dl(),Ll("div",{key:0,class:zn(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":e.alpha}])},["image"===e.mode?(Dl(),Ll("img",{key:0,class:zn(["h-full max-w-full",{rounded:e.alpha}]),src:e.src,onError:r[0]||(r[0]=e=>t.value=!0)},null,42,HQe)):"video"===e.mode?(Dl(),Ll("video",{key:1,autoplay:"",controls:"",width:"100%",onError:r[1]||(r[1]=e=>t.value=!0)},[zl("source",{src:e.src,type:e.type},null,8,VQe)],32)):"audio"===e.mode?(Dl(),Ll("audio",{key:2,class:"my-12",controls:"",onError:r[2]||(r[2]=e=>t.value=!0)},[zl("source",{src:e.src,type:e.type},null,8,ZQe)],32)):(Dl(),Ll("object",{key:3,class:"aspect-[4/3] w-full",data:e.src,type:e.type,onError:r[3]||(r[3]=e=>t.value=!0)},null,40,WQe))],2)):(Dl(),jl(qQe,{key:1},{default:ci((()=>r[4]||(r[4]=[Zl("Preview unavailable")]))),_:1,__:[4]}))}}),GQe=W7(XQe,[["__scopeId","data-v-0956ad2d"]]),YQe={class:"scalar-code-block group/code-block body-raw grid min-h-0 overflow-hidden p-px outline-none has-[:focus-visible]:outline"},KQe={class:"body-raw-scroller custom-scroll relative pr-1",tabindex:"0"},JQe=Li({__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){const t=e,r=So(null),n=ji(),{codeMirror:a}=pme({codeMirrorRef:r,readOnly:!0,lineNumbers:!0,content:Io((()=>aB(t.content))),language:Io((()=>t.language)),forceFoldGutter:!0}),o=()=>a.value?.state.doc.toString()||"";return(e,t)=>(Dl(),Ll("div",YQe,[o()?(Dl(),jl(Ao(aX),{key:0,content:o(),controls:Ao(n),class:"z-context top-2 mr-2"},null,8,["content","controls"])):Xl("",!0),zl("div",KQe,[zl("div",{ref_key:"codeMirrorRef",ref:r},null,512)])]))}}),eze=W7(JQe,[["__scopeId","data-v-85d2902e"]]),tze={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},rze=Li({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup:e=>(e,t)=>(Dl(),Ll("div",tze,[zl("button",{class:zn(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:"button",onClick:t[0]||(t[0]=Tu((t=>e.$emit("update:modelValue",!0)),["stop"]))}," Preview ",2),zl("button",{class:zn(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:"button",onClick:t[1]||(t[1]=Tu((t=>e.$emit("update:modelValue",!1)),["stop"]))}," Raw ",2)]))}),nze={key:0,class:"bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"},aze={class:"box-content flex min-h-8 items-center justify-between border-y px-3"},oze={class:"text-xxs font-code leading-3"},ize=Li({__name:"ResponseBody",props:{title:{},layout:{},data:{},headers:{}},setup(e){const t=e,r=So(!0),n=gc((()=>!(!c.value?.raw||!c.value.preview))),a=gc((()=>r.value||!n.value)),o=gc((()=>!r.value||!n.value)),{mimeType:i,attachmentFilename:s,dataUrl:l}=Twe({data:Io(t,"data"),headers:Io(t,"headers")}),c=gc((()=>GFe(i.value.essence)));return(e,t)=>(Dl(),jl(DSe,{class:"max-h-content overflow-y-hidden",layout:e.layout},hs({title:ci((()=>[Zl(Gn(e.title),1)])),default:ci((()=>[e.data?(Dl(),Ll("div",nze,[zl("div",aze,[zl("span",oze,Gn(Ao(i).essence),1),n.value?(Dl(),jl(rze,{key:0,modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e)},null,8,["modelValue"])):Xl("",!0)]),c.value?.raw&&o.value?(Dl(),jl(eze,{key:Ao(l),content:e.data,language:c.value.language},null,8,["content","language"])):Xl("",!0),c.value?.preview&&a.value?(Dl(),jl(GQe,{key:Ao(l),alpha:c.value.alpha,mode:c.value.preview,src:Ao(l),type:Ao(i).essence},null,8,["alpha","mode","src","type"])):Xl("",!0),c.value?.raw||c.value?.preview?Xl("",!0):(Dl(),jl(qQe,{key:2},{default:ci((()=>t[1]||(t[1]=[Zl(" Binary file ")]))),_:1,__:[1]}))])):Xl("",!0)])),_:2},[e.data&&Ao(l)?{name:"actions",fn:ci((()=>[ql(FQe,{filename:Ao(s),href:Ao(l),type:Ao(i).essence},null,8,["filename","href","type"])])),key:"0"}:void 0]),1032,["layout"]))}}),sze=W7(ize,[["__scopeId","data-v-17966bf4"]]),lze={class:"flex w-full items-center justify-between"},cze={key:0,class:"mr-2 flex items-center gap-2"},uze={key:0,class:"text-red bg-b-danger sticky top-0 border-b p-2"},dze={key:1,class:"p-2"},pze=Li({__name:"ResponseBodyStreaming",props:{reader:{}},setup(e){const t=fq(),r=So(""),n=So(null),a=new TextDecoder,o=So(null),i=()=>{o.value&&(o.value.scrollTop=o.value.scrollHeight)};return hl(r,(()=>{Ko(i)})),Yi((()=>{t.startLoading(),async function(){try{for(;t.isLoading;){const{done:n,value:o}=await e.reader.read();if(n){t.stopLoading();break}o&&(r.value+=a.decode(o,{stream:!0}))}}catch(e){console.error("Error reading stream:",e),t.stopLoading(),n.value=e}finally{r.value+=a.decode()}}(),n.value=null})),es((()=>{e.reader.cancel(),t.stopLoading()})),(e,a)=>(Dl(),jl(DSe,{class:"max-h-content overflow-y-hidden"},{title:ci((()=>[zl("div",lze,[a[1]||(a[1]=zl("div",null,"Body",-1)),Ao(t).isLoading?(Dl(),Ll("div",cze,[ql(Ao(bq),{loadingState:Ao(t),size:"xs"},null,8,["loadingState"]),a[0]||(a[0]=zl("span",{class:"text-c-2"}," Listening… ",-1))])):Xl("",!0)])])),default:ci((()=>[zl("div",{ref_key:"contentContainer",ref:o,class:"text-xxs font-code h-full overflow-auto leading-2 whitespace-pre-wrap"},[n.value?(Dl(),Ll("div",uze,Gn(n.value.message),1)):Xl("",!0),r.value?(Dl(),Ll("div",dze,Gn(r.value),1)):Xl("",!0)],512)])),_:1}))}}),hze=Li({__name:"ResponseBodyVirtual",props:{content:{},data:{},headers:{}},setup(e){const t=e,r=gc((()=>Gj(t.content))),{mimeType:n,attachmentFilename:a,dataUrl:o}=Twe({data:Io(t,"data"),headers:Io(t,"headers")});return(e,t)=>(Dl(),jl(DSe,{class:"!max-h-100% response-body-virtual overflow-x-auto"},hs({title:ci((()=>[t[0]||(t[0]=Zl("Body"))])),default:ci((()=>[t[1]||(t[1]=zl("div",{class:"font-code text-xxs rounded-t border border-b-0 px-2.5 py-1.5"}," This response body is massive! Syntax highlighting won't work here. ",-1)),ql(Ao(N7),{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,text:r.value},null,8,["text"])])),_:2},[Ao(o)?{name:"actions",fn:ci((()=>[ql(FQe,{filename:Ao(a),href:Ao(o),type:Ao(n).essence},null,8,["filename","href","type"])])),key:"0"}:void 0]),1024))}}),fze={key:1,class:"text-c-3 bg-b-1 flex min-h-[65px] items-center justify-center border-t px-4 text-sm"},mze=Li({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(e,t)=>(Dl(),jl(DSe,{defaultOpen:!1},{title:ci((()=>t[0]||(t[0]=[Zl("Cookies")]))),default:ci((()=>[(Dl(),Ll(Tl,{key:0},[e.cookies.length?(Dl(),jl(p_e,{key:0,class:"flex-1",columns:["",""]},{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(e.cookies,(e=>(Dl(),jl(S_e,{key:e.name},{default:ci((()=>[ql(E_e,{text:e.name},null,8,["text"]),ql(E_e,{text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(Dl(),Ll("div",fze," No cookies "))],64))])),_:1}))}),gze={class:"flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize"},bze={key:0,class:"scalar-version-number"},vze={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},yze=Li({__name:"ResponseEmpty",props:{collection:{},operation:{},workspace:{},numWorkspaceRequests:{}},setup(e){const{events:t,requestMutators:r}=AOe(),n=Abe(),a=Tbe(),{layout:o}=rve(),i=()=>{const n=e.operation.tags?.length?{tags:e.operation.tags[0]?[e.operation.tags[0]]:[]}:{},o=r.add(n,e.collection.uid);o&&(a.push({name:"request",params:{workspace:e.workspace.uid,request:o.uid}}),Ko((()=>{t.hotKeys.emit({focusAddressBar:new KeyboardEvent("keydown",{key:"l"})})})))},s=e=>{e?.createNew&&"request"===n.name&&i()};return Yi((()=>t.hotKeys.on(s))),es((()=>t.hotKeys.off(s))),(e,r)=>(Dl(),Ll("div",gze,[zl("div",{class:zn(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{"hidden opacity-0":e.numWorkspaceRequests<=1&&"modal"!==Ao(o)}])},["modal"!==Ao(o)?(Dl(),Ll("div",bze,[Zl(" Scalar App V"+Gn(Ao("2.5.34"))+" Beta ",1),r[3]||(r[3]=zl("div",{class:"mt-2"},[zl("a",{href:"https://github.com/scalar/scalar/issues/2669",target:"_blank"}," Roadmap ")],-1))])):Xl("",!0),r[4]||(r[4]=zl("a",{class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",target:"_blank"}," Powered By Scalar.com ",-1)),ql(WUe,{art:Ao(" .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n"),class:"text-c-3"},null,8,["art"])],2),"modal"!==Ao(o)?(Dl(),Ll("div",{key:0,class:zn(["hidden h-[calc(100%_-_50px)] items-center justify-center pb-5",{"!flex opacity-100":1==e.numWorkspaceRequests}])},[ql(lQe)],2)):Xl("",!0),zl("div",vze,["modal"!==Ao(o)?(Dl(),Ll("button",{key:0,class:"flex items-center gap-1.5",type:"button",onClick:r[0]||(r[0]=e=>Ao(t).commandPalette.emit())},[r[5]||(r[5]=Zl(" Get Started ")),ql(Ao(kY),{hotkey:"k"})])):Xl("",!0),"desktop"===Ao(o)?(Dl(),Ll("button",{key:1,class:"flex items-center gap-1.5",type:"button",onClick:r[1]||(r[1]=e=>i())},[r[6]||(r[6]=Zl(" New Request ")),ql(Ao(kY),{hotkey:"N"})])):Xl("",!0),zl("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[2]||(r[2]=e=>Ao(t).executeRequest.emit())},[r[7]||(r[7]=Zl(" Send Request ")),ql(Ao(kY),{hotkey:"↵"})])])]))}}),Oze=W7(yze,[["__scopeId","data-v-6d2bdb61"]]),wze={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},xze={key:1,class:"text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base"},kze=Li({__name:"ResponseHeaders",props:{headers:{}},setup(e){const t=e=>IQe.find((t=>t.name.toLowerCase()===e.toLowerCase()));return(e,r)=>(Dl(),jl(DSe,{class:"overflow-auto",defaultOpen:!1,itemCount:e.headers.length},{title:ci((()=>r[0]||(r[0]=[Zl("Response Headers")]))),default:ci((()=>[e.headers.length?(Dl(),Ll("div",wze,[ql(p_e,{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:ci((()=>[ql(S_e,{class:"sr-only !block"},{default:ci((()=>[ql(Ao(g_e),null,{default:ci((()=>r[1]||(r[1]=[Zl("Header Key")]))),_:1,__:[1]}),ql(Ao(g_e),null,{default:ci((()=>r[2]||(r[2]=[Zl("Header Value")]))),_:1,__:[2]})])),_:1}),(Dl(!0),Ll(Tl,null,ps(e.headers,(e=>(Dl(),jl(S_e,{key:e.name,class:"group/row text-c-1"},{default:ci((()=>[ql(E_e,{class:"bg-b-1 sticky left-0 z-1 max-w-48 group-first/row:border-t-0"},{default:ci((()=>["string"==typeof t(e.name)?.url?(Dl(),jl(NQe,{key:0,class:"decoration-c-3",href:t(e.name).url},{default:ci((()=>[Zl(Gn(e.name),1)])),_:2},1032,["href"])):(Dl(),Ll(Tl,{key:1},[Zl(Gn(e.name),1)],64))])),_:2},1024),ql(E_e,{class:"z-0 group-first/row:border-t-0",text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})])):(Dl(),Ll("div",xze," No Headers "))])),_:1},8,["itemCount"]))}}),Sze={key:0,class:"bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6"},_ze=Li({__name:"ResponseLoadingOverlay",setup(e){const{events:t}=AOe(),r=fq(),n=So();return t.requestStatus.on((e=>{"start"===e?n.value=setTimeout((()=>r.startLoading()),1e3):(clearTimeout(n.value),n.value=void 0,r.stopLoading())})),(e,n)=>(Dl(),jl(Pc,null,{default:ci((()=>[Ao(r).isLoading?(Dl(),Ll("div",Sze,[ql(Ao(bq),{class:"text-c-3",loadingState:Ao(r),size:"3xl"},null,8,["loadingState"]),ql(Ao(Oq),{variant:"ghost",onClick:n[0]||(n[0]=e=>Ao(t).cancelRequest.emit())},{default:ci((()=>n[1]||(n[1]=[Zl(" Cancel ")]))),_:1,__:[1]})])):Xl("",!0)])),_:1}))}}),Eze=W7(_ze,[["__scopeId","data-v-5d3b84e1"]]);function Tze(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const r=[],n=(e,n,a,o)=>{if(!(0!==r.length&&t.colonNotation||0!==e||t.colonNotation&&"m"===a))return;let i,s;if(o=(o||e||"0").toString(),t.colonNotation){i=r.length>0?":":"",s="";const e=o.includes(".")?o.split(".")[0].length:o.length,t=r.length>0?2:1;o="0".repeat(Math.max(0,t-e))+o}else i="",s=t.verbose?" "+(l=n,1===e?l:`${l}s`):a;var l;r.push(i+o+s)},a=function(e){if("number"!=typeof e)throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}(e);if(n(Math.trunc(a.days/365),"year","y"),n(a.days%365,"day","d"),n(a.hours,"hour","h"),n(a.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(n(a.seconds,"second","s"),t.formatSubMilliseconds)n(a.milliseconds,"millisecond","ms"),n(a.microseconds,"microsecond","µs"),n(a.nanoseconds,"nanosecond","ns");else{const e=a.milliseconds+a.microseconds/1e3+a.nanoseconds/1e6,r="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,o=e>=1?Math.round(e):Math.ceil(e),i=r?e.toFixed(r):o;n(Number.parseFloat(i),"millisecond","ms",i)}else{const r=((e,t)=>{const r=Math.floor(e*10**t+1e-7);return(Math.round(r)/10**t).toFixed(t)})(e/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),a=t.keepDecimalsOnWholeSeconds?r:r.replace(/\.0+$/,"");n(Number.parseFloat(a),"second","s",a)}if(0===r.length)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return r[0];if("number"==typeof t.unitCount){const e=t.colonNotation?"":" ";return r.slice(0,Math.max(t.unitCount,1)).join(e)}return t.colonNotation?r.join(""):r.join(" ")}const Aze={class:"text-c-1 flex gap-1.5"},Cze={key:0},Pze={key:0},$ze={key:1},Mze=Li({__name:"ResponseMetaInformation",props:{response:{}},setup(e){const t=e,{events:r}=AOe(),n=So(),a=So(0);r.requestStatus.on((e=>{"start"===e?n.value=setInterval((()=>a.value+=1e3),1e3):(clearInterval(n.value),n.value=void 0,a.value=0)}));const o=e=>{const t=Number.parseInt(e.headers?.["Content-Length"]||e.headers?.["content-length"]||"0",10);return t?function(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);const r=(t={bits:!1,binary:!1,space:!0,...t}).bits?t.binary?fY:hY:t.binary?pY:dY,n=t.space?" ":"";if(t.signed&&0===e)return` 0${n}${r[0]}`;const a=e<0,o=a?"-":t.signed?"+":"";let i;if(a&&(e=-e),void 0!==t.minimumFractionDigits&&(i={minimumFractionDigits:t.minimumFractionDigits}),void 0!==t.maximumFractionDigits&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1)return o+mY(e,t.locale,i)+n+r[0];const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),r.length-1);return e/=(t.binary?1024:1e3)**s,i||(e=e.toPrecision(3)),o+mY(Number(e),t.locale,i)+n+r[s]}(t):void 0},i=gc((()=>{const e=t.response.status;if(e)return DB[e]??void 0}));return(e,t)=>(Dl(),Ll("div",Aze,[n.value&&a.value?(Dl(),Ll("span",Cze,Gn(Ao(Tze)(a.value)),1)):(Dl(),Ll(Tl,{key:1},[zl("span",null,[t[0]||(t[0]=zl("span",{class:"sr-only"},"Response Information, Duration:",-1)),Zl(" "+Gn(Ao(Tze)(e.response.duration)),1)]),o(e.response)?(Dl(),Ll("span",Pze,[t[1]||(t[1]=zl("span",{class:"sr-only"},", Size:",-1)),Zl(" "+Gn(o(e.response)),1)])):Xl("",!0),i.value?(Dl(),Ll(Tl,{key:1},[t[2]||(t[2]=zl("span",{class:"sr-only"},", Status:",-1)),i.value.url?(Dl(),jl(NQe,{key:0,class:"flex items-center gap-1.5",href:i.value.url},{default:ci((()=>[Zl(Gn(e.response.status)+" "+Gn(i.value.name)+" ",1),zl("span",{class:"block h-1.5 w-1.5 rounded-full",style:jn({backgroundColor:i.value.color})},null,4)])),_:1},8,["href"])):(Dl(),Ll("span",$ze,[Zl(Gn(e.response.status)+" "+Gn(i.value.name)+" ",1),zl("span",{class:"block h-1.5 w-1.5 rounded-full",style:jn({backgroundColor:i.value.color})},null,4)]))],64)):Xl("",!0)],64))]))}}),Dze={class:"flex h-8 flex-1 items-center"},Rze=["id","role"],Nze=2e5,Ize=Li({__name:"ResponseSection",props:{collection:{},operation:{},workspace:{},numWorkspaceRequests:{},response:{},requestResult:{}},setup(e){const t=qPe().getViewComponents("response.section"),r=gc((()=>{const t=e.response?.headers;return t?Object.keys(t).map((e=>({name:e,value:t[e]??"",required:!1}))):[]})),n=gc((()=>e.response?.cookieHeaderKeys.flatMap((t=>{const r=e.response?.headers?.[t];return r?{name:t,value:r,required:!1}:[]}))??[])),a=["Cookies","Headers","Body"],o=So("All"),i=gc((()=>["All",...a])),s=gc((()=>Object.fromEntries(i.value.map((e=>[e,ji()]))))),l=gc((()=>{if(!e.response||!("size"in e.response))return!1;const t=e.response.headers?.["content-type"]||e.response.headers?.["Content-Type"];return!(!t||(e.response.size??0)<=Nze||t.includes("text/html"))&&["text/","application/json","application/ld+json","application/problem+json","application/vnd.api+json","application/xml","application/atom+xml","application/rss+xml","application/problem+xml","application/javascript","application/ecmascript","application/x-yaml","application/yaml","application/x-httpd-php","application/x-sh","application/x-perl","application/x-python","application/x-ruby","application/x-java-source","application/x-www-form-urlencoded"].some((e=>t.includes(e)))&&(e.response.size??0)>Nze})),c=gc((()=>e.requestResult?.request.parameters.headers.filter((e=>e.enabled)).map((e=>({name:e.key,value:e.value,required:!0})))??[]));return(e,a)=>(Dl(),jl(kCe,{"aria-label":"Response"},{title:ci((()=>[zl("div",Dze,[zl("div",{"aria-live":"polite",class:zn(["flex items-center",{"animate-response-heading":e.response}])},[a[1]||(a[1]=zl("span",{class:"response-heading pointer-events-none absolute"}," Response ",-1)),e.response?(Dl(),jl(Mze,{key:0,class:"animate-response-children",response:e.response},null,8,["response"])):Xl("",!0)],2),ql(wCe,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=e=>o.value=e),filterIds:s.value,filters:i.value},null,8,["modelValue","filterIds","filters"])])])),default:ci((()=>[zl("div",{id:s.value.All,class:zn(["custom-scroll response-section-content relative grid h-full justify-stretch",{"content-start":e.response}]),role:"All"===o.value&&e.response?"tabpanel":"none"},[e.response?(Dl(),Ll(Tl,{key:1},["All"===o.value||"Cookies"===o.value?(Dl(),jl(mze,{key:0,class:"response-section-content-cookies",id:s.value.Cookies,cookies:n.value,role:"All"===o.value?"none":"tabpanel"},null,8,["id","cookies","role"])):Xl("",!0),"All"===o.value||"Headers"===o.value?(Dl(),jl(BQe,{key:1,class:"response-section-content-headers",id:s.value.Headers,headers:c.value,role:"All"===o.value?"none":"tabpanel"},null,8,["id","headers","role"])):Xl("",!0),"All"===o.value||"Headers"===o.value?(Dl(),jl(kze,{key:2,class:"response-section-content-headers",id:s.value.Headers,headers:r.value,role:"All"===o.value?"none":"tabpanel"},null,8,["id","headers","role"])):Xl("",!0),(Dl(!0),Ll(Tl,null,ps(Ao(t),(e=>(Dl(),jl(Ao(uY),{key:e.component},{default:ci((()=>[ui((Dl(),jl(cs(e.component),Jl({ref_for:!0},e.props??{}),null,16)),[[qc,"All"===o.value||o.value===e.title]])])),_:2},1024)))),128)),"All"===o.value||"Body"===o.value?(Dl(),Ll(Tl,{key:3},["reader"in e.response?(Dl(),jl(pze,{key:0,class:"response-section-content-body",id:s.value.Body,reader:e.response.reader},null,8,["id","reader"])):l.value&&"string"==typeof e.response?.data?(Dl(),jl(hze,{key:1,id:s.value.Body,content:e.response.data,data:e.response?.data,headers:r.value,role:"All"===o.value?"none":"tabpanel"},null,8,["id","content","data","headers","role"])):(Dl(),jl(sze,{key:2,class:"response-section-content-body",id:s.value.Body,layout:"client",active:!0,data:e.response?.data,headers:r.value,role:"All"===o.value?"none":"tabpanel",title:"Body"},null,8,["id","data","headers","role"]))],64)):Xl("",!0)],64)):(Dl(),jl(Oze,{key:0,collection:e.collection,operation:e.operation,workspace:e.workspace,numWorkspaceRequests:e.numWorkspaceRequests},null,8,["collection","operation","workspace","numWorkspaceRequests"])),ql(Eze)],10,Rze)])),_:1}))}}),Lze=W7(Ize,[["__scopeId","data-v-7138ed84"]]),jze={class:"flex h-full"},Bze={key:0,class:"flex h-full flex-1 flex-col"},Uze=Li({__name:"Request",props:{invalidParams:{},selectedSecuritySchemeUids:{},requestResult:{}},emits:["newTab"],setup(e){const{events:t}=AOe(),{isSidebarOpen:r}=lwe(),n=AOe(),{layout:a}=rve(),{activeCollection:o,activeExample:i,activeRequest:s,activeWorkspace:l,activeServer:c,activeEnvVariables:u,activeEnvironment:d,activeWorkspaceRequests:p}=Bbe(),{modalState:h,requestHistory:f}=n,m=gc((()=>[...f].reverse().find((e=>e.request.uid===i.value?.uid))));function g(e){t.commandPalette.emit({commandName:"Import from cURL",metaData:{parsedCurl:AQe(e),collectionUid:o.value?.uid}})}return(e,t)=>Ao(o)&&Ao(l)?(Dl(),Ll("div",{key:0,class:zn(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0",{"!mr-0 !mb-0 !border-0":"modal"===Ao(a)}])},[zl("div",jze,[Ao(s)?(Dl(),Ll("div",Bze,[ql(DQe,{modelValue:Ao(r),"onUpdate:modelValue":t[0]||(t[0]=e=>ko(r)?r.value=e:null),collection:Ao(o),envVariables:Ao(u),environment:Ao(d),operation:Ao(s),server:Ao(c),workspace:Ao(l),onHideModal:t[1]||(t[1]=()=>Ao(h).hide()),onImportCurl:g},null,8,["modelValue","collection","envVariables","environment","operation","server","workspace"]),ql(cQe,null,{default:ci((()=>[Ao(i)?(Dl(),jl(dQe,{key:0,class:zn(["flex-1",[Ao(r)?"sidebar-active-hide-layout":""]])},{default:ci((()=>[ql(YPe,{collection:Ao(o),envVariables:Ao(u),environment:Ao(d),example:Ao(i),invalidParams:e.invalidParams,operation:Ao(s),selectedSecuritySchemeUids:e.selectedSecuritySchemeUids,server:Ao(c),workspace:Ao(l)},null,8,["collection","envVariables","environment","example","invalidParams","operation","selectedSecuritySchemeUids","server","workspace"]),ql(Lze,{collection:Ao(o),operation:Ao(s),workspace:Ao(l),requestResult:e.requestResult,numWorkspaceRequests:Ao(p).length,response:m.value?.response},null,8,["collection","operation","workspace","requestResult","numWorkspaceRequests","response"])])),_:1},8,["class"])):Xl("",!0)])),_:1})])):(Dl(),jl(lQe,{key:1}))])],2)):(Dl(),jl(lQe,{key:1}))}}),Fze=W7(Uze,[["__scopeId","data-v-0100effe"]]),Qze=Object.freeze(Object.defineProperty({__proto__:null,default:Fze},Symbol.toStringTag,{value:"Module"})),zze=["for"],qze=["id","placeholder","value"],Hze=Li({__name:"LabelInput",props:{inputId:{},placeholder:{},value:{},layout:{}},emits:["updateValue"],setup(e,{emit:t}){const r=t,{cx:n}=uq(),a=e=>{const t=e.target;r("updateValue",t.value)};return(e,t)=>(Dl(),Ll("div",qn(Hl(Ao(n)("flex-1 flex gap-1 items-center pointer-events-none group"))),["modal"!==e.layout?(Dl(),Ll(Tl,{key:0},[zl("label",Jl(Ao(n)("absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text"),{for:e.inputId}),null,16,zze),zl("input",Jl(Ao(n)("flex-1 text-c-1 rounded pointer-events-auto relative w-full pl-1.25 -ml-0.5 md:-ml-1.25 h-8 group-hover-input has-[:focus-visible]:outline z-10"),{id:e.inputId,placeholder:e.placeholder,value:e.value,onInput:a}),null,16,qze)],64)):(Dl(),Ll("span",qn(Jl({key:1},Ao(n)("flex items-center text-c-1 h-8"))),Gn(e.value),17))],16))}}),Vze=W7(Hze,[["__scopeId","data-v-fced736a"]]),Zze=["aria-label"],Wze={class:"group relative ml-1.25"},Xze=Li({__name:"CollectionInfoForm",setup(e){const{activeCollection:t}=Bbe(),{collectionMutators:r}=AOe(),n=gc((()=>t?.value?.["x-scalar-icon"]||"interface-content-folder")),a=e=>{t.value&&r.edit(t.value.uid,"info.title",e)},o=gc((()=>({icon:t?.value?.["x-scalar-icon"],title:t?.value?.info?.title,description:t?.value?.info?.description,version:t?.value?.info?.version})));return(e,i)=>(Dl(),Ll("div",{"aria-label":`Collection: ${o.value.title}`,class:"mx-auto flex h-fit w-full flex-col gap-2 pt-6 pb-3 md:mx-auto md:max-w-[720px]"},[ql(nFe,{modelValue:n.value,placement:"bottom-start","onUpdate:modelValue":i[0]||(i[0]=e=>(e=>{t?.value?.uid&&r.edit(t?.value?.uid,"x-scalar-icon",e)})(e))},{default:ci((()=>[ql(Ao(Oq),{class:"hover:bg-b-2 aspect-square h-7 w-7 cursor-pointer rounded border border-transparent p-0 hover:border-inherit",variant:"ghost"},{default:ci((()=>[ql(Ao(zUe),{class:"text-c-2 size-5",src:n.value,"stroke-width":"2"},null,8,["src"])])),_:1})])),_:1},8,["modelValue"]),zl("div",Wze,[ql(Vze,{class:"text-xl font-bold",inputId:"collectionName",placeholder:"Untitled Collection",value:o.value.title,onUpdateValue:a},null,8,["value"])])],8,Zze))}}),Gze=W7(Xze,[["__scopeId","data-v-68d5218e"]]),Yze={class:"bg-b-1 sticky -top-[104px] z-10 mx-auto w-full"},Kze={key:0,class:"flex max-w-40 items-center"},Jze={class:"text-c-1 mr-[6.25px] hidden overflow-hidden px-2 font-medium text-ellipsis whitespace-nowrap md:block"},eqe=Li({__name:"CollectionNavigation",props:{isSticky:{type:Boolean}},setup(e){const{currentRoute:t}=Tbe(),{activeCollection:r}=Bbe(),n=gc((()=>[{displayName:"Overview",to:{name:"collection.overview",params:{[Pbe.Collection]:r.value?.uid}}},{displayName:"Servers",to:{name:"collection.servers",params:{[Pbe.Collection]:r.value?.uid}}},{displayName:"Authentication",to:{name:"collection.authentication",params:{[Pbe.Collection]:r.value?.uid}}},{displayName:"Environment",to:{name:"collection.environment",params:{[Pbe.Collection]:r.value?.uid}}},{displayName:"Settings",to:{name:"collection.settings"}}]));return(e,a)=>(Dl(),Ll("div",Yze,[ql(Gze),zl("div",{class:zn(["items-center text-sm font-medium",e.isSticky?"h-fit border-b md:grid md:grid-cols-[1fr_720px_1fr] md:px-4":"flex md:mx-auto md:max-w-[720px]"])},[e.isSticky?(Dl(),Ll("div",Kze,[ql(Ao(zUe),{class:"text-c-2 hidden size-3.5 md:block",src:Ao(r)?.["x-scalar-icon"]||"interface-content-folder","stroke-width":"2"},null,8,["src"]),zl("span",Jze,Gn(Ao(r)?.info?.title),1)])):Xl("",!0),zl("div",{class:zn(["flex w-full max-w-[720px] gap-2 pl-1.5 md:ml-1.5 md:pl-0",!e.isSticky&&"border-b"])},[(Dl(!0),Ll(Tl,null,ps(n.value,(({to:e,displayName:r},n)=>(Dl(),jl(Ao(wbe),{key:n,class:"-ml-2 flex h-10 cursor-pointer items-center px-2 text-center text-sm font-medium whitespace-nowrap no-underline -outline-offset-1 has-[:focus-visible]:outline",to:e},{default:ci((()=>[zl("span",{class:zn(["flex-center h-full w-full border-b","string"==typeof e.name&&"string"==typeof Ao(t).name&&Ao(t).name?.startsWith(e.name)?"text-c-1 border-c-1":"text-c-2 hover:text-c-1 border-transparent"])},Gn(r),3)])),_:2},1032,["to"])))),128))],2)],2)]))}}),tqe={class:"w-full md:mx-auto md:max-w-[720px]"},rqe=Li({__name:"Collection",setup(e){const{activeCollection:t}=Bbe(),r=Tbe(),n=So(null),{y:a}=function(e,t={}){const{throttle:r=0,idle:n=200,onStop:a=zB,onScroll:o=zB,offset:i={left:0,right:0,top:0,bottom:0},observe:s={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:u=JB,onError:d=e=>{console.error(e)}}=t,p="boolean"==typeof s?{mutation:s}:s,h=_o(0),f=_o(0),m=gc({get:()=>h.value,set(e){b(e,void 0)}}),g=gc({get:()=>f.value,set(e){b(void 0,e)}});function b(t,r){var n,a,o,i;if(!u)return;const s=Co(e);if(!s)return;null==(o=s instanceof Document?u.document.body:s)||o.scrollTo({top:null!=(n=Co(r))?n:g.value,left:null!=(a=Co(t))?a:m.value,behavior:Co(c)});const l=(null==(i=null==s?void 0:s.document)?void 0:i.documentElement)||(null==s?void 0:s.documentElement)||s;null!=m&&(h.value=l.scrollLeft),null!=g&&(f.value=l.scrollTop)}const v=_o(!1),y=uo({left:!0,right:!1,top:!0,bottom:!1}),O=uo({left:!1,right:!1,top:!1,bottom:!1}),w=e=>{v.value&&(v.value=!1,O.left=!1,O.right=!1,O.top=!1,O.bottom=!1,a(e))},x=GB(w,r+n),k=e=>{var t;if(!u)return;const r=(null==(t=null==e?void 0:e.document)?void 0:t.documentElement)||(null==e?void 0:e.documentElement)||tU(e),{display:n,flexDirection:a,direction:o}=getComputedStyle(r),s="rtl"===o?-1:1,l=r.scrollLeft;O.left=l<h.value,O.right=l>h.value;const c=Math.abs(l*s)<=(i.left||0),d=Math.abs(l*s)+r.clientWidth>=r.scrollWidth-(i.right||0)-1;"flex"===n&&"row-reverse"===a?(y.left=d,y.right=c):(y.left=c,y.right=d),h.value=l;let p=r.scrollTop;e!==u.document||p||(p=u.document.body.scrollTop),O.top=p<f.value,O.bottom=p>f.value;const m=Math.abs(p)<=(i.top||0),g=Math.abs(p)+r.clientHeight>=r.scrollHeight-(i.bottom||0)-1;"flex"===n&&"column-reverse"===a?(y.top=g,y.bottom=m):(y.top=m,y.bottom=g),f.value=p},S=e=>{var t;if(!u)return;const r=null!=(t=e.target.documentElement)?t:e.target;k(r),v.value=!0,x(e),o(e)};return rU(e,"scroll",r?function(e,t=200,r=!1,n=!0,a=!1){return HB(function(...e){let t,r,n,a,o,i,s=0,l=!0,c=zB;ko(e[0])||"object"!=typeof e[0]?[n,a=!0,o=!0,i=!1]=e:({delay:n,trailing:a=!0,leading:o=!0,rejectOnCancel:i=!1}=e[0]);const u=()=>{t&&(clearTimeout(t),t=void 0,c(),c=zB)};return e=>{const d=Co(n),p=Date.now()-s,h=()=>r=e();return u(),d<=0?(s=Date.now(),h()):(p>d&&(o||!l)?(s=Date.now(),h()):a&&(r=new Promise(((e,r)=>{c=i?r:e,t=setTimeout((()=>{s=Date.now(),l=!0,e(h()),u()}),Math.max(0,d-p))}))),o||t||(t=setTimeout((()=>l=!0),d)),l=!1,r)}}(t,r,n,a),e)}(S,r,!0,!1):S,l),YB((()=>{try{const t=Co(e);if(!t)return;k(t)}catch(e){d(e)}})),(null==p?void 0:p.mutation)&&null!=e&&e!==u&&e!==document&&oU(e,(()=>{const t=Co(e);t&&k(t)}),{attributes:!0,childList:!0,subtree:!0}),rU(e,"scrollend",w,l),{x:m,y:g,isScrolling:v,arrivedState:y,directions:O,measure(){const t=Co(e);u&&t&&k(t)}}}(n),o=gc((()=>a.value>104));return hl(t,(e=>{if("Drafts"===e?.info?.title){const t=e.requests[0];r.push({name:"request",params:{[Pbe.Request]:t}})}}),{immediate:!0}),(e,t)=>(Dl(),jl(cQe,{ref_key:"el",ref:n,class:"h-fit overflow-auto pb-6 xl:overflow-auto"},{default:ci((()=>[ql(kCe,{class:"xl:h-fit"},{default:ci((()=>[ql(eqe,{isSticky:o.value},null,8,["isSticky"]),zl("div",tqe,[ql(Ao(_be))])])),_:1})])),_:1},512))}}),nqe=Object.freeze(Object.defineProperty({__proto__:null,default:rqe},Symbol.toStringTag,{value:"Module"})),aqe={class:"flex h-full w-full flex-col gap-2 pt-8"},oqe={class:"flex min-h-8 items-center justify-between gap-2 pl-1.5"},iqe={class:"has-[:focus-visible]:bg-b-1 group relative z-1 flex flex-col rounded-lg"},sqe={class:"flex h-full min-h-[calc(1rem*4)] flex-col"},lqe={key:1,class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},cqe=Li({__name:"MarkdownInput",props:{modelValue:{},environment:{},envVariables:{},workspace:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=t,n=So("preview"),a=So(null);hl(n,(e=>{"edit"===e&&Ko((()=>{a.value?.focus()}))}));const o=()=>{requestAnimationFrame((()=>{n.value="preview"}))};return(e,t)=>(Dl(),Ll("div",aqe,[zl("div",oqe,[t[5]||(t[5]=zl("h3",{class:"font-bold"},"Description",-1)),"preview"===n.value?(Dl(),jl(Ao(Oq),{key:0,class:"text-c-2 hover:text-c-1 flex items-center gap-2",size:"sm",type:"button",variant:"outlined",onClick:t[0]||(t[0]=e=>n.value="edit")},{default:ci((()=>[ql(Ao(A6),{icon:"Pencil",size:"sm",thickness:"1.5"}),t[4]||(t[4]=zl("span",null,"Edit",-1))])),_:1,__:[4]})):Xl("",!0)]),zl("div",iqe,[zl("div",sqe,["preview"===n.value?(Dl(),Ll(Tl,{key:0},[e.modelValue&&e.modelValue.trim().length?(Dl(),Ll(Tl,{key:0},[e.modelValue?(Dl(),jl(Ao(Z6),{key:0,class:"h-full flex-1 rounded border border-transparent p-1.5 hover:border-(--scalar-background-3)",value:e.modelValue,withImages:"",onDblclick:t[1]||(t[1]=e=>n.value="edit")},null,8,["value"])):Xl("",!0),t[6]||(t[6]=zl("div",{class:"brightness-lifted bg-b-1 absolute inset-0 -z-1 hidden rounded group-hover:block group-has-[:focus-visible]:hidden"},null,-1))],64)):(Dl(),Ll("div",lqe,[ql(Ao(Oq),{class:"hover:bg-b-2 hover:text-c-1 text-c-2 flex items-center gap-2",size:"sm",variant:"ghost",onClick:t[2]||(t[2]=e=>n.value="edit")},{default:ci((()=>[ql(Ao(A6),{icon:"Pencil",size:"sm",thickness:"1.5"}),t[7]||(t[7]=zl("span",null,"Write a description",-1))])),_:1,__:[7]})]))],64)):Xl("",!0),"edit"===n.value?(Dl(),jl(uve,{key:1,ref_key:"codeInputRef",ref:a,class:"h-full flex-1 border px-0.5 py-0",envVariables:e.envVariables,environment:e.environment,modelValue:e.modelValue,workspace:e.workspace,onBlur:o,"onUpdate:modelValue":t[3]||(t[3]=e=>r("update:modelValue",e))},null,8,["envVariables","environment","modelValue","workspace"])):Xl("",!0)])])]))}}),uqe=W7(cqe,[["__scopeId","data-v-5997a667"]]),dqe=Li({__name:"CollectionOverview",setup(e){const{activeCollection:t,activeEnvironment:r,activeEnvVariables:n,activeWorkspace:a}=Bbe(),{collectionMutators:o}=AOe(),i=e=>{t.value&&o.edit(t.value.uid,"info.description",e)};return(e,o)=>(Dl(),jl(kCe,null,{default:ci((()=>[Ao(r)&&Ao(a)?(Dl(),jl(uqe,{key:0,envVariables:Ao(n),environment:Ao(r),modelValue:Ao(t)?.info?.description??"",workspace:Ao(a),"onUpdate:modelValue":i},null,8,["envVariables","environment","modelValue","workspace"])):Xl("",!0)])),_:1}))}}),pqe=Object.freeze(Object.defineProperty({__proto__:null,default:dqe},Symbol.toStringTag,{value:"Module"})),hqe={key:0},fqe={class:"flex flex-1 flex-col gap-1.5"},mqe=["for"],gqe={class:"centered-y bg-b-2 flex-center absolute right-1 z-1 rounded px-1 py-0.5"},bqe=Li({__name:"Form",props:{title:{},options:{},data:{},onUpdate:{type:Function}},setup(e){const{activeEnvVariables:t,activeEnvironment:r,activeWorkspace:n}=Bbe(),a=ji();return(e,o)=>(Dl(),jl(kCe,{class:"last:rounded-b-lg"},hs({default:ci((()=>[zl("div",fqe,[Object.keys(e.data).length>0&&Ao(n)?(Dl(),jl(p_e,{key:0,columns:[""],class:"rounded-b-lg"},{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(e.options,((o,i)=>(Dl(),jl(S_e,{key:i,class:zn({"border-t":0===i})},{default:ci((()=>[ql(x_e,{class:"pr-9",lineWrapping:"",id:Ao(a),envVariables:Ao(t),environment:Ao(r),modelValue:e.data[o.key]??"",placeholder:o.placeholder,workspace:Ao(n),"onUpdate:modelValue":t=>e.onUpdate(o.key,t)},hs({default:ci((()=>[zl("label",{for:Ao(a)},Gn(o.label),9,mqe)])),_:2},["description"===o.key?{name:"icon",fn:ci((()=>[zl("div",gqe,[ql(Ao(A6),{icon:"Markdown",size:"lg"})])])),key:"0"}:void 0]),1032,["id","envVariables","environment","modelValue","placeholder","workspace","onUpdate:modelValue"])])),_:2},1032,["class"])))),128))])),_:1})):Xl("",!0)])])),_:2},[e.title||e.$slots.title?{name:"title",fn:ci((()=>[e.title?(Dl(),Ll("span",hqe,Gn(e.title),1)):fs(e.$slots,"title",{key:1})])),key:"0"}:void 0]),1024))}}),vqe=Li({__name:"CollectionServerForm",props:{collectionId:{default:""},serverUid:{default:""}},setup(e){const t=e,{activeWorkspaceCollections:r}=Bbe(),{servers:n,serverMutators:a}=AOe(),o=[{label:"URL",key:"url",placeholder:"https://void.scalar.com",type:"text"},{label:"Description",key:"description",placeholder:"Production",type:"text"}],i=gc((()=>{const e=r.value.find((e=>e.uid===t.collectionId));return n[e&&"string"==typeof t.serverUid&&"default"===t.serverUid?e.servers[0]??"":e?.servers.find((e=>e===t.serverUid))??""]})),s=gc((()=>i.value?.url?i.value.url.match(wR.PATH)?.map((e=>e.slice(1,-1)))??[]:[]));hl(s,(e=>{if(!i.value)return;const t=i.value.variables?{...i.value.variables}:{};Object.keys(t).forEach((r=>{e.includes(r)||delete t[r]})),e.forEach((e=>{t[e]||(t[e]={default:""})})),a.edit(i.value.uid,"variables",t),DOe(u.value,"store-update-selected-server-properties",{key:"variables",value:t,options:{disableOldStoreUpdate:!0}})}),{immediate:!0});const l=(e,t)=>{!r.value||!i.value||(a.edit(i.value.uid,e,t),("url"===e||"description"===e)&&DOe(u.value,"store-update-selected-server-properties",{key:e,value:t,options:{disableOldStoreUpdate:!0}}))},c=(e,t)=>{if(!i.value)return;const r=i.value.variables||{};r[e]={...r[e],default:t},a.edit(i.value.uid,"variables",r),DOe(u.value,"store-update-selected-server-properties",{key:"variables",value:r,options:{disableOldStoreUpdate:!0}})},u=Ui("wrapper-ref");return(e,t)=>(Dl(),Ll("div",{ref:"wrapper-ref",class:zn(["divide-0.5 flex w-full flex-col divide-y rounded-b-lg text-sm",i.value?.variables&&"bg-b-1"])},[i.value?(Dl(),Ll(Tl,{key:0},[ql(bqe,{data:i.value,onUpdate:l,options:o},null,8,["data"]),i.value.variables?(Dl(),jl(BOe,{key:0,variables:i.value.variables,"onUpdate:variable":c},null,8,["variables"])):Xl("",!0)],64)):Xl("",!0)],2))}}),yqe={ref:"wrapper-ref",class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},Oqe={class:"flex flex-col gap-4"},wqe={class:"rounded-lg border"},xqe={class:"bg-b-2 flex items-start justify-between rounded-t-lg py-1 pr-1 pl-3 text-sm"},kqe={key:1,class:"self-center"},Sqe={class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},_qe=Li({__name:"CollectionServers",setup(e){const{activeCollection:t}=Bbe(),{servers:r,events:n,serverMutators:a}=AOe(),o=B7(),i=So(null),s=gc((()=>r&&t.value?.servers?Object.values(r).filter((e=>t.value?.servers.includes(e.uid))):[])),l=()=>n.commandPalette.emit({commandName:"Add Server"}),c=()=>{!t.value?.uid||!i.value||(a.delete(i.value,t.value.uid),DOe(u.value,"scalar-delete-server",{url:r[i.value]?.url??""}),o.hide())},u=Ui("wrapper-ref");return(e,n)=>(Dl(),Ll("div",yqe,[zl("div",Oqe,[n[2]||(n[2]=Wl('<div class="flex items-start justify-between gap-2"><div class="flex flex-col gap-2"><div class="flex h-8 items-center"><h3 class="font-bold">Servers</h3></div><p class="text-sm"> Add different base URLs for your API. You can use <code class="font-code text-c-2">{variables}</code> for dynamic parts. </p></div></div>',1)),(Dl(!0),Ll(Tl,null,ps(s.value,((e,r)=>(Dl(),Ll("div",{key:e.uid},[zl("div",wqe,[zl("div",xqe,[e.description?(Dl(),jl(Ao(Z6),{key:0,class:"self-center",value:e.description},null,8,["value"])):(Dl(),Ll("span",kqe,"Server "+Gn(r+1),1)),ql(Ao(Oq),{class:"hover:bg-b-3 hover:text-c-1 h-fit p-1.25",variant:"ghost",onClick:t=>(e=>{i.value=e,o.show()})(e.uid)},{default:ci((()=>[ql(Ao(XZ),{class:"size-3.5"})])),_:2},1032,["onClick"])]),Ao(t)?(Dl(),jl(vqe,{key:0,collectionId:Ao(t).uid,serverUid:e.uid},null,8,["collectionId","serverUid"])):Xl("",!0)])])))),128)),zl("div",Sqe,[ql(Ao(Oq),{class:"hover:bg-b-2 hover:text-c-1 flex items-center gap-2",size:"sm",variant:"ghost",onClick:l},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:"Add",size:"sm",thickness:"1.5"}),n[1]||(n[1]=zl("span",null,"Add Server",-1))])),_:1,__:[1]})])]),ql(Ao(F7),{size:"xxs",state:Ao(o),title:`Delete ${i.value?Ao(r)[i.value]?.url:"Server"}`},{default:ci((()=>[ql(eFe,{variableName:"Server",warningMessage:"Are you sure you want to delete this server? This action cannot be undone.",onClose:n[0]||(n[0]=e=>Ao(o).hide()),onDelete:c})])),_:1},8,["state","title"])],512))}}),Eqe=Object.freeze(Object.defineProperty({__proto__:null,default:_qe},Symbol.toStringTag,{value:"Module"})),Tqe=["onClick"],Aqe=["placeholder"],Cqe=Li({__name:"EnvironmentColors",props:{activeColor:{},selector:{type:Boolean,default:!1}},emits:["select"],setup(e,{emit:t}){const r=e,n=t,a=So(""),o=So(null),i=So(!1),s=So(!1),l=[{color:"#FFFFFF"},{color:"#EF0006"},{color:"#EDBE20"},{color:"#069061"},{color:"#FB892C"},{color:"#0082D0"},{color:"#5203D1"},{color:"#FFC0CB"}],c=gc((()=>r.activeColor&&!l.some((e=>e.color===r.activeColor))||a.value?`background-color: ${r.activeColor||a.value};`:"background: linear-gradient(to right, rgb(235, 87, 87), rgb(242, 201, 76), rgb(76, 183, 130), rgb(78, 167, 252), rgb(250, 96, 122));")),u=()=>{i.value=!i.value,r.selector&&(s.value=!1),Ko((()=>{o.value&&o.value.focus()}))};hl(a,(e=>{e&&!e.startsWith("#")&&(a.value=`#${e}`),i.value=!0}));const d=()=>{r.selector&&(s.value=!s.value)},p=e=>{n("select",e),r.selector&&(s.value=!1)};return(e,t)=>(Dl(),Ll("div",null,[i.value?Xl("",!0):(Dl(),Ll(Tl,{key:0},[r.selector&&!s.value?(Dl(),Ll("div",{key:0,class:zn(["flex cursor-pointer items-center justify-center rounded-full",r.selector?"h-4 w-4":"h-5 w-5"]),style:jn({backgroundColor:e.activeColor}),onClick:d},[e.activeColor?(Dl(),jl(Ao(A6),{key:0,class:zn(["text-c-btn",r.selector&&"p-0.5"]),icon:"Checkmark",size:"xs"},null,8,["class"])):Xl("",!0)],6)):Xl("",!0),s.value||!r.selector?(Dl(),Ll("div",{key:1,class:zn(["color-selector flex flex-row items-center justify-between gap-1.5 space-x-1",r.selector?"h-4":"min-h-10 min-w-[296px]"])},[(Dl(),Ll(Tl,null,ps(l,(t=>zl("div",{key:t.color,class:zn(["flex cursor-pointer items-center justify-center rounded-full",r.selector?"h-4 w-4":"h-5 w-5"]),style:jn({backgroundColor:t.color}),onClick:e=>p(t.color)},[e.activeColor!==t.color||a.value?Xl("",!0):(Dl(),jl(Ao(A6),{key:0,class:zn(["text-c-btn",r.selector&&"p-0.5"]),icon:"Checkmark",size:"xs"},null,8,["class"]))],14,Tqe))),64)),t[2]||(t[2]=zl("hr",{class:"border-ghost h-5 w-0.5 border-l"},null,-1)),zl("label",{class:zn(["z-10 flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full",r.selector?"h-4 w-4":"h-5 w-5"]),style:jn(c.value),onClick:u},[i.value||e.activeColor!==a.value&&(!e.activeColor||l.some((t=>t.color===e.activeColor)))?Xl("",!0):(Dl(),jl(Ao(A6),{key:0,class:"text-c-btn",icon:"Checkmark",size:"xs"}))],6)],2)):Xl("",!0)],64)),i.value?(Dl(),Ll("div",{key:1,class:zn(["color-selector flex flex-1 items-center gap-2 rounded",r.selector?"h-4":"min-h-10"])},[zl("span",{class:zn(["absolute rounded-full border border-dashed",r.selector?"h-4 w-4":"h-5 w-5"])},null,2),zl("span",{class:zn(["z-[1] rounded-full",r.selector?"h-4 w-4":"h-5 w-5"]),style:jn(c.value)},null,6),ui(zl("input",{ref_key:"customColorInputRef",ref:o,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),class:"w-full flex-1 border-transparent text-sm outline-none",placeholder:e.activeColor||"#000000",type:"text",onInput:t[1]||(t[1]=e=>p(a.value))},null,40,Aqe),[[mu,a.value]]),zl("button",{class:"text-c-3 hover:bg-b-2 rounded-lg p-1.5",type:"button",onClick:u},[ql(Ao(A6),{icon:"Checkmark",size:"xs"})])],2)):Xl("",!0)]))}}),Pqe={class:"flex flex-col gap-4"},$qe=Li({__name:"EnvironmentColorModal",props:{state:{},selectedColor:{}},emits:["cancel","submit"],setup(e,{emit:t}){const r=e,n=t,a=So(""),o=e=>{a.value=e},i=()=>{n("submit",a.value),a.value=""};return(e,t)=>(Dl(),jl(Ao(F7),{size:"xxs",state:e.state,title:"Edit Environment Color"},{default:ci((()=>[zl("div",Pqe,[ql(Cqe,{activeColor:a.value||r.selectedColor,class:"w-full p-1",onSelect:o},null,8,["activeColor"]),ql(KUe,{onCancel:t[0]||(t[0]=e=>n("cancel")),onSubmit:i})])])),_:1},8,["state"]))}}),Mqe={class:"flex gap-2"},Dqe={class:"flex max-h-8 flex-1"},Rqe=Li({__name:"CommandActionForm",props:{loading:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e){const{cx:t}=uq();return(e,r)=>(Dl(),Ll("form",{class:"flex w-full flex-col gap-3",onKeydown:r[0]||(r[0]=Cu(Tu((()=>{}),["stop"]),["enter"])),onSubmit:r[1]||(r[1]=Tu((t=>e.$emit("submit")),["prevent","stop"]))},[zl("div",qn(Hl(Ao(t)("relative flex min-h-20 flex-col rounded"))),[fs(e.$slots,"default")],16),zl("div",Mqe,[zl("div",Dqe,[fs(e.$slots,"options")]),ql(Ao(Oq),{class:"max-h-8 p-0 px-3 text-xs",disabled:e.disabled,loading:e.loading,type:"submit"},{default:ci((()=>[fs(e.$slots,"submit",{},(()=>[r[2]||(r[2]=Zl("Continue"))]))])),_:3},8,["disabled","loading"])])],32))}}),Nqe=["placeholder"],Iqe=Li({inheritAttrs:!1,__name:"CommandActionInput",props:{modelValue:{},placeholder:{},autofocus:{type:Boolean}},emits:["update:modelValue","onDelete"],setup(e,{emit:t}){const r=e,n=t,a=So(null);Yi((()=>Ko((()=>{r.autofocus||a.value?.focus()}))));const o=gc({get:()=>r.modelValue??"",set:e=>n("update:modelValue",e)});return(e,t)=>ui((Dl(),Ll("textarea",Jl({id:"command-action-input",ref_key:"input",ref:a,"onUpdate:modelValue":t[0]||(t[0]=e=>o.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:r.placeholder??"",wrap:"hard"},e.$attrs,{onKeydown:[t[1]||(t[1]=Cu((e=>function(e){""===o.value&&(e.preventDefault(),e.stopPropagation(),n("onDelete",e))}(e)),["delete"])),t[2]||(t[2]=Cu((e=>function(e){if(e.shiftKey||!e.target)return;e.preventDefault();const t=e.target,r=new Event("submit",{cancelable:!0});t.form?.dispatchEvent(r)}(e)),["enter"]))]}),null,16,Nqe)),[[mu,o.value]])}}),Lqe={class:"flex items-start gap-2"},jqe=Li({__name:"EnvironmentModal",props:{state:{},activeWorkspaceCollections:{},collectionId:{}},emits:["cancel","submit"],setup(e,{emit:t}){const r=e,n=t,{events:a}=AOe(),o=So(""),i=So("#FFFFFF"),s=gc((()=>[...r.activeWorkspaceCollections.filter((e=>"Drafts"!==e.info?.title)).map((e=>({id:e.uid,label:e.info?.title??"Untitled Collection"})))])),l=So(s.value.find((e=>e.id===r.collectionId))),{toast:c}=JW(),u=e=>{i.value=e};hl((()=>r.state.open),(e=>{e&&(o.value="",i.value="#FFFFFF",r.collectionId?l.value=s.value.find((e=>e.id===r.collectionId)):l.value=void 0)}));const d=()=>{o.value.trim()?l.value?.id?n("submit",{name:o.value,color:i.value,type:"global"===l.value?.id?"global":"collection",collectionId:"global"!==l.value?.id?l.value?.id:void 0}):c("Please select a collection before adding an environment.","error"):c("Please enter a name before adding an environment.","error")},p=()=>{r.state.hide(),a.commandPalette.emit({commandName:"Create Collection"})};return(e,t)=>(Dl(),jl(Ao(F7),{bodyClass:"border-t-0 rounded-t-lg",size:"xs",state:e.state},{default:ci((()=>[ql(Rqe,{disabled:!l.value||!o.value.trim(),onCancel:t[2]||(t[2]=e=>n("cancel")),onSubmit:d},{options:ci((()=>[ql(Ao(H6),{modelValue:l.value,"onUpdate:modelValue":t[1]||(t[1]=e=>l.value=e),options:s.value,placeholder:"Select Type"},{default:ci((()=>[s.value.length>0?(Dl(),jl(Ao(Oq),{key:0,class:"hover:bg-b-2 max-h-8 w-fit justify-between gap-1 p-2 text-xs",variant:"outlined"},{default:ci((()=>[zl("span",{class:zn(l.value?"text-c-1":"text-c-3")},Gn(l.value?l.value.label:"Select Collection"),3),ql(Ao(A6),{class:"text-c-3",icon:"ChevronDown",size:"xs"})])),_:1})):(Dl(),jl(Ao(Oq),{key:1,class:"hover:bg-b-2 max-h-8 justify-between gap-1 p-2 text-xs",variant:"outlined",onClick:p},{default:ci((()=>t[3]||(t[3]=[zl("span",{class:"text-c-1"},"Create Collection",-1)]))),_:1,__:[3]}))])),_:1},8,["modelValue","options"])])),submit:ci((()=>t[4]||(t[4]=[Zl(" Add Environment ")]))),default:ci((()=>[zl("div",Lqe,[ql(Cqe,{activeColor:i.value,class:"peer",selector:"",onSelect:u},null,8,["activeColor"]),ql(Iqe,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:"-mt-[.5px] !p-0 peer-has-[.color-selector]:hidden",placeholder:"Environment name"},null,8,["modelValue"])])])),_:1},8,["disabled"])])),_:1},8,["state"]))}}),Bqe=Li({__name:"EnvironmentForm",props:{collection:{},environment:{},workspace:{},envVariables:{}},setup(e){const{collectionMutators:t}=AOe(),r=So([]),n=So(new Set),a=So(new Map),o=So(!1),i=gc((()=>{if(!e.environment?.value)return[{key:"",value:""}];try{const t=JSON.parse(e.environment.value),r=Object.entries(t).map((([e,t])=>({key:e,value:String(t)})));return 0===r.length?[{key:"",value:""}]:r}catch{return[{key:"",value:""}]}})),s=gc((()=>{const e=r.value[r.value.length-1];return e?e.key||e.value?[...r.value,{key:"",value:""}]:r.value:[{key:"",value:""}]})),l=gc((()=>{const e=new Map;return r.value.forEach(((t,r)=>{if(t.key){const n=e.get(t.key)||[];n.push(r),e.set(t.key,n)}})),a.value.forEach(((t,r)=>{if(t){const n=e.get(t)||[];n.push(r),e.set(t,n)}})),Array.from(e.values()).filter((e=>e.length>1)).flat()}));hl(i,(e=>{r.value=[...e],n.value=new Set(e.map((e=>e.key)).filter(Boolean))}),{immediate:!0});const c=async(i,s,l)=>{if(!o.value){if("key"===s){a.value.set(i,l);const e=new Set(n.value),t=r.value[i];if(t&&e.delete(t.key),e.has(l))return}o.value=!0;try{const o=[...r.value],c=o[i];if(!c)return;o[i]={key:"key"===s?l:c.key,value:"value"===s?l:c.value},!o[i].key&&!o[i].value&&i!==o.length-1&&o.splice(i,1);const d=o.reduce(((e,{key:t,value:r})=>((t||r)&&(e[t]=r),e)),{});if(e.collection){const r={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:d}};await t.edit(e.collection.uid,"x-scalar-environments",r)}if(i===r.value.length-1){const e=o[o.length-1];e&&(e.key||e.value)&&await u()}await Ko(),r.value=o,"key"===s&&(n.value=new Set(o.map((e=>e.key)).filter(Boolean)),a.value.delete(i))}finally{o.value=!1}}},u=async()=>{if(!o.value){o.value=!0;try{const n=[...r.value,{key:"",value:""}],a=n.reduce(((e,{key:t,value:r})=>((t||r)&&(e[t]=r),e)),{});if(e.collection){const r={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:a}};await t.edit(e.collection.uid,"x-scalar-environments",r)}await Ko(),r.value=n}finally{o.value=!1}}},d=async()=>{if(0===r.value.length)await u();else if(r.value.length>=1){const e=r.value[r.value.length-1];e&&(e.key||e.value)&&await u()}};return Yi((()=>{d()})),hl((()=>r.value),(()=>{d()})),(n,a)=>(Dl(),jl(p_e,{class:"group/table flex-1",columns:["",""]},{default:ci((()=>[ql(S_e,{class:"sr-only !block"},{default:ci((()=>[ql(g_e,null,{default:ci((()=>a[0]||(a[0]=[Zl("Key")]))),_:1,__:[0]}),ql(g_e,null,{default:ci((()=>a[1]||(a[1]=[Zl("Value")]))),_:1,__:[1]})])),_:1}),(Dl(!0),Ll(Tl,null,ps(s.value,((a,i)=>(Dl(),jl(S_e,{key:i,class:zn({error:l.value.includes(i)})},{default:ci((()=>[ql(h_e,null,{default:ci((()=>[ql(uve,{disableCloseBrackets:"",disableEnter:"",disableTabIndent:"",lineWrapping:"",environment:n.environment,envVariables:n.envVariables,modelValue:a.key,placeholder:"Key",workspace:n.workspace,"onUpdate:modelValue":e=>c(i,"key",e)},hs({_:2},[l.value.includes(i)?{name:"icon",fn:ci((()=>[ql(Ao(rW),{class:"text-red mr-0.75 size-3.5 brightness-[.9]"})])),key:"0"}:void 0]),1032,["environment","envVariables","modelValue","workspace","onUpdate:modelValue"])])),_:2},1024),ql(h_e,null,{default:ci((()=>[ql(uve,{class:"pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",disableCloseBrackets:"",disableEnter:"",disableTabIndent:"",lineWrapping:"",environment:n.environment,envVariables:n.envVariables,modelValue:a.value,placeholder:"Value",workspace:n.workspace,"onUpdate:modelValue":e=>c(i,"value",e)},{icon:ci((()=>[a.key||a.value?(Dl(),jl(Ao(Oq),{key:0,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex",size:"sm",variant:"ghost",onClick:Tu((n=>(async n=>{if(!o.value){o.value=!0;try{const a=[...r.value];a.splice(n,1);const o=a.reduce(((e,{key:t,value:r})=>((t||r)&&(e[t]=r),e)),{});if(e.collection){const r={...e.collection["x-scalar-environments"],[e.environment.name]:{...e.collection["x-scalar-environments"]?.[e.environment.name],variables:o}};await t.edit(e.collection.uid,"x-scalar-environments",r)}await Ko(),r.value=a}finally{o.value=!1}}})(i)),["stop"])},{default:ci((()=>[ql(Ao(XZ),{class:"size-3.5"})])),_:2},1032,["onClick"])):Xl("",!0)])),_:2},1032,["environment","envVariables","modelValue","workspace","onUpdate:modelValue"])])),_:2},1024)])),_:2},1032,["class"])))),128))])),_:1}))}}),Uqe=W7(Bqe,[["__scopeId","data-v-83bfcc8a"]]),Fqe={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},Qqe={class:"flex flex-col gap-4"},zqe={class:"rounded-lg border"},qqe={class:"bg-b-2 flex cursor-grab items-center justify-between rounded-t-lg px-1 py-1 text-sm"},Hqe={class:"flex items-center"},Vqe=["onClick"],Zqe={class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},Wqe=Li({__name:"CollectionEnvironment",setup(e){const{activeCollection:t,activeWorkspace:r,activeEnvVariables:n}=Bbe(),{collectionMutators:a}=AOe(),o=B7(),i=B7(),s=B7(),l=B7(),c=So(""),u=So(null),d=So(void 0),p=gc((()=>t.value?.["x-scalar-environments"]?Object.entries(t.value["x-scalar-environments"]).map((([e,t])=>({uid:e,name:e,value:JSON.stringify(t.variables||{}),color:t.color||"#FFFFFF"}))):[])),h=()=>{!t.value?.uid||!u.value||(a.removeEnvironment(u.value,t.value.uid),i.hide())},f=e=>{t.value?.uid&&(a.addEnvironment(e.name,{variables:{},color:e.color},t.value.uid),s.hide())},m=e=>{if(!t.value?.uid||!u.value)return;const r={...t.value["x-scalar-environments"],[u.value]:{variables:t.value["x-scalar-environments"]?.[u.value]?.variables||{},color:e}};a.edit(t.value.uid,"x-scalar-environments",r),o.hide()},g=()=>{u.value=null,d.value=void 0,l.hide()},b=e=>{if(!t.value?.uid||!u.value)return;const r={...t.value["x-scalar-environments"]};if(!r[u.value])return;const n={},o=Object.entries(r),i=o.findIndex((([e])=>e===u.value));o.forEach((([t,r],a)=>{a===i?n[e]=r:n[t]=r})),a.edit(t.value.uid,"x-scalar-environments",n),u.value=null,d.value=void 0,l.hide()},v=(e,r)=>{if(!t.value?.uid)return;const n={...t.value["x-scalar-environments"]},o={},i=Object.entries(n),s=i.findIndex((([t])=>t===e.id)),l=i.findIndex((([e])=>e===r.id));if(-1===s||-1===l)return;const c=i[s];c&&(i.splice(s,1),i.splice(l,0,c),i.forEach((([e,t])=>{o[e]=t})),a.edit(t.value.uid,"x-scalar-environments",o))};return(e,a)=>(Dl(),jl(kCe,null,{default:ci((()=>[zl("div",Fqe,[zl("div",Qqe,[a[5]||(a[5]=zl("div",{class:"flex items-start justify-between gap-2"},[zl("div",{class:"flex flex-col gap-2"},[zl("div",{class:"flex h-8 items-center"},[zl("h3",{class:"font-bold"},"Environment Variables")]),zl("p",{class:"text-sm"},[Zl(" Set environment variables at your collection level. Use "),zl("code",{class:"font-code text-c-2"},"{{ variable }}"),Zl(" to add / search among the selected environment's variables in your request inputs. ")])])],-1)),(Dl(!0),Ll(Tl,null,ps(p.value,(e=>(Dl(),jl(Ao(fFe),{key:e.name,id:e.name,isDraggable:!0,isDroppable:!0,parentIds:[],onOnDragEnd:v},{default:ci((()=>[zl("div",zqe,[zl("div",qqe,[zl("div",Hqe,[ql(Ao(Oq),{class:"hover:bg-b-3 flex h-6 w-6 p-1",onClick:t=>(e=>{u.value=e.name,c.value=e.color||"#FFFFFF",o.show()})(e),variant:"ghost"},{default:ci((()=>[zl("span",{style:jn({backgroundColor:e.color||"#FFFFFF"}),class:"h-2.5 w-2.5 rounded-full"},null,4)])),_:2},1032,["onClick"]),zl("button",{class:"hover:bg-b-3 rounded px-1 py-0.5 text-sm",onClick:t=>(e=>{u.value=e,d.value=e,l.show()})(e.name)},Gn(e.name),9,Vqe)]),ql(Ao(Oq),{class:"hover:bg-b-3 hover:text-c-1 h-fit p-1.25",variant:"ghost",onClick:t=>(e=>{u.value=e,i.show()})(e.name)},{default:ci((()=>[ql(Ao(XZ),{class:"size-3.5"})])),_:2},1032,["onClick"])]),Ao(t)&&Ao(r)?(Dl(),jl(Uqe,{key:0,collection:Ao(t),environment:e,envVariables:Ao(n),workspace:Ao(r)},null,8,["collection","environment","envVariables","workspace"])):Xl("",!0)])])),_:2},1032,["id"])))),128)),zl("div",Zqe,[ql(Ao(Oq),{class:"hover:bg-b-2 hover:text-c-1 flex items-center gap-2",size:"sm",variant:"ghost",onClick:a[0]||(a[0]=e=>Ao(s).show())},{default:ci((()=>[ql(Ao(A6),{class:"inline-flex",icon:"Add",size:"sm",thickness:"1.5"}),a[4]||(a[4]=zl("span",null,"Add Environment",-1))])),_:1,__:[4]})])]),ql(Ao(F7),{size:"xxs",state:Ao(i),title:`Delete ${u.value||"Environment"}`},{default:ci((()=>[ql(eFe,{variableName:"Environment",warningMessage:"Are you sure you want to delete this environment? This action cannot be undone.",onClose:a[1]||(a[1]=e=>Ao(i).hide()),onDelete:h})])),_:1},8,["state","title"]),ql(jqe,{activeWorkspaceCollections:Ao(t)?[Ao(t)]:[],collectionId:Ao(t)?.uid,state:Ao(s),onCancel:a[2]||(a[2]=e=>Ao(s).hide()),onSubmit:f},null,8,["activeWorkspaceCollections","collectionId","state"]),ql($qe,{selectedColor:c.value,state:Ao(o),onCancel:a[3]||(a[3]=e=>Ao(o).hide()),onSubmit:m},null,8,["selectedColor","state"]),ql(Ao(F7),{size:"xxs",state:Ao(l),title:`Edit ${u.value}`},{default:ci((()=>[ql(sFe,{name:d.value??"",onClose:g,onEdit:b},null,8,["name"])])),_:1},8,["state","title"])])])),_:1}))}}),Xqe=Object.freeze(Object.defineProperty({__proto__:null,default:Wqe},Symbol.toStringTag,{value:"Module"})),Gqe={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},Yqe={class:"flex flex-col gap-4"},Kqe={class:"flex flex-col gap-2"},Jqe={class:"flex h-8 items-center justify-between"},eHe=Li({__name:"CollectionAuthentication",setup(e){const{activeCollection:t,activeEnvVariables:r,activeEnvironment:n,activeServer:a,activeWorkspace:o}=Bbe(),{collectionMutators:i}=AOe(),s=()=>{t.value?.uid&&i.edit(t.value.uid,"useCollectionSecurity",!t.value.useCollectionSecurity)};return(e,i)=>(Dl(),Ll("div",Gqe,[zl("div",Yqe,[zl("div",Kqe,[zl("div",Jqe,[i[0]||(i[0]=zl("h3",{class:"font-bold"},"Authentication",-1)),ql(Ao(D7),{class:"w-4",modelValue:Ao(t)?.useCollectionSecurity??!1,"onUpdate:modelValue":s},null,8,["modelValue"])]),i[1]||(i[1]=zl("p",{class:"pr-6 text-sm"}," Added authentication will apply to all requests under this collection. You can override this by specifying another one in the request. ",-1))]),Ao(t)&&Ao(o)?(Dl(),jl(Ao($Pe),{key:0,class:zn(["scalar-collection-auth",!Ao(t)?.useCollectionSecurity&&"pointer-events-none opacity-50 mix-blend-luminosity"]),collection:Ao(t),envVariables:Ao(r),environment:Ao(n),layout:"client",selectedSecuritySchemeUids:Ao(t)?.selectedSecuritySchemeUids??[],server:Ao(a),title:"Authentication",workspace:Ao(o)},null,8,["class","collection","envVariables","environment","selectedSecuritySchemeUids","server","workspace"])):Xl("",!0)])]))}}),tHe=W7(eHe,[["__scopeId","data-v-cc87292e"]]),rHe=Object.freeze(Object.defineProperty({__proto__:null,default:tHe},Symbol.toStringTag,{value:"Module"})),nHe=Li({__name:"CollectionCookies",setup:e=>(e,t)=>(Dl(),jl(kCe,null,{title:ci((()=>t[0]||(t[0]=[Zl("Cookies")]))),_:1}))}),aHe=Object.freeze(Object.defineProperty({__proto__:null,default:nHe},Symbol.toStringTag,{value:"Module"})),oHe=Li({__name:"CollectionScripts",setup:e=>(e,t)=>(Dl(),jl(kCe,null,{title:ci((()=>t[0]||(t[0]=[Zl("Scripts")]))),_:1}))}),iHe=Object.freeze(Object.defineProperty({__proto__:null,default:oHe},Symbol.toStringTag,{value:"Module"})),sHe=Li({__name:"CollectionSync",setup:e=>(e,t)=>(Dl(),jl(kCe,null,{title:ci((()=>t[0]||(t[0]=[Zl("Sync")]))),_:1}))}),lHe=Object.freeze(Object.defineProperty({__proto__:null,default:sHe},Symbol.toStringTag,{value:"Module"})),cHe={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},uHe={class:"flex flex-col gap-2"},dHe={class:"bg-b-2 rounded-lg border text-sm"},pHe={class:"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3"},hHe={class:"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap"},fHe={class:"flex items-center"},mHe=["href"],gHe={class:"flex flex-col gap-4"},bHe={class:"flex items-center justify-between rounded-lg border p-3 text-sm"},vHe=Li({__name:"CollectionSettings",setup(e){const{activeCollection:t,activeWorkspace:r,activeWorkspaceCollections:n}=Bbe(),{collectionMutators:a}=AOe(),{replace:o}=Tbe(),i=B7();function s(){t.value&&t.value?.documentUrl&&a.edit(t.value.uid,"watchMode",!t.value?.watchMode)}function l(){if(!t.value||!r.value)return;a.delete(t.value,r.value);const e=n.value[0];e&&o({name:"collection",params:{[Pbe.Workspace]:r.value.uid,[Pbe.Collection]:e.uid}}),i.hide()}return(e,r)=>(Dl(),Ll(Tl,null,[zl("div",cHe,[zl("div",uHe,[r[5]||(r[5]=zl("div",{class:"flex h-8 items-center"},[zl("h3",{class:"font-bold"},"Features")],-1)),zl("div",dHe,[zl("div",pHe,[r[2]||(r[2]=zl("div",null,[zl("h4",null,"Watch Mode"),zl("p",{class:"text-c-2 mt-1"}," When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")],-1)),ql(Ao(D7),{class:"w-4",disabled:!Ao(t)?.documentUrl,modelValue:Ao(t)?.watchMode??!1,"onUpdate:modelValue":s},null,8,["disabled","modelValue"])]),zl("div",hHe,[zl("div",fHe,[Ao(t)?.documentUrl?(Dl(),Ll(Tl,{key:0},[r[3]||(r[3]=zl("span",{class:"bg-b-2 sticky left-0 pr-2 pl-3"},"Source",-1)),zl("a",{class:"text-c-2 group rounded pr-3 no-underline hover:underline",href:Ao(t).documentUrl,target:"_blank"},[Zl(Gn(Ao(t).documentUrl)+" ",1),ql(Ao(A6),{class:"ml-1 hidden w-2.5 group-hover:inline",icon:"ExternalLink"})],8,mHe)],64)):(Dl(),Ll(Tl,{key:1},[ql(Ao(A6),{class:"text-c-2 mr-2 ml-3 w-4",icon:"NotAllowed",size:"sm"}),r[4]||(r[4]=zl("span",{class:"text-c-2 pr-3"}," No URL configured. Try importing an OpenAPI document from an URL. ",-1))],64))])])])]),zl("div",gHe,[r[8]||(r[8]=zl("h3",{class:"font-bold"},"Danger Zone",-1)),zl("div",bHe,[r[7]||(r[7]=zl("div",null,[zl("h4",null,"Delete Collection"),zl("p",{class:"text-c-2 mt-1"}," Be careful, my friend. Once deleted, there is no way to recover the collection. ")],-1)),ql(Ao(Oq),{class:"custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",variant:"danger",onClick:r[0]||(r[0]=e=>Ao(i).show())},{default:ci((()=>r[6]||(r[6]=[Zl(" Delete Collection ")]))),_:1,__:[6]})])])]),ql(Ao(F7),{size:"xxs",state:Ao(i),title:`Delete ${Ao(t)?.info?.title}`},{default:ci((()=>[ql(eFe,{variableName:Ao(t)?.info?.title??"",warningMessage:"This action cannot be undone.",onClose:r[1]||(r[1]=e=>Ao(i).hide()),onDelete:l},null,8,["variableName"])])),_:1},8,["state","title"])],64))}}),yHe=W7(vHe,[["__scopeId","data-v-5170f3be"]]),OHe=Object.freeze(Object.defineProperty({__proto__:null,default:yHe},Symbol.toStringTag,{value:"Module"})),wHe={class:"gap-1/2 flex flex-col px-3 pb-[75px]"},xHe=W7({},[["render",function(e,t){return Dl(),Ll("ul",wHe,[fs(e.$slots,"default")])}]]),kHe={class:"absolute right-1 flex opacity-0 group-hover:opacity-100"},SHe=Li({__name:"SidebarListElementActions",props:{variable:{},warningMessage:{},isCopyable:{type:Boolean},isDeletable:{type:Boolean},isRenameable:{type:Boolean}},emits:["delete","rename"],setup(e,{emit:t}){const r=t,n=So({action:"None",name:""}),a=B7(),{copyToClipboard:o}=tX();function i(){a.hide(),n.value={action:"None",name:""}}return(t,s)=>(Dl(),Ll(Tl,null,[zl("div",kHe,[t.isCopyable?(Dl(),Ll("button",{key:0,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]",type:"button",onClick:s[0]||(s[0]=e=>Ao(o)(t.variable.name))},[ql(Ao(A6),{class:"h-3 w-3",icon:"Clipboard"})])):Xl("",!0),t.isRenameable?(Dl(),Ll("button",{key:1,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]",type:"button",onClick:s[1]||(s[1]=e=>r("rename",t.variable.uid))},[ql(Ao(A6),{class:"h-3 w-3",icon:"Edit"})])):Xl("",!0),!t.variable.isDefault&&t.isDeletable?(Dl(),Ll("button",{key:2,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-1",type:"button",onClick:s[2]||(s[2]=Tu((t=>(n.value={action:"Delete",name:e.variable.name},void a.show())),["prevent"]))},[ql(Ao(A6),{class:"h-3.5 w-3.5",icon:"Close"})])):Xl("",!0)]),ql(Ao(F7),{size:"sm",state:Ao(a),title:`${n.value.action} ${n.value.name}`},{default:ci((()=>["Delete"===n.value.action?(Dl(),jl(eFe,{key:0,variableName:n.value.name,warningMessage:t.warningMessage,onClose:i,onDelete:s[3]||(s[3]=e=>function(e){r("delete",e),i()}(t.variable.uid))},null,8,["variableName","warningMessage"])):Xl("",!0)])),_:1},8,["state","title"])],64))}}),_He={class:"empty-variable-name line-clamp-1 text-sm break-all group-hover:pr-5"},EHe=Li({__name:"SidebarListElement",props:{variable:{},warningMessage:{},to:{},isDeletable:{type:Boolean},isCopyable:{type:Boolean},isRenameable:{type:Boolean},isDraggable:{type:Boolean,default:!1},isDroppable:{type:[Boolean,Function],default:!1},collectionId:{}},emits:["delete","colorModal","rename","onDragEnd"],setup(e,{emit:t}){const r=t,n=Tbe(),a=e=>{r("delete",e)},o=e=>{r("rename",e)},i=So(null),s=gc((()=>({ceiling:.5,floor:.5})));return(t,l)=>{const c=ss("router-link");return Dl(),Ll("li",null,[ql(Ao(fFe),{id:t.variable.uid,ref_key:"draggableRef",ref:i,ceiling:s.value.ceiling,floor:s.value.floor,isDraggable:t.isDraggable,isDroppable:t.isDroppable,parentIds:t.collectionId?[t.collectionId]:[],onOnDragEnd:l[2]||(l[2]=(...e)=>t.$emit("onDragEnd",...e))},{default:ci((()=>[ql(c,{class:zn(["text-c-2 hover:bg-b-2 group relative flex h-8 items-center gap-1.5 rounded py-1 pr-1.5 font-medium no-underline",[t.variable.color?"pl-5":"pl-1.5"]]),exactActiveClass:"bg-b-2 !text-c-1",role:"button",to:t.to,onClick:l[1]||(l[1]=Tu((t=>(t=>{t.metaKey?window.open(n.resolve(e.to).href,"_blank"):n.push(e.to)})(t)),["prevent"]))},{default:ci((()=>[t.variable.color?(Dl(),Ll("button",{key:0,class:"hover:bg-b-3 rounded p-1.5",type:"button",onClick:l[0]||(l[0]=e=>(e=>{r("colorModal",e)})(t.variable.uid))},[zl("div",{class:"h-2.5 w-2.5 rounded-xl",style:jn({backgroundColor:t.variable.color})},null,4)])):Xl("",!0),t.variable.icon?(Dl(),jl(Ao(A6),{key:1,class:"text-sidebar-c-2 size-3.5 stroke-[2.25]",icon:t.variable.icon},null,8,["icon"])):Xl("",!0),zl("span",_He,Gn(t.variable.name),1),ql(SHe,{isCopyable:!!t.isCopyable,isDeletable:!!t.isDeletable,isRenameable:!!t.isRenameable,variable:{...t.variable,isDefault:t.variable.isDefault??!1},warningMessage:t.warningMessage,onDelete:a,onRename:o},null,8,["isCopyable","isDeletable","isRenameable","variable","warningMessage"])])),_:1},8,["class","to"])])),_:1},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])])}}}),THe=W7(EHe,[["__scopeId","data-v-0b6c70e4"]]),AHe={class:"flex-1"},CHe=["onClick"],PHe={class:"flex h-5 max-w-[14px] items-center justify-center"},$He=(Li({__name:"Environment",setup(e){const t=Tbe(),r=Abe(),{activeWorkspace:n,activeEnvironment:a,activeWorkspaceCollections:o,activeEnvVariables:i}=Bbe(),{events:s,workspaceMutators:l,collectionMutators:c}=AOe(),{collapsedSidebarFolders:u,toggleSidebarFolder:d}=lwe(),p=B7(),h=B7(),f=B7(),m=So(null),g=So("default"),b=So(""),v=So(void 0),y=So(void 0),O=So(void 0),{toast:w}=JW();function x(e,t,r){e&&(t.uid===r?w(`Environment name already used in ${t.info?.title}`,"error"):w("Environment name already used in another collection","error"))}const k=gc((()=>o.value.filter((e=>"Drafts"!==e.info?.title))));function S(e){k.value.some((t=>{const r=Object.keys(t["x-scalar-environments"]||{}).includes(e.name);return x(r,t,e.collectionId),r}))||(e.collectionId&&(c.addEnvironment(e.name,{variables:{},color:e.color},e.collectionId),u[e.collectionId]||d(e.collectionId),t.push({name:"environment.collection",params:{[Pbe.Collection]:e.collectionId,[Pbe.Environment]:e.name}})),h.hide())}function _(e){if(!a)return;const t=(e=>JSON.parse(e))(e);if("default"===g.value)l.edit(n.value?.uid,"environments",t);else{const e=o.value.find((e=>e["x-scalar-environments"]?.[g.value??""]));if(e?.["x-scalar-environments"]?.[g.value??""]){const r=e["x-scalar-environments"][g.value??""];r&&(r.variables=t,c.edit(e.uid,"x-scalar-environments",e["x-scalar-environments"]))}}}const E=e=>{v.value=e,h.show()},T=e=>{const t=m.value;"string"==typeof t&&(o.value.some((e=>e["x-scalar-environments"]?.[t]))&&o.value.forEach((r=>{r["x-scalar-environments"]?.[t]&&(r["x-scalar-environments"][t].color=e,c.edit(r.uid,"x-scalar-environments",r["x-scalar-environments"]))})),p.hide())},A=e=>u[e],C=e=>{e?.createNew&&"environment"===r.name&&E()};function P(){y.value=void 0,v.value=void 0,O.value=void 0,f.hide()}function $(e){k.value.some((t=>{const r=Object.keys(t["x-scalar-environments"]||{}).includes(e);return x(r,t,v.value),r}))||(e&&"default"!==y.value&&o.value.forEach((t=>{if(t["x-scalar-environments"]?.[y.value??""]){const r=t["x-scalar-environments"],n={};Object.keys(r).forEach((t=>{const a=r[t];a&&(t===y.value?n[e]=a:n[t]=a)})),t["x-scalar-environments"]=n,c.edit(t.uid,"x-scalar-environments",t["x-scalar-environments"])}})),e&&g.value===y.value&&(g.value=e),y.value=void 0,v.value=void 0,O.value=void 0,f.hide())}hl((()=>[r.params[Pbe.Collection],r.params[Pbe.Environment]]),(([e,t])=>{g.value=e?t:"default"})),Yi((()=>{g.value=r.params[Pbe.Environment]||"default",s.hotKeys.on(C);const e=r.params[Pbe.Collection];e&&!u[e]&&d(e)})),es((()=>s.hotKeys.off(C)));const{handleDragEnd:M,isDroppable:D}=function(e,t){return{handleDragEnd:(r,n)=>{if(!r||!n)return;const{id:a,parentId:o}=r,{id:i,parentId:s,offset:l}=n;if(o!==s)return;const c=e.value.find((e=>e.uid===o));if(!c||!c["x-scalar-environments"])return;const u=c["x-scalar-environments"],d=Object.keys(u),p=d.findIndex((e=>e===a));d.splice(p,1);const h=d.findIndex((e=>e===i))+(1===l?1:0);d.splice(h,0,a);const f=d.reduce(((e,t)=>{const r=u[t];return r&&(e[t]=r),e}),{});c["x-scalar-environments"]=f,t.edit(c.uid,"x-scalar-environments",c["x-scalar-environments"])},isDroppable:(e,t)=>e.parentId===t.parentId}}(o,c);return hl((()=>r.query.openEnvironmentModal),(e=>{"true"===e&&E()}),{immediate:!0}),(e,r)=>(Dl(),jl(cQe,null,{default:ci((()=>[ql(hwe,{title:"Collections"},{content:ci((()=>[zl("div",AHe,[ql(xHe,null,{default:ci((()=>[(Dl(),jl(THe,{key:"default",class:"text-xs",isCopyable:!1,to:{name:"environment",params:{[Ao(Pbe).Environment]:"default"}},type:"environment",variable:{name:"Global Environment",uid:"default",icon:"Globe",isDefault:!0}},null,8,["to"])),(Dl(!0),Ll(Tl,null,ps(k.value,(e=>(Dl(),Ll("li",{key:e.uid,class:"gap-1/2 flex flex-col"},[zl("button",{class:"hover:bg-b-2 group flex w-full items-center gap-1.5 rounded p-1.5 text-left text-sm font-medium break-words",type:"button",onClick:t=>Ao(d)(e.uid)},[zl("span",PHe,[ql(Ao(zUe),{class:"text-sidebar-c-2 size-3.5 min-w-3.5 stroke-2 group-hover:hidden",src:e["x-scalar-icon"]||"interface-content-folder"},null,8,["src"]),zl("div",{class:zn({"rotate-90":Ao(u)[e.uid]})},[ql(Ao(A6),{class:"text-c-3 hover:text-c-1 hidden text-sm group-hover:block",icon:"ChevronRight",size:"md"})],2)]),Zl(" "+Gn(e.info?.title??""),1)],8,CHe),ui(zl("div",{class:zn({"before:bg-border relative mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-3 before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full":Object.keys(e["x-scalar-environments"]||{}).length>0})},[(Dl(!0),Ll(Tl,null,ps(e["x-scalar-environments"],((r,a)=>(Dl(),jl(THe,{key:a,class:"text-xs",collectionId:e.uid,isCopyable:!1,isDeletable:!0,isRenameable:!0,isDraggable:!0,isDroppable:Ao(D),to:{name:"environment.collection",params:{[Ao(Pbe).Collection]:e.uid,[Ao(Pbe).Environment]:a}},type:"environment",variable:{name:a,uid:a,color:r.color??"#FFFFFF",isDefault:!1},warningMessage:"Are you sure you want to delete this environment?",onClick:Tu((r=>((e,r,a)=>{const o=a?{name:"environment.collection",params:{[Pbe.Workspace]:n.value?.uid,[Pbe.Collection]:a,[Pbe.Environment]:r}}:{name:"environment.default",params:{[Pbe.Workspace]:n.value?.uid,[Pbe.Environment]:r}};e.metaKey?window.open(t.resolve(o).href,"_blank"):t.push(o)})(r,a,e.uid)),["prevent"]),onColorModal:e=>(e=>{m.value=e,b.value=o.value.find((t=>t["x-scalar-environments"]?.[e]))?.["x-scalar-environments"]?.[e]?.color??"",p.show()})(a),onDelete:e=>function(e){k.value.forEach((t=>{c.removeEnvironment(e,t.uid)}));const r=k.value.flatMap((e=>Object.keys(e["x-scalar-environments"]||{})));if(r.length>0){const e=r[r.length-1];if(!e)return;const n=o.value.find((t=>Object.keys(t["x-scalar-environments"]||{}).includes(e)));g.value=e,t.push({name:"environment.collection",params:{[Pbe.Collection]:n?.uid,[Pbe.Environment]:e}}),n&&!u[n.uid]&&d(n.uid)}else g.value="default",t.push({name:"environment.default",params:{[Pbe.Workspace]:n.value?.uid}})}(a),onRename:t=>((e,t)=>{y.value=e,v.value=t,O.value=e,f.show()})(a,e.uid),onOnDragEnd:Ao(M)},null,8,["collectionId","isDroppable","to","variable","onClick","onColorModal","onDelete","onRename","onOnDragEnd"])))),128)),0===Object.keys(e["x-scalar-environments"]||{}).length?(Dl(),jl(Ao(Oq),{key:0,class:"text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 pl-6 text-xs",variant:"ghost",onClick:t=>E(e.uid)},{default:ci((()=>[ql(Ao(A6),{icon:"Add",size:"sm"}),r[2]||(r[2]=zl("span",null,"Add Environment",-1))])),_:2,__:[2]},1032,["onClick"])):Xl("",!0)],2),[[qc,A(e.uid)]])])))),128))])),_:1})])])),button:ci((()=>[ql(XUe,{click:E,hotkey:"N"},{title:ci((()=>r[3]||(r[3]=[Zl(" Add Environment ")]))),_:1})])),_:1}),ql(dQe,{class:"flex-1"},{default:ci((()=>[ql(kCe,null,hs({default:ci((()=>[g.value&&Ao(n)?(Dl(),jl(uve,{key:0,class:"py-2 pr-2 pl-px md:px-4",envVariables:Ao(i),environment:Ao(a),language:"json",lineNumbers:"",lint:"",modelValue:"default"===g.value?JSON.stringify(n.value?.environments,null,2):JSON.stringify(o.value.find((e=>e["x-scalar-environments"]?.[g.value??""]))?.["x-scalar-environments"]?.[g.value??""]?.variables,null,2),workspace:Ao(n),"onUpdate:modelValue":_},null,8,["envVariables","environment","modelValue","workspace"])):Xl("",!0)])),_:2},[g.value?{name:"title",fn:ci((()=>[zl("span",null,Gn("default"===g.value?"Global Environment":g.value),1)])),key:"0"}:void 0]),1024)])),_:1}),ql($qe,{selectedColor:b.value,state:Ao(p),onCancel:r[0]||(r[0]=e=>Ao(p).hide()),onSubmit:T},null,8,["selectedColor","state"]),ql(jqe,{activeWorkspaceCollections:k.value,collectionId:v.value,state:Ao(h),onCancel:r[1]||(r[1]=e=>Ao(h).hide()),onSubmit:S},null,8,["activeWorkspaceCollections","collectionId","state"]),ql(Ao(F7),{size:"xxs",state:Ao(f),title:`Edit ${y.value}`},{default:ci((()=>[ql(sFe,{name:O.value??"",onClose:P,onEdit:$},null,8,["name"])])),_:1},8,["state","title"])])),_:1}))}}),Symbol.toStringTag,Li({__name:"CookieForm",setup(e){const{activeCookieId:t}=Bbe(),{cookies:r,cookieMutators:n}=AOe(),a=[{label:"Name",key:"name",placeholder:"session_id"},{label:"Value",key:"value",placeholder:"my-cookie-session-id"},{label:"Domain",key:"domain",placeholder:"example.com"}],o=gc((()=>r[t.value]||SCe.parse({name:"",value:"",domain:"",path:""}))),i=(e,r)=>{n.edit(t.value,e,r)};return(e,t)=>(Dl(),jl(bqe,{data:o.value,onUpdate:i,options:a},null,8,["data"]))}})),MHe={class:"flex h-8 items-start gap-2 text-sm"},DHe={class:"flex h-8 items-start gap-2 text-sm"},RHe={class:"flex h-8 items-start gap-2 text-sm"},NHe=Li({__name:"CookieModal",props:{state:{}},emits:["cancel","submit"],setup(e,{emit:t}){const r=e,n=t,a=So({name:"",value:"",domain:""}),{toast:o}=JW(),i=()=>{a.value.name&&a.value.value?(n("submit",a.value),r.state.hide()):o("Please fill in all fields before adding a cookie.","error")};return hl((()=>r.state.open),(e=>{e&&(a.value={name:"",value:"",domain:""})})),(e,t)=>(Dl(),jl(Ao(F7),{size:"xs",state:e.state,title:"Add Cookie"},{default:ci((()=>[ql(Rqe,{disabled:!a.value.name||!a.value.value,onCancel:t[3]||(t[3]=e=>n("cancel")),onSubmit:i},{submit:ci((()=>t[7]||(t[7]=[Zl("Add Cookie")]))),default:ci((()=>[zl("div",MHe,[t[4]||(t[4]=Zl(" Name: ")),ql(Iqe,{modelValue:a.value.name,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value.name=e),autofocus:"",class:"!p-0",placeholder:"session_id"},null,8,["modelValue"])]),zl("div",DHe,[t[5]||(t[5]=Zl(" Value: ")),ql(Iqe,{modelValue:a.value.value,"onUpdate:modelValue":t[1]||(t[1]=e=>a.value.value=e),autofocus:"",class:"!p-0",placeholder:"my-cookie-session-id"},null,8,["modelValue"])]),zl("div",RHe,[t[6]||(t[6]=Zl(" Domain: ")),ql(Iqe,{modelValue:a.value.domain,"onUpdate:modelValue":t[2]||(t[2]=e=>a.value.domain=e),autofocus:"",class:"!p-0",placeholder:"example.com"},null,8,["modelValue"])])])),_:1},8,["disabled"])])),_:1},8,["state"]))}}),IHe=W7(NHe,[["__scopeId","data-v-694018d6"]]),LHe={class:"flex-1"},jHe={class:"relative mb-[.5px] last:mb-0"},BHe=(Li({__name:"Cookies",setup(e){const{cookies:t,cookieMutators:r,events:n,workspaceMutators:a}=AOe(),{activeWorkspace:o,activeCookieId:i}=Bbe(),s=Tbe(),l=Abe(),c=B7(),u=e=>{const t=SCe.parse({name:e.name,value:e.value,domain:e.domain,path:"/"});r.add(t),a.edit(o.value?.uid,"cookies",[...o.value?.cookies??[],t.uid]),s.push({name:"cookies",params:{cookies:t.uid}})},d=()=>{c.show()},p=e=>{e?.createNew&&"cookies"===l.name&&d()};Yi((()=>n.hotKeys.on(p))),es((()=>n.hotKeys.off(p)));const h=gc((()=>t[i.value])),f=gc((()=>Object.keys(t).length>0&&h.value));return hl((()=>l.query.openCookieModal),(e=>{"true"===e&&d()}),{immediate:!0}),(e,n)=>(Dl(),jl(cQe,null,{default:ci((()=>[ql(Ao(hwe),{title:"Cookies"},{content:ci((()=>[zl("div",LHe,[ql(xHe,null,{default:ci((()=>[(Dl(!0),Ll(Tl,null,ps(Object.values(Ao(t)),(e=>(Dl(),Ll("li",{key:e.uid,class:"gap-1/2 flex flex-col"},[zl("div",jHe,[(Dl(),jl(THe,{key:e.uid,class:"text-xs",isDeletable:"",to:{name:"cookies",params:{[Ao(Pbe).Cookies]:e.uid}},type:"cookies",variable:{name:e.name,uid:e.uid},warningMessage:"Are you sure you want to delete this cookie?",onClick:Tu((t=>((e,t)=>{const r={name:"cookies",params:{workspace:o.value?.uid??"default",cookies:t}};if(e.metaKey){const e=s.resolve(r).href;window.open(e,"_blank")}else s.push(r)})(t,e.uid)),["prevent"]),onDelete:n=>(e=>{r.delete(e),a.edit(o.value?.uid,"cookies",[...(o.value?.cookies??[]).filter((t=>t!==e))]);const n=Object.values(t).filter((t=>t.uid!==e));if(n.length>0){const e=n[n.length-1];e&&s.push(e.uid)}else s.push({name:"cookies",params:{[Pbe.Cookies]:"default"}})})(e.uid)},null,8,["to","variable","onClick","onDelete"]))])])))),128))])),_:1})])])),button:ci((()=>[ql(XUe,{click:d,hotkey:"N"},{title:ci((()=>n[1]||(n[1]=[Zl(" Add Cookie ")]))),_:1})])),_:1}),ql(dQe,{class:"flex-1"},{default:ci((()=>[f.value?(Dl(),jl(kCe,{key:0,class:"*:border-b-0"},{title:ci((()=>n[2]||(n[2]=[Zl("Edit Cookie")]))),default:ci((()=>[ql($He)])),_:1})):(Dl(),jl(lQe,{key:1}))])),_:1}),ql(IHe,{state:Ao(c),onCancel:n[0]||(n[0]=e=>Ao(c).hide()),onSubmit:u},null,8,["state"])])),_:1}))}}),Symbol.toStringTag,Li({__name:"IntegrationLogo",props:{integration:{}},setup(e){const t=e,r=["adonisjs","dotnet","elysiajs","express","fastapi","fastify","go","hono","laravel","litestar","nestjs","nextjs","nitro","nuxt","platformatic","react","rust","svelte"],n=gc((()=>{const e="Openapi",n=t.integration?.toLocaleLowerCase();if(!n)return e;const a=n.charAt(0).toUpperCase()+n.slice(1);return r.includes(n)?a:e}));return(e,t)=>(Dl(),jl(Ao(A6),{class:"h-full w-full rounded-lg",logo:n.value},null,8,["logo"]))}})),UHe={class:"flex flex-col gap-2"},FHe=Li({__name:"SettingsAppearance",setup(e){const{colorMode:t,setColorMode:r}=LB(),n=lq({base:"w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",variants:{active:{true:"bg-primary text-c-1 hover:bg-inherit",false:"bg-b-1 hover:bg-b-2"}}});return(e,a)=>(Dl(),Ll("div",UHe,[ql(Ao(Oq),{class:zn(Ao(cq)(Ao(n)({active:"system"===Ao(t)}))),onClick:a[0]||(a[0]=e=>Ao(r)("system"))},{default:ci((()=>[zl("div",{class:zn(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":"system"===Ao(t)}])},["system"===Ao(t)?(Dl(),jl(Ao(A6),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):Xl("",!0)],2),a[3]||(a[3]=Zl(" System Preference (default) "))])),_:1,__:[3]},8,["class"]),ql(Ao(Oq),{class:zn(Ao(cq)(Ao(n)({active:"light"===Ao(t)}))),onClick:a[1]||(a[1]=e=>Ao(r)("light"))},{default:ci((()=>[zl("div",{class:zn(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":"light"===Ao(t)}])},["light"===Ao(t)?(Dl(),jl(Ao(A6),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):Xl("",!0)],2),a[4]||(a[4]=Zl(" Light Mode Always "))])),_:1,__:[4]},8,["class"]),ql(Ao(Oq),{class:zn(Ao(cq)(Ao(n)({active:"dark"===Ao(t)}))),onClick:a[2]||(a[2]=e=>Ao(r)("dark"))},{default:ci((()=>[zl("div",{class:zn(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":"dark"===Ao(t)}])},["dark"===Ao(t)?(Dl(),jl(Ao(A6),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):Xl("",!0)],2),a[5]||(a[5]=Zl(" Dark Mode Always "))])),_:1,__:[5]},8,["class"])]))}}),QHe={class:"flex flex-col gap-2"},zHe={key:0,class:"font-bold"},qHe={key:1,class:"text-c-2 mb-4 leading-[21px]"},HHe=Li({__name:"SettingsSection",setup:e=>(e,t)=>(Dl(),Ll("div",QHe,[e.$slots.title?(Dl(),Ll("h3",zHe,[fs(e.$slots,"title")])):Xl("",!0),e.$slots.description?(Dl(),Ll("p",qHe,[fs(e.$slots,"description")])):Xl("",!0),fs(e.$slots,"default")]))}),VHe={class:"bg-b-1 h-full w-full overflow-auto"},ZHe={class:"mr-auto ml-auto w-full max-w-[720px] px-5 py-5"},WHe={class:"flex flex-col gap-8"},XHe={class:"flex flex-col gap-2"},GHe={class:"flex flex-col gap-2"},YHe={class:"grid grid-cols-2 gap-2"},KHe={class:"flex items-center gap-2"},JHe={class:"flex items-center gap-1"},eVe={class:"grid grid-cols-2 gap-2"},tVe={class:"flex items-center gap-2"},rVe={class:"flex items-center gap-1"},nVe={class:"size-7 rounded-xl"},aVe="https://proxy.scalar.com",oVe=Li({__name:"SettingsGeneral",setup(e){const{activeWorkspace:t}=Bbe(),{proxyUrl:r,workspaceMutators:n}=AOe(),a=["default","alternate","purple","solarized","saturn","kepler"],o=["elysiajs","fastify"],i=e=>({default:{light:"#fff",dark:"#0f0f0f",accent:"#0099ff"},alternate:{light:"#f9f9f9",dark:"#131313",accent:"#e7e7e7"},moon:{light:"#ccc9b3",dark:"#313332",accent:"#645b0f"},purple:{light:"#f5f6f8",dark:"#22252b",accent:"#5469d4"},solarized:{light:"#fdf6e3",dark:"#00212b",accent:"#007acc"},bluePlanet:{light:"#f0f2f5",dark:"#000e23",accent:"#e0e2e6"},saturn:{light:"#e4e4df",dark:"#2c2c30",accent:"#1763a6"},kepler:{light:"#f6f6f6",dark:"#0d0f1e",accent:"#7070ff"},mars:{light:"#f2efe8",dark:"#321116",accent:"#c75549"},deepSpace:{light:"#f4f4f5",dark:"#09090b",accent:"#8ab4f8"},laserwave:{light:"#f4f2f7",dark:"#27212e",accent:"#ed78c2"},none:{light:"#ffffff",dark:"#000000",accent:"#3b82f6"}}[e]||{light:"#ffffff",dark:"#000000",accent:"#3b82f6"}),s=e=>n.edit(t.value?.uid,"themeId",e),l=lq({base:"w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",variants:{active:{true:"bg-primary text-c-1 hover:bg-inherit",false:"bg-b-1 hover:bg-b-2"}}}),c=e=>n.edit(t.value?.uid,"proxyUrl",e);return(e,n)=>(Dl(),Ll("div",VHe,[zl("div",ZHe,[zl("div",WHe,[n[13]||(n[13]=zl("div",null,[zl("h2",{class:"mt-10 text-xl font-bold"},"Settings")],-1)),ql(HHe,null,{title:ci((()=>n[3]||(n[3]=[Zl(" CORS Proxy ")]))),description:ci((()=>n[4]||(n[4]=[Zl(" Browsers block cross-origin requests for security. We provide a public proxy to "),zl("a",{class:"hover:text-c-1 underline-offset-2",href:"https://en.wikipedia.org/wiki/Cross-origin_resource_sharing",target:"_blank"}," bypass CORS issues ",-1),Zl(" . Check the "),zl("a",{class:"hover:text-c-1 underline-offset-2",href:"https://github.com/scalar/scalar/tree/main/examples/proxy-server",target:"_blank"}," source code on GitHub ",-1),Zl(" . ")]))),default:ci((()=>[zl("div",XHe,[ql(Ao(Oq),{class:zn(Ao(cq)(Ao(l)({active:Ao(t)?.proxyUrl===aVe}))),onClick:n[0]||(n[0]=e=>c(aVe))},{default:ci((()=>[zl("div",{class:zn(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":Ao(t)?.proxyUrl===aVe}])},[Ao(t)?.proxyUrl===aVe?(Dl(),jl(Ao(A6),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):Xl("",!0)],2),n[5]||(n[5]=Zl(" Use proxy.scalar.com (default) "))])),_:1,__:[5]},8,["class"]),Ao(r)&&Ao(r)!==aVe?(Dl(),jl(Ao(Oq),{key:0,class:zn(Ao(cq)(Ao(l)({active:Ao(t)?.proxyUrl===Ao(r)}))),onClick:n[1]||(n[1]=e=>c(Ao(r)))},{default:ci((()=>[zl("div",{class:zn(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":Ao(t)?.proxyUrl===Ao(r)}])},[Ao(t)?.proxyUrl===Ao(r)?(Dl(),jl(Ao(A6),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):Xl("",!0)],2),Zl(" Use custom proxy ("+Gn(Ao(r))+") ",1)])),_:1},8,["class"])):Xl("",!0),ql(Ao(Oq),{class:zn(Ao(cq)(Ao(l)({active:!Ao(t)?.proxyUrl}))),onClick:n[2]||(n[2]=e=>c(void 0))},{default:ci((()=>[zl("div",{class:zn(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",!Ao(t)?.proxyUrl&&"bg-c-accent text-b-1 border-transparent"])},[Ao(t)?.proxyUrl?Xl("",!0):(Dl(),jl(Ao(A6),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"}))],2),n[6]||(n[6]=Zl(" Skip the proxy "))])),_:1,__:[6]},8,["class"])])])),_:1}),ql(HHe,null,{title:ci((()=>n[7]||(n[7]=[Zl(" Themes ")]))),description:ci((()=>n[8]||(n[8]=[Zl(" We've got a whole rainbow of themes for you to play with: ")]))),default:ci((()=>[zl("div",GHe,[zl("div",YHe,[(Dl(),Ll(Tl,null,ps(a,(e=>ql(Ao(Oq),{key:e,class:zn(Ao(cq)(Ao(l)({active:Ao(t)?.themeId===e}))),onClick:t=>s(e)},{default:ci((()=>[zl("div",KHe,[zl("div",{class:zn(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":Ao(t)?.themeId===e}])},[Ao(t)?.themeId===e?(Dl(),jl(Ao(A6),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):Xl("",!0)],2),Zl(" "+Gn(Ao(yOe)[e]),1)]),zl("div",JHe,[zl("span",{class:"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",style:jn({backgroundColor:i(e).light})},null,4),zl("span",{class:"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",style:jn({backgroundColor:i(e).dark})},null,4),zl("span",{class:"border-c-3 inline-block h-5 w-5 rounded-full",style:jn({backgroundColor:i(e).accent})},null,4)])])),_:2},1032,["class","onClick"]))),64))])])])),_:1}),ql(HHe,null,{title:ci((()=>n[9]||(n[9]=[Zl(" Framework Themes ")]))),description:ci((()=>n[10]||(n[10]=[Zl(" Are you a real fan? Show your support by using your favorite framework's theme! ")]))),default:ci((()=>[zl("div",eVe,[(Dl(),Ll(Tl,null,ps(o,(e=>ql(Ao(Oq),{key:e,class:zn(Ao(cq)(Ao(l)({active:Ao(t)?.themeId===e}))),onClick:t=>s(e)},{default:ci((()=>[zl("div",tVe,[zl("div",{class:zn(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1",{"bg-c-accent text-b-1 border-transparent":Ao(t)?.themeId===e}])},[Ao(t)?.themeId===e?(Dl(),jl(Ao(A6),{key:0,icon:"Checkmark",size:"xs",thickness:"3.5"})):Xl("",!0)],2),Zl(" "+Gn(Ao(yOe)[e]),1)]),zl("div",rVe,[zl("div",nVe,[ql(BHe,{integration:e},null,8,["integration"])])])])),_:2},1032,["class","onClick"]))),64))])])),_:1}),ql(HHe,null,{title:ci((()=>n[11]||(n[11]=[Zl(" Appearance ")]))),description:ci((()=>n[12]||(n[12]=[Zl(" Choose between light, dark, or system-based appearance for your workspace. ")]))),default:ci((()=>[ql(FHe)])),_:1})])])]))}});Li({__name:"Settings",setup(e){const t={general:{component:oVe,title:"general"}},r=So("general");return(e,n)=>(Dl(),jl(cQe,null,{default:ci((()=>[ql(dQe,{class:"flex-1"},{default:ci((()=>[t[r.value]?(Dl(),jl(cs(t[r.value].component),{key:0})):Xl("",!0)])),_:1})])),_:1}))}});Symbol.toStringTag}));
//# sourceMappingURL=/sm/1cdcd5f8df2ea3f1a7884556157144a80f91be4b88d6c2e048558e76b3a44741.map